skysight-inc/HackerNews huggingface dataset:
I sort of understand how deoptimization works in general but I'm not sure how the JVM can use those methods to detect when a constant changes. Say you have code like the following:

GRAVITY = 9.81
def g_force(mass):
GRAVITY * mass

At this point the JVM will aggressively optimize that method to inline the constant. If you later do:

GRAVITY /= 6 # we're on the moon now!

This change will affect the values of any computations that depend on the return value of g_force but should not affect which code paths get executed down the line. I'm probably missing something about how this mechanism works, but how would deoptimizing be triggered here?
Excellent. Why is Amazon suddenly going so easy on the DRM? Did they realize it's pointless? Is this a bug? That's what I'm curious about.
Excuse my ignorance, but don't you have the same behavior with `require` in Ruby? How are the behaviors of Ruby's `require` and PHP's `include_once` different?
>> On more than one occasion, we would be approached by "youths" (one of them wasn't even that young)

What does this even mean? I am seriously confused.

"The smell of marijuana was another tell." Wow, the few times I tried weed in college everyone must have thought I was a drug dealer, too.
The key word is ethnicity. The book that changed my way of thinking about the subject is _The Slaughter of Cities_, by E. Michael Jones.

http://www.amazon.com/Slaughter-Cities-Renewal-Ethnic-Cleans...

"In his meticulously documented book, he proves that urban renewal had more to do with ethnicity than it ever had to do with design or hygiene or blight. Urban renewal was the last gasp attempt of the WASP ruling class to take control of a country that was slipping out of its grasp for demographic reasons. The largely Catholic ethnics were to be driven out of their neighborhoods into the suburbs, where they were to be "Americanized" according to WASP principles. The neighborhoods they left behind were to be turned over to the sharecroppers from the South or turned into futuristic Bauhaus enclaves for the new government elites. Using political tactics like eminent domain and "integration," the planners made sure that the ethnic neighborhood got transformed into something more congenial to their dreams of social engineering than the actual communities of people they saw as a threat to their control."
the MPlayer-ce port works well for me, albeit you cant use video that exceeds 640x480 in resolution without lag problems, but it plays dvd RIPS and XVID encodes just fine.
Deeper Connections Between Apps with Web Intents
In the 'top' family, iotop is extremely useful for identifying bottlenecks. It shows you the I/O rate per process, which wasn't even possible until a recent kernel.
I wouldn't say it's the dumbest thing I've seen but Google certainly moved on by acquiring Dealmap.
Yeah, it sounds like they don't care about that, which is lame. And honestly, asking for a paragraph after you've talked with somebody seems weird.

In my case, it's basically a Turing test. I ask for it along with the resume link. It's just to weed out the obvious dolts. (Who, as somebody else mentioned, are unfortunately 90% of the applicants.) The questions I use are here: http://needfeed.com/about/jobs

I'm pretty sure that anybody would want to hire could toss off an answer to one of those in 5 minutes. Which, given that I'm going to spend 10 or 15 minutes reading their resume, their blog, and (hopefully) their open-source code, seems like a fair trade.
HBase might be a good solution, too, but I don't know a whole lot about it. CouchDB would work fine but you'd want to add some operational automation and a proxy to roll over between temporary databases since deleting old logs from a single database won't fully reduce its size and, as stated above, compaction isn't terribly fun or fast but you can avoid it by just flat out deleting old log databases.
As it happens, the introduction says, verbatim, "It's like PHP: The Good Parts, but that already exists and is terrible."

So, yeah. ;-) Still a ways off, though.
Just a stupid idea. Get those applicants to write punch of functions which can be used on the development of the product. Give them specification of the function and they should be able to write it. Hire the one who's function is the best. xD
The Secret World of North Korea's New Rich
The problem doesn't come with the inserts, it comes with the deletes, where CouchDB will keep some metadata and stubs around to support its replication use cases. In a pure logging setup this is perhaps less than ideal.
Let me put it this way: I was able to read his comment and recognize that he and I agreed, despite the fact that I don't know him.
Syobon Action is one of my all time favorite games ever, would've never thought I'd hear about it here on HN though.
The doc's fairly incomplete and requires you to actually browse through all the separate libraries that comprise the standard distro to even understand what you can use and where. It being OOP-tastic and brimming with interfaces and namespacing is great, but it is far from friendly to Symfony newbies.

