skysight-inc/HackerNews huggingface dataset:
Why this false dichotomy? Either we do whatever authoritarian crap the Home Office are pushing this month or it's pushing people back into the sea and drowning them? No. What will discourage people from getting into boats is to provide safe routes in. Literally a desk in Calais where you can walk up and say "I'm going to request asylum and need a ferry ticket, have Borders Agency meet me at the other side please" would undercut the people smugglers to the extent that you wouldn't have boats any more. The French offered us almost exactly this but we turned them down.
I don't know. I think there are probably more Dutch here than Swedes.

(Not based on a rigorous scientific survey. May not be accurate.)
> Why is this so much slower?

Just a side note: Go test supports benchmarking (https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-i...) which gives you few useful tools such as `b.ReportAllocs()` and `go test -bench . -cpuprofile cpu.out -memprofile men.out`. These tools can give you far better information than just the execution time of a test case.
Given even the Home Office, an organisation which has basically institutionalised cruelty, is finding this one hard to stomach, I think the point is more that you have to look at the motivations for why they went with this idea: red meat for the mouth breathers.
While you juxtapose gaming/hiding in your room and working/classes they're not mutually exclusive. I work a full-time job, take classes, have a sidle hustle, never leave my room, play way too many video games and sleep in almost every day.
Japan's Hometown Tax (2018)
Putting things "below the hood" with as few leaks as possible is one of the key ways of managing complexity. So if a language can do this for a certain set of use cases then it's worth using for those use cases. Everything becomes quicker and more productive. There's a reason people that few people nowadays write the server side of web applications in C++. Rust isn't a huge improvement for that use case compared to a managed language.
These companies already make money directly from consumers all across the EU and would have the processes in place. And again, the point isn't even particularly to make money from selling the subscriptions. It's that if it's legitimate to demand either payment or tracking, then it's trivial for companies to force consent to tracking.
Those issues aren't "sudden", protest were also outside of the US.
Expressjs is the default by the large margin, not sure what metric is the article using and not sure what FE frameworks are doing in list meant for Nodejs.
Thanks for the correction! Indeed, I am not super familiar how things work under the hood, I just observed a proliferation of completion frameworks on top!
I do know those languages, but this is more the ADT way from ML.

The example you linked did not really make it clear from my point of view because one of the points is that it will collapse if there are multiples of a specific type. But your way seems to make it possible.
Negotiate a salary to get a higher comp than you'd have gotten individually.

If groups of friends truly believe that they can earn more together, as soon as one person gets a good offer from a company that doesn't want to hire the whole group they'll have to choose to reject it, or to be the reason why their friends earn less. There will be companies that interview the whole team and then only make an offer to one of them.

This is going to kill some of college friendships.
I think some of my university projects are published. But they're quite old by now, and not representative of the production code I write. I do learning exercises quite frequently when getting into new libraries/frameworks/languages, but again, that's on company time.

I don't begrudge others that do, but I don't code in my free time, I have other hobbies. Thus getting back to the original point made:

> Because every skilled person has time to build stuff in public.
> This is my Github too

