skysight-inc/HackerNews huggingface dataset:
Yes, I noticed that curiosity :-) Not intentional!

Luckily there's no need for more permutations - this PEP was accepted. I expect PEPs 534 and 543 to surface at some point, but it isn't likely they will deal with enums.
He already has the programmer lean. I see many good things in his future.
> Food is not just a mechanical source of fuel, surely?

Speak for yourself.

> I couldn't abide eating the same stuff more than a couple of days in a row, let alone every day for weeks at a time.

I've eaten the same lunch every day for well over a year or more at times. Food is fuel; it doesn't have to be a source of entertainment.
They provided a service that would shell into your servers and install the software needed to run your app for you. It was meant to take the burden of writing chef/puppet scripts to build and scale your app environment
Project for someone: provide better sorting, ranking, visualization etc. for food nutrition info. You sometimes see these, not all of them are well done.

OP mentions use of the USDA National Nutrient Database. Here is where you can get a download, plus previous versions and updates from previous versions if you plan to maintain your own database copy over time: http://www.ars.usda.gov/Services/docs.htm?docid=8964
Minor: Intorducing Sleek --> Introducing Sleek
What disgusts you about it, in particular?
Facebook tends to base these ads around collected data and demographics, the targeting is not generally random. Perhaps other sites you've browsed that share data with Facebook's advertising network?

I suppose there's also the possibility of malware replacing FB's ads with their own.
You can make that combination taste good. When cooking your beef, add some garlic, onion, bell pepper (if $$ allows), cumin, oregano, and chili powder. If they're black beans, add cilantro, onion, and garlic. In the rice, saute the dry rice in a few teaspoons of olive oil before adding water, and replace some of the water with lime juice. Now you basically have a simplified Chipotle burrito bowl. Garnish with avocado, cilantro, pico de gallo, etc.
I did as well, and still got the error. I'm now getting the home page, but that doesn't necessarily mean the site's fully back up.
I'd say yes. Obviously it's not a challenge easily solved and thus requires custom engineering and creative solutions. It's probably not a breakthrough of epic proportions, but it certainly educated multiple teams of young engineers to explore novel solutions, something they'll maybe have good use for later. That's how it is with challenges - they may or may not have major impact on the body of knowledge, but they all add a little at least, pushing the envelope further (think: X-Price)
Don't Go To College Unless You're Going To Graduate
I got so much flack for suggesting a year ago on a repo. The 'maintainer' came back with the point that he/she gave commit access to everyone-ish. The problem with that is you will get very aggressive individuals who will commit, and then others who will revert and this cat<->mouse game continues on until the community suffers, the project dead.

Just some food for thought.

I think all these experiments are worthy. Who knows what will happen but lets try.
Owning Your Content: A WordPress User’s Guide
I guess it is easier to convince people (and especially kids) to eat fruits than vegetables, as the former are often sweeter. And even sugar-laden fruits are still better than none at all.
Very nice, thanks :)

I took XET4YHM63J7R
I wonder what kind of illegal content was being posted. Links to CP? Texts of scientology?
Indeed, a better way to fight this would be to start making the cost visible to your manager. Just start a spreadsheet, "item cost" vs "total company cost", resulting in "Cost overhead". Just hand these to your boss each month. No snarky comments, no aggression, just "Look, I have gathered some interesting information".

Once he sees a rather ridiculous cost overhead right there on paper and ideally even verfiable with your orders through other systems, interesting things happen. More often than not, management didn't know the excess of the situation.
On a more meta note, I find the channel of feedback and suggestions to GitHub to be virtually non-existent. I see plenty of great suggestions, and I myself have come up with a few, but they always end up as faint echoes leading to nothing. I find this particularly sad for a company that's marketed at being all about "open", participatory, community-driven, etc. The unreadable feeds on GitHub are emblematic of this problem. EDIT: Ditto for the Issues system, which scales really poorly.

GitHub's a lot like Twitter in that, and I think it's a real shame. It discourages suggestions like these, in my opinion.
Wow. Here's 25 more: http://pastebin.com/r2KVSmXp

