skysight-inc/HackerNews huggingface dataset:
It really depends where you're coming from. For the kind of sites that prevailed maybe five years ago, you could separate HTML and CSS quite neatly and JS was a minor element used to add some effects. But these days you're starting to get web apps etc. with very rich interactivity; and once you're past a certain level of complexity it's inevitable that you'll end up modifying lots of HTML and CSS from JS. So if you reach that point then you can efficiently make JS your main (or even only) source of truth.
Ask HN: should I tell my previous employer the new hire is no good?
Obviously I'm posting this from a throw away account.

OK, some months ago I've quit my job to move on to better opportunities. Since I was the only dev I agreed to be available to help the new hire out if he needed any help. So I still have access to all the servers and such.

Anyway, today curiosity won me over and I took a peek at what the code he produced looked like. And I was shocked. It is a mess of sphagetti code, one file that contains everything from PHP, HTML, CSS and JS, HTML that contains inline CSS etc. I should mention that the whole system is otherwise built on a MVC framework and all the code that I wrote before I left kept things where they should be.

So now I feel like I should say something to my previous boss. Maybe I feel that way because I was the one who did the technical interview with the new hire, and although he wasn't amazing I got the impression that he is at least a solid developer. And time was running out so my boss decided to hire him. But I never expected the new hire to produce such rubbish code. I just feel that if things won't change my ex-bosses business will go down the toilet as this new hire will end up producing a unmaintainable mess that nobody else will want to touch ...
Fukushima possibly contaminating the entire Pacific, making any seafood from there not able to be eaten, is not as bad as a little more CO2?

By the way, not 1 word in the article, filled with all sorts of scary quotes, about diatoms and their role in CO2 sequestration.
There are a ton of roadblocks to nuclear power, unfortunately. Although I agree with you that, done right, nuclear is the way to go, it's a tough road to get to.

Perhaps biggest, at least in the USA, there is the "Not in my backyard" syndrome. We all want clean energy, but we don't want the chance of a meltdown happening near us / our kids / our workplace.

Then there are the coal workers--there are a LOT of jobs tied up here, and it would be political suicide to tell a huge chunk of Southeast America that their job is going away.

Then there's the question of other countries. We can make all the changes we want here in the USA, but what do we do about China, Brazil, etc? Any developing country is going to want to trade emissions for growth. China's been doing it for decades and is just now starting to wonder if maybe they should clean up the air. We still breathe that same air, how do we get them not to foul it up? Do we encourage them to build nuclear reactors? Do we have to inspect them to make sure they're safe? Maybe they don't care if a meltdown happens every 5 years, but again, that fouls up our air/waters as well.
Top intelligence court will reveal some of its secret legal opinions
We live in a society people! Dullards and Dunning Kruger Dullards alike.
> As part of 511, state DOTs also purchase cell tower data to estimate speed on highways. My understanding is that is where the Google Maps traffic indicators come from.

Close, but actually Google gets that data from Android devices that phone home directly to them, not from the cell companies.
Religious practice can be remarkably effective at curing afflictions of the mind including depression and addiction. I knew a guy who recounted his story of being continuously depressed, addicted to everything he could get his hands on. One day he, on a whim, walked into a church, and was instantly cured of everything. Now he can hold a job, work towards a future. Doesn't go to AA meetings, doesn't need to. It's like God flipped a switch in his brain, is the way he described it. You'd think a guy like that would be preaching God from the rooftops, but he doesn't. He's real chill, easygoing.
I have gained and lost weight three times.

Each time that I lost weight it was due to vigorous exercise while doing sports for fun.

Each time I gain weight it is due to insufficient exercise and eating wrong stuff.

What works for me is keeping starchy foods scarce in my diet. As long as my diet subsists of fat, protein and vegetables I am fine. If I start consuming flour, rice, potatoes, sweets and alcohol I gain weight.

