skysight-inc/HackerNews huggingface dataset:
>Personally the distinction between subroutines and functions always struck me as overly math-centric thinking

Well, the word is taken from math, it seems pretty rude to take a word while preserving nothing of its original meaning. A function is a mapping between sets, it has nothing to do with abstraction or reusability or any of the dozen other keywords said when introducing the concept in programming courses, it's just an association between sets satisfying certain (relaxable) constraints.

From this perspective, a function that returns nothing is a hilarity, it collapses all elements of its domain to a single point. A function that takes nothing and returns nothing is a deviancy, where is the mapping then if nothing is taken and nothing is returned?

Keep in mind that the usage of 'functions' to denote callables* is a new thing that happened probably around the mid to late 1980s. Computer Science always called self-contained pieces of code '(sub) procedures' or '(sub)routines' or '(sub)programs'. Fortran, the oldest programming language, honors the difference until now. Pick any conference paper or book written before 1980 and I guarantee you that 'function' will denote a literal mathematical function used to describe some property of an algorithm or declare a certain constraint on a computational object, and that callable code blocks are always called one of the terms above or their variations.

>because it's not an interesting difference as soon as non-local state exists, which is almost always the case.

The thing is, there is no such thing as 'state' with functions in the first place. The word denotes something in a world that knows nothing about change or time, taking the word and redefining it to include those concepts is meaningless. Imagine if I took numbers, added physical units to them, then insisted that this is the mathematical definition of numbers all along. That's what happened with functions.

Also how exactly is the difference between pure subroutines and mutating subroutines irrelevant when non-local state is involved? it's the exact opposite, the difference is an irrelevant and opaque implementation detail if the mutated state is callee-local and never leaks to the caller, otherwise it's an outsized obsession of life that can mean the difference between a good weekend and a sleepless 24 hour and all things in between. It's exactly when it's non-local that mutable state is revealed as the horsemen of death it is.

* : see? even the verbs don't make sense: how exactly do you 'call' an association? it's a mapping, you either 'apply' it or 'refer' to it or 'look up' an element in a table listing (a sample of) its input-output pairings. Similarly, you don't 'return' from a function, you never 'went' anywhere to return, you had an element and used it to get another element with the help of a mapping between the 2 sets containing the 2 elements, this 'happened' instantaneously, timelessly, there is no instruction pointer in math breathing down your neck and telling you to return here and go there.
In some parts of the US you can get some local events on patch [1] but coverage is very limited in some states, especially in the midwest. I don't know of any sites that have full unredacted news and as far as I can tell most investigative journalists are either gone or have their own little websites that are excluded from search engines. As far as I know all the corporate news sites are owned by the same handful of parent companies and very restricted on what topics they cover and how they are permitted to spin the events. All of that said I still occasionally find interesting stories on the corporate media sites and just accept that I am only seeing a tiny fraction of what is going on through the lens of a corporation.

[1] - https://patch.com/
I often get more out of the comments here than I do the article. I am grateful for HN, and you, though I do have other sources.
I mildly suggest you stop telling other people to shut up.

My response here is proportional given that the OP's concerns were called "unhelpfully paranoid", the OP was called a "hypochondriac", repeatedly, and his narrative was put into question.

This thread has been toxic and hostile towards the OP. I am going to over-react to this until I see this behavior stop.

> you are monopolizing this thread with more bits than you'd normally have a right to

I wasn't aware I had limited rights to comment on a public forum.
Big difference from what I can see with my 2 hours with remix vs my hundreds of hours with Next is that you can do it on a component by component basis instead of a page by page bases. Also, POSTing data is a whole different beast.
I remember that he was recently trying to get hired at a tech company. (He was doing something like an Arduino auto-targeting Nerf gun as a portfolio piece.) Did someone nab him?

I remember the days when YouTube videos were automatically flagged as "shallow" by the HN code!
The Covid-19 passport implanted in your skin using this NFC-enabled microchip
Fact Check: Anti-vaxxers are spreading a dangerous conspiracy theory that soon microchips will tell your vax status.
It seems to be a recurring thing with new technologies. Something new arrives and some people instantly see how it can ruin some aspects of our lives and warn about it. It gets taken semi-seriously, but in the end not seriously enough and the thing that those people warned us about ends up happening. After the fact no-one cares, because the new normal is now the thing that used to be unthinkably horrible before.

I remember someone here on HN once commented something about how the Amish instead of just categorically opposing all new technologies decide collectively which technologies to use and take into consideration how the technology might affect their culture and communities and this has lead them to reject things like the television and cars. I can't find any more realiable sources on this, but it sure seems like a much better way to build the society than ours is.

