Better HN
topnewbestaskshowjobs
Log inSign up

reactordev

11,606 karma · joined Mar 2, 2020 (6y ago) · 5,175 submissions

I’m not the droid you’re looking for, move along.
Submissions

comment 4y ago · link · parent

Wasn’t aware it was ending, just thought it came with more criteria (web3).

comment 4y ago · link · parent

I was going to write this as this is how I would do it but you beat me to it. +1

comment 4y ago · link · parent

I love this. It brings back memories of my first car. A ‘86 GT with a horse logo. I remember driving with my sister one day, explaining all the things that are wrong with it and my ingenious work arounds to justify it. Then her door swung open taking a turn too fast and she refused to ever ride in the car again.

This was a great read, thank you.

comment 4y ago · link · parent

Blender has a large market share. Other tools like renderman are used. Painting software such as Krita and others but Photoshop and Substance Painter are still king (windows). Unreal engine is gaining a lot of traction in the VFX digital set space.

comment 4y ago · link · parent

You needed that DX turbo boost too, huh? You pretty much sun up my experience as well except I had an older brother that gave me his old PC when he went to college.

comment 4y ago · link · parent

I got conditioned to commit early and commit often for much of the same reasons, hardware failures while dealing with code that touched hardware. GPU’s mainly. So I would commit and push to have CI do checks while I pushed more code changes so that I could reduce the cycle.

A few years ago, Acme Security Corp decided to use my commit frequency as an excuse to say “I didn’t know how to code…” and let me go. So really it’s all over the spectrum and the correct answer is, whatever your team is doing.

If they are holding back commits for uber PR’s, well, so should you. Are they in a commit frenzy and everyone PR’s all day long? So should you.

comment 4y ago · link · parent

The problem with this assumption is you think people “don’t know how to leave” so they must look it up on Google. I’m pretty sure people flee with family and friends together and don’t need instructions on how to get out of Dodge. You can look at news reports of the foot traffic coming from Russia. You can look at social media on the dissent with the war before Putin axed access. This skepticism is good for assessing the feasibility of a solution, it’s not good when peoples lives are on the line and there’s plenty of reporting from the ground. Wake up.

comment 5y ago · link · parent

Yes. Time invested given for free at the expense of other endeavors. I’m not arguing against doing any of these things. Just simply stating that time = money. I’d rather spend my money/time on model railroad building too. z scale ftw.

comment 5y ago · link · parent

Time is never free my friend. There’s always a cost model at play.

comment 5y ago · link · parent

You don’t need to check it in your browser at all if you wrote proper tests for it. TypeScript (with proper lint rules) is a huge win in my book compared to vanilla JS. That said, Rust’s compiler guarantees are best in class. The hot-reload, want to see it happen immediately, is great for quick prototypes but for large projects, nothing beats full coverage.

comment 5y ago · link · parent

I'd love to see this with wordpress filtered out. I think most small businesses and personal sites run PHP simply because that's what wordpress uses. Subtract wordpress from the php statistics and you get a real picture of "who's using what" without the skewed "I'm using php because I installed wordpress and I know nothing about building websites". This isn't to say people who know how to build sites don't use wordpress either, I'm simply stating that it would be more accurate to measure sites that aren't wordpress to see what languages are being used by companies on the interwebs.

comment 5y ago · link · parent

I mentioned nature

comment 5y ago · link · parent

then you have plenty of battery for an electric stovetop!

comment 5y ago · link · parent

That's a pretty expensive list of gear to turn your cross-over or SUV into a camper. Wouldn't it just be cheaper to buy a used Class-C RV? Possibly. You could also do this for 1/3rd the costs if you weren't so hell bent on recreating comforts of home. The main issue is power, shower, and cooking. For power, solar panels etc are a good option. Many SUV/X-overs now have outlets you could use in exchange for gas costs. Shower, well there's nature and then there's trucker stops here in the US that have public showers you can use. Cooking, a small 2 burner electrical stovetop will run you about $300. You'll need a battery bank to run it though. You can also use sterno-based camping cookery for 1/10th that but you need to keep buying fuel.

comment 5y ago · link · parent

Let's assume $4k in annual cost (avg) for a year of community college. Let's multiply that by 64,000 applicants. Let's assume only 50,000 actually were paid out as tuition grants (probably more, possibly all, but bare with me). That's $200m paid out. $256m if all were paid out.

comment 5y ago · link · parent

>implies that somebody can produce quality results in 50 minutes…

