skysight-inc/HackerNews huggingface dataset:
Anecdotally, I've had more Node packages with native code in them fail to build for me when installed via npm, than Python packages with native code fail when installed via pip. That whole node-gyp thing is a huge mess.
In an effort to extend the lifespan of my 6S I had my battery replaced by Apple January of this year, and iOS lists the battery’s health at 92%.

One setting that seems to have impacted my phone’s performance is the “Optimize storage” setting that works in conjunction with iCloud and Apple Music. What seems to happen is that iOS will fill up my phone’s 64gb capacity before purging photos and music into the cloud. This results in aggressive memory management, resulting in many safari tabs reloading, and apps starting cold again. Often times apps in in the home screen will flicker “cleaning” in their names, which apparently iOS does when running low on storage space.

This all cascades into the slow loading times described in my original post. Not the best UX, but better than manually managing storage on my phone. I’m sure I’m not the only one with this setting, so I don’t think my experience is uncommon.
You mean like terraform using predefined ami >_>?
More testicles mean more iron.
I said disabled by default. Make new but slow features an option. Most people would rather a working phone that isn't super slow over having the latest feature but if they still want it they can turn it on. Its total insanity that apple phones only last a few years before they are too slow.
No, he's asking for something with the same features and consistency, it can be designed however you like.
Clicking that link from HN will (usually?) give you something NSFW; jwz doesn't like HN, so copy/paste the link if you want to see the real link.
Launchd is arguably the inspiration for systemd and other modern alternatives. Therefore it's very similar in scope and principle. But many parts of how it works, most notably the configuration file format, are distinctly Apple-isms (or more precisely NeXT-isms) so it probably wouldn't feel "native" to the Linux ecosystem without some substantial retooling of the code.
The idea of a single root cause is of course fiction in most failures in complex / redundant systems.
Some things are, others aren't. For example systemd-resolved is highly optional. Some distros include it, others don't.
It seems like long builds are either (a) necessary or (b) user error. (a) If you have a tree of dependencies and you change the root, you should rebuild everything that depends on it to make sure it's still compatible. (b) if you placed your application into one of the initial Dockerfile layers, but then you're installing dependencies that don't depend on you, it's user error.

What's the situation where your application needs to go first in the Dockerfile, and then you need to put a bunch of stuff that doesn't depend on your application?
>AI is going to turn against us

Would you mind sharing your argument about why this notion is a waste of time? Machine learning experts are concerned about it [1], but maybe you know something they don't?

[1] https://www.technologyreview.com/s/602776/yes-we-are-worried...
> Show me an alternative to systemd that matches its functionality and consistency.

As for init system, I would argue nosh[1] is a better init system. It’s based on daemontools design (same as s6, runit, etc, where it’s just a process that monitors a service directory). nosh can even semi-automatically convert systemd unit files[2] to a run script (including socket activation and all).

For everything else that is not part of the system initialization process (initialize/running/shutdown) I don’t think they need to be tie into PID 1. elogind aims to do this job of taking the logind part out of systemd into its own service, which I found to be a good way of living in systemd world without using systemd (e.g. GNOME works) but it requires a lot of commitment of patching everything to link against elogind instead of systemd (Void Linux/Artix Linux are doing a good job at this).

[1]: https://jdebp.eu/Softwares/nosh/

[2]: https://jdebp.eu/Softwares/nosh/worked-example.html
They weren't using Unicode at all.
Instead they were using 'prehistoric' fonts patched by changing the glyphs in ASCII fonts(100s of them). This too without proper conventions.
They way to convert these to Unicode is by creating character maps in a font-by-font fashion.
OpenSuse is the same
I am going to take the contrary opinion here. AI-generated fake content will inflate away the informational value transmitted by whatever it is trying to fake.
It's like 'deep fakes', they'll just destroy trust to video.
Incredible machines. Similarly, this one lifting an oil platform;

