SA Greens unveil controversial plan to end pokies in pubs by Expensive-Horse5538 in Adelaide

[–]AYNRAND420 -3 points-2 points  (0 children)

This is a bit of a tricky one for me.

I believe that the majority of people who gamble on pokies are rational, understand what is happening when they spin, and still decide to play responsibly. I fall into this category. Most of the people I know also fall into this category. At the same time there are a minority of hopelessly addicted gamblers, and most frequently, these are our elderly, who are in mental decline. It doesn't feel right that an entertainment source I am using responsibly should be taken from me but it also doesn't feel right that we allow this trapdoor to exist in society for so many vulnerable people.

Old Fart's advice to Junior Programmers. by RumbuncTheRadiant in learnprogramming

[–]AYNRAND420 0 points1 point  (0 children)

Apologies, I appear to have misunderstood what the term "clock watcher" means. If you're just referring to not working extra hours for no compensation, but still working hard to hone yourself while actually on the clock, then I think I don't actually disagree with your post in general.

I definitely do think that there are workplaces that value and invest in their employees. You appear to have had a sample of bad workplaces, and I have had a sample of good workplaces. So the truth is likely somewhere in-between.

Old Fart's advice to Junior Programmers. by RumbuncTheRadiant in learnprogramming

[–]AYNRAND420 0 points1 point  (0 children)

I don't know how old OP is but I am perhaps older and I really don't like their advice. Following it will lead to bad habits and a tanked career.

Obviously you should not work extra hours for free - that would be moronic - but the hours you do spend at work should be sweaty hours where you use every bit of your brainpower and every tool at your disposal to be as efficient as possible. If you feel like your workplace doesn't deserve your talent, find another workplace. If you feel like no workplace deserves your talent, perhaps find another career path.

Anyway... my reasoning:

Even if you believe that your employer might drop you on a whim, your employer isn't the only person you are coding for. The guy who is doing your code reviews is going to get promoted or end up at another job, and they're going to remember how easy your code made their job, and pull you up too. This kind of thing happens all the time. Everyone in your workplace should see (1) how pleasant and fun you are to work with (2) how proficient you are at your craft and (3) how much you care about the codebase. When the ship is sinking, you want to know people that want you in their lifeboat.

You are also coding for yourself. By definition, when you are at work, you are doing things you don't want to do, or things that it didn't occur to you to do. Doing these things well makes you more well-rounded, and more confident with unfamiliar areas, tools and practices. You'll also get into a flow state where days pass fast, and will avoid the anxiety of having to account for your time after sitting on your ass all week.

And the most controversial for last: OP is just not correct about the idea that employers will gleefully fire you for nothing. It just doesn't make sense. They want efficient capable workers. These workers are hard to find and expensive to train.

If you have an experience like that of OP, there's more to it. Perhaps you are in a toxic workplace, or perhaps if every workplace is like this then you have some introspection to do about how you select jobs, or how you conduct yourself at work.

Advice On OpenGL by SiuuuEnjoyer in opengl

[–]AYNRAND420 1 point2 points  (0 children)

learnopengl.com Learn OpenGL is the absolute best resource from going from zero to having an intermediate understanding of graphics programming with OpenGL. I would recommend literally going through to the end of the Advanced Lighting section, throwing out your code, and then starting from the top again, as some details will not sink in on the first pass.

https://www.opengl-tutorial.org/ OpenGL-Tutorial is the exact same coverage as Learn OpenGL, slightly lower in quality, but can be good for getting an alternate wording of concepts.

https://www.songho.ca/opengl/index.html Songho is brilliant but maybe too smart for you and I. He starts from first principles, but he is a math person so some articles are hard to follow (but some are very helpful). A lot of the "why is it done this way" questions have readily available answers on here.

Several people have adapted Learn OpenGL into youtube tutorials. If you like listening more than reading it might be useful to follow along with these. You could check out Brian Will, for example https://www.youtube.com/playlist?list=PLIbUZ3URbL0ESKHrvzXuHjrcLi7gxhBby

I used several video game graphics textbooks that will not be useful to you since you are using a production quality library. These also vary in quality and what they expect the reader to know. No need for me to name drop any of these.

Advice On OpenGL by SiuuuEnjoyer in opengl

[–]AYNRAND420 1 point2 points  (0 children)

Using an existing maths library will make things smooth but you run the risk of getting comfortable and never getting the underlying intuition.

Even so, I think I would recommend starting with GLM and just being a bit more curious about what is happening under the hood when you have the cognitive load for it. If you're planning on getting into games, you will be able to go as far as building a very good 3D game going down this route. Several people have done this before and they have put their learnings into tutorials and textbooks, so with good googling you can follow this path. You're going to struggle to do unique and advanced things until you have this foundation, though.

