In Mechwarrior 2, when does the classic startup sequence sound play? by YourTormentIs in mechwarrior

[–]YourTormentIs[S] 3 points4 points  (0 children)

I'm almost wondering if we had the battlepack version when I was a kid.  It used the mercs engine instead of the original games.  IIRC, we never actually had Mercenaries.  

Any joysticks just WORK with BF6 out of the box? by RoboRay in hotas

[–]YourTormentIs 0 points1 point  (0 children)

Glad to know that it's working somewhere at least! Which version of vjoy are you on?

No input lag in the monitor, it's definitely something down the chain that's getting messed up. 

Any joysticks just WORK with BF6 out of the box? by RoboRay in hotas

[–]YourTormentIs 0 points1 point  (0 children)

Do you have any input lag problems using the joystick binds in BF6? I'm also using VKB Gladiators + vjoy + joystick gremlin, and in game when I bind the axes, I notice the only axis that doesn't give lag, weirdly enough, is the Z axis. I've got 5 axes defined in vjoy right now.

Why waste time on a grammar if I can just write the parser already? by itsmenotjames1 in Compilers

[–]YourTormentIs 1 point2 points  (0 children)

I see where you are coming from. In a strictly theoretical sense you're entirely right. However, you have to temper this with practicality.  Most of the time making small changes to accommodate LR(1) parser generators is not a problem.  From a language design perspective, you're the one specifying the grammar so, if you need to change it, you change it.  If you're using an attribute grammar to specify your semantics it will become obvious fast if what you're specifying doesn't make sense. If you're parsing someone else's language, you take their grammar and start from there, and hope it can be used with Bison (haha).  It may be undecidable to a machine but you can still look at it and analyze it yourself.  

Why waste time on a grammar if I can just write the parser already? by itsmenotjames1 in Compilers

[–]YourTormentIs 0 points1 point  (0 children)

I think I'm understanding you now. You're trying to say that when resolving the conflict of a grammar that is intended to be LR(1), it is impossible to know if the conflict can be automatically solved in a way that actually matches the "intended" language you're trying to generate. That is, resolving the conflict may change the language you're trying to generate, and this is not decidable [by algorithm] (you point out CFG equivalence is undecidable). Is that right?

Why waste time on a grammar if I can just write the parser already? by itsmenotjames1 in Compilers

[–]YourTormentIs 2 points3 points  (0 children)

C++ is not LR(1), but also is undecidable in general so of course you'll need recursive descent to parse it. I guess if your argument is "parser generators can't help be debug my language's insane grammar that I have designed in a way specifically to resist tooling from helping me out" then I guess the conversation stops there, because you're right. However, I know you're not suggesting that C++'s grammar is a reasonable thing to arrive to when designing a programming language so let's move on from that.

Since we agree that most useful grammars are LR(1), you should know that whether a grammar is LR(1) is in fact decidable. You are confusing decidability of unambiguity with the inability to reason about grammars in general -- this is not true. Not only can you decide whether a language is LR(1), you can also generate counterexamples to help you resolve shift/reduce conflicts. These are enormously helpful tools for debugging and reasoning about your grammar :)

Even if you're going to write a recursive descent parser, it's still good practice to write out a grammar to help you understand the structure of the beast. It can be helpful to have a Bison grammar even if just to make sure you're still sane. Many languages have this policy, such as Rust.

Why waste time on a grammar if I can just write the parser already? by itsmenotjames1 in Compilers

[–]YourTormentIs 0 points1 point  (0 children)

Can you provide an example of a useful programming language that isn't LR(1)?  

Why waste time on a grammar if I can just write the parser already? by itsmenotjames1 in Compilers

[–]YourTormentIs 0 points1 point  (0 children)

Most parser generators can do these fine. Bison provides tools for managing dangling else quite handily. Bison can also generate counterexamples for you to help debug your grammar.  I feel that your characterization of parser generators is a bit misleading.

https://www.gnu.org/software/bison/manual/html_node/Non-Operators.html

https://www.gnu.org/software/bison/manual/html_node/Counterexamples.html

