skysight-inc/HackerNews huggingface dataset:
You're still making a couple gut decisions when you use data:

- This data was collected in a representative way.

- The problem we are addressing is the same as the one this data investigates.

The first one assessment is a pretty big one, given the possibility of survivorship bias and the silence of users who are only mildly satisfied/annoyed.
Rust can compile to wasm (and asm.js) as well via emscripten. More info here: https://users.rust-lang.org/t/compiling-to-the-web-with-rust...
You can go to group policy (gpedit.exe) in Windows 10 pro to switch off most of privacy related settings. There is a good description written for every settings.
Noam Chomsky and the Bicycle Theory
An easy way to fix many of the "production" concerns is to run SQL explorer only on syndicated read only slave servers.

Most databases support slave servers.

Probably should be added to the readme.
Sometimes I feel like I am behind with CSS. I have not used LESS or SASS or any others on any production application that I work on. It's usually Bootstrap and then custom CSS to override. I have messed around and learned the basics of LESS/SASS but nothing beyond that.

Am I behind?
I climbed back out of bed just to upvote this. It's going in my little file of quotes that give me "the tingles". Thanks.
there's only one 'idea': the touch bar

it's ok, the rest is disappointing though
I feel like we will only see more of this all over the world. As production, warehousing and distribution become increasingly automated a significant portion of human population will not be able to find work. To solve this, we will need to rethink compensation and the idea of working for a living.
Yeah, as far as innovation is concerned, they are about as innovative as lenovo.

I'm sure nobody is especially worried. I see a really bad windows-based ipad knockoff, and a tacky surface knockoff.

Not sure how that's worth the hyperbole there.

I own a surface. It's a terrible form factor full of attractive but poor-performing features. Someone does need to improve the laptop (it's my number 1 go-to device), but these guys aren't it.
Funny thing is Eric recommending AWS for HC's campaign.

"The computers will be in the cloud and most likely on Amazon Web services
(AWS). All the campaign needs are portable computers, tablets and smart
phones along with credit card readers."
> if you got it in the first year.

You are really trying to get me out of the bounds of acceptable decorum of this site. Really??? I see a very prominent conditional in your reply. I suppose MS has a right to screw over people who got free upgrades (not really), but I got to pay for my copy of Windows with a new computer a few weeks ago and still get the privilege of seeing all the anti-consumer crap that comes with it. I'd also venture a guess that proportion of users who aren't using free upgrade offer will increase with time - how is your argument supposed to age, Brandon?
Anandtech's review[1] measures 7.5 hours on their lightest test with the higher-resolution model. That's certainly not bad, and in fact is over my stated 7 hour cutoff - I think the number I found yesterday was a bit lower. And of course I get considerably more pixels in exchange. But when Apple advertises 10 hours, and reviews in the past have typically found their advertised battery figures pretty much on the mark (sometimes even an underestimate), that's still a significant difference.

Maybe I shouldn't worry about this too much, because as a developer I tend to feed a lot of battery to the CPU anyway, draining it much faster: the increased battery drain from a higher resolution screen stays constant, so it becomes less significant as a fraction of a larger overall drain. On the other hand, for the same reason, I'd like all the battery life I can get.

And yes, I'm aware of how the Mac resolution scaling works.

[1] http://www.anandtech.com/show/10116/the-dell-xps-15-9550-rev...
No, an interpreter cannot short-circuit a zero multiplication. This is because the expressions could be functions that raise exceptions.

e.g. 0 * (0/0)

e.g. f() * raise_some_exception()
Microsoft open sources its next-gen cloud hardware design
It's more typical for them to claim ownership of it, rather than to forbid it. Any job where you have to submit a list of prior work with your employment contract (which is most of them in my experience) is usually a sign that there's a clause in there claiming ownership of everything you do while employed there. Personally I doubt it's very enforceable, especially since California is so worker-friendly on everything else I know about, but I don't know how well these clauses work out in practice.
This chunk of the thread was addressing your comment about how "Apple makes a killing selling adapters. It's the users who get screwed." You being unhappy about Apple using a proprietary connection doesn't mean the cables or adapters are actually pricy.
Is there a plan to support WASM in NodeJS anytime soon ? I see multiple optimization points on the server side as well.
It's 丿日.

