skysight-inc/HackerNews huggingface dataset:
The "--perl-regexp" flag to git grep enables perl flavored regexes, which contain explicit word boundary matching. To match only word starts, you could use the following:

git grep --perl-regexp "\brout"

and for just word endings

git grep --perl-regexp "outer\b"
The big win of "managing side effects as a type" is not that effectful code gets an IO type but that everything else does not. Thus the lack of IO in a function's type assures you, reliably, that the function does not cause side effects or depend upon the state of the outside universe. This lets you corral effectful code and keep the bulk of your code "pure" and easy to reuse and reason about.
Indeed. This seems to be the main problem. One running joke around my family / friends is that a hardworking B/C student does best in Engineering majors, because they work hard and are used to getting poor grades anyway. They've already come across that problem in their life.

On the other hand, students who got straight A's throughout high school become surprised at the difficulty, get their first B in their lifetime, and feel bad about themselves... possibly even switching majors.
Cross-Platform Portable Class Libraries with .NET are Happening
Silence + no food allows creates a very different space from a cafe. It has value also, but it's not remotely the same thing.
> FISC judges issue warrants which can be overturned by federal courts

How? EFF and ACLU have tried that a few times, and they've been rejected by federal Courts either because "they had no standing" - and they can't get standing because they can't get the proof whether they're being spied upon or not because the government keeps it secret (and has rejected all FOIA requests for it), or because the government appealed state privileges.

They've made it in such a way that it it's almost impossible to do it without someone actually leaking all this stuff out. Even Ron Wyden, who was in the intelligence committee didn't know all the facts, and even if he did, he couldn't even tell it to the rest of the Congress.

Everything about this whole process was air tight, so you can't appeal it in any way, or stop it. I've watched the FISA Amendments Act voting. All the Congress heard about it was that "it's necessary to protect against terrorists, so vote for it". And Ron Wyden and a few others said it's being abused, but couldn't say much else.
You really need to compare him to the baseline politician. In that comparison, Ron Paul in general has advocated quite a record against tyranny and rights violations, including standing up to privacy violations, government control of printing money, and conducting war to expand power and violate rights. In fact, almost the exact opposity of tyranny and rights violations.

Definition of tyranny according to Wikipedia.
"an absolute ruler unrestrained by law or constitution, and/or one who has usurped legitimate sovereignty"

His support of state rights was always (this is my perception) based off: in theory, the constitution and in practice, the idea that government at the lowest levels (and free movement between governments) is the best way to fight tyranny and support human rights.
How To Use Your Passion To Earn a Big Salary
…unless the EU forbids tracking and session cookies all together, but a ban on tracking cookies alone will be enough motivation already i guess.
It always seemed to me like leachers are something that shops should deal with on a customer by customer basises. But I can understand why they want rules from corporate. It can be very hard for a barista to tell someone to leave (or even kick them out) but let another person stay.

I know several Starbucks where people will spend 8+ hours sitting there with their laptop. There was even one guy that would be there from open to close 4-5 times a week! Some of these people would get agressive about which table was "theirs" or which outlet they used. (one guy was from another country and his power adaptor blocked the second outlet.)

Blocking the power outlets help, but a good MacBook will last 4-8 hours anyway. I'd hate to see the free wifi disappear because of a few bad apples.
After trying to implement it, I've grown frustrated by the Web Audio spec. It has a lot of nice features, but they're ultimately justified by JS being slow. The spec itself is not very tight considering how much it covers - for example, I can easily see parameter changes behaving differently across different implementations. The real tests of the API haven't appeared yet, and if they fail all those features will be a waste because nobody will want to ship on it.
Title could almost be from The Onion.

But it's true. It is hard, but that's okay. The whole point of the grading system was to acknowledge subtlety; that it's okay if you don't have an A, because it doesn't mean you haven't learnt anything, it just means you haven't learnt everything [in that course]. But somehow many students seem to take it as the end of the world not to achieve that A, when really that isn't the important thing at all.

This is my own bias talking, but I think that tests were people routinely get above ~80% are badly designed tests, because set up the wrong expectations in students. If students expect 90-100% scores are possible, and then they start a subject where all of a sudden that's not true, then they're not going to deal with that well. Whereas if everyone's getting results in the 60-80% range, it sets up an attitude that "this is hard, but that's okay -- it's meant to be, and there's no shame in realising that there's a lot left to learn." Which I think is altogether more helpful...
VideoLan is a non for profit association, and VLC is Free Software (GPL).

