skysight-inc/HackerNews huggingface dataset:
Core Data is a persistent storage facility so can be handled either in Swift or SwiftUI.

I wrote a reasonably valued answer on controlling animations in SwiftUI on SO, so I was happy to push the boundaries there: https://stackoverflow.com/questions/58284994/swiftui-how-to-...

The app doesn’t have any super advanced animation, but for most apps, I don’t think that is required. But that’s personal opinion.

This is a longwinded way of saying perhaps you are right and I haven’t fully appreciated more advanced UI, but at the same time many of the basics in SwiftUI cover many use cases :)
If Russia did this they would risk making the cold war less cold if it allowed Americans access. The problem here is that the US will not do anything to stop this even if the rest of earth didn't like the idea. We need to have modern laws instead of the mess we have now before something bad happens.
Me too. Probably more people who mountain biked in the 80s and 90s or XC types. I'm still doing it, mostly on a modern fixed fork mountain bike.
yeah good luck with that.
Apple handed the keys to the castle to the Chinese government. Google collects data from iPhones as well as Android devices (including non-Google Android devices like Amazon's and Huawei's). The difference is that on Android, you can turn off any data collection you don't like. On iOS, if you want to install an app, you have to tell Apple. If you want to get your location, you have to tell Apple. If you want to build an app for your own device, you have to tell Apple a lot of things about yourself.
last I saw urbit a long time ago, the only thing I could think of is that it was a social experiment to see how much vague nonsense people a willing to take and how long it would take for people to reach that consensus.

a more elaborate version of: https://www.youtube.com/watch?v=fTHg-tGvlJ8
I really like this app. I only have one minor piece of feedback, and that's that the card wobbling while you're reading the question is very, very distracting.
I'm ambivalent about it.

