854 karma · joined Dec 7, 2008 (17y ago) · 111 submissions
comment 2y ago · link · parent
As alluded to in the article, rotary vs. linear seems to be a proxy for the circuit which actually influences the sound. I would think that anyone claiming "mixers with rotaries always sound better" does not fully understand how they work. There's a lot of those kind of claims in the music scene.
comment 2y ago · link · parent
https://kuederle.com/university/fur/improvedtext.jpg
Each hair consisted of four segments. All segments were sorted, then drawn back to front. Each segment was drawn as an anti-aliased line (no hardware support for this back then, so I had to invent my own line renderer). So a hair could not be thicker than one pixel but that's a reasonable assumption at a certain distance. This made it reasonably fast given the hardware at the time.
I've been wanting to reimplement this using modern shaders, to see how fast it would be these days, but haven't gotten around to it yet.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
It felt very much like hanging out with your friends, having a few drinks, and pondering big, crazy, or weird scenarios. Imagine your friend saying, "As your friend, I cannot provide you with this information." and completely ruining the night. That's not going to happen. Even my kids would ask me questions when they were younger: "Dad, how would you destroy earth?" It would be of no use to anybody to deny answering that question. And answering them does not mean they will ever attempt anything like that. There's a reason Randall Munroe's "What If?" blog became so popular.
Sure, there are dangers, as others are pointing out in this thread. But I'd rather see disclaimers ("this may be wrong information" or "do not attempt") than my own computer (or the services I pay for) straight out refusing my request.
comment 2y ago · link · parent
I started recording songs for a Christmas album in 2007 and just published them this month. I thought I would never release them. And every time Christmas was over, I didn't feel like working on them anymore. So I only had about a month per year to occasionally work on them. There were years when I didn't touch them.
So after 16 years, I could see the home stretch and I decided to make it to the finish line. (I recorded the final music video today, actually.) If you had pushed me to name a deadline back in 2007, I would've said 2008.
I have a whole bunch of "projects" lying around, some of them are just ideas at this point. They will get finished eventually. Or not. No pressure.
comment 2y ago · link · parent
Sure, if you're writing an inner loop for some heavy workload, e.g. in graphics or maybe parsing terabytes of JSON, it makes sense. But outside of these rarely occurring situations, you should always prefer readability over low-level optimizations.
9.
How to Program a Text Editor(rentafounder.com ↗)
3 points · by rivo · 3y ago · discuss
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Unfortunately, since a lot of terminals simply use wcwidth, you often have to use that same flawed algorithm in your application to make it work in those terminals.
[1] https://pkg.go.dev/github.com/rivo/uniseg#hdr-Monospace_Widt...
comment 3y ago · link · parent
15.
Mocking APIs in Go – An Alternative Approach(rentafounder.com ↗)
1 points · by rivo · 4y ago · discuss
16.
Word Wrapping in Go(rentafounder.com ↗)
2 points · by rivo · 4y ago · discuss
comment 4y ago · link · parent
Whenever I asked someone to google something, watch a YouTube video, or simply go to a website, I got nothing but bewildered looks — as if I just talked gibberish. Even Instagram was completely irrelevant. But if something was on Facebook, everybody knew about it or how to find it. All of most people's online life happens exclusively on Facebook.
Does this count as "using the internet"?
comment 4y ago · link · parent
comment 5y ago · link · parent
In the story above, the only explanation I can think of is that the boy already had a previous bad experience with a hairdresser. (Didn't look like it but I can't be sure.) Even then, I'm not sure this was the best way to handle it.
comment 5y ago · link · parent
With children, I find it's almost always a better strategy to focus on the positive sides of an experience. Of course, it's more difficult when they're already afraid of something (maybe through their friends, a previous experience, or the parents themselves). But there are lots of blank slates and it's one of the great parts of being a parent to let them write something positive on it instead of tainting it with fear.
comment 5y ago · link · parent
When it was his turn, they immediately started telling him not to be afraid and that it wasn't going to hurt. He sat on his dad's lap, his dad holding him tight, while his mom desperately tried to deflect his attention by waving a teddy bear in front of him and non-stop talking to him. Predictably, the boy was completely terrified and cried the whole time. I'm sure it will be a long time before he can get a haircut without being scared.
It was such a missed opportunity because there are indeed so many interesting things going on at the hairdresser. I've seen other children almost fall asleep on the chair because it was all so relaxing to them. It's too bad they chose to focus on all the scary parts of the experience.
comment 5y ago · link · parent
But they don't specify an actual period for updates (this will have to be decided by the courts). And, what I find worse, they force the seller to provide the update, not the manufacturer. If the seller is not able to do that (which will be the case most of the time), they can be relieved of their duty.
We're only halfway there.
comment 5y ago · link · parent
- The lenses (actually mirrors for EUV) only demagnify by a factor of 4. So your wafer template is already extremely small and costs millions to produce.
- 13.5nm is pretty much the smallest wavelength you can reasonably handle. If you want to go smaller, you have to build a particle accelerator. (He heard that from a colleague, wasn't sure how much of that was actually true.)
- The prices in this Twitter thread are pretty spot on. The EU wants to invest into chip making to become more independent in this area. But the sums they're talking about wouldn't even pay for one such machine. Politicians don't seem to be aware of the dimensions we're talking about here.
- Also in the thread, ASML has a monopoly on this tech. Others have not invested into EUV and by now, it's pretty much impossible for anybody to catch up.
- Everyone's hiring like crazy atm. He started home office during Covid and now Zeiss says he can't even go back to the office because they don't have enough office space anymore. He doesn't mind. Everyone's distributed all over the place anyway so whether he does conference calls at the office or at home makes no difference.
- He said they're not very affected by the chip shortage.
25.
The Problem with Perceptual Hashes(rentafounder.com ↗)
705 points · by rivo · 5y ago · 418 comments
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
If you find yourself in a similar situation, I wrote a blog post on how such a palette can be calculated:
https://rentafounder.com/generating-colour-palettes-for-char...
The algorithm basically picks colours one by one, each being the most distant colour to all previous colours within the same saturation plane, all in CIE94 space.
It ended up working quite well.
comment 6y ago · link · parent
It is quite similar to other Go concepts. For example, you don't want to have circular dependencies between channels. The difference is that such a thing would fail very quickly whereas dependent DB connections would only fail after the connections are exhausted.