skysight-inc/HackerNews huggingface dataset:
There is no special Kotlin for Android - it compiles to JVM bytecode and works just as well on any JVM as on Android.

It has lots of language features that make it more expressive than Java (try doing constructor dependency injection in both!) but these are not specific to Android.
It is calculating from 2000, from 2020 (which is already at +1.3C) it will be like -0.3C, more important part is trend.
Nothing specific is expected (that's the point of basic research), but even ignoring the question of whether "facing challenges" is the only worthwhile goal of humanity, it's categorically erroneous to think that basic physics can't become extremely important to our lives.

Nobody in the world thought there was any practical use of the knowledge that time dilated at high speed - the speeds were so ridiculously high that we'd never reach them.

That part was right - nothing we build moves fast enough for time dilation to be relevant at a human level. But none of our navigational systems, to pick a single case, would work without an understanding of it.
I’m not sure what that answer is supposed to prove. Kerouac stood for things that made (and still make) the consumer bourgeois middle class tremble.

The fact that the author lists his early-twenties experiences as some sort of “checklist before becoming a real adult©” illustrates exactly that he just doesn't get it - the Beats in general represent a sort of life that is alien to your average person today. It’s about a mindset and a different approach to life than the fundamentally consumeristic one that is taken for granted in 2019, where counterculture has more-or-less been entirely destroyed or co-opted by people selling stuff.
The problem is that try catch is so verbose
Perpetual crisis: how the 2010s disrupted everything but resolved nothing
> I guess those pre-crime exceptions are the ones were the agent convinces the malcontents they're embedded with to try a little terrorism?

That's the exception, you have to justify your job and budget somehow. And nothing loosens purse-strings like the 'T-word' post 9/11. Although to be fair, the first attempt to bomb the WTC was a failed FBI Sting:

https://www.nytimes.com/1993/10/28/nyregion/tapes-depict-pro...
>Java 8 had its end-of-life for commercial usage in january 2019

_Oracle's_ Java 8 end-of-lifed, but many other vendors provide TLS for their respective Java implementations.
I think a fundamental root of this problem is that many foundational parts of the open source/free software model are social and not economic in nature. People are encouraged to view this as a commons, where everyone is helping each other and lifting each other up. In practice, if you put something on github, you're funding some tech company's products, you just don't know it yet.

In my case I built and maintained my software for 3 years and when I chose my license I knew the license meant that someone could repackage it and sell it. That was a decision I made, and maybe my decision was wrong, but in the end the economic factors meant I could no longer pay rent by doing it anymore, so I stopped. Those actors lost the foundation of their product as a result, so the economic factors didn't end up working out in their favor either.

I could perhaps have prevented their actions by using the GPL, but it wouldn't have suddenly made them pay me - they would have just lifted someone else's inferior permissively-licensed solution, because there were multiple options and mine was just the best. I did previously have corporate sponsorship, but that never lasts forever.
It's not really an "update every 6 months" thing - I imagine most companies will stick to the LTS releases which are less frequent.
The page you linked takes 8s to display on my browser, even on subsequent reloads, just because I don't allow third-party scripts. It also has no displayed images, for the same reason. I really don't wish more sites were like this.
> "Why would such a valuable resource be squandered? Basically, it's because the price of helium does not reflect its value. Most of the world's supply of helium is held by the United States National Helium Reserve, which was mandated to sell off all of its stockpile by 2015, regardless of price"

This doesn't make sense to me. If the market price doesn't reflect its value, why wouldn't somebody just buy up all the artificially cheap helium and stockpile it, to sell it at its "true" market value later?

We're still putting Helium in party balloons, after all. Why aren't all the "high value" users of Helium hedging for a time when Helium becomes more scarce? Is this really a market failure, or is there something missing from this narrative?
House of Fraser store closures: Mike Ashley confirms stores to close in 2020
I appreciate that, and I've understood the sentiment for my entire life. I guess I'm just unable to grasp doing something that I can't follow my progress on. I think it's a personal fault of mine. Kind of like when people say you shouldn't compare yourself to others. How do you actually only compare yourself to who you were yesterday and only strive to be better than them? The whole mindfullness movment of recent makes me feel 'less than' because so much of my mental time is spent comparing myself to others' success...So when you say, "love well". Love well compared to what? What's the reference to compare against? I feel like at some point I'll hit a zen moment where I'll see with eyes crosses outward some inner "ah ha" and then I'll get it. But I'm not there yet.
“Don’t Try”: The Philosophy of the Hardworking Charles Bukowski
>The whole auto industry today is a large scale scam where we trade the environment and our health for corporate profits

In theory, it should be easy to solve transport within a metro area with low-carbon solutions such as walking, bicycling and public transport.

I'm continually amazed by how good public transport and walkability are in some cities outside America. Bicycles also have amazing potential and a few successes in the world as mass transit.

It seems the issue is not with engineering a solution, but with the politics of what gets implemented through our politicians and bureaucrats.
Well, I don't see much reason to get a smart TV if I won't be using it as a smart TV. Both people in the household are fine watching on a medium-sized screen, why spend $300-400 just to watch on a bigger one with no other benefits? Maybe once they become just ridiculously cheap, yeah.
You have got to be joking, now Christmas is a domain?
I agree, but at the same time, people who cry out against flimsy VBA scripts and Power-BI disasters pretend to ignore how f-ing hard it is to get a properly executed business automation project off the ground.

These things start when a domain expert finds a way to get something done in their cube using macros or scripts. This tends to grow and grow the more successful it becomes. And yes, it becomes a mess at some point from a software-engineering perspective.

These domain experts would very much like to "do things right" but they lack the leverage to make it happen. They are not in a software development department, they're surrounded by bean-counters, administrative battle-axes and people who would be perfectly happy to continue doing their work "the stupid way" until retirement. It's really, really difficult to propose something new in an environment like that. It involves change, which is intrinsically opposed in many business departments. Moreover, if it does get to the point of hiring a consultant, they [the consultants] are not going to lift a finger for anything less than 10K for even the simplest of projects. There's a threshold that needs to be crossed before the right executive takes action and by that time, the project is huge, complex, risky and most importantly a completely unplanned-for and unbudgeted surprise.
Because there is only one free certificate provider (lets encrypt) and it does not allow wildcard certificates via server authentification.

Having the DNS credentials laying around on the server is not a good idea. So creating wildcard certs via letsencrypt is a huge pain in the ass.

If a webmaster has control over somedomain.com I think that is enough to assume he has control over *.somedomain.com. So I think letsencrypt should allow wildcards to the owner of somedomain.com without dabbling with the DNS.

The way things are now, I don't use ssl for my smaller projects at smallproject123.mydomain.com because I don't want the hassle of yet another cronjob and I sometimes don't want the subdomain to go into a public registry (where all certificates go these days).
> Why would such a valuable resource be squandered? Basically, it's because the price of helium does not reflect its value.

The whole paragraph doesn't make sense to me.

The article doesn't answer the question asked in the title.
I am not really sure about the message of the article, perhaps it was about the US helium reserve being decommissioned but not actually ?
Yes, but this won't help with gas giants - the reason they have a large amount of helium is that their gravity is sufficient to keep it in.
The author thinks they stumbled onto a discovery:

> There are plenty of webpages that offer online services where you can type in C code and run it. It is obvious that such systems are insecure if the code running is not sandboxed in some way. But is it equally obvious that the compiler also needs to be sandboxed?

Yes it's equally and painfully obvious.
The LTS versions are supported past 6 months. Java 11 has 2 years of public updates through AdoptOpenJDK. The next LTS (17) will no doubt have similar.
How to deploy a single-page application with Terraform
Why bother? Look for a new job, as soon as you have it, tell him and leave. There is enough demand for even the "most basic" developers.
I expect that it will help gain a deeper understanding of physics which in turn will enable the development of new technologies. These new technologies could in turn help us greatly in facing our biggest challenges.
But it has no good explanation for why the Born rule applies at all. The current attempts are IMHO very unconvincing, since I see no reason why rational choice theory should apply at all.

A much more detailed way of saying about the same thing as the above sentence:
https://backreaction.blogspot.com/2019/09/the-trouble-with-m...
Sorry, but how does one discard natural gas ?
> We should instead question whether we need the information that is being communicated in the first place, because even a colored LED or a soft haptic buzz can be stressful when we know what they mean. Maybe we should minimize the use of such technology instead.

This is why I love Apple for pretty much eliminating blinking lights in their devices, while other manufactures of laptops etc. still don't seem to get it.

The only lights remaining in my room at bedtime are the power strip and external hard disks, and even they can be annoying.
yeah let's keep taxing ourselves while other nations pollute, that will teach them.
And html version :)

