15 June, 2017

Back 2 School

Looks like I'll be a student again this fall 😉 "precourse in maths and physics for engineering" 😏 after that, probably a BSc/MSc in Computer Science.

Yes.., I didn't finish any grade when I was attending private college earlier, it didn't work out, so I started working instead 😎

Now, I'm attending the University of Stavanger (UiS).

06 June, 2017

Retro-gaming

I've been itching to write this blogpost for a while...

I'm an avid retro-gamer, as well as a contemporary gamer. My emulation-antics took off in the late 90s when I started getting nostalgic about old DOS-games from the late 80s and early 90s. For the most part, DOS-emulation was pretty accurate even in the early days.

But these days emulation is pretty much a native thing. CPU-cycle-imitation and other emulation-techniques have pretty much reached the runtime-levels of the actual systems they are emulating.

I don't favor the new idea of releasing limited special-editions of consoles, like the NES classic mini and the SNES classic mini, when you can build a COTS-computer (or even use a deprecated laptop/desktop), load it up with RetroPie and ROMs, and you basically have a multi-emulation box that runs EVERYTHING, and can be CUSTOMIZED.

If you go for a Raspberry Pi 3, such a system could even cost you as low as $30 (apart from cables and gamepads / arcade-sticks, then it would cost you a minimum of $50).

Sure, a few people argue that the RPi3 is a fad, or that the SD-card gets worn out so it's not made to last, etc.

Well, a $30 credit-card computer isn't really that hard to replace, and SD-cards are a dime a dozen these days and are even getting cheaper, not to mention quite easy to back up (making a copy-image on your computer harddrive / usb-drive).

Sure you cannot for example use exotic console-hardware, like the microphone gamepad for the Japanese NES. Nor can you play roms made from FX-gamepaks (Nintendo addon-technology to render pseudo-3D on the SNES). Then again, would you want to? Hey, if that's your thing, have at it. I don't give a flying f**k...

Emulation is king - imho.

11 May, 2017

Phantom mic-mixer


The Behringer Xenyx302USB is a nifty little piece of audio-hardware :) 5 channel mixer, Phantom-powered (48V) XLR microphone-input / JACK-input, line-input and 2-track input coupled with an USB audio-interface (full duplex input/output).


A compact and really portable design, weighs nothing and sports a sturdy build-quality I'm not used to seeing in equipment in this price-range. Although the mic-input could really use a filter (it picks up every hiss and click in the room), this can easily be remedied with a standalone hum-eliminator box.

All-round it is a great choice for podcasting, amateur recording, limited input-mixing, video / audio conferences and the like.

18 April, 2017

RetroPie

TIP: For those of you out there considering getting a NES Classic / SNES Classic read this blogpost first... you won't be sorry.

Since I started dabbling in Raspberry Pi SBC's, I've been testing a few emulation-distros and the like. Been playing around with this since June 2016, so a good 10 months by now I would say :P

One particular distro caught my interest while testing; namely RetroPie.
Excerpt from retropie.org.uk:

RetroPie allows you to turn your Raspberry Pi, ODroid C1/C2, or PC into a retro-gaming machine. It builds upon Raspbian, EmulationStation, RetroArch and many other projects to enable you to play your favourite Arcade, home-console, and classic PC games with the minimum set-up.

RetroPie lets you play virtually ALL arcade-/console-/PC-games released in the period 1980-2000. Every .rom I've got in my library (accumulated around 10.000+ since the 1990s) works out-of-the-box.


Tested a good few arcade- and console-roms, and they work flawlessly.


Only configuration it may require is a simple dialogue-based gamepad/joystick setup. And you're ready to game as you please :)

Zelda II - The Adventure of Link (NES)


Bubble Bobble (NES)

Super Mario Kart (SNES)


Super Mario World (SNES)


Super Bomber Man (SNES)


Super Street Fighter II (SNES)


Super Street Fighter II - In-game (SNES)


Turrican II (Amiga)

Turrican II - In-game (Amiga)


Giana Sisters (Amiga)

My Logitech F310 gamepad used testing RetroPie.

Street Fighter II (Arcade)

Street Fighter II - In-game (Arcade)

Sonic The Hedgehog (SEGA Genesis)

 Sonic The Hedgehog (SEGA Genesis)