This is more a random fluke as much as sampling bias. Akin to someone either getting lucky or someone who is coming from a very similar environment. This isn’t a measurement that guarantees someone is competent, rather it’s a guarantee that someone is coming from just as incompetent an environment as you have.

comment 5y ago · link · parent

I believe this is the correct answer. It was the default for Netscape navigator back in early 90s. If you wrote an html page without styles it gave you a white background, blue hyperlinks, and times new roman font. As for why the default for NN was blue, I really don’t know other than the juxtaposition of it vs normal text. To claim it was mosaic would align with my history of it with NN though.

comment 5y ago · link · parent

Anecdotally I've had someone who was older than me, with less experience, talk to and treat me like a college graduate... They used soft language and acted like I didn't know what IoC was or how to model a domain. The guy was the worst coder of the bunch but for some reason he was in charge of the backend development because of his seniority. He was the worst developer/manager hybrid I've ever come across. It was a security software startup and he constantly challenged me with questions like "least privileged expansive" to describe the security models. I'd answer him, and a week later he would go through those motions again - and again. I definitely believe there is ageism in this sector, but I also believe it goes both ways.

comment 5y ago · link · parent

Absolutely this. It's easier to force younger coders into a slave-like work environment, complete with beer on tap, foosball tables, and other amenities to get them to live at the office to constantly work on the product(s). I can't say it's like that everywhere, but most startups are _designed_ to take advantage of their workforce to quickly "move fast and break things" looking for their market fit.

comment 5y ago · link · parent

While I'm a fan of both pydantic and SQLAlchemy, I feel like support for this should be more clear in pydantic. We have the `.from_orm` method and we have sqlalchemy model metadata. This project wraps them nicely but I shouldn't have to have separate glue code for this. Until we have cleaner pydantic/sqlalchemy integration for FastAPI, the OP's project will do just nicely. Great job. I fully expect FastAPI with it's reliance on pydantic to help push better support for ORM models though. Anyway, enough ranting and back to coding.

comment 5y ago · link · parent

Yeah, whatever, you know what’s coming next from my brothers room. Screaming, explosions, thrown keyboard. :D

comment 5y ago · link · parent

Hahahah, my brother and I used to play a lot of C&C growing up. C&C Red Alert as well. We would keep our bedroom doors open and yell at each other down the hallway. You’d always hear cursing when the dreaded “missile launch detected” sound effect was played.

One of the first Zerg strats was to build pillboxes around tree areas and build multiple barracks and just pump out soldiers the whole time. Send in the red army…

comment 5y ago · link · parent

Profit from the result, not the action.

comment 5y ago · link · parent

If you are putting business logic in your database, you are doing it wrong. I get your point. Which is why I said it’s sometimes ok to run with raw sql with your orm. The problem is your database is really great at storing and retrieving data. Keep it doing what it’s good at and do your aggregate work on a separate machine where you have cpu cycles to spare. This is the point. I’ve told people before about hibernate and it’s foreign key constraints on models - “sometimes is best to not define the relationship at the model and just make another trip to the database to load”. Heavily utilized databases are a bottleneck to your systems, stop making them do the work. Do it on the edge.

comment 5y ago · link · parent

That’s not what I said at all.

comment 5y ago · link · parent

It’s important to know the difference between a DAO and a DAL in my comment. Many are confusing the two.

comment 5y ago · link · parent

Bingo. This. If you’ve broken your relational model then go ahead and use raw sql with your orm. They all support a way of executing raw sql against your data. This is the exception, not the norm.

comment 5y ago · link · parent

The problem is not the orm, it’s how you are treating data. The ORM has features for doing “out of the box” sql if you happen to fuck up your relational model. Which you clearly have in your s/o post. It’s ok, we all make mistakes. SQL modeling has been screwed up many many many times. For these rare occasions where the orm doesn’t match the object model or the desired action you are trying to achieve, there are ways to use raw sql, when necessary. Your case, it’s necessary as the relational model is broken.

comment 5y ago · link · parent

Took the words right out of my mouth. As someone who has been adamant about using orm’s for the last 15 years, it shocks me to no end that an engineer (or group of engineers) think they can roll a DAO better than a battle hardened orm like SQLAlchemy, Hibernate, Entity Framework. It’s hubris in the least and straight arrogance at best.

comment 5y ago · link · parent

For cloud workloads, I prefer alpine on Amazon Linux 2 hosts. For desktop, I prefer Elementary. It's great to see an update on the best (imho) desktop distro.
1
157158159
173