I wouldn't qualify their incentives as being the same (and VideoLan has no commercial incentive at all by definition).
it sounds like the 100% democratic across the board structure may have failed - if Valve wanted to try this again, i would suggest they self-appoint a "small committee" of people interested in spearheading the project, keep the same "internal corporate rules" but keep decision-making between the two sides of the company firewalled for a fixed period of time while the new venture gains traction.
4'33" isn't "silence", it's "sounds of an orchestra playing nothing". It's supposed to be the sounds of pages turning, people shuffling for comfort, so on and so forth. A countdown clock would not be an appropriate replica.
But they are quite. It should have white noise
One interesting tech solution I've seen at Argo Tea in NYC is the deployment of Wi-Fi codes on receipts: each code lasts for about half an hour or an hour.
A custom binary protocol? Then I would have to write a client! And install it everywhere. And keep it updated. And design my gui in wingdi instead of html.

That is not a viable option.
I haven't looked into it but it may be cheaper. That being said, both Parse and Azure support more platforms than this offering. I think that even Firebase has an service in this space as well.
Contra +1
If that's the parent's position, then I'm not sure I agree but I can't fault them for inconsistency. In an environment where many cars are traveling faster, though, it is nonetheless irresponsible and dangerous to others to ride a bike recklessly (or otherwise be unpredictable near fast-moving traffic).
Found via Reddit. Video of 3d Liquid metal printing: https://www.youtube.com/watch?v=ql3pXn8-sHA. Also more info from the creator (via Reddit): http://www.reddit.com/r/videos/comments/1hx18t/i_spent_four_...
You shouldn't have to use a QWERTY-like keyboard to enter text into a tablet. The very idea of a flat space with a list of letters which has you individually selecting letters (or moving your finger around on a full list of letters) is a huge waste of space on an already small screen.
> She's complaining about the flat structure because she cannot cocere coders to get interested and join her project. Maybe that's because they're all chasing the big bucks and prestige or maybe it's because they're paranoid, but maybe it's just because she's not a gamer, working on an unproven prototype that doesn't seem to have any gameplay, in a gaming company filled with people who care about actual games.

She relates stories about how employees would come by to play with the prototypes, so there appeared to be some interest from a gaming perspective. She elaborates that there are disincentives to work on risky or less-visible projects because of the way that the bonuses work. Assuming what she says is accurate, that sounds like a legitimate problem.

> Of course it couldn't be that she actually doesn't get valve and doesn't fit in, the problem NEEDS to be with the organisation, not the person who admitted to constantly complaining they couldn't hire someone cheap to do their grunt work.

The problem was specifically that they found machinists who were qualified and willing, but were rejected at the eleventh hour for not being a culture fit. That is a problem. I know the conventional wisdom around here is that office culture is king, but there should be some amount of flexibility in order to staff necessary positions.
I've never been a coffee drinker, so I'd sometimes park where I can pick up a signal, using my vehicle as a power source, but since I got a "4G" mobile hotspot I no longer use free wifi and I have the option of smoking while in the confines of my automobile as well as a change of scenery as the situation permits.
You: Number One.
I see commercials for tires all the time. Michelin, Goodyear, and Firestone, all saying how their tire is the best. I also see a lot of commercials for places like Aamco, National Tire and Battery, and Just Brakes, saying they have the best prices for tires.
> It has never been the responsibility of application developers to fix vulnerabilities in third-party libraries (like, ever)

If your customer gets it from you, then it is your responsibility.
I wonder if someone could find stats on how many car-on-car collisions are caused by avoiding a bicycle, and compare that to how many car-on-bicycle collisions are caused by a swerving bicyclist (or any cause, really).

