skysight-inc/HackerNews huggingface dataset:
> But also Alfie had his own legal representation.

What?! How does an infant/toddler receive legal representation arguing for the plug to be pulled, outside of the wishes of his parents?! That is the very definition of authoritarianism.

> He wouldn't have got anything like this in the US.

Absolute nonsense spread by someone who has no knowledge of the American system. A child like Alfie is given free medical care from one of many charity hospitals with some of the best doctors in the world, and other charities house the family, for no cost, during treatment. You know, like the Vatican offered, and the parents accepted, but apparently you're government decided it was time for Alfie to die.
I'd love to see that reference, as I've not yet seen an example where this was true in practicd, but know several examples where it is definitely false (e.g. we use a modification of the Julia GC which uses consevative stack scanning to allow interop with another system, and it seems to perform very well).
I think this is why Mercurial is switching (largely) to Rust: https://www.mercurial-scm.org/wiki/OxidationPlan
Caffe2 and PyTorch join forces to create PyTorch 1.0
I think your characterization of the GIL is not accurate. Show me ANY real world program that can achieve linear speedups on multicore or multi-processor systems. Humans have not sufficiently mastered multithreading to be able to make such a claim. I am not aware of any "CPU-bound" use cases that would actually use Python like this instead of, say, C or Fortran. And anyway, I submit that it would benefit (both from a design and an execution standpoint) from being multi-process (in other words, using explicitly coded communication).
I don't think it matters much for mid-size to larger corporations. What I fear this hurts the most is startups or small firms that operate on tight timelines and under severe cash crunch and don't have the resources or time to jump through the hoops of the arcane visa sponsorship process.

That being said: if a company wants you badly enough, they will make it happen ;-).
Increasing returns in action.
The user doesn't care, they just invoke "hg" or "git", and language is always a choice, so it's valid from that perspective.

But the reason I included it is because it gives a baseline for the overhead of invoking any program, no matter how trivial.
We aren’t talking about long distance and coherent here but direct detect. Coherent is not cost or power competitive with direct detect for short reaches yet.

When I talk about SERDES I’m talking about the electrical signal interface to the optic. Also it’s worth noting that the majority of coherent DWDM interfaces are some kind of embedded optic already.
With a 40% margin, Apple would be quite happy if you never bought anything but an iPhone. Why would Amazon sell you something that even the CEO admits that he isn't trying to make money off of?
The nickname and full name fields may be stored separately. It is usually a mistake to synthesize one from the other.

It is very easy to make assumptions about names that turn out to be unfounded, just like with calendars, dates, times, and time zones.

If you even dip one toe into the rough waters of international variations, you will do as much as possible to keep other people's assumptions from becoming your problems.

It suffices to say that a name should be a single field that accepts a variable number of unicode characters, and you shouldn't try to cleverly parse anything out of it. Just regurgitate back verbatim whatever the user told you whenever you need to use a name. If someone says their name is "Tarquin Fin-tim-lin-bin-whin-bim-lim-bus-stop-F'tang-F'tang-Olé-Biscuitbarrel" for the love of your own sanity, don't try to figure out which part counts as the surname.

"Mister.... ah... Fin, is it?"

"Oh no, 'Mister Fin' is my grand-step-uncle-in-law. I'm Frau Professor Doktor Doktor F'tang!"

"And if someone were to address you informally?"

"My friends call me 'Knughcentszhe'."

"And that's pronounced...?"

"Nuisance."

"Never a more fitting nickname."
Cambridge Analytica, SCL shutting down
Siri calls one contact (my wife), adds reminders, timers and weather consistently. Works every time Everything else is terrible.

If Apple can make all of that offline, i’d be even more loyal.

We don’t need the stupidity of sending everything you say to cloud and back. Latency just kills it.

Apple is still the most focused company of the big tech giants. They deserve kudos for that.
You assert that problems will crop up, but fail to mention which problems. You are arguing that any data anyone brings up is irrelevant, without bringing up any data.

