Mind of Jared

  • Random
  • Archive
  • RSS
  • Ask me anything

Chromium OS Builds for non-Chromebook Machines!

So excited for this. A user going by the name of hexxeh has created a website which automatically builds the latest versions of Google’s Chromium OS. I downloaded an image, but unfortunately, the latest builds don’t work on my machine. I get a kernel panic upon boot. I’ll try it on my brother’s laptop later, and hopefully that will work.

BUT, the most important thing is that hexxeh was able to get Chromium OS working on his Raspberry Pi! I have one ordered and will hopefully get one within the next month. Very excited about that.

    • #text
    • #link
    • #programming
    • #computers
    • #Raspberry Pi
    • #Chromium
    • #Google Chrome
    • #Chromium OS
  • 1 year ago
  • 4
  • Reblog
  • Permalink
  • Share
    Tweet

Jukebox is available for download!

I’ve decided to go ahead and give out the source code for my Jukebox project. It’s not much, but I figured it’s better to let people take a look if they want. I am offering no promises that this will compile on your system, but I’m just getting it out there. You can post in the comments if you’re having trouble, but I’m not yet familiar enough with C++ to offer much help.

So here is my first release. Dependencies are a c++ compiler, the ncurses library, and the FMOD Ex library installed. I have compiled this project on both Linux and Windows, but it may take a bit more work to compile under Windows which I have outlined in the README.

I have included the program compiled under a Linux i686 machine. You will need to recompile if you are not using Linux or if you have a 64-bit operating system.

Download mirror

Download Jukebox here.

Enjoy! I added some screenshots to an imgur album here. Any comments? You can message my Tumblr account, add a comment to the post, reblog with a comment, or send me an email to the email listed in the README.

What about the source code?

I have also made the two source files available for online viewing on Codepad:

Jukebox.cpp - Contains main() and most of the jukebox and ncurses logic.

player.h - Contains the Player class which accesses the FMOD sound library.

Instructions

Jukebox is controlled completely through your keyboard. Here are some keys to know:

  • Arrow keys. Up and down change your song selection.
  • Use Space to start a song.
  • Press ‘p’ to toggle pause/play.
  • Press ‘n’ to play the next song.
  • Press ‘c’ to change the color scheme, and ‘i’ to invert colors.
  • Press 1-3 to sort by a column. 1 sorts by the first column, 2 sorts by the second, and so on.
  • Press 0 to randomly sort all the songs, also known as shuffling.
  • Press ‘q’ to quit.

Thanks for taking a look! Any feedback is more than welcome.

    • #text
    • #programming
    • #download
    • #computers
    • #Jukebox
    • #source code
    • #source
    • #FMOD
    • #ncurses
    • #C++
    • #C
  • 1 year ago
  • 1
  • Reblog
  • Permalink
  • Share
    Tweet
This is the latest project I’ve been working on. It’s a jukebox mp3/ogg player that is run completely in the command line. Written in C++, this jukebox uses the ncurses library (or pdcurses on Windows) to create a user interface. The program reads files out of a directory and sorts them according to their tags. The program also supports color changing if your terminal supports it. The best part about this is that it weighs in at only 5 MB of memory usage! Very lightweight.
I might write more on this later and release the code if I get around to it. Here’s another screenshot so you can get an idea of how it looks with different color schemes:
Pop-upView Separately

This is the latest project I’ve been working on. It’s a jukebox mp3/ogg player that is run completely in the command line. Written in C++, this jukebox uses the ncurses library (or pdcurses on Windows) to create a user interface. The program reads files out of a directory and sorts them according to their tags. The program also supports color changing if your terminal supports it. The best part about this is that it weighs in at only 5 MB of memory usage! Very lightweight.

I might write more on this later and release the code if I get around to it. Here’s another screenshot so you can get an idea of how it looks with different color schemes:

    • #text
    • #computers
    • #programming
    • #technology
    • #mp3
    • #music
    • #jukebox
    • #C++
    • #ncurses
    • #linux
  • 1 year ago
  • 0
  • Reblog
  • Permalink
  • Share
    Tweet

Running Javascript as fast as native code

I was reading a discussion today on Ars Technica about Google’s Native Client project, or NaCl for short. (That’s such a clever name!) One of the issues discussed was the current major speed difference between run-time JavaScript compilation and pre-compiled binaries.

Long story short, a user made a point that JavaScript could never be as fast as native code even in theory due to the fact that high-level interpreted languages have plenty of overhead and implicit data types. Another user responded with the above link, which links to the blog of a Mozilla developer who explains how one could convert any JavaScript code into Python code, and in turn convert that Python code into a C binary which is native machine code. The speed difference was negligible between the JavaScript-turned-binary and the equivalent code in C.

The significance behind this is that a browser could theoretically do this conversion on-the-fly when a page is loaded, at a cost of initial loading time for the JavaScript file. The author suggests that the normal JavaScript be executed as soon as it is downloaded, and perform the conversion on another thread. When the conversion is done, attempt to hot-swap the interpreted JavaScript code with the freshly converted binary for a speed boost. If even this cannot be done, the browser could at least cache the compiled script and re-use it whenever the user loads that website again.

Very neat article! It’s interesting all the different ways one can get a speed boost in their web browser.

    • #computers
    • #programming
    • #code
    • #javascript
    • #link
  • 1 year ago
  • 5
  • Reblog
  • Permalink
  • Share
    Tweet

