skysight-inc/HackerNews huggingface dataset:
You're still tripping up. Forget about houses. Say I buy 100% of the stock in a business for $60k. The business then borrows $240k. When profit comes in, some of it goes to the bank who owns the debt (giving the debt value), and some of it goes to me - the owner of the equity (giving the equity value). So both debt and equity are valuable - they are claims on the business's cash flows.

Now suppose someone wants to buy the business. I still have $60k worth of equity (100%). Do you think they can buy the entire business (claims on ALL of it's cash flow) for $60k? Of course not. They'd have to pay off the debt AND buy the equity. That number is $300k - the enterprise value.

Market cap is defined as the value of the outstanding equity (share price x number of shares). Period. The value of the company can be, and often is, much greater because most companies choose debt as part of their capital structure.

Startup tech companies like Instagram rarely do that. Nobody lends us money, so we're stuck with equity. So for Instagram, Market Cap (if there is such a beast for private companies) IS the enterprise value. For the NY Times, market cap is but a percentage of the enterprise value. So it turns out the headline of this article is actually quite incorrect. The NY Times, in any way you can measure, is clearly worth more than $1B.
We have learned JS, probably you forgot that you need to know it to learn CS?
Honest question: would you be less bitter about your grandfathers' death if they had been given some unproven, entirely experimental risky drug...and then died immediately after because of said drug?

I'd feel much better about it. Because I know that they'd have been killed in the front line by a shell - not in the Paris latrines by cholera.

My father's father fought in the Battle of the Bulge. They weren't pussies back then, you know.

How would you feel about your grandparents being used as a few more numbers to confirm that a drug is not, in fact, effective or safe in treating prostate cancer?

Typically when you're trying to "confirm" something it means you think you know it anyway. No, I don't think any p-value is worth dying for.

Your turn. Honest question: here's a story by a UK woman who jumped for joy to learn her cancer had spread, because it meant she could get into a trial:

http://www.telegraph.co.uk/health/9193018/Back-to-work-after...

How do you feel about this situation? Is it by any chance a little too "Tuskegee" for your sensitive ethical vibrissae?
2-min video of world's largest Rube Goldberg machine
Don't forget about email
I don't know Haskell well. That said
, this 'guide' is really blunt, succinct, and informative about Haskell. It's rather nice and gives me a feel for the language a lot quicker than "Learn You a Haskell" did.

And it's got a ton of references to existing resources in a ready to consume fashion. I would've liked this a lot when I kept getting stuck on Monads.
Carbon emacs also comes from Japan, IIRC.
Memory allocators might be heaps, but behind the scenes it's just an area of memory, and that area is contiguous.

If you increase the size of the memory available to you (sbrk) you can only decrease it if no memory is allocated between the new area and the end of it.

In practice the memory is never returned, and applications rely to swap to deal with that.

It's not the logfile (and network) handle that is swapped out - it's the code for deciding where it is, and opening it. Also initialization code.

Some programs can abort, but others will require a (slow) consistency check of their data if that happens to them.

And finally theory is all well and good, but in actual practice about 3/4 of the memory used by running programs can be swapped out.
Mechanism to embed *any* accessible Internet source in a webpage?
<i>Possible silly question from not a very technical person alert</i>. This just suddenly came to my mind. Not very sure if it makes sense or not. But it generally originated from the fact that the ability to refer to sources that support arguments, statements or any other forms of information is very important in order to verify those claims. And that platforms such as twitter and youtube enable you to embed their sources in a way they dictate you, but that there exist no general mechanism to embed information from sources that don't expose such embed codes for the general public.<p>So my question is: Is there a general purpose protocol/mechanism/tool for embedding any possible Internet source within your web-page in a standardized manner?<p>I mean in the way that you, as an Internet-publisher/writer/blogger/social net-worker:
- visit a website that supports this mechanism/protocol
- identify words/lines/paragraphs/multimedia or other HTML-chunks that you want to use as a reference for your own article.
- you make a selection of that and invoke some task that enables you to copy an embed code that refers to this particular selection
- you paste this embed code within your blog-post/website/status update/etc<p>And in the way that others, as visitors:
- Read your text
- See these embedded references, be they in the form of text or multimedia, that refer to the original source and are clearly identifiable as such
- Are able to identify particularities of the original source from within the external page (URL, author if applicable, date)
- Are able to click on it in order to navigate to the particular page and instantly jump to the right position by an anchor which preferable also highlights the particular source of reference
The real problem with humans is that passwords are still hard to remember for multiple services. Doesn't matter if you have a secure password and it's used everywhere.

Likewise, if it's used with LastPass or 1Password style services, you face the problem of dealing with entering it. Though a desktop PC is fine for this, the best counter-examples are mobile devices.

LastPass on mobile:
1. Use app that needs a password.
2. Realize password is in LastPass. Exit app, find LastPass.
3. Open LastPass, and login.
4. Copy password.
5. Switch back to the other app.
6. Enter password.

This is so tedious that people are going to re-use some password just for the sake of not having to do the above every time.
Why do none of the linked demos work? :/
Part of it has to be just time. I used to walk a fair amount. A few miles a day. But as life became more busy there just wasn't time to walk to the grocery store any more - I go to the grocery store on the way back from somewhere else, because I just don't have an hour and a half to buy groceries any more.

As an aside, is anyone else annoyed by the appearance of the word "crisis" in the title of every damn news story? A crisis implies immediate danger. The lack of walking Americans is not a crisis. Global warming is not a crisis. Peak oil is not a crisis. These things are all problems, to be sure, but problems we have some time to deal with. Let's save the word for situations where it applies.
I don't think people replicate it because having an environment that is based on directly mapping to the filesystem tree is completely inane for modern webapps. Most decent PHP software now hands the request off to a single file (eg index.php) that handles the routing.

Yes, PHP has mass appeal for people that are happy to limit themselves to the lowest common denominator, however people that want to reach even a tiny bit further can discover other languages that have better ways of doing things.

For instance, his "Hello world" example is completely fucking inane, and just spitting out a thing like that will lead to poor app design and unmaintainable spaghetti code.
Agreed - there should be some discussion on how auth credentials play into all of this.
Can you make it a bit easier to set a year range? Maybe a slider?

Otherwise, it seems really useful and looks really good!
Blizzard please? 13-20 characters, an upper case character, a lower case character, a number and a symbol. I'm not using LastPass here, because battle.net requires me to type that every damn time I start Starcraft.
True, I suppose: if PHP were invented today, I imagine the pitch would be something like "it's the Dropbox of web applications: you just put files in a directory and they run."

(...on that note, I just realized how useful it would be if Dropbox's Public folder executed PHP.)
Continuing your analogy, you see it as an interesting, rich big city, I see it as a shite big city, devoid of interesting culture, lots of poorly run bars and shops, everyone is miserable, it takes ages to get anywhere and it's always raining. Anyone with skill and the ability has abandoned it or is trying to. Python or Ruby however are cooler, slightly smaller cities which have a decent community feel, a good art scene, and are thankfully free of people who live in the big city but are too ignorant or lazy to venture out and get there.

PHP has no fucking culture, the vast majority of 3rd party libraries and classes and snippets are garbage, the vast majority of tutorials are garbage. There are some gleaming institutions like Symfony, and some little places that are trying really hard to make it a better place, but other than that it's a wasteland.

Let's not romanticise dog shit. Yes, the original guy's post was unnecessarily harsh to the development community and people who work hard to make their life in said city, but this city is a clusterfuck in comparison to pretty much anywhere else. It's one redeeming feature being that it's easy to get to and everyone's heard of it.
I really dislike it when someone posts something controversial so a couple hours later someone posts the opposite based on their experience.

This doesn't add anything useful, post it as a link on the original thread. It is just a bunch of noise cluttering up the frontpage of HN!
Zombified How do HN bans get decided?
Quick question: How does HN decide that an account is a spammer? Is it keywords, flags, down-votes, or just sheer dumb luck?

My main account is in pretty good standing - I don't think I've ever had many down votes, I comment more often than I post, and my 'average' is 2.5 (which isn't too bad, I think, for an account which is less than 150 days old).

Anyway, somehow I appear to have displeased the HN ban machine, with an Ask HN and one link that I tried to post today both being particularly absent from... well... public view.

To be fair, I don't post that often, so the idea that I would try to post two things in a day is an oddity for me, but they were both blacklisted before they got out of the gate, so I have no idea what's going on.

I'm a zombie, and all I want is a little hope or understanding.
> Want to write an ORM that uses classes or objects as column declaration in PHP?

What prevents you from doing that in PHP?
One of the most expensive substances in the world – and someone just synthesized an alternative:

http://www.chicagoreader.com/Bleader/archives/2012/04/09/bre...

Whale guano. Seriously.
> 10-character apha-numeric password is crackable in a matter of days: http://whitepixel.zorinaq.com/

I think the assumption here is that the password isn't an MD5 hash, but instead something a little more resilient. If it's MD5, you're probably screwed anyway.
Ad hominem.

It's not an ad hominem if your age has a relationship to your argument. It may or may not, we don't know because your interlocutor hasn't followed up.
Ubiquity is one reason. Ultimately, the "horrible problems" and "strange bugs" just turned out to be "unfamiliar differences." Also, newer JavaScript runtimes (V8) tend to smoke other dynamic languages in speed tests: http://shootout.alioth.debian.org/u32/which-programming-lang... – so it's not "slow-ish" so much as "really, really fast." ;)
Hipster Stack-Powered Voting Gizmo
Had we waited for the development of ideal programming tools for the web, the Internet would still be struggling to get off the ground. By making the best of what we have and by continually evolving better solutions we've been able to create something that has, quite literally, changed the world.

Let's keep that in mind. The goal and the end-result isn't a monument to superb software engineering. What we create are experiences for, mostly, non-tech users. How the sausage is made almost isn't important (as long as it doesn't kill you). It's easy to get lost in the pursuit for technical excellence and ignore the realities of building a business.

The fact that Facebook is built on PHP should pretty much tell the story and put a lid on these endless arguments: You use whatever tools you have available at the time to create a good user experience. People don't pay for your choice of programming language. In fact, they couldn't care less.

That's not to say that the tech world should not strive to be on a path of continual improvement and technical evolution. Not at all. I guess what I am trying to say at one level is "quit griping and get back to building a product, nothing else matters".

That said: What might be a likely improved successor to PHP? By this I mean, a language that can gain wide adoption while dealing with a number of the issues of PHP (and other languages) and has a high likelihood of being deployed as far and wide as PHP is today.
Hong Kong has no zip or postal code. It's frustrating whenever a system requires these fields (which a lot do, though "HK" generally works).
Similarly, some sites use "discouragement," where the site will run fine, but on their machine it'll behave slowly and sometimes fail completely (bad page loads, excessively long waits then nothing happens, etc).
Keyword search is our number one priority right now. We wanted to have it ready for this re-launch but unfortunately things didn't work out that way.
Please back the backdoor claim up, it's the first time I've read that and it does not really make sense (to me), as there would be no reason to do so...
This is correct, and is the exact reason the AGPL was created (http://en.wikipedia.org/wiki/Affero_General_Public_License): to close the "not really distributed" loophole in GPL.
I'll have to think of a use for this, but this definitely seems really interesting. I think working to make building web apps easier and faster is an awesome mission, so mad props to you guys, looking forward to see where this project goes.
Nice. Wibble: it's 2012 - don't use Hugs. And just link to the Haskell Platform to get an installer
>> Here where I live, about 80% of webdev jobs are PHP.

I'm getting the impression that this is why a lot of people hate PHP - Money. People don't like that the market is full of money wasted on an inferior language. Perhaps there's a bit of envy in that, perhaps not.

The winners in the marketplace aren't always the best, and it's not easy to change minds. People get religious about the things that make their living, whether it be a programming language, certification/designation or some other thing.

But Atheists aren't going to convert many Christians and Christians aren't going to convert many Scientologists.

In the end, you have to work within the parameters of the market or create your own. I guess for some people, like the OP, it's easier to vent. Nothing wrong with that - we should all speak our minds, but it's not necessarily going to be effective in converting anyone.

Look at the resulting discussion here, the OP's either preaching to the choir, or his message is falling on deaf ears. I don't see a lot of 'a-ha, he's right, I'm switching now' posts.
Well that explains it. Also, David Greenspan from AppJet/Etherpad.
Did the author give you the impression that he was "too lazy to read the manual?" I got almost the exact opposite impression, that he had read the documentation to the point of exhaustion and found it severely lacking.
It had to be U - the Single Vector Decomposition song
this takes what I'm working on to a whole new level! I love it. I'm already joined. Check out mailbait.info for another side of a similar coin.
> It always bothers me a bit when I see analysis of password strength for compromised sites without any mention of the possibility that the account might just not be important to users.

I actually use that as a factor when considering a password. If I think the site isn't going to be the most secure (a phpBB forum, or hand-rolled web-app), then I'm more likely to use a simple (but still relatively decent) password.
It's become all too common these days
It's because the drugs themselves prove ineffective, unsafe or both.

Statements like this prove the systemic abuse of statistics that is pharma regulation. You've - quite unconsciously, no doubt - reversed the definition of proof, asserting that failure to prove a positive is equivalent to proving a negative.

Of course you don't believe this. But your institutional jargon automatically generates the lie. Orwell had a point.

Today's viable drug is a survivor in a winnowing process in which any of a thousand screwups - often mere failures of trial design - can kill it. Moreover, while some of these are corporate errors (not the drug's fault), many of the design failures are institutional and uncorrectable.

For instance, testing cancer drugs of the "magic bullet" type against late-stage tumors is utterly ridiculous, as these genetic Cthulhus are the last place anything targeted is likely to work on. But this is the only place our testing paradigm is viable. The drunk looks under the lamppost for his keys, again and again.

Advanced genotyping might reveal that a certain tumor has five pathways for evading apoptosis. Five different molecules are needed to shut them all down. In an individual trial, each molecule fails. It thus - to use your language - "proves ineffective."

We are past the days that you can find compounds that mold poops out, and use it to cure 90% of humanity's ailments.

It's a commonplace assertion that most of these older compounds (certainly aspirin and penicillin) would fail an early toxicity screen and never get close to a mouse, let alone a patient.

I have no idea whether this is true. But if it is, Western medicine is objectively in the same position as NASA: it can no longer do the things it did 40 years ago. Welcome to Trantor.
Hating on PHP because it has too many functions is like hating on Chinese because, instead of 26 letters that you can combine to write anything, functional literacy requires a knowledge of between three and four thousand characters and that's just sloppy language design!

Also, why not just call them an API to procedures written in C and realize that none of us scripters are coding in anything.

I code in Lua.
Maryland bans employers from asking for employee social media passwords
This is awesome :D
GC is not about preventing memory leaks, it's there to make managing memory easier not automatic. One of it's biggest advantages is the ability to deal with memory fragmentation which is ridiculously hard to do well in C++ style languages.
Maybe the proverbial "eyes" are on other projects or something?
Mailbait- Fill your inbox with SPAM
I strongly disagree with A-C but I would encourage you to try some native development if you're curious. HTML5 is the PHP of UI stacks and it's tremendously refreshing to work instead in a well-designed stack like Cocoa Touch or even Android.
Congrats to the Meteor team: it looks amazing.

Questions:

- What's browser support like?

- Do you do synchronous AJAX to return results synchronously for DB operations on the client? It looked like newly created records' IDs were returned as soon as the creation code was executed.

- How do you track a reactive function's dependencies?

- Do you plan to make a run loop similar to Ender's to stage and order various recalculations and DOM updates?
Having used Logcat for a lot of development, I feel like everyone dumps sensitive data there. CarrierID did, Facebook's API did, and a few others did as well (notably Qik specifically sent API keys every ~30 seconds, but patched it later).
With a holographic combiner.

We already use Fly By Wire Vision in some cases, even with the engineering drawbacks of current devices: namely night vision for the military.
I don't know why an application couldn't also attack other hashing algorithms. It's just about brute force creating lots of hashes.

This app also uses GPUs to brute force TrueCrypt: http://www.golubev.com/igprs/
One question: How did you get a hold of Meteor.com?
Sounds like you've already got the patent half-drafted!
Big props on stellar presentation. The code is impressive, but even better is their slick install, deploy, docs, screencast and examples.

This looks big. If nothing else, hopefully others will notice the code to support materials ratio. Its just as relevant for straight OS as much as it is for "businesses around GPL".
Start as J. Random Noob: they need to install python, virtualenv, etc. before learning how to create a module, create multiple config files and so forth.

Technically PHP isn't much easier if you need to compile it, configure Apache, etc. but in practice they just pay $1/mo for a crappy hosted account where they simply upload a file and start fiddling.

This is a trivial distinction for a professional developer but there are quite a few PHP users who started with a personal homepage and grew from there – and despite the stereotype, they're not all designers, either. That's why I like the Rails.app idea: give today's bright 13-year-old a nice, easy path to getting something visible and let them get hooked before they need to learn all of this other stuff.
Ahhh, that would explain the problems I had recently trying to join a conference call. It took me 4-5 times, trying varying amounts of time between presses, before the conference system let me in. Voice wise, I rarely have a problem - even doing Australia to east coast USA - apart from the slight delay in travelling half way around the world.
You need to have a pretty decent handle on the language before a lot of it will make sense.

While that's true, I think a learner may need more to aspire to (whether to write it, or just understand it) than just the next line of 'Learn You a Haskell'.

And there's also the fill-in-the-blanks phenomenon: you see a bit of code and have no idea what it does, but later on when you start to learn the underlying idea behind that code it may help solidify your understanding.

This is also a good way to learn math: rather than a strict progression of incremental steps, it's good sometimes to beat your head against something that's way above your level. Even if it seems like you're doing nothing, you're actually creating a space in your head where this knowledge can go, if I can be forgiven that metaphor.
How about making it https://install.meteor.com?
Kickstarting Open Source (Why we tipped $10k into Rails.app)
Longchamp Bags
Show HN: View tweets on virtual toilet paper
A web app came up on Hacker News about a week ago called getshitter. I was hoping for a way to see tweets on toilet paper, so that's what I built.
MPAA: you can infringe copyright just by embedding a video
I love Firebase. We were in their preview and they were in ours. It would make a lot of sense to use Firebase as the realtime database layer behind a Meteor app. Maybe it could be as easy as "meteor add firebase" :)
5 seconds of Googling indicates that you're making shit up:

http://www-fars.nhtsa.dot.gov/Main/index.aspx

The second half is, of course, completely correct.

(Edit: please read "making shit up" as "your source is inaccurate")
More sites need make good use of every publicly available record, as well as everything that can be inferred from them.

Maybe if more people get creeped out, they'd understand how scary the modern age is and we'd get finally get some decent privacy laws.
It's rather amusing that your link has only seen 3 up votes. That's a real shame.
I wish commits were collapsed into one blob, there are times where 9-10 of the same face pop up with various commit logs. Slightly annoying.