skysight-inc/HackerNews huggingface dataset:
Just the other day during a JavaScript/React interview I was asked how a HashMap was implemented.

At this point it's only being used for its Computer Science signalling value. JavaScript doesn't even have true HashMaps, and it's unlikely you'll find yourself implementing them while building a web app.

It's just one example of poor interviewing practice but it's not the only problem.
I've never met a C or C++ debugger that handled this case nicely, unfortunately. Totally ridiculous, of course, because they could! They just never seem to.

Meeting snippets of code like that when debugging is a constant source of frustration for me, because I have to stop what I was doing, edit the code, rebuild, then get back to where I was. Particularly galling when the code in question is in a commonly-included header, and the subsequent build takes several minutes, and I was on a particularly productive-looking trail.

(The last project I worked on solved (?) this problem by performing so shamefully poorly in an unoptimised build that it effectively didn't work. So you had to debug the optimised build. And so single-stepping at the source level just didn't work properly anyway.)
Pokemon Direct: Sun and Moon Announced to Celebrate 20th Anniversary
Playthings: Musical VR Playground
I was struck by a talk by Kirk Knoernschild in 2013 where he pointed out that there is now a generation of users who don't know what a floppy disk is... Yet it is still the "save" icon in nearly every application.
Pleasantly surprised to see Ramit Sethi's name pop up in the article. I've watched some of his 'Find your dream job' videos on youtube and the advice there was solid and yielded results first time I applied them in salary/job negotiation situations.
> Probably the biggest thing is that it translates a traditional document-based data structure (mailboxes via IMAP) into a stateless, streaming transactional data structure.

So why can't this be done on the client side? Are you telling me that to avoid storing more data on the clients, they should give up their privacy to whoever operates the server? Not like Outlook or Thunderbird take a substantial amount of time to do most operations. Is this a good tradeoff for them?

I understand, yes, technically adept users can run the server, but there's still many who won't, who will use your server or someone else's server and be required to make this tradeoff.

Of the products you mention - yes, yours is the only one I'd consider and for this very reason, I can run the middle server myself. I just have to think about those people who won't do it though.
There is an argument that if you can't scan the code with your eye and spot the } then your code needs refactoring to make it easier to read.
A balmy -6C in Toronto.
I wonder whether the Turing phone will work in the US? The Jolla phone doesn't work very well because the chipset doesn't support US 3G or 4G frequencies.
Show HN: Microchatter, a chat back end that easily integrates with your website
Yea this board in no way should cost $25, and is really late to the game with a nordic BLE board. Their website is really disingenuous about things that the Nordic BLE chip just has inside. http://oshchip.org/ Things like:
"OSHChip_V1.0 is a unique combination of" (insert list of things inside the nrf51 series). How is it a unique combination of those things?? "You get to be a chip designer." Um, what how exactly do you get to be a chip designer?? You mean, you get to choose whether or not to use the I2C port that is built-in? Anyway, obviously they are marketing this toward students with that type of language. Which is great, good on them, but if it hits hacker news I think it deserves a bit of criticism if they list "professionals" as one of the people this applies to--especially with the price compared to other modules that have been around for some time.
Yes, but from what I understand this bug is more commonly introduced in code that is being updated.

Notice that I said "avoided", not "fixed". That is because I am rather focused on making code that is maintainable.

I posted this original comment to have a dialogue about something I include in my programming practices. I wanted to see how other people viewed this as a development technique.
If I snooze on my desktop with N1, will it properly notify me on my phone if I subsequently shut down my laptop?
https://github.com/llambda/koa-boiler/blob/master/app.js#L75 is an example of Bluebird coroutines paired with Koa.
in rails I add:

[:foo_boolean1, :foo_boolean2].each_with_index do |flavor, i|
power = 1
i.times do
power *= 2
end
define_method "has_#{flavor}" do
(foo_options & power) > 0
end
define_method "has_#{flavor}=" do |value|
value = value == '1' if value.class == String
current_value = self.send("has_#{flavor}")
if (current_value && !value) || (!current_value && value)
self.foo_options = foo_options ^ power
end
end
end

