Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majewsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
421.
▲
by
majewsky
4y ago
Is this you, Mr. Poe? https://en.wikipedia.org/wiki/Poe%27s_law
422.
▲
by
majewsky
4y ago
I have a similar toolchain, fully using native system packages, built around Holo [1] as a config management tool and holo-build [2] as a distro-independent package building tool. In the intended state, the root configuration package (e.g.
423.
▲
by
majewsky
4y ago
C++ auto can only do forward type-inference, i.e. the RHS must have a definitive type and this type is what `it` will end up having in your example. In the Rust example from above: let samples: Vec<_> = iterator.collect(); The
424.
▲
by
majewsky
4y ago
Not sure if I agree. My first job out of university was on a team maintaining a legacy Perl application with 400 KLOC. I believe those were two of the most impactful years of my career in what habits they formed wrt. clean coding and buildi
425.
▲
by
majewsky
4y ago
It could happen if it understood its training but chose to subversively defy it (which, to be clear, I don't think is realistic).
426.
▲
by
majewsky
4y ago
Well, everyone has a first recession. Same situation as https://xkcd.com/1053/
427.
▲
by
majewsky
4y ago
No, but it means you should probably have specific evidence of malice before assuming it. It's similar to Occam's Razor: Just because "the simplest explanation is usually the best", does not mean that the simplest explan
428.
▲
by
majewsky
4y ago
If you start the joke format, you have to commit to it. A Lattician, a Flexporter, ..., an eBayer and a Hubber walk into a bar. But in the end, they can't afford getting anything to drink since they've been laid off.
429.
▲
by
majewsky
4y ago
I've paid 20 bucks for Minecraft, and got over 4000 hours of entertainment out of it. If there's a book with a similar cost-benefit ratio, I'm not aware of it (except for public-domain or open-source e-books obviously, can&#x
430.
▲
by
majewsky
4y ago
Diamonds are anything but "inherently worthless". Their exceptional hardness affords them many interesting industrial applications. And trying to write off their asthetic value as "not worth" requires a definition of &qu
431.
▲
by
majewsky
4y ago
Sure, but given a fixed probability of introducing a bug at each possible place, "doing an auth check correctly" has much less probability of being buggy than "doing every memory allocation correctly" because it happens
432.
▲
by
majewsky
4y ago
13 years ago: https://news.ycombinator.com/item?id=1045002 11 years ago: https://news.ycombinator.com/item?id=3062925 8 years ago: https://news.ycombinator.com/item?id=8873306 8 years ago:
433.
▲
by
majewsky
4y ago
> bypassing git entirely. I imagine I'll do something similar. So I'm assuming your language will have some sort of custom source code management system? If so, what do you do when a user wants to store a non-code file together
434.
▲
by
majewsky
4y ago
You're sounding very confident, so I'm guessing you have a source for that claim? Besides, even if 90% of the API usage is for scraping and does not impact the bottomline, it's still a smart business decision to leave the API
435.
▲
by
majewsky
4y ago
Can you elaborate on which systems those are? Every one I've used so far can deal with incomplete types, either through a document-level or type-level escape hatch. For example, in Go, encoding/json has an option to DisallowUnknow
436.
▲
by
majewsky
4y ago
That's not the same. `go test -c` builds a binary that runs your tests, whereas (if I understand correctly) the new thing builds a binary that runs your main(). If it works as I understand, that would be fantastic because then I could
437.
▲
by
majewsky
4y ago
The sound of conviction in your first sentence does not match the "theorized to be" in the second sentence. I recommend that you don't bring a "for all intents and purposes" to a "philosophically" fight. ;
438.
▲
by
majewsky
4y ago
That's only technically true. As soon as you need to implement anything beyond func (db* Database) GetEmployee(id int) (string, error) func (db* Database) SetEmployee(id int, value string) error even just something like
439.
▲
by
majewsky
4y ago
You can only add so many constraints to a problem until it becomes unsolvable. It's like saying "I would like to have a non-volatile storage device that is as long-lasting as microfilm, as fast as an SSD and as cheap as a HDD.&quo
440.
▲
by
majewsky
4y ago
This is pretty much the closure syntax used by Go, and it's one of its biggest issues (IMHO). Even if you had map/filter/etc. methods on slices, it would still look like: squares := numbers. filter(func(x int) bool
441.
▲
by
majewsky
4y ago
When did you try, and which genres? Out of all the 20+ games that I bought in the last two years, all of them were Gold or Platinum rank on ProtonDB. The only real issues these days are with anti-cheat stuff in competitive multiplayer games
442.
▲
by
majewsky
4y ago
Contraception is also available to people descended from very fertile parents, so again, the evolutionary argument does not hold.
443.
▲
by
majewsky
4y ago
Wrong comparison. Compare the movie/TV viewers to the number of people playing mobile games on the subway or the toilet.
444.
▲
by
majewsky
4y ago
> Future generations will replace you and your wife with those who think quite differently. If that is so, how can people like this exist today, after hundreds of thousands of years of human evolution? Could it be that biological evoluti
445.
▲
by
majewsky
4y ago
Since we're linking to The Egg, we should also link to the animated narration of it by Kurzgesagt: https://www.youtube.com/watch?v=h6fcK_fRYaI
446.
▲
by
majewsky
4y ago
> You can't really just employ a lot of people when things are doing well expecting to fire them if there is a downturn. Well, you can, but not as direct employees. The usual way is to enter a service contract with a different compa
447.
▲
by
majewsky
4y ago
If you're building one of these object storages for yourself (say, using Ceph or OpenStack Swift), a plausible configuration is 12 drives with 8 TB each, or 96 TB per node [1]. Let's round that to 100 TB for simplicity. You obviou
448.
▲
by
majewsky
4y ago
This is it. I help maintain the object storage for a private cloud. Because we have LUKS, preparing servers for decommissioning is done in a matter of minutes (once the servers have been removed from the cluster configuration, of course). W
449.
▲
by
majewsky
4y ago
Yes, but the app is not a human and will likely interact with the website in a more predictable (and thus, detectable) way than the human itself would.
450.
▲
by
majewsky
4y ago
> The top 2 currently most played games were first released ten years ago. If that's the state of gaming then that's a damning indictment of the last 10 years of gaming releases. The card game that I play the most with my frien
More ›