skysight-inc/HackerNews huggingface dataset:
Imagine what a disaster it would be if every rails app had it's own slightly modified version of rails.

I don't know how extensible of a language Ruby is (certainly nowhere near as much as Forth and Lisp, though probably more than most other mainstream languages), but couldn't one argue that if you're building an app on top of Rails as your framework... you are, in fact, making a slightly modified version of Rails?

This is pure semantics, I know. But on the other hand, would such a thing really be bad? A Lisp web framework would be all about that, for instance.

I'm by no means a fan of PHP, but the author does have a point that it's essentially an ad-hoc templating system which lets you glue your own framework on the spot. Obviously it becomes a mess eventually, but it may be useful for small projects where you want to develop rapidly with minimal dependencies, or as a sort of Mozart coding philosophy.

I actually think it'd be very refreshing if we got more frameworks that aren't based on MVC, which instead simply give you some APIs and let you use them as you see fit. I know there are some, but they're not widespread. Although you could essentially just grab a bunch of libraries and that'd be equivalent.
There needs to be a "free software extremist" though. That role is necessary so that when someone like myself stakes out a less-extreme position I can't help but seem reasonable in comparison.
The biggest “I told you so” of my life…
I'd be enthusiastic about nano-satallites, if the space-fairing component of human civilization had established reliable processes for keeping low earth orbit clean and free of orbiting pollution, debris and junk.

The last thing we need is more high-velocity objects being randomly inserted into orbit by hobbyists, when there's no reliable means to clean up the objects left in orbit by predecessors.

http://images.gizmag.com/inline/space-debris-kessler-syndrom...

How about a startup/kickstarter that harvests existing space junk, instead of one that encourages people to haphazardly produce more?
Nvidia intentionally cripples the double precision floating point performance of their "gaming" cards to make the market for Tesla cards.

AMD doesn't, which is why you don't see much firepro, and why their entire line sells for so much right now while mining on hashes is big.
I can still see > http://www.workingsoftware.com.au/index.php Do as I say, not as I do :-)
I'm pretty sure Rails, et al, use a single point of contact because that's kinda what web servers do.

I actually shivered a little bit thinking about an app where each url was in a new file somewhere. I mean, ack is only going to take you so far when you're trying to find out where something was implemented.

And that's to say nothing of URL passing between different URL paths.

Honestly, Django doesn't have an index.py file anywhere. Rather it has a urls.py and apart from some really gnarly projects, if you wanna know where something is implemented, you open the root urls.py file and follow the chain down to the app where your URL is being generated. That points you at a view and usually the form or model that's causing issues.
What happens when Twitter crashes and burns, and now you can't access your blog?
The [OWASP] recommended approach to solve CSRF is with a Synchronizer Token [1].

Basically render a token with a hidden input with your form associated with the user session and as you mention use a middleware to validate the token on every request.

So, let's talk about Syncronizer Token and "Single Page Applications" which was the topic on our first blog post. The recommended way for this is to get a token the first time and use the token in a header in every AJAX request. [2]

So, you now have cookies that are vulnerables to CSRF and a token in your javascript scope, in the same way you have the JWT.

If you think XSS is that common, the http only cookie+synchronizer token is more work and equally vulnerable to CSRF.

While with JWT you can stole my token if the site is XSS-vulnerable, but you can't trick me with the browser to do things I didn't meant.

I still consider XSS is easy to prevent than CSRF, you just need to escape user inputs always which is what every major template engine does by default. Usually you get the common syntax which does ESCAPE the user input.

Why OWASP states the contrary? I have one word: php. I blame php, wordpress and wordpress plugins. Consider that half of the internet runs on wordpress.

