skysight-inc/HackerNews huggingface dataset:
They need something. They get a truck of toilet paper from the paper mill, and a truck of coffee from the roaster to the warehouse. What goes out of the warehouse is a 2 trucks to two different stores, each with half coffee, half toilet paper.

I'm grossly simplifying the above, but the idea should be clear. WalMart doesn't store things in their warehouses so much as take them off of trucks and put a different mix of thing on other trucks. There is lots of room for automation, but it will look very different from Amazon.
At least they could provide a fume/dust extraction point, similar to those found on things like SMD reflow ovens.
Uber has been profitable in the USA for years now.

https://fortune.com/2016/02/18/uber-profitable-us/
While it's fun to blame the US for all the problems in the world ever, in the middle east lets not forget the heart of the serious issues are largely a result of European colonialism at the turn of the 20th century. And then they made a bunch of "mandates", peaced out, and left everything in shambles..
I think if it as Casey Muratori's "brain fart" that made sense in his context but that other developers have latched on to because of his influence in indie game circles.

I have massive respect for him, and followed everything he did back in the late '90s and early aughts, but he's quite opinionated and has some peculiar code aesthetics / trade-offs.
How to Start a Remote Business
They already have this information from the cash registers though. it isn't up to the second like the system you proposed, but it is "good enough".
I'm gonna go out on a limb here and say that the amateur does worse than the pro is because said amateur doesn't know how to use the (often very complex) tool that they've been given, whereas the pro knows all of the theory and at least mostly how to use this toy.
I heard about Lazarus, but never tried it. I'll give it a shot.
Because most workers in these jobs switch employers regularly, that's why they are contractors.
The drivers have about 3 choices to get gigs from. They have zero leverage, there is no market.

I don't live and california and if you guys want to kill the tiny amount of labor laws you havez do whatever.
But for some reason people in my country still think the US is not totally bonkers and these changes influence other countries.

People died for these workers rights, worker abuse was a fact, repealing labor laws is just ignorance.
That's part of why old-style workstations died: Everyday desktop computers rose to meet them, and suddenly they couldn't claim to have any technical advantages to justify their pricetags. I'm not saying the Quadra in specific was on a level with the NeXTcube in specific on all fronts, but over the course of the 1990s that leveling process helped sweep away the workstation as a completely independent class of system.
Building forty nuclear power plants - which is what China is doing - won’t reduce pollution?
> While GitHub’s CEO Nat Friedman was annoyed by RIAA takedown efforts, he stressed that the platform legally had to comply, which it did.

It would be nice if for once platforms stood up legally for their users when they believe its unjust.
More importantly, if you want China, India and Africa to pollute less, the only way to do so is leading by example and figuring out a way to achieve cost-effective, environmental-friendly path for economic growth for yourself. If it works, and it's better, they'll copy it.
Walmart labs is just the group of people running the .com in Sunnyvale. They don't have any actual labs or innovation.

Their ideas of "Robots!" and sending hourly employees to your home with merchandise instead of paying actual delivery drivers were two ideas that came from them recently. Everything they touch is broken.
Installing OpenVMS 8.4 Alpha inside AXPbox with networking
"Someone closed an account with a balance of -5M reward points" might automatically trigger this. Plenty of account closures happen without a human ever seeing it.
Even if they are a wonderful human being it basically limits your own choices and potential. If you had moved to a dead-end city with your partner and then break-up... it can be soul killing. ...for a friend. That's it.
You might want to check closely. As in, the poppies might not be illegal, but if there are any signs that you are, or intend to, harvest opium from them, then those sign become evidence of a felony. For example, having a copy of the book "opium for the masses" (Jim Hogshire)

