Readit News logoReadit News
gary17the commented on Swift is a more convenient Rust (2023)   nmn.sh/blog/2023-10-02-sw... · Posted by u/behnamoh
gary17the · 9 days ago
If you want more convenience from Rust and do not want to mess with Rust borrow checker, you do not really have to switch to Swift: you can rely on Rust reference counting. Use 1.) Rust reference-counted smart pointers[1] for shareable immutable references, and 2.) Rust internal mutability[2] for non-shareable mutable references checked at runtime instead of compile time. Effectively, you will be writing kind of verbose Golang, but keep Rust expressiveness.

[1] https://doc.rust-lang.org/book/ch15-04-rc.html

[2] https://doc.rust-lang.org/book/ch15-05-interior-mutability.h...

gary17the commented on After two years of vibecoding, I'm back to writing by hand   atmoio.substack.com/p/aft... · Posted by u/mobitar
gary17the · 15 days ago
> In retrospect, it made sense. Agents write units of changes that look good in isolation. They are consistent with themselves and your prompt. But respect for the whole, there is not. Respect for structural integrity there is not. Respect even for neighboring patterns there was not.

That's exactly why this whole (nowadays popular) notion of AI replacing senior devs who are capable of understanding large codebases is nonsense and will never become reality.

gary17the commented on Show HN: Gemini Pro 3 imagines the HN front page 10 years from now   dosaygo-studio.github.io/... · Posted by u/keepamovin
gary17the · 2 months ago
Sh*t, still no word about "Rocky XXXVIII".[1]

[1] "Airplane!" (1980)

gary17the commented on Ask HN: What's the hardest part of being a founder?    · Posted by u/paulwilsonn
gary17the · 5 months ago
In the mobile app market, a financially-viable or organic (non-paid) long-term marketing plan is the hardest. First testers can be hired. First users can be paid for with Google Ads/Apple Search Ads, etc. Depending on the competition, sustained user-base growth can become a next-to-impossible problem to solve.
gary17the commented on Ask HN: Simple Relation Database Options    · Posted by u/takayashi
gary17the · 7 months ago
If you have an iPad, perhaps have a look at modern general-purpose database apps[1], for example the object-oriented easyAsPieDB[2]. Object-orientation allows an end-user to define relationships among the relevant pieces of data in a conceptual manner, for example by using Composition (e.g., a House is composed of Rooms) and Association (a known Product is associated with a particular Order), while relational databases such as Microsoft Access force an end-user to define relationships among the relevant pieces of data in a more technical, structural manner, for example with Tables including generic "Foreign Keys" to other Tables.

[1] "Best Database Apps for iPad", https://sourceforge.net/software/database/ipad/

[2] "easyAsPieDB. An easy-to-use database app for non-technical users.", https://www.rfcons.com/database/

gary17the commented on Ask HN: Are you scared of AI and advancements in next few years?    · Posted by u/hypetrain
gary17the · 7 months ago
I think the only reason vibe coding/prompt engineering seems to be taking over programmers' jobs is the fact that it currently enjoys the status of the latest investment craze/fashion such as blockchain did a few years ago and the dot-com boom did even earlier. In a few years projects based on AI generated code spaghetti will start to quietly fail one after another due to accumulation of technical debt and the necessity for manual, costly codebase rewrites and the whole AI coding train will come crashing down just like all other unrealistic, "new economy" fads before it. Companies will get desperate to hire decent programmers back and things will be back to normal.
gary17the commented on Ask HN: Worth leaving position over push to adopt vibe coding?    · Posted by u/NotAnOtter
gary17the · 7 months ago
Vibe coding/prompt engineering automatically accumulate "technical debt" of spaghetti code and thus with time cause every larger project to fail. Sooner or later you will be asked to fix all that AI mess in your company codebase and when you respond that you are unable to do so without a major, manual rewrite, you will probably get fired. Stay at your job for as long as possible, but start searching for a new position ASAP in an organization that declares up front that they do not intend to use AI for their codebase as a matter of company policy. There are actually companies out there already that make that kind of choice, but it might take a year or two for you to find such a job in the current job market. If all else fails, switch to the Linux kernel/driver development specialty with C/Rust for companies like Canonical.
gary17the commented on Ask HN: What are your peronsal data backup and sync setups?    · Posted by u/shelled
gary17the · 7 months ago
The Backblaze cloud and restic.
gary17the commented on If the moon were only 1 pixel: A tediously accurate solar system model (2014)   joshworth.com/dev/pixelsp... · Posted by u/sdoering
gary17the · 8 months ago
How does all that space out there make you feel about the 30 years of paying off your mortgage for all that 0.25 acres of land you own? ;) J/K
gary17the commented on Ask HN: What is something AI won't be able to do, if anything?    · Posted by u/cheerioty
gary17the · 8 months ago
I don't get all this prevalent "AI will replace everyone!!" hysteria. AI might be indeed pretty good at writing small, self-contained pieces of code such as a simple app or an API usage sample (in reality, not creating, but rather quoting or combining others' code), but AI fails miserably and utterly at maintaining larger codebases, not to even mention large, commercial-grade code repos. All AI can produce en masse is pathetic spaghetti code with no real-world commercial value. It actually takes longer for a human programmer to un... screw what AI has written than to write it all from scratch in the first place.

u/gary17the

KarmaCake day840April 15, 2019View Original