skysight-inc/HackerNews huggingface dataset:
Ask HN: I'm writing a design book for programmers, what would you like to see?
Hey all,

I am a former designer, who has moved on to front-end development. I spend a lot of time working with developers who want to know more about design and how designers think. So I am working on an eBook that is focused on design basics for programmers.

I am just curious what types of topics would you all be interested in having covered? I obviously would talk about the basic concepts of design, but I am thinking about a more useful focus on UI and UX and how designers think about users.

Thoughts?

Thanks!
Too bad it's a mirage

I hate to spoil your worldview, but modern C++ is very alive and well in the scientific computing communities. Disney Animation implemented a new renderer using it, and our next movie is currently being rendered using the new renderer, so I highly doubt it's on its way out in the these areas.
Seems a bit difficult to be the anti-Facebook when the very first screen presents a login with Facebook button.
As one of those computer-literate relatives / offspring, I can't help but feel like I'm contributing to the problem by helping them "fix" their windows computers.

So I've stopped doing it.

I've explained politely but firmly that I'll be happy to help them transition to a Linux or Mac desktop because I use those in my daily life and am familiar with them, but I'm not helping them with their Windows 8 PC. I do not use it, don't plan to, and have no interest in it.

Anecdotally, the relative who is the most cautious seems to be the one who causes most of the problems by trying to click on all of the "helpful" messages that pop up. This came to light after they got a new laptop that only one of them had been using exclusively.
@pingburg @filearts You are right, unique account validation and error handling belong to the server. What Satellizer can do is catch an error through the $auth.authenticate().catch() promise and display it to the user. I will definitely update the documention very soon. The README of https://github.com/sahat/hackathon-starter
could fit on a screen when I first posted it on Hacker News earlier this year; it is now 1300+ lines long.
It's not even just users I support, I have difficulties with win8 myself. As an example every time I open up a metro windows, there is a big dialog at the right side saying 'swipe left to start (begin swiping from outside the screen) - I can't get rid of it with my touchpad or keyboard or anything. Could be because the VM doesn't send in these gestures, but heck, how could they just assume that everyone is able to do these kinds of gestures? - even for accessibility reasons this is terrible, an area where MS has been pretty good in the past.
>Too bad they have basically zero corporate presence.
perhaps this is exactly why :)
I prefer UTF-32, but I'm very lonely.

The benefit with UTF-16 is that you can't accidentally pass a string to, say, strlen(). But, yes, people will forget that not all Unicode code points fit in 16 bits, and won't test with the right kind of input to find out that they've done it wrong. So errors can still creep in; but I will continue to argue that those errors are less common because the fact that you're dealing with Unicode (and not ASCII or something else) is more obvious and you're more likely to need library calls (that will do the right thing) to do anything useful.
George Orwell's six rules for Scala programmers
Satellizer is designed to be used without auth libraries such as Passport (Node),
OmniAuth (Ruby). On Python-side all you need is the requests library. It is so by design to avoid relying on third-party libraries. Additionally, if I were to implement it with a server-side auth library there is no choice but to use full page redirects, i.e redirect to Facebook, authorize the app, redirect back to the app.
It's quite possible. I've really only eaten it at buffets and such, where it's often mixed into other fruit. Until I discovered the Japanese melon, I thought I hated them all.

I know that the Japanese put considerably more effort into quality than what I've seen from other markets. I haven't completely ruled out the idea that there's something unique to the Japanese cultivar, though. But every cantaloupe I've ever tasted had a rotten flavor that prevented me from enjoying it. I don't know if others don't mind that flavor or what, but it has prevented me from enjoying any melons available from US markets.

I keep hearing that good ones exist, but I have yet to actually eat one.
A little late to reply...

I should ask a specialist (In Physics, I only have a 50% major.) IIRC it's possible to use any Lie group, but they usually like simple connected groups. In particular, they prefer SU(2) to SO(3) in spite they have the same Lie algebra. (It's actually not an arbitrary preference, to describe spin 1/2 particles like the electron, proton, ... you need to use SU(2). The group SO(3) is useful only with integer spin particles.)
Hi mynameishere; I'd like to offer you a job. I'm sure you will enjoy it. There is a lot of tedious work and absolutely no pay.

