skysight-inc/HackerNews huggingface dataset:
Thank you for sharing this. I’ve been trying to find a simple task queue and Huey is ok, but since I’m on Postgres and the tasks I’m queuing are like once an hour, anything redid based has always felt like overkill.
Badness must be enumerated.
Systemd, Wayland, DBus, and other modern Linux "solutions" are all problematic for the same reason: they are complex monoliths that are extremely difficult to replace, in part or in whole. Systems often won't work without them, because the entire ecosystem has grown dependent on them. You literally can't run a modern desktop without a bunch of "shims" whose sole purpose is to fake being systemd.

The best designs, sadly, don't win out. The ones that win out are the ones that serve the interests of the largest players. And the largest players are usually RedHat, Google, and other vendors, who just want to get "their" needs met and move on. They couldn't give a fig about compatibility with some other random tiny project, or an embedded device. And those people working on tiny projects aren't in the room when "standards" are decided for the entire community.

There are some hold-outs. Slackware went a long time without it, but next release will unfortunately use systemd. I've run Alpine Linux (systemd-free, so far) as my laptop OS for years. I'll probably switch to another distro that's more user friendly, is easier to contribute to. But it's embarrassing and annoying that we have to pretend to be systemd-compatible just to run a desktop. We should call it "GNU/Systemd/Linux" since it's now one big monolith.
and so what? ... do you have proof he is manipulating X somehow?
I think this is clever and unique. Maybe it’s not the most maintainable thing, but can’t we all have a little fun every now and then?
In practice I want the error propagated to the caller 95% of the time and swallowed 5% of the time. The problem is Go makes me explicitly spell out (and write a unit test case for!) the behavior I almost always want, while the rarely-desired behavior is default.
Caltech's Honor Code is simply:

"No member of the Caltech community shall take unfair advantage of any other member of the Caltech community."

- https://deans.caltech.edu/HonorCode
You can vote by mail in all 50 states, and both red and swing states have no-excuse absentee. Your point doesn't stand up to the reality of these systems.
It may be that someone aggressive who wanted to be powerful found a means of gaining influence through latching onto and pushing a pointless but sellable social change. It's a kind of slow-moving elite on elite violence.
Not an uphill battle at all; Void Linux does this by default and has for many years.
I heard a tale of a candidate white boarding in an obscure language (in a bit of an attempt to hide a deficiency), unfortunately for the candidate the interviewer happened to be well versed in the language and saw right through the charade.
Isn't that going a little far in applying your subjective preferences to universal fact? Lots of people love cruise ships - they seem to be a pretty good business, in fact.
The proper thing to do in this situation is this: treat it as a bug report which was accompanied by a patch that was not used. Credit the bug finder, and acknowledge that the fix is very closely based on their proposed solution.
I remember when that went into Python. It seemed too cute. There was a lot of that around the Python 3.4, 3.5 era.

The case where all items are the same type is reasonable, but if implicit type conversions are invoked, it gets really complicated. Whatever the types are, Python will probably do something. Just not necessarily what you want.

I could see having this if there was a compile-time constraint that all variables be the same type. That would disallow the bad cases.
From a trip to Tokyo, Beijing, Bangkok, Hong Kong, and NYC in a couple weeks -- that's mostly an NYC problem.
I used that period (vs saying they spent $110B between 2005-2021) to establish the fact that it's a known, expected pattern of behavior regardless of Intel's performance, roadmap, or market conditions to lead the reader to recognize that if bailed out they'll likely continue in the near future instead of utilizing that money for its intended purpose.

Instead of assuming my comment is a generalized view on how businesses should operate as whole (and not the subject of the piece), perhaps take a moment to consider how the magnitude of buybacks--in the face of stiff competition, that have now leapfrogged them--is directly correlated to the mismanagement and dysfunction within Intel that leaves them unable to rise to the challenge the country demands.
The systemd maintainers are pretty particular about things that aren't a "supported use case", so even if you bother to do the work, you stand a solid chance of having your work be wasted. In my professional experience, "unsupported use case" effectively means "I don't want to work on that". [0]

