Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
yakubin
3y ago
> But we don’t, instead we peel oranges and then sell them in plastic containers at the grocery store. Someone is selling peeled oranges? O.o How long until they sell peeled apples?
32.
▲
by
yakubin
3y ago
That would be ideal, but we'd need a new syscall for that.
33.
▲
by
yakubin
3y ago
Close all other fds between fork and exec then (you can look at the code of base::LaunchProcess in Chromium for an example). It’s a minuscule amount of code to audit compared to XDG portals. And it’s backwards-compatible with decades of uni
34.
▲
by
yakubin
3y ago
It's doable by opening the file in a privileged process (sudo) and passing the file descriptor to a non-privileged process. Maybe one could make a sudoedit that opens a file in sudo process and then spawns a non-privileged editor proce
35.
▲
by
yakubin
3y ago
They’re easy to make.
36.
▲
by
yakubin
3y ago
Yes.
37.
▲
by
yakubin
3y ago
Poland. It seems to be more of a generational thing than regional. People over the age of 70 seem to use 12h. Younger ones use 24h.
38.
▲
by
yakubin
3y ago
> People in 24h cultures always use 12 analog hours in normal situations No, we don't. The only person I know who by default uses 12h is my grandmother. Everybody else always uses 24h.
39.
▲
by
yakubin
3y ago
My personal pet peeve is American SaaS companies not comprehending that half the world starts their week on Monday. All those systems for requesting PTO, sick leave etc. are so confusing if you’re not extra careful.
40.
▲
by
yakubin
3y ago
There is a significant difference between async-shell-command and terminal emulators in that the latter allow programs to manipulate emulator state via escape codes, positioning the cursor, clearing screen, resizing the draw area etc. I thi
41.
▲
by
yakubin
3y ago
I can't even find the regression point, since for the last several months < https://commondatastorage.googleapis.com/chromium-browser-sn... > contains Mac builds that when clicked trigger a popup “You can’t open th
42.
▲
Ask HN: Why do Chrome and Edge butcher rendering my photo?
5 points
by
yakubin
3y ago
|
3 comments
43.
▲
by
yakubin
3y ago
People who start indexing at 0 still say that {0, 1, 2} has 3 elements, not 2. ;)
44.
▲
by
yakubin
3y ago
Switzerland isn't in EU.
45.
▲
by
yakubin
3y ago
And at that point you’re slower.
46.
▲
by
yakubin
3y ago
This is for countries not in EU. And even then there is a long list of exceptions. Internally, nothing is changing.
47.
▲
by
yakubin
3y ago
It seems that that’s the goal though: > According to the African Union's website, the African Passport and free movement of people are intended to "remove restrictions on Africans ability to travel, work, and live within their
48.
▲
by
yakubin
3y ago
You would need to do the same in C++, since the underlying dynamic array is being resized throughout the algorithm, i.e. pointers to its elements are being invalidated. Except C++ won’t warn you about it. You’ll just corrupt memory. And in
49.
▲
by
yakubin
3y ago
> Many people do Geeks who update everything every 15 minutes and actively follow tech news. Just like there exist people who buy a different set of clothes every season. It seems to me that in the past with the slower release cycle Ma
50.
▲
by
yakubin
3y ago
FTR it's about en_GB.utf8 vs en_GB.UTF-8 . For a moment I thought it's about lang vs LANG which would be expected behaviour IMO.
51.
▲
by
yakubin
3y ago
> But it is, obviously, not a viable choice for apple. It's not obvious to me. Apple used to release 1 version of MacOS every 1.5-2.5 years[1]. Now it releases 1 every 11 months. And it's not like the recent versions have som
52.
▲
by
yakubin
3y ago
> Why are you frequently switching away from the timer after setting it but before starting it? Example: I boil water in a kettle for tea. I set the timer to the correct steeping time. I open the top of the kettle to let the water cool
53.
▲
Ask HN: Is there a way to get previous iOS timer behaviour back?
11 points
by
yakubin
3y ago
|
6 comments
54.
▲
by
yakubin
3y ago
What topics? I’ve never heard of it. Any examples of this happening?
55.
▲
by
yakubin
3y ago
Then it’s a question of annotating this function with ALWAYS_INLINE and letting the compiler optimise it.
56.
▲
by
yakubin
3y ago
Or you could write an API like set(FOO | BAR) and get the same benefit for comparably basically no cost (+ now you get nice diffs in git).
57.
▲
by
yakubin
3y ago
Belief in personal growth was one of the pillars of Victorianism. Then there was the American Dream.
58.
▲
by
yakubin
3y ago
Commutativity is important for e.g. parallel programming. See e.g. < https://youtu.be/dPK6t7echuA >. In the context of linear algebra, it would also be good for folks to know that matrix multiplication (/linear tra
59.
▲
by
yakubin
3y ago
The only thing I’ve noticed is that the “ADD POST” text is at a different height than the “+” next to it, which is a bit jarring. It’s also the only button shaped as a rectangle with rounded corners on the page (aside from “Go” which is sty
60.
▲
by
yakubin
3y ago
Lua is pretty much the standard extension language for tools like nmap, wireshark, DarkTable, Hammerspoon, … I think it’s doing pretty well and am happy with this fact. I think its success is well justified. So I’m not sure about it being o
More ›