In my opinion, Rust is optimized to be a systems programming language. As such, we'd expect that it shouldn't really be your first choice for writing an "application". (I'm not referring to the OP at all here)

HOWEVER, Rust is such an excellent language that we all want to use it to write applications ANYWAY. That's kind of amazing in and of itself- that people want to deal with a non-GC'd language at all to write applications. Because, really, garbage collection is awesome and there's almost zero reason to avoid it unless you need extremely predictable performance, or very low runtime overhead, etc.

As far as wrapping everything in Arcs and Mutexes is concerned: Yes, that's ugly and it's a lot of extra typing. On the other hand, your performance is still likely to be orders of magnitude faster than Python for some general application-type tasks, and it will likely avoid headaches with the borrow checker, etc.

So, honestly, I don't know if I recommend doing that or not. Want I want is to be able to tell people to not use Rust for what they're doing. I'd like to have a different recommendation for a "garbage collected Rust" but there really isn't anything that I think is good enough for the title. Maybe Scala 3 (I haven't played with it yet) or OCaml when its multi-core stuff is done. Maybe F# or C# are good enough, too.
Powertrains are much, much better.

- You can shift under load (usually)

- Shifts are a little faster

- Clutches give less chainslap

- Narrow-wide rings hold the chain freakishly well
Ohh, sorry - I got the wrong end of the stick entirely. Yes, in that case I'm satisfied!
the prophecy has come true

https://www.youtube.com/watch?v=WqnXp6Saa8Y
> Just tell the US Apple Corporation (as an example) they can't proceed in their current court cases, as they are not the 'owner' of the IP, they are merely a licensee. Let them fight it in the court systems of the country where the IP is actually in.

That's just absurd. If you want something to happen in jurisdiction X, you sue in jurisdiction X, not some other place where you might be a citizen or legal entity. Apple can try to sue in Ireland or Netherlands or wherever, but if they are suing a US company for some breach or whatever that happens in US, the Irish or Dutch court will just dismiss the lawsuit for the lack of jurisdiction, as it could not possibly enforce its judgement in the US.
> [it] worked.

What worked ?

What important thing have been achieved ? An application that worked fine and did the business well have been rewritten entirely. Nothing wrong would have happened if it was released 1 week or 1 month later.

Even letting appart the human cost, I can’t even imagine all the shitty « dirty but it somehow works » code this kind of management create. The kind of technical debt maintenance teams will have to live with for years.
Where do you think I pressed Cmd+J?
I recently spent 15 minutes trying to figure out how to get Android to connect via smb, couldn't figure it out. It's such a stupid PITA it's almost by design and "yeah just use the cloud".
Anecdotal as well, but Switzerland has loads of them too. I appreciate the fact that it gets more people on bikes, but I'm a bit concerned about them going on terrain way above their level (as noted above) or risking accidents with hikers.
Because at the time, basically only white land owners were voting. They were definitely the only ones putting the choices on the ballot.

There wasn't any concern from the north over women, children, or (tax-paying) indians being denied voting rights, yet still being counted for apportionment. No, slaves didn't enjoy the same level of rights as those groups, but this also wasn't about voting power being synonymous with apportionment numbers.

It was a politically convenient power grab, not an altruistic hill-to-die-on.
Covid-19 vaccination clinics at Alberta-US border cancelled
One of the reasons to have multiple nodes in a cluster is to leverage multiple kernels for processing. Even VMs are bound to whatever linear limits are in place in the hypervisor. I’ve always thought it would be possible to run a multiple kernel OS in VRAM on a gpu for better processing.
Microsoft couldn't get over the hurdle that US phone carriers refused to sell a 3rd option at all, no matter how much money or time they threw at that problem. They could invest in physical retail Microsoft Stores all they want, but they were locked out of the stores US consumers actually buy that hardware form factor from, and in many cases they couldn't even get SIM cards for most of the US networks even if they did manage to convince people to buy their next phone from a Microsoft Store.

Against that kind of gatekeeping, of course there is no third option in today's market! It's harder to sell three things than it is to sell two things, and AT&T/Verizon/et al decided that they didn't want to sell three things.

(Sure, Microsoft could have trundled on in other markets than the US. They had such a sizeable India marketshare against the troubles in the US, for instance. But when you've already lost your "home" market, it's hard to keep people's confidence. Especially in that case where Microsoft got the biggest marketshare gains from cheap hardware from a variety of hardware partners, those thin margin partners are nothing but confidence driven.)
USA right hook?
I'm one of those noobs. Python... IDK, I don't really like pandas, but i can do anything with python, the community feels pretty welcoming even when you're asking stupid things (which I do), there's plenty of information for everything, I can use any database I want...

I tried R but it felt weird, and the community felt more elitist.
Previous discussion, including two frontpage submissions this year:

https://news.ycombinator.com/item?id=9953767

https://news.ycombinator.com/item?id=14649727

https://news.ycombinator.com/item?id=24702975

https://news.ycombinator.com/item?id=27237536
Lung Samples from 1918 Show a Pandemic Virus Mutating
I mean if that's the only value. Facebook, but only for people who pay $100/yr, would be an easy way to create a high signal-noise social network and unfortunately it isn't.
Update: I tried purchasing 20 of the 2 GB and they told me they don't expect to have any in stock until October. They're still listing them as in stock on the website, though. And they say they actually can fulfill 4 GB orders immediately.
Basically all followers of Grover Norquist. So, almost all Republicans who were around before Donald Trump.
No, Mochizuki’s “proof” is likely to be fatally flawed. He has almost entirely refused to engage with careful and targeted criticism by the experts who found what they claim is a serious flaw.

Mochizuki finally went ahead and published his work in a journal where he is the editor in chief. So much for peer review.
If people genuinely reside in these places they wouldn't need the shell companies and bank secrecy described in the paper. I don't have a problem with someone moving to a low-tax jurisdiction in order to get lower taxes, but I think that is really the exception.
If the amount of 50+ year olds on e-MTBs smoking me on the uphill is any indication I'd say yes. I just checked and they've also gotten remarkably more affordable (at least for a sport where 3k for a bike is considered low-end) - like the cheapest model from a reputable brand is 6000 bucks (Kona Remote 160) compared to just under 10k for most models last time I checked.
>> because they (Facebook) have told us in public that they would

They have.

>> You can trivially check this yourself.

You can.

>> You won’t find a ‘quote’

You won’t find a ‘quote’ - that was your word. We’re talking about a technical and legal mechanism here. You will find documents. I’ve told you which ones.

> You're backpedalling

Clearly not.

> and it's really unclear what you're talking about,

That’s because you haven’t taken the steps needed to understand.

> leading me to assume you're making it up or misrepresenting something.

That’s and unfortunate and incorrect assumption. You can check but you choose not to.

Perhaps it’s not trivial for you to check this. Maybe you are unable to make sense of technical and legal documents for yourself. If so, I am sorry to have assumed that you could.

> If it's so trivial to find why can't you produce it?

I have told you where to look. It doesn’t seem like you want to. Perhaps you are unable.
Thanks! Great suggestion. We have a mailchimp one on https://zenweb.dev (another idea we had) but having it on the actual splash page would show it off better.
3 years of GDPR: The biggest fines so far
Agreed. Especially on iOS, there isn’t really a convenient way to do this. I’d love something that uses an ssh key pair to accept files from the “share” dialog and have them end up in ~/Desktop. I tried hacking something with Shortcuts, but couldn’t get it working.
Replit now supports every programming language in Nix
But the key thing is that with Apple, you're generally the customer. I pay a huge amount of money for an iPhone and Apple wants me to pay a huge amount of money for another iPhone in the future. Google develops Android for free and as such, I, the consumer, am not Google's customer. It's simply a different business model. Apple could change their approach and in response I can change mine. Google could also set up a method for me to purchase Android.
Right. That would make sense. Would be interesting to know what the limit for submitted operations is (if any)
And yet, we're the ones wringing our hands over diversity while the problem's gotten much better over the same timespan, in such historically inclusive (haha) professions as Doctor and Lawyer.

Shit, I don't love it either, but it's entirely possible the answer to "how do we fix tech diversity?" is "more credentialism". "Do these things and you'll absolutely be able to get jobs at the level you've already proven you're qualified for, with a normal interview process" might be more appealing to a broader set of candidates than "after putting in all the work to get good, also survive a full day of hazing-whiteboarding and if you get really lucky we'll hire you, if not better luck next time, sometimes it takes several tries to pass even for good candidates. Oh and you'll have to do it again every time you switch jobs, which by the way you'll have to do constantly if you like meaningful raises."
The idea of accountability is the thing that is holding back the investigation. Because if China were found "culpable", there is no way they could pay compensation for the trillions of economic damage and all the lifes lost. Not even the geopolitical oppenents of China are willing to go there.

What we need is to prevent further such incidents in the future. So if the question of accountability is off the table, lets just think about what the consequence would be if the virus was an accidential lab escape (from any country). We should immediately take measures such that that never happens again. That means increasing the safety measures and transparency, and possibly banning gain-of-function research.

Unfortunately, the undercurrent of the whole discussion is "who is to blame", not "how to prevent this again". (Also, I think this is one of the reasons they tried to downplay the outbreak in the beginning.)
I'm sure someone will talk about your registrar potentially banning you but since your identity is tied to your public IP address that could already happen.
The Hybrid Work Paradox
I'm guessing the reason is because `std::array<char, 26>` gives you everything you'd want from `char[26]` but with more bells and whistles.
Activists say sensationalist reports on Xinjiang do more harm than good
The Verge made a video about how to build a computer at one point and it was full of laughably bad advice. I'd say they're more of a culture blog than tech experts/analysts. Hardware stories come across as uncritical ads.
While that would probably suck, the troll in me would find this hilarious.
> I love the choice of keeping the symbols opaque - it makes it easier to use in a funny way.

That's precisely what I was going for (plus, it's impossible to find descriptive icons for most of these options, and a wall of text below each option might lead to excessive scroll wheel wear).

> I’m very surprised to not see it on the front page! Have you posted this to /r/internetisbeautiful?

Getting to the front page is a coin flip – you win some, you lose some. But perhaps I'll submit it to the second chance pool [1]. And no, I've mostly weaned myself off Reddit, but you're right, that sounds like a good place to gather some additional feedback. I've just posted UJI there [2].

> Honestly this is wonderful and I hope to use it to introduce some creative coding concepts when teaching

I'm so glad to hear this! :)

[1]: https://news.ycombinator.com/item?id=26998309

[2]: https://www.reddit.com/r/InternetIsBeautiful/comments/nk7gf7...
I would be surprised if Apple don’t already have something like this internally…
Is openbook == GPL?
So... he went to Romania for setting all up there?
Of course you own it and should be able to put whatever OS you want on it. But you are confusing that with forcing apple to write their software in a way that suits you.

Antitrust laws _can_ be good, but like I said elsewhere, we are a country swimming neck deep in regulation and seem to like our particular hammer. It has a cooling effect on innovation, and China in some ways has a freer economy than we do.

I think it odd that many people rush to strongarm companies through law when there is a perfectly good alternative in Android. Even Microsoft and Amazon have been in the phone business and could get back in, offering you a phone with multiple app stores. Epic could even do it. There doesn’t seem to be enough people who care. You apparently do, and actually I agree with you that Apple should allow alternative app stores. But voluntarily because the people demand it or are leaving for Android, not because the hammer came down on them.
I know they are completely different virus, but I am hoping they can use the tech on HIV
I think you make a really interesting point. The way this story is becoming mainstream feels very orderly to me, as if the public is being prepared for a dramatic turnaround. I know that sounds nutso conspiratorial, but actually I think it's exactly the right thing to do if the story is true or, at minimum, if the authorities genuinely have reason to believe that it's the most likely explanation. You can't just spring the opposite on people overnight, especially when the question, which ought to be a purely factual one, became so entangled in domestic politics.

I also agree with you that if this is the outcome we're headed for, then we haven't gotten near any of the big icebergs yet. How's it going to play out and what will the real-world consequences be? I hope that the Biden people will be smart enough to approach this multilaterally and not make it the US vs. China spectacle that you-know-who would have. The fact that they're quietly confirming the facts that have been coming out, but otherwise not yet making a big deal out of it, gives me some hope that they're not idiots.

This is all silly-level speculative and it's possible that nothing will come of it, but I'd place a (small) bet otherwise. The way in which, one by one, the dominos are flipping is truly fascinating. Fauci has flipped, Daszak has flipped. Every few days there's another small but notable change.
Going from free tier to "our cheapest plan is $8k/year" is quite a big leap.

Vimeo is obviously completely within their rights, but their pricing strategy is questionable from a small content creator's perspective.
> I've found that you really need to design for it

It's an architectural step a lot of people skip, and by doing so you often end up in a situation where the only way to make things faster is via caching, and chasing caching bugs for the rest of your tenure.

One of the less appreciated aspects of model-view-controller is that usually it demands that you plan out your action before you do it - especially when that action is read-only. Like a cooking recipe, you gather up all of the ingredients at the beginning and then use them afterward.

By fetching all of the data early, you reduce the length of the read transactions to the database, allowing MVCC to work more efficiently. You also paint a picture of the dependency tree in your application, up high where people can spot performance regressions as they show up in the architecture - where there's a better opportunity to intercede, and to create teachable moments.

To make dry-run work you are best served by book-ending your reads and your writes, because if the writes are spread across your codebase how do you disable all of the writes? And if any reads are after writes, how do you simulate that in your dry-run code? It won't be easy, that's for sure.

The problem is that we tend to write code stream-of-consciousness, grabbing things just as we need them instead of planning things out. This results in a web of data dependencies that is scattered throughout the code and difficult or impossible to reason about. This is where your caching insanity really kicks into high gear.

To my eye, Dependency Injection was sort of a compromise. You still get a good deal of the ability to statically analyze the code but you can work more stream-of-consciousness on a new feature. But it does rob you of some more powerful caching mechanisms (memoization, hand tuning of concurrency control, etc)
Bar ends are a lifesaver! I got pretty bad RSI a few years ago and anything I did where my palms are down meant pins and needles in my arms. And as a cyclist, I quickly learned drop bars were best - but when I wanted to mountain bike, drop bars were the difference between being able to do it, and not. A vertical mouse also helped (at work).
Sure, the very same day such feature would be available. That's why I explicitly mentioned need of independent verification. It's impossible to verify every seller out there, but individual sellers can be verified. Those tips must be merely signals to focus, never to penalize a seller solely based on the flags.

Also, the existence of the checkbox itself must have some chilling effects on the sellers by changing their risk perception. Those days it's just a common knowledge that those "leave us a review and we'll reward you with a $X gift card" is not penalized in practice. A checkbox with a PR campaign would send a contradicting signal, making this practice more scary.

A resourceful fraudulent sellers' cabal (if there are such things) could try to poison the well by paying users to tick this checkbox in random reviews (wasting marketplace's resources by muddying the waters), but this doesn't sound scalable and doesn't feel like a realistic scenario.
> political intervention and regulation always works out in favor of the status quo.

A bold statement needs strong evidence. "Always" is already debunked with one counter-example. A look at the history of the labor movement or that of anti-trust legislation proves you wrong. Former pushed for worker-friendly legislation out of a grassroots and labor party-based movement, achieving laws that are often more demanding of larger companies. And latter may have seen a lack of enforcement since the Reagan era, but is chiefly centered on making big companies pay.
> 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).

