skysight-inc/HackerNews huggingface dataset:
> that those who commit crimes will face justice, whether its pusher on the street, or the President of the United States

You mean, the kind of justice that Richard Nixon faced?

I feel that any criminal president that falls short of being a baby-eating monster will get a pardon, instead of a jumpsuit.
Ah, good point! I did mean "really cool" syntax in any of its glorious forms whether they be elegant core constructs or sugary shorthand.

A followup question to honor the important distinction: _do our favorite bits of beloved syntax tend to be core language or true sugar?_

I suspect core, since it would tend to be most well integrated. But perhaps sugar since it is created for the sole purpose of legibility and joy.
Wait people are dissuaded by common sense? I’m not sure i follow.
The pipe operator in Elixir.
Is that statistically a rational fear? You are more likely to die in a car accident than in a traffic stop.
Trump has been talking about the need for tariffs and industrial policy since the 1980s. This is not some scheme he's cooked up on the spur of the moment.
Not that I’m concerned about this “vulnerability,” but surely for navigation trips longer than 15 minutes it would be easy to correlate requests to a single user, given that each request probably needs to include the origin and destination and those are probably unique to one user at any given time.
Well respected? It takes in science (sometimes) and futurist hype (mostly) and belches out something resembling pop science. There are quite a few decent sites that turn papers and headlines into brief articles, but Physorg is not one of them. They are to science what clickbait is to news.
Reimplement things from scratch. I’d recommend implementing Promises from scratch as well as several Async [0] functions like auto or series. Both are questions I’ve asked of senior level JS/Node engineers. This isn’t exhaustive but it’s good practice for sure. Good luck!

[0] https://github.com/caolan/async
That's true, but Elizabeth owned more than 90% of the voting shares in the company. The board was basically a formality because they had no power to make decisions whatsoever.
Give Dave and Jamison a listen to on Soft Skills Engineering[0]. They are great to listen to and their episodes are driven by their listener's questions.

Most of their immediate responses are go get a new job if you are unhappy with your current position, but that is more of them being entertaining, but I guess a truthful answer in most of the scenarios they are presented with.

[0] https://softskills.audio/
If you're actually interested in theories that have been discussed: https://en.wikipedia.org/wiki/Parental_investment
Don't forget negative indexes to wrap around. A[2:-2] trims 2 off each end!
VSCode has been available for editing projects on Azure for quite some time
Wasn't one of the main selling points of WhatsApp back in the day that it ran on basically anything?
I presume it's the logic that goes along with the pulse oximeter that is making the test important.
It is. It was making fun of the IBM command.
Dev Watercooler: World of Warcraft Classic
I think the argument is that stealing $1 million from a billionaire could be considered ethically less bad than stealing $10,000 from someone who is $50,000 in debt due to medical bills. The second theft will have much more impact on the victim than the first.
Bruce S. Trust the math.
grugq, endpoints suck.

Bet he sung.
Maybe if your definition of media is Fox News and Fox News alone. Washington Post, NY Times, CNN, MSNBC, and hell even Yahoo News have been the ones revealing most of these details for the public to see through what must be some of the best investigative journalism in history. Although I hate the panel circus, false equivocating, and general pussy footing in the media, they have been doing an admirable job. In the last week we've also seen more and more on screen personalities call out Trump's lies as lies instead of "inaccurate statements" so even that is changing.

The only better sources for developments in this fiasco are the unsealed court documents coming out of the investigation.
And Houston is one of the most diverse cities in the country. Black mayor, also a former lesbian mayor. Conservative country leadership, liberal city leadership and it balances out fairly well. You aren’t tripping over heroin addicts shooting up on sidewalks, not are you dodging human shit or getting harassed by mentally unstable homeless people as you might in San Francisco.
Snapchat's 3D Bitmoji – Augmented-Reality Animations
I'm interested in seeing where this discussion goes, I'm in a similar position and will have to consider different options and paths beyond the normal job path.
Prosecutors can decrypt encrypted texts sent using WhatsApp and Signal
Wow, I hadn't read his story before. I really feel for his position. What an awful way to go. :(
I'm really surprised by the number of comments here that support this kind of discrimination. I thought we were better than this.
I think it's just that they are good at biology, not computers. I mean if they entrusted ME to tell two amino acids apart by looking at their behaviour, I'd take a month!

From what I've seen, amid all the research, failed experiments, constant fight for funding (in some cases) and "life" in general, people have much less time to learn these critical things like programming / tools so useful to them. They will do it at some point, but probably not till their life depended on it. On the other hand, if life depended on me recognizing those amino acids, we'd all be :-)
How are you sure that the parent comments isn't lying to you, either? I'm not saying that it is, but you should take more care to verify your sources rather than relying on random commenters on a technology forum…
It's not just women that experience discrimination. When my wife was pregnant and I let our CEO and co-founder know (small company, < 15 people) they began covertly looking for a replacement for me knowing I would take some time off work for her birth.