I have only recently realized how eating a meal rich in protein and fats keeps me fed for as long as eight hours. If I eat some sweets or a piece of bread I will feel famished in two and a half hours. Whats even worse I will crave more of simple carbs.

Losing weight on protein and fats is easy and effortless. Eating a "balanced" diet in small portions feels like torture to me.

As an added bonus it is really hard to consume a large ammount of protein and fat.
Good idea, I am currently working on something very similar, but built on Scala/Scala.js. Javascript is just not the right language for this, just as Java (GWT) wasn't.
We'd need less than the current roofspace. Compared to existing enterprises like agriculture, the land use is pretty small. Is still huge, of course, like the same size as Spain, or just over half of Texas, but spread out globally that is technically reasonable to achieve.

edit - The problem with most nuclear technology, is that if you are looking for a solution to global energy, it has to be something that you are not going to be scared of your enemy possessing. Nuclear might be cheaper to implement in some scenarios, but it is geopolitically screwed as a ubiquitous energy source.
Google is scared more countries will follow Brazil's lead and demand they host data on their citizens locally. I understand the costs could be big for that, but I almost want it to happen (in EU, too, where it wouldn't need to be in the every country anyway) as punishment to US companies for agreeing with this level of spying, without fighting back much against it, because they thought there would be no consequences to that, and no cost to them.

So yes, I do think they deserve that to happen to them, and as a foreigner I'd feel a lot safer if my data couldn't be accessed at will by the US government. At least I can help change the government in my own country.
Very nice, and has lots of components. I like it.

Regarding the semantic-ness of the class names - I see people complaining that "ui three column grid" is not semantic. I don't understand what the big fuss is about - how could a generic, non-preprocessed grid be semantic ? It's presentational by definition, and the class names reflect that. If they implemented the framework as SASS mixins, sure, you can be as as semantic as you want when you use those mixins. That's what I like about Foundation. For example:

.my-foobar {
@include grid-columns(3);
@include panel;
}
Some parts are so beautiful, it's a very good inspiration.
It's a press release from 2008. I don't quite see why it appears here now.
The iPhone 5S-Class (as in Mercedes S-Class)
>The NSA declined to comment.

That's a shocker.
SSL depends on dns and so is broken when someone has compromised your local router. Yeah, that's a pretty bad weakness but it's just sitting there and indeed that's what the NSA supposedly used against Petrobras.
Wow, a solid-state fan is not something I ever expected to see! (About as expected, in my mind, as gears with no moving parts.) But, pretty neat.
It seems like a clever way to avoid the decoupling of content, presentation, and behavior, each with their own focussed, domain-centered language offered by the traditional HTML/JS/CSS set up...

But I don't really see why I'd want to do that.
The more I read the comments trying to explain this library, the more it reminds me ASP.NET Web Forms, only in JS.
Anyone else here doing Coursera's A Brief History of Humankind course?

Sadly human history is that of destroying and changing the environment, unintended consequences, and constant failure to improve the human condition. I'm not sure removing the power structure will fix this, what is going to happen when those are removed? At least in some places in the world the power structures are all that stand between individuals and more destruction of the planet.

A lot of us often criticise processes that occur in small companies with very smart individuals. How do we have hope for better processes in a world with billions of people if we can't even get 200 people to work?

I think the core issue, as Dr. Harari put it, is that we have catapulted by an evolutionary accident to the top of the food chain but we have not had time to respond to that change. Therefore we have become the most destructive force in the history of this planet. We are an animal with better cognitive abilities. Let's hope that we can progress beyond this stage fast enough...
Because advertisers are in the business of lying. The measure of success in advertising is the persuasiveness of one's lies.

Those two sentences sum it up for me. I've taught my children to be wary of all ads because advertising is all lies, or at the very best, as close to lying as someone can get and still not tell an untruth.

As far as the cabbie and the ad executive above, how does the ad executive know that the cabbie was either (a) telling the truth or (b) influenced by ads? Perhaps the cabbie tried a lot of toothpastes before settling on Crest.

