Sat, 3 Sep 2016

6:49 PM - Overwatch, a few months in

Some of the crashing problems I was experiencing with Overwatch have been fixed. Updated NVIDIA drivers have helped some and I also found that the cooler on my CPU was starting to go. I replaced it with a water cooler and have fought a bit with the fan placement on the radiator, but at this point it's pretty stable.

The game is quite fun to play and I think blizzard needs to put out some more information to users about their network setup to minimize lag

1. Make sure your router/firewall supports UPNP and that it is configured correctly. This seems to make a big difference in game play.
2. Priority queues. Blizzard recommends against them, but I've found that setting up priority queues with game traffic getting priority as well as ACKs in pfsense helped a lot with my lag issues.
3. powerline networking hardware can cause serious lag for this game if you have any connection issues. Sometimes, I find that playing over wifi is actually more reliable despite the fact it's slower on my network.


Sat, 9 Jul 2016

2:54 PM - Overwatch

Can't get enough overwatch. It's an amazing game despite the bugs.


Thu, 7 Jul 2016

8:57 PM - ssh commands to multiple servers

A few years ago, I had to write a bunch of management scripts that setup and maintained ssh tunnels for executing commands and running symmetric ds over protected connections.

Today, I happened to stumble on a ton of different tools to issue commands to multiple servers at the same time. For example, pssh. A little googling could have saved me a lot of time.

location: Home

(1 comment | )

8:23 PM - Tablets in 2016

Upon reading that Apple was killing support for the original iPad Mini with the upcoming iOS 10 update, I decided to start researching tablets. So far, I've learned the following:

iPad Pro models seem to be the air replacements. They start at $599 so they're a bit too expensive for my taste. I've also looked into higher end Android devices and found the Pixel C to be the most interesting, but again it has a pretty hefty price tag attached to it.

Some of the PC manufacturers like Lenovo and HP offer Android devices, but they're relatively low end devices with slower CPUs and inferior cameras. A 200 dollar tablet sounds nice until you go to use it.

Sony seems to be pulling out of the device market so I'm ignoring the xperia line as I don't think they're going to be around.

I think I'm going to wait and see if apple does a refresh or if there are more high end android devices. I'd probably pull the trigger on the Pixel C if it had 64GB of space for the low end price.

location: Home


Sun, 3 Jul 2016

7:41 PM - Overwatch firewall config

I managed to get it running a little better why tweaking the pfsense configuration with the list of ports

location: Home


4:09 PM - Overwatch

I've had a lot of lag problems with Overwatch. It's quite often that I will think I killed someone only to have the game's lag algorithm "correct" their movement in such a way that I don't even have the person in the same room with me.

I've been trying to figure out if there is anything about my network setup making it worse. I suspect others share in my frustration with the game. It's quite fun, but I'm not sure it's worth the headache.

location: Home


Sat, 2 Jul 2016

5:39 PM - New JJ

Just released a new version of my blogging site. It's the first serious update in a few years. I'm still migrating it to Spring Boot, but so far it's going pretty well.
I've finally got it running without the need for root, as a self contained jar file, and moved to thymeleaf for templates.
It was the project that I learned Java on back in 2003. It's moved from CVS to Git and Sourceforge to Github. It's transitioned from Servlets and JSP to Maverick with XSLT templates and now to Spring 4/ Spring Boot.

location: Home


Sun, 23 Mar 2014

12:57 AM - Playing with PostgreSQL

I've been working on migrating over to PostgreSQL from MySQL. I've been using MySQL since I worked at ~2000. While I still appreciate the simplicity of administration and use of MySQL, several things have bugged me about it's direction since Oracle bought it.

First, the shared library requires threads in C now. This means that half the time I can't get the Perl bindings to work and it's often a pain with my C programs too.

I feel that they're only take it so far so it doesn't compete with Oracle. PostgreSQL on the other hand, has been adding all sorts of neat features like better replication, JSON data types, and rewriting how the engine allocates memory. There's really movement in that camp.


Wed, 5 Feb 2014

Sat, 22 Jun 2013

10:06 PM - (no subject)

Trying to build QT5 for the hell of it.  It's pretty crazy how their build system works.  I think it thinks it's running on Linux.  Ugh.  


Thu, 6 Jun 2013

Fri, 26 Oct 2012

10:26 PM - Testing Windows 8

So far I'm loving Windows 8. My first impressions of the consumer preview were not that high, but it's surprisingly polished for a new windows release.

location: Home
mood: Happy Happy


Mon, 18 Jun 2012

Fri, 28 Oct 2011

10:08 AM - (no subject)

Caryn's going on a business trip on Sunday. I'm trying to get some paperwork straightened out with my employer. Then there's the painters and getting the house ready for the next set of rooms. Tigress is doing better, but I'll be feeding her solo next week. So much going on.


