skysight-inc/HackerNews huggingface dataset:
I followed your advice and added comments to almost all my configurations. I will add some test tools to allow easier test of the configurations, but I think it's a lot better now.

Besides that, I assume people will use nginx 1.3.7 or newer, so a few defaults are assumed as well.
Ahistorical braggadocio posted to HN with a green account.

I'm calling shenanigans.
Note: We can't actually restrict cross-origin requests based on Content-Type, since we don't know the Content-Type until we get a response. But, that quibble aside, I agree that allowing cross-origin requests just for @font-face does not open up any obvious holes. (If it did, Chrome and Safari users would be under attack already.)

However, it is the sort of thing that creative hackers are good at combining with other capabilities or exploits in order to get at data or code they shouldn't. The trend in web API design is to keep things same-origin by default, and give control to authors over whether they want to give other origins access to their data, because this keeps things secure by default and limits the number of tools that those creative hackers have at their disposal.

Not everyone at Mozilla agrees that this is the right solution. Anne van Kesteren (formerly of Opera, now a Mozilla employee), for example, favors adding a "From-Origin" request header that would remove the need for servers to add Access-Control-* headers in many cases (though it would not provide the same security properties by default):

http://annevankesteren.nl/2011/02/from-origin

http://www.w3.org/TR/2011/WD-from-origin-20110721/

Meanwhile, some Google employees have been major proponents of making things same-origin by default; read the Tab Atkin post linked above for example. This isn't really about sides; it's about constantly trying to find better ways to improve the web without compromising security. I won't claim the current solution is perfect; it's a starting point, that's all.
I would have loved to see this presentation. Is the actual talk recorded anywhere ?
I think it's exceptionally easy to become productive in PHP quickly and to reason about the code despite all the warts and gotchas. The good points about PHP raised in the slides (statelessness, etc.) hugely simplify thinking about code, offsetting the bad stuff and then some.

Doesn't make me want to give up python or node, but these are strong points in PHP's favor.
Apologies for my poor grammar, I am unable to edit to fix.
You've spent months learning Rails, what now?
So, you've spent months or years learning Ruby on Rails and you're now ready to actually earn some coin with your skills.

Let's discuss some ways to find work as a new Rails developer...
Pretty sure those are runtime contracts, not static types. Also see https://en.wikipedia.org/wiki/Structural_type_system
> I don't think anyone who knows anything else would ever choose PHP for a fun personal project.

I would. For every job, a proper tool. If my project is client-side heavy and only needs a thin layer between the client-side and the database, I'll pick PHP. The code I would write in PHP would be minimal and I would get it up and running very quickly.

If I'm writing something substantial on the server-side, then yeah, you may want to consider something else.
You just asked for trouble with that last statement lol
But I agree, I don't get why people want to force you to do something else, if what you do works fine for you, your productivity and the product you are delivering.

I use php since v3 as well, when I joined College back in 2001, in my first programming class, the professor told me PHP was cr@p when I told him that was the language I was more proficient with. I didn't listen to him... PHP was paying my bills since before I joined the College.
TL;DR - 3 orders of magnitude from economic viability.

in 1.7 MJ

out 8 kJ

Q = 0.00444_
Just checking: do you have any experience with it? When was the last time you tried working with PHP in a team?
But with so much frameworks around it is a relief to have the complete control and library support. I am talking about plain PHP.
Thanks!

Yeah not sure why I said cheaper. What I am actually short on is time. The budget for the project is pretty reasonable, but I really would like to find someone reliable that I can work and communicate with towards getting it done on time.

I am also just trying to find out how maintainable the site would be if I did hire someone to create it. I would want to be able to have functionality added, but from what you're saying about plugins it sounds like that's not much a problem.

Horrible looking mixin PHP is not my idea of a fun time, but I will have a look at "hardening wordpress".

Do you have any recommendations on where go look for a reliable developer for this kind of thing? Or even know someone perhaps?

