skysight-inc/HackerNews huggingface dataset:
This use case is already handled by navigator.connection.downlinkMax. There is no reason to include navigator.connection.type in this API if you want to serve different content based on downlink bandwidth.
The truth is that web is getting deeper and deeper into identity crisis. And if any platform is further away from having coherent architecture, it is web.
People are expensive.
I don't personally own any "real" estate, but this is scary to me.
Sure, but that is kind of beside the point. For most problems where the distinction between P and NP is important, the biggest being encryption, "95% efficiency" is absolutely useless.
Through DHCP, the DHCP server can set different DHCP-options to notify clients what type of connection it is. For example: Android Phones set up to be a hotspot will set DHCP option 43 to a value indicating that it's a metered cellular connection.
You've been posting many comments that break the HN guidelines. We ban accounts that do that, so please don't do that. That means dropping the snarky swipes and posting civilly and substantively, or not at all.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
No mention of the word "awesome", which seems to constitute the entire adjectival vocabulary of most of the English speaking internet these days?
There's a short story, 'Antibodies', along those lines in Charles Stross' 'Toast' collection. http://www.antipope.org/charlie/blog-static/fiction/toast/to...
> top-level comment

What? This doesn't make sense.

> That's some mouthful you've come up with to avoid saying "the article"

I'm not referring to the article. That "actual problem" was in reference to the parent comment about requiring readers to execute javascript to read text.
Do you know if you can compile to a text form of the LLVM IR? Also wondering how you'd interface with a GC if you did that.
What I learned building a career driven by “everything should be free” (2013)
I'm very surprised to see this claim that Safari on OS X[1] can't handle Push Notifications, because it's been able to do that for a few years now. It's just not using Service Workers. It uses a separate solution built around the Apple Push Notification service. Granted, this isn't cross-platform and isn't a W3C standard, but it is a capability that can be used today. But of course the whole section on "Push Notifications" is actually just a description of Service Workers.

[1] Which isn't actually a listed browser, but it has the X next to it when viewed in Safari and the underlying caniuse.com data is for Service Workers, which Safari doesn't support.
I have been forced to take the battery out as a way to kill webgl pages on my mobile devices, due to the way they hogged the CPU.

Nice idea, execution is still lacking on mobile.
What does the X axis in the "browser support" graphs mean? It seems to go up to 30, and has fractions along the way, both of which suggest it isn't a simple version number. A percentage of something, perhaps?

edit: I guess it's market share? but which measurement?
>Because very small planes are only a small multiple (2-5x) more efficient than VTOL flight.

Seems like a longer wingspan is the simple answer, no?
Which is usually a correct assumption. But it's more than just metered, it's also assuming that my wifi connection is likely to be faster and therefore downloading a bunch of assets in the background will have less of an impact on my available bandwidth.
If you don't own it now, you won't in the future. Floods of foreign cash will push prices out of the range of anyone who currently doesn't own.
Carsharing Services Will Surpass 12M Members Worldwide by 2020
This is one reason why I will always prefer a manual transmission. Because it leaves me, the human, with a completely mechanical override. And it's more fun.
Why do we never hear about programmers ethically challenging the auto makers when they clearly know about these flaws? It's akin to working on medical devices. Where is the incentive to not make lethal mistakes?
Circumstance is an important factor. As you illustrate, Americans (or middle class Nigerians, or Japanese, or Chilean) have a higher potential circumstantially, but despite that many "underachieve" with respect to what someone else could do with similar resources (education, infrastructure, healthcare, economic stability, etc.) in other places.

So, yes in many ways it's relative. But additionally persevering is better than succumbing to circumstance.
Coverage does not guarantee effectiveness. Lack of coverage guarantees the behavior of uncovered code is not checked.

Use the tool for what it is good at. It's not a substitute for code review or writing convincing tests. Granted even convincing tests are going to miss important stuff, but they will miss less and after the initial bout of bugs will become quite good (because you write regression tests for EVERY bug right?).
people in the 60's thought we would have flying cars in the 21st century.

