skysight-inc/HackerNews huggingface dataset:
So... this “dead end rural lifestyle” that feeds the world now will be populated by young men only running the machines abd tending the crops and animals by themselves.

Hmmmm...

Now let’s extrapolate that to every country. Because that’s what social media did.

That example was taken from outside the United States. It’s only worse inside North America now.
Massachusetts' new brewer-distributor law put to the test
Not all international disagreements are disagreements between sovereign nations themselves. It's possible that MAEU could sue JAXA or Hokkaido University in a Japanese court if they think they're violating Japanese law.

If that's not the case, or if the Diet passes a new law that protects their countrymen in this dispute, then yeah it becomes the type of conflict you describe.
Check out /r/wallstreetbetsogs. It's an attempt to bring back the old school WSB.
Faster context switches. Vastly larger recursion depth before stack overflow.
> I am not suggesting that hot topics are the goal of social justice.

"their strategy actually works." implies that their strategy accompishes their goals.

"Leftists, "wokeness", and social justice wouldn't be the hot topics they've been if the strategy of leftists weren't effective." impies that hot topics are what their strategy accompished.

The transitive property between "goals" == "what strategy accompished" == "hot topics" is at least pretty clearly implied there.
It's curious how people associated with the Rust project will vocally complain about unfair/shallow criticism then turn around and post something like this.
> I'm pretty sure the fact that it's impossible to turn a profit in any of the "family" small scale dairy farms is a little more important than how hard the work is.

Why exactly is that important? I could not turn a profit running a family plastic casting business in the U.S. either. It's just not something that can be done competitively on a small scale. Seems like milk production isn't either. That's sad for people who want to do that as a profession. It's also sad that writing doesn't pay enough to employ everyone who wants to be writers, painting everyone who would rather paint, etc. Why is that a policy problem (besides the need to ensure these people have a soft landing in a destination profession that is economically viable)?
https://pgexercises.com/

Blurb from their homepage:

Welcome to PostgreSQL Exercises! This site was born when I noticed that there's a load of material out there to help people learn about SQL, but not a great deal to make it easy to learn by doing. PGExercises provides a series of questions and explanations built on a single, simple dataset
Easier to reason about. easier to communicate. Threads are a low level primitive. the goroutines seemed to be designed with concurrency in mind.
Not sure as it doesn't exactly match your description, but it's close:

I Sell Onions on the Internet https://news.ycombinator.com/item?id=19728132
I feel shame - I confused Ken Dryden with Jacques Plante. In my defense, I'm a Bruins fan and we're not big on having well-informed opinions. ;)
This is not a problem for "row stores" though, it's specific to SQLite.

As a matter of fact, any classical RDBMS can effectively store columns off-page and and most of them do just that in the case of large TEXT/JSON/BLOB columns.

Column stores like Redshift, Snowflake, etc. are optimized for a much narrower set of use cases. The more widely used databases could do the same optimizations internally but that would make them much less useful.
A sufficiently complex algo black box could fool the people.
Not sure if you were referencing gumstix there, but I remember fantasizing about getting one of the tiny SBCs over a decade ago but they were too expensive.

https://en.wikipedia.org/wiki/Gumstix#/media/File:Gumstix_oc...

A decade later we have ESP32 and RPi Zero. And it looks like gumstix have read the writing on the wall and now make RPi accessories.

https://www.gumstix.com/
I liked the touchbar, and I worked to make it the best it could be. I used BetterTouchTool and spent tons of time hacking my preferred widgets in – Spotify, weather, calendar, etc.

And then I bought a 2021 MacBook Air, without a touchbar, and I found it so much more pleasant. I find the touchbar to be a failed experiment. I no longer want one ever again. I just want buttons for my brightness and music.
I'd say that they are easier to write code and to reason about when compared with, say, POSIX threads.
> but knew how to use gmail and google sheets at a pretty sophisticated level.