https://www.karlstechnology.com/blog/designing-calm-technolo...
Video Games of 2019
>If your labor is so critical and all managers are useless tyrants then why are you choosing to give away your means of production to useless tyrants?

Lack of capital. It's called capitalism, not "i have an ideaism" for a reason.
Yeah my wife uses this input method too, as I do if writing Mandarin. It's basically typing the pinyin for the characters. However, nearly everyone else in her family uses the type of input where you type 'strokes' of the characters to filter down the character you want to input.
I wonder why people don't frame Kotlin as the middleman that takes the good parts of both Java and Scala.
HTTP: //thesupplementcop.com/lapura-anti-aging-cream/
LaPura Anti Aging Cream

additionally, this pores and skin cream saves you from the harmful outcomes of different skincare products. This pores and skin cream serves a couple of purposes and is extremely beneficial on your pores and skin. If we were to talk approximately the effects of this pores and skin cream, then there's a long list about that. The outcomes of this pores and skin cream on our skin are: –

http://thesupplementcop.com/lapura-anti-aging-cream/
https://www.youtube.com/watch?v=VSWOmCscTiE&feature=youtu.be
https://sharktankdietreviews.hatenablog.com/#edit
No, in that case it does not enforce it

The Java types become platform types
'Wattam,' the Newest Absurd Video Game Playground from Keita Takahashi
Another B2B advantage is you actually talk with people that makes decissions.