in reality we'll never need to go anywhere anymore, not for work, not for meetings, not for a movie, and not for groceries. what's a city for anyway? Oh, nightclubs I guess...
I like the idea, as this is something we struggled with when we rebuilt Expedia's "Viewfinder" client-side app in universal React (SEO being the main reason for the project, despite being a client-side web app...).

One thing that becomes interesting though, is that all of the advice in the comments here saying "Follow the router!" works brilliantly if you've got a website-style app that you need to build. For us, the router is rather confusing, and all params are optional; it's more of a filter than anything else!

Because of that, we followed the more "convetional" (heh) tree: top level src/ folder, server/, client/, shared/ underneath it. Server and client only hold their respective entry points, and a few modules for the server-side behaviour (middleware and so on).

Under shared/ we have components/ which are separated into folders based on grouped functionality. Like so: https://i.imgur.com/9T0AX52.png

While that's slightly subjective, it worked in our case very well, and at the end of the day solid naming of your components means CtrlP becomes a lot more useful ;)
What makes you think language designers have no experience of programming? Rest assured that the Simon Peyton Joneses and Martin Odersky's of this world have been doing a lot of programming in their time.

To be sure, they do program applications that are quite different from what 'bread-and-butter' programmers do, and that might influence their taste in programming language features.
Show HN: Something pointless I made
It seems like a good way to support Tor would be to open exit nodes.

And a good way to promote that would be to sell pre-configured, "just plug in power and ethernet" Raspberry Pi.
While this will affect the 44% of users that are locked into Mobile Safari IE6-style, there's no reason not to start adding the features supported by the open mobile platforms and desktop OSes to your web app.
so, assuming this works: Won't they get a lot of problems with wind / bad weather regions? I guess they won't be happy if they can do this only half of a year, and the other half the drones are sitting around.

So, if this takes off (phun intended) will Amazon try weather control next?
The audio is really choppy on Google Chrome 46.0.2490.86 m and a little warbly although not choppy on FireFox 35.0. Otherwise, still a pretty nifty demo.
In case of Haskell it's due to the fact that you can't just evaluate any top level form without going through the main. I'm sure it would be possible to design a statically typed language that's REPL development friendly, but none exist currently.
> You are an embodiment

Personal attacks are not allowed on HN, even if someone's view is wrong.
see here https://news.ycombinator.com/item?id=10645106
I believe LLVM IR, even in its textual form, is not considered a stable interface.
Amamanus, any word with anus in it isn't exactly pretty :)
Six staff total.

(I followed the REVSYS link and then went to their About page.)
This really reminds me of the Introduction to Monkey Island 3: https://www.youtube.com/watch?v=mL0086T-u6A
They are going to have to go back and update all the movies that attempt to guess the future.

Apparently there are going to be a bunch of drones flying around delivering to people in the suburbs.

Looks very cool but in the real world so many things can go wrong, I am sure people are going to intercept and either damage or steal the drones.
I'm saying that you have to actually demonstrate that additional formalism adds value before you start claiming that it does.
OTOH, I feel like if people today proposed that trucks leave unattended packages outside people's door, it would be dismissed as unworkable. But it happens constantly with minimal problems. There aren't as many bad people in the world as some people think.
> In cultures that permit men to take multiple wives, the intra-sexual competition that occurs causes greater levels of crime, violence, poverty and gender inequality than in societies that institutionalize and practice monogamous marriage.

Wouldn't that just be any culture that has a significantly offset male-female ratio?
CERN+IS+OUT+OF+CONTROL,IRRADIATING+OUR+EARTH+-+YouTube
EMC and VMware Shareholders Demand Changes to Dell Buyout Deal
These are not well educated programmers. They are probably run of the mill undereducated software engineers from an outsourcing company. They do not recognize the technical issue here, albeit report an ethical issue.

