skysight-inc/HackerNews huggingface dataset:
This problem is more related to a programming underestimation than the actual limitations of a 32bit CPU (which can happily process numbers or IDs that arbitrarily big if you have the memory for it and program it correctly).

That said, this is definitely indicative of what's going to happen in just 20 years, 6 months and 20 days from now. I mean, we're still cranking out 32bit CPUs in the billions, running more and more devices, and devs still aren't thinking beyond a few years out. I know of code that I wrote 12 years ago still happily cranking away in production, and there may be some I wrote even longer than that out there... and I guarantee I hadn't given two thoughts about the year 2038 problem back then, and I doubt many devs are giving it much thought today.

It's truly going to be chaos.
Thanks for pointing out BeFS. I only learned about it in the past few months, whereas I was thinking about alternatives to hierarchies for a decade. These related links were quite helpful to my initial understanding of BeFS's unique features:

* https://systemswe.love/archive/minneapolis-2017/ivan-richwal...

* https://arstechnica.com/information-technology/2010/06/the-b...

I am a fan of their dynamic queries. Being able to search all over the file system for certain attributes, instead of merely browsing a pre-canned hierarchy, is a powerful feature. I'm not a fan of their extended attributes though; it seems brittle currently because we have reduced files down to the lowest common denominator of being a finite sequence of bytes, with very little metadata on the side (if you're lucky, you might get a file name and MIME type attached).
I'd still have to imagine that the acetaldehyde and formaldehyde intake is a small fraction of what the average persona already ingests in the form of alcohol.

Which of course doesn't mean it is good for us but I think establishes that the danger from that is probably less scary than that sounds
Or they did their 12 weeks and then studied on their own time.
The HTML5 color parsing algorithm is less complex than it seems. Mostly it boils down to "take any characters that aren't hex digits and replace them with zeroes, then truncate the resulting string in a consistent way to produce a 24-bit value".
Sarcasm is recursive.
I don't understand it exactly. Maybe I'll read the source code since it is so small, but perhaps you should give a practical example of someone using your library for some end.
Great practice if you're making day-to-day decisions for hundreds of thousands of households!
> A lot of the UK's railways were built on the back of a private investment bubble in the 19th century.

A lot of the internet infrastructure was built out during the bubble period of the late 90's / early 2000's
OFFICIAL: Milan Complete Andre Silva Signing
The Teenage Dreamland of ‘Twin Peaks’
At best it'd be a stopgap before a reverse proxy or cache, though. For whom is this functionality a problem?
It's implicit that as long as your company is hiring your position you can take unpaid leave; the outlier is paid sabbatical.
Well with experience you can tell the difference, but you can always look at the label if in doubt.
In New York, they were scraping the website to find the short-term rentals targeted by its ban. I presume Toronto could do the same.
Sure thing. As a server-side language, love it. I also do all my command-line scripting with it, too.

Async/await is implemented really well (Google hired Erik Meijer to help them build it), their threading model is excellent, and there are built-in keywords in the language for stream handling that are seriously productive [1]. Anyone that knows Java/Swift/Kotlin/ObjC is going to be productive in Dart very, very quickly.

Performance has been great, but someone else may be better qualified to answer that question. Much of the lower level socket stuff is just C/C++. I don't want to speak on something I don't fully understand, so I included an article about the Dart VM below [2].

To me, Dart differentiated itself by being more similar to compiled, C-like languages. Obviously, Django, Laravel, Rails, etc. are much more mature. Aqueduct is tested well [3], but nothing beats years of regression tests.

1: https://www.dartlang.org/articles/language/beyond-async
2: https://www.dartlang.org/articles/dart-vm/why-not-bytecode
3: https://github.com/stablekernel/aqueduct
Hey all - Seth here from HashiCorp (the company that makes Terraform). The next version of Terraform (0.10) natively adopts very similar behavior, presenting a plan before applying as an added safety step. You can read more in the 0.10 upgrade guide. At the time of this writing, 0.10 is not yet released, but compiling Terraform from source at master will inherit this behavior.

