skysight-inc/HackerNews huggingface dataset:
I can see a use case.

I'm Whatsapp-ing my son who is a student, and he tells me he needs money. A button pops up onto the screen saying "Give Michael $50".

I click the button and the transaction is done.

With our marketing hats on we like to talk about what we can do with "one click".

I've personally never seen a one click system in my life - this could actually be one, and for one of the most fundamental and valuable human activities - paying someone.
Will FB dogfood it by paying their employees in Libra?
They're right but their solution is cumbersome and counter intuitive.

What we need is to put all the controls both within sign and within reach of the driver, that means in and around the steering wheel, just like it was done in sport cars where driver focus is essential.
It solves all the problems that the comment I replied to listed.
This is interesting. At the Banks was this driven by internal staff, or contractors?

I’m considering contracting, any particular banks that you thought were more competent?
Agreed that they should show an interest before you embark on this. Finding joy in general education is more important than job skills for that age.

That said, Ruby and JS are not great languages for teaching fundamentals. They (especially JS) have a lot of weird design decisions that don't translate to other languages and don't map neatly onto problem spaces.

If you insist on JS, start with TypeScript at least. But maybe D, Kotlin, Go, or Dart would be better to teach general concepts.

Python would be a good add-on because they could actually use it to write quick utility scripts and, eventually, data analysis.

Instead of linear programming exercises, it may be easier to find problems they find interesting and help them Google their way through solving them. Maybe they have some tedious homework they could learn to automate.

The problem you'll find is that kids don't do much work, so programming (i.e. making a computer do work for you) isn't necessarily that exciting yet.
I'm guessing an MX sees mostly server to server traffic, so I kind of expect that; however for services used by consumers around the world it might be a very bad idea to disable SACK.

The bigger impact will be for users far away, with increased risk of packet loss and higher latency.

