skysight-inc/HackerNews huggingface dataset:
The deaths in Oakland are an illustration of why architects are licensed. They're licensed because legal construction requires building permits. And build permits exist so that fire inspections are less necessary. And fire inspections exist because people construct stupid things that lead to the deaths of other people.

Mies and Wright both had licenses to practice architecture. It's what allowed them to practice in the mid 20th century as license laws became common. License laws became common as building code become common. Building codes became common after the Triangle Shirtwaiste fire.

There are problematic professional licensure categories. Barbers aren't one of them. The practice is licensed because hygienic practices are necessary to reduce the spread of disease. It's why I probably won't get headlice or a bloodborne illness from a shave and a haircut.
To this day, i thank my dad who told me to go study in Canada rather in US since he knew how crazy immigration laws in states are. Graduating from a Canadian uni gives me options to work for any company/start up i like without having visa restrictions.
Sponsor visa's?
Exactly. The only thing political about this is that we're having this discussion. It's frightening to me that we would censor this brilliant piece out of the nonsense politicization of or thoughts now that facts (people dying in this case) are apparently no longer relevant. Glad Orwell didn't live to see this day.
First, I do weekly 1x1s with my directs and give feedback and regularly do career planning in them. You can't wait to have these types of conversations only once or twice a year.

Performance Reviews were definitely not a waste of time and a very important carrot that motivated the company. they were great when things were going well and my startup was growing, but when we started to have churn and laid off half of the company they were less important. They were even less important when we had another round of layoffs after that. I would send very mixed signals at an annual review if I couldn't give anyone a raise and couldn't offer them a way up the corporate ladder, even for top performers. E.g., "You're doing awesome work but all we can do is let you keep your job." Furthermore, equity grants would have been meaningless. I had multiple employees say tell me they didn't think the stock was worth anything, since the odds of an exit had dwindled. Growth had stalled, so they cared purely about salary and career path. I spent a lot of 1x1s talking about what they wanted to do after working for me and helped them plan it out and make progress towards a new goal.
You're exaggerating. Microsoft and Google literally own your email, while only recruiters check their LinkedIn messages, most of them being spam.
I'm going to try this out on my own because what I read in the comments makes me think I will find use for it, but if I had to be honest, I did so because of the HN comments. The OP was clearly written and nicely formatted, but as someone with moderate CLI/Bash experience (I do almost all of my data processing via Bash programs and pipes), I didn't really understand what `expect` does. Maybe I needed a simpler example, because I don't uss most of the other parts that are in the example, such as `interact` and `send`. As a Pythonist/Rubyist, I have the added baggage of associating `expect` with unit/line testing.

Maybe expect is not for me, but given the title, I would've loved to see maybe a couple paragraphs of why `expect` is underappreciated...that is, what do typical Unix programmers use instead, because they're ignorant of expect. Much easier for me to understand the perspective of ignorance :)
CentOS 6.7 and FireFox 45.5.0 here. I do get to the terminal screen, but just the header, footer and a large white block in between. No terminal, no prompt, no cursor. Tried typing some random commands, but no joy.

In the footer, shows:

Status
Connected

Time remaining
53 minutes, 52 seconds

etc.
> What do you mean by "LuaJIT is false"?

Meant to write "LuaJIT is fast", but was probably thinking about something else and the fingers went haywire, sorry about that.

> Thanks heaps for that link though, reading through that thread has been really interesting.

Pall has written in other venues (mostly LuaJIT mailing lists but I think I remember comments of his on reddit or HN, though I might be mistaken), comments of his are always interesting reads.
In The Netherlands plastic bags can no longer be given away for free since the beginning of this year (some messy foodstuffs are excepted; e.g., the fishmonger). Shops are free to decide what to charge (mostly €0,10 to €0,25) but the overall effect is that people are (again) getting in the habit of bringing their own reusable bags along.
> PS: Having only dabbled in Erlang, to me the real problem exposed by those examples is the lack of a combined lambda/case,