Not long after letting them know about the pregnancy/birth, I found a suspicious/hidden hiring post from the CEO for a position that mirrored mine although we were "not hiring".

Within the next month or two I had a few suspicious interactions with the cofounder over things he'd like to see "improved" within my work. Which was complete bullshit. The guy didn't believe in version control, managed tasks in a Google Doc and didn't like how I used branches for feature development (why don't you just commit to master?). Trust me when I say his list of issues were bullshit (not worth going into all of them, though they may be funny as hell to hear). His improvements/concerns carried no weight and were obviously a front for something else.

The CEO became more and more aggressive with me over things that were outside of my job/position/role. He would go off the handle over them and eventually I called him out on it. He lost his shit and basically "fired" me. I won't go into details regarding what happened next, but lets just say I made out very well :)

Moral of the story, it's not just women that get discriminated against. If you're a father to be, be careful who you let know and how you handle it. Keep a record of everything including the timeline of events, it can come in handy ;)
To clarify, my point wasn't about the driving itself, but rather, what both driving and Costco (and bulk purchases in general) represent, which is incompatible with a walkable, high-density city.

I'm confident some people also object to the car use itself, but that's way too general a topic.
If there's one (family of) devices(s) that the FBI certainly knows how to 100% completely pwn the shit out of... it's the Blackberry.
Not as all-encompassing as all those tools, but all I've ever needed is, dotPeek + de4dot.
The original Codemasters was one of a kind. Rock Star Ate My Hamster was a lot of juvenile fun.
I understand your point and am not in favor of these tariffs, but does anyone else think it's kind of silly that every single chip and component and interface comes out of China?

How much of the tech industry goes poof if they decide to stop exporting to the US entirely? Seems like a precarious position.

Put another way that might make more sense to your average HN reader: what if all software came out of China like all hardware does? Wouldn't that concern you? I'd imagine some folks here would struggle to pivot to a new field outside of development.
But I love the brace free dsl. It's pretty. How van you tell how many tokens it takes? Describe or subject take? It's a bit hard to parse, but I don't know Ruby.

Coming from Python the end end end hurts though. Why not just use braces then?
Removing the word "deaf" from GP's comment, it's still a good question
Release date! Release date! Release date!

Just kidding; we don't know the release date.
Read the book. The timeline is easily explainable without needing conspiracy theories.
This is great news for India if this really does blow into a trade war between the US and China I imagine.
The other commenter didn't specify, which led me to believe it was a (simple) mistake on their part. You're not wrong, but it seems to me that dragging out this phase of "Well Python 2 had X but Python 3 has Y" will not help people move to all being on 3. (And, with some exceptions, everyone should really be moving to 3.)
It's a negative in the short run, but in the long run as China moves further up the value chain it's less clear, at least to me.
Trump is just one president against a well-established Nixonian institution. He might be able to do damage, but we won't get to China-level pollution in just one term.
Gossiping Is Good
Even better, make it mandatory for everyone. Whether they are having children or not. That would really level the playing field.
Reading this, it comes to mind one of the most unknown episodes of Churchill’s life is the Bengal famine of 1943 [1], in which he was personally responsible for the death of at least two million Indian. I guess that painting and writing wasn’t enough of a past time. Gallipoli wasn’t really something to write letters home about, you just need to read something mildly objective to realize the kind of sick person this man was.

The point I’m trying to make is, History is written by winners. In most contexts, this man would be nothing more than another early 20th century psychopath. Certainly not a hero, a giant or even a decent human being. Wouldn’t he had been kicked out of 10 Downing St. Europe would have certainly suffered another WW2 aftermath, only to feed his personal and sick bloodlust.

https://en.wikipedia.org/wiki/Bengal_famine_of_1943
Consider what happens if you are in an abusive relationship, or a relationship that turns abusive, and your sole employable skills are ten years of home-making.
If you take one thing away from this article, hopefully it's this:

> No method is better universally, and none of them is “the best” even in the context of the dataset.
Right, you're quite correct! I assumed OP was using Python 3 since that's the current version, and their statement would have been true in 3 with the small change I suggested. Their point is still correct overall, but if they're going to make an example from an older version of the language I think they ought to specify as much.
'Am I in the bad part of town?'
Nobody votes in China. There is an election coming up in this country.
>(it's a red ocean, not a blue ocean)

What does this mean? Thanks :)
The missing ingredient from your description is: freedom.

It is not degrading for a parent to choose to prioritize family matters over income.