[1]: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(...
[2]: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(...
I think saying 8 A57 cores at 2ghz is anything close to x86 at 3.5+ghz on 4 cores.

Clock for clock, pipe for pipe (15 stages in A57, 14-19 in Haswell) x86 still wins because of per-instruction operand volume.

Though i wonder how well this chip would perform at 50w. Double the watts, maybe another 1.5ghz, might be viable for a cheap htpc.
They built two of them, and found that they agreed to within their nominal accuracy.
Some internal bureaucrat would of course swat this down if it gained momentum, but if I was building a low cost mid grade datacenter I would buy them.
This is the part of the site that didn't go down, no?
> When they can’t find you in their database, they pull irrelevant questions associated with somebody else’s dossier — especially if you have a common name like I do.

How is this not an information leak? If I know there is only one other person with my name within the area, then I can obtain information from him this way. (Since there will be multiple choices about that person suggested in that questionare)
I feel like you've got an unlucky group of friends. I bought a ten pack for a group of us at my work, none of them have had any issues at all, yet.
My personal experience has been 10 for 10, and I know some people who have bought in later and haven't had issues. The only issues I see are the ones I read about.
Radeon gpu cores. We already see Qualcomm Adreno gpus doing well and they are a fork of old ATI blueprints that AMD sold them.
IE7 users, we need to talk…
You would give theories more or less weight as supported by evidence, right.

I will wait here for supporting evidence of creationism. Patiently. For billions of years.
>Why wouldn't writing a better JS framework improve the world? Jquery helped a lot of people get into web development, got them jobs, inspired them to enjoy programming and maybe life itself, helped the economy, helped make websites exist that directly and indirectly help people, etc.

Oh please. This kind of smug self-congratulatory attitude is what makes me hate echo chambers like HN. You enjoy writing code on the side? That's fine.

But don't pretend that your competitor to Uber (or whatever other startup that gets funded and is only really valuable to people in first-world countries) makes you a humanitarian.
this could well be Java's influence, which took the C language's "main" function and hid it from the developer altogether

I don't believe Java has ever hid main. Neither does JavaFX, or J2EE, from what I've gathered working in the area. I could be wrong, and if I am, someone please correct me.
I think there is a limit. I even think it is below break-even, since they need to put in effort to go about it. I don't think it is clear at all that the proposed change pushes enough money past that limit. A big part of it depends on the structure of the costs of tax avoidance. Obviously, if every effective means of tax avoidance costs 30 cents on the dollar for any amount of money, lowering the rate from 40% to 25% would be hugely effective, though putting it at 29% would raise still more revenue. My position is that it's hugely unclear, and enough things have changed since Milton Friedman made those claims that it is open whether - even if he was correct at the time - they still hold true.
Neither sha256 (bitcoin) nor scrypt (litecoin) mining uses floating point operations.

AMD cards are faster because they are built with more, simpler "cores", compared to Nvidia's fewer, more complex "cores". Mining benefits from the increased parallelization and doesn't benefit from Nvidia's "fancy" "cores". For sha256 mining, AMD cards gain an additional advantage by supporting a bit rotation instruction that Nvidia cards do not.
Bitcoin Is The Best
>> Has it been proven that the ability to write undecidable programs confers expressive power such that you can't have one without the other?

Yes.

Can you provide a reference?

>> It seems self-evident that running forever can't be useful

Really? Do you not think that it might be useful for, say, an operating system to run forever?

It's nice when the OS has the option of shutting down deterministically.
Ha! Not to worry. I got myself 700k in the hole in the 2008 financial crisis trying to "do the right thing." Spent four years digging out of that mess in a situation where I had to run a company successfully at millions in revenue just to stay afloat. That is a hell of a lot worse than folding the company, and if I knew the hell it would take to dig out, I might have folded! But we're free and clear and making money now so it was worth it. This would be the fourth company I started. The previous three I went through the same thing you're talking about. Got to the point where I started to wonder if there was something wrong with me, or if I wasn't cut out to be an entrepreneur.

I know that feeling of strain and staring at the ceiling wondering if I'm going to survive. No way out. It sucks. That's entrepreneurship. That's why I'll never tell anyone to be in business for themselves. You have to really want it for the right reasons or you'll never be able to survive this kind of thing — it will break you. I've actually seen quite a lot of entrepreneurs get "broken" when things got super, super bad to deal with. It's overwhelming.

But, the way to deal with it is this: what is the TRUTH of the situation. What are the real FACTS? The truth is, it's not that bad. It's not like you're being chased by ruthless drug lords down a dark street. You're folding a business.

Whenever you find yourself afraid, find the fear, then find the truth. Keep working through those until you feel better. It actually works. If you stick to the facts, you'll get through it.

Also, dude, you need to keep pushing. Get yourself shut down with class, get honest with your wife, and you'll come out swinging. It might sound crazy now, but the average entrepreneur who makes it has a few of these under their belt!

Also, awesome piece of advice here: http://leadercast.com/en/ Watch the video from Rorke Denver. Here's the cliff notes (pdf): http://leadercast.com/en/downloads/LN_CalmisContagious.pdf

Now is the time of your testing. How you behave when the shit hits the fan is the question of what kind of leader you'll find yourself to be, so don't let yourself down. Be calm, be brave, face fact, and dive in! It's time to learn as much as you can about what you did to get here and what you can do next time to avoid this outcome!
>People who don't care about other people's opinions aren't that common and aren't called extroverts.

Actually the definition of extraversion is deriving gratification from that which is outside the self, so I'd say it's actually introverts who are less likely to care what others think.
Lyft Seattle and Quality v.s. Community
I can and do make the same argument about progressive income taxes =) And, to be totally clear about my perspective, I believe all taxes on income are taxes that disincentive work and are economically destructive.

It's not an on-or-off switch: you've got to look at the margins. At the margin, you'll work less if you get $100 in return for an hour's labor than if you get $200 in return for it. Maybe still more than half as much work, but you'll still decrease the amount of labor you perform. Income taxes do exactly that.

It's possible to make the marginal disincentives less steep, but the more you do that, the more you lose the cost savings you were hunting for in the first place.

E.g. imagine a basic income of $20k. And suppose you make it phase out such that at $40k you don't get one. That amounts to a whopping 50% marginal tax rate. And that tax rate is on top of existing taxes, and it's not hard to end up with a result where someone making $30k/year is paying a 75% marginal tax rate. Which is much too high for anyone making so little.

So let's try spreading it out. If it phases out at $60k, that's a 33% marginal tax rate; $80k is 25%; $100k is 20%. That's much better, though still a significant tax. But you've also made the guaranteed minimum income much closer in cost structure to a simple basic income. At least 90% of individuals make less than $100k, and their average per capita income is probably below $40k (remember we're cutting out the long tail that accounts for a large percentage of income). So we're paying out around $12k to each of them on average; and since we cut out the people making above $100k, that's around $11k per person, 55% the direct financial cost of a basic income.

Cheaper, definitely, but you're still going to face sticker shock. And you've paid for the cheapness in the disincentives due to taxes; administrative costs; and in creating incentives to misreport income.
Don't you need an index, or something approximating an index? Having an index lets you redirect requests which aren't to public resources (images, js, css) through that single point and by extension the url router. That's what it's for.

I actually don't mind an index.php with some gnarly procedural code. Sometimes code has to do what it has to do, and it doesn't always have to be pretty.
>Sub 100 would be more attractive.

Like the incredibly attractive Ouya?
This is the static marketing content, not the exchange part.
I myself also had to quit EVE after 7 years, but I had one of the best player experiences you can get in that game.

Highlights: Being a member of Veto. Going to Iceland and meeting long-time friends (and meeting Mittens!). Making a best friend. Being present for the first ever Titan kill. Becoming among the richest players in the game without using T2 blueprints. Succeeding at ultra-high level market manipulation for massive profits. Launching several successful manufacturing enterprises. Epic kills that netted ultra rare item drops (prize ships, T2 blueprints). Running multiple identities and spying on people. Playing a key role in breaking up a large alliance through dirty politics. Plotting revenge on someone, slowly working my way into their circle and brutally backstabbing them 5 years later.

Nothing else comes close to touching EVE.

RIP DarkElf. RIP Vile Rat.
First, name me an industry that doesn't have 3 companies that have done something bad. Education? Medicine? Even grandmothers? Nope, sorry.

Second, basically EVERY company is a tech company these days. Honestly, Uber and Airbnb aren't even really tech companies. They just use tech. Like virtually every other company.
> More gates = more power.

This is not strictly true, the processor throughput also matters.

Total Power consumed = Power consumed by gates * Time taken to finish the job
AMD GPUs are about 4x faster for bitcoin mining and about 2x faster for litecoin mining compared to similarly priced/energy consuming Nvidia GPUs.
5 Mission Critical Tools For Your Blog
PS3 level graphics instead of PS2 level?
The article isn't saying you shouldn't have an index.php, it's saying that it shouldn't be part of the framework.
I use FB message to communicate with friends in other countries. I know there are other apps out there for it, but when we all have Facebook already, its easier that way.
wasn't it someone at facebook who remarked that they would be interested in ARM cpu's once the freq > 2.5Ghz, also it seems that google also has a bunch of pa-semi guys, so, they working on an ARM clone isn't so far fetched...

edit: found the link http://www.theregister.co.uk/2013/12/16/google_intel_arm_ana...
I came here to make this comment. I completely sympathized (and still do) for his position - but the luxury of something like "Not working for someone else" is the first to go when you are in dire straits. If you have debt, a home, and people who count on you, you take whatever work you can find. I'd call up Chuck E. Cheese and see if I could get my first job back before I would decide to just fail on my responsibilities.

When your luck is down, the room for luxury is low. "Not working for someone else" is a ridiculously large one, and your wife is not in the wrong for thinking similarly.

Still, to be constructive: Consider work that can sustain your responsibilities, albeit at a non-optimal rate. You founded a startup, a task that requires endlessly marketable skills in a growing field. It ended, and perhaps it ended poorly - but you can, and will, endure.
This issue has been hitting APM's MarketPlace website (https://www.marketplace.org/) for at least a year now.

Mucks up their CSS as well, best I can tell.
I agree with the analysis above, with one addition: a big reason to pay yourself more at any owners only profitable small business is to max out a contribution to a 'individual 401k', sep-ira, or similar. The rules vary, but if your 'salary' is in the $250k ballpark, you can contribute up to $51k in additional money to a tax deferred retirement plan. Just like a 401k, it grows tax free.

Most SS taxes are capped just above $100k, and if you own a tech company it's pretty hard to argue you salary should be below that, so the SS angle is limited. But tax free compounding on $51k/yr is a significant benefit.
That so needs to be a thing.

Though I don't think I'd be tracing out "Hello". Unless you speak Bronx.
I write my code as if there will be multiple user interfaces. Usually there are not multiple user interfaces, but thinking as if there will be has a positive impact on the code. Thinking as if there will be multiple user interfaces means putting as little code as possible into the views, since there will be more than one. Some of those user interfaces might not even have Django views and templates, such as a service exposed via Zero MQ. This naturally leads me to putting as much logic as I can either into the models, or sometimes into other modules which in turn use the models. About the only code that goes into views then is the glue that looks things up and gets things ready to be passed into a model.
Rails, NodeJS, Django, they all do it with one entry point. That gives you maximum flexibility to decide what to do with a request once you've received it rather than already being locked into some particular approach based on path.

This is done in the "Routing" layer which also helps provide diagnostics when it comes to seeing which bit of code was engaged.

There's a term for what an app with hundreds if not thousands of loosely defined entry points is called: A mess.
That and index.htm are so shamefully bad.
that is a little different but point taken.

if facebook wanted to be nefarious with these newly granted permissions, they have an extremely large pool of data to mine.
How I Lost My $50,000 Twitter Username
To add to the similar view shared by many of the responses here, my approach is to write about something I care about and think others may benefit from, then think about which demographics it would be more relevant for. If that happens to be HN, great.

I don't worry at all about ranking and yet I've been 2nd and 4th on the front page. Write about something you care about. I too have a must-win attitude, but not in this respect. What is there to win? Virtual internet ego points? I just want to share my thoughts/experiences and hopefully be able to have a discussion and meet interesting people.
We Lost the CEA MoDev Hackathon, and Here’s Why
Nice find... F Porsche was certainly ahead of the curve even before the VW.

I saw this earlier today on the Porsche forums and it created quite a buzz. This car is worth magnitudes more than an original 356.
Java update kills most online games/emulators. Few still work, like Javatari
An interesting point made was to avoid using custom domains for the login emails, since a DNS takeover would compromise your accounts tied to that email.
As someone who has never used a credit card and never will due utter disgust in that they can't even get basic authentication right, here's a big fuck you. I am a constant victim of retarded sites that try to pin down some identity other than a password to users. Trying to identify people you don't know is plain bullshit, and the industry should stop. Why the fuck do I have to prove who I am to a computer? This is like trying to explain to a lemon what color is. The only thing all of this bullshit amounts to is that id fraud is incredibly easy, because nobody knows what information they are supposed to protect.

Stop fucking using IP addresses in conditionals. Same goes for anything else that is not a username+password or unguessable token. Period. If you're in a job that's prolonging this behavior, quit. There is an endless supply of places you can work at if you're a good developer.
RE (1): Sure there are a few people with extra money (judging from your HN profile you are one of their Bagaveev's ideal candidates), and it is really exciting to be involved in new projects. It's more exciting to be involved while potentially making money or to get something more than a feeling of satisfaction.

RE (2): Valid point. Successful Kickstarter campaigns often raise more funding afterwards. But I still think they would like to say, "look at all these people who were willing to risk money by investing in our company" rather than saying, "look at all these people who threw us a bone when we asked for it." Both statements demonstrate an amount of attention, but I think the first is better information to future investors than the second.
Orders Of Computers And Electronic Products Plunge To 1993 Levels
You're correct. What I was thinking of is actually the difference between C++ and Java. Whilst C++ has Object Orientation built into it, you still have to have a separate main function where as in Java you define a main method on at least one of your classes.

That'll teach me to write something without looking it up first :)

I'll update when I get back on a real computer (typing on the go right now), thanks.
Im curious, which library do you use to load the JS libraries? Do you use requireJS?
In that case Russia should have no problem with Ukraine entering into a trade agreement with the EU or even joining the EU as a member. It should also have no issue with Ukraine having its own democratic elections that do not include a puppet from Moscow.
Supporting IE7 is the worst part of my day job. I end up building new modules in Firefox, making sure they look the same in Chrome, then testing IE7.

Then I have to fix all the stuff broken in IE7 and ensure it still looks good on the modern browsers.

My ultimate goal though is for it to be presentable in IE7 with a top notch experience in anything newer, makes it a little easier.
Mauricio Manieri "Cover" Meu bem querer
Giovani Costa (Cover) https://www.facebook.com/kocnvted1?ref=tn_tnmn
Someone who loves reading quotes like that.
Armatron?

http://www.theoldrobots.com/armatron1.html
I actually shivered a little bit thinking about an app where each url was in a new file somewhere. I mean, ack is only going to take you so far when you're trying to find out where something was implemented.

That's essentially what controllers are. How a URL gets mapped to a controller is somewhat moot, in reality most "pages" equate to either a file or a class somewhere.

I'm not advocating that one shouldn't have a single entry point. I'm advocating that it shouldn't be part of a centralised framework.
Absolutely, relatively, floatless