skysight-inc/HackerNews huggingface dataset:
>You can see why Java needs these types. With permanent default interning, any sort of sequence involving character-level appends, such as reading the contents of a book from a file, would result in a preposterous O(n²) version of an otherwise trivial technique.

I don't think this is true. It looks like Java only interns string literals by default. [1] If you get a string another way (user input, for example), it's not interned unless you call the String.intern() method.

[1] https://docs.oracle.com/javase/8/docs/api/java/lang/String.h...
It's impossible to talk about what's moral and not without getting theological.

The Bible defines homosexuals as immoral. It's not ambiguous about that. But it says everyone is immoral. And it says all rights are given by God, not by men. And, partly because of this, it also says, very clearly, that senseless violence is despicable.

That is to say, at least part the problem is with theology, or at least bad theology. And Mozilla, perhaps unintentionally, has taken a theological position by removing Eich. Or at least it thinks it can't productively tolerate certain people. And some of those people are good people with genuinely held religious views.

So, yeah, Mozilla is getting some blowback. And, no, it's not because being opposed to same sex marriage is the same ridiculous theology of the KKK.
Well if you believe tech is the future, and they own infrastructure, they own the future.

Bit of a dramatic formulation, but they do or will wield significant influence, even though they'll probably never be within the sight of the general public.
Chargebacks - well sure they can be used as intended (although in your particular scenario the mugger would have to be able to get into the wallet), the reality however is that chargebacks are a source of fraud which is costly for the merchants to deal with and as a result the cost is passed on to the consumer. With bitcoin, just like with cash, the merchant knows that they are safe from the chargeback scenario and is in position to offer discounts to consumers paying with bitcoin. My local gas station is charging less if you pay with cash vs a credit card for example.

PCI data is "toxic". I spent about 10 years working for a company whose primary business was working with the merchants to help them reduce their PCI footprint - they were paying us millions of dollars to do that. Guess who was paying for it at the end of the day?

I'm not saying accepting bitcoin as a method of payment means throwing caution to the wind. I'm also not saying PCI is unreasonable - but again things like PCI are there because the way Credit Card processing works makes Credit Card data extremely sensitive and prone to abuse.
I think the real reason that the death penalty is not effective as a deterrent is that the people that murder in general don't think things through. Very reactionary. Obviously there are plenty of cold blooded killers out there too but I doubt penalties have a ton of bearing on things. Most people just don't murder other people. I could be completely off base though and would love to see some evidence either way.
This functionality should become part of wp-core. Currently you need a plugin like CCTM, Types, Pods or ACF to upgrade WP from a blogger platform into a general purpose CMS.

Once part of wp-core it opens the road for plugins to extend on this functionality much easier, since all can depend on it being there.
Something I thought people needed.
China’s Two-Speed Economy
Interned strings in Java are garbage collected. "Permanent" interning, where anything interned becomes a memory leak, is not a thing.
Not sure, why you're downvoted, that's probably exactly what happened. It's a huge company, there are a lot of moving pieces, and the original decision probably didn't travel too far up the food chain. Some Dev Manager or Director was optimizing for device speed and figured it was a worthwhile tradeoff. When the rest of the company found out they probably quickly reacted and flipped out, much as the rest of the world did.
The Trabant is a very smart little car but it does have some major issues, for one the resin that it is made out of makes the car a death trap in case of any kind of fire and for another it is a really dangerous car in case of an accident.

The Lada's that you're probably most familiar with are actually somewhat improved Fiat 124's.
StatCounter Global Stats - Browser Market Share - Top 9 Desktop, Mobile, Tablet & Console Browsers

http://gs.statcounter.com/#all-browser-ww-monthly-200807-201...
Interning is a trade-off: you get decreased memory usage (if you use a lot of long-lived duplicated strings) and faster string comparisons (for pairs of strings that you do intern), at the cost of extra work to create the interned strings.

Problem is that it is almost impossible to decide whether interning makes sense. About the only way I know is that, if you run out of memory and use a lot of strings, you can think “let’s give interning a try”.

