skysight-inc/HackerNews huggingface dataset:
You forgot the third kind: the "victim of society, circumstances, and discrimination who had no choice but to break the law"

/snark
That’s wrong! The new law would add those restrictions for ALL the countries. That’s why everyone is in such an uproar.

The changed proposal would make it illegal for a nation to allow the freedom of panorama.

Read the blog of the MEP who wrote the original proposal (which had a clause saying that the Freedom of panorama should apply everywhere): https://juliareda.eu/2015/06/fop-under-threat/
Seems like a classic case of the Decline Effect (https://en.wikipedia.org/wiki/Decline_effect).
> random screaming sounds pumped through the PA

At my first job 20 years ago this would actually happen: occasionally the PA would emit loud shrieking sounds for 15-20 seconds. It turns out that the PA could be accessed by dialing a specific two-digit code from any internal phone. Occasionally when someone would attempt to send a fax they would forget to add a "9" for an external line; if the first two digits of the telephone number were the same as the two-digit PA access code, the fax machine's handshake sound would be broadcast over the PA.
This crowd needs one more question:

How many "I know the answer, but can I find a flaw in their code" questions did you ask?
I'll need 30 hours to watch 'em all... Good thing July 4th is coming
Graphics Analysis of an NES Game's Select Menu
GraphQL is definitely designed to be written by developers, not by tools. We have a feature called query variables that provides the same strong typing to input values for queries that need to fetch different data dynamically.
I've dealt with vertical tabs and linefeeds by just Base64-encoding character data that might include them before stuffing it into a CDATA node in the XML doc.

It's a hack, sure, having to encode/decode all the time, but if you need to store those characters, it's the only bulletproof way I've found.
Some time ago I wrote a really simple code snippet to see the performance differences between Python, PHP, C and Java (the languages I tinker in) on my particular machine (i3 M 330, 2.13 GHz / 4 GB RAM / Ubuntu 15.04 x64).

The results were as follows:

~ 14.2 seconds for Python 3.4.3 [1]

~ 9.0 seconds for Python 2.7.9 [1]

~ 9.0 seconds for PHP 5.6 [2]

~ 2.3 seconds for C [3]

~ 2.3 seconds for Java 8 [4]

Again, this was on my machine with out of the box settings. I have linked the test code that I wrote and perhaps there is something wrong with my Python and PHP code but to me the results were quite revealing. Also it's interesting to see that on my configuration C and Java both hit the limit of my CPU (I can't explain the score otherwise) and I can't know for sure if on a more powerful CPU Java would still be on pair with C.

[1] https://gist.github.com/anonymous/7edafa3889be967a1e1d

[2] https://gist.github.com/anonymous/56ff76849f5a312340d9

[3] https://gist.github.com/anonymous/5717ba935b43bad09e1d

[4] https://gist.github.com/anonymous/6b0c2f11609b951b64f3
What makes you think it's accepted at face value? This guy is facing 20 years
Where did I say that companies survive for an infinite amount of time? I didn't say anything like that at all.
Which is exactly the point I made as well (several times in fact). So thank you for finally agreeing with me on something.
> A country would then no longer be permitted to add special excemptions other than those

A country would no longer be permitted to allow commercial use, period. EU law does not allow member states to add additional copyright exemptions.
Correct. SQL auto increment keys plus test accounts resulted in Zuck being 4.
Hooked – Why Netflix and Amazon want your kids
Nancy Kress wrote Beggars in Spain to explore nearly this exact topic. https://en.wikipedia.org/wiki/Beggars_in_Spain In the book, the upperclass controls all capital and productivity and, literally and directly, buys the votes necessary to stay in office.

That, the quote above, is the left wing's preferred
approach to amassing votes everywhere in the world.

I happen to agree with much of what you say, but it's not just the left wing. See Medicare Part D (http://www.forbes.com/2009/10/01/medicare-part-b-tea-party-o...)...
What Hip Hop can teach us about Product Development
It's fair to point out they also sued after they issued a warning shot, in the form of a C & D.

