skysight-inc/HackerNews huggingface dataset:
I feel like a big force that changes programming style is the gradual transition from guess-and-check to gradual bricolage, exploration, creation. I feel in my perspective like that explains at least a bit of the difference between "young" and "old" programmers here.

Guess and check programming tends to optimize around fast reset cycles so that many, many solutions can each be tried with little investment. This is the programmer who loves to refresh their window every second to see how their changes impacted the product. It's high energy and exciting. It also lends itself to prepackaged solutions—be they existing frameworks of specific transliterations of known algorithms. I also find that it tends to generate spaghetti code more quickly (all styles do, but GnC does so more quickly) and to fall flat on tasks which have either slow reset cycles, long dependency chains, or are difficult to visualize.

"Slow" programming, for the lack of a better word, orients itself around a deep understanding of both the domain and the natural "seams" in the problem space. It involves a lot of quick drafts that are perhaps never even observed—the mere act of trying and failing to express the problem elegantly is highly informative. It tends to find less "obviously optimal" solutions because it's in search of novel optimal solutions. It also tends to be more easily guided by high-level goals such as business value or elegance. Finally, programming slowly requires great reasoning skills and thus is more amenable to tools and processes which enhance reasoning. It can take stabs at deep, difficult domains because it happily uses great domain modeling or mathematical skills to break those challenging domains into clever, interlocking, and simple pieces. For all this though it suffers from having a design aesthetic and becomes less willing to "just dive in there and try all 500 solutions" in case one of them works.

I think this cuts broadly across several stylistic differences in coders. I think that age and experience pushes one toward the latter style. I also think that they both have strengths and weaknesses—so I strongly agree that mixed style teams are valuable.
Historically in the U.S., "regulation" implied heavy-handed measures like rate setting, price controls, capacity setting, market segmentation, granting monopolies, etc. Scaling back those measures has been very successful. For example, deregulation of freight and airlines in the 1970's allowed the modern integrated delivery networks that make Amazon possible. The trend since then has been to avoid these particularly heavy-handed and market-distorting sorts of measures. I don't think even proponents of heavier banking regulations espouse regulating banks in the way we say regulated passenger railroads (which killed them).

In the context of cabs, a "lightly regulated" regime might require background checks, minimum insurance, and some sort of mechanism for verifying driver identity and reporting problems. Variables like rates, capacity, coverage area, etc, could be left to the market.
I can't run this (not running Windows), but are you sure that's the screen shot you want to go with on your landing page? Those are two SQL injections just waiting to happen.
One million HTTP RPS without load balancing is easy
The UK's position is particularly shameful. Their goal is to "protect the city". They're afraid a pullout of Russian money would hurt the stock market and it'd certainly pop the housing bubble. It's all highly cynical and quite corrupt.
You're exactly right: This is a huge vulnerability in Windows and the really important part is that it's an architecture vulnerability. Meaning, to fix it would require changes to how Windows works at a fundamental level in such a way as to break backwards compatibility (which is sacrilege in Microsoft land).

Consider for a moment all the tools and mechanisms in place to synchronize Active Directory passwords across domains, realms, and even 3rd party systems. Every one of those would completely break if you were to implement simple change such as the use of a salt.

That's why I've been saying for many years now that, "if you care about security do not use Windows." There's no mechanism available to actually make it secure because you can't change how it works internally. The best you can hope for is some obfuscation/hacks/tricks in regards to hardening (e.g. rename Administrator account, use entirely different credentials for administrative tasks, disable zillions of insecure defaults, etc). Then just hope you're never targeted.

If just one workstation is compromised an attacker can elevate their privileges to that of Domain Administrator with a few simple steps:

1. Install keylogger or password-dumping tool.
2. Force workstation to unjoin from the domain or cause some other problem that requires a Domain Admin to login to correct the issue.
3. Use credentials of Domain Admin to access a Domain Controller.
4. Dump the entire password database of Active Directory.
5. Crack the password database using some GPU instances in minutes.

After step #2 the attacker basically "owns" your network and can do whatever they want. You can mitigate it by joining Windows workstations using credentials that only have the power to perform a join but this is usually just a minor setback for an attacker as there's a plethora of tools and tricks they can take advantage of to escalate to Domain Admin.

For more information on how easy all this is: http://pentestmonkey.net/uncategorized/from-local-admin-to-d...
By "they" who kicked him out, who do you mean?
Exactly the problem with dictatorships. You can't have the ruler "look bad" even for trivial stuff, and he'd rather send thousands or tens of thousands of people to their death, than be embarrassed himself.

We can argue whether Russia is a dictatorship or not, but I'd say it's a lot closer to one than to democracy, especially when opposition leaders and protesters are arrested, and everyone else in the Parliament votes for whatever Putin says, out of fear for their lives, and elections are being robbed like there's no tomorrow, while Putin gets to interpret the Constitution as he's being allowed to rule virtually forever in Russia.

