skysight-inc/HackerNews huggingface dataset:
> in system V init scripts on Linux they had standardized dependency declaration comments. when you added services you ran a dependency checker which would translate the dag into a total ordering, laid out using 01 02 03 ... numeric file name (symlink) prefixes.

Yeah, I know, but in practice this did not really work out and was a mess. In fact, every update was scary to do, in that time I frequently just re-installed the distro on my private workstation, simpler than to deal with the rc stuff.
A plain setup may have worked, but anything slightly complex was just bonkers to do.

> it was robust, simple and straightforward.

Do you package for a relevant distro or is this just your experience as user? Asking because I just personally do not know any maintainers of software with a slightly complexer system interaction which would agree with that.
There surely are some, but FWICT on some ML's anti/pro systemd flames it's <1% of maintainers - and from them it's actually almost never the new unit file format what is the issue, but the way systemd eats up basic system services.

IMO the systemd unit files are exactly what you say "robust, simple and straightforward", the implementation may not be, I never even touched that, but the unit file schema is just better, as it's not bash/dash with some slight optional possibility to use some hacks like comments (urgh) as schema, but actually provides a standardized format for doing that and more.

As someone maintaining dozens of packages and as common user, I'm happy that I do not need to mess around and fight the init-system, and I'm not the only one thinking so[0].

[0]: https://www.reddit.com/r/archlinux/comments/4lzxs3/why_did_a...

Thanks for the constructive downvote though ;-)
Not disagreeing, but the devil’s advocate: sometimes you don’t want to be keeping the contractors longer, and will use them as fuses to shelter your business when bad times come. This is at least part of the reasoning behind having layers and layers of sub-contracting companies paying their employees low wages.
You can use systemd-escape(1) to have it generate the correct unit name for you, e.g.:
systemctl status $(systemd-escape --path /home --suffix mount)
Yeah, complicated and verbose, but reliable and integrates into systemd mindset very well.
Is this a joke? There's a whole world of software out there that isn't web based. Anybody who hasn't switched to a Chromebook uses them every day.

I even write terminal user interfaces sometimes to interact with servers that don't have a desktop environment installed.
> https://justine.lol/redbean/index.html

> All you need to do is download the redbean.com program below, change the filename to .zip, add your content in a zip editing tool, and then change the extension back to .com.

> That performance is thanks to zip and gzip using the same compression format, which enables kernelspace copies.

Oh my. Having a web server executable which is a zip archive at the same time is a lovely idea. Have there been any other attempts similar to this?
It should be possible to get it working with Nim easily too, interestingly. I'll have a play with it tonight
You sure it's not month.day.year? And therein lies the problem.
Why do trains have to make a profit but roads don't?
On the topic of 4D and tiling stuff, the 24-cell is a platonic solid that tiles 4D space, with some interesting cross sections that tile 3D space:

https://en.wikipedia.org/wiki/24-cell_honeycomb#Cross-sectio...

There is no 3D equivalent of the 24-cell, but two of the cross sections (rhombic dodecahedron and bitruncated cube) hint at what that "missing" platonic solid would look like.
There are four things I quite enjoyed creating, in no particular order:

- https://github.com/rcarmo/pngcanvas because there was nothing similar that ran on Google App Engine

- https://github.com/rcarmo/imapbackup because I needed a migration tool from Sun IMS to Exchange

- https://github.com/rcarmo/rss2imap because it helped me survive well beyond Google Reader for a long time

- https://github.com/piku/piku because it enabled me to automate away 99% of my non-Docker deployments and is a lot more fun than Kubernetes on low-end standalone boxes

