Recent submissions

Comment · 2 years ago
I googled "us government anti trust wins" and found a few articles that point out some recent ones, e.g. Adobe and Figma in December 2023, and an Apple lawsuit in March 2024.
Comment · 3 years ago
btw there is a bash feature that you can use for this

touch a_tset_file.txt mv a_t{se,es}t_file.txt

it works for changing file extensions:

touch foo.txt mv foo.{txt,json}

or for adding or removing characters, just leave the other side of the comma empty

touch foo.txt mv foo{,bar}.txt mv foo{bar,}.txt

Comment · 6 years ago
It looks fairly clean but the lowercase "r" character stuck out at me as I read the webpage. Mainly in the smaller paragraph size, not so much the titles. Something about it just looks "off" to me, sticks out like a sore thumb as I'm reading.
Comment · 6 years ago
Also the search index has not been updated in 8 months so it doesn't include the several recent articles. Which can be confusing, since those articles are right next to the search box when you're at the homepage. I opened a github issue for him.
Comment · 10 years ago
The Pix example looks like a cinemagraph. They can be really neat and beautiful. There is a popular subreddit, /r/cinemagraphs, and other various google results. Maybe those are examples of what you could accomplish with Pix - but surely you would still need some manual touchup to make it loop perfectly as it should.
Comment · 10 years ago
> To my surprise it came not just unlocked but rooted.

This rings alarm bells for me. What are the chances that it comes with a pre-installed Android rootkit? How would you know?

Comment · 11 years ago
I had the same thought. You could practice magic tricks if you could flip over the deck and then shuffle and fan it! "Pick a card, any card!"
Comment · 11 years ago
I don't know why a non-gamer would bother with an AMD/NVIDIA graphics card. Even a developer. If the most graphically intensive thing you do is watch YouTube videos or Netflix, use the Intel integrated video. It's plenty good for those things. I totally agree with you there.

But on the flip side, as a gamer, I couldn't imagine giving up my discrete graphics cards on my gaming desktop. How many years back and how low resolution and graphics settings do you have to go before you find a game which is playable on an integrated chip? I guess it depends a lot on your definition of "playable", and your game selection; if GOG is where you regularly buy games then the integrated chip is probably more than adequate. Or if you're using a single 800x600 monitor, you're probably ready to run the latest games on your integrated chip. But otherwise, I can't seriously recommend anyone play games on an integrated video chip.

Sidenote: I would choose the touchpad as my #1 source of hardware frustration. Anecdotally, I haven't had much issue with graphics cards, other than one replaced under warranty.

Comment · 11 years ago
Typo: the pricing section says "Workpress"
Comment · 11 years ago
I'm not a C++11 developer, I've done a little C++ in the past. What is the pride in putting all the code in the header file? Shouldn't the declarations be there, and the definitions be pulled out into a .cpp file? Is it somehow smaller, faster, more convenient to have it all in a header file?
Comment · 11 years ago
So the server always sends the same plaintext (the private key of the bitcoin wallet), encrypted presumably by the same cipher but each time with a different symmetric key of course (negotiated by the handshake). It seems (naively, I'm sure) like this is a weakness, like you could collect a bunch of the encrypted samples, and then use the fact that they are all from the same plaintext in order to figure out what the plaintext is. How many samples would it take before you could deduce the key?
Comment · 12 years ago
A toll near me (NC) has cameras and an electronic sensor over the highway; it reads your pass if you have one, or takes a picture of your license plate if you don't so that they can mail you a bill later. (there are no humans, nothing to stop for)

When they first put it in, I noticed there are 3 or 4 of those in-road "buttons" (weight pads?) right in a row under the toll platform. They could be used to trigger the timing of the reader and camera, or I figured they could be used to determine speed quite easily.

So for a while after it was first put in, I would carefully hit my brakes and ensure my speed through the toll was right at the speed limit, then go back up to normal speed. But after a while I got lazy and stopped doing that, since nobody else appeared to be doing the same. "Everyone" was speeding through it.

I never received anything in the mail, and nowadays I rarely go through the toll. But now this article makes me think I could have been right, maybe they are recording speeds (or capable of doing so) and just doing nothing about it.

Comment · 12 years ago
Sorry. I googled to check before posting too, but didn't consider specifically the A123. It still looks like it is an uncommon choice for main battery pack but I can see how it's at least feasible (I probably wouldn't go for the tradeoff personally).
Comment · 12 years ago
It's 100% believable, technology-wise. It's a 2600 mAh LiPo (or LiFePO4 or other similar lithium battery), and the charger charges it at about 4C == 10A. The tradeoff is that such high charge rate tends to damage the battery quicker (resulting in sagging voltages/lower capacity).

I don't believe their claims that it will last 3 years of regular use, that it will have 1500 charge cycles, or that it has "novel battery chemistry". I'd give it up to a year, and even then you'd probably be experiencing much lower capacity by the end of the year, but that's my rough guess. I'm also a bit surprised that it's deemed safe for consumers and will be certified.

Comment · 12 years ago
It's not as entertaining than say a dynamite explosion, but here's an example: https://www.youtube.com/watch?v=ixIOEPnsgbI

Gassing (or smoke, not sure which) starts around 15 sec. Plenty of results for 'LiPo explosion', 'overcharge lipo', etc.

A LiPo fire is a chemical reaction, it cannot be extinguished by traditional fire extinguishers (i.e. smothering does not extinguish, it's creating its own fuel) -- you have to wait for the battery to burn out and then extinguish the remains on fire. Treat your batteries (and electronics with batteries in them) well, folks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton