skysight-inc/HackerNews huggingface dataset:
> A few examples of what you can do right now

These examples look neat. I'm reminded of https://nix.dev/ (which, sadly, is pre-flake).

> make it easy to create and share Nix and NixOS configurations

I could see a lot of value in the sharing/reading aspect of this. -- I think it'd be helpful to be able to look at different NixOS configurations without having to dig into the code directly.

> The site works directly with the Nix command line tool

I find this part confusing.

One of the neat things about nix flakes, is that it's "like docker without containers". You can just run `nix run github:<owner>/<repo>`, and nix will be able to run the code from that flake. -- So I guess I'd expect the "copy-paste to run this" command to be similar to "nix run https://mynixos.com/<whatever>".

But, the "Download" section in the Meta tab of the demonstrations are about using some tool that isn't nix.
Let me unterrify you. The number you are looking at is about 5.42 deaths PER THOUSAND, not per hundred.

https://www.cdc.gov/nchs/data/nvsr/nvsr71/nvsr71-05.pdf
I'm not sure what "half a billion" refers to, but here are the annual numbers[1], which are easily accessible on their investor relations page[2] or from the SEC EDGAR system if you prefer.

Regulatory credits: $1.465 B

Total revenues: $53.823 B

GAAP profits: $5.519B

To claim that the company would be unprofitable without the credits is nonsense.

Every company does financial planning. Tesla knows they sell more regulatory credits in Q1, so they can also plan to spend more during that quarter.

1. https://tesla-cdn.thron.com/delivery/public/document/tesla/9...

2. https://ir.tesla.com
NK has a working ICBM with a nuclear warhead today. It's already done. The time to stop it was back in the 90s.
The problem is that the following is what is was intended for:

"The H-1B program allows companies and other employers in the United States to temporarily employ foreign workers in occupations that require the theoretical and practical application of a body of highly specialized knowledge and a bachelor’s degree or higher in the specific specialty, or its equivalent."

Note, among other things, the word "temporarily" and the phrase :highly specialized knowledge." The real problem is that H-1Bs are often used by companies in very different ways than their stated purpose.
The guy running the company and playing ad-hoc PM isn't aware what people are working on and is assigning me tasks being worked on already.

Meanwhile I'm supposed to onboard to the project, deal with technical mess that is start-up with a live product and get a hang of what everyone else in the team is doing in two weeks ?
When I see "opinionated", I am interested in the popularity of the project. A popular opinionated framework has found something that works well. But opinionated on its own can equally well be terrible. So I am quite sceptical when I see something advertised as opinionated.
In my experience the overhead of adding the additional layer of indirection is almost never worth it. Engineers have to spend nearly as much time meeting with product as they would meeting directly with customers. And so much gets lost in translation that I would almost always meet directly with customers.

When I first started we had business analysts, subject matter experts, and customers that we talked to. Replacing those with PMs has not been beneficial from what I’ve seen.
This is a nice creepypasta story, but also overblown and misunderstood

> “But I also think that it’s almost scarier than being supernatural in some way. It is truly unknowable.”

Unknowable? Hell no! "Loab" is the output of a computer program. The inputs that produced it are known. It's reproducable.

People figured out the meaning of ancient Babylonian using nothing but some fragments of 3000 year old stone tablets they dug out of the ground, and you're telling me that the reason behind Loab is unknowable? Please!
But what are the moving dots in the animation? Planes, satellites? (seems to move like neither).

GPS being a military technology, I presume those fixed gps stations are only located in US-friendly countries. You wouldn't get that adjustment if you are flying over Russia or China, or any ocean. How much of an error in absolute distance are we talking about here? A few cm or meters or a km?
Back in the day before IP killed everything else, DECnet was nice. You got to use short names for connecting to remote hosts where IP uses port numbers. You could make a listener on a name without having “root” access to the machine. Because back then it was mostly shared machines.