Even if you know the answer, you cannot tell libraries you use to intern strings they create. So, if your libraries create lots of long-lived strings, you do not have control over whether they intern strings.

Also, if you do write a library, the call whether to intern or not to intern is impossible to make because you cannot know whether your callers prefer speed or memory usage, and whether the objects you return to them will be long-lived.

For example, if you write a XML parser library, interning tag names may be the best guess, but libraries that do not do that may beat you in short benchmarks.

Because of that, I think it would be more useful to either have some way to globally install a ‘should I intern this string?’ handler (but what kind of information should that get, so that it can make an informed decision?), or to have the garbage collector intern strings as it sees fit. Problem with that is that it can change the behaviour of programs that compare strings using ‘are the same object’ comparisons. Maybe that feature should be removed from your language.

Also note that modern Java allows one to tweak its interning behaviour a bit (http://java-performance.info/string-intern-in-java-6-7-8/)
This is how the Gnu Linux file system hierarchy should be in the 21st century
I'm still having a hard time understanding what you're saying with regards to Oracle. Oracle does indeed contribute a lot to OSS (mostly due to their acquisition of Sun), but it is also one of those "rich companies" and owned by multi-billionaires who extract most value from OSS. So what exactly are you saying?
GitHub Webhooks with Flask
Here's an interesting podcast episode interviewing a clinical nuclear medicine professor about ketosis and water fasts as tools to fight some forms of cancer for anyone wanting to get more information on these topics: https://thequantifiedbody.net/quantifying-cancer-gene-fine/
I mean more that you can't judge someone's merit based solely or even primarily on where they end up in life.
Look at the list of stuff his skepticism "extends to" and see what is missing. Hint: web apps. That's because Oracle is betting the farm on "cloud services", and a few of their offerings are based on the concept of containerized java apps running on the Oracle cloud. That alone will survive; everything else is fair game. Anything on-premise, including the JRE, are going to be basically ignored from now on.

I work in a different Oracle niche and the message is the same: nothing matters but cloud. If a product can be moved to the cloud, good; if it can't, it will be killed. On-premise versions are pretty much all in legacy-mode, getting patches that pay lip-service to the idea of hybrid setups, but 90% of development resources are busy on cloud-related stuff.

Somehow, the current Oracle leadership believes they should become "AWS for the enterprise", and in traditional Oracle style, they will pull all stops (and cut all corners) to get there. If you don't like it, that's the door. "Java everywhere" advocates are now surplus to requirements.
Totally with you. I HATE dealing with Windows server for this very reason. Whereas, even before Puppet and Chef and the like you could mostly automate the deployment and configuration of a new *nix server with shell scripts and config file templates.

Try automating the deployment of a new IIS server 8 years ago. Hell, try it today.
Wuppertal Suspension Railway
>And everybody is wealthier as a consequence.

Well, except for those using Java.

Because Oracle screwed it up.
A bit unfair IMO as this tool allows you to query results you will not be able obtain from grepping the history file.

Also, you should know it is straightforward set up aliases and functions that use rash:

h(){ rash search "$@"; }
Light-skinned for a black woman. Historically, lighter women were sometimes able to 'pass' as white, so it's a term with a lot of significance. Even today there's a fair amount of colorist (in both directions) in some communities.
That is way I said not constraint by your skeleton - or what ever else. The point is that at least some dimensions are obviously correlated, not that all dimensions have to be correlated.
well we know who was always picked last
How does that jive with comments like " He got shamed out of his job for having had donated money to a group that was against same-sex marriage. Basically, all people who hold Christian values don't deserve to have a job." elsewhere in this thread?
You're thinking of the Windows 3.0 "Unrecoverable Application Error". The marketing hype for 3.1 is there would be no more "Unrecoverable Application Errors", a flat out lie, they had just rebranded the UAE to be the Blue Screen of Death.
This whole story seems overblown. Amazon removed a feature that nobody would ever use, and people imagined some conspiracy.

A Kindle Fire is not a desktop computer, it's somewhere between a television and a crappy web browser. Amazon Silk is so painful to use that you'll never browse the web with it for more than a minute or two anyway, why care about encrypting your browsing history? Would anybody care about encrypting the local storage on their TiVo?

My guess is that this went: "Oh, here's a feature that 0.5% of our users have tried, and 50% of them contacted support for help turning it off (because it slowed down video playback), let's kill it." (Mwahahaha?)
Hi all,

I’m one of the creators of Thunkable, along with WeiHua Li. It is a drag-and-drop tool for anyone to build native mobile apps. We've been working on this tool at MIT and Google for the past few years as an open source project called MIT App Inventor, and we decided to make a product (Thunkable) around it to better support our users. We’re in the current YC W2016 batch.

There are two parts to the tool:

Designer: Allows you to create an app UI by adding different UI components to your screen, such as buttons, TextBoxes, GoogleMaps, etc. It also allows you to add non-visible components to your apps, such as SMS receivers or NFC sensors.

Blocks: Thunkable has a blocks-based programming language that makes it easy for novice programmers to use, but is sophisticated enough for seasoned developers to use (you can make functions, variables, callbacks, etc.).

Thunkable then compiles the blocks (Java/Javascript) to Scheme to binary .apk.

There is also a Thunkable app on the Play Store that you can connect to your Thunkable web app, to test your apps. The app live interprets everything that you add to Thunkable in the browser and shows it on your phone in real-time.

We’d love to hear your thoughts on how to make it better, and what things we don’t yet support that you’d like to see.

Thanks,
Arun
Is there anything preventing an implementation vote by the miners? I would think that convincing 50% of miners would be all it takes to change these types of features.
Microservices, monoliths and laser nail guns: Etsy on finding the right focus
> And everybody is wealthier as a consequence.

Except some got wealthier than others.
Custom post type are part of the core though, there's just no admin UI for it. That's really all these plugins provide.

https://codex.wordpress.org/Post_Types

You should be defining them in your theme anyways for source control.
Lightweight and Electric Bikes Could Be Coming to Your Local Bikeshare System
Interesting stuff.

Here is a somewhat related interview with my grandfather that did a lot of work on radar signature with the Air Force.

Part 1
http://corescholar.libraries.wright.edu/special_ms431/10/

Part 2
http://corescholar.libraries.wright.edu/special_ms431/20/
We have built remote controlled car with my kids - complete design from start to finish with 3d printed wheels and cogs, arm based IC, Bluetooth connection and when needing the remote, we did binary based transmission over BT in the app inventor (AI). The difference between say ecllipse, intellij or AI was very small and it (AI) provided the "yes we can" solution. So while I agree that for quality app one uses different tools, it's nice to have things like this. What is really missing in AI is native support for network communication.
/etc contains more than just config files because it's called '/etc' and not '/config'.

Any why would you need dozens of top level directories? I can't imagine that you could name even one dozen completely orthogonal aspects of program and system configuration that can't be put into a _some_ meaningful hierarchy.
C++11 adds to the language, but is there a strong consensus on what parts of pre-2011 C++ are not allowed in "Modern C++"? I have seen C++ code advertised as "modern" that still uses naked pointers, for example, while others claim that all pointers should be reference-counted. There is no agreed-upon algorithm that answers the question "is this source file written in valid Modern C++?", because there's no agreement on what that means.
Exactly. It already is a general purpose CMS just by having the Page post type as well as the Post post type. I think it arguably is a great CMS for it's custom post type capabilities. I love me some WordPress.
This is key: Mayo's Thompson counters. He points out that data supporting the ketogenic diet in cancer are limited — and further that rigorous dietary studies are incredibly hard to pull off. "The drug companies aren't going to fund these types of trials," he says. "They can't make money marketing a diet."

I would highly recommend people do their own research into nutrition and its relation to health, along with the proven/likely/possible health benefits of various plants, spices and dietary patterns.

The fact is, our Big Pharma/FDA/IP-driven approach to medicine makes it almost impossible to test and profit off something like garlic, or a low glycemic index diet or intermittent fasting or turmeric or fruit and fiber or astragalus, etc.

The necessary research is just not occurring, because corporate/govt $ are poured into finding synthetic, patentable compounds to target specific problems after they occur.

General lifestyle/nutrition advice to prevent/mitigate a huge spectrum of issues that occur as we age? Ain't no money in that science.

Blatantly obvious how the same thing occurs w/ psychotropic compounds, with millions being poured into synthetic cannabinoids, opiates, serotonergics, etc. almost all of which are medically inferior to and more dangerous than the natural compounds they mimic. The system is not designed around efficacy, but patentability.
Up to a point, miners have an incentive to increase transaction delays in order to drive up fees (which they receive).
Note: The (legitimate!) plugin was apparently taken over by another author and then an update pushed the malware. The comments here as they stand make it sound like the plugin was always a backdoor, and that's not the case.

Another reason why autoupdates are a double edged sword.
> ... GFA-Basic on the Atari ST was such a step up from what preceded it ...

And what followed too ;-)

