skysight-inc/HackerNews huggingface dataset:
I agree with that statement 100%.

Our government, on some level, is supposed to be accountable to general public and there exists, in principle, a mechanism to hold them accountable.

Whether that mechanism is flawless or not, whether it works as well as we want it to, should not distract from the fact that there isn't even REMOTELY such a mechanism for big corporations. When people clamor for flawed government being replaced by companies, I shudder exactly for that reason. You're trading system with public protection/accountability that's flawed, to one where public protection/accountability do not exist, by design.

My post should not be mis-interpreted as being against government or regulation.

But I don't think Facebook is infringing upon my constitutionally protected free speech. If we want to regulate Facebook (and I think we should), we need to have a more thought-through reason, method, desired goal and tracking of outcomes.
How can you know which numbers you want to see?

With tests it is often best practice to write the tests before writing the code that gets tested. But what if you don't know ahead of time, and can't possibly ever know ahead of time?

Writing "tests" for this would be about adding stuff afterwards, like "the max and min values of this column were X and Y". But that is expected to break, if anything changes, because it's not testing anything useful.

My question is: what is one concrete test here that would be useful and actually provide confidence that the code is doing what it should be doing, and how does that test provide better sanity checking than inspecting the tables at each step of the process?
I wonder what the 3rd precog's minority report said
Haha, well, I'd say it's about both :)

And why do you require a password/fingerprint to unlock your machine? Is that not to preserve your privacy or is there some other reason?
I'm not sure exactly where your focus is, so I'll just give you a mix of thoughts and see if I accidentally help :)

- Building takes space, but the build takes place in a temporary directory that is discarded afterwards, and only the output artifacts are kept.

- ~Normal software is usually served pre-built from a cache, which short-circuits the above as long as the package is available from the cache.

- One of the nicer things about the process Nix uses here is that it's also tracking what's ~in-use (via "GC roots"), and you can trivially garbage-collect everything in /nix/store that isn't.

- On macOS I use Nix for just about everything that isn't a desktop app. My /nix mount had 9.7G used when you asked this question, and 3.6G after I garbage-collected, and 7.1G after I re-built the dev environment for a server project.

- The ~3.4G I mentioned above is a really big fraction of my total, but as a reference point, Nix is natively replacing, in ~3.4G, the Vagrant/virtualbox VM I used to need for this development.

- In my experience, the only time I'd describe the storage load as "a lot" is when I've been iterating on something that is fairly large. This can add up as the store accumulates slightly-different copies, but these can be readily GCed.

- Multiple versions of something (say, multiple different pythons or rubies or llvms) will consume more space, but the ~Nix way also makes it possible to avoid vendoring. At system scale I would _guess_ these are a wash?

- At least when you're using Nixpkgs, "multiple versions" generally just means a few major/minor version variants of common dependencies (i.e., at a single commit, most things in Nixpkgs that use Python 3.7 reference the same build).
You were never alone Juggles. We've been here with you the whole time.

I have witnessed more people bend over backwards and do the most insane things in the name of avoiding "Uncle Bob's" baleful stare.

It turns out that following "Uncle Sassy's" rules will get you a lot further.

1. Understand your problem fully

2. Understand your constraints fully

3. Understand not just where you are but where you are headed

4. Write code that takes the above 3 into account and make sensible decisions. When something feels wrong ... don't do it.

Quality issues are far more often planning, product management, strategic issues than something as easily remedied as the code itself.
the order of changes is not subject to consensus, but clients have the tools to ensure no history rewrite happened
Across the board, correcting and confronting people, no matter how you do it, leads them to double down, in most cases. Source: reality.
Some muddled thinking up in this thread. Testing is good for code implementation but the risk for code such as this mostly lies in untestable aspects like the assumptions built into certain types of statistical routines and measurement/definition problems. The only answer for these issues is independent replication. Software thinking emphasizes reusing code, but science should want the opposite. Replication really matters, even if we don’t want to accept that inconvenient fact. Great work with perfect code will fail to replicate and not because there were problems with the initial work, it’s statistically certain.
Does the Iranian government allow Google and Apple to distribute gay dating apps?
Wow, I've never heard this take before. I'm in awe at the immensity of your brain.