But the biggest difference for me was that record boundaries survived the stream so all the “how am I going to frame this data” part of protocol design was already handled. You got to skip all the “newline delimits, except if you escape it, or maybe a CR counts or maybe it is ignored, or only ignored if next to a NL”, or its evil twin “a two byte integer precedes the data, in a byte order that might be reversed or not and if your machine is in the right order you will never realize you missed or included an extra byte order reverser”.

And more a VMS specific DECnet feature, all IO had completion routines so for high efficiency servers it was a lot like programming in a modern async environment with “.then()” style. (Thought they ran at an interrupt level rather like signal delivery in Unix, so you had to be a little careful. )
Ask HN: Is HN worth caring about?
Looks neat!

Something for next time, you might get faster/more visibility if you put the url in the link field. I had to scour for it in the description (not really, but you know)

https://formidablejs.org
Nothing really...I got a new phone and forgot to install Facebook for almost 2 months. even now after installing it I rarely post. Just wish people happy birthday
When I went to college, most universities did not offer a CS degree. (Though the university I eventually went to had a "Computer Science and Engineering" degree that mixed bits of the Math Department's Computer Science concentration and the Engineering Department's Electrical Engineering curriculum.)

I started my software career as a "that guy who can write FORTRAN" and eventually became interested in more computer-sciencey topics and less interested in particle physics. I wound up learning scheme by reading SICP and algorithm analysis by reading Knuth. I also lucked into a job where I got to talk to Ron Rivest every couple weeks, so probably got more access to him than the average MIT undergraduate.

But mostly... getting a CS degree these days teaches you what to say during interviews. For instance, I stepped a kid through linked lists when I was interviewing for a position at Amazon. He had, of course, never heard of them and confidently informed me that hash-tables were the answer to every computer science interview question (I did not go to work for that team at Amazon.)

As best I can tell, CS programs do a mix of teaching kids useful analytic skills and how to answer questions in interviews. I've hired both CS and non-CS degree holders. CS grads come with a pre-set "context" or "meta-mental-model" for how to solve computing problems. It is often very useful and I don't think you get that with other degree programs.

However... in some corners of the world, that mental model is a detriment. I've had to untrain CS grads and get them to go back to first principals in some cases.

I think the question is... is your organization doing something that would benefit from the contextual meta-model embedded in the CS curriculum at a typical university? Are you using Java? Are you programming server software on a posix-like operating system? How ambiguous are your requirements? And the EE kids get a bit more systems stuff, it seems. Half of the CS kids I've hired couldn't tell me how a larger or smaller cache would affect performance of a particular algorithm. All of the EE kids could. Managing ambiguity of requirements through judicious application of Gemma-esque design patterns seemed second nature to CS grads. The same concepts seemed to flummox EE grads.

We are all victims of our training and the best thing you can say about someone who got an art history degree and then went into programming (assuming they can code) is they learned to analyze, design and implement software w/o the benefit of a conceptual scaffolding provided for them. They COULD be the best coders for certain types of ill-defined problems; they've demonstrated their ability to construct meta-models for evaluating real-world problems (again, assuming they can code.)
Because most resources want to educate you to the point of making an informed decision. But that defeats the whole point of delegating.

Personally I get analysis paralysis pretty easily. I couldn’t even figure out what water filter to buy and lost five hours trying to find out.
The Rust vs. Go comparison has two key differences:

- The Rust example uses 8 bit unsigned ints vs. Go example uses 32 bit signed ints

- Rust's sort is stable by default whereas Go's is not.

If you tweak the Rust benchmark to use `i32` instead of `u8` and `sort_unstable` instead of `sort`, you should see ~3-4x faster performance.
Stop Pronouncing ‘Turkey’ Wrong, Country Begs the Rest of the World
C# Guru – An Interview with Eric Lippert
Timing being an important part of a strategy, I'd say wrong timing still counts as being wrong.
Eh. I can't see the potential usefulness of that information at least not enough to warrant research.

