Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
781.
▲
by
yakubin
4y ago
Coming from C++, it didn't take months. I got a couple lifetime errors at the start, but I understood the reason behind them all[1]. Now I don't get the errors[2]. In C++ you need to think about the lifetimes anyway or your code w
782.
▲
by
yakubin
4y ago
The URL should probably be changed to the linked post: < http://www.pmail.com/newsflash.htm > The tweet adds nothing to the post. EDIT: Seems like OP already posted that link as well? < https://news.ycombin
783.
▲
by
yakubin
4y ago
You're right. (Didn't notice your reply before updating my comment.)
784.
▲
by
yakubin
4y ago
You write "transaction", but Unix filesystems don't know anything about any transactions from the application's point of view. To them it's just a bunch of write(2) calls. How is a ZFS snapshot going to make sure th
785.
▲
by
yakubin
4y ago
I didn't mention it, but wind is also a plus for me. Warsaw has too little wind for my taste. :)
786.
▲
by
yakubin
4y ago
That doesn't square with the fact that people who can afford it choose wildly-different places based on weather. Loads of people move from places like Edinburgh precisely due to weather, and move somewhere which is hotter, drier and su
787.
▲
by
yakubin
4y ago
Different people like different weather. For me e.g. Edinburgh has the perfect weather (I'm planning to move there). Where I am currently (Poland), I'm miserable in the summer, when humidity drops as low as 40% and temperatures ge
788.
▲
by
yakubin
4y ago
https://www.aljazeera.com/news/2022/3/9/us-rejects-poland-of...
789.
▲
by
yakubin
4y ago
https://www.aljazeera.com/news/2022/3/9/us-rejects-poland-of...
790.
▲
by
yakubin
4y ago
> Twitter Incestimated [...] That's an unfortunate bot error from Reuters. For a moment I thought I was mistaken about what "Inc." should expand to.
791.
▲
by
yakubin
4y ago
> The West would tolerate invasion by Russia of Finland even less than it is doing for Ukraine, with or without NATO membership (notably, Ukraine is not part of NATO either). That's not saying much. Ukraine isn't receiving mi
792.
▲
by
yakubin
4y ago
From the "disclaimers" section: > Every compression of a file implies an assumption that the compressed file can be decompressed to reproduce the original. Great efforts in design, coding and testing have been made to ensure t
793.
▲
by
yakubin
4y ago
It actually made the file bigger (1.1G from 1.0G) :) I was getting the same numbers with text data I have scattered on my disk, but those were small, so I decided to generate a bigger file. But, yes, I agree a more robust benchmark would us
794.
▲
by
yakubin
4y ago
That appears to be systemd being slow. $ dd if=/dev/urandom of=test bs=1G count=1 iflag=fullblock $ gzip -k test $ zcat test.gz | pv -a >/dev/null [ 228MiB/s] $ sudo journalctl -r | pv -a >/d
795.
▲
by
yakubin
4y ago
Regarding voting, I think people who pay taxes should only be allowed to vote based on the place they pay their taxes in. It really annoys me that because I don't have a long-term address, I need to separately register where I live at
796.
▲
by
yakubin
4y ago
It would probably make sense to display <subdomain>.srht.site for submissions which match this domain pattern, similar to github.io sites.
797.
▲
by
yakubin
4y ago
> Its not like Microsoft is a singular mind here The author of the blog post is the author of the second comment on GitHub. Also[1]: > Afterward, the same dev also used a fake name to hang out on our discord and talk about Windows
798.
▲
by
yakubin
4y ago
>> Bitcoin is a digital currency that has no intrinsic value > There is no such thing as "intrinsic value". The value gets assigned by people and market participants. I'll leave out the discussion of the value of
799.
▲
by
yakubin
4y ago
I've read somewhere (possibly when Go came out) that it's on purpose. For fun, Alan Cox once made a post on Google+ (RIP) showing a crappy random number generator based on Go's select.
800.
▲
by
yakubin
4y ago
Was Leonardo da Vinci not an artist when he drew the Vitruvian Man? Were all Renaissance sculptors and painters for that matter not artists, since they were copying the Greco-Roman style? Are script-writers of House of Cards not artists due
801.
▲
by
yakubin
5y ago
It's not like physics is 100% theoretical , untestable stuff. Unfortunately the untestable stuff gets the most press. If you talk to experimental physicists in university, they'll tell you all that stuff isn't treated serio
802.
▲
by
yakubin
5y ago
> The problem is when you emit CEO that has been absorbed over hundreds of millions of years and fossilized in oil and gas all within 100 years or so. This typo made my day.
803.
▲
by
yakubin
5y ago
> For email, Inbox Zero means everything is basically in Archive, and is findable by successive application of filters. No. Inbox Zero means that almost nothing is in the inbox. I practice Inbox Zero, but I don't put everything in
804.
▲
by
yakubin
5y ago
Sure, no problem. I respect you and your work a lot, including Go.
805.
▲
by
yakubin
5y ago
Your question sounds provocative, nonetheless I'm going to give an honest answer. First, let me preface that with a disclaimer that those opinions are reserved for general purpose languages. Domain-specific languages should be judged d
806.
▲
by
yakubin
5y ago
(Immutable) strings being built-in is hardly unique. As for hash maps and dynamically sized arrays being built-in, instead of provided by the standard library: there is no benefit adoption-wise. The real reason is that Go didn't use to
807.
▲
by
yakubin
5y ago
Using just fio without kernel tracing, you run the risk of testing the filesystem instead of the storage medium. You could use fio to fabricate I/O operations, but the measurements coming from tracing are more trustworthy than the user
808.
▲
by
yakubin
5y ago
The linked paper by Boehm about implementation of the Android calculator (6.0+) with constructive reals was also interesting: < https://dl.acm.org/doi/10.1145/2911981 >
809.
▲
by
yakubin
5y ago
If what you have a problem with is the statement that "0.9999... = 1", then there are two proofs of that: 1. Analytical 0.9999... = \sum_{n=1} ^{\infty} (9 * 0.1^n) = 0.9/(1 - 0.1) = 0.9/0.9 = 1 The first equality is by
810.
▲
by
yakubin
5y ago
> It is also the first browser to support secure web browsing with DANE. Props for that. I wish we moved away from CAs.
More ›