If Russia had a functioning democracy and Parliament, it wouldn't matter that Putin was "embarrassed" and made to look like a fool (which I don't think anyone thought that, at least not from outside of Russia, but it seems to be more of a thing in his mind).
> There are also myths and fears surrounding the use of sanitary pads - that women who use them will go blind, for example, or will never get married.

Such myths abound globally, especially in rural environments. Worse myths exist around tampons--that a woman who uses a tampon is no longer a virgin. The implications of this in more rural societies are staggering, as young women can lose marital prospects or even be killed.

What impressed me most about his work was the lengths he went to in order to understand the problems the women were facing. That "football uterus" made him an outcast and he was rejected, which is not wholly unlike how menstrual women were treated in his village. He really got the full "customer" experience.

His work will also greatly help those women who have severe menstrual bleeding problems, in which they bleed non-stop for weeks (or months or, sadly, years) at a time. Not only are they outcasts in their communities, but even children will pelt them with rocks. It's profoundly sad.

It might sound trite, but we hear about the man who built the Taj Mahal for his beloved wife. Look at how much he is revered! Now consider what this man has done out of love for his wife--he has far eclipsed even that magnificent structure.
Or more realistically...just protecting themselves legally from the very risky business they are involved in.
Who said nobody is innovating! Now this is what I call disruptive!
Is Coinbase considerably more secure than MtGox? As I've said elsewhere, I do believe that Bitcoin is a resilient and useful currency. But I'd hate to get Goxed (I'm coining this term here).
I asked for specific code, you gave me specific code, so here's how I would have structured that without the (imo, needless) command pattern: https://gist.github.com/dhh/9348053

It includes a lot of more context than your example, so I was guessing liberally at the missing pieces. But hopefully this is still easily digestible.
Considering a New Methodology? First, Understand the Question
"They're reacting to companies trampling over settled expectations and compromises. Municipalities created these regulated taxi systems, and used monopoly status as a carrot in return for imposing regulation."

Has anyone looked at if taxi companies actually hold up their end of the bargain? In Baltimore taxis routinely refuse to make pickups in various parts of town either because they are out of the way or because they are perceived to be "bad".

With something like a taxi that you hail from the street and don't know what you are getting into before you get in some light regulation is reasonable for accident and scam reduction But a brand like Uber that achieves those same goals through different means shouldn't be pushed out of existence and of all laws to pass limiting the number of drivers is just a blatant attempt to protect existing taxi's
They'll learn soon enough. It builds character.
Part of their cost is distribution. They have huge machines in central locations that can crank out millions of units, but there is no way they can compete with a machine on site that can already make enough to supply the whole village.

And they would have no choice but to sell them in a shop, which as the article mentioned, are predominantly run by men.

The inventor effectively cut off any chance for a multinational brand to enter this market, because he is selling the people their own manufacturing capital and distribution network, rather than trying to capture all the consumers for himself.

It would be like Microsoft trying to sell Windows 8 on an island where every inhabitant already uses the island's own distribution of Linux, and 10 people in every village contribute to it regularly.
Considering the fact that I can set up a development environment in docker using PHP with a makefile and it's built in webserver, I'd say you've missed the point of it. It's a great addition, and with Composer/Packagist (which does currently have an issue with replacement packages, that needs to be fixed) plus the new features in 5.5, I can comfortably say I like using PHP.

Also, I've really got to stop reading the comments on PHP threads here on HN. They're repetitive, pointless and negative to the point of blindness. I'll go back to building cool things in it (and Go and Ruby and lately C, because while each of those have their issues they all serve a purpose and do it well).
My question has been this all the long. Really, why is this uprising democratic in nature as many Western news sources claim? They drove off an elected government. One of the heroines of this movement is a monster who was similarly driven out of power in the preceding Orange Revolution (or whatever)

If anything its only an issue because Putin has not decided to play ball like the others want. He went his own way in Syria and came off as the side with the sensible alternatives. He is not drawing red lines in the sand only to have other countries ignore them, heck he ignores them.

You have a large country on your borders with a very large military do the freak out twice in ten years, yeah I would be concerned. Better yet, since there are many ethnic groups that share similarities across borders, if not merely separated by past Soviet political games, there are some valid concerns to be addressed. Let alone there are Russian military bases are there by treaty and lease in Crimeria, there is also a large contingent that has been trying to align with Russia since the Soviet Union broke up.

So its not all cut and dry as many in the West would like. Considering the US recent history with Libya, Syria, and drone assassination programs, its not like we have the moral standing to chastise them
Hi there. I'm a cofounder at Airpnp. If you're really interested I'd like to talk to you about getting your bathroom going for Queen's Day. Email me at max@airpnp.co
Faces of Pareidolia—A collection of pictures from /r/Pareidolia (booklet)
Is something like this a legal ToS in the US?

Also, one can argue that if they had truly taken every precaution then either intruders would not be able to break in or they are prepared for such a scenario. Evidently, neither was the case.

In other industries standards and "recommendations" exist to state a set of measures companies have to set up in order to be "secure"
Oh, he seems to understand it well enough. Iraq '03 and Libya '11 have been excellent examples of 21st Century Power. (I'm omitting Serbia '99, as it was, formally speaking, 20th century, but that example was very spectacular, too.)
In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.
4 things to ask yourself after finishing Breaking Bad.
Aha!

BTW, are you the FSK of "FSK's Guide to Reality"? If so, please count me in as a huge fan.
Then you missed the point of the article, and also obviously don't use PHP regularly. It's a super handy feature.
Machine Learning course from Stanford (via Coursera)
You can use the program that generated the image as a "decompresser". Only 100kb but takes 4 days!
I see you've never used Objective C...
Inside the New Arms Race to Control Bandwidth on the Battlefield
There are so many different types of programming. Plumbing vs algorithmic is maybe one way to describe it. For plumbing, which is about moving data between systems or between a user interface and a database, there is often nor so very much thinking involved. It is the boring type of programming but I am sure the most common.
I did the same job for 6 months. I really like PHP nowadays, but Christ Drupal core is a mess (or was, that was v6).
Data Visualizations from the Last 4 Centuries
I'm from Cardiff, It's a beautiful city and admittedly it does have a few big tech companies to work for. There is a decent polish community there too.

However, Cardiff is not a big big city, so it doesn't have hundreds of tech companies, and you might hit a pay ceiling faster in Cardiff than you would in London, however, the cost of living is also lower in Cardiff than London... Swings and roundabouts. Bristol is an hour or so's commute though with more tech firms.
What I find interesting is that BTC market does not care about Flexcoin shutting down - prices continue to soar to USD 700 after the MtGox induced drop to ~ USD 500.

For me this actually shows promise of real market stabillity in the long run. Image what would happen if a real bank failed in a normal country. Or image what would happen to USD if the largest world bank would fail (destroying 12% of worldwide supply of USD) and nobody would bail them out? Would the drop be worse than 10-20%?
Deregulation didn't create the wealth gap. Government regulation favoring aligned interest (read: political donors) created a regulatory environment with sufficient holes and guarantees to allow this accumulation of wealth. Go look at the history of Congress, how many come out richer or become vastly richer afterward?

Deregulation does work in many industries, regulation should never be a barrier to entry into an industry but that is what it has evolved into. It is not there to keep the public safe, to ensure pricing, or even to maintain consistency of service, it is there to protect established interest and their political backers/beneficiaries.
That's harsh. =/

Another bit of irony... http://i.imgur.com/KurgdXp.png

But seriously, sorry to those who lost coins here. Also sorry to the folks of flexcoin, the timing couldn't be worse. Can't say it enough; cold-wallets and private key that's exclusively in your possession.

Only you can prevent forest f- er...bitcoin thefts.
Some of the biggest names in PHP are working on that exact idea!
Because people are used to dealing with the regulations that go along with other people storing your money.

Most people trust places like a bank, an investment brokerage, or paypal to store money, and not have it be "lost to hackers". There are banking regulations and insurance policy that have been around for 100 years to protect people from that kind of thing.
So, is keeping a majority of bitcoins (>98%) bitcoins in cold storage the only way to keep them safe?
Good parallel. One of the points for having patents was to reduce the amount of secrecy in technology IP rights allow companies to share knowledge without fear of competing against their invention. This is covered by a form of IP: trade secrets.

This is a legitimate argument for patents in several fields, and for allowing patents for software parts of machines (users of such machinery are better off as a group if they can find out about its workings). Perhaps users of securities are put at risk by the trade secrecy governing securities innovation and so financial patents should be allowed: certainly, failure to understand risks associated with financial instruments was a large part of the problem in the 2007/8 financial crisis.

For software it is not so useful: patented software typically is triple protected: by the patent, by copyright, and by secrecy, since the patent applies to ideas in the source code that are not visible in the deployed binary. So software patents do not promote transparency.
>the official inflation numbers excludes some items and incorperate others and was different 20 years ago then now.

Yes. It no longer includes weaving looms, and now includes consumer electronics. You have an issue with that?

We don't spend our money on the same basket of goods as we did 50, 25, or even 10 years ago. The CPI should be and is fluid. You should look into how it's actually calculated, rather than going by your favourite conspiracy site's reports.
RadioShack To Close 1,100 Stores
The Most Privileged Interns Aren't on Wall Street, but in Silicon Valley
There are 12.4 million bitcoins in existence right now . 750,000 were stolen in the mtgox heist. 174,000 were confiscated by the government from Silk Road and its owner. So, just from these 2 incidents, 7.5% of the bitcoins in existence have either been stolen or seized by the US government. Considering the regular occurrences of thefts from both exchanges and from malware stealing it from people's computers, the percentage is likely much higher.
Didn't know school starts so early where you live. In my country it starts at 5, or preferably 6.

I probably overreacted, too. It's hard to take care of a kid. My kid is only 3, but I know some "genius" kids started at age 4 (like Mozart, or Tiger Woods or the Polgar sisters). Nobody wants to talk about it, but my impression is that it is possible to train for special talent. I don't want to spoil my kid's childhood, though, so I only want to encourage such things if he enjoys them (and also I am not really qualified for teaching many things).

Also, I'd say that school is overrated...
Posting this because I am sure there are people on HN that spent plenty of time at Radioshack in their youth.
How radio saved Downton Abbey
Charging for restrooms is also a bit stupid in some cases. I've run into quite a few restrooms here in Denmark where you need to pay by inserting a coin, typically only 2DKK. That's all well an good, the money goes to keep the restrooms clean and you avoid a lot of misuse. The stupid part is that a rather large number of people don't carry cash anymore.

The local bus and train terminals are 2DKK to use the restrooms, but you do really use cash to pay for your travels anymore, so the assumption that you would have a 2DKK coin is a bit flawed. Why can't I use the same card I use to check-in to bus/train to check-in to the restrooms?
Have to check out the Canadian version of DD. Site looks promising but lacked the few things I am interested in. Hope it takes off and I encounter it again.
The shallow DSL in the LLVM monad is really nice, it looks almost like the IR itself but you can abstract over it and compose it with other code. DSLs are often overlooked when talking about monad use cases.
I liked the "Fuck Generator". I've often said that many a programming career began with this:

10 PRINT "COCKS"
20 GOTO 10
"Crimea lacks any sort of strategic importance"

I am no military strategist, but isn't Crimea kind of important to Russia's navy?
If you're not curious about haskell, I suspect that parser is going to be very difficult to grok.

At least a basic understanding of haskell (or similar) is going to be required to appreciate it, and at that point you're obviously someone who was curious enough to have the knowledge to understand it to begin with.
I agree in the longterm that Russia is simply not in a position to be the world power it wants to be, and this doesn't change that; indeed, it is likely to be a step backward for them in the longterm as the world begins taking the idea that Russia is essentially a rogue state very seriously, and adjusting their economics to this reality, which Russia is not going to like.

However, in the short term he is still being very successful in making the West look feckless with its total shock that this happened and complete unpreparedness for it. It is simply not a credit to our foreign policy wonks that they are apparently so narcissistic that it appears they are unable to comprehend the idea that Putin would actually do this, despite the fact our foreign policy wonks would never see it as a good idea. For an ideology that is ever-preaching "diversity" it seems to have a really hard idea with the idea that there are people who do not merely have beliefs that superficially differ from it, but that profoundly differ from it.
Doesn't seem to be working. I input page name (has over 1 mil fans) and upon submit nothing happens? Am I missing something
If you think Crimea lacks strategic importance, I'd suggest you read up on Russia's actions regarding the black sea for the last.. 200 years or so.
I think you underestimate Putin's popularity. I have a lot of Russian friends, all of them are various degrees of pro-Putin...
The idea we're trying to implement is that the team of smart, intelligent people can naturally allocate their own time resources. That's why the responsibility for completing challenges is diffused between various team members. If somebody has more time, because they have finished all their "standard tasks" already, they can meanwhile complete a challenge. (We try to keep our challenges small to keep up the momentum.)

The process is still a work in progress, though. We're still to learn what the long term consequences will be. But we're more than willing to experiment.
HipHop its Facebook sponsored just in time compiler for php. HHVM (Hip Hop Virtual Machine). My understanding is its 95%ish compatible with most php. They're working using framework unit tests to get the percent higher.
http://www.hhvm.com/frameworks/

https://github.com/facebook/hhvm
This comment wins best comment of all time haha.. If only he could go back in time...
+1 for Huginn. It's amazing.
Just fyi, you would have been getting robbed if your PhD wasn't paid for.
I still find it incredible that merely possessing some files is enough to get you arrested and possibly end your career. Weirder still, it seems to be ok to have just about all other sorts of horrific photos depicting, say, brutal violence..
LibreOffice: ignore Microsoft's "nonsense" on UK government's open source plans
while we're at it, let's let graphite die too. in a fire.
I hope Putin's not planning to apply this problem to decide which country to invade.
How to quickly clean up your iPhone photo stream
No, but the page loads so slowly it brings memories of dialup. (What is it with 20 MB backgrounds anyway?)
Construct 2 approaching 1,000,000 downloads
Such an uplifting story