There’s also my blog engine (https://github.com/rcarmo/sushy), but that is in a state of flux right now and I haven’t published the new source yet.
How do you A/B test at your company?
> My go-to example of a monoid is (the set of strings, string concatenation, the empty string)

My favorite is the monoid of endomorphisms! "Endomorphism" is a fancy word, but it just means "if you give me a `T`, I'll return a `T` like it but with some changes."

Programs that operate on a stack usually look something like this (if we ignore everything that isn't touching the stack):

stack.push('a');
stack.push('b');
stack.pop();

It's assumed that `stack` refers to some mutable cell, here. We can push mutation to the boundary if we change `push` and `pop` to return the new stack, and change `stack` itself to reference a get/set register containing a stack:

stack.set(stack.get().push('a').push('b').pop());

Now, what is the type signature of `push`? In Haskell-ish, it's `Char -> (Stack -> Stack)`. With `pop`, it's `Stack -> Stack`. (I'm assuming that `this` is passed last, which is amusingly the opposite of what we're used to.) In other words, each operation takes zero or more arguments and produces a transformation that turns one Stack into another.

The thing about operations like `Stack -> Stack` is that you can combine them together without even having a `Stack` handy. You just produce a function that does one, passes its result to the other, and returns the final result. And of course, I could write an identity function that returns the given stack unchanged. That makes `Stack -> Stack` (and really any `T -> T`) a monoid!

In other words, instead of `(stack.push('a')).pop()`, where we morally associate the parentheses to the left, we have something like `stack.(push('a').pop())`, except obviously OOP dot notation doesn't work that way. But that's the intuition -- we're combining the operations before we feed them a stack to operate on.

Ultimately, that's what Raph's stack monoid is based on, except instead of functions `T -> T` they describe `push` and `pop` with data. This is called "defunctionalization", and it basically works because we can write a single function (an interpreter) that performs the cumulative actions described by that data.

As a sibling comment explains, lists are the free monoid for a set of actions (where "free" means "assuming the least necessary"), so we could get by with `[Push 'a', Push 'b', Pop]` as a representation. But this contains more information than we actually need. We know that if a push is followed by a pop, the contents of the push don't matter to us. We can therefore remove any push-then-pop pair of actions. When we simplify in this way, we find that the only sequences of actions we have are N pops followed by M pushes. So Raph's representation coalesces the adjacent pushes and pops into `(Int, [Char])`
> Tweetbot still does it.

They moved to a subscription model with Tweetbot 6. At least Tapbots is not being dicks:

- Twitter makes them pay for the API 2.0

- The Tweetbot subscription is shared across the family

The former means I get access to Twitter without ads, kind of like the oft asked "I'd pay to have no ads", and I get a usable UI in the package.

The latter is so rare I didn't know this was even possible until that last update.
> the Monkees would mine their set

Just to make sure I understand, did you meam "mime"?
That amount of downtime isn't acceptable. Modern incremental backups should protect against ransomware at least.

Out the box solutions are expensive, but it would have been the good investment for this downtime alone.
Babel has 117M downloads/month but they can't make $160k a year
Impossible is too strong a word, but it's not very practical and at 5c a container not worthwhile to make a special trip to the single recycling centre in SF. Compare to Germany/Norway where the deposit is ~25c a container and you can just take them back to the supermarket.

Apparently retailers are obligated to refund CRV in CA but they just ignore the regulation: https://sanfrancisco.cbslocal.com/2021/05/03/ca-lawmaker-pro...
Maybe this is what you are saying, but doesn't "... have been watched" imply that the being watched is finished, compared to have been being watched" implies a that the watching is (or might be) still ongoing, i.e. the use of simple past vs present perfect continuous(?)
I can't reject cookies on this page?
Any guess as to what the distribution will look like in practice? I suppose you started with a list of iid equally likely parens, but I would guess that in practice the distribution D might look more like:

() moderately likely
(X) where X ~ (roughly) D quite likely
X Y where X,Y ~ (roughly) D slightly likely.

My prior is that in user interfaces one will typically see a somewhat deep nesting of clips (ie components) with a few primitives to draw at each level. But maybe this is just wrong or most of these clips are axis-aligned rectangles and can be dealt with as the command list is built. Or maybe you do see nesting in practice but not super deep nesting (say window > panel > panel > set of buttons > button > text with each corresponding to several layers of nested clips)
A tiling window manager for Windows

https://losttech.software/stack.html
Africa: Hot climate, poor testing, data likely not accurate

Australia: Island, hot climate, pretty heavy travel/quarantine restrictions

New Zealand: Island, rural with very dispersed population, heavily restricted international travel

People may argue that the UK is also an island but fared much worse. To that I would say 1) Much colder climate 2) did not heavily restrict travel like AUS and NZ did.
Some humans do. Increasingly more people around me are switching to ISO date, inspired by the fact major organizations do the switch for easier sorting in lists and directories.