The "free" Western cultures are increasingly vulnerable to hacking of either human psychology or collective customs and laws. It's like a code base where every new commit automatically gets accepted and only occasionally some commits get reverted because someone managed to prove without doubt that it was a bad idea. To continue the metaphor, this sort of project management might make sense when the code base (or the civilization) is new and the focus is on just getting something running as quickly as possible, but makes the code base (or the cultural heritage of a society) bloated, unmanageable and vulnerable to attacks over longer time periods.
Interesting article in the current context of orthodoxies such as "vaccines are efficient against the spread of Covid-19".
I highly recommend The Syllabus (https://www.the-syllabus.com/). It’s paid (not outrageous) and they curate various high quality media (books, articles, academic studies, podcasts, videos, etc.) across a number of topics. When you sign up you choose which areas you’re more interested in and it’s personalized (ever so slightly) based on that.
Mistaken, I was thinking of federal government, not CA, which this topic is clearly about. I don't know anything about what's going on in CA. I probably shouldn't drunk comment.
What makes zig so memory efficient?
This is really fun - but isn't information about the janka of most species already fairly accessible online? [1].

I always assumed there was a slight degree of strength variance due to age, humidity of growth region, etc - but maybe having your own tester might come in handy for certain structural engineering cases where accuracy is crucial.

[1] https://www.wood-database.com/wood-articles/janka-hardness/
I don't really think that reading news improves my life. In some cases it directly contradicts my lived experience and understanding (loosely it could be described as propaganda, but often it's just nonsense for clicks). In other cases, it's just fluff.

I do it anyway, but only really because it's accessible. If it weren't a few clicks away, I don't think I'd bother.

Particularly over the past year or so, my life has been improved by simply ignoring what the news is saying because it's been so conflicting and nonsensical.

So, yeah. I'd say that it's only worth doing something if it improves your life. If it does, crack on. If not, well, there's a big world out there and a lot to do.
Archived here https://archive.md/8ftkB
Disallow selling bikes. If you can't figure out a way to only allow legal resales, you shouldn't be in the business
Framework laptop available for preorder in UK, Germany and France
Donate to Bike Index! We’re more widely used everywhere except for Vancouver. Also, we wrote this article! And Bike Index is a non profit, so it makes sense to donate to us, rather than a for profit company.

https://bikeindex.org/donate
Take a look at the CNCF, all of those products are open source and many of them are lucrative.

Elasticsearch is still open source they just wanted to buck companies like Amazon from taking advantage of them, which is fine by me
> infiltrated by enemy saboteurs.

alas, many saboteurs may consider themselves friends.
Wow thanks so much for pointing out the fixed length stream. I had been talking with a few people on your team and no one pointed me to that. That entirely solves our problem to getting things into production. Thanks a ton
This will really help address the complaint that cryptocurrency is just a Ponzi scheme.
>The question is, am I missing out on anything if I only visit HN?

Yes, HN is an echo chamber like any other community. The more time you spend here you can see that. Especially if you follow the site with RSS where dead and flagged submissions are also archived, comments there usually paint a better picture about the whole site (ie see the echo chamber part)

My favorite is the minimum 20 point submissions feed. Those usually have enough traction already. Now I don't open every single link but if you find any dead/removed and/or flagged submissions from those then that's where the people usually goes against the hivemind/content guideline of the site. YET it already gained enough points so should be an interesting one https://hnrss.org/newest?points=20
somebody resorting to cajoling is maybe acting "effectively" but certainly not "efficiently" with regard to personal menal hygiene and most likely suffers from that behaviour. also I'd suspect a source for this behaviour which might well be engaging in rage phantasies about how to respond to perceived injustice and disrespect by peers.
I agree, Al Jazeera and Russia Today definitely show another perspective (also biased) than the usual opinions you'll find in any American news network. To add to this comment, if you want to see a European view then I can highly encourage you to look at the French-German documentaries produced and broadcasted by Arte. They have tons of documentaries (most also translated to English), it is totally free to stream them and they will portray the rest of the world through a mainstream social-democratic European lense (also very biased).
There are ways of preventing that like what elastic did. If wolfram honestly wants to be the sole computation language no one is going to pay for that all the time
If only being nice to people prevented security bugs, eh?
The Bible. I pretty much read it every day. I think it was C.S. Lewis who talked about chronological snobbery i.e. we think we are cleverer than those who went before us. It amazes me that many of the issues we have are the same as issues people had thousands of year ago.

Two days ago one of my children was caught out telling a lie. The next morning my daily bible reading for that day was from Proverbs about the importance of not telling lies. As I say, some things don't change :-)
We received notifications for instances that do not and have never run java as well. These instances don't provide DNS resolution for any other hosts or act as proxies. I'm curious if there was some data corruption on the AWS side.
Thanks for the advice. I didn't know that. In my case, it does not matter much (my data is mostly produced by myself). But, sure, it is good to be aware of that fact!
UW is still a state school controller indirectly and sometimes directly by the state government. The reason the Easter WA quota exists is a because of its charter. The administrators at UW can express whatever opinion they want but don’t rule by fiat, it would take probably a state legislative vote to implement the quota you imagine exists.