Thanks, that's what I meant. I think someone who's is tech savvy but not a professional developer would do fine with Zapier, but my guess is that completely non-technical people (who only understand browsers, email, word processors, etc) would struggle.
Aptitude's “new packages” feature works fine.
I have to disable most of the Touch Bar (set it not to change with context, and replace most of it with a blank "spacer") to make it usable. I tend to just barely brush it when striking number keys during normal typing (which happens a lot for parens and such when programming—and just now, in fact) which makes it do crazy stuff like open iTunes (because I "pressed" the media play button). Real buttons don't do that because you have to push down on them to activate them, not ever-so-slightly brush the bottom edge, which is why I'd never noticed, in my 25ish years of touch-typing, that I did that, until I used a TouchBar MacBook.

I also have to disable force-touch (or whatever it's called on there) on the trackpad, for models that have that, or else my drag-&-drop success rate is reduced from about 100% to more like 30%. Took me quite a while to figure out why that was happening. Luckily I have no clue why I'd want that feature in the first place, so I don't miss it. I don't have any kind of motor-function disorder, I just can't drag-&-drop while maintaining perfectly even pressure, I guess.
I love SQLite. Some of the best, most reliable code out there made by a small handful of people who really care about excellence. I’m curious if anyone here as experience with DQlite (https://dqlite.io/ ) from Canonical. It’s basically a distributed version of SQLite that combines it with the RAFT consensus protocol. It’s sounds like a great idea and I’m considering it for a project I’m working on now, but I’d love to hear what people think of it in practice.
The erosion of the first-sale doctrine has been one of the worst side-effects of digital distribution. It's scary how many more rights a customer buying a product had 30 years ago.
I use Dokku, but it also has a Postgres plugin which is basically just a few commands. That also gives you the niceties of dokku pg:backup etc. If you’re on Dokku anyway then that’s what I would recommend.

For me, SQLite remains the perfect file format for command line tools.
Arch also doesn't make for a particularly good server OS.
Keeping FOSS from building a serious competitor.
Isn't that what's happening on Twitter, FB and Reddit?

I don't think it's working...
The care provided by the NHS is very poor while paying its employees very little and forcing to work with garbage equipment.

Doctors and administrators are very well paid. Even nurses are when you factor in the pension. The only genuinely underpaid staff in the NHS are its cleaners who are the REAL frontline against infectious diseases. Didn’t see them doing many Tiktok dances however, too busy with real work.
I'm getting a strong early 00s vibe - the time when P2P was getting traction and people were trying to use it this way and that way. Good ideas, interesting tech, but ultimately just a collection of solutions, frameworks and platforms in search of a problem.

When the excitement subsided, it turned out that nobody really cared about things to be p2p per se. Nobody cared how it was done, only that it did what they needed. In some cases p2p was the answer, i.e. BitTorrent and the original Skype, in very many others it wasn't and a centralized solution was simpler, cheaper, more reliable or more user-friendly.

Diode Drive appears to be in the same spirit. As a technical person I appreciate the solution, but it doesn't appear to be solving any tangible problem in some dramatically better way that also maps onto a better user experience. This is based on the 8 minute "How Diode Drive works" video behind two "Learn More" links.

If I got it right, then the idea is that N people can come together as a "trusted group" and use each other as nodes in a storage cluster. They can also share out files from the storage with outsiders and these files will be delivered from one of the nodes in the group.

If that's correct, then I'd argue that this is in fact a solution in search of a problem, competing directly with a good old dedicated storage box, e.g. an on-premises NAS that is accessible from the Internet in some way. I can see Diode Drive being used as a stop-gap solution while a proper one is put in place, but that's about it.

But I may be missing something. I hope do. But on the surface this is eerie similar to the projects of the p2p glory days from 20 years ago.
All the ones that start/end with a constant can be filled in immediately. This forces some others that can only be certain strings, ex. (RR|HHHH)*.?
I personally think that the 2015 MBP was the last best value MacBook that would of been the one to last you plenty of years and looks like it has for you. The MacBooks since then have not had much of an noticeable improvement (other than new M1's) and even regressions with the keyboard issues, heat issues etc.

I'm hoping this years gen will be like that 2015 model. But I share your concerns, knowing Apple they will gimp it somewhere like not allowing 2 monitors or limiting to 16GB then have next years model have it which will prob increase sales by a ton long term.
Apparently they don't even know that Nim compiles to C just to get a headline. Which is not the most esoteric language out there to disassemble.
The CTO is still susceptible to mistakes, when that happens they must also be challenged.

Of course, you can't just simply reject a PR from the CTO. Getting them to change their ways often require delicate skills in key stakeholder management and re-aligning them with core company vision.
How do you figure? Press and slide to your desired volume in one motion. The new volume control is one of the reasons I now prefer the Touch Bar (in addition to scrubbing through media). I used to have to tap the volume button multiple times to get to my desired volume level but now I just tap/swipe and I'm done.

Edit: Looks like everyone else already said the same thing. Sorry!
We produce a web-audio app (does recording). Apple has made it almost impossible for this to work as a web app on the iPhone (no officially blessed way to record in the browser). So we support computer browsers and Android with browser. Likely could be done as a hybrid app.
As for not planning to run untrusted code in any of those pieces: It's bad if compromise through bugs of any component, however tiny, potentially leads to the ability to siphon off secrets from your server globally.
Which is worse. This guy is going work for a known shady organisation to help them manage regulations and set them up so that their shady dealings end up within the law, or they get a minor slap on the wrist, and they're allowed to continue doing business.
I don’t use SQLite as my main data store for any project that runs on a server because a dedicated DB server has advantages. But that doesn’t mean that I don’t use it for production use. Here is an example from a few years ago:

I needed to pull in a large dataset from CSV (several dozen gigabytes), do a bunch of transforms on it, extract a small subset of data that I actually was interested in, and load that subset into the main DB. I needed to do this in a way where it wouldn’t bog down the main DB server (which stored less data than what was in the CSVs), and also in a way where I could potentially load diffs of the CSV files as updates. So the solution was that a dedicated job would run on a server where the SQLite database was used to load the CSVs and to manipulate the data with SQL because that was way more convenient than doing it with ad hoc objects in Python. Once done, extract rows from SQLite and load into Postgres. The local DB would stick around to use the diffs for incremental updates, but if it was lost it was easy to recreate it from the last full dataset. Not highly available but highly understandably, cheap, fast, and dead simple.
Maybe this git-config setting will do what you need?

receive.denyNonFastForwards

"If set to true, git-receive-pack will deny a ref update which is not a fast-forward. Use this to prevent such an update via a push, even if that push is forced. This configuration variable is set when initializing a shared repository."
Erm, where are you getting this information? Most countries, if they've expressed a view on the issue, support Guaido, including essentially the entire EU:

https://en.wikipedia.org/wiki/Juan_Guaid%C3%B3#/media/File:V...
Right, but why would the league institute this change? Because kids want to play in the NHL. Yes, kids aren’t going to care if the goalie pads are slightly different, but it’s the same enthusiasm for the NHL that puts pressure on the leagues to conform to the NHL. Have you ever seen a league play in a non NHL sized arena in North America? Sure is funny that huge infrastructure changes happened even though smaller cheaper rinks were viable for a long time.

Where I’m from in northern Ontario, a hockey centric place in the world, more kids played in recreational leagues than at the local barn rinks. Sure, playing shinny is really fun, but at the end of the day, kids want to play hockey as seen on TV. Whenever I went to the barn rink with my goalie equipment, people loved it because it was one of the few times they actually could shoot on a goalie. Playing posts or with a fake goalie is just as challenging (given I wasn’t very good) but it’s not the same as the real thing.
8 spaces also matches. I don't know what you mean by a full match. Do you mean that you are using a different RegEx than the one displayed?
I've had unintentional usage for few hundreds dollars. After explaining the situation and setting API limits the bill was cancelled. Your situation seems a bit different. But maybe explaining the situation and asking for help first is the best option.
"anything good is controversial, by definition."

No, it isn't.
I'd bet that Apple is killing the touch bar in the next hardware design revision. [0]

They kept the same body while changing out the chip, I suspect the next update will bring the end of the Touchbar.

The M1 is awesome though - it makes the Intel MBA seem like garbage. I was helping my SO set up some stuff for a presentation (Zoom, Mmhmm) and the Intel MBA fan was screaming, the video had unusable lag, the entire thing was locking up.

We switched to my M1 with no fan and everything was fast and flawless.

Meanwhile Intel is pushing nonsense like this: https://hardware.slashdot.org/story/21/02/08/2221233/intel-b...

Intel is in trouble - this is an e-risk for their business.

[0]: https://www.macrumors.com/2021/01/15/apple-removing-touch-ba...
Waterloo is a well-regarded engineering powerhouse & has been well represented in YC going back to my batch (s12 - BufferBox) if not earlier.
Assuming you're referring to [1] or [2] or [3], it doesn't look like a debunking to me so much as healthy scientific debate, specifically between the Seshat and DRH projects who are both competing for limited resources-The John Templeton Foundation funds both for example.

In such a case the criticism of not being a professional historian seem odd, as the credentials of Edward Slingerland and Bret Beheim, the lead authors of the critical papers, seem to be fairly comparable to Turchin's.

[1]https://psyarxiv.com/jwa2n/

[2]https://eslingerland.sites.olt.ubc.ca/files/2019/09/Historia...

[3]http://peterturchin.com/cliodynamica/what-came-first-big-god...
> If one side truly is righteous, it will prevail through open discussion and logic.

Unfortunately that is not always how it works out.

In Germany in the 1930s the idea that Jews/non-Arians have conspired against Germany and should be retaliated against was discussed openly - and accepted. Obviously it was not righteous.

In several US states in the 1980s the idea that homo sapiens was created by God and creationism should replace evolution in school textbooks was discussed openly - and accepted. Was it righteous?

These are two very different examples, but both ask the same question: What do we do in the case where truly righteous ideas do not prevail?
Yes, /r/wallstreetbetsogs.
That doesn't change the concept or it's long history of use on Windows.
But it's a satisfiability problem. Seems NP-complete in the general case to me.
this doesn't work on my pinephone although my hands are pretty sweaty now.
What solutions were you trying?

As far as I can tell, the puzzle is fully constrained.

From the start, the bottom-left cell as well as the right column can be solved just from the starting hints, and then you can derive the top-left cell per the backreference.

In particular, you can reframe the right column's hint as (AB|OO|OR), and only one of those satisfies the bottom row's hint.
Klunder College 003: Writing Bulletproof Code
Android and Youtube are garbage.
Recently, I applied for a position at a well-known tech company, one where the requirements and my experience were a very good fit (imo). For the first time in my career, I soon received a rejection email without any interaction with a human.

The application form included a not-required field for "pronouns", which I left blank. Perhaps this was the test I failed.
For the curious reader: this can be solved by simply passing i as a parameter.

for i := 0; i < 10; i++ {
go func(i int) {
f(i)
}(i)
}
This is a very common newbie mistake. Fix by passing in i.

for i := 0; i < 10; i++ {
go func(i int) {
f(i) // sees whatever value i has when f() is called, usually 10
}(i)
}
One way to rebel without rebelling is to pursue the exact same ideals as those pushed by your culture, except better.

(Greg Egan proposed this technique in his novel, Quarantine)

Snarking off about the ubiquitous hypocrisy would be one level of that, of course. (Seen in much popular comedy.) But there are higher.
Maybe not, but he also didn't envision copyrights being enforced on 90+ year old "property". The original term was 21 years[1].

[1] https://press-pubs.uchicago.edu/founders/documents/a1_8_8s5....
My bet is they -did- have a backup, but the backup got encrypted as part of the attack ...

(I don't know what is worse ...)
I did complete and enjoy it, but I'm both very competent with regex like you, but also big into sudoku variants (as in the youtube channel cracking the cryptic! [1]) so this felt like it was designed for me to enjoy. Considering it took me about half an hour, I'd expect someone who isn't into these kinds of odd puzzles already to basically have exactly your reaction.

[1] https://www.youtube.com/c/CrackingTheCryptic
And how great is SQLite for transactional workloads? Every transaction locks up the entire db. There is no page or even table level locking. DuckDB can't be worse than that.
What does "full match" mean? Either it matches or it doesn't.
Yes I'm doing very few update or insert, but I run a lot of queries, so I guess it should be more than okay for DuckDB.
Now I am become Death.js, the destroyer of worlds
Correct - We open our databases in serialized mode and access a single connection from multiple threads.

We actually are not concerned with handling detailed error information. Our usage of these databases is very well bounded. All of the SQL that will ever execute against them is contained in 1 series of constant declarations, and the mappers ensure request data is well-formed before attempting inserts & updates. SQLite is really just there to provide identity and persistence for our business objects.

We are still able to use these fields effectively in local development and unit testing, since in these contexts there is only ever 1 thread hitting the database at a time.
SQLite has ISO-8601 compatible date functions, isn't that enough?

sqlite> select datetime('now', '-90 days');
2020-12-12 21:44:22

https://sqlite.org/lang_datefunc.html
Do you like suburban sprawl & all of the negatives that brings? Because that's how you get it.
> "why on earth would someone actually like the touchbar...ever?"

Because it's programmable. I'm a programmer. I like things to be programmable.

I've got no hope of remembering what a key like F6 means in a given context - it's a meaningless number. The Touch Bar lets me have context-sensitive keys I can actually understand and use.
This is a follow-up on https://news.ycombinator.com/item?id=26374268

Zig looks beautiful and this post showcases it. Any idea why the resulting assembly leaves so much to be desired? Is this the immaturity of Zig, in particular the interface to LLVM?
>would any company release a product soooo good so that their users don't need to buy new models of such product for many years?

Every person that I know with a Mac or an iPhone still has it and it's usable for years after they're done with it. I know some people that are still using their iPhone 6S because it has a headphone jack and that phone is almost 7 years old at this point.
What matters in a collision isn't velocity, it's momentum. Momentum is ½mv². There's a lot of orders of magnitude just in the mass, but the velocities add up a lot faster than you'd think too. I'd say there's around 10 orders of magnitude between the momentum of a rifle bullet and the momentum of a communications satellite at escape velocity.
Analogy that Americans won’t understand, “You can’t stop firearms deaths by banning guns.”
I am a vim user for many years who loves the Touch Bar now that I have my escape key back.

I like adjusting brightness and volume with a slider. You can tap and hold the brightness or volume icon on the touch bar and slide it to where you want. Repeatedly tapping physical buttons feels vulgar by comparison.

I like seeing the progress and having transport controls of my full screen videos.

I like having the little animation draw my attention when I can use touchid for something.

In general it feels futuristic, fun, and like a way better use of the space than physical keys that I would almost never use.

If you’re someone who uses the function keys (JetBrains users maybe?) I can see feeling the same way I did about esc.

To me, using function keys is un-apple-ish.

I have command, control, and option keys that allow me to be quite expressive without moving my hands away from the home area of the board.

Perhaps those with larger hands can reach the function keys without disrupting their positioning. For me it is not possible.

At that point I may as well reach for a mouse or a touchpad.
> I'm sure there's a fix

Make that API call pop up a dialog or something to ask the user for consent.
Wordpress is a big success, even today, after more than 15 years in the market. I can only hope to get close to that, I'm by no means disrespecting that, nor the WP community. I started with WP myself. But if you ask me if I'm working on building a product that's better than Wordpress, I definitely am, will I succeed, that's for the market to decide.
I'm curious about this as someone who keeps eyeing the Pi's for a solution to a few problems customers have brought up. It looks like there is a pretty big cost jump to get something equivalent, but I may just not know where to look.