I gather that, having clicked through the "whole goddamn thing", continuing despite not enjoying it one bit, your time is completely worthless and you simply delight in pointless, boring, menial tasks. I think we will be a good fit for each other.

Let me know if you're interested.
Makes me wonder - why hasn't anyone made a Linux desktop environments that tries to mimic Windows look and behaviour as much as possible? IP/patent issues maybe?

There would be a huge market for something like that, as this situation shows.
or don't do that
All my relatives use Win7 or Win8 and the Win8 ones are the happiest, love OneDrive, etc. etc. My sister then switched their phones over to Lumia 1020s because of Win8 and bought a Yoga 2 Pro. Her comment: "Wait. So what's all the fuss about? I love how this stuff all just works together and it's pretty much exactly like Win7."

I guess I should just be proud of the genius that is my sister who figured it all out on her own. I think I've answered 2-3 questions about Win Phone and one, my favorite, about their old printer.

Her: "What do we have to do to get it to work?"
Me: "Have you plugged it in yet?"
Her: "Daaaamn. It just worked."
Better link (Ars Technica, English): arstechnica.com/business/2014/08/linux-on-the-desktop-pioneer-munich-now-considering-a-switch-back-to-windows/
"But I did study Sanskrit for some years in high school."

Sheesh. 'round here a really first class high school is one that offers one language other than Spanish.
I wouldn't underestimate the police there. I'm not sure how to go about it legally, but I would definitely go through proper channels if I were to try this.
For those wondering just what makes this such a neat comic series, there was a memorable thread a year ago on it:
[Spoiler warning!]
https://news.ycombinator.com/item?id=6113636

Check it out, the story of figuring out the story is pretty great!

Edit: added afterburner's spoiler warning.
Brooks' (2011) book also predicted pervasive smartwatches. Not exactly great literature, but many predictions.
The horrifying part is that the police leadership is willing to throw the policemen into the breach, overarmed to a degree that just begs for escalation.

It's hard to fault the individual policemen -- when someone starts tossing molotov cocktails, your view of reasonable force is going to be different.
You know, if this takes off -- and I hope it does -- you may be in a good position to help solve some of the client-side JS security issues/concerns, particularly in combination with the upcoming webcrypto standard.

I'm thinking in particular about publishing a registry of library hashes and possibly signatures (specified in your json config), and then validating them before your users install.

In fact, if this becomes popular, I think you may have to do this, otherwise you could well become a hive of malware purveyors impersonating popular apps (or whatever you end up calling them -- btw, I don't think "widget" is a bad idea for what you're doing, or even coming up with a new term).

Looking forward to watching this.
Sometimes I think it looks better. Don't tell me what to do.
Well, it's not like it was far away before.

Old location: http://osm.org/go/0JBO8dB-?m=

New location: http://osm.org/go/0JBKuNE-?m=
Yes I can see your point here. I had never heard of BugMeNot - looks very useful. However, as someone with offical roles in various open science organizations, I do not feel like I can use such options. Also - I want to highlight the sillyness of some groups like AAAS and trying to follow their rules makes that easier.
It also gives you a chance, on subsequent logins, to just login using your FB account. Not that uncommon.
There is a series of tubes joke to be made here.
Thanks a million for the response. I think that's appropriate, but I've found sort of a hybrid solution that I was already working on before satellizer came out, incorporating a fix that looks vaguely like this:

https://github.com/omab/python-social-auth/issues/68

That said, I'm working through piecing that together with satellizer, and I wanted to give you a huge thanks for including the server examples in so many languages, which ought to be of use.
Woz Q&A Video
Tom Hanks’ Typewriter App Is No. 1 in the App Store
YES! A thousand times yes. Please not yet another json file in the root directory. And I say this as someone who is really interested in what you're doing with this.
Apple has zero corporate presence because as far as I can tell, they don't really try. We tried setting up some Apple TVs at my work to use as an AirPlay target during presentations. But Bonjour can't cross subnets (or something similar), so we couldn't do it. And Apple were absolutely uninterested in providing support.
Who is creating and maintaining the protocol with which the members of the federation speak to each other?
The painful thing about this is it's trivial to fix this.
Books, Gadgets, and Freedom
$2.2B bet
We don't sell the data. It's used to generate better results for our users. You can also just download your own data if you prefer and it won't become part of our dataset.
Realizing the cost advantage of fission will change minds pretty quick. Of course there's the catch-22 of being able to do it before their minds are changed. uPower's plan of trying offgrid first may be worth a shot. A little understanding of FUD psychology can help too. Today's nuclear industry flunks on that. Telling people nuclear is safe is a classic mistake. Safety is a feeling, and it's hard to feel safe about things you've never touched and can't even picture. There's virtuous feedback here too -- more reactors around, more people who see them and stop fearing them. A charismatic CEO who can stand on top of a reactor on YouTube can't hurt either.
Check out Linspire (formerly Lindows): https://en.wikipedia.org/wiki/Linspire
I'm sure plenty of scientists have been testing LSD on humans (including themselves) over the past 40 years.

Maybe the headline means "legally" and "in a clinical setting".
>As one of those computer-literate relatives / offspring, I can't help but feel like I'm contributing to the problem by helping them "fix" their windows computers.
So I've stopped doing it.

This happened to me after I switched to mac. Not on purpose, I just stopped knowing how to troubleshoot.

Recently, my parents had to upgrade their old XP computer. They bought a mac. They were worried about learning Windows 8 without support.
That's so strange, because to hear free-marketers and political armchair warriors speak of it, they placed the blame squarely on dumb homebuyers who couldn't afford their house, President Clinton, Barney Frank, and Fannie&Freddie.

All the talk of the Financial Sector, Credit Default Swaps insured by AIG London advised by Blackstone, and 30:1 leveraging of Mortgage Backed Securities deepening the crisis is met with yawns and allegations of being a socialist hippie who hates business.

Nope, it was the poor people who were too stupid and lazy to afford mortgages who were at fault. They were blamed for the 2008 crisis, and they'll be blamed for this bubble too. Oh, and the Communist Chinese too for good, Xenophobic measure.
There has been, like PCLinuxOS. The problem is that it's not just the interface keeping people off GNU/Linux, it's everything else, like software and hardware support.
> Good luck making your RAII class exception safe. It's extremely difficult, to the point that writing a simple class becomes an hours-long exercise in reasoning about exceptions.

In my experience, this is literally backwards. RAII is the only way to make exception-safe classes that aren't a gigantic mess.

> It doesn't seem like C++ solves the right problems, even with the new dialects. Programming languages should be convenient to think in.

No, some progrmaming languages should be convenient to think in. Some need to be uncompromisingly fast. C++ is in the latter set and nothing more convenient to think in is faster.
The Social Media Strategist is Dead, Long Live Digital Marketing
I think this is an unstated (stated?) goal of Kubuntu, and there are some guides floating around to make it look even more like Windows.
xkcd link: http://www.xkcd.com/1190/
Baseball Bat With an Axe Handle Brings More Power, Fewer Injuries
I assume demand in major cities doesn't really change that much so that the schedule is announced and updated very rarely (similar to public transportation). Yes, you would occasionally sacrifice some availability but I think people prefer that trade-off.
> "Modern C++" doesn't exist outside of blog posts, books, and tutorials.

That you aren't used to doing greenfield development doesn't mean others are likewise impaired.
Ask HN: Percentage of gross income instead of normal equity share for F&F round?
I am trying to bootstrap an online business (been working on this some months). I would prefer not to take any kind of investment at all. I am even thinking of moving to the least expensive place I can in order to continue working on it.

What I was initially thinking of doing was borrowing a little bit of money from my family. It would be borrowing a few hundred here or there to get by month-to-month. The problem is that if I borrow even a few hundred in that context and it allows me to succeed, it might not be entirely fair if I don't somehow distribute the rewards.