I'm happy to hear any feedback: andrew at passerinelabs.com or @passerinelabs on Twitter.
This happens all the time in government. Business has the lucky position of constantly scrambling to cut costs, cut redundancy, cut inefficiency. Otherwise they'll be beaten by a new company that isn't tied down by self-induced paralysis. The government has no such incentive to do so. When faced with a choice between saving fifty billion dollars and having the assurance that everything is hunky-dory, the government will spend the fifty billion dollars without a second thought.

One of my duties, along with being a radio technician, is ordering replacement parts for the systems that we work on. Some of the stuff is expensive and reasonably so - for example, a circuit board with $200 bucks in components is $20,000 because it has to be professionally made and is basically a one-of-a-kind part. The supplier has to charge that just to recoup the costs of retooling. We accept this because we need very reliable parts on radar systems and are willing to pay for the assurance that these parts will be good.

On the other hand, I just ordered an audio cable through the FAA. Simple two-wire audio cable... $333.45. I could've bought the exact same thing from Radioshack for five bucks. Or Monoprice for one dollar.

At one point, Raytheon told us that we were not allowed to do any intermediate-level maintenance (anything involving fixing circuit cards) on their stuff. We were expected to send the bad cards to them, and they would give us replacements and bill us for $10,000 each. The chief warrant officer laughed, said "Fuuuck no," and told us that if we could easily fix it, do so.

Raytheon realized we weren't sending them any circuit cards and called the commanding general to get him relieved. He didn't get fired, but we started sending the cards to them for broken 2-cent resistors. For ten grand each. Same thing with $30,000 power supplies, etc.

Right now, the government has declared that getting office supplies from Staples is horrible. We're supposed to get them from Servmart, which sells them for five times the price... or more. Cheap-shit ballpoint pens for a dollar each when I can get Bics for $4.60 for 72 of them.

Your tax dollars at work, gents.
I'd say satiating meals is a better goal than interesting meals. If you're completely satiated by reasonable portions then your energy levels will be solid and you'll lose/maintain weight without needing to think about calories at all.
Chuck Norris does not leave the States because he's a hatemongering bigot who would get "the vapors" at gays being treated like human beings.

I really wish his meme would die already.
The comment backlash against this anecdote is a little odd to me. No, it's not a perfect analogy. No, the cost comparison is neither fair nor complete nor comprehensive.

But it is an interesting connection to make, and there are interesting ideas that the comparison generates, so let's treat it like a parable rather than a critical business analysis.

If anything, one of the most striking comparisons is how work was done in a government-funded research lab versus how it is done in a startup. Own vs rent, meticulous simulation vs rapidly-iterated prototyping, waterfall vs agile, regulation vs free for all.

The superficial details of the story aren't actually that important, but there's a lot of meat to dig into.
I recently discovered http://reddit.com/r/alot .
Be careful. I have known a number of people who have followed this strategy, and discovered the hard way that they didn't charge enough.

Also note that a client that you don't want to do business with is probably a client that others do not want to do business with, so they are used to being charged exorbitant fees.
See also: http://www.timesnapper.com/ for Windows

