Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jerf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
841.
▲
by
jerf
1y ago
A perfect linter runs into the halting problem, I think, but a pretty-darned-good linter that would catch that methods on your pointer-based method doesn't do "something sensible" with nil would be pretty interesting to me. I
842.
▲
by
jerf
1y ago
Syntax highlighting fixed that for me something like 20 years ago. But then, like I said, I consider extensive use of this a code smell at best . If you're doing this often enough that this is an actual problem for you, then you'
843.
▲
by
jerf
1y ago
Maybe someone else somewhere is getting some unbelievably sweet deal but what I've seen from cloud discounting is more in the "single digit percentage" range than "2/3rds off" or something.
844.
▲
by
jerf
1y ago
"Am I out of date and we just call that string interpolation these days?" It's all just spelling. Your compiler just turns x = "I want ${number/12|round} dozen eggs, ${name|namecase}" into x = St
845.
▲
by
jerf
1y ago
Because in the last dozen times I've handled this question the root cause is lack of understanding of why. Inductively it is logical to conclude that's the reason next time. It is probably also the case the bulk of readers of this
846.
▲
by
jerf
1y ago
No, I'm not forgetting fictional cases in which the point was to transmit to an unknown civilization. I'm talking about the real way that real civilizations are going to transmit data to each other, without meaning for it to be pi
847.
▲
by
jerf
1y ago
It's not that the ship has sailed, it is that if you sit down and sketch out what people think they want it is logically incoherent. What Go does is the logically-coherent result of the way interfaces work and the fact that "nil&q
848.
▲
by
jerf
1y ago
It kind of is. You're thinking directionality, but there's also the fact that optimal transmission will involve using compression and possibly encryption, which by its nature turns the signal into noise if you don't already k
849.
▲
by
jerf
1y ago
With biased sources. But we expect that. I expect that when a candidate gives a speech that it is biased in their favor and against their opposition. The whole process of democracy is people taking in biased sources and ultimately making th
850.
▲
by
jerf
1y ago
If you think about it, what would it even mean for an AI to give an "unbiased" answer to "How should I vote in $ELECTION?" It's a staggeringly huge pile of numbers and the idea that it would somehow be precisely bal
851.
▲
by
jerf
1y ago
Tron is a fantastically difficult franchise to write for. It is, in my opinion, the most alien franchise in Hollywood. It's unusual for alien worlds in Hollywood to have different physics , but the grid does. Its residents are not h
852.
▲
by
jerf
1y ago
Textual language is really, really amazing if you sit down and think about what it does versus the resources it consumes to do it. It's a common pasttime for programmers to claim that our textual programming languages are just terrible
853.
▲
by
jerf
1y ago
The tech is hitting the market now: https://www.bluettipower.com/products/sodium-ion-battery-pio... YouTube has some reviews if you're interested. They're out in the wild now. Not being in the industry, I was
854.
▲
by
jerf
1y ago
My comment about how "cargo culting" is not an appropriate metaphor "falls apart" because you named another way in which the metaphor is not appropriate? This is some bold new definition of "falls apart" with
855.
▲
by
jerf
1y ago
1. Go to, let's say, a video like this: https://www.youtube.com/watch?v=5qm8PH4xAss [1] Start it playing. 2. Copy and paste this into your browser location bar: javascript:void(document.getElementsByTagName("video
856.
▲
by
jerf
1y ago
Cargo cult as a metaphor doesn't work here. That's for when the cargo culters don't understand what is going on, and attempt to imitate the actions without understanding or accuracy. AI investors understand what is going on a
857.
▲
by
jerf
1y ago
"I think the only way desktop Linux will ever approach something an "ordinary" computer user could use is if a corporation puts significant money behind the development effort." Dunno, I used to think that, but between
858.
▲
by
jerf
1y ago
I didn't try to hit that because that's harder to call, especially at a small startup. If what is probably "the guy doing all this" happens to be more comfortable with k8s than the AWS stack you can end up winning by goi
859.
▲
by
jerf
1y ago
Saving $400/month covers about 3-5 hours of engineering time per month. In a year, call it 30-50 hours. Did this project take more than 30-50 person-hours? (The obvious argument about how it might pay off more in the future are depende
860.
▲
by
jerf
1y ago
"iOS Settings search will flash “No Results” as you begin to type which is comically amateurish." I'd love to agree that comically amateurish, but apparently there's something about settings dialogs that make them incred
861.
▲
by
jerf
1y ago
I can't be an expert in every GC implementation because there are so many of them, but many of the problems they mention are problems in those languages too. Finalizers are highly desirable to both the authors of the runtimes and the u
862.
▲
by
jerf
1y ago
There's the old story about Charles Babbage and his not understanding how you can feed garbage to a computer and people will believe the output, but in a sense it goes deeper than that; put a number in front of someone and I think a go
863.
▲
by
jerf
1y ago
This sort of thing is definitely in the class of "are you experiencing problems? if not don't worry about it". If you are experiencing problems, this might give you an angle to think about that you hadn't otherwise, if y
864.
▲
by
jerf
1y ago
"I'm not sure why games would be a good target..." "If you really want a game focused parallelization framework, look into the Entity Component System pattern." Exactly that. You can break a lot modern games nicely
865.
▲
by
jerf
1y ago
If the author has not already, I would commend to them a search of the literature (or the relevant blog summaries) for the term "implicit parallelism". This was an academic topic from a few years back (my brain does not do this so
866.
▲
by
jerf
1y ago
I enjoy the flipside... working for a company that does provides SAAS, sometimes I find myself reminding people that we don't necessarily need a full multi-datacenter redundant deploy with logging and metrics and alerting and all this
867.
▲
by
jerf
1y ago
V8 gets C++-like performance when it is getting code that JITs very well. This is typically highly-numeric code, even sometimes tuned specifically for the JIT. This tends to cause a great deal of confusion when people see the benchmarks for
868.
▲
by
jerf
1y ago
If the Go compiler was twice as fast, I wouldn't really notice. If the Go linker was twice as fast, that would be a minor convenience, sometimes. I wouldn't expect much more that twice, maybe thrice at the very outside. And it
869.
▲
by
jerf
1y ago
Are you thinking of some sort of annotation the compiler could read and handle? Because if a compiler starts automatically padding all my structures to put all of the members on their own cache line I'm going to be quite peeved. It wou
870.
▲
by
jerf
1y ago
This is 21st century American business. Synology wasn't going to choose their drives for maximum reliability after a long, hard, and most importantly expensive benchmarking period, they were going to stuff the cheapest drives they co
More ›