Feels like you have to know Symfony 1 to understand what 2 is trying to do really. I wouldn't recommend it as a good intro to MVC.
There are many of us who have always known groupon was a bad idea. My information comes from all my friends in SF who own businesses that Groupon attempted to solicit.

My friends cupcake shop in union square was asked to sell their cupcakes for 25% of retail and at a loss in a very pushy way by groupon.

I have been on groupon for pretty much since they launched. I have bought in total (1) groupon. And I forgot about it and it expired.

I am not interested in the things they have, which are typically things I would never frequently buy anyway (skydiving, spas etc). Thus, I have never seen it being a place I would spend much money. I haven't logged into it for nearly a year. I stopped all emails way back as well.
Actually - I think if that is their problem it would be easier. Just stop marketing... new customers aren't worth anything. I, however, think it IS the new customers bringing in the revenue and the old customers not buying anything. They need to keep the marketing up to get the new customers who are new to the fad and buy stuff.
This is correct. We closed the round more than a month ago.
This is a pretty cool concept. I like how this essentially opens up connections and opportunity to anyone.
Produtos Macneil Automotive Parts and Accessories por 4 Wheel Drive
Confirmed: none of my old boxes from family or friends are worth a penny and not one of my machines is worth more to the world than it is to me.
Feel free to send us an email any time: hello at zerocater
You might want to look into any class actions against groupon for expiring. California has very favorable gift card laws and I think the court would agree this is a gift card.
Here is a bit of 2000 bubble lore about a company that did the same thing.

http://www.jamesaltucher.com/2011/02/my-name-is-james-a-and-...

I am not saying this is relvant to anything, but it is just interesting.

In any event good luck to Envolve. I am sure they will do much better than gooey, mostly because they do not require users to download or install anything.
Yeah; this is assuming a large, successful exit, then reinvesting some of your exit into your investors as an LP. Otherwise you'd be a crappy angel investor anyway.
I don't know why you got downvoted. That's a legit concern.
Are they letting Goldman Sachs handle the IPO?

GS is pretty evil in pushing ridiculous IPO values in order to get their higher cut. Cant wait to see what BS goes on with GS handling Facebooks IPO.
black hat would be hacking websites and adding those links to he hacked websites. :)
Yes, for a few reasons. Sure, I think money has had a corrupting influence on Congress, to the point of regulatory capture of legislatures by business in many cases. But:

- It's misleading to just say everyone in Congress is bought, as if tall legislators were equally corrupt. This discourages analysis rather than promoting it.

- while I think an infrastructure bank is a good idea and should have been implemented back in Spring 2009, the idea that the President can just bring one into being by fiat is laughable.

- particularly a President that ~20% of the electorate entertains wild conspiracy theories about.

- it was said of Teddy Roosevelt: 'You must always remember that the President is about six.' I feel the same way about the emotional maturity of people who wish the President would solve problems by thumping a bully pulpit or swinging a big stick. Not that I'm endorsing Obama's apparent passivity in the face on Congressional instransigence; he puts me in mind of Taft, another well-meaning but unworldly executive.
Syncing Kindle titles to your Android device
How does one go about making their content on Youtube unavailable to one country? I don't see that anywhere in my settings on my videos, not that I'd want to limit it (which just seems silly, as it will only encourage piracy).
Agreed. The big problem with PHP, as I see it, is that you have to be already very very good with PHP to write a safe, well-performing application in it. The steps you may take along the way to get there may be very scary, especially if it involves other people paying you to do it.
The thing to hope for is the death of the terminology and the proliferation, not consolidation, of technologies. Saying that all these diverse storage systems are all "NoSQL" and there will eventually be a "winner" is like saying that there will be one winner among Clojure, Scala, Java, JRuby, and Jython just because they all run on the JVM. Okay, so that's actually a bad comparison. In any case, what I mean to say is there's more than one thing moving under this blanket. Don't be fooled by the marketing.
Wow. Imagine if DropBox dealt with problems and potential PR disasters this way...

