skysight-inc/HackerNews huggingface dataset:
>Rust's ownership rules guarantee correctness in the case of parallel access while GCs do not

That’s a dangerous misconception. The Rust ownership model only guarantees that the program is free of data races. That’s a necessary but not sufficient condition of program correctness.
I don't even understand how you got to that "barren view". I've never seen that in my life.

Edit: I guess that "barren view" only happens when viewing things as "columns" mode. I just figured out how to make it look like yours. I always use list mode (as I often want to see/sort by date modified time or file type and I want to see file sizes). Columns view seems like a waste of screen real estate.

It has nothing to do with the sidebar. In column view it doesn't know what folder you're viewing so there's no display settings it can set because that's a per-folder option.

Edit2: I see your "less barren" options now, but it's still missing several options. And you don't need to do "Cmd+down", you can just double click a folder. This presumably forces it into understanding you're talking about a specific folder so it can display additional options.

Also it doesn't even appear to work, those extra options showing up is apparently a bug as none of the options change anything.
It starts to become a little repetitive, so I'll cite from what I replied to the sibling comment:

> Should I package it as a .deb, or what makes something self-hosted? The code is already on github: https://github.com/lgommans/dro.pm/ (link was buried in the text - I had a hard time prioritizing what people would want to read first, since that depends on your use-case).

As for no mobile app: how much faster is it going to get than opening the browser that's already on everyone's homescreen and typing a 7-8 character link? Or if you self-host it, you can host it on your own TLD like https://me/. It being an app was also never mentioned as a requirement and I don't see how it helps, but I guess I don't need to understand. As a bonus tip, though: you can add browser bookmarks to your homescreen. Since you'll need internet to share things in the first place, it should behave roughly the same (aside from a share menu, but...).

And there is a share modal for Android, actually. See the github link.
If you like Invincible, you should The Boys a try. It is fantastic, great cast, great cinematography, and great source material which is adapted in such a way that it is honestly better than the original comics it is based on.
Yeah. The documentation makes a lot of assumptions about capabilities of the readers.
Respectfully speaking, I think we’re talking about different kinds of mountain biking.
I don’t, the “volume” adjusters on websites are all ... fake?

There are several layers of volume control but the last one on the stem level is the only real one (ok maybe one more level on a physical speaker amp if you have it)

Application levels can only cut dynamic range by adjusting volume, i would expect the default level to be full, if i want something quieter i’ll turn down the system loudness

The nominal loudness of a sound is sometimes inconsistent but that is on the sound mastering level not the application level.
Again, I already wrote:

> though I still have to change the license to be more permissive (I've decided that I won't pursue this as a commercial thing, just open a ticket if you want me to change the license sooner than whenever I work on this next).

Guess that'll have to be now then. Getting this sort of crap is what makes me wonder why I bother putting this work out there in the first place.

> Your tool has none of the requested features

The main premise was a way to have file sharing between tablets, phones, and computers. This does that. It is open source (as of now) and has an Android share app to boot[1]. Anything else you're very welcome to make yourself, it's not a commercial plug, I'm obviously disclosing my affiliation, I host this on my personal machine at home, you're just welcome to make use of this or not if you don't like it.

[1] https://github.com/lgommans/dro.pm/tree/master/android/dropm...
And only on mobile so the web client can never be encrypted.
Thanks! Here's a formatted list. (I think we'll probably just make HN's software automatically render links to past threads this way—I can't think of any downsides.)

Magic-Wormhole: Get Things from One Computer to Another, Safely - https://news.ycombinator.com/item?id=27237536 - May 2021 (4 comments)

Magic-Wormhole: Get Things from One Computer to Another, Safely - https://news.ycombinator.com/item?id=24702975 - Oct 2020 (9 comments)

Ask HN: What is your favorite method of sending large files? - https://news.ycombinator.com/item?id=24351111 - Sept 2020 (354 comments)

Ask HN: A more convinient Magic Wormhole alternative? - https://news.ycombinator.com/item?id=21352217 - Oct 2019 (3 comments)