If they become customers, you know about the product directly from them and might even charge for some kind support.

In B2C it is very hard to know both your customers and all the expectations they have about your product.
It's not taking some features and ignoring others. It's taking features than have shown good cost/benefit, and not taking those that haven't. The choice here is about which features not to adopt, just as much as it is about which features to adopt. Java's philosophy is still innovation in the VM while keeping the language conservative. It's just that conservative is a relative term, here. If some language feature seems to have a good cost/benefit ratio and it's become mainstream enough, Java will adopt it.

BTW, Java has also "exploded in functionality over the last decade", it just hasn't translated to language changes. Even the project I work on, adding lightweight concurrency, will not change the language at all, while in C# it took the form of a huge language change (async/await). Nevertheless, in Java the added functionality will be at least the same as it's been in .NET.
There is a 2nd ACME free CA these days based in Norway: https://www.buypass.com/ssl/products/acme

I used it on a pervious post to test it out and it seemed to be fine: https://github.com/benjojo/you-cant-curl-under-pressure/comm...
How would you handle the else clause?
WhatsApp bug crashes app and completely wipes out chats with a single message
Incorrect. Kafka is a message _storage_. The server can be seen as a distributed persistent append-only log. All broker logic is encoded in the client. Source: maintainer of one of client implementations.
>> we ended up writing low-level embedded code, in less than 1.5KB and 135 Bytes RAM, to control the radio registers directly