And then look at the resulting injuries.
Saturday I went to the Duboce Park Cafe in SF and all of the good tables (against the wall/window) were taken up by single laptoppers. The only available tables for us were in the middle of the room and at the counter. I even came up with the idea that they should build little walls for the tables to divide them into two single seats, like library carrels (http://rmulibrarian.wordpress.com/2010/01/09/new-library-fur...).

Even so, if laptoppers had better manners, they'd take the worst seats first.
Fairly simple solution- try selling Gogo-style wifi to customers? That way people who are using the wifi the most will be paying their share. Counterargument: "I'd just go to a place that has free wifi." Exactly.
In my experience, most coffee shops don't really have that much to offer if they take away the opportunity to sit somewhere pleasant and work.

Coffee shops that actually serve good coffee tend to drive away people who want to sit quietly with their computers - they have too much business.
The problem with libraries is that they are full of actual hobos.
Maybe they are approaching limits of http://en.wikipedia.org/wiki/Dunbar%27s_number.
Re 4: Only under incredibly optimistic models of the future survival and expansion of our species! The IPv6 address space has about 10^38 addresses. Earth's land surface is about 150*10^18 square meters. So in a future where the planet is so crowded that every person lives on a single square meter and owns 10^6 globally routable gadgets, we'd still need 10^12 Earth sized planets to exhaust IPv6.

(Caveat, I'm back-of-the-enveloping this on my phone about to go to sleep
But still!)
I suspect it's more an issue of critical mass. A "flat" culture like that can probably only grow so large and remain stable and cohesive. Without the leadership and direction that even a minimal hierarchy could provide, they can't afford to branch out to such an extreme degree as what her AR project would require.
When there is more demand for my services than I feel like handling, I can raise my rates. If a customer doesn't like it, they can find someone else. They don't need me.

However, when your business sells a necessity (like public transportation or runs a hospital) don't expect your customers to understand that your decision to charge them much higher prices during an emergency is simply done "to better allocate a scarce resource". Keeping poor people from using all the scarce resources is probably not the best thing to do if you want repeat business.
I'm deeply sorry for what you had to endure, and I didn't mean to trivialize your situation.
Even better: use pss (https://github.com/eliben/pss)

It's not git-exclusive and has a ton of additional capabilities and features. Besides, being a pure Python program it's very easy to tweak if there's something you want done differently.

[Disclaimer: shameless plug]
Start to insult customers; they will leave, and remember.

I used to buy crap at Costco. Since they changed their
"100 percent satisfaction guarantee policy", I don't buy much anymore. I don't even think I will renew my card.

The worst thing a company can do is assume their customers
are parasites.
What commercial incentives do VideoLAN have? From what I've gathered, they are a non-profit funded by donations that are solely used for maintaining the project (i.e. there are no paid employees and so on). Though I may have misunderstood.
C++ and Node.js: An unholy combination
I have no idea what goes on internally in valve but the lady wasn't working on essential but non-popular work, she was working on an idea, based around her desire to engineer hardware, retroactively attempting to add gameplay to it after what sounds like numerous attempts were made to nudge her onto course and remind her she was working at a gaming company.

She pretty much says all that in the video interview, it's just a shame that people have bought into valve having a problem, rather than valve just being the wrong place for her to work and follow her desire to produce new and interesting hardware, which doesn't sound like it entirly fits the pc gaming landscape.
"List – A special value that can contain other values, though not other lists."

https://www.dropbox.com/developers/datastore/tutorial/ios#re...

Seems like a very significant limitation. No mechanism for storing hierarchical data structures. For example, this is certainly not capable of storing arbitrary JSON data as a Record.
I will agree that a relatively slow-moving bicycle on a road with fast-moving cars is indeed a dangerous situation for everyone. And I would agree that having similar speed vehicles together seems safer.

However, in places with vehicles going differing speeds, I would put the onus of safety on the faster vehicles.
I was wondering if something like this would be likeable by users.
https://news.ycombinator.com/item?id=6005252
<<<< A wiki/resource list.
Textbook "Tragedy of the Commons"

http://en.wikipedia.org/wiki/Tragedy_of_the_commons
What Google's Author Rank Progam Might Look Like
In comparison to firebase, this solves the offline sync problem, if your user is offline, you can still save to dropbox datastore locally, when you get a connection, it will automatically sync and take care of conflict resolution.
Of course. And if they do implement such a JavaScript-dependant approach, it will be entirely different from any other government site. As I said, I look forward to seeing how they progress.
You will need to explain how the fact that pedestrians are even less threatening and more vulnerable is the same as implying this gives them the right to walk on the middle of the road.
That's the so-called "Konami Code" - nothing too unusual, this has been used on a variety of websites to display/hide easter-eggs..

http://en.wikipedia.org/wiki/Konami_Code
What customers though?

Edit: To clarify, from what I can tell no one has ever paid even a cent for VLC, though they may have donated to the VideoLAN project.

And regardless of whether you feel that they had any moral responsibility to fix the vulnerability anyway, it's hard to fault VideoLAN here since that is exactly what they did (unless you believe Secunia's side of the story, of course).
really solid post
> FISC judges issue warrants which can be overturned by federal courts. The FISC isn't "supreme" and is in fact subject to the judgements of SCOTUS.

I admit this thought crossed my mind as well when I read the article. But then I realized that federal court review of FISC decisions doesn't mean much when there is nobody to appeal the decisions of FISC to those federal courts.

The FISC warrants hearings are ex parte, and the vast majority of them are granted. The government won't appeal their victories. They probably don't appeal their losses either, electing instead to refine their evidence and apply again in that sliver of cases where their initial warrant request is denied.

For all practical purposes, then, FISC is supreme. With no mechanism for their decisions to reach the normal federal court system, their secret decisions stand unchallenged and those secret decisions stand as precedent for future cases that come before FISC.

A question for someone more familiar with federal courts than I: can higher federal courts review the decisions of lower courts without any party making such a request, or must cases reach higher courts only on appeal?
What would Motorola do?
I built a fairly basic ambient drone generator with the Chrome implementation of the Web Audio API:

http://matt-diamond.com/drone.html

Haven't gotten a chance to add Firefox compatibility yet (working on it!).
"I was fired for being abrasive," she said. "And I probably was"

As someone who has been there, I'm impressed by her brutally honest introspection.
I'm not really surprised by reports of an ~ unofficial semi secret cabal forming and consolidating power. It's human nature to collect power and if the rules say "flat" then the only way to get power is to band together. Power generally wants to consolidate and it seems to take concerted constant effort to diffuse it.
Hi guys, this is my first HN post - let me know what you think!
every. single. industry where efficiency and profit are the main concerns and externalities are captured accurately and true competition can exist. That is not always true. Off the top of my head the justice system and emergency service providers (think fire/hazmat etc) come to mind.

Lets not let the bizarre state of the US medical industry act as some sort of straw man to support some ultra libertarian viewpoint.
If Kerouac wrote JavaScript
And flipping the suffix to "a b" causes a debugging console to appear
Thank you! Glad you enjoyed it :)
>But somehow many students seem to take it as the end of the world not to achieve that A, when really that isn't the important thing at all.

