Details
Joined devRant on 10/21/2024
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
-
@int32 you'd be dead bitch
-
We should eluminate fucking nazis like that little bitch asap. Just shoot them all. A bullet in the head for him and his bitch wife without due process for the nazi cunt.
The thing with retards is that they are so deeply unhappy and never accomplish anything, so they start to take pride in their race and ethnicity.
They are cancer. -
Nazis were small dicked idiot who attacked Belgium because they were too much of a bunch of pussies to attack france upfront. They had to take the back door.
https://en.wikipedia.org/wiki/...
Cowards -
Germans also hate arabs you dumb bitch
-
You should start an emo band
-
what?
I have a neckbeard simply because I lost my razor. -
@iiii great.
Now we just have to connect everything and we can create the devrantiverse. -
poes
-
@D-4got10-01 lars ulrich killed metal
-
the correct answer being of course something like:
const sliceByBatches = (tasks: Task[]) => {
return range(0, Math.ceil(tasks.length / BATCH_SIZE)).map(batchNumber =>
tasks.slice(batchNumber * BATCH_SIZE, (batchNumber + 1) * BATCH_SIZE)
);
};
const results = await sliceByBatches(batches).reduce<Promise<Result[]>>(async (results, batchTasks) => {
const batchResults = await Promise.allSettled(batchTasks.map(t => t.promiseFn()));
const processed = batchResults.map((res, index) => ({
XXXX
}));
return [...( await results ), ...processed];
}, Promise.resolve([])); -
Just look. My collegue had a bunch of api calls to group by ten.
This guy did it like this:
const results: { hash: string, status: boolean }[] = [];
try {
for (let i = 0; i < tasks.length; i += BATCH_SIZE) {
const batch = tasks.slice(i, i + BATCH_SIZE);
const batchPromises = batch.map((t) => t.promiseFn());
const batchResults = await Promise.allSettled(batchPromises);
batchResults.forEach((res, index) => {
if (res.status === 'fulfilled') {
results.push({
What a fucking psychopath. -
WHAT?
Bitch React is super elegant. React wears gucci for its proctologist appointment. -
@jestdotty https://youtube.com/watch/...
this one's for you dottie i just made it yesterday <3 -
I just SCOLDED my collegue because he DARED to use a FOR LOOP
AHAHAHAHAHAHAHAHAHAHAHAHAAH
A FUCKING FOR LOOP
What is it? the 90ies?
Soon the bro is gonna use a GOTO or something -
https://youtube.com/watch/...
also this one -
https://youtube.com/watch/...
@jestdotty i've made this yesterday -
Use a journal. It works for me.
Be very methodic. I do something like
Issue: that is not working
Hypothesis: maybe it's this shit there
Question: where is that happening in the codebase again?
How to test: blablabla
You got the idea -
@Demolishun those two prolly have a 4 soms with p diddy and a 4 yearz old
-
@Demolishun they. are. all. pedoz.
-
bitch the cheapest house here is like 300k euros and no bank will lend me coz i'm freelancer and they want a forever employment contract.
that's 3 crone. you can buy a house for 50 lacks.
thanks now i know indian money -
@jestdotty yeah america have that.
-
Ursula Von Der Leyen, the head of the UE commission (an unelected body that worked by cooptation, and yet is pretty much the european executive), personally negotiated with the head of Pfizzer the 2-3x prices we paid for the vaccine.
It was all a scam from the right liberals.
That cunt have her own appartment in the UE commission building where the police cannot search. How convenient. -
cool story
-
@b2plane you ARE the whore
-
Exactly. The GAFAM are literally retarded. They want to be your mummy / daddy.
-
@iiii fuck those, I'm talking about things like matrix / IRC / .... Things that are opened
-
there should be some kind of super protocol to bridge all those chat protocols.
-
@azuredivay python is interpreted and i think they introduce some kind of bytecode now like java. Nothing compiled to C as far as I know
-
@sidthepajfuk you go to the office everyday you dumb bitch
-
@sidthepajfuk when you reach satori you can sit on the top of the highest mountain and be as peaceful as if you were in prison getting raped.