It's too easy to drop packets with very low MSS and, unless you've got specific needs (someone mentioned IOT), there's no reason to not drop packets with MSS < 536 or so. I believe Window's smallest MTU (MSS + IP and TCP headers) size is 576 bytes for example.
People who think Rust is "complex" and "boilerplate-heavy" have never had to deal with C++, or heck, even Java. (Though I'd guess we would actually find plenty of C++/Java code within Google itself.) The only reason one could fairly give for that sort of statement is that Rust - the language itself, not just the ecosystem! - is still quite far from mature. But it's going to have a great future once some of the "tweaks" that are in the pipeline right now reach stability. Async is one of those of course, but there are more.

Edit: And to be clear, I'm not a Go-hater! In fact, Go comes out-of-the-box with a very nice, high-performance concurrent GC that makes it highly appropriate for some scenarios where Rust would not be a good fit at all.
Name, Construct and Structure – Organizing Readable Code
> A button pops up onto the screen saying "Give Michael $50".

You don't need a cryptocurrency for that...
Funny. My favorite example to demonstrate why people do absolutely not care about privacy is Signal. In terms of privacy it is a superior messenger to Whatsapp and Telegram, but in terms of usability and convenience it is horrible and that is the only reason why it is not used. Convenience and usability will beat security and privacy every single time. I know it sucks, but it is what it is.
To add to this, I appreciated that C++ had this, too: http://www.stroustrup.com/dne.html

Was very insightful, in the same way your link was.
Libra Protocol: Key Concepts · Libra
Maybe this helps someone:

[Unit]
Description=Disable TCP SACK

[Service]
Type=simple
ExecStart=/sbin/iptables -A INPUT -p tcp -m tcpmss --mss 1:500 -j DROP

[Install]
WantedBy=sysinit.target
I can imagine few things i'm less likely to want than a currency in any way connected to facebook.
Things I learnt the hard way in thirty years of software development
Training AIs. I strongly believe this will be an occupation class in the future.
Depends on your traffic, but in general terms you might want to instead drop packets with low MSS.
Nope you don't, it's just a tool allowing the world's biggest Bank ever to open its doors.
LISP has been a system programming language. Still is.

People just don't think about it much but forget that for a time, LISP was the shit in computer science, we invented half of the modern desktop on LISP machines!
10.9/7.53 = 1.45, but that 10.9 has high error bars. The U.N. estimation is a 80% chance it’s between 10 and 12 Billion in 80 years. https://population.un.org/wpp/Graphs/Probabilistic/POP/TOT/9...

That’s quite a bit of uncertainty to make any real definitive statements beyond continuing growth expected.
> without downsides

Hmm. Might be true for you.

Slack enabled "De-silo'ing". It became more efficient and convenient to ask a team, or knowledge group of something, instead of depending on specific persons. Easier to be flexible about which topics to follow or not. I.e. normally I don't interact much with the #ops channel, but Bill is on holiday, so I'm giving it attention this week.
Awesome! Thanks for posting. Just ordered it.
What are some language contenders for business logic?
It’s Facebook credits [1] rebooted. This time attached to a better adoption meme, cryptocurrency. Many will port their feelings around Bitcoin to Libra. That gives the latter a beachhead.

[1] https://en.m.wikipedia.org/wiki/Facebook_Credits
I don't trust FB with anything. They've been banning various groups, including conservatives. Why would I risk my money with them? I don't want to one day discover I can't pay because I made some comment online that disagrees with their politics.
Go definitely doesn't encourage code where multiple goroutines directly modify the same values. You're supposed to use channels for communication between goroutines by default.

Rust also lets you write memory unsafe multithreaded code, if you want to.
A French historian's brave stand against the Nazis
So so. Although the election result is worse than the previous elections for the mayor Ada Colau, the political deal game finally has given her the office again (in Spanish):

https://elpais.com/ccaa/2019/06/18/catalunya/1560843562_1155...

She'll have a worse position but probably they'll get to move some of the plans.
What would you recommend as an alternative that would still be accessible to Go-literate developers?
There are several factors here: the age at which people realistically will still want children and the fact that they themselves will simply be alive for a longer time.

Medical breakthroughs tend to affect the latter rather than the former more, though the fact that people live longer has an effect on the age at which they start with having children. In my grandparents generation it wasn't rare for 19 year olds to be married and to have their first child on the way, my parents generation had their children when approaching 30 (on average), and the present day generation has their first child later still. There is some correlation here with education levels and of course from country to country there are still huge differences but overall those seem to be the trends.

So a significant longevity increase brought about by a medical breakthrough will likely cause people to have their children at an even later age (with all the associated risks, possibly resulting in much more screening), somewhat offsetting the effect of those people themselves being alive for longer.

Social security would be a real problem, especially if the time that people could work productively would not increase at the same rate as the longevity.
The word's been mentioned a few times in Swedish-language media in Finland, so it's definitely being thrown around enough to spread to this side of the Baltic sea.
> I would say it raises serious questions about the accuracy of the simulator Langewiesche relies on.

Irving's claim in this regard is a non-sequitur: the fact that the flight's early stages, after the departure from the planned route, did not follow the simulated track, is beside the point.

There is another non-sequitur in Irving's argument about the flap deployment: while deployment would indicate that there was someone flying the airplane at the time of the crash, its non-deployment tells us nothing. And to claim that Langewiesche is wrong because this flap was not literally "shredded into confetti" is just silly.

Meanwhile, Irving ignores the satellite evidence that the turn to the south was performed at a higher rate of turn than the automated systems can achieve.

Irving also misrepresents the purpose of parts of Langewiesche's story. There is no evidence that Zahierie waited for the first officer to leave the cockpit for a break (or, as Langewiesche actually suggested, told him to go back and check something), but all Langewiesche is doing here is showing that there is a plausible explanation for how Zahierie could take control of the airplane. Similarly, the depressurization theory is merely a plausible explanation for how Zahierie could subdue the passengers, who, in this post-9/11 world, would surely try to break into the cockpit once they became aware of what had happened.

As to why Zahierie would initially turn west, there is at least the point that it is the direction in which last contact with radar is achieved as soon as possible (other than cutting across Sumatra, which might attract too much attention from the Indonesian defense forces).

It is unfortunate that the Malaysian government attempted to blame Zahierie for the crash when there was no particular evidence that he was responsible, but that does not mean that he was not. I agree with Irving that, putting the simulation aside, the evidence for him being suicidal is very weak (and for him being homicidal, there is none), but I think Langewiesche makes a reasonable case for it being the least implausible explanation that fits the physical evidence.

Especially given the Malaysian government's smear tactics and general incompetence, I would like to know more about the simulation's provenance, and whether it could have been faked (even though the Malaysian government dismissed it as irrelevant, which seems to be an odd claim from an entity allegedly trying to blame Zahierie.) I also wonder if there is any evidence of other simulations of flights that end up in the open ocean.
Might be of interest in countries where people are right now using for example different mobile wallet solutions to make payments. So countries were credit cards are not common and people do not hold regular bank accounts.

Related to that above, maybe then also cross-border payments. For example migrant workers sending money back home.

Quick Googling shows a report from 2017 which says in summary "About 1.7 billion adults remain unbanked—without an account at a financial institution or through a mobile money provider. "
https://globalfindex.worldbank.org/
Intermittent power sources can be combined with storage and peaker plants to cover base load. Gas plants make nice peakers, and while not ideal, they are certainly superior to coal (less pollution, 40% less CO2) and allow the eventual transition to power-to-gas solutions.
I haven’t really seen a lot about how exactly the Facebook profiles will be separated from the pseudonyms on the libra network. I think this is also part of a gamble that people don’t really care that much about privacy in most of their purchases. If you look at a network like Venmo, they have a social aspect that is on by default, a news feed of sorts. With small incentives ( discounts, credits - share this transaction and receive a discount on your next purchase ) - people could easily give up their anonymity on the network. Once this happens Facebook will be sitting on the holy grail of advertising. A full closed loop of people’s interactions with advertising and the impact it has on their purchasing habits. It creates a new avenue for monetization for Facebook when ads are shown on publisher websites as well. Displaying ads and the analytics around engagement only create half the picture, the other half will be the impact it has on how they spend their money.
I remember they announced reliable messaging across Facebook-owned apps (fb messenger, whatsapp, instagram), but looks like Instagram is not supported yet.
> Accounts are verified with government-issued ID, so you know people are who they say they are.

I would prefer a global payment solution that defaults to anonymity, or at least pseudonymity, especially when it comes to transferring small amounts of money, such as paying for groceries.

This requirement is nothing more on Facebook's part than defaulting to the lowest common denominator in order to harvest as much data as they possibly can.
You wrote two books and you run DDG? Got any advice on balancing it all?

(also thanks for DDG!)
I would say the plan is unlikely to continue unless Ada really really really wants it and she's ok dropping something else instead (I was going to cheekily say she might drop her righteous crusade against CIEs, but she dropped it as soon as she won 4 years ago, sadly)

Right-wing parties, such as C's, that she needs to pass on anything, are against superblocks. Her left-wing rivals on the indy side would probably be against it too just for the sake of leverage.
Personally, I would think twice and instead help them find what they are good at (or have interest in). Future will include content creation of sorts.
I've been waiting for the release! Just ordered. Congratulations on getting it out!
the amount of power lines needed would be quite astounding; say - 30A at 230V (or 3x 16A for 3 phase) per parking slot.

Also it'd require to hide them under + a way to pay for (but that's trivial compared to the power lines).