Splatterhouse 2 (SEGA Genesis)

Splatterhouse 2 - In-game (SEGA Genesis)

06 April, 2017

HiFiBerry Digi+ Pro (for RPi)

Recently got a really nifty Pi-hat (addon-card for Raspberry Pi) called "HiFiBerry" - model "Digi+ Pro".




"Pi-hats" are simple single-PCB addon-cards that slot on top of Raspberry Pi line of single-board computers, and extends the functionality of the RPi's. The HiFiBerry slots easily on top of the GPIO pin-row, with the help of plastic risers (the white bolts/nuts pictured below).


With the HiFiBerry Digi+ Pro, I get audio-output in 24bit 96KHz "studio-quality". NiCE! :)


06 December, 2016

Online VS Real Life

"In reality, politics have straddled the digital and meatspace for decades. Though government officials may have just learned about "the cyber," people working in computer security have been dealing with criminal and whimsical incursions into their systems since the late 20th century. It was 1990 when the infamous Operation Sundevil swept up innocents in a massive Secret Service dragnet operation to stop carders. The Stuxnet worm, which affected physical operations of centrifuges at a uranium enrichment plant in Iran, is only the most obvious example of how digital ops can have consequences away from the keyboard."

21 October, 2016

Dyn (Managed DNS) DDoS...

Yes, my sites were affected by this outage. A lot of big-name sites were too (Twitter, Spotify, github, SoundCloud, Reddit, etc.).

And no, I don't use DNS management software like Netflix' Denominator, I really don't have a need for 24/7 uptime on any of my sites / sub-domains. They are strictly for demonstration- / entertainment- and hobby-purposes.

http://www.zdnet.com/article/dyn-a-managed-dns-service-hit-with-attack-popular-sites-see-performance-issues/

http://www.zdnet.com/article/dyn-ddos-part-2-the-hackers-strike-back/

https://www.dynstatus.com/

18 October, 2016


Which ring is this? :P

08 July, 2016

Console-gaming

Two words: corrupt, busted.

I lost all my consoles in a lightning-strike back in March, and after using most of the money meant for replacement-consoles on my computer-upgrade instead; I'm NEVER going back to console-gaming ever again...

They're completely overpriced, the games are as well and games/apps get slower patching than any other gaming-platform.

Not to mention the hardware is usually 2-3 years behind current PC-hardware, and usually under-powered as fuck. Actually, current-gen consoles (PS4 / Xbone) also utilize "Radeon-based" graphics (graphic-accelerators), which is severely sub-par compared to almost any other graphic-solution.

Nope!, spank you very much...

FUCK. CONSOLES.

29 June, 2016

Nvidia graphics-accelerators

After being an AMD fanboy for a long time, I must admit Nvidia has the graphics market quite cornered.

My latest upgrade included an EVGA GeForce GTX 960 4GB GDDR5 SSC ACX2.0+

The one I had before that could barely grasp on the gaming-development cycle of it's time, yet alone the newer developments.

So, after a lot of researching and testing at friend's places, I concluded Nvidia has developed the superior gaming-tool(s). PhysX has no rival technologies (in PC hardware at least), as for the newer tech: HairWorks and GameWorks, I have no special opinions. They're there. Nuff said.

I'm rather more interested in the CUDA-cores and their hardware-accelerators, more specifically NVENC the hardware-accelerated HDV-encoder.

Not to mention all the recent "woo-haw" around VR.

15 March, 2016

quad-g5

Because of a recent lightning-strike, my gaming-rig literally spiked... and died...

But, thanks to very nice family-members I got replacement components, very quickly ;) :P since I was getting quite a few bucks in insurance (eventually, may'16) I decided to completely upgrade the whole rig.

After spending an afternoon researching (after months of contemplating on models and makes), I eventually landed on the following choices:

Component selection

  • Gigabyte Z170MX-Gaming 5 motherboard
  • 2 x 8GB Kingston HyperX Fury DDR4 2666MHz RAM-modules
  • Intel® Core i5 6600K 3.5GHz CPU
  • Intel® 535 SSD 240GB SATA 3.0 game-storage
  • EVGA GeForce GTX 960 4GB GDDR5 PhysX graphics-adapter
  • Cooler Master Hyper TX3 EVO CPU-cooler 
No fight to assemble the beast, at least not a lot. The CPU-cooler took some getting used to only having to screw together the mount(s), and pressing it into the motherboard (Cooler Master's *brilliant* Intel-type push-plugs -_-).

All components assembled into north+south-bridge(s)

It also helps to be prepared for a future lightning-strike, by using a 80-PLUS-Gold-certified PSU that sports: over-voltage protection, under-voltage protection, short circuit protection and over power protection.

Corsair RM850x PSU (Power Supply Unit)

Combined with a power-strip sporting surge protection, I'd say I'm much better equipped for the ominous scandinavian weather-system now, than before.

Giving a combined performance-boost of ~50% in heavy 3D and rendering cases :) and (roughly) around a 45-50% reduction in heavy-load temperatures as well as idle temperatures (Intel < AMD), I'd say I'm really pleased ;)



Quite the OP setup, at least compared to my earlier rig (h3x). Geekbench3-results confirm this:
  • quad-g5 geekbench3 multicore-score:
    13380 ('2016)
  • h3x geekbench3 multicore-score:
    8305 ('2013) 

*** FINGERS CROSSED ***



Update May 11th:

Added extra 92mm Cooler Master cpu-fan as exhaust-booster

29 February, 2016

Google Drive on Linux

Google Drive
I didn't really think much about it, but when I started using "InSync" a few years ago, all my woes using Google Drive on desktop-Linux vanished :)

It is simply the best client-side synchronization-tool for desktop use of Google's cloud-storage solution ("Drive") on Linux today. Both simple and quite configurable at the same time.

It is cross-platform compatible, i.e.: works on Windows, Mac OS X and Linux!

Only drawback is that it costs a one-off fee of $20, but after that, you can use it on as many machines as you want :P

It basically works just like Dropbox (which actually has a Linux-native client! Boo Google!), allowing the user to maintain his file system and offering share options as well as other features by right clicking on files and widgets.

You can get InSync here: https://www.insynchq.com/downloads

Spare time

Siesta-time
Yet another period of contracting-work is now at an end. It was a good, solid 10 months :) New experiences - new technology.

Being able to join the starting effort at building something from the ground up is satisfying work :) especially as a technophile setting up core infrastructure and backend(s) for mission critical services.

As with all specialization; if the competence is hard to find, the need tends to round-robin back to the starting point again.

Good fun :P

What new adventures and / or challenges awaits?

Who knows... but I bet they're right around the corner ;) they always are.

Besides, now I have the spare time to pursue hobbies and interests again ^_^

02 January, 2016

New gear


My 7-8 year-old Logitech gamepads have been in heavy use over the years. Aaand they just recently crapped out.

Luckily I had put their new gamepad-series on my christmas wishlist, and as I expected, got one from a family member and one from my GF :P 2P-gaming!

I also got a steelseries gaming-mousepad, and I must admit, at first I didn't really get what the big deal was. But after playing some FPS- and RPS-games, I totally get it. Nothing else can compare to the sensitivity and movement-feel you get with these mousepads, nothing.

19 December, 2015

Keepin' buzy

Been pretty productive (read: teh buzy) the last 6-7 months, doing some (quite heavy) service- and maintenance-work for a local IT-startup.

Been responsible for the x86_64 Linux-rack(s) based infrastructure and backend driving the various product-frameworks, the domain- and network-security, plus client host-security throughout the organization. Quite a lot of networking and some aggregated WiFi-APs etc.

The Linux-rack servers have also been host-hardened and properly secured (SSH/TLS/SSL) for the threats facing online services in 2015.

Without going into too much detail, it all revolves around embedded GPS-tracking, web-apps for viewing and controlling said- tracking system, and the accompanying maintenance / service / troubleshooting involved in said systems and their server-backends.

The servers run both the MariaDB and the PostgreSQL database-systems for serving application- / geo- / PostGIS-data in various parts of the application-flow. I became responsible for servicing / doing maintenance of and fascilitating import / export of SQL-data for backup(s), re-location, and the like. The PostgreSQL database is even served from an iSCSI pool through a dedicated jumbo-frame ethernet connection to a NAS-rack for extra speed when handling huge datasets.

I've also been playing around with the web-framework, doing some development for myself to learn the technology, and also fixing various components in the active applications.

