skysight-inc/HackerNews huggingface dataset:
> I imagine at some point they'll be able to retrofit the API to use web components underneath.

They still use absolute positioning, don't use CSS whenever possible, and manually do everything in JS just to support IE. All of its vbox/hbox code is already obsolete as of flexbox but it doesn't use flexboxes (instead it manually calculates everything, and it's about 1000x slower than the browser at this, and I can provide benchmarks of this if you'd like). It doesn't even try to do this via feature detection. Why would you expect this thing that absolutely positions everything, even when it's almost always unnecessary, to conditionally support web components? Flexbox is well supported in SASS/Compass and they don't even use that (styles, enable via feature detect with a class, it'd literally be a 100 line patch to support). Never gonna happen. ExtJS is an abomination. I don't understand why Sencha hasn't killed it yet -- they have so many bright people and so many awesome projects, yet this continues to be the giant radioactive elephant in the room.

Instead of building for the lowest common denominator, it should progressively enhance. Specific CSS and supporting code for IE loaded as a module. Firefox, Chrome, Safari, and others don't need about 60% of the code ExtJS has as it literally serves to re-implement browser features for IE. Web developers do this by hand to great success, and create richer and more capable web applications than anything I've ever seen built on ExtJS without "coding themselves into a corner." Like I said, ExtJS is a terrible example of how to create and use a component-based model.

ExtJS components do break exactly as I said. For one, their interfaces change and fundamental problems with the layout system cause significant breakage from version to version. Build a custom component that itself contains other components -- next version it's broken. This isn't possible with web components. Take styling: every major version difference has completely broken styling in ExtJS applications. This isn't true of web components.
Usability: why you should not use horizontal newsticker
This needs to be on the front page, great news for webdevs in Windows.
Standing Out From the Crowd
Ask HN: Comments please on my beginner's introduction to JavaScript slides
I am doing a presentation for complete beginners about JavaScript (and programming) basics, and would like some feedback on anything I might have gotten wrong. (their minds are fresh, I hate to plant incorrect things there).

http://slid.es/eranation/introduction-to-javascript
>But wouldn’t it be great if you could just on a whim plop down $1 and buy a ticket that changed your life?

Aside from the monetary loss this might not even be a good thing to dream about. Consider http://lesswrong.com/lw/hl/lotteries_a_waste_of_hope/.
So far I don't have a lot of responses. What I have so far points to people reading articles about Android taking over, but not seeing it in the streets.
Immersant: It's Like Hugging Your Server in 3D
Clickable: http://slid.es/eranation/introduction-to-javascript
Marionette.RequestResponse Considered Harmful
Thanks, Sam! I'll watch github project for updates.

BTW, Mark Internate is an old friend. Tell him I said Hi.
Let's Fight Big Pharma's Crusade to Turn Eccentricity Into Illness
Superb explanation !
> I don't think anyone would seriously advocate using awk for complex projects these days

I guess it depends what you mean by 'complex'. Doing basic statistical summaries on a few columns of a TB or so of some logfile in a weird format would be a big project using a lot of the tools I've had to use, but it's more or less 'hello world' for awk. I really like it as part of an "ETL before you ETL" process where you massage your data into a format that makes your official ETL tool with fancy capabilities not choke.

The simplicity of awk also gives it a cultural advantage over things like perl in that you can argue that you're not really introducing another language into your environment, just including some glue logic with a Standardized Tool Everyone Should Know.

The only thing I'm familiar with that does such a good job of keeping simple things simple even when distributed or at largish data volumes is Splunk.
Maybe I'm not part of the target audience for this article, but it seems to lack quite a bit of information. For example, you explain what op-codes are, but then only cover one of them. I think at least a basic overview of common op-codes and how they work together would have been great. Also, the "hacking" you demonstrate is simply replacing a string, which is certainly not Java-specific and rarely useful. A more interesting example would have been changing the control flow in some way.

