skysight-inc/HackerNews huggingface dataset:
The dev's statement on the blog really hit the mark there:

> Why do developers prefer the dark theme?

> Because the light attracts bugs.
This is a quote I stumbled more than 10 years ago and that stuck with me since. Then I read Adam Smith's Wealth of Nations, where he unequivocally explains how skill/job specialization is simply a product of demography. I still agree with the sentiment of Heinlein as a personal ethic, but I have made my peace with specialization.

In the last few centuries, we have reached a critical mass of scientific and technical knowledge where any further advances require a tremendous amount of specialization. There's no way or point in fighting tthat.
Which tool to use for SSH man in the middle attacks
Hello,

at my university, we are learning, how to use ssh for server administration.

We learned, that ssh is secure, but there are some tools, which allows man in the middle attacks on ssh.

I found following tools:

* https://github.com/jtesta/ssh-mitm - most starred, but uses an outdated OpenSSH version and it's complicated to setup :-(

* https://github.com/ssh-mitm/ssh-mitm - seems to have more features, but not so popular

* https://manpages.debian.org/unstable/dsniff/sshmitm.8.en.html - seems to be only for ssh1

Which tool do you recommend?

How can such tools intercept ssh, when it is encrypted? I have tried wireshark, but was not able to read the data. Wireshark is only able to read the plain text parts of the ssh protocols.
>In fact, please make it so obvious that in reading it I don't gain/need/curse/applaud any insights.

at some point clarity requires succinctness, at some point obviousness becomes stupidity. The above requirement has not actual measurable parts and as such we can never know if we have made things too stupid in our attempt to make our code understandable by all parties.

Finally as languages evolve and gain new syntactical structures it means that things come into the language that will not be known by everyone, if you want everything understandable by the least knowledgeable that means that you cannot improve your code base. Your biggest legacy problem becomes the least advanced programmer on your team.
You can find the C++ draft by searching for "n4861", if you're not the kind of person who wants to pay for (or has institutional access to) the final version of the spec.

The draft lists ++ / += of volatile deprecated, lists volatile function parameters and return types as deprecated, but does not mention deprecation of volatile member functions (or I didn't find it).

Keep in mind that the standard does change between draft and finalization, and I've been bitten by this before (one draft of C is missing library functions present in the final standard).
> I can tell you from having experienced php templates that did stuff like this that this is a terrible idea in practice. Worse, you won’t know it is until you’ve built quite a mess.

We use Blazor in production(admittedly for internal facing app) and it works wonders for us. We mainly share models with frontend part, it's an insane productivity boost. You don't have to embed data access or server business logic into your views. You can, but you don't have to(and you shouldn't). Even just sharing models and calling endpoints like you would call a service is just... convenient.
I've achieved over 2 million inserts per second (to SSD) using a simple splay tree, append-only log, and a ring buffer abstraction (for serializing access).

Writing in batches of sizes dynamically determined by the backpressure mechanism seems to bring incredible performance benefits. Both SSDs and CPUs benefit hugely from any technique that can batch transactions at any level.

To the user of your database, what's the difference between 1-10ms best case, or 5-20ms average? To your CPU and flash, that 10ms extra batch width can mean the difference between 5000 and 500k inserts per second.
Geese have an angry-defending-the-nest mode and an eating-food mode that are mutually exclusive.

Eating food overrides, which means with just a small handful of goose food you can wander up to a nest and do whatever you like without being threatened by mother goose.

Beware the moment the food runs out, defend-the-nest mode is reenabled and you'll get viciously attacked.

Kinda odd - I guess no predators think to make use of this by bringing some food!
Through my societal lense (as a grandchild of four immigrants) I view similarities, in that: their immigration was a deliberate and drastic choice, one made in response to the perceived inability to influence some desired political change. Often immigration is a follow-up choice due to fear or repricussions from the choice to support a desired political candidate (think political refugees). That being said, people don't typically get to choose the one(s) who parent them.