This kind of code size could be common in the 80s, but today?
Sigh, I know new language features are cool, but I highly doubt the growing dominance of Python and JS is a question primarily of language features. Python has a REPL and the outstanding tooling built on that along with an ecosystem of libraries where a default use case is the design choice. That all leads to "fast" development which what a lot of people care about. JS has the default use app deployment area: browser.

Meanwhile Java's REPL is a pretty sad imitation, and I see no movement toward trying to get back in the user app space.

I love the JVM and the language itself is good enough, but the management of Java features through the years leaves me disappointed.

* I know Android is Java and Kotlin focused but Android development is entirely different than writing a JavaSE app. Also know Kotlin compiles to JS, and I think that supports my grumpy young man persona. A hugely successful language IDE company saw it useful to build a cross compiling language on your platform.
This is my point: printers started off expensive, then lower costs due to manufacturing efficiencies/scale, but then ultimately drop to effectively $0 due to business models shifting. It's a fair assumption to make that a similar thing would happen to TV's but it doesn't look like it has?
curl: How randomly skipping tests made them better
Did you miss the "free" in my comment or am I missing something?
How do you use public Wi-Fi with captive portals?
Isn’t wrecking luxury cars for funsies and treating women like a sort of livestock that you can beat and leave to raise your kids really super-consumerist underneath the shock factor? There’ll always be more stuff and more women (and bonus, you can get other people to do the work to make the stuff!), just consume and destroy them, move onto another part of the country where there’s still more stuff, keep on doing it cause the abundance will never end... sounds exactly like the ‘consumerist’ global economy.
I personally would want my Grandma to live in a safe neighbourhood, one that doesn't require her to have a weapon to defend herself.

https://www.theguardian.com/world/2013/sep/18/gun-ownership-...