It actually is a terrible violation of my right to free speech. For those of us with a deeper understanding of rights than the XKCD "le show you the door" comic, we're concerned with people being denied service (in an entirely arbitrary, incoherent and inconsistent manner often based on race and political opinion) from what are effectively essential services and utilities that they may rely on for their livelihoods. I don't want my power, or phone service, or bank accounts disconnected because somebody at the SPLC called me a racist; huh, gee, those aren't mentioned in the 1st amendment either, even through they're often operated by private companies. And this sort of tactical constitutionalism really wears thin when the very same people turn around and demand that the NFL respect Colin Kapernick's "free speech rights", or wax poetic about how wonderful it is that opposition forces in Syria can use American technologies like Twitter and Signal to coordinate and speak freely - then claim it's also wonderful for these platforms to censor so-called racists here in the US, or to cooperate with the FBI to jail political dissidents who do such terrible things as loitering in public buildings.
I love what you’ve done. I think you may have an issue with the TimeTravel trademark however. Snowflake uses it in your exact market segment (not to mention where else it may be used in a similar context). Good stuff though, I’ll be checking it out.
Most people have an email address on their profile, that's PII. One could post one's name, that's definitely PII and AIUI that affects all the data then on the site, as it's now associated.
>These are selected due to their immutable nature (religion is a special case I’m not going to explain here)

Why did you choose to leave that out? Is it perhaps because it invalidates your entire argument?

Freedom of religion and expression are coded in the same amendment for a reason, and come from the same historically progressive ideals.

>To continue the metaphor, this is less like someone getting kicked out of a shop because of their race or gender, and more like getting kicked out for refusing to wear pants.

Do you think freedom of expression is as important and historically significant to human rights (i.e. the right to not be refused service based on your skin color) as freedom to not wear pants?
> Write Code. Mostly functions. Not too much.

Just wanted to appreciate the nod to good nutritional advice here ("Eat food. Mostly plants. Not too much"), well done
Aside from the front chainring being more exposed than the rear derailleur, the rear derailleur also tucks away quite dramatically when you upshift. Nobody is in the biggest gear on the way down.
Solved problem already: Hash the username + a salt and change that everywhere. Every comment is from a unique author + the comment body is still there + all the replies are still there but, author name has been removed.
I find magit cool, but I always find myself going back to using tig or !tig (combined with git add -p for interactive adding) inside of vim. It's a lot faster of all the editor extensions for me.

[1] https://jonas.github.io/tig/
What is even the downside of adding a few extra characters to the end of a comment to show who wrote it?

And has Martin ever even worked on large, non-greenfield projects? That's the only way I could see anyone professing such idealism.
The Supreme Court is now supposedly 6-3 and many red states are passing new and restrictive anti-abortion laws hoping they trigger a re-evaluation of Roe V. Wade. I see this bill as having a similar impetus to get the court to make a decision on Big Tech and Free Speech.
Interesting, is probably the wrong, word. I should say interesting to me, because I had a different experience with it. And it was not any sort of theoretical analysis, it was a feature I needed to get done.
I haven't got the facts either. Yet a lot has happened in those 500 years, and it would be a shame not to mention that.

After mid-1600 the Dutch have had very little to say in New York (or should I say New Amsterdam, still such a shame they changed the name..), when the British decided New York should be theirs, despite being at peace with the Dutch.
I wonder if the Dutch heritage still be taught in schools in the US.
The one with authority over your physical location; exactly the same government as prosecutes you if you run around randomly slapping people in the face (or whatever).
Exciting to hear.

Link with more info: http://plv.mpi-sws.org/rustbelt/
“Fact checking is received as a personal attack” – Fighting Misinfo Online
> output arguments are to be avoided in favour of return values