I was moments away from completely writing off AngelList when I read the parent comment. Now they seem cool. Disaster averted.
That's because clients rarely ask for it.

I work for an ISP and in about three years nobody had asked us about anything¹ more complicated than a simple PHP hosting with FTP access. (We don't really advertise hosting solutions, though, as this is not our main business.)

If you want your ISP to support something like Java or Rails — ask them today. They probably won't offer it now (or - who knows - they may surprise you!), but unless they're a type of company where individual client feedback gets lost, they'll note your request.

___

¹) Except for a colocated hosting, to be precise. But that's completely another case.
> In which way does the ergonomics differ from a fixed workstation?

I'm assuming she/he meant when the laptop keyboard and trackpad are used.
It would be great to have a premium option where an office can also order some flowers/plants to be delivered as well.
Perl is a good example where most third-party modules have good documentation. Or at least a SYNOPSIS you can poke, some DESCRIPTION of what the module does, and a few hundred lines of code in the t/ directory that test all the features of the modules.

The one thing I miss in Python is the inability to click "view source" in my web browser to see how a core Python library is implemented. PHP also has this problem. (Code is the best documentation. Learn to read it.)
It was actually smart. Groupon wanted a hefty break-up $5B fee. Google refused. Groupon must have known that the deal would never pass muster at Google after real number crunching. Hence they refused. With the break-up fee they would have still made like bandits.
That's like saying because the Pyramids were built in stone, we should build all our skyscrapers in stone. I bet that if Facebook, Wordpress or Digg were built in Ruby on Rails or some other modern language, they would be exponentially faster and easier to develop and maintain.
The people ordering food usually also end up responsible for every other miscellaneous task, so are very happy to have someone take care of one of their least important, but most time consuming jobs. One of the most frequent reactions from new signups we see is a big sigh of relief.

The second issue is that someone responsible for ordering food part time isn't going to do it as well as someone who's concerned with nothing else. It's specialization of labor.
It's like a mini XBox Connect.
Interesting. I did a few tests and it seems Chrome will let me override window.location with __defineSetter__() but not document.location, while Safari was the other way around. Firefox 3.x won't let me redefine either one ("TypeError: redeclaration of var location").
What is the minimum order? I didnt see it in "Learn More" -- I work from home and am a single consultant. Can I use ZeroCater?
What's so hard about OO? Instead of string_length($string), you write $string->length. The semantics are the same. If you pass something other than a string to string_length, the results are undefined. If you call length on an object that doesn't do the length method, then you get an error.

The attraction of PHP is that it never tells you that you're writing code that doesn't work. The result is a lot of code that doesn't work. This is bad, not good.
GClub กฏกติกาก่อนสมัครเล่นคาสิโนออนไลน์ GClub Casino Online
Judge Recognizes 4th Amendment: Police Can't Get Location Info From Telcos
That's my point: if you're using this to play dvd rips, those are almost always in 720x480. Even looking at my video server, only a handful of really old (Indeo) videos pass that resolution requirement. I suppose I could make a transcode server, but why?

A real computer with hdmi out can play everything. And one of the cheapest hdmi laptops are $300.

And what's with the downvotes? Am I functionally wrong with my assessment that there's nothing spectacular with this console? It cant even do HD, let alone play DVDs (yes, earlier versions could, but has been disabled in hardware).
Not only is their accounting on customer acquisition bogus, but how do they possibly value these customers? FTA:

Groupon's subscriber count -- the one Mason says it is spending aggressively to beef up -- now stands at 116 million, up from 83 million at the end of last quarter. Among those subscribers, 23 million have purchased a Groupon at least once.

So they have 116 million "customers," but less than 1 in 5 of those have ever actually purchased a deal?

