skysight-inc/HackerNews huggingface dataset:
I would question your assertion that Rust is functional.

Rust does have a lot of features that a lot of other functional languages have, Algebraic Data Types, closures. But one thing Rust misses is purity. Although you do have to be explicit about when you are mutating state, I think it would be very hard to actually write a program that doesn't, and it certainly wouldn't make for idiomatic Rust code.

I guess we are going into the definition of what makes a language functional. Rust is a great language and it does attempt to solve the same sort of problems that functional languages solve - multi threading, no surprising mutations.. It just uses a different paradigm to functional in order to solve them.
The US Marines' Love Affair with 3D Printing
Of course CS fundamentals are important, I would say they build a strong foundation. However, focusing on specific technologies (mobile, CV, ML, AI, etc.) yields betters results.
Cryptocurrency: A New Investment Opportunity?
I had a squint at the ThreadPoolExecutor code on github and it uses the default parameters. Exactly how many threads you get depends on which version of python you are running:

> Changed in version 3.5: If max_workers is None or not given, it will default to the number of processors on the machine, multiplied by 5, assuming that ThreadPoolExecutor is often used to overlap I/O instead of CPU work and the number of workers should be higher than the number of workers for ProcessPoolExecutor.

Not knowing how many things are happening in parallel means it is difficult to draw conclusions from it.
I never complained about the punishment, nor did I equate the punishment itself to emotional thinking. What I called emotional and dangerous was the unsupported claim that the punishment wasn't enough to be an effective deterrent and should therefore be increased.
China is definitely doing this already, more effectively than any other country they view economics and other alternative forms of warfare as the bread and butter of diplomatic policy and they are very good at mixing it with realpolitik when for example building islands or offering foreign aid.
"But the inputs to his podcast are merely time (and one-time equipment costs)"

Well no - they have, among others, the costs I mentioned in my second sentence. But maybe I'm wrong, hence why 'revenue' doesn't mean much - it'd be much more interesting to look at some real numbers instead of the clickbait of just using whatever is the highest number one can find.

An Uber driver doesn't 'make' 15k when he gets paid 15k a year by Uber. He has to pay for gas and maintenance and whatnot. He 'makes' whatever is left over after that, just like any job where one has to pay for (part of) business-related costs themselves. A construction worker who has to pay for his own safety shoes @ $250 and is paid 30k doesn't 'make' 30k, he makes 29750. In this last example the distinction is so tiny that it doesn't matter, but it all depends on the ratios.

Now I realize that in some (dare I say 'less financially savvy') circles the amount that comes in is called the amount that one 'makes', but no person with any (business) financial skills would call it that. And from a website that purports to target those interested in running ones own business, I would expect some more rigor in this respect.
Ya know what I'm not as sure as i thought I was. I'm really glad that for...of isn't nearly as slow as it was when it was first profiled it.

Thanks for that!
Erlang has been used for decades in telcom, ATM, and financial software and probably much more. It was literally invented to be used in a production telcom system.
haha nice, in the end, we squeeze what we know.
Didn't know about OmniGraffle, will take a look.
DraftKings CEO talks failed merger, IPO plans, sports betting prospects
he was dividing the $60k over 3 people.

Agreed that's simplistic, but it's a starting point.

Assuming taxes, office overhead, other processing stuff, keeping profit overhead in place, etc, one could still be paying 3 people $5k-$10k/month with room to spare.
I do the same with font size and actually go so far as to disable all custom fonts and sizes. Everything is robo sans sizes 9-13
> A Cirrus SR22 can go 1,200 miles on 80 gallons of gas. That's roughly speaking 15 miles per gallon - better than many pickup trucks or large SUVs.

Sure, let's take the most energy efficient aircraft and compare it to the least energy efficient passenger vehicles??? I mean, how can one even pretend that is a fair comparison.

More generally for energy efficiency, it is well known that the most efficient trip is a shorter one or one never taken. Many fans of these technologies are people who dream of living 90 miles away and fly into town in half an hour. Or as you described "this would replace a two hour trip across a city in traffic with a fifteen minute flight". Comparing MPG when your technology is designed to encourage more miles is a flawed approach.
> Do planes often fall on your head?

No, but once per week I see a broken car on a motorway on my commute.
Try Go, it is a nice language for making small tools that can simplify and automate your life. I wouldn't touch JS ecosystem with a ten foot pole, it only leaves you with frustration.
I would say that it is tenuous at best.
$X directly relates to when I retire, so I see a high salary as buying time and freedom
This article is quite incorrect. Some of these points were valid many versions ago (try/catch did have a cost with it several V8 majors ago, but that has since been resolved).

And, again, for the last time, Node.js is not actually single threaded and may whatever deity help you if you choose to start additional threads without understanding how libuv works. This isn't java, the answer isn't to throw more threads at it.

Honestly, it's this kind of stuff that really hinders javascript. So many people write "expert" articles that show fundamental misunderstandings about the core of JS (including setTimeout vs setImmediate!)
Yeah, I'm totally with you on that. That's how I want my podcasts to stay. I do see the value in quickly grabbing an up to the hour briefing on something though, so want to explore ways to do that.
Hi folks! This is my project at Cloudflare -- which, entirely by coincidence, I joined exactly one year ago today: https://news.ycombinator.com/item?id=13860027

Happy to answer any questions.
How I sidehustled $72K last year, and what I wanna do next – A geek with a hat
In france salaries depend heavily on your years of experience (Junior, confirmé, senior...) so if you are just starting your career there is a tiny chance your boss will accept giving you a rise, but that doesn't mean you shouldn't try and ask.

Seeing your colleagues doing same work and being paid more is definitely not a healthy aspect to live by. I was there.

You have two options: Ask for a rise, if you get it then continue working for the same company until you gain more experience.

If you didn't get it then change employer. Changing employer allowed me a rise of 20%
Seeing the rates of "single vehicle accidents" in small aircraft piloted by amateurs, I'm happier with the autonomy.

Also, autonomy in the sky seems easier than autonomy on the ground.

If Thrun is involved, chances are it will work pretty well...
> ignoring/avoiding difficult problems and increasing technical debt

Technical debt, like any debt, shouldn't be blindly avoided, but instead managed in a smart way. But anyway - it is not my debt or problems to solve. Most of the tools I'm talking about are closed source, and I wouldn't be able to do anything with them except hacking around.
It cannot. It still has to check whether there is a local variable in any other scope that is above the one currently being executed, all the way to the top where it finds global.

Same with window in a browser context. You could still have a "window" variable placed between your execution context and the global context.
Don't you think that's a bit naïve? Take this anecdotal counterevidence for instance: none of the four people I work with visit HN but all know of Vue.
Late reply: I'm curious to see the results, but scientifically speaking Vitamin D is a tricky substance.
Determining if you have 'the right levels' is tricky, considering that the same sample can lead to 20-33% false positive rate of being misclassified as Vitamin D deficient[1], despite being measured using the same method, in two independent laboratories, compared with a different, gold standard: mass spectrometry.

Moreover, even in cases with low Vitamin D, where medical professionals are unsure if treatment with Vitamin D would be beneficial at all (in this case: for osteoporosis prevention)[2].

Finally, recent randomised, double-blind clinical trial (n=5108) assessed if monthly administration of a high dosage (100.000 IU) of Vitamin D for more than a year would in any way prevent cardiovascular disease, and found no benefit in patients receiving treatment or placebo after a 3.3 year follow-up period[3]. Another study (n=2303, 4-year long, 2000 IU/d), testing the efficacy of Vitamin D to prevent cancer, actually suggests that low dose of Vitamin D is may increase cancer.[4]

Taken together, I hope that this helps illustrate how 'making a prediction' or 'expecting a certain result' is neither scientifically ethical, nor possible, given the controversial results in the literature so far.

[1] https://www.ncbi.nlm.nih.gov/pubmed/21395958

[2] http://www.nejm.org/doi/pdf/10.1056/NEJMcp1009570

[3] https://jamanetwork.com/journals/jamacardiology/article-abst...

[4] https://www.ncbi.nlm.nih.gov/pubmed/28350929
UK 'space drones' look to Proton rocket ride
And they typically run in under 1ms and global deploys take less than 30s and it's native V8.
Release-it – A cli release tool for Git repos and NPM packages
> The US government worries that 90% of the modems will be produced by China (Broadcom/Qualcomm + Huawei + ZTE).

How is modems produced by Broadcom/Qualcomm categorized as being produced by China?
Broadcom is currently headquartered in Singapore and apparently already in the process of moving it to US.
Because you're actually interacting with two completely different stacks at least that have a pretty leaky abstraction. So you only get the painful parts of iOS development, certificates and build chains not the fun parts. Repeat that for Android. points double barreled shotgun at chin

As a native iOS dev I write my own wrappers for web applications, I think Cordova is too just too much hassle for what it really does and only limits my possibilities as a native developer hosting a web application.
I do allow sites the choice between serif (Georgia), sans-serif (Segoe UI) and monospace (Courier New). But those are the only fonts permitted. Minimum font size is 13, and default font size is 16.