I had less memory on my first PC.
Here's just one pre-1998 use of the term "open source software", by Bill Joy, at 13:50 in this 1985 interview of/report about Bill Joy, Sun and Unix 4.2 on the Computer Chronicles:

"As for the future of Unix, he [Bill Joy] says its open source code, versatility and ability to work on a variety of machines means it will be popular with scientists and engineers for some time."

It's on youtube under the title, "The Computer Chronicles: UNIX (1985).

Maybe someday Google searches will include all transcripts of all videos relevant to our searches.
No, the ecosystem is not healthy. Idealistic people are exploited, business as usual. It appears healthy for some Silicon Valley parasites who live in a bubble.

Let the others eat cake.
Mac app comes out of beta with 4.0 release – Postman Blog
IIRC, The majority of the blocks are "mined" in China where they continue using the "old" fork of Bitcoin instead of the "new" fork that upped the block size. I would assume they're resistant to change as keeping the block size down can, over time, force the transaction fees up (bringing in more cash for the miners)
And remove an application with apt-get? I prefer yum and dnf much over apt.
Silly Putty
A New Implementation of Shor's Algorithm Brings Quantum Hacking Closer
From the article
"Many people seem to have an impression of Oracle as a company full of corporate drones. This is far from the truth."

But IMO Oracle's reputation is a portfolio of overarchitected overpriced enterprise products that encourage lock-in.
How many people per year does your computer kill?
It's not impossible to discuss morality without theology (consider humanism) but that's irrelevant.