Changing behaviour like that in an export file in a format that traditionally is used for data exchange between computer systems, especially when not mentioned in the release notes, is a borderline bug.
>Is it just me? Would you glance down at that gauge on the Atlas and instantly read 1/4 full?

At a quick glance yes, but I noticed pretty quickly that the arrow is attached to the fuel pump icon and I already knew that it indicates the side of the filler cap so I quite quickly found the white lines next to it. It's pretty awful design though and you could immediately improve it by placing the pump icon below E.

I'm a big fan of the instrument cluster in my car (https://mbworld.org/forums/attachments/c-class-w204/337121d1...) since it's so clean and I feel that all of these digital clusters are going to be a massive downgrade when it comes to readability.
This. The foremost example being EULA's and warranties in countries where the law gives consumers far more rights than the copy/paste legalese texts that everyone accepts at installation/purchase.
Tooling is an important part of a language.
The Sims 4 Latest 2021 Download Free for PC Windows
Ask HN: Great things to do with a Pi 2 in 2029
SO I got a pi 2 and some time for projects for the next couple months so I was wondering if anyone knows about cool projects that can be done with a Pi 2 nowadays, a lot of the pi projects I see nowadays are much better fitted for more recent models, but I want to challenge myself to do something elegant or to learn how to handle systems and projects in limited memory environments such as the pi2 so if you have any good suggestions please leave it in the comments.
I don't have a single subscription app. I've never found one that was a must have. If you have apps that you pay a subscript for, what are those apps?
omg the comments section are directly scraped from this very page.
Only one of those was actually said. The article is not a glowing review of go. The carefully chosen snippets of text conspicuously say nothing about how the engineers, at the end of the day, like using the language.
The stuff did get built in the company, usually half by contractors and half by the internal staff developers under guidance form the aforementioned managers. It was just build very slowly and it was held together by sticky tape and dreams.

One manager spent 50% of his time keeping an old system he wrote as a developer years earlier from completely falling over because no one else could understand it, byzantine doesn't begin to describe it.

He worked many, many, many hours overtime doing this in addition to his managerly duties but, of course, because this is Japan, he won an award for hardest worker of the year and a trip to Hawaii... which he couldn't take because otherwise the system would fall over.
No, "have been being watched" is the past progressive. It implies that the being watched was an ongoing thing at that time, not that it's still continuing.
PoC||GTFO Magazine's almost every issue is multi format:
https://www.alchemistowl.org/pocorgtfo/

From the latest issue:

Technical Note:The electronic edition of this magazine is valid as both PDF and ZIP. The PDF has been cryptographically signed with a factored private key for the TI 83+ graphing calculator.
The next generation of AutoML, what is the future of AutoML?
https://justine.lol/ape.html

There is actually a discussion on that on this page, I'll embed part of the relevant discussion here:

> It'll be nice to know that any normal PC program we write will "just work" on Raspberry Pi and Apple ARM. All we have to do embed an ARM build of the emulator above within our x86 executables, and have them morph and re-exec appropriately, similar to how Cosmopolitan is already doing doing with qemu-x86_64, except that this wouldn't need to be installed beforehand. The tradeoff is that, if we do this, binaries will only be 10x smaller than Go's Hello World, instead of 100x smaller. The other tradeoff is the GCC Runtime Exception forbids code morphing, but I already took care of that for you, by rewriting the GNU runtimes.

