skysight-inc/HackerNews huggingface dataset:
Another version of hell is a checkbox being replaced by 2 radio boxes. But on page load none is selected, so UX changed 2-state piece for 3-state one (a small win is if they are at least grouped together so only 1 can be selected).
FTA: Sixteen by 16-bit register array

Sixteen registers? I wonder what do use those for in their Forth? https://udamonic.com/uploads/1/2/1/3/121343112/scamp2-ff-uda... mentions a “p register” and an “a register”, but they must have lots of unused ones.
Your secret is safe with us ;)
Best strategy when company/product domain is taken
I want to launch a saas company, and found a name I really like. Unfortunately, the usual domains (.com, .co, .io, .dev, .app) are already registered, though they are all available to be purchased from the respective owners (unfortunately though the cheaper one among these domains is 5k).

Now, I could simply find another name for my app/company, but pretty much any other name I look up, I find myself in a similar situation about the available domains and prices. Therefore I was thinking to go ahead with my name, maybe by having a less-optimal domain to start, and then one day eventually buy one of the “proper” ones from the list above.

I wanted to ask what’s my best option, whether to settle for a more unknown domain, or to add a prefix (eg. “get[myname].com”) or suffix (?) to my chosen name. What are the most common choices? Is there something I should keep in mind? Thanks!
> humans won't need to do "work" for all of our needs to be met. Ie, we can all go on perpetual holiday and/or work on things we truly love.

Unfortunately that's sci-fi utopianism - capitalism doesn't work like that. We've made enormous productivity gains over the past century, and yet we're still all working roughly the same hours (albeit with some additional worker protections) as workers back then, many of us at "bullshit jobs" that don't really need to exist.

When our sectors are automated, guess what - the only people retiring early will be those who own IP or have stock in the corporations who own the automation. Those automated out of jobs will have to find something else to do.
I have not found any news that would support that claim. They sold more vegan products in 2021 than meat products, but nowhere can I find anything that they aim at selling only vegan products.
Perjury
when one teaches, two learn

This is mostly true for peer-to-peer teaching, but it's not necessarily true when the teacher and student have different goals, or when there's a huge gap in skill level.
There are many instances where the default is set at enable fnurbifucation with white text on a black background. Disable is shown as black text on a white background. When you change the state the text and background color inverts.

There is no way of knowing for certain what position is on and what is off without assuming that the first displayed state is on.

I believe recently I setup a nest with this issue. There is no way of knowing what is specifically selected unless there are three options. With three exclusive options you can compare to determine what the current state is because two of them will look the same thus must be off.

Ti-89 93... calculator settings can have this issue but some of the options have 3+ states and once you see the schema it's quite easy to deal with.
No, we just need to build more of them.

Renewables started being competitive fairly recently and you can't just magic solar panels and turbines out of thin air, they need to be built. And we're rapidly building them.

Which by the way, the very reason why we're having this conversation. If nuclear was such a great proposition, people would go and build it. We wouldn't be having silly arguments about its worth on websites that affect nothing. People with billions of money to spend and who expect juicy profits don't need Hacker News' validation.
Indeed. Also, scripts (especially Dockerfiles) which run `apt-get install foo bar baz`; usually mixed in with a bunch of other commands, and file copying/editing. That's literally what package formats like .deb, .rpm, etc. are for! For example:

- Write your dependencies in a `my-package/DEBIAN/control` file

- If you want any extra files, put those in your `my-package/` folder too (e.g. `my-package/etc/some_config_file`, `my-package/usr/bin/some_executable`, etc.)

- If you want to run other commands, you can write a `my-package/DEBIAN/preinst` and/or `my-package/DEBIAN/postinst` script

- Run `dpkg-deb --build` to make your .deb file

Voila! Using a declarative format gives us an uninstaller "for free", lets us query which version is installed, and the installation will notify us of any conflicting files. Packages also tend to be more robust across different machines/environments, and don't drag in a whole extra OS plus VM/container-manager/etc.

