skysight-inc/HackerNews huggingface dataset:
Can't say I'm surprised by this outcome at all. The British government has long since been screwing over would be immigrants in fees, bureaucracy and rules. The point to note is -- had he not been an American with resources, and instead, say a Somali refugee, the outcome would have been very different and we'd never have heard about it.

For those of you interested in how validated legal extortion can become, go look at the VISA and naturalisation fees the UK government charges.
> Out of interest, in the first nodejs code sample why are you including Bluebird to just call main()? It seems redundant, wouldn't 'main()' in the outer scope have the same effect?

As well as that, making everything async feels like it's a very premature optimization. It's only a static site generator for feck's sake.
It is worth it, though not necessarily for improving the things you care about now.
Love this. I too have had a passion for stationery for most of my life. To give you a sense of the kind of kid I was: Staples was my favorite store from ages 9-12.

I've been through gel pens and rollerballs and felt tips and every variation therein and thereof. Today, there's only one pen for me (sort of), and that's the Pilot G2. It's smooth, dries quickly on the pages of my always-around Leuchtturm1917 medium, gridded, softcover book, and retains its blackness for years. Notes written ten years ago look as good and as new as notes written ten days ago.

That said, I've been dabbling in the world of fountain pens and fancy inks (Noodler's is awesome) for some time, and though the writing experience is outstanding, I grew tired of walking around with ink-covered hands, leaving my pen home when I fly (which is often), and waiting too long for ink to dry in my notebook.

So back to the G2 I go, as always.
Don't forget https://www.azul.com/downloads/zulu/
Types that represent producers of data often return a special result value at the end, of a type different from the values that are yielded. Say, a stream of integers that return a Boolean when it's exhausted.

By choosing an unhabited return type, you can express that the stream never stops producing values by itself.
I don’t think the government did anything wrong; The rules aren’t meant to be bent, and if Lucas made a mistake in filing the wrong paperwork, it absolutely makes sense for the consequences to follow. In these serious legal matters, you need to seek counsel. This article attempts to paint a picture of the poor child, but the law was clear, and any emotional appeal should be invalid.
Yeah, hyperscript really doesn't get the attention it deserves.

SVG works fine with Mithril now, and has for a while. Here's a quick sample: https://flems.io/#0=N4IgZglgNgpgziAXAbVAOwIYFsZJAOgAsAXLKEAG...
Great work. Reimplementing a practical and useful mini-language in another language is always a useful exercise.

I'm curious though, why code the lexer and parser by hand? What's the state of lexing/parsing in the Go world?
Great photos, thanks! Reminds me of the "the world’s only Greek Revival subway ventilator" in Brooklyn:

https://en.m.wikipedia.org/wiki/58_Joralemon_Street
The title of the post does not follow HN submission guidelines and is misleading; it's only Java 8, and by that time, Java 11 will be released. "Java will stop issuing patches for old versions of Java except for paying customers" is the real story here and it's a boring story.
Yeah the heavyweight standard library is a big problem. I'm trying to solve it (in part) with smart analysis that tries much harder to remove dead code and dead global data. Maybe even try to run some initializers at compile time so the result can be put in flash instead of RAM.

In my experience, it's not the unicode package that's big but the run-time typing information and the reflect package used by packages like fmt. The fmt package doesn't know what types it will need to accept so it literally supports everything (including unused types).

And as you mention WASM: I've been thinking about supporting that too, exactly because WASM and microcontrollers have some surprising similarities (small code size, fast startup, little OS-support).
You probably meant to say "stick with v0.6.4".
Context is great to work with and solves most of our usecases. I also recommend looking into Unstated[0], simple api and easy to implement.

[0]https://github.com/jamiebuilds/unstated
Why you should do Competitive Programming
The inundation of Kochi airport was a disaster waiting to happen
Something like Delta Chat?

https://delta.chat/en/
This isn't just something developers/engineers go through many office workers suffer from this same issue when there job has fuzzy endings, e.g. Marketing, Business Development etc.

