HackerTrans
TopNewTrendsCommentsPastAskShowJobs

stevbov

no profile record

comments

stevbov
·vor 4 Jahren·discuss
Yes, identity theft includes things as basic as using someone else's credit card. I learned that when I reported that someone rifled through our car, took a credit card, and tried to use it at a gas station.

It kinda surprised me.
stevbov
·vor 4 Jahren·discuss
We sync a shared folder with dropbox. Backup with backblaze.

Our local "copy" is basically our personal laptops. This has required manually upgrading our SSDs over the years though because we have around 1TB of photos and videos.

Our off-site copy is backblaze. We don't keep a non-cloud off-site copy.
stevbov
·vor 5 Jahren·discuss
This is for California, not sure about other states:

Note that whether you have a solid green or a green arrow matters. A solid green means you can turn left, but you might have cross traffic. A green arrow means you're protected and as long as other people are obeying traffic signals, you shouldn't run into other people.

Lots of drivers don't understand this.

Lots of drivers also don't understand a red right arrow (as opposed to a red solid circle) means you cannot turn right on red. Most "no right on red" intersections have both the arrow and a sign (and many drivers ignore both).
stevbov
·vor 5 Jahren·discuss
I had this problem when I first got a 30" monitor - I was constantly losing my mouse cursor, it took forever to move over to things, etc. To solve it I wrote a program for storing and restoring mouse cursor positions (along with focusing the app under it) and it really helped.

It was nice being able to have multiple windows visible at once when I was doing things, and to be able to switch between them quickly. Mobility was basically not a problem since the mouse instantly moved to the location I expected it to.

Nowadays I mostly use the keyboard and just use standard hotkeys to switch the app, mostly because I've been too lazy to see if my program still works.
stevbov
·vor 5 Jahren·discuss
This reminds me - a Java language architect was asked what his favorite non-Java JVM language is. He said Clojure because it's not trying to just be a "better Java".

https://www.youtube.com/watch?v=ZyTH8uCziI4&t=2896
stevbov
·vor 6 Jahren·discuss
I took a look at ExVenture when I first started working on this. A lot seems to have changed since then, but from what I could tell at the time there were some potential races. For example, movement processing seemed like it allowed for the possibility of players to seemingly move through doors that were closed (at least, from the players' point of view). I could easily have been wrong though since I'm new to Elixir.

That said, a requirement for scripting I have is the ability to chain together arbitrary actions in an atomic fashion without any races or deadlocks. Content creators can create really complex scripts that involve arbitrary locations and actions. I wasn't sure how I would achieve this goal with ExVenture.
stevbov
·vor 6 Jahren·discuss
It does help. Any given action will modify a fairly small part of the overall state (at most around .01% of it). But what part of the state it can modify is fairly arbitrary based upon the action. Your dependency could be dataA, dataB, then dataC. Or dataC, dataV, then dataA. Which, if you isolate into processes could create races and/or deadlocks. They would be very unlikely, but they could still happen.

This is why I went with software transactional memory. In the generally unlikely event that there's some overlap, the changes will just be rolled back and re-done.
stevbov
·vor 6 Jahren·discuss
Do you use it for server side game logic too?

It's not as ambitious as an MMO, but I like to use MUDs to learn new languages. I've been (slowly) working on one to learn Elixir and I'm actually finding the concurrency model somewhat difficult to use for the MUD - especially the single world that every player connects to.

I ended up writing my own kind of software transactional memory library to help me out: https://github.com/stevbov/stm_agent

But altogether my design feels fairly un-Elixir-like. It seems like the language would shine more in a problem space with more process isolation. When it comes to the game world, pretty much any process could potentially depend upon any other process. Especially once you get into scripting NPCs.