CobbleBot

0
Filed under Diary, Programming, Ruby

So, I've been working (intermittently) on a GitHub project called CobbleBot. It's a Rails application + Resque ... thing. Basically, all you do is start up a vanilla Minecraft Server and point this app to it. It reads the logs and other json for the players and does stuff.

It's based on scripts me and my staff have worked on since 2011.

One of the things it does well is allow players to message each other. They can type a message like: @inertia186 Hey, how's it going?

When the player logs in, they'll get notified that the have mail.

Mainly stuff like that. It also can play sounds on certain events like PVP and achievements. Mostly stuff that the log keeps track of. It can't tell when players pick up items, so it's not like command blocks in that regard.

CobbleBot Token: a3fc973bcdaab15d
Share


No tags for this post.

Quizzaciously?

0
Filed under Diary, Writing
Share


No tags for this post.

The Simulation

0
Filed under Diary, Programming

I run a simulation. It’s a simplified version of the world that explores what would happen if there were no laws.

Turns out, people self-organize. They leverage knowledge and trust for one another. That’s the man commodity in the simulation: trust. Trust is the first, most important thing.

There’s still cruelty. There’s still unfairness. But these things are not sanctioned under the color of authority, so anyone who wants to avoid these power plays can go off on their own and no one will bug them.

When the powerful ones self-organize, it is difficult for them to maintain the power without the color of authority.

They organize like NATO. They have their formal rules and try to exact penalties for certain behavior. There’s usually only one group like that. But it falls apart over and over.

There are also people who expect the laws and quickly leave when they don’t see them showcased front-and-center. Or they expect hand-outs when they arrive.

The simulation does not provide anything to the new arrivals. They are plopped in the middle of a vast ocean. They are told what’s going on, but many ignore the information.

The simulation has rules, but only for dealing with “out of band” scenarios. Something that is "out of band” deals in terms of maintaining the simulation itself. Basically, interfering with or threatening the existence of the simulation is forbidden.

If you would like to take a look at the simulation for yourself, you can see it here:

https://www.youtube.com/watch?v=ay6cmOf9598

Share


No tags for this post.

The Furling Episode

0
Filed under Diary

So, you were watching "Remember When (200)," Episode 6, Season 10 of Stargate SG1, and you thought you must have missed the Furling episode.

Actually, the "previously" segment is all part of the current episode. Watch it. Don't look for the previous Furling episode. It doesn't exist. Notice, the planet is destroyed. It didn't happen.

Probably the big tip-off is when Sam says, "Well that never happened."

Share


No tags for this post.

Debian wheezy - gem install libv8

0
Filed under Diary
If you're having issues with gem installing libv8 on Debian wheezy, try this as root: apt-get install libv8-dev Then, as a user: gem install libv8 -- -with-system-v8 wheezy-from-toy-story
Share


No tags for this post.

Warner to be Executed

0
Filed under Bitcoin, Fiction, Political

(CNN) -- On Friday December 19th, 2081, the Mesa Blockchain confirmed its first execution order, issued by judge Ethan Curlond naming convicted murderer Bernie S. Warner as the condemned.  This has been the first known actionable execution order ever recorded by any blockchain.

Warner has been tried and convicted under rules pursuant to The Blockchain of Ethos Judicial Consortium.  The execution block, which is required to contain only one transaction, pay no transaction fee, and be cryptographically padded to double the length of a regular block, was initially verified by Metascape Mining, Ltd.  MesaCoin still yields 476 µMSC as a mining reward and Metascape directed the reward to an address of the victim's families.

The blockchain rules also require a minimum of 23 additional (unrewarded) confirmations for these types of blocks.  Confirmation is still pending at the time of this article, but it is expected to become fully confirmed within 48 hours of the first confirmation.  No fork conditions were predicted prior to or during the entire confirmation.

At least three confirmed, separate appeal motions have already been seen in the blockchain, as well as one motion for mistrial.  During the conviction phase in this case, as well as in other types of cases, these kinds of motions are typically ignored because no other venue has been defined for them as of yet.  The motions relating to the execution order are also expected to be similarly ignored.