I like your analogy of the site being forked. I don't believe for a 2nd that the companies scraping the CL data and putting a pretty UX on it were doing it out of any sense of altruism.
VISA Manhattan, New York, Saks Fifth Avenue
Java/Scala Software Engineer
We have a friendly, forward looking tech lab style environment. Most of the work that you’ll do will involve either adding features to one of our commerce sites, or helping to build out the platform on which they’re running. You can expect to be working with a mix of Java and Scala. If you have never worked with Scala, don’t worry, we’re perfectly happy to help you get up to speed. You’re encouraged to use whatever tools (editors, IDE’s, etc) you are most comfortable with. We work to keep meetings to a minimum, so that people can focus on getting their work done.You’ll be strongly encouraged to spend time developing your professional skills. We want to have people who are flexible, adaptable, curious, and constantly learning. I’ve outlined our environment below:
- Agile,TDD, Java, Scala, Clojure, Play, Akka, RESTful web services, Docker, MongoDB, git
-Current initiatives include new development of a proprietary platform and upgrades across 4 ecommerce websites
- 80/20 environment, summer hours, in store discounts @ Saks Fifth Avenue, Saks Off 5th and Lord & Taylor

Send Resume to nicolette_nelson@s5a.com
I've not played with it yet. wrt caching packages across different hosts, I have the same problem with debootstrap.

I'm using a common bind mount outside of the container for that now.
Show HN: Coding via Text Messages
Depending on how they're trying to give us something, they might darn well deserve to be sued!
It's not asinine. Being able to copyright creative lighting installations seems reasonable: what if someone copies your design? But it's not reasonable to charge anyone who takes a photo of it.
>No. Ulbricht was charged in multiple jurisdictions for multiple crimes.

So you keep saying.

>The murder-for-hire charges were brought up during the sentencing phase (after guilt was adjudicated).

Guilt of crimes which according to you are not related.

>The murder-for-hire charges were introduced at the sentencing hearings to counter evidence provided of Ulbricht's good character.

Maybe they affected sentencing then? And since the testimony has been reduced from "let's convict Ulbricht of murder for hire" to "character witness hearsay from disgraced and corrupt federal agents who themselves provoked the alleged crimes by stealing many hundreds of thousands of dollars from Ulbricht"; can sentencing be revisited by the court, or is a new trial required?
I agree it is well known. I am just providing yet another example.

I contemplated quad trees but the performance of these 2 lines of code was good enough. Why would I bother writing something more complex?

