skysight-inc/HackerNews huggingface dataset:
Actually Kotlin has a native compiler and (and a js compiler) and I'm not advertising the JVM variant here. The native compiler is also able to target WASM. WASM of course still lacks a garbage collector, which is currently holding back Kotlin (and other languages) there. I believe Google is involved in fixing that. On native they bundle their own garbage collector. I imagine MS is bundling one with Blazor in WASM. As soon as WASM matures (GC, threads, and a few other things) that becomes an obvious path for Flutter as well. Now would be a good time to start working on that. E.g. MS is doing very similar things with C# and Blazor as you are doing with flutter. Except they are doing this with WASM and llvm (check their .net 5.0 announcements a few days ago). I think this is the future proof path for Flutter as well and I question the need for Dart or a separate runtime. IMHO a LLVM based toolchain like on IOS needs to be the default on Android/ChromeOS as well. Something like Flutter paired with Kotlin or Swift could work really well.

I've actually heard of flutter projects doing the business logic in Kotlin and cross compiling that as a library to IOS and Android. The main reason the team cited is that they thought Dart was simply to limited for what they needed; from their point of view it was a necessary evil. It's great that you are trying to fix that. IMHO Typescript and Kotlin are worlds apart (I use both). Typescript is much more limited and way more quirky to deal with.
i was especially talking about passively mirroring/analysing network traffic.
afak there is no easy and trivial way to "passively clone" aka dump memory of the hypervisor all the time without it being detectable in slowdowns and so on. my concern was not that i need to protect myself from amazon for the fear that they will hack my server, but to the way that they can get insight into my customers, maybe get a snippet of the data i get and so on.

we once saw this from some other company where they noticed we where talking to the competitors and wanted to talk.
How to Reset Forgotten MariaDB/MySQL Root Password on Ubuntu and CentOS
For now. Apparently we got a big chunk of our energy imported and there’s Brexit on so we’re going back to coal fired Teslas and eating grass and our own shoes pretty soon I reckon.
Was just reading that through and idly wondering, if that was the only experiment getting such a result, and there is nothing obviously wrong with the methodology, was there anything else by accident in the tank or gas lines they used for the CO2?
An open source effort to reproduce OpenAI’s WebText dataset
Are they not functionally equivalent?

I suppose morally there's a difference, but that's just us and our biases.
>> consumes a lot of computational power—up to 10 percent or more of the total time a CPU spends on an application.

I stopped reading there. 10% is nothing. For such a useful feature as automatic garbage collection, for the vast majority of applications, I'd gladly give away 50% of the CPU.

In terms of ensuring code correctness and robustness, if I had to choose static typing or automatic garbage collection, I'd pick garbage collection every time. It adds a lot of value in terms of development efficiency and code simplicity.
> I feel like those safe harbour laws in the US are at risk, at least in practice, as the idea of a content "conduit" begins being less plausible as platforms start moderating more and more.

The way the US got the safe harbor to begin with was as follows.

There was a court decision that essentially said that you weren't liable if you were just carrying bits, but if you did moderation then you were.

The problem with this is obviously that you then either have to have no moderation at all or it has to be 100% perfect because you're liable for everything you get wrong, and getting everything 100% perfect isn't really possible. So the result would have been that nobody would do any moderation and everything would be overrun by trolls and spam. To prevent that, Congress passed a safe harbor that allowed platforms to do moderation without immediately ending up in court.

The problem now is that the constitution and jurisdictional issues make it difficult for governments in the US to do the kind of censorship that a lot of people now want somebody to do. So they're trying to get in the back door by creating laws that will force the tech companies to do it, because on the one hand the companies have minimal stake in hosting any given information and will execute just about every takedown no matter how ridiculous if it will reduce their liability, and on the other hand they're not bound by the First Amendment when they over-block protected speech. So imposing any kind of liability on them that will cause them to execute spurious takedown requests is basically the censor's birthday wish, and even better if you can get them to over-block things ahead of time.

