skysight-inc/HackerNews huggingface dataset:
> I was concerned it was abrading the enamel.

Teeth are pretty hard on the Moh's scale relative to bristles. If you're abrading enamel, it's from something in the toothpaste (which has all kinds of mineral abrasives), or tooth-tooth contact from chewing/grinding.
> many of us simply don't remember that sort of book learning.

You mean you haven't heard of books, or can't read, or can't be bothered? Presumably none of these so what are you saying?

> just realise that people are different and have different skills, memorization techniques

Fine, I agree totally, use those! But here's what the original poster said "generally accepted best way to perform this operation that leverages the standard library and there is seemingly no other way to discover what that is". If you can find the answer on SO, that's fine - you have your answer! But that's not what he said. He said there's no way of finding it. I said it's in books, you say it's on SO, so there clearly is.

> Some programmers are like you and can read a dry spec or a book and remember all the intricacies and gotchas

Which I can't and don't. Please re-read my penultimate sentence where I said it's ok not to, nor was there need to. Kind of twice in fact ("You're there to deliver results correctly to the business, not deliver idiomatically perfect code." -and- "There's NO shame in not crawling into the furthest, darkest corners of a language.")

> And I would note that none of the people I knew who could do that were particularly good programmers

Oh noes, I haz been trolled :)

> Now most programming languages don't,

No language I've ever used ships with a tutorial (oh wait, delphi's did. Rather crap but it was there). Python's online docs are ok (not great, ok). So pick a book. I already recommended one. Reading is the same whether it comes from paper or phosphor. Just don't complain it needs work. It does. Sorry.

From experience: not knowing how your tools work is a recipe for vastly increasing your workload. Reading a book is a boring, tedious shag but will give you the greatest savings of time overall.

> learn by making, experimenting and adapting examples

Yup, that too. Books AND that. You're quite right. I should not have overlooked that.
I like it! How about: "Enhance Gmail to get your Google Inbox features back. Productivity awaits!". This was suggested by another user :)

Do you mean trademark notices with Google?
Come to think of it, they invited me out of the blue to write a book on some random topic as well, I had forgotten about that.
I don't understand the "Though" part of this. The only reason any compiled language may be faster than another is because a compiler knows/assumes more about the code (either through users specification, or restrictions of the language).
> unplug Alexa, or turn off your phone if you want more privacy.

Fully turning off either means have to wait for the devices to boot up whenever you want to actually use them. That time adds up. A mic kill switch would allow the device to be immediately used at the flick of that switch.
There are a lot of micro-currency in Western Europe. Personally I believe it's a step back because it reeks of protectionism but it's all the rage among my leftist friends (am a leftist too, but not pro micro-currency).
It's a big data company doing an amount of traffic per day that exceeds what you can fit in RAM, including those fancy x1.32xl's with 2 TB RAM and a monthly cost of ~$6,000 for a reserved instance.

Yeah, I'm pretty sure we can't simply run it all from a single server.
So this is targeted at SMEs that don't have an in-house sysadmin/ops monitoring capability?
"creates" => "has created 6 years ago"

It's perfectly legal and there is a lot of them : https://fr.wikipedia.org/wiki/Liste_des_monnaies_locales_com...

Personally I found this useless but it makes some people happy so why not ?
And is there evidence/theory for "whitening" procedures as preventative care?

Peroxides are potent sterilizers and getting them deeper into teeth may clean deeper than any surface treatments, right?
Up being rotate rather than hard drop is tripping me up. I guess I could fork it, though. :)
searching is easier in terms of internet ads and reviewing candidates. But hiring dev candidates is extremely hard. Virtually everyone has a job who is experienced already, college students get offers somewhere in the early junior year, so you hire them with at most 2 internships. It's very difficult to pull people out of an existing job, it's kind of begging them to consider you. Then for random applicants to a company, you can check their resume, but many people end up failing our interview.

