skysight-inc/HackerNews huggingface dataset:
I do wish that I had kept a universally readable record of more of my work over the years. I've managed to preserve a fair deal of it, but there are notable holes and a lot of it is software which isn't going to run without some tinkering, particularly the projects with significant third party dependencies. Web stuff (e.g. RoR projects) is particularly bad in this regard, often being nigh unrecoverable.

The bigger thing to emphasize I think though regardless of archival method is to make sure to regularly back things up. Some of my earliest things from the 90s were on the boot drive and got wiped when the family computer needed a reformat. Later on when I had my own computer, a lot of stuff was on an external drive to make room on the boot drive, but one day the external decided to kick the bucket and everything on it went up in flames because there were no other copies. I didn't have much cash at that point since I was a high schooler but I'm sure I could've figured out something that would've preserved at least the most prized documents.

These days I have everything automatically incrementally backed up with Backblaze but now that Time Machine on macOS uses APFS snapshots and is more storage efficient I also want to use my home server for backup.
War is terrible. Thus, even "good people" in a voluntary unjustified war on the other side of the planet do terrible things. Emphasizing some unprovable triviality like "I'm sure there were some NVA soldiers who fired several shots at USA troops who wanted to surrender" is just a distraction from the only relevant point. The NVA wouldn't have fired those shots if we hadn't invaded. Whatever they did wrong was LBJ's fault. (Sure, it seems unfair to blame him for going to war, when refusing to do so was the reason his predecessor was killed, but life ain't fair.) The massacre discussed here wouldn't have happened if we hadn't invaded. None of the bloodshed, whether "good" or "bad", would have happened. "Shades of gray" has no place in a discussion of a developing nation resisting a violent invasion from people they've never threatened on the other side of the planet. When you parrot this lukewarm on-the-one-hand-on-the-other-hand bullshit, you distract from the basic point: the worst actions of the Vietnamese during USA's invasion of Vietnam were entirely USA's fault.

I'm surprised I have to explain this on a forum frequented by adults. Then again, in this thread we see the goofy idea that there are "good people" and "bad people"...
This looks IDEAL for information-dense internal tooling UI (admin, debugging, troubleshooting, power-user etc.)

Looks very well executed overall, but the demos really show it off.
Given this is just an initial permission with no concrete plan to build they may also be trying to induce a bidding war with another location that is more favorable (but more expensive).
The mentioned tool `git-branchless` (I am the author) also supports `git prev 3` followed by `git commit --amend`. See https://github.com/arxanas/git-branchless/wiki/Command:-git-...
Yep, Vi Hart even posted single comment on HN years ago:

https://news.ycombinator.com/threads?id=vihart
I think I have also inadvertently recreated the "carbonized panis quadratus" in my home oven recently.

Side note: pretty paranoid website owner to have disabled all text selection/copying functions (or overlaid it with a transparent object)...
If you're in a go-under-the-next-day scenario who is even reviewing your code? How big is your team, realistically?

Once you have significant runway and can hire, you need to be able to start delivering faster and faster. One person writing 2500 lines of code in bursts once or twice a week isn't going to scale. You need a team, and you need to be measuring total team throughput.

Need a new service prototype? A 2500-line PR is appropriate. But don't be surprised if it needs some big revisions - that's the point of a prototype anyway.

Need a feature? One person periodically "when inspiration and time line up" dropping 2500 lines (this is a LOT of lines in most languages used these days, even in newer, more-concise Java versions) on top of what 10 other people may be working on is not going to help everyone else move quickly at all.

If you're the person who's so busy you rarely have time to code, you need to figure out how to turn your inspirations into ideas others can execute and be the code-level experts on. A team of 10 "1x" developers is still more productive than a single "10x" developer who's in meetings figuring out the company's plan half the day anyway.
I remember as a kid having that Robot book and building it. Cutting out the balsa wood templates, mounting the motors. It worked pretty well, but I managed to destroy it pretty quickly when I tried actually make it move. My programming skills were never that great.
> The military isn't an economic system,

