Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gsliepen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
gsliepen
3y ago
However, setting the highlight color to pure white in the CSS isn't very nice for people who load the page with JavaScript disabled.
122.
▲
by
gsliepen
3y ago
Locomotive BASIC was also a very good BASIC implementation. I wrote a multiplayer game with background music in it, without having to resort to any PEEKs or POKEs like you would on a Commodore 64.
123.
▲
by
gsliepen
3y ago
If the MIDI controller is connected via USB and is polled at 1 ms, you have only about that amount of lag. This is not something most people can even notice. Also, consider that even playing an acoustic piano has quite some lag: your brain
124.
▲
by
gsliepen
3y ago
I am surprised they used a PNG for the preview instead of an SVG file. I know you can embed JavaScript in SVG files, I wonder if it could react to the `prefers-color-scheme` CSS feature of the page it's embedded in.
125.
▲
by
gsliepen
3y ago
Almost all software that Debian packages is 3rd-party. The issue is usually that software like Sublime Text or VS Code is non-free. That is not in itself an impediment for being packaged; after all there is the "non-free" section
126.
▲
by
gsliepen
3y ago
Oh! How about a USB-C device that detects its orientation this way, and requires you to replug it in the different orientation twice before it starts to work?
127.
▲
by
gsliepen
3y ago
In addition to what dataflow already said: while something might look free because you don't need to emit any kind of special instruction to get the desired result, doesn't mean that it's free in hardware. The reason why a lo
128.
▲
by
gsliepen
3y ago
It's not so much the other VPN products out there, rather no time and no other core developers. There have been lots of people contributing, some much more than others, but usually it was just to scratch their itch, after which they mo
129.
▲
by
gsliepen
3y ago
I'm always surprised by these chat apps having less text visible on a full-HD screen than a text-mode IRC client in a 80x25 terminal. I know cramming things in a tiny amount of space is not great either, but having to navigate all the
130.
▲
by
gsliepen
3y ago
The FreeType library can generate SDFs from TrueType fonts. I am not sure whether it uses the Bezier curves directly though, or first renders to a bitmap.
131.
▲
by
gsliepen
3y ago
When I was living in Sweden, it was like that. I got a paper form with everything already filled, including income, loans, assets and so on. If everything was correct and you didn't have to change or amend things, then you could send a
132.
▲
by
gsliepen
3y ago
Another bug: if `maxlen <= 0`, then it will overwrite the character before the start of `ptr`. And then there's the infinite loop if `maxlen > INT_MAX` on 64-bit machines. And maybe `out + skipped` can wrap as well?
133.
▲
by
gsliepen
3y ago
I'm that weird as well! My brain has optimized itself for reading DejaVu Sans Mono; I try other programming fonts now and then, but it's all been a disappointment. Also, no ligatures and 100% black/white, none of that gray-on
134.
▲
by
gsliepen
3y ago
And of course the trick is to avoid the nasty surprises and do do it in such a way that is still is easy to program. If you can only do it by adding additional hoops for a programmer to jump through (like having to annotate all your funct
135.
▲
by
gsliepen
3y ago
I considered those, but I think something like the Shuttle DS line of fanless mini-computers are nicer (especially since they have two Ethernet ports). See for example: https://www.shuttle.eu/en/products/slim/
136.
▲
by
gsliepen
3y ago
I use my own git servers as primary. Just a webserver serving the git directory read-only, and I push via SSH to it. You can slap a UI on top, from something simple like gitweb to whatever you want.
137.
▲
by
gsliepen
3y ago
I use GitHub, but only as a mirror for the repositories I have on infrastructure under my own control. It's still very easy for others to contribute, even to send pull requests via GitHub, while I merge them locally and push them to my
138.
▲
by
gsliepen
3y ago
You mean the rock solid userland foundation and the state of the art compiler? (Insert a modified "What have the Romans ever done for us?" sketch here.) I'll happily acknowledge their work I enjoy every day, GNUflecting doesn
139.
▲
by
gsliepen
3y ago
A drawback is that you either have a spider construction blocking parts of its view (which in itself causes diffraction and reduces contrast), or you have an off-axis telescope, but this requires asymmetrical surfaces which are much harder
140.
▲
by
gsliepen
3y ago
A great list, although I'm not seeing xteddy, xkoules and spellcast in it.
141.
▲
by
gsliepen
3y ago
It comes with two XTensa LX7 cores, if you get the version with WiFi.
142.
▲
by
gsliepen
3y ago
How about: https://en.wikipedia.org/wiki/APL_syntax_and_symbols#APL2_ke...
143.
▲
by
gsliepen
3y ago
If you don't otherwise meet your manager regularly, it's great. Note that even if you schedule, say, an hour a week for the 1:1, in practice you will miss a lot of them due to conflicting meetings taking priority, and if there is
144.
▲
by
gsliepen
3y ago
Yes, you get all the data. Sometimes you can see even more than what the Wii shows you. For example, with the Wiimotes, it actually shows you the position and brightness of the top 3 or 4 infrared light sources in its field of view (from th
145.
▲
by
gsliepen
3y ago
You don't even need the Wii itself! You can connect to the balance board via Bluetooth, and there are several libraries out there that can read out its data (and that of the Wiimotes as well).
146.
▲
by
gsliepen
3y ago
I can also recommend https://tuxpaint.org/ . I see they also have an app for Android nowadays, but no iOS it seems.
147.
▲
by
gsliepen
3y ago
It is mostly the dark current (which is reflected in the values you would get if no light is hitting the CMOS sensor) which is affected by temperature. However, its effect scales with the exposure time. Since night time astrophotography req
148.
▲
by
gsliepen
3y ago
There is a lot you can do to improve the quality of the image. This camera has a very early CMOS sensor, which suffered from huge pixel-to-pixel variation. By characterizing each pixel (which you can do by taking dark field and flat field i
149.
▲
by
gsliepen
3y ago
What you gain is hardware independence. There is a lot of variation in CPUs, even if you stick with one vendor they will have in-order efficiency cores and out-of-order performance cores, and an algorithm optimized for one might not work as
150.
▲
by
gsliepen
3y ago
I see your point, but as a counterpoint, consider that you have two or more distinct data structures, for example several separate linked lists. What if you need to update multiple lists in one atomic operation? With mutexes, you can do thi
More ›