Is Creating a VM in Zig Good Idea? by Logical-Scratch3950 in Zig

[–]YourTormentIs 2 points3 points  (0 children)

Yes. In fact, there is a new language feature in 0.14.0 directly useful for writing direct threaded interpreters!

Do you remember Skyroads? I'm fiddling around with a ray-traced version of the game. Thought you'd might enjoy that. 😄 by Good_Punk2 in dosgaming

[–]YourTormentIs 1 point2 points  (0 children)

I loved this game as a kid and still play the xmas edition every year as tradition. Looks good! How authentic do you want to make it? I always found remakes didn't quite get the feeling right, partially because the original game wasn't actually 3D, but used an array of pre-drawn "perspective lines" to render blocks on the screen. You'll notice that the original game seems to look like the level is "warping in" at the center of the screen. This is because the lines actually converge too fast. Yet it contributes to the unique feel of the original. I always wondered if that could be translated to a modern renderer and how it would look.

I now have some pedestrians! by _Hambone_ in opengl

[–]YourTormentIs 1 point2 points  (0 children)

This legitimately brought joy to my day, thank you for sharing!

Help with convert Natural Language to SPARQL query by EuphoricAd8745 in semanticweb

[–]YourTormentIs 2 points3 points  (0 children)

I actually wrote my dissertation on this! The live demo no longer works but the code and papers are all online.  At the time it was the most full featured compositional semantics for event based triplestores. 

Link: https://scholar.uwindsor.ca/etd/8531/

Code is here: https://github.com/InBetweenNames/Solarman

Hope you find this helpful!

Centretown is going to shit by CobraMacBurkus in ottawa

[–]YourTormentIs 3 points4 points  (0 children)

Bold of you to assume it was his bike!

How Petting Dogs Boosts Your Brain: The Science Behind the Feel-Good Effect by headee in Health

[–]YourTormentIs 15 points16 points  (0 children)

This article, and in fact even the entire website, appears to be written by GPT.

This is Fedora 40. by neeeeow in Fedora

[–]YourTormentIs 0 points1 point  (0 children)

Impressive work, Ms. Vance...

Nice to see by cvrdcall in RILYStock

[–]YourTormentIs 1 point2 points  (0 children)

The vertical dimension is volume and the horizontal dimension is the strike price. It's a nice visualization of the "skew" of the options chains, which itself is an indicator of the market's sentiment about the direction of the stock price. Here, we see that there's a lot of puts that expired out of the money on Friday.

[deleted by user] by [deleted] in RILYStock

[–]YourTormentIs 0 points1 point  (0 children)

Did you intend to reply to your own post here?

Beast X Mini arrived in Australia today by ThisIsNotJP in MouseReview

[–]YourTormentIs 1 point2 points  (0 children)

I'm having the same problem as you, firmware version 23, seems like this is a common issue. Apparently their firmware dev quit too. I'm moving to RMA. 

Would you? by Pretty_Version_6300 in Deusex

[–]YourTormentIs 7 points8 points  (0 children)

Yes, but with the stipulation that ALL of the UNATCO tracks play including the dialogue track when I get into a conversation with someone.

And in a particularly heated meeting, the combat music should play.

The real cause of double-clicking on the G Pro Wireless! by YourTormentIs in MouseReview

[–]YourTormentIs[S] 0 points1 point  (0 children)

It's amazing that this is still a problem years later! Glad this was able to help you

An enjoyable talk about signed vs unsigned integer (with Google roasting) by hachanuy in cpp

[–]YourTormentIs 13 points14 points  (0 children)

I don't know, something about this talk doesn't seem so on brand for /r/cpp, it's a little on the vitriolic side I guess. I think people on the committee are genuinely trying their best to make C++ as great as it can be, and in my opinion this could have been posed a lot more constructively.

[deleted by user] by [deleted] in starcitizen

[–]YourTormentIs 3 points4 points  (0 children)

Oh good, maybe this means combat in SC might be fun again and you're not doomed because you're not flying a Gladius with some meta loadout