So it's not easy to actually hire. I'm not at amazon, but we do offer reasonable rates - example, new college hires get 130k+stock, benefits at our company.
No offense, but I'd rather it wasn't too accurate ;)
The OP is so spot on. This still frustrates me. The HR, the contract recruiters including technical recruiters are completely disconnected from what the organization needs. On top of that the applicant systems some of these companies employ is horrendous. You have to retype every elfin piece of work history like an FBI background check and in the end your application becomes a metric of the recruiter who can show they have really worked hard to get as many applications as possible. Remove the middle men.
You are completely right! I should have thought of that! I will move the undo sending of emails to the free plan :)

Thank you so much for the positive vibes :)
A sad day indeed. I thank him and his coworkers for the platform I work with day to day. He will be missed. RIP
Where is this utopia? I want to work there.
Well, 'organic' as a certification doesn't really mean anything. And UL was kind of a joke from having dealt with them personally.
Yes but you can't protect yourself against brands being hostile to consumer by asking them for features to protect you. The only protection against that is boycott.

No, the goal of the switches is to fend off 3rd party hackers.
RedisAI: Thor’s Stormbreaker for Deep Learning Deployment
How would that alone prevent copying ? Unless the actual note/id is linked to some user (and then it has become way more complicated and expensive) ?
Show HN: [Swift] A numeric UILabel with stock-like scroll animation
I just go by the results I see with my own eyes.

I see food particles that come out of my mouth after using a waterpik (even after string flossing and brushing). Normally I waterpik first but during the testing phase I did it last because I was skeptical on what it would actually do for me.

None of the staff at the place I goto say they learned it in dental school or hinted at doing it for the sake of doing it. They've been in practice for 20+ years and have seen a lot of patients. I'm guessing they have a large enough sample size to come up with something. In my opinion experience is often a good deciding factor when you have nothing else to work with.
> Why is it obviously immoral?

Why is it immoral to lock away people against their will, people who have not committed a crime? Because freedom is a basic human right.

The moral option is good street work, effective welfare programs and to give people housings rather than let them live in tent cities in filth and disease, something against which to which other poster has vigorously objected without providing any argument for his position other than falsely claiming that these people are all incurable schizophrenics.

What's wrong with people in the US that this even has to be discussed?
This is a fun project of mine that I started working on because i wanted to use something similar on a project I was working on at that time. You can see this kind of UI interaction in a lot of mockups for financial apps, but I couldn't find anything similar already coded (at least for Swift) so I had to make it myself.

It works basically by creating a separate label for each of the characters in a string, calculating it's position based on a selected font, and then just animating the number change for each label separately, until it reaches the desired value.

Just putting this out there, maybe someone might find it useful.

All suggestions and critiques are more than welcome. Happy coding.
I was following https://tetris.com/play-tetris, but I would be down to change it. It messes me up when I use the HJKL mapping.
That's not the same thing as building/buying a house and renting it out, in my opinion (and is backed by the introductory paragraph on the URL you cited).

If you dig a canal and charge for passage, that is equivalent to renting a house (and is not "rent seeking" either per economics/public policy discussion).
This reminds me of "The Habitable Epoch of the Early Universe" https://arxiv.org/abs/1312.0613 where it is pointed out that for some time during cosmological evolution, the universe would have been quite comfortable and rocky planets (if any existed) could have had liquid water, with no need to be in a Goldilocks zone---the whole universe was Goldilocks!
Well the contract said originally that they get the copyright since they paid an advance and it was a "work for hire". If they had stuck to the contract the copyright wouldn't have returned to us unless we paid back the advance and then bought it back from them at "market value".
Because companies will always want better talent at a better price - in that context, there will always be a 'shortage'.

Markets for labour are obviously clearing - we're seeing tons of hiring (and laying off) - so people are getting hired.

Many companies are also looking for specialized talent, for specific jobs, which are actually hard to fill. In some areas there is definitely a 'shortage' for opportunity cost.

One could argue 'they could just pay more' - but it's not like industry will boost wages for some job by 30% in the hopes that more people will start to study and train for that subject! It's a short-run/long-run problem.

For broader industry trends, this happens: software is a 'good paying job' in many places, ergo, more devs. But for specialization it's hard. And often it's difficult to clearly justify the ROI. This ambiguity is tantamount to just a lower real value due to the inherent risk.

The offers being made for most jobs are ballpark near 'market wages'. Companies have a lot more data than individuals.
The super specific skill requirements is usually a sign its being posted either for Green Card application or H1B. Both require "recruiting attempts".
> why do you need a middleman between a doctor and a patient anyways?

I agree, we don't.

Problem is right now if I pay for dentistry via "insurance" then it is pre-tax dollars and or my employer pays some/all of the premium. If I pay it completely out of pocket, I am now using post-tax dollars and my employer isn't picking up a percentage.

Our incentives themselves are irrational. You're essentially forced to go through insurance/your employer, and punished if you don't.

I'd love to see both dental + health insurance "unbundled" from employment, and a large HSA-like pre-tax savings account which can be used on premiums, that employers can choose to contribute to (in cash dollars). That way if you wanted to skip dental insurance, and pay per-treatment you could (and pick any health insurance plan you liked, including ones that could include dental benefits).

PS - The reason the existing HSA structure doesn't work for well for dental is two fold: It requires high-deductible health insurance, and the cap is low when you start using it for other areas (vision/dental).
You've done an excellent job explaining all the downsides of our current system. You have not explained why universal health care is the only way to solve those problems.
Joe Armstrong was an exemplary hacker: passionate, practical, insightful. Erlang is a testament to this.

He kept programming and tinkering until the very end.

He’s up there with Alan Kay, in my book.

Rest In Peace Joe. You’ll surely be missed.
This is super condensed but still very readable if you know Reagent and Hiccup.

It's interesting to compare this to a lot of tetris clones written in TypeScript. There are a few that take enormous pleasure in defining a type hierarchy and what not.

Contrasting that to the very compact representation of tetrominos

{:I {:color "#1197dd"
:dim [4 1]
:zero [1 0]
0 [[-1 +0] [+0 +0] [+1 +0] [+2 +0]]
1 [[+1 -1] [+1 +0] [+1 +1] [+1 +2]]
2 [[-1 +1] [+0 +1] [+1 +1] [+2 +1]]
3 [[+0 +1] [+0 +0] [+0 -1] [+0 +2]]}

and the very cute rotate function:

(defn rotate [r] (-> r inc (mod 4)))

gives you a good idea what a Lisp is about.
https://github.com/djblue/tetris/blob/master/src/tetris/core... to update the mapping :)
Joe's twitter gallery has a some nice ones that you might need to adapt for wikipedia (not sure about the license, though):

1. https://pbs.twimg.com/media/DBs4Q53XkAI6yKd.jpg

2. https://pbs.twimg.com/media/DAs_wqVXsAEvTor.jpg

3. https://pbs.twimg.com/media/Ds19NLdXgAAMXho.jpg
I'd have to politely disagree. Formerly being one of these "hopeless cases", and now being a productive, healthy member of society, I feel like I have some insight into the matter.

Treatment, support and stability help immensely. We do none of that for the must vulnerable members of society. People don't end up like that overnight usually, it takes their mental health being neglected a long time. Often times the trauma starts in childhood. Can you blame them for that?

A real issue is ignorance and the resulting lack of compassion. Everyone is insecure about something, but some people make themselves feel better by judging others. The fact of the matter is we are all a few bad strokes of luck away from squabbling in the gutter. Some egos are too fragile to admit that.

Some unfortunate people may be unable to live in society, but they are in the minority and you don't know if they will respond to treatment until you try.

I am astonished that you put drug dependence in the same category as just plain violent. Mental health issues aren't a moral failing, and treating them as such further ostracizes already marginalized people.

Antisocial behavior arises when people feel rejected by society. Instead of blaming individuals from your position of privilege, perhaps you should consider the society and systems that created them.

I hope you never find out just how thin the line is.
I’m attacking this problem from the other side.

I reject the notion that one must become a monk to be a programmer. There’s a happy medium between cave troll and brogrammer to be found.

As developers we should have more hobbies. We should find the technical aspects of those hobbies, and we should be able to walk into a company serving that community and serve as a backup SME from day one. If Software Is Going to Eat the World, that is how it will be. Not from a bunch of smart stupid people “disrupting” industries they know nothing about.

There’s long tail of subject matters without a lot of money that could still use software. Getting software to them is going to take cheaper labor, like 2-person teams or possibly volunteer work.
Thank you for your feedback!

Some of our features such as templates, dark mode, custom backgrounds are built on top of DarwinMail - and do not interact with Google or Gmails APIs whatsoever.

Most of DarwinMail works via the Gmail API, but not all :)

Edit: And the majority of the feature requests on this thread will not interact with Gmail either once they are created. So Google cannot track as much usage statistics as they would have otherwise.

Google cannot demand I give them any of this information. To be honest, I will not even have most of it. It will all happen on your browser.
> I don't like Rust for this purposes. It doesn't have higher-kinded types and thus no applicatives or monads, which sort of misses the point.

Having used parser combinators in Rust and Haskell (combine and attoparsec, respectively), I've found that even without applicatives, parser combinators are pretty handy—they're a step above regexes, but a step below a parser generator.

> I'd also be curious to see how the efficiency of parser combinators is affected by the absence of laziness in Rust. I seem to recall that laziness makes the analysis more complicated than you'd expect, but I need to find a source...

Same here, but I suspect that aggressive inlining might be pretty helpful.
Upscaled: The Year of the CPU ‘Chiplet’
Confidence Intervals, Credible Intervals
What if there were other ways besides raising taxes to fix the problems with our current system? How would you feel about that?
I had the same thing happen to me a couple times. Long and tiring process. Blackboard, make a project, lots of dirty laundry about "long gone incompetent developers" that made the current system a giant mess. Lots of red flags but lots of promises including a large maximum salary, including bonuses and stock options.

The final offer, however, was 60% of my current pay. Lower than the average for someone with my experience and position.

I had good rapport with the HR recruiter and flat out asked why they proceeded, even though she knew I was already getting more, at a better company, with more benefits.

The answer: they assumed I was lying about my current salary and I was just bluffing. Recommended me that I lie in my next interview.
There's a common economic fallacy that prices have anything to do with the cost of production, but the only relationship is that if the price people are willing to pay for a product is less than the cost, that item simply doesn't get made and sold.

When you have companies attempting to produce goods that cannot be profitably produced, below market wages are a common earmark. Whatever widget the company is selling only has a market at $X, but has a cost under current market conditions of $2X, so they are trying to pay people half market salary to bring the two numbers together.
Don’t worry, I’m having my battles convincing my clients (both business and DS/DEs) that this is a viable paradigm. Here’s a nice-looking z-value recipe by Silota that I just googled up: http://www.silota.com/docs/recipes/sql-z-score.html
This is exactly what I was thinking of.

Thanks for pointing this out, and thanks to Stavros for promptly engaging too :-)
Disagree with HSTS being 'dangerous' in 2019. There are not really any good excuses left to have any parts of your website (new/different subdomains included) unable to use https. On the other hand, HPKP is a lot easier to mess up and is more situational, but HSTS should be standard by now.

The author's recommendations are still good (If everyone tried to set up strict HPKP+CSP on their websites, I can imagine how many would break), but I view things like "If you've a sub-site that you never got round to securing (e.g. http://blog.example.com), then you've just forced yourself to upgrade with this policy." as a positive, not a negative (hence the word 'upgrade').
Sad to hear this. I've begun picking up some Erlang, mostly Elixir over the past few years, and have watched (and watched and watched and re-watched) most of his various (brilliant) talks, all of which are eye-opening.

Aside from his technical skill and knowledge, he seemed like a really gret person with an undying sense of humor and humility.
An old acturian at my current job usually tease new developers that they are just like dentists - never satisfied with anyone elses work and always suggesting serious rework that is critically important.
There's some derived value in the interviewing.
It might be to gain insight from an expert in a field. It might be test out interview/hiring practices.
For OP, it seems like they were never really intent on hiring someone at the time but put out a lowball offer on the chance it would get picked up.
Nice work! :)

A few years ago some friends and I wrote a tetris clone to celebrate the 30th anniversary of tetris and learn ClojureScript in the process. Really fun group project.

Playable here: http://t3tr0s.com/

Repo: https://github.com/imalooney/t3tr0s
Pretty nice case design. This particular monitor also came in green for purists like me :-).
That’s essentially what we’ve done, but because of project management failures (time and budget overruns).
Idiotic. What percentage of robots wind up damaged and malfunctioning, due to ambient crush and impact forces? Where do they go? How quickly do they get replaced?

So now we're breathing in partially functioning robots, and they can't escape getting stuck to the mucus coating our tracts? Great!

Electrically powered objects, with compute packages choking our lungs. Probably worse than asbestos. Grabbing onto things. Trying to build chains and perform actions.

Maybe this only works indoors. What if it escapes into the open? Will a space filler algorithm, intended to maintain density in an enclosed space now run wild, and try to attain density in the middle of the street?

And oh yeah, there's enough in the air to form visible clouds. What will it smell like? Why do I want clouds blotting out degrees of visibility? Can I eat the robots? Are they nutritious? What happens to animals? Are dogs and cats going to freak out? Are birds and insects going to be disrupted to the point of eradication? Plants getting their reproductive organs pollinated by electro-mechanically active dust motes, will that crash crop yield for farms trying to harvest staple crops?
Thanks! I really enjoyed the data modeling aspect of this project. I also ended up modeling the board as a mapping of [row, column] -> color which might be different from the traditional 2D array representation.
1. the powered ones do more "swipes" per minute, so in general they tend to be more effective. If you're good with a manual brush, you will most likely get the same results

2. enamel is far too strong to be abraded by the brush, what does get abraded is the dentin (the yellowish part closer to your gums, that's why sometimes you can see small dent-like abrasions there) so try to focus on brushing softly in those areas. A good idea is to use soft bristles

All you do is good and you're probably already doing 95% of what can be done, the other risk factors are smoking, female hormones, stress and diet. If you are not stressed, don't smoke, are male and eat mostly plant-based whole foods you can't do much more than that
College is really expensive in the US because of the government's attempt to allow anyone to get in through loans.

Universities know that students have to pay it back no matter what, so they can keep increasing the costs of classes and various admin fees. They already get their money up-front, because student most likely paid it through a loan, and (the university) doesn't have to worry about it being paid back (they don't have to take on any risk).

We need to get rid of the federal student loan system and make the Universities the lenders/accountable for the risk of the loan.

This would decrease the costs of classes, because it would be closer to the true value of what people can afford, not an inflated number that gets passed along.

It's interesting because the same thing is happening with the medical care system in the US. If the middleman was removed (insurance companies), costs would go down.
Show HN: Text News, Gopher only, text only, readable news
Probably not. It would be easy to paint public libraries as "socialist" which is a dirty word nowadays.
This is devastating. I’m in shock. Joe was one of my programming heroes and it was one of my goals to, one day, see one of his talks in person. He was incredibly articulate, good-humored and didactic in his posts on the Erlang list. He will be very much missed.
We don’t know, and may have no way of knowing. There are conjectures that the event horizon is it, that inside the event horizon is a quantum fuzz ball, or strings, or 1D points, or a whole universe. We don’t know, and may well never know. What we do know is that it seems a 2D horizon can encode the information required to describe a 3D volume, and that goes for event horizons, as well certain classes of cosmic horizons in some models. This weirdness is the core of the holographic principle conjecture.