Plus aren't Groupon's customers really the businesses paying for the Groupons, not the millions of subscribers to their e-mail list that apparently don't even purchase anything from Groupon? Seems to me that the "customers" they're referring to is really the product they're selling, and at a huge loss apparently.
A recipe for App Store profit: Take game idea from small devs  iOS  profit.
I'd be willing to bet that 90% of people at Defcon with Androids had them rooted. Many were probably running custom ROMs.
"Decline" means different things when applied to Detroit and to its suburbs. The suburbs are much safer and have much better infrastructure, among many other things.

Higher up in this thread, I referenced the book The Slaughter of Cities, by E. Michael Jones. That is the book around which my views have gelled.
They finally have their own page back up: http://rimuhosting.com/
The original eveloper response here: http://www.vlambeer.com/2011/08/08/encouragement/

and there's a storm brewing about it on twitter if you look for Gamenauts (http://twitter.com/#!/search/realtime/%22gamenauts%22)

or #NinjaFishing (http://twitter.com/#!/search/realtime/%22ninja%20fishing%22).
USB 3.0 could soon drive monitors, hard drives with 100W of power
How are people using this? For having an incredibly fast suite of unit tests (i.e. speed up your suite from 25 seconds to 5 seconds)? Or are we talking about a 25 hour build that now runs in 5 hours?
I don't know the granularity on which the deoptimization guards get inserted, but the basic idea would be that if the constant changes, any code running that depended on the value of that constant will have to deoptimize.

In your example, we would never enter the optimized code path without knowing that the constant's still the same as last time. Since no loop is emitted, there's no deoptimization mid-loop required. So we either run the optimized code, or we never get to the optimized code.

If a deopt is required mid-loop, Hotspot inserts a "trap" that would see the deopt command and immediately branch to the interpreter with the current state.

Of course there's limits to how far optimization can go, but having a way to tell Hotspot that there's a known-immutable constant object reference at this point in the code opens up a lot of opportunities.
Their Dallas datacenter's page is finally loading as well: http://www.colo4.com/

"Based on current progress the electricians expect to start powering the equipment on between 6:15 – 7:00pm Central"