Edit: I say this as someone who greatly values a culture where social identies are self selected (or nor ;-) as well as mutable.
https://en.wikipedia.org/wiki/Tiananmen_square_massacre

https://en.wikipedia.org/wiki/Euromaidan

https://en.wikipedia.org/wiki/Tulsa_race_massacre

https://en.wikipedia.org/wiki/Kristallnacht

https://en.wikipedia.org/wiki/Battle_of_Blair_Mountain

https://en.wikipedia.org/wiki/Boston_Massacre

I really don't think it's quite so cut and dried.
haha, it's even better if you replace in your comment hard drives with CPUs
But where would a person speak to disclose the secret? Internet is very effectively censored by the US monopolies now.

If something is not indexed by Google, it's effectively non-existent. FAANG censorship is fast and effective. E.g. there were many important US bureaucrats involved in the Theranos scandal (even current US president). When I try to find anything related to that matter now, Google returns pages with many links removed by censors. It's almost impossible to find people responsible for withdrawing money from US budget via Theranos.

Also, assuming that 3 letter agencies were involved in the operation, any whistleblower would understand that destiny of Epstein will await her/him in near future.

Also, there's no "independent" journalism, all media belong to few influential entities, there's only approved articles appear in newspapers, magazines, on TV and YouTube.
This is a paraphrase of Samuel Johnson's "Read over your compositions and, wherever you meet with a passage which you think is particularly fine, strike it out.”

I learnt the truth in this when I spent years writing orchestral music. I think it's very similar to avoiding premature optimization. Each piece would take months, first sketching in the broad features - melody, harmony in a few voices, gradually adding more until I reached what seemed the end, then revising until no improvements came to mind on listening through, and lastly adding the large-scale dynamics, pauses, tempo changes, percussion. I learnt to always write/add just what I heard in my head, to try whatever it occurred to me to try, keep whatever changes sounded better, but never to plan anything.

Sometimes, early on, a particularly nice bit would emerge fairly fully formed, of which I was proud, and I'd polish that moment immediately to a near-complete state. But then for months it was fixed, couldn't flex and evolve with the rest of the piece, being already "perfect"—or it was originally, not in its final context—and usually I'd regret it was there, all dead and shiny. They felt like fossilized vanity.
Does there need to be anymore proof that UBI doesn't work?
Relevant: https://m.imgur.com/8HxDu

Another fun one: a gaggle of geese
Lepton – Firefox UI Fix
Take it as presumed that a questioner has a direct link to the side of the state or the opposition, or both, of 1930s Germany, and answer the question rather than dodge it.
volatile does not imply compiler fence on gcc, so this code has a race condition when updating read/write_position, you need compiler barriers here

>data[write_position] = value;

>COMPILER_BARRIER(); // __asm__ volatile("":::"memory");

>write_position = (write_position + 1U) % LENGTH;

and same in Skip()
> it's self-inflicted dumbing-down. I really don't understand where this rampant support for antiintellectualism comes from

I don't think it is about dumbing-down or antiintellectualism. It is about knowledge. No matter how clever or smart you are, you do not know everything. So any special knowledge (about the OS, the language, etc) you have to be aware of to understand code is a barrier.

I specifically don't mean domain knowledge. You got to know stuff about the problem you're trying to solve, sure. I mean knowledge about the tool you use to solve the problem. Its just a tool. Nothing else. A tool should be practical, the less you need to know to use it, the better. If you want to write a manual for a machine, you wouldn't use poetry, right?

Of course some stuff is worth it. If there's a language construct that makes lots of things "better" (whatever that means) - cool, we should use that. But it should be some generic thing that can be applied to many problems (so its worth learning about it), not some specific thing that solves specific problems more clever.
No the reason I'm getting downvoted is that people are toxic, because they don't even have an argument.

But it's ok I'm used to it and value karma the other way around; by design on this forum low karma is truth and high karma is toxic!

