skysight-inc/HackerNews huggingface dataset:
Yes, if you would only allow binding it resolves the conflict. But, if a five year old would look at the code:

y = 5
match x with:
1: print '1'
y: print '5'

he will think it is equivalent to:

y = 5
if x == 1: print '1'
elif x == y: print '5'

And that would not be true.
It is obvious that the removal of the feature was intentional. This easily justifies closing a bug as WONTFIX. Whether or not this was intentionally done in a particularly nasty/hidden way is not obvious, and while the commenter claimed that it was intentional, there is little proof, and even if there was proof, it wouldn’t change anything, hence why he was pointed at the CoC.

Am I really defending the GNOME project now? ó.Ò
That is true with coin flips because the probability of a next coin toss coming up heads or tails is independent[0] of any previous coin tosses. Assuming you aren't spinning between turns, the probabilities are not independent anymore.

0: http://en.wikipedia.org/wiki/Independence_(probability_theor...
Hey Paul,

Site is looking good, however when I typed San Francisco into the search bar I couldn't get it to relocate the map. Tried hitting enter, and clicking find me just took me to my current location. Is there a way to view cities that you're not in right now?

Also is there a possible list view sorted by distance instead of map view?

Cheers,
Daniel
That's not how maths work. You're describing something that works for non-dependent events. Flipping a coin 50 times previously has no bearing on how it will flip the 51st time. The events are said to be independent.

In a six round revolver loaded with a single bullet and then randomized, pulling the trigger advances the next round. The first pull has a 1/6 (or 1/600, whatever) chance of firing. You will fire (assuming no mechanical malfunction and no randomization of the round after each pull) in those first 6 shots with a probability of 1.
Not really much content here. It's been a while since I've read the 4HWW but I'm pretty sure freelancing wouldn't fit in with LD. For example, it's pretty hard to make any money freelancing when you're not working. I thought the point of LD was to generate recurring income that will continue to generate even if you do nothing.
Blood Meridian, Cormac McCarthy.

Philosphical Investigations, Ludwig Witgenstein.

The Analects.

Structure and Interpretation of Computer Programs, Ableson and Sussman.

The Hamet and The Town and The Mansion, William Faulkner.
Im not sure you understand how a revolver works.
You can't think of any more reasons? First, that it is electric is at least interesting. 2nd, it just got the highest rating EVER from Consumer Reports. 3rd, it got that rating on the VERY FIRST CAR it ever designed and manufactured! 4th, the battery being built into the chassis lowering the center of gravity makes it very performant. 5th, no gears. 6th, seats 7. 7th, the entire area under the hood is empty for storage (again, because it is electric). 8th, free "fill ups". 9th, software in the car. 10th, and on and on.

It doesn't seem like you tried at all to understand the interest.
Why did the title of this link get changed? Now it's generic and doesn't highlight why this is a big deal. It's glossing over the most salient part of this narrative.
I believe he meant that he first person has 1/6 (at least or most...idk) but assuming the next person goes there is one less chamber each time. 1/5, 1/4, etc. until you get to 1/1 at least. There would have to be some change between rounds to change that part.
He's saying that when it is first spun, the odds are low because of the weighting explained earlier. After that it is not re-spun and is instead advanced to the next bullet, which does change it, because you now are limiting the number of total possible places for the bullet.
Quite clearly parody....
| Also, making a poll in your 50 people IRC channel
| is not a very meaningful sample size is it?

They just polled the IRC channel? Really? That just seems like the definition of a 'circle jerk.' Was the assumption that all or a majority of users technical enough to use the terminal would be in the IRC channel?
It's probably a social experiment.
Maybe someone at Gnome is a moderator here. A generic title about a bugzilla bug makes me less interested in clicking.
If you're not re-spinning between turns you're not doing independent trials like flipping a coin repeatedly.
You have to use an advanced search to find NOTABUG, WONTFIX, and DUPLICATE and similar bugs. Otherwise you turn up empty.
There’s even more discussion in the other bugs. For some reason they didn’t dup all those bugs consistently. Maybe that would’ve lead to a criticla mass. But who knows why not.