Not exactly what you meant, perhaps, but in the same ball-park
A better analogy would be trying to use a 7-seater dump truck as a school bus, then complaining when the 'haters' analysis is based on "gallons of gasoline per available seat-day." As if the fact the gallons of gasoline per seat-day changes based on external factors (i.e. with the weather or traffic) makes any difference? It legitimately does not matter that (i) not all 7 seats may be populated each day or that (ii) the gas required varies day to day based on externalities. That's why we invented averages and spot measurements.

So fine, "kWh per available transaction-second" may be a more apt moniker however that's strictly what I've been talking about. Since 100% of electricity usage is attributable to mutations, this is a completely fair quantization. As blocks have been overwhelmingly full for years, the point on discrepancy is pretty much moot.

And further, the point is a dump truck is totally unsuitable for use as a school bus.

You are more than welcome to measure Wh of electricity used per math question in regards to the lighting setup. You'll find that number small and irrelevant, however. On the other hand if it requires a few thousand kWh worth of light to do a math question, you're well within your rights to ask (a) why you're doing math questions in what must be a stadium setting and (b) whether there's a more efficient lighting solution.

Which are exactly the questions we're asking here.

So, respectfully, that's exactly how logic works.
> simple — It solves my use case.

> opinionated — I don’t believe that your use case exists.

> elegant — The only use case is making me feel smart.

> lightweight — I don’t understand the use-cases the alternatives solve.

https://programmingisterrible.com/post/65781074112/devils-di...
A very major part of that decision was because the payment was not reasonably assumed to be a mistake. Obviously that argument isn't going to work here.
If you will ever have a 555 shortage, than any EE can conjure something similar in a few days from parts at hand.
I remember Trump wanted to stop flights from China, but that was branded Xenophobic, including by Joe Biden

https://twitter.com/JoeBiden/status/1240361258957897728
Is this open source Mighty?
As far as lockdowns go, they work until you end them, at which point you have just delayed the inevitable.

Where in the data can you see this? Lockdowns don't appear to work. If they did, then places that didn't use them or cancelled them very early would have had drastically higher numbers than other places that kept them and the curves would be clearly moved around. But that isn't visible in the data.

That said, I'm glad you posted those links and agree with you on the lack of effectiveness of mask mandates. I've been posting links like those and various other studies for the past year because it was clear within weeks that these measures weren't having any impact. Sometimes those posts got upvoted but mostly, down down down. Very interesting that the top comment on this thread is one pointing out that lockdowns and mask mandates don't work: it used to be quite the taboo to point that out in this forum. And just recently there were the threads about the WIV, where again, many posts that a year ago would have been sitting at -4 and near-unreadably gray were sitting near the top. It's good to see that some rationality is returning to these discussions, because the data is public and easy to browse. It's not hard to flip through a bunch of countries and observe that you can't figure out when lockdowns/mask mandates started/ended with any reliability by looking at the data, even though affecting the data is the only justification for those measures' existence.
Wow. The vote was 1,798 "no" and 738 "yes"? So 71% "no"? That's a pretty definitive decision.
How can you blame Trump, when it has affected practically the whole world, except for some isolated islands?
> Tange, 46, says his business model is an attempt to remove inefficiencies in Japan’s software industry, where layers of subcontractors take cuts on orders before passing the work to another company below.

This reminds me of a role I once had back in the late nighties.

I was hired on contract by a multi-national consultancy firm to help out on one of their projects. The need someone to come in with good C programming skills.

When I started I was amazed to find a 70 developers and testers workforce working on the project, most of whom were straight out of university.

A nice earner for the consultancy firm; they were charging their development team out at $150.00 per hour, yet only paying graduate salaries.

