Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
811.
▲
by
yakubin
5y ago
> C++ lets you easily delete a T* or T const*, Rust has https://doc.rust-lang.org/std/primitive.pointer.html#2-consu ... I guess? Box deletes the owned object when it goes out of scope without being moved (like uniqu
812.
▲
by
yakubin
5y ago
I suspect they meant wedding reception, the party after the formal wedding. That part eats most of expenses. The formal ceremony at Standesamt costs 42USD where I live.
813.
▲
by
yakubin
5y ago
You cannot turn a &T into a Box<T>, because &T borrows T, while Box<T> owns T, and moreover it holds it in a separate allocation, so even &mut T cannot be transformed into Box<T> --- it already lives in some al
814.
▲
by
yakubin
5y ago
Exactly. What's more I prefer for the software I use to be proprietary, because then I know that me paying its price is enough to support its ongoing maintenance and development. When it comes to open source projects seeking donations
815.
▲
by
yakubin
5y ago
At dayjob we have a "commit queue" server. When a patch is accepted on Gerrit, there is a button to send it to the queue. The queue cherry-picks the commit onto the current master branch, makes several builds (different configs) a
816.
▲
by
yakubin
5y ago
To me it's really annoying that I need to specify the sizes attribute in order for the browser to make a sensible choice about which image version to download. The browser could do it on its own based on layout. It really feels labor
817.
▲
by
yakubin
5y ago
The same attitude was shown by humans towards other humans a thousand years ago. If they couldn't understand the language of another tribe, they considered that tribe inferior and called them names signifying that. The ancient Greeks c
818.
▲
by
yakubin
5y ago
> You'll hear people say things like "if evolution is real then why are there still monkeys?" The only person I've ever met in my life who did not believe in evolution was a catholic priest. It's honestly bewil
819.
▲
by
yakubin
5y ago
I use Debian on desktop, because it's the most problem-free distro I've used. Once something works, it usually stays this way with no effort on my part. Ubuntu was the opposite for me, which is weird given how it's a Debian d
820.
▲
by
yakubin
5y ago
> Function type inference makes code impossible to read. And the type errors very non-local and therefore hard to understand. The reason is that HM type inference infers types not only in the leaves->roots direction, but also roots-
821.
▲
by
yakubin
5y ago
You can replace "cat /usr/share/dict |" in that invokation with "</usr/share/dict" and it will be equally easy to switch between tr and sed. Yes, you can put that redirection at the start
822.
▲
by
yakubin
5y ago
She never lost a fight. She's never shown to have any moral flaws. Compare that to Anakin who lost plenty of fights (thereby also losing parts of his body) despite being an overpowered character; he was also arrogant and impatient. Wha
823.
▲
by
yakubin
5y ago
The movies you listed fail in a different way. There are plenty of explosions and fight scenes in The Last Jedi and Captain Marvel. What they do share is that the main character is an underdeveloped Mary Sue, without character flaws, withou
824.
▲
by
yakubin
5y ago
> My experience is that Windows has far better UX for pretty most end users. UPDATE: After seeing a reply to this comment, I googled some screenshots. It seems that Macs normally do display a hint for the shortcut to delete files. I&#
825.
▲
by
yakubin
5y ago
mawk is the worst, which, given the article's claim about POSIX, is ironic, because mawk is POSIX-compliant. $ mawk --version mawk: not an option: --version $ mawk --help mawk: not an option: --help $ mawk -W version mawk
826.
▲
by
yakubin
5y ago
Discovering the lie about Santa Claus was one of the first experiences that taught me not to take my parents' words at face value. So it's probably not something that parents would like, but in fact it's a valuable lesson for
827.
▲
by
yakubin
5y ago
Poster wrote that it works when compiled on Debian 3, but not on Debian 11. Support for Debian 3 ended on 31 March 2008. Most recent Debian release is Debian 11. Probably the most important things that changed are GCC and glibc.
828.
▲
by
yakubin
5y ago
See < https://en.wikipedia.org/wiki/Secure_copy_protocol > SFTP also transports data over SSH channels.
829.
▲
by
yakubin
5y ago
> Does this mean the smallest /bin/true is actually an empty file? That was exactly the implementation of /bin/true in Unix v7: < https://github.com/v7unix/v7unix/blob/master/
830.
▲
by
yakubin
5y ago
Dupe: < https://news.ycombinator.com/item?id=30932095 >
831.
▲
by
yakubin
5y ago
Pedantic nit: Poland and Baltic states are a part of Eastern Europe.
832.
▲
by
yakubin
5y ago
Yes. I was talking about milk chocolate. I didn't even know there was something like "dark chocolate" at that age. Incidentally, now I prefer dark chocolate over milk chocolate by and large. I mentioned gluten not in relation
833.
▲
by
yakubin
5y ago
Keep in mind that the lower bound on this chart is 65%, not 0. Threw me off at first.
834.
▲
by
yakubin
5y ago
I was really allergic. I was born with a sick gastrointestinal tract. After 7 years it was cured with a short relapse some years later.
835.
▲
by
yakubin
5y ago
Depended on the sweets. There was a whole bunch of allergies I don't even remember now. My whole gastrointestinal tract was perpetually sick (since birth), I would visit the hospital basically everyday. Most notably, I couldn't ea
836.
▲
by
yakubin
5y ago
I like: 1. VirtualAlloc: 1.1: separation of reserving memory from committing it, thus making overcommit unnecessary, when you want to have memory arenas and reserve a large contiguous chunk of virtual address space, but commit it (so tell t
837.
▲
by
yakubin
5y ago
When I was a child, I was allergic to a whole bunch of things, one of them being sweets. But I wasn't allergic to apples, carrots and blackberries, so those were given to me in place of sweets. Now in adulthood blackberries are my favo
838.
▲
by
yakubin
5y ago
I'm not on NixOS, but I do use Nix as a package manager on Debian and this is what I got: $ nix-env -qa | wc -l 39168 Of course, it's important to note that Nix doesn't lag behind upstream as much as Debian. Actually
839.
▲
by
yakubin
5y ago
There is also the situation that is not created out of malice or greed, but out of lack of restraint and divergence of priorities between the authors and the users: compilation speed. When a piece of software makes me wait for it, I feel su
840.
▲
by
yakubin
5y ago
I think that GNU/Linux is a valuable distinction due to the significance of libc. Alpine keeps uncovering how applications rely on GNU-isms and there seems to be no end to those issues. libc, however anemic, makes a huge difference it
More ›