skysight-inc/HackerNews huggingface dataset:
We love LiveView and we love the developer experience. Dioxus recently launched support for HTML-over-websocket (LiveView) and we're slowly working on wrapping axum/hyper in a Dioxus-focused API.
Not that difficult to imagine:

- Users generally replace a device less often than replace a part.

- Users usually throw away a part, but not a device. As a matter of fact resales value of Apple devices are higher than for other makers.

- Apple have the mean to recycle trade-in devices and not landfill them. Users may not.

- Devices with replaceable parts may have shorter lifecycle than the ones without, since they are more brittle and complex.

About the only argument for replaceable part is user freedom to fix their devices.
Ask HN: How to work and program with one hand
I am a tech co-founder who today broke a finger on my left hand and will be wearing a cast for at least a month.

Does anyone have advice or tips on how to continue coding and working with one hand during this time?
It's crazy that hes still out. Everyone learned of the name "Thug Shaker Central" 5 days ago, yet the government can't subpoena Discord for the 20 odd people on there and match it with enlisted? One of these "what is all that money going to" moments.
Don't forget that GitHub belongs to Microsoft. This is yet another attempt at controlling the OSS world.

(Not to mention control developer salaries.)
My car has a button for traction control. If it’s not working I would expect it to turn itself off and ding, not just halt the vehicle.
The line drawing was a policy decision, and it makes regional level policymaking near impossible, creating adverse incentives for suburban jurisdictions and constraining the options of local policymakers in SF. It’s the cause of many of the Bay Area’s current social woes.
> some glaring issues - tramp being a major one. It’s slow and very unreliable.

Over SSH? Did you turn on ssh connection sharing in ssh config?

> ControlMaster auto

> ControlPersist yes

> ControlPath /tmp/ssh-%u-%r@%h:%p

massive speedup when you do this, otherwise it starts a new connection for every operation.
> Agencies would just spend more on it

That's the whole point of security: you try to make it too costly for your opponent to do it. That's why you have a threat model: to decide how much is "too costly".
Korea already provides a subsidy of ~$230/month to families with infants in their first year.

https://www.npr.org/2023/03/19/1163341684/south-korea-fertil...
“Craft at scale” is a white whale
You broke the site guidelines badly with this comment and have been breaking them in other places too. We ban accounts that post like this, so would you please stop?

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it.
> The aftermath of the tragic fire revealed that a staggering 18,000 cattle died - nearly three times the amount of cows slaughtered each day in the US.

That number sounds too low. According to [0]:

> According to the USDA, in May 2019 2.94 million cattle were slaughtered in the U.S. This equates to roughly 95,000 cattle being killed per day during the month.

If you're a meat eater, this shouldn't shock you at all. Hundreds of millions of cows are killed for food each year and even if not killed for food but used for milking, their conditions are horrible mostly.

[0] https://sentientmedia.org/how-many-animals-are-killed-for-fo...
It is political choices, but it's not primarily on a city level, or a year-to-year level. The problems in San Francisco are generations in the making and often national in cause. You might read Loewen's "Sundown Towns" for a good look at a key factor to understanding American cities.

The "mentality" here is one appropriate for the person and the circumstance. As you say, his neighbors weren't aliens, they were people. Compassion and understanding were worthwhile efforts. And they remain so.
There are always people who think any sacrifice or suffering is stupid.

Every good thing tbey currently enjoy and are so proud of their cleverness in securing for themselves, whether it's a tech toy or a liberal law, only exists because someone before them took on the burden of bringing about the change, which made their lives actually a bit more difficult in the immediate.

Some people see that as stupid but I sure don't.
Thundra.io Is Ceasing Operations
The gerontocracy will cut everything else to the bone before that happens.
> For me, it is that I don't like all my purchases to be tracked in one giant database.

That is one big reason, yes. A very important one.