More features are unlocked with a little extra specification, e.g. package conflicts (to avoid known-bad setups); dependency alternatives (e.g. prefer Caddy, accept Nginx, fall back to Apache); etc. I'm sure there are more quick-wins too, e.g. Googling gives me https://www.internalpointers.com/post/build-binary-deb-packa...

Disclaimer: Whilst I used to use Debian heavily (even on my phone!) I switched to Nix/NixOS about a decade ago, which I find even better. It's just infuriating to see the industry ignoring well crafted solutions, which have been around for decades, in favour of half-baked anti-patterns like Dockerfiles. Especially when the latter is often just a layer of crap on top of the former (like running `apt-get` in a script; rather than what it's designed for!)
If it’s served by 64 bits it’s probably served by 60 right? 64 bits is too few to generate randomly.
I only see something similar when using wifi; disappears on ethernet.
Is this an AI generated article?
The military could use them as unarmed sentries that patrol and fill blindspots in coverage. Have a few that work shifts and tag each other out when they need a recharge. Drones are nice for this too but they're loud.

Could also be unarmed partner for cops or security that can record video and grab.
(Derailing this troll-initiated thread a bit with a serious answer)

> what’s the formula for quicksort

That is expressible! It’s what one would write in a proof assistant or powerful type system such as Coq, Agda, Idris. The formula is the algorithm, the type is the theorem (quicksort has type any-list and maps it to sorted-list, or in code – literally – `quicksort : Ordering(A) -> List(A) -> SortedList(A)`).
Reminds me of the IEEE 1394 days.
https://www.rfc-editor.org/rfc/rfc2734
> ethical reasons

I like the consequence of murder; the texture, the taste, the blood, the everything ... but not the bit where something actually dies.
Wagamama and Nando's are arguably the only two big casual dining chains that people actually enjoy eating at. All the others are pretty unpopular (and rightly so, the food is often terrible): Pizza Express, Frankie and Benny's, Pizza Hut, Chiquito...

Nando's social media and culture presence is impressive for a restaurant chain of its size.
I think that might be the underlying… misattribution(?).

Almost no macOS screens have ever worked like that. Their interface guidelines have always recommended against it.

> ...all changes that a user enters in a dialog box should appear to take effect immediately whenever possible. — macOS 9 guidelines: http://interface.free.fr/Archives/Apple_HIGuidelines.pdf

Following Apple’s sensibilities will get you both toggle switches and instant changes, though I’m not sure there's a connection within any single interface.
I had a used late 80s VW GTI with a starter disable switch. It was actually a circular key that would pop out under the steering wheel.

The lock did a couple of things I eventually figured out…

The engine would turn if it was Locked but it wouldn’t start. And it oddly locked the hood (which was a relief to discover the latch wasn’t in fact broken)

My car too was never stolen but it was broken into as well.
> True, but it's not completely bleak either. I once wanted to take out $40 from an ATM, and it gave me $60!

One time, I wanted to take $40 out of an ATM, it gave me $80 instead. I checked my Internet banking - they had the ATM withdrawal at the expected location, but only for $40, which is all I’d asked for. Then, a few days later, I got another $40 debit transaction, but of a strange type I’d never seen before - it was labelled something like “MANUAL ADJUSTMENT”. I assume someone at the bank had worked out that the ATM screwed up and manually corrected it.
I really like micropython for the quick and dirty prototyping, you can use the REPL and send some bytes over SPI interactively. I tried it on the Raspberry Pi Pico and NodeMcu.
Currently, I'm using a Raspberry Pi Pico W with micropython to count pulses from my power meter, to log my consumption.

https://www.raspberrypi.com/documentation/microcontrollers/m...
What does that have to do with anything?

My argument isn't that nuclear doesn't work as a technology -- it obviously produces power. My argument is that building nuclear is not competitive, and that's why nobody is building any.