By and by I suppose.
Like:

Errors as values. Would I prefer Results/Options baked into the language? Yes. Am I glad we don’t have to deal with exceptions? God yes.

Stdlib, the ecosystem, and globally the mentality of the community regarding dependencies.

Mostly self contained binary that’s easy to (cross) compile and deploy

Performance

Dislike:

Lack of ternary expressions

Lack of some standard interfaces (Iterable is a big one)
Khan won his re-election by 10 points on a platform that included extending the ULEZ.
They've put stuff in orbit before, so I'd wager they could hit the continental US, but probably without any accuracy beyond maybe picking a state.
Yes it's worth using IMO. Plotting and grokking is better than python IMO.
Also, I should mention that I've used PTFE tape without any issues for air tool connections. It's just for plumbing - where even a slow, tiny leak can cause massive damage - where I think it's a terrible choice.
What’s the one that leaks and you’re supposed to replace?
I never really understood the push for a 4 day work week here. As things stand, part time work seems really common in the UK anyway. Loads of people I know work 2-4 days per week for a variety of reasons. There's no stigma. It's already pretty normal?
100% PR product placement piece.
I feel the same way about Hank Ketcham, who I have only recently come to appreciate. It is easy to lump Dennis the Menace in with Family Circus and Marmaduke in the "unfunny single panel comics" set but Ketcham's artwork is so lively that it is often hilarious in its own right and contains amusing details that a first glance might miss.
Urban East Bay, with restaurants, cafes, groceries, bars etc, easily walkable from where I live.
I would like to be sold on imba first.
Isn't that what C's volatile keyword does?
It's not the same as it was 10 years ago. It used to be more tech, hacker, and startup focused.
Curated lists are already here in the form of SubStack & Email Newsletters.
My friends have certainly dropped their FB activity, but they are still there. It's a quick way to see medium / big events in their lives, like birthdays, vacations, or engagements.
Was an engineer, eng manager and now PM.

The important point is that someone is thinking about product vision and how you are actually going to sell/deploy to market your stuff.

If engineers or eng managers were doing that consistently, the PM role would not need to exist.

The reality is that most of the old-school engineers used to do this. As the "aperture" for engineers widened, the ratio of engineers who can actually apply this relevance/business lens to their work has decreased significantly so you need someone whose job is to be accountable for the vision and actual ability to turn code output into dollars.
Real names. It’s FB most important feature and unique differentiator
The keyword here is "no loss of pay." These people will work 4 days a week for their previous 5-day salary.
I, too, was disappointed!

Was hoping for something like this:

https://monster6502.com/
I imagine the main argument has to do with having enough surplus to innovate. That said of course there’s plenty of times where surplus doesn’t go to innovation.
Some progressive stuff coming out of the UK; there isn't much of it, as political chaos unleashed by Brexit remains all consuming for the party that runs the country, but this experiment was the largest of its type, and so far, looks a great success. Remains to be seen whether firms who make this commitment will be able to outcompete traditional '5-day-ers' in a recessionary environment, you hope they will but that will be the big test
For sure. Those oakum + lead joints were problem-free a century after they were installed. How many of us can expect that from the things we do at work?

The only reason some of that pipe needed to be replaced was that it was fused (by rust) to mid-20th-century galvanized pipe that had rusted completely shut.
You'd still recommend PHP for scripting? The developer ux of php is miles behind compared to Go, though I suppose it depends what we mean by it.

Composer is clunky as hell and Concurrent scripts are just a big fat no in PHP.
I need concurrency a lot in my line of work yet my colleagues never wrote concurrent code in their life so they have no idea what they're missing out on.
The crowds ought to direct their anger at the covid-19 "gain of function" gift from the source
Probably polybutylene: https://en.m.wikipedia.org/wiki/Polybutylene
I suspect it's part of an effort to push back against the overwhelming number of thoughtless "listicles" which seem to dominate the internet. I'm planning a trip abroad right now and half the effort is in finding a list of places to visit which was put together by someone who actually went there and has some thoughts rather than someone who slapped together some nonsense. Or someone who has taken the time to really whittle a list down to 7 items rather than making another useless "1200 Things to Do in Italy Mega Post!!!"

