News for hackers. Stuff that matters.

jguzmanjr

Care to explain??
You mad bro?
It’s Microsoft. What else did you expect ?
I’m a fan of Rust. Discovered it in mid 2020 and am loving every piece of it. It does have its warts (e.g. incomplete async story) but what language doesn’t? In particular I like its chatty compiler — lots of d’oh mistakes are caught while the code is still fresh in my mind for example. I also like reading blog posts about Rust; currently going through this: https://fasterthanli.me/articles/some-mistakes-rust-doesnt-c...
Re:Ask HN: What programming language should I teach my child? on Wednesday January 12, 2022 @07:15PM (#29914882)
Depending on the age, block based visual programming to create 3D worlds might pique her interest: https://www.alice.org/
There’s System76. They sell workstations and laptops geared towards STEM professionals.
Re:Ask HN: How do you handle CI/CD for databases on Tuesday September 21, 2021 @08:19AM (#28604273)
We use sqx: https://github.com/launchbadge/sqlx. The devs create and commit the up/down migration files and the cicd runner runs the migrations against the db.
Re:Ask HN: What's a tool that has made your life 10x easier? on Sunday September 19, 2021 @12:19PM (#28585525)
This extension to search anything Rust on Rirefix: https://addons.mozilla.org/en-US/firefox/addon/rust-search-e...
Re:Ask HN: Go-To Web Stack Today? on Sunday September 19, 2021 @12:17PM (#28585500)
I recommend giving Actix Web a try, was able to use the knowledge of Python Flask to build it. Rust has sum types which makes development much nicer especially with all the inevitable business logic that is associated with backend web dev.
Re:Ask HN: Career Advice Node.js vs. Django route on Friday September 17, 2021 @10:57AM (#28566216)
I don't think the choice of language/framework matters too much in the grand scheme of things provided you understand the concepts behind the decisions that languages/frameworks make for you. So pick whichever piques your interest.

As far as job prospects, my bet is on Rust/Actix. I'm pitching the idea of creating new micro-services with Actix to my company. (We're a Java shop). I implemented a simple proof-of-concept api server that takes in a single type of request, runs some business logic, makes a db call and returns a response with additional fields. Preliminary testing has shown that the Rust/Actix implementation is 5x faster at processing requests compared to the Java/Spring implementation.

I'm in a similar boat to op. I love my MacBook Pro (and other apple products) but after the Apple debacle, I've decided to go back to Fedora.

I'm building my own custom 16 core 64GB 7000MB/s NVMe workstation but if I were looking for a laptop, I'd consider the ThinkPad X1 Carbon Gen 9. I found out about it through the Fedora Magazine website. Interesting thing about the laptop is that you can order it with retina screen. Just choose 3840 x 2400 14" option. The laptop comes preinstalled with Fedora so you know it's Linux friendly at the least.

I love “This American Life”. I usually play it during long road trips. The best episodes make me tear up — it’s that good!
Re:Would love a nice golang mentor on Friday August 13, 2021 @09:58PM (#28177112)
For live help I highly recommend Discord servers. I’m a member of the Rust Community Server and love hanging out and helping however I can. As others have mentioned you can join the Go discord server. If you don’t know how a Discord server can help you, watch this (it’s Python specific but applies to any programming Discord server)

https://m.youtube.com/watch?v=ZH26PuX3re0

Re:Ask HN: Is Learning Rust a Must? on Monday July 19, 2021 @12:59AM (#27879419)
I’ve used this book in the past to learn modern C++: https://www.amazon.com/dp/1484233654/ref=cm_sw_r_cp_awdb_imm...

For greenfield projects I’d opt for Rust over C++.

It's 2.96 MB large so about the size of a high quality photo. My webapp doesn't have many pages yet so I expect this to grow by a couple KB.
Re:Ask HN: Is Learning Rust a Must? on Saturday July 17, 2021 @02:21PM (#27867674)
Please keep in mind that there is more to software dev than web programming. Rust may not be popular as as server language now and never may be, but there are multitudes of other reasons why one should consider learning Rust.
Re:Ask HN: Is Learning Rust a Must? on Saturday July 17, 2021 @11:18AM (#27866373)
I would say it depends. Rust aims to solve perennial issues in software development by bringing as many issues “forward” in the development cycle. The way I think about the tradeoffs personally is that Rust is more "durable" than other languages. Its more rigorous type system and compile-time checks pushes more of your failure case discovery early into the development cycle while you're still getting it to compile, as opposed to runtime testing and debugging. There's less followup patching and bugs to discover because Rust usually makes you handle them up-front - particularly if you embrace the type system.
Re:Ask HN: What is the most *fun* web development stack? on Thursday July 15, 2021 @07:16PM (#27851213)
I’ve been using Actix-Web for the backend and Seed-rs for the frontend and it’s been a blast. One language to run on the server and in the browser. I admit I still have to write scss and know html but that’s no biggie. Biggest pro for using Rust, no more json! I use message pack with compact representation and my data just zips from my webapp to my server without a hitch. Not having to wonder if a field is potentially null in some deeply nested object is a magical feeling.