Magic-Wormhole – Get things from one computer to another, safely - https://news.ycombinator.com/item?id=14649727 - June 2017 (179 comments)

Get things from one computer to another, safely - https://news.ycombinator.com/item?id=9953767 - July 2015 (15 comments)
maybe Syncthing (for Android, ideally syncthing-fork via F-Droid) will work for you. Share modal, cross platform, works with or without a centralised server.
WebSocket Server in C
Very excited for the command palette. I wish something like that was accessible in every app. I know there's Plotinus but it feels kind of hacky--high-level support at the toolkit/HIG level for the whole desktop would be incredible.
Well, I guess for every guy using MS Paint and GIMP for maritime 3D cutaway illustrations, there's another person using Inkscape for cropping. No judgement.

http://www.hisutton.com/How%20to%20draw%20sub%20cutaways%20i...
I disagree with this. The search for "safe" is by no means an Amazon problem exclusively and in many ways they do it much less than most.
I would imagine snagging it on things, having it drop down due to a big impact and getting tangled in your pedals, or potential impact with your heels since feet are more active on MTBs.
The only criticism I have, is that your timer is too fast.

I can listen to their demands and negotiate a peaceful, mutual benificial resolution. After that we can establish a framework to resolve hostilities. But when I want to talk about free trade and opening borders to exchange goods... the timer runs out.
It won't be too long until Russia deploys its great firewall
Realistic Lighting in Justice with Mesh Shading
Doesn't zip software such as 7zip support splitting of compressed files into as many pieces as you like and then rejoin them when you want?
Work behind a limited company and let it fail.

Escape to Mexico in the worst scenario.

South America is anyway becoming more and more appealing the more the West progress.

That said, not that it changes much but I stopped taking EU customers (I take businesses and not customers) because of vatmoss and gdpr.
I use Resilio Sync for this purpose. It uses a peer-to-peer model (you install the app on all of your devices and they sync between themselves. there's no central server.), it's free, and it works well enough. If you want it available 24/7 without relying on peers being online then you can install the application on a cheap Kimsufi VPS.

https://www.resilio.com/individuals/
I'm late returning to this, and I don't normally like whataboutism, and I don't want to be seen to be condoning what is happening in HK, but I have very low expectations for nations keeping commitments made in international politics. I think everyone was pretty clear when the HK deal was struck that it wouldn't make the distance. The UK just wanted to avoid rocking the boat + there was very little that could be done. The US has renagaged on several international agreements in recent history — we all know that these agreements reflect the preferences of those in power at the time and are contingent on it remaining convenient.
Any chance of this sticking? If another state had a law requiring companies to block users for certain behavior there would obviously be a conflict.

Seems like this would be knocked down with the commerce clause, a state not being allowed to regulate interstate commerce in this way.
If you cannot adequately explain the appeal of a new technology to your peers after having worked on it for a week, that's nothing to worry about. After 20 years though? That's very worrying.
I don’t think subsubzero was disagreeing with you. Their comment reads like it is supporting you.
My hands went straight for the arrow and ctrl keys, assuming it was real DOOM controls. I was disappointed :)
Ok, we've Nix'd the title above. Thanks!
We added the feature recently in kde apps: https://pointieststick.com/2021/05/21/this-week-in-kde-kcomm...
The recommended solution uses "scoped_threadpool".

But "scoped_threadpool" uses "unsafe".[1] They could not actually do this in Rust. They had to cheat. The language has difficulty expressing that items in an array can be accessed in parallel. You can't write that loop in Rust itself without getting the error "error[E0499]: cannot borrow `v` as mutable more than once at a time".

And, sure enough, the "unsafe" code once had a hole in it.[2] It's supposedly fixed.

If you look at the example with "excessive boilerplate" closely, you can see that it doesn't achieve concurrency at all. It locks the entire array to work on one element of the array, so all but one of the threads are blocked at any time. To illustrate that, I put in a "sleep" and some print statements.[3]

