HNHacker News
TopNewBestAskShowJobs

38

200 karma · joined July 12, 2023

submissionscomments
38··on Verso – Web browser built on top of the Servo web engine
I agree, no one should ever bother writing a new browser again, too risky. We should just use chrome forever
38··on Maximal min() and max()
what a pathetic language. modern languages have a fully generic max function, thats also type safe

https://godocs.io/builtin#max

38··on Microsoft says Delta's ancient IT explains long outage after CrowdStrike snafu
If you need a container, your stack (dotnet/java) sucks. That's why Amazon deprecated the Go container, cause it's just not needed
38··on NASA says Boeing Starliner astronauts may fly home on SpaceX in 2025
This is a normal sentence with no double meaning
38··on Microsoft says Delta's ancient IT explains long outage after CrowdStrike snafu
> containerized .Net and Java

Gross. If that's the alternative I would rather stick with mainframes. People forget that it's perfectly fine and even better to just run code directly in many cases.

38··on Show HN: 1-FPS encrypted screen sharing for introverts
No, you are just ignorant on windows development
38··on Show HN: 1-FPS encrypted screen sharing for introverts
does not work on windows
38··on Porting my JavaScript game engine to C for no reason
If that's the case, why are they vendored here?
38··on Show HN: Iso20022.js – Create payments in 3 lines of code
Yeah exactly, with Go this should literally just be the type definition and that's it. You can do XML marshal, byte reader and http request with the standard library
38··on Porting my JavaScript game engine to C for no reason
> Except for SDL2, all libraries are bundled here (see the libs/ directory).

https://github.com/phoboslab/high_impact#libraries-used

yep. exactly why I dont use C anymore. the package management story is so bad/non existent, that the typical approach is to just vendor everything. no thanks.

38··on How Google handles JavaScript throughout the indexing process
SSR is when the server creates HTML, not JSON. nextjs is very obviously client side rendering
38··on How Google handles JavaScript throughout the indexing process
> nextjs

FYI nextjs is notoriously user hostile and one of the worst pieces of client side code I've ever seen, second only to Widevine. Who dumps 2mb of JSON directly into the HTML?

38··on Russ Cox is stepping down as the Go tech lead
> I was able to create a small mobile app with Chat GPT without any real experience in Golang.

so you didn't really create it then did you? ChatGpt created it for you.

38··on After 10 years, Yelp gave my app 4 days
YouTube already uses Widevine for movies. they will never use it for regular videos, because it will kill their website. widevine is a resource killer, for both client and server.
38··on Don't blindly prefer `emplace_back` to `push_back` (2021)
[flagged]
38··on C# almost has implicit interfaces
Yeah I was about to say, it's literally structural typing

https://wikipedia.org/wiki/Structural_type_system

38··on What's so hard about constexpr allocation?
you dont have a computation in your code.
38··on What's so hard about constexpr allocation?
unpopular opinion, I think constexpr and similar are anti patterns. if you want to memoize values, run a separate script to do that. a computation is not and cannot be constant, this is just some sugar so that people can pretend it is.
38··on AOC's Deepfake AI Porn Bill Unanimously Passes the Senate
*corporeal
38··on Node.js adds experimental support for TypeScript
> gradual typing

AKA dynamic typing. Unless it's 100% static, it's dynamic

38··on Hydrothermal explosion at Yellowstone National Park
https://wikipedia.org/wiki/Expectation–maximization_algorith...
38··on User returns after 100k-hours ban to continue conversation that got them banned
I am banned from stack overflow for 100 years. I have over 100k rep on the site. I was banned because of a rollback war on one of my own posts. It's probably for the best, the site is pretty much dog shit these days, from the cruel moderation to the rampant bullying and flood of crap questions.
38··on Public toilets are vanishing and that's a civic catastrophe
Disgusting. What about people that can't afford it? Should they just shit on the sidewalk?
38··on Writing an MP4 Muxer for Fun and Profit
Or when you encounter (another) corner case that requires a top down rewrite of your code. If you start to question your sanity or the meaning of life, you're probably on the right track.
38··on A brief interview with Awk creator Dr. Brian Kernighan (2022)
> 01983

> 01979

thats not how you write years, or even numbers really.

38··on Let's stop counting centuries
Or better yet just year 0, why not? Do we say the 80s start in 1981?
38··on Beating NumPy matrix multiplication in 150 lines of C
https://wikipedia.org/wiki/Ward_Cunningham#%22Cunningham's_L...
38··on Beating NumPy matrix multiplication in 150 lines of C
no such thing as a min instruction
38··on Beating NumPy matrix multiplication in 150 lines of C
> #define min(x, y) ((x) < (y) ? (x) : (y))

cursed code. I checked and every single invocation is just `int`, so why do this? you can just write a function:

    func min(x, y int) int {
       if x < y { return x }
       return y
    }
and keep type safety
38··on Do not taunt happy fun branch predictor (2023)
I think the one liner was supposed to show how short and simple programming can be, but I think it ultimately has the opposite effect.

It's basically a showcase of terrible programming idioms that you should never use.

← PreviousPage 6 of 23Next →