skysight-inc/HackerNews huggingface dataset:
The only thing that is being limited are pulls from the Docker Hub. If you're doing integration tests for a bunch of microsevices, you might have some 20 upstream images that you need to pull. Those can stay in your cache until they are updated (which is rare and predictable, because you're pinning versions, right?). You do your building and testing and all that entirely on your "own" infrastructure and then you push once test succeds.
I'm ready to have @airstrike back, if you don't mind
Rosenzweig: From Panfrost to production, a tale of Open Source graphics
Come on Georgia...
I read a HN comment here from a resident of Portugal the decriminalization has been significantly mischaracterized. The main reason it worked at all was due to a huge rise in heroin use, which the criminal system was having trouble handling. And the areas where people used drugs rapidly went downhill. I am not sure it can be declared a unilateral success.
Toy maker Mattel discloses ransomware attack
The article says:

> Once I had permission quickly made a proof of concept ...

So unless you want to accuse him of lying, there's no fraud here. And the fact that Chase didn't file a police report makes me convinced there was nothing remotely illegal about his actions.
In what way are Go modules a train wreck?
SMS and MMS are much more popular in the US than in the rest of the world in my experience.

They are, to my understanding, the default way of sharing pictures and group messages between iOS and Android there.
I mean... we've got the plague part down:

https://shadowrun.fandom.com/wiki/VITAS
All that Danforth has ever hinted is that the final horror was a mirage. It was not, he declares, anything connected with the cubes and caves of those echoing, vaporous, wormily-honeycombed mountains of madness which we crossed; but a single fantastic, demoniac glimpse, among the churning zenith-clouds, of what lay back of those other violet westward mountains which the Old Ones had shunned and feared.
It is very probable that the thing was a sheer delusion born of the previous stresses we had passed through, and of the actual though unrecognized mirage of the dead transmontane city experienced near Lake's camp the day before; but it was so real to Danforth that he suffers from it still.
Meh, arranged marriages used to be the norm everywhere for thousands of years. In many ways, the assumption that a marriage must be out of reciprocal love was established by Romantic writers barely 200 years ago; most tales from before tend to end up with “passionate lovers” meeting a tragic fate, to reinforce the societal message that infatuation is wrong. In traditional rural societies, the brutal realities of survival came first.
The 4Hour Work Day: A Productivity System for Entrepreneurs and Knowledge Worker
I've worked professionally on C# and Go. I've seen overly abstracted C# code but I also have seen Go code that was clearly missing good patterns and ended up a ton of spaghetti. The difference that I see is that C# gives you the tools to do it well whereas Go lacks many tools to make a complex code base nearly as maintainable as C#.
A First Look at the JIT
Monitor Airplane Traffic with a Raspberry Pi
We can all start at a local level to solve this by pushing for lighting ordinances: https://www.darksky.org/our-work/lighting/public-policy/ligh...
the japs are looking for help to produce some inflation...
Can the federal government still enforce drug laws there?
...and when the toner warning appears, stick a piece of electric tape over the sensor and keep going! I printed for literally years after the toner warning appeared with no decline in quality (I didn't print often, but still!).

https://i.imgur.com/3tjKV.png
If this works it should immediately be build into a mobile app and released for free for global use.
Well, we're still waiting for the fingerprint driver :p
I have been listening to the Michael Pollan audiobook "How to Change Your Mind" https://smile.amazon.com/How-to-Change-Your-Mind-audiobook/d...
Fascinating subject and I am going through some personal issues which has put me in a funk, not that I wasn't depressed before the latest crop of issues. I am glad states have started the process of decriminalizing substances that hold therapeutic promise for mental issues. Nothing has worked on me so far so I hold out hope for psilocybin as the one that finally snaps me out of it.
Good. Putting people with addiction issues in jail was the wrong approach.

Perhaps the addicted can seek help in other ways without the fear or risk of being incarcerated.
So possession is decriminalized but what about sale and distribution? Also is this in direct conflict with federal law prohibiting the same?
I read the (quite comprehensive) wiki article [1] to get some perspectives.

I think we can all agree that excessive light is undesirable, but there's some subjectivity in determining what constitutes "excessive" lighting. I grew up in a highly urbanized environment (I confess I'm not a nature person), and lighting was very much desirable for safety and for promoting after-hours activity and therefore has a bearing on the economy as well. In northern parts of the world, days get shorter in the winter so artificial lighting can help alleviate a feeling of gloom for some. Some people are uplifted by Christmas lights or by the warm orange glow of a Parisian street lamp, for instance.