27 August, 2015

AMD hardware

I've known for some time now that AMD has a serious lack of effort on their native implementation of OpenGL on Linux, especially when used for gaming. Not to mention their proprietary (binary) graphics-driver: "AMD Catalyst", which is a story all on it's own...

They JUST RECENTLY aqcuired OpenGL v4.5-compatibility, which by now is over 1 year old! In technology-tems, that's just sad.

They released ('2013 for the wider public) an in-house developed perf-tool (GPUPerfServer2), for optimizing Linux games using OpenGL. Though they did *NOT* release a linux client for this client/server framework; only a linux-based server for running local OpenGL-games, of which they could then connect to via the OSX- / Windows-client (figures...).


A couple of days ago, I stumbled upon this picture in a Google+ post with the following title "Feral Interactive Buys AMD Hardware To Optimize Linux Games":


http://news.softpedia.com/news/feral-interactive-buys-more-amd-hardware-to-optimized-linux-games-490006.shtml?utm_content=buffer4c869&utm_medium=social&utm_source=plus.google.com&utm_campaign=buffer

Are developer-companies actually taking their own steps towards Linux-specific hardware opimization?

It would seem so :) and I hope this could start as a trend for similar game development companies in the coming future.

28 June, 2015

h3x - upgrade part II

Upgrade-time! :) ...and this time h3x is undergoing a complete cabinet+gfx upgrade. From a rather minimalistic HTPC starter-cabinet, into a completely new 2-sectioned, airflow-designed multi-cabinet :)

Fractal Design Node 804 cabinet
Corsair CX600 PSU
3 x Corsair SP120 "Quiet Ed" fans
My new XFX Radeon R9 270X 2GB GDDR5:
1xHDMI - 2xDVI-D - 2xDP

Disassembly


Silverstone MILO (ML03) when first built (nov'2011)
Silverstone MILO (ML03) disassembled.
The above picture shows my old HTPC cabinet after being almost completely stripped. Only things still left inside are the system-SSD (Corsair ForceGT) and the 400W PSU (Silver Power).

I did not foresee how hard it would be to dismantle the MILO HTPC mATX-cabinet, everything was so close together that it made it near impossible to figure out where to start off.

After viewing it from different angles, and bringing in a fresh set of eyes; everything got pulled out eventually

Then, the time to re-mount everything again came around.

Re-assembly


  • First: the PSU.
Right side.
Back-right profile.
  • Then; motherboard + RAM + CPU.
Front-left profile.
Left side.
  • And to finish it off: graphics-accelerator + HDD + SSD.

Left side: Component-compartment.
Right side: Storage- / power-compartment.

I now have a overhauled gaming-rig / workstation / hypervisor with 3-4x more graphics-processing power than I previously had :P and it WILL get tested ;)

I opted to using the 3 Corsair SP120 fans in the front, to complement the total airflow going through the cabinet. So that's a total of 4 fans in the front for intake and 2 in the back for exhaust.



08 June, 2015

"Unix is not an acceptable Unix"

This article really grinds my gears. The author tries to discount the use of command line interfaces by saying it is an obsolete interface-technology (mostly reserved for developers and advanced system administrators).

Pontificating that modern Unices (like Mac OS X and Linux) suffer at exactly the same areas of complexity because of their Unix-heritage. Well, I call bullshit...

  • Linux does not have a Unix-heritage, because it does not contain any UNIX®-code.
  • Computer complexity is really a catch-22 scenario; every time you modify something low-level, something may break on a lower level. Keeping this complexity usable at varying levels is a master-class balancing-act, and not to be taken lightly.
Yes, the Unix-philosophy states that every program should: do one job, and: do it well. And to some extent, Linux has done just that. BUT, since we're operating in a so-called "open-source community", where everyone has the right to shout out concerns, fixes and feature-improvements, the so-called "bloating" of CLI-programs are a direct result of this fundamental right to speech, re-use and community involvement. Which in itself is beneficial to everyone using the software.

The reason why lower-level programs use much the same functionality as was used in the original UNIX®, is because the programming language in question (C) has few alternative methods of performing low-level calls to the hardware, and thus is forced to do certain things in specific ways. Having these low-level functions available at any time for whichever program needs them is fundamental to a POSIX-system. And re-using these functions to build / extend programs is the way it's always been done