Aside from that, cash is optimal in terms of dependencies. Namely, a cash transacion is solely between the only two parties that are relevant to the transaction, the buyer and the seller. Nothing can interfere or stop the payment if the buyer and seller agree if they use cash.

All other payment types introduce third parties into the mix, all of whom can now block the transaction. So it adds risk.

And the newer electronic payment types (like paypal, venmo etc, as opposed to credit cards) are even more sketchy. As HN knows from tons of submissions, they will not only block you on a whim but also steal any and all previous money you may have received. I'll never use any of those, the risk is way too high.

Finally, there is also infrastructure risk. Even if the payment processor isn't trying to block your transaction or steal your money, the payment is dependent on all the infrastructure working correctly (server, their internet, your internet, your phone in many cases, etc). If anything is down, suddenly you can't pay anymore. While not super common, it is nonetheless relatively frequent around here to walk into a small shop where they have a sign saying "our internet is down, cash only today". So important to always have cash handy.

The credit card cashback and buyer protections are attractive admittedly, so I end up using credit cards for anything larger but try to generally always use cash for anything under $100 for all the benefits of cash.

As any engineer knows, every additional moving part dependency you add to a system also adds risk of failure. Cash has zero external dependencies so it is optimally resilient.
I did not use ChatGPT to write this - Me lol
You mean like China's social credit system? Sounds dystopian
Had good experience at https://exercism.org/tracks/haskell

I don't think this article is helpful for beginners.
FWIW, we (Dioxus) are using the $20K to fund an internship for one of our contributors. We're hoping the program will act like VC funding (marketing, really) and help us unlock larger corporate sponsorships.

[1] http://github.com/dioxusLabs/dioxus
Lazy by default, to name just one. Ocaml's immediate by default but opt-in lazy is so much better.
I think Smil had calculated this energy to an equivalent number of laborers working for us 24x7 (like slaves). IIRC it was like 172 or something. It may sound fantastic but once you start imagining what kind of human labor it would take to keep your home heated 24x7, manually achieve what your appliances accomplish (when was last time you had ice delivered or washed your clothes at the river?), your transportation, and have the weather forecast available at any moment, etc., etc., it becomes really clear that 1st worlders live like pharaohs.
The whole reason you can't do those things you believe you should is because you agreed that you'd give up your right to do those things.

Stop giving your rights away! You do have those rights, until you agree to give them up.
> Unironically get them partners

So how do you practically do that? Is there a state run harem for the young men you mention to get a partner? Maybe I just lack imagination but money to spend on outside activities seemed like an OK approach. What do you have in mind?
iPhone 6s (released September 2015) - ~ 8 years and going

Nexus 5X & Nexus 6P (released September 2015) - last update January 2019 [1] ~ 2.25 years
Pixel & Pixel XL (released October 2016) - 2019 (can't find a good reference) ~ 3 years
Pixel 2 (released October 2017) - December 2020 [2] ~ 3.3 years

[1]: https://9to5google.com/2018/11/07/nexus-6p-and-5x-final-guar...
[2]: https://www.androidpolice.com/2020/10/05/pixel-2-and-2-xl-re...

My conclusion: an iPhone outlives (at least) 2+/3+ android phones
You are reading Hacker News. While I don't know your personal situation, the odds are strongly in favor of your personally making at least 3 times the average person. which is to say you have a spending problem not an income problem. I get it, I like my toys and luxury as well, but I know a few people who are living and raising kids on less than the average income and they are not doing that bad in life.
Crossing into personal attack is not ok and we ban accounts that do it repeatedly, so please don't.

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it. Note this one: "Edit out swipes."
Assange presumably hadn't signed anything like that, nor is he a US citizen.

He did however skip bail, and rightly paid for that.

I was disappointed by the high court's view to allow extradition, especially given the one-sided approach to extradition that US takes with its citizens, but it was hardly surprising given how far up the US's ass the UK is. Of course a decade ago it was all "I don't want to go to Sweden because I'll be extradited", despite that easily being the case from the UK.
for the colemak users http://homeowmorphism.com/2017/05/27/Remap-CapsLock-Backspac...
https://archive.is/R51C7
I think you will like the show Altered Carbon :)
No, I don't think that «having children» could inhibit the development of prostatitis or wrinkles.
I am surprised to see the same user post

