Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hawski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
hawski
3y ago
Distances are one thing, existing pavements/walkways another.
152.
▲
by
hawski
3y ago
Zig certainly needs more work. That part is more on familiarity with Zig and how intuitive it is or isn't. In any case I would recommend anyone investigating things like that to run things through strace. It is often my first step in t
153.
▲
by
hawski
3y ago
Oh, that's what I missed! I managed to find out about it while trying to do an equivalent of `curl ... | tar xzf -` in Powershell. I was stumped. I guess the thing is that a Unix shell would do a subshell automatically.
154.
▲
by
hawski
3y ago
I find looking through a window of an S-Bahn to be a superior thought generator.
155.
▲
by
hawski
3y ago
AFAIK many car free cities depend also on bikes. What do you mean by taking away public transport? Because a car can be taken away, the access to roads can be taken away, there are traffic jams and in case of a city wide emergency - when ev
156.
▲
by
hawski
3y ago
I think the math usage was first. i.e. absolute value: |x|
157.
▲
by
hawski
3y ago
I don't want to belittle the author, but I am surprised, that people using a low-level language on Linux wouldn't know how Unix pipelines work or that reading one byte per syscall is quite inefficient. I understand that the author
158.
▲
by
hawski
3y ago
I know this about Unix pipes from a very long time. Whenever they are introduced it is always said, but I guess people can miss it. Though now I will break your mind as my mind was broken not a long time ago. Powershell, which is often said
159.
▲
by
hawski
3y ago
I like to think how even things as common as screws have a huge world around them. There are different heads with quite a history behind each. There are different sizes and measurement systems. The angle of the thread is meaningful, the mat
160.
▲
by
hawski
3y ago
There is also a code angle. You can automate around graphical programs easier thanks to accessibility APIs.
161.
▲
by
hawski
3y ago
It is not across the network. A Unix domain socket is hardly something that could be called "across the network". Also I am pretty sure Firefox, for example, uses the MIT-SHM extension (Shared Memory).
162.
▲
by
hawski
3y ago
What do you mean practically by: "the cost of insurance approaches infinity due to infinite uncertainty"?
163.
▲
by
hawski
3y ago
Regarding a form submission without a reload I got this idea years ago: If the page that is loading has the same origin as the page before it the browser would do the equivalent of DOM diffing and replacement. Basically doing what those new
164.
▲
by
hawski
3y ago
That's a problem with the term now. Whenever there is a PR statement of using AI it does not have much meaning attached to it. Sometimes even simple algorithms are called AI, if there is a bit of statistics involved even more. I liked
165.
▲
by
hawski
3y ago
It is now interesting that there are CRT shaders available for emulators. I just found a discussion about C64 CRT shader and people do share their preferences: https://www.lemon64.com/forum/viewtopic.php?t=79062
166.
▲
by
hawski
3y ago
In my experience it is fatigue first and failure of the teacher to keep the time limit second.
167.
▲
by
hawski
3y ago
In my opinion Git won because it was fast. It is fast because it is decentralized. It is fast because it was done by serious C hackers (there I said it). It may have a problematic UX/UI for many, but it is good enough. But it is fast.
168.
▲
by
hawski
3y ago
Very interesting stack: Odin and Sokol - both are on my radar. I know that Sokol has WASM builds, but AFAIK Odin does not support it. Could you say more about your choice both for the language and for Sokol. For me Sokol seems to be a winne
169.
▲
by
hawski
3y ago
You can easily make a regex to filter out URLs. There is no universal regex (other than maybe costly LLM) to match the URL, the username and the password.
170.
▲
by
hawski
3y ago
Maybe it could be checked by asking it about Rust and unsafe Rust.
171.
▲
by
hawski
3y ago
I added a mention of Six and Xwayland to my comment. I no longer can edit my comment, but I would also add: - 2017/2018 - Wayland 1.12: xdg-shell protocol becomes stable. An interoperability milestone in my opinion.
172.
▲
by
hawski
3y ago
1. Python 3 also started earlier (2006 for pep-3000 [1]). 2. I meant a first meaningful stable release for both [2]. Python 3 is also seeing new releases. [1] https://peps.python.org/pep-3000/ [2] https://li
173.
▲
by
hawski
3y ago
I would compare X11/Wayland situation to Python 2/3. I'm not a very advanced Pythonista, but I'm competent and use it more and more. - 2009 - Python 3.0 came out at the very end of 2008 so let's count it as from 200
174.
▲
by
hawski
3y ago
So why is that?
175.
▲
by
hawski
3y ago
AFAIK: two fingers on the touchpad, move your fingers and observe how things scroll. When it is good you don't feel any lag and the content moves as fast or as slow (even by a single pixel) as your fingers are. Some inertial scrolling
176.
▲
by
hawski
3y ago
In my country there are a lot of roundabouts, but also crossroads do happen on a quite tight curve especially in smaller cities.
177.
▲
by
hawski
3y ago
I have a touch enabled Chromebooks and when you change to a tablet mode the interface changes in front of your eyes to be more tablety. It is actually quite nice.
178.
▲
by
hawski
3y ago
I will play a devil's advocate. What about white space sensitive language like Python (that's one of things I hate about the language)? Diff also gets easily confused, because its context window is pretty small.
179.
▲
by
hawski
3y ago
Isn't Git LFS enough for those cases?
180.
▲
Ask HN: What broke on 29th due to a leap day?
1 points
by
hawski
3y ago
|
1 comments
More ›