what is an output argument?
As a researcher, this is flattering, but probably wrong. Reading other people's code always sucks, but reading somebody's solo project hero code that doesn't follow any typical design patterns? That's nightmarish.

I'd argue it's more about startup time, or whatever the technical term is for the time between when you first start reading code and when you've built enough of the model in your working memory to be able to touch it without breaking everything.

That heroic developer doesn't need to concern themselves with other people's experiences, and they can just write whatever weird idioms suit their brain.
I think this ties in to something I've been thinking, though it might be project specific.

Good code should be written to be easy to delete.

'Clever' abstractions work against this. We should be less precious about our code and realise it will probably need to change beyond all recognition multiple times. Code should do things simply so the consequences of deleting it are immediately obvious. I think your recommendations fit with this.
To answer the question in footnote 1, off the top of my head: setTimeout and setInterval have no timing guarantees because in the browser window/tab context there's no guarantee that they're active/visible. It doesn't make sense for a UI event to fire (their intended use) if the UI is hidden/inactive, and timing guarantees are therefore deferred to specific implementations.

requestAnimationFrame does make those timing guarantees.
It has been all along.
I skimmed through the linked text (https://www.flsenate.gov/Session/Bill/2021/7072/Amendment/94...), but cannot find the exemption.
Trump policies were disruptive of free trade and favorable of the blue-collar working class. There is your hypothesis.
> that packet already contains the route it _has_ to follow

That sounds eminently abusable.
https://www.kxan.com/news/crime/violent-gun-crimes-and-homic...
Use JavaScript code to process real-time data from Apache Kafka
Oh, so you're one of "those people." My wife and I knew a couple who chose to natural birth their child. Needless to say, they are besides themselves with grief. Maybe you're different. Best of luck. /s

https://en.wikipedia.org/wiki/Gattaca
Systems that combine the two generally let you use just one or the other. For example, cargo fetch just acts as the package manager. cargo build can be configured (through vendoring or just not using any external dependencies) to not perform any package management.

What is missing is a modern cross-language, cross-platform package manager, I agree. But there are really good reasons for that, chief among them being that I don't think it's possible to define the scope of such a thing in a coherent fashion.
Also I wish they could nuke from orbit all the tutorials and stack exchange answers that are completely wrong about how to use it!
Interesting! Is that workflow similar to what Quilt [1] or Stacked Git [2] is used for? And how do you achieve that now?

[1] https://savannah.nongnu.org/projects/quilt
[2] https://stacked-git.github.io/
The irony is that hypervisors and containers have basically taken away whatever benefits monolithic kernels might have.

OS X and Windows are much better in this regard than GNU/Linux/BSDs with their ongoing efforts to move all drivers to userspace, even though they will never be fully pure microkernels when done with it.
Startup Speed as a Public Good
Better put such a long explanation there that your name isn't needed any more. Because if it is your name that makes the difference chances are that you have left the company by the time someone comes across that comment and needs access to your brain.
Orders of magnitude. While both strain credulity, it is more plausible to take a government at its word for 300 people than for 3 million.

Plausibly it could be the case that there are 100 wrongly imprisoned people in Camp X-Ray without legal recourse... But equally plausibly there are at the very least 1,000,000 wrongly imprisoned people in the Uyghurstan concentration camps, with thousands added every day...
It's amazing how many people think that the Babylon Bee isn't satire, while there's little confusion over the Onion. Both state clearly that they're satire. Does Snopes fact-check the Onion? Do you think they should?
Indeed. Well, I didn’t know you knew but the article said as much. I just wanted to put it explicitly here. Some other comments here show that it is still a common misconception.
Hmm, perhaps I am misreading this? Your understanding of ML languages is correct. I have always found “Uncle Bob” condescending and obnoxious so I can’t speak to the actual source material.

I am putting more emphasis on the “reading top-to-bottom” aspect and less on the level of abstraction itself (might be why I’m misreading it). My understanding was that Bob sez a function shouldn’t call any “helper” functions until the helpers have been defined - if it did, you wouldn’t be able to “read” it. But with your comment, maybe he meant that you should define your lower-level functions as prototypes, implement the higher-level functions completely, then fill in the details for the lower functions at the bottom. Which is situationally useful but yeah, overkill as a hard rule.

In ML and F# you can certainly call interfaces before providing an implementation, as long as you define the interface first. Whereas in C# you can define the interface last and call it all you want beforehand. This is what I find confusing, to the point of being bad practice in most cases.

So even if I misread specifically what (the post said) Bob was saying, I think the overall idea is what Bob had in mind.
We're hard on crime in texas... Unless you're white. Then we let you castle doctrine your way out of almost anything.
>beyond reasonable doubt

Sure, but on a website log-in info, email confirmation or 2FA is enough for that. Unless you already gave them your ID-card, they shouldn't have to use that to identify you.
Well, “fat” meaning “too big even for motorcycles” is a recent thing. Decades ago a 43-size tire like the Rock ‘n Road raised questions about clearances. Bikes with a fork and brake that could accommodate the size were desirable for off-road use.
The .NET Hot Reload experience for editing code at runtime
Correct, the pipeline is one of the biggest problems to solve, IMHO. When I actually looked at metrics, the makeup of my org was actually a fairly accurate representation of the pipeline as a whole, which was very encouraging.

It was an interesting state of affairs. When we were eventually acquired, I receive many comments praising the diversity of my org, and it was noted several times that, of the many dozens of acquisitions made by the company, ours was the first woman led company.
> I wonder if it would be different if it had come from someone they knew in real life. I guess I shouldn't be at this point, but I'm always surprised that the people posting the misinformation aren't terribly embarrassed about it when it's revealed.

Anecdotally, they don't see it as truth being revealed, but me being "brainwashed", a "linear thinker" or "slave to orthodoxy."
POSIX clones.
You don't think Barrett would? If so, that's enough to grant cert.
>Been mountin biking for 35 years, I have a kickstand on my bike. What argument against them is there?

Respectfully, I have to ask what you consider mountain biking? I'm not trying to be mean but I have a suspicion that you're not doing real mountain biking and maybe just riding on gravel roads or tame dirt paths. Do me a favor and look up the Whole Enchilada in Moab, UT and let me know if that's even close to what you're doing while mountain biking. I think it'll make more sense.

They're extra weight that can get caught on things and break your frame or you. I've never seen a serious mountain biker riding with a kickstand.
With no rear suspension and tall gearing, it makes sense to stand. But when you have suspension in the back & a big rear sprocket, you get more grip & have more endurance seated.
I'm a professional programmer and I don't find R hard to understand. Have a look at R for Data Science[0], maybe you'll see why scientists and statisticians find it easy for their analysis and visualizations (and conversely find Pandas+Python very complex).

[0] https://r4ds.had.co.nz
Windows Terminal Preview 1.9 Release
After the English takeover of New Netherland in 1664 and American independence in 1783, the system continued with the granting of large tracts known as manors, and sometimes referred to as patroonships.

https://en.wikipedia.org/wiki/Patroon
Ever since the environmental push to abandon paper napkins, all members of my immediate family have switched to licking/sucking on their fingers and then wiping them off on cloth napkins. Nothing is more disgusting than sitting down to eat and having your utensils presented on a dirty cloth napkin that has someone elses saliva and food on it. I can't fucking standing it.

We were cleaning up after making gingerbread houses, my family member was sucking icing off her fingers, and she picked up m&ms and put them back in the bag with her fingers. So now her spit is on all the m&ms in the bag. Disgusting. Then they went and gave these gingerbread cookies to other people to eat. They get upset if I point this out or say that I find chewing with your mouth open is disgusting. Sure, I am latching on to previous events that I should forget, but the disgusting behavior continues.

The finger licking is not limiting to just eating a meal. It occurs frequently when cooking as well. They look like i just insulted them when I refuse to eat anything they cook.

I can't fucking stand it.

>I go from liking you to want to stab you in 3 seconds

Nothing makes me rage more than having to listen to someones obnoxiously loud mechanical keyboard. I go from likeing my coworkers to being extremely angry at them.

Yeah label me as an insane mentally ill schzoid psycho because these small things make me rage. I dont' care.
Best option is to find a good cause, reason, mission or goal to influence about.

All famous leader are famous for some specific mission/goal they were leading to.

You can’t be just influential in general, but the bigger cause you have and the more you passionate about it — the easier to attract people to follow your ideas.
That's only true if a random sample of the population dies. If we assume (and I'm making this up) that in the steady state, the elderly comprise 90% of deaths, then if a war kills only young people, you'll expect a substantial increase in proportional death rate.
Ah hahha. I love WET. I always say the only way to write something correctly is to re-write it.
The code doesn’t even matter in this instance.

The discussion should be on the model design and whether it’s sound.

Leave it to HN to start criticizing code whenever anything is posted.
.NET Multi-Platform App UI (Preview 4)
I know that these "works for me" discussion are often not fruitful. But, I'll ask this: have you done a several hour session of typing/programming into a JetBrains IDE? I'm claiming that on my work Macbook Pro, even just typing plain text into a file and scrolling lines in IDEA is smoother and more responsive than doing the same in Emacs.

I use the Vim plugin for IDEA and evil mode in Emacs. Even things like holding 'j' or 'k' to scroll lines is painful in Emacs compared to IDEA.

I'll admit that if I spend some hours/days in Emacs, I stop noticing it much, so it isn't THAT egregious. But if I switch back and forth, it really sucks.
Mathematicians Find Long-Sought Building Blocks for Special Polynomials
> WET (Write everything twice)

In practice (time pressure) you might end up duplicating it many times, at which point it becomes difficult to refactor.
Contact data is relatively uniform - you got names, addresses, phone numbers, maybe a few dates. Even with the handling of different addresses per contact, different systems already show divergent behaviour, even when they use the vcard standard.

This becomes immeasurably more difficult with information from, let's say, Amazon: A competitor would not have the articles I've viewed, or the comments I have left under questions, or a compatible rating system.