(Classic version 'free forever'; doesn't seem to support stitching all the images together to export a video but should be do-able manually.)
I understand this wasn't a general AWS outage, AWS !== amazon.com, and that successful hosting in EC2 requires specific architectural decisions to make things run reliably in face of zone/region outages.

What i didn't realize was that jokes about Amazon being somewhat slow and cryptic with information about outages while they're happening were off-limits.
> The point is that math is aimed at trying to build understanding in contrast to producing logically airtight proofs. The proofs are important to make sure that our understanding is right, but there's more to it than that.

Understanding is necessary to be certain the proof is correct. After that is ensured, many mathematicians will happily use the proof and base their work on it without understanding it.

> Mochizuki's shirking his responsibility by not explaining how to understand the result, regardless of whether the proof is correct or incorrect.

The main problem caused by his "shirking" is that it leaves the correctness of the proof uncertain and trying to fully understand it is a lot of work that could turn out to be wasted. People want to confirm the proof, and Mochizuki could make it much easier and less costly for them, but for some reason declines to do so.
This seems like one of those interview questions where there is no right or wrong answer, they just want to see your method. I'll probably waste most of my day thinking about this.
Tried buying something just now, errored out.
A lot of immigrants to the US manage to immigrate specifically because they are high achievers. As such, it makes sense that immigrants as a statistical group would not really be representative of their home country.
So these people have no free time whatsoever?
Insurance inside of video games?
Bill Gates could code. I don't think DOS was coded by either allen or gates.
Between the Steam Box, porting everything in their catalog to Linux, Dota 2, and scrambling like madmen to make the ten thousanth TF2 hat, I assume Valve has a lot on their plate right now.
I could eat (and have done so as well) a simple cheese sandwich (slice of cheese, few veggies between two slices of bread) for lunch all the time.

When I lived by myself for a little over a year, I was quite happy with this arrangement. As fuel and as entertainment -- I really really love my simple sandwiches.
Yeah, you're right. The crushing, quasi-suicidal, life long depression that I went through and managed to overcome through non-medial means is nothing compared to the pain and suffering that you and the others in this dicussion are going through.

Clearly, me expressing my experience that with time and overcoming the obstacles of depression is meant to be condacending rather than encouraging people to continue on with life and that things can and will get better with time and effort.

Obviously, nobody else on the planet has experienced the changes that maturity brings, and those that do only talk about them to put down those that are younger than them and not to let people know what they can look forward to as they get older.

In case you didn't notice, this post is filled with sarcasm.
All I have for #3 is a brief comment on a Wikipedia page. I wouldn't trust it much, and would in fact expect your model to be nearer the truth.

In fact, I'd expect your model to be nearer the truth than it actually is. It seems that the true oldest-person death rate is on the order of 2 per year; my argument yields one per 2 years, your simulation yields one per 1.6 years; is it possible that there's a bug still lurking in your simulation code? (I know you fixed one already! ... and I see you've already responded to my asking the same question over on math.se. [EDIT to add: and I think I may have found a bug, which would make your code underreport oldest-death events. I've reported it on math.se.])