> no one is criticizing Apple while being pragmatic [...] it is expensive and complicated for them to do that and have waterproof devices

and

> with the airpods, Apple needs to be roasted endlessly for creating time-bomb trash

I feel like every discussion of airpods and e-waste on HN totally misses the mark. The average lifespan of a pair of airpods (across all users) is probably not very different than the average lifespan of a pair of wired headphones -- people lose/replace stuff all the time, and wired headphones fail because of stress! Just because 1% of eco-conscious power users are now forced to throw away usable headphones doesn't actually make a big difference in terms of total e-waste. Also, it takes ~4000 pairs of airpods being thrown away to match the by-weight e-waste of throwing away a single 70 inch TV. Even if you are just worried about batteries, a single e-bike battery is like 2000 times larger than an airpod battery. If one was trying to minimize e-waste through by improving the reusability, Airpods just seem like totally the wrong target compared to the hundreds of much larger products with slightly worse rates of reuse / recycle
How many people would need to be killed for you to consider the leak important? How many friendly countries involved in an ongoing war with your number one adversarial nation for the last 80s have to have their spring offensive plans impacted in the middle of a war would make this 'important' to your mind?
That's what makes this situation so bizarre. It's NOT that easy to get, and most of these classified materials are truncated and distributed separately. In the event of a leak, only a small amount of hard to assemble intelligence is exposed. It sounds to me like the entire command needs to be re-educated on handling intelligence.
> Y'all colonized the poorest parts of the city and gave the poorest folks nowhere to go, and you still complain when they dare to pop up where you are.

What leads you to conflate poverty with criminal activity, and proceed to victim-blame those who dare complain about criminal activity?
This exists, and it's a joint effort across a lot of tech companies: https://en.wikipedia.org/wiki/C2PA
I would like a print of Altman's t-shirt.
spending too much time on parallel construction I’m sure
Amen to that. It would be pretty amazing to write Rust for the UI everywhere.
Use both heavily. Vim is fantastic for editing one off files.

Emacs on the other hand is fantastic to work on a computer for a long period of time. I do use evil mode, as I do think it's a much better way to work in a file. Project management, magit, org-mode, being able to edit functionality of the editor within couple of mins to adjust for an temporary change/or indefinitely is what keeps me coming back to emacs.

I've tried vim variations that build in project management and all I'm missing from emacs, but left it at some own written telescope functions to cover base needs.

Love for both, but to me they are not comparable.