It must have been $100+ profit per hour per developer.
Thanks for the example, I'm aware of Notmuch but had no idea it relied on Xapian. However, back to my original point, there's simply not enough people or large projects/companies that rely on and use Xapian. I'm 99% positive that there is less than a handful of people at any of the last two Fortune 500 companies I've worked for that even knows what Notmuch is. But everyone knows Elastic, MongoDB, etc..

Again, I don't think Xapian is a bad tool or that it's underperforming by any stretch, but OP should not be surprised at all that most people have not heard of it.
I think this follows Sturgeon's law: "90% of everything is shit".

Is it perhaps even more self-published blogs? Probably. I think Malcolm Tucker wasn't completely wrong in his assessment of blogs[1]. Yet at the same time, it also enabled a large group of people to write and get some form of audience who never would have otherwise.

[1]: https://www.youtube.com/watch?v=fFox3SRoVtw
Meteorologists are using such data on a daily basis already and machine learning does wonders there too but i'm sadly not familiar with the finer details.
Yes, I agree. Part of walkable should include work where possible.

I have lived a scenario similar to the one we are sketching out here and it was great! Live, work, play... I also had the airport available. Could walk out my front door and end up on the other coast that same day.
The End of Horse Racing: Why did Twenty-one horses die in three months?
Crime rates are generally low so the difference between the areas is less a factor than for other countries, but there are soil and geographic positioning factors that weight a lot more.

For instance low elevation areas are usually weak to tsunami, river areas can also flood, and former swamp and artificial terrain can liquify under seisms. There are hazard maps detailing the risks, and avoiding riskier areas will usually cost a bunch.

Buildings also get more expensive depending on their level of resistance against earthquakes.

Sizeable seisms are not that rare (way more than “once in a lifetime” kind of event), so you might still be spending a decent amount of money to try to have a better chance at surviving them.
I hate, immensely, how effective "double down and never admit guilt" is, but I don't think there's anything we can do about it as a society.

Thank goodness most people don't have the guts to hold firm long enough to get away with it...
Damn, that's like Quake Arena for the GB!
Is it going to be any use though? Certainly for apps that store everything locally, but the way things are going, when the cloud backend stops supporting the API version the older app uses, you're screwed...

And even if apps do use offline storage, the problem you get is that eventually OS support moves on. I have this issue with Adobe Creative Cloud - I still use CS6 (pre-cloud) because it doesn't require a subscription, but now I have to keep an old machine dedicated for that on Mac OS X 10.14 (currently two versions behind - I expect it won't be supported for that much longer with updates)...

What would get around that is requiring being able to point apps at your own server, and requiring open API documentation, but I don't see how that could really be workable in the real world...
The post was on 'the good parts' of systemd, so complaining about balance seems unfair.
I will call out one aspect that the author deemed a 'good part' as in my experience its a bad part: journald.

Usability: journald requires administrators to learn a new command to access their journals - everytime I have to use it I need to look up the syntax again. Compare with logs in /var/log and you can use all the standard unix tooling (text editors, tail, grep etc).

Reliability: in my use journald has made my servers more unreliable. Two CentOS 7 VMs, setup at the same time. On one journald works just fine, on the other approximately once a month journald would stop logging. It wouldn't start logging again until you noticed and rebooted the server. The real issue this exposes is that on a systemd machine, journald doesn't just log for itself, it also supplies the logs to syslog. So on this server when journald broke, there were no logs whatsoever.

This issue was apparently common on the version of systemd shipped with CentOS 7. The fix was to disable log compression in journald. What it highlighted to me was the inherent issues in an all encompassing system controller like systemd, in that if there is a bug somewhere in there you lose not only the added bells-and-whistles its intended to provide (journald in this case) but also the old previously reliable functionality (syslog).

In my mind the fix for this is a redesign of systemd to make it an optional layer on top of the reliable functionality rather than a low level system component that everything else needs to depend on. In the case of logs journald should consume logs from syslog, not provide them to syslog.
"pay peanuts get monkeys"