skysight-inc/HackerNews huggingface dataset:
"Let's bend over backwards for the renewables industry a change " are you fracking kidding me?

oil faces taxes in all levels of the chain, from exploration permits to the 7/11 at which its sold. we bend over so far backwards for renewables our heads are up our asses. we throw trillions at renewables from tax breaks to low interset loans.

i think your bias against fracking and oil is very clear. if the EPA stated fracking was bad, you'd be having a fit saying 'i told you so', but they found that it rarely causes harm, to which you gleefully ignore.

edit: i'd like to also clarify that i do not think investing in renewable is wrong, but claiming we aren't is just ignorant of what is actually happening.
I feel bad for the SpaceX team. No sympathy for Musk considering all the mean spirited and unfair things he's said publicly about Orbital Sciences' rockets (inc. "One of our competitors, Orbital Sciences, has a contract to resupply the International Space Station, and their rocket honestly sounds like the punch line to a joke. It uses Russian rocket engines that were made in the '60s. I don’t mean their design is from the '60s -- I mean they start with engines that were literally made in the '60s and, like, packed away in Siberia somewhere."). Which is an even more ironic quote if you knew that Musk tried to buy exactly those same rockets from Russia and was declined[0].

Hopefully Musk is learning some humility.

[0] http://www.dailymail.co.uk/sciencetech/article-3082067/Russi...
I don't think the problem is having case insensitive file systems, the problem is having both on different platforms. A similar problem as with different endians. If everything were case insensitive, it wouldn't cause issues.

While as a programmer, I prefer the level of precision case sensitivity provides, I'm hard pressed to make the case that it is better for an average computer user.
You have to consider the capabilities in addition to the performance/guarantees trade-off.

A key/value store with SERIALIZABLE transactions isn't as useful as a system that allows multiple-statement transactions but only offers REPEATABLE READ.
What's "legal" is determined by Federal, state, and local code. I can't imagine there are any laws against this kind of thing.

It almost certainly violates Facebook's ToS though.
File Upload and Validation in CodeIgniter – PHP CMS Framework
For some reason accessing the same via Google news shows the full article (does WSJ or other such sites have exception for traffic originating from Google news?):

https://www.google.co.in/search?q=India%E2%80%99s+Micromax+C...
> Initial thoughts are that the main difference is now we have HD video and for some reason the controllers remain silent after the explosion

When something like this happens, all the conversations about what happened are being held on comm nets that aren't broadcast. Believe me, the controllers are talking to each other, gathering and sequestering data, etc. But they aren't doing it on the net that's broadcast to the public.
"Lock the doors"
What is your threshold for "basic human right" ?
Show HN: YouCode – A plateform for developers to find talks and tutorials
You obviously can't count on people to 'do the right thing', ICANN in this case, so what basis for litigation is there here? I would think some case could be brought, espcially in demanding providers to turn over domain owner information without a court order (if that's what they are asking), they seem to certainly be overreaching.
Didn't the Greeks pretty much do for years what the likes of Krugman and his fellow Keynesians advocate (more government spending etc)
Behind Silicon Valley’s Self-Critical Tone on Diversity, a Lack of Progress
A lot of theses arguments seem to come off as sadistic. We want jobs enough to hurt people, but not enough to move.
It's all a huge conspiracy
Yup, in Krugman's world there is no upper limit on credit.
While not conclusive, there is actually some evidence a ketogenic diet may help.
Java is one of the least capable contenders at this point.

All those thousands of lines of C++ code, you can easily use them in any language you choose, except for Java.
It's fun reading papers from the 1950s because this would never be published today.

I had an interesting thought reading this. It's well-known that caloric restriction extends lifespan. People who are obese but lose weight have metabolic changes similar to those induced by caloric restriction (lower BMR among others). I wonder if those who were formerly obese but are able to keep off weight have longer lifespans.
Rapid unplanned disassembly.
Regulating Sex: Yes Means Yes
I think most Europeans do know that, even if only at some subconscious level. The rest is just propaganda, which is strong these days in every country.