I'm aiming for the lowest karma possible, and I'm going to avoid the high karma people to the largest extent possible and when the HN database leaks everyone can see what's what.

They wont stop me from trying to have a discussion with people that actually have something to say.
It only works if the 3d printing really brings in some revenue. Otherwise, buying a 3d printer in a business that is doing something else (say, software consulting) cannot be counted as a cost.
I wonder how many, given a hypothetical situation in which we live forever as the default, would take a pill to artificially shorten their lifespan to 100 years.
... but aren't the observations itself part of the standard narrative, and the nonstandard part is how people explain them? (One standard explanation being that they are just some next-level high-tech stuff being tested.)
> people can never have a fruitful argument about something that's part of their identity. By definition they're partisan.

That is definitely not true. Say, I identify as male. It's a part of my identity. Not only can I discuss it in a civilized way, I'm also curious to learn and discover how the concept of masculinity evolved over the ages, how the society conditions males into their roles and so on. It's not identity that counts here but openness to explore and learn.
Well, maybe, but 'brief' is doing a lot of the heavy lifting in that sentence.
"Friday next week" is perfect English by the way. I (Hiberno-English speaker) would naturally say "Friday week" for the same thing, but have found it doesn't travel well :)
Of course it's not, and I agree. My intention was to use two different examples to demonstrate that regardless of your background, you might "take on" an identity which you didn't choose and thus cannot "keep it small" as easy as PG suggests.
The current politician who had a mastery of humor was Ronald Regan (formerly Bozo the clown).

It was used to great effect - mostly to villianize Russia, but as needed against all of his opponents. When he was criticized for his age, he responded "I won't use my opponent's lack of experience against him" gaining a laugh and owning the conversation (worth watching).

It also made him more approachable and liked by the common man (and hated by the media, but whatever...)

"I've instructed my aids that in case of emergency they should wake me in all circumstances; even in a cabinet meeting!"
Predictive personalisation software to use now
When you have moderate inflation the economic system rewards ingenuity, productivity and efficiency. People at the bottom rung of the economic ladder will obviously be happy about it because that is all they have. The rich have money and capital that can paper over those three things.
> A few decades ago, any given farmer often had the skills and tools needed to quickly make repairs if their machinery broke down. These days, however, it’s not so straightforward. Most modern farm equipment is technologically advanced, containing computers and sensors that collect and transmit data. As a result, specific software tools are typically necessary to address mechanical failures and other issues.

> However, most companies refuse to make those tools available to farmers, making it exceptionally difficult to fix broken machinery on their own. They can’t even go an independent mechanic, since manufacturers won’t sell them parts or diagnostic tools either. This leaves farmers essentially no choice but to take their broken equipment to a licensed dealership.

> This isn’t cheap. A farmer might spend thousands of dollars on a simple adjustment they could have done themselves with the appropriate resources. On the other hand, this arrangement has proven wildly lucrative for manufacturers; for Deere, as an example, parts and repairs are up to six times more profitable than selling the equipment itself.

This is a part of a larger pattern. Our current underlying system "keeps many practical alternatives sequestered behind private firewalls or unfunded if they cannot generate adequate profits". The current system enables "an exaggerated set of intellectual property monopolies – for copyrights, trademarks and patents – [which] restrain the sharing of scientific, social and economic innovations. Hence the system discourages human cooperation, excludes many people from benefiting from innovation and slows the collective learning of humanity" [1].

Imagine today's high-tech world, without the capitalist intellectual property system. It will allow many more people to become skilled and able. I think we will look back at this phase of human civilization in horror; IP systems are an excessive way of dominating people and stifling their growth.

[1] http://wealthofthecommons.org/essay/peer-peer-economy-and-ne...
This is probably some joke that I just don't understand, but just to be clear:

Are you saying that there either was no tsunami or that the NSA created the tsunami as a cover to buy harddrives?
Not really, aside from personal experience/observation. Not sure what type of source there would be; perhaps a survey/study of self-reported reasons for drug use?

