skysight-inc/HackerNews huggingface dataset:
Maybe the author never learned that governments and academic institutions still catalog books and offer online search tools for book collections free of advertising or profit motive. The lamentations seem to come from an alternate timeline where Amazon bought all the public libraries and shut them down to push more Kindle sales.
I would consider myself a pop-up employee. Looking back at my professional career, I've pretty much switched companies every year (4 companies in the past 5 years since graduation). This has been tremendous for my growth (financially, emotionally, and intellectually).

The financial upside is obvious. In addition to stock options, RSU's, the sign-on bonus adds up nicely. The additional 20-50k to my (already pretty high) yearly salary helped me buy my first 2 homes faster than I had planned for.

Giving myself a timeframe with a company helped me prioritize what is important. If I had a track record of not producing much during my time at a company, I would probably have a hard time finding a job again (and I don't want that). So I learned how to work with people collaboratively to get things done. For example, if I wanted to implement a new framework or system, I learned to work with my teammates to convince them to try it out with me. Then when I bring this up to my manager it is easy to switch because everybody is already doing it. (Sidenote: I learned to avoid taking the spotlight. I learned to encourage my teammate to bring up new solutions that we've been working on so they get the credit).

By working with a few companies, I got to see (and compare) how different companies set up their technology stack. I thought about the stack I was accustomed to and tried to see why the company went with choices they went with. These different experiences helped me grow as an engineer.

Also, I didn't have to put up with anyone's bullshit. I simply did what I believe was right (sometimes cautiously against what my managers say). My coworkers were my greatest ally (and litmus test). If I can't convince them to do whats right, then I was probably wrong. With a whole team convinced, it makes the manager's life easier.

Now, 4 companies later, I live off my rental income, help my mom with gardening, and teach people how to code (and more importantly, how to think).

Here are some concerns that you might have if you consider doing the same:

1. Do employers get worried that you switch jobs frequently? Depends. If you can show on your resume that you were able to produce great results, it won't matter. Here's a line I typically use: "I love my job, but I came across (your company) and I love the way you are (company's vision)."

2. Was it hard to quit a company? Yes. Having a goal to help my teammates get promoted and help them get visibility makes things easier. Friendship doesn't end with the job. You can still hangout with your manager and your coworkers!

Tips:
Don't apply for jobs, ask your friends to refer you. Don't have friends? Walk into a bar closest to your dream company and make one. This way, you can respond to "why do you want to leave your current job" with "I love my current job. But my friend told me that ... (insert great things about company) ..."
I think this advice which is in all reports of this event is quite tenuous:

"The calving of icebergs is a natural process. ... as news of the calving spread, many researchers were careful to note that they were not chalking it up to global warming."

The falling of trees is a natural process but when they fall in a storm we don't often say to not chalk it up to the storm.
I've described Go programs as often looking like a listing of things that could go wrong.
How to protect yourself from the Verizon data breach
Uber's New Tool Lets Its Staff Know Less About You
Misleading headline. Research found that the temperature increase could be lowered by one degree centigrade.
> That may be true, but all you are seeing is C++ copying from every other language in an effort to once again become relevant.