which lets me access each col like normal. blah.has_foo_boolean1 or blah.has_foo_boolean1=true etc.
To be more specific, you can turn a proton into a neutron by electron capture or beta+ decay, but that's not what a neutron is.

A neutron is 2 down (-1/3 charge) quarks and 1 up (+2/3 charge) quark, whereas a proton is 2 up and 1 down quark. Electron (-1 charge) capture changes an up to a down and emits an electron neutrino (0 charge).

Beta decay is when a neutron changes to a proton and emits an electron and an electron antineutrino (beta-), or when a proton changes to a neutron and emits a positron and electron neutrino (beta+).

Even if you wanted to be generous, the grandparent post left out the electron antineutrino.
I know this isn't exactly relevant - but - for me and probably many others, games like Pokemon, and software like Gameshark/Gamegenie were my first introduction to software. So, this is a really meaningful announcement to me, and it probably set me off on my career in software engineering.

Congratulations Pokemon! Thanks for continuing to bring out the kid in me!
I'm very glad to see that I'm not the only one who does this. I wanted to see if others felt that this process worked.

It is good to hear others are doing it.
Thank you everyone for your views. They confirm what I think I've known for a while, I just needed some experienced perspective to validate these thoughts. I think what's made me re-think many times is that I'm surrounded by 5 other people in this company, all of whom are about 10 years older than me except one, and they seem more than eager to step up and offer this guy their near full time allegiance unquestioningly. It makes me pause and say "am I not seeing something here? Am I just naturally more distrusting than these other guys I started with?" So I've slowed down and quadruple re-thought every time I was ready to walk, trying to see it from a different angle. Still, the nagging discomfort remains. Glad to know I'm not too off base.

Update: yesterday, CEO tells me he will offer the guy who started 2 weeks ago the same equity I have, because he's done "such a good job". He has been kicking it hard, it's true, and he does really well, but he's fresh, and the CEO's perspective is so skewed based on what's bright and shiny in front of him at the moment that he totally disregards the contribution of people working for him 7 months for free who got him to where he's at now.

The sad part is I think he knows this damn well, and his strategy well may be to operate a company on a string of trusting people who he will continue to cycle in as the disenchanted ones before them leave.
Are there plans to add Exchange support to the self-hosted version of the API?
Agreed. It's unfortunate that's not working out so well for Snowden right now.
Preload API: What Is It Good For?
Show HN: Visualizing groups of elements in React
Great to hear.