I can agree with his point about re-creating and duplicating core-functions in a program if the program already facilitates the components needed to do a specific task, it's unnecessary. But I can see the other side of this matter as well, from a developer-viewpoint. If you spent a lot of time (multiple iterations) developing and extending an already-implemented function, (just) to get specific results presented in a specific manner, wouldn't you want to include it in the program so you wouldn't have to re-implement it further down the line if ever needed again? And does it really affect normal users what kind of extra filters and/or flags a program accepts from the command-line? Not really...

Back in the day (70s and 80s), this was the only way of specifying arguments to programs in a sequential fashion, and to some extent still is. Hardware works on the principals of sequential data-flow and execution, and unless we do something drastic to the hardware-platform we are all using, this is the way it will continue to be used in low-level terms (C+asm) until we do.

Until we see newer and better ideas concerning the data-bus / CPU inter-connection, we will not be able to implement any innovative interface-functionality on a low level.

My point is this: CLI is not meant for normal users. It is not intended to simplify computing, rather, it was intended for developmental and operational purposes, created by the very same type of people who use it on a daily basis.

If you want ease-of-use and simplicity, use Apple or Microsoft, and supplement that usage by providing user-feedback to them for new features / functions and fixes. Don't just crap on the alternative(s) because "it doesn't conform to my unique idea of what user-friendliness is". Linux was never made to be user-friendly. Derivatives were made to suit that scenario, so use them, instead of slagging on about the lacking user-friendliness and simplicity of the OS itself.

To quote one of the best sayings I have ever read:
"Unix is very simple, it just needs a genious to understand it's simplicity" --Dennis M. Ritchie

26 May, 2015

AMD Catalyst VS Gallium3D

Ok, I'll admit to fronting AMD's graphic-cards the past few years... but, that ain't happening anymore. After struggling with *broken* driver-updates the past 2, I'm getting quite fed up.

Purging FGLRX and all it's components EVERY TIME THEY GET UPDATED is seriously testing my patience. Not to mention the piss-poor OpenGL performance in heavy-3d-engine games (especially games that feature NVIDIAs PhysX).

The bugs, video-artifacts and crashes eventually got so bad that I actually had to revert to the open-sauce driver (Gallium3D / MESA), just to play my Steam-games... not that video-acceleration worked flawlessly either (VLC / XBMC).

And I have to say; with the right config Gallium3D can deliver as good, if not even better 3D-performance than the binary proprietary driver ever could. Gallium3D/MESA works, but not perfectly. If you plan on gaming with an AMD-card on Linux, their binary driver (FGLRX) is the safer bet.

Researching AMD / NVIDIA lately got me angry on both holds, but for different reasons.

AMD for being (completely) incompetent (Linux-)driver-wise. I kind of suspect they're trying the old "your shit is unsupported, buy new shit!"-routine to pressure new sales. Well, good luck with that AMD... you'll need it. Especially with that crappy driver.

NVIDIA for dropping more lock-in effects (like: PhysX / GameWorks / HairWorks) than actual bug-fixes and/or updates to their driver(s). But at least their driver works!

So, next time I'm thinking of upgrading my graphics, the choice will be fairly easy... NVIDIA.

AMD; seriously... get your shit together!

02 April, 2015

Logitech Unify on Linux

I recently had to replace all my peripherals for my primary desktop / workstation, and as always; the choice fell on Logitech. I ended up getting so-called "Unify" wireless devices (mouse / keyboard).

Upon reading about using Unify-devices on Linux, I realized some smart fellow had made a simple management-suite for Linux-systems, called Solaar.

Solaar allows pairing of multiple Unify-devices to one "Unifying Receiver" (the USB-receiver dongle), through either a simple GUI tray-application (GTK-interface) or a simple command-line tool. It also offers monitoring on battery-levels (with notifications) and checks if wireless links are using encryption or not. Much like the applications used on both Windows and Mac OS X.

Solaar, running as an Ubuntu desktop-tray widget.

Installing was as simple as running the following commands:
sudo add-apt-repository ppa:daniel.pavel/solaar && sudo apt-get update && sudo apt-get install solaar;
Solaar on the web: http://pwr.github.io/Solaar/