But there are solid reasons for the First Amendment to be in effect, and "governments shouldn't be able to erase evidence of their crimes" is pretty far up there on the list. So this ploy to put the national censorship authority into the offices of Facebook and Twitter really needs to get shut down one way or another, or we're in for a bad future.
> The only negative effect I'm having is that my sex drive has plummeted to near-zero.

Are you eating enough healthy fats? (whole eggs, avocados etc). Also maybe look into ZMA (zinc, magnesium aspartate, and vitamin B6) supplementation or at least get your blood work done to see if you are low on anything. A lot of people have lower testosterone levels and sex drive due to low zinc.
> and using correctly distributed crypto signatures

you sort of lost me here. I will not say it is a bad idea, but it would never work in any country I know. Thee sheer size and cultural innovation required would still need to place an inordinate amount of trust in the system.

Again, it is not that it is evil, as much as there are so many possible problems for so little gain

(IIRC Estonia has a nice program where you have a state-SIM and you can vote via telephone, so there it actually might work)
Social media have successfully created the illusion that they are (to some extent, at least) public spaces. This is another reminder that they are not.

OTOH, truly public spaces on the internet ... where reasonable speech can truly be free ... are in very short supply. By accident or intention, this is a crappy state of affairs.

This isn't a new topic. 20 years ago, Lessig wrote, "We can build, or architect, or code cyberspace to protect values that we believe are fundamental, or we can build, or architect, or code cyberspace to allow those values to disappear." https://www.nytimes.com/2001/06/02/arts/adding-up-the-costs-...

If our free speech is limited only to the inside walls of walled gardens, that's not their fault.
> But, looking at the iOS implementation, it seems that it severely affects performance.

How did you come to that conclusion? They use the same Webview classes that RN wraps.
This looks pretty neat, but the random-looking spacing between works is pretty weird. If you want to preserve the approximate text layout with respect to the diagrams, why not at least use a fixed-width font? The Q&A complains that it makes it look like it was made "for devs", but the random spacing just looks bizarre and, quite frankly, awful.
Or a multi-threaded app where plenty of dynamically created closures operates on persistent data structures? ;)
Not advisable to call them back from New Zealand at least. I've heard of a couple of people calling them back only to find out a month later that the number they called was actually a pay per minute number and they were charged upwards of $20 a minute.
Fairly sure there were very regular problems with tourists losing their minds on mushrooms. I remember one story of a guy on mushrooms who eviscerated his dog cause he thought it was the devil.

Holland suffers a lot from what tourists do while profiting from their lax drug laws. Towns like Roosendaal on the border with Belgium were flooded for years with French and Belgians (like me) coming to fill their backpacks with weed and mushrooms. In the 90s you could walk away with however much you could carry from coffee shops like Koyaanisqatsi. Lots of French dealers would go stock up there.

When the shops were closed on Sundays you'd have dealers in the streets.

It was all fun and games at the time but for the average Dutch person living there it wouldn't have been a lot of fun and I understand they cracked down on it for that reason.
Will you laugh if I tell you the game Half-life in China is called literally "Half of Life" (半条命)[0]?

Don't take that name too seriously, I don't think there is anything to it other than to make it sound better.

[0] https://en.wikipedia.org/wiki/Half-Life_(video_game) (Notice the language selection)
That wasn't a likely outcome; containers are too critical to platforms like Kubernetes for those platforms to allow them to be locked up by a company with an enterprise subscription. Also they aren't hard enough for that to work; there's lots of experts out there around namespaces that would write an alternative container runtime before getting locked in that way.

The elephant in the room for Docker is that there's not an effective way to monetise it - Docker Hub subscriptions clearly aren't going to cut it for a company with lots of investment and hundreds of employees.
The solution seems very polished! Nice work!