You could put a lock on each array element. That would be a legitimate solution that did not require unsafe code.

To do this right you need automatic aliasing analysis, which is hard but not impossible. (Been there, done that.) Or a special case for "for foo in bar", which needs to be sure that all elements of "bar" are disjoint".

[1] https://github.com/reem/rust-scoped-pool/blob/master/src/lib...

[2] https://www.reddit.com/r/rust/comments/3hyv3i/safe_stable_an...

[3] https://play.rust-lang.org/?version=stable&mode=debug&editio...
It's nice to see when a government has its priorities straight.

.

.

.

/s
Shouldn't we address human suffering before working to reduce animal suffering?
$100/yr does not seem to be stopping people from putting malicious apps on the iOS app store.
I think people are put off by the word "rich" or "wealth" in this article. But I read the article and mentally replaced it with "financial security". I work with a lot of Gen Z's and they just want some sense of security.

>as a consequence starts doing better than their previous generations

But how can you do better when you don't have job security/home/retirement savings? Its far easier to be generous with your time/money when you're well off. I fear we're slipping into a gritty decade even crazier income inequality.
There were a few other possible tie-ins. The word TRON itself was a command in several MSFT Basic interpreters of the 8 bit era. It was short for TRACE ON and its companion for TRACE Off was TROFF. They shortened strings because space was limited in the 8K ROM.

Good times...
I get annoyed when sites don't have things at their maximum volume, and I keep all my applications at the max too, unless I need to mute one. The master volume is the only thing I touch regularly.
Why yell "sorry" instead of "hi there", or something as you come up to them.

I'm Canadian, and as the saying goes "we say sorry 50 times a day, and we're sorry we can't say it more", but still...I don't understand why you're apologizing rather than giving warning, and is ringing a bell really any better in this instance?
For academic research citations, no replication is no problem
I guess someone coming from only C might not have encountered closures, but most languages have them these days (modern javascript code uses them everywhere), and I don't think they should be considered especially advanced. "How do closures work?" Was a question I was expected to know how to answer when going for my first ever junior programming job with zero professional experience (and no CS degree either).
Yeah, I want this to be easier all the time, and I haven't found a better way that what you described.
What do you mean? Credit rating agencies are not regulators. Plus, pretty strict regulations around credit ratings and their essential role in portfolio composition were already in place at the time. In fact you could arguably say that they were actually one of the reasons behind the severity of the crisis.

And even if we put aside that very glaring error aside, if your comment was true Scandinavia or some parts of Europe would've a lot more multinationals than the US, since their corporate tax rates are already lower than in the US. You can also take for example, Spain which has had a ~similar tax rate than the US before 2017, why don't they have a bigger economy per capita if it was that easy and countries were competing to lower taxes?

Corporations aren't individuals btw, and taxing the dividends or capital gains is much more efficient. Eventually, any money you don't tax from a corporation usually flows back to the investors in one way or another. So even if you want higher taxes, corporate taxation is usually just something that "sounds good" or is knee jerk reaction to "stick it" to the big corps rather than to actually get more tax revenue.
I'm a EU citizen in Europe and you can count me scared
Recent and related:

The Florida Deplatforming Law Is Unconstitutional - https://news.ycombinator.com/item?id=27064221 - May 2021 (37 comments)

Florida bill will fine social media sites for banning politicians- except Disney - https://news.ycombinator.com/item?id=27010054 - May 2021 (5 comments)

Florida plans to fine social media for banning politicians - https://news.ycombinator.com/item?id=27006912 - May 2021 (11 comments)

Disney gets special “theme park” exception to Florida’s anti-tech bill - https://news.ycombinator.com/item?id=27002543 - May 2021 (23 comments)

Florida bill to fine social media for banning politicians - https://news.ycombinator.com/item?id=27001610 - May 2021 (51 comments)
There's an argument that the pharma industry has strong incentives to manage health problems, not solve them.
How `Auto_increment` Works on MySQL
It's a pi header https://elk.audio/elk-pi-basic-dev-kit/

