priw8's recent activity
-
Comment on US conservative news network Newsmax files antitrust lawsuit against Fox News in ~tv
-
Comment on <deleted topic> in ~tech
priw8 All things considered it's simultaneously a pretty clever and disgusting way to track the user. I didn't think android allowed that, but in hindsight, it makes sense. I wonder how secure that...All things considered it's simultaneously a pretty clever and disgusting way to track the user. I didn't think android allowed that, but in hindsight, it makes sense.
I wonder how secure that localhost service is and whether a malicious page could use it as an attack vector...
-
Comment on DELTARUNE, a "parallel story to UNDERTALE", is out! in ~games
priw8 Damn, I finished chapter 3 today and this gives me high hopes for chapter 4. Chapter 3 spoilers Especially after seeing the end of chapter 3. Man that extra boss at the end was tough, but I made...Damn, I finished chapter 3 today and this gives me high hopes for chapter 4.
Chapter 3 spoilers
Especially after seeing the end of chapter 3. Man that extra boss at the end was tough, but I made it through eventually.
-
Comment on Microsoft Store expands opportunities for Windows app developers in ~comp
priw8 Windows users are also used to downloading stuff from websites, so having to pay to publish their app somewhere most people won't even look probably wasn't very appealingWindows users are also used to downloading stuff from websites, so having to pay to publish their app somewhere most people won't even look probably wasn't very appealing
-
Comment on Decomp.dev in ~games
priw8 Generally there are a lot of things done to make the compiler produce the same assembly code and also make it reasonable to do on a larger scale. First of all, the same compiler version must be...Generally there are a lot of things done to make the compiler produce the same assembly code and also make it reasonable to do on a larger scale. First of all, the same compiler version must be found - this can range from pretty easy to nearly impossible, depending on how old the binary in question is and whether the compiler has left any metadata in it. You also need to figure out the exact same compiler flags that were used as in the original. I'm not sure what's the exact process for doing that, but I'd imagine it involves finding some library functions that have known source code and trying things until the compiler outputs the same bytes that are in the binary that's being decompiled (at least, that sounds like the most reasonable thing for me).
Usually there's also some great tooling written to make the process more reasonable, like automatically comparing all decompiled function to the instructions these functions have in the binary - recent video about the LEGO island decompilation shows such tool, and also illustrates some of frustrations with getting the compiler to generate exactly the same binary. There's also another interesting method to see if the decompiled code is at least functionally equivalent by literally patching your versions of the functions into the original binary and forcing it to use them instead (I think it's really cool, because it allows checking if things work even early in the decompilation progress - but I'm not sure how popular doing it is, since it might be tricky to get it to work).
Based on my (admittedly limited) reverse engineering experience I can also say that it gets easier over time - eventually you start recognising certain code patterns the compiler generates in different scenarios, and it becomes easier to tell what the original code might have possibly been. So yeah, as you said, it definitely seems impossible at first, but with the right approach and tools it becomes manageable, just very time consuming (and also still very hard).
Extras
Btw I can't talk about decomp without mentioning the
UM_bullet_ex.cpp
. This was originally intended to reverse engineer some of the bullet related code in Touhou 18, but it kind of went out of control and now there's a pretty sizable chunk of the game implemented there. Still in just one file. How many lines does it have? No idea, github mobile stopped loading lines past 29000 when I tried to scroll to the bottom. Apparently clang hates it and throws an internal compiler error sometimes when attempting to build it. But can you really blame it? -
Comment on Trying to fully ditch Windows for streaming. So close, but this audio issue is breaking me. in ~tech
priw8 I've also ran into issues with audio being worse on linux than the exact same setup on windows, but unfortunately I was never able to find the underlying cause. I found some limited success...I've also ran into issues with audio being worse on linux than the exact same setup on windows, but unfortunately I was never able to find the underlying cause. I found some limited success through the use of software like EasyEffects to minimise the problem, but obviously that's not a great "solution"
-
Comment on Do you have games that you play (almost) exclusively? in ~games
priw8 Are there any overhaul mods for factorio that you'd recommend? Totally asking for a friend and not to burn another few hundred hoursAre there any overhaul mods for factorio that you'd recommend? Totally asking for a friend and not to burn another few hundred hours
-
Comment on Next.js and the corrupt middleware: the authorizing artifact in ~comp
priw8 That's quite an impressive response time all things considered.The vulnerability took a few days to be addressed by the Vercel team, but it should be noted that once they became aware of it, a fix was committed, merged, and implemented in a new release within a few hours (including backports).
That's quite an impressive response time all things considered.
-
Comment on Next.js and the corrupt middleware: the authorizing artifact in ~comp
priw8 As far as I understand it really depends how someone used middleware in their code. It's usually probably not going to be as bad, but in some cases it might (for example, I once came across a site...As far as I understand it really depends how someone used middleware in their code. It's usually probably not going to be as bad, but in some cases it might (for example, I once came across a site that returned all API auth data in a json stored in a
<script>
tag in page's body; that said I don't know if it used nextjs). It's probably hard to determine a rating because of that, so they went for the higher one to make it harder to miss for someone who might be affected more badly. -
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 A bit of a late reply, but so far I've been enjoying the Watcher and the Silent the most. I've also been trying to get better at not taking a billion cards, since I learned the hard way that in...A bit of a late reply, but so far I've been enjoying the Watcher and the Silent the most. I've also been trying to get better at not taking a billion cards, since I learned the hard way that in the lategame you need to get things going quickly and there's no time to spend multiple turns going through the deck
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 Yeah, this is the reason why I've been trying to move away from flushes in my recent runs and focus on getting chips and mult mostly from jokersYeah, this is the reason why I've been trying to move away from flushes in my recent runs and focus on getting chips and mult mostly from jokers
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 A few days ago I decided to finally get balatro on steam, since I only had it on my phone before and it was a bit inconvenient to play it on a small screen all the time (also, I wanted to be able...A few days ago I decided to finally get balatro on steam, since I only had it on my phone before and it was a bit inconvenient to play it on a small screen all the time (also, I wanted to be able to play mods). That was when I noticed that there was a Balatro + Slay the Spire bundle with a pretty nice discount... So I ended up getting it, and now I'm having a blast with Slay the Spire. I managed to get a clear with all characters so far, and I'll be attempting ascension 1 today!
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 Never heard of this game, but it sounds pretty awesome from how you describe itNever heard of this game, but it sounds pretty awesome from how you describe it
-
Comment on ctypes.sh: a Bash plugin that provides a foreign function interface directly in your shell in ~comp
priw8 There's a fun little section called "what people say" at the bottom of the README. I heavily relate to one of the comments there:There's a fun little section called "what people say" at the bottom of the README. I heavily relate to one of the comments there:
"I never knew the c could stand for Cthulhu."
-
Comment on OpenGL bindings for Bash in ~comp
priw8 Did you write it in 1 line originally, or in multiple lines and then run it on its own code to make it single line?Did you write it in 1 line originally, or in multiple lines and then run it on its own code to make it single line?
-
Comment on Bashly: A command-line application (written in Ruby) that declaratively generates feature-rich Bash scripts in ~comp
priw8 I really need to try this, managing boilerplate code for parsing args etc has always been the most annoying thing in bash scripts for me (which is why most of my scripts end up with half-assed...I really need to try this, managing boilerplate code for parsing args etc has always been the most annoying thing in bash scripts for me (which is why most of my scripts end up with half-assed parsing and cryptic errors like
echo "give arguments"
) -
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 My friend gifted me the Factorio: Space Age expansion last week. My free time is now gone and I'm building factories again. It's honestly crazy how much stuff they added, and I only visited one of...My friend gifted me the Factorio: Space Age expansion last week. My free time is now gone and I'm building factories again. It's honestly crazy how much stuff they added, and I only visited one of the new planets so far! If you want to play it, I definitely recommend going into it blind without any spoilers
-
Comment on TRMNL - Open source e-ink "companion" device in ~tech
priw8 For me it... Works, kinda? It has a janky feeling to it and jitters a bit when scrolling, but it's usable. I don't understand why you'd need to mess with scrolling to this degree though.For me it... Works, kinda? It has a janky feeling to it and jitters a bit when scrolling, but it's usable.
I don't understand why you'd need to mess with scrolling to this degree though.
-
Comment on Firefox 135.0 supports translating Simplified Chinese, Japanese, and Korean webpages locally in ~tech
priw8 I'm curious to see how these translations compare to more established engines such as google translate. I've seen machine-translated Chinese be... Not the best in the past, so I wonder if perhaps...I'm curious to see how these translations compare to more established engines such as google translate. I've seen machine-translated Chinese be... Not the best in the past, so I wonder if perhaps it's better now.
And of course, pretty awesome that it's done locally! I wonder if it can be manually used outside of the browser?
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
priw8 Mostly UFO 50, playing and completing games in order. To say that game is overflowing with creativity would be an understatement, it's insane just how many unique ideas there are. And the craziest...Mostly UFO 50, playing and completing games in order. To say that game is overflowing with creativity would be an understatement, it's insane just how many unique ideas there are. And the craziest thing to me is I'm not even through a 1/3 of games yet.
Some spoilers for last UFO 50 game I played, Avianos:
I really like what they did with the extra trials there. Just when I thought I had a really good strategy figured out, they went and randomized all of the ancestors' abilities. So suddenly I have to rethink everything again, and using the randomly reordered abilities also turned out to be harder than the regular ones. I don't usually play strategy games, so I didn't expect to enjoy Avianos as much as I did!
Honestly I kinda doubt anything meaningful will come out of this. This kind of seems to be the case with any lawsuit brought against big corporations, unfortunately.
...other than the lawyers being paid. Good for them, I guess?