skysight-inc/HackerNews huggingface dataset:
Because halting every time after the memory error happens is better than the system operating under the false assumption that the pointer is viable.

Then they can patch it and re-deploy.
Marijuana is actually a terrible example of your point. As recently as 2000, the public wanted marijuana to be illegal 2:1: https://www.pewresearch.org/fact-tank/2018/10/08/americans-s.... Opposition to legalization topped out at over 5:1 in 1990. The numbers only flipped, among the general public, in 2010. And when it did, you saw a wave of legalization across the country. And note that the typical voter skews older and more conservative than the general public. So the flip for voters probably occurred just a few years ago. Government in a country of 300+ million people doesn't move quickly, but marijuana is a good example of policy that has been very responsive to public opinion.
I don't mind OSX - honestly there's bits of it I do genuinely like. But it's blind-sighted fanboyism that really does the platform harm.

> keybindings

Honestly, I find Mac OS keybindings and keyboard layout the worst thing about using Macs. Yes it might make some sense but when literally every other platform on the planet follows the same standard apart from Apple, it then makes Apple the ugly stepsister regardless of how rational it might be on paper.

I mean if you only ever use Macs then I guess you might like it, but for anyone who swaps between systems (or even just wants to use a non-mac keyboard) it can be very annoying.

> file history

You can have that in Linux

> Cmd-? (how do I do that on Linux?)

shrugs maybe you can't. But that's just one feature. As a counterargument I could list a dozen things that are in Linux that aren't in OSX. Like up to date core utils and proper package management. Which are just about the two most important things on a dev machine - far more important than Cmd-?. And sure you could install GNU core utils via brew, none of that is part of the default OS X build - which matters because the whole basis of your argument was that OSX has better defaults.

Ultimately though I don't see the point in nitpicking each OS - feature by feature.

> finding files

I'd already disagreed this in my previous post after you made that claim earlier

> MacOS can recover from memory pressure fine. How do I get my linux machine not to effectively crash if I run an app that happens to use too much memory (technically it just swaps itself to death, in practice reset is the only remotely timely way to recover)? I've tried any amount of tweaking, but turns out that you can't turn off overcommit and swap completely, even if have lots of memory, things will just break randomly (chrome for example).

The problem there is the application. However Linux will just kill the last process that over allocates memory. If you're getting the kind of symptoms you've described then you've either fiddled with your swap file settings (so not running defaults) and/or you're running Linux on some pretty awesome spinning disks while comparing it to nice fast SSDs on OSX. Either way, you're not comparing like for like.

> Can you point me at something on linux that comes anywhere close to spotlight/mdfind?

There's loads. Krunner, for example, has all the same features as Spotlight plus supports plugins to extend it. For example I can run math calculations in it - which I haven't yet worked out how to do in Spotlight.

> For what it's worth: I'm using both linux and macOS daily and am both productive and reasonably expert with both.

But do you actually use desktop Linux on modern hardware? Or are you just running Linux on a few servers and guessing about the desktop experience. I ask because your comments were valid about 10 or 15 years ago but really aren't the case any longer.

> That is not to say that linux isn't more ergonomic for certain things, but in my experience they tend to be mostly limited to things only programmers would care about

This I do wholeheartedly agree with.
They aren't describing a specific culture, though, they're describing Google's general culture, the everyday experience.
https://github.com/groovy/groovy-core/blob/master/src/main/o...
We're never going to get this sort of federation without legally requiring of companies; the large content creators would hold out.

Seems like a requirement for common selling price might work, if you sell $show using the demos's copyright system then we demand you sell to all buyers.
The PATRIOT act was named by the people who concocted it. The term "social justice warrior" was not created by activists or people involved in organizations working for justice in our society.

So, no. One is self-branding. The other is other-branding.
> I explained and then he was like, ok.

Awesome! Mission accomplished!
That overproduction is protection against famine and blight would have been a valid point 100 years ago.

Most of what we overproduce is wasted. We import and export food now. We know how to preserve and process food now. Or converted into processed food. For example: high fructose corn syrup is everywhere. And it’s a lab created by product of our excess corn production. Overproduction and cheap food is causing disease and obesity and waste and environmental degradation.

We can synthesize food in fermentation tanks. We can grow food indoors and in containers and without soil. Having said that..it’s important distinguish between the various kinds of crops we grow..commodities like corn, wheat, rice, cotton, sugar beets, canola, soy etc. and then we have tomatoes and kale and herbs and spices. Everything can be frozen, dehydrated, processed and rationed. Every tilled field extracts a cost from the soil. Every pass of the tractor or every cross country trip to deliver goods is a fossil fuel expense. We haven’t figured ways to use renewable energy in Ag. We save water through drip tapes but we use mountains of plastic. Not to mention the tractor runs to lay it down and to remove it. We grow food without soil and save water but we use electricity with indoor productions.