Thanks again!
$productid = "0x4zz5";
print $productid + 4;

If printing "8" is your idea of a working interpretation of that code, then PHP is the language for you.

If not, then PHP doesn't work. End of story.
And yours doesn't work with stdin...

What's with all the nitpicking?
"pushing to limit civilian gun rights" is sort of willfully deceptive, as it implies gun-grabbing where most liberals just want registration along the same level as a driver's license. At least you acknowledged that it's a straw man.

Most conservatives do actually support more spending on military/security and less spending on everything else -- that's not a straw man position really, I was just describing a slant on it.
Is that what Facebook is doing? Throwing all the code away and rewriting from scratch when they want to make a change?

You're full of shit and have no clue what you're talking about. Huge web projects are written in PHP, and they work just fine.
Ah! So the key is that your target market is students. I didn't get that anywhere, and I'm wondering if narrowing your market this early is a good idea.

The thing is, this may be useful for more than just students, without changing the app at all, just how you refer to things.

Non-students, have similar scheduling/communications needs (I suspect), and you'll do great to target students first, but if "Class" had another label that appealed to more than just students, you may find your app being used in ways you didn't imagine. That may be a good thing.

Best of luck!
You don't have to use immutable collections. If you want to use them, you should probably consider the cost of the operations you are using. Which particular operations are you worried about? Most updates to an immutable hash table or sorted map should copy only a small part of the collection, for instance.
That would be Puppet, Chef, etc.
Nice try shady investor.
This is exact same workflow I use. If it's a feature branch that I'm working on locally, then rebase -i is my friend as I can squash commits. But, I rarely stay in a local branch for longer than a day or two for fear of losing work and no developer is an island. The second it is shared, it's merge only.

Rebase conflicts always cause more grief than it's worth.
It sounded like the goal was to make copyright holding companies nervous about sending automated notices. If damages for infringement are $180k per song, surely damages for wrongful DMCA notices are the same order of magnitude?
As a PHP developer I entirely assume that is going to print 8. I'm sure every PHP developer has had it happen or ran across it in the manual: when strings are forced into int positions PHP uses the numbers from the front of the string. Its unexpected, but consistent.
Thanks for the link. Much appreciated.

While the "wiggle" gifs don't really leap out at me in the way that other 3D images once did, I do see some sense of depth when viewing the wiggle gifs. I'm assuming it's due to the variation in perspective?
Things like this and some interesting developments from Facebook concerning them are mentioned in the presentation, so it would be nice if people would actually discuss that. Just a suggestion.
isn't that what C# does with it's static dynamic type?
It's PHP concatenation operator is ".".

print $productid . 4;
I think you wrote "conservationism" where you meant "conservatism"...
Put me down for another video pass. $100 sounds about right.
I cannot deny your statement -- it's definitely, absolutely true.

When I'm overseas for a long time, there are 3 things that I crave down to my bones. I guess those are the three things that are core to my being as an American. I'm not ashamed to admit this either after working with many expats in the States who practically go insane trying to find even simple tastes from home to center themselves.

a) the kind of breakfast that's common to the English speaking world (I don't want to say Western, because breakfasts on the European mainland aren't it). In a pinch some fried eggs and a pastry of some kind with some coffee will do.

b) Tex-Mex food. Taco Bell in particular (if you can charitably call that Tex-Mex). I've stood in line for 2 hours and paid $5 a taco once at an overseas Taco Bell I needed it so bad.

But really, finding even passable Tex-Mex outside of the U.S. is frustratingly hard. I've even eaten "Mexican" meat pies in Australia I was so desperate for the taste. They did not satisfy.

c) Any kind of African-American music...which is odd since I don't normally like most of it, but hearing it on the radio after a long time away from home is the sweetest sound I've ever heard and has symbolically told me that yes, I'm really finally home.