It sounds like one of those things where different groups need to work together toward a negotiated compromise -- there might not exist an ironclad objective answer as to what's best.

[1] https://en.wikipedia.org/wiki/Light_pollution
It's fairly likely that third parties will make some kind of somewhat-dockable display+battery. The choice of micro HDMI likely will help with some designs of that kind of accessory, given how large the strain reliefs of full-size HDMI cables tend to be. Although I agree with you that for most uses providing at least one full-size HDMI port would have been ideal.
That picture shows a good start. Not directly illuminating the sky when the illumination is being used on the ground is the low-hanging fruit, but additional measures should be considered:

* Use light of lower intensity (candela) to put less illuminance (lux) on what's being illuminated. This is a more precise version of "use a dimmer light", because reducing output (lumens) won't necessarily do that if the light is more focused/directional.

* Illuminate fewer places. Street lighting for traffic safety doesn't need to be everywhere; it needs to be where hazards are.

* Use alternatives to general illumination. Some road hazards can be marked with reflectors or low-intensity marker lights pointed directly at drivers instead of overhead lighting.

* Turn off lights when not in use. Use timers. Use motion sensors. Use buttons pedestrians can press for crosswalks.

* Encourage people to use portable lighting rather than fixed lighting. This becomes more effective when there's less ambient light because less light is required to achieve the same contrast with a faraway background.
Actually, my experience is that users get Windows because they argue that it is the only thing they know how to use and they don't really know how to use it beyond the trivial.
> Nowadays alcohol was replaced by gaming

And porn.
Turns out liberal states, not conservatives ones, are the ones in favor of personal freedoms and less intrusive government.
We do track methane in the atmosphere, that is NOAA's job. Methane in the atmosphere tripled from preindustrial times to 1995 and has started to level off since then. It doesn't look like fracking has lead to a dramatic increase in the release of methane in the atmosphere.

https://www.esrl.noaa.gov/gmd/ccgg/carbontracker-ch4/
Police launch pilot program to tap resident surveillance camera live streams
I don't understand why this is being downvoted. Addiction is a disease and shouldn't be criminalized. Part of the reason the opioid epidemic is so bad is that people don't seek help or call emergency services for fear of criminal punishment.
Yep. I think it's reasonable to think that Tesla wouldn't be where it is today without the nearly half a billion dollars it was loaned by the federal government in 2010.

https://www.energy.gov/lpo/tesla
Why link to a tweet of the article rather than the article itself?
Except when it comes to speech
> So what happens if you just ignore the other side's lawyers?

IAN[even_close_to_being]AL but I'm fairly sure this would result in a default judgment. At least it does in civil cases between citizens (in the US) and corporations- when a company files with the court clerk, a complaint ("you've been served" kind of thing) is issued to the defendant and they typically have 21 days to respond by filing their own motion with the clerk. If they ignore this or never actually receive this, a hearing is scheduled where a court date is decided, which the court will attempt to communicate to the defendant if they didn't show up to the hearing. The court date will come and go, and if the defendant is still ignoring the situation, the judge assumes there's no contest and will issue a default judgment against the defendant. In the case of corporations vs citizens, this is when damages/fines are accessed and wage garnishment notices get issued. Garnishments (and the corporate equivalent of fines) are no joke- corporate accountants take them extremely seriously because of the penalties for failing to carry them out: if they don't, the company's assets can get seized, accounts can get raided (depending on the type of case [medical and taxes are two large categories] and the plaintiff), and fines get levied and even increase. I imagine it's the same way with default judgments against corporations, but again, I'm no lawyer- just a guy musing about corporate civil suits based on citizen civil suits.
Why is this program erroneously rejected by three C++ compilers? (2011)
Nothing is changed for federal law. if you were in Oregon and some federal agent catches you with drugs, you will be facing charges.
Prop 22 may or may not be good, but its passage means that AB5 was bad.