Ignored motions are common in blockchain jurisprudence when no other judicial consortiums have been established to challenge the deciding consortium.  It is up to the consortiums to accept motions that challenge decisions by other consortiums.  By ignoring a motion, all consortiums are functionally in agreement with the deciding consortium, which means the decision is currently being upheld.

Warner was convicted of First Degree murder in 2079 for the killing of his business partner, Bryan Gushgrurn.  Gushgrurn was murdered on January 5th, 2075.

Due to jurisdictional disputes leading up to the actual murder trial, Warner's dual citizenship became the primary focus of preliminary court proceedings.  In 2075, Warner's US Citizenship was revoked by the State Department due to Warner's own Motion of Litmus resubmitted by the Expatriation Envoy of the Mesa Blockchain.  This left Warner with sole Mesa Blockchain citizenship.  The envoy immediately placed Warner in custody and transported him to Beadthall Detention Facility, a private jail in the City of Albuquerque, New Mexico.  The facility has a population of only 22 other inmates.  Warner later posted bail of 20,000 µMSC (approximately $11 million USD).

A Motion of Litmus was a document used around the time of the 2045 rush that stated a particular person with existing citizenship had intent to become a citizen of a blockchain.  Although Warner cryptographically signed the Motion of Litmus, it was not used as evidence in the murder trial because the original document predated the tragic events by decades.

Warner was recorded as a stateless citizen in the Mesa Blockchain during the 2045 MesaCoin rush, two years after the final collapse of the now antiquated BitCoin Blockchain.

Warner had declined dropping the motion even though it was originally submitted in 2045 and not processed by the US State Department when it was received with the roughly 120,000 other motions, a practice common during the rush.  Warner's original motion was marked as "sent" and a transaction marked it as confirmed in the Blockchain, which was enough to satisfy the definition of citizenship in the Mesa Blockchain.  Though his motion was left unanswered, like most of the motions at the time, it became fast-tracked due to the pending murder trial in order to establish jurisdiction by the various consortiums of the Mesa Blockchain.

“[The US State Department] still likes to cherry-pick which of those old motions to answer, even to this day," Mark Bentslend, an advocate of blockchain jurisprudence, commented after the State Department accepted the motion.  He continued, "This practice helps maintain their diminishing legitimacy, even though roughly one in four babies born in the US are recorded only by a blockchain and are effectively stateless."

Warner's situation was unique in that it represented the first complete and verifiable murder proceedings of any person by a blockchain.  This is due to Warner's statelessness and cooperation with the interested consortiums.

After the motion was accepted and Warner successfully expatriated, he made a statement, "I feel like I can only get a fair trial recorded within my blockchain.  I'm still fighting this because I'm innocent, but I have no faith in the old ways.  I never did consent to United States jurisprudence.  It's none of their business.  They don't have an incentive to give me a fair trial.  The consortiums do."

Even after the murder conviction, Warner stated that he still had faith in the appeal process.  "I maintain my innocence and I'll start my own consortium if I have to," Warner said.

Warner made no further public statements after the execution order went into the confirmation phase.

CNN and The Associated Press contributed to this report.

If you liked this fiction, please send a donation to: 1JL4kUAjzKxhjaYQi3LLKYxGh8VW3Z7Pvs
Share


No tags for this post.

"The treacherous are ever distrustful."

0
Filed under Diary, Humor
Good Guy Gandalf
Share


No tags for this post.

Transmission Blocklist Doesn't Work Properly, Solution

0
Filed under IT

It seems like a new, untested feature. I was testing on 2.82 + 14203 (the nightly build) The feature is called "Blocklist" and it's found in the Preferences -> Peers menu. I looked into this because I kept having progress go from 98.51% ... 98.72% ... ... 99.99% ... back to 98.51%.

I kept seeing the same IP involved in sending me garbage.

Indeed, the setting didn't work, even when I added http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz as recommended by various forums.

The IP involved was listed as part of the Class C range labeled as fake, but it was still allowed to send me garbage. So I ungzipped the file and saved it as level1.txt in the same place level1.bin is stored. That worked.

Share


No tags for this post.

My First Minecraft Mod: Endermen vs. Zombie Pigmen

0
Filed under Diary
endermen_vs_pigmen.zip Download this file

I wrote a tiny Minecraft mod for the 1.2.5 server.  It's not a bukkit plugin, just a regular mod to the official minecraft_server.jar.  So I doubt anyone will bother to try it.

My mod adds a new drop to Endermen.  If an Enderman is killed by a Zombie Pigman, the Enderman will drop Record 11.

You might wonder how this fight could ever happen in the first place.  Well, my mod also adds the ability for Zombie Pigmen to look at Endermen like players do.  And this angers Endermen, just like when players look at them, which causes the Enderman to attack the Pigman.

If the Pigman manages to kill the Enderman, then you get your record.

Normally, a Pigman will never spawn near an Enderman.  But it is possible.  Yes, you can spawn them together in Creative Mode.  But beyond that, you may be aware that it is possible for a Pigman to spawn if a regular pig is struck by lightning.

Also, Endermen are more powerful than Pigmen.  It takes about three Pigmen to kill one Enderman.

So if a Pigman ever spawns by lightning, it's a good idea to damage the Enderman before getting them together, since it's pretty much impossible to get enough Pigmen to do the job without help.  Or maybe you can buff the Pigman and poison the Enderman with potions before the fight.

Pro-tip: A Pigman is more likely to look at an Enderman if the Enderman is standing between a player and the Pigman.

So it's not an easy task, but I'm assuming it is possible, though I've only tested it with spawner eggs.

Posted via email from Anthony Martin's Weblog

Share


No tags for this post.

iTheft

0
Filed under Diary
Angry_birds

On Monday evening after work, some dude swiped my iPhone 4 while I was standing at the bus stop.  He grabbed it right out of my hands, ran, and jumped over a fence.  Several people witnessed it, including the bus driver.

The first thing I wanted to do was locate and wipe my phone.  You might wonder why I would be so eager to wipe it.  #1, I have a recent backup, so my data is safe.  #2, I didn't want the data (like all of my passwords) in the hands of someone who might know how to get it (very very unlikely, but still).  #3, I wanted to deactivate my phone service ASAP.  #4, I knew once I deactivate my phone service, I would no longer be able to locate or wipe it.

So after my hour long bus ride home, I did indeed manage to locate and wipe.  Then I told AT&T that my phone was stolen and that I wanted it deactivated.  The AT&T rep wanted to be sure it was in fact stolen.  They frequently hear of situations where the phone was just misplaced.  I told him I was certain it was stolen.  I asked him how often he hears people report the phone taken right out of their hands.  He said he'd never heard of it.

Next, I called my local police.  Right after I started explaining that I wanted to file a report, it dawned on me that I couldn't go to my local police department.  Why?  Remember the word "jurisdiction."  Since the crime was committed in Los Angeles, I couldn't report it to Torrance PD.  So I called Los Angeles Airport Police.

I started over, but the male officer stopped me and asked if I was at the front door.  I told him I wasn't, so he transferred me to a female officer who was playing Angry Birds.  I started over.  I used the word "stolen" so she told me I need to get a copy of my contact and bring it over to the station.

So I was a little confused already.  Apparently I needed to prove it was mine to begin with.  But keep in mind, I used the word "stolen."  My mistake.  In legal terms, that means something specific.  I'll get back to that.

Not having realized my mistake, now my goal is to find the six-foot-long receipt I got when I purchased my iPhone from the Apple Store.  I don't know where it is, but I find the box.  And Apple prints the unique serial number for each phone on the box.  So at least I had that.  But the sales contract is nowhere to be found.

So I decided that the phone bill will have to work.  They didn't say they wanted the phone bill, but come on.

Then I remembered that I opted for the paperless billing option with AT&T.  No problem, I'll just log into my account with their web site and print the last bill.  Nope.  Remember how I deactivated my service?  Well, that deactivates everything, including the billing tools.

Call AT&T again and explain the situation, again.  Plus added the detail about needing the contract but just wanted to print the last bill instead.  The rep said they would send me a copy of my bill at no charge, but it'll take 7 to 10 business days.