Of course, that's not to say it's a bad article. I just think you could have expanded quite a bit more.
Evolution of Online Advertising
Exactly. Everybody with 100 USD can get such an ID and then let it be revoked once discovered.
10 Common Mistakes When Starting A Business - Tech.Pro
Instaparse: Parsing With Clojure Is the New Black
Hi,
Click Get a Room. You'll be directly taken into the app where you can create a room. Click the blue '+' icon wherever you see it.
Hope this helps.
> Whether it's people writing polemic screeds about Glass despite knowing nothing about how the devices actually work (which they make up for by imagining a host of capabilities and features that it doesn't have)..

So, obviously, that wasn't this article, as it didnt mention Glass (and if it did, it was a fanciful story anyway). Do you have such an example? (I ask, because I auite possibly haven't read enough articles, but the ones I've seen do not seem to make this mistake, even while I can easily imagine people making the opposite one of not taking into account that it is an open platform. As an example, the killer feature mentioned in the other big article this morning--taking a picture with a wink--is a real feature Google hid that didn't even need to be coded from scratch when Mike DiGiovanni released the hack to turn it on.)

http://m.cnet.com/news/google-glass-code-lets-you-snap-a-pho...
If you have a rocket on your feet why do you need to drop something to figure out if you are accelerating? You can feel the pressure on your feet.

The only type of acceleration that is undetectable is gravity - and gravity will effect the dropped object exactly as much as you.
WebOS was great, but failed. That could well have been marketing, and MS have that covered.

I did like my Windows Phone a lot, lack of apps excepted. But then I found out I had no upgrade path to WP8, so I went back to Android- which, in the mean time, had a huge upgrade to 4.0, so the UI isn't even so far behind any more.
The lottery let's people gamble (which is illegal in most US states) because of "the children".

EG lottery profits go to support additional money for public schools.

This is all after a 16% operating / administrative cost, of course, which amounted to ~$4.83b in California alone in 2012 (2).

Back in 1988 an article appeared in the NYTimes suggesting that what was actually happening with the money, only 3 years in, was that state budgetary offices were simply using this newfound windfall to supplant existing commitments.

Explained by the State Superintend at the time "the percentage of the state budget spent on public schools declined from 39 percent four years ago to 37.5 percent last year. Lottery dollars, he said, have in effect been used to make up the difference."

Part of my frustration with California's recent retroactive tax-raises, ostensibly for education, is borne out of examples like these.

(1) http://www.nytimes.com/1988/10/04/us/california-educators-as...

(2) http://www.calwatchdog.com/2012/09/27/ca-lottery-states-cash...
The same could be said of advocacy for online-only education by (e.g.) the Kahn Academy.
This article is exactly what I needed, I've been trying to understand the unification of Gravity, Inertia and Centrifugal force for years now, couldn't fathom it, now I can.

The best I can describe it is: "Matter is like water through a drain", I wrote a post with my consolation of how the three can be seen as one:

http://sentientmachine.blogspot.com/2013/05/matter-is-like-w...
I don't enjoy/understand gambling.

I really get no 'thrill' out playing games where the odds are against me. Also, I really find it difficult to understand how people can fool themselves into thinking that they will come out ahead in the long run.

Are people really that bad at basic probability/statistics?
Because you can not create something and be inside it (i.e. be made of it) at the same time.
https://news.ycombinator.com/item?id=5726010
You probably meant set -U because you probably don't want to export fish_greeting to child processes. fish_greeting is already universal though and you don't need the empty string to unset it. This is enough:

set fish_greeting
The Renegade | The Red Edge Of Sunrise
Unless you're playing Rejection Therapy: http://rejectiontherapy.com
On a vaguely related note, Darius Bacon's Lisp-in-awk has always brought a smile to my face: https://github.com/darius/awklisp/blob/master/awklisp
For small teams I prefer hangouts to anything else (GoToHellMeeting, WebHex, et al). They do need to make the archiving and extraction of data from hangouts into something easily consumed by mortals. Beyond its most root function (videoconferencing) its not a terribly well designed UX.
That was fantastic. What the heck happened to Yahoo. They were awesome. They had the best search page/directory, they had the best webmail. Then one day they decide that they're a media company and all of the usefulness died and Google picked up right where Yahoo left off, with what? A good search engine and the best webmail.
I'm not interested in getting into a debate on the definition of a framework, but Express is not one. It's a tiny bit more than a router.
Ah, that worked, thank you. I imagine your bounce rate was pretty high with that inscrutable form, though...
Really? The majority opinion is that God is a physical being that lives inside the universe?

I know there are some religions that believe that, but they are hardly the majority.

The concept of "reference frame" doesn't even exist for a non-physical being.
Yahoo schedules NYC product event for Monday
My friend once went to a concert where entry cost "5 scratch cards" – there were about 150 people in attendance. I always wondered how the concert organisers did…
Here's 2 websites that might be helpful for what your looking for.

http://karmurl.com/ - trade feedback
http://blogoscoped.com/archive/2008-11-25-n66.html -- buy feedback for $7
Fine, but if he's viewing the universe he is not inside the universe - i.e. he doesn't have a reference frame.
The problem with this discussion is trying to come up with a one-size-fits-all response to every possible situation. Life doesn't work that way.

It's all well and good for us to think about what we might do in a situation like that. In almost every case, that's not what happens when faced with that situation. Everyone has a plan until they get punched in the face.

So let me be clear: it's extraordinarily hard to compare "what you would do" in a scenario when you have the luxury of thinking about it, considering the alternatives, and thinking about possible consequences. In the heat of the moment, when you've got seconds to react, you're likely to make a decision is widely different than the one you THINK you'd make.

Those of us who have faced violence in the past know this intimately. If you've never been held at the point of a gun (I have), then it's hard to comprehend the variety of emotions, positive and negative, that come to the surface when you're suddenly faced with that reality.

Even people who have trained their whole lives for violent encounters deal with this. I wouldn't get too worked up about not having all the answers at your fingertips.

That said, if I catch you taking a picture of my junk in the bathroom, it's not going to go well for you.
Congrats on the launch... Looks great so far. Just wanted to give you a heads up on that.
Is it worth doing this on rollovers. The expectation is actually positive then
As with what @Flenser said above, formatting code with "table" structure can result in a non-whitespace change on one line causing you to reformat the whitespace on unrelated lines, thus muddying your commit log.
Town Living Under a Rock (literally)
Please explain the second way to play! I am completely missing this! Is it in the ruleset?
Let A Button Be A Button
Compute the average payoff. If it's positive, it's investing. If it's negative, it's gambling.
Tesla Motors Inc (TSLA) Can’t Send Emails To Its Customers (North Carolina)
>How could people put themselves through this humiliation and teasing every day of their lives?

Skinner knows.
How the War Between Apple & Google Will be Won
Very interesting post. I definitely agree with you.

There are two additional points I'd like to make.

1.
>does punishment work better, or does reward work better?

There are always two "variables" when dealing with a situation:
a) person you're dealing with
b) situation you're dealing with
For situation A that involves Henry, you know that punhishment works better. For situation A that involves Jonathan you will know that reward works better. For situation B it might be just opposite for the given persons. So, you just adjust to get results. It's not like you are in the punishing camp and won't reward in another situation involving the same person or different one. It's all about results sometimes. You want to get your stuff done or your kid do what you want, right? Not just to punish or reward. That would be really hollow personality type. At least in my book.

2.
>It's just fascinating to me how people form ideas, and especially how dichotomous ideas take hold and self-reinforce, because I really think they do. I think it's one of the great problems we could solve in society in the next few dozen years with great benefit, but there's probably not anyone with the right mindset to study it correctly.