The state Assembly screwed up. When you pass a law that affects so many ordinary people, you better be sure that's what they want. Instead of a practical solution, AB5 came across as just meddling.
Unless you record infinite video and sound it's pretty easy to check if the video is a loop. Even static video of an empty room would have variations over time while a recording would be identical. Even auto-generated audio and noise would have a pattern which can be matched on. And if an attacker has control over your machine they can trivially correlate it with other activity to detect fake input.

It's basically a false sense of security which is generally worse than doing nothing.
We already have laws that restrict how Californians work (eg minimum wage, OSHA, EEOC). Do you think we should rollback those requirements as well, in the name of freedom?
Where do you initialize state in React Component?
Not true. At least not true for drug research in the US: https://www.drugcostfacts.org/public-vs-private-drug-funding
> The CCP has absolutely zero problem suppressing its own citizens if they threaten the government’s power

That is a reality under pretty much any regime in the truest sense of the words meaning, which contrary to popular use is not negative but rather descriptive.
If that were easy, we’d have solved email/comment/Twitter/Reddit spam and trolling back in the 1990s.

Anyone who has run a service that allows user content of any type knows that the miscreants are endlessly creative and you can expend infinite resources but some will slip through.

I still see the daily spam and phishing email in my Gmail, despite the tens/hundreds of millions Google has invested in filtering.
And firearms.
I wonder what kind of commercial avenues this opens up, not obviously the illegal sale of drugs, but products aimed directly and openly at heavy users. Not to mention the marketing potential, "hey if you like cocaine, you're going to love X,Y,Z impulse buy!", "Hey here's Arby's with the Stoner Burger, for those with the munchies." Etc
>>but what about sale and distribution?

No El Chapo Shacks: "the state’s residents will no longer face arrests or prison sentences for carrying small amounts of drugs like cocaine, heroin, oxycontin and methamphetamine. "
> So far the easiest JSON library has been Li Haoyi's uPickle: https://www.lihaoyi.com/post/HowtoworkwithJSONinScala.html

> Still, it does not parse JSON where objects have uknown arbitrary value types. Arbitrary value types are extremely common in real life JSON.

Looks like ujson, which the article you point to talks about, is what you're looking for. uPickle is a layer on top of ujson for statically typed stuff, but ujson is working with raw JSON values, of arbitrary types.
"So what will Paris actually do in practical terms?"

How about, at the very least it is symbolic of the fact that the US will fully take part in one of the most important global programmes there is. That it will set targets and be transparent, reporting on its efforts to reach those targets. It will share know-how and expertise with countries that are trying to solve a problem that is an existential threat to civilisation.

And if, as you suggest, the US is actually beating the progress it needs to make to keep global temperature rise to within 1.5C, then that's great - it can get the global plaudits it deserves, with no further action needed.
Was it downvoted? It's currently top of HN, isn't greyed-out, and is only 2 minutes old.
Saying they take it seriously and then putting parochial concerns ahead of it at the polls every single time. And there's a vast gulf between Obama/Biden not doing enough while Trump and the GOP are running us backwards as fast as they can. Just look at the last two administrations positions on vehicle mileage standards. Obama pushed for a huge increase and got car manufactured onboard pretty enthusiastically. Trump just undid it completely and the auto companies are actually upset. That's just unconscionable.
Not everyone who consumes drugs, "hard" or otherwise has an addiction issue or needs to seek help, though of course imprisonment is especially cruel when it targets those who do.
things i'd like to see in future iterations - hopefully ordered by BOM cost (have zero experience with hardware design):

- RTC (for the battery replacement argument - I'd be fine using an AA/AAA battery if that's a thing - it is a thing for a couple of my kitchen clocks, though)

- female GPIO

- headphone/mic jacks or combo jack

- full-size HDMI port

- 8 GB RAM

- NVME storage option

- battery

- display
Cassandra 4.0-Beta3 Released
I think you got this exactly right. The reaction of an uneducated manager here was probably “Wow this guy hacked our system by doing things he wasn’t supposed to do. You’re not allowed to transfer between cards. He broke the rules.”

It’s not unlike the logic that says “We left our front door unlocked and someone walked in. How dare they.”
Yeah, I mean, racket's killer feature is the multiple macro options, and those aren't trivial. Excited to finally see some books at all though
Amazon Academy India
Sadly I don’t think that’s true across the board; it seems to me that each team in the American culture war has its own pet issues, and nobody is consistently applying “personal freedoms and less intrusive government” widely. The left/right culture war appears to be more important to devotees of these parties than consistency on this matter.

This is a nice step in the right direction, though. Shame about the DEA.
I'm pretty excited about this. Awesome they fixed the cooling issues.
Hey Ferb, I know what we’re gonna do today!
The passage of Oregon’s Measure 110 means the state’s residents will no longer face arrests or prison sentences for carrying small amounts of drugs like cocaine, heroin, oxycontin and methamphetamine. The measure, which passed by almost 60 percent, also lays out groundwork for people with addictions to receive treatment as opposed to jail time.

https://www.washingtonpost.com/nation/2020/11/04/election-dr...
At the same time I would have serious concerns about public safety for certain drugs. While I agree jail isn't the answer, I think house arrest or curfews would be a good middle ground for drug abusers to maintain public safety while they engage in rehabilitation programs at the same time.
How to Teach Kids About Climate Change?
Hey folks, I'm Zain from Carbon0, an online gaming startup. We want to make it easy for families to measurably reduce their carbon footprint, using our website.

Our product combines multiple disciplines together (which you can read more about below). I believe this could spark a lot of interesting questions, especially around how cognitive neuroscience and web development affect our habit formation.

Our product is in its early stages, and we're experimenting with using "carbon missions" within the website, to help gamify the process of living a greener lifestyle (switching to LEDs, sorting your trash, etc.). We also incorporated an in-game storyline using "Zerons", which are AR characters you can view after completing a mission (implemented using Google's WebXR framework).

Please check out the website if you want to see it for yourself - https://playcarbon0.com.

We would love to hear your feedback, especially if you have tried to educate yourself or other family members about living green in the past. What helped you to make a change, and what didn't?

Also feel free to email me at zain.raza@students.makeschool.com, if you would like to schedule a 15-30 min user interview or UX testing session so we can improve!
Me as well! Glad someone else already did it and spared us the shame :)
eBird powers the annual "Great Backyard Bird Count"

Mark your calendars for the next event on February 12-15, 2021

https://gbbc.birdcount.org/
California voters reject changing constitution to allow race discrimination
I prefer a switch that physically disconnects the wire. Thanks.
I’ve always found GCP documentation to be absolute trash, if you can use AWS Lambda do it, our indexing service/data portal runs off of it it works very well, the integration with CloudWatch insights makes logging pretty straightforward.
One of the sad realities of American politics is that jailing people, and jailing people under inhumaine circumstances remains very popular. For any given behavior that is socially undesirable it’s easy to find a large enough constituency that says “lock them up and throw away the key”, even if as a society we all agree that our criminal justice system is ineffective and out of control.
Can you point to a specific instance of a liberal state suppressing free speech?
Continuing to make drug sales illegal doesn’t actually do much to limit the availability of drugs. Drugs have never been more accessible or cheap and that trend is likely to continue.

I think the government should legalize all drugs so they can control the drug markets and take them away from violent criminal organizations. They can also ensure the drug supplies are safe (devoid of contaminants) as well as tax them to fund social services.

There’s always going to be a market for illegal drugs. It gets bigger as time goes on. Better to have it under the control of government and taxed/regulated than underground under the control of cartels
It's not easier - as I understand it, the leaks are tiny amounts along the entire length of the pipelines. Getting an absolutely perfect seal is something that's expensive to do, whereas in theory the CO2 footprint of coal is concentrated and therefore much easier to capture.

In practice, doing either of those will spike the price of the energy, and the only reason to use them over renewables is their being cheap, so it won't happen.
Given-When-Then, tweak and try again
[Edit: This comment was an erroneous reply when I misread the comment to which I was replying, and is now removed.]
The basic idea of this essay is that politicians are liars. Republicans say "smaller government", yet the government doesn't shrink. Democrats say "out of Iraq", yet the troops are still there.

I actually think by and large politicians try to deliver on their promises. Democrats: healthcare, gay (and minority) rights, increased social safety net. Republicans: less immigration, lower taxes, less regulation. Overall, Democrats tend to reduce military spending (or keep it below the trend for the rest of the budget), while Republicans tend to increase it.

It is true that none of the parties is making a serious effort to balance the budget. But that's a genuinely hard thing to do from a political standpoint.
There's a few comments asking why this can't be done by subtracting sales from ordered inventory. All large retailers do this, I've worked on this problem, but there are lots of things that reduce the accuracy of the data-driven approach:

• Theft

• Spoiled/broken products

• Customers taking a product then browsing for another hour before checking out

• Customers buying multiple flavours of a product with the same price but different UPCs, which the cashier rings up by scanning the first product then hitting "times 10"

• There is stock on the shelf, but it's hidden behind something else or out of reach

• There is stock in the store, but not on the shelf (many retailers don't track backroom → shelf stocking)

• Product is stocked in multiple locations in the store, one of which is empty

• Plus all the usual data issues caused by wrong barcode scanned, data entry error, out-of-date information about units per box, etc

Those issues are all small, but still significant:

• For slow-moving products, being a few units off can mean the difference between out of stock and 1 month stock remaining.

• Even for fast-moving products these errors add up over time, you never really get a ground-truth event to reset the error drift. Stocktake and out-of-stock help but are infrequent and not a perfect reflection of reality.

There's a big unsexy industry working on this problem with data and human checks. The economics of robots, drones, smart shelves, and smart carts don't seem competitive right now. When you have 10k stores in the US, the expense is massive.
When I hear of some political ambition to make something better through inaction or through demolishing Chesterton's Fence, I don't expect it to go well.
Live bird migration maps using active radar:

https://birdcast.info/migration-tools/live-migration-maps/
The whole concept of being able to pass laws and then being unable to repeal them by the same margins as before as always seemed totally insane to me. Basically the definition of an unstable system and totally undemocratic.
> Good. Putting people with addiction issues in jail was the wrong approach.

A big problem is that addictions are expensive and people are willing to commit crimes to feed addictions when they run out of money. Anecdata of 1, but one of my friends in high school got addicted to heroin, and he ended up in jail not because of possession of heroin, but because he started stealing so he could come up with the money to buy more... so in that sense decriminalization won't necessarily help, but I agree that possession of drugs for personal use should not necessarily result in jail time.
I hope you are correct, but reading up about it just left me disappointed. While it may be true that you can influence the group, I think it is often used as an excuse because more participants give more weight to the interest group in the first place. But I hope you are right.
The #1 feature of Dell laptops is the repair manual which allows you to, among other things, physically remove the camera and microphone without damaging the hardware.

Would be nice if they would release signed, flashable firmware images for remediating compromise.
I have a ThinkPad X1 and it doesn't have any hardware switches.
The intent expressed is likely laudable, and the helpful approach overall preferred by the HN crowd -- however, the context, specifically associating drug consumption with addiction might not be popular among people who use psychoactive substances occasionally and no see themselves as addicts.