The system of which the military is a major pillar is definitely also an economic system, and the fact that a major part of that system (the military "sub-system", in this instance) was run in a way that was antithetic to the stated ideology of that "all encompassing" system as a whole ("capitalism", in this instance) was quite interesting.

I'll give you drones, even though the drones that have had most of an impact in the present war are the consumer-oriented ones, which are not directly the work of any military system (I'm talking about the small drones that help with artillery targeting). The Bayraktars were quite rapidly neutralised by the Russians once they got the hang of it, and at this point they're merely a PR thing.

Cryptography is also a result of Cold War funding, in fact it's one of the quintessential results of that war when it comes to our industry.

> Why do you believe GPS involved more invention or development than Starlink, drones, cryptography, machine learning, or anything else?

Didn't say that, quite the contrary, most of those are the result of direct and sustained Government funding via the military, i.e. what I called socialism. Again, Starlink would have remained a pipe-dream without Reagan's 1980s Star Wars Program.

Anyway, I'm happy for the current status-quo, i.e. for the best and brightest in our industry golden hand-cuffed at FAANG companies, spending their best years worrying about their comps and about KPIs and OKRs, had they been part of a Manhattan-like or Apollo-like Government-run system then things would have been much, much, much worse (in terms of peace on this planet, that is).
Yes, the point is, it forced you to remember things which i should forget instead.
It's dangerous though. In real life, we should learn how to forget unnessesary stuffs ? Or, i think a better strategy is, it should remind me of something "new" that i'm not aware of instead. Remembering is two-sword knife.
S.F. reclaims top spot as Earth’s most expensive city to build in
It's bad optics (and I personally think the company can piss off), but I don't think they technically broke the letter of the law. Colorado doesn't have good faith exemptions to at-will so as long as it wasn't a protected class thing, I think they can do whatever they want, AFAICT

*edit: I guess discussing wages is protected(?) (https://www.jacksonlewis.com/resources-publication/colorado-...) - but they didn't pick the reason, so I guess it boils down to how good lawyers are
Would recommend you look at more focused consultancies that do one thing, very well.

Avoid shops that have diner-style "We can do anything, and we're great at all of it!" marketing. And also ones which require a heavy PM footprint: that's a good sign they don't trust their own devs.

The former cares about capability; the latter just cares about minimizing labor costs and getting clients to sign.
I'm not a lawyer, but the article points out that disclosing your salary is protected by law.

> ...disclosing her salary is federally protected by law under the National Labor Relations Act
Of course some variants were found not to protect against reinfection. The inability to predict protection against future variants is stuff you'd learn in any first course in infectious diseases.

People keep treating rocket science like it's epidemiology, but it really isn't.
Okay, well, 5 weeks then :)