One time, after a very extended stay in Germany, when I could practically feel the sausage and cold cuts oozing from my pores I was thinking about tossing it in and going home until I came across a Soul Food restaurant in Vilsek [1]. I sat down, ordered some fried catfish! , sweet ice tea, collard greens and cornbread and sat there for three hours listening to background jazz music. For those three hours I was absolutely transported into the symbolic heart of Americana and left there absolutely renewed and psychically refreshed. I think the staff there knew what I was going through and came and kept the sweet tea filled over some light conversation.

I don't normally like any of those foods or jazz but sitting there completely recentered me mentally and I went back to my job for the next few weeks and finished it without problem.

1 - http://www.angelossoulfood-vilseck.com/
Typed Racket and Typed Clojure are major sources of inspiration/reference for typed versions of JavaScript like TypeScript and possibly future versions of EcmaScript.
Seems like an intriguing product, though certainly with the potential to be "creepy" if executed in the wrong way. I was struck by an implementation paragraph though:

> Every major component of Refresh is a fuzzy system. When it sees “Lunch with Tom” – without exaggeration 100 bots go out and vote who Tom is. One says “You have a Facebook friend named Tom”. One says “You met with a Tom person 3 months ago at the same location.” One says “It’s not your cousin Tom — you hate him.” Some are heuristic and some are statistical.

Putting my grad-student hat on, from a Bayesian perspective, they seem to be effectively "marginalizing" the distribution on "facts" over the hidden identity-of-Tom variable given the event and your current network:

$ p(facts | network, event) = \int p(facts | identity) p(identity | network, event) d identity $

The app's output seems to be, effectively, samples from that "facts" distribution, which can be generated by taking samples from the identity distribution and accepting/rejecting based on likelihood. It's a more formal way to look at fuzzy logic systems like this one. The cool thing is that you can eventually plug other things into the system, such as taking into account the distribution over types of facts that the current user likes to look at, in a mathematically sound way. But it's rare (imho) to come across systems like this outside of academia.
Show HN: DOMView.js: Hierarchical DOM views using jQuery
Please don't flame war. If you do not like PHP do not use it. Don't force another language to someone else's throat.
Physician here, great article.

Let me say that on the spectrum of diseases if I rank them from weak to strong in terms of our ability to defeat them:

Bacteria - Virus - Prion

We are so far from being able to treat prion diseases, it is an entirely different order of magnitude of difficulty than our ability to treat viruses.
Keying it to an int via the tip of the string? Let's call it iceberg-typing.
Yup.

TL;DR - More money -> likely fewer results.

Large organizations tend toward waste, delay and mediocrity. Without a profit motive and a mission to deliver a specific solution, the modus operandi is to grow as big of a budget pyramid as possible while providing just enough press releases to keep the DOE gravy-train rolling.

This is why high beta and other approaches from smaller groups may likely crack the problem, despite not having all of the toys (and distractions).
The dawn of the 'start-up douchebag'
There's no need to squash commits with rebase. Ever.

Whether you commit often or not does not change the fact that rebase is unnecessary to keep a clean history of features/releases and obscures real commit history.

You can have a clean history of features and/or releases with tags, without destroying commit history.
Nicotine is being explored to replace stimulants:

http://en.wikipedia.org/wiki/Nicotinic_agonist#Drug_developm...

The development of nicotinic acetylcholine receptor agonists began in the early 1990s after the discovery of nicotine’s positive effects on animal memory.[2][3] The development of nicotinic acetylcholine receptor agonists has come a long way since then. The nicotinic acetylcholine receptor agonist are gaining increasing attention as drug candidates for multiple central nervous system disorders such as Alzheimer's disease, schizophrenia, attention-deficit hyperactivity disorder (ADHD) and nicotine addiction.[24][25]

http://www.addforums.com/forums/showthread.php?t=130036

<i>Interestingly enough, some pharmaceutical companies (like Targacept) have caught onto this phenomenon, and they have already started manufacturing nicotinic drugs (agonists of nicotinic receptors), which are to be marketed for the treatment of ADHD. They are trying to make nictoine more "safe"...