Secondarily, advertising seems to influence content overly much, no matter how much the content people protest. Stories get spiked because advertisers squawk, reporters get fired or hog-tied because advertisers squawk, products of advertisers get better reviews. And don't tell me that doesn't happen, it does.
Ask HN: Why did Google drop www.l.google.com CNAMES for standard A-records?
I noticed Google switched away from CNAME-ing www.google.com and other www.google.tld domains (such as www.google.nl) to www.l.google.com. They now serve standard A-records, which strangely enough seem to be different for the .com domain compared to all others. For example from my location, querying the authoritative nameservers (ns1 to ns4.google.com for all domains I tried):

www.google.com. 300 IN A 173.194.66.103
www.google.com. 300 IN A 173.194.66.105
www.google.com. 300 IN A 173.194.66.147
www.google.com. 300 IN A 173.194.66.104
www.google.com. 300 IN A 173.194.66.99
www.google.com. 300 IN A 173.194.66.106

While I get the same IP for several countries:

www.google.nl. 300 IN A 74.125.132.94

www.google.be. 300 IN A 74.125.132.94

www.google.de. 300 IN A 74.125.132.94

www.google.co.uk. 300 IN A 74.125.132.94

Also across continents:

www.google.us. 300 IN A 74.125.132.94

www.google.com.br. 300 IN A 74.125.132.94

And:

www.google.jp. 300 IN A 74.125.132.94

www.google.hk. 300 IN A 74.125.132.94

The single A-record returned for everything but the .com-version does change, but if it changes it changes for all TLDs at the same time and to the same new record. From another location (Germany instead of Netherlands) I observed the same thing, but with the same 3 A-records being returned each time instead of the single record as seen in the Netherlands.

Could anybody shed some more light on why they would switch from CNAME to A-records, and why the CNAME in the first place? And maybe in general more information on how their balancing/traffic-management seems to work?
That's the author's experience in NYC. I rarely go there so I cannot refute what he says. But, in Houston, TXDOT and TTI[1] have been on TV and in other media bragging about their sophisticated data collection and how good a job they've done shortening my commute.

http://tti.tamu.edu/

http://traffic.houstontranstar.org/aviinfo/avi-hou.html

>I'm fine with you doing whatever you disclose you're going to be doing, even if it seems crazy like "wherever you are in downtown Manhattan, you won't be able to go two blocks without hitting a reader somewhere", but the key there is the disclosure.

I am happy to see productive uses of technology. But, I'd prefer it if the data were required to be anonymized pretty close to the collection point. I think the gov't should almost always disclose its activities, especially in direct interactions with citizens. I'd like to see things like license plates going away and replaced with the transponder tags, but with the tags also reporting when they are accessed, and by whom.
Never Say Anything
Turns out it's not that much[1]. Roughly covering Japan or Germany (not an Axis thing, they're just the right size [2]) would provide enough solar power for the world.

[1] http://gizmodo.com/5350191/how-many-solar-panels-would-it-ta...

[2] http://en.wikipedia.org/wiki/List_of_countries_by_area
To emphasize your response, the article goes into depth on this exact point:

> I must admit I was a bit disappointed when I looked these up. They’re all just simple combinations of dear old sine and cosine. Why did they even get names?! ...

> The secret trig functions, like logarithms, made computations easier. Versine and haversine were used the most often. Near the angle θ=0, cos(θ) is very close to 1. If you were doing a computation that had 1-cos(θ) in it, your computation might be ruined if your cosine table didn’t have enough significant figures.
How would you know if they had an addictive personality if there wasn't a pattern of addictive behaviors?
Black T-Shirts: The Original Invisibility Cloaks
Having to show results to your fellow founders every week at your in-person meeting is extremely motivating. Doing everything via Google Hangouts doesn't allow for the sort of serendipitous encounters that happen at the weekly meetings. Investors come to Demo Day not just to see the newest batch of companies, but also to meet with others.

