[-] Mikina@programming.dev 69 points 4 weeks ago

I mean, that's literally how research works. You make small discoveries and use them to move forward.

[-] Mikina@programming.dev 65 points 5 months ago
[-] Mikina@programming.dev 41 points 5 months ago

They should have just add more rainbows to the skin, and make it as gay as possible.

[-] Mikina@programming.dev 71 points 5 months ago

Isn't that, like, illegal?

[-] Mikina@programming.dev 39 points 7 months ago

Duh, it's a ML algorithm that requires an enormous amount of feedback. It can't get smarter than humans, because then there's no one, or no data, who can tell if what it's spewing is really clever or just nonsense.

I hate what happened to common perception of "AI". The whole amazing field of machine learning has been reduced to overhyped chatbots, with so many misconceptions repeated even by experts who should know better.

[-] Mikina@programming.dev 61 points 8 months ago* (last edited 8 months ago)

I had the same issue with gamedev industry, but thankfully Ive very quickly realized that's how work works, and you usually have a choice - either earn a good living being a code monkey, or find a job in a small company that has passion, but they won't be able to afford paying you well, or do it in your free time as a hobby. Capitalism and passion doesn't work together.

So I went to work part-time in cybersecurity, where the money is enough to reasonably sustain me, and use the free time to work on games in my free time. Recently, Ive picked up an amazing second part time job in a small local indie studio that is exactly the kind of environment I was looking for, with passion behind their projects - but they simply can't afford to pay a competitive wage. But I'm not there for the money, so Ibdon't mind and am happy to help them. Since there are no investors whose pocket you fill, but the company is owned by a bunch of my friends, I have no issue with being underpaid.

But it's important to realize this as soon as possible, before trying to make a living with something you're passionate about will burn you out. A job has one purpose - earn you a living. Companies will exploit every single penny they can out of you, so fuck them, don't give them anything more than a bare minimum, and keep your energy for your own projects.

And be carefull with trying to earn a living on your own - because whatever you do, no matter how passionate are you, if it's your only income and your life depends on it, you will eventually have to make compromises to get by. It's better to keep money separate from whatever you like doing, and just keep your passion pure.

EDIT: Oh, I forgot to mention one important thing - I'm fortunate to not have children, share living costs with a partner, and live in a city with good public transport, so no need for a car, and free healthcare. I suppose that makes it a lot more easier to get by with just a part time.

[-] Mikina@programming.dev 46 points 11 months ago

Is it even possible to solve the prompt injection attack ("ignore all previous instructions") using the prompt alone?

[-] Mikina@programming.dev 46 points 11 months ago

I'm actually glad for it. It made me switch to Linux, discover Mullvad Browser and their VPN combo, get a GrapheneOS phone, find an amazing Freetube YT desktop client, and dabble with Home Assistant and PIHole. Plus I migrated to Protonmail and Kagi as my search, and Lemmy instead of reddit is also an amazing change, the discussions I've seen so far feel better and more in depth, and I'm enjoying my time here so far. The lack of endless content is also great, to help with implementing Digital Minimalism.

So, while I hate any large corporation and their greed with more and more passion, it has lead me to a nice privacy journey, for which I'm glad.

[-] Mikina@programming.dev 74 points 1 year ago

And every time a Reddit results show up, I'm immediately reminded why I don't want to go there by an error telling me that I can't use the site without logging in.

Fortunately, just changing the link to old.reddit.com still works even through VPN, but fuck this behavior. I do that only for questions I really need an answer and couldn't find anywhere else, and most of the time the replies are shit anyway.

[-] Mikina@programming.dev 41 points 1 year ago* (last edited 1 year ago)

That's why I'm avoiding any extension I know I really don't need.

I've already burned myself once, when Nano Defender sold out and turned into a cookie-stealing malware. By the time it was one of few adblockers that were not being blocked by adblock killers. They've pushed a malware update through the Chrome web store, and started exploiting stolen cookies immediately.

It was a difficult day, where I had to explain to few of my exes that someone hacked their Instagram account due to an ad-blocker I've set up for them when we were dating few years ago.

[-] Mikina@programming.dev 51 points 1 year ago* (last edited 1 year ago)

My favorite story about docs is when I tried implementing multithreaded Raycast in Unity.

I needed it to hit multiple targets per ray. Should be pretty easy, after all - there is this parameter right in the constructor:

maxHits: The maximum number of Colliders the ray can hit.

And this is how you use it, straight from the docs:

The result for a command at index N in the command buffer will be stored at index N * maxHits in the results buffer.

If maxHits is larger than the actual number of results for the command the result buffer will contain some invalid results which did not hit anything. The first invalid result is identified by the collider being null. The second and later invalid results are not written to by the raycast command so their colliders are not guaranteed to be null. When iterating over the results the loop should stop when the first invalid result is found.

Well, no. It's not working like that. I was always getting just a single hit, but sometimes, I received two or more hits. After a few days of debugging, I have found a typo in bubblesort, which caused the multiple hits, and I was in fact getting only one hit every time.

Strange, must be a bug then. And then I found it. A bug report from 3 years ago. But it was closed as solved. And the resolution?

I have some news about the issue where RaycastCommand will only return a maximum of 1 hit regardless what you set maxHits to.

According to our developers, each individual raycast in a batch only does a Raycast single in PhysX which will only return the first hit, and not multiple hits if the ray passes through several objects which would require a different raycast function. The documentation simply doesn't explain this very well.

The docs above are from 2021. Three years after this. The fuck "doesn't simply explain it very well"? It literally explains it pretty damn well.

But looks like they've finally changed the docs for 2022+ at least, it did happen few years ago.

view more: ‹ prev next ›

Mikina

joined 2 years ago