https://github.com/hashicorp/terraform/blob/master/website/s...
At War with the Rat Army
Cash Faces a New Challenger in Zelle, a Mobile Banking Service
Uhh, how about instead, we let Europe do that. And then us in America and Canada can see how that works out for them.

The beauty of countries is that different countries can try vastly different things, and then we can look at the results afterwords and see which countries made good decisions and which made bad decisions.
> I've had people who didn't know the difference between an object and an array, and people who had to comment their way through implementing a function that replicates "filter" in javascript.

I don't know a single person from my cohort who fits that description...and we aren't the most selective bootcamp by far.
Sure there is: http://aqueduct.io/docs/http/serving_files/
You should use 2 ASG ( blue / green ) and 1 ELB for that, then when you need to update the OS of one of the ASG you just update the launch configuration. It's easy to do in Terraform.

1) Update the launch configuration of your un-used ASG ( with the new AMI ID )

2) Apply terraform to deploy the new ASG

3) Make sure it's working ( your local app on your new instances )

4) Connect the ELB to your new ASG

5) Set the old ASG to 0 instances to drain the connections
real likes = unpaid
fake likes = paid

likes are a proxy for consumer interest. kind of how survey's where the respondents are paid to agree to something aren't valid measures of opinion.
> It's apparently difficult to break six figures as a senior dev here

Where did you hear that? If you're a legitimate senior dev with marketable skills you shouldn't have a problem hitting six figures in Chicago.
Mini-Flares Might Threaten Life Around Red Dwarf Stars (TRAPPIST-1)
@maybnogy, how did you end up finding this (I wrote it, and haven't been advertising it like crazy, so I'm curious)
> Out of curiosity, which books?

There were two great discussions about this on HN last week:

Ask HN: What language-agnostic programming books should I read?
https://news.ycombinator.com/item?id=14486657

Ask HN: Books you wish you had read earlier?
https://news.ycombinator.com/item?id=14477851
I'm guessing that these are contentious to some degree, or at least need context. I think this format would work better if it made the case for the right answer, or against your answer.
Xbox One X
Eh, if you're one of the few devs at a startup it's easy to get a "senior" title. It comes down to responsibility. Now whether any sane startup should be HIRING as one of their primary devs a recent grad is another question entirely.
Probably noise and nuisance complaints.
Why would a vegetarian diet have less calories? I could eat cups of rice drowned in olive oil and suck down a gallon of Coca Cola a day and I'd still be Vegan.
A bunch of this is for the "transitional work program" which sounds more like a way for prisoners to get out of prison more smoothly:
http://www.doc.louisiana.gov/transitional-work-program

I don't know anything in particular about the program, but why do you think the business should pay the prevailing wage? How many prisoners would get hired with that requirement vs. without it? As a business owner why would I prefer to hire a prisoner instead of someone not in prison? Or am I thinking about it the wrong way? It sounds like hiring a prisoner benefits the prison system and the prisoner (and also the business as long as there is an incentive of some kind).
>you've gotta be one of the most of out touch people i've ever seen express their out of touch opinions.

Kettle meet pot.
I've read that China is building massive infrastructure in Africa[1]. Are they doing this to have other sources of export? Think about this, America may eventually lessen consumption and as such, China will need some way to pay back/down debts. We may see China unload and drop US treasury notes when/if American consumption slows/halts. If China has other markets to consume their exports, then they will be safe. Does this scenario seem realistic?

[1] https://www.fastcompany.com/3050167/in-africa-chinese-develo...
This is feel-good non-sense, in that it ignores the elephants in the room. It's the equivalent of micro-optimization trivia on Stack Overflow, when most programs are bounded by Amdahl's Law.

People driving >20 miles a day for work/groceries/school, exponential economic growth, and exponential demand for consumer goods are what's driving climate change. Exponential population growth is, as well, but at least there's some end in sight for it.

Whether or not you compost, or throw away your food isn't going to change much - not to mention that most food waste is outside of my control.

For instance, I don't throw away 50% of the food I buy - it gets thrown away by farmers, transport companies, and the grocery store long before it gets to my table.
This is correct. The ActiveX is very, very real.
Wasn't there once a "tiny" runtime?

