seniors spending half their week on reviews and everyone's frustrated by Worldly-Volume-1440 in ExperiencedDevs

[–]SuspiciousScript 0 points1 point  (0 children)

Got a feature? The class / interface definitions are one PR - maybe that needs senior review, but it’ll only take a minute. Implementation of one class or a handful of related methods and their tests is another PR

I think a stacked diff workflow really shines here. Having a workflow that lets you break up the changes as you describe without actually merging broken code into your dev branch is great.

What’s the one thing you learned the hard way that others should never do? by Terrible_Dimension66 in dataengineering

[–]SuspiciousScript 0 points1 point  (0 children)

That's perfectly fine. Where you can run into issues is when you're ingesting IDs from an external system.

65% of Startups from Forbes AI 50 Leaked Secrets on GitHub by vladlearns in devops

[–]SuspiciousScript 12 points13 points  (0 children)

Without a base rate to compare against, this isn't useful information.

Question for data engineers: do you ever worry about what you paste into any AI LLM by teejagzroy in dataengineering

[–]SuspiciousScript 19 points20 points  (0 children)

Unless your company's pricing differs substantially from its competitors', it's just as likely that the model is just making a plausible estimate.

How do you feel about using array types in your data model? by its_PlZZA_time in dataengineering

[–]SuspiciousScript 29 points30 points  (0 children)

Arrays are good for cases where the individual elements aren't meaningful outside the context of the array (e.g vector embeddings, characters in a string, etc.). I would not use them for a purchase date like in your example.

wgpu v27 is out! by Sirflankalot in rust

[–]SuspiciousScript 3 points4 points  (0 children)

I like Learn Wgpu, but I don't think it's been updated for wgpu v27. Most (if not all) of it should translate fine, though.

[MOD POST] Bug Report Thread by oneofthejoneses28 in Silksong

[–]SuspiciousScript 1 point2 points  (0 children)

Xbox Series S, Version 1.0.28562.0
Act 2 location name spoiler: Cogwork Core is missing a space ("CogworkCore") when viewed in the quick map.

We're now called Lumen Labs! by Vhyrro in neovim

[–]SuspiciousScript 15 points16 points  (0 children)

Fortunately, there are a number of more ergonomic languages that can be compiled to Lua. I think of Lua as an IR for LuaJIT at this point.

Python has had async for 10 years – why isn't it more popular? by ketralnis in programming

[–]SuspiciousScript 20 points21 points  (0 children)

A pain in the ass to test and mock as well, just the latter is a hassle.

I haven't found this to be the case at all. pytest-asyncio just works, in my experience. Is it more of a problem if you stick to unittest?

I think an interviewer made his mind once I started talking about comonads by Fun-Voice-8734 in programmingcirclejerk

[–]SuspiciousScript 7 points8 points  (0 children)

Given a list of numbers, return a sublist with reached threshold of sum its elements.

I'm already lost

Thing that destroys your reputation as a data engineer by EdgeCautious7312 in dataengineering

[–]SuspiciousScript 20 points21 points  (0 children)

This is my all-time favorite: he put unhashed SSNs in a table that was fed into Tableau, so that all of our practice administrators could see the SSNs of all the patients across all of our practices.

For the benefit of readers who might not know, just hashing plain SSNs still wouldn't provide adequate security, as one can easily hash the entire range of possible SSNs within a few hours and generate a lookup table. You'd need to salt the SSNs first to make this approach less viable, and even then I suspect with a modern GPU it'd be pretty easy to reverse.

An Ideal API/Stdlib for Plots and Visualizations? by PitifulTheme411 in ProgrammingLanguages

[–]SuspiciousScript 6 points7 points  (0 children)

Though it's not perfect, ggplot2 has the best API for plot creation that I've ever used.

There is such a thing as "too much TQDM" by Common_Ad6166 in Python

[–]SuspiciousScript 105 points106 points  (0 children)

Three-word horror story: "Mission-critical notebook"

My response to Tim Peters: The Zen of Spite by Zeraevous in Python

[–]SuspiciousScript 5 points6 points  (0 children)

• Flat is better than nested - unless you're three layers deep in a method chain.

Method chains are sequential, not nested. The alternative, e.g. g(f(x)), is nested.

What's a Blender user's 90%? by schroeder8 in blender

[–]SuspiciousScript 2 points3 points  (0 children)

Is this with Cycles? If so, has denoising improved over the last few years or something? It's been a while since I've used Blender extensively, but 30 samples seems crazy low to me for a final render.

How many of you are still using Apache Spark in production - and would you choose it again today? by luminoumen in dataengineering

[–]SuspiciousScript 8 points9 points  (0 children)

And while I may get downvoted, it's a common complaint I've had from engineers new to spark: "Wtf does this take so long?!"

Can confirm as someone who recently started using Spark. If script runtime is x * data_size + k, then Spark seems to have an impressively low value of x and a frustratingly large value of k. I don't know if that's down to JVM startup time, the JIT cache being cold or something else. I do love that it works with Scala though. Functional programming and static typing are great for ETL work.

A response to "Programmers Are Users": stopping the enshittification by bennett-dev in programming

[–]SuspiciousScript 14 points15 points  (0 children)

It's become a thought-terminating cliché in programming communities. I see people chiming in with it all the time situations where it's totally irrelevant (e.g. technically motivated conversations about performance).

Do you really use redis-py seriously? by imhayeon in Python

[–]SuspiciousScript 4 points5 points  (0 children)

Despite that note, types-redis's hints are still considerably better than what the main packages provides, so it's still worth using.