All lambda in Erlang is case:

do_whatever(Keys, SomeParameter) ->
Lookups = lists:map(fun external_lookup/1, Keys),
lists:foreach(fun
({ok, V}) -> do_side_effecty_thing(V, SomeParameter);
({error, R}) -> report_some_failure(R)
end, Lookups).
I've never heard the word 'audiophools' before--I like it :)

It's never occurred to me that HF trading would have special routers, but I suppose that makes sense. This sounds like an excellent business model--or, better yet, sell custom routers with special 'audio quality algorithms' built in. I'm sure there's some manufacturer in China that would be willing to white-label a box with a few QOS setting tweaks, which can then be sold at an excellent markup. I will leave this as an exercise for someone with a better straight face than I.
Satya Nadella LinkedIn profile is almost empty and showing only one position: Microsoft CEO starting 2014.

Any ideas?
I don't mean he's going to go 'woe is me I have too many PRs to look over'. I mean that inevitably, his goals and coding aesthetic preferences are going to conflict with the community: 'I don't want to add that feature' or 'I think this is too complex and just caters to API users' or 'I dislike this architecture'. Right now, his version is king because he is the only one who can make meaningful changes to it and it is very difficult for anyone to patch his binaries, dooming any fork; allow access to the source code, and suddenly he's merely an ordinary coder who happens to be very experienced with the codebase. Think eGCC and GCC.
I just migrated a project[1] to Jest. Now I totally think that Jest is AWESOME.

Before I was mangling with Grunt and PhantomJS, but due to PhantomJS version being back ages I couldn't really test ES6 so I had to do a hybrid and running mocha in an actual browser, and the rest of the dev stack in grunt. Now I am able to do it all automatically. Not only that, but jest includes a browser by default which supports ES6 and an assertion library, so just with 'jest' I am doing the same that I did before with mocha, chai and PhantomJS (+ the pain of installing PhantomJS separately).

I am not so much into React, but I just fell in love with Jest. Testing will be something totally different from now on, thank you Facebook.

[1] http://github.com/franciscop/superdom.js

PS, it was a bit more difficult to integrate Jest into Grunt and I get it without the colors, but I'm sure I'll find a solution soon-ish.
The question is how it got to this point in the first place. I think it says a lot about the organization and how it thinks of its employees.
This looks like a really good replacement for Skype, which we currently use to manage communication between remote working team members.
lol what a joke, I'm never going to apply to Amazon if this is the interview experience. If this meant that I could avoid the onsite coding exercise, then I might be okay with it, but my guess is that I'd still have to whiteboard onsite, so what's the point.
I fit the exact combination you were excluding.
[lives in the US with a work VISA| does not have an American passport | can NOT afford to not care about money]

I'd much rather apply to the plenty other companies that has opportunities. Seriously, IMO, this country has so much opportunities for the person that is working hard and willing to try.

Work is a place we spend the majority of our living life in the most active age of our life. It has to be at the least "NOT hell". Don't you think?
I'm not going to rent a $500 server just to handle the HN traffic spike, sorry. Capacity will be expanded over time, but only after the service pays for itself (either through ads or paid features).
> I thought we were beyond this now

karma. people assign a lot of value to their fake internet points and posting\reposting popular things is great way to get them
You could just run the test software from inside a VM - with all those helpful 'written materials' on your real desktop.
I find unsupervised learning the most interesting when the system finds a pattern that humans can't even comprehend - being able to feel there is some sort of distinction, but being unsure what it is.
Holy cow.. I've got an Amazon SRE headhunter sitting in my inbox right now. I am sorely tempted to decline and send a link to this article as reason why.
Which is a really good, actively maintained library. Shameless plug for the game engine I wrote using it: https://github.com/JoelOtter/termloop
I didn't know what latch is, so I googled it and found a nice explanation:

https://oracle2amar.wordpress.com/2010/07/09/what-are-latche...

"A latch is a type of a lock that can be very quickly acquired and freed."

That brings me a couple more questions:

1. May I infer then that the only benefit from partitioning the table (fully located on the same disk) that can not be achieved by indexes is that queries will wait less time for this kind of lock to be released?

2. May I assume while a table is only being read and not changed, there's no performance gain from partitioning a table (fully located on the same disk) that can not be achieved by indexes?
terminal.com all over again?

Great idea, closed in 6 months.
Notification: appreciated.

LinkedIn account: closed.
Video games are more addictive than ever
Thanks! Please see this list of use-cases - there is an entire section for education: https://community.estimote.com/hc/en-us/articles/207295257-A...
Not necessarily, because that classroom proctor is not asking to install spyware on my personal laptop.

I can understand why ProctorU does what it does, but that process puts a significant burden on the test taker, one which is entirely different than taking a proctored exam in a classroom.
Ita not surreal. The word they were looking for is 'Kafkaesque'
The Peter Thiel Pedigree
> There are trade-offs between the two, but I definitely belong to the second school: we simply add an imperative subset to our functional language. This means we can exploit any efficiency trick an imperative program can do, including low-level stuff. The seasoned FP programmer will then proceed to encapsulate the efficiency trick in a abstract module such that the rest of the program doesn't have to worry about it. Of course, the price to pay for this is that you are losing purity. I think this is a fair trade-off but others disagree.

I think the trade-off is unnecessary. If your language can embed a convenient method for analyzing the imperative state in the way it is typically used (F* is a good example), you can get a similar result by lifting your internally stateful but externally pure code into truly pure functions, even if it wants to do something more complicated than simpler state monads can do conveniently. The compiler can then understand the language's state construction and write the imperative code directly when generating machine code, with little more infrastructure than OCaml needs to allow you to do so anywhere.

This way you get to keep purity without requiring you to lose performance or jump through hoops to keep your pure code downstream of your impure code.
Expect is a last ditch tool that becomes less and less necessary as automation libraries and remote APIs become more and more common. The examples given are cute but hardly representative of what expect is really for.

The only times I've needed to use expect was to drive weird non-scriptable telnet-based remote systems and to automate unpackaging of intentionally-broken vendor-supplied self-expanding software archives that require some level of interaction.

The point being if you want to create shortcuts to jump to specific locations in a man page or drive outdated appliances or open user-hostile zips, expect is the tool for you!
I've seen a bunch of performance assessment systems, most of them being pretty bad.

The worst ones tend to boil down to: "As your manager, here is my subjective view of your performance over the last N months." which essentially rewards high visibility and self promotion rather than actual performance.

Second worst is: "As your manager, here is my subjective view of your performance plus 360 input from peers" which rewards your ability to join cliques and alliances.

Sadly in almost all jobs I've ever had, it was one of the above.

Sometimes the company would throw in a "self assessment," purpose unknown to me, which is likely not even read.

The ideal (in my view) performance assessment would be: "Here are the numeric metrics we agreed N months ago to measure your performance by. The data (collected neutrally and transparently throughout those months) show you met metric 1, 2, and 4, exceeded 3 and 5. Based on the transparent and mutually agreed upon formula, your raise and bonus this year are X and Y". Measurable and objective: Clear goal posts for you to aim for throughout the year. I've never seen this anywhere. I understand some sales roles get something like this.

VCs and shareholders don't come to shareholder meetings and say things like "CEO, I subjectively feel in my heart you are not doing a good job!" No, they look at the company's measurable, numeric results and judge by that. Why should it be any different with employees?

Obviously the hard part is coming up with those metrics so you're rewarding the right behavior and performance, but I'd much rather see companies put effort into coming up with those metrics rather than crafting the world's best self-assessment question or wasting everyone's time on 360s.
Just curious. Can someone who graduates from Canadian university work for any startup/company in the US just like that?
Never heard of this before..
How you're treated during the interview is a good indication of how you'll be treated by the company if hired. Unless you really need employment, I'd stay away from Amazon.
I'm sure your VM doesn't have a webcam though. How do you prove that you are not cheating like this?
I had a fair amount of Meccano, Lego and a weird thing called Philiform that was apparently a version of Lego created by Philips.

I actually have fondest memories for Meccano - possibly as it was the one I played when I was older. Did used to get upset at my dad "borrowing" bits to help make repairs to cars, greenhouses etc.
The one internet link I will always regret losing was a tool to mount PartImage's bzip-compressed/sparse images as a virtual drive...

I've tried to find it again several times to no avail. I have a bunch of backups that I would be interested in accessing without having to restore to disk in their entirety (as explained below):

http://unix.stackexchange.com/a/52684

Edit: Apparently a sparse VM disk works:

http://serverfault.com/a/47075
Many companies don't understand that hiring on their end is almost as competitive as getting a job on our end. While I was going to school I applied for an internship to Epic Systems and another company.

Epic wanted to put me through a proctored, three hour long "assessment" in front of a microphone, camera, etc. before even getting on the phone with me.

The other company gave me a couple of 30 minute phone screens followed by an on site interview that gave me far more insight into who they were and what they did. They made the process as smooth as possible for me and were genuinely interested in making the most of my application. Guess who I ended up working for.
(All: sorry for the offtopic digression, but this thread was bound to be about this whether I posted the below or not. There are fine comments about the Supreme Court ruling elsewhere on this page, and you can always click [-] to collapse a subthread you don't want to read.)

HN has been running a no-politics-for-a-week 'experiment' [1]. Although it hasn't been a week, I think we've learned as much from it as we're going to, so it can be over now.

Among what we learned is that it's impossible to define 'politics' with any consensus because that question is itself highly political, and that HN is at its best when it can meander through all the (intellectually) interesting things, some of which inevitably have political dimensions. The current story is a good example: it's not apolitical, but it isn't purely political either, and it's clearly on topic for HN.

In other words, the existing guidelines have it about right (https://news.ycombinator.com/newsguidelines.html), so carry on as normal.

1. https://news.ycombinator.com/item?id=13108404. I put 'experiment' in quotes because people understand that word differently. We mean 'trying something for a little while, just to see what will happen'.
Netflix was originally in the business of renting physical media as well.
The Best Password Managers
If you do not want to be at the mercy of these powerful corporations do not contribute to the system. Do not buy from them do, not use their services. Think local. Support small/medium sized businesses. I know it's less convenient and more expensive but you are doing it for yourself and the future.

Please do not pretend that this can't affect you because you belong to the "skilled workforce group". Trust me you are just lucky to there for a while but in fact you are nothing more than an average employee in McDonalds.
> Sometimes I'll just copy the code directly from the site, without typing it out again myself!

I realize you're being facetious, but do check with your employer that this is OK! Code on StackOverflow is under a CC-SA license, it isn't public domain or even very permissibly licensed.
That's odd, probably a bug in preact but I can't reproduce it. I've deployed a fix nonetheless.
It is not as easy to get some thing running with a message queue as it is with webhooks. The API documentation would be complicated and large, also special libraries would be needed.
Is this at a specific location or something? From what I can tell, NYC and Seattle just do the standard code test on your own time (and allow you to use whatever external resources you want) then if you pass that, a day of in person interviews.
How an entrepreneur read the T&Cs very carefully and helped his business succeed
A friend of mine interviewed for a tech position with the government (Canada). After the first couple screening interviews the subsequent interviews were all held in a hotel room. Similar to your suggestion, the hotel was picked so it was close to the candidate's house, and the interviewer supplied laptop and such.
I would have quit the moment that either a) they asked me to turn on a camera inside my house or b) they asked me to give them access to my computer.