This is a very common problem and I solved it in a very simple way: one account for playing, experimenting, testing and enjoying, and another for showing off. This is not fundamentally different to how people treat HN accounts.
One of the strange things about Rust is the &UnsafeCell<T>/*mut T dichotomy. &UnsafeCell<T> is easier to work with, and you can soundly acquire &mut T as long as they never overlap, but you can't turn a Box<UnsafeCell<T>> into a &UnsafeCell<T> and back to a Box<UnsafeCell<T>> to delete it, because provenance or something.

*mut T is harder to work with, this is UB according to miri since you didn't specify `&mut x as *mut i32 as *const i32`:

let mut x = 1;
let px = &mut x as *const i32;
unsafe {
*(px as *mut i32) = 2;
}

Problem is, most APIs won't give you a &UnsafeCell<T> but rather a &mut T. Not sure if you can convert a &mut T to a &UnsafeCell<T> (you definitely can't using `as`). If you want to create multiple aliasing pointers into a non-UnsafeCell type or struct field, one approach (basically a placeholder since &raw isn't stable, https://gankra.github.io/blah/fix-rust-pointers/#offsets-and...) is:

let mut x = 1;
let px = addr_of_mut!(x);
unsafe {
*px = 2;
}
I saw something here a few days ago in about "reading code for an interview". We were in the middle of hiring. And I decided to give it a shot.

It was eye opening.

Our stack is Elixir and I made the programmer tell me what a few functions were doing line by line and he aced it. I'm hiring him. (He does not know Elixir).

This is completely right. Resume's are a waste of time. They don't tell you about any of the capabilities of the candidate. If anything some candidates are smart enough to make a really beautiful resume to fool you.
Because Node packages are too fine-grained meaning the dependency trees and attack surface are greater - what in PHP would be a single library from a single vendor could be a thousand packages in Node.

Because PHP packages are vendored by default, so there's an implicit stopgap on the propagation of issues from upstream.

Because PHP isn't dependent on a single vendor with a single global namespace, which avoids several of the issues you mentioned.

You can basically repeat that for other languages whose ecosystems benefit from the wisdom of years accumulated around package management and library design that Node seems to ignore.

edit: and the more I think about it, I suspect a lot of the bad practices in the modern JS ecosystem are due to the paradigm of having the same language running in the browser and on the server. This creates conflicting incentives in the way things are designed and deployed and one necessarily undermines the other.
> When people are given good social security, food, healthcare, education and everything else, do they start to find life boring?

Given??

We work 40h a week and pay taxes.

Social security is not to live on forever, its temporary until you find a job.
If you are too sick, then yes you CAN get it forever.

Food? You think we are given food? We have supermarkets. Yes it is good quality as we have GOVERNMENTAL OVERSIGHT, unlike the USA where corporations are free to put raw pesticides in your Mcdonalds borgir.

Healthcare? - Yes paid for by taxes. Not given to us.

Education - Yes paid for by taxes. So that we can work, and pay taxes to fund it.

We BUILT this society.
You had your chance and choose to build a hellhole made of roads, cars and 70h workweeks.

"oooh but we do so much inovation!!!"
Sweden does too
SAAB, Ericsson, Spotify, Minecraft.
A nation of 10mil and we built our own jets and subs. Suck it.
I remember reading him many moons ago in the Improper Bostonian.

Here's a bit about how he got his start writing about cars.
https://www.motortrend.com/features/ezra-dyer/
> Are the Scandinavians so bored that they find the dashcam of a train amusing?

Or so at peace with life (knowing that we can get free healthcare and education if or when we need it) that we can find beauty in simple things, like moose migrating. ;-)
> in the long term you need to worry about war or terrorism destroying your property

True, although in that case you continue to own the land.

On the other hand, countries also default. So the question is which one is more common. E.g. Argentina used to be a serious economic force with 5% of world GDP. Owning property there (even with all the violence) may have been safer going through the series of government defaults. Greece, Cyprus, Russia, too.

Rent doesn't have to be all from buildings. You can combine with farm and forest to be even more resilient. Low leverage also adds to your ability to recover.

> Even if you’d lived in Merthyr Tydfil from it’s best days to its worst and therefore influenced by the local (as opposed to national) inflation rate, you’d have been made worse off by its decline.

I promise you that back then, people spent between 10% and 50% of their income on rent, as they have done forever, and continue to do today.

You happen to track a declining area. If the area had seen 10x more development, rents would have developed by that order of magnitude.
Beginners Guide to 0day/CVE AppSec Research
I completely agree, and I use IPI myself as I find it adds more than it costs, I was just pointing out its not mandatory as OP was not a fan
Disclaimer: I work for Gurobi but views are my own

---

Sorry to hear you found our licensing problematic! You might find interesting that we now have developed a Web License Service (https://www.gurobi.com/web-license-service/), where you can retrieve a short-lived JSON Web Token inside of your container to run Gurobi; our Docker Hub images are here: https://hub.docker.com/orgs/gurobi/repositories.

From what you are saying ("autoscaling containers"), this may be a good fit for you. What do you think?
Monolith in Cloud
> He's someone with aspergers who takes someone at face value at all times. He doesn't handle being deceived well nor does he know when it's happening.

> "Businessman" would require strong social skills, not something someone with aspergers has good ability at.

This exact nonsense is why the autistic community was so displeased when he made a big show of having "asperger's" (which in the US under DSM-V is just autism, btw). Can we please stop justifying toxic and reckless behavior with "oh but they're autistic" as if we're talking about naive children not grown adults?

Autistics tend to struggle with ambiguity and social cues, yes, but many of us are even more sensitive to social cues than allistics because we literally had to learn to pick up on this shit to survive. A lot of autistics report actually being hyper-empathetic to the point where it can be debilitating because it's hard to filter out the noise and determine which cues you're supposed to pick up on and which ones you're supposed to ignore.

Elon Musk is a dickhead AND autistic. He's not a dickhead because he's autistic. He's naive because he got extremely lucky (like all billionaires do, even if it's only winning the lottery of being born into wealthy families with ample of business opportunities) and overestimates his own intelligence (which isn't helped by his massive fanbase thinking he's the best thing since sliced bread because he bought and funded some companies developing tech he thought was cool), not because he's autistic.
And when an asylum claim fails, what happens to the asylum seeker? The French won't take them back, so what generally happens is that they stay in the UK regardless of whether the claim is justified. That's equivalent to having open borders, which I suspect is the underlying objective of many who strongly object to this scheme.

Plus, of course, they are already in France. They could claim asylum there.
> Natural selection is a good model not just for technology, but for ideas in general.

Didn't social media show that not the best ideas win, but the most juicy ones? Technology might not be taking us where you think it takes us.
In the Soul of a New Machine Tracy Kidder relates how toward the end of the development of the Nova that Data General started rejecting applicants who had anything computer related as a hobby or spare time interest. If memory serves, they believed on the basis of experience that people with a broader range of interests were better team players and more resilient to burn out.
People that lie on their Résumé's, may also lie on their Github profiles... but that's admittedly a bit harder to fake
Right - but defining a type alias makes a new type, which does not collapse.
Yeah, and they can "sell" these candies off to other candy shops to make the books work (discrepancies between inventory; buying stock and selling products). If two of these just sell to each other then everything sort of adds up.
You know what kills an interview really fast?

When you ask the candidate to see some code and they tell you every single thing is under NDA.

Brah, if you're a programmer, you have at least some tinker code lying around that you can show.
Bubble tea shops are nice fronts for money laundering too.
Why include your Github URL then if you think its only awful code?
While Drew is the designer of Hare, a lot of us worked on Hare, and we tried really hard to create something useful and valuable. I think it would be a shame if you disregard it because of something that Drew said at whatever point in time. If you have the time, please try Hare and let us know what you think!

Aside from that, the question of memory safety is more complex than you make it out to be, and Drew, myself and others have discussed it in a lot of detail in this thread, Drew mentioned there are many memory safety features, potential plans for an optional borrow checker and so on — please draw your conclusions based on the full information.
Incident with GitHub Packages and GitHub Pages
Oxford St is full of kids, probably one of the main places they congregate in central London.
Java doesn't have pattern matching (not until the most recent releases, to be pedantic) and the Optional type has absolutely made my programming safer. You don't need pattern matching if you can use functions like `map` and `orElse` or `orElseThrow`, or just return the optional. I get 99% of what I do in OCaml with 'a Option with just these three functions.
Is appreciating Rust some kind of high ideal in the world of programming?
This sentence has cabbage and seven words.
Yep, fully agree.

I'm considering writing a small library that I've always needed at every job I've had (and always had to half-ass implement part of its functionality due to time/budget constraints). To have it slowly cooked, pristine, fully tested, reliable and a pleasure to use for people. Because that's what I wanted at those times in those jobs.

Not only I would love working on it, but would also help with an aggressive "if you like it, good, if not, good luck with your coding tests" approach to being hired. Disclaimer: I do poorly in tests.

But if I was required to have that, I wouldn't ever had a job until now, simple as that.
Without looking it up, are you aware of and can you identify the "proper channels" for claiming asylum in the UK?

I ask as most people who claim asylum seekers should do so "properly & legally" are unable to describe what that process is and I find it odd that people keep referring to a process they have no idea about.
It seems wider than the status page says – all of my actions are failing, and I can't load repository pages. I can still push code though.
This may be a silly question, but how would you think to install packages if not with pip?

I used to see python the same way, and coding on my megalithic single file would always take a couple hours to set up on a fresh computer. Then I discovered requirements.txt, where you simply list each package you need and the version (range) desired and then run:

pip install -r requirements.txt

this will install everything unless it's fucky like for example, pip install kivy-garden.matplotlib will not work with pip but everything else does.
No one (not that I have seen a comment like that anyway) is claiming, that shell scripts are not gnarly in some way or the other. However, this gnarliness of a language is of course a gradient, not an on-off, 1 or 0 kind of thing. Shell scripts are surely further on the gnarly end of things than some other things.

If you ask me personally, I would not start a new project in any of the languages or frameworks you mentioned.

I still do not agree though, that the user is completely not at fault, when there are easily avoided traps (if that is what you are proposing?). Of course those should ne even exist. I agree with that obviously. Blaming every single mistake on the language design, which might be gnarly, is not what I think is the correct thing to do though. We do not have the perfect language yet (or might never have it). So some gnarliness is to be expected and that means, that a realistic perspective is to educate oneself about those gnarly things and avoid mistakes. Mistakes are human, so there will be mistakes, but we should try to avoid cheap ones out of laziness or being uninformed.

Also it is totally fine to criticize a language for its design flaws. I like to do that often even, with mainstream languages, because they can learn loads of stuff from less mainstream ones. This is the way to create awareness of those flaws and thus a way to improvement.
This is a very unsympathetic take. If you expand to the full context, you'll note that I weigh memory safety against other trade-offs, and come away with a different answer than Rust does.

Hare does have safety features. Checked array and slice access, mandatory error handling, switch/match exhaustivity, nullable pointer types, mandatory initializers, no undefined behavior, and so on. It is much safer than C. It just doesn't have a borrow checker.
> Kids were previously an asset a century ago, now they’re a luxury good.

This might apply to individuals but not to nations or society as a whole.

Pensions, healthcare, capitalism, etc are so dependent on new people being born. I would assume that's why the ticking demographic bomb is so worrying for governments with declining birthrates.
If by "mouth breathers" you mean the majority of the UK population who would like immigration reduced, then yes, it probably is meant to appeal to them.
They will be broadcasting for two weeks, so maybe not hold your breath....
who, Volozh? what are you implying?
Why should some specific people (employers, recruiters in this case) should have a relevant authority as to pretense what a GitHub is supposed to be for.

If someone's GitHub profile is a mess, mixing experiments, serious work, goofy stuff, etc. as a result of their multiple uses of it (it's a _tool_ per se), that's up to them and it's up to no one to say "well, that doesn't look very professional to me, does it? your worth doesn't look great here".
Speaking from experience?
Xmake v2.6.5 released, Support remote compilation
Few are willing to say it outright, but the objective is not to discourage them from getting into small boats, but to discourage them from coming at all.

The UK remains nominally committed to providing asylum for people who fear for their lives in their home country, so the latest scheme is designed to call the asylum seeker’s bluff: “we will guarantee your safety, but it will be in Rwanda”. Anyone genuinely fearing for their lives will presumably be happy to take the offer of safe haven. The economic migrants presumably will not.
That's obviously not the reason, there is a lot of good stuff done by volunteers, it's niche and not enough ppl care about it.
Huge problem with this, apart from not everyone has a GitHub, is that code and expertise are not the same thing.

You may spend years learning about some field like systems programming, and then when you make a contribution to the Linux kernel it's only a few lines. There's no way to know from that how well you actually understand the kernel. You might have a lot of experience, but so did previous contributors, so it looks like you only did a little bit when actually you know quite a lot.

Also there's a lot of work in coding a few lines of code that isn't just those lines. You may have taken apart very large systems and grepped huge amounts of logs to understand something, while having written many intermediate versions of a solution, only for you to figure out the problem could be elegantly solved.

For me the smart way to interview has always been the open ended technical discussion. People who don't know the vocabulary show this very quickly. Imagine pretending to be a surgeon, you'll last one minute. People who are close to the work but haven't done it will last a bit longer but there are so many technical terms they will also drop out, typically when you ask for some sort of judgement on A Vs B. This still hasn't gone wrong for me, my only dud hires have been people who wanted to do something else rather than couldn't do it.
Not unless you can hold your breath for a long long long time.
It's only a matter of time before GPU gets backronym-ed to General Processing Unit or something similarly wacky.
The net benefit of using the "separate processes using IPC" model lies in the fact that the language used is an implementation detail that editors/IDEs don't have to care about. Want to write your Rust Language Server in Rust? Fine. Want to write it in Kotlin? Also fine. Your editor is written in JS? Cool. Elisp also works. This wouldn't really work so well if LSPs were some sort of library.
IntelliJ plugins are great (if they exist) but they are inherently limited to their own ecosystem, nobody outside of that benefits from that. LSP sure isn't perfect but it is a hell of a lot better than the situation we had before it. If IntelliJ works well for you then that option is always there and hopefully here to stay, all power to you. But not everybody wants that.
Which NFT does have a real world utility?
The slides mention that the SGI RealityEngine had a programmable geometry engine. That geometry engine board alone held multiple (six or so?) Intel i860XP processors. Now I'm curious how much that whole thing must have cost new. The amount of hardware SGI threw at accelerated raster graphics was massive.
> Just like several years ago you'd say "there's a big difference between these trippy deep-dream images and an actual meaningful illustration with a style and a coherent theme". But here we are.

Exactly, at the very least, that will massively disrupt the fields of illustration and concept art.
Sugar overload? Humans should try it too. Preferably near supermarkets for optimal signaling.
Oh, I have a portfolio too, which is a distillation of the “complete” (enough), mostly front end projects I’ve worked on. My github has those as well as attempts at fullstack projects for whom I get hung up with affordably and practically hosting… I think both can help create a picture of where someone is.
A musician buddy told me it’s because your mind craves the pattern and to see the song through to the end to find out how the tonics and keys play out. Also, modern pop songs are designed to be catchy. It’s not common to be able to hear music in your head, just like some people can’t visualize. So be happy you got a talent most don’t have.

Thinking of these two ideas really mellowed songs playing in my head.
I mean marriage is free on tuesdays around here, you just go to the county and sign some paperwork. Marriage is a legal process, any embellishment or celebration is by choice.
I understand not having first-class iterators; Rust traits encourage using option/iterator combinator methods rather than imperative code, which I find unclear in nearly all cases (though iterator reduce() is better at finding the min/max of a sequence, since you don't have to initialize the counter to a sentinel value). I was discussing the use of coroutines for building iterators, for example implementing the next function for a recursive filesystem glob or B-tree map iterator or database table join, which I find miserable and bug-prone to write by hand.
Whats more absurd is I may end up like these people rather soon since I’m a 30 something :)
If that were even remotely true then almost no Apple employee would ever manage to find another job.