After getting angry at Lua for bugs reappearing after fixing them, and otherwise having issues with making it interoperable with my own language of choice (D), I decided to roll out my own VM out, with some enhanced optional features compared to regular Lua (type safety, static arrays on the stack, enhanced metatables, etc.),...
because no way I’m going to touch WASM with a 10 meter long pole
I think that you should look into WASM a little more closely because it is not web-specific at all; it is more like an alternative to the JVM that is a bit lower level and designed to be interpreted/JIT compiled more efficiently. You do not need to embed a web browser or anything similarly heavy into your app to use it; you can just use via Wasmtime, which is a library written in Rust with bindings to other languages that is officially supported by the maintainers of the WASM standard.
I disagree; I think that we do care about it being popular enough that it incentivizes software and hardware vendors to support it rather than ignoring it.
Short but honestly good advise to rather pull boolean checks apart and re-group them as they make sense in the context of the given situation you’re checking for....
Sometimes this can help, but lately I’ve been running into the opposite problem where people have been following this advice to such a degree that one cannot ever figure out what is going on without having to constantly jump around to find the actual code involved in doing something.
Automatic garbage collection in C is possible with libraries like libgc, but with allocppx.pl, you can just preprocess your file into generating heaps, and these heaps can be used for memory allocation. The type of GC is used, mark and sweep + reference counting. Every memory allocation MAY have a trace, and this trace can be...
“This isn’t us encouraging you to gamble-it is us asking you to think about how bad you would feel years from now if you learned that you could have made a ton of money if you had only placed a bet right now! It’s completely different!”
No, it will be too busy making paperclips to even notice us, except as a nuisance getting in the way of it making paperclips that needs to be eliminated.
I love all the ritualized behaviour, secret meanings and unexpected taboos - standing up when someone of higher status stands, elaborate rules for serving and eating, tapping the table to thank the server, never refuse a toast from a superior, stuff like that....
Yeah, I miss living in Australia where you didn’t have your own waiter but on the other hand that meant that it wasn’t rude to flag down any of the wait staff if you need anything rather than being restricted to having to go through a single person.
The way I structure my commits, it is usually (but not always) easier and more reliable for me to replay my commits one at a time on top of the main branch and see how each relatively small change needs to be adapted in isolation–running the full test suite at each step to verify that my changes were correct–than to be presented with a slew of changes all at once that result from marrying all of my changes with all of the changes made to the main branch at once. So I generally start by attempting a rebase and fall back to a merge if that ends up creating more problems than it solves.
Yes. My rule of thumb is that generally rebasing is the better approach, in part because if your commit history is relatively clean then it is easier to merge in changes one commit at a time than all at once. However, sometimes so much has changed that replaying your commits puts you in the position of having to solve so many problems that it is more trouble than it is worth, in which case you should feel no qualms about aborting the rebase (git rebase --abort) and using a merge instead.
I’ve only met one other person that knew who/what Dvorak was/is, and also reportedly used that keyboard layout.
I experimented with it in University–I actually got a screwdriver and pried up and rearranged all of the keys on my keyboard within a week or so of starting–but after graduating I noticed that I was still slower at typing on Dvorak than I was on QWERTY so I gave up and changed back.
Yeah, about a decade ago I tried using the Boost Graph Library because I needed a graph library for C++ and eventually had to give up because it was so heavily template-based that I couldn’t figure out how to actually do anything with it.
Just to be clear, there are lots and lots of different observations that are ; it’s not just a single term in “the math”. Furthermore, the hypothesis presented in this article is not “better math” because it does not do as good a job as dark matter in explaining all of these observations.
Dark matter does interact with matter, though: it interacts gravitationally. It just does not interact in other ways (that we know of yet). All you would have to do to disprove the existence of dark matter is to show that some things interact with it gravitationally but others don’t. However, this is not what we see; what we actually see is a whole bunch of separate things that all experience the effect of the existence of dark matter in the same way. It’s effectiveness as an explanation in this regard is exactly what makes it so difficult to dethrone.
Huh, the docs are the only place where I see if defined in that way; in the slide decks and the paper the term “choice” means what you would expect in a logic programming context, and they even show concrete examples of unification. Maybe the Unreal Engine is using a subset of the full language for its dialect so that it can be mapped to and from C++?
Well, I mean, I would have launched it first (as an AAA game), but I’m no game developer. 🤷 And neither are they, from the looks of it. Good at perpetually raking in money for himself and his family, though!
The root of the problem is that you think of momentum as being defined to be the product of something’s mass and its velocity, but this is actually only an approximation that just so happens to work extremely well at our everyday scales; the actual definition of momentum is the spatial frequency of the wave function (which is like a special kind of distribution). Thus, because photons can have a spatial frequency, it follows simply that they therefore can have momentum.
Something else that likely contributes to your confusion is that you probably think that where something is and how fast it is going are two completely independent things, but again this is actually only an approximation; in actuality there is only one thing, the wave function, which is essentially overloaded to contain information both about position and momentum. Because you cannot pack two independent pieces of information into a single degree of freedom, it is not possible for position and momentum to be perfectly well defined at the same time, which is where the Heisenberg uncertainty principle comes from.
I can understand this view for early backers (I’m one of them) but what about people who decided to drop money on the game in the last 2 or even 5 years? Were they also scammed despite hundreds of articles about delays, issues and thousands of people yelling about a scam every time SC is mentioned?
Maybe, maybe not, but is entirely possible to be scammed while also being in a position where you should have known better; the two are not mutually incompatible.
This study shows links between Long COVID’s neurological effects, including brain fog and cognitive decline, and brain blood vessel integrity, offering hope for new treatments and diagnostic methods....
Speaking only for myself, what really threw me off was the following:
Apologies if you’ve already tried this or something similar, it doesn’t work for everyone, but I got mine back by using essential oils to restrain [emphasis mine] my olfactory system.
I think that if I’d realized that you meant to say “retrain” here instead of “restrain”, I would not have been so quick to initially dismiss it as obviously nonsense.
I’m not sure why anyone would think I meant ‘restrain’, but oh well.
The Bhagavad Gita spends a lot of time extolling the importance to spiritual life of controlling the senses with the goal of restraining them, and in particular this is a precept of the Krishna Consciousness cult.
Should I continue making my own VM, or scrap it for some preexisting solution?
After getting angry at Lua for bugs reappearing after fixing them, and otherwise having issues with making it interoperable with my own language of choice (D), I decided to roll out my own VM out, with some enhanced optional features compared to regular Lua (type safety, static arrays on the stack, enhanced metatables, etc.),...
Shower thought: Linux would be more popular if we could all agree on a distro
Linux is super fragmented (and generally has been historically)....
isBooleanTooLongAndComplex (testing.googleblog.com)
Short but honestly good advise to rather pull boolean checks apart and re-group them as they make sense in the context of the given situation you’re checking for....
Unused variables (sh.itjust.works)
AllocPPx.pl -> A Perl script that preprocesses C with garbage collection! (gist.github.com)
Automatic garbage collection in C is possible with libraries like libgc, but with allocppx.pl, you can just preprocess your file into generating heaps, and these heaps can be used for memory allocation. The type of GC is used, mark and sweep + reference counting. Every memory allocation MAY have a trace, and this trace can be...
What Software engineers should know about stock options (zaidesanton.substack.com)
Christopher Nolan's "Interstellar" will be re-released in IMAX 70mm on September 27, 2024 to celebrate it's 10th anniversary! (variety.com)
This is great news! I bought it on 4K Blu-ray but didn’t watch it yet to see if it would be re-released.
Do you think AI will start religions about us eventually? (lemmy.world)
What's the most interesting traditional or formal politeness behaviour or table manners in your culture? Or for any service personnel, in your restaurant?
I love all the ritualized behaviour, secret meanings and unexpected taboos - standing up when someone of higher status stands, elaborate rules for serving and eating, tapping the table to thank the server, never refuse a toast from a superior, stuff like that....
Rebase Supremacy (programming.dev)
Linux users with uncommon or unusual setups: tell us about it
I’ll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!...
USS Stembel coming alongside the aircraft carrier USS Yorktown to take on fuel. 1956
Boost geometry: design rationale (beta.boost.org)
New research suggests that our universe has no dark matter (phys.org)
Bringing Verse Transactional Memory Semantics to C++ (www.unrealengine.com)
Verse (paper/slides, language reference) is the “language for the metaverse” being developed by Epic Games and some very well-known PL researchers....
Star Citizen's first-person shooting is getting backpack-reloading, dynamic crosshairs, procedural recoil, and other improvements to 'bring the FPS combat to AAA standard' (www.pcgamer.com)
Well, I mean, I would have launched it first (as an AAA game), but I’m no game developer. 🤷 And neither are they, from the looks of it. Good at perpetually raking in money for himself and his family, though!
Leaky Blood Vessels: Underlying Cause of Long COVID “Brain Fog” Discovered (scitechdaily.com)
This study shows links between Long COVID’s neurological effects, including brain fog and cognitive decline, and brain blood vessel integrity, offering hope for new treatments and diagnostic methods....