skysight-inc/HackerNews huggingface dataset:
Whoa, that's one hell of a bullshit disclaimer. Even after reading it (and it's not exactly highlighted), it was unclear that Folyo was his company. Definitely sketchy.
well, at the very least, I think it isn't out of the question to be asked to be paid for those two weeks. If they made a mistake, shit happens, but they should still be on the hook for it. I'd even consider asking for severance of a couple weeks. They've hosed you, they should try to offset it a little bit. I understand that it probably isn't about the money, but I would hope they at least offered you that.
Show HN: Shortwhale – Get fewer, shorter, and better emails
Dan Ariely and I are looking for ways to help people with high email load. One idea was Shortwhale, which we've tested for a few months now. The idea is super simple: It's a place to tell people how you prefer email and it offers a simple contact form that adds the necessary structure to email. Although technically trivial, it works extremely well for Dan. We have ideas on how to expand this but first we'd like to know if someone else might find this useful too (we know that this is only a solution for people who get tons of (unsolicited) email).

Underlying to all of this is the idea to put more demands on the sender (there are things to pick from a drop-down and people can create multiple-choice emails, which allows the receiver to answer with one click). However, what we found is that it can also make it easier for people to write Dan because it actually removes some demands from them: they know that he doesn't expect any formalities and the structure helps them too. And, above all, senders are more likely to get a response (and quicker).

Please have a look:

http://shortwhale.com

As an example, here's Dan's Shortwhale page (he links to it from his website and in his email signature):

http://shortwhale.com/danariely

HN, we'd love to hear what you think.

Many thanks,
Dan Ariely and Dominik Grolimund

PS: If you're interested, Lifehacker published an interview with Dan where he talks about "how he works": lifehacker.com/im-dan-ariely-author-and-professor-and-this-is-how-i-1615748781
Ok, these slides are really cool, though it took me a lot of time to scroll through them... But it really has nearly doubled the list I had!

:)
Yes, if you're giving the actual date, the relative time from the time of utterance is redundant, and if you aren't, it's misleading because you can't make sense of it without knowing the date of utterance.