You keep comparing the UK to the US, but a much more apt comparison is e.g. UK to CA, and the entire EU to the entire US. UK has twice the population of CA, and better bang/buck and health outcomes. EU compares similarly to the entire US.

The EU is at this point in time, a federation slightly more disjoint but ultimately of similar structure to the US.

Why not build an independent single payer healthcare system in each US state, with reciprocity among them? That is directly comparable to the european system, and has been shown to scale and work efficiently and well.
> That’s exactly how V8 multiplies BigInts: one digit at a time, adding up the intermediate results. The algorithm works just as well for 0 to 9 as it does for a BigInt’s much bigger digits.

Why not use a faster algorithm, like the Karatsuba algorithm[1] or the Toom-Cook[2] algorithm?

[1] https://en.wikipedia.org/wiki/Karatsuba_algorithm

[2] https://en.wikipedia.org/wiki/Toom–Cook_multiplication
Women in Open Source Award
Humio Simplifies Kubernetes Logging with Helm
Cells Talk in a Language That Looks Like Viruses
"I agree with that to some extend, but the fact is, except for some very specific cases like vscode, I not only don't need "styling and dynamic", but I don't want it to be."

Actually, I'm not referring to things like colors or fonts. What I'm referring to is the fact that had the web-browser style layout algorithms not been already invented by web browsers, they would have been invented by the inexorable progression of the pressures and features in desktop toolkits by now. If the people using web toolkits want to be able to lay things out without having to laboriously bundle things into horizontal and vertical scaling groups and specify flexing ratios and all the other crappy layout mechanisms used in desktop toolkits since they first came out, but to use a simple (to use, not implement), powerful HTML-esque layout mechanism, you're going to pay for that on the resource consumption.

And the people writing these programs want that, and will use toolkits that offer that, and if that's bothering you, well, spend some time writing this stuff yourself and you'll stop being bothered, you'll happily spend 100MB of the user's RAM to make the pain end. As neat as it is in some ways, and as much as it has been made to sing and dance over the last 50 years, that style of layout really stinks to use.
What happened to Thoughtworks?
First the some leadership and punctual layoffs worldwide after a period of insane growth, then the acquisition by Apax and the shutting of all their social justice works, now they even have a mental health hotline after a suicide in Brazil. Is the dream over? It became a company like every other?
Sluggish schizophrenia
> "GC tuning" boils down to superstition, voodoo and witchcraft -- which are euphemisms for simply changing the GC algorithm until things seem to improve

Then, that is what "tuning" usually means in engineering. See also "PID loop tuning".
Can you share any more details about the tech you're using? Libraries, languages, services?
> Two children diagnosed with the disorder can have no overlapping symptoms.

Is there a precedent for this with other disorders? Seems to me that if there are no overlapping symptoms, it should be a separate disorder. Even if it's just arbitrary naming like "Type X" as in diabetes.
I don't know much about guns but my impression is that rifles seem to be categorized likely use case (e.g. sport rifles, hunting rifles, assault rifles) and in this case assault rifle seems to match both the use case he was talking about and also is an apt descriptor of the specific gun that led him to buy it. I don't really understand why assault rifle is inaccurate in this case.
That isn't really what they said, unless you equate 'all mainstream news' and 'all news'.
I'm fortunate enough to work for a company that sees being thrifty with bandwidth and processing as very important.

We have regular audits to find ways to make things lighter/faster, and therefore better. Occasionally "flashier" mandates from on high override those considerations, but so far it's been specific and rare.

It's probably because our target audience isn't developers.
Well, the content of your requests will be encrypted, that's what SSL is for.

Also, individuals who are concerned about this would be free to purchase a direct line via an ISP.
Ok, let's take a look. First of all, when you bring in Idi Amin, Gaddafi, and Mao, all you're doing is ratcheting up inflammation while reducing information—hence what I said about signal/noise. It's just a way of saying "Yuck", like listing a bunch of foods you hate, except with supervillains. You've now limited the range of possible responses to either "omg you said super-evil" or "that's not super-evil", neither of which is ever interesting, and both of which lead to flamewars.

