skysight-inc/HackerNews huggingface dataset:
I live in Sweden and have not visited an ATM for months. Even public toilets have a card reader attached.

I would like to have a way to easily display the balance of the card though, or just the last few expenses, preferably on the card it self.
You might wanna look at Folland's Quantum Field Theory: A Tourist Guide for Mathematicians[1] as an example.
[1]http://bookstore.ams.org/surv-149
Can somebody provide a real example of where you'd need to use "linked lists, binary trees, min/max heaps, depth/breadth first search, tries, recursion, hash tables, etc" in your typical everyday front end angular/react/ember project?
So, less about the advancement of colored people, and more about being lock-step with the Democratic party (which in this case means the teachers' union).
I would understand the excitement for this if there where some fairly decentralized payment protocol so any single third party would not have the final say in wether or not you could buy/sell something and/or those rights where protected by law, but neither of those are true.
Ask HN: How to integrate my software with hotel PMS?
I am working on this hotel software and need to get-
A- When a reservation is made, B- Canceled C- Over.
How can I integrate with hotel PMS systems? Is there a standard way or you just need to work with each of them?
Be sure to review these: http://code.tutsplus.com/tutorials/the-30-css-selectors-you-.... When I interview candidates, I make sure they know more than just class and element selectors.
That's not really true. The average fee in Sweden is closer to 1% than 3%, and handling cash is really expensive. Realistically a cashless society should save money.
In other words, the courts should be able to force websites to host content?
I wonder why he can't hire a "Sub CEO" whose job it is to handle 90% of the shit.

Mission statement: "Act like the CEO. But you are allowed to pass the hardest 10% of your tasks to Larry. 10%. Not more.".
Having gone through this situation before, my biggest mistake while performing this type of interview was not actually having candidates build something with the team. Frontend development is usually very visual and UX-oriented, so it's important to see what they can build and their attention to that type of detail. There's plenty of knowledge questions that can filter candidates down by experience, but until you get them working in your setting, you won't be able to see whether they can build something you actually want and get along with others in a team-oriented way. My suggestion is to give them a small project they can build during an interview with you/your team.
Ask HN: Ever launched a failed desktop app?
Question inspired by recent Ask HN thread:

Ask HN: Have you launched a failed web business?

https://news.ycombinator.com/item?id=12280881
Meh. If you don't like a McMansion, don't live in one. It sounds like petty jealousy.
Why are ties relatively common in Olympic swimming?
There are lots of studies showing racial disparities at all levels of the criminal justice process. I don't know if there are any of specificaly DUI's or even more specifically DUI bail. I would assume it is consistent, but if you have any studies feel free to share.

I think the scenario of a DUI being talked about was interesting, because in our stereotypes wealthy white men DUI plenty too. I think the statistics show that DUI is one of the few crimes that there is relatively little racial disparity in arrests, probably because it's a lot less subjective. I do know some white people who have been arrested for DUI, all of them were let out on affordable bail prior to trial, none of them served any prison time.
I agree that there are risks with a cashless society (especially from a privacy perspective), but it's not incredibly hard to understand the positive effects of cash-free (as you seem to suggest).

- Vendors not needing to carry cash, significantly decreasing (or even eliminating) security-related risks (e.g. grocery stores/bus drivers getting robbed)

- Removing PoS that affect quality of service for the actual service provided (e.g. someone paying the bus fare and holding up the ride)

- Reducing the possibility for criminals to launder dirty money (the flipside of the privacy aspect).
Wow, that's interesting, I'm a big fan of card payments because tap to pay is super convenient (most places in Prague have card readers) but what annoys me is the Visa / MasterCard duopoly. Because this means that a fraction of every payment goes to an American company - it's not a competetive market so they have a sizeable profit margin. It's cool that you have a local alternative, I wish we had that too or at least more than 2 competitors to push profits down, so that card payments don't leak money out of the economy.
Perhaps the fault is with the English language itself that the article and this post's title both imply that humans became bipedal in order to throw. I use the word 'fault' because of course that is not how evolution works.
Before Babel, I often used to ask about code organization/modularization, mostly to filter out candidates who haven't been on a big project and have only copied and pasted jQuery snippets together; today I'd ask if you use Babel modules and why/why not.
As other people have said, closures will surely come out.
A favorite of mine is array functions: map, forEach, filter.
Also, promises, callbacks, workers.
Finally, xhr throttling.
I clearly know nothing about music, but why does it even have to be called 'Jazz'? Given those market numbers cited, it seems like it would be a very bad brand to be associated with your music.

Having a son who's 12, and having recently had a bunch of pre-teens running around my house all going through the timeless ritual of identity crafting, I have gotten to listen to their music, watch their media, and hear their thoughts. When I talk with them about music, it doesn't surprise me that they view the music of my day (80s / 90s) with as much boredom as I had viewed big band music in my day. To them, rock and jazz are Baroque. Guitars and Drums? I might as well play them a harpsichord.

On the other hand, I know several highly skilled, expert musical technicians in their 20s and 30s. They have spent the majority of their lives training to master the practice and theory of music. They know so much about their instruments and their technique, it frankly astounds me. In comparison to dedicated musicians of my day, they seem like masters. Yet, for some reason, they spend their time playing Jazz derivatives and covers or as studio musicians. Interestingly, they're all playing Jazz - which to me is so puzzling. It's akin to being a master visual artist and being absorbed in re-creating Pollack or Rothko or Kadinsky.

Jazz had a moment, and it was a beautiful moment. It can be admired and relished as such, and the music can help transport one to that moment in time. But, does Jazz even make any sense in the modern world? I love listening to some of it - Coltrane and Davis, of course. But, if I went to a music venue today, and the band was playing Jazz, I'd be bored out of my mind.
A connection timeout is a soft bounce.

https://tools.ietf.org/html/rfc5321#section-4.5.4.1

The sender MUST delay retrying a particular destination after one
attempt has failed. In general, the retry interval SHOULD be at
least 30 minutes; however, more sophisticated and variable strategies
will be beneficial when the SMTP client can determine the reason for
non-delivery.

Retries continue until the message is transmitted or the sender gives
up; the give-up time generally needs to be at least 4-5 days. It MAY
be appropriate to set a shorter maximum number of retries for non-
delivery notifications and equivalent error messages than for
standard messages. The parameters to the retry algorithm MUST be
configurable.
I don't understand how that's possible. For example, in a recent project I needed to implement a path-finding algorithm to draw connections routed around arbitrarily-placed boxes. More recently, efficiently snap a line to the nearest edge from an in-memory set of (again, arbitrarily placed and changing) objects as the mouse moves. I'm having to use and think about some item from that list on a daily basis. Where's the disconnect here - are we talking about different kinds of front-end work?
That area is just the northern tip of a larger "desert" area in Washington State. There's plenty of "desert" in that area. It's just mostly on the other side of the border.

It looks more like Silicon Valley in dry season than a real desert.
You haven't really said why.
It's called alphabet ;)
Isn't this what a COO does?
The kind of genius who builds a huge leveraged position in something and is then legally compelled to sell over 95% of it within one month?

I wonder what that sort of fire sale would do to the value of your holdings?
This critique is composed entirely of exterior shots. Maybe the McMansion layout leads to a better interior configuration for a given square footage?
His name is Sundar.
Couldn't agree with this more. When I originally read the OP's question, I assumed he was asking how to prepare as a candidate, and you gave a great answer for how to prepare as an interviewer -- the question is ambiguous and even on re-reading I'm not sure which he meant.

To add to your answer, having them build a clone of a simple game in 1-3 hours, especially when they have to balance a bare bones look with more features versus a slicker look with fewer features, and deciding which to cut and what's important to them and how they think about it -- all that can be revealing.
I don't know if zzzmarcus means they're useful, but it sadly shouldn't be surprising that OP might be asked that anyway.
> In my experience, closures are a topic that always comes up.

Opinions will differ, but IMHO closure is a great concept to divide those who know JS at a conceptual level (or at least have crammed for the interview) from those who don't.
> It is not always trivial to move large legacy projects to secure connections

Actually, it is:

https://www.w3.org/TR/upgrade-insecure-requests/
* Require that at least 50 percent of the members of each charter school governing board be representatives from among parents at the school (elected by parents) and, in the case of high schools, students (elected by students);

kek
Lesser of two evils. Black communities in the U.S. are in a tough situation: one party is openly hostile and racist, and the other props up teachers' unions and failing school districts (not to mention "think of the children" tough-on-crime policies) that do tremendous real damage too.

In D.C.--a city where student performance continues to be abysmal despite nearly double the per-capita funding of surrounding "rich" counties--some of the most well-regarded schools in heavily-minority neighborhoods are charters. Indeed, D.C. charters educate about 45% of the students and are outperforming the district schools, despite having poorer students and less funding: http://www.usnews.com/opinion/knowledge-bank/2015/10/05/wash... https://www.washingtonpost.com/local/education/more-dc-stude...

Educating kids in poor minority neighborhoods is hard enough. There is no reason to hamstring the process--indeed, to make it intractable--by running schools like General Motors circa 1960.
https://news.ycombinator.com/item?id=12282655
You make interesting points, but I want to correct some false assumptions that may discourage younger, less experienced people browsing this thread for advice.

A large part of my job is understanding the culture of companies and the software engineers best suited to join them; in doing that, one metric is the age of the individuals, because it does play a role in the hiring decision. It's unfair, but age does become a factor at a certain point, just around the 50-55 point as a software engineer at a decent amount (but definitely not all) companies. But your statement "nobody will hire you after 40" is false - software engineers in their 40's will be welcomed at 90%+ companies. Perhaps you're in San Francisco and experiencing more ageist attitudes inside the latest young bro-filled startup bubble, but this represents a small minority.

Second, literally every for-profit job involves making money for your bosses; this is how capitalism works. If you want to make more money tired to your own contributions, then you either climb the ladder - through merit - to become a boss or run a successful business. These are the facts of life that one should know by the age of 40.
I don't think the length matters because you do the same lane multiple times. So the error should always be a consistent fraction of the distance.
Why not suck it up while looking for a new job?
I interpreted this as design critique. The author doesn't seem to have anything against large houses and uses lots of them as counter-examples for good architectural design.
I'm ignorant, what's the benefit of it?
How long at the job did it take you to realize that it caused a constant low level stress? How long did you end up staying there before leaving? Did you reveal the real reason for leaving? I believe I am going through something similar right now, I have an especially chatty coworker who I sit beside that never shuts up and seems to crave solving problems as a pair much to my productivities detriment. I feel like my time is always being wasted and have the added bonus of them being above me so telling them to buzz off feels very uncomfortable.
Why usage of tools, as opposed to carrying resources ?
I should have been more explicit: I felt he glossed over that limitation way too quickly, because it puts a severe limit on the "damage" the minority can cause.
Most frontend jobs are gluing React, Ember, or Angular to the backend and sometimes making the CSS look right.
This raises an interesting question. Given that there's some emulation involved either way, is there a performance reason to favor the linux on bsd over the Windows on bsd approach?
The final result is really nice. The user experience is smooth, and that's what matters most.

I'm not convinced that using canvas would have saved me that much effort. You just don't know what's going to bite you until you start building with these things.

One of the nice things with svg is that I can work with it everywhere. In the browser, on the backend, I can even manually manipulate it in my text editor.

Fortunately I've opted to constrain myself to chrome. If I had to support all the browsers that would have been the thing that ate up all the time (irrespective of whether it was canvas or svg).

Anyway. Sounds like you've also experienced the complexities enough to understand that once you push things a bit harder than usual you need to do extra work to make things play nice :)

At the end of the day, I'm happy with the result. Besides, for all the trouble it's nowhere near as complex as other bits of our system!
For millennial voters, the Clinton vs. Trump choice ‘feels like a joke’
Brian chesky -airbnb ceo- sold cereal to keep company afloat
Feel free to share any points about your story. Edit: I mean, you do not have to just restrict yourself to only answering questions like those by the other (web business) question poster. Could share anything of interest.
CS Syd – Safer Paths
Analyzing real-world performance doesn't care if the source is open or proprietary, so you're kind of missing the point of this whole thread.
Partly related: I just asked a similar question for desktop apps here:

Ask HN: Ever launched a failed desktop app?
https://news.ycombinator.com/item?id=12286883
Of course, there is one way to be anonymous in a cashless society: purchase prepaid debit cards. One would think prepaid debit cards can be linked to the purchase, but no (at least where's I work). We had a problem a few months ago where a guy bought over $5000 with a fradulant credit card. However, because the prepaids can't be linked to the purchase, the cards can't be disabled; they are treated the same as cash.

Now, if you want to be paranoid, what you could do is purchase bitcoin, toss them through a tumbler, then purchase a prepaid debit card to use.

A lot of extra work compared to just using cash, but if societies want to go cashless, there are ways to be anonymous. Whether it should be that hard is up for debate.
Margins matter. Somebody who makes $100k maybe spends $60k/year and doesn't care that they pay $600 for transaction fees.

Somebody who makes $30k spends $28k/year and $280 in transaction fees has a huge effect on net savings.
> the idea that I might need psychoactives to handle the work environment

It occurs to me that many people, perhaps even a majority, perceive a need for coffee in order to have the energy and focus they need.

My assertion is that cannabis sometimes has a similarly useful effect, and that one distinct example is in how it affects teamwork.
Not sure why this is being downvoted - maybe people read that as "Cloudflare" (which supports http2) instead of "Cloudfront" (which has yet to support http2).
Thanks! I will definitely look for the nearest culture center.
> Where's the disconnect here - are we talking about different kinds of front-end work?

Yeah I would assume so. Of course if know the job requires such knowledge, you should interview for it. But I'm thinking of more average front-end work, where you'd be building forms or dashboards or ordinary websites.

It sounds like you're building a complex application that just happens to be hosted in a browser. Although even then, I'd argue that while your knowledge of when to apply those algorithms is important, you still shouldn't be writing them yourself. You should be finding a well-vetted library and taking the function from there.
I'm sure it's a component for some people, but really those houses do suck. If you have a million dollars to burn on a house, just hire an architect.

These houses are often built en masse to hit marketable squarefootage numbers and get noticed in listings, for the cheapest possible cost of construction.
The article states how the NAACP believes private charter schools hurt blacks and minorities specifically.
Two brothers trying to corner the market on a commodity only to have it blow up in their face? Sounds like it must have inspired the movie Trading Places.
Sure, I'll give a few examples.

A guy from BP told me in 2013 that they forked iPython, replaced all iPython references with Palantir and tried to sell it to them for $500K p.a.

For me; back in the day (2010) they were less secretive about their technology which was essentially an ontological reasoner. This was pre the Big Data hype boom - and AFAIK Palantir has never been about Big Data. Ontological reasoners have problems that prevent them from scaling or generalizing so they generally fail. Due to a long long history of failing ontological systems have a very bad name. But they look good for guided demos and has a ton of academic backing so it's easy to sell - as long as you call it something else - which is what they did. So if you want to use ontologies a better open source alternative software is Protege. But for the problems Palantir targets I'd recommend using standard machine learning technology where all the good stuff is open sourced.

As an aside, Peter Thiel also helped found Quid. A start-up that ripped off the Gephi layout engine and charges people $20K p.a. a seat. They've since rebuilt it but like Palantir it's still not solving people's problem and they've evolved into a consulting firm.
I usually supplement the interview with a take home project, because front end web dev (emphasis on web) is about building interfaces and managing state really well and that is hard to test in an hour!

Some of the more domain specific stuff is about building a scalable components library that your team can use, testing your code, building assets in the most elegant way possible (gulp, webpack, grunt). So make sure you're very honest with your resume!! (dishonesty is bad).

For the case of front end web, here is what I would ask from the top of my head (thinking aloud):

- A good interview will have some pair programming. I usually like to give a very simple mock. These mocks will have a simple task where I will ask you to implement me a two column layout, or a popup window. Therefore I'd like to see that you have strong fundamentals of CSS, HTML, and Basic DOM manipulation using JavaScript. Nice interviewers will allow the use of google!

- You should understand how a network request and response works. I'll probably ask you to teach me what an AJAX request is to start. I hope to have a good conversation because I forget things often and like to learn from others.

- I will probably ask you what are some ways to implement components that won't produce side effects in a large codebase.

- I will probably ask you questions about how you plan to work with Design and other product stakeholders to ensure that you're able to iterate quickly on the front end. This is because requirements and design changes frequently (more common with companies that are focused on product versus growth/retention).

- I will ask you how you approach testing, and how do you ensure your interface will work cross browser, cross device.

- If you're really a generalist and you have no front end experience but a lot of other programming experience, I'll probably ask you to serialize a network response with JSON, where you'll create a map of ids and their resources (for fast access!) and walk through an object tree to do this. We can probably pseudo code this if you've never touched JavaScript and know nothing about its data structures (this jon snow case is rare, like jon snow).

- If you're really junior I'll ask you a generic algorithm question because I'm probably going to train you on the job anyways. No one should be punishing junior people for being junior with stupidly difficult domain specific questions. Don't work somewhere where they punish you for being junior because they won't realize how much potential you have (you have a lot).

Last note: Good luck and have fun, remember to be yourself and try your best.
Er, can you give some reason why you think this?

The author seemed to go out of his way to ground all of his critique in well-cited design principles. It's depressingly indicative of modern internet discourse that the first recourse is a lazy ad hom.
Even setting aside that the link is criticism and not complaint: are you familiar with negative externalities?
Well, yes, the kind of genius that would be apparently blindsided by financial regulation while he goes about causing massive disruptions in a crucial market.

Really, the whole story sounds like some guys from Texas got rich and started playing with finance without having lost the "hide everything under the mattress" mentality.
Your first claim is not true. What makes bugs more likely to be caught is having lots of eyes on the source. If you have a popular OSS project there's probably a bunch of people looking at it. But making something OSS does not guarantee that anyone will look at it. Meanwhile, proprietary software will still be examined by everyone who's paid to work on it. So really, the value of OSS in catching bugs is related to how interesting/popular the software is. Boring software is rather unlikely to catch many bugs by being OSS.