What happens as you twiddle the parameters of your power law to make mortality increase more sharply with increasing age? What do you need to do (if it's possible at all) to get the oldest-person death rate up to 2 per year?

It's conceivable that there's some bias in the reporting of deaths of oldest living people that causes too many to be reported -- but I haven't been able to think of any remotely plausible mechanism that would have that effect.
spontaneously?
Also while it was 'definitely down' I placed an order so I'm not sure what your version of down is.
LinuxDevices.com vanishes, LinuxGizmos to continue embedded Linux coverage
Ah, I don't eat in the mornings, so it's not much of concern. But lunchtime I like to vary (and not prepare myself, preferably) and in the evening I usually eat with friends or family, rarely alone so someone usually takes time and prepares something.

The urge to make celebration food every day is a hard one to resist, of course, and I'm sure not everyone enjoys preparing food.
> The problem with that is you will get very aggressive individuals who will commit, and then others who will revert and this cat<->mouse game continues on until the community suffers, the project dead.

Which is exactly how wikipedia works (with the concept of admins who can protect pages, though). I wonder if this could apply to FOSS development.
The second parameter can also be a list/tuple of strings. e.g.:

>>> Animal = Enum('Animal', ('lion', 'tiger', 'liger', 'tigon'))
interesting FAQ...i like the idea of bringing this info together.

i've found there are lots of more-common things that cause partitions in practice than equipment-in-the-middle failures. human errors are probably the biggest: network configuration changes, fresh bugs in your own software - or in your dependencies, etc.

also, while a network might be asynchronous, there's usually a limit to how long a message can be delayed in practice. ...the limit might be how much memory you have to queue up messages...or perhaps how long your client-side software (or your end-user) is willing to wait for a message when a dialog is more complex than request/response.

when designing distributed software, i've found that it's helpful to ask: when (not if) X process/server/cluster/data-center fails or becomes unreachable - temporarily or forever - how should the rest of my system respond?

so, perhaps the most important take-away from the FAQ for designers is #13: that C and A are "spectrums" that you tune to meet your own requirements when the various failure scenarios happen.
Can anyone comment on how a model release would apply to a situation like this if it were to occur in America?
Cloud success goes beyond certification programs
This is so silly. If the country ever comes to the point where only you and your 3D printed gun stand between freedom and the government's tyranny, you'll just be obliterated by a Predator drone.

Advances in and proliferation of 3D guns will only endanger innocent citizens. Thinking that it's any kind of check on government power is a childish fantasy.
Being from a country where owning a gun is frowned upon (we have uneducated citizens who blindly trust a government that has screwed over them for the past 70 years) and mostly illegal, I couldn't agree more. The idea that you should give governments monopoly over gun ownership only gives way for oppressive regimes to reign and makes civilians unable to protect themselves.

I hope whoever is a proponent of outlawing guns either has no idea what kind of tyranny that would enable or must be working for the government (whose best interests usually lie in maintaining their power and status quo).

Either way, I'm going to finish by saying you're lucky to have the second amendment.
On weekdays? Long job, long commute, children, sleep - yes, it is easy to have pretty much no free time for most of the week.
The Productive Way of Managing Customer Service on Social Media
I'm not really sold on this idea, and if it ends up getting implemented, it should definitely be on a per-repo basis.

I might very well turn something like this off, so the "karma" should only exist within the sphere of a repo or (forked) project.

This would just lead to a StackExchange-like gamification of the whole system.
Half life 2 works OK on my Intel HD4000. The only bugs are graphical glitches, and they're not very noticable. (Keep in mind that Half Life and Half-Life 2 use completely different game engines; one's bugs don't necessarily translate to the other.)
I assume you have 32-bit (multilib) support installed in order to install Steam?

Or is there some trick I'm not aware of to get native x64 Steam going under Arch?
No need for join().

> It can be a whitespace-separated string of names, a sequence of names, a sequence of 2-tuples with key/value pairs, or a mapping (e.g. dictionary) of names to values.
A straw man would work well if he was strong enough.
Actually its possible to have a JIT like that but it is uncommon.
I always thought the fact that Java enums don't have numeric values ended up being a nice idea, but a mistake.. specifically because .ordinal was still exposed, and ends up getting used by people who want to serialize the enum as something other than a string... .ordinal of course is affected by the order the enum is defined in, which is sketchy.

My memory could be a little faded on this though, I haven't coded in Java in a few years..
For linux? It wasn't in my library last week. Perhaps you got lucky and were chosen for a fancy linux beta test period?
I had to implement some unsatisfying hacks to make my Scratch shooter work as well! If I remember correctly I was manually duplicating the master projectile and I had to register each projectile against each enemy.
Show HN: Launching Hoverboard – beautiful, responsive portfolios
How to Find Great Advice for Just About Anything
Java enums have int ordinal values: http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html...

I think what you mean though is that in 99.9% of cases a user of a Java enum never needs to (or shouldn't) refer to the ordinal value.
I think this is a cool project, but surely needs more of a preamble? Like what are crit-bit trees? [1,2,3,4]

[1] http://benlynn.blogspot.com/2007/04/trees-hash-tables-and-tr...

[2] http://en.wikipedia.org/wiki/Radix_tree

[3] http://cr.yp.to/critbit.html

[4] http://www.imperialviolet.org/binary/critbit.pdf
Agreed. I just replace "Chuck Norris" with "Mr. T" anytime I read one of those memes. Makes more sense that way.
Or try and make github/bitbucket into something like an open source app store. Provide features to allow project creators/developers to build a business model around their own projects. Not all can be commercialized but I am sure some can be - having a support business model.

This could be on lines similar to nginx/varnish etc.

Sourceforge tried sometthing like this, but maybe there were flaws in how they tried to implement it.

You would need something like an SLA created once which can be shared by similar projects and have project leaders/communities (OSS Project leaders/communities) use variations of it which they use to provide support for their customers.

All fee collections/payments etc happen through a github/bitbucket gateway.
I think we're seeing just how huge a difference the genes for tasting make. A super taster vs a low taster will treat food (kind of a big deal if you want to stay alive) extremely differently.

I wonder which was a better evolutionary adaptation in the past? And which is better in the industrialized world today?
Wait, Brutal Legend runs on Linux???
Agreed. And this wouldn't have to wait for github to implement. Perhaps its possible to create a webservice that could examine the forks in a network graph to identify the most active fork -- and provide a url for the repository that resolves to this most active fork. Something like bestfork.com/reponame --> github.com/newmaintainer/reponame

EDIT to be more precise, my example github link should read github.com/defactomaintainer/reponame
It drives up prices. I prefer having a choice. I don't need a 2 year warranty on simple cheap devices. But the warranty is always there for a small price for the important things (like my motherboard or laptop).

Often times the additional cost of the mandatory warranty will put a product out of reach for people who would be happy with the mfr's standard warranty.
It also helps Valve keep excitement for half-life 2 going strong when they choose to release episode 3. Then their story won't be "Hey, remember when we released the last chapter to this one back in 2007? Well go play the new one!" Instead, they can say "Hey, remember Half-Life 2? Now you can play it all over again and reacquaint yourself! Then you'll remember why you want episode 3 so bad!"
A Life Lesson from Kung Fu Panda
Yes this is something odd we ought to fix. Actually I'm not sure it makes sense to keep the French version.

Thanks for the feedback.
Could you not use mock.sentinel values as an enum? Also, you can create a poor man's enum from 2.7+ with:

from collections import namedtuple
myenum = namedtuple('myenum', ['a', 'b', 'c'])(range(3))

myenum.a == myenum.a
Speak for yourself.

I love food. I adore it. It's part of my heritage, my family, part of our lives, our childhoods. Good food is up there with good sex, it's an overwhelming and amazing experience.

I absolutely understand that some people find food an annoying necessity and not something to take pleasure in, but many of us, I'd posit an overwhelming majority in fact, love and enjoy and relish our day to day meals. As such, living on the bread line can be a deeply depressing and dispiriting experience.
Just an idea I haven't seen implemented yet:

Tabs have the advantage of beeing of variable width while spaces don't. But two or more consecutive spaces are rarely used for more than just aligning code. In theory the editor could render double the spaces (or rather a space with twice the width) for every amount of spaces higher than one, effectively doubling the indent.

No conversion (retabbing) would have to take place and therefore no hardcoding the value, which often breaks languages which don't like mixed tabs and spaces as the retabber might encounter three consecutive spaces and only convert two of them to a tab if told to do so.
Loopwheels system abandons spokes for springs to give a smoother bike ride
Put up an info page.
Can someone help me understand how this helps?
I'm only a mediocre programmer, and I'm having trouble understanding the implications.

It seems like you declare these like any other class.
So what's the difference between this, and creating a class full of ints?

If I have class Color:
red = 1
blue = 2

etc, wouldn't I get the same thing?

Is the difference that you don't need to instantiate an instance of it?

I know I'm being dense, and I've read the PEP, but it's not quite clicking yet.
If they wanted something practical, they would have specified practical requirements (and then had nobody enter, because it would clearly be impossible).
how many applicants make it to the last round?
That's a really interesting idea. A potential problem is finding a similar, standardized source of food price data (if you want to include that). Some data are published by the USDA ERS [1], but it's far from comprehensive.

[1] e.g. http://www.ers.usda.gov/data-products/quarterly-food-at-home...
Thanks! I didn't understand the magnetized needle joke at first :)

Edit: Downvoted? Really? For showing appreciation for a link?
DEFCAD Search