skysight-inc/HackerNews huggingface dataset:
Learning objc isn't too bad but it introduced a lot of (in my mind) unnecessary complexity because now you have two code paths (message passing vs. ordinary functions). It's quite a verbose language so you have to declare member variables several times, and ARC has drawbacks over garbage collection so it's not always clear when something should be declared strong or weak, making it nearly impossible to prove that an app is free of leaks in low memory conditions. Apple's iOS frameworks have a lot of trouble with inheritance, so you might have code that works with regular buttons but can't work with toolbar buttons for example, because they don't share a root class. So I generally find iOS development to be remarkably complex and tedious for even the simplest GUI elements, especially if you are trying to do something beyond the vanilla layouts that Apple has in mind. You also really can't develop for iOS without Stack Overflow, which to me is a red flag for any API. Xcode has numerous bugs, especially with XML, so you may find that some change you made to a .xib file is not revertible because of a caching issue, and when you examine the XML you see that something was named slightly differently, so you have to be diligent with your version control and snapshots. Apple is unable or unwilling to acknowledge many of these problems, much less solve them, so I constantly fight against issues that I thought would have been fixed by iOS 6. I think out of every API I've learned, iOS is the hardest, not because of conceptual problems (their threading system is actually fairly good) but because of poor implementation choices where Apple omitted something for political reasons so you have to reinvent the wheel. What we really need is a cross platform middleware that provides a consistent event system and API like win32 for all platforms, and then someone could write language hooks for that in javascript, lua, ruby, whatever. Without that middle layer, it's too constraining to work with pure html5 IMHO. I've only touched the tip of the iceberg here - there are so many hurdles to even getting an app published natively that I think making a cross platform app is still an open problem.
This is why wise Perl programmers turn on use strict, and then declare variables with my. Now attempting to dynamically scope stuff is a compilation error. (Except for some built in variables, like $_. Which you don't use in real programs.)

This has been standard advice since the last millennium. But you can't change it without breaking backwards compatibility.

That said, I do have several good uses for local. But not normal ones. My favorite is to use local to dynamically scope entries in a hash. I wind up using this every year or two to put in an automatic check to catch infinite recursion.
NIC.ST WWW and DNS are down, many .ST domains are unreachable since 2PM (GMT).
Ok, feedback well received, thank you.
Yep, right now it is only working with Chrome, Chromium, Safari and Chrome for mobile. Still have some issues with Firefox
I have not been so lucky. I've had to submit patches to CPAN modules because their use of $_ broke dynamically scoped access to $_.
ASK HN: Company acquired before start date (questions regarding options)
I just signed an offer at new company. The agreement included restricted stock units. The company was then acquired in an all-cash deal before my first day on the job.

What happens to the RSUs? Do they get handled like everyone else's unvested shares? Do they get cancelled because the acquisition occurred before I was officially started at the company?

I understand this is probably a case-to-case basis depending on the contractual agreement but I was hopeing someone could give some insight into typical/possible scenarios.
I'd love to repeat them, but then I'd be without internet for a week or two. Decisions, decisions!

On a serious note; how different can this be from the research for mobile phone interfering with nature??
The article does not have to say it. When a company does a secondary offering, that is a dilution, by definition.

Dilution by secondary offering does not require shareholder approval, up to a threshold. On the NASDAQ, the threshold is 20%. A company could, if it felt like it, dilute by 20% every single year for twenty years, and leave the original shareholders with 4% of the company.

The theory is that because the secondary offering will take place at fair market value, the cash raised will adequately compensate the existing shareholders for the dilution.
Skip college and become a plumber: Mayor Bloomberg
IMO it's best to not optimize for mobile as it just makes it worse.
"worth" depends completely on you. The things to keep in mind is that there are not so many straight physics jobs out there, though with the mathematical and computer skills you will develop you will probably be well equipped to handle several industry jobs.

The main question is, though, do you LOVE physics? That's the only reason for doing a PhD. If you just ABSOLUTELY have to do this thing ALL the time.
Which is...good and will force them to innovate better, no? Case in point - Samsung was nobody a few years back, though they were very much popular as a 'budget' phone maker. But look at Samsung today, they make phones much better than even Apple's iPhone (though this is subjective) in terms of features, performance, etc. But what forced Samsung to become what they are today? Pressure from its competitors.
Competition is always good....(until they start suing each other).
Incredible fact
This fact will amaze you. I am sure you didn't know this.
This has nothing to do with what major or direction high school students want to pick. I'm talking about the decision of where to go to school, and specifically highlighting the fact that uninformed kids/parents (at least in my case) picked the more expensive, private university because all signs pointed to that being the correct choice.

The answer here is to push lower cost, public colleges to kids who don't know what they want to do (or to even to those that do) instead of accruing 40k/year of debt trying to figure it out. The idea of going to a public school was out of the question when I was applying, when it very much
should have been a key option.
The key phrase is getting a sociology degree. While racking up $100K in debt for a Petroleum Engineering degree [1] arguably isn't necessary, it's much more defensible.

[1] http://blogs.wsj.com/atwork/2013/04/29/and-the-highest-paid-...
South Texas (Rio Grande Valley).

No tech companies, no headquarters of any kind.

The company that offered me a job is a big company (5000 employees) and is among the fastest growing companies in the US, so it would be a huge bummer if I got my job offer rescinded, I just can't stop thinking about it.
Can someone explain the point of the lexical subroutines? [1]

In particular, I'm lost on the difference between

sub outer {
my $closurevar;
my $inner = sub {
... use $closurevar...
};
}

and

sub outer {
my $closurevar;
my sub inner {
... use $closurevar...
}
}

(I mean this as an honest question. That said, I do hope that I'm missing something and this is more than just a syntax gloss.)

[1]: http://search.cpan.org/~rjbs/perl-5.18.0/pod/perlsub.pod#Lex...
CSS 3 Full Screen Page Transitions
Why Tumblr May Be Undervalued At $1.1B
http://yate.null.ro fully replaces Skype functionality (client and server), and works under mac/windows/linux.
1. A lot of people don't care about the DOE loan. But those who don't like the government investing in private enterprise probably aren't going to run out and buy a new Tesla just because the loan is being paid off. Net-net: perceptions of Tesla are not likely to change based on the loan repayment.

As for Tesla leaching off the government, it is important to note that $85m of Tesla's revenue in the last quarter came from regulatory credits. The vast majority, ~$67m, came from California's zero-emission program. All told, 15% of Tesla's revenue came from state and federal credits. Forget politics and perception: the impact of regulatory and tax credits on the company's finances and sales prospects over time is something any long-term Tesla investor should thoroughly understand.

2. Tesla is smart to raise capital now while money is still so cheap thanks to an almost unprecedented compression of risk premiums. The odds that capital will become more expensive in the next several years is certainly higher than the odds that it will become much cheaper.

But raising capital doesn't guarantee that capital will be deployed effectively. Celebrating the capital raise without acknowledging that there's execution risk is like celebrating a championship before the season has even started.

3. Elon Musk's obvious confidence in Tesla is a good thing, but you should not oversimplify the details of his stock purchases. Business Insider has more on this at http://www.businessinsider.com/elon-musk-borrows-150-million....

4. Raising capital for companies is one of the things that firms like Goldman Sachs and Morgan Stanley do.

As for Morgan Stanley analysts taking a positive view on Tesla's prospects, consider that in July 2008, Morgan Stanley was advising clients to buy Lehman Brothers stock because "we think near-term risk of incremental write-downs is balanced by solid liquidity and capital footing."

Tesla may or may not be successful long-term, and its stock may or may not be a good investment at current prices, but I think your analysis here is akin to looking at the exterior of the vehicle without examining what's under the hood.
Advanced Go Concurrency Patterns
How two Valve engineers walked away with the company's augmented reality glasses
I've had pretty extensive experience with PhoneGap targeting iOS, Android, WP7 and WP8, and would neither recommend it or use it again.

This isn't so much a commentary on PhoneGap as much as it is HTML5 as an application platform. The bar for an application tends to be much higher than a web page; a fantastic web page may be pretty shit when compared against the app bar. Users have fundamentally different expectations around responsiveness, interaction and fluidity for an app that they had to go install as opposed to a site they visited.

Apps demands certain responsiveness, and replicating that behavior in HTML is exceptionally difficult and leaves the user with a bunch of UI behaviors that are close, but not quite right. Fluidity in user interactions, specific scrolling behaviors and so on that are exceptionally difficult to replicate across platforms.

A browser is also a pretty leaky abstraction. Targeting an API level in Android guarantees a specific set of behavior and functionality, but targeting a browser offers no such guarantees. The Samsung Galaxy S2 has a modified fork of Webkit that provides device-specific app problems within the same versions of Android, which make releasing a quality product pretty difficult to guarantee.

And, of course, different screen dimensions are a problem. Android devices can range from variable aspect ratios with a minimum width of 240px all the way up to 1280px. Responsive design is a bit of magic that can be sprinkled on to help make things work better, but that's a substantial bit of effort relative to using the native UI tools for each individual platform.

edit: Another challenge with PhoneGap applications is targetting iOS. HIG without designer assistance is a challenge, and this particular gem in the iOS approval guidelines is somewhat damning: 2.12 Apps that are not very useful, unique, are simply web sites bundled as Apps, or do not provide any lasting entertainment value may be rejected.
Don't fall for this trap. Don't work more than 40 hours a week unless you have ownership or significant equity.

"Crunch time" is bullshit. It's a form of psychological warfare to get you to work more 99% of the time.

Don't listen to this and learn the hard way by burning out, then your startup will run out of money, you'll find another job, and realize that those extra hours were unnecessary. Or listen to people here, and go to the gym and go on dates and standup for yourself.
i have 50k lines of Ext 3 and I agree with his comment, fwiw. We've completely abandoned it for a polymer-like approach. Ext 3 doesn't separate model and view. Ext 4 has better "model-view-whatever" separation but I never really studied it deeply.
Alvin Kernan, in his memoir of WW II carrier service, Crossing the Line, wrote that tightly controlled fear sharpens the features, particularly the nose, offering a picture of the Avenger crew on which he served in the Marianas as an example.
but the linked page doesn't prove that it is.
LiveCoding on Clozure Common Lisp
That is impressive. Which libraries/frameworks is this made on?
>How is it possible that things like this are going on in this country?

This is all basic human nature. In 1776 we established that it is advantageous to a have a government which its people are capable of overthrowing. That understanding turns out to generalize well. Jefferson said it best: "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

You never want to give the government so much power that its people can no longer stop it should its leaders turn malicious. The problem is that the argument that government power could be used for malicious purposes is not heard until it actually is, and by that point it is too late. What you fail to stop with words and votes in 1933 you are then forced to stop with bombs and blood through 1945.

But we have short memories. King George is someone you read about in the history books. The men and women who fought (or survived) the Nazis are mostly dead now, as are the Japanese held in internment camps. Joe McCarthy was dead by the time most of us were born. Stalin is gone and the Russians are our "friends" now. Rwanda was far away and we don't know any of those people. The things our government does are generally somewhat less bad than the things those governments did, which makes constitutional provisions that impede tyranny start to look more like the proverbial bear-repelling rock rather than the cause of that fact.

And it wasn't so long ago that some hell-bound sons of bitches made a permanent modification to the New York City skyline. Which tempts us to forget the millions who have died at the hands of bad governments in order to avenge the thousands who died in the towers.

People want simple solutions. The FBI says they want X. They say X will help the FBI catch terrorists. But it will also help the Chinese government catch dissidents. It will help dictators catch revolutionaries. It will help terrorists and foreign governments conduct espionage. The FBI doesn't tell you that part.
Would would a Leaf get access to the carpool lane while not carpooling?
They e-mailed me earlier today, with the message "New Relic wants to buy you a free weekend of Code School to celebrate!" however, after typing in my e-mail on the promo page, I was told I was not eligible! Have now added Codeschool to my e-mail block list.
I've been working in software development since I was in High School; I started at a small agency in my hometown developing CRUD applications in ASP and PHP for local companies.

Then I went to college and in my first semester, the research director offered me a position to develop software for their research projects.

After I left college, I've been working for an advertising agency 1 year now developing more CRUD applications for local companies.

So "real world" experience (in other words besides doing research and my summer internship at a top national laboratory) I've only got 2 1/2 years of experience.
A fun experiment if you use an USB WiFi stick - put it on an USB extender cable and lay on any plant in your home. After few days the plant will most probably die in this place.
Thanks, I am using Three.js for the 3D, and Node.js and Socket.io for the server side.
Thanks. I'll give it a try. I do miss NERDTree in Emacs, but so far, I've only been tinkering around with it, and still use vim for long sessions. :)
Why should we only discuss replicated/confirmed results of scientific experiments?
Yeah, just like that experiment with the 'evil' microwaved water I bet.
So what I've done today was I brought this spreadsheet I have that details the plans for 'Server #1' with all its parts & where I'm going to source them all so that I can afford to build the server, down to a friend's computer shop who is an A+ certified builder so that I have a second set of eyes on my plans- just to be sure that what I have worked out isn't going to present me with any surprises once I get all my parts together to build the server.

I would hate to get all my money spent on the server parts & have customers having paid for a specific product & then not be able to deliver that product just as it was advertised because of some unforeseen surprise that came up once I got all the server parts together ready to be assembled.

So before I go & put up links for people to be able to pay for a quoted system, I want to be absolutely sure that this is the system that I can build with my $4k. No surprises once I get my parts together.

And that's what I've accomplished this morning, I'm still working on the rest of what everyone's written. I'll be working off of this post for a few days it appears.

Thanks to everyone who's replied.
"Lunar meteor showers have turned out to be more common than anyone expected"

what does that mean? Is there more stuff flying through space than we thought? Does this have some consequence in the odds of hitting something in space?
That's not true at all. The market cap does not inherently increase according to the dollar amount you raised.

Cash on a balance sheet almost never gets a one to one value in a public corporation. In fact quite the opposite, it almost always gets a significant discount.

If you need a great example of this, take a look at how the market valued Apple's cash vs market cap as their cash exploded to the moon rapidly while their market cap imploded (or Microsoft's similar demonstration a decade prior). Berkshire Hathaway has also regularly demonstrated this principle in action over the last 20 years. Cisco has been demonstrating it for a decade as well. None of these companies have seen their market valuations well supported or increased by huge cash positions, their cash is and was always heavily discounted (in the case of MSFT and AAPL it's not viewed as particularly valuable because it can't or won't likely be used to fuel growth, but rather discharged gradually as a modest dividend, or left to rot on the balance sheet earning very little; in the case of Berkshire, the market would rather see Buffett doing acquisitions or holding equities to boost the return (both of which he prefers to cash)).

There are a lot of companies that are publicly traded, where if you calculated their cash as part of their market valuation, they'd be trading at extremely low discounts (eg AAPL at 6 times earnings). The market is simply telling you in those cases that it does not believe their cash is very valuable.
This article barely talks about its title topic.
Thanks, the dev unit allows software to run on Windows x86. We're not building for Android. Use the latest version of Unity that you wish.
Most people don't know what to learn, or where to find the resources.

When you google around, you either find something too advanced or to "beginner" and it gets frustrating.

When I started learning how to code, I was learning JavaScript, cause I didn't really get the "concept" of web apps, back end and front end. I didn't even know there was a concept to "get"... "Rails? What's that?"

So really, that's what you're paying for with these online code schools, someone to show you the way.
In the end, everything is syntax. In the first solution, the inner sub would be called as "$inner->()" or "&$inner()". With lexical subs, we get the much nicer syntax "inner()". This decreases the syntactic pain when structuring your code to use nested functions, thus encouraging good design.

Oh, and I guess lexical subs can have prototypes, which were ignored when calling a coderef with `&` or `->()`. This allows to create really nice, but properly scoped pseudosyntax.
The best way to discuss those experiments would be to replicate and/or confirm them.
You could have just unsubsidised. This will just do unnecessary harm to their email delivery rates.
Lots of companies routinely dilute as a form of raising capital (to take advantage of a high valuation, or frequently out of desperation).

This is one of the most common forms of funding for young (or weak), publicly traded biotech and pharma companies.

It was very frequently done during the dotcom bubble days.
The health provision is a big expense, especially as it comes in the taxes column in Canada (and most civilized countries). In California your taxes include health provision for others (disability, medicare/aid) but not you. Even if health provision is given in California by your employer, that is many hundreds of dollars a month that could otherwise go to your salary.

The Californian housing market has been in a bubble for decades! I just compared the Bay Area with Vancouver, and the latter is considerably cheaper, at least half price.
The base model will have just one motor though, and the batteries are actually the same as Model S (60kWh or 85kWh). Given that they've had time to refine their manufacturing techniques and such, it could be cheaper than Model S.

However I agree that $45k is likely incorrect, and in practice it's hard to imagine they'd make it much cheaper than Model S, if at all.
Credit sales do not come from government money. They work similar to Emissions trading, that is, other manufacturers who do not produce clean vehicles have to buy them. So all that money is coming from other manufacturers. (ironically, many of them are of course giant behemoths who have been given massive direct subsidies by their respective governments)

That said, Tesla clearly has a brilliant track record of putting money to use. They built a frickin fully electric luxury sedan in 2 years on a $450M budget.
Aside from the syntactic differences, I would assume that lexical subroutines can have prototypes while subroutines stored in variables cannot.
This is interesting commentary on a certain genre of blogging:

"Because blogging isn’t reporting, nor is it subject to much editing (let alone peer review), posts like Fisher’s are particularly vulnerable to their author’s blind spots and risk endogenizing, instead of detecting and flushing out, the bullshit in their source material. What is presented as education is very likely to turn out, in reality, obfuscation.

This is an endemic problem across the massive middlebrow 'Ideas' industry that has overwhelmed the Internet, taking over from more expensive activities like research and reporting."

It does seem like everyone has to have a blog to increase their "thought leader" status these days.
Code School is not for people who know how to program. I found their material very basic and slow, even for things like node that I did not know at the time. I felt like the same material could be absorbed much quicker using other means (blogs, etc.)
Kate. I just need the syntax coloring and the terminal.
You can only replicate an experiment if you know about it...
Your employer doesn't need to know anything except what they ask for. I have never had a background check or a credit check for a job.

Furthermore, if you became a freelancer / self-employed contractor, then they become your customer - definitely no background check needed.

My advice: Find some temporary work, but start investing in your long term career. Make a web portfolio. Start blogging. Post youtube videos when you learn new stuff. Opportunities will start coming. Get your income up, pay off your debts/tickets and don't ever talk about that stuff ever again.

I did have an offer rescinded for other reasons (I'm good at talking my way out of opportunities). Don't do the same :)