skysight-inc/HackerNews huggingface dataset:
The problem usually is: What is the error code if your return type is int? Sure, you can define all negative ints as errors, or you provide a reference which is set when an error is encountered and so on, but that ends up being just another type of "very ugly".

At the moment, I'm mildly intrigued by Rusts result types which force you from the start to handle "all cases". They strongly remind me of checked exceptions.
Another counter-point: when you buy a house, even while the mortgage isn't paid off, you can immediately start renting parts of it and end up in a situation where your mortgage payments are equaled or exceeded by your rental income. I also believe that this is taxed differently from normal income, especially so if you're renting rooms in a house you live in vs. owning rental property.

In the Bay Area at least, a single-bedroom apartment is easily $2000 a month. If you play your cards right, a single-family home in a desirable neighborhood for tech workers or others can be had for under $1m with 4 reasonably-sized bedrooms, a garage, and a yard. You can then rent out 2 of the bedrooms at $1400/month each and end up with your mortgage payment from your tenants each month. There are still maintenance costs and very significant property taxes (~single-tens of thousands per year on such a property), but you also build equity, which you can later sell (minus the mortgage interest). Depending on the mortgage, you could also use this situation to over-pay mortgage payments in order to pay off the property faster and reduce the amount spent on interest if that works out to a better investment opportunity than anything else you could do with the same money (any early payoff penalties included).