No matter how you see it, production extracts a cost. Over production is more expensive. Over production a population that is growing exponentially costs even more. We should predict our needs(possible now), forecast expenses(possible now) and budget and ration resources..especially non renewable resources and not fritter them away with wasteful food over production.
Author here.

The problem with that design (which is a great design given what I presented in the article by the way!) is that it doesn't allow you to share handles across callbacks, which is mandatory to do anything interesting. I'm assuming here that you can't use the handles except for that callback context. If you can, then that presents a different problem.

https://play.rust-lang.org/?version=stable&mode=debug&editio...

If you can own a context, even with a lifetime parameter it's possible to leak it using the Box api. That allows you to have access to a &'static CallbackContext. This will break that assumption that it only lives as long as the callback itself.
“What I Learned from Doing Amateur Porn” in the '70s
But you use the service, just not 24/7 or to the maximum capacity. And you might subscribe because it gives you other benefits.

E.g. I have an Office 365 subscription. I haven't used Office in forever, but it comes with 5Tb of OneDrive space (family account), so I keep the subscription to store my photos. However, I've filled less than 100Gb so far and I'm sure my family has even less than that. Same thing with Prime, some months I buy a few things things, others nothing at all. But I know that every package arrives the next day, so I keep the subscription.

TV content is a bit special in this regard, true. However... If you keep binge watching, how long until you have nothing else to watch? Would you not cancel your service, then? The service is then _forced_ to keep delivering new quality content at the same speed that you watch it. Maybe Apple doesn't want to play that game.
Moreover, maybe mice shouldn't stand in for humans because it might just be as unethical to experiment on then as it would be experimenting on humans.
Larry and Sergey were having affairs with subordinates since the early days, and even as recently as 2014. So maybe the culture was never really that squeaky clean in the first place. I never heard about them retaliating against anyone, or any complaints being filed against them. But . . . would you hear about that? I don't know.

I wish I could say that I don't know anyone who this has happened to. But that wouldn't be true. I know of at least one person who has experienced retaliation at Google. She left the company for a while, but ultimately came back.
I'm not sure in which martial arts you dabbled or on which circuits; could you clarify there? Different martial arts are very different in on what they focus. Some don't really spar, some do. That doesn't make them better or worse, that means they are different styles with different foci.
So please tie this back to the case on hand. Because I see little nexus between employees advocating against AI arms sales to some „individual“ or „collective“ right, unless it’s the individual war lord‘s right to aerially decimate the collective.

Alternatively, maybe „SJW“ is just a pleasantly blank canvas, pliant to change meaning to whatever is currently needed when one is unwilling to argue the actual case? With the added benefit of inverting the usual moral framework, because arguing for what’s considered „good“ now becomes the meat of the charge against the speaker.
I love apples.

But for the longest time, starting about 20 years ago, I thought I had developed an allergy to apples because no matter what I did to clean them, including peeling the skin, I still had a badly itching throat and all my "usual" food allergy symptoms.

Then after I bought a property that had wild apple trees and i found that I could eat the sweet ones with no issues, and could also eat the apples growing at a friend's house, I realized there was something being sprayed on commercial apples that I had an allergic reaction to.

