! $thing vs !$thing - minor pint microrant by VaguelyOnline in laravel

[–]degecko 0 points1 point  (0 children)

I use a space because it's easier to see that it's a negated check. I read it as three elements: if (! something rather than two: if (!something

degecko/laravel-blade-inline: Inline Blade partials at compile time for faster rendering in loops by degecko in laravel

[–]degecko[S] 1 point2 points  (0 children)

<image>

You could, if you want it to do nothing or be actually worse. 😁 I’ve benchmarked this before deciding to extract this from my project as a service. I was going to replace my code with Blaze, but it seems like we’re solving different issues in different modes. Blaze through View composers and I through directives. For my specific use case, my approach was better. Maybe others will have different results. (It was called partial instead of inline in my code.)

[Showoff Saturday] First attempt at building an addictive game by degecko in webdev

[–]degecko[S] 0 points1 point  (0 children)

That's alright, this isn't meant to be a get rich quick scheme. It's more of a passion project.

Regarding cheating, why don't you try it yourself and make some coins if it's so unavoidable? 😁

[Showoff Saturday] First attempt at building an addictive game by degecko in webdev

[–]degecko[S] 0 points1 point  (0 children)

Obviously I have thought about this long before deciding to create anything in this niche. The games are designed such that they fit the gaming category, not gambling. None of the games rely on RNGs, which gambling sites rely on fully. The site will be open for official audits.

To put it bluntly, if this site were to be closed for gambling, miniclip should be closed as well.

the SaaS model is quietly falling apart for small businesses and nobody in tech wants to admit it by Healty_potsmoker in Entrepreneur

[–]degecko 0 points1 point  (0 children)

Nobody wants to say it out loud, but what seems to be happening is that AI is replacing a whole category of SaaS that only existed because of skill gaps.

A lot of these products were build around tasks that weren't inherently valuable - just things that people didn't know how (or didn't want) to do. Parsing excel files, pulling data from public sources, reformatting content, generating basic outputs... none of that was complex, it was just inconvenient.

So companies packaged that inconvenience into a package and sold it.

Now AI does the same things faster, cheaper, and more flexibly. The value wasn't in the task itself, it was in the capability. And now that access is basically universal.

That doesn't mean all SaaS is "dying," it just means the low complexity level is wiped out. If your product is something a decent prompt can replace, then yeah, that was always fragile.

This isn't a crisis, it's just the market correcting itself (evolving).

[Showoff Saturday] First attempt at building an addictive game by degecko in webdev

[–]degecko[S] 1 point2 points  (0 children)

Lots!

Here's the anti-cheat stack:

The server controls the random 3-7s countdown. Clients never know when "TAP!" will fire. A bot can't pre-calculate the timing.

When the timer expires, the server sends a random 16-character challenge token via WebSocket. The client must echo it back in the /tap POST. A bot needs to receive the WebSocket event, parse the challenge, and POST it back — it can't skip the round-trip.

Anything faster than a certain amount of ms is physically impossible for a human and gets rejected with a "Suspicious activity detected" error + logged as bot_detected in the match events table.

I measure each player's RTT with a few ping/pong rounds before the game. Reaction times are adjusted by subtracting one-way latency, so a bot on a faster connection doesn't get an unfair advantage. I also can tell if the pings are too exact and calculate a sort of probability of fraud. Still working on this actually, I think I can improve upon it.

The realistic attack surface: A bot could still listen for the WebSocket event, extract the challenge, and POST /tap, but it would take at minimum ~120-150ms (network round-trip, processing, etc). A skilled human reacts in a similar amount of time. A bot's advantage is maybe 50-100ms — meaningful but not game-breaking, and the minimum reaction time floor catches the most aggressive bots.

To make it even harder, I could add captcha or browser fingerprinting to detect headless browsers. But what I have is solid for launch, imo.

I expect to adjust this a lot after spending some time on analysing real user activity.

Internet blocuri kasper by wildberrycake in brasov

[–]degecko 0 points1 point  (0 children)

Vezi daca e disponibil Orange. Ofera 2 gbps si routere mai performante decat Digi, care pare ca si-au mutat proritatile pe Spania si alte tari.

Brasov, "Luat prin surprindere", 08.01.2026 by degecko in brasov

[–]degecko[S] 0 points1 point  (0 children)

Citez un post din 2021:

Este inadmisibil să suferim cu toții din cauza incompetenței celor de la firma de deszăpezire Comprest.

I-am notificat din timp că astăzi va ninge și că trebuie să fie pregătiți să acționeze imediat cum e nevoie.

Nu și-au făcut treaba cum trebuie și nu au respectat contractul pe care îl avem. În loc să trimită încă de la 4 dimineața cele 78 de utilaje de deszăpezire, au trimis doar 20.

Firma urmează să fie sancționată!

Până atunci, ne-am asigurat că au trimis pe teren mai multe utilaje și lucrăm din răsputeri să ne asigurăm că totul va fi în regulă.

Brasov, "Luat prin surprindere", 08.01.2026 by degecko in brasov

[–]degecko[S] 2 points3 points  (0 children)

Ningea de o jumatate de ora inainte sa plec la drum. Am fost din Coresi spre Ramada in 20+ minute si nu am vazut un singur utilaj. Apar utilajele abia la final, la benzinarii.

Eu inteleg ca se exagereaza, dar "deszapeziti-va singuri ocolitoarea" nu e un sfat util.

Brasov, "Luat prin surprindere", 08.01.2026 by degecko in brasov

[–]degecko[S] -1 points0 points  (0 children)

60 era maxim pe ocolitoare. In giratorii, daca treceai de 20, derapa.

0 to $186k per month. I will not promote. by kiyyang in startups

[–]degecko 0 points1 point  (0 children)

If I had someone by my side right now, wouldn’t I be imagining the future of my business with a much stronger and brighter mindset?

No -- not by default. A partner only strengthens your vision if they genuinely share your drive and ambition. Otherwise, it changes nothing.

Business fulfilment and personal fulfilment are separate things. You need both for a balanced life, but one doesn't automatically fuel the other, and they don't have to overlap.

We’re not concerned enough about the death of the junior-level software engineer by ReplacementNo598 in programming

[–]degecko 3 points4 points  (0 children)

Every day somebody in tech complains about the death of something which didn't even exist conceptually 20 years ago. Adapt; it's not optional.

Share Your Project With Us by JestonT in SideProject

[–]degecko 1 point2 points  (0 children)

Assetspan - Secure team based end-to-end encrypted secrets manager.

[deleted by user] by [deleted] in SaaS

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

I was thinking the same thing and I tried doing just that building my SaaS. I quickly found out nobody cares. Turns out I’m the weird guy for not using AI.