:(
chartbeat did the exact same thing called firefly. Their implementation was almost identical to envovle, but they ultimately pivoted to what they are today.
I'm a Youtube partner and I can't find the option, but I do remember seeing it somewhere. How strange, seems to have disappeared. I'll check the FAQs.
Uh, Perl?

I wouldn't write this kind of Perl, but Perl is not going to get in your way. "use CGI; print html(body(p("OH HAI")))".

When you realize that this sucks and you can't maintain it, you'll be able to gradually improve your code. First, you can run your CGI from Plack instead of Apache. Then, you can start using features from a Plack-based framework, like URL mapping. Next, you can move your "print this HTML" into template classes. Then, you can convert these to using TT (or similar), and your app code won't notice. You can start writing unit tests. You can gradually migrate your raw DBI calls to DBIx::Class by using $schema->dbh_do.

You won't have to do it all at once and you won't have to break any code when you do. Perl will grow as you do. Or, you can stick to CGI forever. It doesn't care :)

It's a great language for starting small and building up "complexity" as you learn more about programming.
3 Growing Expectations for the Future of Tech, According to Kids
> There are many of us who have always known groupon was a bad idea.

Weasel words.

> My friends cupcake shop in union square was asked to sell their cupcakes for 25% of retail and at a loss in a very pushy way by groupon.

While pushy sales people are annoying, they are hardly unique to GroupOn. I'm sure your friend turned them down. No harm done.

> I have bought in total (1) groupon. And I forgot about it and it expired. (...) things I would never frequently buy anyway (...) I haven't logged into it for nearly a year.

Good for you. But you communicate your argument that GroupOn is a bad idea in an incredibly weak fashion.
Counter-point by two-time Nobel Prize winning economist Joseph Stiglitz:
http://finance.yahoo.com/blogs/daily-ticker/stiglitz-conside...
Basically, yes. My network simply makes it dead easy to have your "contacts" in the right "tribes" with the right privacy settings from the start.

Honestly, people have been complaining about security on social networks since the beginning. Its been solved on paper (with all the "available" settings) but I'm solving it for real users in real life.
When has entrepreneurship ever been easy? sighhh!!
"The largely Catholic ethnics" (I'm a Catholic of Irish and Eastern European descent) were not "driven out" of their neighborhoods. They left them as a reaction to integration and the beginning of the end of redlining policies. The "control" they lost was "the ability not to live next to ethnic minorities other than their own".

Moreover, upon leaving the white Irish Catholic and Polish enclaves, mortgage lending moved with them, leaving the neighborhoods to be filled with residents who were systematically denied ownership of their own homes. The attending decline in property values and upkeep were entirely predictable.

Again: we have a situation clearly explainable through economics, and you seem intent on injecting race into it. Why?

Drive a few hours south from the (gradually but painfully resurging) south side of Chicago to southern Illinois and you'll find predominantly white towns that have been similarly devastated by the rural economy and the decline of small-scale midwestern manufacturing jobs, and methamphetamine.

Also: you're not a little concerned that the "book that changed your way of thinking" about urban decay was written by a guy that has a whole section on the ADL's website, who has written of a "Jewish takeover of American culture"?
Not completely straightforward, but you could do something like this if you have curl and libxml2 installed:

curl -s https://gdata.youtube.com/feeds/api/videos/oHg5SJYRHA0?v=2 | xmllint --format - | grep media:restriction

The 'oHg5SJYRHA0' part is the video ID from the URL for the video.
Space travel: Looking to build spaceship within 100 years
Copywriting Tips:  Creating Message Hierarchy
In fairness: if you're a white guy a predominantly African American lower-class neighborhood --- particularly Detroit --- and a group of young men smelling of weed are giving you the evil eye, they probably don't want to debate Wittgenstein with you.
Actually, it's parsed with a rather simple yacc grammar. The reason why foo()[1] doesn't work is because it's a bad programming language, not because it doesn't have a grammar. It has one and it says not to parse that :)
When I was at UNC-W back in 1996 or so. A somewhat older version of the page is still cached at archive.org. It's pretty hideous, but it kinda represents what I was into back then. In many ways, it still reflects a lot about who I am and what my interests are.

http://web.archive.org/web/19991008062106/http://sol.cms.unc...
(references http://professional.wsj.com/article/SB1000142405311190414060...)

Well, that's why the crash isn't like 2008, but you could have found that out for yourself - I question the value of a financial adviser that just retweets the WSJ. I'm willing to provide that service for only 50% of what s/he charges you :-)

Here's the basic problem: governments are spent up as the article says, but some corporations are in a good position because they've been able to clean up in the aftermath of the previous crisis thanks to an easygoing regulatory environment, rather than because of any innate brilliance or rock-solid fundamentals. Global markets can push individual governments and central banks around, but they're probably not able to stand up to coordinated political action. That could take the form of imposing severe haircut on treasury bondholders as happened with Greece recently, or some radical reform of legal regimes - a global corporate tax treaty, for example. Central banks in emerging markets that have large AAA holdings don't enjoy this sort of instability either; there could be a sudden consensus to level the regulatory playing field and compete on monetary policy (for example).

You could get out of paper altogether and take refuge in gold, but it's not like that market is immune to meddling either. Or just pick the least leveraged companies with the least exotic business models and corporate structures, and hope that their fundamentals and lack of politicking brings them through unscathed. I have no idea what the 'right' investment strategy is, but given the global scope of the problem, my bet would be on a global financial summit followed by some new Bretton Woods type consensus: http://en.wikipedia.org/wiki/Bretton_Woods_system
Yeah, it causes the browser to go to a new page. += with a string probably works too, but I don't have Chrome here to test with.
Maybe because Google can play the angle of "We almost got cheated, now we learn to become better" later on when Groupon crumbles...
anyone tried this? does it work reliably? i've tried a few plugins that purport to do great things but fail to deliver.
It's called programming. You can learn about it by typing stuff into your computer and seeing what happens.