skysight-inc/HackerNews huggingface dataset:
I wouldn't paint with such a broad brush. I'm in favor regulating access to firearms just as we regulate access to driving, but it depends a lot on your circumstances. A lot of people who buy a gun to protect their family are probably protecting their own egos more than anything else. But there are circumstances where responsible ownership of a firearm for self defense is perfectly reasonable.

Of course, none of this has anything to do with cannabis. It makes no sense say possession of firearms and alcohol is okay, but firearms and cannabis isn't.
I just recently encountered some trouble with this domain the other day. I was trying to port a video project from an intel system that was using their QuickSync solution for hardware h.264 decode to a Raspberry Pi 4 using the V4L2 hardware decode API (the Intel system is before the breaking IPU6 change in Alder Lake discussed in the article).

In both cases, it's to hardware accelerate FFMpeg decoding on Linux. This was trivial to accomplish on the system with Intel QuickSync, I still don't have V4L2 working properly on the Pi 4 and have had to wade through several complex issues.
The problem with talking about "giving somebody pills" is that it's extremely imprecise. A coworker of mine was once given a two week script for oxy after they injured their arm, they had two days of serious pain and then just mild soreness - this was an insane over prescription and my friend knew it.

They used cannabis to manage their pain for two days and never filled the script. I think a script for two or even three days would have been perfectly reasonable with a "Call me back if the pain is too much after that period".
ElasticPath | Engineers, Business Analysts, Customer Success, etc | Full-Time | US/Canada/UK | REMOTE

Read more about the positions and apply at https://www.elasticpath.com/company/ecommerce-jobs

Company description:
Elastic Path powers mission-critical digital commerce for the world’s leading brands, such as Intuit, Pella, Deckers Brands, T-Mobile, and over 250 other leading enterprises. As relentless innovators, Elastic Path pioneered the API-Commerce space in 2011 and spearheaded Composable Commerce in 2020. Elastic Path provides industry-leading commerce APIs to help developers rapidly build, deploy, and continuously optimize unique commerce solutions.

My take:
Elastic Path is an amazing place to work. We have a very modern stack consisting of microservices written in Go, k8s on AWS, MongoDB, etc. Beyond working with great tech it's a wonderful company culture. I enjoy it so much I did a blog write-up on my experiences to date - https://www.jamesluterek.com/60-days-with-elastic-path/
My decision was based on "Google owns Motorola, therefore something considered a flagship phone at the time of buying it should be supported for longer than a year". In my opinion, that's some excellent criteria for buying a phone, just a shame that Google treats everything they do, even owning large companies like a beta test, and shuts things down on a whim whenever they feel like it. Honestly my best android phone was a Xiaomi Note 3, cost less than 300 bucks and performed great up until the day I replaced it. Not sure if they still make phones as well as they used to, but I'd give them another try if I ever went back to Android
Don't your users skip the walkthrough/tutorial as well? I always assume they don't, and design the UI as intuitive as possible.
Perhaps someone has a similar problem today?
And this is precisely what you'd expect, right? Initially, almost every regular smoker already has a cheaper grey/black market hookup, because that was the only way to get it, and gradually that withers away.
Beside being invasive on MacOS, as said by @ridiculous_fish, it took me more than 3 hours (and it didn't yet finish, I just quit all) to use QMK. I just cloned the Github repository of QMK and did `nix-shell` as they provide shell.nix file.

1. Does every nix-shell require building the whole world from ground-up? Seems impractical to me.
2. What is the right approach?

This is not to bash Nixpkgs, because I installed NixOS and it took me 10min to install a whole OS with Sway, Neovim and some other tools. I guess I'm doing something wrong. But, on MacOS, nixpkgs was not a pleasant experience at all.
You can see the flow without hooking up GitHub here: https://twitter.com/steventey/status/1565739260312952833
Furthermore, "privilege" makes it sound like the advantageous state should be seen as the exceptional condition, and that social equality would be served by getting rid of the "privilege". Whereas actually, we should aspire to reform our society such that everyone has the economic power to represent themselves.
Very obviously Elon Musk who has 44 billion reasons to be eternally grateful to any Twitterati who can help him reneg on his impulse purchase.
I only read TFA around the code examples, so please ignore if this point is addressed.

The problem I see with this strategy is that it relies on the programmer or the reviewer paying attention. If I learned something about writing programs in C, assembly or Forth is that is not enough. Code reviews are great but part of a "defense in depth" strategy, meaning that it has a good cost/benefit ratio at the cost of reliability (the ideal solution being formal proofs but not every shop can afford that).

Before relying on naming conventions, and when the language won't help you, there's another strategy to be tried: to not let the mistake happen. There's no general solution, though.

In this case I would mostly prohibit the use of "dangerous" functions, like this Request(). With C, sometimes teams make it so that dangerous functions such as strcpy will throw an error at compile-time. Same idea; there's most certainly tools for that. Request() would appear in a few places, so that it would trigger the attention of the reviewer.

So I would have e.g. a GetField() function that would do Encode(Request(param)) and that would be one of the few functions in the program where Request() is used.

Next, there are cases where you need both the "safe" (encoded) and "unsafe" (raw) version of the data. In this case, I would try my best to "jail" the unsafe version in a lexical scope, most certainly a function.

This way you don't let the "poison" (the unsafe string) circulate in your system, just like you perform parameter validations at the top of the function, rather that at each use; that would be the equivalent of relying on hungarian notation, in my eyes.
Is that for all paint? It looks like they only offer pickup for oil-based paints, and latex/acrylic-based should drop off: https://sfrecycles.org/items?words=paint&address=all

I was curious, because I know SF has a high enough population:water ratio that stricter treatment is required, but on the other hand modern non-oil paints are relatively chemically safe (at worst, probably the off-gasing parts).
Basically, the energy budget of the average citizen of the developed world is much higher than we can support at the moment. Much of the massive amount of material consumption that the US' current way of life is based on is an artifact of artificially cheap energy (especially single family home suburban).

To avoid relatively catastrophic scenarios, we need to not only cut our new emissions to near zero very quickly, but we actually need to go strongly negative. It will take a mix of many different sequestration efforts to reach the required amounts. And all of this will be expensive, and added onto the effort to deal with large numbers of displaced people as developed areas become untenable to maintain, and crop failures get worse.

A big fission build-out would help a lot, I'm a huge proponent of it, but it's not a silver bullet, and empirically, we have a very hard time with it, at least in the US.

I think a phased-in revenue-neutral carbon tax with dividend and border adjustment is the closest thing we have to a silver bullet option. But we'd have to get used to less material consumption as we work to shift things over, because things would be a lot more expensive for a while. The bright side, for most, is that a large portion would be borne by the rich. Things would be more expensive for everyone, though, and populations usually don't react very well to large sudden drops in living standards, though, especially if they identify a particular group as being to blame for it.
If you can coach and build a team to the point where they are effective without you being present, when you come back from your maternity/paternity leave I would be delighted to have you take on that same challenge again but on a bigger and more impactful scale.
It is interesting how often people push back against this solution. We see so many people choose careers based on the projected earnings. It is even a stereotype for immigrants: you can be a doctor, lawyer, (or now) software engineer. Ironically I think the rich would get richer if they chose to pay many of these employees more. We often frame things as zero sum games, but clearly this is a positive sum one. You invent new things and new wealth has entered the world.
I was reading user reviews this morning. There were a good deal of 1, 2, 3, 4, and 5 star user reviews up at that time.
> What's funny ... it turns out that Apple is actually a decade behind.

This is completely false.

A year before Microsoft released Defender in 2006, Apple had already packaged AV scanning in Mac OS X Tiger Server[1] in 2005. ClamAV[2] is OSS, and easily installed on the client OS, and many did so and had been since its first release in 2002.

The thing was, practically, there were no viruses on Mac OS X. The only reason Apple included ClamAV on the server was for scanning mail, because Mac OS X Server's mail server obviously also served Windows mail clients. IOW, Apple was fixing Microsoft's broken crap before Microsoft's own attempt to fix their broken crap.[3]

The very first Mac OS X virus appeared in 2006, called Leap-A. That was one in 2006, when Microsoft Windows already had tens of thousands in the wild. Following Leap-A were a few proofs of concept, and it seemed like every year, there would be one new virus, worm or Trojan horse identified on Mac. But infection was exceedingly rare, compared to Windows that would ensure a new installation to be infected within 10 minutes of being connected to the Internet.

By the mid-2010s there were dozens of identified malware on Mac, but infection was still a very rare exception. Meanwhile, Windows had hundreds of thousands of malware by then, and it was nearly impossible to prevent infection even with vigilant virus scanning; malware got through ordinarily.

To this day, malware on macOS is pretty much a nonissue, and AV on Mac is only there primarily to prevent Windows machines on the same local network from being infected via Mac proxy. There has never been a widespread malware infection on Mac since Apple modernized their OS to BSD. Similarly, you never hear about malware on NetBSD, FreeBSD, or OpenBSD. There is good reason: unlike Windows, BSD is not fundamentally insecure. Malware developers go after the low hanging fruit, which is always pretty much only Microsoft Windows, and malware has plagued Microsoft's NT-based OS since inception.

[1] https://en.wikipedia.org/wiki/MacOS_Server#Mac_OS_X_Server_1...

[2] https://en.wikipedia.org/wiki/Clam_AntiVirus

[3] Had Microsoft Windows not been so dysfunctional, with Microsoft prone to actively breaking useful functionality in enterprise, Linux would never have become so popular. Linux's first best reason for existing was that Linux devs would quickly restore Windows' functionality within short order of Microsoft's removal of that functionality, within days or weeks. For years it was a cat and mouse game, with Linux's cat quickly catching Microsoft's mouse. This is how Linux got a foothold in the server room, which, as we know, exploded between 2011 and 2013 when Linux finally took over the datacenter.
I don't think that's the case, it looks to be a zoom and reinterpret. I wonder what tradeoffs doing it the other way around would bring?

rot_mat = cv2.getRotationMatrix2D(center, angle, scale) # the zoom variable is passed as scale

https://github.com/deforum/stable-diffusion/blob/5241ce95058...

Edit: having looked carefully at the video, these are pretty different. Inpaining keeps the original crop the same, whereas this version allows the model to reinterpret the original.
My thinking is that this is long overdue!

I am working on a very large project where multiple solutions have been invented to solve problem which are all handled by Nix:

- Bake in the repository the clone of the dependencies.

- Compile the tool chain to create reproducible builds.

- Create "artifact" builds, to avoid large recompilation times for many developers.

- Use various tools to cache and distribute builds.

- Use a bleeding-edge version of some dependencies.

- Use Node, Java (Android), C++, Rust, …

If only Nix were to run natively on Windows, this would check all the boxes.
Years ago before the cannabis legalization wave of the last decade I read an article about how the War on Drugs had resulted in black tar heroin being cheaper than cannabis.

The War on Drugs will go down as an inhumane, horrific failure. We should never forget its origins as a reactionary wave against counterculturalism (ie hippies) and black people. Cannabis remains a Schedule I drug (meaning no medical uses despite all evidence to the contrary). There have been vast disparities in sentencing guidelines between crack and powder cocaine (eg 5g of crack vs 500g of powder for trafficking [1]).

We have a pipeline here of the overprescription of opiates by US doctors to a level no other country does. IIRC I read once that if you're still taking opiates 2 weeks after you're prescribed them there's a 50% chance you'll be taking them in a year.

Illegal opiate pills are expensive. Heroin (including black tar heroin) is cheap. A lot of heroin addicts started with a legal opiate prescription [2]. The likes of Purdue and the Sacklers were complicit in lies about Oxycontin and profited on creating opiate addiction. In a fairer world, Purdue would be seized by the government, the assets of the Sacklers would be seized and those most responsible would be executed (and the rest get to spend their lives in jail).

It is utterly no surprise cannabis reduces the demand for opiates (and thus the stock price of pharama companies). Just how much evidence do we need to legalize cannabis at the Federal level?

The president doesn't seem to have unliteral powder to legalize cannabis [3] but could trigger a reclassification and he could change how the DEA treats and prosecutes cannabis offences. Over a third of people now live in states where recreational cannabis usage is either legal or soon will be. It's really time to demand change.

[1]: https://www.usnews.com/news/national/articles/2007/10/01/cra...

[2]: https://nida.nih.gov/publications/research-reports/prescript...

[3]: https://www.jdsupra.com/legalnews/can-president-biden-legali...
I posted this today and thought my comment would be shown at the top of the post instead of just some rando who seems to have the same problem. https://news.ycombinator.com/item?id=32693382
I don't know anything about renting/buying/homeownership in South Korea but to me it seems like you could still have people living in these basements if you could ensure they don't flood above head-level with sump pumps or building a dike around the building or something? Not sure. Seems like it would be a good stopgap solution while still making sure tenants don't get their lives upended by flooding or laws that force them out of their homes.

It's funny because we've been starting to see homeowners of larger houses where I live renovating their basement into a condo/shared living space of sorts then renting it out to younger generations of people who can't afford regular apartments or housing.

I'm fairly certain we're going to see an economic collapse on a larger global scale in the next decade and some governments' complacency on housing availability/affordability/etc. are going to be part of the blame.
I'd also note that the we haven't figured out the whole nearly invincible cyborg cop aspect yet either, so that's a fairly significant difference too.

Mostly I assume that if Bank of America thought they could make money doing what you say, then they'd probably be doing it already. If they'd lose money on it, then there's no way they'd do it. That's one of the ways that American companies are just refreshingly simple.

On another note - I really don't understand what housing wealth is supposed to do for people. My house has increased in value around 200% in the last decade. And? Sure I've got more money on paper, but what am I supposed to do? Sell it and live in my car? (I think I could pull off van life maybe.) All that's happened is I have to pay ever more in property taxes.
Agree on WinForms, but why wouldn't WPF also be fine? Granted it leaks a bit of memory here and there, but not much
I've done this and we have someone currently out on leave (both of us founders). We do 2 weeks of radio silence, 1 week working half time remote, 1 week of full time remote, then back in the office. The two weeks is tough but we've been able to spread the workload to other members of the team.
I have no idea, I'm not a lawyer, nor a criminal to be on the receiving end of a search warrant so I have no insights into their details. Why do you assume otherwise?

So you're saying that an investigator looking for a specific type of evidence cannot find other evidence of the same crime? Are they then supposed to go back to a judge to say now we need to modify the warrant or get a new warrant? Do they leave people around so the new evidence isn't removed while the new/updated warrant is obtained? Are their time limits on the execution of a warrant?
this is great! how are channel similarities discovered?

feedback:

* the galaxy map is next to useless. this is the data model, which is neat, but does nothing for usability
* searching can be improved. i search for AvE but got all results with ".ave." so that could be improved
* allow me to search by youtube channel URL directly, or video URL (where the service dereferences for the channel)
Well it technically does if you make a new stack with mmap(MAP_STACK) (or simply round down the stack pointer by a page size) and remove the write access to the top of the original stack and mimmutable it.
Unions are necessarily political organisations (who are almost always corrupt), but they also do tend to defend the rights of their workers. Didn’t the UAW protect their workers so well that they are partially blamed for the trouble at GM and Ford? This is a Union so strong that it managed to become a major part of the companies bottom line (instead of all being extracted by CEOs as usual).
im too late to contribute anything to core markdown, but my claim to fame is making a list of "mistakes in markdown" that Gruber endorsed recently:

- list: https://twitter.com/swyx/status/1240719259505963010 (previously on HN https://news.ycombinator.com/item?id=22776108 )

- gruber: https://twitter.com/gruber/status/1240888155307495426
A previous post of the same thing (via different URL) from 15 days ago:

https://news.ycombinator.com/item?id=32516826
Maybe I'm missing something obvious, but this seems like a way to calculate a mode, not a median.
If I was not clear, I too said the same thing - kill switches with reasonable restrictions and judicial oversights are ok in a democracy, but abusing it is not

(While my explanation of the over abuse in J&K may have sounded like a defence of the government, I assure you it is not. I was just stating the facts for those unaware of why the abuses are more there, i.e. because it is a disputed region prone to conflict. I have also listed examples of how my own government has definitely gone overboard and abused it against legitimate / non-violent opposition, which is totally unacceptable in a democracy.)
Why get on the ship in the first place? Was I forced onto the ship as a slave to be sold to the highest bidder in America? Or am I the captain of the ship who will get to keep all the riches?

There can only be one captain. If I'm forced onto that ship as a slave, I will do everything I can to break the chains and free my comrades. No matter what kind of riches I'm promised, I won't be the captain of any slave ship, that's for sure.
It's a prisoners dilemma. Someone cheats and you can either not cheat and be treated like a fool while the cheater gets all the status and attention and calls you stupid and says that you deserve it or you can cheat, walk toward the cliff and fall off together with the cheater.

From a societal standpoint we should teach our children to just let themselves be cheated and work anyway and shoulder the burden of the cheaters because even if cheaters ruin your life, they only ruin your life, not society as a whole, which only is only ruined if you cheat back.
DYSTOPIAN OUTCOME:

/u/sgtnoodle has accepted a great job with MedTronic, little does he know, that as a QA process embedded engineer, his duties require him to monitor various labs - including the PENTEST/AGGRESSIVE attack lab... but the anechoic chamber contract was low bid - and has leaks...

As he walks by the lab, checking his tablet for his various checklists... there is a leak.

A deadly leak... As he rounds Corridor-4A toward his desk, the leak hits him.

As a Class-I Mk2 Embedded engineer, he was susceptible to the RF attacks...

We only found him after the alarm sounded that he badged through Door X1A, but never made it to Door TR3B where his lab was...

Cardiac failure due to failed electro-stim documented as cause of termination of employment.
The "extremely expensive pens" focus is particularly frustrating because I have gotten the impression that the modern fountain pen market is more about producing limited-edition goods for collection and conspicuous consumption rather than excellent pens: the actual nib, feed, and entire function as a pen seems to be less important than the appearance of the barrel. Most high-end fountain pens seem to have the same style of usually-too-bold, extremely stiff nib, and the same style of feed and reservoir. Any specialist nib makers with flex nibs seem to just be making the same traditional nibs that have always been available.

I primarily use vintage fountain pens not because I would be averse to using modern ones, but because they have better options available. Pens from over a hundred years ago somehow have far better flex nibs than modern pens, despite, as you point out, the many technological advances in flexible materials. And I'm not aware of any modern manufacturers making filling mechanisms like, say, a snorkel filler. Even my 1970s Kaweco Sport has a hooded, semi-flex nib; modern Kawecos have the same generic stiff nib on a standard feed that every other modern pen has (they are apparently actually just a purchased brand name of a cosmetics company now). Surely we could do far better? Yet it seems like no manufacturer is really trying to innovate on the actual pen part of fountain pens at all.
Adding sounds to single-syllable words is also helpful to reduce ambiguity.