Also, at $DAYJOB, we run into mysterious systemd failures and misbehaviors at least once a year (usually for things that should be super straightforward). Every one of these failures and misbehaviors we've run into has been met with a "Wow. That's weird. Sucks to be you, I guess." with a dash of "No, we won't be updating the documentation to mention that." if the actual behavior is contrary to the documentation.

In short, while it may be true (I really don't know) that the systemd project welcomes changes and patches, IME it's pretty clearly true that if you're working on a problem that the project management doesn't understand, and/or doesn't want to think through, your work won't be considered. [0]

[0] Which, fine, it's not my project, so I don't get to tell you what to work on. Doesn't mean I have to like it or recommend that people use it.
I develop and maintain multiple applications that use a worker pool, and are small enough to run on a single host. We used pg for the user sessions, which get read and written on every single page request. Some of our apps are Internet-facing, and web crawlers can create sessions that get read and written (recording recent pages) as they browse the site. We switched to a redis service on the same host as the app and saw 3 main benefits: faster session loading and saving, less disk activity on the Pg server (so all other queries run faster) and less writes to the Pg WAL, so our backups require drastically less GB per day of retention.

After the significant success of the first conversion, we've been working to convert all the rest of our apps.

And no, host language data structures aren't useful because they aren't in shared memory between all the worker processes, and even if we found a module that implemented them in shared memory, we like to be able to preserve the sessions across a host restart, and then we'd need a process to save the data structures to disk and load them back, and by the time we did that we'd have just reinvented redis.
> There is no shortage of long talks that lack nuance.

Nuance is not the same thing as a talk designed to build an argument bit by bit and be persuasive. You could summarise an hour-long closing argument for the defence in a jury trial as 'My client is not guilty', but doing so is rather missing the point.

> Just say that no, you can't effectively summarize this video, instead of doing whatever it is that you are doing here.

x == y, but with the added implication that SBF's take on longform is not actually something to aspire to.
You just rationally explained a logical issue in the parent's post. Will the parent change their mind, or will they reinforce the positive narrative that they were explaining to everyone how it worked override it?
Excellent plan, go to the other inits, bug bounties are what I do over christmas and init systems and hand rolled init scripts are a great source of security flaws.

Taking notes on which distros dont run systemd, for when I want to make some money over christmas.
I don't remember, it's been a long time since I've seen one.
It's not copyright assignment in this case. The bot is nagging about the code being copyright-free and license-compatible. So it's in the gray area that you describe in your second paragraph.
The point of view from over 30y carres. I love Postgre, I've known Redis recent. Each have great functions. Every products have unique functions at their early season, but getting fat by adding similarity functions with others. Implementing function is not difficult in there because it is a software, but sometimes it makes lose its the first strength. I've loved Postgre since its v3, but once it had been pushed by MySQL, because of LAMP boom. I wish Postgre does not be a fat system alike Oracle. And also want Redis to take the right direction.
I mean Postgre did not need to support pub/sub and so on.
Maybe I misunderstood the piece, but it seems the last sentence, "Well the code is indeed correct" suggests it _did_ work (although I'm also a little confused about what it means when all values are '-' which I interpreted as 'no piece played').
The proper thing to do in this situation is this: treat it as a bug report which was accompanied by a patch that was not used. Credit the bug finder, and acknowledge that the fix is very closely based on their proposed solution.

You actually don't use their code. Understand what is being fixed and write it yourself.
I remember when I used to run gnome 2 (i.e. mate) on a machine with 256mb of ram. It was a full experience and it worked with youtube videos and so on. What are we even doing .
Isn't the phrase "self destruct" just meant to be a popular term of referring to apoptosis or programmed cell death in general?
My last car had a v8 engine mounted on hydraulic engine mounts, and you could hardly feel the engine (but certainly hear it). The sound was glorious, and it’s the only thing I miss about that car having gone to EV 3 months ago
the real threat is the globalists who pretend to care about you
Tech titans' obsession with turbocharged computer power could be our downfall
I think the concern is more that the person did not have the right to contribute, i.e. their employer owns the copyright to their work.
This is the unfortunate reality of the app business today. Without constant ad spend it's very very difficult to acquire new users. And constant ad spend is of course not possible with a low one-time payment for the app.
Ironically in the US the current nonsense about election fraud might push electronic ballots further. If you're going to cry wolf over paper ballots then you might as well do whatever you want, literally nothing will ever satisfy them. There's no sense even trying to appease.
I like the direction Chimera is taking; the lead is an ex-Void maintainer and there's clearly a lot of inspiration from there.
I'd like to say that your comment speaks for itself - in many ways. It demonstrates how somebody who holds a strong belief in "society" reacts and acts towards another person when their core belief is questioned. Your behaviour is predictable.
I have literally zero dependency on the Internet. Everything I value (family and event photos, music, books (hard copies), school report cards, ID cards, etc.) is already with me in hard copies or hard drive. If Internet were to go down, I believe, I will breathe happily!!
If the dev came here and posted this themselves, maybe. My public repos are all nonsense but anyone could post them here, and now I’m suddenly on the hook to a bunch of miserable nerds for not explaining myself well enough? Please
The article doesn't provide details, but it would be interesting to know what percentage of the test subjects, if any, did in fact change their view in light of new evidence. Surely some people are more rational than others.
I really hope you guys are not so fool to fall for it and become brainless ... listen ylto your heart and use your brain
This is akin to subsidiarity:

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

I like how they've written down key tenets of their "unwritten culture", including a quote from someone who refers to it as such.
Only if you're solving to "win" every time, but in relationships you're often solving to also please the other person. Plus people get decision fatigue, so deferring to the other person can be doubly good... but not to the point where you don't care at all where to go, because you still have your standards and soft preferences and some places you'd like to veto entirely... which is why couples often get into this endless dance when deciding something for both.

It's true also of deciding what to watch. I've spent 30+ minutes debating what to watch, only to realize we should be going to sleep in just another 15 mins so no we can't really watch anything anymore

So over the years my strategy has morphed to making the decision and taking responsibility for making it an enjoyable experience for both
For what it's worth, runit is the default on Void Linux.
The autonomy you gain from starting a business is also a big deal. You can work long and hard with low stress when you are the one making decisions. Burnout comes from being powerless and at the mercy of someone else.
To be fair to parent I read the whole thing and also missed that.
Who do you use for this?
> OpenWRT should just stop being stubborn and integrate it.

Why? If it fails to provide benefits commensurate to the effort required to integrate it, then there's no reason to do the work.

OpenWRT is for routers and access points... devices which usually have a fixed [hardware] configuration, and very little need for the absurdly-complex (and in my professional experience, often subtly buggy) event-driven systems that systemd provides. "Every system everywhere gets to use the same unit files" isn't a significant benefit in practice... EVERYTHING that needs nontrivial pre-/post- start/stop verification and/or configuration has systemd run a shell script (or other such helper) anyway... so you only get to just write a unit file and call it a day in the most trivial of cases.
Merchant pays the fees though.
I get it now:
Jorge had laced its pages with poison, correctly assuming that a reader would have to lick his fingers in order to turn them.

Nice pull.
The decline in cancer deaths can almost entirely be explained by the decline in smoking. Getting from 40% of people smoking to 15% was probably the biggest public health victory of the latter half of the 20th century
I am keeping my CV on overleaf and it is very convenient. Did you try that option?
> when I hear terms like misinformation and disinformation these days I think, "tell me you have a received ontology without telling me you have a received ontology."

I agree! That's the knee-jerk reaction from people caught up in the disinformation. There is truth, and we all have received ontologies - you've received yours from 4chan. The point of disinformation is not to persuade you about a lie, but to paralyze the public by taking away truth, discussion, consensus. You and I can't discuss any factual truth because of your ontology.

> what people said when they felt they could express themselves honestly

If they agreed with the 4chan (etc) received ontology. For example, what I wrote would get the same reaction you gave me, though much more aggressively and dismissively. People were only honest as far as it agreed with the ontology; beyond that they lied or went someplace else.

> humor is a more reliable signal for truth than official consensus any day

I'm not surprised to see that. IMHO it's nonsense rhetoric - means nothing, sounds good. Right from 4chan / reddit / etc.

> I think they captured something essential.

Agreed. They are special places, but not for any sort of factual truth.

> they were the vox populi

They are only narrow subsets of the public.
The point of summarizing is to condense the substance for potentially hundreds of readers into a sensible set of ideas in a couple of paragraphs. Any wise listener will stay away from talks that need full half an hour to stay “persuasive”.
(Almost) All the routers that people have in their homes - the ones running OpenWRT - have between 64-256 MB RAM, and no swap. Raspberry Pis are not "embedded", they are cheap, low power consumer devices.
So humans can torch wasps and/or kill/cull any "nuisance" animals they wish using advanced technology because? We're more intelligent than they are?

So would it be fair game for an "AI" or alien race to cull the human nuisance using advanced technology because they are more intelligent than humans?

Asking for an instance of a friend. He's a friend of Roko.
That’s not what the article says. The last paragraph:

if (cell[0][0] == cell[1][1] == cell[2][2]) {
return Winner
}

> Well the code is indeed correct . Well done, Python… for finding yet another way to confuse us all.

The code is incorrect: if all entries are '-' there is no winner. Even ignoring the braces…
Between queries in the same transaction? No

Between transactions? Yes, absolutely

In fact, many libraries do it automatically.

For example, SQLAlchemy doc explicitly says [0]:

> After the commit, the Connection object associated with that transaction is closed, causing its underlying DBAPI connection to be released back to the connection pool associated with the Engine to which the Session is bound.

I expect other reasonably sane libs for working with transactional databases do the same.

So, if you are doing pooling correctly, you can only run out of available connections if you want to have a lot of long running transactions.

So, why would you want every of your 50k frontends keep an open transaction simultaneously?

[0] https://docs.sqlalchemy.org/en/20/orm/session_basics.html#co...
Having a candidate understand all of the edge cases of a language syntax is a very high bar to clear: there is a lot of programmer between a "master" and "anti-master".

I've used Python for 20+ years, and while I'd confidently use a == b == c or 1 < a < 10, I didn't know the specifics and wouldn't use it in cases like 10 > a < 8 (or really, any other case chaining supports).

I believe myself to be an expert at Python and I'll explain differences between different loop types (while/for, ranges/iterators/generators, list comprehensions, functools, external C libraries like pandas or numpy), I think I wouldn't be confused only because I am aware I don't know the details and have a quick way to prove it works.
That's really cool.
I'm currently exploring VUI (Voice User Interface) and this might come in handy.

I might be a bit biased (did my PhD exploring how VUI can persuade humans), but I think VUI is "the future" of computer interaction.
If it's not the future, than at least it adds a new group of people (kids + elderly people) as potential users.
I see you also have a pair of Bose headphones.
I have no vested interest in a nything related to this thread. Just a vested interest in horse sense.

I read the OP’s description of what they send to customers inboxes and it is exactly the sort of email I mark as spam. In a corporate environment, it is exactly what I would expect a paid spam filter to filter.
Almost all error-related code in Go is just doing by hand what an exception system would do automatically: stop the current function and propagate it to the caller. The error is not being "dealt with" in a meaningful way except at the outermost layers of the onion (i.e. HTTP/RPC middleware converting it to a wire protocol error response) which could have used a try/catch anyway.
Manuevering in tight spaces with BYD Denza Z9 sedan [video]
I like it. It looks super clean and professional. You're hired. You can start on Monday
I agree with you, the earlier post says people only do things out of self-interest, and I was surprised that nobody else had disagreed or mentioned it’s an unfortunate way to see the world.
It just so happens that a single character was all that's needed in that case. In the general case it wouldn't be
The research backs up all the good things that have come out of remote working since at least the pandemic started. Everything is great, employees do better work and the employer gets better work done.

Which was never in doubt if you look at research and metrics.

The kerfuffle about remote being bad only has the stated negative of something about "culture" according to every company that is forcing people off of remote work.

What they don't tell you is

1: the company wants to shift their tax burden to workers from local governments.

2: It is impacting the Commercial Real-estate that the leadership team and board members are getting paid for, on the back end, for leasing office spaces back to the company.

Further:

3: The company is already or will be soon opening a remote team office in Hydrabad, so they are already going to lose #1 and #2 and still not have a decent culture.
Yeah, the behavior is arguably much less confusing than the alternative of:

5==5==5 # All three the same
(5==5)==5
true==5
false

Or

1==2==false # All three different, in a troublesome way
(1==2)==false
false==false
true
I remember learning Prolog, it was tricky to wrap my mind around it, it wasn’t like any other language. The day I finally “got it” I was very happy, until I realized all the other languages I had previously learned, no longer made any sense.
similar arguments have been made about lead and leaded gasoline being made illegal in the 70s.
> "No member of the Caltech community shall take unfair advantage of any other member of the Caltech community."

That's great, but I wonder why not just:

> "No member of the Caltech community shall take unfair advantage of any other person."
<font> was deprecated in, I think, the HTML 4 spec. That was published in 1999. Not a great signal to send anyone looking to hire you and checking your source code! And inline styles are just another way of using CSS!
Byoyomi Explained (1997)
There's a proof of concept naive Bayesian approach here: https://github.com/MarcT0K/Fediverse-Spam-Filtering
TIL about a Cuckoo Filter.

Also, never realized redis has native support for a Bloom Filter.
Correct. Which is why hydroponically grown produced focuses on low shelf life items like salad greens. And in countries like India where quick commerce is taking off (Zepto, Blinkit, BB Now etc.) it is helpful for the companies to source fresh produce locally many times a week as their dark stores are tiny and they can't have huge inventory.

For my farm and near by farms right inside the city, these quick commerce companies do milkruns and pick fresh produce twice/thrice everyday.
> So humans can torch wasps

The name of the device is supposed to evoke the threatening nature of the insect. Not necessarily its intended use. Sadly, my first thought was of humans using it on one another.

However - yes, we often kill nuisance animals like wasps and while I can't imagine a drone filling that need, if there were better tech for removing pests like wasps when they nest somewhere inconvenient for humans, we should probably take advantage of that new tech.

Roko's basilisk seems like a fun concept to entertain the mind but one that can't be taken too seriously until it itself is taken seriously.
In defense of Python here, a==b==c -> (a ==_string b) ==_bool c is an extremely confusing way to write (predicate) nxor c. A principle here could be "operators that look the same shouldn't do different things when they're written close together."
As pointed out by blackenedgem above: PostgreSQL has tablespaces, and one may simply declare tables which should stay in RAM in a tablespace built upon a tmpfs with enough reserved RAM to store them all. There is a only small associated burden (restoring the tablespace while starting PG).
I have no philosophy issue with systemd. The biggest show-stopper (on embedded Linux) for me is its install size. We have edge devices with only 64M RAM and 128M NAND flash. For an OTA update (via Bluetooth sometimes) only ~20M in total, adding ~5M systemd plus its dependencies doesn't make sense. 5MiB is roughly equivalent to the entire Linux kernel image on those devices.

Among the components of systemd, the part that has the lowest added value for our use is dbus. It's designed primarily for desktops and useless for most of our systems, but unfortunately, it is also a hard requirement for systemd.