sureanem |
Posted on 19-02-27, 01:21 in Revamping my Genesis/MD emulation workbench
|
Stirrer of Shit
Post: #41 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
You considered using Wine? It should run well: https://appdb.winehq.org/objectManager.php?sClass=version&iId=23900 If not that, then I recall using a special "Mini" build of Windows XP that was like 100mb and ran from RAM. Even in QEMU the overhead would probably be tolerable. All of this emulation software is pretty old anyway, and most of it is Windows-only. I think Windows 7 is going to become some kind of gold standard for software. In the future, we'll just run it on Wine (ported to Android). When Android starts to become archaic, we'll just run AINE on whatever OS comes after, with WINE under that, gradually piling on layers of emulators as we go. And it won't matter, since the overhead will be negligible compared to whatever horror Electron has developed into after 20 years. Remember, CPU time is always cheaper than developer time. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 02:38 in Revamping my Genesis/MD emulation workbench
|
Stirrer of Shit
Post: #42 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
I don't see the issue. With Wine, you'd be good on the compatibility front for many years to come, and the overhead is negligible. Is GTK2 dead yet? What would it even entail, no more updates? It might be harder than it looks, but Gens doesn't look to be that tightly coupled to GUI code. Might be able to fix that without doing a full rewrite. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 15:46 in Revamping my Genesis/MD emulation workbench
|
Stirrer of Shit
Post: #43 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
The current Debian stable release is Stretch, came out on 2017-06-17. They usually go two years and two months between each release. And GTK2 is still in unstable, which is two releases out. That means it's at the very least (read: if they dropped support for it tomorrow) going to survive until late 2023/early 2024, when current unstable becomes oldstable. And that's assuming nobody writes a GTK2 -> GTK3 shim/compatibility layer in the next five years. It seems overly pessimist to me to avoid using a piece of software because of perceived issues in 5 years that may or may not cause any actual trouble. Running things in Wine is a feasible solution. It's not an emulator as much as an API shim. There's no performance hit, as long as the compatibility is fine there aren't any issues. With MAME, you're doing actual CPU emulation with the added issues that brings. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 15:52 in board.byuu.org has been closed; byuu.org upgraded
|
Stirrer of Shit
Post: #44 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by byuu Why not 301 redirect it to the archive here, instead of giving 503 service unavailable? There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 16:32 in Mozilla, *sigh* (revision 1)
|
Stirrer of Shit
Post: #45 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
And you can't run userscripts on it either, because Mozilla is vehemently opposed to users having any kind of freedom at all. What's the point of this extension nonsense? It should be trivial to patch Firefox to take extensions in dll/so format that interact with the internal API. That would solve the whole issue of 'sandboxing' and other crap, enabling you to run precisely whatever native code you wish at full performance (e.g. no more praying webextensions gives you the proper API) You'd have to put some hooks in but that's pretty much all. Can't be that hard. Why hasn't anyone done it before? EDIT: Apparently they had the feature in before, but they took it out due to "stability" or "security" or whatever. Christ, what unimaginable stupidity. But it's okay, because they replaced it with something else that they then deprecated. Give them an inch... There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 20:52 in Man, Google Translate is scary (revision 1)
|
Stirrer of Shit
Post: #46 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
I saw a tweet by a Hispanic-American politician in Spanish. Since my Spanish isn't that great, I search for the phrase, but only find Spanish-language publications. I copy one of the links into Google Translate, hoping it would give me a comprehensible translation.Posted by https://www.cubanet.org/noticias/marco-rubio-advierte-diaz-canel-te-vemos-pronto/ I don't think this is that different to the writing you would see in a real, American, newspaper. It's not great, and there are some grammatical errors, but I don't think I'd blink twice if I'd see it published. Possibly think something along the lines of "man, what fucking idiots do they hire to write this garbage", but not "this was translated from a foreign language by a computer". Truly amazing. Obviously, English <-> Spanish is comparatively easy to translate. But the last time I used Google Translate, it produced a text that was riddled with grammatical errors and nigh-unreadable. This is on the level of what an uneducated native speaker would produce. Some phrasings feel stilted or odd ("aid needs impoverished peoples for so many military bases and so many imperial aggressions," "because apparently it could be possible for them to know that there is no way to save the heir of Hugo Chávez," "unknown by more than 60 governments"). But these also feel like the kind of mistakes someone with a poor grasp of the language would make. I mean, the context knowledge needed to swap out "unknown by" for "unbeknownst to" would be incredible. And likewise, the other poor phrasings sound just like the type of errors immigrants make while learning the language ("Enough of false pretexts," "yesterday burned aid trucks," "his opponent wins every day national and international support"). Truly incredible. It's also somewhat strange that despite their advanced translation technology, they can't fix basic issues with putting in random spaces after quotes. (note: I am not trying to discuss politics or the situation in Venezuela. Please do not discuss politics in this thread, but rather in the designated politics thread. This thread is about machine translation.) There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-27, 23:43 in Man, Google Translate is scary
|
Stirrer of Shit
Post: #47 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by KoiMaxx Man, that's impressive. I'm always suspicious about the public demonstrations. IBM in particular has a poor track record, see Deep Blue. More recently, Google's AI assistant, where they refused to answer questions about if they edited it. Posted by 25:20 (and then she starts evading the question, talking about why subsidies would be good and repeating her argument) Now THAT is impressive. They managed to get her to not only debate, but to do it like a true politician with a par for the course understanding of economics. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-28, 22:45 in bsnes v107 released
|
Stirrer of Shit
Post: #48 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by BearOso If I understand the source code correctly, it still has some artifacts since some lines will be sharper than others. (e.g. scale to nearest integer multiple, then the last mile with bilinear) There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-28, 23:03 in Mozilla, *sigh*
|
Stirrer of Shit
Post: #49 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by Screwtape They should make them a better API then. Why can't they put them in a separate process like everything else? There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-28, 23:49 in The Horstmann brace style
|
Stirrer of Shit
Post: #50 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
So there's a somewhat obscure brace style, called the Horstmann.
I really like it. It saves space, making things more readable, and it also lines up the braces. I can't see any downsides, except for losing the "documentation space" you have with the Allman style, where each brace gets its own line like this:
I've been using it for a fair amount of time (with Allman for functions), and the only downside I can see is that not much software supports it. So why isn't it more popular? When I show people it, the reactions are either "that's absolutely disgusting, never show me it again," or "that's amazing, why haven't I heard of this before?". But nobody seems to be able to explain why they hate it, other than that it's unfamiliar. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-02-28, 23:54 in Mozilla, *sigh*
|
Stirrer of Shit
Post: #51 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by wareya AV products shouldn't be, at all. Maybe they could exist in the form of something like VirusTotal, but nothing else. I can't remember last time I used one and I've never had any trouble with viruses. In addition, they're completely useless for thwarting any kind of qualified attacks, only protecting against the exact same type of malware that ordinary common sense would protect you from. But for other extensions, it might be useful. For instance, ad blockers could do things with lower resource use if it could hook in at whatever level it wanted and run native code. Likewise, you could fix parts of the browser (like about:config) you couldn't previously touch. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 01:55 in Mozilla, *sigh*
|
Stirrer of Shit
Post: #52 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
No, not sandboxed in a separate process. It should still have full access to the memory of the Firefox process, but if it crashes it shouldn't bring FF down with it, but rather just stop interacting with the browser. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 02:08 in Mozilla, *sigh*
|
Stirrer of Shit
Post: #53 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Yes (assuming it has write access), but a poorly written extension wouldn't do it by accident. I mean, a deliberately malicious extension could crash Firefox now too. Heck, even an incompetently written website does the trick. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 14:10 in Revamping my Genesis/MD emulation workbench
|
Stirrer of Shit
Post: #54 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by tomman You might be able to automate it. On most games, if you randomly mash buttons on the controller you'd eventually pass the menu and enter a level. If you make a completely random input movie and feed it to the emulators, then take something like the md5 hash of each frame, it should be enough to compare them to each other. Of course, you'd still need some human intervention to check which frame is correct, but it might simplify the process if you have a few dozen games to test. Also, retroDrive r5 x Gnu Sierra Demo (PD) has some text in Spanish, maybe that should be rectified. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 14:14 in Mozilla, *sigh*
|
Stirrer of Shit
Post: #55 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
>Poorly written programs crash themselves by accident all the time. If they're running in a separate process, they shouldn't bring the browser with them. Sure, they could overwrite its memory, but that's not something to happen by accident. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 14:16 in The Horstmann brace style
|
Stirrer of Shit
Post: #56 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by tomman How do you find out which block is which if the braces don't line up? With multiple levels of nesting, that gets ugly fast. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 16:39 in The Horstmann brace style
|
Stirrer of Shit
Post: #57 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by jimbo1qaz No, only the latter.
becomes
There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 20:09 in Revamping my Genesis/MD emulation workbench (revision 1)
|
Stirrer of Shit
Post: #58 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by tomman Are you all right? There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-01, 21:43 in Revamping my Genesis/MD emulation workbench
|
Stirrer of Shit
Post: #59 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by tomman Do you really want for people to put themselves through the pain of writing software for Android, let alone iOS? As much as I hate to say it, assuming you're writing for PC only, writing Windows-only software is perfectly sufficient. Windows-targeting code runs with native performance on all major platforms, while code targeting OS X or Linux only runs on their respective operating systems. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
sureanem |
Posted on 19-03-02, 00:00 in The Horstmann brace style
|
Stirrer of Shit
Post: #60 of 717 Since: 01-26-19 Last post: 1763 days Last view: 1761 days |
Posted by tomman Vim supports it, and presumably emacs too. Which CLI-based editors don't, you mean? The fact that you can't do it visually has always been a huge issue for me, that you actually have to move the cursor over there to check. Posted by Screwtape How do you mean? It's true that in trivial examples like this, it's possible. But if you have more difficult examples, then matching them becomes considerably harder:
Especially if the blocks are twice as long.
Fair enough. In practice, I'd reckon the smallest legible font (contingent on eyesight and dpi) is usually the most readable one. I suppose you eventually could get used to the 3x5 fonts though, even if your eyesight isn't good enough, by recognizing the patterns.
Would there? We'd still be discussing to what to set our autoformatters to, no? Case in point: Posted by wareya I use vim, which does have functionality like this (although I rarely use it, since I can't figure out how to configure it), yet I still make threads like this ;) There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |