skysight-inc/HackerNews huggingface dataset:
Ask HN: What languages should I laser focus on?
I've been recently obsessed with John Carmack's legendary status as a programmer. As I've read more about him and how to achieve some similar success, many people have suggested laser focusing specific technology, and this also includes language.

I've decided to focus on three languages in this order:

* C++

* Swift

* Python

Is three languages too many? If so, what would you laser focus on? I know the answer depends on what technology you want to be good at (and also timing), but I want to hear what HN thinks.
"functional" is so ambiguous in that context…
Should You Choose VueJS Over React?
Hmm, looks useful. What is the "disaster recovery" part of the title? SDK or website doesn't seem to mention it...
JavaScript in AMP and New URL Structures at AMP Conf 2018
Have you tried the Personal Blocklist extension? https://chrome.google.com/webstore/detail/personal-blocklist...
Whats a typical day on a kruger camping safari
I hope that Firefox will fix the "permissions" problem for web-apps.

I.e., allow web-apps to request permissions, and allow users to grant those permissions. In a way that is not intrusive.

Then, I can see this work, and actually be useful.
What makes you say "GPLv2, yes"? The issue is not just tivoization (if that's even applicable at all) but that per GPLv2 "You may not impose any further restrictions on the recipients' exercise of the rights granted herein." The rights include copying, distributing and modifying the software. The app store terms of service impose additional restrictions.
Where did you get the prized by 80% from?

I only see the "Most Popular Technologies" and it has JavaScript at 71% and it's not "prized":

https://insights.stackoverflow.com/survey/2018#most-popular-...

As far as it's popularity is concerned. It's not surprising the in least. If you have anything to do with web development you're going to have to use JavaScript. Making it "popular" out of necessity but not "prized".
> This always comes and bites us back isn't it? The whole promise of Docker was that we would be freed form these pains... But yet here we stand :(

Exactly. Using a separate build host makes builds more independent but on the other hand you'll be running images that the dev did not check.

By the way, are docker image identifiers derived from the actual contents? (Are they reproducible?)

This would suggest they are not:

> Docker images are non-reproducible: each "layer" identifier is a random hex string (and not cryptographic hash of the layer content),

Source: https://blog.bazel.build/2015/07/28/docker_build.html
It's not clear to me that these are the same at all - if (emphasis) it is true that women do not value pay as much as men, and for this reason they apply for roles which lead them to be payed less - who exactly is the victim here? Are we not trusting women to know what jobs will make them happiest?
True that. It's still a backup plan if I'm ever really desperate for money. It's brutal if you have a family though.
Tavisca celebrated International Women's day
The title is misleading, considering what the article says: "Our monthly ad sales have variance, usually falling between $30-60k." If the average revenues are $45K, that number, not the peak number, should appear in the title.
Thanks! I'm interested in both ecommerce and SaaS though I suppose you're right in that ecommerce they will always be one in the same.

Does everyone on your eng team share that same belief in the importance of working with marketing? I ask because I've been in situations where engineers would've rather worked on juicy technical challenges of the main application. Marketing "asks" for a new analytics tool or CMS were viewed as a nuisance and sometimes outsourced to a Wordpress agency.
ublocks everything for me on WaPo page, so I don't see need to remove anything using dev tools.
There is an [interesting paper](http://lamport.azurewebsites.net/tla/formal-methods-amazon.p...) about how they use TLA+ at AWS to find bugs in their algorithms, and eventually prove correctness. So if you use AWS and rely upon its correctness, you have indirectly used a real-world application of TLA+. Someone else mentioned Facebook here, I think they also use formal methods.

Sure, formal methods are irrelevant for your standard CRUD application. However, the use case of AWS got me interested in applying TLA+ to this real-time collaboration feature that we have in the application that I develop. It involves multiple clients communicating over WebSockets, locking and unlocking resources, etc... Expressing the algorithm to TLA+ has:

1. vastly improved my understanding of what is going on and what the potential bad scenarios are. Simply taking a step away from the code, model the high-level algorithm and writing down the invariants that should always hold, makes a big difference.

2. identified real bugs that can occur (and probably have).

So yeah, you can't apply formal methods for everything. But I was pleasantly surprised by how easy it is to express a distributed algorithm in TLA+ and start proving statements about it. Somehow TLA+ manages to bridge the gap between engineering and more theoretical computer science.
As a contrary point of view - I have a W541 that is provided by my enterprise overlord including all the virus scanner and corporate crap that comes with it on Windows. I actually quite like Windows, but I prefer to use the right tool for the job - which is often Linux. I boot into Linux (daily) without one issue at all - it all worked out of the box and I have no complaints at all.

The closest thing to an issue is the poor battery life - but this has been my experience with all laptops and Linux.

I can't comment on the W540, and I wonder if it is that different compared to the W541.
One Big Net for Everything
So whats the real power consumption? After all, getting that thing up into the air IS the problem and not flying it.

"These examples for car and VTOL have only considered the energy required to cruise at a
specific speed, and doesn’t include the additional energy required to get the vehicle to cruise
for either the car (acceleration) or VTOL (takeoff). "

They know exactly why this figures are missing.
A union is a group of workers who, instead of each fending for themselves, negotiate with the employers as a single entity. Since they can threaten to collectively go on strike, and cannot easily be played against each other, they have actual leverage compared to each individual negotiating their own work contract.

While this certainly lacks nuance and detail, I'd guess that for someone who doesn't even know what a union is, it is less confusing than opening with a court case about the funding of a union...
Quick explanation of how a Kalman filter works
Thread swapping has a non-negligible cost but I'm not sure what you mean by swapping the stack. Aren't they just swapping stack pointers? That's how I'd naively implement it.

You still have to bank a whole bunch of registers and there might be detrimental side effects but I can't imagine why the stack would get in the way. Process swapping is obviously much worse since you change the process ID and the virtual memory mapping but even then I don't see why you'd ever copy the stack.
> where it is now going to be blocked

I think the point is not to block all of them, but the annoying "subscribe to our newsletter" ones that pop up even before you've read anything on that site.

That aside: the main reason modals are useful are because they prevent you from doing anything else - sometimes that's needed. If not, a modal is probably not the solution.
By no means am I calling the product perfect. Resource hogging is an issue that is particularly important to most HN users.

But would you say that they're _not_ investing in the product? They're improving on search, their API, adding new integrations with Github, etc. Those might not be the things that matter the most to you or other HN users, but they are investments in the product.
Small planes have had parachutes for quite some time [1] now and have saved many lives. Why on earth would this company put people up into the air unmanned without one? [Personally, if a parachute was onboard I wouldn't mind jumping into one.]

https://www.youtube.com/watch?v=kQyrPVIIQdE
None, you'd be wasting your time and energy. Languages come and go, good software design principles stand the test of time. Spend your energy wisely, learning good core principles, which can then be applied easily to any language you get forced to use at any point, be that by an employer, or the guardians of a platform.
I guess that puts you against Reader Mode, too, then? The difference between the cases you cite and a browser is the locus of control. As long as I, the user, am in control of how my browser renders the content it's given, it's nobody's business but my own.
Could it be true, erlang and clojure are assuciated with higher income both worldwide and in US?
A little back, I remember, functional programming was thought as academic and not fit for production. Has that changed? This is interesting and almost too good to be true.
We’ve been using a similar solution for a while now: pushes to GitHub trigger Travis CI to build a Docker images. These get pushed to Docker Hub or Quay, which triggers a webhook to Keel.sh[1] running in our Kubernetes cluster. Keel then updates the Kubernetes deployment to perform a rolling update of the application.

1: https://keel.sh
What do people that use Ocaml all day actually do?
Even Kotlin, as much as I love to complain about its (non-) approach to effects and lack of HKT, is more functional than the languages it's likely displacing.
Can somebody please correct this to ’Qualcomm’?
1.44MB floppies wernt particularly bad in design, but many people remeber them from the tail end of the format, where reputable brands left the market and only the crap was left over, and floppies from that era truely did suck.
Incrementally Building Our Own Code Health Tool
If WhatsApp manages to use Erlang at quite a scale I guess it's not that academic?
I don't get it. Musk (boring company) and Page (air-taxi) are pumping money in a few garbage projects.

Why don't they even try to accelerate and bring relevant technology to the masses?
Concurrent is the technical term:)
there has a lot of work on this at U. Wisconsin, namely starting with:
https://www.usenix.org/system/files/conference/osdi14/osdi14...
The testing framework there is something you need to help establish confidence that what you are doing actually works...
Yep, use it every day. Agree that it takes a lot of resources. But lack of investments in one aspect of the product doesn't mean that they haven't / aren't investing in other aspects.
Thanks! This tool was specifically made to help coordinate employees when a disaster happens.

So for example, places that I had previously worked at would have a back-up location that employees would have to navigate to if the main office was closed. This information was all stored in some sharepoint document and employees would have to edit a spreadsheet document when they arrived. With Owlorbit, you can easily place a meet-up point on a map and users in your specific channel can view it. They can also respond to a poll (that gets pushed out to smart-phones) if they are safe.

This tool can be used for other purposes, but I have been gearing all the features towards the business continuity space.
Yes, you're right. The size of the stack is relevant to how much memory each switched-out task takes up, but not directly to how costly the switching process is.
tech isnt a magic wand that can be waved to solve any conceivable problem.
The tone. I assume that if the author does not want people to distribute the library in an application with DRM, regardless of the fact whether they publish the source code or not they would also not be happy if somebody just took it, modified it and sold it as service without publishing their code.
There are different concepts of length depending on what you need. And not all of them are in the standard library, and hence, the book.

“Character length” is not a Unicode concept, for example.
I agree on both counts. A 5-10 minute podcast often feels like it's "not worth" selecting and playing--at least as part of a standard podcast queueing and listening flow. At the same time, a straight interview/discussion without a lot of production work to break it into segments, etc. that's an hour feels too long. (And producing a radio show rather than just putting an interview up is a lot more work.) I find the interview podcasts that I do naturally gravitating into the 20-25 minute range.
That's a bit out of date - today layer IDs are for the most part sha256's of the contents of the layer tar.gz.

However, it's still very difficult to generate the same layer ID twice. Timestamps permeate the layer contents itself in the form of file mtimes. The final image metadata itself also contains several timestamps.

Docker has a local cache of layers that helps simulate reproducibility. But if you clear that cache or use a different build machine, you will have a very hard time ever generating the same layer ID again.
CPU tasks (threads/processes) are quite heavy, for short and bursty connections the async model is a bit better in terms of memory usage but takes a bit more CPU in exchange (since you're effectively doing task scheduling on top of the OS task scheduler)

Multiprocessing has a lower CPU overhead and is usually the better choice if you have less but heavier connections (ie do a lot of work on each connection) since the OS scheduler can then properly allocate resources to each process (ie, providing a minimum amount of CPU time to all processes so no connection gets stuck). Async can do that too but it doesn't have the resource allocation granularity that processes have (In go or JS I can't just allocate less resources like CPU time to a connection)
I've been telling my wife that she would be a good coder for years. She finally agreed to let me show her some things the other day.

I'm planning on going the JS route. She actually knows a tiny bit about HTML (BBCode from the MySpace days) so there will be something familiar to work with. Plus, it doesn't take much to get to the point where you're moving <div>s around, and I want her to actually see results so she stays interested.
There is really only 1 problem: Linux doesn't handle 50000 threads very well. There isn't anything fundamental about that, because Async IO can be implemented with coroutines which are basically lightweight threads.
> Just because I can find a shorter program in my favourite language but can't find one in yours, doesn't mean one doesn't exist. And even if you yourself can't find such a program, doesn't mean it doesn't exist.

This doesn't matter. Ordering all program strings by Kolmogorov complexity means you can find the shortest program that can produce a certain output string.
Agree with most of what you say, but two open questions- debt alone on $500k amounts to $180/day (10yr am, 6%). Then there’s cost of energy, dead time during recharge, dead leg trips to the next customer, dead let to charge port, maintenance will be rigorous even if the plane doesn’t need it because FAA. Landing fees while be high for urban landing points, plus ground crew at some locations. “Max $100/hr” is way low, even Uber sits around that level for a $30k vehicle with 2x the efficiency.

Second- I have a hard one understanding how this could approach the aerodynamics of a Cirrus. All those fans will be drag monsters.

And a little side fun note on rooftop landing pads- ideally, a high rise has expose cooling towers on the roof, taking up most available space. Any rooftop landing facility would have to be constructed over that, at phenomenal cost per foot. Developers expect to get repaid handsomely for that kind of capex. If you aren’t landing rooftop, you are landing at an alternate location X blocks away, which could be a real drag of the other kind..

There is DEFINITELY a market for this plane, and it’s bigger than current heli, but it’s probably not ubiquitous air taxi service
Sorry that's a myth, Chinese growth isn't a zero sum game. In fact U.S. manufacturing has never been stronger:

https://www.marketwatch.com/story/us-manufacturing-dead-outp...
Top 7 Best Cryptocurrency Portfolio Management /Tracking Apps (2018)
What sort of disaster? Internet is usually the first to go down in such cases; is Bluetooth sufficiently long-range for mesh networking? (In my experience it drops out beyond ~20 m - in other words, shouting is far simpler than Bluetooth mesh in most cases)
Brilliant, and Thank You.

Ironically, though, this will probably limit severely the quantity and quality of data I can feed back to this Mozilla project via this add-on...
Typical cynical hacker news comment. Have you seen any numbers wrt mileage? Do you know if this will be debuted as a taxi which can transport users vs. something one can own? Have you seen any wrt emissions vs. a normal suv which carries a family of 4?

I am amazed how you can come to this conclusion without knowing anything about the product.
Looks like they have a number of aircraft registered, some as rotorcraft, some as gliders.

http://registry.faa.gov/aircraftinquiry/Name_Results.aspx?Na...
This is often mentioned but the examples for it keep changing—any of the small nice communities that grows too large will become filled with noise and become unpleasant. It's the reason I've been moving to lower-volume/higher intimacy websites recently, hoping to filter out noise. Unfortunately it's not really easy
>Still, even the most modern autopilot will drop the controls to the pilot's lap almost routinely.

And is likely why their "you won't need a license to ride, because it's automated" line is going to disappear once the FAA notices this.
Patio11's podcast on salary negotiations might offer some insight on discussing raises, https://www.kalzumeus.com/2016/06/03/kalzumeus-podcast-episo...
I wish JavaScript had Python's exception handling. There's no real way in JavaScript to catch only exceptions you're expecting, other than checking the error manually and re-throwing if it doesn't match.
> Also it's interesting that women placed compensation at 4th in "Differences in Assessing Jobs by Gender", but if you point that fact as a contributing factor for the pay gap you can be labeled as sexist.

How can you be labeled sexist if you point out a simple fact?
I remeber that the guy that made Diablo said that he can sustain 18 hour workdays for a couple months during a final crunch. Given how successful his product was, there may be something to it.
The point of flying cars is that they would be cool to fly. I mean, at least _if_ you get to fly them, as opposed to you just being their cargo.
It is for measuring what the air is doing (speed/angle) before that air is affected by the aircraft. It is something that's almost every test aircraft has. For example, https://en.wikipedia.org/wiki/List_of_X-planes#/media/File:G...

Once this data is gathered during the test program, the production aircraft can use less obvious sensors to measure what is going on.
A friend of mine has been working for Page on this project and doing the rigging work for the parachute so pretty sure it has one.
I don't think this changed much. Only the subjects.
I have an unpopular opinion. Non blocking IO is useful when we want to scale to lots and lots of parallel IO channels. If we don't have lots, only dozens, there is no strong need for non blocking IO. You don't actually need anything like coroutones or event driven frameworks to use non blocking IO, just loop through the sockets and tend to the ones that are ready, though event driven frameworks can make it much nicer (though still significantly more awkward than writing code in a synchronous paradigm).

Within the world of "we want non blocking IO", the world has gone crazy. JavaScript has created a whole generation of programmers who think inside out callback / yielded code is how everything should be done, and that threads are "too hard". They hardly understand the original purpose of non blocking IO and conflate the fact that they can conceptualize event driven code better than they can threads with "well that's why it's so much faster" (which usually it isn't). I can't retire fast enough from this industry.
List of Top Corporate Party Venues in Gurgaon
I don't know. I helped organize a conference where we were required to use a code of conduct by the parent organization (to be fair, we'd probably have put a code of conduct up either way).

From my point of view, as someone who is likely not going to be subject to bad behavior, I felt like a lot of it was standard HR boilerplate feel-good stuff. Not that there's anything wrong with that - it's good to signal quite clearly the behavior you think is right and wrong.

But I think that in some cases it helped more than that. It really does give you specific benefits:

1. It gives you something to aspire to. Yes, our CoC included accessibility issues. No, we weren't amazing at dealing with them, since it was our first time and it's not an easy topic to take care of. But the CoC certainly helps make it a priority, if only because people may (rightly!) call you out on failings. Most people will be understanding with you even if you don't get everything right, as long as you're trying.

2. I think specifying specific contacts (male and female) in case of certain abuse situations is a good thing. Of course whoever is the contact is not necessarily trained in dealing with trauma - but that's usually not the situation we're talking about. If someone is raped or physically asaulted, it's a matter for the police. We're talking about much lighter but still problematic cases, where hopefully the victim wants something done, but doesn't need a trauma specialist or anything.

The idea of the CoC isn't to be instead of law enforcement, it's to be another layer on top of that providing specific rules about what is and isn't considered professional behavior in this kind of conference. No more, no less.
I use https://github.com/dminkovsky/kube-cloud-build for this, which uses Google Cloud Container Builder to perform builds. It’s a really nice workflow!
Isn't prioritizing work a manager's job ?
Technically, almost anybody that has a GitHub account could claim to be contributing to OSS. I've got a dozen or more projects that almost no one has ever looked at besides myself, but they are public, and they do have an MIT license slapped on top of them, so I could torture myself into claiming that they are open source projects.
Some Things I’ve Learned About the Quantum Computing Market
How about a base-N project? You configure it with your safe alphabet, it adapts to consume as many bits as it can for your 'encoding', outputs efficiency along with encoded data.
I wish this had more upvotes. I agree. That's one of the reasons Python is so popular, despite its many flaws. It's just easier to grok for newcomers. And overall it is quite consistent and usable.
> That doesn't mean a Code of Conduct is not a necessary step.

It isn't.

> and being proactive in removing bad members, isn't possible until you define what that means.

What does it mean to be a bad member, unless you write a whole encyclopedia about your CoC it will always be open to interpretation - that's just a nature of social interactions (and if you do no one will ever read such a long document). It give's the opportunity for a CoC committee to thought police individuals that they disagree with. I just wish people that come up with this politicized BS were acting less cowardly and stopped being high on their own morale. I'm not saying that some community guidelines can't be useful, but CoC and committee systems are downright abhorrent.