https://codereview.appspot.com/3996047/
FWIW you can still work with Drive like this, though it's somewhat hidden functionality. "Shift+Z" after selecting an item will bring up the otherwise hidden "Add to" dialogue, allowing you to add an object to multiple parent folders/tags.
There is no "off the record" in meat space. Its scarier out there than online, and online is scary enough.

In smaller parts of the country the pool is smaller and everyone knows everyone eventually so trash talking will get reported.

There are ways to fix political (or religious) oppression problems, but none of the solutions involve or enhanced by intoxication.

"Most of them aren't alcoholics" Can't get thru life without a bottle? The bottle feels better than real life? Might want to talk it over with someone.
Ye gods, someone's pet peeve hasn't been touched in a year, and that means development has "stalled". Young people today.

Do you have any idea how long Illustrator users had to wait for artboards to land?
I guess the onus is on the length of time he means by consistent, because yeah, that could be 10 months or 10 years.
Depends on the price. Everyone has one. (or at least SHOULD have one).

Here is an example. Would you accept 100 million dollars to work in Saudia Arabia for a year? I probably would. I'd do it for a year, and then retire.

People do lots of things where they are exchanging happiness now, for happiness in the future.

For him, it means that he can save up a whole bunch of money, and then retire 20 years earlier at the least.
Not everyone shares your _exact_ ideals, even amidst those sharing the hacker ethos. In the same way that not everyone sharing the hacker ethos is as extreme as Stallman. In the same way that not everyone here uses linux distros exclusively. Clearly there's a spectrum of beliefs/ethos. Otherwise, you could pedantically point out something that's not purely hacker-focused about almost every single post on HN.
I'm sorry, but if you don't know how to read simple hex numbers for colours, and you're unwilling to learn, you probably shouldn't be in this game.

It's like when people complain that they failed to install desktop Linux in the last couple of years - sure in the 90s that was a very valid complaint, and early last decade it was tricksy too. But now? It says more about them.
Dane here as well. We own a Peugeot iOn which we bought for $15,000 a few years back. At the time it was about two years old but hadn't driven very far. The price and size is about the same that you'd pay for very low-end gasoline driven cars in Denmark. I don't regret buying it as it's very fun to drive. On the flip side, the range isn't that far, only about 60 miles, so it's nice for commuting and short trips, but we need our MPV as a fallback for longer trips.

Anyway, I guess the point I was trying to make was that there are electrical cars in a lot of different price ranges these days. The old car manufacturers are trying to board the train as well, with varying commercial success. It's not all Tesla.
Dynamic imports is standards-track JS :) http://2ality.com/2017/01/import-operator.html
Thanks for the reply! I really appreciate the dialogue.

Yes, the first half of the talk reviews the problem, but the last half (starting with the boundary functions) explains the CRDT. If that wasn't helpful, then there is also this article on the implementation (not written by me) https://github.com/amark/gun/wiki/Conflict-Resolution-with-G....

Timestamps are bad, yes (I mention this in the talk as well), GUN uses a hybrid vector/timestamp/lexical CRDT. Lets take your analogy "updating Y when someone else sees X", a perfect example of this is realtime document collaboration (gDocs, etc.). Even with GUN, you'd not want to have the collaborative paragraph as a value on a property in the node. Each value is treated as atomic, which if two people write at the same time would cause what you are saying: them to overwrite each other. Instead, we can preserve the intent by running distributed linked list (a DAG, actually) on gun, this works quite nicely. See:

- Early working prototype/demo here: https://youtu.be/rci89p0o2wQ

- Based off the interactive data algorithms explainer article here: http://gun.js.org/explainers/school/class.html

If instead, you don't want the results to merge, but indeed be atomic (only one person or the other "wins") then even with transactions only one is going to overwrite the other. Transactions don't help unless you have a journal to rollback from - and guess what, that is possible with gun too. Or alternatively, if you just want users to be informed of the conflict such that they can decide, it is trivial to store both updates and then present them with the conflicting values to choose from, which it then saves.

