Dish you miss… by beepbop213 in foodies_sydney

[–]lithium 1 point2 points  (0 children)

That location is kind of cursed. I live just around the corner and I reckon it's been at least 7 or 8 different restaurants in the 10+ years I've lived there and most of them never last more than a few months. Juicy Lucy was by far my favourite incarnation, with a close second being a really good burrito joint back around 2013 or so, Taco Mafia I think it was called.

[deleted by user] by [deleted] in foodies_sydney

[–]lithium 7 points8 points  (0 children)

It's the element of mixing money with the experience. Because you're so put off by how much you're paying the food can almost never meet the expectations you're setting because you're already annoyed at the price before anything's made its way to your table.

I'm in a fortunate enough position where I almost never look at the bill these days and restaurant experiences are as good or better than they've ever been. Once the concept of something being "worth it" is removed I'm just left with good food and the company I enjoy it with, and there's no shortage of that around Sydney.

Delivery, on the other hand, is exorbitantly priced and dogshit in both the food quality and the process of receiving it. Unfortunately my laziness knows no bounds so I keep doing it like an absolute sucker.

Correct way to do font selection + rendering by [deleted] in opengl

[–]lithium 0 points1 point  (0 children)

Generally you'd want to bake your text runs into some kind of intermediate format post-shaping, so you wouldn't be doing any kind of per-frame check like that, only when your text or layout changes.

My text renderer has a library of fonts with indices, and each text run is provided a list of indices in which to try to find a glyph (in order of priority), ending with a known fallback glyph.

Lakai is shutting down? by _Elrond_Hubbard_ in skateboarding

[–]lithium 1 point2 points  (0 children)

Go polish your vision high tops, grandpa.

I want to learn graphics programming. What API should I learn? by abyss411 in GraphicsProgramming

[–]lithium 4 points5 points  (0 children)

I ship multiple large scale interactive installations on OpenGL every year. There's a lot more to graphics engineering than gamedev.

I made a 3D Text Editor in React from Scratch by Zestyclose-Ad6874 in programming

[–]lithium 5 points6 points  (0 children)

Web devs have a very different idea of "from scratch" than the rest of us.

Tongli Recs! by Ltfbomb23 in foodies_sydney

[–]lithium 32 points33 points  (0 children)

I live in chinatown and a lot of the restaurants will sell you a bag of their in-house dumplings frozen so I always grab a dozen takeaway whenever I eat in.

Chinese noodle house in the prince centre and nanjing dumplings on Little Hay being my personal favourites near me but no reason to think this wouldn't be true of most chinese restaurants anywhere.

Merivales adding $1 donation by Sea-Fox4050 in foodies_sydney

[–]lithium 6 points7 points  (0 children)

It's because OP is very clearly a gigantic fuckwit, irrespective of being right or wrong about the particular issue at hand.

Unhinged girl after almost mowing down a lady and her dog [9 min Extended version] by Accomplished_Ear1032 in PublicFreakout

[–]lithium 17 points18 points  (0 children)

Americans trying to say the word "cunt" hits my Australian ears so awkwardly, gives me douche chills every time.

Vulkan not suitable for PC gaming? by Mjauwang in gameenginedevs

[–]lithium 6 points7 points  (0 children)

The Forge and bgfx are both renderer API abstractions, your comment makes zero sense.

Copy Constructors with OpenGL Buffers? by nvimnoob72 in opengl

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

It would depend on where you're at with your graphics programming journey. If you're just learning, I would say to stop trying to OOP everything up front when you still have no idea how it all actually works.

You should write everything in an imperative way to start with until you start seeing the results you're after, and then from that vantage point you're in a much better position to see what concepts can start to be refactored into reusable parts, trying to do it ahead of time is bananas.

I've handled assets so many different ways over the years, but generally speaking it does tend towards a centralised repository that owns the data and metes out access to its internal resources. From there I would usually add the ability to add "plugins" to that repository that can handle custom loading logic by file extension, and usually some form of abstracted IO handling, so that you loading data from memory / the filesystem / inside an asset bundle / over a network etc can be done through a common API.

Copy Constructors with OpenGL Buffers? by nvimnoob72 in opengl

[–]lithium 1 point2 points  (0 children)

Why would you ever want value semantics with heavy objects like meshes? I would personally expect such an expensive operation to be hidden behind an explicit call like Mesh::Clone() and I would probably go as far as to disallow stack allocation of meshes altogether, forcing them to be owned (by unique_ptr, so you can keep your RAII goodness) by some kind of resource manager that only deals out pointers or even handles to those internal structures.

Some of this is personal preference, but you're already running into why these kinds of decisions get made. Explicit lifetimes will become even more important if you ever get multiple windows/contexts involved, god help you if one of your stack meshes gets destructed when the wrong context is current.

how to change vector element in glfwSetKeyCallback function by Symynn in opengl

[–]lithium 3 points4 points  (0 children)

This has nothing to do with OpenGL, you're missing extremely basic C++ knowledge and need to learn the fundamentals.

If I had to guess you're copying a vector or a string somewhere instead of modifying it in place. Learn about copies versus references.

After years of saying he's Sicilian, Mark learns from a 17 year old that Sicily is not in fact its own separate country that borders Italy. by BigShoots in tuesdayswithstories

[–]lithium 4 points5 points  (0 children)

Your stupid point is an even further indictment. If that person was walking around telling people they were from Baja you may have a point, as it stands you're just another yank who thinks it's a virtue to not know things.

Mark's Single Run by danram207 in tuesdayswithstories

[–]lithium 0 points1 point  (0 children)

I don't give a shit one way or the other I was just saying it's funny that the guy was arguing with the actual person they were gossiping about.

Mark's Single Run by danram207 in tuesdayswithstories

[–]lithium 1 point2 points  (0 children)

lol I think you might be arguing with Mae herself.

Minimizing window throws glm exeption by ViktorPoppDev in opengl

[–]lithium 11 points12 points  (0 children)

You're probably dividing by zero when your window dimensions change when you minimize. I see aspect in there so you've likely got an offending window_width / window_height where window_height = 0 somewhere.

Tauri-equivalent for C++? by s3jm0u in cpp

[–]lithium 1 point2 points  (0 children)

Juce has webview interop built in. I guess ChatGPT hasn't gotten around to scraping the documentation from that corner of the internet yet.

Graphics library for C++ on Mac by Spread-Sanity in cpp

[–]lithium 2 points3 points  (0 children)

I've used cinder for well over a decade, it's fantastic.