skysight-inc/HackerNews huggingface dataset:
The solutions that are stored in the package are only plain answers - not actual algorithmic solutions to each of the problems. I understand the concern, but in my opinion, if someone had a collection of solutions that were derived specifically from the answers derived from EulerPy, it would likely consist of just `print n`s (which shouldn't be impressive to anyone by any means). I apologize if my project has degraded the integrity of the Project Euler community.
More snake oil? :-)
Reminds me of this: http://www.economist.com/node/18557594

> At the start of the day, [parole judges] granted around two-thirds of the applications before them. As the hours passed, that number fell sharply, eventually reaching zero. But clemency returned after each of two daily breaks, during which the judges retired for food. The approval rate shot back up to near its original value, before falling again as the day wore on.
Ah, I like this idea. I'll look into implementing it.

Edit: I just realized that implementing encryption with respect to the problem answers would imply removing the `--cheat` option. I've started a discussion [1] in the repository's issue tracker about this topic.

[1]: https://github.com/iKevinY/EulerPy/issues/3
I never had any IBS symptoms as a result of panic disorder but I can say from experience that finding a good evidence based* therapist can change your life. I've gone from panic attacks sending me running home and downing Xanax to them being a general annoyance lasting 5 minutes tops. And given my trajectory I have every reason to believe that soon, with a possible rare exception, I won't have any at all.

Related: https://news.ycombinator.com/item?id=7790727

* This is key. A therapist who works off their intuition ("why do you think you freaked out?") is a waste of money.
The hardware is also different on each platform, e.g the iPhone hardware button layout vs android button layout. That effects the layout and user interaction.
http://www.youtube.com/watch?v=XmZC5uaw69s
TCS is not selling software to customers. TCS is making money by selling "wage slaves" to US/EU clients.
Is this basically like Apache Spark in its programming model?
What do you mean, warehousing? Like, item tracking inside an actual warehouse? Hard to imagine spending more than a kB per unique item -- more per SKU, but less per individual object -- so even if you have 1M items being tracked, the total size would only be a gigabyte. Even if you had a billion unique things in your store, the resulting database would still fit on a single flash drive.
Can you expand on why this would be a benefit?
> I am a full-stack web application developer.

More like "full steaming pile wrangler." You can apparently deal with template engines and ORMs in a few languages, which is moderately useful.
Because of the way go get works when people are sharing packages. As an example:

Package author blub shares his package with the world, or his team, which depends on github.com/blab/blab. Unfortunately a week later github.com/blab/blab goes through a major rewrite, and breaks blub, but people doing go get blub get the new blab, and their build is broken, so they start complaining to the blub author.

Solutions to this:

Expect blab never to make a breaking change (somewhat optimistic)

Vendor a specific version of blab into blub and update manually

Explicitly specify a version of blab to use with a dependency tool

Each approach has some drawbacks.
I have no idea what a DAU/MAU is..
INT_MIN / -1 works fine for me on amd64 with gcc 4.9. It produces INT_MIN, just as you would expect. INT_MIN * -1 is also INT_MIN.

#include <limits.h>
#include <stdio.h>

void main(void) {
int x = INT_MIN;
printf("INT_MIN = %d\n", x);
printf("INT_MIN * -1 = %d\n", x * -1);
printf("INT_MIN / -1 = %d\n", x / -1);
}
i cant wait to see facebook to leverage this to condition users into favoring advertisers/products who pay for premium advertising packages

seriously what the fuck is facebook's PR team thinking letting their research staff publish something like this
Not at all. We have about 4 TB of photos. I signed up for Backblaze last August to get an online backup of just the past few years and it's still ~400 GB from finishing.
It would be more great if they open sourced it.
That ruling was overturned on appeal a whole back.
A playground for the command line JSON processor jq
Thanks! Yeah, that Steve Yegge post definitely came in handy when I was laying out a map of the bases I wanted to hit in my prep for GOOG and FB interviews
Is it just me or is using 'cloud' in their product names just shark jumping.

