skysight-inc/HackerNews huggingface dataset:
Maybe. I used to be on MacBook Pros back in the days when I was working on Java and indexing was the bane of my existence.
I usually worked with 3-10 big Java projects in parallel (e.g. HBase, Hadoop, Hive, NiFi, Kafka) and indexing could (not exaggerating) take up to 4 hours in total. NiFi is one of the worst offenders. And switching branches means it starts all over again.

I haven't worked with Java in ~2 years so I'm not sure how bad it is now. I might start a NiFi index job just for fun...
They're in more of a collude and hope to remain solvent kind of phase I think.

I think that crowd only comes around when FAANG unleashes cyberhornets to meet quarterly targets, not when a player pledges on a (presumably serious) seismic shift.
I think you would be shocked at how often UX designers get greenlit to make a refresh based on vague things like the current code base being hard to use or keeping up with the Joneses of other products or just to have new marketing pictures that look "modern". The default assumption that this effort was made without proper consideration is right more often than its wrong.

Maligning the devs? Not so much. Wanting them to show their work and explain why they think looking more like VSCode is a good idea? Very much so.
Can only recommend libredirect
https://libredirect.github.io/
Foolish take. If ML training is not fair use then all ML progress is dead in the water.

ML training is akin to reading or learning, and licenses do not apply to that.

You’re not thinking past “megacorp = bad”.
With Microsoft and the ads in the start menu, you now get tracking right of the box!

if you think, that vpn protects you from anything, i have a bridge to sell you.
Oh and lets not get started about a lot of propriary software that does exactly the same. Or how apps that you use once a month need background updates.

I have a customer that uses a 10 year old inventory system, that came to me with the problems that it "sometimes freezes" for a couple of seconds. It does that when their "tracking server" takes a couple of seconds to process the request and once that is done, he has peace for 15 minutes. Guess what the software is not doing in those 15 minutes?

Also please dont get me started on IP Cams, im conviced that if there is a a tech i like to use, someone alreday installed some redicoulus metrics system into it and calls that "customer insight".
Microsoft forgot that we live in a society.

Bottom text provided by copilot.
Not OP but that's the first thing I try to turn off in any editor/IDE/terminal.
> AFAICT a reference counting scheme must be able to nullify all references to an object when it's deallocated, so deallocations can become arbitrarily expensive

The idea of reference-counted object is that by the time it's deallocated there _are_ no references left to update. Now you might reasonably be asking about the memory left behind by those old references which contain now-invalid pointers. The use-after-free risks of any single given reference to the object is something the Rust compiler can reason about quite easily. Once you drop one of them (and the refcount decrements) you are guaranteed not to be able to get at that pointer again; not until that memory is reinitialised with something else valid.
Well, I just pointed out it's an ongoing debate, I didn't connect any particular value attribution to that statement.

> Suppose we add a button to a visual studio plugin called 'Copy me a function' and when you click it, it 100% grabs some random code from github and plops it as-is into your code base.

Personally, that's exactly how I see co-pilot. To my mind, it's a tool that sits in the same category as p2p platforms, copying machines or video recorders. They are just tools.

How, for what purposes and by whom they are leveraged makes all the difference here.
Well I am "a fan" of Copilot and I do think AI is the future, but I think the author has a valid point.

I think the fair use violation he describes doesn't happen during training. I do think training AI on anything that is publicly accessible is fair use just as in an example of a person learning by reading/watching the same materials.

However, this fair use rule is being violated the moment the resulting AI starts suggesting verbatim copied code from licensed works without attribution.

So one could argue the source code is not being used in a transformative way but copilot is just more efficient method of retrieval of licensed code. This misses the fact copilot actually is capable of writing new code. I've used it as "an autocomplete on steroids". Letting it suggest maybe half a line, or 1 line of code at a time (or trivial stuff we automate even without copilot like getters/setters in java). But when actual licensed code is suggested yes, this is IMO a license violation.