I don't have access to e.g. the AP or NYT style guides but I'll believe you that they ban temporal adverbs (which strikes me as excessive zeal; really, you can't say "earlier"?); I'm not sure why you think this is significant, since those guides are formulated with specific kinds of writing in mind, and the author is talking about fiction, in which it's totally ok to just say that something happened yesterday. And, of course, different institutions can have all sorts of crazy, hard-to-justify crap in their style guides---why not---house style can be idiosyncratic. The linked author is attempting to make a case to others; she isn't saying "here's how I do it" and she isn't representing a house style.

ETA in a quick search I was unable to find anything about temporal adverbs in particular in the Chicago Manual of Style.
I love it. I think the concerns about the code being unmaintainable from the example are a bit unfair. There is nothing preventing a developer from moving the blocks out into separate files/classes for a more coder-friendly organization. How deep do you guys nest your javascript callbacks?

This also lead me to check out sequel, which I can't believe that I'm just now finding out about.
Hashes end up O(n) not O(k) in worst case scenarios. Arrays are guaranteed O(k). But that's also a simplistic view of how they work. Hashes, by necessity are far more complex than arrays. As you use them, there's lots more overhead involved that can cause things like cache misses, memory doubling when growing, rehashing etc.

More importantly, hashes need to store both the key and value pair. Arrays just need to allocate memory and user pointer arithmetic to offset from the array start location to arrive at each index.

If you think of an Array as just a Hash with numbers for the keys, Arrays "store" the keys basically for free. While even a hash with integers for the keys has to store 4 bytes for each key (on 32-bit implementations).

When hashes hit some utilization percentage, Perl (and any sane language) constructs a new, larger hash, then moves all the keys and values over (requiring all the keys to be rehashed again). When Perl lists get need to grow, a new array is constructed and all the pointers from the old one are copied over to the same indexes in the new one, no rehashing is needed and no values need to be copied. Destroying the old array and returning it to memory is also easier and faster than destroying the old hash. Hashes are also much more aggressive in resizing. I believe Perl Arrays resize only once they're 100% consumed, but hashes, in order to prevent collisions, have to resize once they hit something like 50% utilization, and they grow by doubling their space leaving lots of unused entries in the hash (I could be wrong on the exact details, but the ideas is the same).

Here's the illustrations of Perl's datatypes. It really clears up lots of mysteries about how Perl works internally.

http://www.cpan.org/modules/by-module/LWP/GAAS/illguts-0.09....

The relevant portions are "AV" and "HV". I haven't read this in years, but at one point I had large chunks of it memorized and could hand count the number of bytes in memory I expected a Perl datastructure to take up and be fairly accurate with it.

For sake of comparison it's useful to run the following code.

An Array version

for($i=0;$i<1000000;$i++) { $av[$i]=$i; }
system("pause");

And a Hash version

for($i=0;$i<1000000;$i++) { $av{$i}=$i; }
system("pause");

and check the memory usage for both. On my system, the first one consumes about 35MB of memory. The second one takes about 216MB of memory and is a hair slower.

Now suppose each entry in each structure pointed to another array or hash respectively each with a million entries, and each of those in turn did the same. The memory growth of the array version is going to be much slower than the hash version.

This holds true for most languages, they implement their arrays, lists and hashes similarly and have similar issues for all of them.
That does suck!
I'm not familiar with the law in the USA but in the UK you can be let go for very little within the first 2 years of employment. You don't have a right for unfair dismissal for the first two years.
The notice period is 1 week for anyone that has worked less than 2 years.
In terms of milestone events, you might look into things like the first viruses, the birth of e-commerce and the development of SSL, social media pre-Facebook, the first DotCom implosion, the advent of "Web 2.0," etc. (though precise dates for these may be debatable).

Unfortunately I'm coming up empty when trying to remember more positive developments that had a broader impact and aren't narrowly commercial, and it may be that the nature of these is a more gradual process (and part of why we hear about "good news" less frequently).
Like soccer players, good people should be paid a "fix" in order to change jobs, so they would not starve when something like this happens.
You are not fucked. Just breathe. Think about it this way, It's likely that this start up will not be around for long if they make such poor decisions with their most important asset. No matter how you think about it, a very poor decision was made.

You have a masters in CS and 6 years of management experience. You are so far from fucked.
>I always ask clients if they would go with a $5 plumber, or a $5 bus driver for their kids. Always the response is, "No!" So it's a matter of them not being able to judge quality of tech / design work...

A $5 plumber might flood your offices. A $5 bus driver might crash the bus your kids are in. A $5 logo designer might... design a logo for you that isn't great?
They are not good guys. They might be good guys in their personal life, but hiring someone from outside the country, letting them cut ties, and then laying them off immediately is not something a "good guy" does.
Indeed: 1 W is the legal _maximum_ as per FCC rules, part 15. Not even all APs are broadcasting at this power level, this is a WiFi client (meaning that it's only transmitting a few milliseconds out of a second), and this is several orders of magnitude below the power levels used by microwaves. In other words, it is "nothing" for the purpose of cooking your cat's brain.

This would be "guilt by association: microwave ovens will cook your brains if inserted, therefore anything else using microwaves will, too, no matter what the power."

Edit: I see that you didn't mean the question rhetorically - so yes, while this may be a valid concern in the design phase, the total exposure is infinitesimal, even in prolonged use.
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
-Charles Babbage
Then, at the other end of the scale, you have 'What kind of logo do you get for several million dollars?'

Aka, the Pepsi Gravitation Field:

https://code.google.com/p/daxp/downloads/detail?name=pepsi%2...

Where their logo redesign was pumped up by a fantastic amount of tenuous justifications and logic.
its simply Stripe plus Invoicing = same fee
We don't know whether these people are paying for each image, but at $5 for a "custom" logo, I doubt they can afford to purchase the rights for each image. Yes, if all of their logos were clouds it would work, but that's not very likely.
It would be cool if HN had a 'Classics' section or something like it where stuff like this could be permanently placed because this and a handful of other stories get reposted every 1.5 years or so.

Fun read for sure and a good example of how a scifi story can be so simple but still have a lot to it.
This reminds me a lot of sound effects in video games. At the high end you can hire a sound designer to do custom foley/SFX. For a small game, maybe $1-5k. Midrange, you can hire a sound designer with extensive knowledge to pick royalty-free sounds for you (maybe $250). On the cheap, you can browse through SFX libraries yourself and pick out what you want and pay per-effect (maybe $20-$50 worth). Ditto for music.

It's kind of a spectrum of "custom-for-you" to "off-the-shelf" AND a separate spectrum of "no-effort" (picking) to "put-in-a-lot-of-time-and-effort" (doing your own shopping).

None of these are "wrong" or "stealing" -- in this analogy Fiverr isn't even the "cheapest" option (the author could put in some time and browse royalty-free templates on their own). It seems like more a sign of a mature market with too much inventory than anything shady.
He works as a department head for a commercial tech contracting company. Not too sexy, but they get free beer.
While everyone understands there is an added level of uncertainty when taking a start up position, your situation sounds more unusual than most considering that it does little more than screws up your career and short term family plans. You can't really say you worked at this company, you've already gone through what sounds like a lengthy job search and turned down all positions that came up besides this one, made plans with your family to move to the States, and then a week after getting 'hired' you had to make other plans.

I'm not sure why you say you like the founders when they treat people like this. This is a serious blow to your life that they are responsible for.
5 Most Popular Growth Tools in the YC Portfolio
Well, in some places it's not a great idea to use your computer in an electrical storm if it's connected to a mains outlet.

Sounds like you were lucky.
It gets warm.
Job offers don't disappear. Just go back to the other ones and see what is still open.
That page you linked is horrendous!
> "and yet we still try to understand them and talk to them"

For certain terrifyingly-narrow definitions of "we".

Compare the number of researchers puzzling over sea mammal communication to the number of fishermen intentionally and unintentionally slaughtering them.

It would be as if aliens arrived and realized that Humans were sentient but hadn't yet puzzled out how to truly communicate with us. So they abduct a few of us and task a handful of them with trying to work it out.

In the meantime, the rest of them discover they have a taste for corn. So they dredge half of Iowa, shrugging their shoulders at the incidental death and destruction of any number of farms, communities and small towns. Then they dump the "by-catch" and leave.

Not to mention the havoc that would wreck on our economy and food supply and how many might starve in addition to those who would die directly. Not to mention the long-term damage their unsustainable harvest methods would wreck and the implications that would have on our own ability to survive. Not to mention any research stations that may or may not be causing massive cases of dementia/die-off of any number of humans.

The next year, when even more alien harvest ships return to do it all again, how much comfort are you going to find in the notion that the handful of them -- however earnestly -- are trying to learn how to communicate with us?
I got my company's logo on Fiverr and wrote about the experience a couple years ago. Quite happy with the result honestly. It offended a lot of people then (feel free to read the comments), and probably still does today. But I've heard designers at $100+/hr down to Fiverr and they serve different purposes. I've been happy with both and disappointed in both types (and everything in between). I wouldn't hesitate to give it a shot though, it's so cheap you're not really losing much budget if you have to go another direction.

http://kevinohashi.com/26/10/2012/how-get-logo-30
Dribbble comments poster
Android is a clusterfuck of various platforms for supporting remote code execution.
It's not "association". Wifi literally is microwaves. They're just not very strong ones.
This is probably more obvious to HN readers than the average buyer
First of all, it wasn't so much a specific reason why Australis is bad as it was an example of how it broke existing addons. I'm sure there are plenty of others.

Second, both projects have been in active development for years so I'd imagine their userbases are substantial. Pentadactyl has about 20k downloads for release 1.0 alone, probably closer to 100k for all versions. Certainly not the majority of FF users but hardly ignorable either.
Even with an official contract, unless he was explicitly promised certain things, he can still be let go.

American companies generally don't have any notice requirements. The fact that he's overseas may create a liability for the company in that country, but they probably don't care about that.

(edit: They must absolutely pay him for hours worked.)

Assuming his options had vesting (which 'tptacek will remind us to always have, so the YC company probably knows about that advice), he doesn't have any equity.

I've seen this problem from a few sides, so OP has my sympathy, for whatever it's worth. I've seen people laid off a week after joining when the adults suddenly realized they were bleeding money. I very very recently saw someone approved for a job and accept it, told to wait a few days while internal funding moved around, and then suddenly the entire project was cancelled.
Non-ionizing radiation has biological effects. Magnetic fields have biological effects. This is not controversial! Many replicated experiments prove it!

I am not going to say Wifi causes cancer because I don't know (doubt it). But this reflexive bleating about non-ionizing radiation needs to stop. Radio waves do not have to break DNA to affect biological tissues. They can alter many important chemical reactions.
I had the same issues on vanilla FF on Windows 7 too.
US Gov tracking in-flight preferences
SocketCluster – Full stack Pub/Sub – All the way to the browser
To answer to your edited version:

I agree that it should avoid an accident as much as possible, but I don't assume that that will be an option in all possible situations. The case given was a thought experiment to indicate the ethical conundrum, not a real life situation. It's not supposed to be realistic, it's a jumping off point for a discussions.

The problem with your statements so far is that they assume perfect knowledge of the surroundings. How fast is the car allowed to go if it's 99% confident that there is nothing that can jump in the way? how about 99.999%? When is enough? If you deal with absolutes, the only thing you can end up with is "an extremely low speed".

Lastly: I'm not sure what you're trying to prove with that video. At any speed high enough, a car needs distances measured in yards to stop and turn, regardless of how good it is. In the case of trucks, that can even be measured in miles. There are rigid limits on how manoeuvrable a car can be, and they need to be calculated into anything the car does.
It is chosen somewhat arbitrarily, but it's not completely random: see e.g. http://www.schoolphysics.co.uk/age16-19/Wave%20properties/Wa...
Yup, this has been observed recently: "Data Centers are microkernels done accidentally"

http://scholar.google.com/scholar?cluster=674259428780315955...

The microservices / web services thing is basically a microkernel architecture, but done over multiple machines.

And actually Linus was prescient enough to state this. His argument against microkernels was that it makes algorithms more complicated -- you end up developing distributed algorithms for everything. He says OS algorithms are easier with shared data structures.

He explicitly said that microkernels could make sense when you have real distributed hardware and no shared memory. That seems to be what has happened. Linux has turned into a single node OS running the microkernel-ish components for a distributed OS.
Someone needs to setup a proxy that pulls from HN and uses this style sheet so we don't have to download anything. (on a phone right now)
I said nothing about liking any law. I just said one easily equates to theft, while the other one doesn't[1].

[1] http://en.wikipedia.org/wiki/Dowling_v._United_States_(1985)
Automatically assuming plagiarism due to a low price-point is pretty dumb. This is a legitimate website, and plagiarism would be a massive risk for business. If they sell 100 logos a day -- that more than pays for the extended licenses. (They could even be getting bulk deals, going directly to the original creator, special licensing agreements to move more stock, etc).
Urgh, URL is not linked. Does it work in the comments?

http://shortwhale.com

http://shortwhale.com/danariely
how fucked can you be really after only 2 weeks? You didn't move yet, you haven't burned any bridges in your network, you have skills that are in demand, you have not uprooted your life for them.
This is just an "inspired" rip-off of Andrew Kim's Microsoft designs (with a little Jony Ives ROYGBIV gradient thrown in). It's like the author downloaded Kim's blog post and s/Microsoft/Samsung/ effectively.

But as natch alludes to in their comment, this may be right up Samsung's alley.
The Data From Comments to the FCC About Net Neutrality
https://news.ycombinator.com/item?id=8120070

There's 500+ other jobs available, you can just as readily find another one.
There’s mounting evidence that our primitive ancestors would hunt large prey simply by following it at a walking pace, without sleep or rest, until it died of exhaustion; it’s called pursuit predation. Basically, we’re the Terminator.

Isn't that how the bushman in The Gods must be Crazy hunted his prey?
> two tabs open no plugins and it crashes on a machine with 16Gb of ram if left open over night, and the bug is trivial to reproduce

Keep in mind that whatever the bug is, it's probably only trivial to reproduce for you. If it truly was globally easy to reproduce, it would send the crash stats (https://crash-stats.mozilla.com/products/Firefox) through the roof.

Having said that, it's not good when crashes make your Firefox installation unusable. Firefox has a feature called about:crashes that will provide you with the URLs of your crash reports. Have you considered going to http://support.mozilla.org and reporting this?
Unary: convert Brainfuck programs to unary number system source code.

http://esolangs.org/wiki/Unary
> I do not understand why they say to use a Map when all keys are the same type and all values are the same type. Also, how would "logic that operates on individual elements" differ between a Map and an Object?

An object is for describing the different properties of one thing. For example:

var myCar = {
make: "Nissan",
model: "Altima",
colour: "Black"
};

See how each value is a different type of data (even though technically they are all strings)? Here, it would make no sense to enumerate over each property because they all have different meanings. Rather, you would use them individually based on what information you needed. On the other hand, a map is for describing a single property for many things:

var manufacturers = new Map([
["Altima", "Nissan"],
["Acura", "Nissan"],
["Accord", "Honda"],
["Camry", "Toyota"]
]);

Here, each key and each value are all the same type of data as one another (models and makes, respectively). Because of that, it would make sense to have the structure be enumerable. Similarly unlike an object, it wouldn't make sense to assume that a particular known key exists, e.g. with hardcoded references to certain keys.
Non-ionizing radiation can still be harmful.

That said, the power levels emitted by wifi devices are so far below any safe exposure limits that it's laughable.
I'm not a big fan of alternating colours in tables, but this looks pretty neat.
Erase All Kittens: Introduce kids to HTML by modifying a game while playing
Sorry to hear that!

What the consensus on the best way for someone to avoid this? Immediate vesting if let go? Some predefined severance agreement? 6 mo/12 mo contract? I understand it's a big decision for a startup to hire employee #1, but how can I protect myself in such a future case?
Parametric. In ML-family languages (SML, OCaml, Haskell) you can define a function that pattern-matches its signature.

For example (taken from the Wikipedia article on SML) I could define an algebraic datatype "shape" as such:

datatype shape
= Circle of loc * real (* center and radius *)
| Square of loc * real (* upper-left corner and side length; axis-aligned *)
| Triangle of loc * loc * loc (* corners *)

Then I could define an "area" function that takes this as a parameter and pattern-matches on its type as such, with a different implementation depending on the type:

fun area (Circle (_, r)) = 3.14 * r * r
| area (Square (_, s)) = s * s
| area (Triangle (a, b, c)) = heron (a, b, c) (* call to Heron's formula function *)

Which is also syntactic sugar for:

fun area shape =
case shape
of Circle (_, r) => 3.14 * r * r
| Square (_, s) => s * s
| Triangle (a, b, c) => heron (a, b, c)

If I were to implement the function like:

fun area shape =
case shape
of Circle (_, r) => 3.14 * r * r
| Square (_, s) => s * s

and forget to include the Triangle case, I would get a compiler error: "match nonexhaustive". Furthermore if I were to include a redundant case or an unreachable case, the compiler would also throw an error informing me of that. Very useful in preventing runtime errors, and languages like Java or C/C++ simply do not provide this.
Oh, okay, that makes sense; I have misread it as a rhetorical question, then.

The answer is "no, your cat won't get its brains cooked, not even after prolonged exposure" - there's not even enough juice in the battery to do that :)
That entire NYT article read like an advertisement for HOLD Security, just like Chinese Hacker's article was for Madiant.
Show HN: Dumbphone – Turn your smartphone into a dumbphone