Is that a plugin you use to lock the font sizes? That's not a default option in Firefox that I can see. I only have default size and minimum size.
Machine Learning Approaches for Clinical Psychology and Psychiatry
This is a fair point, I had not thought of it that way before.
Because as the stories derived from the Snowden leaks show, nation-states hold vast troves of exploits and tricks up their sleeves to break and bypass security.

Imagine a card game with the object of getting the best hand. Three communal cards are placed on a table face up. China and U.S. each hold their own cards which they don't show each other.

Now imagine that China, the U.S., and a set of international researchers acting in good faith all interact to decide which communal cards are placed on the table face up.

The researchers can give whatever constraints they want-- maybe they want all face cards, or all the same number or suit. The U.S. and China can "play along" while at the same time making choices within that set of the researcher's constraints to maximize the chance that they have the winning hand.

U.S. and China can even guide the researchers away from one set of constraints to a different set if it improves their odds of winning.

So if U.S. gets to guide the constraints exclusively they greatly increase their chances of winning.
Hire a lawyer. If it isn't worth hiring a lawyer to protect yourself, it might not be worth pursuing the project further from a financial or risk perspective.

Good luck.
It seems Chaos is closely related to slimemolds, which do seem similar... (slimemolds are cooler though)
I just want consistency. If the POSIX standard defines a function's behavior then you should either implement it by the standard or give it a different name.
Ask HN: Why do you want to teach your children / significant other to code?
There have been many posts recently on the topic of the best resources for helping children / non-technical significant others to learn programming. I'd like to better understand the motivations behind these posts - are your children asking to learn? Are you trying to set them up for a career? What is your aim?
vim is Git's default editor. Emacs isn't even installed by default on many system.
It's was like that in the 1980s. There was always good money to be earned in Law or Accounting but for those without the drive to study IT looked like easy money. Met many a failed accountant that thought all you had to do was sit in a nice office, drink coffee and poke the keyboard occasionally. Over time they moved into project / client management

Which, sadly, explains a lot
No, it is not. A memory leak has to grow.
Without the leak part, it is just ...allocated memory.
My favorite HN articles are blindly miseducated posts with comments explaining why the post is wrong or misleading. Sometimes more informative than well written posts...
I have a new 9 cell as well. 6-7 hours just doesn't do it for me.
good answer p . saying hello from canada, c.
We have been using Rust in production for around 2 years now (yes its been a bumpy ride...) at a big stuffy old school finance company that I'm sorry doesn't want their logo on your website.

The Rust code is not only mission critical, it is literally THE defining factor that has won us several very large contracts now.

I make no attempt to compare Rust to other alternatives in its class, we chose it because we were developing primarily with Ruby/Ember at the time and it felt like a natural fit.
Affect my decision to learn TLA? Probably not. Entertaining? Interesting? Something I would want to know? Yes.
Facebook et al want to control what content is published on their platforms when it suits them, but also want to hide behind common carrier status to evade responsibility. Having their cake and eating it. Or privatising profits while socialising losses, is another way to look at it.
Travis CI is down: Sounds like the main database was truncated
I'm going to be selling my x230 soon. I've got a mod chip and 1080p IPS display I could sell you.
Getting on without Google (2016)
The most annoying ones for me are the ones that trigger when your cursor leaves the tab. TheHackerNews.com (unrelated to HN) does this constantly. Would it be too drastic to just disallow mousemove events? I see no good use for them outside of needless analytics and bugging users when they try to leave your site.
If you have a lot of RAM I highly recommend you look at Plasma + PyArrow
“Ford Upar Jaat” – Sonu Kundu – Bittu Sohrakhi – New DJ Song 2018 – NDJ Music
The noise regulations part does make a difference, as this is significantly quieter than a helicopter.
Show HN: RemoteLeads, email-based aggregator for remote projects posted anywhere
New Zealand does have an absolutely insane amount of wind farms. Even if it's not energy efficient, if it's low emissions in that particular market just by the means of energy, it could be useful.

That being said, energy there is insanely expensive due to asset sales; some of the highest cost in the world.
i rather they be combined. I know they are different but one is the successor of the other.
Slightly off-topic (but not much) and as a single data point, IMHO a part of the issue with old "burned" CD's is not only the CD but rather the "new" readers (and their speed).

I still have a very old 1x SCSI CD drive (the kind that not many people will remember, using a caddy-cartridge for the CD) on a computer dedicated to "recover" old CD's and the success rate is much higher than on modern CD/DVD readers.
I would say 9 out of 10 with the SCSI drive vs. 6/10 on a modern CD/DVD drive.
> The point here is clear - you don't jump up and argue Wall St analysts deserve better pay and more annual leaves

Nowhere did the grand-poster do that for the Huawei folks. And Huawei paying "outrageous" money doesn't exempt them from questions and/or ridicule when doing stupid stunts (even if related to the very same money) like promoting deferred vacation as "extra". I'd expect Huawei execs to be able to count.
For general programming? Start with Python. She's not going to get that job tomorrow. You may as well help her get some strong fundamentals in a language that's easy to code in and has straightforward semantics. If she really wants to do JavaScript, she can pick it up later.
UX Enhancement for Online Auction and Shopping ECommerce Platform
Well I have a wide and son, which I quite enjoy spending time with. Not sure how you managed to take from anything I said that I don't.

Some of us don't have a choice but to work jobs that require that many hours to pay the bills.
> but then again zero customers died in all passenger aircraft flights last year.

This isn't even remotely accurate.

Also, even when a BRS deployment goes well, there's a good chance that the aircraft is coming through someone's roof if flying over a populated area.
Hey HN, I'm Derick the creator of RemoteLeads (along with harbind).

Our biggest dilemma as remote freelancers was always finding good remote jobs and projects when we needed the work. We found what works best is finding leads posted on various places on the internet like forums, social media, various job boards, Slack and Discord channels, and contacting clients directly.

We built RemoteLeads to make it easy for remote developers and freelancers to get access to these leads without wasting hours every day searching for them.

Why we built this:

1. There's too many job boards to keep track of.
2. Remote jobs and projects are also posted on job boards that are not specifically remote.
3. Current freelance sites like UpWork and Freelancer are bidding wars for developers.
4. There's a lot more remote jobs and projects scattered across the internet than we originally thought.
5. Many developers are looking for specific type of work (only part-time for example), and sorting to find exactly what you want as a developer is a mission.

For all the folks here on Hacker News, make sure you use the discount code 25percent_off_hackernews for 25% off your first month.
But how does this system scale? Thousands of these simultaneously in the air above cities? The noise must be quite something.

I think it's a novel helicopter replacement idea, but not really anything for mass transportation.
Overcoming the Fear
I'm a chef, these are the hours expected of in this industry.
I suspect USG’s real concern is that the Broadcom CEO will tell them to bring lots of money or screw off when USG comes a-knockin’ for special favors.
And I'm sure that everyone is 1.77 metres tall, despite what people tell themselves.
So no free tier? That’s kind of a bummer, but I guess it’s time I start paying Cloudflare for something. :)
The way it will work on the US based on what Uber and others are talking about. Is a special corridor where only autonomous traffic is allowed. This planes allowed on this corridor will have digital air traffic controllers and only be allowed if they have certain amount of capacity similar to ADS-B mandate in the future.

This allows the plane to all fly and not hit each other and pilots won't be allowed in that corridor.
the CTO/CEO point probably reflects that people who start their own company AND take the SO developer survey always call themselves CTO or CEO. People don't start their own company and call themselves a developer or an engineering manager. CTO ... of what? Most startups will die before they ever have an engineering manager.
We are sorry ...

... but we have temporarily restricted your access to the Digital Library. Your activity appears to be coming from some type of automated process. To ensure the availability of the Digital Library we can not allow these types of requests to continue. The restriction will be removed automatically once this activity stops.

We apologize for this inconvenience.

Please contact us with any questions or concerns regarding this matter:
Hey!

Just curious, why not have Travis CI do a kubectl set-image to rollout after pushing the docker image?
Congrats, this is really great. Question, since it’s not based on Node.js there is no way to leverage on a regular package manager, how can I create reusable code between edge workers? How can I make an open source snippet without copy and paste?
Modern work environments aren't designed for flow
I'd love a link to that Uber cost number - I'm having a hard time wrapping my head around a car costing more than $100/hr to operate. Even a New York City cab, rented to a driver from a profit making cab company and including the cost of the medallion was $120 for twelve hours of driving.

A chunk of a GA aircraft's operational cost is annual maintenance. By flying more per year, the operational cost of an aircraft goes down. I think you can get the operational of a Cirrus down to $100/hr if you fly it 500 hours per year.

However, operating this aircraft at scale would seem to have some real maintenance advantages beyond what you would typically see for General Aviation:

- There's only one moving part in an electric motor, vs all the complexity of a [edit: 6 cylinder] piston aircraft engine.

- You can specialize your people, procedures, and facility around a single aircraft type.

- You can swap out engines and avionics and work on them while the aircraft returns to flying.

And yes, this won't be as aerodynamic as a Cirrus, but it should be similar to a GA single engine aircraft, rather than either a quadcopter or a helicopter.
That's kind of what I was thinking - "trendy" new languages include Scala which is very functional.
Not just state law, federal law as well.