I think you're right in that "opinionated" seems like a shorthand for "thoughtful curation" which is the opposite of what search engines tend to turn up.
More generally, it's about making sure that no consumer uses stale data, in the presence of multiple concurrent producers and consumers.
Am I missing a joke?
You have this hypocritical outlook: when any bike lanes are built, you think that's the powers that be "forcing" you to cycle. But then what about all the places where literally the only way to get to them is by car? Is that not being forced to use a car? Seems like it to me. There are a lot of places like that.

>Cycling is not driven by what people want - around my way bike lanes are basically empty, while traffic is congested. I do cycle by the way. I just don't like being forced to.

I hear this all the time, it's bullshit. This has been studied, when you build proper bike lanes and related infrastructure it increases the amount people cycle. When people are polled, a huge percentage of people say they would like to cycle more but are worried about safety. So they're either building shit bike lanes where you live or you're just inattentive or lying.

(And occasionally I bike down certain roads and there isn't a car in sight. What entitled motorists, we build these lovely roads for them and they don't get used, grumble grumble)

These sorts of things (bike lanes, LTNs, ULEZ, etc) are actually quite popular. This is 100% clear from how people actually vote in council elections. It's really just a loud minority of affluent Clarksonoid motorists that get up in arms about it. Local governments are steadily realizing they can just call your bluff and win.
They've launched them in the last year. This is really nothing new.

https://www.youtube.com/watch?v=vEgE4R_6fLU
I’ve never encountered a DHW tank made of stainless steel with stainless steel fittings.

The error that will destroy your pipes is to use anything copper in the condensate plumbing of a condensing boiler. Use PVC, CPVC or PEX (or stainless steel) with plastic fittings (PVC, CPVC, “engineered polymer”, or John Guest ProLock or similar). The high CO2 concentrations in the condensate will rapidly corrode copper.
Start journaling your thoughts and then review them weekly to see how things are going. You might notice a gap.
I think they call this snorkeling
That’s a huge deal ;)
Now waiting for fireship to make a video on it XD
My wife and I recently purchased her father’s rural childhood home, and many of his stories about growing up here are about people dying in car accidents and house fires, both because of the consumer safety of the 60’s and 70’s as well as the lack of emergency services.
Thanks for the feedback! When released, the flakes are just tarballs which can be used with the Nix command line tool, for example

nix develop https://api.mynixos.com/mynixos/demo-windows-devshell/archive/latest.tar.gz

Will bring you into the development shell declared by the demo-windows-devshell flake. You can either copy the link for specific versions, or use the "Latest" reference link. These links can either be used with the Nix command line tool or as direct flake input URLs to flakes that you write outside of MyNixOS.

Note that the commands shown in the "Meta" section are just shell scripts to help you install Nix, direnv, and a flake loader, which is just a convenience wrapper that you can keep in your source control if you wish.
The actual issue here is you acting like a name collision is a huge problem. It isn't, it's an everyday occurrence on Github alone. We just add a bit more info, like the account name in the case of Github or the year of release for movies/series/games etc.
In my job search a few years ago I was shocked at how different the PM scope was across companies. Some places "got it" and were looking for a mini CEO. Others basically wanted someone to run the Jira board.

The comp for the role was a great way to tell what was what. Nearly a 10x difference from Jira monkey to mini CEO
Big mistake I made in my 20s that ended up wasting 12 - 13 years of lifetime
The tools used to analyze these data are now available in Python:

https://github.com/spedas/pyspedas

Examples of loading/plotting/analyzing MMS data can be found at:

