News for hackers. Stuff that matters.

dkryptr

Re:What UI density means and how to design for it on Tuesday May 21, 2024 @05:06PM (#40433924)
Even if you have the full menu on your phone, you still have to zoom into the menu to read it and pan the view. I don't see how that's any different from scrolling through a categorized menu in a website on your phone.
Re:Greg Brockman quits OpenAI on Friday November 17, 2023 @11:55PM (#38315444)
To be fair, that's not a very formal resignation. He just... quit.
Re:Rocket v0.5: Stable, Async, Feature-Packed on Friday November 17, 2023 @05:05PM (#38311119)
Agreed. When I first considered porting small APIs over to Rust, Rocket appeared to be the most popular besides Actix. Axum hadn't even came out (it came out a month later and we ended up using it even though it was in its infancy). It's pretty unfortunate because Rocket could be amazing but the lack of updates killed it. See you guys in 5 years when v0.6 comes out.
Re:Rocket v0.5: Stable, Async, Feature-Packed on Friday November 17, 2023 @04:56PM (#38311035)
I feel kind of bad saying this, but too little too late in my opinion.
Re:Taiga: The free and open-source project management tool on Tuesday December 06, 2022 @01:15PM (#33884585)
https://linear.app is nice. I haven't used it with a large group but for some personal projects and it works nicely.
> Except that I read that it's great for writing, but a nightmare for reading.

This is true at first. I can see it being pretty daunting to come into an existing project and trying to understand the styling of components. Starting from scratch and easing it into an existing project is much easier imo. That's what I did for a personal website. Now that I understand it and have converted the entire website to Tailwind, I don't want to switch to anything else going forward.

Here's a Prettier plugin that sort the classes to keep everything consistent across components: https://github.com/tailwindlabs/prettier-plugin-tailwindcss

Tailwind combined with classnames (https://github.com/JedWatson/classnames) makes it really easy to have conditional styling based on component state.

Re:Next steps for Rust in the kernel on Wednesday September 21, 2022 @11:13AM (#32926287)
I started with the book to learn the fundamentals. I didn't get very far before I decided to rewrite an existing API I had in Python into Rust.

It definitely took some time and learning but now I have 6 Rust API microservices, a few scheduled/queue-reading services, and a shared library for common models/utils/providers.

Re:Using Windows after 15 years on Linux on Thursday April 07, 2022 @03:27PM (#30949232)
This is the way. (my setup is 1:1 it sounds like)
Re:The Uselessness of Phenylephrine on Wednesday March 30, 2022 @04:17PM (#30860253)
That's essentially the selling point behind Zicam and other homeopathic drugs.
Traefik is great, but their documentation is awful IMO. I moved to Caddy which I prefer currently.
Just a heads up that the privacy policy and terms and conditions pages are not showing up. The page loads, but there's no text where it looks like there should be.

https://www.airsoftbazaar.com/help/terms-and-conditions https://www.airsoftbazaar.com/help/privacy-policy

Re:Tell HN: AWS appears to be down again on Wednesday December 22, 2021 @11:14AM (#29651247)
TIL. Thank you!
Re:Tell HN: AWS appears to be down again on Wednesday December 22, 2021 @10:12AM (#29650340)
100% agree. I'm actually surprised AWS hasn't built in a Chaos Monkey into their APIs/console so people can test their resiliency regularly if an AZ goes down.

edit: of course, AWS does have this: AWS Fault Injection Simulator

Re:Tailwind CSS v3.0 on Thursday December 09, 2021 @02:40PM (#29501931)
I work on a large Next.js project that has at least 100 custom made components all using Tailwind CSS. It is, without a doubt, the best way to iterate and make changes. I will never go back to manual stylesheets. Having a separate CSS stylesheet feels like context switching and breaks the flow of development in my opinion.
Re:My ideal Rust workflow on Wednesday October 27, 2021 @10:27AM (#29013720)
I've developed multiple microservices in Rust (using axum[0]) and cargo-watch[1] has really come in handy. I usually only have to wait ~5 seconds for my changes to re-compile and the server to spin up.

I can't really speak for massive projects, but in my experience after the first build the compile times aren't too bad. Only the changed code re-compiles.

Another commenter mentioned they can code for hours without needing to re-compile and I've found that to be true also. I use rust-analyzer[2] in VSCode and I can usually get a lot done without needing to manually test every change. I guess it depends on if I'm writing logic heavy code or writing code-architecture (custom traits, implementations, and whatnot)

[0] - https://github.com/tokio-rs/axum [1] - https://github.com/watchexec/cargo-watch [2] - https://github.com/rust-analyzer/rust-analyzer

Re:Software Engineering principles to make teams better on Wednesday June 30, 2021 @04:21PM (#27693011)
Their comment is on the wrong post. I think they meant to comment on this post: https://news.ycombinator.com/item?id=27689664
Re:Vercel raise $40M Series B on Wednesday December 16, 2020 @10:44AM (#25443902)
I don't think there's an official recommendation. Any database host will work just fine. However if you want to optimize based on location, here are the regions where Vercel hosts: https://vercel.com/docs/edge-network/regions#routing. So hosting a database in AWS in any of those regions probably makes the most sense.
Re:The End of OS X on Tuesday June 23, 2020 @06:28PM (#23621181)
I've been using a MacBook for ~5 years full-time for all sorts of development (including frontend JavaScript, backend APIs, big data involving hadoop, etc.) and I've never used launchpad. I don't see why it can't be ignored? I don't even have it in my menu bar.
What makes Microsoft software "much worse"?
I'm not familiar with website development to know whether you're being sarcastic or not. Is it actually a good thing?
It seems this thread and all of the comments are a windows-hate circle jerk.
Re:Domesticating Kubernetes on Friday May 01, 2020 @01:28PM (#23044413)
I've used Nomad by HashiCorp and it's been really nice to use. Though I haven't needed to scale it up a ton so I can't comment on that, but the day-to-day deploying of updated apps is nice and works well.
Re:Rules of thumb for a 1x developer on Thursday April 30, 2020 @11:18AM (#23031773)
I'm not sure if you're looking at large organizations or what, but where I've worked in the midwest (one company with less than 100 employees and a startup with 5), both have had software engineers/developers older than 40. In fact, we sometimes hired people that were specifically older with more experience at the company with less than 100 employees.

Maybe you just need to tune which companies you look at and/or lower you salary expectations. I'm not sure honestly. Just thought I'd try and give you my experience.

Re:I Spent $6M on Google Ads Last Year on Monday April 27, 2020 @12:46PM (#22997495)
It's new to me. I did some research on Urban Dictionary (lol), and the definition for the usage of "Creative" as a noun was defined there as early as 2004. So I guess it's a usage that's been known for a quite some time.
Bazel works great for our pretty simplistic monorepo. My main gripe is that it's a pretty big pain to add support for custom build requirements. There have been times where it takes a whole sprint to implement build functionality because, imo, it's hard to run with unless you've been in the ecosystem for a while to understand everything.

I'm curious though, am I the only one who feels this way?