Yet, all cars would need standardized plugs too.

It's doable but I'd consider it a futuristic idea.
--

Again, it doesn't solve the issue with long trips. Last summer my family took a trip through Europe (central/west), often driving 600-800km a day. The range would have not been sufficient, esp. with the high speed German highways.
I think such arrogance is uncalled for, but also it would be interesting to hear your experiences that led you to this conclusion.
What is your criticism of Go in all of this? That someone at Google prefers Rust? Or that you personally like Kotlin because of "the power of the JVM"?

Getting away from the JVM is one of the reason FOR using Go rather than Kotlin/Scala/Java etc.
> No, there is also technological development, wars and so on.

Which have an effect on fertility and death rate. There is literally nothing that matters to population dynamics other than fertility and death rate.

We have extensive experience on that now: Technological and social development drives fertility to at or below replacement levels rapidly. This is the main factor. Importantly though, _this is not a prediction_. This reduction has already happened. So the bulk of the prediction is just playing out the consequences of developments we've already seen.

Of course major events like climate change have the potential to invalidate this prediction. But that doesn't mean this prediction is useless. And this is would not be due to "sensitivity to initial inputs".
Go provides channels for safe communication between goroutines (which are distributed across multiple threads).
(statistician, researcher, and wife!) -> In that order?
Machine learning says “sound words” predict psychosis
Books on Learning DITA
I do wonder if bridging to a good matrix/tensor library would be sufficient (as it is in Python).