So then I started thinking about making a very simple spreadsheet for equity share. There are some serious problems here for me though. First one is, this is supposed to be a bootstrapped effort, not a huge venture-backed risk that is aiming to sell for millions of dollars. I don't know exactly what the equity would mean or when it would be distributed back to family who helped me. I also think that whole valuation idea is questionable actually.

So my idea is this: I will make a spreadsheet distributing some percentage of all money coming in. Maybe 10%. Anyone who invests gets their portion of that gross fee pie sent to them at least every month.

So if I have 300 people sign up and their monthly fees total $5000, any family who helped me would be splitting $250 or $500 each month with percentages of that dependent upon how much they gave me. They would not however have the right to direct the actions of my business in any way.

If I can get by without needing more money, then I don't take anymore. If I have to then I do, and that dilutes the original 5% or 10% of gross fees/income. (These rules are explained ahead of time of course to anyone who helps me).

The advantage of this: I know exactly how much its going to cost me, people know how much they can gain and it reduces their risk. I retain control.

Any comments or advice about these ideas? Thanks so much.
Traditionally, "ticks" are small, and "tocks" are big. See https://en.wikipedia.org/wiki/Intel_Tick-Tock .
The stress is not the stress of poverty but of deciding whether you want to spend $X dollars on a non-essential product (the buy/not-buy decision).

As for groceries usually sales are advertised, in force for pre-defined period of time and, as you say, discounted from the price that is in force most of the time so that if you are surprised by a price it is in your favor.
The copy could use a lot of help in general:
http://hauteday.com/how/

- The item that receives the most “hearts” from the community wins the contest and the person who originally submitted the items get’s it bought and paid for by us, including shipping!

- Haute Day is open to anyone, both to submit an item and also to vote, or heart, as many products as you’d like each and every day. [to vote as many products doesn't work; it's also very ambiguous. just rephrase.]
Yes - I really like the Winnower
how many over-bidders does it take to start distorting home prices? obviously this varies by region, but curious if there are any general ratios, i.e., 1 over-bidder per 20 home listings, that help gauge the effect on home prices when new money floods in from, say, a company going public (e.g., facebook, google) or from foreign speculators.
Minor editing nitpicks:

GPU, not G.P.U.
OpenCV, not Open CV

c'mon NYT, act like you know.
Pimpmane – 'She Just Wanna' – VideoCityTV.com
I'm sure I saw a HN link a month or two ago touting the great success of Munich's Linux move. Can anybody find it?
This had been one of the nice upsides of swapping to *nix. I can now claim ignorance of Windows problems.
He'll be getting paid by MS to position himself in supporting windows. Even in medium organisations you'll be shocked by the freebies and goodies you'll get by supporting their infrastructure.
I'd like to see them roll out Windows 8.1 and get fewer complaints.
Would be interested in the math you did around this. That said, there are a few interesting things that could be added on to the service to make it more profitable--so it's not necessarily just the economics of parking.
And you really cannot tell if the people there are less happy than people live in the US.

People now have much higher living condition the people in the past (say 18 century), but you really can't tell if you are happier than them.
I find it amazing that people seem to believe it should be possible to understand a large code base by looking at single lines in isolation.
Which lends no credence to Dragos' story at all. Ultrasonic networking isn't a new idea, and malware in firmware has been around as long as rewritable firmware.

The main issue always was Dragos' inability to isolate any suspicious artifacts besides "I can't burn CDs!".

Basically his story required there to not only be firmware malware that could infect a wide variety of devices, but for said malware to somehow exist in a part of the firmware/BIOS chip which couldn't be dumped for examination. Even if such a thing existed he still could have tapped a logic analyzer onto a USB cable, plugged in some fresh hardware, and captured what the malware did.
Both auto& and auto&& produce const T& for a const vector<T>, and T& for a modifiable vector<T>. The difference between them is subtle: auto&& handles Humanity's Eternal Nemesis, vector<bool>.
The problem really is that for those of us who grew up with windows, we encountered all the oddities and breakages gradually over time. Then when we switch to linux, we encounter all the new oddities all at once, and have a preconceived idea of how an operating system should work and even look like.
ImageNet Large Scale Visual Recognition Competition
At the bottom of HN is a search box you could use to find old articles. I searched for "Munich" and found the article as the top post.