Does that make sense? Do you see/have any problems with those approaches? Thanks for your input so far.

Regarding clients. Yes, absolutely, you should still run multiple dedicated full-database backups. I don't disagree with you on that point, in fact we make it easy and scalable (see our demo video of a prototype storage engine that did 100M+ records for $10/day all costs - servers, disk, and backup: https://youtu.be/x_WqBuEA7s8). The unique thing about GUN is that it is still capable of surviving complete data center outages, because the data is also backed up on the edge peers.

You can also reduce your bandwidth costs by having edge peers distribute data to their nearby peers, versus always having to pull from your data center. Aka, the Bittorrent model.

Lets be clear here, there is a big difference between Master-Slave systems and data guarantees. Databases like Cassandra have better data availability guarantees because they are HA (and gun is the same), despite not being Master-Slave.

But at the end of the day, you are right: Your not-losing-your-data is only as good as how many full replication backups you have. What I hope to have communicated to you is that gun makes it ridiculously easy to make full (and partial) replications beyond traditional databases/datastores/whatever-you-call-thems, and I hope you do think that is awesome.

Just don't use us to balance bank account data, cause we don't provide those types of guarantees, but we do provide the HA / AP / fault-tolerance ones. :)
The LiDAR Gold Rush
you forgot President
Quora.com down?
I'd love it so much if Canada had comparable salaries. I'd move back for sure, at least if it came 10% within Seattle and SV.

But, I'm not sure it's possible for companies to do so.

I mean, first of all, in the US, outside of a few cities like NY, SV, Seattle, Bellevue, you start to see lower pay which gets closer to Canadian pay.

Appart from that, Canada just doesn't have the same market. That's the biggest difference. Most startup capitalize on the US market, and that's just easier and more accessible to do if you're US based.

In a way, Canada pays decently. You'll be very comfortable as an engineer in Canada, even with a large family. But compared to certain US cities, it's abysmal.

It's kind of crazy that in the US, a bachelor degree in CS can give you pay close to what doctors make. And a 9 month dev boot camp can have you earn similar to many university level degrees.

I'm not sure this will last forever. My point being, it's unclear if Canada's pay for tech is too low, or if some US cities pay is too high.
Could you clarify what you mean by "canonical tags for everything"? Do you mean an online database like freedb, MusicBrainz, and such?
Intel Core I9-7980XE 18-Core CPU Reportedly Scheduled for Later This Year
Financial Sector Remains a Top Target in 2017
I scolded that user as well of course, but you need to follow the rules regardless of who doesn't.
Google is starting to do this as well. You get a push notification instead of entering the code.
The term "weak types" is incredibly confusing to developers who have used languages that support weak references. I was excited for a second there thinking that "weak types" meant TypeScript would generate code for using a `WeakMap` in order to create weak references, but I guess not.
1. Does the code do what it's supposed to do, without crashing or causing unwanted side-effects?

2. Is the code relatively readable by someone unfamiliar with the problem?

If 1 && 2 then stop tearing your robes like Pharisees and go solve another problem.
You pretty much have to take the same approach as you would outside of terraform: create the new thing (launch configuration, standalone instance) and attach it to the ELB before spinning down the old one. Terraform does have some rudimentary aid to that end in the form of the create_before_destroy[0] flag, though it doesn't work out with uniquely named things.

[0] https://www.terraform.io/docs/configuration/resources.html#c...
Libsodium Quick Reference: Similar Functions and Their Use-Cases
If "free food cafeteria" means something other than "the CEO is buying a few pizzas to feed the whole office" I would say it's no longer a start-up :)
You do reap what you sow? Or you ought to reap what you sow?
> Source: I knew the guy who did the research and published the findings.

That's not really a source. If this was published, then tell us where! The published findings would be the source.
The Secret Behind Dollar Shave Club’s Billion Dollar Success in One Graph
It's competitive if you don't actually need the 28.8TB NVMe SSD. If you actually need that much storage capacity and speed you are looking at provisioning 2 i3.16xlarge's and hoping your application can be distributed across multiple instances.
no doubt. if you politically object to anything on that list, you merely need to compare it to something higher up and force people into a binary choice. "Which would be better"?
> But who does this all the time and remains productive? And is it really fair to the coffee shop?

