Better HN
topnewbestaskshowjobs
Log inSign up

pcj-github

557 karma · joined Jan 3, 2019 (7y ago) · 165 submissions

Submissions

comment 3y ago · link · parent

Related to https://github.blog/changelog/2023-01-30-git-archive-checksu...

62.

Git archive checksums may change(public-inbox.org ↗)

7 points · by pcj-github · 3y ago · 4 comments

comment 3y ago · link · parent

As a self-taught programmer with no formal education, I figured writing a lexer/parser toolkit would be a good way to bootstrap my CS knowledge (about 20 years ago). I went down the rabbit hole for months on it, really glad I did.

I can totally relate to the authors interest in error correction of LR parsers, it's a fascinating topic that I also was nerd-sniped by at the time: https://github.com/inxar/syntacs/blob/6461578a04d3b0fda5af20...

comment 3y ago · link · parent

Seeing your net worth go down by billions is probably a decent motivator to write a blog post hinting to the market that prices look real good now.

comment 4y ago · link · parent

The question wasn't "what's nic mean?", it was "is buying your own top level domain going to be the new normal?" Presumably if you have enough cash, I'd say yes.

comment 4y ago · link · parent

I could see it being useful for things like "goto line 42" or "rename this file as...", or very simple things like that, otherwise, I don't want the cognitive overhead of having to translate coding intent through a voice interpreter.

comment 4y ago · link · parent

I'm going to call B.S. on this one. with SpaceX and Tesla, many employees are driven by a sense of purpose independent of the behavior of their shared/part-time CEO based on the fundamental mission of the company. In Twitter's case, I doubt the notion of whipping engineers to making more advertising revenue via blue check marks is going to rouse a sense of pride, purpose, or productivity. I guess we'll see!

comment 4y ago · link · parent

The protobuf javascript generator and runtime really shines when your stack is compiled using the closure compiler; it shrinks down to very little code. Unfortunately, very few people outside google use this.

The protobuf-gen-es plugin sounds nice, I'll definitely be checking it out.

However, I don't understand the desire for people to write protoc plugins in anything but C++, and I'm not even a C++ developer (I much prefer js/ts for many things). Instead of a single c++ source file with a builtin cool templating library which compiles trivially to a tiny binary, you inherit a huge dependency chain that includes the typescipt compiler and nodejs runtime. Totally unnecessary IMHO.

comment 4y ago · link · parent

Personally I don't think it matters if Copilot spits out large near-complete functions or smaller one-line snippets, or if you find it useful or not.

The fact is that it consumes a large corpus of work and launders it in way that removes all attribution should be a big no. That goes against the entire spirit of copyright law. It must be opt-in, or make Microsoft wait 95 years to incorporate code in public repos for their for-profit enterprise.

comment 4y ago · link · parent

Spot on! Great explanation.

comment 4y ago · link · parent

At least five years overdue; glad this finally happened.

comment 4y ago · link · parent

