skysight-inc/HackerNews huggingface dataset:
Whoops! I accidentally linked to the wrong page. I'd be fine with a moderator updating it to point to the home page.
The cycle usually goes:

1) Recognition
2) Identified as threat
3) Political subterfuge

So I prefer to avoid #1 if possible, especially when remote working with in-house coworkers. You often don’t even get to /see/ #3 happening until it’s too late.
The only things I’ve objected to today are circular definitions.
I'd love there to be an AppImage, Flatpak and / or an AUR version for Arch users...
For HTML and XML in S-expressions, people might want to consider standardizing on Oleg Kiselyov's SXML representation, as a lot of others have.

https://okmij.org/ftp/Scheme/xml.html#SXML-spec

SXML is a little harder to process in libraries, compared to some representations we initially try, but SXML turns out to be easier to use in practice, at least by users of the library. For example, splices can be much more efficient, and easier to do without making a programming error that's not detected statically.

You can also mimic it in syntax, like:

https://docs.racket-lang.org/html-template/
> basing the guess mostly on the turns in the swipe

Btw, a consequence of Swype&company's algorithm is the bit of entertainment that you can get by dragging the thumb whatever which way over the keyboard: they still pop up some word guesses. ASK kinda tries to assemble a word from the letters you hit on the way instead (there's an explanation in the Github issues), so in the end it comes up with nothing.

A more useful aspect of the behaviour is that with a turn-respecting algo, it's easy to correct its mistakes by making a small peak in the swipe trajectory on the wanted letter.
Just wasted 5 minutes reading that page. I didn't see a single worthwhile argument.
Hard disagree. Singleton is a tool, and like any tool it has trade-offs. Singletons help you target a very specific, useful time in your application: after it's compiled, but before it's serving requests. You can call this the "initialization time". Within this time, singletons help you organize the one-off components of your application - canonincally, things like connection/thread pools.

But hey, thanks for the hot take.
Part of the reason this is so prickly is that a huge part of what actually happens in the classroom is ancillary to instruction. And always has been. And is for the good of children.

We expect teachers to be robots when we want to chastise them, but we expect teachers to be surrogate parents when they're helping turn students into productive members of society.
TeuxDeux: A beautifully simple way to keep track of the little things
At least in Sweden I’m seeing more and more appartment building with a big honking air-to-water units outside of them.
Jokes on the internet are great when people are in on them. Positioning yourself as someone that has inside information when it's false falls closer to "it was just a prank bro". The author should be able to say whatever they want, though the ability doesn't make the action not shitty.
But in actual intellectual discourse, if someone presents a point of view which is founded on a discredited idea, then we just ignore them. We do not show up at their talks and try to prevent them from communicating with others.

Firstly because life's too short for that, and secondly because who knows, one day they might turn out to have been right or mostly right.
So satire cannot exist? Because anyone who might accidentally mistake it for truth can be "harmed"

Journalists have a big megaphone. Their job is to amplify truth. If I'm making jokes and being clear about my intentions, but a lazy journalist sees my content as easy clickbait, that's my fault?

What I was tweeting was never "news" let alone "fake news". It was never wrapped deceptively as truth. It wasn't a prank. Someone else took my words, which were obviously and provably not truth, and held them up under their reputation as an authority of truth. Why should I be responsible for the alleged harm that they caused?
It's only difficult to reuse logic from a batch compiler in a responsive compiler. It's trivial to derive a batch compiler from a responsive one.

You do not actually want to stop at the first error in either case. You want to accumulate all the errors at a given phase of the compilation and halt. Sometimes that allows other phases to progress (for example, you do not want an error in one compilation unit to halt the compilation of any other units until linking in an incremental compiler).

You do actually want to reuse IRs in the IDE, otherwise it can be extremely difficult to get certain things correct (and some are next to impossible, like macro expansion/syntax extensions, decompilation of libraries, etc).