Companies like Toyota generally outsource software development to other companies like Bosch. Bosch employs a bunch of programmers in Bangalore who are just out of college, and pay them peanuts to develop a safety critical system.
This is the standard fear response to new technologies. Uber: how can you get in a car with a stranger? Airbnb: Even Paul Graham said "are you nuts?". Self driving cars: but what if people take advantage of it's collision avoidance abilities to walk in front? etc. etc. The fact is, most people are not malicious, life goes on anyway, and the risk of vandalism is quantifiable and included in the cost of doing business.

And in this case vandals can easily be prosecuted, since a drone is already hooked up with remote control, GPS tracking, cameras and monitoring.
Cue Amazon's PR firm trying to win 'cyber-monday'.

Whether or not Amazon ever delivers packages with drones, the ROI on the drone R&D is massive simply based on how much attention it draws each year on cyber monday.
I switched my desktops and laptop from FreeBSD to OS X around 10 years ago, while running FreeBSD and Linux for my servers. The main reason was the "it just works" nature of OS X on the laptop. Too much hassle getting sound and WiFi working on FreeBSD back then, plus the need to share Powerpoint files with colleagues.

Well, I recently wasted several days with a failed 10.11 to 10.11.1 minor upgrade (short story: won't boot; restore from backup, redo upgrade, won't boot, clean install (boots), restore files from backup, won't boot, etc, long process of disabling kernel extensions left over from previous releases, eventually gave up, clean install, only restore /users, finally OK, but need to manually reinstall all apps). THis isn't my only OS X upgrade failure, but it was the most painful, and only a point release too. Also had an iphone 4 a while back get bricked from an OS upgrade, as a result of which I'm no longer in the iOS ecosystem, and quite happy about that.

So, Apple, no it doesn't just work anymore. FreeBSD, on the other hand - never a major problem with upgrades in 18 years of running it. Occasionally minor niggles, but usually because I didn't read the release notes. With OS X, it mostly works, but if it doesn't work, you're mostly out of luck.

I absolutely agree with the OP about it not feeling like it's under my control anymore. Unexpected 4.5 GB background downloads when I'm on a high-cost link - wonderful, thanks Apple, so kind! I'm spending about as much time now trying to turn off OS X features as I ever spend trying to enable then on FreeBSD.
Yes, it will. And vouching contributes in the opposite direction, so please don't vouch for bad comments.
Industry-Wide HTTPS Certificate and SSH Key Reuse Endangers Millions
Sure how many kids that are exposed to those do you think are going to start working towards being engineers when they are 5?

There is a big difference between finding an interest and then finding a career.
IMO, the major challenge of hosting an open exit node is the legal burden of receiving complaints about Tor traffic. I am not sure a PnP Tor RPi would help on that point.
People can be overextended at any income level. And people who make minimum wage can be very careful with their money, live at home with their parents, pack their lunch, and have thousands in the bank.
It's not, but keeping up with upgrades generally isn't a problem. Not enough to outweigh the downsides of compiling to C.
One of the quoted Chinese said he was dissatisfied with Chinese air quality as a reason to buy in CA, wouldn't it be great if they fixed that themselves over there instead of just leaving...
* they are part of a big enough team that individual responsibility is removed
* they're not given enough time to produce good quality code
* the design came from someone without sufficient expertise, and the programmers "just built it"
* they did the best given the time they had
* it passed testing
* programmers are generally not empowered to make go/no-go decisions
* even if they did express concern they may not have been listened to
* any internal challenges on ethical grounds were probably kept quiet and worked around

Usually with this kind of incident there are multiple process and quality failures, not just "why did the programmers not do better"
Install and run PHP 7 on Raspbian
I usually find it's a sign of a developer who's too lazy to understand the current code, but arrogant enough to think they can make it better by starting again.
Would that be like a whistlerblower program?

Because we know how that always ends, with the person driven out of the company or set up to be fired.

The only way to get big corporations to behave is prison time for executives so they become paranoid about doing things right. Unfortunately in the USA we never ever seem to do that, we just give them a few million dollars in fines instead which they pay with the next month's profits (ala BP).
These are all pretty cool. What determines how it could "improve" generated words? Perhaps a larger, "pleasant"-words-only corpus?
I have a Hackintosh and it's just like a real mac. Sometimes there are compromises that you have to make (like some hardware just doesn't work and it's easier to just buy a USB equivalent). I installed XCode and it works great!

It was pretty easy for me to set it up, some great people over at http://insanelymac.com/ helped me.
The inherent complexity of static typing is precisely my argument. You have to demonstrate that the additional complexity actually adds value in the long run. This seems like a prerequisite before you start extolling this approach.
Announcing Diesel – A Safe, Extensible ORM and Query Builder for Rust
It looks like version number, which seems like a really dumb metric to put on the X axis.
Similarly, I've got `turdurine`, doesn't sound pretty either.
Does anyone else think that underground tunnels are a superior way to solve the last few miles problem? Tunnels about 1 foot in diameter with little wheeled vehicles pushing around payloads of takeaway food, groceries , parcels at reasonable speed with control computers determining routing and stopping collisions. A functioning network of this type would be more valuable than power or cable utility networks, and horizontal tunnel drilling tech means that you dont have to dig up huge swathes of road to put tunnels in.
Everything is pay per view in Xanadu. That's the problem.

It's also why it attracts economists and developers of the libertarian persuasion.

I met the Xanadu crowd during the period Autodesk was funding them. They were building a cross between Wikipedia and GitHub, with micropayments. Any subscriber could create a new document based on old ones. Readers of the new document paid to view it, and payments were apportioned between the contributors.

They had no idea how to distribute this beyond one machine. The rigid bidirectional linking system in Xanadu required everything to be kept in sync, and it all had to be under central control so the micropayments would be paid.

They also had to deal with the dead weight of Ted Nelson's database design, with "tumblers" and "zipper lists". It wasn't a good way to architect a database. Everything was explicitly cross-linked. Today, we know to separate the indices from the data, which all SQL databases do. You can create and rebuild indices as needed in an SQL database. If you need backlinks, you can create an index to do that. This separation of content from index makes the problem much simpler.

If you wanted to implement Xanadu today, it wouldn't be that hard to do it on top of an SQL database. (That's how Wikipedia works.) What Xanadu was supposed to do isn't all that complicated by modern standards.