It is a premature conclusion that Hans was cheating in this game. Let the proper process play out, whatever that may be. Magnus has not presented any actual evidence. Chess.com is not an impartial player here in this drama and cannot be considered source-of-truth (they just purchased Magnus' startup for ~$80M; their fortunes are linked and would be subject to similar biases). WSJ article has not really done a deep dive.

comment 4y ago · link · parent

They used the word "extreme" 15 times, sigh. I didn't realize wakeboarding was an "extreme" water sport. TIL.

comment 4y ago · link · parent

I don't work for Google or really care, but the GCP bashing dogpile every time they cancel a product is just getting pretty unimaginative. They offer hundreds to thousands of services, and some bets just don't work out. Glad to see many other people have perfectly functioning crystal balls.

comment 4y ago · link · parent

100 million pounds of lost gear by the fishing industry is such a ridiculous underestimate that, judging by some of the comments here, make people believe this number to be somehow OK. The fishing industry has been dodging responsibility for ocean pollution and habitat destruction for forever, good to see more research that people can use to put pressure on them to actually give a s** and change their ways.

comment 4y ago · link · parent

Dissenting opinion (which I agree) starts on page 148 of the PDF: https://www.supremecourt.gov/opinions/21pdf/19-1392_6j37.pdf

comment 4y ago · link · parent

Agree 100%

comment 4y ago · link · parent

Comments are a bit negative. I for one think they are onto something here. Surprised it's only 21M. I would have expected in these market conditions to beef up more for the next 2-3 years.

comment 4y ago · link · parent

The free thing for (a few) open-source maintainers seems needlessly complicated... Who should qualify is non-transparent. They'd have been better off just charging everyone for it. Not an instant buy for me for the moment. Often it works well, but it also frequently takes time to correct/sort-out the suggestions. It might in fact be making me dumber as I wait for a suggestion rather than thinking it out.

comment 4y ago · link · parent

Turns out that tightly wrapping a small kernel of nothing with many layers of leverage can turn into a bomb that will blow up in your face.

comment 4y ago · link · parent

Excited about this!

Docs should include obvious link to github repo: https://github.com/lucacasonato/fresh (edit: it's already in the footer)

Also, deno/x needs an update: https://deno.land/x/deno_fresh

comment 4y ago · link · parent

The whole Musk charade seems to be starting to crumble. Personally when I see folks driving teslas I can't divorce it from my image of him, and I end up having a negative opinion of that tesla driver I don't even know (why would they follow / prop up this guy?). I suspect tesla may go the way of facebook... One generation loved it, but for young people they run the other way.

Sad part is that tesla has some of the smartest, most hardworking engineers in the industry... absolutely top-notch. But, the reason they chose that job was due to a belief in the mission, of doing good in this world. I can't help but think those people are having second thoughts about working at tesla now that people are starting to recognize Musk actually is a bad smell.

comment 4y ago · link · parent

Every article I read about this says something like "Unlike tether, UST wasn’t backed by fiat currency held in a reserve".

Which assumes tether is actually backed by enough real value to cover its calls in the case of a selloff, which it absolutely is not.

If I had any money in crypto (I don't), I would get the hell out of tether ASAP.

comment 4y ago · link · parent

Indexed gets no sympathy from me; guy exploits a bug in the code. Awfully predictable that these would-be DeFi fanboys go crying to a centralized legal authority when things don't go their way.

comment 4y ago · link · parent

I recall reading https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace... as well and thinking this would be great to integrate with Bazel for hermetic cross-compile of go/cgo. Great to see they actually went and did it! Will definitely be trying this.

comment 4y ago · link · parent

Sounds like crypto in this day

comment 4y ago · link · parent

Good to know the pure go one has acceptable performance for most workloads.

88.

Show HN: Layer – Inspect Container Layers(github.com ↗)

5 points · by pcj-github · 4y ago · 1 comment

comment 4y ago · link · parent

Ryan Dahl is totally on-point here. It's one of those things that will be obvious in 10 years or less. Only SASS providers need bother with linux containers or "real" operating systems, the vast majority of everything else will be glued together over emerging runtimes like Deno/CFW, HTTP, and WASM.

comment 4y ago · link · parent

It is so obvious to any parent with a child in this age group the harm that phones and social media have done. My daughter, now 15, is on anxiety meds and scars up and down her arm from cutting. I'm an MD that crossed over to tech, but my earlier profession (vascular surgery) largely involved taking care of the wreckage that the tobacco industry wrought upon society. The parallels here are obvious and striking. The spell under which society was either ignorant or in denial (via advertising) about the harms of smoking in 1950 is very similar to what we have today.

1. More research needs to be done to solidify the data on what is pretty obviously happening, but we can't wait on the data to take action (it will be important for the lawsuits though).

2. We need regulation that forces these apps to only be able to execute for something like 2 hours in a 24-hour period before being sandboxed and shut off. They aren't mission-critical, nobody "needs" instagram more than this other than Meta. These kids need a break, and to breathe.

3. We need a large educational investment, quickly, to get people to understand the harmful combination of social media, device usage, and puberty. The comments in this thread make this readily apparent... The number of "but, but, but" and "whatabout" comments is pretty astounding here.

4. Social media companies must be litigated for knowingly and willingly doing this. Class-action lawsuits, in the many billions of dollars. The behavior of these companies will not change otherwise.

123456