Grandiose phrases like "unparalleled in human existence" similarly lower signal-noise ratio, because they turn up the volume without adding information.

The "schmuck" thing is name-calling, which the site guidelines ask you not to do. Ditto for the "decidedly odd person" swipe, which is a personal attack. We can argue about whether "Zuck" deserves better, but the community certainly does.

Beyond all that, what is the content of the post? You haven't presented any argument about "how to run a country". It's really just rhetoric. I agree with you—most of us do, I'm sure—that the things you listed can have negative consequences in the political sphere. But what those actually are are hard to pin down, and your comment hasn't said anything thoughtful about them.
I have to note that none of the projects you suggested, all of which are good and useful, will do anything to address cpython startup latency problem under discussion. Why shouldn't cypthon be better?

There's also no reason to believe that startup improvements would make the interpreter incomprehensible; the unstated assumption that improvements in this area must hurt hackability is interesting. IME, optimizations frequently boost both simplicity and performance, usually by unifying disparate code paths and making logic orthogonal.
Yep, that's how I see it too. It's becoming increasingly obvious.
Ubuntu 18.04 Running on the Nintendo Switch
A Year of GitHub Desktop on Electron
Discord is the most impressive one to me. They definitely didn't have those resources when they wrote their iOS app[0].

The Android version is just RxJava, iirc, because of some performance issues they couldn't get around.

[0] https://blog.discordapp.com/using-react-native-one-year-late...
If I were a retailer, I’d be extremely leery of the largest e-tailer asking me to process my payments. My customers know what they are buying from me. And would the payment processor. And if the payment processor can subvert my shop for their online store, then why would my client come back to me? I know customer service, humaning, and all sorts of other anecdotes are supposed to help, but in the end, folks just want the best quality for the cheapest price. Barring that, if a vendor offers a cheaper replacement that can be delivered to the client’s door, why would they come back to my shop?

And this doesn’t even mention the itemized list of all stock that I might be selling that this larger retailer now knows about me….
Exactly! A password "hash" function is an algorithm that will turn a password string into a seemingly random string. Where it's impossible to figure out what the password is - based on the output string from the hash function. And the hashed string is saved in the database instead of the password. When the user logins the database runs the hash function. eg "SELECT * FROM user WHERE pw = hash($pw_input)" For example my md5 hashed password is a8b767bb9cf0938dc7f40603f33987e5

Now hackers are smart and will generate a "rainbow table" of all possible words and their corresponding hash (try google the md5 hash above). But then we can "salt" the password by adding a random string that is unique to each user, and the rainbow table becomes useless. "SELECT * FROM user WHERE pw = hash(concat($pw_input, salt))"

But hackers don't give up so easily. Using GPU's and dedicated hardware they can generate billions of hashes per second, so they will just "brute force" hash all possible words (dictionary and more) together with the salt.
To counter this we use a slow hash function, a function that takes up to 100ms to run, and now the hacker can only brute force ten passwords per second! Meaning it will take years to find even a simple password.

If we all start doing this: slow hash function + salt - then Troy Hunt wont have any more passwords! Sorry Troy!

And also if users use long passwords with some special characters like !"#¤%&/()= for increased entropy, then it will be even harder for the hackers to brute force them. Using only numbers a five letter pasword has 10^5 combinations. Using only lowever case letters there's 28^5 combinations. Using upper and lower case plus special characters and numbers there's like 80^5=3 billion combinations. If we now increase the password length from five to ten characters there's now 80^10=ten Quintillion combinations. Cracking it with 10 hashes/per second would take 30 billion years. But if it was a fast hash lile any of the popular md5 or sha where you can have a few billion of hashes per second it would take "only" 30 years. Where as a password with only five letters would take less then a second to crack.

Now you think 30 years is a lot, but then there's Moore's law, where number of transistors will double every second year, leading to increased compute power. So two years from now those 30 years would only be 15 years. And 20 years from now those 30 years will be only one year! Think of this when you use what was considered best practice in the 80's
Facebook has fired an employee accused of using privileged access to stalk women
>but it was always my impression that much of the power either editor has comes from 3rd party extensions rather than the editor core

A lot of it, yes. But VSCode also invests a lot in core functionality (in what in other platforms would be plugins). The Git integration is one such example -- or the ability to debug Chrome in it.
FFunction | Montreal | Intermediate-Senior Front-end Dev | ONSITE | https://ffctn.com/en/index

We’re looking for a talented mid- to senior-level developer to join our team ASAP. You’ll be working on interactive data visualizations and data-driven applications for high profile international clients like World Bank, UNESCO Institute for Statistics, HP and the Canadian Cancer Society.

For more information about FFunction or the position, please email rebecca@ffctn.com.
Facebook doesn't create any news stories themselves.
I still am having a hard time with the concept.

Going back to the garage door example. Say I'm building a wifi opener. It's going to have one button that acts like a toggle, just like regular garage door openers. Press the button and the door opens. Press it again and the door closes.

In the firmware, it will contact the opener server and it can get a list of actions and endpoints. But if version 2 of the server changes the action name from open to door_open, then my button is broken even though I've diligently followed the HATEOAS model.
Uh, what?

Where in my comment did I write the government should provide no financial benefits for its citizens?

No idea where you're coming from with that.

The question is: should the government pay for everyone's healthcare? Universal health care sounds amazing except no one has a plan to pay for it, at least in the U.S. where our system is outrageously expensive.

If your plan is just to tax a small group of earners to pay these astronomical fees, good luck with that.

More realistically we have to bring the costs of healthcare down, but that seems to get little to no attention.
Show HN: Cross-Platform Tool to Benchmark Public DNS Resolvers
Another one here. Loved my Macbook Pro 2013, then the O/S turned to crap, gave it to my wife. Currently using a Carbon X1 and it's wonderful. Amazing battery life, Fedora 28, touchpad small but nipple is brilliant on the train when i'm cheek-to-jowl with the guy next to me who's also on a laptop. Wouldn't go back to a new Macbook, but I do miss the 2013 as it was delivered to me before the O/S was ruined.
> I don't know anyone that likes them.

Keep in mind that you're probably not hearing from folks who like them. I use one all day at work and like it fine, even though I like the keyboard of my 2013 MBP better.
> If you don't like electron apps then don't run them.

Done.
I worked on one Python application that had a startup time problem because it was on a network filesystem with slow metadata/stat times. It took several seconds to start Python.

We were able to solve most of the problem by zipping up the Python standard library and the our application.

That is, if you look at sys.path you'll see something like:

>>> sys.path
['', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', ...]

If you zip up the python3.6 directory into python36.zip then it will use that zip file as the source of the standard library, and use the zip directory structure instead of a bunch of stat calls to find the data.

This should also include getting access to the pre-compiled byte code.

You can also have Python byte-compile all of the .py files in a directory as part of your build/zip process.

python -m compileall --help
This group of people is so precise and exclusive that it is irrelevant. "People using NumPy for system scripting who are intensely sensitive to python startup time" is not a large enough group to be trying to argue Python-global policy with.

"People using Python for system scripting who are intensely sensitive to python startup time" is at least large enough to be worth talking about (since speeding up startup time will mostly only help, modulo any possible resources spent to accomplish it), though I'd notice that it hasn't prevented Python from becoming very popular. And plenty of them will find that Go could meet their needs, in a hypothetical universe in which switching languages was free. (That is, I'm not particularly advocating it. It's a last resort for sure.)

(Also this argument is predicated on the false assumption that Go has nothing like those things. They aren't as mature by any means, of course, and I generally consider them a bad idea [2], but they do exist.)

[2]: https://news.ycombinator.com/item?id=16959022
Absolutely, though I can't think of a good reason why it couldn't be leagues better in performance. I'll post here with some numbers later in the day if no one beats me to it.
> unless you equate 'all mainstream news' and 'all mainstream news'.

I suspect there is an error here, as most people would equate those things since they are letter-for-letter identical phrases.
I doubt it, since you can pass pass manually a list of all modules you want nuikta to embed with --recurse-plugins=MODULE/PACKAGE
Yes, Canadian resumes are some of the best resumes employers can get. Tip for other founders: if you're not hiring Canadians, you're missing out on a massive economic opportunity. Canadians are typically underpaid for technical roles in Toronto / Vancouver by a factor of 50%, at least.

Canadians who haven't yet worked or done co-op terms in the US often think it's much more difficult to get a job in the Bay Area than it actually is. Tip for employees: the single best thing you can do for your career in technology is work in the Bay Area, even if only for a short time.

I'm not sure how much the climate has changed, and I'm not a lawyer, but I can tell you that generally: if you have a degree, a portfolio and work experience, things have a high probability of working out well if you apply to US jobs.
I'm not sure about water, but rain doesn't have much effect at those frequencies. At higher frequencies (e.g. 24GHz) rain can make the link useless.
Same. I wonder how anyone uses them, honestly.
okay, I'm just not seeing how a puzzle with pieces that can be placed on the other side meets that property. The pieces would have to be elastic, and if the pieces are allowed to change shape, it's not really a puzzle anymore.
Oof. I've had nightmares about the project.pbxproj file. Such a weird design decision on Apple's part.
Agree with you, but think it's somewhat unfair to call the parent comment "FUD", given the specific examples cited. To me, FUDdy comments are more vague and less dis-provable. More like "but you never know whether Facebook is going to deprecate React tomorrow".

Just a nitpick because I think "FUD" borders on ad hominem in the way it's sometimes used.

Again, as a React dev, I haven't encountered the cited issues and they seem a little dated, but I wouldn't call them FUD.
From a far enough distance, they look like interconnected parts of the same system.
It'll be interesting to see how this compares with ActivityStrea.ms[1], which - at first blush - seems like it could cover some of the same ground.

[1]: http://activitystrea.ms/
Bitcoin is rather bad for the Earth's ecosystem considering the carbon impact of building and operating mining hardware. I don't see anything wholesome about that.
Alexa does most of the hard stuff: speech recognition / intent detection, and speech synthesis.

My back end is a simple Python service on GCP that handles HTTP requests from Alexa. The same service also downloads the HN front page from the FireBase mirror and gets summaries from this API:

https://rapidapi.com/textanalysis/api/Text%20Summarization

It's not perfect though, so I may switch to a more expensive summarization API, supplement it with manual summaries, and/or train my own summarization model.
Ask HN: Dumpster app code for android device
i am trying to create an app which acts as a recycle bin for android device, so anything accidentally deleted could be restored. Can any one guide how the app is doing that working of recovering those storage items that are being deleted?
A few libraries have tried to build declarative UIs for iOS, with varying degrees of success.

This is what I love RN so much - I can build UI in 20% of the time and effort.
In your culture, sure, but that hardly universal!!

And don't confuse "first name" with "given name(s)" and "surname" with "family name(s)."
Revamping a legacy back end
I started with LastPass, but switched to OnePassword when LP was acquired by LogMeIn. OnePassword (the standalone client) was great, but it didn't work with linux at the time.

I ended up trying keepassxc for a time, but ultimately ended up with bitwarden, which has served me extremely well.

BitWarden isn't as polished as OnePassword, but its not far off. Since its purely browser-based, it works with every OS.
Why is the solution always regulation with you people
But you use live reload, no? That's just webshit for an UI editor.

WPF has(d?) this figured out. No drag and drop of UI elements (aka "components"); that gets you into "absolute position" hell of Windows Forms. Instead you have a DSL that you use to build the UI with grids and other standardized layout containers and the WYSIWYG view is there mostly as a preview and navigation help.

Of course their fatal mistake was having no code whatsoever in the DSL. They wanted to make it so designers would use it; designers will never use anything but Photoshop, so the other half of them that isn't resistant to learning now calls themselves frontend developers. The model binding on steroids helped some but still "inverting" an enum required 15 lines of code somewhere else to create a converter.