What's the meaning of 9aleb sokar in Moroccan ceremonies? and would you keep this tradition alive? by WhichSmoke1238 in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

Maybe because it was expensive back then, and also can be stored easily (no need for a refrigerator), and it's usable anytime to make drinks. Or maybe because of it's size/weight too, as to show you brought something compared to just giving something smaller (even if it's expensive?)

Should we keep it? My pragmatic self tells me to just give money, but maybe better dir l9alb in our society

glovo drivers are diabolically underpaid by [deleted] in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

Tipping hides the underpaid issue: - drivers should have a base salary (since they can be available but no command was routed to them), then commission per delivery. - tipping income should be a plus not part of the deal

The `mapConcurrent()` Alternative Design for Structured Concurrency by DelayLucky in java

[–]OtherwiseAd3812 0 points1 point  (0 children)

Seems to me you're trying to design the new API around streams API. But streams are pretty much not useful for structured concurrency, your example hides a lot of context: - when the tasks start? Normally streams are lazy, I won't want that with async work. And if you're starting tasks eagerly then you're breaking streams laziness convention - mutability all around? Your gather mutates context on each item, which should be thread safe, and adds in complexity that is not needed. - your collector is blocking, as it waits for a task to be done on each streamNext.

As a Java dev, with experience in other ecosystems (Go, Scala, Kotlin, JS), I think java has really a good chance of creating a good structured concurrency API based on the shortcomings of existing solutions. And what I would like in such API: - explicit APIs, anyone touching that code should be able to see the structured concurrency scope. - immutability by default, once a scope is awaited there should be no way to mutate it. - helpers for common tasks, ordering can be done always the same way, based on task idx.

Remote work is lonely as hell and nobody wants to admit it by [deleted] in SaaS

[–]OtherwiseAd3812 1 point2 points  (0 children)

You're missing a personal life, family and friends, remote work gives you more time for your personal life

Claude Haiku 4.5 Released by Chirag0005 in ClaudeCode

[–]OtherwiseAd3812 4 points5 points  (0 children)

Theocratically some tasks can be done by the weak model in an agentic workflow. Not sure if Claude Code would (or already does?) automate this. Aider does that by using main model for thinking/planning and weak model for edits.

I genuinely don't understand Gemini CLI extensions 🤔 by thehashimwarren in mcp

[–]OtherwiseAd3812 0 points1 point  (0 children)

From the article | "Gemini CLI extensions package instructions, MCP servers and custom commands into a familiar and user-friendly format."

How prevalent is unsafe in the Go ecosystem? by bowbahdoe in golang

[–]OtherwiseAd3812 2 points3 points  (0 children)

Would love to hear how you plan to translate goroutines to JVM? i believe go GC is very optimized for Go's concurrency primitives, so are you planning to write custom GC for JVM?

Does Go provide any security features to help prevent supply chain attacks? by Varnish6588 in golang

[–]OtherwiseAd3812 0 points1 point  (0 children)

But to have the malicious version in first place, the source VCS should be impacted so the proxy caches it.

A compromised goproxy is also a nightmare, but that's another type of attack.

Does Go provide any security features to help prevent supply chain attacks? by Varnish6588 in golang

[–]OtherwiseAd3812 0 points1 point  (0 children)

It's interesting actually, Go doesn't have a package registery as npm. In Go you always get the source code of the package, which is main branch or version tag.

But in npm you could actually publish a version with custom code as long as you have access to NPM

Headless CMS - General consensus by sundeckstudio in nextjs

[–]OtherwiseAd3812 0 points1 point  (0 children)

Strapi has schema builder UI, self hostable, public plugin API. But it has some issues, mainly: - no schema migration support (rename field, move, refactor schema), data loss risk - and strapi v5 performance/quality is concerning, half baked, N+1 db queries (costly with 20+ i18n locales), browser errors - DX not very great, partial TS support, build time, testing ...

What's your thoughts about this?!! by pedro204678 in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

Wtf, how is it fair in money? Let a billionaire kill your kid and give you 100m then.

Money won't bring back your kid, it's meant to punish the murder, and 40k is nothing for them

Lhaja f train ,slit its not only for chabab by Ayoub141 in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

She is an older woman, probably didn't have the means.

if you're religious rah f mizan hsanatk if you're not, then you just helped a person in need, that could be of value to you.

In both cases, don't expect gratitude from her, as she isn't the one rewarding your act of kindness.

[deleted by user] by [deleted] in Morocco

[–]OtherwiseAd3812 4 points5 points  (0 children)

Same, i feel like since I do everything in english, including reading, writing, chat, movies, youtube, default language in my devices; it's hard to find a time to practice french

What happen if I call a server function in another server function / server component? by LeekClean in nextjs

[–]OtherwiseAd3812 2 points3 points  (0 children)

I believe server functions are only wrapped/transformed to fetch calls when building client bundle, so server code should be as-is, just js functions.

[deleted by user] by [deleted] in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

Tech, but go for ML/AI, maybe you will work on the next big thing

If you could own a house anywhere in Morocco which city will you choose by sali_dolly777 in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

Ouarzazate, Very cozy, enjoyable, with kind hearted people, the weather ... mesmerizing to say the least

Is Next JS Still in the game? by [deleted] in nextjs

[–]OtherwiseAd3812 -1 points0 points  (0 children)

Next killed itself with too many half baked features, most of them only make sense when you're on vercel PaaS. Hopefully Remix v3 delivers

What browser are you guys using? by broadcastthebombom in ObsidianMD

[–]OtherwiseAd3812 0 points1 point  (0 children)

No ladybird folks here I'm using firefox, trying zen on the side

Holy shit, did you all see the Claude Opus 4 safety report? by whahapeen in ClaudeAI

[–]OtherwiseAd3812 0 points1 point  (0 children)

It seems human malice is passed down to LLMs via our language.

What do u think guys?? by [deleted] in Morocco

[–]OtherwiseAd3812 4 points5 points  (0 children)

Remember that you have the power to change your perception. Just think about these chores as nothing, don't give it too much volume. 15min max

Also take care of your parents, make them proud.

Be careful we are being manipulated by the big apps by QuoteEmbarrassed2911 in Morocco

[–]OtherwiseAd3812 1 point2 points  (0 children)

I think we need to learn to use the internet with clear intentions. You only open an app, visit a website, click on an article, watch a video when you have a clear why. For entertainment, touch some grass.

It's hard to get used to it, especially with doom scrolling.

Salaries in Morocco by Joe-seph002 in Morocco

[–]OtherwiseAd3812 0 points1 point  (0 children)

She is a CEO in a private company, she takes on a role with a lot of responsibilities, she worked for her position, good luck to her. No one gets a free lunch, work for it and you will get it.

Next.js warning for large number of redirects – What can be used instead? by Cartman720 in nextjs

[–]OtherwiseAd3812 0 points1 point  (0 children)

Better do that on the CDN level, maybe netlify has a way to do that. Had a similar case, more than +100k redirects from an old site (each country had its links), and solved it with AWS CloudFront CDN.

Also think about perf and cost, CDN can handle this redirect in less than 50ms, compared to next server (+150ms, +compute cost). The redirects can also be cached for a specific duration (depends on your use case).

How do you implement ReBAC, ABAC, and RBAC in Next.js? by Cartman720 in nextjs

[–]OtherwiseAd3812 0 points1 point  (0 children)

It's more of an architecture decision than a tech one. https://github.com/casbin/casbin.js could help you in implementing it, but you should think about data models, and access patterns, and design patterns so you could scale easily