Seriously.
Its about what they need and not what other companies need.
Daily/Monthly active users.
http://okturtles.com/
until there is a standard versioning scheme (there isn't much you can do with git hashes)

Couldn't you use tags for versioning? Often people use tag v1.1.1 etc?
Well, OK: I'm curious, can I use the sed to Perl utility, to then make a Lisp implementation in Perl?
Yo Plays 2048
The main takeaway from this article is that the author, Yevgeniy Sverdlik, has demonstrably never worked with distributed computing systems.

The rest is buzzwords propping up sweeping ridiculous conclusions.
Rotimatic – a robot that makes rotis and wraps.
In all seriousness tho', I was running data sets that big in Oracle, in 2006. You can see why I don't take "big data" seriously.
This has "cloud" prefixed to name of every component. So, obviously, is better. Also, they're selling it. So, ya know, marketing trumps engineering.
hyperscale man!
cyberleetscale would have been better. IMO.

Thanks for the clarifications :)
> Why can't there be a different option to emit a compiler error whenever -fsanitize=undefined would cause the compiler to add program-crashing code?

The simple answer is "the halting problem".

If you can build a compiler that knows with certainty what runtime behavior would result from any program (including whether undefined behavior occurs), then you could solve the halting problem, but the halting problem is provably undecidable. So such a compiler cannot exist even in theory for the general case.

Yes, you can template-match a bunch of special cases, but the user can always write new code that doesn't match any of your "known to be defined behavior" patterns but still executes only defined behavior. Guaranteed!
> 3. The rest of the world's PR/press/marketing fall for Google's clever PR.

If "hyper-scale Analytics" counts as "clever PR," then eating paste counts as "clever food choice." It's not worth my time to decode the BS.
Still a great summary: http://www.haskell.org/haskellwiki/Why_Haskell_Matters
> seriously what the fuck is facebook's PR team thinking letting their research staff publish something like this

Yes, it'd be so much better to let that research be done in secrecy, and sold to the highest advertising bidder. /s

"Scary" as some of the things Facebook (replace by the bigdata corp of your choice) does may sound, I appreciate a lot when extremely-large-scale real world scientific tests, like this one, can be achieved and I appreciate a thousand times more the results being published. Call me crazy, but to me this is what "advancing the understanding of the human race forward" looks like... rather than "let's do designs on both round AND square watches".
Why should we believe them now? Clearly they are willing to lie to Congress so I am sure they have no compunction against lying to the public. How about an independent audit of these numbers? I didn't think so.

Once you have been caught in a lie rebuilding your reputation is virtually impossible.
I follow it up until the upfront and candid and then not telling people they screwed up the answer. Why not say horseshit to their face? Just because someone has been coached on stupid HR questions doesn't mean you don't give them a chance to work through it and give you a real answer. If your going to play games and interview outside the box then let them know the rules of the game. In my opinion.
Given the context, it seems like "warehouse" in parent's comment was more specifically "data warehouse": http://en.m.wikipedia.org/wiki/Data_warehouse

While I couldn't quickly find anything that speaks to any kind of average or normal size of a data warehouse, this article mentions Facebook's being around 300PB: https://code.facebook.com/posts/229861827208629/scaling-the-...
facebook doesnt exist to "advance the understanding of the human race", it exists to make money

same with google, apple, and every other new age special snowflake company that pretends to be the good guy

publishing these findings can only damage facebook's reputation and business - i can see it now; with two-bit tech journalists citing this paper for the next 10 years as evidence as to why facebook is controlling everyones minds
Another theory is that there are far fewer symbols in Lisp than python or coffeewhatever, making it easier to read.
Do I have any reason to think they aren't running other experiments in secret and selling it? And considering that the US government already takes bids for "persona management" to influence social media, why shouldn't I think they're not a customer?