Did you figure out that you have to press Shift to see some of the radicals? Apparently that's not obvious. My bad.
If you can control the timing, I'd say execution. Otherwise, luck.
Newton is an interesting case. Apple made two big mistakes... They didn't realize how hard handwriting recognition was and they didn't realize how important syncing with a computer was.

I think there's an alternate universe out there where Apple kept the Newton and it evolved into the iPhone.
Lab41 Reading Group: Skip-Thought Vectors
Here's a question: Who is going to use this besides the community of developers currently using emscripten, asm.js, and related technologies? Read: game developers. (Also game developers widely don't use these web technologies.)

What I'm afraid of is developers who think they're clever working with WebAssembly to feel like "real developers" shitting up the ecosystem more than it's already polluted. Or some undergrads/Java developers from Google creating another Dartgular but this time claiming that using their new EdgeScript (a real compilable language that utilizes WebAssembly!) is better than just using straight up JavaScript bindings to the existing Web API. Another frankenframework that everyone has to put up with, and will eventually drop support for.
I think you are making two claims, but I want to make sure. Are you claiming that:

1. Trump himself leaked the Access Hollywood recording; and

2. There was nothing relevant in the Access Hollywood recording.

The Access Hollywood recording came out at the beginning of this month, so I'm not sure if that's the one you're referring to.
The Checklist Manifesto is one of the few "pop" business books that fundamentally changed some of the ways I work. I manage a decent sized teams and it's almost become an inside joke with my team that I expect a checklist for any process anyone executes.

It often seems trivial, but the few times it has helped catch something critical that we would otherwise assume just worked has more than paid for itself. There is a bit of fluff in the book, but there's also great actionable advice in there.
No, you’re right, it is not about a single iOS-like feature hampering "pro user functionality". It is the amalgam effect of Apple’s efforts of catering to the iPhone user, or the average Mac user, that alienates pro users. If you look at headline features for Yosemite, El Capitan, and Sierra, there is not a single "pro user" feature there, but plenty for your average Joe.

In short: the pro user segment is alienated by Apple’s seemingly indifferent attitude towards them, and the increased integration, or synergy, of iOS with macOS does not help in any way. Generally, pro and power users want flexibility, options, customizability.

Apple seems hell bent on removing choice. Pro users were alienated when they removed firewire connectivity, you need adapters and dongles for just about everything now, and it’s not like this will be remedied with the 2016 MBP is it? Then there is the sad thing that is Mac Pro... That is how Apple actually forced a lot of pro users onto hackintosh systems, as unbelievable as that sounds, but you can run a hackintosh and have a better, more flexible, more performant, macOS experience, than with the real Mac Pro...
New system.
Learning Privacy Expectations by Crowdsourcing Contextual Informational Norms
Could it be done in a non-spoofable, decentralised way?

Xanadu is/was specified to include user authentication. No idea about the implementation there.
Zuckerberg and Gates to Attend World Chess Championship
> Finally we can expand beyond JavaScript on front-end development.

Yup! Thats the plan for web assembly! Write in what you want, compile to browser-supported format, deploy.
Belgian Court Fines Microsoft for Failing to Comply with Its Impossible Order
> That's because magsafe is magical, and they removed all the other ports.

In fairness, there are two huge new benefits to their new approach:

* You can charge on either the left or the right side. This reduces cable strain.

* If the cable breaks, you can swap it for another (cheap) USB-C cable, without having to buy another power brick.

There's an argument against Magsafe too: laptops are lighter now, so the magnets would have to be weaker to still work reliably, and thus also have more accidental disconnections (this is irritating). I'm not completely sold on this argument, but you can buy third-party USB-C Magsafe-like adaptors if it's really important to you.

For me, who's had several frayed chargers over the years due to cable strain, I really like their new approach.

