Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rivo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
rivo
2y ago
This is also my experience. I'm not a DJ but I perform live electronic music using various MIDI controllers. If I quickly want to add or remove a sound, like a kick drum, to/from the mix, a slider is best. If I need fine control o
2.
▲
by
rivo
2y ago
I programmed something like that back in 1999: 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
3.
▲
by
rivo
2y ago
Some larger retail stores in Germany ask you for your postcode during checkout, presumably to learn a bit about their customer base. I don't mind telling them mine, there are about 16K people with the same postcode. But I'm pretty
4.
▲
by
rivo
2y ago
It's funny how every TUI developer eventually stumbles over Unicode and then handling international characters and emojis correctly turns into its own project close to the same scope of (or even bigger than) the original TUI project. I
5.
▲
by
rivo
2y ago
I tried the model the article links to and it was so refreshing not being denied answers to my questions. It even asked me at the end "Is this a thought experiment?", I replied with "yes", and it said "It's fun
6.
▲
by
rivo
3y ago
Completely agree on not setting a deadline, it will likely lead to disappointment as we tend to set unrealistic deadlines anyway, even more so for personal projects which rely on having time off of work and other responsibilities. I would e
7.
▲
by
rivo
3y ago
When I see these kind of readability-decreasing optimizations in code reviews, I always push back. Almost always, that same Go code queries some other service over the network or loads data from the database, or similar, and nobody will eve
8.
▲
by
rivo
3y ago
Chrome Developer Tools allows this. There's a button in the Source tab to deactivate breakpoints from debug statements. The button looks like an arrow cut in half.
9.
▲
How to Program a Text Editor
(rentafounder.com)
3 points
by
rivo
3y ago
|
0 comments
10.
▲
by
rivo
3y ago
To my knowledge, there is no specification for monospace width. Applying the East Asian Width attribute as a proxy does not work reliably. So in my opinion, it is all a matter of agreeing on what's reasonable while keeping it simple. I
11.
▲
by
rivo
3y ago
I spent a lot of time on this topic (see https://news.ycombinator.com/item?id=37048434 ). Feel free to get in touch and discuss. I'm happy to help.
12.
▲
by
rivo
3y ago
I spent quite a bit of time coming up with an algorithm that gives me the correct width for any Unicode character, including emojis [1]. The reality is much more complicated than what wcwidth does and using the East Asian Width attribute wi
13.
▲
by
rivo
3y ago
The library I posted uses colour information. It won't map to greyscale first.
14.
▲
by
rivo
3y ago
And if you just want to go by the pixel data, look into "perceptual hashing". https://github.com/rivo/duplo works quite well for me, even when dealing with watermarks or slight colour correction / sharpe
15.
▲
Mocking APIs in Go – An Alternative Approach
(rentafounder.com)
1 points
by
rivo
4y ago
|
0 comments
16.
▲
Word Wrapping in Go
(rentafounder.com)
2 points
by
rivo
4y ago
|
0 comments
17.
▲
by
rivo
5y ago
I was in Madagascar in 2019 and while some people have top notch fiber connectivity at home, most people only have Facebook. It's free on mobile phones while any other internet traffic costs money which most people can't afford. A
18.
▲
by
rivo
5y ago
These stories always bring back that anxiety I got as a teenager when I read Kafka's "The Trial". You're guilty and being punished but we won't tell you why, what you did, and there's no way to appeal. Back the
19.
▲
by
rivo
5y ago
You're definitely right in that children are very different from another. In my experience, however, fear almost always comes from a previous bad experience or it transfers from other people. I've done the "first time at the
20.
▲
by
rivo
5y ago
I don't quite remember where I heard this and whether or not it was a joke, but a skydiving instructor told this story where his students were supposed to land on a plain empty field. But there was one tree somewhere on this field. And
21.
▲
by
rivo
5y ago
I recently witnessed a boy's first time at the hairdresser while waiting for my turn. Both his parents came with him. Long before they were called to the chair, his parents already discussed how they were going to handle this situation
22.
▲
by
rivo
5y ago
What would be the proper punctuation if you rearranged the sentence slightly? Dr Johnson kicked a large rock and said, “I refute it thus.”, as his foot rebounded. Is the period redundant? Or the comma after it? None of them? This looks al
23.
▲
by
rivo
5y ago
Note that WKRL and DIDRL (two new European directives) will be in effect in Germany starting Jan 1, 2022. They include a consumer's right to updates that allow the device to keep working (including security updates). But they don'
24.
▲
by
rivo
5y ago
A few highlights from a conversation with a friend who works for Zeiss and regularly deals with ASML (take this with a grain of salt, I may have misunderstood some of it and he also may not be an expert in all of these areas): - The lenses
25.
▲
The Problem with Perceptual Hashes
(rentafounder.com)
705 points
by
rivo
5y ago
|
418 comments
26.
▲
by
rivo
5y ago
In Germany, almost everyone refers to it as the Biontech vaccine. For obvious reasons. I would even go so far as to say that most people here don't realize it's the same as the "Pfizer vaccine". (On the other hand, the M
27.
▲
by
rivo
6y ago
I've worked with D3 for many years. It's great for small, quick visualizations. But I've more than once reached its limits. For one, anything more complex (e.g. custom axis labels that don't overlap) requires you to roll
28.
▲
by
rivo
6y ago
For a visualization project, I needed to be able to automatically generate a visually pleasing colour palette. Customers would provide one or more base colours (e.g. based on their corporate design rules) and the generated palette should th
29.
▲
by
rivo
6y ago
Maybe I'm assuming too much but it wouldn't occur to me to let tx.Commit() depend on the outcome of another connection (here: db.Query()). Either use tx.Query() (which I guess is partly what you're advocating) or put db.Query
30.
▲
by
rivo
7y ago
Trying to figure out how much it would cost the customer to develop the same functionality is probably the best strategy (and suggested by most posters in this thread). I would add that the customer may not come up with a detailed estimate&
More ›