skysight-inc/HackerNews huggingface dataset:
Anecdata: I just wrote a PHP application where the HTML never touched the database at all. And I'm right now working on a Java application where the database is mixed into the HTML just like the worst of the worst PHP, except because it's Java all the code is two times longer.
Oh cool, I've used Travis pretty extensively and didn't know about this feature yet. Thanks!
I think PG put it best back in 2000: http://www.amazon.com/gp/cdp/member-reviews/A3OCCXOG34ECBC/r...

Thanks for the debate, I learned a lot. =)
So the moral of the story is that Python makes it simple and elegant to write stream-processors on line-buffered data-streams.

I thought every language had this or a similar method as a best practice when processing 'large' files.
Ironman Lake Tahoe - 2nd most difficult ironman triathlon
Wow. I'm an amateur photographer who's uploaded some of my best photos on imgur to show to people. Never again.
Obligatory Blue Jeans Cable v. Monster Cable legalese catfight: http://www.bluejeanscable.com/legal/mcp/ (The final response pdf in particular)
Location intelligence is becoming more and more central to customization of user experience on all sorts of software systems. I like where this is headed!
I have created a Correspondence example for the first Javascript example at http://pdorrell.github.io/bracketup/correspondence/choc-exam....

There's no real-time execution, but it does show a (more or less) word-to-word relationship between Javascript and English, which is an alternative (and complementary) way to "explain" code to someone learning Javascript.

Note that my English "translation" is totally hand-crafted. From the description, Choc allows hand-crafted translations of individual library functions, but applying those translations to a program still gives you a mostly automatic translation which is not as easy to understand as a hand-crafted translation would be.
That's because you're stuck writing crap code in crap libraries.

Really, you judge PHP off of Wordpress and Joomla?
I also quit smoking by using a vaporizer. So did my brother, my mother, my step-father, and my friends. My cigarette consumption plummeted after I started using it... but it wasn't even a tiny struggle. There are some heavy-weights lobbying against the products, which is unfortunate because my vaporizer was the only thing that actually helped me quit smoking.

[shameless plug]

I had so much success with the product that I actually started a company selling them. I found that the market was much too complicated for somebody like my parents to enter, so a partner and I focused in on one great product for new users. You can check it out... If anybody has any feedback / constructive criticism / questions, please reach out to me at sean [at] vapesecret.com

http://www.vapesecret.com
US Says Iran Hacked Navy Computers
Estonian President Explains Tech Boom And Why America Is Falling Behind
Google link so you can click through the WSJ story (most details at the moment).
JustFab’s Checkout Tactics Are JustShady
that being said, it's a rare occasion I actually see an android tablet in "the field"...
> I can't imagine life without stimulants. I hope to move off into the woods one day and live a completely natural lifestyle for a while.

Funny way to put it, because human beings have been smoking something for as long as they've walked on earth, as evidenced by older cultures, so it's arguable what would be "natural".
If you put your resume out in the market, recruiters will hunt you like a shark does an injured fish in the water...
I never understood these comparisons. How can we reasonably compare a hardware product (iPad) with an operating system that runs on a large number of other tablets? I understand that it's a convenient "us vs them" analogy, but it makes no sense at closer examination.
The problem with static methods is that they make testing nearly impossible.
Depends. It can be done by one first. Typically plugins don't modify theme/design, so nothing will need to be done when you add new plugins.

If you need help, let me know.
Unfortunately, a quick Google search brought me to http://www.casesofinterest.com/tiki/Lenz+v.+Universal+Music+.... (EDIT: that link seems to be broken, it's /Lenz+v.+Universal+Music+Corp. with the trailing period):

> A plaintiff suing over a wrongful Digital Millennium Copyright Act takedown notice can only recover for damages that were proximately caused by the notice... The Court determined that attorney fees are collectable but explicitly forbid the attorney fees if the work was done on a pro bono basis.