I'm skeptical that this would work.
I absolutely love JavaScript and being able to use one language from database to server to client in my current stack BUT I am very skeptical about using JS for representation and styling. Maybe JS can be massaged into a great language for representation and presentation, but I would bet HTML and CSS are far better suited.
Extrapolating a little when you say you don't like openssl as a CSPRNG, do you mean you don't like any of the CSPRNGs or just the openssl one? For e.g. NIST specified some CSPRNGs in the DSA specification.

You don't like them because the application might end believing it has more entropy than it really has or are there other reasons?
What is The Global Brain?
Being poor changes your thinking about everything
How to write programming questions for interviews
I've had arguments with people in the past about this sort of thing: names are overrated and not a unique identifier. If the UID on the identification card matches the info in the system, the card ID is valid and up-to-date, the face matches, and the name is close, it's a match.
/r/loseit helped me lose about 50 pounds, and getting another desk job helped me gain about 20 of those back :)

Regardless, loseit is highly recommended.
How much battery in a phone is used for RAM? What will the limit be assuming current incremental improvements in battery technology before it isn’t worth adding more RAM? When I heard this the first thing I thought of is that we may see an iPad with more than 4 gigs of memory since for video and audio editing that extra memory could make a big difference and the battery to power the RAM won’t be as big an issue in an iPad as in an iPhone.
In short, fewer features (mainly not being able to host arbitrary files) in exchange for less CPU and memory usage.
Yeah, I get that, I was just amused by the choice of "app" vs. "library".
It's worth noting that Chrome's use of TLS Channel ID makes it unlikely this attacks can be pulled if the end user has a ChannelID capable browser.
How NSA's cyber sabotage puts us all risk
> I don't think humanity will survive into the 22nd century

Well that's a dumb thing to say. Have you been going to barbecues with Harold Camping?

It'll be a different place in 87 years, sure. But humanity will be doing just fine, unless some whackjob launches off some nuclear weapons.
Given Google's close ties to the State Dept I could see why he feels that way
And if its like my wife's 11, the 64gig solid state would make getting all the data off easy and fast. Hope they like Breaking Bad.
5 Things That Don’t Make You An Entrepreneur (and 5 Things That Do)
I guess we can pick the alternative energy source of our liking and evangelize for it. We can also technologically, monetarily, electorally and emotionally support the people who are looking for and deploying these alternatives. At least temporarily switch to ecologically cheaper foods, so that species who are facing problems get a few decades of rest, and recommend your preference to others who might enjoy the change as well.
Some proxies (e.g. squid) include transparent HTTPS proxying; you just need to generate a certificate and add it to your browser.
No. If that were the case then Apple would be selling the real technical stuff to a different market somewhere else. They're not, they just said "64 bit" and then clammed up.

Basically, I don't see any evidence behind the "next generation architecture" stuff. Certainly ARMv8 itself isn't a huge leap -- it cleans some things up in the ISA (no more condition bits, IP is no longer a register, the multi-reg push/pop instructions are gone, ...) but as all of that is still required for 32 bit execution it isn't going to clean up the implementation on its own.

If this is a great new CPU with great new features, they have to tell us that. I think the 64-bit messaging is really "shorthand" for what you wanted to hear from Apple.

But you didn't, because they didn't say anything.
The thing with asymmetric information is that it quickly becomes a fraudulent behavior, i.e. 2008 mortgage crisis.

When you know something the other party doesnt, and specially if that party doesnt have access to that information, its hard to see that situation as not abusive.

The game doesnt require cunning to be profitable to all parties, and information asymmetry is a tool to profit from a zero-sum like mindset.

On the other hand, the stock market operates vastly on insider trading, because even though its a rule, its very hard to enforce.
Just to add to #5: OJ already is using Node's npm as a package manager. It was my thought that server-side templating aligns perfectly with node, so all plugins are already just a require away (packages are named: oj-youtube-video, oj-markdown, oj-twitter-button, etc).