I do, and I'm pretty productive. I love the white noise of people around me, and its stimulating enough having different people come in and out, without being overwhelming.

I buy at least a cup of coffee and a snack for every 3-4 hours I spend in there. Most of the local coffee shops I work at know me by name and usually can guess what I'm ordering before I even say anything, so I assume it doesn't bother them :D
Yep, Amazon was the first counter-example I thought of. Definitely not a start-up but they trade profit for growth all day.
Astronauts Can Soon Bake This 'Crumb-Free' Bread in Space – MUNCHIES
Have you looked at trading firms? There are many in Chicago that pay 130k+ base to new grads, with significant bonus comp.
Tesla Autopilot Review: It classified ~30% of other cars, and 1% of bicyclists
Hey all, I actually work at App Academy in the admissions department. Happened to see this while at work. These numbers are very much in-line with our graduate history ($105k average in SF, $89k in NY).

Seems like there is a decent amount of skepticism in this thread, but feel free to ask me anything!
It's a difference in perception - cognitive dissonance. There are obviously differences in the incarceration (Our prisons ruin many lives - but Soviet ones ended them. Depending on the year, mortality rates were between 1 and 20% - the highest were during the war.)
I mean, they cut a deal with Japan that legalizes Airbnb rentals and allows for local regulation-- why not Canada?
Especially recently, for every one person who actually is sincere in their desire to learn and grow, there can be three or more people who are trying to be a concern troll or are otherwise asking in bad faith.
thanks! I'll keep at it, the search alone is making me learn a lot about myself, the world, and where I can improve.
Thanks for the link. Didn't realize they'd started both recording lectures and releasing them. Probably has something to do with the change in teaching faculty for the course. Wonder if the second half of the semester is available somewhere (I assume it'll be uploaded throughout the summer).
Indeed. I'm a graduate (3+ years ago). Best thing I ever did.
> The solution to the "Airbnb problem" of rising home costs is less regulation, not more.

Regulation around short term rentals and regulation around construction and zoning are two very different things. I agree that every city can probably benefit from more progressive construction policy, but that doesn't mean that restricting short term rentals isn't also a good idea.

It's nice to think that the free market combined with liberal policies will produce so much capacity that all problems around pricing (and by extension AirBnB) will be solved, but we haven't seen much evidence that this can occur in a timely enough manner to come anywhere close to meeting demand, which may also be increasing over that time. Here in San Francisco for example, we've seen a massive construction boom over the last few years, but it's having no effect on prices because even though thousands of new units are coming online, the pent up demand still vastly exceeds the new supply.

Even assuming you could solve the problem with construction, the solution will come on a decade scale whereas AirBnB can entire change the face of a city's rental market in a few years, or less (take a Berlin for example). Popular cities would still need restrictions on AirBnBs to keep the problem in check until longer term increases in housing capacity can be put in place.
I agree.

I think this story is an enormous opportunity to get bipartisan opinion against abuse of prison labor. What better way to get popular support against AG Session's incarceration increase than to tie it to a deeply unpopular politician with his constituency?
Noted. I'm glad I asked here because it nudges me in the right direction. I want to be taken seriously and this is where the serious developers discuss things.

Thanks:)
I thought so, then downsized to just one monitor, and that was pretty great. When I move around, working on just on the laptop doesn't really impact my productivity that much, unless I'm in a deep debugging session, but I think a larger screen will help with that (I use a 13" Retina right now)
A FATHER'S WISH
It seems like firms that are large enough to manage multiple offices do exactly that. In the games industry electronic arts is a good example. They have offices in Vancouver, Montreal, and Edmonton (a huge team grown out of the BioWare acquisition) and possibly other places in Canada.
You don't have to catch them all, just enough to make some examples. If you're not doing some kind of greyball uber shenanigans, one semi-competent police officer can close the circle on somebody pretty easily.