Readit News logoReadit News
r_hanz commented on Updating Desktop Rust   tritium.legal/blog/update... · Posted by u/piker
diath · 5 months ago
Yes, I was recently working for an updater for a game and that's essentially how I solved it. The updater renames the current .dll and .exe files to .dll.old and .exe.old, then downloads the new .dll and .exe files, then on next launch, the application looks for .dll.old and .exe.old files in the current working directory and deletes them.
r_hanz · 5 months ago
This is exactly how I've achieved this on Windows in the past. However, since writing that solution, I have come to understand that utilizing AppDomains (for .Net Framework) and AssemblyLoadContexts (for .Net Core) to load/unload the binaries seems to be the intended workflow.
r_hanz commented on Why America's economy is soaring ahead of its rivals   ft.com/content/1201f834-6... · Posted by u/kvee
ossobuco · a year ago
> cheap Chinese plastic junk will continue to eat the world

That's a thing of the past. Check the consumer electronics produced today in China. Mobile devices, EVs, infrastructure, newer products are simply incredible, and I'd argue ahead of western technology on many fronts. Cheap plastic stuff now gets produced in other less developed countries.

r_hanz · a year ago
Very much this. One of the best accounts of this progression I’ve read is the “AI Superpowers..” book by Kai-Fu Lee. China held the “Knock-off/cheap copycat” moniker in the 90s, 00s, and early 1Xs, but the tides are shifting in terms of the quality of goods they produced. They’ve also taken a page from American business and begun outsourcing “cheap labor” to other third-world nations, in addition to playing loan-shark to the likes of Africa… You have to hand it to the way the Chinese have gained their footing in “capitalism” since the 1980s.
r_hanz commented on How do cars do in out-of-sample crash testing? (2020)   danluu.com/car-safety/... · Posted by u/surprisetalk
david-gpu · a year ago
I wish car testing was less about the safety of the people inside of the car and more about the safety of the people outside of it, like pedestrians, cyclists and other vehicles.

After all, people buying a car already have a strong incentive to purchase something that is safe for themselves, but how many people put any thought into reducing the risk that the force upon others?

For context, pedestrian and cycling deaths have increased for the past decade in North America [0] and it is known that tall blunt hoods increase fatalities [1]. Yet, nothing is being done about it in NA as far as I know.

[0] https://www.npr.org/2023/06/26/1184034017/us-pedestrian-deat...

[1] https://youtube.com/watch?v=YpuX-5E7xoU

r_hanz · a year ago
How much of that increase can also be attributed to distracted driving (ie driving under the influence of mobile phones)?
r_hanz commented on Netflix buffering issues: Boxing fans complain about Jake Paul vs. Mike Tyson   sportingnews.com/us/boxin... · Posted by u/storf45
sylens · a year ago
Reminds me of Nucleus stuttering during UFC
r_hanz · a year ago
That show ages better every single day.
r_hanz commented on AI makes tech debt more expensive   gauge.sh/blog/ai-makes-te... · Posted by u/0x63_Problems
r_hanz · a year ago
The title of this article made me think that paying down traditional tech debt due to bugs or whatever is straightforward. Software with tech debt and/or bugs that incorporates AI isn’t a straightforward rewrite, but takes ML skills to pay down.
r_hanz commented on M4 MacBook Pro   apple.com/newsroom/2024/1... · Posted by u/tosh
AtlasBarfed · a year ago
Is the SSD still soldered, so if your macbook dies so does your data?
r_hanz · a year ago
Does iCloud mitigate this? It’s always confused me that iCloud is intended only as a data sync and not back-up… If one device goes down and the rest still work, could you still access data from the dead device?
r_hanz commented on Probably pay attention to tokenizers   cybernetist.com/2024/10/2... · Posted by u/ingve
r_hanz · a year ago
Very nicely written article. Personally, I find RAG (and more abstractly, vector search) the only mildly interesting development in the latest LLM fad, and have always felt that LLMs sit way too far down the diminishing returns curve to be interesting. However, I can’t believe tokenization and embeddings in general, are not broadly considered the absolutely most paramount aspect of all deep learning. The latent space your model captures is the most important aspect of the whole pipeline, or else what is any deep learning model even doing?
r_hanz commented on Making the Python back end for my new webapp   youtubetranscriptoptimize... · Posted by u/eigenvalue
sethammons · a year ago
I have grown to believe that python is not appropriate for any organization where multiple teams will work in the same codebase / repo. The system is prone to disorder and should be in the same category as perl for similar reasons.

Programming is a team sport and static types is just too useful and the bolted on typing is insufficient. We are burning, literally, millions of dollars in salaries to make python work at our org. It has been the same now at the four shops I've been a staff/principal level. Dynamic languages lend towards less maintainable code because the compiler offloads work to your squishy human working memory.

r_hanz · a year ago
I tend to agree, the flexibility that non-statically typed languages (i.e. Python) offer on smaller-scale projects (very) quickly diverges to chaos on larger-scale. With scale, rules and rigidity provide structure, without they provide verbosity and bureaucratic obstacles. Unfortunately “scale” is a gradient, not discrete, so there’s no “right answer” - hence the waste you experience. Ultimately, waste is in the eye of the beholder… “One person’s waste is another’s GDP.”
r_hanz commented on Ask HN: What's the "best" book you've ever read?    · Posted by u/simonebrunozzi
r_hanz · a year ago
- The works of Richard Feynman: All are very nice reads. - The Idea Factory (Jon Gertner): The only book I’ve read more than once and gifted to several friends and acquaintances. - The Silmarillion: Incredible World-Building - The Master and His Emissary (Mcgilchrist) Dense, but rewarding. Considerably changed the way I think. - God’s Debris (Scott Adams, yes, THAT Scott Adams) Read it in undergrad and not sure if it was a JIT kind of thing, but it impacted me.
r_hanz commented on Ask HN: What's the "best" book you've ever read?    · Posted by u/simonebrunozzi
noashavit · a year ago
Fiction : the history of love Non fiction: start with why
r_hanz · a year ago
As a fan of Sinek’s messages - I would recommend his Ted/YouTube talks over the books.

u/r_hanz

KarmaCake day16June 13, 2024View Original