It is degrading for society to tell a person what their personal priorities will be based on a chromosome.
2nd are you bilingual native Spanish speaker
Likely due to the reasons they have outlined numerous time in their comments.
Can someone explain the motive behind something like this?
No one is opening those emails about privacy updates
Is there supposed to be an article or something? Nothing shows for me.
Surely this will just encourage closer ties between those outside the tariff area?
Blackberry is just a skin of Android these days.
This is a general issue.

See also: Thiel, the Mercer's, the Koch's, Sheldon Adelson, the Illinois Democratic political machine, the Harry Reid Nevada political machine, etc.
Digital dystopia: Robots MURDER free speech
> The second theft will have much more impact on the victim than the first.

That hardly makes it OK though, Are you saying that the first case doesn't deserve the same punishment as the second?
But that's also a big part of the board's fault here! They aided and abetted that. I'm reading through _Bad Blood_ (coincidentally, before the indictment was announced), and one of Carreyou's running themes is how Holmes acquired all those shares: she wasn't the Theranos founder, she was a co-founder, in essence. The other guy (Shaunak Roy) left early on. The board approved selling his stake to her at a heavily discounted price which made one of the directors unhappy and he tried to buy a fraction as he was contractually allowed to do, so they told to resign and threatened to sue him. She also tried to get a block of stock alloted to a nonprofit foundation (controlled by her, of course). Then, as employees turned over, they would regularly seek pretext to clawback all their options or shares in any way they could, like when they fired the financial officer for getting upset about faked demos, and discovered after firing him that he happened to have browsed some porn on his work laptop, which provided the necessary excuse. At one point in March 2008, the board actually decided to fire her, but she spent two hours talking them out of it. Some point after that, they passed the even horizon... That Holmes ended up with so much voting control was no accident.
There's a question of what came first there.

I have a feeling those optimizations apply to all engines because they applied to V8, and maintainers of the other engines attempted to match their performance since so many were coding for performance on V8 only.
Interview questions for senior roles won't (or at least shouldn't) be about language specifics but instead about managing a team, distributing technical work, managing timelines etc. Needless to say, depending on the company, ymmv.
That's why, when you read the memoirs of conmen, they always say educated, intelligent people are the easiest to rip off.
> Eager lists have their place! Ya can't sort or slice into a generator. I like the choice.

Something like that could be handled implicitly... hmm but that seems bad. Maybe you're right that having a choice is better!

> I can do "%s %s %s" % (a.b(), z[:4], x2) without binding new variables. Can f strings do that? I don't know.

In 3.x f-string style, `f"{a.b()} {z[:4]} {x2}"` would work just fine! Python just expects any expression inside the curly braces, so as long as you give up a value (and that value is either a string or an object of a class that implements `__str__`, I think), you're golden.

It's particularly useful when you have a lot of interpolation to do. The more arguments there are, the more tedious it is to read through a %-style format and figure out which variables correspond to what markers in the string.

> I agree about the whitespace issues. Have you seen a language do them better?

Not really, unfortunately.

I think a case could be made that all indentation should be based on either (a) the triple-quote or (b) the first non-whitespace character of the first line. But I don't know if that's intuitive enough. Definitely something to think about, though!
> To me that is the value.

Interesting... to me the value (er, a value) is that you can write

/PATTERN/ { print $3 }

instead of

import re, sys
for line in sys.stdin:
if re.search('PATTERN', line):
print(line.split()[2])

And another value is that it's more likely to be preinstalled than Python.
If you want to make an economic argument, we don't want exponential population growth, unless you are looking forward to an unmitigated ecological disaster.

You want a steady population level, whether via births, or immigration, or both.
It's a couple paragraphs that link to a couple of projects in this domain:

[1] nlp.stanford.edu/courses/cs224n/2015/reports/1.pdf

[2] github.com/sallamander/headline-generation

[3] github.com/udibr/headlines

[4] nytimes.com/2017/04/09/insider/how-to-write-a-new-york-times-headline.html
I’m reasonably certain I’ve interviewed you. Send me an email (in profile) and I’ll be happy to give honest feedback/advice.

For that matter, I’m happy to provide advice to any programmers struggling to find work. Feel free to reach out.
>We did this knowingly

Great, but the parent poster is hiding(again, rightfully so) their planned leave from their future employer.
If we actually take long-term economics in mind (broadly, the opportunity-cost and overall net effect style of economics, not the myopic just-count-real-dollars one), then we do NOT want population growth.

We don't want an aging population that has to be supported by a shrinking working-age population, but we don't want to be trapped in a growth bubble either. We want sustainable population with ever increasing quality of life due to scientific and technological advancement.