Facebook, and all centralized social media platforms, are dangerous. Nobody should have this influencing power.
I think it's pretty great. I didn't start programming until relatively late, but the more I study Haskell the more it feels like [an evolved form of] what I imagined programming to be when I was just a kid– busy syntax and all. Admittedly my misconceptions (I'll call them that because had I begun programming as a kid it probably would've been in Smalltalk, HyperCard, or C depending on where I was at the time) are one of the things that scared me away from exploring that path, but I one of the key factors would most certainly have been the tooling. The OP came up in my news feeds earlier today and I took a look at codeworld for the first time. Had that existed while being shown something like Haskell as a kid, I think I would've come back for more.
My 2 cents: http://en.wikipedia.org/wiki/Resistant_starch#Potential_heal.... Dietary fiber (which resistant starch is) is often, by my impression, recommended as part of the diet to improve colonic health.
This is gross, but unsurprising. Facebook hasn't cared about their users in a long time. It's their information not yours, it's their network not yours. It's a systematic way for a third party to manipulate you into doing what they want or what whoever is paying them the most wants.

Ugh, what a scourge on the tech community. Shit like this reflects badly on all of us. Users hate this manipulative crap. Their MySpace days can't come fast enough.
> IDEs weren't a thing until recently (the last 15 or so years).

IDEs originated in the 1970s, and became popular in the 1980s.

> Text-editor devs aren't extinct, just shrinking in numbers.

The line between "text editor" and "IDE" is so blurry now that there's probably not a clear line between text editor devs and IDE devs. (And there's plenty of multilanguage devs whose preference on the "editor-IDE" axis probably varies by language -- certainly the level of tooling sophistication I want with Ruby is different than I want with C# or Java.)

And more and more modern languages have both "doesn't need an IDE as much as older static languages" and "can more easily support IDE tooling than older dynamic languages" as features, so there's plenty of fuel for both sides. I don't think the preference for lighter tooling is dying out.
I don't think that's any better. Please consider removing them and leaving it to people to discover the answers themselves.
Yay, marketing, yay.
> Facebook, and all centralized social media platforms, are dangerous. Nobody should have this influencing power.

I couldn't agree more. That also was not my point.
Freckle ftw, it is great.

However now I just bill all my time as manual hours through oDesk, because it automates the accounting and payment side of things.
While I agree with you, I think you'll be hard pressed to find a money-making company that isn't trying their darnedest to manipulate you into doing what they want (buying their stuff, mostly)
Run like a girl
Yes, it's like Spark (http://spark.apache.org/) and SparkStreaming (http://spark.apache.org/streaming/) combined.

Here are the relevant papers...

* FlumeJava (iterative, data-parallel pipelines like Spark):
http://pages.cs.wisc.edu/~akella/CS838/F12/838-CloudPapers/F...

* MillWheel (fault-tolerant stream processing like SparkStreaming): http://research.google.com/pubs/pub41378.html

Pointers to the IO blog posts...

* "Reimagining developer productivity and data analytics in the cloud"
http://googlecloudplatform.blogspot.com/2014/06/reimagining-...

* "Sneak peek: Google Cloud Dataflow, a Cloud-native data processing service"
http://googlecloudplatform.blogspot.com/2014/06/sneak-peek-g...

The Dataflow-specific talks at Google IO 2014...

* Big data, the Cloud way: Accelerated and simplified
https://www.youtube.com/watch?v=Y0Z58YQSXv0

* The dawn of "Fast Data"
https://www.youtube.com/watch?v=TnLiEWglqHk

* Predicting the future with the Google Cloud Platform
https://www.youtube.com/watch?v=YyvvxFeADh8