(Note: there's a legitimate argument against Apple here too... I've heard that the reason Magsafe chargers are so susceptible to fraying is because they don't use PVC, and instead use a more 'environmentally-friendly' plastic, which is much weaker. They could still use more substantial strain relief regardless, but I'd guess they have aesthetic arguments against that, which is a silly reason for something so important. I'm not sure how much truth there is to this however.)
In Colorado the fixed fees nearly double the rate if you are a smaller consumer of 100 KWH a month.
Wealthfront CEO Stepping Down – Passing the Baton, Again
Is there any popular hardware that is PowerPC?
@brudgers suggested to re-send this link as "Show HN" https://news.ycombinator.com/item?id=12834893 Sorry for a copy, unfortunately I'm unable to edit or delete an original submission.
Intentional. It is a happy route to wearing glasses and a beard to deceive the world on your identificational categories.

It's clever because someone will not usually be writing in this manner. The only good identifiers are "Amerikanskis" and "USSA" which could unintentionally slip into conversation on Facebook or Twitter and which are unique enough.
The Effects of the Forthcoming FCC Privacy Rules on Internet Security
Note that "powerpc" is the 32-bit PowerPC, if I'm not mistaken.

ppc64el (64-bit little-endian PowerPC) is listed as a release architecture.
But will you three years from now? I get what you are saying, but you are comparing a 2016 nav system to a phone. If you've got a nav system that's a few years old it's a headache (and possibly costly) to update, might be missing features in newer nav systems or might simply be broken and outrageous to fix (a problem that could also apply to an Android Auto head unit, to be fair, but at least you have a backup then).
It's way easier than Wubi. At least, that's the intention.
>Now I'm bored with software engineering, transitioned in to a corporate information security role to take a break

Doesn't this mean that you're dealing with Windows security problems all the time? That sounds like pure hell; I think I'd rather work as a janitor.
Done https://news.ycombinator.com/item?id=12838767
If you are asking the question, should I use this?

"I am not a security expert."

No.
"yeah, [that bad english is a] security precaution. Much safer to be from nowhere than from somewhere you can be tested on, see Guccifer2"

-thegrugq

https://twitter.com/thegrugq/status/793104621828907008
I thought it was a good OS but it does not play well with the newer HP laptops. Sadly had to revert back to Windows 10 :(
This is the funniest thing I have ever seen on HN. Well played, sir.
Windows Update is a mess: 3 things Microsoft should do to fix it
I imagine much of it is that cargo space still helps sell small cars.
Let It Bleed (Humanely): We Taste the Vegan “Impossible” and “Beyond” Burgers
I don't know how useful that would be, it's still javascript (just a lower level version of it) after all. It's coupled pretty tightly with the browser.
What if my browser does not run as root? Can I protect my files from ransomware by having a copy somewhere else on off-line storage?
The problem with realistic maps is that distances are much larger than a game map. With a lot of repetition of buildings that would get a bit boring.

But I am completely with you on looking for a new GTA5 map.
Where to Go from Here
Where are the homeless people and needle exchange signs?
Many of these methods could be adapted to cleaning up your programming-writing style.

E.g: Take existing good code written by others, make notes on what it does, then write it yourself and compare to the original.
Purely anecdotal, but my wild-assed guess is that most middle class Americans spend $20-30k on one every 4-5 years. Some people are enthusiasts and will spend more than that on the same timetable, and some people are extra frugal and will spend less, less often.

People with families will probably spend a little more for a minivan or SUV, which will skew it higher. Students (or people in their 20s in the early phases of their careers) will spend less, balancing out the minivan purchasers. Totally guessing though.
TL;DR

- Avoid implicit copy operations

# implicity-copy
b = a * 2
# in-place
a *= 2

- Reshaping involves a copy when also transposing

# triggers a copy due to transpose
c = a.T.reshape((1, -1))
# does not trigger a copy
b = a.reshape((1, -1))

- flatten always returns a copy. Use ravel, when possible

# flatten
d = a.flatten()
e = a.ravel()

- Use broadcasting instead of np.tile

- Fancy indexing yields a copy

b1 = a[::10] # array view: does not yield a copy, takes 804 ns per loop
b2 = a[np.arange(0, n, 10)] # fancy indexing: creates a copy, takes 14.1 ms per loop

- Logical indexing can be done using np.compress, which is faster than fancy indexing

i = np.random.random_sample(n) < .5
b1 = a[i] # fancy indexing: 59.8 ms per loop
b2 = np.compress(i, a, axis=0) # takes 24.1 ms per loop

- Use np.take as alternative to fancy indexing, when possible

i = np.arange(0, n, 10)
b1 = a[i] # 13 ms per loop
b2 = np.take(a, i, axis=0) # 4.87 ms per loop
> Woah woah woah. You trying to start a theory/experiment fight?

Hahaha no. I'm an observational astronomer - Everyone hates us! I definitely fall on the experiment side of the argument.

> Nobel prize distribution (as of 2014). Theory: 30.75 prizes (28.7%) Experiment: 76.25 prizes (71.3%)

I didn't know that, that's pretty neat. Although I was talking more about how the perception is in the general science community (starting from high school onwards). Again, I can't say how true it is outside of where I live, because I haven't travelled much. But it definitely is true here from my experience.
Can confirm this. I'm typing this on a System76 galago pro, which is more than 2 years old at this point. Over time, I've seen the very same issues which you'd expect from any other system: bluetooth misbehaving, graphics issues etc.

In particular:

1. The graphic card (Intel onboard Crystal Eye) switches to low-power mode on battery. The windows Intel driver has an option to switch it to performance mode. No such option on the linux drivers.

2. The damn Xf86Display Key (Projector shortcut) isn't supported.

However, I've realized over time that irrespective of your choice, you will face issues on _your device_. NTFS would stop working on your Mac, or your iPhone will refuse to connect to your Car's bluetooth one fine day.

(/rant)
> android is more compatible with the new macbook than the iphone is

This is a baseless claim. They happen to use the same connector. iOS has a number of far more meaningful integration points with OS X, including iCloud and Messages.
B.R. Myers had a theory on that (in A Reader's Manifesto, not The Cleanest Race): a less literate people are more fond of word games. The common people like to be awed by a skill they don't have; the elites, who can read, like to show off their ability to read and write. Thus flowery prose before mass education, and again at present.

However, I'm not sure if this is true or not; I'd have to look at how many copies of various books sold in the 19th century US, which was not known for its mass illiteracy. Knowing that the Ku Klux Klan got their burning crosses from Sir Walter Scott, I'm suspecting that Myers' theory isn't as comprehensive as it looks; Scott, at least, enjoyed a mass market. (And then there's the steamers from London greeted with the question, "How is Little Nell?")

The real dynamic might be elitism -- a desire to be reading text that the populace wouldn't understand, if they encountered it. That would explain why academic prose has gotten more opaque over time, regardless of what popular fiction is doing -- and would explain why postmodern floweriness is mostly confined to the sort of books that get reviewed in the New Yorker, the New York Times, and the like.
Why would that be better ? Deprecation of new cars in the first 3 years is crazy high, they loose 50% value in that time. Buying a new car every 3 years is one of the worst thing s you can do financially.
It's a technical crowd here - you can install apps without using the App Store and it's not particularly difficult either.
Or when it's required. Landlords have to run electricity into every apartment, running it to every parking stall is a pretty small incremental upgrade.

Considering that this is something apartment dwellers can't do themselves, and there isn't a direct profit motive for the landlord, this is where regulations should come in.
Oh, FFS. 30-pin was around for what, 15-odd years? You're blaming them for literally nothing more than "the plug changing" because it just happened to be within the past few years.

If they'd gone with micro-USB, you would have the exact same complaint two or three years from now. That micro-USB devices still have 2 or 3 more years left of ubiquity is just a function of this exact moment in time, and you could have said that three years ago for 30-pin too.
More detail on why would have been interesting. Especially with other lesser known architectures still supported.
I have an old PowerBook (from about 2005, not long before Apple's intel switch) that still runs fine, after replacing RAM a couple times. I use it as my back-up computer at the office to this day, sometimes bring it to the coffee shop to outhip the hipsters. It's been running the Debian PPC port for many years without much trouble.

Of course this does not come as a big surprise; I'll just keep running the most recent version until the hard drive dies and my current laptop becomes the back-up.

Are there any distros still standing with PPC support? I used to run Ubuntu, but it was dropped years ago.
I'm trying to be realistic about mass society + mass consumption. I don't think our desire "for more" will go down; but maybe we can replace it with digital consumption?
This is the height of cherry picking. Bolt at this point is not about dime for dime. Its about a lifestyle. There is reason the top 2 or 3 vehicles with highest customer satisfaction are Tesla S and Volt. Keep the green cred aside, from pure science perspective I am blown away by SolarPV and EV combination. I mean, I produce electricity on my roof top and run the car, and it is cheap, but the ROI takes a long time. Is it great business right now, no. But I am driving on the up to date tech, not a 10 year old tech. I pay 3cents per kwh on the electricity on my solar.

The upfront costs are not prohibitive, they are just upfront, and in return, you can sustainable feedback loop, less gas station visits, less oil changes, few moving parts so fewer "unknown" repairs. Regular maintenance is a breeze. The ride is head and shoulder above a mid-lux vehicle.
> There's a breakdown by sector in KBB's numbers:

> *Kelley Blue Book Average Transaction Prices do not include applied consumer incentives

Trucks make up the top 3 best selling vehicles in the US by a large margin -- accounting for 42% of the top 10 best selling vehicles in the US. They are also the most heavily discounted because their margins are so high. And KBB intentionally leaves that information out of their figures.

So all those $8-12k discounts on Ford/GM/Dodge pickup-trucks are not even taken into account for that average. Meaning KBB's numbers are complete trash.
Ask HN: Robust chat bot platform?
I am looking for a platform that allows me to create chat bots that are multi lingual, have expressive control languages, can host large data sets, and can be easily hosted on any site or facebook.

Ideally I would like to be able to help people to navigate thru various government services by asking the a couple of basic questions and then either create a document, redirect to an url, etc.

So far Motion and Chatfuel have been lacking in features.
Justin has a point about all the resources that could be saved. There is a lot about the possibilities that just seem fascinating to me.

For whatever reason though, I keep thinking "Matrix". Those people weren't enslaved by machines. They continually progressed virtual reality until they submitted to it completely...then forgot. I know vr will progress because that's how people want it, but it also gives others a way to replace your perspective...just one hack/bug away. Who are you voting for this election? Whoops VR replaced what you saw so you voted for the other person. Sorry, glitch.

Although, it would be nice to furnish a house with copy and paste. Save me a lot of money. Just hard to physically sit in a virtual chair. Copy and paste a virtual toilet and hope it's over a real one.

VR, as far as it's progression, is a odd one for me. People choose to recreate something one inch at a time for the sake of efficiency of that inch. Ex., I VR my house as beach front property. That's cheap, saved money. No ocean breeze though. New machine...simulate smells and a fan. No vitamin D from sunlight. Plug me into a tanning bed. After good ideas to solutions role, "efficiency" follows afterward. Ever tasted a drink from the new coke machine with 100 flavors? It's just not the same, but now it's more efficient. So people adapt.

I've rarely seen something all good vs trade-offs. People seem so keen on trading off benefits of now vs whatever the cost is later. So as a recourse, focusing on other outcomes gets legally tagged as TBD. Enter any prescription drug commercial.
I'll go against the grain here and say that I used a HP Probook 4530s as my sole development 'Mac' while I was in high school and shipped three iOS apps with it.

Was it time consuming to set it up? Yes.
Did it break after most updates? Yes.

That said, when you're working as a dishwasher, a used $250 HP is much more realistic than a $1300 Macbook.

After second year of university, I bought a 2015 MBP and haven't looked back.
You're incorrect. Load is negotiated during cabling process.

Sure a bad USB-C cable that doesn't negotiate properly may be a danger, but likely the Macbook simply won't charge on such a cable.

I trust Apple knows what they're dealing with (in regards to poor 3rd party cabling) and not end up like a Note7 situation.