My problem is with anyone who uses any excuse (including theology) to deny people equal rights.

I do not object to Eich's religious views. If he believes gay marriage is immoral he should be free not to participate in one.

I object to his attempt to impose his religious views on other people through the law and deny other people the right to choose for themselves.

I believe that distinction is also relevant to Mozilla's decision.
Hey folks, thank you very much for the insightful comments.
To our supporters: we will keep in touch ;)
When you ssh -X into a machine and run a compromised program, this will stop this program from taking over your computer.

It is one part of the puzzle of sandboxing software on a machine. But is certainly not the entire solution.
A Weapon for Readers (2014)
The reasoning is simple:

Instead of seeing Google as rising as a new kind of ruler, enforcing a new kind of authority, I think it's more appropriate to see it as grafting itself onto an already existing authority.

So to me it's not clear cut whether the centralizing power Google brings with its resources overweights the decentralizing power from dividing such authority into more parts.

And as an aside it also seems foolish to worry about this when said political system itself guarantees that the majority of the population can't be properly represented unless they agree with each other, which is precisely the problem media control solves.
As a fellow ex-Oracle (although a coalface support minion coming through an acquisition), and with all due respect, I downvoted your comment because it looks like a bit of an incoherent rant with no apparent link to the post.

What Rhaman is saying is: the wide Java portfolio is dying because people are not making enough waves around the JCP to keep Oracle on the straight and narrow. Nothing to do with opensource, the JCP is a very different project from traditional opensource development.