or, what you believe to be legal (because you can buy the seeds at the grocery store) may not be legal, depending.
10 Important Chrome Extensions for Web Developers
Dragging around a pointer, or scrubbing a line will be noticeably laggy with > 0 frame delay. It leads to a sluggish feeling that may be okay in the web world, but is kind of against the whole aesthetic of performant native apps. What's strange to me is that Muratori is a huge stickler for performance, like Jon Blow. I can't imagine him being happy with any kind of lag.
It's definitely a hack. Look at the commit message.
GPU can also help with inference. I think running a cloud function to evaluate an input on a pretrained model seems like a good use case.
WalMart threw millions into RFID a few years ago. They abandoned it for the problems you stated. What they wanted was the checkout process to be fast enough that your cart doesn't stop as you are leaving the store (unless you stop to bag your items after you paid for them).
> CO2 per KWh is lower for natural gas than it is for coal.

Unfortunately there are methane leaks in the systems, and it is quite possible that when accounting for the methane releases, natural gas has equally bad climate effect (emissions of CO2 and CH4 combined) as coal.
There is no reason an IMGUI cannot efficiently construct a hierarchy in the background and do a fast Flutter-like linear layout pass on it before processing input and rendering it. Then throw this away and do it all over again for the next frame (or the next time input arrives, if not used in a game-like context). I've experimented with this, and speed is no impediment if implemented correctly.

IMGUI is about the immediate mode interface, not about layout/rendering/input handling happening at the same time as view functions are called.
And don't do "if (Button()) { ... }", but use lambdas for event handling, so the handlers can be invoked at the proper time when everything is laid out.
They did. Which was why they were able to hold out until 1860 when the writing was on the wall. Since slavery didn't die on it's own and was the underpinning of the economy of many states violence was somewhat bound to happen.

You can't just expect to make any sizeable minority of your nation's economy non-viable and not have all the people's lives you just ruined start shooting. You might be able to get away with it if the people losing out are an evenly distributed minority but if there's a huge block where they are the overwhelming local majority it's gonna get ugly.

The alternative path out of slavery would have been to boil the frog but with the uneven geographic distribution of slavery that wouldn't have been reasonably possible to do socially (e.g. convince people to spend more any more money treating slaves better until wage labor is competitive and slavery can be legislated away without a war). You might be able to boil the frog legislatively but the weak government structures of the 19th century were not well equipped for that kind of thing and that requires a lot of support anyway. In order to get the nation bootstrapped the founders intentionally put off any action for several decades. Something calamitous was kind of bound to happen. Frankly I think we were kind of lucky we got off with a "one and done" war over it (yes I know there was a bunch of background violence after the fact) rather than a perpetual slow boil conflict that turns into a low intensity shooting war every few decades like you see in other parts of the world.
You don’t build 40 nuclear power plants if your goal isn’t to reduce pollution.
That's a reasonable point, but also no other sector has one person (DJT) as CEO.
"So let me explain why I like to pay taxes for schools, even though I don't personally have a kid in school: It's because I don't like living in a country with a bunch of stupid people." - John Green
Piracy has no place on HN
Device based code split with ReactJS (how to and arguments)
This is a scene from Logan's Run.
The electoral college was created during America's founding.
I know this would have sounded absurd a few years ago, but the authoritarian Chinese regime is currently more rational than the democratic US regime.

They actually know, understand, and to some degree care, that they're basically 1/5th of the world's population and if they don't get pollution under control the entire world will burn.
I wonder if it's worth going all in on RSS and dumping YouTube and reddit's web sites. I experimented with that over the summer (wrote a little code to take in YouTube channels and download their new videos with RSS and yt-dl) but didn't end up using it that much. NetNewsWire on iOS is really nice for text.

Does anyone else have experience with this? I usually use Windows so it wouldn't be from a cli most likely.
Classifying these drivers as employees is a bad idea. Why. Because many of them drive for more than one of these companies at the same time. And I don’t mean they work sometimes for one and sometimes for another, I mean they’ll have two or more apps open at the same time.

This is vastly different than say working 20 hours a week at Walmart and another 20 at Costco.