Wed, 5 Oct 2011

10:32 PM - The end of an era

Many people remember Steve Jobs as a visionary, the driving force of Apple, Inc.'s success in the last decade.  He was also the owner of Pixar that transformed a small animation studio into a blockbuster success and sold it to Disney.  He sat on the boards of Apple, Inc. and Disney.  He had successes and failures.  NeXT Computer was a computer manufacturer that made workstations for schools and businesses in the early 90s.  They made some of the first computers with decent graphical user interfaces, networking, and MACH kernels.  Steve sold NeXT Software (the hardware business failed) to Apple around 1997 and became the head of a company he founded once more. 

The world wide web was created on a NeXT computer.  The first website, web browser and web server all ran on a NeXT cube!  Steve brought us the iMac, Mac OS X, iPad, Iphone, iTunes (well they bought this from a former apple employee), and the reinvention of how users consume content.  Good or bad, this has affected all of us.

Steve didn't do these things alone.  Many other talented people helped him.  He sold the ideas to all of us.

I started my BSD project because of Steve Jobs.  NeXT (and OS X) was an idea that computers could be powerful, stable and easy to use.  The last six years  of my life, I've spent trying to build something like OS X but for people who couldn't afford the Apple preimum.  As I've learned, he had to charge that much to be successful. 


Wed, 14 Sep 2011

7:58 PM - (no subject)

Just finished mounting the other hard drive in ds9.  Next time I build a rack mount server, I need to remember to buy hot swap bays.  This project took 5 hours and it should have been quick.   


Sun, 11 Sep 2011

10:45 PM - Linux is frustraiting

I always here that one of the advantages of Linux over BSD is the hardware support.  My new laptop has proven to be a problem on that front.  Ubuntu installed from Windows worked somewhat ok, so I tried to install it via burned ISO.  It randomly crashed during install and never would setup grub for booting.  I had deleted windows, but installed BSD at the beginning of the disk.  

After trying 6 times to install ubuntu, I decided to try debian.  Unlike ubuntu, debian has an older kernel (2.6.32).  This is older than the magic 2.6.38 where AMD added graphics support.  I thought I'd be clever and go to sid which has a 3.0 kernel.  Often, the screen goes totally black during boot.  No virtual terminals work and gdm3 won't startup either.  I can't even get into single user mode without black screens after a few seconds of booting.  

2.6.32-5 will boot and work, but I don't get battery or cpu frequency information and the amd graphics driver does not work well with it.  It runs, but not much acceleration.  Not knowing how much battery life is left on a laptop is a big problem.  It runs like it's on AC!  

I also can't dim the display because i have to use a hack to work around the broken acpi video so that the backlight won't be dimmed AND the keys don't work to change brightness either.

Sound also doesn't work in 2.6.32.  It did in ubuntu.

Conversely, MidnightBSD does not have working wireless and i have not tried sound.  The onboard atheros nic doesn't work well in either OS, but it's more stable on BSD.  I have to run 0.4-CURRENT for that.  I don't have the dim problem with the backlight unless i load the acpi_video module on MidnightBSD and that's not default.  There is no binary amd graphics driver so I can't go with that forever.


Fri, 2 Sep 2011

6:32 PM - AMD

I sent AMD an email today asking about Linux drivers for the new laptop that I ordered. I was told in this email that AMD does not support laptops with ANY drivers and that is up to the OEM. Further, they said they don't support Linux even though they offer Linux binary drivers.

How does that work?


5:49 PM - Computer shopping

I just purchased a laptop last evening.  It's been harder to do this time than any point since I got my first computer.  There are so many new technologies out that it's a lot to shuffle through.  Consider that in the old days, you could look at a few specs and know one computer was better than another.  Sure there were quality differences and software packages, but the hardware was easy to figure out.

Between the Intel 486 and the Pentium 4, one could look at the frequency (Mhz or Ghz) number for a rough idea that one processor was faster than another.  Then around 2006, they started shipping multicore CPUs.  That makes things a lot more complicated.  Most people didn't know what a core was.  Computer geeks even thought about SMP (symmentric multi-processing) or multiple processors in a computer, not cores.  Without getting too crazy, a core is like a brain in the processor.  A multicore CPU means it's got more than one brain.  The computer can think about multiple problems at the same time.  It can do two different tasks at once like play a game and record a movie. 

To make matters more confusing, a multicore CPU doesn't mean that it's twice as fast as a single core cpu (old ones).  Two nearly identical CPUs, one with 2 cores and another with 1 will not mean the 2 core is twice as fast.  There's a math formula to figure out the actual best case performance, but I'll spare you that.  Worse yet, if you don't run two programs at once or you don't use a multithreaded program (one program that can do more than one thing at once), you don't get a lot of use out of a multicore CPU.  Windows, Mac OS and Linux can use them for their own work.

