Details
-
AboutAngry, opinionated. (js stinks). Touched almost everything CS. Master of none. Always on the learn.
Joined devRant on 11/9/2020
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Specially since, when it was brought up to him in the official GitHub, he just brushed it off as "people need to know about my new product". Which is legitimate, but still a dick move. Why would I ever trust anything you do, if you are willing to break millions of pipelines just because of your greed?
If you feel it's not worth it for you to maintain the package, let community handle it. -
@whimsical
It's not about complexity or what retarded AI models do.
This was a package, used by millions (not me anymore tho) that out of the blue broke whichever CLI tool that depended on his shitty library. (It's not shitty, but the author is)
It was a dick move no matter what. I already have my replacement, and I will not look back. It's gonna backlash on him *hard*. -
@Wisecrack
Problem arises basically when you think the scheduler is deterministic.
(And by all means it is, internally), but that's not part of the "API" of a CPU.
So, as a user app, you cannot have any guarantees to the behaviour of the scheduler, and thus, it's not deterministic. -
The idea had merit, but it glossed over all the technicalities of the superscalar computers of today.
Not gonna repeat what knowledgeable people already said, just that from theory to practice there's a leap.
And "lock-free" doesn't automatically mean "better".
Multithreading is like the Hydra. Cut one problem and two will spawn. Stay true to the building blocks people smarter than any of us have built. -
Never big on writing music since I have too much of a kartoffenkopf for it, but playing, yes. Every day.
-
Well, at least in Europe, your identity is your national id document. Whatever is there, flies.
You can't have two, well, because you can't. You can modify your current one, sure, but that's it.
At least in Spain, even if you claim theft or loss, they'll check your fingerprints again and find out. -
This actually bit me in the ass today.
My fault for allowing major version hoisting.
The motherfucker maintainer of dotenv decided he would push a new major version (which, in his defense, is okay, breaking changes are allowed), where the breaking change was his fucking module writing an ad for his newest, -more powerful, more SaaS, and more everything- module.
Yet for those of us who expect stdout to be, well, output... It fucking borked everything.
Raged hard at that one. I mean, I get being an OSS maintainer is thankless work, but even for a breaking change, that was a dick move. -
@TeachMeCode
Base 64 uses uppercase and lowercase English alphabet, digits, + and / XD -
Like, seriously, converting an int to base 32 (dunno why but ok). Just fucking take modulo 32^n repeatedly (and figure out how you wanna represent 32 values).
Also asking how to solve CORS errors in the frontend.
Or 3D programmers asking how to calculate the angle between two vectors... (They failed to even know what a vector is, they kept repeating the unity class names).
Why do I know? Because they asked me! I told them like "take the vector from your object origin to your target origin, (a simple substraction), normalize, and acos() the coordinate of the angle you want."
They were utterly baffled. I'd think someone working on 3D experiences in Unity would have at least very basic algebra knowledge....
Guess not... -
@Lensflare Fovel, not stretched... zen ve can Talk.
-
I don't know why people would say direct 3d is verbose or horrible.
I mean, their main competitor literally copied the style when designing Vulkan so...
And while you can kinda get by with open gl and Vulkan nowadays, of you wanna do real shit on windows, it's directx or the highway. -
Well, appendicectomy is usually done by laparoscopy nowadays, so you do get a small scar in your left side as well.
-
@hjk101
It's basically a glorified linter, but it has context from the internal issue tracker and chat so it's trained on what trips other devs in the team and kinda checks for that too. Not really more annoying than your usual code review, except it's a machine, doesn't have feelings, doesn't hold grudges, and can trust it's not out to get you and annoy you no matter what. -
@Lensflare
But sigabortion is legal XD -
Quality will be just around 90v phase degrees behind.
The knowledgeable senior did his job and left. Juniors need to pick the slack and become seniors. That's the phase disparity, and in the middle, spaghetti happens. -
Easy. Look at the curve of IT engineer salaries. That pretty much reflects the distribution of quality code.
Good engineers aren't paid for trade secrets. They'll mostly push for divulgation, because that leaves their mark (and possible portfolio), and have the luxury to push, argue and/or ignore.
So they'll always be in demand, but they are expensive, and thus, companies pressure their mid devs (because they don't wanna pay a senior) to take responsibility without compensation. -
@12bitfloat
@Lensflare
I said this before. Will say again. We all can read code. We can not read intent. Comment intent, not just blindly repeating what code evidently does.
Sure, if you use some obscure technique like quake fast sqrt by all means comment.
In the end, it's all about being able to put yourself in the shoes of anyone new to your project.
In nVidia, it's enforced that anything that is pushed must build, and our AI assistant can actually tell (because it analyzes frequency of use and such) whether what you implemented is easy enough to maintain.
It only flags when it doesn't understand what we try to do, and forces us to comment (again, intent) the AI has a compiler, and therefore knows better than us what code is trivial and what is doing esoteric shit -
After all, rust may not have this problem (or so he claims), but, it shit hits the fan, and unsafe is used, and an unexpected object is created, C++ can just call sigab(o)rt, but Rust's garbage collector doesn't know what to do with it... So it lives. To adulthood.
So yeah. Rust wants to be NSFW, but its overly strict upbringing by parents who forgot they were also children holds it back.
That's it. In my head it's a spectacular meta-joke. I'll be fine if just one person finds it funny. XD -
Noobs.
C++ is the kinkiest of them all. Accepts all sorts of deviations C would object (bad um tshh) to,
requires esoteric codewords for safety, and can interface with pretty much anything you want, if you don't mind the ocasional mangling... (Liberal full-gcc, ocassional-clang or prude MSVC).
Rust is like, "I wanna play, but don't want to get any STD- sorry, L-, so I'll try to play and preach safe, despite that ohh so much limiting my fun."
And of course, when it comes to the kinky compilation time, C++ will carefully foreplay its includes and macros, ensuring they are part of the fun by literal inclusion.
Rust may call the same partner twice, or thrice, but the pimpmo(du|bi)le only rides once.
Booooring.
And then again, Rust will complain that he wants to play safe, and that's fine, but it's no fun. -
The theme should be like my room, and like my soul. Abyss dark.
-
@glowFX
Not that I want to defend php, but the situation you described is exactly what php-fpm was made for. -
Rust vs C++ is like Ubuntu vs debian.
They are the fucking same. Just different philosophies.
Ubuntu is essentially debian unstable. Debian based, but not wanting to conform to the rigidity of debian release cycles.
Rust is one (of many) attempts to re-do C++ without adhering to it's two core principles... Keep already written code working (C++ is oh so much held back by this) and having zero cost abstractions.
Rust breaks the first by existing. It's new, doesn't have the baggage. The second one it breaks by forcing you to adopt what they say is secure.
Sure, there are a lot of things you, as a developer, can mess up, but it shouldn't be enforced by the language. Because in doing so, it's no longer zero cost. Bounds checking, for example, *does* have a runtime cost. (As do many other "security" measures.)
Contrary to popular belief, C++ *does* have these mechanisms. They are called debug layers, and, following the core principle, are opt-in. Don't pay for what you don't use. -
Know JavaScript since it was the thing it should never have tried to outgrow. A DOM manipulating language.
I started dealing with node at around 2014 or so.
Of course, it helped that I know what asynchrony is from way before Promise was a thing, and that I'm way too familiar with V8 and libuv.
I dare say I know all the inner black magics of JavaScript and typescript, and have used them to pull crazy stuff.
Yet still the decisions the ecmascript committee makes will forever keep js as a clown language.
So, all in all, considering that previous to node there wasn't any depth to really explore, I'd say 4 years or so. -
Dead element detection is simple enough. Log your tasks. Create a meta object when stuff is supposed to happen.
Upon completion, delete original video and meta object.
Your cleaner can periodically check for videos without meta object and flag then or delete them outright -
Why do you control shit from the *client*?
S3 has hooks for successful uploads. Don't rely on client code. (A malicious user could probably replay your "process video" message and DoS your app)
If you are worried about the webhook, s3 uploads can trigger lambdas. Use those.
Also, in your stated case you can use redis TTL and key space notifications to do what you want without relying on polling. -
I don't think the developers of Xcode use Xcode to develop Xcode.
I'd gladly welcome them here if they could have free speech.
If they are just gonna spew the same curated bullshit corporate apple stuff, they can keep it to themselves. -
Well, definitely beats still paying for a domain for a project you never even started. XD
Uh, this, you know, was a friend of mine... -
All my keyboards have insane amounts of rundown. I type. Furiously. Probably is a reflex from when I learned mechanography in old mechanical typewriters. But yeah, I do love the tactile feedback and the mechanical aspect of it all.
In fact, keyboards should implement a mechanism where when you smash enter or escape, it automatically opens your current app's help or documentation or whatever, just like in mobile phones when they detect shaking. -
Now for real. That's not usual behavior from trying to json.parse something too big.
You have a memory leak somewhere. As @Lensflare said, profile.
But it's most likely some unbounded cache behaving faulty. -
Sounds like go SAX or get (butt)SEX'd