Their findings, published Wednesday in the prestigious American Journal of Medicine, debunk the historic belief among many people in the United States that guns make a country safer, they say. On the contrary, the US, with the most guns per head in the world, has the highest rate of deaths from firearms, while Japan, which has the lowest rate of gun ownership, has the least.
AI Dungeon 2 is available on iOS
The case of hybrid vigor I'm familiar with is from camels during the middle ages. One hump camels are adapted to hot desert climates, while two hump camels are adapted to cold steppe climates. This created a divide between central asia and the middle east where you would have to switch camels as you traveled. There were people who learned to crossbread the camels to create a hybrid that was stronger than either and could survive in both climates, and they began to dominate trade routes in the area. The catch was that the hybrid vigor only lasted a single generation, and if you tried to breed them again you'd get runts.
I don't know if it's related.. but Twitter removes www. from tweets. Seeing as I don't have a wildcard SSL cert, I can't post my website URL on twitter as it leads to http://website.x
Perhaps “less expensive” would have been a better way to phrase it…
It's not copied from Scala, there were many languages before Scala which had this feature before.
According to Bayesianism probability is a subjective interpretation for the purpose of decision making, so if you think this interpretation helps you, then it's fine.
What Does Oracle ERP Do?
Ask HN: Any way to bypass Government's shutdown of the internet?
I live in India and run a software tools business for data scientist. Government of India has had statewide internet shutdown in 2 states in the past 6 months (due to domestic issues that I don't want to get into this post).

If this were to happen in my state, is there any way I can have a fallback internet connectivity via global satellites or some other means? I am ready to pay yearly fees for this kind of service (as "connectivity insurance" for continued business).
100% Free Website Development Service for Nonprofit Organizations (NPO)
Tuberculosis kills more people than any other pathogenic illness
> Try a custom keyboard at home and treat it like a hobby, only using it when you feel like it.

Probably the best idea so far, yes.
Just a correction: they are not separate implementations. Almost all vendors use Oracle's Java implementation -- OpenJDK. It's just that only Oracle and companies that license the source from Oracle (like Azul) can release non-GPL builds based on OpenJDK, so other vendors maintain old OpenJDK versions by doing their own backporting from the mainline, where most of the work is done by Oracle.
3one4 Capital on What It Takes to Run a $100M Startup Fund in India
To quote the link in my reply to you:

> Buypass Go SSL

> It is free! Issued in Scandinavia based on the industry standard ACME.

I posted a diff showing the patch you can use to switch go's crypto/acme/autocert to use it.

The CA does sell paid SSL product, but they also have a free ACME endpoint that issues 6 month certs.

Here is an example of what one of the certs look like: https://crt.sh/?id=2075589060
Canadians travelling to or through U.S. pay attention to their withering rights
I have a reason not to use https.

I host a single site on a host (so, no login, subject name or path information to leak), which only contains details how to connect to my irc server at the same address.

If the message is altered then the most pain anyone will have is connecting somewhere else for the first time. (They won’t be automatically logging in if they’re using this page).

Why does everything need to be TLS? It feels like a cargo cult. A requirement: “because!”

In other scenarios it’s worth modelling threats and I agree that it’s good to err on the side of caution but aside from the modification of my connection information there’s no good tangible reason to incur an overhead in administration.

Although it should be noted; part of the reason that web server even exists is to do letsencrypt for a globally geobalanced irc network.
This snippet doesn't look right

macro nullthrows(sourceCodeSnippet) {
return code`
const result = ${sourceCodeSnippet};
if (result === null || result === undefined) {
return result
} else {
throw new Error("Uh oh, this returned null:" + "${sourceCodeSnippet}");
`;
}

The first and the second occurrences of ${sourceCodeSnippet} look the same so I suppose it will just be evaluated twice. You don't want to evaluate the second occurrence, right? The lisp version doesn't have this problem.
Hard to find, but it's the kind of thing that will hopefully come up in code review. Consider this pseudocode with helpful pseudo-hungarian notation:

username = request.post_params('username')
evil_email = request.post_params('email_address')
user = get_user_by_name(username)

good_email = user.email_address
if good_email != evil_email:
# Hackers!
else:
reset_password(user.id, evil_email) # it's fine; it's the same as user.email_address

You can see the problem in the call to reset_password. Sure, it's the same as user.email_address, but if you just used user.email_address you'd be doing the right thing and you wouldn't need the comment about "don't worry; it's fine".

Then you start to wonder if that line shouldn't look more like

reset_password(user)

and from a security perspective, it should. (I assume the reason Github allows the code to specify the email address in the first place is that an account may be associated with multiple addresses.)

If it makes no difference which email address you pick, why not pick the one that represents doing something safe instead of the one that represents doing something dangerous?
From the HN guidelines:

> Are paywalls ok?

> It's ok to post stories from sites with paywalls that have workarounds.

> In comments, it's ok to ask how to read an article and to help other users do so. But please don't post complaints about paywalls. Those are off topic.
To me a calendar is not a constraint. It's a god send. I don't feel trapped with all the things on my calendar: I chose to put them in there so I want to do them.

The reason I have a calendar is not to structure my life at all. It's just so I can forget all that stuff while I have no reason to think about it. Set it in the calendar, forget it. It will pop up in the morning, when I need it.

It's so relaxing.
You still get the ancient and quirky generic programming, barely a support.
Out of topic, talking about language defaults, I wish C++ defaulted to const reference instead of value. True that it would lead to some pitfalls such as having to explicitly copy values during initialization, but it would make things much less verbose.
"Welcome to Kotlin"?
Plenty of people also deny problems that do exist.

I’ve encountered people pissing on buses. Shitting isn’t something I’d doubt happens, especially in places like Seattle and San Francisco.
You Have to Develop an Investment Mindset
https://www.npr.org/2018/04/13/602143823/how-often-do-people...

>In fact, Cook told The Washington Post that the percentage of people who told Kleck they used a gun in self-defense is similar to the percentage of Americans who said they were abducted by aliens. The Post notes that "a more reasonable estimate" of self-defense gun uses equals about 100,000 annually, according to the NCVS data.