* Keynote (starts at Urs Hölzle's segment on Google Cloud)
https://www.youtube.com/watch?v=wtLJPvx7-ys#t=6932
that video is pretty ridiculous. How many wardrobe changes did she need??
I agree with your points, I have seen people use similar justifications for why they have not improved their lives. Which is unfortunate but I think it's the wrong battle.

Many more times I have seen people from middle class or better backgrounds talk about how they got where they were because of hard work or drive or whatever. And then use that as justification for why some social program should be cut, like food stamps. The way I look at it, the "might as well not try" argument harms a few people who have the least influence in society. The "I worked hard and made it so we don't need social programs" argument is made by some of the most influential people and the programs they cut effect millions.
> Gwern, as a LW'er you should know about scope insensitivity and the danger of discounting possible futures.

One of the other things I learned there was not letting the perfect be the enemy of the better.

> But it is something that must -- must!! -- be done by every full node from now until the end of the universe.

Don't be ridiculous. Bitcoin is not going to run from now until the end of the universe.

> How many full nodes do you think there will be in the next 100 billion years?

A relatively small multiple of the number there have been. You seriously think humanity is going to exist for 100 billion years?

> That tool could be just as easy to use.

Yes, this hypothetical tool which does not exist, likely will not anytime soon, and which you certainly are not volunteering to write.
What other people do or have on their profile has no impact on the pride I have in the work I do, and the more widely the profiles are recognized as not useful as any kind of certification the better.
> mixing of HTTP/HTTPS content

This is ALWAYS a bad idea. A few points:

- The only purpose of HTTPS and encrypting communications in general is to prevent MITM attacks.

- If your server is even willing to serve unencrypted requests it exposes your users to sslstrip attacks (http://www.thoughtcrime.org/software/sslstrip/). In reality you still should serve HTTP requests but only to force a redirect to HTTPS. In addition you should use the 'Strict-Transport-Security' header. It's the ONLY way to prevent future sslstrip attacks.

- Even worse, if you don't set the 'secure' flag on session cookies at a minimum (thus forcing logged in users to HTTPS only) you expose your users to session hijacking without even putting up a fight.

- If you aren't going to bother with forcing HTTPS all the time then there's not much point as you've opened up your users to simple sslstrip attacks followed by session hijacking or even worse, script injection or redirects.

One fundamental concept many people seem to forget as well is that the dangers of not encrypting communications extends beyond snooping. Attackers can actually modify the data stream to inject and/or replace content or even redirect users entirely.

Also, even if you only serve secure content yourself but you include insecure content on your page it exposes security vulnerabilities. Let's say you include unencrypted images on your site and you have users that are using a client with an image rendering engine vulnerability that allows remote code execution (this has happened in about every browser). All a MITM has to do is replace the requested image with different content that exploits the vulnerability. Now imagine if you included unencrypted JavaScript that actually does execute on your site (like from a CDN). The possibilities are endless.
I know what I'm supposed to do when my taxi driver starts recommending stocks to me ...

But what do I do when people start describing themselves as "developer evangelists" ?

That has to be some kind of sell signal, right ?
The park... me thinks you live in a bubble and don't know what the average developer day is; believe it or not, most developers don't use git or any kind of distributed source control because most developers aren't working for cool startup's in the valley or on open source projects. Most developers are banging out Java and .Net apps for corporations using some form of centralized version control and not being able to work from 4G in the park isn't a problem they ever face.
Not Chrome either, wasn't sure what the criteria was.
Trying this myself, it returns an error:

s2p: expression #1: extra characters after command (d)

Thankfully, I've never had the job of porting a sed script to Perl, so I'm not exactly sure what that's all about. The docs mention this error, but don't explain what it means,

http://perldoc.perl.org/s2p.html
That kind of snark is best suited for other sites. We try to support one another here, where possible.
(IANAL)

The standard for psychological experimentation would normally be informed medical consent, not the terms and conditions of a commercial contract.

This is the sort of thing that a clinical psychologist could lose their license for.
A good company will consider about growing with its employees. So maybe managers also need to think about what if the candidate says"what will be my biggest risk in work for you, and what steps will you take to mitigate it?"
Cool. Does this mean Google is moving away toward languages that allow for easier use and serialization of closures than in C++ and Java? (For example, Spark uses Scala natively.)
But how will these leading-edge metrics enable us to deliver paradigm shifting solutions to our customers while simultaneously reducing costs and increasing operational efficiency?
If your class has a 30-40% pass rate! you have to blame it more than just on laziness. Actually, I thought laziness was a virtue in Haskell.
I'n sorry bit even insinuating that something like this could remotely stand in for Google Apps is completely insulting to everyone's intelligence.
Am I a terrible person for finding this neither surprising nor unethical? If I had the opportunity to do this study I'd definitely do it – where else are you going to have the opportunity to see insights like that?
Great! We should be congratulating Facebook for this, for several reasons:

1. now Facebook can start designing against this. What design features promote negativity? Where is negativity being inadvertently fostered?
2. now everyone else can benefit from the research as they chose not to keep it private despite the potential PR ramifications like this
3. this is not research more than a few entities in the world can or will do.

Ethically, I don't see the problem. Users already rely on Facebook to tinker with user feeds in a variety of ways, and this tinkering causes them no harm, and may benefit them and all future users. (When the users signed up for Facebook, did they sign an agreement saying 'you agree to be mentally poisoned with rage, frustration, anger and disappointment, without recourse, by anyone you are foolish enough to friend and let flood your feed'? I rather doubt it.) Given that users are already buffeted by countless unpredictable random forces beyond their control or comprehension, what is tweaking one factor going to amount to? This is the same as clinical drug trials: the question should not be whether it is moral to run a trial, the question should always be whether it is moral to not run a trial.

The OP shows no sign of understanding any of this.
FictFact? Who? What? How?
Aaaaand, obviously Perl has CPAN, so there's really no need (except to be evil):

https://metacpan.org/pod/CljPerl

(there's a few, actually, because TIMTOWTDI!)
True, though then we are waiting and hoping for features. Another example of some runtime fun: my debug build swizzles interceptors for common UI lifecycle and action methods (viewDidLoad, didMoveToParentViewController:, sendAction:to:forEvent:, etc). When I am working on an app with many views, a simple glance at the console shows me what view controller displayed, what action a button fired and so on. Great for getting to relevant code quickly.
I don't think I could hope for this as a standard feature of a language.
> When you're doing a ground-up rewrite, it makes sense to get the basics working first.

And you do that in alpha phases. You don't replace working software with inferior, incomplete software.

At least, that's what is supposed to happen. I have no idea why people think it's reasonable to downgrade users to a new version that has fewer features and expect the users to use the new, inferior version while waiting for the equivalent features to be restored. I would say that it's greed, the desire to sell new software at lower development costs for more profit, but since the FOSS community has been one of the worst offenders in this regard (KDE 4, GNOME 3), I guess it's not that simple. Maybe some other factors are laziness, irresponsibility, and lack of pride in craftsmanship.
“Listening tests, primarily designed by and for western-european white men, and using the music they liked, were used to refine the encoder.”

Not to be oversensitive, but would it be okay to say something like this if Fraunhofer IIS were in... Japan or something, and they happened to find a lot of Japanese people who liked Japanese music for listening tests?

“Listening tests, primarily designed by and for east-asian yellow men, and using the music they liked, were used to refine the encoder.” Would probably come off a bit rougher, ね？

FWIW the tracks were interesting to listen to, and I've had fun doing this as well. I recommend trying it with the Opus codec. As for the sensibilities of the author, I hope they can get over their paranoia about audio codecs being an ethnocentric conspiracy to destroy "the sounds they didn't want us to hear".
Hi there, I promise I spelled your name right this time - it's me :)
This Guy Definitely Has More CPUs Than You Do
For those that missed it, similar discussion on this a couple of days ago: https://news.ycombinator.com/item?id=7947782
Understanding the LZ4 Memory Corruption Vulnerability: You Don't Play Right
I was looking for an announcement that Google was switching its big data to Haskell (harder to fake).
Why are people downvoting your comments? Is there a pro-Apple, anti-FOSS element here?

The more time I spend on web sites with voting, the more I think upvoting should be the only option.
People who are about to have the rug pulled out from under them might want to check out Digikam. Version 4 was released in May.