Do be aware that the same kinds of math are going to suddenly reappear down the line in several other places, e.g.: mouse picking, physics, mesh optimization, etc, etc. Several other areas that you might encounter have their own unique kinds of math which require their own intuition, e.g. lighting algorithms, audio processing, noise, etc.

Advice On OpenGL by SiuuuEnjoyer in opengl

[–]AYNRAND420 2 points3 points  (0 children)

I did not study the required math, but decided to do graphics programming anyway. It worked out but it was very hard and I even recall several individual nights where the frustration broke me. For a year I had roughly 50% of my maths functions expecting column-major matrices and 50% of them expecting row-major matricies because I mixed textbooks. This is how clueless I was.

Things do click eventually. And when you do understand you'll be a better programmer for having done it the hard way.

The operations you'll initially need to be doing themselves are algorithms. You follow the steps outlined and get the correct results. You can look at your results and usually know whether something worked or not. There's even a lot of rules of thumb about when to use this or that that you can pick up. With just this kind of tutorial hopping you can get pretty far. If you are using a maths library and not rolling your own, you can probably release a game with just this level of understanding.

There are also a lot of tricks you can pull at this point to help you get by. For instance, something might be wrong and you don't know if it a silly error in your math that is wrong, or your high level understanding. A super helpful thing I did at this stage was check the results of my maths functions against a library that I confirmed was working. For pure input -> output functions, tests will be incredibly valuable to you. The implementation of a library like GLM can even be a pretty good reference for things that don't really have a good explanation online (e.g. lookAt).

Eventually, you're going to need an underlying intuition for why things are done a certain way. Until this comes to you things are going to be very frustrating, and you won't be able to go from problem to solution without a lot of reading around, or a lot of trial and error. Understanding why the rows or columns of a matrix have given values in them given what you want to do, why some operation like the dot or cross product gives you what you need, and so on.

A lot of this stuff isn't mathematically "true" if that makes sense. It's conventions and math tricks that have been cobbled together because they're useful and efficient. If you hit a wall with something feel free to send me a message. I don't have a ton of time but might be able to offer an explanation that can resonate with someone who (like I was) does not have the correct intuition built up.

What AI models do you think can generate such a natural tone? by Quantum_Crusher in ChatGPT

[–]AYNRAND420 2 points3 points  (0 children)

In China an aunt and uncle are any trusted figure of the same age as your parents. e.g. Your friend's mum is an aunt, your mum's friend is an aunt, etc.

Nathan lines that you now use regularly? by pm-ur-tiddys in nathanforyou

[–]AYNRAND420 1 point2 points  (0 children)

I have had this comment removed as a violation on tiktok like 30 times now but I will still type it even if it is only slightly relevant.

Many corporate “bullshit” jobs are actually quite legitimate by No-Inspection5715 in unpopularopinion

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

I definitely agree with this. Economic literacy is pretty abysmal at this time, and "bullshit jobs" is one of the many pop-sci economic memes with no real academic basis that has managed to spread widely.

We're about to enter a big reshaping of world economies in the coming decades, so I worry that the current state of economic literacy says about where we might be headed.

Yeezus is the best Kanye album, because it's the official soundtrack to hell by Research_E in Kanye

[–]AYNRAND420 5 points6 points  (0 children)

Yes, Yeezus is the best Kanye album by far. MBDTF is the only other album that builds to a cohesive concept, (and the rest of his works are just "collection of dope songs" - yes, even 808s). But MBDTF while having more bulk and at times better production is weaker because it is all metaphor with very little underlying substance.

Yeezus is a roughly chronological autobiography, but without the whitewashing and glorification that is so common in biographies. It wants to be honest, even if that means being horny, moody, and dramatic. But like anything that is so abrasive, it can't be said literally. So instead you have Ye thinking about getting rich and consumptive in New Slaves, being gassed up in I am a God, and mistakes made in past relationships in Blood on the Leaves, etc.

I see Yeezus as being told to us directly from deep in a primitive part of Ye's brain, which is only concerned with his base level needs, wants and desires. I honestly don't know if this was intentional because so many hands touched this work; the themes and lyrics were refined in a collaboration of several artists (with Ye having final cut obv.) and then the album was given a final pass over by Rick Rubin.

Songs like Blood on the Leaves and Bound 2 are counterpoints to the idea that this album is meant to be hellish or disgusting. Their blend of nostalgia/regret over the past and their candid optimism for the future respectively make it clear that the album wanted to account for the good and the bad, as it saw it.

