Better HN
topnewbestaskshowjobs
Log inSign up

serial_dev

6,535 karma · joined Mar 8, 2019 (7y ago) · 1,560 submissions

Submissions

comment 2y ago · link · parent

It's always incapable product owners and business people who don't understand security but think they do.

comment 2y ago · link · parent

Discussion about the US dollar misses the point.

They do it because they can, basically we all live under the influence of the US empire, they can put pressure on most banks of they really want to, and if they really want to, details like which currency was used will not stop them.

comment 2y ago · link · parent

Like I could care less (but the "like" is silent)

comment 2y ago · link · parent

Yeah, that's why you have only 100 requests* when you hover over an item instead of 800.

(* allegedly, didn't verify it myself)

comment 2y ago · link · parent

I agree with everything you wrote, it's the mindset I wish people would have.

One note, though, in this case, it wasn't the generative AI that was racist, it's the people who added the extra configuration of not allowing (or at the very least, strongly discouraging) white people in their images. The racism wasn't a bug (like in the past with the gorilla incident), this time it was a feature that was deliberately put there.

comment 2y ago · link · parent

To be honest, whenever I read about a politician that he/she is accused of implementing policies that experts have characterized as fascist", my only thought is "Who wasn't?"

It means nothing, and I hope more and more people realize that it's all just propaganda and low-effort, mealy-mouthed slander.

comment 2y ago · link · parent

It means that they will charge you 20k (a year's rent for me, no biggie) instead of 100k for your free website, or 5k if you got lucky.

comment 2y ago · link · parent

Just sharing this as a different point of view that might help you get out of the rut, it's not meant to discourage you...

Hollywood, social media are all glorifying the hustle culture, keeping us all delusional that if you just keep working hard, in the end it will all be right. "Don't ever give up because you only lose if you give up".

That's all fine and dandy and makes for great movies, and YouTube videos, but in reality, some people should just give up, or at least instead of working longer and harder, they should really think about why they keep failing.

Maybe you need to touch some grass, find a hobby, be less obsessed with whatever it is you try building. Maybe you aren't listening to your customers, or you're terrible at sales, marketing, product, design, software development or all of the above.

Sometimes, the best decision is to give up and move on to new things in life, and do what you enjoy instead of hoping you'll be Mark Zuckerberg.

(based on personal experience: for so long I wanted to be a physicist because I didn't want to "give up", not realizing that I can just "write off" the university years in my mind, and move on with my life. The moment I did that, I felt free, doubled down on software development that I actually enjoy and I'm good at, giving up was the best decision in my life and I wish I did that sooner)

comment 2y ago · link · parent

The point is that you don't need to read in the whole file before you can start working with the data.

This is great because it saves you memory (don't need to store the whole thing, your can store one line at a time depending on your specific issue), latency (don't need to wait for the whole file to be read and parsed, you start immediately after the first line), etc. Huge JSON files might be also too big to load into memory. You can read one line at a time, you can stream your lines, process your input across multiple computers etc.

And, as it's just json lines, you also don't need to invent a new notation, specialized tools, etc.

comment 2y ago · link · parent

I thought this was going to be an article about the Agile Industrial Complex or Clean Architecture.

comment 2y ago · link · parent

2024 will be the year of Mastodong.

comment 2y ago · link · parent

... A solution for which problem...

comment 2y ago · link · parent

I wouldn't be so sure. As an employee and team member, you'll be better perceived if you do your share of performative firefighting every one in a while. I wish it wasn't true, but it usually is. (Though at remote teams, it's less and less true, with the remote teams I was on, nobody really cared).

"wow, last week we had such nasty bug, impossible to track down, also caused production reliability issues. Tom stayed up all night, and finally pushed the fix at 3 in the morning."

Now, if you then say that it wouldn't have happened if 1. Tom didn't overcomplicate the system, 2. Tom learned our tools properly, 3. Tom actually understood the requirements and at least tested his changes at least once manually, 4. Wrote good code so that it's easy to troubleshoot 5. Wouldn't have forced a rushed PR review together with the product owner.

You'll just sound like a bitter, know it all.

comment 2y ago · link · parent

There is no need to implement large scale censorship and moderation in this case. Where is the security concern? That I can generate images of white people in various situations for my five minutes of entertainment?

The whole premise of your argument doesn't make sense. I'm talking to a computer, nobody gets hurt.

It's like censoring what I write in my notes app vs. what I write on someone's Facebook wall. In one case, I expect no moderation, whereas in the other case, I get that there needs to be some checks.

885.

Google Comms statement on Gemini's historical image Gen inaccuracies(twitter.com ↗)

1 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

I would add an example on how to alias "rm" to your tool so that I don't need to remember to use your tool yet I stay safe.

Whenever I type "rm file" it should be redirected to your tool with the trash option.

887.

Professional Programming – Learning resources for software engineers(github.com ↗)

2 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

I'm in almost the same boat. Speed absolutely matters, but you only notice it when you don't have it.

I'm working on a large Dart project and a long time ago someone thought that having the project split up into 100 packages would be a great idea (it's not).