Surely you’ve heard of drug/alcohol abuse referred to as an “escape”, no? Existential dread/angst is just another thing to try to escape from.
Play the saxophone?
The example given about the 120 years old assumption will very likely be broken in the next 10 to 20 years... Perhaps it is better and safer to just stick to simple code.
Not if you're actually parsing, with an explicit parse step and a well-defined language. Exploits tend to happen when parsing is done by the so-called "shotgun parser" - aka. various checks and conditionals randomly scattered throughout your code, that implicitly define an input language that's different from what you think it is.
Yes. And no. Generic "you" follows (I am NOT trying to pick on OP).

If you are a senior engineer in a team of engineers, do you need your manager around to facilitate every meeting that discusses "next engineering steps"? If so, are you really senior?

If you, as a senior engineer, can't get a new starter up to speed on your code base (without creating a hostile environment), are you really senior?

I mean, I am not saying these things should fill 90% of your work-day, but maybe 5%? And when you do them, you should at least be passable at it. A complete lack of soft skills is not really excusable in a senior engineer. But, it is also the case that a senior engineer job is about more than soft skills.
This is great. I installed mailtracker on all my computers running apple mail.
The feeling of being naked when using a browser without an adblocker has always been present with when using mail. This really fixes that!
Interesting - for me it is the opposite. Non-functional languages usually work better if there is no concurrency involved. And 3rd party systems always introduce a certain amount of concurrency, sometimes more, sometimes less.

I would say pure FP languages such as Haskell are actually the best for such a case. Because in these languages the order/timing of lines of code are decoupled from the execution order/timing.
quoting
---
Some would say that the death of a language is much less worrisome than that of a species. After all, are there not instances of languages that died and were reborn, like Hebrew? And in any case, when a group abandons its native language, it is generally for another that is more economically advantageous to them: why should we question the wisdom of that choice?

But the case of Hebrew is quite misleading, since the language was not in fact abandoned over the many years when it was no longer the principal language of the Jewish people. During this time, it remained an object of intense study and analysis by scholars. And there are few if any comparable cases to support the notion that language death is reversible.
---

I think the author's statement is problematic in that it implies that hebrew was only if interest to people studying it. But that's not true. Hebrew was the foundational language for internal discussions of judaism's legal system, which was alive and evolving.

while it might have not been the day to day vernacular that people spoke it, the vast majority of religious legal texts were written in it over those years (or to rephrase it, the legal texts that survived, which would reinforce the value that being written in hebrew had over the "native" tongue). i.e. it was in constant use, just not for normal conversation.
> But what if the junior member can't understand OOP, functional programming, has no idea of abstraction and can only produce duplication and duplication of code

... then this person obviously did not pay attention in class and should probably not have been hired.
The word for Tuesday is "Tyr's day" in Germanic languages, "Mars' day" in Romance languages, "second day" in Balto-Slavic languages, and "third day" in Greek, so it's not even the Catholic/Orthodox division, it's just... weird.
The problem is not for-profit healthcare, but how it is implemented in the US. Lots of countries have for-profit healthcare without the users of that healthcare every worrying about recovering financially.
How shall we know with a paywalled article? Provide the text or expect peripheral topic discussion
> Python to JavaScript

That's cool. I'm working on something very similar, with the goal of generating idiomatic Javascript, which seems to be a goal for your code as well.

I did make a few different choices.

- Instead of worrying about formatting and indent, I just output whatever I feel like, and run Prettier afterwards. That way I don't have to worry about whitespace, indents, or superfluous parenthesis.
- I integrated it with type analysis, so that operators like `+=` will produce different code for each type (ints vs lists, for example).
- I also include the comments from the python source in the target javascript

But these things aside, I can see a lot of similarities!
Did you upgrade via source or binary upgrade? IME binary upgrades have been incredibly smooth.

