skysight-inc/HackerNews huggingface dataset:
lol, 'even', I find HN in particular loves pitchforks.
Because implementing settings is expensive. And now you can choose between 2 evils: dark mode or light mode. I would like a coloured contrast mode but i bet that it will be released in around 10 years as a great inovation (which was present in win 9x and X windows since ages)
Many of them are actually pretty good at succession planning: Gates, Page, and Jobs all hand-picked their successor, and had a long apprenticeship period where the successor served in a COO role and basically ran the business while the previous CEO oversaw.

The problem is that the tech business is fundamentally innovation-based, and this means that anyone capable of running the business as #2 is probably unsuitable to be #1. There's a classic a16z essay about this:

https://a16z.com/2010/12/16/ones-and-twos/

Basically, the personality traits to be a successful functional executive and those needed to be a successful tech CEO are often diametrically opposed. So if you pull from the existing exec team, your best case is that you get a caretaker (like Ballmer, Pichai, or Cook) who runs the business, optimizes earnings, keeps people happy, but misses the next tech cycle and eventually mortgages the company's future. Your worst case is that everyone quits and the company implodes because it can't service its existing commitments.

This is why you want to be a financier. Sell the companies at the top of their growth curve and fund the up-and-comers that will eat their lunch.
Call me crazy, I’d just rather read the relevant section of code I am working on and be able to understand it from there, rather than first having to understand the entire universe.
Analogies and idioms are heavily leaned on when you’ve substituted actual expertise for rhetoric.
Your question is answered in the article:

> Given the code we've found that depends on NULL argv, I think we likely can't make the change outright, so we're down this weird rabbit hole of trying to reject what we can and create work-around behaviors for the cases that currently exist.
I disagree and believe that Lightning is not yet safe or easy for users. Here are my primary talking points if you'd like to discuss further: https://news.ycombinator.com/item?id=30210023
Technically, FB still allows you to view a chronological feed, but for much of the past several years this mode has been broken. It shows me posts from 3 days ago at the top of the feed, even though I know that there are posts that are just a few hours old.

I guess they moved fast and broke things.
Of course. This is table stakes and has been since the early 1700's. https://en.wikipedia.org/wiki/Leibniz%27s_gap
Interesting! And how do color components get passed from an image file to the blockchain?

Do your servers retrieve and analyze the image?
To this day the medical establishment leans heavily on rhetoric like this over dialectic.

Bernays’s Propaganda[1] isn’t just a good book on the subject, it was literally an advertisement for his services.

[1] http://whale.to/b/bernays.pdf
> Given that this behavior is already disallowed (and faulting) on BSD and at least some commercial Unix flavors there shouldn't be too much software out there that relies on it.

How much commercial software targets UNIX these days?
So what? There are plenty of other options if you want to develop software for you own use.
But "buy my newest stable coin" is precisely what the spam button exists to report - "grass roots advertising" is a blight on humanity.
My very lose understanding is that finding a wreck doesn't confer ownership. It confers salvage rights, and if the owner doesn't compensate for salvage (or the assumed costs of salvage), you get to keep what you salvage in payment.

So when there's no-one who can make a legal claim, and is willing and able to cover your costs - it starts to look a whole lot like "finders keepers". But if there's a clearly defined owner, and they're able to meet your costs, you have no right to keep it.

