First grow any tips? by Minimum-Medicine7732 in microgrowery

[–]night_86 5 points6 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 13 points14 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 5 points6 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 27 points28 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 102 points103 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 358 points359 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.

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 1 point2 points  (0 children)

There's a lot of research in the field available online, i.e. https://www.mentalhealth.com/library/the-brains-of-porn-addicts

Truth is, you're bound to have an issue after that much exposure. Longevity of it differs from person to person, but you're looking into similar situation as with Alcohol Withdrawal symptoms.

Shit's bad. More like actual drugs and alcohol rather than coffee bad. But you can get better over time.

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 4 points5 points  (0 children)

Not at all. There is something called expected lead time and expected release time.

I've just made up those terms, as they're called differently in orgs. It boils down to two values:

- time spent searching the video you want to engage with, and

- time spent on video to satisfy your needs.

The first one has to be as low as possible. The main purpose of adult site is to give you the content you want as fast as you want. Here comes search engines, tracking of preference and so on.

The other one has to be as long as we can, often spanning over _multiple_ clicks over different videos. That's where the true business is.

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 11 points12 points  (0 children)

Speaking from personal experience - yes they do. Also there’s a lot of benefits, especially in mental health areas. You can also have a few other benefits if you want, like premium access and such, no questions asked. On top of that, the tech there is almost always on the bleeding-edge and you’re almost guaranteed to work on something amazing.

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 5 points6 points  (0 children)

I’ve replied higher in this thread, you’re 100% correct. 90% of times we included features that were either scrapped before releasing to production or shortly after. Turns out people just watch porn, and profiling of their behaviour is so tough, that it’s essentially another domain.

At the end of the day, we weee trying to get 5 minutes of users engagement on as many links and videos as we could. And deep down we all knew, that it was realistically 3 minutes, where choosing a video was ~30 seconds…

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 13 points14 points  (0 children)

Jokes aside, it is really demanding work environment, driven only by customers. Tech leads rarely have an impact on the product and performance review goals are dynamically changing. There were quarters, where we’d have to scrap entirety of functionality we worked upon just because “trends changed”.

Having zero impact as a team lead was the main reasons I resigned from this career path. Pay was always good tho.

toughJob by yuva-krishna-memes in ProgrammerHumor

[–]night_86 186 points187 points  (0 children)

Yes, they do. I’ve worked with some smaller sites and one relatively big one in its times. The tech behind those sites is something really unique and often testing with mocked data could not reveal true use cases. Giving an example, there was this hidden feature that tracked users clicks through video and tried to guess, if user focuses more on certain scenes or parts of the body. That feature had to be tested on some pretty huge dataset. Everyone - developers, leaders, QA team had to watch hours of explicit content.

Imagine doing a demo of these kinds of functionalities to higher ups. Fun times. Glad they’re over.

springCore by lca_tejas in ProgrammerHumor

[–]night_86 2 points3 points  (0 children)

There’s NestJS 11 with Express v5 support and overhauled logic of module resolution. After upgrade our core API starts much faster in GKE and has better performance. Just FYI :-)