College admission officers don’t get access to race and such when reviewing applications. Yes, they can add points to it, but that happens after the rest of the application is reviewed, and can’t be done without explicitly saying they are doing it.
Some major issues from my experience web scraping:

1. Changes in data structures. If some site randomly decides to alter the format of their json/xml objects for their frontend api it may brake your scraper and anything that relies on that scraper’s output.

2. Security controls like rate limiting, captcha, ip blacklisting, auth systems.

3. Html which is rendered via complicated client side JavaScript blobs or web sockets. You’ll need a Headless browser engine like selenium and some site-specific parsing logic.

4. Legal issues.
I've noticed that on some sites where I enable cookies and JS, the cookie banner/popup has fewer checkboxes preselected with DNT than without. I don't know how to check if they honor my choices, but at least this is something you could sue them over coz of GDPR.
So, let me get this: Log4j is disabling JNDI, fixing various string substitution issues and who knows what else, but the root cause of the whole mess - that Log4j attempts string substitution on the actual parameter values remains untouched? Why?
Your post history is basically all complaints about losing a few dollars or glitches in software that are annoying but ultimately not that big a deal.
Resonate – the community owned music network
I'll also mention that Codex / Copilot could help write Haskell code where I simply couldn't. Or, at least get me close.

Generation with ML and then filtering with the typechecker/compiler for valid results could be a really powerful pair.
Can you say, "Jump the shark"?
> Lol, yeah right.

It's a comparison with C++, where Rust is generally viewed as easier to learn. So OP has a valid point there.
Looks really great! How does it compare with the Keyboardio Model 01/100?
I think i like the sculpted shape better on the Kinesis, otoh the keycaps on the Keyboardio seem nicer
Archive link: https://archive.md/F9ehg
Thanks, didn't know that. But I wish there was a better option for the 'default' key than the Windows logo.
Web framework: Rails 7.0 was released as a full-stack framework
Rails was released in version 7.0. According to the Rails team, this has gone into years of work to implement a full-stack approach to web development. The successor to Rails 6.1, which appeared last year, is based on a total of over 4000 commits and the work of over 6000 contributors.
Grift - is a small scale swindle. This is a large scale swindle, so need a new term that represents the scale.
Fair point but the article does mention that the model trains on reported crimes, and also suggests that Black homes tend to report crimes that White homes may not. So the training data has a bias, which is reflected in predictions.

Also, more police presence means more crimes are tracked. That doesn't mean they aren't happening in other areas, but without equal measurement, it may seem like areas have different counts.

So, worth considering if the training data is biased, and adjusting for that in the build and validation phases.
Yup: basically you need to set up a regular S3 backend (guide here: https://rclone.org/s3/), and then you can set up a "crypt" over it (guide here: https://rclone.org/crypt/).
Is it required to know the Harry Potter lore and characters to understand this book without missing any detail?
> Every so often, an order total changed between the time that the user saw the total on the confirmation screen and when they actually hit the button to place the order (which seems to be what happened here).

I don't see any reason from the post to believe this kind of race condition is what happened here.

Uber's CS says the promotional code used was not valid for this restaurant, but presumably the app accepted it anyway. That's also likely a validation error, but of a different class.
I saw that! in the commit stream during today's upgrade. I'll riffle my network - design is always tough, and designing for Zulip is esp tricky given its extensibility.
KODAKCoin (https://en.m.wikipedia.org/wiki/KodakCoin) seems to be the most literal 2017 parallel to this: old, nostalgic brand scooped up and used to rent legitimacy for a silly coin scheme.

It’s weird how amnesiac the crypto market is, it feels like everything is a rerun these days of something we lived through just four years ago.
Perhaps COVID has let us learn two things about younger folks: Independent of whether they should be concerned, they're not concerned about novel respiratory diseases which spread quickly. Also, unfortunately, they don't give much of a sh*t about the risk of their actions affecting the lives of those older than themselves.

Who needs empathy when we have Facebook?
When people say "I'm sure" I'm always just floored. Why are you so sure? Have you spoken to these supposed cloud providers and had them tell you this?

Here's one I'm sure about: no one cares about Mathematica except a couple of schools, professors, and finance wonks who've clung to it since the early days of CAS. The language is wacky enough that no mainstream user would prefer it (even with all of its built-ins) over Matlab or scipy. And I say this as someone that has developed things in Mathematica.
Upthread, I mentioned that I've been party to it three times. And yes, auditor skill and methods vary.
IBM still does, it's called the PowerISA now instead of PowerPC (I guess we're finally in a post-PC world after all).

And yes, I think that's right about not being able to get the heat down for laptop parts. That's still over a decade after the PowerPC 601 that competed with the Pentium (P54C). By 2006 it was pretty obvious that x86 had 'won'. DEC Alphas were discontinued, Sun was well into financial difficulties, and SGI (MIPS) was in serious financial trouble, and Apple was moving to Intel.

Side note: A lot of these arguments really happened over 20 years ago. This has actually been a really nice walk down memory lane.
The principal problem (alongside @knaik94) is correlation / orthogonality of news and, to a lesser extent, sources and world-view.

You want a diverse news feed. If you subscribe to, say, the Financial Times, Wall Street Journal, Bloomberg and Reuters they will, almost certainly, cover pretty much the same stories in much the same, safe way. You get correlation of story, worldview and topic. You didn't need to subscribe to all of them. Just one would have covered 99 percent of what you were looking for. I used to read the FT out of that bunch for one gem of orthogonality -- Lucy Kellaway. Sadly, she is long gone.

HN solves part of this problem by crowd-curating a diverse range of sources but there will still be a high correlation of topics (and likely bias / worldview, too).

Long story short, news filtering is a dimensionality reduction and optimisation problem across tensors of different "characteristics; Maybe you really like an echo chamber. Perhaps you really like to get all sides of the story. Maybe you want just news on sports from journalists who hate your team.

That's a tough problem.

But the easiest path is to realise that, by default, almost all news sources are correlated -- so just pick the one you like best and ditch all the others. I promise you won't notice. After that, work on realising, as Taleb has pointed out, that "to be cured of reading news, spend a month reading only news from one year ago". You'll learn pretty quick that outside of reporting facts, opinion is usually junk. Treat it as entertainment.
Well stocked with what that 1% like and appreciate, so we'd need for that 1% to be representative of the whole, otherwise users will leave until it becomes representative enough. But hey, that's a wild guess
Are you implying that vaccinated people do not die, or that the state of being dead "statically" makes the dead person un-testable for vaccinated status?
Well, almost. If you change Print with one argument to Printf, the compiler doesn’t complain. Maybe lint or vet will warn about it.

If it were a special type then the compiler could do it.
Perhaps you should install uBound Origin AND Privacy Badger?
HN never has two sides on important topics such as vaccines and science. It also used to be extreamly unaware of Googles role in controlling and censoring the entire Internet but that has changed in the last few years and there is hope of awareness here.

I just find it quite narrow minded in the other topics and very much in the "don't question science" camp.
Julia has @code_warntype for type checking and Jet.jl for static analysis (and snoopcompile/cthulu for the really advanced stuff). Is there anything those are missing?
HN is definitely manipulated as well. But you aren't necessarily missing out on anything if you only visit this site for news at the same time.

If you're genuinely overloaded, I'd say you're probably okay. It might be worthwhile to consider the value of being able to see different perspectives, even if often times the content is rehashed (e.g. What is being said differently? What is omitted in one and not the other?). I think everyone, if they have the time, should take a historiography course because these are the kinds of things you learn about.

It's especially important now, given the technology accelerated world we live in today of effectively instantaneous global mass-communication.
>Although, to be fair, given the number of objects compared to the number of failures, we're pretty close.

Did you ever pause to think why that's the case? That wasn't the case 100 years ago, when Radium was a fun new chemical to paint your teeth with.

We are pretty close because of government regulation, warnings, and yes, lawsuits that punish the companies for being negligent on safety.

>Obviously manufacturers should attempt to minimize the risk but they'll never reduce it to zero.

And obviously, the manufacturers need incentives to do so. Safety warnings aren't just for the consumer - they also make safer products more marketable. And penalties for not doing due diligence won't happen by themselves unless the consumers take an active position, report safety violations to CPSC, and sue to recover the damages.

Someone has to enforce the rules. In the US, the enforcement is shifted to the consumer and the legal system. We have CPSC, NHTSA, FAA - and their reach is still limited, the justification being that it should be up to the courts.
It is still true but many other distros have them too now. I've found Linux Mint, which was originally based on Ubuntu, to be much nicer and upgrades are easier.

I'm not a fan of Ubuntu creating their SNAP store which seems like a play to get a monopoly on Linux.
Try finding a state-owned news outlet for a country you don't live in, and filter to their coverage of your country specifically. The layers of removal mean it's already filtered by stuff so important that people in another country noticed. And an outside view is usually going to be less biased, except on a handful of issues that'll be extremely obvious.

Some examples for US people:

- BBC - https://www.bbc.com/news/topics/cx1m7zg01xyt/united-states

- Al Jazeera - https://www.aljazeera.com/where/united-states

- TeleSUR - https://www.telesurtv.net/SubSecciones/en/country/us/