Xanadu didn't do images. Nelson was into text. Xanadu had no image capability at all. (Video and audio storage were too expensive to even consider at the time.)

As computing became cheaper, Xanadu became unnecessary.
More likely than not, these drones are for the rural last mile problem, where drivers aren't worth the cost. In that case tunnels wouldn't be worth the cost.
I used to suffer from massive unproductivity. So I began to run experiments.

Among them, I realized that accountability and a human being next to me aided in productivity. So I did what any normal person would do. I hired someone to slap me in the face.

http://hackthesystem.com/blog/why-i-hired-a-girl-on-craigsli...

The results were mindblowing. My productivity quadrupled. I got Important (but non-urgent) work done fluidly, and easily.

I posted the article online and it went viral. Many people thought it was crazy, but others understood.

So I decided to take it a step further. What if the world could improve as well as I did? Unfortunately, slapping doesn't scale, so I tried to build the next best thing.

Pavlok --- the wearable device that uses vibrations to reward good behavior, and a mild electric stimulus to reduce bad behaviors.

My first app was a Chrome extension that allows me to choose which sites I want to blacklist. If I spend 5 minutes on Facebook, it will beep my wrist. If I spend 30 mins on Facebook, I receive the electric zap --- and the longer I stay on line, the more powerful the zap becomes.

People use it in hundreds of ways. To beep loudly when they enter facebook. To vibrate if they bite their nails. To send a zap to wake them up (shocking alarm clock --- it just works).

It's actually pretty freaking amazing to see what our users are doing with it.

Anyway, I thought you all might be interested --- what do you think? Could you see yourselves using the chrome extension to train away your bad habits?