In addition oj has an (optional) server side commandline tool that already supports a Browserify-like approach of building websites that can use Node packages. So if you are looking to make a static page for say GitHub pages, the OJ commandline tool already supports using npm as an OJ package manager.

One last thing: my top priority right now is Express Server integration to finish out the dream of shared Client and Server code in node. This will allow use of npm as packages even more, so if any experts on Express are out there, I'd love to talk to you.
If I fill out the phone number all the way, then go back with the arrow keys and try to delete/change numbers, I get weird behavior
Nice framework but my eyes bleed when I see html and css in my js.
I've read that the NX (never execute) bit on some 64bit processors, may prevent some buffer overflow attacks. I wonder if this is available for the Apple A7 chip?
Fukushima hasn't released anywhere near enough radioactivity (in quantity or kind) to worry about making all seafood in the Pacific inedible.
Since regulating CO2 is such a useful political tool, it's not surprising that a new hypothesis justifying regulation has been making its way into the mainstream as the global warming movement collapses.

I doubt that the researchers involved are interested as much in the politics, but it's fair to say that they wouldn't be getting a fancy new media campaign if their results didn't support the movement. Remember Marcott et al?
It sounds like the interlock protocol only protects against MITMs that try to modify the conversation. It seems likely that most MITMing is for the purpose of merely reading a conversation, not modifying it. The wiki page also describes an attack against the protocol, so it might not be very effective.
I did something similar a few years ago with the HTML5 JSON Report Format: https://github.com/ServiceStack/ServiceStack/wiki/HTML5Repor...

It's been baked into http://www.servicestack.net web service fx and lets you see a human readable view of every web service response when called from a browser (i.e. Accept:text/html).

It's also has dynamically sortable table rows and is also completely static/stand-alone. It's just a static template that wraps an embedded JSON response and converting it to HTML on the fly and injecting it the page (all client-side / use view-source).

Here's a live preview of it in action:
http://servicestack.net/ServiceStack.Northwind/customers/ALF...

And the JSON service it's wrapping:
http://servicestack.net/ServiceStack.Northwind/customers/ALF...
am I the only one suffering from massive CPU usage while on that Semantic UI page due to the "#example .masthead:before" CSS3 background animation? my MBA fan starts spinning up like crazy.
This is an article about Dual_EC_DRBG.. [edit: the final algo was] published in June 2006, and criticized as insecure by the end of June 2006. Here's Schneier summary:
https://www.schneier.com/essay-198.html

First critic from June 2006:
http://eprint.iacr.org/2006/190

Not only was it immediately criticized as being insecure, it's also slow.. I doubt anyone used this algo.. certainly, after 7 years of public criticism, anyone who used it would have replaced it by now.
How to destroy chemical weapons | Bulletin of the Atomic Scientists
Here in Sweden it's usually three months for any long time employment. One month for short term.

Reading about zero or two weeks notice here makes me thinking what that does for the job market. On the one hand it surely makes for more movement, on the other hand it must make for a more ruthless job market. One of the upsides that I perceive with the three months notice is that it makes you think long and well about quitting, and encourages you to work things out. You don't just rage quit, because you'll have some three uncomfortable months.

If however, things really don't work out and both parts acknowledges this, you often come to an agreement of parting earlier.
Just like the Flash sites from a decade ago.
Early adopters: so right at first and then so wrong later on?
They could sell you a prepaid tag, and you could get change back or reconcile its unpaid balance when you returned it. This could all be accomplished at a vending machine, or at a car-rental counter, or any number of other places.

>But nobody looks at that footage 99% of the time.

A truck can be trivially detected and distinguished from a car. The S/N of the tag detected can then have the proper amount deducted.

Or just put a sign on the vending machine, "Not for Trucks"