This doesn’t seem correct at all?

GC merely solves freeing memory when it is no longer needed. But it does not solve parallel access.

One of the beauties of Rust is that you can write highly parallel code and if it compiles it works. Meanwhile Python languishes behind the GIL. GC does not even attempt to solve multithreaded memory access.

I’m happy to be corrected if I’m wrong or missing something here.
There are some folks who have a fork of Wormhole William that runs in the browser (via wasm) and uses a websocket based relay (keeping the rest of the Magic Wormhole protocol the same): https://github.com/psanford/wormhole-william/pull/49
> Specifically, by throwing out the 30% of buckets with the largest values, and averaging only 70% of buckets with the smaller values, accuracy can be improved from 1.30/sqrt(m) to only 1.05/sqrt(m)!

How do you do this without sorting? Or, do you approximate again by throwing out everything < 0.3 * max_hash? It’s not obvious to me how that approach would actually give any better results: the spacing between 0.3 * max_hash and the next lowest hash is just as prone to variance as the distance between 0 and the absolute lowest hash, and it’s that distance which feeds the estimate.
I believe that was Namco (as evidenced by the Ridge Racer PS1 loading screen).
I've been using KDE connect recently and it's great for moving files between my phone and laptop. Another fun feature is sharing a url from the phone to the laptop and it opens the browser to the page.
I don't know of any similar software but being able to do the same thing between iOS and android would be great.
I've personally never thought of Uber engineering as the pinnacle of contemporary engineering teams, is that a common sentiment for others? I know they're popular, but I thought it was mostly due to the pay scale / name recognition, not technical quality.