https://youtu.be/DjD2QSJyqso?t=203
Docker + setuptools/pip + python is great for development and production. Docker is definitely worth learning, and is pretty easy to learn.
No, hence this article. Note that the system they're having such a hard time integrating is a fork of a systemd component, which is about as close to the best scenario as you could hope for.
Given that systemd is just a set of interconnecting components, is it really fair to call it monolithic? While it does ship as a unified project, my understanding is that you can substitute individual parts of it easily enough.
AFAIK it's a war crime to deliberately blind people. Incidental blinding is acceptable, as long as the intent is to cleanly kill whatever's being lased.

Similar to how shooting to kill is ok, but shooting to maim is not.
Risks with renting your home PC to FluidStack for “up to $50/month”
That's very interesting but I have to disagree with the response. The vuln might be used iirc to bypass signature verification of the PE? It might also possibly be used to evade sandbox analysis of malware, AV heuristics and ML based approaches might also be thrown off guard.

But yes, It would have been a lot more interesting if there are cases where the executable is attacker controlled and the exploit would end up running code as the privileged parent process or some other user that has more rights.
Many of those things are not all or nothing. For example you can use chrony with systemd. RHEL 8 does that by default. You can even install rsyslog to consume logs if you want, and it works just fine.

I agree systemd tries to do a lot (maybe too much) and often isn't better than alternatives, but I don't think that's a big deal since you can still use the alternatives quite easily.
Why do marine engines weigh so much for that power? An airplane uses ~100MW (depending on how you want to calculate it) but obviously its engines don't have a combined weight of 200 tonne.
Can we please style the &lt;select&gt; control?!
I just tried that, not realizing that VLC could do it.

Unfortunately, it seems to play 1080p videos at 360p, which, not to be a snob or anything, isn't watchable for me. Well, I'd prefer an ad than a really blurry video.
Windows/VS: Type some stuff in the window and hit F5, get shown visually the line that went wrong. Install other things with easy setup utilities.

Linux/CLI: Learn an obtuse (beginners, remember) command line text editor, save the file, run another text command to run it, remember the error as you go back in. Fight with apt to get things to work, pray there are no dependency conflicts/errors, learn sudo, go find an IRC channel to help with a package not working with some obscure error about "but it depends on .. which is not installed, try (command that won't fix anything)"

First one sounds much easier for a beginner to me. Making programmers learn on linux is like making student drivers start on manual tractor trailers.
That is actually a serious issue especially if you allow unicode and RTL override in the file name. Always validate input file type.
Laptops are the new desktops. :)
Hi kovek! You might like https://www.codementor.io/ . I admit I'm a mentor there, and I've made about twenty bucks helping people, but anyway it was super fun helping poeple. :)
Exactly. Systemd is highly modular, and for the most part can work with a variety of different alternatives and interconnections. There a few hard dependencies but for the most part I don't think it's fair at all to call it monolithic.
Eastern India’s First Robot Restaurant Opens in Odisha
Good but not great, because that's what they choose to do. Plus there's the shipping delay and its effect on freshness.
Eeeehhh I think I will be downvoted to hell and back for this but after I read the article I had the feeling of "why are you making this feel more complex than it needs to be?"

I mean compared to Java and C# I have a MUCH MORE EASIER time to set up my development environment. Installing Python, if I am on a Windows box I mean, is enough to satisfy a lot of the requirements. I then clone the repo of the project and

source venv/bin/activate

pip install -r requirements.txt

is enough to get me to start coding.
I'm still disappointed they didn't find a way to work Billy Zane into S3 at all. Even for a scene or two, haha. Shame about Bowie—to put it mildly, and not just for the show—but they managed alright.

S3's a real two-watcher, and I've only watched it once so far. Haunting nonetheless. Anything that sticks with you past the credits is better than average, I'd say, and it definitely qualifies. It's not satisfying, exactly, but it plays at satisfying, at times.

Hm. I really gotta re-watch that one.
It feels like if your goal here was to improve the web you'd go into some explanation of why these are bad practices and how it can be done better.
Many packages that depends on systemd actually depends on the logind part. Most of time you could just s/systemd/elogind/ and it will work. However for a big systemd-based distro such as Debian, that means they need to provide support for _both_ systemd and elogind for all packages, which is not an easy task (elogind basically conflicts with systemd) and not worth doing without also committing to support other init systems.
It is the UNIX cargo cult that 100% programmers use UNIX and software on other OSes just appears out of thin air as their users wish for its existence. /s
Surely everyone puts their foot in their mouth once in a while, or tries an analogy that doesn't quite mean what they want. Yet, it's downright weird to be comparing yourself and your own company to a brutal murderer.
There's good news on that front: the Python Packaging Working Group has secured >$400K in grants to improve pip's dependency resolver:
https://twitter.com/di_codes/status/1193980331004743680
Click on each one and you’ll find an explanation
Ironically I remember the days when using Python on UNIX, not only I had to go online, I also had to compile it.

Or get the IT to install the respective C compiler.
Systemd in my opinion is a great idea with bad implementation like polkit. It is needed as modern systems are dynamic so global system state keep changes various types of events suck device, path, socket, ipc calls, network, etc.

There are 3 ways to deal with this:

> Assume things are static or hack the support. Sysvint and openrc does this. It tends to hacky as you are create a static setting in a dynamic environmet. This is analogous to using synchronous api to deal with async operations.

> Create a monolithic suite of daemons which handle the state as internal api. Example is systemd and launchd. It tend to be feature creep as you can't replace internal component so you need to deal every use case.

> Have state daemon with each class of state and event is handle independently but a protocol to make sure state is share properly. No init I know of does this.

A great example is if you want do some recuring action on an external network drive. The service manager must know the program the has been run. the Timer program must know if the drive has been mounted. The mount manager must know the network is on or off. The network manager must know if the device interface is on or off. So there is complex dep trail which is very dynamic. the 3rd option is best but 2nd is a compromise and thats what systemd does.

EDIT: Fixed the formating
There is the warm reboot persistence aspect of it regarding gddr mem but yeah, this isn't some earth shattering work.just an interesting way for malicious code to be more evasive.
I agree it’s hard to believe it could be faster. But we expect there must be _some_ cut off where more registers is worse, it’s just a question of where. But more-than-one being usually worse seems surprising to me too. I expect it’s unlikely someone actually benchmarked when making that decision, but just went with the “obvious must” reaction too though. On reflection now, I feel like there could be some reasons the stack pattern may sometimes be better or equivalent for multi-return. To your point though, curiously the Win64 ABI does only use one return register (unlike the SysV ABI which allocates up to two integer registers as you say).

I’m guessing their microbenchmark may have been that if the compiler had to spill the value earlier, it’s better to be able to spill directly to the sret pointer, than to need extra code to reload it at the end.

The bigger reason I usually see that this matters none is that if you’ve missed the inlining opportunity of something that small, you’re already so far away from optimal {code size, performance, memory usage} it is really too premature to optimize the shape of this code (and the ABI).
What Separates True Achievers from People Who Just Stay Busy
Ah, plot twist. Yep, I assumed you were not from the US. I hope you find the perfect place for you!
This is a promotion of manifold itself. Put it under "Show HN".
What Entrepreneurs Can Learn from Pro Wrestler Chris Jericho
He means 4th reuse of _the same booster_. Not the 4th reuse of any and all Falcon 9s (if that's what you were getting at).
Alibaba Offers Bitcoin Rewards Through Lolli Shopping App for ‘Singles Day’
Google Cloud Spanner kind of does what you want.
Or sequence your DNA every time you put content on the web to prove you are a human :)
The Lwn.net FAQ
What can I say? These are just not issues to me. It's not that I choose the hard life willingly.

The clothes dry on a rack next to the washing machine. I have a large enough house with wooden floors and high ceilings that the humidity is not an issue.
Google is reportedly gathering health data on millions of Americans
Elon Musk Discusses Starship at Air Force Space Pitch Day
One interesting solution is in Lucene — which isn't perhaps classically columnar, but something of a hybrid — which uses skip lists to allow random skipping through compressed index ("posting list") data.
What does systemd have to do with your wifi? Handling that is the distro's job.
While it may appear from my comments that I trust no government, that is not the case. However, I don't believe that most governments are immune to corruption or manipulation. So how could we prevent a reputation system from being manipulated for or against certain people?
Calibration is a meeting to discuss the gathered signals and evidences to arrive at a decision.

People are allowed and encouraged to change their individual decision after getting more insights and evidences gathered by other interviewers.

> did your company do predictivity and bias analysis on it?

Recruitment, HR and leadership conducts it to tweak the process, but I am not privy to those studies.
There’s something disturbing about a large underwater structure lurking in the deep. I’m happy the bed emerged. Put me at ease.
https://news.ycombinator.com/item?id=21465873

480+ points
I'm missing the most obvious one: check to see if you need all that data. Plenty of times you can get 98% of the quality with a small fraction of the available data. Doing a couple of tests to determine what constitutes a representative sample could save you a ton of time and a ton of money.
Yet I'm not inconvenienced. The expense would be trivial to me.
You can't replace journald with rsyslog.

You can use rsyslog in addition to journald, but there's no way to get journald out of the picture - it's intertwined with the service manager.
Isn't this what Pipenv does? What has been a downer for me is that many of the cloud providers do not support pipfiles in their serverless app services (Elastic Beanstalk, App Engine etc.)
I'm a Web Performance guy so moves such as these benefit my business. Despite that - I dislike this heavy handedness by Google.

- What speed metrics?
- How would they be gathered?

If Web Performance was so single dimensional to classify it in this way, it would have been solved a lot better by now.
You are misrepresenting what was written. Most databases don't need to be optimal to be useful, merely adequate, and few attempt to be optimal in any kind of absolute sense. I still use PostgreSQL regularly and it unambiguously falls into this "far from optimal" category.

However, as data velocity and volume grow, optimization of absolute performance and hardware efficiency has an increasingly large impact on the cost of operating a database and the kinds of applications you can economically run. Databases that sacrifice major optimizations at an architectural level will have no chance to be competitive with databases that do not over the long term as average data volume and velocity grows. At the scale of database operations many companies are using today, these optimizations literally save them tens of millions of dollars per year on infrastructure.

CockroachDB produces what looks like a fine product and has every right to make whatever technical decisions they wish. That the architecture has made substantial performance sacrifices is not theoretical though, and they don't pretend to operate in markets that require any kind of absolute operational efficiency.
OTOH: I'm pretty excited that these technologies are maturing so that they can be harnessed for empowering common people, or workers in enterprises to make their content beautiful, simple & into effective stories.

One example: Pentagon's slide decks. https://archive.org/details/MilitaryIndustrialPowerpointComp...
I’ve worked on code that’s both ways. That is, either:

(1) spaghetti code that relies on the author having a great deal of it memorized. It uses opaque types that get passed through multiple modules. There is no hard separation of modules. Consequently it’s easy for someone who knows the system to reach into any part from one part and immediately get something done. However it’s a nightmare to make changes on otherwise. Unless you have an near-eidetic memory, it will likely negate any coding skills.

(2) Strongly typed and modularized code that takes advantage of advanced language features. In this case, it requires somebody of a certain proficiency in the language, but they only need to focus on one module at a time, and the compiler will stop them from violating architectural assumptions.

And these aren’t mutually exclusive, nor are they binary.
Yep agreed - solid assessment.