It does seem to me that renting is a mixture of paying for convenience and throwing money away, given the above scenario and considering how after 5 years, the home owner ends up with ~$150k in equity assuming the housing market stays flat (it doesn't in the Bay Area, e.g. http://www.paragon-re.com/3_Recessions_2_Bubbles_and_a_Baby ) , taxes, maintenance, and interest included, you should still come out ahead with the house. Once you also factor in that renting gets you 8-20%+ increases in rental price per year, while the house value appreciates on the low end of that range over the same amount of time (and also that you can raise the rent for your lodgers accordingly), you really start to see why houses in the Bay Area are attracting foreign investors and starting bidding wars above asking price for nothing-special properties.

Edit: lastly, the point I feel everyone neglects: unlike other investments, your first property has the additional advantage and value that you can live in it, so comparisons to other investments become quite different. Sure, you could take your down payment and put it into ETFs, and on paper the yearly average gains might look similar, but if you suddenly lose your job, the ETFs won't provide a place to sleep at night.
As someone who has struggled with this, it is always quite illuminating to me to see the difference between going to a public event by yourself v. with one or two other people. Just one companion/compadre makes an almost binary difference in terms of feeling "like everyone is questioning why you are there by yourself". Two companions are best as conversation can peter off with just one. The point of this is - invite along people to things you might have gone to yourself in the past. The more advanced level is approaching people around you like this is something you do normally. Good luck, I know how easy it is to fall into a social rut - and it just takes one friend to change everything (for going out).
get out, that's amazing
Extensive discussion, which includes a link to the video: https://news.ycombinator.com/item?id=11815949
I wonder if you think that pro-immigration movements can be inflamed, reflexive, unthinking and possibly offensive?

Obviously so. We see that all the time in the UK – there's a persistent anti-immigration sentiment among some parts of the population, but instead of seeking to understand, their views are immediately discounted as racist ramblings. In reality, such groups often really have genuine concerns about immigration, typically because it results in a displacement from work for some part of the population. Shouting at people about how they are racist isn't really constructive.

Actually they do not need to be because there's been a fait accompli in that at least one million immigrants have entered Germany on the basis of what appears to be the say-so of one woman.

I'm sure you appreciate that this isn't true, and that Merkel isn't personally in charge of deciding who's allowed into Germany, so we probably don't have to discuss it further.

Probably some are but you'd have to believe in a massive conspiracy to disregard all reports of let us say, rape and sexual offences committed by some of those immigrants

There are absolutely legitimate reports of crimes among immigrant populations. That does not mean that immigrant populations are all criminals, nor does it mean that allowing immigration into the country is wrong. The problem is where we move from the question "how do we deal with issues caused by immigrant populations" to "send the unwashed deviants back to where they came from". I just don't see the latter view helping anybody.
I gave up Lynx in favour of Links2 because problems reading HackerNews. Try navigating to
news.ycombinator.com
without the https:// and Lynx will freeze completely.
MS spent a lot of effort trying to fit Win95 into 4 megs for a reason. I don't think NeXTStep with only 8 megs were a popular configuration, many was upgraded to 16 megs.
> I'm talking code vs data check, pointer bounds check, pointer write-check to prevent modification, optionally stack overflow, and so on.

I'm probably showing my ignorance, but I don't think anyone can convince me that in a perfect world software errors should be caught by dedicated hardware. Same with pushing software security issues to the HW.

SW needs a pottery barn rule, you broke it you pay for it. The HW is already too complicated as it is.
I didn't really see any weighing of the proposition here, just motivated reasoning. Such a one-sided view is especially scary because, at least to me, the cons for this are pretty apparent and serious.

What's one big negative of funneling even more money into the government? Further centralizing power in the government, which definitely cools my own fever to implement UBI, and definitely warrants some careful consideration. Since trust in government seems to be at an all time low, this point probably deserves some addressing [1].

[1]: http://www.people-press.org/2015/11/23/1-trust-in-government...
Are you intentionally changing the scope of terms in your misparaphrase?

FB doesn't share data, it uses data for targeting, and it doesn't target by mic data.
It's a nice start and improvement. I'd like to see more peer review on stuff like Hardbound and Code-pointer Integrity. I think stuff like Softbound or Code-pointer integrity could be merged with MPX to reduce its cost. Or just amplify its capability. Would be worthwhile research for some undergrads seeing as MPX is deployed already.
That's pretty amazing. This was something i just discussed in a Psychology class that I was in about lonliness and visits/interaction where someone is physically present bridges the gap and decrease lonliness. There have been many studies that I've read also show that the people who are lonley and online also have increase microagressionns and lack social interaction skills.
I'd suggest using the --outDir option, so TS writes the .js files to a different directory which you can easily blow away.
The article says Nest may be up for sale, which would make sense. I have to think that the buyer would probably buy Nest for the underlying technology and not the brand at this point, however.

I have an original Nest thermostat but would never buy another Nest product due to the horror stories that continually pop up online. I don't follow Nest closely or have any particular interest in them, but I remember the video they reference in the article from the Google employee who couldn't stop the smoke detectors from false alarming, and I also saw the news when they decided to "brick" a $300 product they acquired.

Based on those two things alone, I don't feel like they take customer satisfaction seriously, nor do I have confidence in their ability to build a good product--even though my thermostat has never had any issues. I doubt I'm alone in this.
Thanks for the tip. I'm look into it.
IoT is a fad. I have yet to see very many convincing arguments on why my house needs to be online. The existing products (locks, sensors, smoke detectors) are barely different from existing home security products that have been on the market for years. The functionality of Echo/OnHub is largely covered by smartphones. They promise integration with other home IoT devices that do not exist yet.

People are very hesitant to buy new appliances/home products. The last major change to the American home was the television, and that was ~50 years ago. Desktops had their day, but have been largely replaced by Laptops/Smartphones for many consumers. Adoption of new home appliances and technologies is glacially slow.

Also newer electronics have shown they need replaced/upgraded every 2-5 years. You are going to be hard pressed to sell the idea that the consumer needs to replace all their light switches and smoke detectors even every 10 years. I barely replace light bulbs at that rate now.

Cars about the only place where the IoT call home paradigm works. They are complicated machines that need semi regular maintenance. Placing sensors all over it makes sense. Trading updates for telemetry is attractive because a cars computer needs updates like any other computer. But I don't need a fridge that senses when I am low on milk, when I can just as easily look inside it and tell for myself.

EDIT: I think I should clarify that home IoT is a fad. Having machines feed back telemetry is useful, especially commercial machines with a service contract. The data is useful when its actionable. Data for the sake of data in the home is a waste.
I don't really work in the Javascript ecosystem, so when learning Angular 2 recently, I found all the other tools to carry far more cognitive load than Typescript.
> it was launched in 2007

An ads platform launched in 2007. The current one is very much an entirely new platform.
People always believe their form of extremism is justified. That's what makes it so dangerous. I think we put a little too much emphasis on people's intention, and not enough on the result of their actions.
Because you only care about the farmhouse and not the land.
> Advertisers and the networks that serve them will never be on the consumer's side.

This is a danger, but in an optimal system, one that doesn't come into play. Advertisers pay for eyeballs, eyeballs are there because they haven't been driven away from the product by ads that ruin the experience.
You apparently want violence done by the state to happen to people who merely make "hateful comments". Aka, people who make statements you disagree with. Nice tolerance there, bro.… You are the fascist if you believe that the people you disagree with should be silenced.

This seems to be a bit of a straw man argument. While some people no doubt want those views silenced, that's not the correct approach and not one I see being advocated here.

On the other hand, it's perfectly legitimate to object to those views. Personally, I'd also like that discussion to be a constructive one, and I'm not sure that the whole "unwashed criminal hordes" rhetoric is really going to help with that. Nobody should be silenced, but likewise nobody should be free from criticism for views that we object to.
I'm really sick of articles trying to take things like this and associating them with Donald Trump, when he has nothing to do with it.

Terrible dictators support Obama. Does this mean that Obama is evil?

In reality, the truly violent people are the anti-trump supporters. Every single rally in the last 3 months has ended in violence....perpetrated by the people trampling on the rights of the Trump supporters.

This doesn't surprise me, though. It's been a progression from the suppression of free speech online in many forums to real life.
>If you use OpenBSD and hate ports, then maybe ignore all the good things bash brings and write everything in Bourne shell. If not, then write bash.

If Bourne is not comfortable or powerful enough for the task you're trying to do, you're using the wrong tool and Python is probably what you should be using.
Rental prices are what the market will bear. These may or may not be strongly correlated to the landlord's ownership.

Two very relevant examples of when the "amortization" argument won't apply:

- a rising market in which the landlord bought a long time ago. Their purchase price was way below the area's current market value. So they can cover their expenses while you still pay less in rent than what a modern-day mortgage would be.

- a home buying market that's expecting continued pricing appreciation. Homeowners can (and will) rent out property at a loss with the expectation it'll be made up in a higher sale value years down the line. Whether or not this actually happens, of course, depends on their ability to accurately predict the future.

There's also the inverse case of declining markets, when landlords can end up over the heads financially and simply can't charge the rates they need to cover their mortgages, because the entire area has turned south.

There are very real financial risks to landlords. They can't just charge whatever they want. It really depends on the state and future of their market.
https://s3.amazonaws.com/theoatmeal-img/comics/email/4.png
Letting a child starve doesn't violate the non-aggression principle either.
Reminds me of the way Java's binary search computes the average:

int mid = (low + high) >>> 1;

This was a fix because the original code had a bug:

int mid =(low + high) / 2;

Which was part of the Java code base for many years. Joshua Bloch based the code on Programming Pearls, which also contained the bug.

More info: https://research.googleblog.com/2006/06/extra-extra-read-all...
Coding/language support is very comparable between WebStorm and VS Code. WebStorm is a much larger and full-featured IDE, though. Most people won't use most features, but I found that I missed one or two things in VS Code and had to go back to WebStorm.
By the title I though he was going to talk more about the language but it was 95% about tooling.
messenger.com has a functional messenger, that they are updating regularly and it scales very will to different screen sizes. Unfortunately they won't allow you to use it if they think your device is a phone, just pointing you towards the native application.

I don't know what this obsession with native applications is. A lot of the time I prefer to just use your website.
This is part of what makes him unreadable
This sums up Google in a single paragraph:

In 2015 Nest posted job listings for its "Nest Audio Team." The team would be responsible for "developing an audio roadmap for Nest products." Industry observers suspected the audio team was building a smart Bluetooth speaker, but Google beat Nest to the punch with Google Home, an Amazon Echo-style Bluetooth speaker and voice assistant appliance. According to a report from The Information, when Nest found out about Google Home, it asked to work on the project with Google. Nest's request was turned down. We can only guess why—maybe Nest's reputation inside Google had something to do with it?

Often times Google has multiple projects doing effectively the same "thing" going at the same time. They don't work together because the idea is to have the team that can get to the "finish line" first to win, not to co-operate. This, as it was explained to me by an engineering director there, was to encourage a 'natural selection mechanism that selected for the best teams and the best products.'

While I understood the idea, that you would pit your own resources against each other like that was kind of foreign to me. My own personal learning from that, having watched them for 15 years, four of which from the inside, is that as a way of managing a company it produces few viable products and no viable businesses.
Microsoft has done some great work with languages: C# (shares a lot of DNA/people with TypeScript), F#, and now TypeScript.
The debacle of the smoke alarm made me immediately regret buying one of my friends for their newborn son's room. But wow, the following sounds like an utter fail...if quadrupling the headcount doesn't bring new products, then you at least expect the old product to have tried overexpanding into new markets...they weren't even able to do that:

Even by Fadell's own standards, the Google acquisition doesn't seem to have led to huge wins for Nest. In an interview with Bloomberg shortly after the sale, Fadell was asked what the move would mean for Nest. "For us it was about getting out to the world faster" Fadell said. "[Our products are imported] in 96 countries where we don't even sell today. We can see these devices being connected but we can't get there fast enough. For us, going with Google, we can get access to resources to allow us to move these products around the world much more quickly." Before the Google acquisition, Nest was for sale in three countries. In two-and-a-half years under Google and Alphabet, Nest expanded to just four more countries.
3rd party libraries / frameworks written with non-JavaScript languages is worth another blog post and discussion. I agree completely with you that libraries / -most- frameworks should be written in plain old JS.

The reason is simple, contributing and reading the project source code should not start by learning a programming language. It is a different scenario when a team in a company has decided to learn and write their project with TypeScript/CoffeeScript/etc. language.

About tooling, I think writing modern JavaScript (ES2015, ES2016) is beneficial and therefore, you need a tool like Babel. When you go to that path, why not use TypeScript instead and get ES2015/ES2016 + type system + great compiler?
https://en.wikipedia.org/wiki/Abstract_expressionism#Abstrac...

https://theawl.com/literary-magazines-for-socialists-funded-...

Totally speculation at this point. Just the way that the movement arose. There were a few articles covering it. Then a few communities created around it. Then more and more research done on it. Its emergence was interesting.
Yeah, definitely remember wiring up DB-25 breakout cables a few years ago when I was helping a fledging recording studio wire up their new console into their Pro Tools system.
​OwnCloud closes US office, blames Nextcloud
I love my Nest thermostat- it's still better than any other smart thermostat out there in build quality and reliability (tho the Ecobee series is slightly more feature rich) - but I can't say I'm surprised.

Nest is, in many ways, the most disappointing company. I'm not sure how much of that is just down to them lacking vision or leadership though - they have the skills to do great things.
Yeah, from my (admittedly brief) research into apartment listings it does seem rather daunting. I would like to cut down on the amount of travel I need to do every morning, to and from work. But at the same time I am pretty used to it already I guess.

I will look into those places and that website, thank you very much!
Redux state management for React components
Here is one on socialist literary magazines.

https://theawl.com/literary-magazines-for-socialists-funded-...
You forgot the wonky '60s-look robot solution:

https://www.youtube.com/watch?v=gy5g33S0Gzo

(Actually, pretty cool).

Your industrial solution reminded me of the time I worked at a factory feeding books into conveyor belts. I guess I'm weird so I kind of enjoyed the sensation of my fingers and my hands learning to grab exactly the right number of catalogues from a cardboard box, or exactly the right page to open a magazine on to stick a cd in etc, after I'd done it a few dozen times already in a day. And at least I'm grateful I only had to do one set of repetitive moves for each task (rather than the whole symphony of manipulations the machines performed).

But, man, is that sort of work inhumane and soul-destroying. I'd have been soul-destroyed myself if I had a soul.

(No, seriously, that sort of work sucks so much)
IoT will eventually happen, but for Smart Grid to reduce power usage. There is a potential to save 30% of energy cost.
It's not a metal object, it's a stone sphere with a "high" (unspecified) level of iron content.
That's exactly the joke - that he's doing something that's 4x more work than just counting the cows directly.
If memory serves me correctly, RMS doesn't actually manage his own website. He has a number of volunteers that help update the website and post political notes. Those notes are likely a message from him to his volunteers, or the volunteers reminding themselves.
for the record, I didn't follow you because of Dan's tweet. I followed you because your links are excellent! You answered my question in reactiflux in detail. love love. kbye
Re: arrays -- I generally agree, but they are best solution to certain otherwise simple problems, like storing command arguments. `cmd $FLAGS` is objectively more dangerous than `cmd "${FLAGS[@]}"` due to the globbing and word-splitting issues the former exposes. In my experience, devs are more likely to opt for the former when the latter is forbidden than switch languages (because that's work).
IoT is a fad in the current way we're going about it.

What's not a fad is getting devices to communicate their health and status to an upstream repository for things like predictive analytics.

This is already happening in the B2B sector. It will reach the consumer sector next, but like you said it will take 2-3 consumer product cycles to make it real.

It won't be about remote control or any of the barely useful use-cases you're seeing with fridges and door locks and water bottles. It will be knowing your home's A/C has two weeks of operation before it seizes up. It will be knowing your home's plumbing has frozen and burst while you were away.
Alphabet trashed their robotics companies. They trashed their IoT companies. I hope they don't trash the self-driving car operation.
It would be interesting to hear more about your experiences. I have been quite hesitant to use more advanced TypeScript features and stayed on a type system related annotations.
I agree about everything being connected to the internet.

However, I think no truly groundbreaking device has come out, yet. I bet money that one day, a truly useful device will eventually come out. Something, years later, we'll wonder how we ever lived without it.

Like the iPhone did for smartphones.
hunter2
The flipside of the argument is a Project Managers hiring 9 women to have a baby in 1 month. Collaboration between teams does incur a cost. Working closely with a single team is easier than coordinating across multiple teams in multiple business units. The additional headcount may not offset the cost.
I don't know how much supermarket clerks earn, but German minimum wage is 8.5 eur/h.
Mendeley: Free academic reference manager and PDF organizer
There are almost always the possibility of exceptions: you can get NullPointerException, OutOfMemoryError, ArrayIndexOutOfBoundsException, etc. There is a log of exceptions that derive from RuntimeException.

You must always assume that code in the exception handler can fail unless you have written every single line and it allocates no memory at all.
That doesn't need the "cloud". It just needs a broadcast signal telling your appliances the current price of electricity.
Or with Apple logo, for some extra confusion and hilarity.