So it seems like Lessig would be pushing for a change in precedent, because as current case law seems to stand (IANAL), even if he won legal costs and damages it would be a drop in the bucket to the record industry, and no reason to change their practices of sending automated notices. I hope he succeeds though!
I would imagine that a good deal of the orders are from the friends that were mentioned.
I'm curious, how is it different from IndexTank (which was acquired by LinkedIn)?
Of course, you're talking about the chemical energy in a Kit Kat bar. Were it completely converted to energy, it would produce around 5.8 Terra-watt years of power assuming a lossless conversion.
To me it boils down to the developer doing the job. Stating the obvious: you can do a great job in any language, just like you can do a crappy job in any language.
I have seen tasteful applications written in PHP (hardly ever an open source application, unfortunately), what I have yet to see is a language with 100% tasteful applications.
it makes sense if you think of them as software ecosystems.
If others are interested though, that validates the idea, which is immensely more useful than the alternative.
It's not wasted. I've seen the design concepts of HURD as an inspiration for other projects and people experimented with them. Even I got some (dumbed down) ideas that I didn't limit to software. Sometimes I think there's some similarity to the SOA approach (pretty everything's a server/service), just that HURD had the ideas earlier. But that might be a too high-level view now.
Because iOS is just a an OS that runs on a very limited number of tablets because of a decision by iOS's owners. There's absolutely no reason that iOS couldn't be just another tablet OS.
Look at all these Android fanboys upvoting a nonsense article to the front-page. tsk tsk...

>>The iPad, long the best-selling tablet in the world, has received a check to its dominance: Android has taken the lead in both tablets sold and in the money people paid for them.

Yea, when you flood the market with cheap, shitty tablets it's easy to "take the lead." The thing that is often forgotten is that the money made from iPad sales goes directly into Apple's coffers, whereas Android sales benefit mostly the manufacturers. And just like with iPhone vs. Android, we see which devices are actually used:

http://chitika.com/files/Android%20vs%20iOs%20Overall%20Shar...
the example was generated on a mac, which uses the FreeBSD userland utilities. seq is not included in non-GNU user-land utilities (as it is not POSIX), jot is the (more-or-less) equivalent of seq for BSD systems.
Do you have any evidence to back this up? Off the top of my head I can think of several dozen large successful projects, everything from the Mars Rover to CERN's LHC to the great wall of China and the Pyramids. These were all enormous projects requiring thousands of workers.
My anecdote, I know lots of people who own some kind of Android tablet but no iOS device and lots of people who own iOS devices who own at least one Android tablet.
easy to take the lead with cheap, shitty tablets? why don't you put out a cheap, shitty product and tell me how that goes.
In term of global sales, Android tablet could be more than iPad these days. In term of usage, iPad would be much more than all Android tablets [1]. Additionally, an iPad has 2-3x life span than Android tablet on average (I has used over a dozen tablets). I seriously don't like to see so many low-quality tablets thrown into market. You are much better of buying second hand iPad.

[1] http://www.cultofmac.com/233063/ipads-web-usage-share-hits-5...
Completely agreed. I wonder if it will ever 'leave' his hands, as it really is a nice language, a well thought out C improvement (for the uninitiated - http://www.templeos.org/Wb/Doc/HolyC.html ).
I'm very versed with who the creator is, and his personality, but honestly think he may be one of the smartest people in the field. It's a shame more people don't take him seriously(and to their point, I don't always blame them).
You say MVC is a bad idea and yet you complain that php encourages mixing of things? I follow MVC and just ported a fairly large django app to php. Using smarty, I barely had to touch the Django templates. They worked almost out of the box. So if you think Django templates and structure is fine, let me tell you you can get a very similar set up using codeigniter and php.
Huh, I always assumed that HURD was just GNU politics, what with the all the GNU tools with linux, while the GNU's original goal was an OS complete with kernel. When I look at it in this light, HURD makes more sense. I do disagree with saying that every OS advances the state of the art though, a lot of them will probably end up as *nix clones. I have respect for anyone who builds a kernel from scratch, but I also think that most of them ad totally batshit insane (Linus included.). They do great work, but I didn't understand why.
It's hard to find good sales numbers on specific tablets. 4.6 million Nexus 7's were sold[1] in 2012, but I haven't found data on how many of the 2012 model sold in 2013, or how many of the 2013 model have sold so far. Still, this is one model that appears to be selling in numbers nobody would have predicted for an Android tablet at the beginning of 2012.

The iPad mini, however, is more difficult to judge. Apple hasn't released sales numbers that don't lump the mini in with other models, suggesting it's been a failure and they're afraid to reveal how few have actually sold[2]. A failure by Apple's standards might be a runaway success by most other's standards, but the mini clearly isn't flying off the shelves the way an Apple device in a new form-factor should. It's specs were disappointing and it offered questionable value, so this isn't a huge surprise. I would bet good money that the next gen mini will treat the form-factor properly instead of giving it sloppy seconds, but consumers may have negative associations with the iPad mini brand that need to be overcome.

Personally, I think Apple really underestimated the appeal of the 7" tablet. A bigger screen is certainly nicer for some things, but 7" is perfect for reading ebooks and the smaller size of 7" tablets make them truly portable and comfortable to use hand-held. I'd love to see good sales numbers to see if it really is 7" tablets that are boosting Android sales and dragging down Apple's sales. If so, this might be a situation where an under-served market allowed an agile opponent to bust into a market firmly held by a single dominant incumbent!

-----

[1]http://www.tomshardware.com/news/Google-Nexus-7-Tablet-Sales...

[2]http://www.businessinsider.com/ipad-mini-sales-2012-11
Android will always have a larger install base than iOS. iPads are aimed at the upper end of the market, while Android is installed on a wide variety of tablets aimed at different budgets and form factors. This is far from an an apples-to-apples comparison. While the Android fanboys love numbers like this, it says exactly nothing about the advantages of either OS. Both platforms have enough market share that both must be targeted for apps to be successful anyway, so specific market share really doesn't matter.
The comparison isn't of the hardware product, it's of the operating systems. Developers want to know what the installed base and rate of change for users of each OS is so they know the target market size to make decisions like which OS to develop an app for first. Consumers want to know what other consumers are doing because they don't want to get stuck with a device (like a Blackberry) that the market is abandoning and no one is making third party apps for.
Oh I am going to be keeping a watchful eye on this thread.

I have been trying to get a junior position but no luck yet.
There was recently an article posted on HN which discussed something similar for the US troops who where captured during their adventures in South East Asia and Korea. (Tried to find it and failed.) The Chinese were, and probably are, experts in subtly breaking down your barriers, simply by asking for small things to manipulate your mind and eventually brainwash you.
I thought about a similar idea some weeks ago :d
I'm going to say it, better documentation. I don't know, maybe it's just me, but I find it takes me significantly less time do find out how to do something in PHP, or a PHP library than in the corresponding Python. Though, there are obviously exceptions to this.
>>There's absolutely no reason that iOS couldn't be just another tablet OS.

There are many reasons. The primary one is that having the OS run on your own hardware allows you to have much tighter control over the user experience. After all, user experience is one area where iOS has always dominated Android.
Explain to me how tags get me to an understandable view of my DAG so that I can see clearly what has been happening to the code, by whom, and why. Tags are just labels put on commits. How can I get a clean view of the history by feature? Do you put a release tag on every single bug fix and logical change that someone makes? Why would I go through the hassle of putting a tag at the tip of every single code reviewed chunk of changes? Why would I want all of these tag names cluttering my git log alias that shows me the history? How are tags going to compensate for the endless bubbles of "merged master into master" that inevitably clutter up the graph when people don't bother to rebase? How do you tell git bisect to skip all the intermediate bullshit meandering commits between the countless tags?
I know. Browsers are free. What's the hold up?

Of course, its those creaky old IT departments.

Stop catering to these old browsers and people who want your app will download a capable browser or pressure their IT or just use their phone.
This is a pretty cool idea and I applaud the rapid execution.

That being said, you could have tested this idea out without building any tech at all by using your own phone number for texts and manually printing and shipping photos.

Then if the idea took off and you could no longer manually keep up with the orders you'd know you have a winner.
I didn't expect so much controversy here, I just wanted to get a feel for the order of magnitude. I went with 2000 pounds for the car weight, which is the weight of a 1976 Honda Accord - 1976 because of a search error on my part. 4000 pounds is the average new car or light truck, so that number is a bit high because of the trucks. In any case, the energy dumped into this experiment is like a big car crash concentrated into a tiny capsule.

Anyone who has used a treadmill at the gym will recognize that it's a lot of work to burn off 400 calories. Not enough to get a car up to 140 MPH because the body isn't 100% efficient.
I used APL many years before I even knew about K but I like them both (I don't have much experience with J). K is a simpler language than APL and it would be not fair to call it just a "transliteration into randomly chosen ASCII characters". IMHO its notation is well chosen. To me it is the Scheme of array programming languages. I looked at the kparc.com site "beagle3" referenced and it seems Arthur Whitney is continuing to distill the language.

Regardless, it is a joy to use either language. Especially after having to look at baroque C++ code all day long.
Apple moves to trademark the term ‘startup’ in Malaysia
Most of the criticism of php seems to contrast it with a language plus a framework. If you really want to compare, compare php with ruby or python, not Django or RoR.

As for php encouraging shitty programming, a good bit of that is that so many more people program in php because its easier to get started with. This does not mean that just because php attracts shitty programmers that it doesn't have more or many awesome programmers than languages such as python.
It's interesting... the design of the site is very 2004ish, but it is surprisingly refreshing. Anyone?
Oh, we don't have a problem, mostly because we stopped rebasing much. Which is basically my conclusion from the root of the thread.
The One Telco Exec Who Resisted The NSA Has Been Released From 4+ Years In Jail
> I've also hacked up a bunch of open source projects (wordpress, joomla)
…
> I should be able to write a database query without reading any code that touches HTML. And it's something I never see in PHP code.
…
> I should be able to test your app's interface without having a database.

So the answer is No, you don't have any experience with professional PHP, and you haven't used it in more than half a decade. Could have just said that.
Webmaster Tools and Resources
1. Get it to work

2. Test that it works

3. Optimize (if needed)

If your file is small enough and is a trivial percentage of the overall run time, who cares how it is read?
Ever notice how everyone who complains about PHP are usually complaining about WordPress, Joomla, or other such apps?
Second this -- it's not only mentioned, they talk about a path to addressing this and other problems.
> After all, user experience is one area where iOS has always dominated Android.

I don't think that's true at all. As of ICS, Android is much better. Especially considering the horrible state of notifications on iOS and the siloed nature of apps. And usability took a serious hit in the move from iOS 6 to 7.
OK, I'll nerd out here for a second.

I knew some of the QNX guys,

work:~ call qnx
Dan Hildebrandt (QNX) 613-591-0931 x204 (RIP 1998)

That's me using my phone database. Dan was one of the few people who were allowed to touch the QNX core. It was tiny, it knew that the "micro" in microkernel meant small. The entire kernel fit in a 4K instruction cache. The whole thing. Hello people! Micro means small.

For the people out there that understand operating system design, these guys got it. And they managed to make a distributed kernel that worked. I worked on an 80286 (yup) with ~10 users logged in and working.

I'll give more details if anyone cares.

All that said, please allow me to vent about Mach. I know nothing about hurd.

Mach was CMU project and it was what happens when you let a bunch of people who know nothing about the real world write wack on an OS (and a VM system). It was happening at the same time I was getting a decent education from Uwisc. So it took me a while to catch up.

I caught up after having worked on a Unix port. I learned a lot, as would any of you in the same situation. Practice != theory.

I went back to grad school to get a PhD and ran into a class where they were pushing Mach and I listened for 15 minutes and then I just couldn't take it any more and stood up and said "it doesn't work like that". The prof and I went back and forth for a few minutes and then I took over the class and taught it.

Blah, blah, blah, I haven't really made the case against mach. I have wife and kids waiting on me, I can come back and try and do better. My view of mach is that it added nothing to the body of OS work. BSD did - they added networking. Sun did - they added VM. QNX did - they added a microkernel. Mach - they added marketing in my opinion and nothing else.
No disagreement about user experience, but this constant goal post moving "it's total numbers!" then when that shifts it's suddenly "this is comparing OSs to devices!" is unbelievably tiresome to see played out over and over again.

Next up will be some other metric that will be overcome like profitability, or total apps purchased or app store size or whatever. Apple has simply made a decision and stuck with it and the result is that it limits their share of the market over a more versatile platform.
You might be surprised to learn how broadly the SEC and courts have interpreted terms like "offer" and "general solicitation".[1] An offer is any "attempt ... to dispose of ... a security ... for value".[2] The SEC "has confirmed that uses of ... unrestricted websites ... constitute general solicitation."[3]

Had you done this last Friday, you would be hard-pressed to find an experienced securities lawyer who would tell you that the letter posted on your web site does not violate US laws. The good news is that due to regulations that went into effect on Monday, you have not yet violated US securities laws. However, because you've engaged in general solicitation, you are now subject to, among other things, additional investor verification requirements before you actually sell securities to any US investor.[4] If compliance with US laws is or will be important to your business, be sure you get help from a very experienced securities lawyer with the rest of your fundraising process. There are many traps for the unwary.

[1] Some illustrations:
SEC v. Arvida Corp., 169 F.Supp. 211
Chris-Craft industries, inc. v. Bangor Punta Corp. 426 F.2d 569 (1970)
SEC v. Commercial Inv. & Dev. Corp. of Florida, 373 F.Supp. 1153 (1974)
SEC v. Thomas D. Kienlen Corp. 755 F.Supp. 936
Diskin v. Lomasney & Co., 452 F.2d 871
Hocking v. Dubois, 885 F.2d 1449

[2] 15 USC § 77b

[3] SEC Release No. 33-9415

[4] Good summary written by Naval Ravikant and Kevin Laws at http://techcrunch.com/2013/09/21/why-you-need-to-pay-attenti...
I don't think it's less of a hassle than PHP, but in the context of web development, it is. In PHP, your development environment is often very similar to your production environment.

I think the primary difference is PHP is web first: it was designed to be a language for the web above all. Everything else is tacked on.
On the other hand, Python is useful for a whole array of problems and a website is just one problem you can solve with it.
Am I the only one who thinks the name "Angular JS" is nonsensical and, frankly, a little silly?
Will Health-Care Law Beget Entrepreneurs?
Because Apple's business model isn't selling an OS to a third-party OEM, it's selling you a piece of hardware using a proprietary OS as a selling point. And has been for decades.
I don't know why they're even pretending anymore. Everyone knows NIF is a weapons research facility and always has been. They've milked all the PR they're going to get out of this.
Much as I like my iPads, the lack of Flash support is still a problem. Steve made the wrong call there.
What's to understand? How many other companies make tablets with iOS?
FTC publishes a long list of questions it wants to ask “patent trolls”
A compiler designed to support things like code completion can have an explicit API. For example, it may be asked to parse the code until the cursor location, the do a longjmp back out (or throw an exception, or whatever) with symbolic information about that location in the code.

If the parser error recovery is decent (and there is some effort put into this in most substantial front ends, since it's key to good error messages in large projects with long compile times, where recompile on every error fix isn't a great experience), the code doesn't need to be in a good state.
Exactly. He's comparing php to a framework. PHP isn't a framework. If he tried to write code in python or ruby without a framework or template engine, he'd have the same complaint. If he tried php with a framework or template system, he'd realize its not all that different. I just rewrote a Django app in php with very tiny modifications to the templates thanks to codeigniter and smarty.
Indian High Commission to use typewriters for sensitive information
Compare that to 5 MJ output from JET, at an efficiency of 65%.
Revenge of the lizard brain
Hmm, how so? In general it seems to make testing things easier since nothing is carrying around state; a static method with the same parameters is going to run exactly the same way every time no matter where or when it's called.