Think about this: if drivers were “employees” who then logically could only work for one (at a time) how would a competitor enter the marketplace if driving for the new guy prohibited you from also working for Uber? If the new player has insufficient ride volume it’s a huge barrier to entry.

The fact that drivers themselves seemed to reject this just shows what a bad idea this is.

I mean what’s next? Overtime? Making it hard to “fire” drivers?

And as for a notion of a minimum wage for drivers, if they for 3 different companies in an hour who pays that?

Don’t follow NYC’s example of steadily recreating the taxi medallions system (eg driver quotas and tax measures to drive the cost up; Uber is essentially twice the cost it was 5 years ago).
If anything, I think the US election has emphasized how the idea that humans can come together, globally, to solve a problem that will require worldwide shared sacrifice for benefits that are largely at least one lifetime in the future is a pipe dream. Humans (and in fairness, most creatures) are fundamentally too selfish as a species to implement this kind of collective action.

Unstoppable severe climate change is coming, if not already here. Emissions continue to go up and up and up every year, the best you get is a slight pause in a year, while we need emissions to go to zero, fast. At this point the only slight hope is geoengineering, and even then I wouldn't bet on it.
Hello Triangle in OpenGL 4.6 with DSA
> A third option would be to increase demand response at the industrial and customer level. Meaning, power isn't generally expected to be 100% available in that scenario. If there isn't enough generation capacity, those that aren't willing to pay the high prices are shut off (or something along those lines). That is generally how supply/demand is supposed to work anyway

I don’t think any of these solutions are viable to prove we can be reliant on renewables, and this one especially would not resonate with a populace.

Just at a consumer level, think of everything you use power for on a daily basis. It’s a cornerstone of modern life, and you can’t expect society to backtrack.
Well put. It seems to have that immediate effect of invoking the image of a slightly sad man with a smile walking slowly into a calm lake.
But the LED indicating the state isn’t. That’s a problem. All you really need to do is make the LED a liar and the user has no idea if their mic is on or not.
Gotcha. Somehow thought there was something wrong with his episode, which I found tremendously interesting.
This termination did not happen instantly.

The account was brought back to normal well before the termination of all of our accounts.

I also expected them to have automatic triggers, but at the time they did not.
In my experience, it's that people without experience with security researchers tend to think of security issues as having been fundamentally been created by the researchers themselves, rather than already existing in the system.

If you have no idea how someone finds such things, your first read is that the researcher has created the problem by finding it when it could have just never been found by anyone instead. It's cliché, but portrayal of hackers in films always implies that they could get into anything, with reasoning in a similar vein to if I knew all about windows and used that knowledge to smash the window of someone's house, then claimed it was a flaw I could get in that'd be on me.

Then, there is the problem of communication. An external person discovering such a flaw is already going out of their way to do something for the maker of the software, and I find that those being communicated with often find this interaction grating.

I think the psychology is complicated but it's somewhere between alarm that such a flaw was found, fear that the finding of such a flaw is a reflection on you, or your engineering team that will harm you and that researcher, unpaid and not expecting anything isn't there to hold their hand and reassure / explain such things. As a researcher, I want to spend the minimum time on this.

The only thing I'll insist on is that it gets fixed in time, and if this draws out for months I eventually get in a position where I have to make threats of disclosure or nothing will get done.
Cyber resilience: 4 key trends SecOps team leaders need to know
Third party webcams, yes.

Basically any modern laptop with a build-in webcam has a hardware controlled LED, not software controlled.
I wouldn't be surprised if the cartels were not funding research and development of such machines. I am not saying this particular one, but having an autonomous drone flying over long distance and capable of some more serious cargo seems like a dream come true (for example 100 mile radius should be enough to cross the border).
If they could pair it with autonomous submarines then this opens the world of possibilities when it comes to moving the product across the world.
Sure. If you can drop kinetic projectiles from orbit or higher, you don't need nukes.

But you have to build a lot of infrastructure to either get that mass up there, or compel that mass to change momentum.