They are, quite rightly, taking cues from the rest of the world. There is a difference in how we treat straight a students and everyone else.
Seems like this is in direct competition with Parse.

I look forward to kicking the tires, since I've been looking for a solid replacement for Parse ever since Facebook bought them.
Having some experience in this, I can tell you it's never a good idea to put a contra code on a major publication's site!
awesome post - people like you are definitely an asset and any good tech (or other) company or start up should be pumped to have you.
Yes, this is a real problem some places. At the closest Starbucks to me, there is practically never a free seat because of all the people camped out for hours at a time every single day. That means people with more reasonable needs, such as a place to sit for a few minutes waiting for a friend to arrive or complete an errand nearby, are out of luck. Those few are degrading the experience for many more, quite likely costing the store more than their own paltry consumption could justify (especially in a market with many alternatives).

Of course, this is exactly what anyone familiar with the tragedy of the commons would have expected. Self-regulation is not nearly as common or as effective as many would have us believe. Those squatters could yield this quasi-public space to others and work from home. They choose not to, knowing full well that they are being selfish by over-consuming that shared resource. They probably even know that the free lunch will not last forever. Nonetheless they persist. The proprietors have no choice but to take matters into their own hands, protecting their own interest by setting and enforcing limits.

With the right hardware it would be easy to tell which MAC address corresponds to which seat, and of course the proprietor would know when the occupant last purchased anything. That information should be sufficient to do the right thing when seats run out. ;)
Shumway (Flash implemented in JS) running demos and Youtube
Price transparency is a key part of Obamacare and is apparently beginning to work. For example, insurance companies in Oregon reduced premiums after seeing competitor prices [1].

1: http://www.oregonlive.com/health/index.ssf/2013/05/two_orego...
This kind of discussion fascinates me; along with regularly participating in online "tests" that flat out claim you've mastered something after demonstrating minimal proficiency, I've also been contemplating depth of understanding, provoked by reading such things as "How to Read a Book".

Should test scores be curved? Or does that defeat the whole point of tests (ie, to verify proficiency)? What even denotes proficiency? Getting the answer right once? Ten times in a row? 100 times separated by other different questions?

I guess it ultimately comes down to measuring what you care about, but I think that tests and teaching in general could use a lot more discussion and analysis, and at least to me it's fascinating, from many angles (eg, as you mention, student attitudes and the best way to motivate people to truly learn).
"Grep too slow?" no...
Ruby Prize 2013 award
>> The safe thing to do when biking on sidewalks is to dismount as you arrive at an intersection

I think this is also the legally required thing to do in most jurisdictions.
There's some discussion here and a link to a podcast episode where Jeri talks about the firing and being given the IP for her project:

https://news.ycombinator.com/item?id=5786200
Perhaps a bike or helmet with both front and rear camera sensors? That way you'll usually have some footage of the car's approach, though in low light it probably wouldn't help very much.
This is why I 1) only hang around coffee shops with big seating areas, 2) pick the smallest table near a power plug, 3) try to buy something every two hours, be it water, coffee, sandwiches or muffins, to "simulate" turnaround as much as possible, and 4) evangelize for my local on G+, TripAdvisor etc.

I'm probably a bit over-sensitive because I come from a country (Italy) where waiters and owners will basically tell you to sod off if you hang around a table more than one hour... which is probably why most cafes there never offered wifi in the first place.
This article seemed to point out a problem with perception of "the value of a letter grade" rather than a lack of motivation to do hard work.

It indicated to me that grades, rather than the outcome from learning, are dangerously overvalued in our education and employment systems.