[List of bugs mentioning problems related to background transparency](https://bugzilla.gnome.org/buglist.cgi?product=gnome-termina...)
You can probably skip posting teasers to HN. Also maybe consider writing a post on knowing your audience.
Houseplants: The solar cells of tomorrow
Amazon S3, could probably host a static site for around this price.
Looks a bit cheesy, but neat idea. What makes this different from DJing? You still need someone to control the flow of the music, whether the person is 'live coding' or switching knobs to a synthesizer.
People often (well in films at least) spin the barrel out of the gun and then snap it shut at a random time while it is still spinning. That would take your chances back up to 1/6.
Looks like a good way to gather authentication keys in that case.
You seem like a good guy and I agree that balancing work and lifestyle is crucially important -- especially in an industry like ours that tends to like to grind people into the ground with mirages of fame and fortune. [Edit: Mixed metaphor. Sorry.]

But. You come off as someone who has just barely started thinking about these issues. You're being wildly overly simplistic about how freelancing works in real life. And using the skydiving billboard as a trigger makes it sound like "living your dreams" means doing extreme sports and hanging out on the beach. Which is fine, but kind of shallow and definitely not the end-all be-all of a well-lived life.
It bothers me that you consider it reasonable for the gnome developers to not care about the gnome users because the users don't contribute code. The only reason software exists is to be used. Without users, gnome has no reason for existing. Without users gnome developers have no reason for contributing. As a developer i would never treat my users with that little respect, because they are literally the only reason my code has value.
No. You can complain about insufficiently documented APIs, or internal APIs that you wish you could use but are not documented, but please do not complain about undocumented APIs that are used by Microsoft applications outside of Windows.

Ever since the monopoly rulings against Microsoft, they have had extremely strict internal controls preventing non-OS code from using undocumented APIs. If a DLL or EXE does not ship on the Windows client install disk, it cannot reference APIs which are not documented in MSDN. Full stop.

You're referencing an API that inadvertently didn't get documented, but everyone knows about it, has blogged about it and lots of articles mentioning to use it? Too bad. Either stop using the API or delay release by 3 months for the next MSDN update.
I have spun a revolver with one round in the cylinder. First, you wont wait for it to settle, so it doesn't matter. Second, a cylinder is pretty heavy, so even if you did, it's not that big an effect. Third, there is significant friction between the cylinder and the pin it rotates on, which will prevent it from settling in that manner. The 1:600 number isn't true.
The Litecoin guys just set the "make GPUs suck" (aka "memory use") parameter too low.
Gist Explorer: View Gists on CodePen, JS Bin, SassMeister and dabblet
Microsoft's Windows Phone Youtube App strips ads, downloads videos
The article with Knuth's program and Doug's reply is: http://dl.acm.org/citation.cfm?id=315654&CFID=329016541&... (Don't have a non-paywall version.)

Regarding the claim about Knuth's program being long, it is worth considering that (1) his program was primarily a demonstration of literate programming style, which contains considerable embedded documentation (2) the program needed to build significant basic infrastructure to support itself, including IO, sorting, case equivalence (including a table with each upper-case and lower-case letter), etc.

Doug's criticism and comparison of Knuth's solution vs. his own is insightful worth reading.
Now that I have a tablet... What's left for the laptop?
I own a Tundra short bed, but also a Lexus ct200h (wife) and a Model S.

If there was an app like Uber, but for pickup trucks (on-demand/fungible capacity for transport of larger-than-car items), I'd sell my pickup truck tomorrow. I don't own the truck because I haul every day, I own it because its 8pm and someone calls and says they need help moving something right now.
I read Frankenstein recently and its pretty intense. Recommended.

Probably the most exhilarating read for me in a long while has been "The Secret Race" by Tyler Hamiliton. But don't take my word on it, read the reviews.
These are good objectives I guess. It's targeted to a very specific audience though, and sounds a lot like a rant.
The commentary about Bang With Friends has not been accurate for months. Shitty linkbait.
Plus it's an extra dependency and a narrowing filter for hiring.
Sure. But he's not talking about his failures or sharing the insights he learned. Just promising the same pot of gold Tim did and glossing over the obstacles that most of us found insurmountable.
Disclaimer: I'm not an iOS developer, and don't do much mobile development (other than web) -- I've tried iOS (just did some cocoa walkthroughs) and I've made an android app or two (unpublished, they weren't useful), but that's pretty much it

I think as far as functionality goes -- Does this hook to any calendar APIs? Maybe it should? I mean if I have my calendar already stored on Google/Calendar app, etc, it should be easy to see all the things that are "coming up". Integration ACROSS calendars (work, private, etc) would make it a really cool what-do-you-need-to-do next calendar aggregation app

You could introduce coloring for the different places/types of events. Like if you mark a calendar you import as "work stuff" you'll be able to easily see on the home page which stuff is work stuff that's coming up/due soon.

Also, I dunno if "DownCount" is a good name... Though I'm thinking of the app in my own terms, it seems like this is more like "what's coming up" rather than Counting down to one specific event (I think of countdowns as really more to do with one thing, rather than multiple, but then again, that's just me) -- so maybe a name like "whatsnext" or "upcoming" in some other language or "nekst" or something.. I dunno, or maybe downcount is just fine.

Also, I think you can go even MORE minimal with the styling. Since you only have to pages, why not have both be lists, and swipe between screens? This will enhance the beauty of the app, and I think you could get even clearer distinctions between the colored items, and I would think of the common use case something as like this:

I'm waiting around, not sure when my <event> is, pull out my phone, tap on DownCount, and I see 5 of the closest upcoming things in big letters, and bright colors.

Some future features could be gesture-based filtering (this is based on the premise that you add/discern a way to categorize the stuff going in)?
Load testing from the cloud
Package management, but for github? If I understand correctly, cool.
Well, he had to write something. See 25.
To be accurate, it was sarcasm, not lecturing.

This is lecturing: "If you are anything close to hacker do yourself a favor and use something else."
http://mate-desktop.org/ is a GNOME fork.
I think the point is that the kind of full-stack developer the OP is describing, does.
Even if the 1/600 estimate(which I'm skeptical of) is correct, it wouldn't translate to that many people having played, but that many trigger pulls.

I think it's more likely that someone who plays once will play multiple times than it is for someone who has never played to start.
Disunion - The Oculis Rift guillotine simulator
> Really?

No idea. That’s what I derive from "we had an informal poll". Since they hang out on IRC that is probably where it happened.
Ouch, looks like you are taking a lot of slack for this --- don't worry, I didn't realize the protocol for Russian Roulette was not to spin again after the first attempt, either. You're right if they spun it again afterwards, they are right if you just continue through the 6 bullet slots in the revolver.
It still helps to get into the mindset of starting and finishing. Some things are meant to be weekend projects that are abandoned shortly after. Other things are meant to be products, with a few dollops of polish.
zsh touches none of the above. You should be good!
Sounds familiar :-) but sometimes quitting is the right thing to do. Found this interesting on this topic: http://www.freakonomics.com/2011/09/30/new-freakonomics-radi...
One minor correction about named tuples. The syntax for field names can be an iterable or a string. The preferred way to do it is:

> Person = namedtuple('Person', ['name', 'age', 'gender'])

The string form is there to accomodate use cases where the field names are being cut-and-pasted from SQL or CSV headers or somesuch. Also, some people find it easier to type:

> Person = namedtuple('Person', 'name, age, gender')
The Horror of Sending Photos — Pen to the Online Paper
Restore Firefox window virtual desktop location on FF restart
Redis object manager for Python
I used to work on a Mozilla Webmaker project for "remixable web games", so, similar to Scratch. Your first point that more polished projects would be less remixable is spot-on, and the primary reason we stopped working on the project.

The more polished we made a game, the less there was left for anyone to add onto it. Meanwhile, our low-fidelity game prototypes had far more user activity. We wanted to make high-quality & highly-remixable games, but we never suspected those goals would conflict with each other so much.
that way all zsh functionality is "possible" if you write those functions.
Always wanted to build something. Tried my hand at a few projects. Worked at it for 3 years, odd jobs kept the money flowing. Recently took up a corporate job. Signed the company contract which takes away my right to work on anything else(profitable or non profitable).

Still want to build. Bidding my time.
The single biggest mental hack I have for getting around this is this.

Just write it down.

As soon as I write it down and stick it on a list of product ideas it's out of my head and I can focus again. As a bonus you've got a nice list 'o' stuff that you can go poke through whenever you get some spare tuits.

At the moment I have (pause to look at trello) 57 items on the company "Product Ideas" backlog. Two have come off and are being actively developed. The rest - I rarely think about.
You are younger than NaN% of your 0 friends who agreed to share their birthdays with us.
"If your first priority is your kids, your first priority is not your work. That's fine, it's a choice, but there is a frequent claim that the massive incremental time demand of kids makes one so much more time efficient at work that it more-than-compensates."

I am not young. I've been attending funerals recently, and meeting family members I have not seen for 30+ years. None of us were comparing notes about our productivity.
I think mania sounds right.
Never say never. Bitcoin certainly doesn't have a critical mass, and won't until a majority of the world is using it. We've seen protocols replace other protocols (HTTP pretty much replaced Gopher), and incumbents squeezed out by upstarts (WordPress pushed aside MoveableType, for example). New can replace the old. In any event, the mission of Bitcoin appears to replace government-issued currencies which most certainly have a critical mass!

Bitcoin just so happens to be the most popular cryptocurrency right now, but relatively speaking it's not all that popular. Its deflationary nature might be its downfall and there's certainly room for something to take its place, and it's very myopic to say that just because something appears somewhat popular now that it will remain that way forever.
How to Build a Building
"Don't wait 40 years to book a skydiving lesson. Wait until you've managed to save a $20K rainy day fund."
check the SSID they are looking for, setup the network they want, establish a connection and then MITM their connection.

This is what products like the Pineapple are setup to exploit and automate. It really is a lot of fun trying it out and pranking friends:

http://hakshop.myshopify.com/products/wifi-pineapple
Have a Home Depot nearby? Most places do. They have long hours (6AM-10PM) and rent trucks by the hour or the day.
It's got name recognition, but it's still tiny. Saying it won is like saying MySpace won except MySpace was over 10x as large.

Bitcoin can't do fast or even reasonable speed transactions (aka less than 10 minutes) and unless that's fixed it's doomed.
The problem is that the battery is rather larger than you think. In a Model S, it runs from the front wheel base to the rear one. Removing and exchanging it would be rather a lot of work.
Wasn’t Gnome 2 already an attempt to clean up/remove features that had cropped into Gnome 1? I recall ‘veteran users of Gnome’ complaining about the lack of settings/options back in 2005.
Wittgenstein is tough reading. Amazing that he conceived of Tractatus Logico-Philosophicus in the trenches of WW1 (literally).
Everyone who deliberately chooses linux is also a terminal user. I cannot imagine someone choosing linux and then never using the terminal. It is by far the most widely used program on the system.
shit. i should have debugged properly :(
Sometimes not continuing is the correct way to finish a project. Only keep working on the gems. Fail early, fail fast, fail cheap.
Alice Kober: lost to history no more
I realize it sounds hyperbolic to call some of your terminology Orwellian, especially since it is so commonplace in the US media, but it's kind of amusing how corporations took a look at citizen-voted, government-financed public broadcasting, public libraries, public schools, public transportation, public works etc. and decided to try to grab that adjective for themselves.

That the median blue collar worker in the US can buy a token stock of a company means nothing. The last survey by the Federal Reserve of wealth distribution that I'm aware of, the 1995 Survey of Consumer Finances, shows that the wealthiest 1% of Americans own 42.2% of the stock market, the wealthiest 90%-99% own the exact same same amount - 42.2%, and the other 90% of the country owns only 15.6% of the stock market, and most of that at the top. Almost all studies indicate this disparity has increased, even credible conservative/liberatarian studies don't dispute the disparity. The stock market is a rich man's game, your talk about being public and shareholders is part of that.
Uh - is that assuming no one will be hungry and displaced because of climate chaos?
Raspberry Pi RNG using static from untuned TV
Bing Now Offers New Interactive Sidebar via Social Media
That's the thing, the last time it came up in the news it seemed San Jose had a contract with PG&E where they paid a fixed rate for power at 0.12/kWh in their facilities. If they re-sold that power for 0.25/kWh to people parking their electric vehicles, for every kWh sold the city recovers the cost of one kWh they have used. City garages get preferred by folks with electric cars (better occupancy, more revenue) and its a win.

Now as this 'win' becomes more obvious we'll see sharks come in as 'contractors', bidding to 'run the garages' for $X where that number is padded by money they will make selling charge to vehicle owners.

Today, this is silly since the number of electric only cars on the market is vanishingly small, but eventually it will be the norm. Having a parking meter design on the shelf that can charge for parking and supply electricity is probably good preparation for that time.
Like I said 3 months ago (when the stock was at $34): I'm betting on Elon! http://go.DanielOdio.com/elon
What's up with Peter Norvig's comment at the bottom? Did he not RTFA? He suggests a solution that the article criticizes heavily halfway through.
What's with the false modesty?
Daniel,

Thanks for the feedback! I see what you are saying. It's working great if you share your location and search in your area. But, if you're moving to say SF, like you said, it's not taking you to SF, only using your current location.

We'll have to fix that. Great point.

The list view is on the way. We currently have list view functionality if you are logged in as a job seeker. We did this to encourage signups, but I think we will move it the homepage.

Then we'll just have to add sorting features. If it's not already there.

Thanks!
> If the ref counting is manual or optimized, it doesn't happen after every assignment, only ones which change object ownership.

The Rust compiler does this. Even so, 19% of the binary size in rustc is adjusting reference counts.

I am not exaggerating this. One-fifth of the code in the binary is sitting there wasted adjusting reference counts. This is much of the reason we're moving to tracing garbage collection.

All of those optimizations that you're talking about (for example, packing reference counts into the class pointer) will make adjusting reference counts take even more code size.

> As for not allowing cycles, I consider that a feature. The headache of memory management doesn't go away with GC.

The fact that memory management is still an issue doesn't mean that we shouldn't make it work as well as we can.

In large software projects, cycles are a persistent issue. Gecko had to add a backup cycle collector over its reference counting framework, and observed memory usage decreased significantly once it was implemented.
Apple supports both transparency and blur on their terminal app, AFAIK...
My housemate hates the laugh track, I never noticed it until he mentioned it - so now I try to ignore it. I like your words to live by, I will live by them. I think the writing in Big Bang Theory is poor in parts but it is quite decent in others. Then again I do not watch much telly so I'm no official arbiter of sit-com taste.
see my reply to cleverjake. This is not false modesty. This is really first try with facebook sdk.
Agreed. Dilbert is a popular comic strip because people recognize the situations in their own lives. This suggests that the "pointed-headed boss" problem is much more common - bosses who think they know about technology because they've had some superficial exposure like taking a programming class, going to IT conferences, etc.

To me, Kirk McDonald comes off as clueless and arrogant as Dilbert's boss. Calling himself "your next potential dream boss", using weird phrases that no one uses like "speaking computer code," and believing that taking a summer programming class means you can provide development effort estimates to clients!
Ask HN: Isn't encryption *temporary* privacy?
Given that current encryption will someday be broken by quantum computers, all the companies who have copies of your encrypted data will have access to a massive backlog of your personal information. This includes the torrent of encrypted wifi data which exists in almost every household in America. Therefore, encryption is temporary privacy, wouldn't you say?
The old code didn't work after the port to GSettings. It crashed in weird places. That's why it was "#if 0"'d around in the GSettings port commit. As I said, the original intention was to fix it, but minds were changed.
Sadly, I know a lot of hackers that suffer from not finishing. If there is one thing I've learned from working many years as a PM, even average ideas can become big with a team that executes well and know how to finish. It's what separates great entrepreneurs.