(Maybe because I picked up emacs at the same time a good friend picked up vim, and it's been a parallel editor journey for 6+ years)
Yeah, it's not Nazism unless it originates from the Bavaria region of Germany. Everything else is just sparkling white supremacy.
The amount of plastic you see in an iPhone package is a small percentage of how much plastic is used to manufacture the iPhone. Every single component is packed inside of plastic containers.
Privatized censorship is also known as the freedom of association, and a fundamental right both legally in the US, and morally as an inherent human right.
I don't want to be contrarian for the sake of it, but the fact that by luck the guy physically stalking you and immobilizing you happened to back down isn't really convincing me of the safety of SF or alleys.
If being street smart means "try to stay calm when possibly about to be stabbed and killed", I think I'll skip that lecture. I'd prefer if street smarts included how not to let a drugged up guy not get behind you and near you. And how to get out of a bear hug by a drugged up guy. Because "hoping he is nice" doesn't sound like a plan to me.
100%.

My own personal infuriating example: Postgres RDS takes way too long to roll out new versions, major or minor, even those with important security fixes. Their upgrade processes fail when you use PostGIS, so every major version upgrade is a massive undertaking (clone the database locally, upgrade the database locally, drop all objects from the existing RDS, upgrade the RDS, then restore from local). And while their latest versions have relatively recent extensions, those extensions are upgraded carelessly (e.g. PostGIS is on 3.3.2, but the underlying geos library hasn’t been upgraded for several years, and most of the new PostGIS features rely on the newer geos versions). It has gotten so bad we’ve been considering running Postgres on our kubernetes cluster. I can’t imagine the headaches being any worse.
Is there any tech advantages of this compared to the Nvidia cards? Afaik, CUDA is a standard de-facto for computing now, and AMD has a ROCm as an alternative. But I cannot find much comparisons online. Like what kind of tasks (in AI/ML/HPC/Mining/etc) can work more optimally on AMD hardware?
Show HN: A small utility to help you search images in a directory visually
Why we adopted Sentry Style Release Strategy
Theyll be rendered for their fat and ground into feed for pigs
Karabiner has this. I never could use this. I've tried mapping A to control when held down, but there's always false negatives because I hit control too fast. I've also tried many other keys and different timings, but nothing works for me.

Instead, I map a key to one thing when pressed alone and another when pressed with other keys. Works so much better. I can't live without this now. I really wish QMK had this functionality, but I think it's only available in Karabiner.
That's still murder. Stopping its operation is murder.
Television presenters and interview subjects are coached to answer questions like that, repeating the question before answering it- I wonder if that's where ChatGPT picked up that particular habit.
I haven't seen proof that it could be capable of those things so I will boldly assert it's definitely not doing that.

Everyone needs to calm down and realize we don't need to have all the answers right now.
Genetic programming has been around for decades. GPT/LLM based coding is not the only type.
I'd vouch for this.

Much like you can sign PDFs with your private key certificate[0], you should be able to sign any kind of file, including audio.

Even if my voice was AI-generated, I could endorse it by signing it.

All we need are CA's jumping into this bandwagon.

--

[0]: https://www.digicert.com/kb/document-signing/how-to-sign-a-p...
Even if you store API keys in code inside a distributed binary, isn't it pretty simple for users to mitmproxy and view API requests containing there keys sent? There's no real way to control API keys given out to users - if you want to hide them, you just have to proxy requests instead.
>Weiss figured out how to represent a complex image as a single hyperdimensional vector that contains information about all the objects in the image, including their properties, such as colors, positions and sizes.

How is this different from an N-dimensional embedding produced by, say, a convolutional neural network?
I agreed with the parent's sentiments initially. But then I saw your comment before the edit, where you had called this "uneducated loser mentality." I'm sad that you edited it, because you're also right.

>I loved the Tenderloin back then, even though it was terrifying. It was full of weirdos and loonies and junkies and poverty stricken artsy types like me, who had no power or desire in gentrification - we were just poor too. But we embraced where we were and didn't try to change it. The loin changed me far more than my presence changed it - for the better. It taught me compassion and empathy and how to avoid getting knifed by a junkie in the alleyway.

>But we embraced where we were and didn't try to change it.

Poor is fine. It's a hard life, but it's a state of being. Even being artsy and a little crazy; that's great. The rest of it though...? Why romanticize this? It's bad. We shouldn't romanticize bad. Learn your lessons, but let's want something better.
lol, yeah, I guess you can restrict scope but still, nice try
Isn't API key pretty much can always be recovered client side? If API key is hardcoded in the app it's trivial to get. If it's dynamically fetched it's also trivial to intercept the network call. I don't think there's anything you can do to prevent that.
Yip, time is worth something to us humans because it is scarce, without its scarcity it loses all value.
For the past hundred years or so, a lot of people moved to SF because it was nothing like Zurich.

It’s not reasonable even for the nouveaux riches of tech to expect to flip a city’s character in a decade.
the .vimrc I've been using for like 7 years has 8 lines
Absolutely. This trend has put me on track for a sort of internet retreat. I can’t know if anything I’m reading or hearing is real suddenly. Previously I could be critical of it and consider sources and try to be rational, but at this point it seems reckless to be immersed in this environment.

Even in terms of work, I’m suddenly put off by purely digital things. I want to interface with the real world, hardware, build systems that humans need. I’m very interested in AI, but it’s not a problem I’m solving and I suppose I don’t really want to compete with it or interface with it more than on an opt-in basis.
I've used emacs daily for maybe 15 years (and not as daily before that). I think I have a love/hate relationship with it. It's certainly the most customizable editor I can think of, but over time, that can be a burden. And its age means... the APIs are often not very intuitive. The terminology is often a bit strange.

I dunno. I can see why folks use VSCode.
Not yet, but we are excited to announce that we will be recording a live hands-on session for DataTalks Club Open-Source Spotlight next week together with Alexey Grigorev. To stay in the loop, you can subscribe to either our Twitter [1] or DataTalks Club [2]. We'll let you know as soon as it's available!

[1] https://twitter.com/dstackai
[2] https://twitter.com/DataTalksClub
If you're going to essentially integrate intelligence agencies from a data standpoint, storage and access protocols should probably be standardized (including with expanded SCI classifications/restrictions).
Software engineers, do you face impostor syndrome or boredom & disillusionment? Want more joy in your week? Click the link to discover what helped me.
I think we'll see media personalities move to a public key encryption model, where authentic streams are encrypted in some manner with a private key to verify their origin.
But apparently it was, technically speaking, a wrong assumption.
>It’s impossible to reason with anyone from SF who thinks the city isn’t that bad. Reality is most large cities are absolute trash now. But at least where i live i can talk with people who aren’t living in some reality distortion field

I'm 56 years old and have lived in NYC for most of my life. And I can tell you (and provide appropriate statistics if you're unwilling or unable to look for that easily available data) that NYC (I can't speak to SF, although my brother and his family lived there for many years -- including in the Tenderloin -- and I found it a delightful place) is enormously safer and cleaner than it was for the first 35 or so years of my life.

When I was a child, there were street gangs in most neighborhoods, people would put signs on their car windows noting the lack of valuables inside in hopes of not having their windows smashed (In one case, circa 1978-80 I saw a car with its window smashed and the little sign that had been on the window saying "no radio, nothing of value, and the perpetrator of the vandalism wrote "just checking" on the sign). You almost never see that any more.

Streetwalkers were in most neighborhoods (even the nice neighborhoods), leaving used condoms to litter the streets every morning, Times Square was a shithole. No Disney store -- mostly just porn shops and peep shows, and with con artists, robbers and other miscreants.

Cocaine (crack, mostly) was openly sold on street corners even in wealthy neighborhoods.

Homicides in 2020 were less than 1/3 what they were in 1980[0] (and while that number increased significantly in 1987, that was because of a change in classification when "cause of death" was "unknown", the death being classed as "homicide" whereas previously, those were not included in "homicides" previously[1].

So, no. Large cities (and SF among them -- although NYC is, on a per-capita basis even safer than SF) in the US are, for the most part, enormously safer than they were even 15 years ago.

And since you don't seem to have much of an idea of what's really going on (and maybe don't care if it doesn't fit your trained-in prejudices?), I'll give you a tl;dr: You're talking out of your ass and it smells that way too. Yuck!

[0] https://criminaljustice.cityofnewyork.us/wp-content/uploads/...

[1] I searched around a bit, but couldn't find anything online, but that's true for a lot of news from before 2005 or so. But it was big news, because (see graph in [0] above) "homicides" increased significantly due to this change.

Edit: Fixed typo.
then they get elected and your like...whaaat?
I'm using an iPhone 6S, I changed the battery after around three years. The only issue is it gets pretty hot sometimes, still not sure what it is but it's manageable.
All I can see are activists billionaires deciding my fate. Depending upon your political bogeyman, Koch brothers or Soros would only continue to amass power.