Stinkpot created some pure low frequency tones available for free. They can be used to test somone's low frequency hearing or performance testing new subwoofers. Stinkpot created these sine waves with Matlab. Nifty!via the Desk of Stinkpot.
Stinkpot created some pure low frequency tones available for free. They can be used to test somone's low frequency hearing or performance testing new subwoofers. Stinkpot created these sine waves with Matlab. Nifty!via the Desk of Stinkpot.
I got a wild bill from PG&E a month ago that required them to check gas meter readings. They determined they were at fault, but the resulting bill after corrections was absurdly confusing. There was no easy way to figure out how they reached the total amount with the numbers they were providing. Charges, fees, and payments were not clearly stated.So, I threw together a web application utility tool that takes the total and all the numbers that might possibly be used to calculate a total, and spit out which values were added and which were subtracted to equal the total.It was fun and easy to write. It is also useful. So, I've put it on the interweb so you folks can use it too.The calculation tool is aptly named: Total Confusion
POSTED • 2012-03-16 11:36:28
• CATEGORY
• ENGINEERING
• SOFTWARE
• TAGS
• ADD
• CALCULATOR
• IF A UTILITY HAS NO COMPETITION IT SHOULD BE STATE CONTROLLED
• PGE
• SUBTRACT
• TOTAL
• UTILITY
• WHY ARE ALL UTILITES EXTREMELY HASSLING
The TSA has been running a scam by implementing the civil rights abusing nude body scanners. The funny thing is they are in no way effective and they only serve to line the pockets of contractors, lobbyists, and government officials. The devices actually make air travel less safe since they cannot detect strategically placed objects and they emit radiation on the subject.In short: If you want to get an object through airport security, head over to the higher security millimeter wave nude scanners with an object strapped to your side!
What sort of third grader with an engineering degree created a security scanning device that does not detect objects on the side of a person?The TSA has not caught any terrorist attempt and they only serve to make the public feel secure and, ironically, disempowered. The TSA intends to cow air travelers and slowly erode resistance to personal civil rights and liberties.Write your senators and representatives urging them to stop the attack on Americans and return the TSA to the proven method of using old fashioned metal detectors and bomb sniffing dogs (or chemical sniffing machines... they exist).read more of the article from TSAoutOfOurPants.
POSTED • 2012-03-07 22:02:20
• CATEGORY
• ENGINEERING
• HEALTH
• POLITICS
• TAGS
• BODY SCANNERS
• HANDS OFF MY JUNK
• INCOMPETENCE
• STUPID
• TSA
• TSA IS A BAG OF LIMP DICKS
Folks in Japan have developed a handheld device (aka. gun) that can stop a remote person mid-sentence. The research group capitalized on the oddity of people having trouble speaking when their own voice is heard with a fraction of a second delay.This is, in fact, a speech impediment. There are people that get feed back when they talk and hearing their voice can derail any train of thought. If you haven't seen The King's Speech
Here are some experiences I've had with my ThinkPad Edge laptop that are evidence Lenovo has destroyed a quality product line. This is not necessarily a review, but a list of the reasons why I will not be buying a Lenovo laptop in the future.
Screen - The highest point of user interaction. A slow processor can be ignored, but a bad quality LCD is a constant reminder of bad quality.
- The viewing angle is too narrow on the LCD panel causing extreme color and contrast loss if the screen isn't perfectly perpendicular to the viewer's line of sight. Even when it is, the edges of the screen are out of the viewing angle and are either washed out or lack contrast. The shimmering while adjusting the screen is horrendous.
- Lack of contrast and color range of LCD. The default display brightness, contrast, and gamma must be adjusted immediately out of the box to see anything properly.
- Extremely pixelated display and relatively low resolution ceiling (1366x768)
- Auto dimming for the log in screen is horrible. Sometimes it doesn't dim at the log in screen. Sometimes it stays dimmed until long after you have opened your session. Not only that, it resets your dim setting back to bright. So, every time you log in you need to adjust your screen brightness with the F7/F8 keys. Balls.
I've created a new tool to create new and random words. Instead of getting a generic list of random words, this tool lets the user choose from sets of characters for each letter of the generated word. Not only that, Asian letters like Hiragana and Hangugeo can be used. How sweet is that?The tool also has a mutation field, where the user can supply a word that will be changed into a similar random word.This thing can be used to find a good domain name, company name, or even baby name! Now that I think of it... you could also create some interesting new words for a fictional language (like Klingon!).I created it for myself, but feel free to use it: Random Word Generator ToolNote: You might also find the Name Filter Tool interesting too.
I've been spending a lot of energy searching for a really good name. Don't ask me why.Not only have I been looking through baby name lists and books, but I have been scouring the web for specific name search engines. Sure there are tools that help you find a good name or even generate random words, but there is no search engine for searching for a name based on ending.This is important because I have a last name that is short and starts with a W making many first name endings sound bad because they do not flow smoothly into the last name. For example, the name Kirk has a definite sound termination. This is due to how the letter K is pronounced with our mouths. When saying K, we restrict air in our throat and release a short puff of air. See Sounds of English for more.A name that ends clearly, usually with the constriction of the throat, does not work well with my surname. Other sounds that have the same pronunciation mechanics are words that end in t, k, d, b, p, and x. When I searched for a way to find names based on endings, I couldn't find any. So, I decided to make a tool that does it for me.For the impatient, feel free to hop over to the Name Filter Tool now.For those that want to learn how it was created, read below:The first step was to collect names. I didn't want to take names from other baby name websites, so I decided to get real peoples names from a popular social network called Google+. You may have heard of it.It took very little time to create a python script using urllib2 to scrape Google+ profile pages for user names and profile IDs. However, it did take a while to run the script and collect over 10,000 names of people all over the world. Of course, it collected some page names, which don't sound very human like Frogpants. But, those are in the minority of the names collected and I can later choose to remove them.The final step was creating the search ability. Instead of using python, I opted for javascript since it was quick, dirty, and could be uploaded for others like me wanting a name ending tool. I gotta spread the joy and bump the karma.The tool itself does more than searching by ending characters. It accepts a search format specification, which can be composed of letters, symbols indicating a consonant or vowel, and a wildcard character for zero or more characters.Here are some examples, but the tool describes how it works too:
- If you wanted to search for names that start with John, the search definition would be: John~
- If you wanted to search with names that start with M and end in T, then you would search for: M~t
- If you wanted to search for names that started with a consonant and were followed by a vowel, consonant, then vowel, then you would search for: !@!@~
- If you wanted all names that were six letters long, you could search for: ++++++
POSTED • 2012-01-13 17:36:11
• CATEGORY
• ENGINEERING
• INFO
• SOFTWARE
• TAGS
• APP
• BABIES EVERYWHERE
• JAVASCRIPT
• NAME
• PYTHON
While working on a game using the ever wonderful libgdx, I noticed slow performance when I was using two different Stages. One stage was the game HUD and the other served as a poorman's dialog.I didn't notice the choppy performance hiccups until after I called draw on the second stage then returned back to the original HUD stage.I had something like the following (WARNING: pseudocode):
Stage hud = new Stage();
Stage dlg = new Stage();
...
hud.addActor(widget1);
hud.addActor(widget2);
dlg.addActor(widget3);
...
void render() {
if (show == HUD) {
hud.draw();
} else {
dlg.draw();
}
}
Stage ui = new Stage();
Vector hud = new Vector();
hud.add(widget1);
hud.add(widget2);
Vector dlg = new Vector();
dlg.add(widget3);
...// Call show() when you want to switch context
void show(what) {
ui.clear();
Vector widges = hud;
if (what == DLG) {
widges = dlg;
}
Iterator iter = widges.iterator();
while (iter.hasNext()) {
ui.addActor(iter.next());
}
}void render() {
ui.draw();
}
That cleared up my performance trouble.Find out more about libgdx at Badlogic Games
Sometime in the future, you will find yourself wanting to test some quick web code (say WebGL) and hit problems with cross domain scripting since your first try is always to load an html file in your browser from the file system (file://).You will groan at the thought of having to host a web server just to test your web code... And if it's offsite, or in a VM, keeping the files sync'd during debugging can be annoying.Not to fear, Python to the rescue!Just change to your development directory in your console and use Python's SimpleHTTPServer:
Oh! Think of the many headaches and blistering ulcers this will save you from getting.XOXO, we love you Python.> python -m SimpleHTTPServer
POSTED • 2011-11-30 11:54:39
• CATEGORY
• ENGINEERING
• TAGS
• PYTHON
• RAPID DEVELOPMENT
• WEBGL
• WEBSERVER
prev page
• • •
