skysight-inc/HackerNews huggingface dataset:
> * Two people get drunk and hook up after a party... afterwards the woman cries rape. (there's a difference between rape and a bad decision)

Did I miss somewhere in the post where the regret of a (mutually) drunken one-night-stand was equated with rape? Or are you bringing this up because you believe such occurrences happen often?

If it's the latter, would you mind sharing sources? I've heard people suggest that these things happen (where the "victim" was either embarrassed of sleeping with the person, or perhaps was ashamed due to their morals), but I have never seen a man or women ever claim that they were raped when it was in reality just "a bad decision" ... which makes me wonder if the mentioning of the scenario you give is just a common device for distracting from the topic of rape.
I think Clojure is actually a lot safer by default than most people expect for a Lisp. Check out this comparison I wrote up between C#(or Java), F#, Clojure, and JavaScript on common edge case safety. http://deliberate-software.com/programming-language-safety-a...

In most ways I care about, Clojure is actually safer than C#. Now, if you're coming from an ML HM language, sure, you'll be taking a step back perhaps.
>2) Why not report to the police? Because it's mutually assured destruction. Even if you bring the guy down, you'll be known as the woman who called the police on her boss.

I feel like this is the kind of brave move we'd want to reward, for helping to clean up the whole firm.

Ok, I'm naive. So be it.
Perhaps the 'hacking' occurring nowadays is just different. A lot of young people I know play Minecraft, for example, and a large subset of them even get into complicated redstone logic circuits and whatnot, or modding.

When I look at my childhood, the vast majority of my peers had consoles and didn't 'hack' them at all. It was mostly the few 'pc gamers' that got into this. I don't think it's so different nowadays.
Ask HN: CS/Engineering majors, how did(do) you manage your time in college?
I'm a CS major and I feel like I'm always behind in my classes. I like to read my text books cover to cover; I like reading as much as possible about the theory before starting the homeworks. And it takes time and before I know it, I find myself lagging behind...

Do you guys have some advices to help cope with this problem?Thanks
Using Repository Pattern in Laravel 5
It reminds me Siemens Xelibri series.
It was scarce, and starvation was more common threat than diabetes.

Also evolution doesn't care if you are happy, healthy, live long, etc. It only cares how good are you at spreading your genes. We only live long because grandparents make kids more probable to live long enough to procreate.
Yeah, I really don't think so, maybe an SVM would be more adequate for this case?

It's pretty much linear and 3-dimensional (r, g, b values) you don't need a complicated structure to read that
Transpiling EcmaScript6 Code to ES5 Using Babel
Can it be he just doesn't care about the work assigned to him so he just half-asses it? Not saying it is a good excuse, but I have seen good developers that are indeed good, when moved to projects they have no interest at all, become like your co-worker.
I have just started, and will likely take a couple of days to finish, but I already like what I've read so far.

I really appreciate this author (Roger Labbe, yes?) as well as all the other authors of these online interactive ebooks or whatever they're called ("interabooks"?) for taking the time to prepare such comprehensive and informative material, purely to help others. Surely, preparing something like this could not have been easy or quick. The other day there was a fantastic one on digital signal processing, and today this.

Really, a big thanks to all you e-authors out there!
Great article. Surprisingly refreshing to see a long-form post about Javascript. I know it isn't exactly the sexiest of languages, but I agree that developers should make an effort to get familiar with its inner workings a little better.

I believe thanks in part to frameworks like Angular and even libraries like Reactjs, developers are starting to dig deeper and learn more about Javascript than just jQuery and its methods which usually hide the complex or sometimes they make it more complicated than it needs to be.