Therefore one way of resolving this would be to pair copilot with a tool that scanned the resulting code for presence of licensed code then it woukd make a list of "credits" or references. Also there should be measures taken (perhaps during training) to penalise generation of verbatim (or extremely similar) code. Would this make copilot less of a useful tool? I'm not sure.

One thing that's not going to happen is putting tools like copilot back "in the bottle". We now have similar models anyone can download (faux pilot) and I as well as many others have found those tools to speed up mundane tasks a lot. This translates into monetary advantage for users. Therefore there is no way this will disappear, lawsuit or no lawsuit.
This must be how people felt about C++ in the beginning ...
On the subject of motorcycle riders. In Europe it’s so common for them to ride on main beam during the day. They always blind everybody around. I guess they do it to be better visible? Guess what, if you are riding on the high beam, be sure I am not looking in your direction.
> Samsung was making Apple's A's in Austin, Texas some time ago, but Apple ditched Samsung's US manufacturing in favor of their China/Taiwan-first offshore outsourcing strategy.

Apple runs an Asia-first strategy these days, they are divesting from China at top speed (whether that's due to sanction threats, the risk of operating in dictatorships, raising wages in China or a combination of that is up for debate). It doesn't make much sense for Apple economically and logistically to use US-made products as they have to be shipped across the ocean to the assembly plants.
As per their website (https://libcamera.org/):

>An open source camera stack and framework for Linux, Android, and ChromeOS
Perhaps we can start calling it metasickness, or meta for short.
You can still get a 4090 in Western Australia! They’ve marked remaining stock up a bit, but there was no first-day sellout here.

I think demand is considerably lower for these than it was two years ago, but nvidia is managing supply to some extent.
AndOTP is great. Especially if you compare it with all the iOS options.

iOS TOTP apps all suck, it's amazingly bad. I installed like ~15 different ones. After the fifth try, I just had to know if it was just my poor initial selection or a general problem.

Each and every iOS TOTP app has at least one crucial problem - requiring a subscription, mandatory sync to a proprietary cloud, having no export-import, not having a watch companion, being from an unknown/generic developer, no support for longer TOTP codes (worse, some display it truncated!) or they're simply very buggy.

I settled on Step Two because it was like all the others, but not an eyesore...
> Rust's enums and exhaustive match statement are just amazing, and now that I'm using them daily I can barely imagine how I could live without them for so long.

I feel this! I absolutely love rust's fancy enums - i.e. not just a set of constants, but where each variant can be a full fledged type of its own, and how you have to handle every case whenever you're matching on it. It dovetails absolutely wonderfully with non-nullability and errors as values. This is probably the main nice-to-have in a language for me. Unfortunately, I don't really work in a low-level domain so I'm not sure the extra complexity of manually managing memory is worth it to me.

Do any other higher-level languages have rust-style enums with exhaustiveness checking? I only know of Haskell and Ocaml. Actually, I suppose TypeScript has something kind of similar.
I'm not a big Atlassian hater, but the other day I spent 7 hours trying to fix an account migration error. Two users had access rights and all, but couldn't see any repository. I ended up deleting them and adding other accounts. It was ... odd. Oh, and there's that thing of joining an empty workspace. And that other thing. Yes, there's quite a bit wrong under the hood. Feels like teams working on small features that don't work well together (either the teams or the implementation).
There's also Step Two, for iOS, Watch OS and even macOS. I quite like it.
China already declared that it will use force in Taiwan if "possibilities for a peaceful reunification should be completely exhausted".

From Chinese Anti-Secession Law:

Article 8: In the event that the "Taiwan independence" secessionist forces should act under any name or by any means to cause the fact of Taiwan's secession from China, or that major incidents entailing Taiwan's secession from China should occur, or that possibilities for a peaceful reunification should be completely exhausted, the state shall employ non-peaceful means and other necessary measures to protect China's sovereignty and territorial integrity.

https://www.europarl.europa.eu/meetdocs/2004_2009/documents/...

It is USA/EU strategic interest to avoid too deep dependency on Taiwan. We should support the status quo there as people of Taiwan are prosperous and peaceful nation. But we can't be caught off guard by China as EU was caught off guard by Russia.
They're the second largest electricity importer of Europe. They're pulling the same shit as Belgium, shutting down their nuclear power plants and importing from France. Guess what France uses to generate electricity ?
This conflict isn't just about people's feelings being hurt, which is what having the ability to enter a bubble where you don't hear anything that would offend you would protect against.

It's bigger than that - what if these ideas become popular and we elect a leader whose primary drive is to go "death con 3 on the jews"?
> It's quite apparent that there's little demand for the Pico, since it's always in stock.

Without additional context (which perhaps you have and used subconsciously) that's not evidence that there's less demand - just evidence that the ratio of demand to stock is lowest. It could be that it has 2x the demand but they prioritised it and produced 3x as much stock, or it could be that a specific component makes one product easier/less delayed than the other to make (in which case equal demand could still lead to only one being regularly in stock).

If for example 100 people a year want to buy a product $A, and 10 a year want to buy product $B, and the company manufactures 200 $A's a year but only 5 $B's, then $B will be out of stock more despite being far less popular.

Or course this partly relates to how well a company predicts future demand when deciding how much of each product to create. But in many cases (though I would guess not when it comes to The Raspberry Pi Foundation) marketing therefore also becomes a factor - in that companies may see value in either creating slightly less than they expect there to be demand for, or artificially limiting / lying about stock levels, in order to get people thinking "wow it's out of stock so it must be popular!"
Metaverse's biggest adoption issue is simply going to be its association with Meta/Facebook and, to add insult to injury, with Zuckerberg itself. Both the general public and the media have a severe dislike of both Facebook as an institution and Zuckerberg as a person.

Honestly bewildering to see Meta push Zuckerberg as the main PR person for the metaverse, do they honestly not know Zuck is extremely uncharismatic and universally hated these days? Or is it simply a "can't say no to the boss" situation?

They should have just used Instagram/Whatsapp's branding, get celebrities/influencers for PR, ensure Zuck is never seen anywhere close to a VR headset and it could have been a success. Like this, it's doomed to be another Google Glass, even if it might be cool in theory/practice, no one wants to touch it with a ten-foot pole. By associating it with Zuck, they ensured it'll get pooed on for easy Twitter dunks regardless of how good/bad it actually is.
Possibly. To be honest, I'm pretty skeptical of most business uses for VR outside of maybe some training, the ability to walk through designs, etc. I have trouble seeing it for collaboration/meetings in most cases. In a lot of situations I don't really want immersion.
When reading from media with high random-access latency (for instance traditional hard drives) going parallel could make things much slower, and it will reduce the compression achieved (if only by a small amount), and it will increase the amount of memory consumed during the process, so I wouldn't want it to be the default. Nor would I particularly want it to try be clever and detect the usefulness of going parallel as that could lead to unexpected inconsistency.

I think there is a case for including it as a selectable option, as with --rsyncable, unless this adds extra dependencies (pthreads was mentioned in other comments).
Atomic reference counting does incur a slowdown.
Hi - author of `rg` here :'). I've transferred over to BurntSushi which will give people a bit more assurance that `rg` won't become malware in the future.

I also squatted `memap` and `memap2` for the same reasons.

I wonder if there is an algorithmic way to decide when two crate names are 'near' each other. Then, if you added a crate with `cargo add` and there is another similarly-named crate with much higher usage, a warning could be emitted.

*EDIT* I know there's already https://en.wikipedia.org/wiki/Levenshtein_distance, but I wonder if there is a better measure that looks at e.g. keyboard layouts and likely typos. I'm sure there will have been research done on this.
VR motion sickness is really the norm for most, getting sick by ego-perpective on screen AND not having motion-VR is the surprise...
Two-stroke engines are a scourge that needs to go now. It's not on par with lead fuel but it's close, and it's completely unnecessary, there's hardly no two-stroke engines that can't be replaced with electric motors.
> Rust's enums and exhaustive match statement are just amazing

ADTs + pattern matching are the killer feature set that makes the more popular functional languages so damn pleasant to use, and they're starting to spread to more and more languages. I suspect that, 50 years from now, we'll look back and see them as the key paradigm shift of this era.
> if you think, that vpn protects you from anything, i have a bridge to sell you.

What is the thing with the "I have a bridge to sell you" meme going on? Is that a new synonym for "you're wrong but I don't feel like explaining why"?
That makes it easier, at least, in the US.

P2P platforms and those who violate copyright are routinely shut down (or attempt to be shut down) in the US. If co-pilot sits in that same space, it seems the books been written already... we know how it ends.
> Ironically, overly restrictive inputs cause users to think that the software doesn't properly understand the domain, which is the root of mistrust.

Well, they're quite likely right! I freely admit that as a developer, I don't understand the domain remotely as well as the people working in it (construction workers in my case). The reason there's still a decent market for custom software and that the likes of Epic haven't gobbled up everything, is that every so often a construction worker, dentist, nurse or whatever picks up enough programming to actually make something that suits them, and they manage to bypass the administrators addicted to sales dazzle.
Would be fiscally insane not to get premium.
Ask HN: What is Rust being used for nowadays?
I'm coming in from web development, and thinking, learning a new framework won't really take me to a new place. Rust looks like an interesting leap. Where is it excelling today?
Seems sincere enough, albeit with a tinge of overt condescension towards my chosen city I've been to a fair number of cities, sure af wouldn't want to live in Toronto, New York, SF, LA. There are a few that I'd consider, but I never really think of them, and I definitely wouldn't do it for a company that just offered me a position. Too much tangible risk, unless I had no option. I'm sure I could get a job at the one of the spiffy companies, but I limit my search to remote only or here in Van, or mainland Europe. I've been through the interview process at one, it was fine, I could and might tidy up and try again. The money is compelling somewhat, but not so much so after reaching six figures that I'd sacrifice much for it.

And what is that sacrifice? Well, firstly I absolutely do not want to live in a downtown anywhere. In some ways, they're just as boring as the burbs, except maybe Portland. I like being in a more low key but still dense and wooded area near everything I need and close to the downtown. I have friends here, access to nature/mountains, bars, restaurants, fiber, it's chill. If I made more money, I'd use it to live here, if housing was more reasonable, or rent more slace if I felt that was a sensible move.

Not to say I won't move or even move out of country, maybe even for a job, but I'm not arbitrarily chasing career numbers, it hollows a person. Probably best would be a small team remotely for a U.S company billing in USD
> the problem getting worse

Where's your data?

As a sort of petrolhead-lite with a penchant for 80s and 90s Japanese performance cars what I'm mostly aware of nowadays is how few substantially modified (badly or otherwise) cars there are around relative to the 90s and noughties.

There used to be a website called barryboys.co.uk that was literally devoted to pouring mockery on badly modified cars, but it was closed down in 2019 due to a lack of new material: http://www.barryboys.co.uk/phpBB2/viewtopic.php?f=7&p=134856.... There simply aren't as many badly modified cars around as there used to be. I used to see hilarious shitboxes on a day to day basis, but they're mostly gone nowadays. This culture peaked in the era of the first few Fast & Furious films, also coinciding with the time when games involving modification and tuning like Gran Turismo 1 - 4 and Need For Speed: Underground 1 & 2 were popular, and has been on the decline for at least a decade. I highly recommend a browse of this site, particularly the older posts, to see how bad it got. Shed of the Week is particularly entertaining: http://www.barryboys.co.uk/phpBB2/viewforum.php?f=12.

Sure, you do still see young people meeting in cars in supermarket car parks on a Saturday night, and places like the Starbucks at the roundabout on the north orbital just across the M25 from Watford are certainly gathering grounds for cruisers, and people do still modify cars, but with nowhere near the ubiquity that you'd see 15 or 20 years ago. Not one of these people has ever given me the slightest bit of trouble (and no, it's not because I look like an aging boy racer - my last 3 cars have been a Rover 75, the ultimate Werthers Original sucking old-man-mobile, a Saab estate, and a Volvo estate; I definitely don't look like "one of them" these days).
> Chips are tangible goods

Many chips are not fungible, at least not for large-volume orders that incorporate stuff like customer specific mask ROMs or optimizations, and certainly for built-to-order stuff like Apple's SoCs. That means that let's say Apple can't just go and take a bunch of NVIDIA's chips and slap them into their products, and I'd even take a bet and say that manufacturers of NVIDIA cards can't easily take up cancelled order capacity for the same NVIDIA chip from other manufacturers.
That's why they're called exceptions, because some errors are exceptional, otherwise they should be handled in the non-exceptional, standard flow of the program.
The Emacs manual taught me to end sentences with two spaces after the period. https://www.gnu.org/software/emacs/manual/html_node/emacs/Se...
Ah yes, Twilio, the company that activated 2FA, forced users to activate it during login, and somehow forced it to be SMS auth (aka, completely jamming my account because I dared to login).

Had to manually contact them to resolve and then close the account because FUCK THAT, and fuck SendGrid too, which did the exact same thing after Twilio acquired them.

Sorry, I don't buy for a second that that was an accident or negligence. I'm sick of watching people play ball with companies that pull such moves. (Edit: you want to KYC me to prevent abuse? Fine. Don't make my startup insecure to achieve it.)

Authy is just not a good suggestion here when there are standard, non-needlessly-tied-to-sms options.
-- quote --
These have shown that the moon is currently moving 3.8 cm away from the Earth every year.

If we take the moon's current rate of recession and project it back in time, we end up with a collision between the Earth and moon around 1.5 billion years ago.
-- end quote --

3.8 cm * 1.500.000.000 = 5.700.000.000 cm
= 57.000.000 meter
= 57.000 km

distance between earth and moon = 384,399 km according to https://en.wikipedia.org/wiki/Lunar_distance_(astronomy)

what is wrong here?
This reminds me of the one time someone tried to get me to implement TOTP in an environment without an implementation of HMAC-SHA1 (or SHA1 itself for that matter). There was also no easy way of implementing HMAC-SHA1. While protesting the insanity of the situation I produced a hacked together implementation using MD5 (which was, somehow, available).
it's because these products aren't consumer products - they are business products. You often won't find business products run off ads, because business products have a value proposition which is positive, and thus the business would pay for it.
Wait until you work with someone who codes with tabs instead of spaces.

(Or vice versa if you’re a tabs-person, no judgement).
I'll stop double spacing when you kids under 40 use proper capitalization, punctuation, and correct they're/their assignment in your business emails. Deal?
> it’s going to be just like the gmail refresh everyone hated it and now we’re all fine with it.

I'm not fine with it. It's still an accessibility DF for me, and I use HTML mode, despite it being semi-broken.
SLIRP is a clever tool that turns network traffic (raw IP frames on one side) into connect(2), read, write etc system calls on the other side. eg. If it sees a virtual machine is making a connection by sending a TCP SYN packet, it will on one side turn that into a connect(2) system call, and on the other side send back the appropriate TCP packets to complete the connection. It also does ARP, DNS, etc. If you think of a kernel as something that turns socket system calls into packets, then SLIRP is the opposite.

SLIRP is mainly useful when you don't have (or don't want) root permissions to send raw packets. I may be one of the few people here to have used SLIRP back in the early 90s for its original purpose: You have dial up access to a shared SunOS terminal login, how do you turn that into a full network connection for your local Linux PC? SLIRP (+ expect, SLIP and some scripting) solved this exact problem.

Passt (https://passt.top/passt/about/) is a more modern replacement for SLIRP that amongst other things fully supports IPv6 and is more secure architecturally (runs in a separate process, uses modern Linux mechanisms for isolation etc). There was a talk about it here: https://kvmforum2022.sched.com/event/15jJY/slirp-is-dead-lon...

This pull request is using Pasta which is something on top of Passt that does something with network namespaces which I'm not entirely clear on, but some docs here: https://passt.top/passt/about/#pasta-pack-a-subtle-tap-abstr...