I'm aware of the interesting work happening in Swift/Tensorflow and was wondering what the equivalent in Go would look like.
I’m surprised I had to go so far down to find this comment. Most complaints about cabin UI here are that they require taking eyes off the road. Tesla is clearly designing a car for a time when the driver never needs to look at the road at all.
> they aren’t time-limited now

They mostly are actually. Barring the occasional exception there is a definite 20-40 or so age band where most females that have children will have them. This is in part because of society and custom and in part for very valid medical reasons, the chances of children having birth defects go up quite fast past the age of 35.
It could given the proper legislation and strict safety protocols. The costs would be offset by taxing these polluting fossil ships.
Don’t we already have Venmo for this?
As far as I can see, the inclusion of a turing complete gas limited language makes it possible to do some of the things you can do with ethereum: Creating your own tokens, possibly creating a distributed exchange / order book. But only much faster and presumedly cheaper since blockchain is kept only on a few nodes and there is no expensive proof of work. Will be fun to see what comes of this.
Debugging “Make failed with exit code 2” error in Node
That would be illegal almost everywhere in the world for natural persons.
I'm sure there is a market for that functionality. But is it something you'd really want? Would there be limits on how much you could request from someone? Would bots spam everyone on earth requesting $50? Do you have to maintain a list of who can and cannot request money from you? It just seems like there would be a lot of headaches with that system.
That depends on the architecture, the os, the compiler & the runtime.

Part of the confusion in teaching pointers (I think) is that we act like they are a lower level abstraction than they are (because they used to be). On modern commodity hardware with mainstream languages pointers have very little to do with memory addresses. Accessing memory via them will not happen in constant time, they may or may not perform better when used, even if the language doesn’t copy them on use the OS or processor might etc.

I just find when I try to teach people the memory address model of pointers there are so many exceptions that the model isn’t helpful. Like the OP I struggle with an alternative.
In Europe, cars automatically call for help if they crash
Doesthedogdie.com
Or just ban companies that use it from operating in the EU
> Rust also lets you write memory unsafe multithreaded code, if you want to.

That's a false equivalence. Nobody is criticizing Go for having an `unsafe` package. The criticism is that your Go code can be undefined without using the `unsafe` package. In Rust, you need to use `unsafe` in order to write code that has data races. Otherwise, data races are statically prevented in safe code, unlike in Go.
Thanks, but I don't see what that has to do with Graal or multi-language interoperability which is the key thing here. We have substantial code in Java, R and Python that could all benefit from being able to call one another from within the same process.

An alternative Python compiler by itself frankly buys us very little. Perhaps Jython, if it weren't targeting 2.7.x.
Why forget about the easiest steps if we need dramatic ones?

