bitcrafter

@bitcrafter@programming.dev

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

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.),...

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

Spotted the INTERCAL programmer.

bitcrafter,

Because some of us are bitter at the trees for generating so much pollen at this time of year and want revenge.

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...

bitcrafter,

Because it looks like that functionality uses special compiler functionality only available on GCC and clang?

bitcrafter,

“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!

bitcrafter,

I see a lot of enthusiasm here, and there is nothing wrong with that, but… am I the only one who actually found the movie to be kind of disappointing?

bitcrafter,

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.

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....

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

Ah, yes, the good old git off --my lawn command.

bitcrafter,

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.

bitcrafter,

Wow! How does anyone not get swept off the ship under these conditions?

bitcrafter,

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.

bitcrafter,

Couldn’t the same be said for the proof of dark matter?

No, dark matter is actually a great explanation for lots and lots of observations; the only problem with it is that we don’t know anything about it other than that it is such a good explanation for these observations.

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

If by “constant” you mean “3D distribution that explains not just one equation but lots of separate observations”, then sure, it’s just like that.

bitcrafter,

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++?

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!

bitcrafter,

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.

bitcrafter,

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.

bitcrafter,

Try reading before you down vote.

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.

bitcrafter,

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.

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