@pervognsen@mastodon.social avatar

pervognsen

@pervognsen@mastodon.social

Performance, compilers, hardware, mathematics, computer science.

I've worked in or adjacent to the video game industry for most of my career.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pervognsen, (edited ) to random
@pervognsen@mastodon.social avatar

I assume this isn't a problem for EEs but for CS types who are taught logic gates, etc, in their curriculum I wonder if timing should be included in a first course. I'm still trying to help the person I mentioned earlier in a private chat and it sounds like that's the source of almost all their confusion. They think logic gates are instant and one of the "counterexamples" they came up for why delays seem logically inconsistent is y = xor(x, not(x)). Which is a standard edge detector.

steve, to random
@steve@discuss.systems avatar

But really, how would you explain how to use chopsticks to someone who has never seen them before and is setting out to learn how only by reading your book?

The lower is fixed with the base of the thumb pressing down (D in Figure 2), and the base of the index finger (U) and the thumb side of the end of the ring-finger (U’) both pressing upwards. Keep this lower chopstick there and never let it slide or roll. The upper chopstick is held in a floating position. The tip of the thumb holds it down as a fulcrum (F in Fig. 2). The tips of the index and middle fingers pinch and push on both sides of the chopstick farther down toward the food end. When the index finger pushes down harder at P (power), the tip at L (load) comes down and pinches the food against the fixed chopstick. When the middle finger presses up harder at P’, the tip is raised (to position shown by dotted lines) and the pincer is opened to make ready to get another morsel. This opening motion, when done firmly, can also separate food, such as meat or chicken, when well done. In moving the upper chopstick up and down, a slight rolling may be caused by its upper part resting on the side of the index finger. But this slight rolling makes no difference in the result. Two important conditions for effective use of chopsticks must be remembered. One is that the two lower ends must be even, that is, one must not protrude over the other. The other condition is that the two chopsticks must be in the same plane. You need not know much geometry to see that unless these conditions are met, you cannot make your two ends meet.

pervognsen,
@pervognsen@mastodon.social avatar

@steve Incredible.

wolfpld, to random
@wolfpld@mastodon.gamedev.place avatar

Nvidia driver with external sync is in beta.

Seems to work as expected. No more black flicker in Resolve, Noita, or Stardew Valley. No previous frames during hitches in Star Citizen.

@wonziu

pervognsen,
@pervognsen@mastodon.social avatar

@wolfpld External sync? Is this the technical issue on Linux with NV that everyone has been complaining about?

joew, to random
@joew@hachyderm.io avatar

Lenovo taking the Apple track on the SSD and memory upgrade prices

Upgrading from 32 to 64GB costs additional $447

pervognsen,
@pervognsen@mastodon.social avatar

@joew Laptop manufacturers seem to make their profits on the upgrades, similar to restaurants and drinks.

asmodai, to EldenRing
@asmodai@mastodon.social avatar

Elden Ring Shadow of the Erdtree story trailer going live in ~60 minutes (17:00 CEST, 15:00 UTC)

https://www.youtube.com/watch?v=6uT8wGtB3yQ

pervognsen,
@pervognsen@mastodon.social avatar

@asmodai I still haven't gotten around to making a new save on the current patch to prepare... I kind of want to get it out of the way because if I try to play the base game and the expansion back to back I worry I'll be too burned out to enjoy the expansion. The game is too damn big for its own good.

pervognsen,
@pervognsen@mastodon.social avatar

@asmodai Hmm, is there any indication that the new weapons/ashes are available outside of the expansion itself? I haven't followed expansion news since the initial reveal but it looked like a completely self-contained expansion like The Old Hunters. Of course you can bring the items back out of the expansion, but I meant before you get to it.

wolfpld, to random
@wolfpld@mastodon.gamedev.place avatar

Why is clang taking 5 minutes to compile a relatively small C++ (168 KB) source file? Let's see...

https://github.com/ggerganov/llama.cpp/blob/917dc8cfa67a72fb7c8bf7392270da3bf4833af4/unicode-data.cpp

Ah, oh, um... That's not how you do it.

Here's 10 MB of data as source code that compiles in about 8 seconds:

https://raw.githubusercontent.com/wolfpld/tracy/8983e14e1875ea1b7de820c558f898f3ad47015a/profiler/src/profiler/TracyMicroArchitecture.cpp

pervognsen,
@pervognsen@mastodon.social avatar

@wolfpld @JamesWidman A small tip in case it helps with your startup time: when I have huge bulk data like this I segregate it into separate sections for pointer-containing and non-pointer-containing data so that the load-time pointer fix-ups/relocs only happen to the pages in the pointer data section.

pervognsen, (edited )
@pervognsen@mastodon.social avatar