I've found another way to get access is to simply email the author of a paper. Of course, this mostly only works for those still enrolled at the academic institution where the research took place, but I've had good luck with it.
Glad to hear GCR (Google Container Registry - https://cloud.google.com/container-registry/) is working great for you! It's main purpose today is certainly for Kubernetes users on GKE, but we also have people using it directly and for App Engine Managed VMs. Having a fast, secure, and cheap (just storage and networking) place to push and pull containers is really helpful.

Disclaimer: I work on Compute Engine, but didn't work on GCR.
Add trusted contact when you are no loger able to access Google
By current standards, it should be provisionally named nilium-4.
Notational gist from Atom – glist
Agreed, but i m talking about moving the cursor there.
You can actually sync Exchange mail using the open source sync engine if you enable IMAP/SMTP in the Exchange server settings. (We've had lots of students do this at universities.)
Just a minor note:

> What that looks like in practice is you somehow find that an engineering company is hiring, which by the way, every company that has more than 10 engineers is going to hire engineers this quarter.

Not mine. We haven't hired an engineer, or anybody else, in over a year. We aren't struggling, either. We just don't have the work volume.

Maybe we are the exception, but anyone following this advice and trying to contact, say, me is just setting themselves up for disappointment.
While implementation details may be unnecessary, I feel like knowing how something performs for lookups, insertions, deletions, etc. is important. It definitely shouldn't be the end all be all of hiring, but it is definitely helpful day-to-day to know how the code works performance wise with the data structures you are using.
Water machine. Air + electricity -> freshwater. (No, it's not a refrigerated air unit; in fact, it works in the driest climates)
That never happens though. Drupal has to bootstrap itself so it loads it's registry cache, variables cache, current user record (split across at least four tables to pull in the user account, associated roles, and user access permissions), any dynamic menu builds are going to the menu table, access callbacks and other function calls associated with dynamic menu rendering may also trigger other database calls, uncached content blocks have to be pulled out of the database, and we haven't even gotten to loading the node for the page which could be split across a bunch of tables if the content type has fields added to it...
Glad to hear it-- thanks! :)
I've been a professional developer for 20+ years. Not once have I gotten a job from the submit-a-resume-and-interview path. Not once.

It's always been a personal connection.

At the risk of bragging, I'm very good at this stuff.

If you're filtering resumes and doing endless interviews, you're missing out. You won't get people like me.
For anyone confused about what this does, English information here [1] tells us it interfaces with a video capture card to capture the HDMI output of a Wii U game console and analyze it in real time.

[1] https://github.com/hasegaw/IkaLog/wiki/en_WinIkaLog
> "If the job you're applying for relies heavily on data structures and algorithms"

JustSomeNobody figured that if the interviewer is quizzing you on data structures and algorithms, surely the job you're applying for must rely on such knowledge. If only.
Trusting other people is not a flaw in your character. The character flaw is in people who take advantage of that trust to your detriment.

Good luck.
What are your use cases for shortening links? Is it for print?
Semi-related: What do people think about if-else-if... chains vs nested simple if-else blocks? I have seen many cases on the job where someone writes a complex if-else-if chain and then an oversight in their logic WRT the dependencies between conditions causes the wrong branch to be taken. I prefer the latter style of the ones I've put below, especially when the conditions are more complex. For me, it makes it easier to mentally picture the control flow.

if(condition_a && condition_b){
do_thing_a();
} else if(condition_b){
do_thing_b();
} else {
do_something_else();
}

vs

if(condition_a){
if(condition_b){
do_thing_a();
} else {
do_thing_b();
}
} else {
do_something_else();
}

Furthermore, I prefer functional languages where if-then-else is an expression with a mandatory else (or doing control flow via pattern matching with enforced exhaustiveness like you can get with GHC). I don't like surprises.
You might find it worse, I don't. You might not be able to parse this quickly, I am.

No holy wars about style please! I was just offering an alternative that works well for me.
You'd think a stand-alone program could take care of this quite nicely? No need to clutter the compiler itself.
We recently had a Slack vs HipChat vs IRC debate.

IRC, the traditional method used in the shop lost.

After switching, for the first few months, the membership was largely the same. Now the community has grown. I think this is because HipChat and Slack offer:

1. Easier for people to use. The best IRC interfaces still aren't as nice as Slack and HipChat
2. With the interface, are the integration out of the box. For example, pasting a funny GIF from imgur is embedded right in the chat. This builds the community, as people feel more relaxed and willing to share. For developers merge requests, etc appear in chat.
Meshes perfectly fine with one true brace style
>I've never met a C or C++ debugger that handled this case nicely, unfortunately.

Apparently you never use Visual Studio. It can highlight a portion of the statement on each step (at least it used to)
Part 4: How-To Create an IoT Project on the Google Cloud
Ever heard of clang-format?

http://clang.llvm.org/docs/ClangFormat.html
Their logo and "sample user profile" pic really bother my programmer's brain. Unmatched parentheses everywhere!

The idea is a bit scary, though. Giving up to some app not only your current and past information, but all your goals and ambitions—essentially all of who you are—and then relying on the app to essentially do a lot of thinking for you.

If this thing works, it would be a gold mine for the advertisers to plug in their products as something you really want. "[...] it could devise an ideal workout regimen for the marathon..." Ideal according to whom? Some gym that paid for advertisement?

This is a very interesting issue how this sort of AI is literally akin to giving up a part of your mind to third parties. And if someone's thinking FOR you, the biggest question stands: what protection from malice do you retain?
I had a conversation with a friend about a hypothetical algorithms certification program. Yearly, you sit the exam, do the whiteboarding, regurgitate the big O stuff. You get a nice little certificate, and then a tech company can skip that part of the interview if you show you've passed the test in the last year.

The question then becomes, what do you ask if someone's algorithmic knowledge is no longer in doubt?
Yea, there's hiring freezes too at bigger corps. Even if they loose a dev that can't always replace her.
I deal with Drupal (7.x) on a daily basis, so that's why you'll probably detect bitterness from me. Personally there are a myriad of reasons why Drupal rubs me the wrong way, most are Developer issues though (Such as their annoying comment form API, and arrays, arrays everywhere).

There are better CMSs out there, IMO, but we have to use Drupal because it's the only one that has a Certification of Networthiness (I work in the DOD) - and to make things worse for us, we have to use Drupal on IIS with MSSQL (for now). Why can't we just go with Umbraco (.Net)!?
My current employer doesn't do technical interviews at all. We might ask about favorite languages, blogs, or open source projects, but generally we're more interested in whether the candidate "feels" like someone who is comfortable coding at the job's level. This has never gone badly for us, and we have never had to fire someone for not being able to do the job.
Incident Response for Android and iOS
In all the interviews I've been a part of (1.5 years, maybe ~50 candidates), I've never seen a candidate decline because of salary requirements. We would decide if they were a good hire, and HR would make it happen.
Worth considering the es2015-node5 preset instead. It will only transpile the features that are not already in node 5.x. The standard es2015 preset transpiles lots of APIs that are already natively available in node 5.
Before those, you had double density "DD" disks -- and extended density "ED" disks after that. With the sleeve encased floppies you could even throw in single-sided and double-sided variants. Growing up, we had a lot of 1200KB 5-1/4 disks. IIRC, they were enough cheaper than 1440KB 3-1/2 disks for close to the same storage.
My understanding is that it's a means of checking a dataset very quickly with a 100% chance of avoiding "false negatives" but no guarantees around false positives.

Some interesting use cases around them for very high performance filtering operations, but probably overkill and overthink for the vast majority of issues out there. It's something you'd generally looking at if you were trying to performance tune a lot of checks against a big dataset.
-Realtime feedback
-Better privacy
It's not a problem / wrong to put unrelated things in a single cluster (and just because they're not talking today, also doesn't mean they won't in the future). But if you really want hard separation between them, you could easily have separate clusters. It's a lot like a directory with files, if you put everything in one directory things like the output of ls have some noise in them, but if you're used to searching (service discovery) then it doesn't matter too much.

Disclaimer: I work on Compute Engine (and I've always just used a single cluster)
I wonder what you'd say about all the Americans living near the US-Mexico border.
I don't see the source code, and it doesn't look like it supports extensions.
Aww shucks. Bless your heart.
Intel Unveils Android Phones That Can Also Run Debian GNU/Linux
Willow Glen is part of San Jose.
Is there any liability other than having PII data hacked?
Oh, thank you. I might have been unclear in my understanding (or maybe it needs updated), on the open source sync engine page it says: "The open-source Nylas Sync Engine does not support Exchange, but the hosted version does." Is this out of date? Or just an undocumented feature?
I agree completely with this. After fighting over code formatting for so long (often starting those fights myself), I have thankfully come to realize that what format you use almost never matters, only that you use some standardized format.
It's debatable whether "simple and regular syntax" is a strength or a weakness. Lisp/Scheme might be too regular for their own good. Consider the following statements in Scheme, for instance:

(lambda x (+ x x))
(cond (> x 2) (+ x x))
(if (> x 2)
(do-this when-true)
(also-do-this when-true))

They are syntactically correct (technically), but they are probably not what you meant. So you still have to pause and ask yourself how cond works... except the parser will not help you.

That is to say, a problem with s-expressions is that they are so regular that everything looks the same, and when everything looks the same, it can become an obstacle to learning. Mainstream languages are not very regular, but they are more mnemonic. I think Lisp works best for a very particular kind of mind, but that for most programmers its strengths are basically weaknesses.
It's too bad to hear that, and a surprise to me... always thinking that it was an applicants market.

Also, python didn't strike me as a hard-to-sell language.
In case people aren't aware, Patio11's comments are pretty much exactly what is stated (with many more examples and strategies) in "Guerilla Marketing for Job hunters", a book I recommend whenever posts about job searching come up.
> I think that gofmt is particularly innovative, in the sense that it acknowledges that formatting is integral part of the language.

gofmt is still optional. Python significant white spaces are not.
As I recall (and this may not be the whole of it), the "tradeoff" was that a larger block size would risk getting attention from China's great firewall, effectively splitting the network and rendering Chinese users' funds effectively worthless. And it turns out a set of Chinese users have a controlling interest in the network currently... so yes, its a political problem par excellence.

It occurs to me as I write that Ethereum may have similar problems down the line, when platform updates turn out to be direly needed, but would disrupt the operation of well-established and lucrative apps.
Because your version takes up 6 lines! A simple one line expression!

And yes you can remove the parentheses, but not only does no one do that, it still takes up 6 lines. And then you have significant whitespace too.

>why do you insist on using infix syntax for a couple of operators, while you use every other possible operator in a prefix notation and are happy with it? What is the difference between "sqrt" and "-" which makes it ok to use sqrt in prefix form?

Because that's universal and standard for math notation. But also sqrt only takes one argument. If it took two arguments, then it would be perfectly reasonable to add an infix operator for it too. Many languages do add infix operators for everything from combining strings to ANDing booleans, etc, because they are so much more readable.
We are using zenefits and gusto right now.

Gusto is pushing to switch for benefits management, but it's a bunch of work.

I feel a little gross about staying with zenefits after hearing about their company, but it's mostly free and seems to work.

They are also offering some other services like 401k, shift management and stock options planning.

I'm sure at some point I'll consolidate on one of these platforms, but right now they don't seem stable.
I know a guy making frameless apps. People like this and I'm surprised
I have a talking space alien.

God says...
defrauding unsealing conductor fatality's savings emery parvenus copycats pirouette surreal kielbasas furlough ashram's miking sponger toddled skid's Ora standbys biceps archdeacon's gunny's Rosenzweig memorization's Heidi morass thralldom handgun's story Magsaysay gambler humanness
Zenefits to Cut 250 Jobs
> Agriculture's purpose is economic. Eating (and eating tasty food) does have a large demand though.

I'm maybe just repeating what the parent comment said, but that seems backwards to me.

If we treat agriculture's purpose as economy for economy's sake, which we have been doing, it seems counter-productive to our goals of staying alive sustainably.
They will send the Inquisition after you for that one! :)
The piece's subtitle/tag line is interesting: "If we’re going to pretend we operate in a free market, we need to at least give labor a fighting chance of flowing as freely as capital does."
There are some posters on here who take offense to the term 'poaching'

This is the first article where I really understood that. Saying a non-compete defends a big corporation from "poaching" (by ensuring a low level employee can't work in the same industry after quitting) shows an almost depraved pro-business bias.
Is that still true if I'm self hosting the sync engine on that laptop? Or is it the kind of service that should be run on a separate server?
Latest Google product could protect startup websites from hacker DDoS attacks
Chalk always struck me as better for the environment, too.
>I'm glad Python (with semantic whitespace)... solve this problem.

Python solved it....then added the problem of making things you can't even see semantically significant. If you write Python, it's helpful to have an editor that makes the difference between tabs and spaces visible....
Let's everybody use our home electricity so that big companies save big money managing their big data!﻿
UPDATE: Sling TV Support Response: @mikepland In regards to your inquiry, the user is prompted for this permission because the AP stores log files on external storage. *MD

https://twitter.com/slinganswers/status/703255132935356420