and an operating system that runs on pi
Discussion thread for the NY Times article: https://news.ycombinator.com/item?id=27268418
Firefox already displays a small speaker icon on each tab playing audio that can be used to mute it. A nice addon could display also a volume slider when hovering above it with the mouse, therefore allowing volume control.
I am talking about "financial privilege", not the other versions of privilege you describe. Yes, it is a thing. Please, point out to me comments where I weaponize wokeness. With every comment I am trying to guide the discussion around crypto in a more rational direction, which on HN is nearly impossible these days.

Many critics don't see a use in Bitcoin and want to "shut it down" because of its energy use and volatility, and can't even imagine how useful it is to people whose currencies suffer from even more mismanagement and volatility/inflation.

https://bitcoinmagazine.com/culture/check-your-financial-pri...
the captcha has been defeated http://telnet.asia/script.html
I agree. I have an old 1987 Bridgestone MB-1 (mountain bike). I lift modern mountain bikes and they are lighter but not by that much. Especially the ones with crazy amounts suspension parts.

Another note: my bike came stock with drop bars (only year for that model) that the lower bar flairs out. I can't count the number of times those bars have caused me to ricochet off obstacles where flat bars would have hooked. I would not trade them for modern flat bars, but my cycling has turned more cross than technical so old still works for me.
It’s a Linux distribution with real-time kernel.

Here’s a download link if anybody is interested:

https://github.com/elk-audio/elk-pi/releases
If it has a closed license, you haven't really "put it out there" yet have you? If you are already feeling drained by it, you probably don't actually want to run an open source project...
I'm a happy user of Solid Explorer which has a plugin to host a local folder over FTP. It seems like there should be a more "modern" option but FTP has the advantage that pretty much everything still supports it. (It also connects to GDrive, SMB, and SSH, which covers 99% of my file sharing needs).

https://play.google.com/store/apps/details?id=pl.solidexplor...
Did not know what CQRS is, did some light googling[1]:

CQRS (Command and Query Responsibility Segregation) is an alternative to a simple CRUD-based database interface. CQRS separates reads and writes into different models, using commands to update data, and queries to read data.

Commands should be task-based, rather than data centric. ("Book hotel room", not "set ReservationStatus to Reserved").
Commands may be placed on a queue for asynchronous processing, rather than being processed synchronously.
Queries never modify the database. A query returns a DTO that does not encapsulate any domain knowledge.

The models can then be isolated, as shown in the following diagram, although that's not an absolute requirement.

[1]
We've de-firsted the title above. Actually that's pretty much always a good move in titles. If something is interesting, it's probably interesting even if it isn't the first, and most claims to firstiness tend to have distracting effects on threads.
Most operators in Thailand (maybe other high tourism GDP nations in Asia as well) recycles SIM card numbers every 30 days.
Is there a command that elicits or demonstrates MVS. This page is good explaining what MVS is:

https://research.swtch.com/vgo-mvs

Same with less detail (see bottom of page):

https://encore.dev/guide/go.mod
This but with video games. 90% of them default to every volume being set to 100%. They're always so damn loud, I usually use windows Volume Mixer to set them process to 50%, then go in and tweak individual stuff in game.
I think the point I was trying to convey is best expressed in the paragraph and not the isolated sentence:

>My understanding is that most cryptocurrencies intend to be extremely democratic. More democratic than all previously existing currencies, even. (Whether those ideas are feasible or those goals are being achieved is another matter.)

I also discussed it a bit in my other reply: https://news.ycombinator.com/item?id=27270693
> Put all this together and nobody wants to stay in a single house for 10+ years, or even in the same city for that length of time

It can change when (and if) you have kids.

Uprooting our kids to move somewhere else is going to be a burden on them. I experienced that burden as a child, I don’t want to visit it on my own children unless it is (in other ways) a really compelling proposition. Especially as parent of a child with a neurodevelopmental disorder, who I know would find the disruption harder than the average child would
A more modern analysis can be found in The Revolt of the Public by Martin Gurri.

His hypothesis is that what was once an information trickle has become a virtual tsunami with the internet + cell phones + satellite television, etc. Governments have no control over the flow of information, which they had at least a semblance of pre-2000. This wave of information has not only exposed the worst excesses of the elites, but has also exposed the enormous gap between their authoritative promises and the actual results they produce.

This has pissed off a lot of very entitled people, who don't take the fact that the gap has always existed into consideration, who for historical reasons place very high expectations on government, and as a result attribute bad intentions to the previously mentioned poor results.

Not only is the media courting those people, they are made up of those people. So you get a media that just heaps negation on even the smallest failure of government. It's not just for clicks -- they are true believers in that they think they're doing the right thing.
Thanks, that's helpful. If I was just starting out, would it be better then to start with a broader programming language theory text, rather than going straight for type theory?
> muckraking to clutter someone's obituary notice

Edited to add: In theory, one might think there ought to be a difference between an obituary and a encyclopedia entry. This is more shrine to a person as opposed to a less propagandist, more objective account.

The implications of the CCP line, the Wikipedia article, and the tone here is that better rice was what was needed to avoid famine.

The reality is with property rights, proper prices, without central planning, there would not have been a famine.

Maybe he is as great as people claim ... Or, maybe his reputation is manufactured _ex post facto_ to diminish the role of the ideology in causing the disaster.

As for saving people from hunger elsewhere, people in the Sudan or Yemen or Ethiopia have not been dying because they planted the inferior crop.
Use any search engine that fits in trunk of Lada
What defines what is a "politician". Seems like it would be easy to abuse.
No assembly language of any sort? I just did a quick search, so it is possible I missed it.
In the US, it boils down to government corruption (lobbyists), and republican propaganda fueled wealth inequality. Aka Citizens United.
I'm not sure how I'd cope without a volume knob right there on my desk. Having to tab out and adjust the OS audio sliders would drive me mad pretty fast.

It's almost my prime reason for having an external DAC.
Katzenpost: Traffic Analysis Resistant Messaging
Interesting, I was actually looking into distros set up for audio recently because I was hoping to build a little jukebox r-pi or similar but noticed you'd have to recompile the kernel on the official pi distro to get full support for high-resolution audio
Gentoo Council emergency meeting – moving to Libera Chat
Ehhh I’d have to hard disagree with #1. But we’ll likely just have to agree to disagree.

Maybe I’m just a bad enough programmer I write parallel bugs. But C++ certainly doesn’t make it easy to write correct code in any way.

I personally think it’s pretty darn difficult to ensure correctness in a large program. Especially when multiple programmers are involved. And especially when you are adding features to an existing system.

However I will also admit that I haven’t written a large Rust program so I can’t claim to have run into all of its warts.

There’s no silver bullets in life. I work primarily in video games. GC is the bane of existence and is something that provides seriously negative value.

We definitely agree it’s all a trade off. GC provides some value and some costs. Borrow checkers provide some value and some cost.

> It only means that the data model doesn't agree with Rust's rules for modeling data (which exist to ensure memory safety in the absence of a GC).

I think my initial response was that Rust’s model exist for more than just that single reason. Whether those reasons or trade offs are useful depend on the program in question.

In my work I never want a GC, but damn would I love a borrow checker.
Yeah, absolutely. I went from account manager at a software company to software engineer. It was worth the stress I had to go through to get there and greatly improved my income and employment prospects. I wish I had known it was what I wanted to do when I was still in college, or even high school. I probably could have saved myself a few years of doing stuff I really didn't enjoy at all.
I think you're talking about Swift. Alas it doesn't seem to have caught on outside of the Apple ecosystem, so library support isn't great there either.

I do agree that language built on top of the Rust ecosystem (kind of like how PHP exposes a lot of C libraries) could make a lot of sense.
The trick is the $39999.999999 price is pure marketing and you wont be able to buy one, they will lottery off like 1000 units per quarter among the dealer network and get some great headlines about winning electric race.