(For a clearer example - if someone gives your boat a tow, they can't refuse your payment and keep your boat, that'd be absurd. But if you refuse to pay they can recover those costs. Adding a few hundred years in doesn't change this, it only makes proving ownership more complex.)

So as I understand it - when the insurer compensates the owner, they assume ownership of the property. You can't lose something, claim insurance, then find it, and keep both property & payment. So when it comes to salvage - if the insurer can prove ownership and cover costs, it's their property.
Yea, I'm surprised no one has packaged up something like this.
My app has a 90% bounce rate Apple, sorry!
I don't think the Rails Guides mention Devise, the authentication gem, which is pretty important if you want create a public facing website with users. The devise documentation is pretty good though. Again, a little bit of a learning curve, but once you learn it you can add user authentication to your site pretty quickly.

https://github.com/heartcombo/devise#getting-started
Russia, China agree 30-year gas deal via new pipeline, to settle in euros
If we're going to have an article about precision, especially when discussing misattribution of actions to actors, perhaps the example "When the pod uses too much memory, kubernetes will shut it down" should be omitted. In virtually all cases it is the kernel which terminates tasks in a control group that has exceeded its memory limit, not the kubelet.
> Why is it wrong to murder conscious things but not unconscious ones?

This is a bit pedantic isnt it? I would hope you can come to a conclusion which isnt borderline psychopathic

Yes, suffering is an unavoidable part of life which most organisms seek to reduce as much as possible. Given we all have existence bias and presumably dont want to end our lives prematurely, why would you knowingly want to increase it for others? I should have taken the hint from your initial response of "why is killing animals bad" that this would have been a pointless discussion. Why is killing anything bad?
Platform APIs should be designed in such a way that it is easy to use them securely. That's why we don't use strcpy() and friends anymore. (Yes, I know, not quite the same, as you can mitigate this with a new function and implore people not to use the old one.)

Sure, the pkexec bug is now fixed, but I expect we'll see another similar one eventually. I know I personally have written a lot of C programs that assume argc>0 and argv!=NULL, and I'm sure there are thousands of such programs.

I think returning EINVAL on exec in this case may be too much. I think the right move is probably for the kernel to just fix things up when exec is called in this way, so argv will always have at least one element, and that element 0 won't be NULL. I think any program that would break with that change is something I'd be able to live with.
Hopefully people would move to Telegram or similar stuff. Rather than locally brewed FB style behemoth. And I sure hope it wouldn't be vkontakte moving in :/

If that'd allow to emerge multiple regional networks that'd be interesting too. Maybe draugiem.lv would make a comeback!
Saying that mixins and callbacks are always incomprehensible is silly. They're just a way to pack up code and they can work beautifully. If you don't wanna use them you're gonna have to write the logic in some alternative way, so a bunch of service objects I guess? Does that automatically make code comprehensible - the fact it's using many small classes? I'm sure people can and are writing shitty services as well.
That basically it wouldn't gain traction because why wouldn't you just use rsync and a NAS? (Or something along those lines, I don't remember it exactly.)
I wish the Go community had a popular monolith framework that folks rallied behind using when necessary. Unfortunately it's a wild west of bodging together your own routing, config, auth, etc. and nothing is consistent.
Are Huckleberry Finn and Tom Sawyer in or out today?
Very funny, of course, but one can easily reply that those who do believe consciousness is a hard problem are just deluding themselves. Especially when (as is usually the case) a clear definition of the concept "hard problem" is not even given.
It's funny, in grade school we used to have "speed tests" where you had to add, subtract, multiply numbers as quickly as possible. I used to always do terribly, easily one of the slowest in the class.

Then I remember we got into high school and started doing more abstract math. The kids who were amazing at doing math quickly seemed to struggle with this, but I did just fine.

I'm not a mathematician or anything, but this article at least validates my belief that doing arithmetic fast in your head and doing more analytical math involve two completely different parts of your brain.
I agree with everything you say. I will congratulate any team member who submits a -2000 LOC commit, and at my last gig I used to run a twice-yearly code-reduction competition.

My point is rather this, and I suppose I'm not being clear: If a developer only ever submits tiny amounts of code --and they have no other responsibilities like design docs, mentoring team members, etc-- that's an indicator of a performance problem that should be looked into and discussed with the engineer in case there's an issue.

I'm in no way suggesting that, e.g., the developer who submitted 12K LOC last year is doing a "better" job than their teammate who only submitted 11K LOC. I'm talking about that person on the team who only writes 500 lines of new code in an entire year, and they trickle out tiny simple commits ever couple of weeks. Every team that I've taken over as a manager, I find one person like this, who pushes barely any code, and the code they do push is trivial, and they aren't doing anything else either.

People here are somehow suggesting that LOC is so meaningless, that somehow apparently a person can implement a new map routing algorithm in 10 lines, or implement a new 3D rendering engine in 10 lines, or create a new data-ingestion and validation pipeline in 10 lines -- because apparently LOC is a "meaningless" number.
Are there other wasm runtimes to consider? Why v8?
> About 20 states have their minimum wage at the federal minimum wage.

Minimum wage in those states is increasingly meaningless as almost no one will work for that wage. The longer the minimum wage isn't updated, the more irrelevant it is.

Seattle has a higher minimum wage now of $14.50, but it is also mostly meaningless at this point. Conservatives used to propose $20 minimum wages as slippery slope straw men, but these days that proposed wage wouldn't be considered a straw man at all.
Ruby is a wonderful language for other things outside of Rails. I'm old. I've done csh, bash, perl, tcl, and python for scripting and miscellaneous programs. Since discovering Rails, I use Ruby for basically everything now. The only miss I've had in recent memory has been needing to do heavy statistical work with R for speed reasons, but, then, you're not going to do that in JS (or anything else) either.
I totally agree. But I don’t think Facebook (or anyone else to my knowledge) gives the user proper control over their data. My fear is that by feeding them this information, they’ll be able to gradually manipulate me in ways I otherwise never would have been interested in. For example I noticed that YouTube gradually started pushing me conservative leaning self improvement videos a la Jordan Peterson and co. I have never knowingly watched that type of video, and now I’m getting “alpha male” ads for supplements and courses.
Is a computer going to ask why am I operating on this specific CPU and not on the other CPU that is located in a server rack 2 meters away from it?

To be honest, I don’t get what you are really trying to understand or find out here.
Are managers stack ranked too? If not, and assuming the whole scheme works[1], then steady state is accumulation of bad managers, while they keep firing above-average ICs (that are still in their bottom 10).

1. It doesn't work, obviously because they are not in a closed system. Their policies affect their reputation, which will affect their ability to hire ICs who have to contend with an increasingly higher bar to clear.
If you want to make an app from scratch, you must first understand the universe.

This is a ludicrous approach for most. Sure, if you learn from reading and love to read technical manuals, go for it. But to imply this is the best way for most to learn is completely ridiculous.
It's not clear from that quote if they're talking about code calling execve(,NULL,) or a program expecting main() to be entered with argv[0]==NULL.

(edit: found an answer here: https://lwn.net/ml/linux-kernel/5e963fab-88d4-2039-1cf4-6661...)

multicall programs will try to use argv[0] and might
crash in this scenario. If we're going to fake an argv, I guess we should try to do it right.
In Ruby it also works a simpler version:

(Date.yesterday .. Date.tomorrow).include?(Date.today)
The world we live in is one where nobody is forced to buy an Apple product. If you don’t like what Apple does, don’t buy their products.
A whole platform change just because the Biden admin had an abysmal downvote ratio lol.
Keep in mind HN junkies: We're debating this on a site that allows downvotes. It seems many think this will be a terrible decision yet, here we are. I find downvotes on HN to be very effective at guiding the discussion, maybe it's because the culture here is still homogeneous.
They can’t use your Facebook account or something else for that? I’m pretty ignorant about ad tech, it’s something I’d like to learn more about.
Amazon Prime Price Increase
Absolutely. But I suppose if you still hold some vested stock, it might mean you are optimistic in spite of the high exposure.
> All ads are useless

I don't think I've ever seen someone say this. People hate that they make the internet impossible to use. I have a family friend that runs a small business and all of the revenue comes from ads on the websites they run. I hate using their website because of the ads.

Pop-up that takes up the whole screen asking to subscribe, auto-play video ad, content moving as ads get loaded slowly. It's all just awful to use. The ads are absolutely effective though.
They should take Windows 95 approach and try to detect programs that need special behavior, perhaps even include a list of binary names. This goes against the ethos of clean elegant solutions that the FOSS world likes, but at some point we have to realize that the kernel is enterprise code, and we need enterprise solutions sometimes (read: hacky).
Throttling and Blocking Bad Requests in Phoenix Web Applications with PlugAttack
Work, Work, Work, Work, Work
Love this prompt!

In theory Raspberry Pi could be a perfect kid's computer, but the software side still needs help to make it a useable experience for younger ones.

Here's an example of a super simple app that I made trying to solve that problem for a very tiny use case: https://medium.com/@kfarr/part-1-babypi-a-simple-raspberry-p...
I think for many people NextJS or Nuxt should really be the first choice rather than going for e.g. Create-React-App or some generic boilerplate.
The up front cost is only one part of the story.

Siting a conventional MRI is pretty expensive (often requires a new build 6 figures for sure) and operation costs can run up to even 5 fig/month for powerful ones.

They could probably get one of these out the door for approx 100k. Clinical scanners are typically 10x+ that.

Siting cost would be next to nothing, and operating costs low too.
Rookie mistake, internal transfers after performance review not before. Also, pretend you’re happy there and will be a loyal worker right up until the last minute.
The same argument could be made for using Angular as well. Just because a framework is opinionated does not make it bad.
Don't Be a Data Science Generalist
I'm doing the same as paulcole. If I already want to buy things, like a new table for my living room or new tiles for my bathroom, then I do want to see what's on the market beyond my bubble. That's not because I'm manipulated into buying them[1]. If I see a new ad and I like it, I do check if I can get same product for a cheaper price from a company who's ad budget is not baked into the price.

Basically I can use targeted ads as a free product discovery engine. Seeing an ad doesn't mean I'm going to mindlessly buy it. I know some people do that, but there's a way to make use of the situation.

[1] there might be an evil conspiracy among kitchen table manufacturing companies who teamed up with Hollywood producers to sell me the idea that I want a loft style new kitchen table :)
You personally don't have a say but the market does. If it artificially costs more to produce a good, the market would ideally find a way to produce the same good in a manner that doesn't involve heavy carbon taxes. For carbon taxes, the company can either eat the cost and cut into profits or pass it onto the customer and hope their goods are inelastic enough to still make the same margins. If the demand was elastic, a company may decide to either not make that product any more or find a way to make it so that it costs less than the carbon taxed version. Unfortunately, researching new processes costs money and a company may just decide it's cheaper in the short term (which is only what Wall St thinks in) to just continue business as usual.

The problem is that at the end of the carbon tax equation, what does the money go towards? Can we significantly offset carbon emissions with the tax income? Is it already too late? Without some significant rebalancing humanity's greed and feelings towards nature, I'm not even sure any of this would ever work.
Yeah... one reason I don't use cake mix because by the time you have to have do the egg part yourself, you may as well just mix the rest too. Everything's a totally normal ingredient any minimally-stocked kitchen will have—which, the egg is too, but it's the messiest/fiddliest ingredient involved (not saying it's rocket science to crack a damn egg, but everything else is easier and less error-prone).

I might use it, sometimes, if it eliminated the egg step but still tasted good. I suspect it tasted like crap.

[EDIT] Should have written, the messiest and fiddliest ingredient necessarily involved. Chocolate can be much, much worse if you're melting bars rather than using powder, as can some other things that may be in a cake.
Interesting.

Ironically the reason pkexec exists on Ubuntu server installs seems to be that they want to have a package management service (PackageKit) hanging off dbus even in headless setups, for reasons that aren't obvious. There have been earlier local root bugs caused by PackageKit as well[1].

(The irony being, the LWN documented discussion where a dev defends ipc-accessible privileged daemons as more secure and justifies pkexec as facilitating access to these).

[1] https://ubuntu.com/security/notices/USN-4538-1
I disagree that hidden downvotes are generally a terrible idea. Downvotes should probably usually be hidden and used as a measure of whether to surface information - except when that information is factual. Twitter contains absolutely nothing except opinions and thus visible downvotes are useless there.

There are other platforms (like YouTube) where downvotes make a lot of sense because users post guides and tutorials where the downvote ratio is a good indicator of how accurate or useful that guide is.
On HN, downvotes are reflected by greyed out comments. The main thing people are complaining about in this thread is that the Twitter downvotes will be opaque.
You're right, I just realized my VPS doesn't provide a public IPv6 address :(

I've removed that record at least; thanks for the heads up!
> If you're coming from C, I understand that 11MB seems like a lot to you. I've done quite a bit of serverless Node.js, a relatively slim docker image is always a few hundred MB and can easily stretch to a GB. However, I don't consider using C a viable alternative for that purpose.

As someone who's worked in a number of stacks with higher abstraction levels, i can more or less confirm this. When you add containers in the mix, it gets much much worse, file size wise, even if i think that the increased reproducibility is definitely worth it in many types of deployments - mostly because file sizes have never been a primary concern for me, but misconfiguration and inconsistent environments have.

Now, nowadays i manage to keep all of my apps under 500 MB when shipping the full sized containers, typically they're in the 200 - 300 MB range: apps in Java (which need JDK), apps in Ruby (typically with the default interpreter), some .NET ones (at least Core, or .NET 6), some with Python (CPython) and Node.js etc. Of course, using Debian or Alpine for container base images is also a pretty good choice in regards to file sizes!

Of course, the beauty of all of it is that you can take advantage of layers - if you base everything on the same old container image between any two releases (or maybe have an intermediate layer for updates which may change) and only your ~50 MB .jar app changes for the most part, you'll be able to just ship those layers instead of shipping the base image all over, at least in most Docker registry implementations.

I guess that just goes to show how much variety and difference in opinions/concerns there is out there! I think GraalVM and other technologies (project Jigsaw in Java comes to mind IIRC) have the promise of even smaller deployments with stripped down runtimes even for these higher abstraction level stacks, but that's hard to do due to how dynamic they can be (e.g. class loading, reflection etc.).

From where i stand, Go is amazing in that regard, as are lower abstraction level languages.
> like you said, there's always going to be security issues and using them as the scapegoat for "why" this can't happen is a bad argument.

No it isn’t. If you agree that there are always going to be security issues, then there is no reason why customers shouldn’t be able to choose a product where human moderation is used to mitigate them.

You haven’t made any case as to why customers should be denied this option.
the Endeavour was sold to private ownership 2 years before she was scuttled. So I do think a red ensign would be appropriate.
Technically, what you described is not a chronological feed then.
> Too many versions, too much change, too many contradicting "opinions" between major versions

Tell us you haven't used Rails much without telling us you haven't used Rails much. There's been precious little I've needed to change in my approach since the 3.x days. The new TurboJS world they're baking into 7 sounds significant though.
compiled LUA interpreter and runtime is pretty slim - but we're glossing over the reality that LUA is a drastically less functional language than golang - much in the way LUA is less functional than C.

I think to each their own - it is possible to have a lua app compile down, including the interpreter, to sub-megabyte size, but a 10k LOC lua app could probably be a 200 LOC golang app with some libraries pulled in.

I shudder thinking about the development cost of building and maintaining a lua codebase but if you had 100 million client devices running your code (say a wifi lightbulb) then it might make sense to save on client device and put that money into development of something very bespoke to optimize it.
Here's three:

- https://www.sofi.com/invest/buy-cryptocurrency/

- https://gemini.com/

- https://coinlist.co/

These business have been around for quite a while (in technology terms) and each are trusted by many with managing cryptocurrency valued at billions of dollars.

And your answer will invariably be some new threshold to move the "trust" goalpost to next.
Another variation, inspired by nautical signage: https://simplebits.com/products/ships-whistle-font