you'd be surprised by my mathematical background ;)
Google street view on El Capitan
It was built, most likely, to replicate the American capability of launching, stealing a satellite and returning within a single orbit (hence the cargo bay the size of a Hubble/Keyhole and the enormous wings). Since the Energia was a stand-alone heavy launcher (that didn't rely on shuttle engines), that they had a whole fleet of lighter launchers and the Soyuz/Progress were excellent for carrying astronauts and cargo to LEO, the only mission for which the Buran was indispensable was stealing American spy satellites.

That's a very narrow niche for a very expensive spaceplane.
Quite odd that he'd donate money from a settlement to an organization that filed a brief _against him_ in the case. I wonder why he did that. Ah wait, I see, that was part of the settlement, the other businesses said they'd pay the penalty if he donated it to EFF and he agreed. Ha, that's something.

Perhaps EFF should earmark his donation in a fund specifically dedicated to legal defense against any future CFAA suits filed by Craigslist?
Fair enough although that link isn't exactly one of Wikipedia's finest efforts. This link is more complete: https://asmp.org/tutorials/property-and-model-releases.html#...

It's generally pretty well established that a properly executed model release provides a pretty wide latitude of commercial usage--although one can always come up with corner cases, e.g. use of a photo in a context that implies the subject is a drug addict or something similar.

By contrast, there's very little legal precedent around the scope of property rights in commercial photography.
No it didn't. It gave some constructive criticism:

https://news.ycombinator.com/item?id=8863
Investigating the Relative Age Effect at Yale
> It is not a fully standalone GraphQL server that a client developer could use to start manipulating and querying data.... The only “backend” we have targeted for this early preview are in-memory stubs in test cases.

> To that end the target audience is not the client developer, but those who have or are actively interested in building their own GraphQL implementations and tools.

I guess I'm kind of happy that FB are releasing something regarding GraphQL since introducing it in February. I just thought they got busy with React Native and forgot about everything else they hyped up back in February.
What Lysenkoism was to the Soviet Union, is Creationism to the United States of America. Both 'doctrines' are completely nonsensical, but supported by strong religious currents in their respective environments. It just so happened the state religion in the Soviet Union had mortal gods versus the man-on-the-cloud of the born-again evangelical religion entertained by some recent US leaders.
Yeah, but the stupid users insist on clicking buttons and stuff instead of typing in SQL.
It is simply not true that the DOJ declined to use evidence of the murder-for-hire scheme in their case. Not only did they do that, but they built a whole leg of their case on it. Ulbricht was charged with attempting a murder-for-hire scheme. That scheme was one of the explicit actions used as the basis for his conspiracy charge. It was presented to the court as something that Ulbricht's defense could (and was obligated to) refute.

This notion that the DOJ tainted the case by telling the judge about a murder-for-hire scheme without charging it is a meme that simply will not die. By repeating it, you're essentially broadcasting that you didn't even bother to read the Ulbricht indictment.
Well, philosophically, CRUD is a lie. You only ever need two operations: READ and UPSERT.

Create with upsert and Delete by upserting "deleted = true" flag.
The extortion demand was for $3M. The repair bill was $18M. The bio of the mastermind stated that he lost significant amounts of money gambling at that exact casino.

This suggests that the bomber was motivated as much by the casino not having that money as he was in getting it for himself. Not only did he have motive to use an actual, armed bomb, but he might have also included some form of secondary, such as incendiaries, to start fires in the damaged structure and make it a total loss rather than repairable.
I think, the Atlas was the first machine to support virtual memory (https://en.wikipedia.org/wiki/Atlas_%28computer%29), but I am not entirely sure when Burroughs first released a machine with virtual memory. Atlas was - according to Wikipedia - first operational in 1962.
I actually got confused today because someone posted a picture of the religious leader nicknamed Amma and and I was like wait who, doesn't she have breakfast cereal named after her?
Who would pay for deep thinking?
Now that machine learning and deep thinking is trendy, I think that people with deep thinking abilities could get some money. For me deep thinking is about people able to understand core problems and suggest creative solutions. To think deeply you can't be annoyed with details. I think you should be asked for a problem and you should submit your proposal for a solution or approach. is there a market for this? Clearly there are tax and other problems, but my dream would be to get money that way (no taxes, no problem, just pure thinking), or your client solving (paying) those problems for you. I know no such thing exist for real, but what a beautiful dream!
An Epidemic of Absence: A New Way of Understanding Allergies and Autoimmune Diseases: http://www.amazon.com/Epidemic-Absence-Understanding-Allergi...

Velasquez-Manoff on Autoimmune Disease, Parasites, and Complexity: http://www.econtalk.org/archives/2014/03/velasquez-manof.htm...
I haven't been able to play with this much yet, but it feels an accessible way to play with low level computer ideas.

I feel like this could hit a sweet spot between "toy computer that doesn't do anything fun", and "fully modern computer that is too complicated to understand the entire stack on" for code camps and teenagers.

I'm definitely following with interest, and will be seeing if I can make some fun activities using this for our upcoming code camp.

I would love to know what contributions you would like from the community.
Apple: security is hard, let's go shopping (for yet another UI change for the OS!)
How to Stay Motivated as an Early Stage Co-Founder
Tips for Creating Engaging Content That Gets Shared
To those who are more familiar with spectrometers:

What's the most interesting "consumerish" application that you can think of for a spectrometer? I imagine health related applications are an easy target because spectrometers are already widely used in biology. Are there other, more off the wall applications that don't make sense now, given the cost and size of a spectrometer?
Once again. It's the New York Times.
"A democracy is always temporary in nature; it simply cannot exist as a permanent form of government. A democracy will continue to exist up until the time that voters discover they can vote themselves gifts from the public treasury. From that moment on, the PEOPLE WILL ALWAYS VOTE FOR THOSE WHO PROMISE THE MOST BENEFITS from the public treasury, with the result that every democracy will finally collapse due to loose fiscal policy, which is always followed by a dictatorship."
@bshoemaker

My name is Joe Charat. I’m on the team at Naked Apartments. Thanks for taking the time to read and comment on our job post. I see in one of your previous HN comments that you are or were a “product manager at a tech company.” Given that role, I can understand why you might disagree with our organizational structure.

How teams are comprised is certainly an important decision for any company, but there are many ways of going about it. Countess companies have succeeded with product managers leading or working alongside developers, and countless companies have succeeded without product managers. We happen to be in the latter category.

And for what it’s worth, we’re doing quite well.
> There are many programmers out there using Python as if it was C, and that leads to slower than necessary code.

I think it's because a lot of the Python (and I figure, other languages too) learning resources treat the learners the same way, whether you do not know any programming or are a 20-year veteran of C/C++.

I'd love to see resources which show the ideological way of doing things in a language. Take some of the most common tasks performed in other languages, and show how they're mapped properly to constructs in Python.

In this particular instance: I'm guessing the author could have used pure Python alone to get a decent speedup, without reaching for NumPy.
Most of the time, I wouldn't.

To be more realistic, most of the time I wouldn't even take a job programming if I had food and housing covered. I might do a contracting gig here or there to buy a new bike or skis, or pay for a big trip somewhere, but it's very unlikely I'd work all the time.

I've considered doing something like that now. I have enough savings to pull it off for a few years, so why not take a few years off and play? With a guaranteed minimum income it'd be an even longer time.

I like the idea of providing for everybody, but people need to be realistic about what could actually happen. If it's just a plan to shame and guilt trip everybody into working all the time, I'd prefer we don't do it.
Which Wall Street top head was charged and actually punished in court for brining about the Great Recession? None.
Samsung's chairperson was charged and actually punished in court (although no actual prison time). At least he did go through the motion.

WellsFargo/TARP happened because of the extraordinary circumstance called the Great Recession, WHICH was made possible because Wall Street got rid of regulations they didn't like, separation of retail-bank/investment-bank.
Chicago to Apply 9% 'Netflix Tax'
Yeah, and there was allegedly a pressure sensor in there too, which could trip it when the gas expands. Tricky.

Maybe they could have tried to deplete the battery somehow? This is all academic of course.
Harvesting Bones at Waterloo
It's really great to hear this is all happening now!
That's precisely the point. It seems to have tricked even you.
Isn't this a little like suggesting that it's a vulnerability that someone can have a large <img> tag with a GIF of Facebook's login page on it?
You should use the built in pow for the python version (or the double asterisk operator). I guess most of the difference with PHP is there.

The type conversion behavior of the math.pow function is clearly documented:

https://docs.python.org/3/library/math.html#math.pow
In the previous version of the spec, I had a large number of bits that were unused, but once I thought about it I realized that any bits that go unused tautologically guarantee less than optimal performance. I played with the instructions a bit, and it worked out well to allow addressing of registers with 9 bits. Right now, the compiler mainly works as a stack machine and doesn't use more than 10 registers at a time (usually just one or two). In the future, I think it would make sense to make the number of registers big enough that it would fit inside the lowest level CPU cache, since this CPU is mainly designed to be emulated. Storing temporary data in registers instead of the stack has the advantage of not needing to push and pop all the time.
> You wanna sue a business for scraping your site? Hey, fine, that's a civil business issue. ... Trying to use a law with criminal/felony penalties is grossly out-of-line.

And the CFAA also happens to be the law that makes it a civil business issue, thanks to the 1030(g) section that was amended in 1996. Wikipedia has elected to make no mention of this section, but other sources do.

http://www.balch.com/files/Publication/01d78bb1-08f4-4a25-8c...

"Section 1030(g) expressly provides the civil remedy (and thus federal court
subject matter jurisdiction) for violation of the CFAA"
Data point: most freelancers I've been coaching during the last years do /not/ realize they are running a real business. It usually takes a life changing event (birth, or a big tax issue) for them to change their way of doing it, if this changes at all.
bad apple, or simply corrupted?
Small Modules: Tales from a Serial Module Author
I like the idea of visualizing the parse tree, and another fun place to go would be to do a real IR, bring things into SSA form, show phi function placement, and then do register allocation and optimization.
VISA ONSITE Manhattan, New York, Saks Fifth Avenue Mid Level Javascript Engineer
-New development of a world-class UX for 4 ecommerce websites (Saks.com, saksoff5th.com, lordandtaylor.com, thebay.com) delivering highly interactive web 2.0 functionality
- MVC type Javascript work: Backbone/Angular/Ember, dependency management via Require or Browserify, CSS with SASS/LESS
-80/20, Summer hours, professional development, collaborative, flat organization

Send Resume to nicolette_nelson@s5a.com
Container OS comparison
The Top 5 TV Shows on Netflix
wow... there's a lot of people being really rude to each other in here. too many chefs in the oss kitchen these days.
Hear, hear.

Scala recently removed it altogether: https://issues.scala-lang.org/browse/SI-5205

Other languages (Python 3, Ruby) are moving to the 0o syntax.
This is exactly why I want UTC timestamps.
>I thought it was common knowledge that the DOJ is irredeemably corrupt,

That is essentially the opposite of the common knowledge of the DOJ. In the legal world, they are seen as very good lawyers who only take on cases they can win. They are also civicly minded because they could make WAY more money in private practice.

Sounds like you are treating people who disagree with you on some issues as irredeemably evil.
Shaxpir is hiring a VP of Engineering
Typical NYT psycho-babble:

I got the right answer but with
several Yes answers and also
several No answers and without
their confirmation bias and
other nonsense.

And, I do know about "problem solving",
thank you, with some of my
solutions responsible for my
peer-reviewed published papers
and Ph.D. in some STEM work at
a world class research university.
Sorry, NYT: I don't regard your
organization as able to "test"
"problem solving".

Also "the rule" likely makes no
sense since it is not clear that
there can't be multiple rules
that describe their black box.
Indeed, it has long been known
that there are some fundamental
challenges saying what is in
a black box just from looking
at pairs of inputs and outputs --
of course, can't expect the NYT
psycho-babble click bait
writers/editors to know that.

Once again the NYT looks like
an organization down for a count
of 8 or 9 out of 10.

NYT: Give up the social pseudo-science
psycho-babble and other nonsense
nearly as bad as leech bleeding,
move out of the 18th century and
at least into the 20th century,
e.g., with its standards of
information safety and efficacy
illustrated by mathematics,
mathematical physics, chemistry,
biology (e.g., DNA),
engineering, medical science.

Come on, NYT: Drop the 18th
century leech bleeding information
safety and efficacy.

Have you no shame to look so
foolish in front of millions
of people?
It might be the case that chlorination of drinking water leads to an uptick in autoimmune diseases. However, many people that suffer from such a disease would not even live to suffer from it.
I think that we're talking about two different things.

This challenge seems great to get some, as the link refers to "part-time CS student" employees.

I read the original article as aimed at an employer who is trying to find an alternative to just seeking out "miracle" employees, for these people part timers with no experience are probably not what they need.

If you need someone with experience who's likely already working in the field, taking time and concentration energy away from current work/personal projects/family/life is a much harder sell.
Does "Epidemic of Absence" actually address chlorine? I thought it was a useful and interesting book, but I don't remember it discussing chlorine in specific.
Thanks for the book recommendation, I'll be sure to check it out.
I'm with you. And now that eventual movie will have to include the parts about the planning of an initial movie for which payments to the DEA agent went unreported.
'Affirmative Consent' Will Make Rape Laws Worse
There are often use cases for many of the ASCII control characters, which is why the escape sequence feature is there.

It would be odd to support an escape sequence feature for every ASCII control character _except_ vertical tab, or to support it but leave it out of the docs.

It's just coming along for the ride with the general escape sequences for ASCII control chars features.
Open Source Document Management in Clojure
So to summarise, nobody uses it because nobody uses it? I don't buy it.

I think TCP is "good enough" for most cases, so people use it. SCTP is great, but TCP isn't broken. Worse is better and all that.