-- offtopic:
I'm working on something similar as well, but Toggles/Feature flags is "one of the parts" of the solution ( it's more a full blown development tool for handling settings, centralized services (eg. e-mail) and much more -> Eg. a support tool with forms which can be prepared by devs)

It's currently only dotnet ( and MVC) based though, but it's working.
Adding a new phone does not remove the old one from your account. Something else happened there.
There's no need to lock or synchronize if you're working in a language with immutability and copy on write first class data structures.
Great deal of luck and intelligence.
> The focus on minorities seems always a bit strange to me and a bad start to argue for more civil liberties. Everyone should be equal under the law and I talk about civil liberties that are enshrined in law.

People belabor the minority point because that is the cornerstone of a real democracy. You don't have a proper democracy if you have free elections - but only for the right kind of people.

The US voting system right now is designed to exclude certain kinds of people. This something most other industrialized countries don't do. That is a main reason for the low ranking in the list I linked.

> Germany has some better rankings but really lacks in freedom when compared to the US.

Care to qualify what kind of freedoms Germany is lacking compared to the US?
It also says at the end : This article was updated on May 5, 2019
Well, if it is organizecd crime I could imagine they could use some sort of coercion on the store manager. Or even better yet they could simply bribe a store manager. But if there is a manager with the power to unlock then he is the weak point.
> I vaguely recall stories about Lisp machine users who would turn off GC while working

That was more in the early days when the GC was more primitive.

The later GC was actually several different ones. A huge impact had the so-called 'Ephemeral GC', where the machine tracks changed RAM memory (it uses virtual memory in general) and where the EGC focuses on those areas with objects which were only very short-lived. That means, given a sufficient amount of memory, the machine stayed fast and responsive for a long time.

The main problem was the low amount of RAM (20MB were common after the mid 80s), because RAM was very expensive, and the large amount of virtual memory (possibly hundreds of MB on slow disks).

Thus what made the machines really slow was the GC over virtual memory with relatively slow disks. Thus the later mainly used GC was incremental&generational&copying&with areas and with support from the EGC - a full Mark&Sweep GC would keep the machine possibly busy for 15-40 minutes.
There must be some kind of solution. Quick, to the conference room.
Right, two thirds of the energy of natural gas comes from the hydrogen atoms which, when burned with oxygen, produce water.

On the other hand burning "beautiful, clean coal" only yields CO2 and a bit of SO2.
Ask HN: How do you imagine blockchain technology and Why? Hype|Fraud|Revolution
A good "keyword" to search is "non-consing code", from lisp lore meaning it doesn't construct (allocate) new space.

As sibling comment says, it often involved object caches and static allocations.

Interestingly enough, similar rules are necessary with malloc()/free where dynamic allocation is often forbidden for latency critical code (or safety critical one)
Ask HN: Help. My startup is failing
So long story short, I copied a SaaS that's doing well in a niche. I thought why not just copy their customer validation (the founder sounded really insightful and convincing in videos detailing how he interviewed customers for 9 months before starting the company), release a "me too" MVP for a start, and try to recruit beta users and iterate from there.

Well it didn't go very well. For the past couple of weeks, I blasted off thousands of cold emails and made dozens of cold calls (but never got to a decision maker), and now I'm a little stuck as to how to move forward. Those tactics didn't work; I recruited a few of inactive users, one even told me he regretted wasting his time signing up (due to various reasons, like dead links on terms and privacy policy and no "about" page). I've since fixed those.

I've LOVE to talk to customers, and I'm even open to shelving the current MVP, but no one wants to talk. On my cold calls, everyone were brash and standoffish and trying to get rid of yet another salesman, so how do I talk to them?

My next strategy is to start a blog, write an eBook, and start giving webinars, hopefully somehow to attract customers to my site first, and then try to have a conversation later. As of right now, traffic is essentially dead, so there's nobody to talk to and learn from.