We need more of these articles. Took me a while to read, but it was well worth it.
How to get users who care?
Scala has something like that (@tailrec makes it an error if the annotated function isn't TCOed), but I find TCO can make the failures worse. StackOverflowError will hit my high-level generic exception handler, retry that task appropriately and eventually fail it out using my normal failure handling. With TCO that thread instead just spins forever.
I don't think you should read too much into the obesity rates of the pacific islands, their small populations means you're mathematically more likely to get extreme results. It wouldn't surprise me if the nations with the least obesity rates were also the pacific islands.
Face to face or online team collaboration? Turns out there is no difference
Caffeine? Got rid of it too or not?
The universe was algorithmically generated and took next to no space.
I think the reason you always see these sort of responses in these threads is that most men really have zero awareness of what women have to put up with in everyday life.

If we imagine that only 1 in 20 guys is a creep or worse, and that all of these men will remain regular offenders throughout their life, that's still a huge amount of individual incidents of women being made to feel uncomfortable (or worse). When you look at it this way, it's easy to see how a woman might find herself being harassed in some way or another on almost daily basis. Discussion with female friends bears this out.

I personally know of several guys who, while I'm not claiming they've committed any crimes, I wouldn't feel comfortable leaving them alone with female friends. But because a lot of men don't have any first hand experience of this sort of behaviour, it's difficult for them to believe it's real.
why the obsession with cutting out a harmless and tasty part of a normal diet?
Ask HN: Could someone please send me an invite to Lobste.rs
Hey there,

I'd love to become a member of Lobste.rs, however being non-American, its hard to get invited to an American based site, so I was hoping someone here could help me out. My email address is hello [at] timmutton [dot] com [dot] au
That little bloomberg live view in the top right corner is a major annoyance; I can't read articles like this. Fortunately it can be removed with an ad blocker.
Is it custom of valley startup to play cocky to test the motivation of intern?
http://img5.douban.com/view/status/raw/public/e6ce9b476f0ed79.jpg
This is all over CN social net. A student posted chat with an alleged market manager of GZ branch of an US company that develops, markets and operates the mobile-app-based transportation network. The original post was on zhihu.com, CN quora, but was deleted, allegedly by the US company (side question: is this common in US?). I secured a screenshot of the post in mother informatio. This is the translation:

i:hello, sylvia

s:hello our offer is half year intern, 165usd in cash+ 240usd commute compensation+ lunch+ team building/retreat event+ opportunity of employment. payment is adjusted every two months based on performance. employment is decided after internship ends. OK. come to work tmrw. reply in 3 minutes or I consider this is reject. thanks.

i:one moment pls, i am in class, can i reply in the evening?

s:nope (in En)

i:[pic of classroom]

i:i study for my second degree on saturday and sunday, i can't go to work tomorrow, can we discuss over the phone

s:monday to friday is ok

i:then why did say come to work tmrw?

s:copy error and we do work (tmrw)

i:location?

s:Zhujiang New Town （wikipedia/Zhujiang_New_Town）

i:do u mind being more specific on the address?

s:Zhujiang New Town

i:do u mind being more specific on the address?

s:just reject it if u don't like it

i:i have to estimate time to get there, and i am sorry i am used to reply in time window. if you are busy we can talk over the phone

s:this is how eagerly you want to join...i can see you are not very motivated

s:i'll leave you alone, bye

i:wish your business prosper

There were divide of opinions. Some think this is totally normal, some consider this too rude by standards of CN culture. Rumor was s was edued in NW U. and was herself an entrepreneur before joining the company. So I guess this is the acceptable way of doing things? I'm a little cultural shocked.
I think Pebble's biggest selling point is that it works on iOS and Android.

I don't think that many change ecosystem on purpose after deciding iPhone or Android (they're too invested fairly quickly) but I'm sure many people get a cheap Android phone when they lose or break their iPhone.

It will be a painful realisation when the iWatch won't connect to a temporary Android phone.
I know scala has a @tailrec annotation which will fail to compile if the function is not tail recursive.
I disagree with regard to Clojure. IME, the fact that it's a lisp doesn't seem as hard for noobs to grasp as immutability by default, or pickup up the functional programming mindset. We usually go for folks who use Emacs, so they may already have an indoctrination.

