Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_gabe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
511.
▲
by
_gabe_
4y ago
I've run into another one of these articles on HN before and both times I was very confused. After about 10-15 minutes of reading I'm still wondering whether I'm reading a tutorial or a discussion about strong typing (or what
512.
▲
by
_gabe_
4y ago
Am I understanding this correctly? The idea of the veil of ignorance is we do a thought experiment where we pretend there are no societal standards and then imagine what proper justice may look like? If this is the correct understanding, wh
513.
▲
by
_gabe_
4y ago
> Instead of assuming they don't care about you, assume scale and sometimes incompetence. I think we do assume scale when we pass harsh judgments on large corporations. At sufficiently large scale there will be employees that just d
514.
▲
by
_gabe_
4y ago
You can just hover over the keyword with an IDE and instantly see that it's just a typedef for static. There's nothing wrong with doing something like this, especially since it wasn't meant to be OSS and more of a personal
515.
▲
by
_gabe_
4y ago
> Side note: it's funny how formerly closed-source projects always open up to have tons of spaghetti code and bad design planning. I was curious after you said this, so I took a look at the 4coder source. It looks like very straight
516.
▲
by
_gabe_
4y ago
Nice :) Valgrind is easier, but for real-time applications I've found that it takes a huge performance hit for some reason, at least the last time I used it.
517.
▲
by
_gabe_
4y ago
I think the parent comment is just insinuating that it's weird that they said assembly gets executed directly by the machine. Instead of saying that the assembly gets assembled into binary machine code that gets executed directly by th
518.
▲
by
_gabe_
4y ago
> manually calling malloc and free is ridiculous in 2022 Why though? I use C++ and I use a variation of malloc and free all the time. The arguments I hear against malloc is: 1. You'll leak memory. This is super easy to solve in lite
519.
▲
by
_gabe_
4y ago
YouTube has no product without the creators. It would be a better idea to withhold advertisements on a flagged video instead of taking it down. But honestly, that's still crap. They should (and probably do) keep records of a creator&#x
520.
▲
by
_gabe_
4y ago
I'm sorry, I'm just really hesitant to believe that "the fact stands that the USA has a school shootings problem" with the statistics you linked. The website you linked to cites two sources for its data. One of the sourc
521.
▲
by
_gabe_
4y ago
> I see this sort of argument for low level, system languages all the time. It seems like you were advocating using a higher level language for low level, systems programs. If that's the case I disagree. My original argument was abo
522.
▲
by
_gabe_
4y ago
Yep you are correct, I was mis-remembering quite a bit. I just re-ran the tests using BenchmarkDotNet and C# takes 124 nanoseconds on average, which is still 100x slower and a considerable difference, but not orders of magnitude difference
523.
▲
by
_gabe_
4y ago
I just re-ran the benchmarks and I was mis-remembering those statistics quite a bit. It looks like C# takes 124.5 nanoseconds on average for a hash set lookup. This was benchmarked using BenchmarkDotNet :)
524.
▲
by
_gabe_
4y ago
My argument here is about developer time though. Python development for low level systems programs would be astronomically slower than using a language like C, C++ or Rust which are built for these things. Use the proper tool for the prop
525.
▲
by
_gabe_
4y ago
> You could put 30 years into learning, understanding, and explaining a complex topic If you put that much time and effort into a topic, please invest a month into learning how to make slick visuals! The amount of knowledge that's l
526.
▲
by
_gabe_
4y ago
> I don't see any major con if it was written in Python > it would be a tad slower a tad ? I'll use C++ as an example, but the last time I profiled a hash map in C++ vs C#, the C++ lookup took 1 nanosecond[0] and the C# ver
527.
▲
by
_gabe_
4y ago
When I re-read your comment a second time I can see what your intent was a lot better. In this case it looks like we do agree and you raise a lot of good points. I do wonder whether we need to ask the question whether the cost is on society
528.
▲
by
_gabe_
4y ago
I wasn't aware that unborn children was a loaded term... It seems to me that they may be using that term to refer to "the entire gamut of zygote, embryo, fetus, etc.". I know, it's crazy we wrap up ideas like this into
529.
▲
by
_gabe_
4y ago
> I think "What makes killing a human murder" is the wrong path to go down when it comes to arguments for/against abortion. I guess since this is your opinion I can't say it's wrong, but I can strongly suggest th
530.
▲
by
_gabe_
4y ago
> Games have done this trick since forever. Text rendering is still a very complex task in modern games unless you're using an engine (and even then the complexity is still there it's just hidden). I'm not aware of any rec
531.
▲
by
_gabe_
4y ago
Now I sped through the article a bit , but afaik the Gameboy did not have native support for html rendering and webgl...
532.
▲
by
_gabe_
4y ago
> The German government and the Conference on Jewish Material Claims Against Germany announced an increase in funding for social welfare services for Holocaust survivors by $88 million on July 10, 2018. This funding increase will allow
533.
▲
by
_gabe_
4y ago
Getter and setters are unnecessary. The thing that most people are trying to avoid by using these is mutating state. However a getter or setter does nothing to prevent this. A simple `const` keyword goes so much farther than adding useless
534.
▲
by
_gabe_
4y ago
> Everybody makes mistakes. But it takes real courage to own up your mistakes and fix them. Yes, but like you said, this happened in the past. The current French citizens are not the ones who made these mistakes. For the same reason that
535.
▲
by
_gabe_
4y ago
Thank you, somebody had to say it :)
536.
▲
by
_gabe_
4y ago
I'm American, and I haven't experienced other cultures firsthand, but in my experience there's certain people in America that fit this description and certain people that don't. > This is an American feature too. How
537.
▲
by
_gabe_
4y ago
Who'd you sleep with? /s
538.
▲
by
_gabe_
4y ago
> I don't struggle to believe that the universe popped out of nothing, I very easily and without any effort on my part maintain the belief that it's pretty much impossible for us to know where the universe came from and that it
539.
▲
by
_gabe_
4y ago
This seems pretty interesting https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6759672/ . I didn't read the full paper, but based off the introduction it seems to be a study of how religion helps people over
540.
▲
by
_gabe_
4y ago
This is pretty disingenuous don't you think? In the same book a few chapters later we read: > Now Thomas, one of the twelve, called the Twin, was not with them when Jesus came. So the other disciples told him, “We have seen the Lord
More ›