But to be fair, the risk is not minuscule - for example the murder rate is 4-5 times higher in the US than it is in Europe. The only two times in my life I was close to being beaten up was during my few months visit to California.
Just forwarded the link to my work email. This is the ultimate answer to any objection to security efforts on the grounds that "the vulnerability is too complex for anyone to bother exploiting".
Either return cents (for decimal currencies), or more generally create a "currency" type with ints and conversion ratios for each "field" (for example a "US Dollar" type would have "dollars" and "cents", with ratios of "1" and "100". This means you can handle non-decimal currencies[1] like the Malagasy Ariary[2] and the Mauritanian Ouguiya[3] (1 ariary = 5 iraimbilanja, 1 ouguiya = 5 khoums)

As you said, easier said than done; but you really don't want FP errors popping up in financial calculations :-)

[1]: https://en.wikipedia.org/wiki/Non-decimal_currency

[2]: https://en.wikipedia.org/wiki/Malagasy_ariary

[3]: https://en.wikipedia.org/wiki/Mauritanian_ouguiya
And this leads to code that is either too complex, too inefficient, or both.

I mean it's fine if you are competing with Python or something ,but if you actually care about perf this is never going to work. But of course anyone wanting to coin a "Rule of X" doesn't want to see a problem in its full context, they just want to be able to pretend to have a solution well enough that they can at least fool themselves. Etc, etc.
Interesting, I didn't know that. I was intrigued enough that I had to look up the original quote[0] as I had my doubts. I was able to easily find it though, is from a 10/12/2012 interview with Wired.

Perhaps he's gained some humility since then; I'm still very inspired by him regardless...

[0] http://www.wired.com/2012/10/ff-elon-musk-qa/
Germany owes its prosperity to Europe writing off most of its debts in 1953. (Despite acting like total Nazis.) Not to mention getting out of paying Greece for WWII reparations. (http://www.cnbc.com/id/102495059) So it can work out quite well!

Also, the debt run up by a US-supported Greek dictator is “odious debt”, and not owed by the population. (http://www.euronews.com/2015/04/17/chomsky-says-us-is-world-...)
Why do you think it's too much? I think it could probably be named a bit better but what's the downside to having a ~25 char method name?
https://www.youtube.com/watch?v=z5rRZdiu1UE
Can we kill off the Mono libel already?

Mono changed the license so that it could be used in Unity to begin with. Mono was available under a copyleft license. To everyone. Including Unity. Unity couldn't/wouldn't accept it under those terms, so folks at now-Xamarin said, "We'll offer it to you under a commercial license if you won't take the copyleft offering." That's standard fare. Unity said, "Okay, deal." Mono continued to improve over the years. Unity was interested in those improvements. Mono said, "Okay. You can get those under a commercial license, too." Unity balked.

So what we're really talking about is that Unity wants the improvements that have been made to Mono, but doesn't want to pay for them.

Get this: They're still free at any point to accept Mono under the copyleft license that's available to literally everyone, but they won't accept it under any terms other than their own. That's it.
Not really. More of a damning distillate?
I generally agree with statements like that about krugman, but in this case I believe he is right.

demanding a country raise taxes during a recession, with no less than 25% unemployment, is ... well i don't know the exact word, but its bad.

its clear that nations in joining in this union gain some benefits, but they loose the control of their own money. and that has been show to be more than just paper, they loose their sovereignty.
Never abbreviate is my rule of thumb.
Running remote scripts securely: xinetd and chroot
I think you now subbed 102 for 192 "128, 160, 102, 224". Sorry to nitpick, but I stared at that for longer than I'd really like to admit before thinking it was a typo.
Because which set of bacteria one has in ones gut depends of location, season, humidity, air quality, traditional foods, water sources, other bacteria an another hundred factors.

Anxiety disorders are human universal.
The two examples given in support of short local variables names rely heavily on convention or prior knowledge. I don't think they're strong arguments for making short variable names.

Naming the integer counter "i" is convention learned in CS class (initially) that has become common usage. If you have nested for loops then j, k are often conventional for naming the next counter variables, though without an enclosing "i" they would look strange to most people.

Likewise, tmp draws on existing knowledge of /tmp as the location for temporary data on Unix machines.
TaiG 2.1.3 Jailbreak iOS 8.3 official tool released to fix UI cache, getting
In 2012 a whole lot of the Web crashed during the leap second. The primary bug was a problem in Linux kernel threads that caused Java processes to spin at 100% CPU.
BetaList vs. Reddit vs. Hacker News – Adventures in finding our first users
Any reasonable definition of computer includes things that can do arithmetic, and since brains can do that, brains are computers.

The distinction between analog and digital computers doesn’t seem to be so important to me. Any computation that an analog computer can do, can also be done with digital computers and vice versa. Digital computers can process continuous-time signals as precise as analog computers, and analog computers can do logic. Which kind of computer you use depends on convenience with respect to the resources and computational problem in hand.

The “brains don’t download software” part also isn’t convincing. Brains are capable of manipulating symbols, but the rule set needs to be learned in the case of arithmetic, or selected, in the case of natural language according to inputs. Also, software doesn’t have to be like “1. Do this, 2. Do that, 3. End”, like the article implies. The brain can be running on a game loop, planning future actions according to some stochastic utility function.

Also, I find it useful when thinking about brains to separate the functions that are done unconsciously from those that are not. To me, unconscious functions of the brain seem more like using specialised hardware. Of course, those parts are almost certainly doing computation to full their functions, but it is “not abstract symbol manipulation according to some learnable rules” that people associate with consciousness.
The brain is neither analog nor digital. The brain encodes information sent between cells as pulses. The timing of these pulses is where the information is encoded.

As such it is transmitting a fourier transform of the signal it is transmitting between the cells (but with different basis functions, not cosines). When a pulse is received, this will result in a sudden jump of the action potential, and then slowly die down. If a second pulse comes while the first is still in action it gets multiplied by the current value of (this particular) input potential. Rapid pulsing (3-4 ms between pulses) means something along the lines of "multiply membrane potential by 10 for every pulse", whereas a pulse width of ~350ms means "keep the membrane potential constant".
Any one of these pulses may push a neuron "over the edge" and have it transmit a pulse of it's own (or a series of pulses as pulsing the axon lowers the membrane potential by a factor. This may or may not cause it to go below the trigger level, and so sometimes the axon needs to pulse multiple times to get the membrane potential back below the trigger).

This is a beautiful way to encode simplifications of analog signals. It's log scale in the sense that 2 rapid pulses encode that the function value should be an order of magnitude larger than 2 slow pulses. It is extremely sparse (pulsing speeds rarely exceed 1hz, and only for short times) so it is quite energy efficient. Your brain quite literally does nothing at all unless there's actual information to process. I find it a bit misleading that wikipedia says that the frequency of pulses encodes the info : it's true, but makes one think this frequency is constant, when in fact it is changing rapidly. Does the word frequency really make sense when any 2 measurements of pulse frequency will be different ?

Normally one would call pulses digital, because they are 1 or 0. Values in between are interpreted as being either 1 or 0, definitely not analog. But the time spacing between the pulses is what matters, and this is measured to astonishing accuracy by a chemical reaction. A measurement like that, one would normally call analog. So it doesn't really match either signal type ... It is very different from any analog or digital signal I know about.

One might say your neurons contain an encoded, but uncompressed mp3 of the signal they're transferring between neuron membranes : it's transmitting in the frequency domain, but without the compression that reduces the zeroes, so it's sending very long series of zeroes, interspersed with the very occasional one. This works well because transmitting a zero is done by doing nothing at all.
Outside of the dating pointers that are universal there are some important logistics and cultural differences in LA. LA is an image driven culture, people buy nice cars while renting small apartments. There are many exceptions, however girls I have met do seem to be focused on your job, position in society and cashflow. This isn't exclusive, but because there is a lot of money and flashy people in LA, a subset of the population has become image driven.

Also, there are a LOT of people and attractive women (and men) in LA. You would do well to locate close to your job (as commuting is terrible) but still live in a happening part of the city. If you live in century city/santa monica/wilshire you can easily match with people close to you on tinder. Also, there are large concentrations of people in those areas.

LA isn't really a city. Each "area" varies widely and has it's own culture. You should balance where you live with your ideals and proximity to your job. Venice is artsy and has a bit of a greenwich village feel (maybe a few years ago), Santa Monica is trendy kind of like nicer areas of manhattan, beverly hills is like the upper east side (old money, new money, trendy flashy and very luxurious), hollywood hills are kind of like nice areas of nassau county (very nice, expensive, private and a bit removed from the bustle of the city). Won't name every neighborhood/area but you need to find the best cultural fit with your ability to get to your job. Then you can find local people easily accessible with uber.

edit: they are finishing up a railway system that ends on the santa monica pier. This is a pretty promising piece of public transportation. Might even be opened now as it looked close to completion when I was last there 2 months ago. You can live off of that for easier access to fun areas (venice/santa monica/wilshire). Public transportation is a joke, your real options are to get a car or to be in the area you spend most time in and use uber/lyft/sidecar.
Except that this is just a manoeuvre from Tsipras to gain time and put the blame on the rest of the EU when they are forced to leave the Eurozone.

The referendum is planned for July 5th while Greece's obligations to pay their debts are on June 30th.

It's clear in the eyes of everyone that it's a political move. Tsipras has been feeding lies to the Greek people. He is a populist.

The following scenario is likely to happen on June 30th:
- The European Central Bank will maintain ELAs to their current level, it means that Greek banks will have to default.

- The Greek government will have to refill their bank and nationalize them. Since they have no power over the euro, they will start printing their own money which will be worth very little.
Use BigDecimal or whatever that kind of type is called in the used programming language.

http://floating-point-gui.de/basic/

http://0.30000000000000004.com/
You're are caricaturing. that's not what Keynesians say. Spending to stimulate growth during a financial crisis ? sure,that's what the USA just did. But not spending just for the sake of it. And bailing out private banks with public money is not Keynesian-ism. It's moral hazard.
... which exact type of case insensitivity would you do? Only for latin letters in ascii? or such letters plus just one accent type? or also less familiar symbols used in other writing systems? Did you know that different languages can contradict one another? [1] Are you also going to normalize unicode representation, like Mac OS X does? (it uses a variant of NFD normalization, which is arguably the wrong one to do but that's life) (I only know this because I've been tripped up by it)

Basically, you can't "just do case insensitive everywhere", that doesn't fix the confusion and inconsistency.

[1] http://www.i18nguy.com/unicode/turkish-i18n.html (see table titled "English vs. Turkish Case Mappings") (this is just the first example I could find with a quick search)
Keynesians advocate for large amounts of public spending during recessions to stimulate the economy. They don't advocate for racking up a large amount of public dept to spend during the periods of growth, which is what happened in Greece.

There are many other issues with the Greek economy such as clientism, the inability to collect taxes, etc that all economists would agree needs fixing.
That entirely depends on your definition of "virtualization". I for one would completely consider all of the namespace support that docker/rkt/lxc use to be virtualization. The reason being since the container has a different pid/network/mount namespace from the host, it is a "virtualized" version thereof.

Now clearly this is different than traditional full operating system virtualization ala KVM/Xen, but it is absolutely still a form of virtualization. Just because something is different doesn't make it wrong.
By the vast majority of measures things are improving. We are a much safer, smarter, richer more equal world than we were even a few decades ago.
Because native GUI on Windows and OSX is better for those users and already exists?
You raise another important point - Australia doesn't have free refills, for any size.
Awesome! Thanks, I will definitely check them out.
this is very well known in the scientific community (which is one of the reasons it's unlikely to be published today). one of the key challenges in diet science is that what works for individuals may not be an ideal public health or clinical recommendation.

re your hypothesis, i don't know of any studies on your specific question (there aren't many people who keep the weight off -- the national weight control registry is following several thousand), but there are studies showing that people who weight cycle minimally (1-4 times) have lower all-cause mortality: http://aje.oxfordjournals.org/content/early/2012/02/01/aje.k...
If we're going to get worked-up over meat, there's no reason to jump straight to dogs. Over 100 million hogs a year are slaughtered in the US [1], compared to about 25 million dogs worldwide [2].

1] http://www.thefarmsite.com/reports/contents/liveanapril12.pd...

2] https://litigation-essentials.lexisnexis.com/webcd/app?actio...
The Cold War is probably the closest historical lab experiment about espionage. I've seen it argued that even the spies and traitors served a valuable purpose during the Cold War. Because leaks like these provided a way for valuable information to cross the barriers of antagonism and give insight into the real problems and the real fears of the other side. And this knowledge could in fact lower tensions and increase security.

To know and to tell secrets is a very human thing that laws and social norms (spying on the President! For shame!) will not erase.
The kind of precedent that the Eurozone does not want to see happen. Spain, Ireland and Portugal have taken loans and paid them back or are paying them back.

If any country can default their debt without consequences I leave it to you to imagine the new crazy interest that a EU country will have to pay given the "risk" of a default. That's pretty bad for the three country mentioned above.
In 1953, 60% of the German debt was cancelled through negociation, allowing the ensuing economic boom.

Please notice that loans come with an interest rate, which varies accordingly to the supposed risk they present. That means that any creditor lends money explicitly accepting the potential risk of not being repaid, compensated by compound interest.

There are many precedents. In fact most countries did failed their debt at some point, the real matter here is politics: the Greek case has been managed in the most insane way, and the Troika simply want to put the fault on someone else. However Tsipras and al weren't governing back when Greece was (against all odds and reasons) accepted in the Eurozone; they weren't when the Troika decided to bail out the French and German banks instead of refinancing the Greek economy; so they're actually quite entitled to their refusal of bearing others' misdeeds.
I will never understand lcamtuf's life choices. He has decided to work for google, instead of creating his own successful business. He is still complaining that he doesn't own yacht. I mean, it is such a waste of his talent. The guy seems to be brilliant (from time to time ;-), have right contacts, confidence and most importantly motivation. What he does he goes to Google to work with all these retarded nerds, red tape, fat girls with moustaches. It is fucked up IMO. Sorry lcamtuf, I won't drink to you.
OCaml – Compiling Mini-ML to JavaScript
bye bye Trello! In love with this tool. I will recommend Pipefy for my friends. Nice job alessioalionco3
That seems like a very unfair description of the situation.

Do you know the specific licensing terms that Xamarin offered to Unity? Probably none of us here do. Given that, why would you assume Unity was the unreasonable party, and not Xamarin?

Regarding the copyleft license, while it is an option for everyone in general, it isn't an option for Unity, which needs to ship on platforms that do not allow such licenses (iOS, game consoles). Products like Unity will always need a commercial license as long as such platforms exist.
Seeing then FQDN with the trailing dot I wonder how much software breaks when you use it. I bet the duplicate check here doesn't treat homepage.ntlworld.com. and homepage.ntlworld.com as equal.
The use of i,j,k, etc is a convention carried over from math to CS.

Edit: As are a vast majority of CS knowledge: set theory, calculus, matrix, and so on.
You cannot just declare the destructor of a base class, since it will get called by the derived class destructors and linking will then fail. But you can write out an implementation for a pure virtual function, which will still keep the base class uninstantiable:

virtual ~AbstractBaseClass() = 0;
...
AbstractBaseClass::~AbstractBaseClass() { }
Dude, relax?