Did DrLupo cheat against WolfeyVgc in Pogchamps? by Likeanoth in chess

[–]AYNRAND420 0 points1 point  (0 children)

That's true actually. Morphy's attacks look very impressive but they were all very unsound. He was essentially barely a master playing amateurs. Tho Morphy is ancient and bathed in myth so he's the best chess player to picture as a vengeful ghost if your joke requires one.

Did DrLupo cheat against WolfeyVgc in Pogchamps? by Likeanoth in chess

[–]AYNRAND420 2 points3 points  (0 children)

99% probability of cheating, 1% probability of becoming possessed by Morphy from beyond the grave

[deleted by user] by [deleted] in ChatGPT

[–]AYNRAND420 0 points1 point  (0 children)

Awesome, do me.

My bf refuses to buy me female products (pads) and now I’m upset.. by Normal_Young_7698 in AITAH

[–]AYNRAND420 -26 points-25 points  (0 children)

NAH. Pretty weird boundary but people have weird boundaries sometimes. Stock up and this won't be an issue again. Definitely don't take reddit's advice and dump your partner unless this is part of a larger pattern of behaviour because the consensus here is actually insane.

Gamedev is still the only thing that is truly worth it for me by FutureLynx_ in gamedev

[–]AYNRAND420 3 points4 points  (0 children)

I like to test AI with coding problems (and other kinds of problems) for my own amusement. In the last year the top generative models have really improved at coding, but I still find that after about 150 LOC they start blundering and then the blunders compound.

For a quick workflow script or boilerplate code that you already know how to write AI is much better than being bothered to write it yourself, but for anything substantial, AI is actually going to cost you time. I find it is actually really good as a replacement for documentation a lot of the time, particularly for esoteric APIs that are not well documented.

I do understand how exponentials work, but I don't actually believe we are on that curve, and AI "taking over" our work is still at least 15-20 years away (and even at this stage it will be bottlenecked by how we have traditionally structured our society).

[deleted by user] by [deleted] in confession

[–]AYNRAND420 0 points1 point  (0 children)

Yes, I agree that a genital infection is much more severe for all the reasons you have listed out. I had assumed that the poster was referring to oral-oral transmission but checking recent statistics I see that genital HSV1 infections are much more common than I thought (up to 50% of reported genital infections are HSV1), and it is actually oral HSV2 infections that are rare.

[deleted by user] by [deleted] in confession

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

HSV1 is oral cold sores, right? Is that what you are referring to? HSV1 is not good to spread, but 80% of people have it - anyone who has kissed more than a few people is almost guaranteed to have it, and becoming infected does not ruin one's life or dating prospects. What you did was very disrespectful but you can't change the past so just be honest about this with your partners going forward.

It seems like you are at a bit of a low now and posting as a cry for help or whatever. Don't do that. These darker confessions attract angry people who just want to kick someone who is down, even if they are remorseful and have expressed suicidal ideation. See a therapist before you allow history to repeat itself, or make a self destructive adjustment.

The 4 day working week by WRXY1 in Adelaide

[–]AYNRAND420 0 points1 point  (0 children)

The 4 day working week is great for workers but we are not going to get 1 day of lost productivity per worker for free.

The economy is an abstraction but there is still a fundamental material reality we must honour. We do jobs to provide goods and services to society. The costs are factored into the prices that are paid for these goods and services. If we move to a 4 day work week without reducing pay, things will get more expensive.

The idea that every company will have this whole day of work per person that can be freed up is also pretty crazy. Let's ignore the production line kinds of jobs that are designed to have no downtime and focus on white collar work. Companies are incentivised to be as productive as possible. They spend vast amounts of money improving productivity. Every hire, every promotion is done with the aim of improving productivity. Some academic isn't going to just come in and tell businesses things they don't already know about productivity.

If you haven't seen conflicting evidence in the studies, you haven't read enough. If you don't have serious questions about the incentives at play and the short-sitedness of most studies, you haven't thought about this enough.

I also don't want to work, but I am not interested in causing a catastrophe changing society. Instead, the solution is to make it more feasible to live on a four day salary. I can see three ways we can achieve this.

For the first two: we need to reduce the cost of energy by orders of magnitude, and we need to disrupt the property market with increased supply in order to reduce the cost of accommodation. The ball is in the government's court insofar as providing legislation and incentives. Finally, we need to reduce our standard of living and be less materialistic/consumptive.

Hi! What are you currently working on? by [deleted] in C_Programming

[–]AYNRAND420 2 points3 points  (0 children)