Considering that C++ is perhaps the most popular programming language ever designed (in TIOBE's index it ranks 3rd, right after C and Java), you sound that you nurtured an irrational hatred for a programming language. That says more about you than the language you are trying to criticise.
This is hostile behavior towards a new developer trying out golang. Any third-party tools aren't really going to fix that.
Understanding empirical Bayes estimation (using baseball statistics) (2015)
We’ll GloFo is AMDs fab after they spun it out a few years back.
ObjC, Swift, Java, Kotlin
> I love reading comments from throwaway accounts because I feel like you're getting a genuine opinion that someone is too afraid to share on their main account. And those opinions are the most interesting to me.

I hate them because they're often people spewing ideas they're too cowardly to own. If you feel discriminated against for being slightly conservative, imagine how I feel being an atheist genderqueer. We are unpopular creatures.

> I bet this sort of casual dismissiveness wouldn't fly with you if the authors were anonymous genderqueers.

It happens all the time. I challenge you to find me complaining about it even once. Throwaway accounts are throwaway.
> Hollywood does it that way. They're heavily unionized, which gives the workers some bargaining power. Construction used to be heavily unionized, which made per-project employment not too oppressive.

Both examples rely on geographic proximity of the employer. In case of "True Story, a card game and mobile app in which players trade stories from their daily lives", it seems that most hired guns could be dispersed around the world.
I think the NYT's writing is good here but there's no need for two topics -- mods deleting mine seems a good idea.
Understanding the .io TLD's DNS configuration vulnerability
I feel like that misses a lot of the context of the video. It was animating mutilated bodies in a prototype for a horror game. It's no wonder it was upsetting.
They're not exactly shorthand. They use `invoke_dynamic` under the hood, which defers the creation of the lambda til it is used. Conceptually they are, but in practice they're a little different.
Fiat currency has little to do with the eventual housing crisis that resulted. It would be exceedingly rare to find a democrat these days who would prefer the gold standard since it would limit the ability of public bonds to raise money for public works.
On the other hand, as noble as the intent might have been, the Community Reinvestment Act had a detrimental effect. It's the same thing that's wrong with student loans today. If you promise Bank's low risk loans, they're naturally going to continue to lend more and more until they end up with bundles of underwater mortgages. If we foolishly bail them out each time, why would they stop?
I get that everyone would love to have a functional language that's eager by default with optional lazy constructs, great polymorphism, statically typed with inference, generics, great concurrency story, an efficient GC, that compiles quickly to self contained binaries with simple and effective tooling which takes only seconds to setup while giving you perfomance that equals java and can rival C, with a low memory footprint.

But, I don't know of one, and maybe that's because the Go team is right, some tradeoffs need to be made, and they did, and so Go is what it is. You can't add all the other great features you want and eat the Go cake too.

Disclaimer: I'm no language design expert. Just thinking this from the fact that I've yet to hear of such a language.
I want to write a similar write-up for a company which basically does everything over HTTP with their own half-baked hardcoded AES key in app for sending credit card info. and that their confirmation checkup is stupid (for SMS) and can be bypassed.

The problem is that their site TOS forbids reverse engineering, and I am afraid their lawyers will go after me instead of fixing the security issues (even if I just contact them), any tips?
Unix time turns 1500000000 today
$ date --date='@1500000000'

Fri Jul 14 02:40:00 UTC 2017

That's today at 7:40pm for those in the Bay Area.
It's barely related to the topic, but another team in my company is thinking about rewriting a pretty large codebase in ObjC into something more sustainable. They briefly discussed Swift, but decided against it exactly due to its relatively frequent breaking changes.

Which emphasises even more the fact that large private codebases really dislike breaking changes.
Cadillac Super Cruise hands-free driving software takes on Tesla Autopilot
Funnily enough: I've never found that to be a big problem with other languages in practice. Actually, on a scale of problems in other people's code I'd probably put this very far down the list.
This is incidentally where .Net was around the 1.1 release (2003ish) We had code generation frameworks kicking out swathes of boiler plate.

Now Repository<T> and for us around 200,000 lines of code are gone and only one narrow set of tests to execute.
If a prerequisite for getting the funds from MIT was establishing your own wallet somewhere and providing a deposit addr, then perhaps they could designate "cash out" to mean "move from that initial deposit address to anywhere else". Aside from some bias caused by sweeping, it's a more reasonable way to draw these conclusions.
Netflix is rapidly taking over the Emmys
> To keep the guarantees you expect inside your typed code, you have to figure out how to handle untyped data that flows into it.

This would be solved in a conventional static type system by forcing the user to eliminate the variant, and forcing the user to deal with the case that it has an unexpected value.

So I cannot see why even C# dynamic is necessary, except to perhaps save some thinking, but this isn't a good thing IMHO.
My only concern with 4 core/4 thread CPUs like the majority of i5 models is that the video game industry is already showing some signs of optimizing for having 8 threads on the PS4 and Xbox.

Watch Dogs 2 on PC, as an example, has widely documented CPU bottlenecks on 4 thread CPUs even at 1080p. I just replaced an overclocked i5 4690k last week with an i7 to solve this issue, and is the first game I've played that was meaningfully CPU bound with my 1080 ti on 1080p/1440p displays. I think the days of an overclocked 4 core i5 being a great value choice in high(ish) end PC gaming are probably coming to an end soon. I'd certainly think twice on a new build.

http://www.gamersnexus.net/game-bench/2808-watch-dogs-2-cpu-...
One problem with digital databases: What if the electricity goes out for a very long time? Or a nefarious hacker manages to destroy the database? (Or all librarians' terminals are locked by NotPetya...)

Library without catalog is, while not totally worthless, much more difficult to use.

The physical card catalog, like other paper-based archives, is more resistant to attacks. For it to be destroyed, you need to cause physical damage, like a giant flood or tornado or hit it with explosives.

See: https://www.raphkoster.com/2017/06/27/the-internet-as-existe...

I hope that at least the national libraries and archives will maintain physical backups for the worst-case scenarios.
What does that have to do with net neutrality?
The extra efficiency could be used to cool the outside air.
What basis do you have for asserting that their contributions are bad? That their open source projects and promotions to team leadership aren't signs of competence? Look, you can go on believing whatever you want to believe about bootcamp grads - no one's forcing you to hire them. But it is interesting to me that my cohort mates keep getting hired by everyone from small startups to Google, and they keep progressing in their careers. That tells me the bootcamps have done a good job of prepping them to begin their coding careers.

And wait, who said bootcamps is for everyone? My bootcamp never made that claim - they specifically said that it's hard, they're selective about who they let in, and that they kick out people who aren't cutting it. And who cares whether I (or anyone else) could have done it on my own? Could you have learned to code without taking comp sci classes? Probably, right? Does that mean your college was pointless/useless/fraudulent? Of course not.

Bootcamps showed that entry level developer jobs at most web startups don't require four years of studying computer science. It's a craft that many people can pick up without formal education in the subject matter. And if you ever want or need to learn about 'deeper' subjects? We can just pick up a book and learn it. This isn't rocket science.
I do not care about reading the tea leaves of someone's intentions. Their english was crisp and well-delivered, it was quite clear there was no miscommunication.

People who participate in bad faith deserve to be warned, rate limited, then banned. Those are the rules of this community and while I don't always agree with the interpretations therein, I think it's important we recognize them and respect the boundaries that are drawn while within this infrastructure. We can attempt to undermine it externally if we feel the need.
Awful is subjective. I get your point here (I personally wouldn't enjoy using that website either), but websites like this one are optimized to convert the greatest portion of the target demographic. It's very simple statistics. You can't please (or convert) all users, but you can convert enough of them to be a (highly!) profitable business.

HN users are usually a very poor demographic to optimize for. It's a small demographic, for starters, and it's a very sensitive one (as evidenced by your comment). On the other hand my girlfriend, parents and probably all friends not working in tech wouldn't even notice it (where notice means "perceptibly annoying enough to have an explicit thought about it").

A lot of people honestly just don't care if the website is bloated or has numerous prompts to subscribe or chat. The users of this site evidently put up with it because it provides them with enough utility that they're not going to nitpick. The creators of the site have likely researched the market and business model enough to know that this is close to the ideal for maximizing profit without sacrificing utility. The website has hit market equilibrium.
Chinese teleport first photon to space
Who controls Mars controls the Solar System?
Maybe what's good for business isn't always good for the user, and the only reason anyone thinks capitalism works this way is that it makes some people rich. :)
They’re not rushed, you just cannot knock out every bug in a new piece of software or hardware in one go. It is not possible (without some incredibly slow and 3xpensove processes).
>monomorphization

Does that mean writing a separate version of an algorithm for each type or types that you want it to handle? Like a sort for ints, a sort for floats, etc., even if the logic is otherwise the same (or almost)?

Not a PL design or theory expert, just interested.
I don't see what's so hard to understand.

7.x is better than 5.x but not GOOD ENOUGH.
> fwiw, I learned to compute square roots in school in the 80s

FWIW, I did too in the 90s/00s, though I confess I don't remember the method now. I think it was Newton-Rhaphson.
Since the financial aspect isn't obvious to you, here's how it works:

dev: "We could sell a better product if you gave us full transcripts, and you could make more money with it"

Amazon: "OK, here you go"

> It is clear to anyone that if word got out they were doing that at a bare minimum they would lose all the money they spent towards R&D and the entire product line would have to be shut down.

Why? What would cause that? Other companies in similar situations keep on trucking just fine.

And not worth the risk? What risk? We generally don't fine companies any significant amount when their data leaks, either intentionally or not. Customers don't really leave either, so there's no actual risk.

Also, I am absolutely up for changing my mind, but this isn't really a "factual" debate, it's opinion on whether Amazon would be willing to let go of customer data. I have no doubt that they would, and expect that they do let go of customer data. I'd actually love to be proved wrong. I really want an Echo, but won't because of said privacy issues.

> But the amount of money it would take to process all the audio from all the Alexas and make use of it is astounding even by government standard.

It doesn't have to be "all customers data", they can very easily pick and choose which data gets processed.

> I see no more reason to give up my Echos due to government surveillance than I do my phone which has even more data on me and I'm not giving up my phone.

And that's fine. I don't think you should give up your phone if you don't want to. But saying "I don't want to give up my phone, so Alexa is totally safe!" is silly at best.
The 10% rent increase I'm looking at this year leaves me skeptical of your argument that Seattle is adequately keeping up with demand.
You can play this musical instrument with just your thoughts
Ok, fair point. There would obviously need to be a mission plan that involved a bit more than "go to Mars", but I think even thoroughly monitoring my slow death by radiation over the course of a few months would be sufficiently scientifically worthwhile that, along with the sheer fact of going to another planet, for me to volunteer.
[SPOILER ALERT]

Can we change the post title to match the article?

"If You Fix This, You Fix a Big Piece of the Climate Puzzle"
Talking from my personal experience in the travel industry (6 years senior engineer @ a travel startup).

This is really common practice and I hated every bit of it.

Everyone is looking at the big guys like Expedia and Booking.com and those are really pushy. You can see them popping up every thing in a popup.

You're looking at a room and you see "1500 people are looking @ this room now", everything, just to get you to book.

This case is a bit extreme, even in those standards, but not the first time I see something like it.
> 7.x is better than 5.x but not GOOD ENOUGH.

What would make it good enough? Be specific.
In this house we obey the laws of thermodynamics!
Yes, it means specializing the code and generating a separate version of the function for each type it is instantiated with.
I think the proper analogy is that it's a Mexican Standoff, not Russian Roulette.
Yes. And this was in 1998. Feels ridiculously irrelevant. Just like my third grade teacher who was adamant that we would only ever be able to write in cursive and in black ink in high school, college, and the workplace, and that to write in manuscript with pencils was not something any respectable adult would do...
http://science.sciencemag.org/content/sci/suppl/2017/07/12/3...
I am not a programmer other than one visual basic course I took in college.

My score:
"You got 8 out of 15 right
You're in the top 50% of engineers. Can your friends beat you? Share your score and challenge them to do better!"
How do these manifest themselves and how do you detect them?
The request for use cases in Go seems a bit like begging the question to me. Since Go doesn't have generics, anything designed in Go will necessarily take this into account and design around this lack. So it's relatively easy to show that Go doesn't have a compelling use case for generics, since the designs implemented in Go wouldn't (usually) benefit from generics!

Rust has generics and traits/typeclasses, and the result is my Rust code uses those features extensively and the presence of those features greatly influences the designs. Similarly, when I write Java, I design with inheritance in mind. I would have trouble showing real world use cases for inheritance in my Rust code, because Rust doesn't have inheritance and so the designs don't use inheritance-based patterns.

Essentially, how does one provide real world evidence for the utility of something that's only hypothetical? You can't write working programs in hypothetical Go 2-with-generics, so examples are always going to be hypothetical or drawn from other languages where those tools do exist.
Wouldn't switching to DC motors for both the fan and the compressor save a lot of power?
That is incredibly unlikely.

Let's assume that aliens had a 1% head start on us. They were 1% faster at evolving. That's not a crazy idea - Earth spent 2 billion years going from photosynthesis to multi-cellular life. The cretaceous extinction could've been a 50 million year setback, how close were Dinosaurs to getting sentience?

We're at 13 billion years on the global clock right now, so 1% of that is 130 million years. An alien with a 130 million year head start on us. Imagine that.

Now let's assume there are 40 billion habitable planets in the galaxy. That seems like a lot. And let's assume it takes a really long time for a planet to go from "just colonized" to "ready to produce more interstellar colonies". Say 100,000 years - longer than recorded human civilization. We'll make a vague approximation - every inhabited planet can colonize another planet once per 100,000 years. That seems conservative.

It takes about 35 generations for a doubling population to reach 40,000,000,000.

35 generations. So with a generation taking 100,000 years, that means 3.5 million years.

In 3.5 million years we see a species go from "sentient" to "every habitable planet in the galaxy".

You can play with the numbers, but the result speaks volumes: geometric growth is fast, and the universe is old.

It is highly unlikely that we're the first. And if we're not the first, and interstellar colonization is possible, then every planet in the galaxy should already be colonized, because it would take a blink of an eye in galactic timescales.
No notices - But this syntax has been introduced in 7.0.
Old style is:

isset($array[$key]) ? $array[$key] : $default

Which is, admittedly, just a bit uglier.

Edit: isset() is a language construct, not a function call. So it does not incur performance penalties. The ?? operator was introduced for 'cosmetic' reasons only, so don't rush to update your source...
Note that at no point in the post whatsoever were any contributions to these specific issues from outside the core maintainers thanked or even acknowledged.
.NET does a mixture of C++ and Java, meaning generic instatiations for value types get their own version of the code, instatiations for reference types get a shared version.
This is apples and hand grenades, though. You're looking for a use case for HKTs. I just want to make a tree without copy-pasting.
In my opinion and experience, that is exactly what programs are
Awaiting the async…
The "EK Prototype SP3" cooler was probably a prototype of a water block designed for the X399 platform. The chip is massive, so the existing solutions probably don't fit it.
Star Trek's warp drive actually does not necessarily move the ship at faster-than-light-speed, but by warping space-time around the ship ("warp bubble"), so only the effective distance crossed per time is faster than SoL. I'm sure many of HN's audience are already aware of that, but it's worth noting that this might in theory even be possible: https://en.m.wikipedia.org/wiki/Alcubierre_drive

There are lots of problems with this theory, but to me it's mind blowing that it cannot be fully excluded yet. I guess we will need AI superintelligence to find out.
Illegal-Goods Website AlphaBay Shut Following Law-Enforcement Action
Because AMD doesn't handle it's fabrication any longer. It's all done through third-parties (GloFo and Samsung, particularly) whom are competitive against Intel. Intel still has the advantage in that they are vertically integrated, however Samsung is pushing out far more chips/day than Intel and is the lead fab for cutting edge ARM processors. This makes it much more capable of multiparadigm fabbing.