Why should rich people continue to fly around the world while you try implementing big restrictions on everyone? This makes no sense.

Perhaps you meant "In addition to bans on (...), we need dramatic measures"? Also, suggesting some steps would help understand how stronger your proposals are.
10 seconds sounds longer than current credit card payments? I could imagine that to be a barrier in some situations.
But the important different IMHO is that a knob / buttons don't require you to take your eyes off the road. In that 1 second you look down, you could cause an accident due to inattention.
It is quite rare, but not nonexistent. I believe there's only about three to five distilleries who produce or will be producing peated Irish whiskey, at least one of which isn't yet in production at the moment.

> But presumably you could burn other fuel and get a similar result

I'm not so sure about that. Peat smoke has a quite distinctive smell.
I'm really curious now as to what Google flavoured Java looks like.
My Samsung from late 2017 works a charm. The apps and the interface in general are snappy. It comes with the classic remote and a new one with only a few buttons that's pretty amazing (and has a mic to help the CIA on getting the sound too lol).

I paid £750 for the 55" version. I would never buy something like a Toshiba because of the software and I'm keeping a very close eye to Samsung to see for how long I can keep using the integrated software to watch Netflix, Prime Video, NowTV, Disney, etc without a Chromecast or Fire stick or Apple TV (and with only one remote for everything, including my BT set and the Xbox!)
The number of Go-haters (for lack of a better term) in here is astounding, to me.

If you don't want to see Go in new code, then don't use Go in new code. There's nothing wrong with this point of view, by the way, (even though it confuses me a bit.)

If you won't use Go because of its current lack of generics, that's a perfectly valid point! Don't use Go. I don't mind AT ALL.

If you don't like Go for whatever reason, then don't use it. Nothing at all wrong with that position.

What I am astounded by is the apparent notion in here that "others need to be made aware my position and brought into agreement with me" - not quoting anyone, just trying to cite a feeling MANY of the comments here are giving me.

Maybe it's the HN culture to do this, or the culture of comment sections in general, I don't know.
So, how is this: Store money in Bitcoin, and when it needs to be sent, change to Libra and send?
Here’s an interesting discussion of why a fixed currency supply hinders the market from clearing (and other ailments)

https://economics.stackexchange.com/questions/166/from-an-ec...

You also can’t spend your bitcoins while you’re offline.
This could introduce some more competition into cross border payments like remittances although by the time the regulatory overseers get comfortable that it won’t be used for money laundering/terrorist finance/etc... you will end up basically replicating the frictions and barriers of the existing payment system.
> A number of responses say "have the client detect that it's running an old version and force reload." That works, but it's pretty annoying UX.

Is it though? Of all reasons to force refresh, this sounds reasonable to me as it won't even happen that often.

Heck, I would want to refresh if I knew a new version was available.
When I was being exposed to functional programming I absolutely loved it. However, when challenged with rewriting non-functional in a functional manner, all hell broke loose.

It's not a complete rewrite, it's a completely different mind set. Almost as it's simpler to just start fresh with the problem at hand.

I get the same feeling with Go, if you try to copy what you've done in other languages you will be enraged. If you embrace the new mind set, it's nice.

Rust is nice, but it's a fresh breath of air to not have a weird syntax to work with but proper words. But maybe I've been too far away from C for too long of a period.
I've had the same thought. That the price of goods have decreased. But more due to cheap imports. Of course productivity improvements are also important but less so. Then as those prices go down, the central bank prints money to counteract decreasing prices.

And it's because of this currency debasement that the price of everything else increases.
"we already cannot manage now."

Correction: we don't want to manage now. The world has far more than enough wealth and resources to hold climate change to 2 degrees and to stop clear cutting rain forests.
Send money to your Facebook account, be banned. I'm sure it will be perfectly legal (after all, you agreed to it in T&Cs!).
Don’t Go to College
How is a VISA/Mastercard not 'seamless' for international payments?