These so called nicotinic drugs, such as AZD3480 (Ispronicline), are still in the clinical trial phase. In fact, the drug is in phase trial II, which means that it has passed the so-called primary "safety test", and there were no alarming adverse reactions. See: http://clinicaltrials.gov/ct2/show/NCT00683462.

These nicotinic drugs are a refreshing new technology, because they indirectly act on dopamine through the release of another neurotransmitter, acetylcholine. These drugs are much unlike classic stimulants, which act upon the dopamine reward pathway directly, increasing abuse potential.

I decided to put the last question to the test. For the past week, I weaned myself of the Ritalin, and I bought transdermal nicotine patches. Bear in mind that I have never smoked a cigarette in my life, and none of my immediate family members smoke! So, what I did was highly risky as nicotine has been dubbed as a "highly addictive" drug.
...

On these so-called "dangerous" 5 mg patches, not only was I able to focus better and sleep better, but my mood was much more stable. Also, the "come-down" is nothing like that which I experienced with psychostimulants (more specifically, Ritalin). Now, I am not saying that we should all start smoking. But, I'm saying that we should keep an open mind and to keep our therapeutic options open.</i>
https://github.com/thedjpetersen/subway adds persistence and a web based client to IRC.
There might very well be. Check feefighters, it depends on volume and type of transactions.
The redundancy can be alleviated by type inference, but it's also kind of nice. The 'Response' on the left is your expectation about what $r is, while the one on the right is your implementation of that expectation. The separation is very important.

Of course, in this example, it's silly and type inference would be used to ensure that you don't need to write the left side.

The advantage is that before running your code you can suss out much greater degrees of what your code "could possibly mean". The \Closure bit is a start, but it needs to fail prior to running to be statically typed. It also could potentially include much more information like (\Closure[Http\Request -> Http\Response]) and reject even more bad arguments.
Well, it's not difficult to administrate at all.

If you have a local dev server (I test wordpress installs on Xampp[1]) you can have wordpress running on it in literally minutes from download. After that, you can upload it anywhere - although the default is still by PHP, Heroku and Pagodabox will host Wordpress and you can deploy by Git if you like.

[1]http://www.apachefriends.org/en/xampp.html