Well, this problem has been "solved" by politicians who are currently running show in the West. Ever heard of the term technocrat when talking about politicians? Left more efficient with the social issues? Let's have left there. Right more efficient with the economy? Let's do what right advocates there. What you described is what technocrat politicians believe in and do. And is the reason why our societies and economies are so messed up ;-)
It was rude in the sense that it included legal threats regarding copyright and they refused to entertain any sort of correspondence in the future. It was by far the most rude partnership request reply I have ever received.
hehe, while I do agree in this particular situation, it's rather funny to see that in writing.
If the one running the lottery is able to know which tickets it sold had which prizes, then it could simply stop selling the tickets the moment the collective prizes from the remaining tickets exceeded the collective price of the remaining tickets -- if that ever happened.

One way the charity itself could do that is by using its own account to "buy" the rest of the tickets. If someone else does it from their own pocket, then they have a guaranteed winner on their hands, but they aren't stealing from the charity -- merely using insider information to get a better deal than the rest of the players, and not returning the profits from this information back to the charity.

Of course, in a way this is cheating. The lottery issuer has more information than the players. But if it's for a good cause, then I guess it's fine :)
I have to go through several levels to do that, but I'll try. :)

Just a head's up though -- I'm considering migrating the repository to the github.com/rackerlabs organization within a week or so, for consistency with other, more officially supported, API bindings.
Yet another weekly post saying the same thing about completion numbers, the only argument they have.

According to this argument, 1500 students from all nations of the earth successfully completing a CS class at Harvard, provided at absolutely no cost to them, is a complete failure.

Meanwhile they don't mention how the schools they represent have programming weeder classes with 900 people enrolled at the start and 100 at the end. This is considered OK since 800 officially dropped the class and the class is supposed to be tough.

Every week, the same argument.

If 90% completed the class the exact same people would write their PR articles claiming that the classes have failed for not being rigorous enough.
The cost is that people who know this strategy is in place will no longer purchase any tickets if there is less than 100 tickets left.

Further if the ruse is revealed the general sale of all charity lottery tickets will define because it could be assumed that it is rigged in favour of the house.
Our product was not commercial in nature. Simply a way of helping to spread awareness of CaH as fans.
The statistics are off, the odds of someone winning several times is based on how many times they buy ticks but lot's of people play and winners often change their behavior.

First off a lot of people have won once so you need to know how many winners there where and how much they spent to get odds of a second win. Total ticket sales are ~$78 billion assuming 1 winner per 50 million spent that's ~1,560 winners per year assuming they live another 40 years that's 62,000 people that have one once alive at any one time. So now you figure how many tickets do winners buy per year? Call it 5,000$ so now each year there is around 300 million spent by lotto winners on tickets. So, you would expect ~6 people to win a second time each year.

But, this is where behavior's may really get out of whack. Of those 6 you would expect people to think they where destined to win. Let's say 1 person per year now spends 1/3 of there money on the lotto. As the payouts tends to be ~1/2th of ticket sales (jackpot's are around 1/4 but I assume non jackpot wins are rolled back in). They would then have a ~1/6 chance of a third win and a 1/36 chance of a second win. Of course that's just looking at winners for one year so around once every 20 years someone should win 4 times in a row.
As I said elsewhere, our idea was not commercial and no money would have been involved.
| the Google of today

The problem with concentrating power is that 'the Google of today' is not necessarily 'the Google of tomorrow.'
Bogus Lawsuit Plus Threats To Those Who Write About It Leads To Epic Response
> Jon Bentley found two pearls in GAWK: its regular expressions and its associative arrays.

When I encountered AWK I was amazed by associative arrays. It was the first language I've seen where associative array were so accessible. Then there was PHP (I think arrays are one of the things that strongly contribute to its popularity).

Today pretty much every commonly used language has this feature. Often it seems more mimicry that actual appreciation of this data structure. For example when other languages creators bring this structure in they tend to forget about important feature. Ordering. For example python didn't have standard ordered dictionary type for a long time. Also ruby keeps order of the items in hash only since 1.9
In the 1970s, when state lotteries were new, the Massachusetts lottery had a parimutuel payout, akin to horse racing -- whoever had the winning 4-digit number divvied up a payout. Based, I suppose, on anecdotal evidence, some guys in the Harvard physics department judged which numbers were likely to be least popular, and bet those, getting a positive return.

However, this arbitrage quickly went away. It seemed that organized criminals started using the lottery as a low cost (indeed initially negative cost) way of laundering money, using a similar scheme.

The upside is that this turned into a kind of state income tax on criminal income.
Perhaps this is out of the norm, but winning isn't relevant in the groups with which I have played the game. Laughing and having a good time until we are humored out is usually the point (we don't even keep score).
i do not believe it's a sign of anyone getting old or stopping new things, just that i think general social responsibility hasn't been catching up with emerging technologies and Googlers / early adopters could do well in publicly setting civil conduct examples, like taking the Glasses off when going to a public restroom, because people on the other end of recording devices have rights too in public spaces, if not legal, moral, ethical or merely civil common sense.