When you compare Clojure to other lisps, I think you'd agree it's more discriminable, given the plethora of literals that dont use parenthesis:
vectors [1 2 3]
sets #{1 2 3}
maps {:key "value" :name "Bryan"}
Clojure is horribly unsafe. I spent a year writing Clojure and half the time we were fixing bugs where someone had wrapped a map in another map or changed the shape of a data structure. For all that's worth, I'd rather use Javascript. To add insult to injury (the amount of wasted time on something that could be easily checked by a compiler and a sane type system) there's all the bad habits you acquire and the general lack of confidence in your code, which took a good six months after that to cure. I'm sticking with types now, thank you very much...
Plug and socket types – World Standards
Microsoft's desktop software only gained a reputation for insecurity because until relatively recently (early 2000s), the rational move for them was to not secure it. Their software designed for governments etc - that doesn't have the same motivations.
Also, you'd expect the classified stuff to run on an airgapped network (or equivalent), so that there's no real attack vector anyway.
I've found the opposite was a worse problem - programmers who discovered some new "pattern" and would rewrite the whole codebase every week. Endless churn and zero business value.

Code generation and config files are evil. If it affects program behaviour, it belongs in the codebase, where you can search for it, and where it's part of the normal release/review/testing cycle.
Upvoted you because I agree. JVM has many strong points but I don't think anyone is disputing that startup time is a weakness. I've used some java tools that you invoke from a command line and I'm always slightly annoyed by how slow they are.

As an aside - I was trying to reduce -Xmx to improve HelloWorld startup (lol idk...) and Xmx smaller then 1024k and it couldn't start up with less then 1024k so there's that.

On my windows computer (also I barely know what I'm doing so probably even timing it wrong).

[Mon Mar 09 03:22:31 zebra@ZEBRA:~ ]
$ time a.exe
Hello, world
real 0m0.098s
user 0m0.015s
sys 0m0.015s
[Mon Mar 09 03:22:34 zebra@ZEBRA:~ ]
$ time java Hello
Hello, world!

real 0m0.285s
user 0m0.000s
sys 0m0.031s
I think there is a difference between transparent amplifiers, etc in the recording stage vs transparent amplifiers in the playback stage.

In other words, harmonic distortion is art if it was put there during the recording process and not art if it is put there during the playback process.
great feedback :) thanks a lot for that. I will fix the double add part. I will also implement fuzzy search on URL, hopefully by next weekend
We are adaptation executors, not fitness maximizers: http://lesswrong.com/lw/l0/adaptationexecuters_not_fitnessma...

Also, evolution doesn't care about life span, beyond what is necessary to ensure the survival of genes across multiple generations.
Making the Leap from Individual Contributor to Management
What about the inverse.. Generate a semi-random-binary-stream from Twitch Plays $RANDOM?

Guaranteed randomness! /s
What? Seinfeld reinvented video marketing
Why are people putting this on the front page of Hacker News? I haven't seen anything linked to the console today.
It's standard in british english to refer to all companies/coporate entities/groups as "they." Personally I enjoy the moral implications of this.
Go and play Metal Slug 3, and tell me that was done on a 12MHz processor with a straight face - what they did with this thing was magic.
Two Factor Authentication for SSH (without black magic)
I uninstalled Facebook on my mobile phone because it buried my actual notifications.
I don't have the patience for disabling them.
I prefer the old http://www.ufoot.org/liquidwar/v5 .
Also check out this critisism:

http://www.alanaragonblog.com/2010/01/29/the-bitter-truth-ab...

http://www.alanaragonblog.com/2010/02/19/a-retrospective-of-...
It can call into C libraries so there is a whole other ecosystem available to it.
"Barclaycard said contactless cards had been most popular in London, where 30% of all transactions below £20 were contactless." -- http://www.bbc.co.uk/news/business-31164806

The article is really about from Sept 2015, the limit for contactless payment goes up to £30.
Why doesn't someone sits with him and mentor him in good practices?
Is the purpose of this project to simulate color perception paradox ( blue or gold dress) ?
it isn't bad for us at normal levels of modern consumption
I think it's the positioning of them that makes them stand out to people, plus the fact that they tend to bunch up at the end of things.
Exploring peripheral vision in games (using Quake)
> Credit card numbers or passwords that are stored in an unsalted hash

