skysight-inc/HackerNews huggingface dataset:
It may be a good thing for employees (like me) who prefer to work from home, but it's a very serious problem for the huge part of NYC's economy that relies on people commuting to work in the central business districts (Midtown, Wall Street, etc.) every day:

- Restaurants, fast food places, bars, etc.

- Mass transit - reduced ridership means less revenue, so there may need to be service and staff cuts.

- Commercial buildings - fewer jobs for maintenance and cleaning workers if nobody is working there.

- All city services, which depend on sales taxes (e.g., from restaurant meals), NYC income tax (fewer employed workers in the industries mentioned above), and property taxes (which are based on real estate valuations - if commercial rents drop due to low demand, valuations will go down).
Also the entire state of Oregon has both decriminalized, and has approved and is setting a legal medical infra just like with marijuana.
I think that's one place where it's divided and contended. People here are pretty vocal and critical of electron.
The goal of transition is to reduce the things that otherwise make you uncomfortable, and that discomfort is called dysphoria. So having dysphoria and being transgender are more or less synonymous.
Riiight? I read that and my reaction was Red Dwarf Cat "What is it?" https://www.youtube.com/watch?v=BLc5mvOGgxc
I think it would be 0, []

a and b are shadowed in the foo function so the function only acts on the shadowed (and copied) variables. Once you return from foo, the const a and b are unchanged.

Not a great question as a pass or fail test imho because if you use shadowed names often enough to be able to parse this code in your head, you’re writing bad code. There is a reason why shadowing names is a bad practice: it’s hard to figure out what the end result is and account for side effects! But as a discussion on all the points above then it would teach the recruiter something about what the candidate knows rather than using this as a trivia question.
This guy has watched a lot of studio ghibli movies, it's written in a very heavily romanticized manner with a great deal of anthropomorphism thrown in.
It's also due to the fact that at least for a while, the DEA made ether unavailable. So the drug labs turned to benzene as a substitute. The problem is benzene is gasoline and no one is putting powder that smells like gasoline up their nose. The solution? Cook crack. The smell disappears when you boil the powder with baking soda. Had it not been for the DEA, crack never would have been an option.
I agree except for:

>No, there's no reason they shouldn't be able to do that. That's why it's called a mental illness.

That's not the reason it's called a mental illness. It's called an illness because it's a source of suffering. Also, of course there's a reason - otherwise it wouldn't happen.
Join also https://www.startupschool.org
Out of curiosity, what laws does it violate?
Why are there still trolls on the internet?

Simple answer: https://w3techs.com/technologies/overview/programming_langua...
Musician here...

I find it interesting that you dismissed sex/reproduction as not being part of the human experience. I can think of no other act more fundamental to the human experience, save breathing and eating.
Given that Apple have owned CUPS for close to 15 years, yes they still use CUPS. The author left Apple in 2019 and now maintains a fork.
Reverse repo is where money goes to die 24 hours at a time. It isn't the opposite of QE because it is a 24 hour operation that reverses at the end. But string a lot of 24 hours together and you get something that behaves like Quantitative Tightening during the duration.
Are you trying to say there are existing racist policies in 2021? Can you list some examples?
"People rarely commit robbery and murder to get another hit of alcohol."

This is mostly because shoplifting is a thing, and possibly because you can do things like steal from family and your food budget can generally keep you drunk enough that you don't care if you eat. Vodka can be really, really cheap.

Addicts with enough money to afford their addiction rarely commit robbery or murder, by the way, as evidenced by the politicians, entertainers, and sports players that wind up having addiction issues. Small towns still generally have low murder rates, and have addiction.

I'd argue that folks rarely commit robbery and murder for their other addictions, too - we just hear about them on the news, the same one that draws attention to things that hook into your fear and sensationalizes it. In any case, I'd need sources to see if it is really a cause in anything but a tiny number of addicts. I'm guessing more get caught for public intox or possession.
Care to state which assumptions you disagree with? I will target my attention there then.
Apple will do a package manager, once they work out how to bolt on an "app store" on it.
My only pet-peeve about Notion is that I want to default to large blocks of text all the time. Not single lines of some data-type.

It's really annoying and I know some people probably love this feature. But I feel like something that is primarily a note-taking app (yes, it a super-customisable database etc.e etc. also) should act like 99% of the note-taking apps that have been written previously.

Am I missing a huge paradigm shift in the way notes are taking "these days"? Just give me a blob with free rein. I'll format it later (maybe).

Using Notion isn't - for lack of a better word - comfortable to use.

Having said that, I use it all day every day. So it must be doing something right!
Thanks, I've edited it.
Actually it is. If you want people to help, make it easy to do so.

This means a structured list of what to do.

There’s a todo-wiki with some links to mailing threads of years old.
With unaccepted patches without explanation what’s wrong.

If you want an engineer to help, don’t require him to be a PM
China and Middle Eastern countries are one-party states, not peer countries with comparable independent systems of criminal justice. Yes, many drugs are illegal in other peer countries (the UK, France, Canada, etc.). But the percentage of the United States' population incarcerated on drug-related charges alone is higher than the percentage of peer countries' population incarcerated on all charges. So the United States isn't simply outlawing drugs, it is choosing to crack down in a way that peers aren't. As far as the racial element goes, it's hard to separate racism from drug enforcement: the vast majority of those serving prison time on drug related charges are people of color (the percentage is greater in federal prisons than state prisons), even though substance abuse rates are similar across groups.
A claim that, when being asked "where's your proof," is met with absolute silence if not wild claims without evidence, can be dismissed immediately. Just because a broken clock is right twice a day doesn't mean it's a solid timepiece.
Sec. Yellen is operating close to the debt ceiling. It will take an act of Congress to remedy this.

https://www.rollcall.com/2021/06/14/democrats-have-no-easy-o...
Or violently resist arrest if a three strike indictment is a possibility. No need to violently resist a shoplifting bust, but if it might carry a life sentence, the calculus is very different.
Well, banks do not hold cash. Cash is always held by the central bank (that's where the other banks have their accounts). Nowadays, this can easily involve negative interest rates. So if a bank now buys some security back from the central bank, they effectively remove money from the system (and get that security in return).
Previous discussion: https://news.ycombinator.com/item?id=20726906
> In my experience most doctors are pretty useless trying to solve a difficult problem

This applies to nearly every profession. Most people are average at their jobs and most people aren't that great at consistently solving the harder (or hardest) problems their job presents.

It's as true for doctors as it is software developers or truck drivers or teachers.
Eh, many REST endpoints are de-facto indistinguishable from RPC. Though as far as a general query language for Web clients, you can use SPARQL which interoperates well with REST principles.
Same here. The solution was immediately obvious. I'm amazed that she actually got as far as talking to a psychiatrist, unless I suppose she was so ashamed of the problem that she had never told anyone about it before.
Found this quite insightful. Thank you for breaking it down!
It increases their regulatory obligations without increasing their profits.
Agreed, but we need the community to migrate to it, which requires leadership from the maintainers.
There are multiple jurisdictions in the United States. Many of those are still directly attacking inclusion and equality, for instance by tightening voting laws without also funding efforts for voting access.

Additionally, many people do not agree with the current administration. Politics is not just about the big guy in charge, it's about how everyone approaches the matter at hand.
Narcolepsy is not about passing out randomly, most doze off very quickly when doing simple or repetitive things. If you also have cataplexy there is hardly any question. Read more about it, join a local group the symptoms are very divers.
A set of elements that lead to the concept of provability[1] are: 0, 1, addition, multiplication, quotient, remainder and inequality.

Quotient and remainder are definable implicitly in the language of number theory (the language of Peano Arithmetic). Sometimes inequality is explicitly defined, and sometimes it is implicitly defined using exists and addition.

From these elements you can go on to define the Goedel beta function, which allows you to encode lists of numbers and extract the nth element from such an encoding. From there you can go on to define arbitrary primitive recursion (and even more). From there provability can be defined as a primitive recursive function.

I'm not sure which element there you want to ban. Maybe you want to ban multiplication?

[1]http://r6.ca/blog/20190223T161625Z.html
The existence of side-effects affects how many people will take the drug. I don’t think the zero side-effect situation illustrates anything any more than giving away your product for free tells you how many people will buy it.
Good point!

There's an old quote: "Nobody ever got fired for buying IBM."

Large companies tend to be more risk-averse, so if there are two companies you can use for a service — $PromisingStartup and IBM — large companies will generally make a decision that's optimal to the specific decision-maker, not optimal to the company.

There are two options if you, as the buyer, choose either $PromisingStartup or IBM: success or failure.

If IBM or the $PromisingStartup succeed, then you've done your job.

If IBM fails, you can tell your manager "Who could've guessed! It's IBM!"

If $PromisingStartup fails, you'll have a harder time explaining your decision, and the fault will be with you.

The "Nobody ever got fired for choosing IBM" idea is useful to look at every decision large companies make, whether it's pivoting, choosing a SaaS product, or hiring.

TripleByte, in its current form, has been beneficial to candidates as well by giving enterprise employees a justifiable signal towards hiring them regardless of pedigree.
> Nearly all hedge funds etc have USD as their basis.

This is false, many have CAD, EUR, and other currencies as their basis.

> Bitcoin, Gold, Stocks, real estate etc has a value tag that's denominated in Dollars.

This is false as well. You can measure BTC,Gold, stocks or realestate in any currency you want.

Do you really think Canadians denominate their real estate in USD? Why would BTC, Gold or stocks be any different.

The US denominates BTC, Gold, Stocks and real estate in USD. The reset of hte world uses their own currency.
Validation of My Account
Don't forget Spotify, WhatsApp desktop client, Skype, discord,
It's a boundary condition error.
Chances are there was nothing wrong with her. When you have the ability to see from miles away the odds stacked against you, sticking around takes a bit of insanity.
That wikipedia article is edit-locked and if you look at its history it is, in fact, hilarious.
Something I've been thinking about that maybe the HN hivemind can help with; I know enough about io_uring and GPU each to be dangerous.

The roundtrip for command buffer submission in GPU is huge by my estimation, around 100µs. On a 10TFLOPS card, which is nowhere near the top of the line, that's 1 billion operations. I don't know exactly where all the time is going, but suspect it's a bunch of process and kernel transitions between the application, the userland driver, and the kernel driver.

My understanding is that games mostly work around this by batching up a lot of work (many dozens of draw calls, for example) in one submission. But it's still a problem if CPU readback is part of the workload.

So my question is: can a technique like io_uring be used here, to keep the GPU pipeline full and only take expensive transitions when absolutely needed? I suspect the programming model will be different and in some cases harder, but that's already part of the territory with GPU.
GMs are CEOs of their group. I wouldn't put them in the same category as line managers that normally an engineer would report to for instance.
I've read most of Scott's blog posts and he rarely mentions OCD and when he does it tends to be "this is what I think people with OCD experience" and not "this is what my patients have told me" which leads me to believe that he is not an expert in OCD.

I have OCD and it's ruined my life in ways that are hard to articulate. Which is why I can point out two good reasons why what's being described might not be a good idea. First, giving into compulsions just legitimizes them and reinforces the patterns that are central to OCD and can ultimately make things worse. Secondly, OCD has a habit of changing how it manifests. Sure, maybe the woman is no longer bothered by the hairdryer, but what happens when it becomes changes to worrying if the oven is on? She'll be right back where she started.

I doubt that the anecdote actually happened as described. It's way too contrived, simplistic and borders on "Psychiatrists hate her! Cure your OCD with this one simple trick!". Realistically, OCD is incredibly insidious and if it were that simple to cure then nobody would have OCD. What's described is, at best, a short-term fix and half the psychiatrists likely knew that such things rarely stick.

I've had the same thing happen to me more times than I can count. I think I found the silver bullet, a way to permanently defeat my obsessive thoughts. If I'm lucky then it'll last a week before my OCD comes back in full force. But the truth is that you cannot directly fight OCD, it's like squeezing dough. When you clamp down in one spot, it just squirts out somewhere else. There's a quote that I think describes it perfectly "To hate me is to give me breath, to fight me is to give me strength". Fighting OCD or giving into its demands is just falling into its traps. You only truly win when you reach a point where you don't respond to it.
The const on b only applies to the object reference to b, and doesn't prevent foo from changing the contents of b. No doubt that's why the test question includes an array in the first place.

At least I assume that's how const works; I've not used const in JS.
Didn’t notice the <1m. Then yes, they’re following.
I agree. I wonder why it's so different for depression vs. other illness/challenges. When we see someone without legs, we accommodate them however possible and try to treat them equally, but we also celebrate those who manage to be competitive wheelchair racers or accomplished at calisthenics. Yet for depression, we almost try to convince people that it's simply not possible to be functional and you shouldn't even try. I sympathize with people who have depression but I feel like the current way people try to deal with it is similar to trying to encourage cathartic releases of anger, not knowing that it only makes anger worse.
The bankers are not the ultimate buyers of mortgage bonds. The Fed is. So, these low interest rates are not a predictor of lack of inflation, but a reflection of policy. The government is taking this risk.
That quote doesn't really support the idea that "We knew we couldn't make it illegal to be either against the war or black, but by getting the public to associate the hippies with marijuana and blacks with heroin, and then criminalizing both heavily, we could disrupt those communities." Instead, it supports the idea that Nixon thought drugs undermined society and stamping out drug use was valuable for its own sake.
Thank you for sharing. I am going through something very similar right now. Less than a half-year of therapy but it's helping.
> Almost like making it legal, relatively cheap, and easily accessible makes it so you don't have to resort to desperate means.

I think the question of legality muddles the argument. Its illegal to drive under the influence yet many do and some end up in horrific accidents.

We're stewards of the next generation. We're their parents, teachers, role models. Our aim should be to reduce the use of crystal meth, and other drugs that cause self-harm. No different than promoting exercise, knowledge, healthy lifestyles, etc.

Making something illegal is a powerful disincentive - but we don't expect it to work 100% perfectly. Its important to recognize when something isn't working - but lets not throw the baby out with the bathwater. Government policies are like supertankers and once they're operating at speed, they're hard to stop/steer.
Romero was the "frontman" for Id Software (Wolfenstein, Doom, Quake) back in the 90s. He gave the magazine interviews, attracted the hype, and claimed much of the credit for the game's success, at least in the popular press.

Carmack was the programmer who wrote the core bits that made the game possible. He didn't engage with the popular press, and when he did engage in discussions with the media or with fans, it was at a very deep and technical level.

You may also think about it in terms of Wozniak and Jobs. Point being that Alan Kay was out there, engaging the press and talking about Smalltalk's big ideas (objects, messaging, computers as medium, how they relate to children, etc.). He was the frontman. Whereas Dan Ingalls deserves the bulk of the credit for actually writing Smalltalk.

Fun fact: Ingalls wrote early Smalltalk versions... in BASIC.
But, it has provided many with an excuse to pass restrictive laws, to win elections, to gain contracts with the government.

Don't forget: prevent people from voting (https://www.aclu.org/blog/smart-justice/sentencing-reform/ri...), funnel people into for profit prisons (https://www.axios.com/war-drugs-prison-america-e66ffe61-c876...), steal assets from citizens under the guise of civil asset forfeiture (https://drugpolicy.org/issues/asset-forfeiture-reform), all while targeting minorities (https://drugpolicy.org/issues/race-and-drug-war).

It's clear that this is very well calculated and understood.
I assume the credit card readers communicate over the Internet in some manner. The gas prices at the pumps are set over some sort of network though it may be local.

You might be surprised how much communication there was between branch stores and HQ going back decades though before probably some point in the 90s it may have been over phone lines.
> I think you need to define "out of date".

Well, look at this way—the latest consumer version of macOS still comes with Python 2.
you don't need to have sources to state an opinion on how things feel
it probably isn't, but bans don't work either or are simply not effective compared to education. the only places where it works are basically dictatorships where people are obedient and don't make waves about anything. if you're a democracy and have "freedom" as a high priority it simply doesn't work to order people what they have a right to smoke, drink or inject. but what you can do is educate people and it's not even expensive compared to the ludicrous amounts of money spent on the war on drugs. countries like Portugal have demonstrated that quite well.
"Follow the money"
Does either (claims to) explain the proof itself in it's full glory? I had read "Godel's Proof" by Ernest Nagel et al [1] and it fell short.

[1] https://www.amazon.com/Gödels-Proof-Ernest-Nagel/dp/08147583...
> If you voted for a bill containing a specific provision, it is entirely reasonable to supose that you support that provision...

No, that's not reasonable. You support the bill as a whole, not every sentence in it. The strongest that can be said is that you don't disagree with that provision strongly enough to reject the whole bill over it.
Because it's not actively generating value, and is in fact actively losing value thanks to inflation. It's legally considered a "liability" in the context of a lot of banking regulation.
Convert to go, distribute binaries instead :)
Firstly, that would get them into a lot of jurisdiction fights with the local cops.

Secondly, it would also get into a lot of fights with the locals; every "bust a group of people standing on the corner" runs the risk of false positives, the gradual loss of trust of the population, and an increased rate of violent incidents.

Thirdly, in order to avoid just displacing it, it requires cops (or at least cameras) everywhere. America has a lot of corners.

As with Prohibition, this would probably accelerate the collapse of the policy.
I've noticed it's very common to swap 'sadness' and 'depression' in american english. In brazilian portuguese we have an abreviation for "depressão" which is "deprê". Depression is the illness and "deprê" is slang for "sad" and they do not mix. It seems to me by equating both the american english is making it harder for people to realize the difference (which is tremendous).
Ideas for Summer Reading
> I don't know what your political ideology has to be to think the War on Drugs is a good thing

This is quite a straw man, not wanting to decriminalize all drugs is not the same as thinking the War on Drugs is a good thing. (And it's not like there is one particular policy that on its own constitutes the "War on Drugs", so this is a very vague statement anyway).

It's also interesting to me that in many other arguments, the liberal/progressive side likes to (rightly) highlight other countries that have done a better job and present an example to follow. Not so with drug laws, because there are no such clear examples of success. There are countries with much less of a drug problem than the US which have much harsher drug penalties (like Japan and Singapore). Then there is the most popular example on the other extreme, Portugal, where it is not at all clear whether their decriminalization policy worked or not [0].

US society clearly seems to be moving in the direction of legalizing less harmful substances like weed and relaxing criminal penalties for small scale possession, which I believe are good things. But I don't see any reason to believe that decriminalizing everything would make things better. At the local level, US cities where opiates are effectively decriminalized like SF have horrible outcomes when it comes to drug abuse and overdoses.

[0] https://obamawhitehouse.archives.gov/ondcp/ondcp-fact-sheets...