So you aren't alone, I think most everyone goes through some form of work based isolation essentially if they do knowledge work (or have fuzzy endings). The key is to have a few activities you do outside of work that are scheduled and you enjoy. This forces you to do two things, one cut off work, and two interact with other humans doing something non-work focused. For me, I have found coaching youth sports is a great outlet that checks a lot of the boxes, e.g. people interaction, not work related and something I enjoy myself which forces me to be active too. I also love the water, just put me on or in water (pool, ocean, boat etc) and I can nearly instantly relax and enjoy myself.

Being outside is healthy, you need a "healthy" amount of sun time as our bodies use it for more than just Vitamin D, just don't cook yourself that doesn't do anyone good. I can seriously tell a difference in my mood and behavior even after just a week if I have been inside too much or we have non-stop rain where I don't get any sun.

* edit a couple of words
Monitor GitHub PRs/issues with this cool Chrome Extension
In any kind of distributed system there are failure modes you can't protect against, the best you can do is create a mechanism that will work in most cases and go with that.

When you leave you can export the people you follow, and it's likely that without too much trouble you can get the list of people who follow you. I've just done so, and it didn't seem to hard. There isn't really a simple interface for it - I just listed them and saved the HTML, then extracted them from that.

Having got your list of followers you can then ping them to let them know you've moved, and I suspect someone somewhere is working on a way of doing that semi-automatically.
This is incredible. Works in my city in Washington state very well! Does not have raspberries or other berries, however.
I wouldn’t be surprised if in addition to your “the complex and opaque rules are there for everyone to follow without any leeway for a mistake, period” philosophy you also practice cannibalism.
I'm a non-React dev but I wrote modern apps with Angular (and have written React). I think the best testable approach really is:

1. unit testing on the smallest bits (Redux actions/reducers make unit testing them SUPER easy)

2. do e2e with something like Cypress.

Anything in between can be helpful but I found it can be too tedious, or difficult to do and ultimately, unit/e2e catches most things
I don't know how to communicate this, or even if it is possible. But the question of justice has concerned me greatly of late. And I say to any creature who may be listening, there can be no justice so long as laws are absolute. Even life itself is an exercise in exceptions.

Jean-Luc Picard
I think it's fair to say the US had a ton of latent energy resources that we didn't really exploit in the past, but that are on the table now. Some of it is new tech, some is better discovery, some is the economics have changed. But let it be clear: the US has long been an oil producing nation and we have immense capital and technological resources to draw on when we chose to extract resources.
How has putting him through the ordeal benefited society? Laws shouldn't punish honest, harmless mistakes.
It's hard not to sympathize with the yelling angry people. The problem seems to maybe be more that the Councilors appear to enrage people, either for their actions directly, or for actions perceived to be originating from the Councilors.