You can go on to elance or odesk and throw a dart and hit a wordpress developer, though anyone will tell you to caveat emptor when it comes to those sites. I could do it provided you don't need it done too quick (I have school and a couple of other projects.) Finding someone willing to work on wordpress for a paycheck is really not going to be difficult at all.
Curious. Was it the paperwork, snort setups or something else?
What's really cool is that the two people got funding for their research on Microryza, a YC company: https://www.microryza.com/projects/can-anle138b-delay-the-on...
I code in Python, BASH, C, and PHP on a regular basis and still strongly prefer PHP for everyday coding and hobby tasks. I even prefer to create command-line scripts in PHP (though will switch to Python if it's large to begin with). For me getting Flask to work properly under NGINX + uwsgi was such a hassle. Having to tell it what module, and hooking things up to touch versus just passing to PHP under fast cgi.

To be honest, PHP is really just simpler, less hassle, and if you know what you're doing things come out structured well. Just stick to classes (Including statics! There shouldn't be a define() anywhere.), use namespaces, use composer (I've come to really like it), and use a coding standard.
it's down again right now
It doesn't matter to you as a consumer. That's not the point.

It only matters if you are interested in discussing the amount of control carriers are able to exert over manufacturers, and whether companies are willing to compromise their design vision to satisfy carriers.

The entire point of the OP is to that Samsung has a problem with crapware that is not under their control. Regardless of whether you think Apple's pre-installed apps are "crap", it is entirely under their control to remove them — meaning they are in a more flexible position than Samsung.

Again, not relevant to you as a consumer. Only relevant if you wish to take part in this discussion.
Agreed. There are a few things which are stateful and are therefore made easier/better by OO, mainly DB connections. For everything else, we mostly use classes as namespace (pre-5.3) with lots of static methods. In general for backend web it's pretty silly to spend a bunch of time building up stateful objects when your real goal is usually to load up the subset of information the user needs right now, return that and die as quickly as possible.
Lavabit faced 'pen register' real-time tracking order possibly v. Snowden
In what ways is PHP less hassle than Python? I don't understand this argument.
Or you could skip the hypervisor and use containers.
I have been working on a desktop application--not yet ready--since the Bush administration.
The First Existential Threat to SEO
Out of curiosity, was the haptic tech in the build you tried out?

Keeping thumbs oriented seems to be the biggest challenge of a controller like this, but I as hoping the haptic feedback would help keep your thumbs in place.
I've done more projects in PHP than I would care to admit. I ported the University of Chicago's "Uncommon Application" from Cold Fusion to PHP using an OO data access model, MVC, and explicit templates. (This was a long time ago before people realized that MVC was a bad idea.)

I've also hacked up a bunch of open source projects (wordpress, joomla). No tests, so you never know what you've fucked up, and you spend more time checking for regressions than actually adding that one feature you want. That's not how you do large scale software development, that's how you add pack on billable hours by charging your client for the same work 100 times.

Really, it's boils down to taste more than anything else. I've yet to see a tasteful application written in PHP.

If I were to summarize it with one anti-pattern, it's that PHP encourages people to mix unrelated parts of the program into one place, making testing, maintenance, and understanding nearly impossible. I should be able to test your app's interface without having a database. 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.
Way too creepy for me. I'm (approximately) Cringely's age, and it doesn't seem to bother him, so maybe it's not an age related thing, maybe an introvert vs extrovert thing.

What do the 20-something hipsters on HN think of this? Are you OK with computers becoming more and more adept at mining your personal information and relationships? Of course Google, Facebook, Twitter, et al. already do this. But they (pretty much) keep the results to themselves. They don't shove the mining back in my face.
a better link: https://docs.google.com/viewer?url=https://raw.github.com/st...
> People like to argue the superiority of languages, but at the end of the day if the result in PHP is the same as it is in Ruby & Rails, Java, .NET or whatever, does it really make what the language is?

At the end of the day, every program is a stream of bits too. That doesn't diminish the importance of programming languages as a tool for reasoning, managing complexity and avoiding common mistakes.

As the industry shifts from deliver something that sort of works to deliver something with these assured characteristics, programming languages designed around enforcing desired qualities will be of immense value.

> Another good point is the efficiency of a developer working in PHP.

Compared to what? Depends on the developer and problem domain.

> The language is easy, it's so easy to be a PHP master after a few years working in the language.

You can master any language after a few years.

> It's easy to find super-talented PHP developers compared to any other language.

Data?
I don't care what anyone says, tex-mex is American food...and I can't live without it.
I like this, geohashing is a nice way to go. And true, I've played around with PostGIS too and the pain wasn't unnoticeable.
Wow. Interesting.

As having having used several at different scales in both tech and business capacities, general feedback on payment gateways is:

- developer support (libraries, examples to get apps going quickly and sandbox APIs)
- clear communication of due-diligence process for new accounts
- advance notification for production changes
- discussion of security and audit standards (makes customer due-diligence, internal selling easier)

Stripe and others shake things up a little whereas traditional US/multinational basically didn't care about anyone, especially customer service unless you happen to be a Fortune 100 that can yell at their mgmt at a high level.
My view is, if you don't want your data out there... don't put it out there. If it's out there, don't be surprised to see it mined and used :) Especially for people that use consistent handles across the internet.
Deployment, for one. sudo apt-get install Apache and PHP, then edit the Apache config to say, "use this directory." I love Django and Flask to pieces, but deploying a Python app is like building a hovercraft compared to PHP.
That sounds really awesome!

I'm guessing I'll just have to sit down one day and write a whole bunch of tests, and then hope that everyone else will see the benefit.

So you mean everyone just pushed directly to the upstream master?