skysight-inc/HackerNews huggingface dataset:
Why so much code for a single button?

<table id="btn_table" style="padding-bottom:10px" height="300" width="300">
<tbody><tr><td style="cursor:pointer; background-image: url(img/button.png); background-repeat:no-repeat;" onclick="pushbutton()" height="300" align="center" valign="middle">
<table height="250" cellpadding="0" cellspacing="0" width="250"><tbody><tr><td align="center" valign="middle"><span id="btn_text" style="width:250px; word-wrap:break-word; color:#ffffff; text-align:center; font-family: Arial bold, Helvetica, sans serif; font-size:36px"></span></td></tr></tbody></table>
</td></tr>
</tbody></table>
So you can show off your food cooking on your phone to (hopefully) envious commoners who can't afford to spend whatever this costs on an oven.

- Signed, an envious commoner.
Brazilian developers, learn about Mindfulness [video]
Aha, thanks for teaching me how to do this!
Only the two lines starting with ex1 for heterogeneous if and the two lines starting with ex2 for heterogeneous lists are directly comparable to the Python examples. The rest is just defining what a boolean is, what a natural number is, what a character is, what if is, what a list is, what a heterogeneous list is, etc., to provide a full foundation for the examples.
Free Service Compares Components (starting with Microphones)
Musician here. It's possible to record your own album, book your own gigs, be your own marketing department, and make a living wage from it. Just like it's possible to ride a unicycle over a tightrope across the grand canyon. Of course, even with a label, you have as good of a chance making good money from original songs as you do being struck by lightning.

Most artists who were successful at the DIY thing got fame with a major label at some point (Trent Reznor, Radiohead, etc). So as long as artists depend on labels to get their music heard, labels are going to dictate copyrights and licensing to a degree.
Apple's open source Swift needs a governance model
Thanks for the suggestion. I think I'll add another chapter at the end that walks through a longer example start-to-finish.
The Computer Scientist who can't code
It is Qt 4.8 based, there is clearly zero intention of remerging it. They changed the build system!

There are lots of people seeking to repackage Qt's work, add their own spin (pittance of work) and then attempt to profit off of it as a discrete product.
Actually, my experience (Indian-American, brought up in the States but currently studying in India), is sort of the opposite.

Americans inculcate a _lot_ more independence than Indians do.

For example, in the US:

- Kids often get jobs and earn their own pocket money at 13+. It's the norm in most places after 16.

- Kids fund their own education

- After 18, there's an expectation in many families that the child will leave and become independent (or at least start paying rent)

- Kids generally make their own life decisions

- This reverses in old age; "old people's homes" are common in the US. After retirement, parents stay separate, and if they're unable to take care of themselves will often move into one of these. Nuclear families are common

In India:

- Middle class kids will not earn until 18, mostly not until after college. When they do earn it's something you can brag about. Definitely not the norm.