What's the purpose of hashing a credit card number? For passwords, please use a proper KDF instead of reinventing salted password hashing. While it's widely known not to build your own crypto, most people still write stuff like sha256(sha256(password) + salt).
Für die intimsten Aufnahmen: Jetzt kommt der Sex-Selfie-Stick
it's definitely not true that a degree in computer science will get you a higher starting amount than a person with even 1 year of industry experience.

However, I have always been curious to see when/if the degree holders catch up- or if they surpass their non-degree holding brethren.

Personally, I do not hold any formal education- and while working in London after 1 year I managed to get a "Senior Sysadmin" level salary.. but could I earn more with a formal education?

without a degree I'd expect my salary to do this kind of thing:

75k | X
65k | X
55k | X
45k | X
20k |X__________
0 4 8 12 16

with a degree, could it be more like:

120k| X
100k| X
75k |
65k | X
55k | X
45k |
20k |X__________
0 4 8 12 16

(these are British salaries, before someone mentions that's very low for american/USD salaries)
GamerGate is killing video games
Florida banned state workers from using term 'climate change'
> If you run a simple java app without dependencies and only displaying "Hello world" it will run in about 1s on modern hardware.

> time for x in $(seq 1 100); do ./helloworld.py ; done

real 0m1.240s
user 0m0.902s
sys 0m0.343s

That's reasonably fast.

Java for comparison:

> time for x in $(seq 1 100); do java Hw; done

real 0m4.952s
user 0m4.051s
sys 0m1.071s

And I had to compile java first. Still, I expected worse from java TBH.
This is a simple but a fantastic idea.
I don't know where this trick come from, but I've read it a long time ago, and you might find it helpful.

Lisp languages in fact have the same(ish) amount of parentheses as any other language, the trick is that the placement slightly differ: the opening parentheses come before the function name, rather than after it.
Ie foo(bar) => (foo bar) . foo(bar(baz)) => (foo (bar baz)).
No question in my mind that completely inept engineers are everywhere. It's mind numbing how many people will respond to a opening for an experienced coder and literally cannot code in any capacity.

In a previous life we were hiring C# WinForms guys, and I would always ask to code "Explorer". Some people couldn't get past creating the solution in Visual Studio, others couldn't figure out how to get the directory listing at C:\, but some got remarkably far along in just an hour or so, with directly & file listings, navigation up/down the tree, context menus, rename, copy/paste, etc..

I never ask trick questions, I just come up with cute apps. I think my new interview question forever henceforth will be to code and launch "Magic", I'll be back when it's time to get lunch, and help yourself to the espresso. Write it in whatever language you want, using whatever tools you want, on your laptop, with a full internet connection. If you want external keyboard and monitors, please use them.

The only rule is you can't claim someone else's solution as yours. You can use Stackoverflow, or any other resource you want to build up the parts, but you have to cite any code which carries a license.

Find a task which you can describe at 30,000 ft in 2 or 3 sentences, then spend 5 minutes sketching out ideas (not code!) on the whiteboard of what the components are and how they fit together. Then, probably best to leave them to it and not stare over their shoulder making them nervous.
Of course, I know. But most people express it as 'too many parens', without (I believe) actually thinking too hard. I was just trying to provoke a few thoughts!

The position of parens is something to get used to, but then again so is Python's indentation, Scala's type system, etc etc. Every language has something unique to get used to.
Ask HN: How to prepare for technical interviews?
I'm good at my day to day job but I suck at whiteboard style interviews. I'd like to hear form any HN'ers who have gone from Level Zero to pro at acing tech interviews. How you prepared , what resources you used and how long it took.
The Lions and Rotary International Clubs do use new domain names
There is nothing wrong with importing theory into studies of literature, art, cinema, and so forth. It was ill-advised to bring so much theory—and almost always the same dense and ideologically tinctured brand of it—to bear on our vast canon of texts and traditions.

Well, yes. If the answer to all questions is always the same a line of inquiry becomes uninteresting. And this is tied to the article's main line of reasoning about academia becoming a closed loop. They stopped engaging with students, let alone the general public. And the public has forgotten the importance of high culture, while always being vulnerable to anti-intellectualism. Couple that with the greatly increased cost of university making it a heavy financial investment, and the stream of curious undergraduates dries up.
Not criticizing, first I was confused then I realized it was likely to be a side-effect of being a native speaker of German or another language. Sorry if it came out wrong.
SkyBlue – Small SASS framework
12% of Brits will buy Apple Watch as soon as it goes on sale, survey reveals
Terrific stuff. Thanks!
A few times, and using decaf coffee + caffeine pills, and then decreasing the dose of the caffeine pills - it's pretty pain free.

I have mostly settled on a triple-espresso in the morning and then a cup of tea at lunchtime as a reasonable and effective dosing that I don't think is causing me sleep or health problems.
Sounds like you needed Schema, which can ensure the shape and contents of a map as :pre and :post assertions in every function you annotate, then be turned off for production use. https://github.com/Prismatic/schema

That's why I come back to Clojure every time, if I need anything, it's available as a library. Need better typesafety? Just add in what you need with a macro or two. (Schema is not much more than that).

That's not really possible easily with Javascript, and Javascript has a lot more unsafe by default edge cases than Clojure. I'm not sure why if a mostly safe dynamic language bothers you, you'd now prefer an extremely unsafe dynamic language?

Lastly, types only give you a single dimension of safety, is this that exact shape, and ensuring I don't put a square peg into a round hole: both of which Schema adds in easily. Clojure is ALSO safe along many other dimensions, like thread saftey, immutably, null reference exceptions, etc.
could you give some examples or detail about power law tails?
I know complaining about journalism is a tired old drum, but..

This combination of "reports" press releases and journalism that cherry picks and tortures statistics is scientism of the worst kind.

Where is cause and where is effect effect? What other things have interlinked causal relationships with these things? These realities are complicated and trying to boil it down to this college degree earns people this much is just not really the way reality works.

A 25 year old with a solid academic background in statistics, big data & business from name brand Universities is likely to be optimizing his earning potential. He's very likely to be getting knowledgable advice, assistance and socialization to this end from parents. This is not a randomized experience. The got into the degree. They passed it. They decided to get into it. Causation runs both ways, in loops, in zigzags.

For a high school graduate with decades of experience… What circumstances yield 35 year olds without any tertiary education in 2015? The starting point is different, the trajectory is different. It's complex.

Coming from a non American who quite like americans I would also point out that there are many uniquely american blind spots here. One is the mercantile approach to education. Universities can proudly and flagrantly advertise their prestige with prices and viscera versa.

First, the American student is a consumer and investor. This is kind of cool and useful in that it forces people to consider realities like the market demand for graduates of a degree. But it also generates the kind of flat, dull and incorrect analysis where a degree is going to be causally linked to a salary, justifying the enormous (and often unnecessary) costs. Universities need this to justify what they charge and students need to justify their spend.

Second, I think Americans have a very weird relationship with the concepts and vocabulary of socialism. Socialism (followed closely and arguably by Liberal Capitalism) was probably the most influentially socio-economic-political movement of the 20th century. The ideas influence the US no less than anywhere. But Americans have a weird relationship with them.

At the centre of it all is the aversion to considering anything from the lens of class.

Universities are now and have always been, central to class issues. They are where class is established. They are instruments of class mobility, class immobility. They are places where class culture is consolidated.

I would guess that class is a major determining factor in earning potential, and that a lot of the mechanics of this are via universities.

When you consider some cluster of college graduates and compare them to high school graduates with 10 years experience, you are comparing samples of class clusters.
You mean sarcasm, and you should read more carefully. The post was implying that markets are irrational, through sarcasm, and that in fact it was possible to predict this irrationality. HTH HAND.
A naive implementation of % is pretty trivial, so even if they weren't aware of the operator, I would at least expect them to write an equivalent function.
The artwork is amazing, but I don't think it's computationally demanding.