In short, the less crap that's sprayed onto my food, the better. So yeah, I'd rather pay more for cherries (I'm allergic to raw ones anyway!) than have to deal with the side effects of whatever water repellent is applied.
They would have had a technical drawing of the top lid, which (if it was a mould drawing) would have shown the various ribs. Put a sheet of Vellum over the top, sign it, then use a graphics tablet (Summagraphics were around back then) to digitise it into a CAD workstation.

Heck, if you're cheap, use two pots to make a two-piece digitiser arm and scan it that way (Mike Cook wrote an article in BBC Micro User back in the 80s about this). Measure the angles then do some geometry to figure out the Cartesian (X/Y) position of the arm. Create a point cloud, join the dots.

Once you have the outline, creating GCode would be a relatively simple task (for a computer).

Also I don't think the ribs are for support, though they will certainly do that. To me it looks like they're to allow the plastic to flow into the mould faster.

Hunt down the "Engineer Guy" video on injection moulding if you're interested in the details. It's a fascinating process. Simple concept, but the devil is very much in the details.
> I see the same issue on Instagram for very specific issues you cannot report profiles.

It came up recently that in order to report an imposter account, you have to tag the person who the account is impersonating.

So if that person doesn't have a known account, as is the case with Katie Bouman, there is no in-app mechanism for reporting it. Even when the issue was brought to them directly, Instagram asked what her main account is:

https://twitter.com/oneunderscore__/status/11168119898195107...

The result is that a redpiller with tens of thousands of existing followers from previously impersonating others using the same account is allowed to call himself and operate as the "official" Katie Bouman account. It's a great system.
I don't really understand in detail how insulin pumps work, so I want to ask why are there not commercial closed-loop systems available? It seems like an obvious development that pump makers should have implemented a long time ago. Is there a complication that makes it harder than it sounds, or is it something like regulatory concerns or just plain laziness?
Gp might be sarcastic
https://en.wikipedia.org/wiki/Social_justice

"Social justice is a concept of fair and just relations between the individual and society. This is measured by the explicit and tacit terms for the distribution of wealth, opportunities for personal activity, and social privileges. In Western as well as in older Asian cultures, the concept of social justice has often referred to the process of ensuring that individuals fulfill their societal roles and receive what was their due from society.[1][2][3] In the current global grassroots movements for social justice, the emphasis has been on the breaking of barriers for social mobility, the creation of safety nets and economic justice."

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

"Ethnic cleansing is the systematic forced removal of ethnic, racial and/or religious groups from a given territory by a more powerful ethnic group, often with the intent of making it ethnically homogeneous.[1][page needed] The forces applied may be various forms of forced migration (deportation, population transfer), intimidation, as well as genocide and genocidal rape."
My question about Facebook data is regarding historical research. If Facebook is around for 100-200 years, is there a point at which my data should no longer be protected and private? Should historians have access to Obama's private Facebook messages in 150 years just like we have Washington or Jefferson's private correspondence?
At a glance, smithay depends on wayland-server depends on the official wayland libraries. More specifically the issue that makes this necessary is that it's the only way to get an OpenGL context (AIUI - it's been quite awhile since I worked on this).

Rust is special in that's it's even worse at representing it, but the C controlled event-loop/fd-based-dispatching/ownership model wayland uses isn't idiomatic in any language other than C. Maybe wlroots makes this better, like I said I've never used it and can't speak to it.
There is a difference between undermining your colleagues and acting in solidarity with them.
Yes, service companies usually sell for 2-3.5x annual recurring revenue (ARR), which is measured by averaging your last 3-5 years of revenue.

And you'll need to be easily replaceable.
I would say Finland has a moderately strong horse culture. Harness racing [1] events remain popular, and using horses in low-impact landscaping and forestry has seen some resurgence [2]. Finland also has its own breed of horses, the Finnhorse [3].

1. https://en.wikipedia.org/wiki/Harness_racing
2. https://www.youtube.com/watch?v=hylOZ8M68iY
3. https://en.wikipedia.org/wiki/Finnhorse
Cable never really had a monopoly. There were always at least two satellite providers. And since the early 2000’s, the local telecoms have offered to a large part of the country. Every place I’ve lived in has had 4 options since 2005.

They all offered the same channels and mostly competed on price.
The biggest and most widely deployed projects are open-source in the internet.
Wordpress
Apache
PHP
MySQL
Ask HN: Bad idea to sell to geeks before enterprise (starting off B2C)
So we’ve built a product that seems deeply resonate with the hacker community (we built a next/gen RF device). We have dozens of peer-orders and even small business LOIs for significant quantities which is all super exciting after just a week or so of marketing. But we know that in order to be a venture-backable company, we need markets much larger than hobbyists and hackers. Has anyone else ever started their startup by serving the hacker community then using their support and product feedback to evolve to a primarily enterprise business (we already have deals there too much slow sales cycle threatens to kill us at this stage if we don’t start making some revenue and selling to hobbyists seems like the obvious choice).

So do we start serving the market that wants our product today or do we focus on the large customers who will ultimately be what makes or breaks us? Is starting off B2C a mistake?
> > [the resource handle] can only be dropped between event callbacks, wlroots/Wayland is callback based

Thanks, that certainly makes a hell of a lot more sense.
Doomed for whom?
If you need software to control the heated seats in your car, I don't want that car.
Author here.

This output is attached to a callback parameter, but you can takes this resource from the callback in C (because it's just a pointer you copy around) and use it in other callbacks. Eventually a "special" callback that will trigger to indicate that the data the pointer refer to will be cleaned up and you need to remove all of your references to that resource because otherwise they will be dangling.
Smithay has both a pure Rust and libwayland-based implementation, you can pick iiuc.

And the OpenGL problem isn't fair, OpenGL is such a flaming heap of poor design that binding to libwayland to use it is the least of your problems. Better to use Vulkan instead for this purpose imo.

Event loops are common in many languages.
The Information Pathology (2018)
good ol C :). Thanks for sharing these experiences. Happy to see some example of the places where rust still falls a little short / is a bit too restrictive for system programming. a lot of people deny this, but there's plenty of situations where you just want plain old C for it's straightforwardness to implement your own design. if you want to do it the 'rust' way, you find yourself restricted in all kinds of ways. if you can live with those restrictions it's great, but sometimes you just get stuck. Good luck on the rebuild in C!
Definitely. So often, whole articles and even much of the ensuing discussion will be using project names and acronyms that I don't know about. A sentence or two of context, or even just links going off to the project/acronym the first time it is used, are wonderfully useful for the wider audience.
I've always felt that it's good to let people know if you have a problem BEFORE ditching them. If they don't change, then I can leave with a clean conscience. Sometimes they decide to change, sometimes they don't. When they don't, sometimes they change after I leave, sometimes they don't. This is the normal back-and-forth between parties that won't always agree.