Case in point is that, for the first time i remember in the short 32 years of my life, a few weeks back i angrily got up from my metro seat and went sat dow as far as possible of a women sitted right in front of me, which was having a loud and unnecessary family discussion with her mother over the phone. She was:

* very notably by the look on peoples faces, not only causing distress to me but to the surrounding people (later afternoon rush hour)

* i could still hear her clearly 2 carriages away

* she publicly admitted during the conversation that having those kind of public conversations was uncivil but would not turn off the call, by her own will

Same goes for the latest tendency (around here at least) of people playing music loud on their phones, again, on public transportation.

There is civil freedom in public space of course, but there are different types of public spaces; closed quarters public transportation is very different from a town square and can only imagine how discomforting it will feel when i'm sat across someone wearing Google classes, wondering if i'm being recorded or not and most importantly, if i as a citizen complain about my privacy, will be recorded and shown up on Youtube in the next minute.
Maybe for you. But I don't think that someone else should have that power over me. Once you start allowing that barrier to be crossed, you're inviting all sorts of other incursions on what we consider to be personal liberties.
My kids are on it. They use Facebook Messenger more than SMS.

Of course, they also use SMS, WhatsApp, Snapchat, and Kik as well, so I have to have all of those on my phone.
We found one annoying case[0], and one critical case[1].

The annoying case is vim plugins that use $SHELL to execute some bash/sh code. The workaround is to specify `set shell=sh` in .vimrc. We did not attempt to address this in fish (I didn't check but I would guess that tcsh is affected the same way).

The critical case is, at the login window, OpenSUSE invokes the login shell with a POSIX-ism (specifically 'exec "${@}"'), which was not recognized by fish. So setting fish as your login shell would lock OpenSUSE users out of their machines entirely!

What we did was hack fish to recognize exactly this command in its arguments, and handle it the way OpenSUSE expects, via a new function "fish_xdm_login_hack_hack_hack_hack". Heh.

[0] https://github.com/fish-shell/fish-shell/issues/145

[1] https://github.com/fish-shell/fish-shell/issues/367
The security is still in the hands of the user. An app can ask for a handful of permissions that the user can just agree to. The user is still compromised, but now you can pin even more blame on the user. That doesn't help any.
Higher chance of payout, yes. But lower amount of payout.

If you adjust for the payout amount, the liquidity difference, the amount of risk, and the amount of work involved, I say they work out to be roughly the same.

Remember, no one can dilute your lotto tickets after the fact :)
For the performance issue, either update to the latest version of Eclipse or downgrade to 3.8:
http://download.eclipse.org/eclipse/downloads/eclipse3x.html

Juno has been plagued with performance problems and so I downgraded to 3.8 and it's back to normal. (I.E. no atrocious delay in switching from Java to XML editors)