Some consumers figured out sort of what a multicore CPU was.  Intel ran all those fun ads about multiplicity and what not.  Then they made major improvements in chip performance, yet with lower frequency (mhz again).  So the core 2 duo cpu (a confusing name because the 2 is not the number of cores, but the generation)  seemed slower by numbers, but it was faster than the pentium D it replaced (multicore stuff). 

So consumers couldn't trust numbers anymore.  How to tell what is faster?  Intel had this great idea to give them numbers.  Any number within the same range would mean a chip is faster than the next.  That led to other problems.  A 350 might be faster than a 610.  That's not intuitive.  To make matters worse, Intel would sell chips to computer companies with some features missing. 

As a consumer, I have to search intel's website to find out if all the features are then when looking for a computer.  Many of them have weird names like hyperthreading or VT or execute disable bit.  Do most people even need these things?  Maybe.  Hyperthreading is a hack intel came up with to trick a processor into thinking it's got 2 brains (cores) when it has 1.  This means two programs can run at the same time, but slower than one program if you didn't have that feature.  VT is for virtualization.  If you buy a highend version of windows and want to use the XP compatibility mode, you need this.  Otherwise, it's only good for IT people.  Finally, execute disable bit is always a yes.  It's a security feature that stops some viruses and other bad programs from working. 

So now the computer industry has found a way to make things even more complicated.  There is new technology where they combine a graphics card (what makes the picture on the screen) and a processor together.  This is a great thing for people who don't play games.  It means your laptop will have better battery life.  The graphics power in these things is very low compared to discrete graphics (separate video cards) and so they're terrible for WoW, starcraft2 or portal 2.  They can run these games, but not fast.  The other problem with these integrated chips is that they are usually slower than chips without this feature (especially on the AMD side).  AMD has decided that graphics power is more important than CPU power because many people just watch movies or whatever and don't need CPU power.  Intel did the opposite and made the graphics just barely enough to watch the latest high def video, but fast CPUs.  Intel calls their CPUs with this feature Sandybridge (the codename of the chip/core) and AMD calls theirs fusion with 3 series.. A, E, C (fast to slow) 

So when buying a new computer, realize that every small laptop under 14 inches probably has one of these new chips in there.  It's going to be not much faster than a 2 year old computer for CPU power.  If you buy a 15-17 inch laptop  and it's intel, you will probably get a core i3 or core i5 CPU with this feature now.  If it's an AMD, you may get it (A series) or a phenom II CPU without it.   The chips with it might be as slow as 1Ghz.  The type of chip matters too.. i3 is <= i5 <= i7 for intel and c < e < a (no overlap) 

The other big thing to look out for are solid state drives (SSD).  This is a replacement for hard drives which is what your data is stored on (windows, your files, games, etc).  Hard drives use magnets and spinning disks to store information.  There are moving parts.  You have to wait for the litle read head to get back to where it needs to be (sort of like a cassette tape, but faster)  before it reads data.  SSD is faster for reading information (usually) because it can go directly to the place something is rather than having the moving parts.  It's also said to be more reliable because there are no moving parts.  However, I've seen several go bad so ignore those claims.  Solder can go and they can only be written to a fixed number of times in one spot.  They do wear out.    They are expensive and smaller than hard drives.  If you don't need speed and you have a lot of movies, music, games, etc stick with hard drives.  Eventually SSD will be better, but it's still fairly new technology.


Fri, 22 Jul 2011

9:55 AM - Some people are just plain wrong

This is a mailing list conversation between several users of the Ingres database about why auto increment primary keys are bad.  I disagree with them for many reasons.

  1. ORM packages require a surrogate primary key.  And yes, it does have to be a PK.  Thank Cayenne developers for that.
  2. The basis of their argument is that a PK should be meaningful and a natural primary key.  I understand that perspective, but many people are paranoid about exposing meaningful primary keys in web applications. I think it depends on the key and the application if it's actually a problem.
  3. What they want to use a PK for can be accomplished with a unique constraint.  One of them acts like constraints are evil (that's what an identity column is after all).  Constraints protect data and enforce business rules from poorly written applicaitons or confused developers.
  4. I concede that a PK used in this manner is similar to an inode number which they can't even mention by name.  There's a reason file systems use them.  They uniquely identify a file.  Imagine that.  Imagine if file system designers thought like this, you could only have one file on the ENTIRE FILE SYSTEM with the same name! 
  5. The craziest point in there was that developers use auto increment columns or guids because that's all they know.  Most developers haven't been exposed to formal database theory and DBAs are no longer experts at databases, but rather maintenence workers in the modern .COM era.  It's sad as a DBA should actually do real work not little tasks. There is a trend to use database records as objects.. that's the way things are.