@wolfpld @JamesWidman I didn't look closely enough to see whether that will happen automatically as a result of data vs rodata splitting in your case but it's something that can otherwise help if startup time is a concern. (Alternatively, you can use relative pointers, which can typically get away with being 32 bits on 64-bit platforms, but that's a more disruptive change.)

pervognsen, (edited ) to random
@pervognsen@mastodon.social avatar

I was trying to help someone on reddit yesterday who was writing their first digital logic simulator and got confused on how to handle combinational loops when simulating the internals of an SR latch. I wish someone had explained it to me in terms of discrete-time state vectors instead of directly jumping into event-driven simulation, which is mostly just a sparse optimization of the state vector approach. https://gist.github.com/pervognsen/78b2baeac7f6ffba9fd6b41b6e6db284

pervognsen, (edited )
@pervognsen@mastodon.social avatar

Incidentally, if you do want to write an event-driven circuit simulator, there's an interesting analogy with event-driven IO in systems programming about readiness vs completion signaling. The readiness approach is IMHO the easiest to get right since it embraces the notion that event-driven simulation is an optimization. So you conservatively schedule pull-based node re-evaluations but you don't try to push new node values into the future.

pervognsen,
@pervognsen@mastodon.social avatar

(Event-driven simulation can also more easily handle non-discrete-time systems with discrete state changes, which is at least one sense in which it's not merely an optimization of the discrete-time state vector approach.)

Sharlock93, to random
@Sharlock93@mastodon.gamedev.place avatar
pervognsen, (edited )
@pervognsen@mastodon.social avatar

@Sharlock93 I already bought it on the Epic store, unfortunately. It's definitely a great deal. I've bought it on so many platforms at this point, including the Japanese import of KH2 Final Mix for PS2 which 2.5 is based on. I don't even like the KH nonsense story or characters, but the combat is really good in some of the games, especially KH2 Final Mix with all the extra super bosses, and I do have a soft spot for classic Disney. I wish there were cameos from early FF instead of FF7 and later.

pervognsen,
@pervognsen@mastodon.social avatar

@Sharlock93 I kind of liked the gummy ship missions in KH2. I usually also platinum the game when I play it now so it's a little annoying to have to S-rank all the missions (both the mandatory and optional routes) but once you know some of the min-max shipbuilding tricks it's more fun than frustrating.

wingo, to random

graphviz is a tool to convert graphs to unintelligible spaghetti

pervognsen,
@pervognsen@mastodon.social avatar

@wingo You can actually get intelligible spaghetti out of it but it requires more manual specification/control.

pervognsen, to random
@pervognsen@mastodon.social avatar

The age of bad AI-generated logo art for open source projects is upon us.

pervognsen, (edited )
@pervognsen@mastodon.social avatar

@resistor The weird chromatic aberration and RGB fringing seemed to be more of an issue in all the early work on style transfer, which I took to be an artifact of CNNs.

pervognsen,
@pervognsen@mastodon.social avatar

@resistor I think the example I posted above is bad mainly on account of its incongruous and nonsensical contents although the surface-level aesthetics is certainly the cherry on top.

pervognsen,
@pervognsen@mastodon.social avatar

@resistor What are those creepy eyeballs? What are some of those little people actually doing when you look closely? Why does the Apple monitor's metal frame have what looks like the min/max/close buttons on a macOS window but four instead of three with two duplicated colors and they're on the wrong side? And most importantly, what does any of this have to do with the project in question (which I won't spoil).

ca1ne, to random
@ca1ne@mastodon.gamedev.place avatar

> With Recall, locating files in a large download pileup or revisiting your browser history is easy. You can give commands to Recall in natural language, eliminating the need to type precise commands.

"We suck at UX so we'll need to record everything and run on a 40+ TOPS CPU to be able to provide even the most basic functionality. Do you like this, is this good?"

https://www.windowslatest.com/2024/05/20/microsoft-confirms-windows-11-recall-ai-hardware-requirements/

I'm sorry, but AI is mostly just doing simple things, incredibly inefficiently, in the most creepy way.

pervognsen, (edited )
@pervognsen@mastodon.social avatar

@ca1ne I'm still waiting for MS to show that they can ship any kind of search in any part of Windows that isn't a disaster. I can't think of anything that has ever worked. The async Start Menu search has been an ongoing disaster for the last 15 years. The file search in Explorer has never worked. You've always had to use third-party tools to get a functioning, productive search experience for any part of Windows.

pervognsen,
@pervognsen@mastodon.social avatar

@dotstdy @ca1ne It's never been a technical barrier... I'm not going to take a cheap shot at PMs because the issue is bigger than any role like that but the issue is clearly related to company values, incentives and decision making rather than either design or technical competency.

pervognsen,
@pervognsen@mastodon.social avatar

@dotstdy @ca1ne Or perhaps more accurately, the design and technical competency of a company or division is much less than the sum of its parts. There's plenty of competent designers and engineers at MS who could do a great job with search if they were allowed to do it.

pervognsen,
@pervognsen@mastodon.social avatar

@dominikg @dotstdy @ca1ne Everything can search file contents but it doesn't do indexing. Personally I just use ripgrep, it's fast enough without the need for indexing. If you need indexing there's @zeux's qgrep. Although I don't think qgrep automatically keeps the index up to date. A good reason to prefer a non-index-based solution is so you don't have to worry about index maintenance.

pervognsen, to random
@pervognsen@mastodon.social avatar

Who remembers this awesome jankfest? The IK was bleeding edge for 1998 and when that indie game Hellish Quart came out I remember getting flashbacks to Die By The Sword.

pervognsen,
@pervognsen@mastodon.social avatar

@jplebreton To be fair, there's still plenty of weirdness in PC indie games, but it's definitely a different approach. Back then PC games that did weird stuff weren't necessarily trying to be weird, they were just exploring/mapping the territory.

pervognsen,
@pervognsen@mastodon.social avatar

@jplebreton I was thinking about Shiny's Sacrifice the other day. It's crazy how experimental mainstream games were for a period even when they were somewhat painting within genre lines. It produced some occasionally great results like Sacrifice (which then promptly fell down the collective memory hole).

unormal, to random
@unormal@mastodon.social avatar

thinking about her

pervognsen,
@pervognsen@mastodon.social avatar

@daviwil @unormal It's crazy to think now that MDK 2 was developed by Bioware.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines