skysight-inc/HackerNews huggingface dataset:
> Do you feel despair when you step on ants on the sidewalk?

Well no, but neither do I go out of my way to step on them. And I don't see that we'll be so very, very far behind these beings that they're not even capable of recognising we're sentient. Indeed, with all their technology, they should be even more aware of the potential sentience of life than we are.

In the last 100 years or so, humanity has made great strides towards its treatment of lesser animals - we have a long way to go, but it wouldn't be unreasonable to set a goal of zero intentional animal cruelty by 2100. I'd expect technologically advanced aliens to be similarly advanced ethically, or if they do wipe us out, it would at least be deliberate (eg 'the killing star' logic).
Google IO 2014: 10 things we expect
My example has nothing to do with decimal rounding. It's an example of a product (6172293634027511 * 7059478094414279) whose result is extremely close to the fence between two representable numbers (4837593847918366.5 * 2^53). If the 106-bit product happened to be 2 units smaller, then the rounded result would change.
I read the grandparent as being a parody of how the stereotypical engineer thinks. Poe's law in action?
Original TechCrunch source: http://techcrunch.com/2014/05/05/mink-is-a-3d-printer-for-ma...

The comments on that article are very interesting, as they assert that the product isn't finished and the demo was extremely hacked together.
Also, most people have no idea the type and variety of foods you can continue to eat while on an extreme low carb diet:

http://www.reddit.com/r/ketorecipes/top/
Control-R with fuzzy searching never seemed to work as well as I wanted to.

Also, you should setup some aliases :)
Yes, obviously we do that, but after the feature is working. It's not practical to write it before implementing it at least with the stack I'm working on currently. We use Selenium+Protractor for integration tests, and these tests are implementation specific.
Popular is not the same as good. (a lesson that the internet learns repeatedly)
While I am watching the development of LightTable with interest, it seems to me that the example used in the OP is missing the forest for the trees. It isn't hard to imagine Anon Intern managing to cobble together a solution for lunch_app that isn't an 'app' at all, just a form created with a builder like WuFoo or Google Forms, and some 'recipes' in a tool like IFTTT that has built in integration points for email, the accounting system, etc.

Arguably this wouldn't much of an improvement over the VB6 + Access status quo (or Visual FoxPro, or FileMaker Pro, etc), except that the individual components can be much more robust and scalable, monitored, auditable, and so on, without Anon Intern having to worry about any of that.
By Microsoft admin rights, I guess they mean Windows admin rights. Otherwise it doesn't make any sense.
Hey, why the p90x hate? P90x is not the most hypertrophy inducing workout in the world by a long shot, but for fat loss, some muscle increases, vaso-dialation which will help when you go heavy again, and flexibility, it's one of my favorite "all around" programs.
To give an example let's say you have a mailing list with 1000 people and you want to send out notification. You push "notify " button, but you don't want to wait for your app to go through 1000 people and send them email until it responds again. You also don't want to wait until midnight for crontab to start processing all requests.

Background jobs takes that 1000 deliveries job and puts it into the background queue, then a worker starts sending those emails right away. Meanwhile your app returns from your request instantly so you can continue doing what you were doing while the job is executed in the background.
WhatsApp removed from Windows Phone Store, will return after fixes
How many extra calories does ketosis burn? I've read that it's only about 300 per day.

Again - I suspect that most low carb diets work because you're eating less calories. Mainly because people don't realise how many calories there are in carbohydrates.
I think you misunderstood what I said. I only facetiously pointed out that given these projects lack funding one could conclude that there is no super rich person on this planet which cares about extraterrestrial life (e.g. as a hobby).
Monads

Or more specifically, how non-intuitive it is to use the IO stuff

I don't care what it uses, or what is it called, I care about being able to use it with what I know

So yeah, I'll go for Go instead of Haskell
Clib: Package manager for C
I'll just file this under "No shit sherlock".

Really, is it any surprise to anyone here that if you give employees less rope it's harder for them to hang themselves? For employees that need admin so that they can install programs and modify settings you simply have a "Here is admin access but don't come to us if you break it" policy.

This article seems painfully obvious and doesn't belong on HN IMHO.
Informative:
http://www.wisegeek.com/what-does-200-calories-look-like.htm
http://www.mendosa.com/satiety.htm
http://healthyeating.sfgate.com/foods-high-satiation-3799.ht...

Imho the easiest way by far to lose weight is eat foods that combine low carb + high satiation index.
Brilliant. I'm a little surprised at how exciting this is. I can foresee some opportunities to make serious changes in how I communicate at work. Now I just need to figure out some Android support.
Or ssh host shortnames! http://davidwinter.me/articles/2010/08/22/setting-up-ssh-hos...
I'm glad. It was getting silly. Idea Sunday, then someone tried Something Thursday and so on.
Didn't know Guido thought of static type checking such a long time ago.
I'm thinking now that one solution to two problems (this one, and slow python 3 adoption) would have been to include optional static typing (like in dart) in python 3.
It's not the same as bad, either. It means users are engaged with the site and want to share their ideas, projects and experiences on a regular basis. It should be encouraged. Not killed because it might make the site superficially too much like Reddit.
Ghost rockets
We also have two more in-depth (and harder) courses on ML with publicly available slides:

* Machine Learning and Pattern Recognition: http://www.inf.ed.ac.uk/teaching/courses/mlpr/

* Probabilistic Modelling and Reasoning: http://www.inf.ed.ac.uk/teaching/courses/pmr/

Unfortunately video lectures are often only available internally.
I think that some people (including me) are a bit disappointed that some(most?) of your effort goes to Aurora instead of LightTable. Don't get me wrong, Aurora sounds cool but for professional programmers LightTable is much more appealing.
I injured myself doing deadlifts. I was following Starting Strength with a trainer that went through Rippletoe's program. I was at 315 when I pulled a hamstring. It wasn't the first time I'd done 315, but that time was when I got injured. Form was perfect, everything was right.

When you're lifting heavy, not even good form will keep you from getting injured. It's a fact of life.
Way too much simplifying, what if:
1. Web app got same performance as native.
2. There would no be a feature gap (e.g. payment access to hardware).

We already see that web apps are eating native on desktop, where both 1&2 are not that important.
Didn't jemalloc get reintegrated as well?
Ask HN: Engineers' hatred toward working at e-commerce startups
I've come across a lot of developers who would tell me that the last startup they want to work at is an e-commerce based one. What are the main reasons for wanting to work at a company like Twitter or Dropbox instead of Gilt or Birchbox?
> As the National Science Foundation (NSF), which owns Arecibo Observatory, cannot legally carry insurance on its facilities, there is no clear source of funding to carry out such a massive repair.

This seems so absurd. Why cant NSF facilities be insured?
Bitcoin is a currency – we need tools to reflect that.
Thats the thing, So I get that it gives you network aware Fork() Its just the scheduling is a bit, well, lacking.

In my datacenter, we run dirty cheap iron. The only thing special are the core switches(lots and lots of ten gig ports, to cope with the petabytes that we shove across it daily)

we use standard linux tools, sharded posix file systems with a decent task dispatcher that understands dependencies.
> Wouldn't predators just sync up with them otherwise?

Not easily. They need to get the frequency and phase correct, which is probably hard to do with decade long cycles. If they align with the cycle but are out of phase they never match. If they "choose" another cycle they'll only match at best at twice the period, so 30 year cycles. That probably makes it very hard for any predator species to specialize on them, although not of taking advantage of them when they do happen to be around.
That makes sense. Mucho appreciado :-)
The actual numbers are interesting, also IMHO.
The "study" looks like spam to me: http://learn.avecto.com/2013-microsoft-vulnerabilities-repor...
What else could they do with super-riches? shrug

Ultimately, as evidenced by history, most super-rich reach a stage of life where they realise the riches in themselves were just a way to keep score and large philanthropic contributions ensue.

It's a serious philosophical question; once [1] family financial security and [2]a high quality of life has been secured there is very little left to spend money on other than initiatives that benefit mankind or the natural world.
AFAIK, doesn't the entire federal government self-insure?
Well, yeah, there are a number of countries that have their own parallels to some or all aspects of the US motivations for the war on drugs -- particularly as part of a broader militaristic centralization of authority, the racism involved in the US war on drugs is a less-common motivation -- and don't need to be pressured by the US. There's also religious authoritarianism in, e.g., the Islamic world, though that often overlaps with militaristic centralization.

My point was that a lot of the countries where there may not be direct domestic parallels to the US motivations still have a War on Drugs as a product of the same motivations because they do so as a result of US pressure.
P90X is a perfectly fine workout. His gripe was the boot lieutenant dipshit who sees it on TV, gets the DVD, and decides that he's going to "revolutionize" the unit's PT program. Add in a bunch of moto-jargon and self-righteousness, and you get hilarity.
How is it simple to have a "don't come to us" policy? Who should they then come to? A hundred different people trying to fix a problem they don't really understand a hundred different ways is probably going to do more damage in the long run.
> haven't read the papers

I've never needed to read a paper to understand any other language. If I need one to learn Haskell, that's an immediate downside.
But mandatory minimums just raise the stakes of prosecutors choosing among overlapping potential charges based on affinity, and remove the ability of courts to compensate for that. So they do the opposite of preventing sentencing based on affinity,by changing the point of the process in which affinity applies to dictate sentencing.
Good idea, but it seems like that idea is serving a different market. It feels like there's room for both.
A sub-plot of Episode 3 of Silicon Valley; a genius one at that.

http://valleywag.gawker.com/the-peter-thiel-sesame-seed-scen...
As a somewhat new python programmer (~2 years) coming from statically compiled languages like C#, C++ and Pascal this is something I have thought about a lot. My initial impulse was to wish I had static type checking. But I have come to the conclusion that I just hadn't fully appreciated the differences between interpreted and compiled languages.

The article says that the lack of type checking "lets through" a certain class of errors. However, let's be specific here: there is no build-time static analysis phase in the transformation of python source to executable code. So "lets through" means the same thing whether you have strong typing or not: the error is going to be found at runtime. What we're really talking about, then, is converting AttributeError ("YourObject has no attribute 'startswith'") into something more specific ("Hey, this is supposed to be a string!"). Honestly, that seems to me to be a pretty minor increase in diagnostic information.

So the bottom line for me is that I feel I didn't really understand duck typing. I used to joke that the term actually meant "no typing," and that is in some respects true. But what it really means is "the thing can do what the method expects it to be able to do." If the thing can't serve in the expected role, then the existing errors that result are sufficiently explanatory, imo.
> There is nothing special about map and filter, they are not idiomatic Python because there are better ways to do the same things.

True, list comprehension is often used instead. But a complete typing system should be able to type-check that too. The point is not changed.

Also, I only used map and filter as an example. Python programmers tend to write a lot of generics functions without actually knowing it.

def f(g, *args):
...
r = g(*args)
...
return r

This function is actually quite generic, akin to map.

And we are not yet getting into the realm of "trait" or "concept" or "typeclass" or whatever.

def sum(*nums):
s = 0
for n in nums:
s += n
return s

Remember, although s is definitely an int, s + n may yield some completely unrelated type if n implements __radd__. The function here involves potentially infinite number of types, and their __add__ or __radd__ traits (reusing the name of the Python magic method). To fully express its type without unnecessary constraints is an interesting exercise. Since Python allows dynamic parameter list building (like sum(*nums)), dependent typing may be necessary for that purpose.
Jest[1], the JavaScript testing framework used at Facebook attempts to lessen two of the mentionned impacts of TDD

> TDD works best with fast tests and rapid feedback. In search of speed, some people use mocks in a way that locks their production code in place. Ironically, this makes refactoring very difficult, which prevents designs from being improved.

Jest automatically generates mocks for you. This reduces the cost invested in writing mocks and therefore lessen the burden of refactoring your code. But if you change the interface of your module, the generated mock will change and break all the tests that depends on it. Which is good!

> Also in search of speed, some people make very elaborate dependency-injection tools and structures, as well as unnecessary interfaces or classes, just so they can mock out dependencies for testing. This leads to overly complex, hard to understand code.

By mocking at the module system level, most of your code is able to be mocked without doing important refactoring.

[1] http://facebook.github.io/jest/
Well, an employee wrecking their PC might not be something that the IT department is required to handle, but if malware spreads across the company’s network of course the IT department needs to handle it.
“Free” as in “we own your IP”
Package for what? It doesn't specify a particular type of package its "rules" are meant for.
Healthy exercise is something you recover from quickly. If your dead the next day chances are you did more harm than good. When learning a new technique your better off using 1/2 the weight and 1/2 the reps than pushing yourself because avoiding injury is worth far more in the long run than pushing your self.
People complaining that deadlifts are dangerous generlaly think it's going to irreversibly destroy your back, not result in a pulled muscle that will heal in a week or two. That's what I was addressing.
Another way to take advantage of ctrl+r is to add a comment at the end of the line when you have very similar commands. e.g.
ssh fred@127.0.0.1 #servername
ffmpeg -some -long -incantation #vid2mp3
It's better than an alias or function in your rc file as you can easily edit to change some args
Is.gd url shortening service is down
I can see your point but ultimately - if your gym is doing different workouts from the WOD including rock climbing then you are CrossFit in name only.

A baseline of CrossFit has to be established. Exceptionally niche and unique workouts from (good) training staff are not really what is being discussed.

Like you said; it is the popular form.
ultra-low to no carb on a daily basis has severe issues with it as well. Things like carb-cycling, or low (but not ultra-low) attempt to address those issues.

The main points being (1) brain needs glucose, can't fuel any other way (2) glucose is needed for maximum muscle response so if you are fit/athletic in any way you can be short-changing your performance if you have no glycogen stores to tap for "burst fuel"
That is a metaphor to represent how one side is assumed to be passive that needs to be persuaded by harder work. Being pushed into the friendzone is often portrayed as a failure of the suitor to follow a prescribed protocol (being more insistent at fist, etc.).
Data Science at Twitch – CEO Perspective: Emmett Shear Interview
Python REPL?

Is there something I need to do to enable that?
Right so its only by going to the Github repo and looking through the readme that I discovered

> tells if your idea for a Go package name is shit

and yet nowhere else does it mention about being Go specific.
Not often I can read an essay that leaves me at the same time so excited and so disappointed.

Excited because I found myself agreeing with every point: isn't it obvious to everyone that the programming experience could be so much better? We created wonderful tools for graphical expression and number crunching, that keep getting better [1] [2], while our own day-to-day tools remain basically in a rut.

Disappointed because it seems LightTable is foregoing an incremental path to reach the goal, choosing the boil-the-ocean approach. We do need more long term start-from-scratch rethink everything kind of projects; like what VPRI's STEPS project aims to achieve [3]. But there is a lot that can be done to improve the programming experience today, and I don't see enough work in this area. IMO, the latest meaningful improvement in software development tooling was Intellij Idea around 2001 (arguably the functional programming renaissance represents another meaningful improvement, but the real breakthroughs there happened in the 70s). LightTable moving to the Blue plane leaves the PinkPlane unattended.

[1] http://www.adobe.com/technology/projects/content-aware-fill....
[2] https://www.youtube.com/watch?v=UccfqwwOCoY
[3] http://www.viewpointsresearch.org/html/writings.php
Better access to the labour market probably had a more profound influence on traditional marriage.
The issue is about when the error is discovered.

You can have "duck typing" in Haskell, for example, using type-classes.

Instead of "letting the errors through" to run-time, you detect them at compile-time.
Very cool! The last time I saw one of these was approximately twenty years ago. It was covered with dust and lying under a workbench in the back of some machine shop in a little town in Israel.
Ask HN: 1 day in SF, what do see on the tech scene?
If you had one day in San Francisco and Silicon Valley, what would you do, visit, or experience?

More: I will be arriving in San Francisco for a weekend conference in early June, and will have a free Friday to play and explore. I've seen several fantastic landmarks and tourist spots on previous trips, but would love to check out a bit more what SV is like and the companies that create the pulse of the area.

Thoughts and suggestions?
Anyone out here that's using TapTalk and can comment on it's quality? Is it useful/fun? What makes it better than Snapchat?
>brain needs glucose, can't fuel any other way

Not so: the brain can be fueled by ketone bodies, which the liver can create from fat.

P.S. I agree with your larger point that avoiding all carbs for many days at a time should only be done by people who have informed themselves of the risks (acidosis and kidney stones).
Yes, but I am talking about python as it is now, not what it might be if it combined the features of other languages. I don't know anything beyond the most basic characteristics of Haskell, so I can't really comment further.
Show HN: A Ruby on Rails learning checklist for newbs
I've had so many people ask me for a structured checklist of how to get into Rails from scratch (no programming experience), so I decided to put this together. Hope it is helpful to some people.
Locked and Loaded
> minimum wage

Ahem. Don't be so sure.

"Twenty [NYC] public-school janitors rake in more than $140,000 a year — far more than the teachers whose classrooms get tidied up, records show."

http://nypost.com/2010/11/08/janitors-clean-up/

And as for "negotiating the contract":

"Four years later, Mayor Bloomberg’s attempt to privatize services at more than 100 schools was defeated by a lawsuit filed by the Local 891 custodial union, which has 850 members."
Rails 4.x was originally supposed to come with a Queueing API, but it was delayed/removed for reasons. It's nice to see this being picked back up and implemented. There's a ton of fragmentation out there in terms of background job libraries, there's also a lot of apps still using DelayedJob and others that "can't" upgrade to something better such as Sidekiq due to the sheer amount of work required. Standardizing on an API for this will help a lot and enable easily moving to the Latest and Greatest™ queueing library.
Chances are this will just be another example we can cite of why you don't need software patents - a tacky Facebook clone of snapchat was never going to take off, they probably can't do it this time either. Then again, actually rolling it into their messenger app that people actually use might be a smart improvement on last time.
Pick up Starting Strength by Mark Rippetoe that's mentioned elsewhere in this thread. Form goes a lot farther when you understand the why rather than just trying to replicate it. The book does an extremely good job of explaining the biomechanics behind the movements and what makes proper form proper.

Having a trainer to make sure what you're actually doing matches what you think you're doing is definitely a good thing, but going in informed may make you less nervous.
Because carbs are not created equal.

Fructose is much more of a problem than glucose. Here's a video from one of the authors referenced in the article that explains the two metabolisms in depth:

http://www.youtube.com/watch?v=dBnniua6-oM

Besides whether they eat processed food or not, look into what they drink and what they have for desert in particular. In e.g. Italy or France, consumption of soda or fruit juice is low, and deserts are small and refined when it's not a simple fruit.

It's a completely different story in e.g. the UK where they binge on soda, candy, and sugary chocolate, Malta where they binge on a local soft drink so sweet your entire body is sweating with sugar from merely tasting it or Hungary where they frequently eat sweet bread and enormous sugary cakes.
I would just add that insects often make up a small but important part of many herbivores diet.
Most sysadmins don't want to give users admin rights on their machines. But the problem occurs when there's software (especially software written for previous versions of Windows) that requires admin access to run. Management doesn't wanna hear it about "privilege separation" and "principle of least privilege." Bob in Accounting needs Quickbooks to work right now.

Then, there are the senior managers who know enough to know that they want admin access so they can do whatever, but not how to protect themselves. They're gonna call your boss, who's gonna tell you to give them admin access. And WHEN something goes wrong, guess who gets the blame?

I don't miss those days...
Type

python

in your shell?