I don't really see a reason to be upset at communication and get angry about "appeasement".
It uses http, not https for this -_-
US economy feels like the 90s but with more inequality, less downturn resilience
> ...I would argue unions don't do NOT do good job at preventing retaliation outside of jobs with very specific and prescribed career paths and etc....

> If there is any room for an employer to make a judgment call then they can make it, and a union has limited ability to deal with that...

US-style unions are really only just once instance of "unions." I can imagine another instance, where the union itself is both independent of the employer but also has a significant power in promotion decisions, that could deal with these situations better. That's getting toward a decision-making structure that formally represents multiple stakeholder grounds instead of just capital and its representatives.
Wow -- that is some ugly code. Why couldn't they use a single varargs method declaration? Does this code need to support older Java versions that lack varargs support?
How does Rust handle these problems in the context of file I/O? I'm sure there is an axiomatically idiomatic (official) implementation of it as part of the language distribution, and at the same time file handles seem conceptually very similar to display handles and should have similar failure patterns (space can run out, a disk can fail, a plug-and-play disk can be yanked out at any time...).
Can we stop the jousting match here? If this were a website for teenage hobbyhorse enthusiasts I'm sure it would be old news. But it's interesting to people who haven't heard of it before. It's OK for others to like things that you don't. There will always be some of that on Hacker News and the most polite thing we can do is leave others to their enjoyment.
Tesla Model 3 vs. BMW M3 [video]
The cost of missing out on any one show, even a popular one, is not even approximately “not being able to participate in popular culture”.
A Guide to Starting a Publication on Medium
'The woman who accused Allan said he had raped her multiple times over a 14-month period, and that she did not enjoy sex with him.'

'But the text messages show her directly contradicting these claims. In one message, she wrote “It wasn’t against my will or anything.” She also continually asked him for more sexual encounters and discussed rape fantasies.'

Note: this woman's anonymity is still preserved, and she has apparently faced no punishment whatsoever. The UK seems to have a flexible attitude as to whether a false rape accusation should be considered a crime.

https://thefederalist.com/2018/01/11/liam-allan-falsely-accu...
Of course you don't understand, cause you completely slaughtered his argument.
> If HN ... helps you progress, spend 30 minutes a day on it.

Using the "past" feature [0] is a great time saver in this regard. Let people with more time do the real-time curation, and focus on the results of their efforts. The link is on the main menu between "threads" and "comments".

[0] https://news.ycombinator.com/front
I love the amount of control we are using over our devices. It is not like people can do anything malicious with it.

Anyway; so like Apple (less and less luckily), Nintendo forbids editable code to run on their devices? Or is it allowed if there is a gaming aspect involved? Or just not at all?
Definitely, the sole fact of reading every day what I want to do every single day already makes a huge difference!

Awesome, feel free to shoot me any feedback! ;)
Oh, the Many Ways to Make Triangular Breadcrumb Ribbons
> The apps would be tied to the game itself, and would only be able to run when loading up that game, but you can see why Nintendo would take issue with its implementation.

I have a few guesses, but no, I don't see why Nintendo took issue with this. Is it because users could damage their devices with access to something like this? Is it because this could somehow be used to undermine Nintendo's DRM or cheat in online games?
interesting... what does it log?
I'm really more surprised that a truck with a boom-mounted rotor that simulates helicopter downwash wouldn't do a good enough job. Clearly someone has to have thought of that (note that they already tried fans), so I wonder what the difference is. The operational costs have to be a small fraction of a helicopter's.
US Pharmaceutical companies have a very high profit margin and spend a significant amount of money on advertising - in addition their research is subsidized or outright paid for by the US government, many of the drugs they produce they have had to invest nothing for research of - including that cash cow insulin.

(Commentor works MedTech adjacent)
Looking at my bank account statements, it looks like it was $42 for the last two months, and $52 for the two months before that, so that's after taxes/fees.

It varies based on usage, and we're fairly light on data, so you might see higher numbers. (No cap, but if you use more you get billed more.)
Can't tell you how many times this happens to me with my gmail account. I'll sign up for something I actually want to receive, and then Gmail just decides to block the email before it even gets to my spam folder.

It's the most infuriating thing about email today.
Scientists get to the bottom of a ‘spitting’ black hole