https://github.com/spedas/mms-examples
Gonzo-inspired?
Exactly. I also have some enduring friendships - the longest having now lasted 14 years or so with people I met at meetup groups.

A crucial point that gets brought up on HN time and time again, is that you need to let yourself develop interests that are outside of work, and then you can meet people who share those interests.
This article is simply impossible to read.
Thanks for the classic example of a pathos argument, this is something that both political parties excel at: take a single example of a tragedy and use it as an emotional hammer to stifle dissent.

Of course, we need not reason about or think about the atrocities that have resulted from government controlled media and speech - according to your point, we're supposed to infer that somehow maybe if we just controlled speech more this awful thing wouldn't have happened.

Nevermind that the shooter was apparently non-binary, suffered awful abuse, was bullied and severely disturbed... No the solution is to limit that pesky free speech. Then everything will be fine?

Oh, and also the link you posted doesn't in any way represent what you claim it did. Nothing in there celebrated the shooting, that link discusses "libs of TikTok" account criticizing an organization that promotes drag performing to children. Poor timing, sure... But not exactly the smoking gun excuse to limit freedom of expression that you suggest it is.
You just need micro-dose so you can grok it from first principles. Here, just read my Medium blog titled “Why I choose X for Y.”
Kitec: http://kitecsettlement.com/
Early-career setback and future career impact (2019)
"What a disgusting thing to say"

What a disgusting thing to say

Also: but is it true?
I don't understand... I work as a software contractor in EU. I don't see a single thing I'm missing by not being in a coop. 5% of my income is a lot of money. For that money I can buy all the accounting and tax advisory services I need with enough money left over to get a Wework All Access membership and even then I'd have a significant portion of the 5% left. Why does it make total sense that people are interested?
Watching pictures of my friends vacations on FB is better for my mental health than reading the angry political opinions of some mentally ill anonymous on Reddit.
Safe Rust Code That Segfaults
Recently I participated in Geekgame 2nd, which is a pretty good CTF competition for CTF newbies like me.

One problem in that competition is to submit a safe rust program that will segfault. The problem forces you to begin your rust code by #![forbid(unsafe_code)], which can’t be worked around by #![allow(unsafe_code)].

Of course, there is an attribute `allow_internal_unsafe` which allows you to use unsafe code inside a macro.

But after this PR(https://github.com/rust-lang/rust/pull/57467) was merged, you can no longer use this attribute when unsafe code is forbidden.

So how can you cause a segfault in safe rust under the assumption that you can not bypass #![forbid(unsafe_code)].

...

Read the complete blog by clicking the link in the title.
Here's a link to the 2016 Science article:

https://www.science.org/doi/10.1126/science.aaf2939
(I know you’re a contractor so you don’t get to choose but:) stop working in artificial sprints. In some cases they’re useful(external client stuff) but mostly they can be replaced with just working down a continuous backlog. Then you don’t have this weird artificial feast and famine game.
I think from your last sentence you agree.
> you need to know the structure of JSON in advance and define in your struct

You can unmarshal to map[string]any if it’s of any help. You have to cast a lot but it’s sometimes useful.
In this case YC is a shared resource, and two accounts segued a thread about personal experience in an attempt to defend an unrelated issue they presented themselves.

Again, if you have specific examples of functional firms outside subsidized communist regimes, it would be more relevant.

Have a glorious day =)
> To really hold it together, the plumber would pour molten lead on top of the oakum.

This is pretty interesting, because plumbers are called 'lead-pourers' (loodgieters) in Dutch, and I had always wondered why.
Even for other engineering disciplines that don’t require a PE, it’s common to require an engineering degree from an ABET accredited program. Much more common than it is in software.
I think you missed the "rather".
What else would you plausibly care about other than HN?
https://archive.ph/7FhSE
Two of your anecdotes are wrong, as far as I can tell. Please give sources.
I really like Provia, but am just as happy with Ektachrome