The JRE has never been a "real" open source project, but rather a proprietary system that opened up enough to develop a caring community. The problem is that, at the moment, the interests of Java's owner are not aligned with the interests of such community, and not enough people seem to care.

This has nothing to do with Java being "open source" or not; in fact, a real OSS project would happily fork at this point (as it happened with OpenOffice), but the Java community cannot really do it. It seems pointless to debate the merits of OSS in a situation where there is no OSS; it's like saying "We supported Windows out of self-interest; but let's talk about the pros and cons of opensource...".
BleachBit: GPL System Cleaner
Rocket Launch from the Kourou Space Center
Bitcoin: What Happened at the Satoshi Roundtable
The distribution of the refugees is not homogeneous. Migrants tend to live together, and because of this and the "freedom of movement", soon ghettos (I mean the original term here) will build up and there will be no cohesion to integrate them into the existing society. If the freedom of movement would be applied to EEA citizens only, the problem would be lesser.
Journalist who reported Minnesota county was worst place to live is moving there
> How does one compete with a canal like the Suez?

Aircraft, railroads, slow- and superslow steaming, and supertankers come to mind. The latter two are variants of "go the long way around". The high-speed railway to Eilat is an example of the second form of competition.

> The profit isn't actually encouraging much competition here

I don't understand. Are you complaining that the profit isn't enough, because it doesn't encourage enough competition? I thought you were arguing that the profit was too high.

> This kind of rent extraction isn't good for countries like Egypt either

This sounds like the language of an ex-colonial power tsk-tsking at one of its ex-colonies.

Are your proposed alternatives to the existing situation also is this vein? Are you arguing against nationalization, and that it would be better for Egypt if the Suez Canal Authority were re-privatized and/or put under more foreign control, like the Suez Canal Company was? How would that help "the public"?

I'll be a bit more specific - what does "like Egypt" mean? Are you making an argument about economics, or an argument about your political preferences?

We need only compare the UK and Norway to see how a difference in politics in how to handle the North Sea oil has a big difference in economic outcomes. Egypt's politics are far more different than either of those. Your complaint sounds more like you want to deny revenue to governments you don't like, rather than an indication that the rent seeking is a causative agent. (Surely US military support of the Egyptian government doesn't help, as does ex-colonianism, so it's not simple to deconvolve the different factors.)

So let's lift it out of recent politics.

Was Denmark "like Egypt" when Eric of Pomerania imposed the Sound Dues on Øresund traffic? "By this he secured a large stable income for his kingdom that made it relatively rich and which made the town of Elsinore flowering." says https://en.wikipedia.org/wiki/Eric_of_Pomerania , to the displeasure of the Hanseatic League. By the 1800s it was clearly a bad idea, but was it a bad idea even in 1500?
This AI-powered search tool will find you a movie where Sean Bean survives
The Archive Team's Nightmare Projects
~apparent~ Link to Baker paper mentioned in the NPR story is here (pubmed links to actual paper) :
http://www.ncbi.nlm.nih.gov/pubmed/25528755 (Journal of the National Cancer Institute)

From the abstract: The standard viewpoint that cancer is a genetic disease is often stated as a fact rather than a theory. By not acknowledging that it is a theory, namely the Somatic Mutation Theory (SMT), researchers are limiting their progress. An attractive alternative to SMT is the tissue organization field theory (TOFT), which is summarized as "development gone awry." ... Thinking in terms of TOFT can spur new lines of research; examples are given related to the early detection of cancer.

From the discussion : The premises of TOFT are that carcinogenesis represents a problem of tissue organization, comparable to organogenesis, and that proliferation is the default state of all cells (9,10). Three corollaries of TOFT are: 1) mutations are not needed for carcinogenesis; 2) cancer can arise in tissue where carcinogen has not been applied; and 3) genetic instability is a byproduct of carcinogenesis.