(Yes, if it's inside the Amazon time window, I could return that)
How about extending this to comparing programming language efficiency from a developer's standpoint, looking at bytes of code, versus the execution time?

I took the source code file size from the repository, and the runtime from the blog post.

Then I made an arbitrary overall "PAIN SCORE" (lower is better) by multiplying code size * runtime. I suggest this is a worthwhile metric simply because lower is better on both axes, but of course, in the "real world" there will be different economic costs to CPU time and developer time depending on the use case. Here's the sorted results, from least "pain" to most:

LANGUAGE FILENAME CODE SIZE RUNTIME PAIN SCORE (LOWER IS BETTER)
Shell optimized.sh 75 bytes 1.83 s 137.25
Crystal simple.cr 240 bytes 1.29 s 309.6
Nim simple.nim 424 bytes 0.77 s 326.48
Python simple.py 208 bytes 2.21 s 459.68
Ruby simple.rb 175 bytes 3.17 s 554.75
Go optimized.go 1514 bytes 0.40 s 605.6
Python optimized.py 464 bytes 1.33 s 617.12
Zig optimized.zig 2688 bytes 0.24 s 645.12
Go simple.go 688 bytes 1.12 s 770.56
Zig simple.zig 1394 bytes 0.55 s 766.7
Nim optimized.nim 1683 bytes 0.49 s 824.67
Shell simple.sh 60 bytes 14.81 s 888.6
Ruby optimized.rb 401 bytes 2.47 s 990.47
JavaScript simple.js 532 bytes 1.88 s 1000.16
C optimized.c 4360 bytes 0.23 s 1002.80
Rust optimized.rs 3065 bytes 0.43 s 1317.95
Swift simple.swift 317 bytes 4.23 s 1340.91
JavaScript optimized.js 1501 bytes 1.10 s 1651.1
C simple.c 2735 bytes 0.96 s 2625.6
Rust simple.rs 2239 bytes 1.38 s 3089.82

Sorting only by code size, the most concise implementations are: Shell, Ruby, Python, Crystal. Nobody was aiming to play code golf (i.e. minimize source code size), so these are fairly straightforward, idiomatic, readable implementations.

I am definitely a Crystal fan, in fact this afternoon I'm continuing to implement suggestions from my recent Show HN https://news.ycombinator.com/item?id=32081943 comments. :)
Tiny subs are the game changer in underwater warfare, not giant ones, just like we are seeing in the air, and will later on land.

The autonomous army and "sustainable" war is a likely future
The difference is it legal to fire someone for using TikTok. It’s just not believable, which makes it clear that the firing was illegal (discussing wages is one of the few things you can’t be fired for).
You have to know what numbers these are. It's not uncommon that people use net pay numbers in Europe. I've seen OECD and UN papers comparing net in one country with gross in another. There might even be that to compare with US pays, you have to use a third number - employer's expenses, because some taxes are paid directly by employer in some countries.
I understand the impact difference could be argued, but some places the local community center or pub would also be the home to most of those. And similarly, it depends on the choice each of these groups make, like to all be on Whatsapp, some could be on Telegram, on Hangouts, on Facebook, etc. Nevertheless, I think you're right, scale is different and maybe that needs different rules because of that.

Though, scale might also be why people can complain so much about it. I know people who have been shunned by their church, and the impact on their life from that is major. But if there's only a handful, they can't be a big voice to complain about it. On Facebook, everyone banned can bend together to complain about and create a counter balance.

Now false positive I think is an even bigger argument. It's probably a lot more rare for a local pub or community center to wrongly kick you out. It can happen, but I'd say there's less chance, and you might get an easier time comming back or appealing.

Something else I'm curious is how come this has so much impact on you, but so little on me? If I get banned from Whatsapp I'm just inconviened, but I can still call or text those people, mail/email them, show up to their physical locations in person, etc.

I think the "couldn't be able to live without it" sounds a bit exaggerated to me, but maybe some places are way more dependent on Whatsapp then I realize with no alternative way to reach anyone?
> Essentially no media outlet is reporting on it

Shall I compile a list of stories that major media outlets have buried? Maybe reported once, and then forgotten about?

Supposing they do go to court, but major media outlets still don't cover it?
I've been using timesnapper on Windows. It will capture a screen shot and timeline it based on title/program text. For years.
The time portal aspect is fascinating, and ultimately useless.
Cassette tapes were an awful storage medium though. They were just about usable enough for loading software from previously written tapes, and even that was slow. Floppy disk media was a total game changer, allowing for some amount of actual productive work even on the old 8-bit machines.
It doesn't even have to be a monorepo to see the speed difference. In Emacs I frequently invoke a thing where it searches my codebase as I type. With ripgrep, the results update almost instantaneously. ag, the silver searcher, is the second fastest thing I've used, but there would be a noticeable lag in updating the results as I typed, even for smaller repos.
> This seems like a nice resource for language learners. Personally, I've been looking for a way to display dual subtitles (native/foreign) while watching foreign media and still haven't found any satisfying solutions. It would be something I'd gladly pay for.
> “I asked, ‘Have I broken any policies? Have I posted anything on TikTok that is a security concern?’ And they said not at this time I have not but it could happen at any time in the future, so they’re just not going to take that risk.”

Utterly nonsensical.

It could happen at any time in the future applies to every single person with access to any private information.
Also worth pointing out these commands from git-branchless (I'm the author):

- git sync: rebase all commit stacks on top of the main branch.
- git restack: run after making a change to a foundational commit to automatically restack dependent commits.
The "six legal bases which processing can occur" ARE the context that I am talking about.

I suggest you let go with the pedantic posturing, and if you really think that GDPR has any way to actually stop these new actions from the EU telcos, go ahead and initiate legal action against them.
Ask HN: Tips on sketching diagrams/mind-maps?
I often sketch diagrams when trying to understand something, such as a software system or mathematical proof, but my diagrams always end up messy and inconsistent. Formal diagram systems (e.g. UML or ERD) are generally too complex or domain-specific for quickly mapping things out on paper.

Do you have a general approach to sketching out a concept or system? Even if not, miscellaneous tips and rules-of-thumb are welcome.
Excellent question and surely you have a point.
The thing I’m looking for: is there a way I can use my profession for something good?

I’m already helping out on weekends in the local equivalent of “soup kitchen”. But I’m rethinking life and what I spend my work on.
Meta note: it's been disappointing seeing a bunch of NY Post articles on HN, not sure why this is particularly newsworthy and even if it was, it seems available elsewhere.
What am I gaining from having a stack of PRs there versus just a series of commits that I'm gonna go back and polish later, quite probably breaking into various PRs, but with some additional time and under less pressure?

When I've hacked together stuff like that I'm often making it up on the fly, I rarely have a plan in mind that lines up with how I'd want to present it for code review later. Hell, a lot of times some of the later PRs would simply remove the entirety of a failed earlier attempt!
I can cite the relevant section of the then in force Haitian Constitution but not sure how that adds to the point at hand.
I'm not so sure about the relationship between native English and maintainable software, or in general being a great software developer.

Israelis aren't particularly fluent in English, more than others. Yet Israel is considered a great source of talent.
I have heard about cases where uneven application of policy is seen as discrimination. I wonder if they now have to fire anyone else they learn has a TikTok account.
A “Help Wanted” sign is very different from randomly dropping your resume places though, it’s an invitation to come in and ask about a job.
> Kubernetes x Docker: Best Friends Forever

> Whenever you hear Kubernetes, you’re probably going to hear Docker in the same sentence. Kubernetes and Docker are like peanut butter and jelly—they’re a perfect pair.

For what it's worth, this article was originally written in October 2021, but even at that point it was clear that Kubernetes would remove support for docker. In fact it has already with Kubernetes 1.24. Not exactly "Best Friends Forever". I wish people writing this kind of introductory blog posts would take the time and just quickly explain container runtimes instead of just mentioning docker and be done with it.
The first 2/3 weeks your immunity to drops. So taking one every month would make things worse. Plus you have that recent study that says the more vaccines you take the lower your immune system after 8 months. I would follow what health official suggest or get off the vaccine train.
That’s the median according to the BLS. In some US markets, $110k will get you a very experienced dev. Cost of living is wildly different in a midwest suburb vs the northeast corridor or the Bay Area.
Discussing wages is protected both by executive order and by federal law with the National Labor Relations Act

https://jacksonspencerlaw.com/salary-discussions/
Use an extension to redirect Imgur URLs to a privacy-respecting frontend. I use Redirector[0] to redirect to one of the frontends listed at https://github.com/mendel5/alternative-front-ends#imgur.

[0] https://addons.mozilla.org/en-US/firefox/addon/redirector/?u...
what are the strongest competitors to S3? S3 is so dominant I rarely looked into anything else for cloud storage.
No, JK was very much against ashram and traditional Guru-disciple bonding. He is pursuing to renounce our projection about he world which comes from memory and thoughts, not the world itself.

" Don’t bother about freedom.

First, see that you are in prison: the social prison, economic prison, political prison, religious prison, the prison which you have created yourself out of your desire, ambition, fears and pleasures.

When you understand your prison, the prison that thought collectively and individually has created, the prison of our confusion, misery and suffering, when you understand that, look at it, go into it, see the structure and the nature of it, then out of that comes freedom. Then it is not a reward. One who is seeking a reward is never free. "

- Public Talk 4 in Santa Monica, California, 24 March 1974
> Probably. I would think that would be common in that industry no matter the location

In particular, I was thinking about the power disruptions in Taiwan earlier this year [0].

IIRC, there was concern that a power drop could ruin some/all chips currently in the fab pipeline, and might also require several days to re-initialize the pipeline's equipment.

[0] https://9to5mac.com/2022/03/03/power-outage-in-taiwan-affect...
> interviewing completely unqualified candidates who literally can't fizz buzz.

Despite all the evidence to the contrary I still struggle deeply with accepting that this is allegedly a semi-common occurrence. It'd be like applying to work for Uber without ever touching a car before.
My immediate reaction was that the creepy thing is not the condition itself, but the mindset to duct-tape a PVC pipe to their heads just so they can keep cycling.

Reminds me of another comment today elsewhere in HN citing the classic "the spirit is strong but the flesh is weak."
The limit appears to be "ban private jets".

> Huber contrasts the relative anonymity of the “ban private jets” movement—such as it is—with the widespread press coverage of flight shaming, which seeks to make people feel bad for flying and the resultant emissions, as “blind on the social side of the issues.” The common approaches to curtailing commercial flying, such as taxing flights more, will hurt the people who rarely more than the wealthy who can already afford to fly often. It’s an issue sensitive to him personally, since his mother is Colombian but lives in Europe. The only way she can realistically see her family is to fly. He doesn’t understand why people like her are being nudged to fly less or not at all while the most polluting people in the world aren’t even being urged to travel commercially.
Because people don't post about consistently and successfully run outsourced projects on hacker news
WHY cannot we have such stuff here in Germany? WHY is everything here so much Kleinklein? I am very mad!

Good for Texas! It is the place to be.
You need a local partner you trust. Your partner is going to get a cut, and a big one, but otherwise you won't get good people.
> You keep thinking that the loss of immunity is due to new variants.

This is our first interaction, not sure why you think I keep thinking something I never thought.

There might have been a need for boosters, it would have been possible to contain the epidemic had we not let covid mutate into more faster, more contagious and evasive variants. And the variants were much more likely to spring up as we let the epidemic go rampant.
The issue with this kind of meta analysis is that, as the author, you get to decide what the groupings are. No two studies will be identical, so you can invent bucketing strategies until you find that some buckets have the results you want and focus on those.

In addition, they don't seem to have shown that the technique they're applying actually works for modelling the distributions that they're analyzing.
I think it's more likely they're just applying wrong. Shotgunning applications on indeed doesn't work as a fresh bootcamp grad, you need at least some sort of relationship with the company. That's why referral mills like blind are popular, when there are 100 applicants for an entry level job literally anything that can help hr narrow the process is used. I even had success just calling the company as an undergrad and asking to speak to HR. Always at least got an interview after that.
>I learned that the nostalgia is not about the files by itself but my life context at that time.

I'm learning the same - whenever I feel nostalgic about playing an old SNES or PSX game, I've realized that it was just about that time in my life, and usually just watching a clip on youtube or listening to the soundtrack is enough to scratch the itch, rather than actually playing the game again
I know a lot of women who watch hardcore porn and no one who reads romance novels (that I know of!). I think there is plenty of room for more and better porn (for both women and men) but the idea that women don't want to see graphic sex is a myth.
>How could a company punish an employee when the employee didn’t do anything wrong, just because they believe the employee might do something wrong?

IANAL, but at-will employment means you can be fired for any reason (minus a narrow set of protected reasons). In this specific case it will not go well for the employer if it goes to court, since federal law protects employees disclosing their salary, but a company could conceivably have a policy of "you can't use tiktok".