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
Search - "batch"
-
It's always the same shit with some developers. Someone notices that an app is calling an API way too much, causing it to throttle. This is caused by a UI that does ~100-400 HTTP requests when you open a page. Someone comes and offers multiple solutions to cut down those requests by changing the UI behavior, dropping the request amount to less than 10% or maybe even zero.
Then comes one developer "WhY cAn'T We bAtCh thE ReQueSts?" Well, you fucking blockhead, what's the point in rendering 300 items on a page anyway when at any given time a user can maybe see five of them on his screen? These numbskulls have zero idea of how to solve technical issues with simple UX tweaks. Learn some UI/UX design if you're a front-end developer ffs.9 -
There's nothing like sitting on the edge of your seat when you see a monster batch of records get sent updates.
This system was built 5 years ago and it's "peak" batch size has been < 400 records in a day, it usually sits around < 100.
It's not a big system and just runs in the background. So yea small numbers for this guy.
today though, I thought something fell down and shit its self, someone decided to add a a few thousand records to this thing and update a fuck tonne of data (for this system anyway)😬
The damn thing is standing it's ground and churning, but fuck, the scale of things is beyond what we ever thought it would have to deal with at any one time.
Build for the insane benchmarks kids, one day... someone's going to drop an elephant on it.5 -
How to avoid death from Covid 19 and vaccines, a hypothesis to explain my near death experience and what to expect for the future, by a concerned citizen.
The important variables at play:
My weight = 220lb, overweight by 50lb say.
My muscle mass = very low, I can lift 25lb.
My age = 50+
Blood pressure = High, but not quite high enough to need treatment, on the edge.
Diabetic condition = Not.
Now lets introduce 3 Covid 19 vaccinations.
1st, no real effects to worry us.
2nd, no real effects to worry us.
3rd... bad effects..
I ponder, was the 3rd shot, maybe from a more potent batch, hadn't deteriorated in transit as much as the previous 2 ?
Did I also catch another version of Covid 19 at the same time ?
Was my fairly rare variables the result of which I now appear to have diabetic symptoms..
Has this damaged me enough that it won't just get better on its own, and my options are to, lose weight, gain muscle mass, and perhaps try a fasting diet ( Shown to work in mice.. ) in an effort to regrow my insulin-producing cells ?
So for those of you out there like me, suggestions:
Lose weight.
Gain muscle mass.
Self isolate 4 weeks before vaccine, and 4 weeks afterwards.
Try to be at the back of the queue for vaccines so yours has aged a bit and isn't quite so potent.
Thoughts ?45 -
My first computer was an old Pentium 2 running windows 98 with no internet and just a CD Rom and Floppy Drive. Got it for my 7th Birthday I think and immediately wanted to make it do my biding.
Didn't work out. Had no clue what the words on screen meant and batch scripts looked like sorcery to me.
Hell even the options menu in German was a cryptic puzzle to me.
Got a little better in the meantime. -
Please share your thoughts on Dependabot security alerts on Github, more specifically for NPM packages in package-lock.json.
In 99% of cases I've found them useless as:
- package-lock.json is in the repo, but not in the NPM package (=no value to users)
- most of the updates relate to devDependencies (=no value to users)
- it clutters the git history (and changelog if it is auto-generated) with a batch of patch updates (updated depx to .1, .2, .3) while the only important thing in the next release notes is the delta (updated depx from .1 to .3) (=no value to users)10 -
Imagine filling 50 files full of garbage unreadable code to build what is essentially a cron job microservice...
Oh we have a console program
then a module to pull in all the services
then a manager to manage the actual jobs
then if they fail it all cascades back up
My god, this isn't NASA.
The amount of overengineering I have seen in the past few hours is insane.
Keep It Simple, Stupid!!!2 -
How a 2020 batch fresher from tier 2 college can get placed in product based mnc as a software engineer or data analyst ?2