Even social networking sites ... how useful is it to import twitter exports of my tweets answering to someone if neither that someone nor the content I answered to is available in the target system?

Sometimes, it is by design - in the majority of cases, it's just different people implementing different use-cases differently.
It’s not marketing as much as it is “try to get a patent for something that’s been done for decades by doing it slightly differently”.
"Promote I/O to management (where it can't do any damage)" is the actionably good thing i've taken from Brandon Rhoades' talk based on this: https://www.youtube.com/watch?v=DJtef410XaM

Living in a world where people regularly write single functions that: 1. loads data from a hardcoded string path of file location 2. does all the analysis inside the same loop that the file content iteration happens in and 3. plots the results ... that cleavage plane is a meaningfully good one.

The rest of the ideas fall into "all things in moderation, including moderation", and can and should be special-cased judiciously as long as you know what you're doing. But oh god please can we stop writing _that_ function already.
Are you sure forum comments can count as PII, according to GDPR definitions?
Freedom from gov’t very relative in Texas

“Texas Governor Abbott says he will sign a bill that prevents cities from defunding police”

https://www.cbsnews.com/news/texas-defund-police-bill-abbott...

“Gov. Greg Abbott signs 'fetal heartbeat' bill banning most abortions in Texas”

https://www.statesman.com/story/news/politics/state/2021/05/...

Freedom lists like this could go on for pages.
That's a C/C++ trick where a location to dump the output is presented as an argument to the function. This makes functions un-pure and leads to all kind of nastiness such as buffer overruns and such if you are not very careful.

sprintf(buffer,"formatstring", args)

'buffer' is an output argument.
I think in this case it would be called an alarm clock.