Former Reddit co-owner arrested for data theft against JSTOR

Aaron Swartz, one of the co-owners of Reddit and one of the authors of RSS, has been arrested today for downloading over four million documents from online journal site JSTOR. He used Internet access at MIT to download the articles with a Python script. His plan was to make science articles and other documents freely accessible online without having to pay JSTOR for the data.

JSTOR has decided not to press charges, but Swartz is still under arrest for breaking into an MIT building.

    • #link
    • #text
    • #computers
    • #news
    • #information
    • #information policy
    • #technology
    • #reddit
  • 1 year ago
  • 1
  • Reblog
  • Permalink
  • Share
    Tweet

Being a programmer does not make you a genius

Why do people assume that I can help them with anything remotely related to computers at all just because I like to program? I’m not some sort of wizard at all things mechanical. I don’t know why your off-brand phone doesn’t sync contacts correctly.

    • #text
    • #programming
    • #genius
    • #assumptions
    • #computers
  • 1 year ago
  • 11
  • Reblog
  • Permalink
  • Share
    Tweet

Firefox's new version model: why nothing really changed

Peter Bright over at Ars Technica discusses why Firefox’s new version system (version 5 will be released soon!) does not actually imply major changes, but only a shift of perspective. He also rants about how the Enterprise is retarding the progression of the Internet.

    • #link
    • #arstechnica
    • #Firefox
    • #Mozilla
    • #browser
    • #Internet
    • #programming
    • #computers
  • 1 year ago
  • 0
  • Reblog
  • Permalink
  • Share
    Tweet

Jared Explains: Egyptian Multiplication

As seen in my previous post, it’s possible to multiply and divide numbers without using a times table! This is how the ancient Egyptians and the ancient Chinese worked with numbers, and it’s also how your computer handles multiplying numbers inside its processor. The Egyptian method of multiplication and division is important in computers so that they do not have to store an internal multiplication table.

Read More

    • #text
    • #jaredexplains
    • #math
    • #Egypt
    • #binary
    • #computers
  • 1 year ago
  • 2
  • Reblog
  • Permalink
  • Share
    Tweet

Image lightbox previews improved!

I spent the better half of the night editing the source code of the Fancybox plugin for jQuery. Fancybox is an improved version of Lightbox, which is a JavaScript-based image previewer. I had an idea in my head that, since my blog has so many images on it, I’d like to enhance the image browsing experience. The vision that I had was that there would be links at the top of the lightbox which would allow the user to go to the next page on my blog, the previous page, or visit the Permalink page for the currently viewed image in order to reblog or like it. Also, I wanted to add the “gallery” feature that Fancybox already has but my theme designer did not implement.

Read More

    • #text
    • #programming
    • #computers
    • #javascript
    • #jquery
    • #fancybox
  • 1 year ago
  • 2
  • Reblog
  • Permalink
  • Share
    Tweet

AntiSec: a joint operation between Anonymous and LulzSec

It’s time to write another text post, though I’m a bit late to the party with this story.

Anonymous and LulzSec, two Internet-based hacker collectives, have joined forces for the purpose of revealing corruption in all governments across the world in an operation called AntiSec. They call upon all hackers across the world, regardless of allegiance, to join them in their effort.

Read More

    • #anonymous
    • #antisec
    • #hackers
    • #internet security
    • #link
    • #lulzsec
    • #text
    • #computers
  • 1 year ago
  • 3
  • Reblog
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 2

About

Avatar I'm a thoughtful seventeen-year-old guy with an affinity for learning. My interests include computer science, evolutionary biology, neuroscience, philosophy, tech policy, and physics. I also enjoy sports, competing in basketball, bowling, and cross-country. You can expect me to stay up-to-date with current events, science discoveries, and tech tricks.

Posts By Subject

  • Science posts
  • Math posts
  • Programming posts
  • Art posts
  • Computers posts
  • Anonymous posts
  • Funny posts

Posts By Type

  • Written posts
  • Image posts
  • Link posts
  • Music posts
  • Video posts
  • Quote posts

Pages

  • Sketchpad

Following

I Like These Posts

See more →
  • Photoset via infinitesimal7

    lupinesque:

    demetri martin is actually the best person

    Photoset via infinitesimal7
  • Photo via bestofbarbie
    Photo via bestofbarbie
  • Quote via elucidate-further
    “This heart within me I can feel, and I judge that it exists. This world I can touch, and I likewise judge that it exists. There ends all my...”
    Quote via elucidate-further
  • Question via bestofbarbie
    rocketroketto asked: Hi again, I think you're much more beautiful than all the women you post here, I'd rather look like you than myself or them. My fave pic is the ''sassy'' one. And the red lips look fab on you :)

    This is the nicest compliment I’ve ever gotten, thank you so much! I definitely don’t think I come near to competing with the women I post, but that...

    Question via bestofbarbie
  • Post via bestofbarbie
    They came!

    SO. I went to pick up my blue contacts and was soo excited. I called my wonderful fiance who wears contacts and he helped me put them in,...

    Post via bestofbarbie
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Copyright © 2011 Jared K. All Rights Reserved. Effector Theme by Carlo Franco.

Powered by Tumblr