Better HN
topnewbestaskshowjobs
Log inSign up

dkryptr

33 karma · joined Apr 27, 2020 (6y ago) · 25 submissions

Submissions

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

To be fair, that's not a very formal resignation. He just... quit.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

I feel kind of bad saying this, but too little too late in my opinion.

comment 3y ago · link · parent

https://linear.app is nice. I haven't used it with a large group but for some personal projects and it works nicely.

comment 4y ago · link · parent

> 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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

This is the way. (my setup is 1:1 it sounds like)

comment 4y ago · link · parent

That's essentially the selling point behind Zicam and other homeopathic drugs.

comment 4y ago · link · parent

Traefik is great, but their documentation is awful IMO. I moved to Caddy which I prefer currently.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

TIL. Thank you!

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Their comment is on the wrong post. I think they meant to comment on this post: https://news.ycombinator.com/item?id=27689664

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

What makes Microsoft software "much worse"?

comment 6y ago · link · parent

I'm not familiar with website development to know whether you're being sarcastic or not. Is it actually a good thing?

comment 6y ago · link · parent

It seems this thread and all of the comments are a windows-hate circle jerk.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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?