skysight-inc/HackerNews huggingface dataset:
> Vaping looks to be a lot more effective way of delivering high doses of nicotine than cigarettes.

That's one segment of the market. The store I go to mixes everything on site, so I can choose my nicotine level. You can get anywhere from 0mg to 24mg in 3mg increments. When I was quitting smoking, I'd say 18-21 was the closest to a "cigarette" level.

Today I typically vape 6mg, simply because I enjoy the benefits of nicotine and see no immediate reason to quit. I have also helped many stores get setup in my county and most of the pre-made vape juice for the "mod" market that they sell comes in either 0mg or 6mg concentrations; and from my shopping at the wholesaler, this seems to be the vast majority of the market overall and outside of products like JUUL.
Nothing really. Those vapers would more than likely just be smokers of vaping wasn’t around.
The missing link: explaining ELF static linking, semantically (2016) [pdf]
Why did they drop the electric skate concept in favor of requiring cars to have tracking wheels?

That's not nearly as elegant of a solution, so there must be a good reason for the change. With the skate they were even going to allow non-EVs to use the tunnels.

From their FAQ [1] "Every mile the skate transports a gas-burning vehicle becomes a zero-emission mile."

1. https://www.boringcompany.com/faq/#block-yui_3_17_2_3_151205...
In case anyone else was unclear what a biexponential[0] function is, it's a function that is the sum of two exponential values.

[0] https://en.wiktionary.org/wiki/biexponential
The first e.g. is relevant to water simulation/CFD, where you estimate derivatives from neighbours. I kinda dislike the (popular) solution of padding, because performance is always an issue, and I don't like wasting memory (worse in a grid), even if maybe it doesn't really matter.

But in CFD, confirming your code is correct can be an issue... There's no formula to check your results against (notwithstanding MMS); flows can be too complicated to tell by eye if they are correct; and intrinsic discretization and round-off errors mean it can never actually be correct anyway. So anything to reduce silly coding errors has got to be a good thing!

These contradictory goals of correctness and performance can be accommodated with two versions: a correct one, to check a performant one.

aka make it right, then make it fast; optimization laws: (1) don't (2) not yet

But in general, I think: If it feels like a special case, make it look like a special case. If the next developer must first be educated about the whole problem, your theory of it, your solution and implementation, it's a Barrier of Abstraction. The last example in the article is very clever, perhaps... too clever. Debugging it might be tricky.

OTOH If your theory really is really good, pretty soon everyone will "feel" in terms of it, and the special case will disappear. e.g. relational algebra, structured programming, modules, objects, fp

\tangent an efficient approach to the 1st example is a running sum: to move right, add the entering cell, and subtract the exiting cell. (2 ops per cell instead of 3)
> PS: They do mention that they used to make in-house tooling, but then why transition?

Circumstances change. It made sense at the time to roll their own. They feel it doesn't make sense any more. That Netflix is capable of doing the work is not the same as whether it makes economic sense for them to do so. This is just Economics 101 -- gains from trade and the theory of the firm.
Really the fact that they have to clarify that alone means that they are grossly unqualified to be legislators - let alone that they passed that abomination.
"Their interviews are structured to preserve the egos of the interviewers "

You just stereotyped about 100k people. You have no idea about how many people work to make the interview questions as interviewee friendly as possible. You may hate the company but don't judge the people without knowing them.
Envoy is a networking tool. Wouldn't have much to do with a frontend redesign. They're very far apart in a tech stack.
Show HN: Statistics for every subreddit
I don’t have the stats handy at the moment, but ISTR that the number one way that police officers get shot/killed is by having their own gun taken away from them by criminals and then used against them.

Now, granted, many police officers don’t have anywhere near as much gun training than your average NRA member, but I submit they still have way more training with guns than the average person on the street.

Given that, I can’t see how the solution to the gun problem is by having more guns.
Elon Musk Unveils Boring Co's First Tunnel
The article makes more sense if you consider that Google is notorious for statically linking (almost) all its production binaries, something that the Go toolchain supported early on for related reasons.
Google's requirements also allow easy mobility between teams. If all I knew was one framework, I'd always have to prove myself again when I move teams. The hiring bar ensures that most candidates can adapt due to their strong CS base.
Any statement other than "all parties are identical" is partisan. It's not a problem to say that they stand for different things. That's the whole point of them.

Deceit is the Republican Brand for the same reason the color red and elephants are the Republican Brand: they regularly use it to identify themselves.
It applies to me too. I can't afford books so I pirate them. But I can't enjoy fiction without physical books so I never read any lately.
Addiction is the result of underlying mental health issues though, not a direct cause of companies selling addictive products... Teens have it rough, at least they imagine.

Edit: Not sure why the downvotes. There is a trend of putting the blame for N things on external factors, e.g "he is in debt because of all those credit card advertisements". For Americans, it might seem like corporations are the cause of many such ills, but there are societies where e.g aggressive advertisements which are common in the US are non-existent, and people still get in debt, eat badly or drink too many sugary drinks.
As someone who's done a ton of tech interviewing for a blue chip silicon valley firm, viewing this as a homework problem to which there is one correct answer is exactly not what I'm looking for. I want to see your problem solving skills and I'm curious about your knowledge base, but if you don't know any of the specific techniques and/or don't get to the specific optimal solution I'm looking for I really don't give a shit.
When a new administration shows up.

Maybe that's not fair, but I just assume that very little in the form of corporate regulation is on the table right now.
No more than you're curtailing my freedom by not letting me into your home. I've been convicted of nothing but you won't just let me into your home.
yes or simply "stop smoking"

This article is an example of a bit of our society's insanity.

Quitting nicotine is difficult. But people who want to quit work at it and achieve their goals. Throw the shit away, talk to your family for support, don't buy more.

It's insane to imply that we need some sort of product or medical supervision to make a decision and work at something like quitting nicotine.
If you purchased the wine with a credit card then Facebook has the ability through agreements with other data providers/aggregators to connect it back to your Facebook, Instagram, etc account. Source: I know someone who is in biz dev at one of said companies and sells this type of “profile” data to Facebook and countless other companies. If you purchased with cash then sure does sound like they were somehow listening.
We call those countries Texas, Virginia and Florida.
The underpinnings of building a language and compiler for ML by the Julia authors at https://julialang.org/blog/2018/12/ml-language-compiler
Any time I visit a non tech relative - their desktop is constantly popping up with messages they claim to know nothing about.

In the old days, you needed an RCE and some malware to do desktop popups. Now it's apparently just a feature. It's becoming an increasingly abused function.
It’s a fairly easy argument to rebut as Samsung doesn’t have the same privacy stance as Apple. Just like with MacOS vs Windows it’s an easy choice if you’re convinced the alternative is not privacy conscious.
I can't speak for PR as I have no qualifications there.

I'm brutally honest and open with people who can accept that. I've tried to work that into every relationship I've had (family or significant other). It is a lot of work to culture that kind of relationship, but it is worth it (and it has failed many times, don't get me wrong). Maybe you haven't had a scenario like this, but I'm sure you could imagine it: holding onto your emotions for far too long, not communicating them, until they become a major problem and are blown out of proportion.

It's the strangest thing about the human instinct, we think that we're making things simpler through our actions but we often make them more complicated. If we think about what we truly want, instead of what gives us immediate gratification (revenge), we'd make better decisions. Next time you're about to initiate a fight, step back and think about how you'd communicate exactly what you need.

Occam's Razor doesn't only apply to science, it applies to humanity. Musk is a "simple" person and, despite all his flaws (there are many), that's why he's a role model for this adult. All power to him for this PR experiment.

Edit: paragraphs.
> The survey also found that many students believe they are vaping “just flavoring.” In fact, just about all brands include nicotine, and Juul has particularly high levels of it.

Wow. What?

Minor point, but nearly every flavor of eliquid I've ever seen comes in a 0mg variant. Granted, none of the gas station pod systems have that.

More importantly: there is no way in hell you are vaping a Juul and just think its flavored vapor. I have not once seen someone take a hit on a Juul for the first time and not have a small coughing fit. Unless you inherited an impossibly massive genetic nicotine tolerance, the first few times you hit a Juul you're basically going to fly. I've seen one person puke. Having a small brown-out for a second would not be unheard of. Its very strong. Its made for adult smokers who have been smoking for years and want to quit. Its not even that tasty compared to the other less strong brands; nicotine is straight up disgusting, and only gets more disgusting as the concentration grows.

I don't believe for a second that kids were genuinely self-reporting that they had no idea, unless they were actually vaping something more like 3mg/ml juice from a normal vape. That, I could see. But a 50mg/ml Juul, absolutely not. That's like saying you drank a shot of vodka and had no idea it wasn't water.
I mean, sure, right? It's like living in a big mansion with your friends and choosing who gets to visit. I think that's perfectly okay. If you want to restrict me out I'm okay with that.
Nicotine is physically addictive regardless of if there's an underlying mental health issue or not.
Perhaps you know this, but alt-left will go back as well. You can also install a vim extension and use capital H to go back.
There's a place for both highly moderated and free for all spaces. I prefer moderated discussion forums, because discussions work better without jerks. But I also value free for all spaces, because they guarantee that messages can't be silenced, no matter how unpopular and illegal they are.
Would you let me into your house? How is this any different?
I think it’s a genuinely difficult experience to be a teenager. Caught between worlds, not quite an adult but no longer a child. I wouldn’t want to invalidate that experience.
The problem with "just use a damn library" is that software is full of abstractions and they leak. If all you know is libraries, and you don't invest in knowing how underlying technologies and algorithms work, you're going to get destroyed and look completely lost at some point. Sooner than you think.
Hey, dev here. A while ago I noticed that the Reddit Metrics site had stopped working - looks like the original dev sold it to a company that decided not to maintain it. So I tried building on the concept and added a bunch more statistics that I thought would be useful. It might be a bit buggy still, and it's not as pretty as Reddit Metrics, but I think it gets the job done. I built it using nodejs and vanilla JS/HTML (which is why it doesn't look that great ^^) on glitch.com.
Can you elaborate on some names (expect Franklin's autobiography and Marcus Aurelius meditations)
I get what you're saying, but browsers haven't been stateless url-loaders since the late 90s. JavaScript in general, cookies, local storage, and plug-ins are all compromises with "pure" http navigation that (a) can be abused but (b) offer some much needed client-side cooperation in maintaining continuity and reducing repetitive traffic with the server.
I am so unbelievably tired of the hacker news "you work for company x and therefore your opinion is tainted and you aren't allowed to have personal opinions" crap I don't even know where to begin. It's just another form of worthless bias being used to dismiss arguments.

It's no different than any other form of bias, even if it seems more socially acceptable here.

If you want to argue with what I actually wrote, happy to have that discussion. Otherwise, not interested, sorry.
I'm going to share a bit of parenting advice from my own father that worked wonders: he threatened my life. Seriously.

"If you ever touch drugs or a drop of alcohol I will take your life with my own two hands." He stared into my eyes and said that with a ferocity I didn't dare challenge (if I recall I was in the 10-11 range).

I didn't touch a thing until college and despite a brief "binge" phase then, I still don't do much of anything save for the rare occasion (in my 30's now).

In short: don't think so helplessly. You can have a serious impact on your kids avoidance of negative stuff. Especially if you explain "why."
I don't think this article made the case that the access granted was unreasonable.
Siemens, Gaussin cooperate on airport logistics and cargo handling services
Hyundai can ship all the cars that it wants to the dealerships. But the sales people will steer people towards the cars that they want to sell. And can choose how hard to negotiate if you insist on getting the electric car that you see.
It is not my understanding of the mechanism that makes a drug work. It is my understanding of the mechanism that I use to justify giving money to a company that offers a product to me.

If a product is being sold to treat motion sickness, it damn well better be able to do that via some actual fucking mechanism. If your standards aren't that high, then perhaps I should get into the snake oil business. Seems I'm surrounded by suckers.
Unless you think marrige and long term relationships haven't seen the bottom yet, I can't imagine why dating website user information should be worth a lot as people find the person they want to be with and move on.
The shuttle failed at a number of rather important things, that one, price, refurbishment time, etc.

It still managed to do some pretty spectacular things no one else had ever done. I think that's worth something. I think the people who gave their lives thought that was worth something. I think they would rather the program be remembered for its triumphs than its failures.
The Economics of Cryptocurrency Pump and Dump Schemes
These kind of articles always seem odd to me. I've used an e-cig to stop smoking. Worked myself down from 21mg juice to 3mg, step by step. Now I really only use it when I'm out drinking, to prevent myself from wanting a cigarette (old habits do die hard, after all)

The e-cig helped, but the real motivator is that I wanted to run and play soccer more effectively. Vaping was just a tool that kept me away from cigarettes.
I was going to suggest this, too. It helped me quit smoking. Unsure about the effects on teenagers though.

No idea about the down votes; yours is a very reasonable suggestion.
Interestingly, the original Kademlia paper did not make it into any of the big p2p conferences at the time. It was published at some 2nd tier p2p workshop. It was only when the system gained actual adoption, that people referenced the paper.

In contrast, Chord, which was published 1 year earlier in 2001 is one of the most cited papers in computer science. However, Chord was not practical. It assumed the availability of bi-directional connections between any two hosts. However, NATs had just started to appear, which broke Chord. Kademlia, which does not require peers to maintain a well-defined routing structure (the ring in Chord) can muddle through with NATs - because the routing table is a huge messy tree and if any branches lead you to the destination, it will kind of work.
I mean, like half of all Americans choose to live in HOA covered areas. They love to hate them. They don't actually hate them.
وظائف صحافة الامارات
It would be interesting to know how much time and practice it took the inventors of many of these algorithms, to actually create them. When you think about it... that's basically what candidates are being asked to accomplish in these kinds of interviews, unless they have the algorithm (or a very similar one) memorized already.

Would we be surprised to learn that most of the smart guys behind these algorithms probably didn't come up with them in 40-ish minutes on a chalk/white board?
Toppr Raises $35 Mn from Kaizen, SAIF Partners
By the definitions of deadly, and chemical, absolutely. Do you feel otherwise?
Learning to Infer Graphics Programs from Hand-Drawn Images [pdf]
I agree with you, but as a note, you'll cough just as hard if you hit a 0mg nicotine vape for the first time. It's not the nicotine that makes you cough.
I'm not the OP, but anytime ive tried this with the police it doesn't usually end up beneficial. The best response you might get is go see a judge who will tell you they don't care.
I wouldn't have stopped reading your rather interesting article if the font wasn't so difficult to read. I read stuff like this late at night when my eyes are tired and not focusing well. In general "artistic" presentations get in the way of effective communication.
Please tell me you don't think literally threatening to end your child's life is an acceptable step to prevent them from taking any action?

This is mental abuse.
Tinder has one of those monetization schemes that transparently resemble operant conditioning to anyone with the knowhow. Captology.

The more you use it, the more it knows your type, the more it recommends them, then it dangles out more possibilities that are just beyond reach but could be accessible if you just throw money at it.

The prospect of matching with someone you find very desirable keeps you swiping, making you more likely to do it in the future.

I'm not sure if this is necessarily unethical, but it is clearly an example of a knowledge-based power imbalance. Because I am quite sure the majority of Tinder users are unaware of all the machinations behind the curtains.
Scant Evidence Behind the Advice About Salt
I always wondered if AV databases were just minhashing/lsh on binaries... guess not!
Sorting D is a one time operation of n log n, so the overall complexity is n log n + n * m, which reduces to O(n * m) where n is number of words in D and m is length of S.
Delivery mechanism really does matter. Vaping is much more accessible than cigarettes; you can do it indoors with no risk of smelling like anything. You can do it in bathrooms.

Also, if Nicotine is the only reason people are addicted to cigarettes, why doesn't something like nicorette see just as much abuse? Delivery mechanism. Cigarette/Vape users are mentally addicted just as much to the routine and throat hit as they are to the chemical. I'd actually argue more-so.
I love to hate on these interview practices, but I have to admit, the brain teaser problems have actually improved my programming, I think.
The “people in the local area paying money” is tax. And from what I hear of US police, there doesn’t seem to be much accountability, certainly nothing like in the UK.
Sure, but any mentally healthy person can quit without too much trouble if they decide to. The problem is when the person isn't mentally healthy, in such case nicotine might even alleviate the suffering so quitting becomes really hard.
It makes sense for web applications that are real applications. The CI suite my company uses sends notifications for a passed/broken build, which is a reasonable use. Mail sites can send new messages.

The problem is that there's lots of content the publisher thinks is notification worthy, but not the user. No, I don't need a notification every time you post to RandomNewsSite.com.
I smoked for ten years and recently switched to vaping. I don't believe it is necessarily healthier or less addictive, but I do think it might be easier on the lungs and vocal cords (I sing), even though not vaping or smoking at all is clearly the best option.

So, I have tried patches before, and I got relentlessly addicted to them. I wore them for something like two years. I have ADHD and take stimulant medication for it, and stimulants are pretty famous for causing tobacco users to smoke a lot more.

After I got used to the e-cigarettes/vaping, I don't want to go back. I decline offers from friends for real cigarettes when out drinking at bars/etc., and I have had a pack of cigarettes in my house for about 6 weeks now without smoking a single one. The taste and smell just isn't good anymore now that I'm off the "analogs".

It's hard to know how much nicotine I'm ingesting, though. Smoking real cigarettes now gives me a strong nicotine buzz that I don't get from vaping, like that infamous light-headed feeling beginner smokers get. I suspect this is due to vaping delivery being less efficient and more gradually throughout the day, but you would think it would be easier to compare, say, a JUUL to a standard cigarette.

The other problem I've had with my JUUL is leaking. The last few pods I have vaped, have all leaked considerable amounts of liquid - sometimes on my lips, sometimes on the sides of the pod and into the chamber. I'm not sure if this is an issue with my device or QC. I clean the device regularly with a Q-Tip. Obviously, leaked liquid is not ingested or vaped, so that's lost nicotine and can't be counted. The same applies to any liquid left in a JUUL pod when it is thrown away. I've started throwing away pods before they are completely empty, because its not working as well. Air bubbles are also a problem and lead to poor performance.

Just my experience, I'm sure I'll get harassed for this since I'm discussing vape usage, but addictions are addictions, and not everyone wants to quit.
Edtech startup Toppr raises $35M
There is one other thing that could break, but it would be a weird one. Which is hard to explain in prose, so here's some example code:

class SomeMetaClass:
def __new__(name, bases, attrs):
pass

class SomeClass(metaclass=SomeMetaClass):
pass

Now suppose that SomeClass needs to use the typing module's mechanism for indicating a generic, so you could do an annotation like "SomeClass[SomeOtherType]". So you'd want to have SomeClass be a subclass of, typing.Generic[T]. That would, in Python 3 prior to 3.7, raise a TypeError due to metaclass conflict -- the generics in the typing module had their own base metaclasses. So you actually had to define an intermediate class to resolve the metaclass conflict, and do like so:

class IntermediateMeta(SomeMetaClass, typing.GenericMeta):
pass

class SomeClass(metaclass=IntermediateMeta):
pass

(this was weird and rare and GenericMeta was never documented)

Python 3.7 implemented PEP 560, which introduced the __class_getitem__ hook for implementing the behavior GenericMeta used to handle, and doing away with the need for the typing generics to use GenericMeta as their metaclass. So GenericMeta exists in Python 3.5 and 3.6, but no longer exists in Python 3.7, and anything which tries to reference it will break.