https://news.ycombinator.com/item?id=7720219
Improvements I Have Made to My Writing and Work
Linux Mint with Cinnamon?

I think its good enough since I've managed to convert at least 42 user from Windows to that. Its been almost 2years and they still stick with that.
This is another reason to standardize police forces. Allowing counties to determine whether their units have to be monitored by dash cams/personal cams is a mistake. We need a more unified police.
Hi, we are reading and thank you for the feedback. We know there is a lot of work to be done on the first time user experience. We will fix!
I use Heroku for my rails app. If the site is really small, then heroku is 100% free.
wow, must have missed this release, thanks. At first glance i much prefer this stack over the mozilla one. For example gulp is far better than grunt.
Satellizer gives you an illusion that you're doing an implicit grant flow by opening a popup and then magically you are signed-in. But authorization process is handled on the server: https://github.com/sahat/satellizer/blob/master/examples/ser...

I just implemented a GitHub sign-in and it took me only 8 minutes because on the server it was mostly copy-&-paste of the Facebook sign-in and on the client it's just:

$authProvider.oauth2({
name: 'github',
clientId: 'xxxxxx',
url: '/auth/github',
authorizationEndpoint: 'https://github.com/login/oauth/authorize',
redirectUri: window.location.origin
});

Thank you. I like React too so perhaps someone could implement something like Satellizer that integrates with React.
Thank you! We agree and we are going to improve it. Cheers.
https://news.ycombinator.com/item?id=7720219

https://news.ycombinator.com/item?id=8002194

http://hn.algolia.com/#!/story/forever/prefix/0/munich
Ask HN: Load Balance Across Multiple Appengine Project Instances
Has anyone heard of any methods for load balancing across multiple Google App Engine projects (not load balancing a single project with autoscaling)?

Basically, there is a free tier for Google App Engine (GAE). GAE allows for 25 projects each with their own limits on this tier. So instead of moving to the paid tier, you would deploy multiple projects with all the same code to take advantage of this.

Any ideas of how to load balance/share traffic across projects?
That works alright up until you need to integrate with third party libraries like JSF, Seam, Hibernate, Jaxb, Spring, EL, plenty of other stuff that requires a "javabean"

Sure, you can beat the big ones into working, and there is generally no shortage of libraries in Java. But at some point you are just wasting resource to work around other people code. Java has properties and some libraries use them.

Discussing if you should use them at all is offtopic, the real problem is that java has properties but instead of being a language/compiler supported feature, it is only defined as a "convention" with some half-assed support classes. Seeing how popular properties are, that either needs fixing or deprecation (starting with all the Oracle provided framework that use them)
It's hard for general users to use Linux desktop.

"Free" also can has a big cost.
>Last year, the U.S. issued 6,895 visas to Chinese nationals under the EB-5 program, which allows foreigners to live in America if they invest a minimum of $500,000. South Koreans, the next largest group, got only 364 such visas. Canada this year closed down a similar program that had been swamped by Chinese demand.

The fact that Canada closed down an immigration program where each individual would bring in $500k to the economy is just depressing. So much immigration law is just pure, unabashed racism.
I'll take "fix things on my own machine" above "try and figure out if today's random shareware is safe to download from this site". I googled just as much in my windows days as I do now in my linux days, but it was for different things.

"...I would never, ever want to have to walk (elderly neighbor who has asked me for tech support help in the past) through this".

Having worked in support, there's nothing magical about Windows that makes tech naifs work well with it. Windows still needs experienced people to fix it for you.

Out of curiosity, what was the software you had to chmod for? Was it the kind of software that a tech naif would be interested in?
Thanks. We changed to that from https://translate.google.com/translate?sl=auto&tl=en&js=y&pr....