If you already have a working power plant obviously it can and should be used. Somebody already footed the bill for that one, so that problem is solved for that particular plant. But that has nothing to do with whether building more is a good idea.
Exactly. So what is the best approach here? Ignore it? Pretend to be of good faith?
Something tells me if someone opened a pull request to rewrite 90% of UI, it wouldn't get merged.
I use the file system, but rarely use the mouse on it.

I wouldn't mind a combination between a file explorer and a terminal window.
Check this article on how investors can start a UAE free zone company.
I do not want to pretend that it is not part of the equation in US, but I am genuinely unsure how big a factor it is and if the argument makes sense.

Anecdotally, people in my social circle go for food that is socially acceptable in that circle. If 'low impact' food became a thing, price would have less influence on it ( kinda like every teen has to have an Iphone -- I am exaggerating a little - or when driving a small sedan in US means you are poor ).

There are all sorts of minor dynamics that are underexplored in that arena.
Wait what??? I used MusicBrainz for all my Audio and it works great!
Disable skub [O##]

https://pbfcomics.com/comics/skub/
I can either tell you or you can know, but not both
I don't know, likely at very least they would take away the clearance. That was all over thirty years ago now and I have nothing to do with anything that requires a clearance any longer so I'm not overly worried about it at this point.
I've always wished we had a common phrase like 'synthetic intelligence'. People are always saying certain systems lack the complexity to be considered artificial intelligence, but to me artificial intelligence is anything that is mimicking intelligence, like AI in a game or rudimentary chat bots. Synthetic Intelligence would be more of what people consider an AI now. It has intelligence, but was created. I think the word 'artificial' is no longer accurate, it implies that it seems like, but is not intelligent. Simple animals are often attributed intelligence, I see no reason that a complicated program can't reach that same level.
BD is making breakthroughs. Son/Softbank selling it to Hyundai will be one of the biggest tip to the Korean manufacturing scene. I am sure Elon Musk would have rather bought BD (40 times over) instead of burning $44B on Twitter. It’s also why he faked his stupid robot launch shortly after the BD acquisition.
They will investigate your background, whether you have any ties to family abroad by which you could be blackmailed etc.

An acquaintance of mine (from East-Germany) had a US boyfriend who started to work for Lockheed - in the interview he was asked "Why doesn't your Eat-German girlfriend answer her phone?". She said she got some calls from an unknown number and didn't pick up.

Edit: I meant Eastern Germany, after unification (but her parents lived in East-Germany, i.e. the GDR) my bad.
> they are designed in a way where they do offer encapsulation

They are very intentionally designed to represent unencapsulated data. Records can have non-trivial constructors, but they all have a public canonical constructor, and while you can do strange things in your constructor and accessors (we needed that for technical reasons), the JEP/Javadoc/tutorials warn you against doing so, and that the reasonable assumption is that you don't.

The invariant is that if you have a record and deconstruct it using a deconstructing pattern, then you can also reconstruct it to get an object that's equal to the first by using the public canonical constructor. You can break that invariant, but libraries are allowed to assume that you don't.

> If you can use them to encapsulate certain forms of behavior, e.g. by declaring methods for state transitions, then with{} block will be a change in their interface.

But you can't and so it won't. All (public) records have a public canonical constructor that you can use regardless of "state transition" methods, with or without withers. The relevant point, again, is not the "with" feature, but the publicness of the canonical constructor. You cannot limit the construction of a record to a state transition method even today, because you can't hide the canonical constructor.

There are certainly classes that do need private constructors, but if they do, then those classes are not records (we may expand the role of records in the future, but so far they're specifically designed to not allow that so that the reconstruction invariant is maintained).

> Imagine uniform declaration of intent for records and classes ...

There's no need to do that for records, because they have a public canonical constructor, and that is the constructor that's used by the feature.
Awesome Software and Architectural Design Patterns: A curated list
I think you’re right that that is the intent. But since it is more expensive and has worse macros, it doesn’t seem like a good substitute.

If it was healthier and cheaper, I would gladly swap it out. But it’s not, so I don’t.

Alternatively, if it tasted better than meat, I would pay more. But it doesn’t, so I don’t.

I think the market remaining are vegetarians who don’t eat meat for ethical reasons, so they are willing to pay more.

I actually prefer the old veggie patties like boca burgers as they are quite a bit cheaper than beef for the same protein.
> I don't get why folks find this depressing. If everything can be done by AI and robots - humans won't need to do "work" for all of our needs to be met. Ie, we can all go on perpetual holiday and/or work on things we truly love

That’s just not how this world works.
It would be interesting to see how it compares to the average natural employee churn in a year - I expect it is significantly less.
That’s why there are no bathrooms
> I could see though how paying a small-ish number of people wages that dwarfs the larger number of people could cause a bit of turmoil.

The same way that a CEO in our world is getting paid 100 times as much as a janitor?
If you're getting reports of port scanning from the same IPs over and over, they're probably bots and I'd think most ISPs would want to know.

The automated emails are usually in the same formats making them easy to filter and parse too.
So a reverse bloom filter for identity. I imagine one day we will be KYC'd for buying pizza online.
Well maybe the local office didnt have anything else to do. So they followed this lead as a top priority since they had no other leads.

Money would be spend on the wages of those agents anyway, even if they had nothing to do.
I suspect it’s because they want the reduction focused in specific areas and on the low performers.
Aren't these experimental menus?
I read McPlant in theUS went away after one-year trial.
Would love to give Double McPlant® a try.
AcousticBrainz isn't MusicBrainz.
Plastic to Oil – Produces 80% Oil
As others wrote, Pandoc is Haskell so it compiles to a fairly efficient binary.

But more importantly, unlike the various Markdown flavors or AsciiDoc, it is incredibly extensible thanks to the combination of custom filters and the possibility to add HTML classes and attributes. One can write filters to leverage the class/attribute information and perform transformations at the AST level, which basically lets you define a DSL with an arbitrary number of custom elements.

I wrote a collection of filters for the publication of a large online legal playbook. Not only did Pandoc make it possible to introduce different kind of custom elements that don't exist in plain Markdown or AsciiDoc, but by using different filters it was possible to use a single Markdown source to generate both the book and various summaries such as a list of examples, a list of civil code clauses etc.
I don't know Haskell that well so I used Rust for the filters, but that worked very well.

Pandoc is IMO a very underrated tool.
>" implementation inheritance "

What authority declares implementation inheritance bad may I ask? As long as one does not stick it into inappropriate places it is actually very helpful.
I can say "fuck you" with no money at all, since I can still talk for free!

How much do you need to take a, say, $130K income for the rest of your life? (Which is still not really enough to live at a wealthy luxury standard). Depends on how old you are and how long you'll live, as well as anticipated rates of investment return. But it's almost definitely more than 2 million.

https://www.thekickassentrepreneur.com/never-have-to-work-ag...
Not sure if you are being sarcastic, but they do design cars. Aren't tesla menus full of those kind of toggles?
Sssvg: An Interactive SVG Reference
Nuclear's problem isn't that energy is too cheap, it's that nuclear generated electricity is too expensive in comparison to the competition.

That wasn't the original hope -- formerly, they hoped nuclear plants would be cheap and plentiful. My understanding is that "too cheap to meter" just refers to a flat rate -- why bother measuring (especially before modern times, back when that required people visiting meters in person), when you can charge a flat rate? But that clearly was extremely optimistic.
I raise cattle (one day for a living, but now a side job and for my enjoyment). Your read on the feed is very true for the feedlots, not trying to discredit that, because if you buy your beef from a feedlot than this is very much the case -- chances are if you don't know where you beef came from, then it came from a feed lot. If your packing says "Grass Fed" than it just means they spent most of their lives in a pasture before being shipped to a feedlot for a miserable last three months of life, so chances are you probably don't know where your cattle came from, even if you're going on the packaging in a grocery store, and it's actually grained to some extent.

There are a few exceptions to this, even in stores. If you buy from Whole Food and get their brand beef, it's grass-only. I know the largest rancher selling to WF, we're friends -- my teeball team beat his teeball team in the season finals last summer.

I mostly raise dairy cows, but if you're going to go through the effort to raise one sort of breed of cattle, it's trivial to add in an even lower maintenance cattle as well. As a result I have three or four animals in my pasture right now who are getting ready for freezer camp. My neighbors are all beef ranchers, I am the exception. But none of us are feeding grain to our cattle. My area sells a massive amount of grass-only beef. We have the luxury of this being basically free for us to do and then having found a niche market willing to accept a lot more money for their beef if it was raised right and fed right. I don't sell my beef the way most folks do, so unless you know me personally, you've never eaten my animals or had our farm's dairy products.

All that to say, there are very good alternatives to feedlots. My beef cattle only need supplemental food (aka more than the green grass in my pastures) between December and April. I did the math, it costs me $140 / year to feed out cattle and it takes two or three years for an Angus to be butcher-weight. That's $420 on the high end for a grass-only steer that'll dress to like 600lbs of beef.

I'd get by with even fewer days feeding except I also own and breed Appaloosas and horses are much harder on the pastures than cattle. If I ran two herds my cattle would keep the pastures in grass until about January -- and with this warm weather I know folks who have YET to feed hay! But with my horses mixed into the herd it means that the grass is killed if I keep them on it -- horses have top and bottom teeth, they can cut grass clear to the dirt but cattle only have bottom teeth and they'll leave about 1/2" of grass on each blade, meaning the grass can continue to regenerate all winter if it's wet and warm enough.
Avalanche rescue dogs are rewarded for their accurate reports, whether they find bodies or not.

Once upon a time, out of mechanical sympathy, it used to be popular to add keywords (eg. ДНР ЛНР SSBN-731 龍坡海軍基地 etc.) in .sig files, to give the descendants of https://en.wikipedia.org/wiki/IBM_7950_Harvest#Usage something to report.

(and back when I was tangentially involved with impedance matching crunch with high-capacity/high-bandwidth datastores, I wondered how "dual use" nominally civilian scientific programs like https://en.wikipedia.org/wiki/NASA_Earth_Science might be.)
> If you listed the "ingredients" in a cow, you'd also have a list that was as long as the proverbial limb.

No, I don’t think so. Most of my beef has a single ingredient: grass. Some have two ingredients: grass, grain (there may be different grains though).

Even if you listed the molecules, the ingredient list for beef is much shorter than beyond burgers.
Thanks for explanation. I wasn't critiquing you in any way. I was just curious about the reason.
Does it help create tagged PDFs? Tagged PDFs are necessary to be accessible
You were correct for about 2-4 years of the smart phone revolution though. I think we all became lazy and and replaced "application/program/software" with app since everyone knew/used app to describe everything on their phone.

I began following that trend when I realized most desktop apps are just blown up smartphone apps and former shells of more useful older programs.
Later in the conversation someone links to a Twitter exchange which I found quite interesting:

> (@m_ou_se) I just tried to charge my phone by connecting it to my laptop (with USB-C), but instead of my phone, my laptop started getting charged, quickly draining my phone's battery. Uh, what.

> (@Gankra_) in case you aren't familiar: there was a semantic function of asymmetric usb cables that symmetric usb-C has broken. to "fix" this, each device picks a number for how subby it is, and the less subby one is the dom and charges the sub. these numbers can be surprising.

> (@m_ou_se) After some experimenting, I concluded that Dell laptops are the most powerful USB-C PD doms followed by ThinkPads, while phones and MacBooks are (equally) subby. Connecting phones and MacBooks with each other results in a switch fight.

(https://twitter.com/m_ou_se/status/1502664680602492933)
people keep talking about jobs.

but OP has a PHD. if you connect with other PHD's from other departments not in tech, you can easily have a job or start a company.
The mini does thread and matter? Really?? That would be great news as I've got 2 of them.
so you mean hes an agent of blackrock all this time