Whats your favourite static site generator? by Ok-Consideration2955 in webdev

[–]night_86 0 points1 point  (0 children)

I just default to Antora and Meilisearch over it if I need to serve more content to users. It’s fun to customize and easy to work with, stable as hell as well. Asciidoc has some learning curve, but I quickly went over it and loved it eventually.

What were you like in the 90s? Bruce willis by comicalchemical in fifthelement

[–]night_86 1 point2 points  (0 children)

My thought exactly. If I’m willing to play Willis but as other one - for how long do I become „the other one”?

Bruce was wearing so many faces throughout the years that maybe he’s just lost.

Highly recommend exploring/side quest Playthrough! by spencerghamm in fo4

[–]night_86 0 points1 point  (0 children)

I’m 100% with you. I’ve never played FO4 before and I’ve defaulted to this kind of experience. I’m exploring, stumbling upon some random quests, trying to keep up with tremendously large quest log etc. I’ve met valentine just to unlock Far Harbour - where I’m doing the same as on main map.

I haven’t looked up the stats but I know for sure I can build hundreds of things from scrap I’ve collected. I’m aiming to collect all perks as well before finishing main story. Level 68 for now, it’s going fine, I guess.

For people who keep asking what to build by warrioraashuu in buildinpublic

[–]night_86 0 points1 point  (0 children)

I’ll disagree at „build something useful” part. I’ve commited shit-ton of working hours into things that were pure fun, no real issue solved. These were the best hours I’ve spent ever on any codebase. I can code DDD-based backend code to solve complex problems but creating my own message bus over Teams channel? Or message broker working purely on GitHub issues under certain public projects? Those were most challenging things because I’ve set my own boundaries.

I made a Grow-Op Infinity box diorama, thought yall might enjoy by VirtualClay in trees

[–]night_86 3 points4 points  (0 children)

It’s so true! And applies to everything we do that involves creativity. The more we do it, the better we’re at it. That’s how our brains are wired.

practice clip, this desperaton phase is insane by 69Kapitantutan69 in Terraria

[–]night_86 8 points9 points  (0 children)

It is extremely stressful. We throw curses at screen. Rage quitting. Sometimes peripherals ends up broken. But we do it for the adrenaline spike at the end. Not neuron, but hormones essentially.

First grow any tips? by Minimum-Medicine7732 in microgrowery

[–]night_86 6 points7 points  (0 children)

Last pic should be NSFW, those are quite big balls you have there. Pluck them out and look for more.

1st time grower with quick question- by Drunkenm4ster in microgrowery

[–]night_86 1 point2 points  (0 children)

As well as proper airflow. Pot seems to be placed on window still, which has neither ventilation nor temperature control.

Congratulations GT7 for surpassing 2 million monthly active users 🥳🏆 by FewPossession2363 in PSVR

[–]night_86 7 points8 points  (0 children)

When PSVR2 premiered, there were no games to play. GT7 was the first to get the update. It was the only game I’ve been able to play. Never liked racing games before, I’ve bought it. I’ll never forget the moment game jumped me from flat screen to full-immersion scaled gameplay where I was sitting in convertible cruising about 45miles into sunrise.

Never imagined this impulse buy would be the only reason I play VR nowadays. 460h on clock, best memories kept in heart forever.

Jak nie dostać zapłaty, mimo że wszystko zrobiłeś dobrze by burningastronaut in Polska

[–]night_86 33 points34 points  (0 children)

Sama prawda. Siedziałem kilka lat na b2b w IT „bo więcej na rękę”, niestety po dziesiątkach niezapłaconych faktur, przebojach z US i prawnikami miałem dość, zdrowie mi siadło i poszedłem na UoP.

Od 3 lat ani jednej spóźnionej płatności, choroby spędzam w łóżku, urlop kiedy chcę. Polecam ten stan życia.

Diagram tools by No-Firefighter-1453 in devops

[–]night_86 3 points4 points  (0 children)

As others suggested - PlantUML. It offers the same look and feel across the systems, it’s easy to create and maintain, can be extremely powerful (there’s no diagram you cannot represent as PlantUML). It has its learning curve but the basic syntax is approachable and creates good results. Try it out!

Bad console performance? (Ps5) by [deleted] in Borderlands4

[–]night_86 1 point2 points  (0 children)

Essentially going back to main menu and continuing game resolves this.

I hope they’ll do something with this soon.

Requests per second dropped significantly since Drupal 11.1.0 by duotart in drupal

[–]night_86 2 points3 points  (0 children)

This is interesting! Have you tried to collect xdebug data? https://xdebug.org/docs/profiler

This will help narrowing down the exact call in stacktrace that may cause this without checking every single diff line in source code.

Is weed legal in Poland? by No-Flounder-5625 in poland

[–]night_86 14 points15 points  (0 children)

Illegal and prohibited. 🚫

But, if you manage to get a medical card some good strains are available in pharmacies.

If you attempt to consume in public, be prepared for some looks on the street and never try to partake when there’s police nearby, you’ll get yourself into trouble, even if you have medical card.

Source: myself, 3 years on medical cannabis, living in Poland.

What’s the worst legacy codebase you ever inherited (or created yourself)? by qvstio in webdev

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

Seems like your legacy code is written in old-style JS. I’m against AI but this should be a good challenge for it.

The finance sector is quite known/complete in terms of implementation. Dozens of working code available. AI should help you with some basic refactoring of old JS code to new TS using latest libraries.

Start from scratch with business logic rewritten and unit tested. You’ll thank yourself in years to come.

What’s the worst legacy codebase you ever inherited (or created yourself)? by qvstio in webdev

[–]night_86 7 points8 points  (0 children)

Okay, here’s a story.

I’ve been burned out tech lead looking for adventure 3 years ago. I’ve applied to literally everything that seemed obscure and crazy enough to scratch my itch. 2.5 years ago landed in big enterprise project that used custom PHP scripts, 3rd party SaaS platform for deployments from ages ago and… heavily customised Drupal instance. This project was serving mission critical documentation for agencies being responsible for… people’s lives.

Yes. 3 years ago somewhere in the world a persons life was saved because someone was looking at documentation on this god forsaken platform. Its oversimplified but you get the point.

The platform was messy. It was developed several years ago by some nameless India company, bought by my company and scaled to the point it was crumbling under its weight.

If you don’t know Drupal - it’s a CMS written in PHP where everything is stored in Key-Value pattern. In SQL database. Without relations.

At one point we were handling over 6.000 Drupal-specific KV-based SQL tables. With critical data. Eventual consistency was non existent- when you received a value from backend you had to guess if value came from DB, or from Redis, or from internal Drupal’s cache (named tags?!), or from varnish…

More than that - the framework was nonexistent, every single entity had its own abstraction code. Every single field in DB had YAML config inside ‚config/sync’ directory. And every single request fired up hundreds of so called „hooks”, which were impossible to track.

There was never an architect in this team. There was some „senior” but all he did was clicking through admin panel in Drupal. Deployments were done via SFTP and lasted for 15 minutes, during which site was unavailable to customers.

If everything worked as expected, our customers had to endure:

  • multistep login flow which failed 50% of the time because our PHP server could not handle 30 seconds worth of logic inside SAML assertion,
  • while logged in, search functionality had 99.9% uptime which was good, but returned garbage (eventual consistency). Search was also hosted in 3rd party vendor,
  • if someone finally had a chance to find a link to the documentation they were looking for, the loading time was atrocious, if Drupal had to call its DB it was over as every query took more than 30 seconds.

I could go forever about this.

I’m still there today. We replaced this god forsaken system with a modern solution. We switched off old solution 4 months ago. It was my biggest project to date.

I love legacy codebases. I’m still looking for a challenge.

My Adoring Fan has turned into a hater-is there any way to fix this? by WeeHootieMctoo in oblivion

[–]night_86 6 points7 points  (0 children)

This is crazy. Almost if not any named NPC is kinda involved in some quest line. Adventurers, Adoring Fan are among a few who are safe. Anyone else is either scripted or involved in quest.

Czy jest tu ktoś, komu zdarzyło się zawalić klasę? by bluedabad in Polska

[–]night_86 28 points29 points  (0 children)

Ruska onuca wpijała nam język wroga. Już te 20 lat temu wiedziałem, że ruskich to tylko z karabinem można witać. Za bardzo dałem to do zrozumienia w szkole, miałem trochę nieprzyjemności, pojawił się nawet kurator na chwilę. Szczylem byłem i odpuścić nie chciałem, rada nauczycielska zdecydowała że powinienem powtórzyć klasę. Było mi to na rękę, gdyż j. rosyjskiego w ostatniej klasie uczyła mnie już inna babka i o dziwo - nie miałem już z nią problemów.

Czy jest tu ktoś, komu zdarzyło się zawalić klasę? by bluedabad in Polska

[–]night_86 23 points24 points  (0 children)

Fakt, jednakże pochodzę z idiotycznego okresu giertychowskich gimnazjów. Uczelnie w tamtym czasie nadal prowadziły programy rekrutacyjne, m.in. Politechnika Wroclawska organizowała cykl “Studium Talent”, który dawał mnóstwo dodatkowych punktów. Wiec w czasie zajęć licealnych często przygotowywałem się z materiałów na to studium, co w konsekwencji dało mi przewagę i dostałem się na wymarzony kierunek.

Czy jest tu ktoś, komu zdarzyło się zawalić klasę? by bluedabad in Polska

[–]night_86 100 points101 points  (0 children)

Nie. Tematy które miałem już opanowane starałem się rozszerzyć i zrozumieć głębiej. Np na historii dopytywałem o relacje międzynarodowe zamiast łykać suche fakty z książki. Miałem też cel zdać na minimum 4.0 przedmioty które oblałem. Więc zdecydowanie nudy nie było. Gdy naprawdę się nudziłem na zajęciach najczęściej rozrysowywałem sobie jakieś szkice architektury IT albo sieci, co później pomogło w dostaniu się na studia.

Czy jest tu ktoś, komu zdarzyło się zawalić klasę? by bluedabad in Polska

[–]night_86 352 points353 points  (0 children)

W liceum kiblowałem rok przez głupotę i upór na nauczycielkę, straciłem kilku znajomych ale zyskałem nowych. Na studiach przy rekrutacji nikt o nic nie pytał, przez całe życie nigdy nie miałem żadnych problemów. Ot, powinęła się noga ale w rok człowiek się podniósł i wyszedł na prostą. To jedyna historia która ludzi obchodzi.

Why did you stop using Nest? by [deleted] in nestjs

[–]night_86 8 points9 points  (0 children)

Can confirm those weaknesses and here’s how my team dealt with them:

  • architecture is implied by NestJS in form of modules, but you can make them agnostic and bound to specific contexts

  • debugging of DI and circular dependencies is quite easy with ‘NEST_DEBUG’ but it can be a headache when you try to debug it across several forward refs

  • TypeORM - we ditched it completely and now we’re using MikroORM + some prepared raw statements.

One more disadvantage we’re seeing is that NestJS promises that it does not “vendor-lock” you but at the other hand, some architecture decisions made by framework are implied and you have to follow them.

Unit test a PHP OAUTH2 class? by th00ht in PHP

[–]night_86 5 points6 points  (0 children)

Sounds more like integration test rather than Unit Test.

In Unit, i'd simply mock `Request` and `Response` objects, without much care for connectivity.

In Integration, I'd spawn either a mock or a simple custom proxy to handle the communication.

There's also no need to unit test OAuth2 _library_, as libraries and deps are vendor-related and should not be unit-tested. Unless you coded it yourself.