Help moving forward?
CORS applies only to JS code - sites can still issue cross-origin GETs and POSTs via HTML, using Forms for example. Not sure whether there is enough control on the format to actually issue a valid Docker request.

Still, it's generally a pretty bad idea to have an unauthenticated service running on localhost which can perform arbitrary operations on the system - you're depending on all other software running on the system not to transform that into a vulnerability.
Oh to be clear I don't have an answer for this off-hand, I'm not that smart. However, if we'd given the 30 years of people developing faster for-loops the task of figuring out how to manage memory statically, I'd wager we'd not be having this conversation right now. It is by no means an easy problem, however.
Pisofttech Pilot Era 8K 360 camera launches on Indiegogo
I lived in China. I lived in China and the United States. I know the reality. Naivety is the person who watches documentaries and experiences the world second hand.

I'm assuming you haven't been to China otherwise you wouldn't be saying these things.
If I only had the space, I would also have CRTs and other goodies. Alas, family in a small apartment :(
It's not just a few megabytes, it's more like hundreds. If you're moving an image across a bad network (like the internet) that could be hundreds of milliseconds.
I gave the best example around today already: WebAuthn. Its ancestor U2F has the same behaviour.

The credentials in these protocols depend explicitly on the verified FQDN of the server (and thus you can only use this with HTTPS). When scammer.example asks for your credentials there literally isn't a way to give it credentials for realbank.example. No matter how sure you are that you're a very smart person and definitely need to give scammer.example access to empty your bank accounts, no way to do this is available. Maybe next week you'll still be angry you couldn't do this, maybe you'll realise it was a scam, don't care.

This is why Google reports zero successful phishing for their own systems. U2F is mandatory there. Their employees aren't magical, some will fall for scammer.example and they will be really frustrated that they can't use their Google login like it says, and some will scream at their help desk team about how stupid this is, how it's totally broken, and even after they demand that the help desk person be fired and they change their password six times and write a ten page rant on their blog they still can't give their employee credentials to the scammer and Google remains safe.
Algorithms for monitoring and explaining machine learning models
I never understood why this was a thing in the US - surely it's doctors that make the decision about what medicationa are needed?
Create Terrible Fonts from your Browser
I've noticed that myself as I'm analyzing influential public statements with regards to the Rohingya for my Bachelor thesis on their discrimination and genocide. Unfortunately, Facebook was one of the biggest channels for dehumanizing and incendiary content but this is all gone now. I think FB should at least provide researchers access to an archive of removed content.
Is this really a technology problem? Are we so naive that we believe these things were not happening in the past?

This problem cannot be solved in the consciousness we currently exist in.

The people running the world and those who ought to run it are entirely different.
Possibly the checks are identifiable by User-agent, Referer, client address, timing etc.

For this purpose there's a lot of room for false positives. It doesn't matter if some actual users actually get redirected to ebay.
Also - I really, really recommend reading the classic GC book ( http://gchandbook.org/) and related sources.

I stopped complaining too much about developers when I noticed pretty much Noone gets taught how memory management works - either manual or GC
In my opinion, shared memory mutability is the actual bad idea that's going to eventually die. It's not just error prone, it doesn't scale; try mutating the same cache line from two threads on an Intel desktop chip and see how that goes. Let alone across mesh buses, chiplets, dual sockets or (God forbid) the network.

Garbage collection on immutable data is vastly easier; it's intrinsically non blocking, concurrent and parallel. You can build a garbage collected immutable data store over arbitrary numbers of computers.
Not even that. Half of the people want heavy-handed moderation to save the children. The other half are yelling about censorship. Every decision ends with the messenger getting shot.
Don't forget the French guy that felt he had to cut up his dog to release his spirit. In that same year we also had a Brit mutilating himself and trashing his hotel (after consuming a veritable cocktail of alcohol and drugs including mushrooms, an inconvenient detail left out of most reports at the time) and an Icelandic guy that thought he could fly and jumped off a building, breaking his legs and feet.

Notice the trend here? All tourists, all acting alone. Bad set and setting.

Despite multiple researches showing no evidence of any real negative impact on Dutch society, foreign political pressure eventually got them banned. That most of these cases involved people with serious mental issues who shouldn't have taken any drugs in the first place didn't matter.

Truffles don't have the same effect and they taste awful. Fortunately growkits are still perfectly legal. These are a lot cheaper and they have the added benefit of keeping mushies out of the hands of unstable tourists.
Driving a car point to point without traffic is obviously going to be faster. But if everybody drives point to point, there will be a lot of traffic and jams. The difference with public transportation is that it could move everybody without traffic, but if you remove the traffic lots of people want to use their car - profiting from the other people who use PTA and free their streets.

Classic tragedy of the commons.
The train doesn't need to be cramped. And if you aren't occupied with controlling a vehicle, you can actually use your time for something useful or enjoyable.

And while cruising down an empty hightway might be very nice, it's excedingly rare for anyones daily commute to be like that.
Can you find this proof? I haven't had any luck. And it's a pretty surprising result to me, assuming "all the garbage" means garbage that was created before the collection cycle started; it's a trivial and useless proof that garbage created 1 nanosecond ago still exists.
> also allow some higher-but-not-peak intensity software to be written with GC where it might not be today (games come to mind), although that could actually encourage more energy usage than what it would save.

Just look at Minecraft for that (it's written in Java). A recent version created up to 200 MB of garbage per second!
> Preallocate and pool what you might need, don't call new in your tight loop.

This piece of advice is also valid in languages without GC. In C++ it's well known one should avoid allocating memory in tight loops, and it's strongly advised to call e.g. `reserve` on vectors to avoid allocating.
It's only cramped if you destroy public transportation infrastructure to boost car sales.
“Coal is abundant worldwide so if Australia doesn’t supply it, somewhere else will, but it will be of a lesser quality.”

If this is true then the only reason not to approve the coal mine from a CO2 perspective is to increase the cost of coal, thereby making renewables more attractive. You can effectively accomplish the same thing with taxes.

Australia should tax the mine as much as it can without pushing it off shore, and focus on reducing its own carbon emissions.
A few thoughts after reading this (very compelling) article:

* It's strange to see a patriarchal over-protection of girls being called liberal. I think we've come full circle on this one.

* Why does this thirteen-year-old have full, unfettered access to the entire internet? That seems like a recipe for disaster. My kids will have dumbphones and access to the desktop computer in the living room, with age-restricted filters and probably internet activity logs. I would not invite random strangers into my home to teach whatever they wanted when I wasn't around.

* I love parenting articles that teach me what I have to teach my children. The parents here loved the trusting aspect of their son, but this really burned him. First he overtrusted the adults at his school, then he overtrusted google search results. I can relate to this! My parents admired my trusting, sweet nature as a kid, too; looking back, I think I was trustful to a fault, especially of adults. "Naive" would be a better description. For example, when an adult said something really unacceptable, I would always try to justify their words and try to learn from them. This led to confusing lessons and some self-esteem issues that needed to be corrected when I had grown out of my naive adult trust.
> I find it ironic that e.g. the Javascript community has worked hard to get classes and inheritance and are essentially repeating all the same mistakes people were making with Java 20 years ago by overusing inheritance. Most of 'modern' javascript to me looks like a blast from the past.

IME JS classes are less about inheritance (which remains compositional anyway, though classes do make these easier what with not having to maintain the prototype chain or hand-roll super calls) and more about the various syntactical convenience of class declarations, namely that you don't have to deal with the Function / Function.prototype crap, the hand-rolling of `new` mandates (a class ctor is always called through new), the requirement of explicit strict mode (class declarations are always strict), method shorthands (they do exist on object literals, they don't exist when adding to a prototype property by property), …