- Education is funded by parents. I earned a lot of money last year (I'm a college student). When my friends asked me what I intended to do with it, I got quizzical looks when I said that I was repaying my education. (Higher ed isn't particularly expensive here, but it's not cheap either, and I sort of wanted to start being more independent)

- It is perfectly fine to stay home till ... forever.

- Life decisions are made by the family, sometimes. Marriage is an example of this (though arguably there's a lot of legacy cultural reasons behind that). But career choices are too. A ton of the folks in my college are there because their family wanted them to study engineering.

- Kids take care of their parents as they get older. Extended families are common.

YMMV, of course, but this is commonly how things go from talking with my peers in both countries. Perhaps what you're noticing is a difference in generations, not in countries. Parents are universally more involved in the minutae of their children's lives than they used to be in the past.
Seems like a fun idea, and it potentially allows really precise cooking with the internal probes too. Hopefully they don't go to overboard with the social media and wireless connection and focus on making something practical in the kitchen.

For example, including over the air updates. I am imagining an XBox like scenario where you just want to cook dinner but you have to wait 20 minutes for it to update.
Announcing SparkR: R on Spark
You actually get a /56 if you ask for it (dhclient -6 -P -N -v -i em1 or somesuch )
To be able to identify the food you put into it using machine vision. Now, any idea why an oven needs to identify the food you put into it?
Looks like the Fresh command wasn't registered in the ArtisanServiceProvider. I have a PR open to fix this. https://github.com/laravel/framework/pull/9161
Maybe I should have tried that instead of "Smite My Enemies" huh.
"shows that the author knows their way around..."

Indeed. The OP author used to perform precisely this kind of data analysis for a hedge fund that invested in residential mortgage securities.
And Android M has a vertical app drawer by default.
I clicked it 3 times so my EV would be 1.
> That means, if I give you a placebo, and tell you it's a placebo, there's a 1 in 3 chance it will help alleviate symptoms of whatever I say it's for.

I've seen this avert bad trips.

"This is a coin. It's just a regular coin from my pocket, but I want you to carry, and know that as long as you carry this coin - for the rest of the night - you'll be safe."
That's a useless reply. I was kind of hoping you'd expand on how you thought such a system would work (you could imagine something with a trust network of third party escrow, for example).

Try thinking more about your own arguments and how they might practically be applied.
I like the idea they present in the post: "We want to let users build and deploy applications whose components span entire datacenters, but with the simplicity of programming for a single machine." Unfortunately in my experience that isn't a reality. DCOS / Marathon do not provide the necessary components to really make this feasible. Sure your operations team can tie in Mesos-DNS / Bamboo / Consul / whatever else, but that completely negates the statement, while also requiring a specialized team. Even when tying in these third party tools, it is likely you will have to make significant code updates to utilize features such as service-discovery / SRV records.

It seems like Mesosphere's real innovation is a wrapper around Mesos with a pretty UI sitting on top. Many operations teams will still require standing up their own environment to install necessary packages for compliance, etc. At that point what makes the DCOS install easier than Mesos? By creating this wrapper around Mesos, it seems like the issue they present: "needing a team of distributed systems experts", is simply changed to needing a team of DCOS / Marathon experts. Having a team of DCOS experts will not replace your operations team.

In my opinion most of the selling points mentioned in the article are really Mesos benefits, rather than anything DCOS itself provides. The image in the article with features of the Enterprise Edition only really provides 3 benefits over Mesos itself:

* Platinum 24x7x365 support (which is hopefully better than what I've experienced thus far with Marathon)
* Emergency Patches
* Professional Training

I am not sure why teams would pay for an annual per-node Enterprise Edition of DCOS when they are just as capable of deploying Mesos themselves. Either way they are ending up with a hobbled-together system needing serious support from an operations team.
Out of curiosity, how often is it standard to be paid where you are from?

I've been paid twice monthly, and monthly. I also know of people being paid weekly.
Scorched earth was another one around that time that had an environment you could destroy. Our token ring network got a lot of use from just those two.

The thing I remember about lemmings was the frantic feeling of them just pouring in and having to time things right.
and Nocebo (the opposite) works, too. so i think it's possible that both works, it's just because it happens with our unconscious mind so it's hard to justify or falsify.
SecDevOps 2.0 – Managing Your Robot Army [SLIDESHARE]
in pro audio equipment, there is often a flashy colored button on the panel, unmarked, that the documentation call the "client button". it does absolutely nothing, and the manufacturer suggest you press it when the client is annoying you for "more weight" or "more color" or some other nonsense.
Very promising! Thanks to Mike Roberts & the Intent Media Engineering Team. Looking into this now, since we're adding Spark support.
I for one don't use a huge number of tabs because of the poor browser support for it...

I suspect a lot more users would use a lot more tabs if it were actually convenient to do so.
Because they're not a web developer?
Give it a try! The output file contains both very low frequencies and also frequencies up to Nyquist, in this case 24kHz.
Unfortunately not. And nor can I remember what I exactly wrote. I believe it was along the lines that swapping floating rates by guaranteeing fixed rates was a subsidy based on term risk premium that might not work out especially now (2001) given flat yield curves (that got flatter); volatility risk (of stuff, not sure what, but pretty sure I mentioned it) was not compensated; and that the data presented was not sufficient to make sense of this in the 'long run' which was long enough to know 20 years was not that long.

I did OK in most of the above. Came back with piles of red ink mainly focusing on how an argument could be made better vis grammar, phrasing. The main judge (for this interview) seemed power of argument, read as one may.
They're going to need some serious volume to source those K1s from nvidia.
Why you shouldn't worry about a robot stealing your job
Are we now going to have ovens with social media accounts?
I want to hear John Syracusa do a review of this oven.
I have used both languages quite a bit. What I miss from Clojure when doing Haskell is having access to a seemingly infinite collection of libraries (thanks to the JVM/maven/etc). There are of course many libraries on Hackage but the JVM ecosystem dwarfs most others.
Apple Watch OS and the Makings of a Smartphone on Your Wrist
> Any idea why an oven needs an "NVIDIA Tegra K1 with 2.3 GHz quad-core processor and 192 CUDA GPU cores"?

Obviously, to power the food identification, analysis, and cooking program recommendation system that makes it a "Smart Oven".
Wrong game. Go here:

http://orteil.dashnet.org/cookieclicker/
A Machine for Keeping Secrets?
Opening up the hardware on Apple Watch is a big step for the next generation of smartwatches.
It's an obscure fork of a massive project, on an outdated version, with no chance of further support, no VCS, no discussions, no background and no author here to back any of it up.

The negativity really shouldn't be a surprise.
Stripe Dashboard for iPhone
Standardized testing is not a great equalizer. It is a great way to maintain the status quo though. Paying for GRE classes can raise your GRE scores. Historically, IQ tests have "proven" that whites are smarter than other races.
Really excited to see where this project goes. Has the best "to production" story I've seen from any of the batch/streaming frameworks.
> So-called agent-based models attempt to model the behavior of individual borrowers at the micro-level, then simulate many agents interacting and making individual decisions, before aggregating into a final prediction. The agent-based approach can be computationally much more complicated, but at least in my opinion it seems like a model based on traditional statistical techniques will never explain phenomena like the housing bubble and financial crisis, whereas a well-formulated agent-based model at least has a fighting chance.

Can anyone unpack this a bit? By my (fuzzy) understanding, this was something a lot of people thought in the 80's with neural networks but there wasn't a lot of theory to back it up. Later, applied math people introduced the kernel SVM which could solve non-linear problems with power equivalent to neural networks [0]. RNNs are back in style now (and a lot more theory has been developed), but is this the type of agent-based model that would be useful for this problem and why so?

[0]: http://www.scm.keele.ac.uk/staff/p_andras/PAnpl2002.pdf
Show HN: FLP Impossibility Theorem Proof in Coq
> That would leave you with Kotlin/Groovy/Clojure/Scala for the view layer of your Android app if you choose not use Java

> when you can use better languages like Kotlin, Scala, Groovy, Clojure is asinine

You seem to be piggybacking an aspiring JVM language (Kotlin) on top of three other alternative ones that have already made it (Scala,Groovy,Clojure). Because that trick's already been done before with them (i.e. Groovy piggybacked on the quality of Scala and Clojure), it makes your list of examples of alternative JVM languages seem disingenuous.
> You can also stream the video to your iPhone - allowing you to post time lapses of your roast chicken to Vine I suppose.

I think the main selling point of streaming HD video is it allows you to check visual indicators of doneness without walking over to the oven.
Wait... So was Zenefits scraping ADP's RUN portal?
I already have begun levitating...In just a few days, I will finally be able to fly--just like Superman.
I'm currently working on an app that I plan to host on DigitalOcean. I plan to do support on my own at first, but if it takes off, this seems like a great feature to have.
Would you mind removing or moving all of the position:fixed stuff on the left? Makes it impossible to read the site on mobile.
a digital button might just be a trigger for some force inside our minds

Yup. Proof of that right here:

https://www.reddit.com/r/thebutton/

Oh, wait, the experiment ended? The button finally hit 0!

http://www.redditblog.com/2015/06/the-button-has-ended.html

The game is over? Everyone will go back to their lives? Not quite.....

https://www.reddit.com/r/buttonaftermath
Well atleast in Metros even if you are speaking in Hindi, you usually say thank you instead of "shukriyaa".

Pretty much everyone in Indian metro cities understands simple English words like Hi, Hello, OK, Bye, Thank you.

Coming back to your question then yes "shukriyaa" can be used instead of "thanks". "shukriyaa" is less formal than "dhanyavaad"
Information Security Training Shouldn't Stop at the Data Center Door
I don't know. A good smiting does wonders for the soul.
Why Django Sucks(PyCon 2015)
I looked at this a couple of days agao and I swear it was in the 470s... The US police have killed more civilians in 6 months than the UK forces lost in the whole of the Afghanistan campaign which lasted 14 years.

I mentioned this on twitter a couple of days ago when I first looked and some guy popped up making comparisons with the number of people who fall off ladders. You guys have a serious problem!
I typed up "Placebo Effect" in the little box, clicked, and - wouldn't you know it - I felt cured from Placebo Effect instantly!
A Git GUI Tool: FactCommit Pre-Release
I really wish that the airport extreme routers would expose an itunes home sharing service, so that those of us with laptops and way too much music/videos could stream to airport express/appletv/itunes home sharing without having to have a machine dedicated to the task.
I hope they don't put it on a single IO-constrained box
Why not? You can have it Instagram your dinner without even having to take it out of the oven.
The best minds of my generation are wasting their lives tweeting, facebooking or reading blogs
Author here. I would be happy to get proof review.
By tagging I mean adding a bunch of tags describing for what the snippet is useful.

Exmeple : #js (more or less obvious from the filetype) #googlemapsapi for a snippet which would show how to use the google maps API

Then you would have a page with a tag cloud which allows to easily filter all the snippets (or that could be used in search).

Quite close to the way tagging works in stackoverflow for instance
The oven can tell the difference between beef and pork.

http://www.theverge.com/2015/6/9/8751947/june-oven-identify-...
At first glance it looks really neat, but I was disappointed to see that this doesn't have combi oven functionality. For the price I would guess this would retail at, I wouldn't be willing to buy this over a combi oven.

edit: I missed that the MSRP is $3000. I was right, I'm not willing to consider this over a (for example) nice built-in Wolf combi oven in the same price bracket. I'll also argue most people would be better served with a combi oven over this device. There are some neat ideas here, but I don't get the appeal.
Have just started learning Swift. Have favourited, and will be sure to give some feedback once I've made my way through the whole thing. Good luck with it!
> mock the filesystem

it's beautiful in theory. but reality goes like this: "i only have this little method. writing mocks will take 5x more time then the code. i will just test the side effects on the functional tests"

then, a year later, the team added a dozen methods that would benefit from the mock, but since you did the first one in functional only, the team just added the new ones there as well.

the end. (because nobody refactor projects for tests)

:(
Want More Fans? Don’t Post More Often
"Easy" is not opposed to "time consuming and tedious". Its quite possible (and common, IME, in programming) for things to be both easy and time consuming, tedious things that need to be done one-off for each particular implementation because you are working with something that, for instance, resists the kind of abstractions that would make it generalizable.

Pretty much anything for which recipe-style cookie-cutter patterns are documented, for instance, fits this description.
> allowing you to post time lapses of your roast chicken to Vine I suppose

People constantly post their nice-looking food to Facebook, I'm sure this will be its main purpose.
And I hoped for a breakthrough in OS research...
The Machine is dehyped.
"but it was pulling sensitive information, including unmasked Social Security numbers and employee banking information"

Did ADP just admit they keep SSN and banking information in plain text on their servers???
I feel like photos, videos, and music are the easiest things to transfer. Just plug the phone into your (or any) computer, copy the photo/video/music folders, and then dump them on the new device if you don't want to use one of Google's upload/download services.

Simple read access to the contents of an Android device was always one of the big "pluses" in my experience. Then if you find that too difficult for whatever reason, there are Google apps that do the same thing. The only bits that can be annoying are app settings as you mentioned. Even that has improved and I notice a lot of that stuff showing up when I sign into a new device. Still, I hope to see some improvement on that front in the future. Third party migration apps (like the one on my Moto X) can do it so Google should definitely offer something similar. It currently works for some settings/data but I'd hope they're working on adding support for more.
Their 'special' price is $1500 if you pre-order. Looks like they want to charge double that after their promo period ends.

Any good cook is not going to need some gimmicky gadget like this and will likely stay clear of this. You could get so many other great tools and more useful gadgety things for what they're asking. Immersion circulator, anyone?
Command line pagerank computation
Developing for iOS Just Got a Whole Lot Cheaper
Inside GoPro’s Ambitious Plan to Connect Their Cameras to the Cloud
Misinterpreted the question, "what do you want your button to do", and typed "Turn red." Needless to say, it turned red.
I typed "make it not so quiet in here" and clicked it. It worked!
Insane Coding: A good idea with bad usage: /dev/urandom
It hit zero multiple times, and they just kept resetting it. I think it just ended with them taking it down.
Any of the down voters, do you care to share why you are down voting? This is the official development guide of Amazon as well.
Ask HN: How to handle tech interviews?
I, including @tptacek and others in the industry, think the coding exercise portion of the tech interview is basically broken. I don't believe that it really measures what people think it measures, and I think there are better ways to do it.

I've been working full-time in the industry for 8+ years, I've got a Github profile with plenty of code samples (full projects, small projects, WIP projects, and snippets -- the whole shebang). I've got a resume that demonstrates that I've A) held jobs for significant periods of time, and B) progressed in my career (e.g. promotions). I've built entire apps for billion dollar companies from scratch. I've led teams of developers to release features and patch bugs. I've got this huge body of work and a laundry list of references that show that not only can I code, I can code well AND do all the other great stuff that employers want. I can talk at length and in great detail about any of those things.

Yet any time I talk to a new company, they put me on the phone with one of their engineers and ask me to prove that I can code by sorting a list or settling a loan or drawing an ASCII spiral, none of which are things that I have to write from scratch on a daily basis.

In short, I join the group that believes the current code exercise thing is broken.

My question is this: As a senior dev with major bodies of work and references a mile long, how do I tell the hiring manager "Thanks, but no thanks. Here's my Github profile, and I'd be happy to walk you through anything I've written" without them just throwing away my resume?

TL;DR: How do I convince potential employers to judge me based on my actual experience and code, rather than contrived coding exercises over Skype?

Thanks for reading.
What did it spoil? Some group of people got hanged?

If it was a spoiler, than you can precisely predict what happens in the show in your next comment.
Tax Deducted at Source, basically the employer deducts the tax before making the payment to the employee

More here http://en.wikipedia.org/wiki/Tax_Deducted_at_Source
Another success route here involves finding Professor Foo of the Interesting Funded Research sometime in the fall or spring, telling Foo that his research is cool, and then asking if you could you help out (volunteer). The answer will likely be "yes", and then, providing you're being a relatively functional person, you're now a strong candidate & provisionally in the rotation for the next blob of funding coming along.

(This has happened in multiple scenarios to various friends and self).
Someone should write a blog with articles like "how to recreate Stripe landing page $X"
E-commerce Tips: Ideas in E-commerce Shipping
After years of using Hadoop, I have been getting more enthusiastic about Spark, and DL4J support sounds great.
6 Ways to Make More Money from Your Mobile App
The Const Liffy C++ Pattern
Check under your mattress :)
MODO 901 free trial available
similarly, I typed 'cure my migraines' and felt relief at the sight of 'Done!'
I'm not sure about wanting to see payment data on the lock screen. Looks like it includes a payment amount and an email address. Isn't that borderline privacy issue? I wouldn't necessarily want my email address displaying on people's lock screens. Or am I just being paranoid?
Probably even slower on my Nexus 5, took some time to show up, and crashed as soon as I clicked on the top search bar. Agreed it's a great thing that we can do it, but I guess I'll have to wait for Firefox OS to become really polished.