https://docs.freebsd.org/en/books/handbook/cutting-edge/
This perfect day?
Sure. Right now, we use AI/ML to gather+analyze numerical and statistical data on companies, from social media activity, to revenue numbers or employee numbers, and how they evolve over time.
But, the final destination would be AI/ML handling the "Strategy" section of our analysis, which has lot of value for our customers, things like how they operate? what is their growth strategies? how do they structure their company? and a lot more.
Decentralized NFT Marketplace on Flow (Testnet)
First virtual student 'enrolls' at Tsinghua University
Same problem in French.

"Ce vendredi" (this Friday) is unambiguous. For the other one we can use.

- "vendredi de la semaine prochaine" (Friday of next week)

- "vendredi prochain, pas celui la mais l'autre" (Next Friday, not this one, the other one)

- "vendredi en huit" (Friday in eight). "In eight" here means "from day 8", today is day 1, so "in eight" is next week.
Lepton - Firefox-UI-Fix is available here:

https://github.com/black7375/Firefox-UI-Fix
In these parts we threaten to withhold biscuits from meetings. Sometimes we really mean it. Escalating straight to firearms sounds a little bit excessive.
Does the Dutch approach work if it's, say, Saturday and you are talking about "next week Tuesday"? Is that the Tuesday in 10 days' time or the one in 3?
Thae's a nice ideal, but if you need to get something working, nothing beats searching for the error message.

The original package maintainers could write instructional materials that start from the errors, but I suspect that's too hard. Without specific training, it'll always be easier for third parties to provide ad hoc than first parties to produce as part of release.
As a motorcyclist you are 4% less likely to be involved in an accident as compared to an automobile, but 27 TIMES more likely to die.

A friend is a Navy pilot, and a crash investigator, trust you instruments all the time.
The tabs icon seems narrower, such that it is now impossible to read more than 4 letters of the title. I don't remember how many letters where visible before but it feels a little bit harder to find the correct tab again if I switch away.
Using dtrace on macOS with SIP enabled
We'd much rather live in a world where gender/sexual/health identities are as significant as being left/right handed. Can't jump to that stage without first going through what we are now, which is recognising those identities exist as part of who we are. Other commenters like myself have the pleasure of being able to talk about the ideal future scenario, you've got the problem of dealing with the present.

Right now having a group with commonality and a sense of belonging is very important and a huge improvement on where we were before leaving people isolated and alone. But don't lose sight of the end goal, which is for those problems that having a group identity protects against not existing at all. Those two things aren't in conflict, other comments here really are trying to be helpful, but in a theoretical physics sort of way that isn't going to help anyone directly in the next decade and ignores some practical hurdles we need to get over first.
Oh no, it's totally ambiguous, and I hate it. Does "the next stop" mean the one that we're just closing to? Or the one after that?

Even worse is people trying to communicate how many stops until destination - it's just inviting the listener to be off by one wrt. the speaker. Myself, I gave up on trying to say things like "we're getting off in 3 stops", because my brain just locks up trying to decide whether I should say "in 3 stops", or "in 2 stops", or "in 4 stops".
https://news.ycombinator.com/item?id=27415670

https://news.ycombinator.com/item?id=27414992

> FP means that every expression (= part that can be evaluated) is referential transparent

> Referential transparency implies immutability

Both of these statements are false. As I said, Java is referentially transparent.

addOne(2)’s value is the same as the value of the last line in `var a = 2; addOne(a)`. And Java is most definitely not a pure FP language, and its referential transparency doesn’t imply immutability. You can argue that inserting `int two() { sideEffect(); return 2; }` ‘s invocation in place of 2 will change the semantics of the program but that is precisely the meaning of a side-effecting function — so using referential transparency is redundant in that meaning.
Let me know how your gig economy retirement plan goes. May you never have an accident on job. May you never need healthcare. I don’t see much future in such gig economy jobs. Our grandparents often worked for the same company all their lives. Your gig economy is a one way trap with no exit or promotional path. You have the equivalent of a fancy summer college kid job, but it’s not a career path.