http://buy.pavlok.com is the site to check it out. or on Amazon: http://amazon.com/Pavlok-1/dp/B011U2QYO2
I had no idea DHCP could even do that. What do Android devices do on unmetered cellular connections? How do they know if the connection is metered or not?
Yup, right before Cyber Monday.
Again, you're making a lot of assertions in absence of any evidence to support them. One would think that this would be easily demonstrable seeing how long Haskell has been around, and yet no such evidence exists to my knowledge.
There's some issues with the code. navigator.contacts for instance, is not supported in my browser (or any browser at all, except for the most recent mobile firefox - I'm on a desktop) yet the website says that indeed, my desktop browser supports it. Same is true with navigator.getBattery() which supposedly will run fine in my console (it doesn't).
Is this the recurrence of what happened when Japanese was buying USA? only this time it's at a much larger scale.

I saw rich people overseas buying real estates with cash, giving birth to kids for citizenship with tourism visa, sending their older kids to private schools here over the last few years, it's a trend getting stronger. While USA got some property tax in the pockets, the damage this does is more than any gains.

They come here simply because they have cash. The business of America is business, I guess that's the only thing matters.
I think the poster was implying that you trick the drone into delivering your neighbor's package into your backyard by putting the card out even when you're not expecting a delivery.
Yeah, you can compile to LLVM IR in assembly format and then run the result through llc. But you will pay in compilation time for this due to the serialization and deserialization steps, so I can't see a situation in which it'd be worth it to do so.

The LLVM GC interface is controlled through intrinsics, so you can access it through the human-readable IR representation just as you can with the API.
On Radical Candor
You'll note that I explicitly acknowledge that he hated being poor, and I do it in my first sentence. It's true that he didn't explicitly say that he hated poor people. But given what he wrote, how would you characterize his feelings toward the people who are still poor?
They're not that expensive and are very flexible dealing with the very analog common-sense-requiring situation that is dropping off a package.
A blog post on your setup along the same lines as OP's post would form an interesting counterpoint to this demo...

https://www.youtube.com/watch?v=Pydckb9ZU8Y
Creating tunnels would be several orders of magnitude more expensive than creating the technology for drone delivery, lobbying for it's adoption across various municipalities and so on.
Hacker News is part of the problem! This comment page is pure meta.

I'm now going to close the six other HN articles + comment pages I just opened before this one, and just not read them. See you all in a couple of days!
> maybe that's driven the idea that "scripting/untyped/loose typed languages can't have good Code Intelligence"?

One idea I've had on this subject is that each layer of tooling multiplies or reshapes the capabilities of all the other layers.

This sounds great, but there are good reasons to choose limited tools. Sometimes a powerful tool can grow so powerful that it does the work of other tools, and suddenly your other tools are dependent on this one layer.

So we use vim to edit 10 KLOC files, but should your files be that big? Your editor can do braces and semicolons for you, but should you need those? If I have a fancy type system do I need tests?

I'm not specifically advocating for a crappy editor, but the rule of least power suggests that we might get ultimate flexibility out of weaker tools.
you really think the water in the boat is not intentional?
We like to think hard work and correct attitudes towards education, savings and investment results in being well off. And to a certain extent it does.

But, many people who are well off, in fact likely some of the most well off, have an entirely different attitude that doesn't have anything to do with the above traits of the middle class. And that is the burning desire to fuck other people over and to take unfair advantage of others at every opportunity regardless of the effects it may have on the victims.

Poverty sometimes isn't all about short term thinking and bad choices. Sometimes it's just being fucked over at different scales again and again and not being able to defend oneself against it. Education and going to work everyday doesn't necessarily help in this regard.
No, not really. 'Ever' and 'in general' are pretty big words to deny feasibility for the concept that is powering everyday life and has been doing so since before humanity even existed.

So far we've been able to harness each and every source of power that we ever ran into, fusion will be harnessed too. The bigger question is whether or not we can do it economically.