I'm a pretty private person, and giving anyone access to either of these is a dealbreaker. Hell, I don't even let my friends in my house, much less an employer.

One of the last times I dealt with a recruiter, he wanted me to have a Skype interview with him before he passes my contact information on to the employer (for a job I really didn't want, but I was unemployed so I didn't have a choice if I didn't want to lose my unemployment). I tried to argue him out of it, and I ended up doing the interview in my backyard because there's no way in hell I'd ever turn a camera on in my house.
In programming, is it more a logic block than a block based on fear, such as "writer's block"?
Already exists, lots of certifications are handled this way. There are "test centers", where multiple types of tests are taken, and the computer is severely limited.

The "disruptor" here is ProctorU and similar services. They are cheaper, generally more convenient, easier to schedule and manage.

Maybe you can come up with a better "test center" (perhaps a van?) but most people don't care at all about what ProctorU does with their computer.
More explicit? Try more convoluted. Ever try to build an event-driven FSM in Haskell? I've seen several try, including myself...the results of which have all been complexity disasters.

Imperative languages in general have poor data structures for representing state (no ADTs!), but nothing is more explicit and straightforward than using mutable data or mutable containers for modeling actual mutable state. That's why languages like Scala exist. Functional without religious paradigm enforcement.
Nope not in US, but i can work anywhere in Canada for 3 years which is enough time for me to get my PR.
Vinous Acquires Delectable and Banquet Apps
Tim Cook disputes analyst report that Apple Watch sales have tanked
Mensa International tests work similar to this, ie. they rent a room in a VHS or university for a couple hours to conduct the tests.
Yes, see PLA made from corn starch.
16 Amazing Psychological Tricks You Can Use to Work Faster
> These talks are a little skewed to the game/high performance programming side of the art, but still very interesting in general.

I get the chance to interact with a pretty wide range of software engineers, the thing that constantly blows people's minds is how caches work and the fact that there's 10-50x performance waiting for you if know about it(and have the time to exploit it).

It's almost like they don't teach it in school or something, I agree there's a lot of gamedev/perf stuff but that lines up with my experience of things that change the way people approach programming.
This made me think of IOI in Ready Player One.
How do you test error conditions? In my experience, you are typically not mocking hardly anything (ideally nothing) with functional tests and some error cases require mocking. I find unit tests helpful in this arena.
People like you?
Agile TODO's
One answer I've been mulling for my next interview is something like the following: I lack whatever skills or traits are needed to advance at my current job. That's why we're having this conversation now.
Show HN: Today WiFi 2.0
Penthouse founder Bob Guccione's art collection is now up for auction
I fail to understand how a group of smart, well paid executives all got in a room, wrote down these ideas, and no one said this was dumb.
How to Get Selenium 3 Running in Less Than 10 Minutes
I consider cheating to be part of my job. I look up things I've done a dozen times before, if I haven't done them in a few weeks. I'll often ask google how to do something, then while it's loading the results, start writing the code that does that thing. A more valuable test, in my eyes, is how well someone CAN cheat in the interview. I want to hear someone say "you know, I've never actually heard that question before, let me see if anyone's talking about it on StackOverflow." Admitting you don't know the answer, and coming up with a way to get the answer is far more important a skill, to me, than blind recall. I've said "I don't know" in an interview, and while getting the words out took some effort, it showed the interviewer that I could admit to not knowing, and started a dialog between me and the interviewer, which gave him an idea of how I think about new problems.
You usually don't have to make changes to code once you've written it? The only time I ever find that true is when the code is throwaway (ad hoc data crunching for some purpose, scripts to automate some one time tedious process, practice projects just intense to learn a system, etc). I don't think I've ever written anything that was useful for more than, say, a week that didn't get changed later by myself or someone else.

The typical claim is that code maintenance is at least 10x as long as the initial write.