Population growth might be truly desired if we get to colonizing other planets…
It's not a thing (some people) do when you've got a nice pension coming with value that gets higher the longer you stay.
I also don't see it - but isn't making Git 'much better' essentially extending it? If they released some kind of tight integration that was actually really useful and only worked well in the github context, don't you think people would use it? I can't imagine what form such a thing would take, but it definitely seems possible.
I really liked it!
https://github.com/theia-ide/theia
There’s a lot of research money in microfluidics. It has huge potential to revolutionise an awful lot of the tedious time consuming laboratory work in health care.

Instead of painstakingly pipetting samples into well plates all day, trains of thousands of droplets can be fed into the microfluidic conveyor belt and processed accurately and automatically.

It can work very well. I once worked in a startup that was able to achieve exactly this however it was enormously challenging. The core technology was developed in a university and eventually spun out. Then it grew into something much larger as fully functional systems were developed for customers. The cost was enormous and the reliability not particularly fantastic but the customer was thrilled with the potential. Eventually we were bought out and while I took another path colleagues formed another hugely successful startup.

There are many many similar stories just like this in this space.

Holmes it seems was a highly effective pretender wanting to leapfrog the research she would have glimpsed while at Stanford by promising something that could do it all. So the money rolled in and she no doubt hired good technical people but instead of building something, anything worthwhile she doubled down on the lie.
But is this supposed to go on ad infinitum ? What if at some point the new jobs created are worse than the jobs that were lost ? Does everyone in the US need to have a so-called service job or else be an information worker ? And to what end l so that cheaper items can result in more conspicuous consumption to fuel the accumulation of wealth by those who are lucky enough to own stock and the companies that are profiting from this. I don't know if there is some kind of steady state sustainable economy where enough people have meaningful productive outlets (aka jobs w/o coercive bosses) and we as humans are not extracting or destroying more of the non-human planetary resources than can easily be renewed. But that would seem to be a better goal than whatever the meaningless metric of the GDP in and of itself.
But it's still irrelevant because his crimes were also against rich investors, and not at all related to raising the price of medication (which is 100% legal).
How would that argument go? Is it just that setting up social rules makes it easy to spot when people don’t follow them?
I would point you to latacora's updated recommendations about password handling: https://latacora.singles/2018/04/03/cryptographic-right-answ...

Adding a salt and hashing a password is not something someone should be doing in 2018. Use scrypt, or another one of the recommended algorithms, as it is a complete implementation that is well researched and can be simply dropped into most systems.

And my response was in reference to how many password you should blacklist, which using a good algorithm is still feasible to brute force easy to guess passwords in an offline attack.
> The AWS interface is still a byzantine nightmare of a labyrinth

I've heard this enough times to know that it's widely agreed upon, but I've never understood it personally.
Bitcoin with Heterogeneous Block Sizes: A Scaling Proposal
Surprisingly, I'm okay with this.
Ross Ulbricht’s Alleged Confidant “Variety Jones” Extradited to US
Some resources related to leveling up:

Leveling up as a junior engineer: HN thread: https://news.ycombinator.com/item?id=14586329 Medium article: https://medium.com/masterpoint/leveling-up-as-a-junior-engin...

What is 1 thing that can take a Junior's career to the next level? HN thread: https://news.ycombinator.com/item?id=13744999
This is a very confusing comment.
If you don’t mind sharing, how did you go about testing the product-market fit for your apartment website?
Because not everyone who smokes is caught, and some plead guilty to get an easy sentence, laws differ based on location, and case circumstance is not always the same? This is how the system works.
Well stated. I'm a retired neurosurgical anesthesiologist who relied on accurate blood test results to manage major intracranial procedures. No way would I accept a finger-stick hemoglobin/hematocrit as the basis on which to decide on the need for blood transfusion.
Why? Because as a medical intern I did them routinely, because I had to get a number to present at morning rounds and even our excellent STAT Lab (LAC-USC Medical Center in Los Angeles) sometimes couldn't turn around a properly drawn venous sample in time.
Because it was often difficult to get sufficient blood volume from a finger-stick to fill even the tiny glass capillary tubes we used to "spin a 'crit" in a centrifuge, I would occasionally squeeze a patient's fingertip to enhance blood flow. Those results were sometimes wildly at variance with later venous samples from the same patient.
Why? Because they were diluted with interstitial fluid along with capillary blood, the result of my manual pressure on the fingertip.
The comments on the article poked at this question but the answers given there were not very clear for me, so I'll ask here: If this udQM is so stable, why didn't we find any of it in nature so far?

We certainly would know we don't understand this matter if we stumbled upon it... right?
A really good educational resource for people! It's clearly needed since the majority don't have a clue about where the most harm is done. So upvote and share!