- 13 Posts
- 540 Comments
vrek@programming.devOPto
Showerthoughts@lemmy.world•It's really odd ice tea ot Mr.T never had their own tea brands...English
2·23 days agoWas that a thing? I’ve never heard it or saw it in a store
vrek@programming.devOPto
Showerthoughts@lemmy.world•It's really odd ice tea ot Mr.T never had their own tea brands...English
8·23 days agoIce cube and vanilla ice could also go into a brand of ice
vrek@programming.devto
Ask Lemmy@lemmy.world•What's the most unique/different book you ever read?English
2·29 days agoGreat, let me know what you think after reading them
vrek@programming.devto
Ask Lemmy@lemmy.world•What's the most unique/different book you ever read?English
2·1 month agoTo give you a slight idea of what you’re getting into the “Ai agents” are always “alive”, when not controlling a character in game they are stuck in a pool with the other unused Ai agents, when they are in use they must act within how the character they are controlling would act. If they are an early enemy they must make mistakes and will likely “die”. That’s the point of early bosses, give the player a sense of power but if the Ai is conscience and sentient is it morally acceptable to kill them repeatedly? The player may grind an area repeatedly for either experience or specific loot. If the loot has a 2% drop rate, is it morally right to repeatedly run that dungeon for days/weeks killing that Ai over and over looking for that drop? What about the other Ais watching you repeatedly kill their friend? They have thoughts and feelings but their only future is to repeatedly be shoved into the embodiment of some character and likely suffer from injuries and likely death only to be returned to their pool to observe their friends suffering the same way untill they are forced to repeat the experience.
vrek@programming.devto
World News@lemmy.world•More restaurants, clinics in Japan offering system of paying for priority entryEnglish
2·1 month agoFor example let’s take highways in Texas. In many cases you have 3 sets which all go to the same place and typically you can see the other ones. The first is the free but you have stop lights at intersections, more traffic, lower speed limits(30-45mph). Next up is the toll way, small fee, no stops(on/off ramps for the first road for intersections), higher speed limit (typically 60 mph). Finally there’s express roads, high fees, less traffic and higher speeds(70 mph typically). The second and third set have fees based on total traffic, oh this will save you 20 minutes the price is 15 dollars now. It’s kinda a rip off because if you’re not careful it can be very expensive, but it could also be nice if you got stuck at work but really need to get home for your anniversary dinner… 20 dollars is worth not being late.
vrek@programming.devto
Ask Lemmy@lemmy.world•What's the most unique/different book you ever read?English
1·1 month agoI like “life at reset” series. Basically guy is playing mmo and on top of leader boards. He gets betrayed by his “friend” ends up as a goblin and can’t log out. Through the books explores concepts like rights of a true Ai, dealing with emotions of betrayal, advancements in technology, sacrifice for family, purpose of your life and more. It’s 6 books so not a quick read but interesting and thought provoking.
vrek@programming.devto
Ask Lemmy@lemmy.world•What is the punchline to the worst joke you know?English
3·1 month agoAt least he didn’t have to listen to what a whale sounds like
vrek@programming.devto
Ask Lemmy@lemmy.world•What is the punchline to the worst joke you know?English
6·1 month agoThere was no punchline
vrek@programming.devto
Ask Lemmy@lemmy.world•What's an idea for a movie/game/book that you've had but never done anything with?English
2·1 month agoI know there is a similar scene in there. I just want a game version with personal agency. If there is something else similar please let me know
vrek@programming.devto
Programming@programming.dev•The End of Code Review? Or an Opportunity to Rethink it?English
1·1 month agoWell basically it’s just a ‘magic number’. If you ban all of those many programs will either break or at minimum suffer sever performance degradation.
vrek@programming.devto
Ask Lemmy@lemmy.world•What's an idea for a movie/game/book that you've had but never done anything with?English
6·1 month agoIt’s similar to an early chapter of snow crash by Neil Stephenson
vrek@programming.devto
Ask Lemmy@lemmy.world•What's an idea for a movie/game/book that you've had but never done anything with?English
8·1 month agoA racing game where you deliver pizza. It’s in a city with cars driving around doing their own thing. Issue is, you are a poor pizza delivery person and gas is expensive so you don’t have a car. You have a skateboard and a electro-magnet harpoon gun. You shoot it at cars which pull you behind but have no control over where they go or how fast they go. They could stop randomly and you slam into the back. When they take a turn you could retract the cord and get closer for a tighter curve but less time to react to anything around the corner. You could extend the cord but risk slamming into the building on far side of the intersection or ending up going head first into oncoming traffic.
There are no “tracks”. There is a starting point and a ending point in a city. How fast can you get there? Do you go most straight path there? Do you take the highway for safety but have to loop back to destination? What if the car dragging you takes a turn you didn’t want? Do you just follow or release and try to coast till there’s another car to pull you?
vrek@programming.devto
Programming@programming.dev•The End of Code Review? Or an Opportunity to Rethink it?English
3·1 month agoIn my experience code review is often about the logic rather than the code itself. For example do you really need to copy the whole user object just to read their username? Can’t you just pass the username in as a string instead? Static validation and test suites should already of eliminated any code errors. If you show up to a code review and the code doesn’t compile, you’re going to have a bad time. Stuff like calculating the same distance between two objects multiple times should be called out in code review, maybe extract that into a function. Reaching out to a database to get the same value repeatedly should be called out, maybe store it as a local variable.
One time I was reviewing some code which interfaces with an external third party piece of hardware which the api required the serial number for licensing. The programmer hard coded the serial number into the code. If we swapped it due to hardware malfunction we would need to update the software. If we got a second one we would need to maintain two code bases. This should be in a configuration file or something. Ai will not catch that. Static testing won’t catch this. Test suites running on the piece of hardware we had, wouldn’t catch this. Only a human reviewer would.
vrek@programming.devto
Showerthoughts@lemmy.world•If you're demi and bi, can you simplify and say you're unisexual?English
5·1 month agoHave you considered other models than flat plane? Like geometrically hyperbolic gender? Maybe quantum sexuality where it’s a wave until you collapse the function by measuring it?
vrek@programming.devto
Mildly Infuriating@lemmy.world•Neighbors Rally After a Manhattan Preschool’s Corn Stalks Are VandalizedEnglish
2·1 month agoEven if it wasn’t it’s literally destruction for purpose of destroying someone else’s stuff…
vrek@programming.devto
Mildly Infuriating@lemmy.world•Neighbors Rally After a Manhattan Preschool’s Corn Stalks Are VandalizedEnglish
1·1 month agoIf you confuse weed and corn, again… The fuck wrong with you?
vrek@programming.devto
Mildly Infuriating@lemmy.world•Neighbors Rally After a Manhattan Preschool’s Corn Stalks Are VandalizedEnglish
3·1 month agoOnly thing I can think of as logical is if they think the world’s happiness is zero-sum so if kids are sad there is more happiness for them to have???
Maybe if they are sad the kids deserve to be sad too???
Either way… Seek help because those are not good ways of thinking
vrek@programming.devto
Mildly Infuriating@lemmy.world•Neighbors Rally After a Manhattan Preschool’s Corn Stalks Are VandalizedEnglish
10·1 month agoI never understand these types of actions(the destruction I mean). Like ok, you’re a criminal… You steal from a store, you get a benefit (what ever you stole)… You kill someone, you were worried for the rest of your life(either they were going to kill or harm you or you were going to be caught and go to jail)… You rape someone, you couldn’t control your emotions or desires… You drink and drive or do drugs, ok you get some sense of pleasure from the chemicals… Maybe you destroy property because you feel like it violated your rights(flock cameras). Not condoning these acts but I can kind of see the logic.
This was like thinking “these kids don’t deserve happiness” … The fuck is wrong with you?
vrek@programming.devto
Ask Lemmy@lemmy.world•What are some small, everyday ways to become a kinder person?English
18·1 month agoAlso if they are struggling to figure out something(scanner not working, getting weird error due to network connection issues, trying to find an obscure option you requested etc) be quiet and let them work. Don’t try to make small talk, let them concentrate on what they are doing.



Someone introduced me to “ghost stories”… The English dub of that definitely better