Later, I realize, that I don't need to deal with this.  My iPhone wasn't stolen, I was robbed, I thought.  I don't need a contract to move forward.  I just need to file a report that I was robbed.  Remember the word "robbed."

So the next day, I go to the Los Angeles Airport Police Department.

Me: "I've been robbed."

Male officer: "Ok, did this just happen?"

Me: "No, it was yesterday evening."

Male officer: "Why didn't you come in then?"

Me: "I didn't have any evidence for the report."

Male officer: "What kind of evidence?"

Me: "I have the serial number, the last ping location an hour after I was robbed."

The female officer, still playing Angry Birds, offers her insight at random.

He startes filling out the report, and asks where this happened.  I told him it was in the Parking Lot C Bus Terminal.  He pauses, then looks up and says, "Do you want to do this legitimately?"

I've learned to stop talking when someone says something completely, utterly stupid.  I kept silent and vacantly stared at him.

He went on to explain that the location where this happened was under the jurisdiction of LASO.  What is LASO?  LASO is the cute term they use to mean LASO, you idiot.  Don't you know what the LASO is?

Los Angeles Sheriff's Office.  Only, they don't officially call themselves that.  It's actually called Los Angels County Sheriff's Department.

Ok, so I wasted my time.  Funny thing is, I knew I was wasting my time from the beginning.  I knew the only reason I was filing a report was because people were going to tell me to file a report.  If I had said, "No no, I'm not going to file a report.  That's a waste of time," people would have said I was being hyperbolic or obtuse or Typical Anthony™.

Now, I have to actually waste my time in order to prove it's a waste of time.

So I go home and call the number I got from the "helpful" officer at Los Angeles Airport Police Department who wasn't playing Angry Birds but may as well have been.  It's disconnected.

Head, meet desk.

Google LASO.  No relevant results.  That's when I find out the real name of the department.  LASO must have been something they called it before the Internet or something.  I am now trying to locate the correct department among three regions of unincorporated sheriff departments.  None of them seem to be right.  There doesn't seem to be a central way to report crime.

So I start completely over.

I call METRO.  I ask them who I would contact iffen I have been robbed.  They give me a number to the Sheriff.

I get through to a deputy who puts me on hold for a long time.  Apparently there was a train wreck or something.  Now, this guy is actually professional.  I'm not kidding.  I tell him I was robbed, he tells me he'll determine that.  Ok, good.  I tell him the facts, he tells me, no actually, since I wasn't physically on the bus when this happened, Los Angeles Airport Police Department is actually the correct jurisdiction and that the information I had been given earlier that day was in fact erroneous.

Like I said, he was actually professional.  He told me he was going to call the correct office while I was on the line and make sure I got to the correct department this time.

So these other departments managed to defeat this deputy's very professional strategy.  Here's how.  They wouldn't take the call.  I actually heard them hand this nice deputy off to different departments until he gave up and called some kind of central number.  The central number answered with a recording:

"You must tell the operator where you want officers and why you want officers."

"The following message is for the hearing impaired ... "

[SCREACH-SCREACH-BEEP-BEEP]

[Other languages]

They actually pump the TTY noise into the recording so you have to hold the phone away from your ear.

The deputy and I listened to this loop for about 15 minutes.  He finally gave up and asked if he could call me back.

He called back and said he got someone who will call me back.  I thanked him and told him he was very professional.

Now, apparently the correct department was calling me back, right?

Someone from Los Angeles Airport Police Department called back.  She wasn't playing Angry Birds and told me to call this other number.  It won't result in a police report.  She told me if I wanted to file an actual report, I should probably call my local jurisdiction to ask for a courtesy report.

So that's it.  I'm not filing a police report.  I'm done.  It's a waste of time.

There's always a chance that a larger crime will be committed with my iPhone somewhere in the vicinity.  In that off chance, it'll be confiscated during the course of such an investigation.  At that point, the serial number will be reported to Apple, and matched up with my name.  I might get it back then.  I'd have better odds winning the cost of the phone in the lottery.

Posted via email from Anthony Martin's Weblog

Share


No tags for this post.