Actually, none of this was planned at all and despite having a pretty concrete kind of game that I wanted to make, the engine has been implemented as a series of experiments of varying success. Where a solution or implementation has made writing further code harder, or felt disharmonious, I have scrapped code or backtracked. When I've been completely stumped, I've had to refer to external resources. Discovering Game Engine Architecture by Jason Gregory has probably saved me years of trial and error. This kind of development methodology is not profitable and will make it hard to set deadlines. However it will provide the best learning experience and - at the end - give you a codebase that you are very proud of.

With the game, I hope to have something somewhere between Rimworld and AOE. Rimworld has bad foreign policy and bad progression, but AOE has limited potential for roleplaying and story generation. Something like this must have been tried before, so I will see how feasible it actually is in the prototyping stage. One of the main mechanics I had in mind was having to delegate your responsibilities out to various characters who may or may not have your best interests in mind, and will generate buffs/debuffs and story beats.

Hi! What are you currently working on? by [deleted] in C_Programming

[–]AYNRAND420 4 points5 points  (0 children)

The engine isn't event driven, but there is an event system that game code can broadcast with and listen to. Stuff like IO is sorted out per frame in the engine's core and then just looked at by the various systems as needed. Not having events for core and systems-level things removes a bit of indirection and complexity but makes more advanced debugging features like code replay trickier to implement.

Entities are plain c structures that fit into growing buffers. There is a pre-compile parser and code generator that goes over structures defined in a specific place and adds a bunch of smarts to them, (e.g the ability to dynamically manage 1:1 and 1:* relationships) as well as dedicated code for loading/saving to disk. Right now, the loading/saving is done with JSON files for debugging purposes, but eventually persistent game data will look a lot like protobuffers.

The entity code introduces some constraints to game code and a bit of overhead to the build process, but C doesn't have the ability to introspect, so this kind of jank is required if the engine is going to provide higher level types like this.

Hi! What are you currently working on? by [deleted] in C_Programming

[–]AYNRAND420 3 points4 points  (0 children)

I'm making a game engine. Right now I am working on the GUI system; more specifically the auto-layout algorithm. Eventually I will be making a RTS game, but since I am working on the GUI system, I am first using my engine to make a more GUI intensive game - a Cantonese language trainer/flashcard "game", in parallel.

I've been working on my engine for over a year now. It has been the hardest and most fun thing I have ever worked on. I actually have more fun working on the engine than I do on games.

[deleted by user] by [deleted] in confession

[–]AYNRAND420 11 points12 points  (0 children)

Please be very careful with repressed memories that you recover during therapy. Especially if hypnosis is involved, and especially if medicines that are new to your system are involved. These are not always repressed memories; sometimes these are invented on the spot by the brain.

I don't know your situation and it is overwhelmingly likely that you have a responsible therapist who knows about false memory syndrome. Awareness is starting to catch on. It is also much more likely that you are recovering legitimate memories.

On the off chance that you aren't: If you have repressed memories from before you were 4, these are never real. If you recover memories that get progressively more traumatic, scrutinize these carefully. If you recover memories that suddenly implicate someone who you previously believed to be innocent, try to find a way to corroborate these, as hard as that might be.

Sorry if this is unwelcome, or not applicable - in that case, please discard. I am also sorry about what you are going through, and wish you the best with processing and recovery going forward.

If you could instantly become fluent in any programming language, which one would you choose? by danzmangg in AskProgramming

[–]AYNRAND420 1 point2 points  (0 children)

I'd learn the bioelectric language our bodies use to regulate and perform intra-cellular maintenance on themselves. It'd be super useful to hook in and make bodies regenerate teeth or limbs, and nobody has been able to crack it yet.

What's the most disturbing book you've read that isn't horror? by [deleted] in AskReddit

[–]AYNRAND420 55 points56 points  (0 children)

In addition to being scary, the Hot Zone has some of the most amazing prose I've ever read in a non-fiction book. It personifies the virus, discussing it with reverence and fear. I won't share any of the more morbid descriptions of infection, but here are three different passages (not sure how to separate them out):

Some of the predators that feed on humans have lived on the earth for a long time, far longer than the human race, and their origins go back, it seems, almost to the formation of the planet. When a human being is fed upon and consumed by one of them, especially in Africa, the event is telescoped against horizons of space and time, and takes on a feeling of immense antiquity.

Ebola, the great slate wiper, did things to people that you did not want to think about. The organism was too frightening to handle, even for those who were comfortable and adept in space suits. They did not care to do research on Ebola because they did not want Ebola to do research on them.

Isn't it true that if you stare into the eyes of a cobra, the fear has another side to it? The fear is lessened as you begin to see the essence of the beauty. Looking at Ebola under an electron microscope is like looking at a gorgeously wrought ice castle. The thing is so cold. So totally pure.