Apart from networking. That’s an f*ing mess without systemd.
The Biggest Mistake Postgres Ever Made: http://www.craigkerstiens.com/2018/10/30/postgres-biggest-mi...
Hyper Anna
Great article. For those who didn't read it, removing or switching away from systemd is not on the table. They are deciding whether to even support alternative init systems at all, and whether there's enough developer interest to do so.
Part of what makes iOS devices so usable and well-liked is they don't include a massive matrix of configuration options in the settings. Everyone gets a standard configuration, and it works well. If you create hundreds of features you have to test the cross product of all of them separately and together. That's not a realistic way of operating a business.

As a user, how could you possibly know which of these settings was the straw that broke the camels back or the relative impact of each?

Their decision to allow you to access all features as well as your battery can handle (and eventually the option to take the guard rails off, too) is IMO the simplest and cleanest way of solving this problem.
The Obvious Way to Improve Your Career (That Might Not Be So Obvious)
Sure, if we move away from the analogy and into real dollars and cents we can see that certainly the numbers show that Facebook, as a company, has higher revenues both in total and per capita.

But that wasn’t the poster’s point with his analogy. His point was that the boat bro and the software engineer are equally skilled (they’re not - the boat bro is usually more educated/skilled) and the main difference for their pay is that the boat bro is just one amongst many while the software engineer is one of a few. The numbers don’t support this conclusion. In fact, the opposite appears true: software engineers appear to be entirely interchangeable cogs that are employable at scale while the boat bros are specialized tools employed to solve specific problems.

If his argument was that the market has placed a higher value on the software engineer then I wouldn’t have an issue, but that narrative doesn’t feed the Software Mythos. Even the terms selected for the analogy show this desire to self fellate (“Rock Star”).
Oil and gas.
In the emotions behind the facade.
Considering video, audio are accepted as evidence in most courts without any independent verification; I'm seriously worried about the implications of deep fake on justice.

There is an urgent need gap[1] on detection of deep fakes.

[1]:https://needgap.com/problems/21-deep-fake-video-detection-fa...
As I read the RFC[1], every endpoint is supposed to disable the spinning on about 1 in 8 connections. I presume to force middleboxes to accept connections with and without it set.

> Even when the spin bit is not disabled by the administrator, implementations MUST disable the spin bit for a given connection with a certain likelihood. The random selection process SHOULD be designed such that on average the spin bit is disabled for at least one eighth of network paths.

[1] https://tools.ietf.org/html/draft-ietf-quic-transport-23#sec...
Thanks for this. I spent my evening writing code to automate playing it for me. Lots of fun!
Yes, certainly the ability to use other options is still there. But one of the main selling points of systemd (and one that the GP comment was extolling) was the consistency of systemd. And you can't have it both ways - is it great because it's a consistent, cohesive system that provides everything you need for a Linux system, or is it great because it's a modular toolkit that allows you to pick & choose which components to use?

I was an Arch Linux user before, during, and after the systemd transition. I welcomed it initially, because pre-systemd Arch had a lot of "here's how to decide which logging daemon / cron daemon / etc to use" which I always thought was unnecessary. As I said, I think it's a great service manager.

But I've also had to deal with production servers using systemd-timesyncd and pool.ntp.org that would occasionally have system clocks that were off by ~10 minutes. SNTP was deemed "good enough"; SNTP doesn't handle falsetickers well; and under dynamic Docker workloads systemd-timesyncd would decide "network configuration changed, better synchronize the clock" every time a Docker container started or restarted.

If I use systemd as a service manager, why does that also imply I'm making "default" choices for boot loader, (S)NTP service, network manager, and container manager? Each of those has no reason to have any sort of coupling to my service manager.

My biggest quibble with stories like this one is that they keep focusing on the decision of systemd as service manager / init system rather than the umbrella of other jobs that the service manager has no good reason to try to take over.
Yes, sorry if what I wrote was misleading. You can't replace journald with rsyslog, but the only complaints I hear about journald are that it's binary so you have to use journalctl to read them. By installing rsyslog you basically get the classic log behavior back. So technically under the hood you're still using journald, but you never have to know it.