pieter's comments

pieter | 2 years ago | on: Server-sent events

Note that this really isn’t anything except the agreement to send messages separated by 2 new lines. The SSE object in browsers is old and quirky; for example, it only supports GET requests, which means you’ll hit path length limits if you use it for something like LLM completion with large prompts.

Luckily since there’s nothing special about the browser support, you can very easily replace it with custom implementations. https://www.npmjs.com/package/@microsoft/fetch-event-source for example offers mostly the same API, but does offer POST requests and a bunch of other goodies.

pieter | 4 years ago | on: Show HN: Web page that parses and explains the label on a bike tire

What I would love is something that can give alternative tube sizes.

My bike uses 22x3 tubes, which are unusual and hard to come by. However, there have been reports of 20x4 bike tubes or 18x3 motorcycle tubes also fitting.

A website that recommends more widely available or cheaper “this will also fit” tubes would be amazing.

pieter | 13 years ago | on: Samsung claims 5G mobile data transmission breakthrough

All these faster speeds won't do anything really for heavily populated areas. The most important thing is total available bandwidth (bytes/sec/hz), and it's unclear how better that will get. LTE itself doesn't improve a lot over 3G techniques, the thing that's making LTE faster in saturated conditions right now is that there's just more bandwidth compared to 3G.

pieter | 13 years ago | on: Denmark: 1,000 Megawatts Of Offshore Wind, And No Signs of Slowing Down

Off shore wind power is about 25% of the wind power capacity of Denmark, the rest are 'normal' wind turbines. However, they'll contribute more to the total energy output. Off-shore wind turbines generate about 35-50% of their maximum capacity on average, compared to 20-30% of normal wind turbines.

pieter | 13 years ago | on: Developer Tools Update – Firefox 22

Biggest thing I'm missing in the FF Aurora builds is a console in the Inspector / Debugger panes. Having to switch to the console pane all the time gets annoying quickly.

pieter | 13 years ago | on: Ruby core classes aren't thread safe

This still doesn't explain why the MRI implementation is accidentally threadsafe. Why doesn't the interpreter switch threads after reading the value from the hash but before storing the updated value?

pieter | 13 years ago | on: Open Letter to Skype from Internet Activists, Journalists and Academics

Skype has always relied on a central authentication server, which means that anyone with control of that server would be able to MITM any conversation. The recent changes of ownership and centralization of the service have nothing to do with this. Presumably the US government has been able to tap into any Skype conversation they want for a long time.

pieter | 13 years ago | on: Archiving Amazon S3 Data to Amazon Glacier

This is pretty cool. Anyone know what the retrieval pricing is? With Glacier you can limit the amount you pay by retrieving really slowly, but I'm not sure that works with the S3 frontend.

pieter | 13 years ago | on: Shortcuts to Move Faster in Bash Command Line

Note that you don't need to 'enable' the Meta key in Terminal on OS X.

By default, option does what it does in other programs, allowing you to type alternative characters. If you'd still like to keep that behaviour, you can send meta by pressing escape first -- Meta-b becomes escape, then b.

page 1