Unification of the reference compiler and IDE backend are extremely desirable, in my opinion. Very few languages take that tact (C#/.NET being a major exception) but not because it's a bad design - it's because it's hard. Writing a lexer and parser is easy if you don't care about edits and and updates. And there are very few parser generators that do make that possible (tree sitter being the major exception). And once you have a working lexer/parser it is difficult to replace it in your compiler, so few language devs ever take that approach.

It's essentially a massive engineering effort in something that is rather boring for low payoff in the early life of a language implementation, the RoI is only obvious much later when usage scales up. So it's unsurprising many languages do not do it early on, and like objects, most languages die young.
Thank you so much for your comment! (I indeed am continually impressed by HackerNews's capabilities in this regard.)

> If I remember right the core would take the exact touch points less seriously on a small screen but on a big screen usage might go back and forth between very accurate and sloppy.

Do you mean that the points taken would fluctuate between more and less accurately/precise only the screens, or was the point selection consistent but the results poor?

Re: your guess about principled approach, that's kinda funny and ironic how a poorly-written bunch of code can be better than something very precise.

> The other thing is that there was a race to the bottom on price

Slightly ignorant as a customer but iirc while Swype had a paid option it also had a free option like the competition then (and now). Would this imply that Keyboard companies need external funding/or be bought over by MS etc?
I already achieve that by creating my own private spaces, where I distribute the rooms I am in as I see fit. Plus, I join the spaces of whatever topic I want to, too.
I agree, certainly not all academics live up to that virtue; but it is still a virtue of academia.
If it was a post in the subreddit that would make sense. But it was a comment, not a post, and thus not labeled as humor.
> Everyone in UK is an organ donor by default

Are you able to opt out?
I have logged more pages turned and books completed on a stationary recumbent bike at my local YMCA than anywhere else in the world. Some earbuds to drown out the radio (and others' grunting), an ereader with far more content then it should ever carry... I was set.

I've tried to replicate it at home to no avail, however that sort of bike (with a desk add-on) makes for a decent place to do my usual computer work.
You still haven’t said what gender is, in the sense of an inherent, permanent property that allows one to coherently say “I was born in the wrong body.” We all know what gender roles are.
Adhd here, no meds.

I’d argue this is 2 problems.

1. You reaching for social media is not from ADHD but from habitually doing it. Sure your adhd might be why you’re prone to them but still a habit. You do it when you’re not mentally stimulated. I have deleted the Reddit app (well Apollo) from my phone a dozen times. I’ll go to open the app and it’s obviously not there. That’s the habit.

Do whatever you can to break this habit. For me, its deleting the app when I feel I’m spending too much time on it. Go a week or two without it and then I “reset” that habit and time I spend on it.

2. The second problem is not being able to focus on a book. Good luck. I read A LOT but mostly tech articles. I read 1-4 books a year typically poolside on vacation. The times I’m at home reading a book, I typically will read for 6 hours straight. I’ll chew through it in a day or two. Then I can’t read another book, no matter how hard I try, for months. Unfortunately for us, you just have to follow the dopamine.
It is really hard to see how this is intended to work from the README. Where is a good example of the programming model? This one? https://github.com/freenet/locutus/blob/main/contracts/test_...

Since this is written in rust: is there also a version of freenet in rust in the works?
Answering your question, on the point you were asking about.
From the article :

"To perform this analysis, two of my students, Tao Wei and Kanwal Ahmad, constructed a program that went through all 2,315 official five-letter words in Wordle’s dictionary. The program attempted each possible word as a first guess and ran simulations across all possible end word solutions, checking how long each attempt would take to guess the correct end word – 1,692,265 total simulations."
My fault. I meant to link to the home page, but linked to the "economics" subsection instead.

Here's the home: https://thorconpower.com/
Someone ask Raymond Chen.
> "science is just another religion",

This does not broaden the concept of religion, but narrows the idea of science as something sacrosanct (ironically).

There is a belief that the scientific methodology will lead to truth. This is the same as any other religion who is steeped in ceremonial practices. The issue of how practically applicable and successful at producing models, science has been, is incidental. As a religion, the concepts fit together nicely.
Right but this is called 'programmer humor'. Plus it's obviously not serious if you think about it for more than 60 seconds.
DIY Espresso (2020)
Let’s put it to a quick vote:

All those that don’t want to get a speeding ticket raise your right foot.

Simple as that really.
Report them as spam so their email provider loses reputation and they get warned to stop these practices.
> Except pineapple pizza people. They deserve everything they got coming to them.

As someone who likes pineapple and jalapeno pizza, I find this remark very offensive.
Domains often organically have an entity that is well mapped to a singleton. Don't fight the domain if this is the case, you're fighting against reality. But don't reach for a singleton if this isn't the case. Especially bad are singletons that are mutable, for these are just thinly masked globals.
No, it really was locals buying a house. Of course there are now more locals than before, and I think our lifestyle has us less willing to share houses, and construction and relaxed zoning lagged, but it's still locals pushing up prices. If we weren't so obsessed with having our own little castle, we would buy apartments or rent instead. Everyone does still live somewhere, it's just often not as luxury as they desire so they want to pay more for more luxury.

No cheap houses to push prices down? That doesn't make sense. Prices are falling now, so houses are getting cheaper.
A singleton restriction is a guide to other programmers in the team as to how to use your class. i.e., "don't create multiple instances of my Cache class, use this one instance, otherwise you defeat its purpose". It is a good idea.
It’s paradoxical how companies aren’t self motivated. Look at fossil fuel car companies.

But yeah, Apple would have automated things. Except the part where they pass the savings on to end customers.

Furthermore in Apple’s case, they want China to be rich, too, because that’s a big market.
In defense of the gullible, I have a hard time telling the difference between reality and a prank these days too.
Society's risk tolerance varies with domain. Electrical power systems are well understood and thus we expect them to be as safe as practical.

Contrast that to the reaction to Tesla's autopilot that will happily drive you into an embankment at fatal speeds.
Nice - I did something similar with The Daily Mini-Journal (focusing on the daily tasks): https://www.thedailyminijournal.xyz/
Its incredibly hard to build a nuclear reactor and its even more hard to get anybody to allow you to build one. And arguably even harder for somebody to give you the money to do either.

Its not a breeder, they are going for the simplest possible design as far as I remember and that means its gone a burner.
to a GeForce GTX 1070 in fact, 2 generations behind the current RTX 3070. All 3 generations are compared in this video https://www.youtube.com/watch?v=t3Iq6pFUdvE
This is a common claim that seems to be based more on vibes than on evidence.
I had always heard this and only more recently learned that many civilizations for purposes of both sanitation (or more accurately, infestation) and materials science built out of material not far removed from mud bricks and when the house got bad you knocked it down, pulverized the bricks, spread it out on your property and possibly into the street (unless it was cobbled) and built on top. Over time doorsteps and streets went up and up. On the plus side, drainage improves over time, because the town keeps moving above flood stage. But hauling things into town gets a little harder every year too.
Today I’ve learned! I knew about the export function but not that you could export the entire workspace. I’ll take a look into that. I’m currently 50/50 between Notion and Obsidian, however a blog post regarding obsidian plugins makes me think twice…
Let's not forget the context.

The "Peace Prize" President who used drone strikes like Kleenex. Who also, in his 2016 State of the Union address, bragged about the USA's "defense" budget.

The "green" President who allowed fracking to hockey stick in order to help prop up any otherwise ailing economy. Read: Wall Street first, Mother Nature...a PR op to be manipulated.

The "Obama Care" President that hasn't delivered on affordable and/or actual tangible improvements in citzen health. Not to worry, healthcare profits are better than ever.

The sad irony is, the once outstanding The Atlantic has often reported on these truths.

Perhaps not disinformation but Obama and associated media flunkies are well versed in the magic of misdirection; that right or wrong a well established narrative is more important than facts.

This type of "journalism" should make all of us uncomfortable.

Yeah, probably not a popular thing to say on HN, but these aren't option, they're facts. Unfortunately, also counter to the fluffy pro-hugs narrative, however false it might be.
Most Chinese still have full confidence in their government and society. It will take a lot more than a couple of days of starvation to get people to upend their lives and flee.
A tweet isn't any more evidence than a person you don't know and have never met spraypainting the same thing on a wall.

The problem is how news outlets that care so little about the quality of the information they present continue to exist.
I don't really want to debate you in analogy space, but what I said was equivalent to "the bully already gave you your lunch money back, but you're not happy with that anymore and stand there continuing to taunt him and asking for more money (or to acknowledge his priviledge or something)."

My comment was giving my perception, anyway, I'm not trying to persuade.
China being better than the rest of the world at IPv6
I don't. I haven't finished a book in years. I keep buying them, though. Such is life.
Oh, I see! Thanks. Autocomplete is my perpetual enemy. I wish I could go back to the keyboard from the first iPhone version, it was so so so much better.

The absolute worst part of recent macOS is when it inserts completely embarrassing errors into presentation after a word has been completely typed. At least a typo can be deciphered, putting in the wrong word causes sentences that look like the mistake was intentionally included. Hate hate hate it.
Since this post seems to actually be about python, the actual way to implement a singleton is to just use a module. Modules are naturally singletons in python and are objects like everything else.
it's impossible for github to block this.

you just need to do a git clone and you get all the email addresses in the commit history of a repository.

unless you're talking about your publicly displayed email address (visible to logged-in users), which I believe is not shown by default and can be disabled easily.
Is there also a power struggle between Shanghai and other political factions, with the civilian population caught in the middle?

Oct 2021, https://www.asiasentinel.com/p/shanghai-gang-seeks-xi-jinpin...

> those who understand the factionalism in China will appreciate the depth of the spillover to Hong Kong and therefore the rooting out that’s been taking place as a consequence ... power struggle with a rival political faction backed by former Chinese President Jiang Zemin.

Oct 2021, https://jamestown.org/program/factional-strife-intensifies-a...

> power struggle between Xi and former PBSC member and Vice President Zeng Qinghong. Zeng, a princeling and close aide of former president Jiang Zemin, is also a major leader of the so-called Shanghai Faction. Zeng is believed to be the “protection umbrella” behind several multi-billion enterprises.

Feb 2021, https://www.orfonline.org/wp-content/uploads/2021/02/ORF_Occ...

> This paper ... argues that any attempt to comprehend elite politics in China requires an understanding of the factional dynamics within the party. The paper outlines the evolution of factional politics in China, and shows how two factions – the Shanghai Gang and the Chinese Communist Youth League (CCYL) – have dominated the country’s politics over the past three decades.
What else would you even use it for?
You fclose the handle when you're done, or you create some kind of synchronized semaphore, if you wanna be extra.

The issue is really around having multiple handles for writing (not just reading or appending), and the number of times you actually have this problem here is vanishingly rare.
Burning oil wells lack the ability to inject dust and soot directly into the stratosphere, as opposed to a big mushroom cloud.
They already do in many places. Toll roads exist, and the gas tax pays for almost all of the highways anyways. Transit is subsidized an order of magnitude more. A world with no subsidies looks more like suburban sprawl than a dense transit focused city.
Yes, it is extremely extremist to call for canceling all works of fiction.
Pro-Entropic Investing
> I'd argue that what you describe is seniority, which should be reflected in job title changes - with related salary increases. If your title does not change, you're effectively expected to carry out the same job as last year, so it makes sense to keep your salary static after inflation.

this is what they say, but companies don't actually operate this way in my experience. companies tend to expect more of you after you've been there a while, whether or not they formalize this with a promotion. the title denotes a fairly wide compensation band with a lot of variation.
I agree. But it’s more than being slightly averse..it makes the mice suicidal. The first time I heard about suicidal rodents and how cats hunt them with their Trojan parasitic poo was on the discover channel..they had set to a night vision camera and recorded the whole thing. I don’t even know if the channel or magazine exists anymore..

I have also seen this in snakes that ‘mesmerize’ mice ..predators know how to paralyze their prey.

But this turned up as more recent and is closer to the Trojan suicide prodding parasite.. https://api.nationalgeographic.com/distribution/public/amp/s...

I have read the full piece but now it’s not accessible without subscription..

[..] A mouse sniffs the air, catches the whiff of cat urine, and runs towards the source of the smell… and straight into the jaws of a cat. This bizarre suicidal streak is the work of a single-celled parasite called Toxoplasma gondii, which has commandeered the mouse’s brain and turned it into a Trojan rodent—a vehicle for sneaking T.gondii into a cat.[..]

[..] T.gondii (or Toxo for short) infects a wide variety of mammals, but it only completes its life cycle in the guts of a cat. To get there, Toxo has ways of subverting the behaviour of dead-end hosts like mice. Its machinations are subtle, so subtle that it’s normally hard to tell an infected mouse from an uninfected one. But the difference becomes obvious when there’s cat pee in the air. Normal mice, even lab-born ones that have never met a cat, have an innate fear of cat smells. Those infected with Toxo do not. They (and their parasites) are more likely to end up in a cat.
Toxo also influences the brain of Wendy Ingram from the University of California at Berkeley. She has long been obsessed with the brain and fascinated by Toxo’s dominion over it. “I was struck by the idea that a single celled parasite ‘knows’ more about our brains than we do,” she says. [..]
> But in actual intellectual discourse, if someone presents a point of view which is founded on a discredited idea, then we just ignore them. We do not show up at their talks and try to prevent them from communicating with others.

I (for the most part) agree; like I said, I am not generally a fan of contemporary cancel culture.

Are you Muslim btw, or is your username a coincidence?
I’ve seen singleton mis-implemented as well. For example, multithreaded implementations that can actually can make multiple instances depending on timing due to the constructor/initialization not being thread-safe.
> Look at the number of Chinese exchange students returning home vs staying abroad.

That tells you basically nothing.

Some wealthy Chinese have a designated family member move to hedge their wealth preservation bets while galavanting around in a western country. I don't think trends in that metric reveal anything except how many are willing to play that game.
To be honest I don't think any. My creative focus music seems especially periled. Music already has mathematical foundations so its especially ripe. I say this as a longtime musician and hobbyist producer. Can't imagine the field in 10 years
We're definitely still working on how we explain it.

That is an example of the contract API - you can find a better explanation of it here: https://github.com/freenet/locutus/issues/9

We're not re-implementing Freenet in Rust, this is a separate project with related but different goals - however it does borrow a number of ideas from Freenet (like using a small-world network as a DHT).
What I try to do is upvote whatever I’m replying to so that it at least can sort of act like a notification through karma.
https://www.roamingdesk.com/job/entry-level-tech-sales-j1256...
Seems like for me they have moved on from emails to phone calls. I get 2-3 daily calls from people who claim they're calling me because I didn't reply to their email pitch.