My previous editor was IntelliJ as I am used to its keyboard shortcuts, but it struggled with our setup: constant freezes and even if it didn't freeze, it would take seconds until the suggestions came up (or when I wanted to rename a local variable, smh).

I was so frustrated by it, that I installed helix, it was fast so I'm now learning to use it as my daily driver.

I have now both open, doing my editing on helix, and if I feel like I can go something faster in IntelliJ (which now happens less and less often), I do that little thing in IntelliJ and come back to helix.

Why helix: it's "great by default" and I didn't have much success with setting up and customizing NeoVim (it didn't feel good, the plugin were annoying to learn, and it started to slow down). I'm sure it a skill issue, but helix just works for me, and I can live without plugins for now.

comment 2y ago · link · parent

> In gitlabs case this is much less relevant (...)

Why, though? GitLab is often self hosted, so being able to iterate through objects, like users, can be useful for an attacker.

comment 2y ago · link · parent

I'm using ChatGPT occasionally and it's increasingly difficult getting straight answers with it. It's been neutered, you can't ask anything even slightly controversial.

Having uncensored models is great.

comment 2y ago · link · parent

My assumption is that 98% of people have no idea what the right sample size is for this particular experiment, including myself of course.

To all who criticize and ridicule someone who would like to have more samples, why do you think 21 is such a perfect number in this case? Wouldn't 15 be enough, if statistics and all applies? 10? 1? Would 30 be too much?

comment 2y ago · link · parent

The only thing missing is CSS that works (layout was messed up on my phone).

comment 2y ago · link · parent

I, for example, am very happy that the Helix editor exists, which could be considered a clone of Vim (if you squint a little).

I'm pretty sure the authors of NeoVim heard wise advice like yours, but I'm happy they continued.

comment 2y ago · link · parent

They (we?) could use AI for that, why would you write it by hand?

comment 2y ago · link · parent

I'm "Rust curious", but I'm coming from a web/app background (Dart, JS, TS, Java, Python), so take my ideas with a grain of salt.

1. One context, which appears to be yours, is when a team or individual has extensive C++ experience.

You see, for me, learning C++ with all its decades of good/bad parts feels overwhelming, so Rust makes sense for me even if it's still the hardest language I've ever learned, but as you are already an experienced C++ dev, it might make sense to continue cpping.

I'm used to simple, standard formatting tools, packaging, dependency management (Rust is great in that sense even for beginners), so to figure out how that's correctly done in cpp in 2023 would be hard. But again, for you, it's easy, you already know all that!

Apart from that, I guess there can be libs that are great in C++ and still lacking in Rust.

Also, need to consider if memory safety is really such a big issue for you and your future project.

comment 2y ago · link · parent

I didn't see the original, so I'm not really emotionally invested in the thing, but it's a good learning opportunity.

IMO it's deceiving and dishonest to fake an elaborative creative process and tell the viewers it's something that it isn't.

On the other hand it's also a good reminder that only because a puppy eyed artsie guy makes a 7 minute documentary-style video that looks completely honest and believable, it doesn't automatically make it honest and true.

It was time I learned that, I added the "arts behind the scenes" category videos to the fake prank videos, pickup videos, political commentary, and product reviews. Everyone lies.

1
293031
52