One drone with a shaped charge could take out a fueled launch vehicle and make the bad unusable for an annoyingly long time. I hope that there are plans to defend against this.
Isn't a neutron bomb a hydrogen bomb design that lets the neutrons from the fusion escape rather than being used to drive a final fission stage?
Hyperinflation requires a feedback loop through workers, and I see no evidence that most US workers have enough bargaining power to demand higher wages to match. I expect further asset inflation and a continued “k” shaped divergence.
Same. It's an amazing resource and just got more amazing.
Very well-written and illustrated article. I wish the Surface Go 2 had a shorter space bar so that the right alt key was under the comma key, and an extra control key under the period key.
These two comments were my exact train of thought upon opening the thread. How poisoned we've become by corporations burying the lede!
eBird: A crowdsourced bird sighting database
There’s still a lot of individual item picking due to (as TFA mentions)

> ...precise inventory is also essential for Walmart’s increasingly popular pickup and delivery services.

...and I can see highly accurate inventory helping that (and as a shopper I’d like it there was warehouse style ‘pick to light’ systems in supermarkets (perhaps using Augmented Reality))
They’re not interchangeable.

Solar is great for marginal additional output, but to make it useful as a primary energy source it requires massive investments in storage technology. Solar doesn’t work at night or on cloudy days, so you still need other power sources. At least as long as storage solutions are rare.
But did they release it
Don't talk to the cops about anything, ever. Especially not this.

Lawyers are paid to keep your best interests in mind.

Cops will investigate the shit out of you and will do nothing to help, at all.
You do. Absent onerous Western regulations nuclear power is economically viable, especially if you don't build a custom design for every plant, and build a lot of them.
I gotta point out that my wife and I conceived while she was on an IUD. (In 2020) It wasn't a big deal for us, because we were about to go off of birth control.

The point is, IUDs aren't foolproof.
> However, that doesn’t necessarily imply an all-or-nothing approach where either you’re in a pure function or you can do anything with anything.

To elaborate this point I'd say that the most important practical use of all that "monad mumbo-jumbo" in Haskell is that you can tag your functions with what they can and can't do and then the type system tracks this for you:

-- pure function
f1 :: Text -> Int

-- can fail
f2 :: Text -> Maybe Int

-- can read from some MyEnv record
f3 :: Text -> Reader MyEnv Int

-- can keep a set of bool as state around
f4 :: Text -> State (Set Bool) Int

etc... and of course to go nuclear:

-- can do anything
f5 :: Text -> IO Int

The tracking part is that you can't call f5 from within f1, the type checker says no. It enforces separation between all these various effect boundaries.

Also we don't have to stop here. A natural next step is defining exact effects one is after. For example say I want my function to be able to get some entity from a DB:

-- any type that is an instance of Entity can identify itself by uuid
class Entity e where
identify :: e -> UUID

-- The effect we want, ie. get an entity via its uuid
class (Monad m, Entity e) => GetEntity e m where
getEntityById :: UUID -> m (Maybe e)

now we can say things like:

data User = MkUser {uId :: UUID, uName :: Text}

-- a User can identify itself
instance Entity User where
identify = uId

-- as User is an Entity so we can get it via its uuid (if it exists)
getUserById :: (GetEntity User m) => UUID -> m (Maybe User)
getUserById = getEntityById

Also notice how getUserById does not say anything about IO or a DB. All it states is that whatever context it will run in that context must know how to get a user via its uuid. You can then plug in whatever actual context you want, say:

newtype Prod a = MkProd {unProd :: ReaderT ProdDB IO a}
deriving newtype (Functor, Applicative, Monad, MonadReader ProdDB, MonadIO)

-- get a user from a DB for real
instance GetEntity User Prod where
getEntityById :: UUID -> Prod (Maybe User)
getEntityById eid = do
ProdDB {..} <- ask
-- query the DB, etc...

or

newtype Mock a = MkMock {unMock :: State (Map UUID User) a}
deriving newtype (Functor, Applicative, Monad, MonadState (Map UUID User))

-- get a user from a mock DB
instance GetEntity User Mock where
getEntityById :: UUID -> Mock (Maybe User)
getEntityById eid = gets (Map.lookup eid)

All in all the programmer have fine-grained control over what various parts of their code can or can't do.
This story will hurt the bank's ability to hire talented programmers and developers in the future.
He’s right. It’s reverse engineered. Sorry for the confusion.
Splitting a country is not going to lower the pollution, but equally so does a high populations density not decrease pollution.
If aritifical light in general is pollution, then advertisement produced light, or acustic advertisement would be toxic radiation?
I believe the switches are there for the user as a simple way of activating or deactivating the microphone and camera and for them to know (via LEDs) the current state.

If you have a spy device connected to your computer or have malware running, you are very screwed in a million different ways already. Limiting knowledge of hardware state to malware doesn't buy you much.
I care about what language I use to interact with engines or libraries. For me, that's objectively worse than Game Engine XXX in language XXX
Why Is 0 = 1?
Anectodal etc etc, but when I started using Dear ImGui a few years ago I had no idea about the origins of immediate mode UI, or what "immediate mode UI" even means, and neither had heard of Casey Muratori nor Omar Cornut.

All I saw was a very enjoyable way to create UIs, something I loathed before (like most other programmers I guess). So far I haven't come across another UI toolkit which is as enjoyable to use as Dear ImGui (and that includes a couple of other ImGui libraries), and that's the reason why I stick to it, not because of some sort of cult of personality ;)
i agree with you... now show them your support by sending them a blank check for their legal fees. oh... i'm sorry... did i offend HN, strike a nerve and become a troll?

no i did not. i am demonstrating that most people on this site haven't the slightest clue what they are talking about.

it costs money and time to fight something and companies have something called a risk management department that decides whether it is worth the risk to fight or comply.

github knows that getting into a heated legal battle is going to cost alot, especially going up against the deep pockets of the RIAA. not saying that github and microsoft don't have deep pockets, but that this _will_ become an expensive battle to fight and defending a grey area open source project isn't worth the time nor the money.
Following the U.S. frontier line, 1790-1890
That's why the idea of having some pre-recorded stuff on tap, but sending no signal could waste some of the perpetrators resources, which I think is something nicer to have than letting them know it is switched off.
I use the electrical tape when I want to block the light completely. You can use 2 or 3 layers of painters tape if you want to see the status light on a router or similar device. It results in very little light cast, but you can still make out whether it's on or off.
According to this link [1] the legislature can't change what the voter's passed through an initiative unless they send it back to the voter's again. So as per earlier comments, I'd interpret that as the 7/8th's vote requirement actually reducing the burden on the legislature. As long as they can get 7/8ths of the votes, they don't need to bring it back to the voter's again.

"The California State Legislature may not amend or repeal an approved measure without submitting the change to voters. However, a ballot measure may include a clause waiving this protection either entirely or conditionally."

[1]https://ballotpedia.org/Laws_governing_the_initiative_proces...
Blame-as-a-Service. The business model of many management consultants.
> Not a single developer asked why and how did it happen in the first place.

A human reviewer applied the app store policies as best she understood them but in the end was mistaken and the decision was reversed.

Review systems like this are better when they optimize for false positives rather than false negatives because of the fence leaning problem. If you give publishers the the benefit of the doubt then the result is people cozying right up to the fence of allowable behavior or leaning juuuust over it but not enough to trigger a ban. However, if you throw down the banhammer on everyone near the fence regardless of what side they're on people will actually say clear of it.
> Because Apple is switching to Arm for better performance?

Because I wont be able to run Windows in Fusion without a very big performance hit.
They were better at pretending.
In a global economy, per-country per-capita emissions mean little, as my consumption largely "counts" against another country that produces the goods I use.

Germany has a much larger per-capita manufacturing and export sectors of their economy, I would expect their emissions to slow more slowly.