Have their been any investigations into why people find them revolting?
There's a term that's thrown around on Reddit that I think is appropriate here (since you're the second person to make basically this same comment): shitposting. If you have a meaningful contribution to conversation (e.g. you can enlighten us to instances where rust compiles down to inefficient or unsafe code) then make it. Otherwise don't say anything.
Not to mention the wonderful testing utils which ship with it https://mithril.js.org/testing.html
Taibbi: Censorship Does Not End Well
>The rules aren’t meant to be bent

This is not only obviously untrue because they were quite explicitly bent by the judge, but also untrue in the face of the entire history of law. This is why these appeals exist, for exceptional circumstances. And there's a general attitude towards forgiveness for administrative mistakes.

If there was to be no interpretation or exception to law, we wouldn't need judges or allow appeals to settle these matters.

Law is written by man. Law is interpreted by man. Your ridiculous, strict perspective on the absolute power and immutability of law is that shared by the worst of dictators in history. Reflect on that.
I'm sorry, do you have a specific issue with REST or microservices? Like all things, they have their place and purpose. Simply throwing quotes around them and using the fact that a junior dev recommended them as evidence against them is pretty weak, especially here on HN.
Would you similarly not care if drug dealers sold drugs in your driveway, Viagra sellers sent spam from your email, and so on? I think you're being disingenuous.
Both Matlab and Julia can be run in batch mode, without going to the REPL.
The point isn't that Lucas should break the law; the point is that the laws are stupid and should be changed, as illustrated by the egregious situation one can be found in when making a simple mistake. 'Appeal to emotion' here is just basic compassion for someone who does not deserve what happened to them, and hope that similar situations won't happen again.
I think the term "toots" is spectacularly bad, and could majorly hinder broader uptake of their service.

Word of mouth (or 'word of text') is a major way services like this spread. Imagine discussions of Twitter in the media but where the words "tweet" and "tweeted" are replaced with "toot" and "tooted".
( I use Firefox )

Mozilla is comparatively not a financial heavy weight like google, Microsoft.

Google has a history of doing a million things that fail, but that is exactly what i mean. They can spam the programming community with millions of things and something will eventually stick. Moz doesn't have that type of financial firepower so for them it's Rust or bust.
There's two issues I'm concerned about. As you mentioned, one is yanking retweets because 'it can be used for ill'. I doubt that would make any real difference in toxic behavior, but would hurt positive commentary more.

The other concern is the "block posts by tag" (e.g. ban all #politics). This could cause an even greater problem where it allow stronger social bubbles to form because one side could outright block the other (people blocking #dems or #gop). It could become like a Black Mirror episode where people literally do not know what's happening outside of their group/tribe because they've blocked entire groups/topics/nodes. We have this problem today to an extent, but I worry about new platforms that provide more tools for group isolation.
Lichobile[0] (lichess[1] mobile version) is also made with mithril.

There's also https://flems.io a snappy web playground with an open source embeddable core[2] ( shameless self promotion :P )

[0]: https://github.com/veloce/lichobile

[1]: http://lichess.org

[2]: https://github.com/porsager/flems
Regulatory capture is certainly an important problem, but the pre-FDA record suggests strongly that the FDA we have is much better than not having one. But I would certainly not suggest that there is not a real problem with regulatory capture, just that the current situation in tech security (no FDA equivalent) is worse.
I think maybe you missed my point. Everyone is bad with money (mostly), it is just rich people have more. And perhaps they have had more time to form good habits with ever increasing amounts to ride over the rough patches. I have known way more rich people bad with money than poor, it just didn't have the same effect.

That is because you don't buy them I guess. Scratch tickets, poker machines, plus lots of small state lotteries that start at 5-10k and top out at maybe half a mill.
Opaque types and how they could have saved Mars Climate Orbiter
From the article:

> Twitter Is in the Outrage Business; Mastodon Isn't a Business

I need to spend way more time thinking about this, but I feel like in some scenarios there is a competitive advantage to not needing to care about stuff like stock prices or insane prices.

If you can get a business or a project to the point where it's stable and competitive and it's funding you enough to keep going, then there's a whole bunch of stuff that you don't need to care about. That's obviously not universal, but there are clearly downsides to large businesses. There are things that large business will always be worse at then a small business or personal project.

Again, I haven't thought enough about this to make a cognizant point, but... it feels like something I want to think about more. Being a nonprofit or a small business or a completely non-commercial entity should in some instances give you a competitive advantage over other businesses. Facebook can copy every single feature and then some of Snapchat.

But Twitter can't really copy everything that Mastadon is doing, because some of the stuff that Mastadon is doing is completely contradictory to Twitter's entire business model. I feel like there's something to be said about (if you're in Mastadon's position) figuring out some way to tie at least a few public-facing features into that nonprofit model that you know, 100%, your largest competitors will literally never be able to do.
This is delightful. Scuttlebutt appears to be very much the sort of approach that I was talking about in another thread about 90s app-centric approach.

And here we see the downside of that approach: “it doesn’t support my platform.” The irony being that the unsupported platforms are arguably the last bastions of “I expect a native app.”

All told, I think I’m coming around to the idea that this problem is better than the problems of walled services. This one is fundamentally technological, while the Facebook / Twitter service problem is corrosive to individual privacy and society.
In the 90s app-centric view of the world this is a non-issue, because following other people is the client’s job, for better or worse.

In the 90s, if you moved from your universities' mail server to Lycos, you also lose all the people who you were following, since they still had the previous email address.

Mastodon just happens to work in the reverse (you have a list of people you follow, rather than of people who follow you, as in email), but the issue is the same.
Reminds me of an article on crows, and how some that were slackers most of the time would step in to take care of the young when the more active members of the group got ill.
Well, this seems to be the definition Deepmind uses: https://arxiv.org/abs/0712.3329 . And there has been work to establish a quantitative measure of the extent to which an agents behavior is intelligent or mechanical: https://arxiv.org/abs/1805.12387 .
Yes, if the "destination" is stdout (or a pipe/file) then the obvious loop works just fine:

function join(ARRAY) {
for (i=0; i in ARRAY; i++) printf "%s", ARRAY[i];
}

But if you need the result back as a string for further processing, the obvious methods are not linear:

function join(ARRAY,_s) {
for (i=0; i in ARRAY; i++) _s=_s ARRAY[i];
return _s;
}

# try to be clever and join 2 items at the same time
function join2(ARRAY,_s) {
for (i=0; i in ARRAY; i+=2)
_s=sprintf("%s%s%s",_s,ARRAY[i],ARRAY[i+1]);
return _s;
}

I for one definitely miss having a join() function, and it seems odd that this natural complement to the split() function was never implemented...
I have a soft corner for Tcl. Tcl was a pioneer. Lua is smaller, faster and more tightly and coherently designed. Lua had coroutines right from the start. With Lua you have the option of using LuaJIT. I enjoy both, but I would be more wary of using Tcl in critical systems. But when its play time, i happily break out tclsh.
> Well, Mastodon doesn't have retweets; it has "boosts". Boosts are essentially like retweets, with one key difference: there's no option to add your own commentary.

I disagree. Retweets can be an issue but they have their place as well

What all "timeline" social networks are missing is the underboost, the downvote button, call it as you want.

People will boost good stuff but they will boost crap.

Networks need the contrary signal, they need the "WTF are you thinking posting this crap here" signal.

Not censorship, but a "tone down" indication.

Twitter has been cutting down and restricting/banning accounts which I'm not fundamentally against it but they are focusing on one side of the political spectrum. With that, I can't agree.
"Indefinite leave to remain" sounds like some almost Orwellian concoction of meaninglessness to me.

How exactly do you get from "permission to stay in the country" (aha, it means one has the permission to stay in the country) to "indefinite leave to remain" (uhm... to remain here, I need to leave indefinitely?)
Seems like they're just bending the facts to conform to their observations.
> The rules aren’t meant to be bent

British law is full of opportunities for rules to be bent in the pursuit of justice and common sense.

> if Lucas made a mistake in filing the wrong paperwork, it absolutely makes sense for the consequences to follow

Do you pay British tax? I think you’d be hard-pushed to find even the most ardent anti-immigration Britisher saying they thought this was a good use of their tax pounds and the Home Office’s time.

> the law was clear, and any emotional appeal should be invalid

Said no jurisprudence scholar, ever. There’s a reason that strict liability crimes are so limited in number, why judges in the UK have considerable leeway in sentencing, and so on.
> I don’t think the government did anything wrong.

I think that rather depends on whether you regard the role of government here to assist its (future) citizens, or censure them (narrowly avoiding arrest and detention in this case) for what appear to be minor violations of immigration law.
Try calling the Home Office support line and ask them a simple question: "If I had been a student for the past 5 years and had fully supported myself by working for the same period of time, do I need to present you with the health insurance papers that are required if you are a student?".

I'm betting that for every 5 calls you make over there, you'll get a different answer. That is also true for the applications made, which sometimes require re-submission in such edge cases (with obviously an incredibly short notice period).

I am not appealing to any sentiment over here, but frankly it's a system that is inherently hostile even towards those who try hard to make sure the application is done right.
This is just what the UK calls permanent residency: https://en.wikipedia.org/wiki/Permanent_residency
It's quite common in Europe and Asia
I think this is a solid approach. I like to add snapshot testing for individual components too. The slowest tests to write for me are always the ones that involve some kind of async stuff.
Replication from Percona Server for MySQL to PostgreSQL Using Pg_chameleon
Anti-immigration people in various countries often argue that they just want to prevent “bad ones” coming in, they’re not looking to throw out the “good ones”.

The reality is that there’s no leniency for perceived good immigrants as these people imagine, and it’s just getting worse as immigration policies are tightened across Europe. Officials are under pressure to refuse as many applications as they can, and it’s easiest in cases like this where you can hide behind a legality. The “good ones” are the first to suffer.
Gustav Albin Weisskopf
This is quite surprising. I assumed they would get an EPYC server with higher core at similar price (due to the cost of the CPU) and get advantage in performance/dollar. I didn't expect EPYC to beat a similar physical core count intel server running at similar core count let alone by this much margin. Am I missing something here?

I'm saying this as someone who really wants AMD to succeed and push the ecosystem forward. I just want to make sure that I'm reading the results correctly here.

They are effectively getting 35% extra performance 60% of the price that's just beyond impressive.
Py CLI tool
Keeping people civil is easy when there are ten thousand times fewer and they all voted socialist.

Clearly you haven't spent much time with actual socialists!
There are two* UK government departments that are full of incompetent decision makers and absolutely no culture of common sense or doing the right thing:

1. The Home Office

2. HMRC (aka Her Majesty’s arseholes)

This doesn’t surprise me. I honestly am begining to think that change will only come once senior civil servants meet a dose of mob justice. The public’s tolerance is at breaking point imo.

*at minimum
"Leave" in this instance means "permission" rather than "exit"
I am interested in joining a Mastodon instance but I don't know how to find the right one to join.

Every pro-Mastodon article mentions I can pack my bags and leave for a new instance but if you do research you find that that feature isn't built yet and the community can't agree on how it should work. So picking the right server is currently a very heavy decision.

I've tried some of these instance finder tools but they reveal that Mastodon instances are like 25% furry communities and other fringe fetishes and I really just want a place to talk tech, philosophy, and video games.
At one time it wasn't illegal to discriminate based on health/disability, so it made sense to advertise yourself as healthy, as you'd take less sick days, etc.
Is there something about English-speaking countries that make them behave like dicks when it comes to immigration?
Thankfully while the beaurocracy might like it better dishing out cold refusals based on a misfiled form, the law doesn’t work that way. You don’t actually get to throw away someone’s station in life because of a paperwork mistake. And we see once a judge was involved in fact the law made the right call.

Of course Lucas fucked up by filling out the wrong form and should have had a lawyer review it. And his immigration status was at stake and he blew it. It doesn’t mean these things can’t be fixed by humans making the right decision.
Thanks! Same instructions should work for plain MySQL. Not sure if MariaDB is supported
Thank You Riyaz
Redux contains a number of different ideas/solutions, and I think it's maybe more fair to view them independently. Redux solves prop drilling via the connect function (technically in react-redux, not core redux), and you might say that Context competes with that aspect. Other aspects of Redux are completely unrelated to Context and also good to understand: a unified immutable state tree transformed via composable pure functions in response to a well-defined set of actions represented as objects. Not that you can't do that with Context, but I think it's maybe unfair to view Context as a replacement for Redux.
I suppose it's not strange to see WASM come up -- last weekend I was considering doing something even weirder: writing a WASM to Thumb2 AoT compiler so I could leverage Go's built-in WASM support.

This project seems more immediately useful :)