2,538 karma · joined Jun 24, 2008 (18y ago) · 662 submissions
comment 8y ago · link · parent
I remember reading the intro to a Berlitz language course written by Charles Berlitz himself (a polyglot master of a dozen or more languages, if I remember correctly). He made the statement that speaking two or more languages is seen as evidence of higher intellect. They went on to assert that it is actually quite easy to learn a language. In fact, anyone who is not an imbecile can do so, but learning a second language -- ah, now there is the rub. It's difficult, typically, because of the incorrect approach and the lack of integration. In order to learn a language, one must speak and hear it. It is insufficient to merely read it or "speak" it silently, in one's mind.
getting back to your analogy: I will quibble with a fine point. It is unfortunately incredibly simply to have a child. Even those imbeciles from the former example seem capable (even rather proficient!) at having many. The difficulty comes in raising a child well. And I think that was what you were getting at. :) That is no simple task. But after one or two the parents learn the necessary skills.
Berlitz also makes the observation that learning a third language is easier than the second, as one is now finding patterns and building on those similarities rather than focusing on differences.
Your logic is in good company.
comment 8y ago · link · parent
by the way, best use case of this I've ever seen? It was pasted on a sticker on a car's bumper, right below the license plate, in a nice easy to read/OCR font. Now, I've no idea if the speed/traffic/tracking cameras read it and acted on it or not, but the idea amused me.
comment 8y ago · link · parent
In the early 80s I worked with a guy who wanted an unlisted phone number (back in the days of paper telephone directories). He was really miffed at the idea that the phone company would charge him an extra $10 (or similar) per year for this "service". ("Ten dollars to NOT do something?!? That's extortion!") He couldn't believe this so he asked for a list of service charges which they mailed to his home. Apparently changing your name was free. So, for several years you could call "Kirk, James T., Capt." I guess he showed them. Bonus: saved $10 per year. Extra bonus: frequent crank calls at all hours, for free.
Funny thing is I can't remember his real name.
comment 8y ago · link · parent
comment 8y ago · link · parent
Be glad you didn't get that job, because that would have been the future of your days at work -- constantly listening to Mr. Smartypants compensate for his own sense of inadequacy, where every different opinion is treated as a personal insult or a challenge. No thanks. That personality type is infectious (not in a good way) and it damages an organization.
comment 8y ago · link · parent
Blues and Jazz artists inherently understand this. It is essential in classical. However, modern pop music, which has become saturated with hip-hop/rap influence, is going the opposite direction, filling every possible space with noise. The loudness war is only one facet of this.
comment 8y ago · link · parent
I don't agree that pop music is becoming more vanilla and less offensive. In fact I think it's demonstrably quite the opposite -- much more vulgar and crude. Just a few moments spent with modern "music videos" should dispel any notion of bland, inoffensive art.
comment 8y ago · link · parent
As an undergraduate, I was relegated to the teletypes or a modem on one of the 10 dialup lines -- upperclassmen and grad students got first pick of the CRTs and there was rarely a free one available. I suppose I get the last laugh, as I didn't developer carpal tunnel syndrome.
Coding assembly on a teleterminal using greenbar paper now seems equal parts primitive, badass, and insane.
comment 8y ago · link · parent
comment 8y ago · link · parent
1. Write a CAD system. User-facing code in BASIC. Rendering engine written in assembly.
2. Run the interpreted BASIC code through an optimizer, which condensed all variable and function names to be as short as possible (one or two characters) and moved frequently-used routines to the top of the module before compiling it all into one executable chunk (no more interpreter). This optimized code is almost unreadable but executes a lot faster (25%-50%) than the human-readable interpreted code. Hurray!
3. Lose the original source code.
Build machine's hard drive died. The backups weren't. No version control -- only occasional snapshots. Source code that was on various floppy disks lying around the office was incomplete and badly outdated (like the "Old Documents/John's Code example, above).
4. Team panics and spends a month trying to piece "Humpty Dumpty" (the software) back together again. No luck.
5. Spend the next year trying to reconstruct function and variable names from "AA423()" and "aa_237" to such gems as "customerListIThink", "doesSomethingToInventory()", "NoIdea()", "BreaksWhenIChangeIt()" while struggling to add new features at 1/10th the rate before the loss.
6. Try to rewrite the whole thing in C.
7. Go out of business.
True story.
comment 8y ago · link · parent
(in fact, some of the best keyboards I've ever used were of the old mechanical-switch variety found on IBMs, teletypes, and various CRT terminals. Even the worst of the bunch were a lot better than the almost-legendarily-bad macbook keyboard I'm using at this moment.)
comment 8y ago · link · parent
I find it repugnant to see the people in relatively free Western nations pull the ladder up after them; as if others don't deserve what we have (but now obviously take for granted). That's a form of soft bigotry. A condescending pat on the head and a tut-tutting, as if the simple people of China couldn't handle freedom and/or don't want it. The Tiananmen Square Massacre wasn't all that long ago, so we know that the latter is not true.
Obviously this decision is driven by money -- access to markets -- but what else? What is the ideology that makes this acceptable and justifiable in their minds, because I cannot understand it.
"Do you participate, or do you stand on the sideline and yell at how things should be?" -- Tim Cook
Partnering with evil is evil. Empowering evil is evil. As is ignoring it.
Does anyone doubt that a report of all searchers for forbidden knowledge will be generated and turned over to Chinese leadership for "followup"?
But there's undoubtedly a lot of money to be made so what do I know.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
what's funny to me is the idea that a person can go do something else for 10 or 20 years (C, C++, DotNet, robotics) and barely touch a line of assembly, yet it's all still there waiting. Maybe it's because game development in 6502asm was at the start of my career and I was so passionate about it, but some things are just ingrained. Even stuff like favoring zero-page memory (the first 256 bytes of memory from $0000 to $00FF) because it can be accessed in one cycle instead of two like indexed, offset or direct access memory. Later, moving to the 68000 family felt like a high-level language (Multiply AND divide opcodes -- you mean I don't have to write a multiply routine?)
But having a asm background has ruined me in some ways. Learning C was straightforward enough, and the jump to C++ felt very natural. However, I find modern languages repulsively inefficient (e.g. Ruby) and struggle with functional programming (Lisp, Elixir). Python feels reminiscent to Applesoft BASIC so while I have to look up the syntax every time, it still feels normal.
somewhat related, since I'm rambling...
I recently read "Making 8-bit arcade games in C" by Steven Hugg and found it brought on a strong dose of nostalgia. It's a really ambitious book that attempts to give a feel for programming various 8bit game platforms, and covers some surprisingly advanced techniques and some basic stuff that schools may not event each any longer (two's complement, run-length encoding, interrupts, etc.). The book has some rough edges and wanders a bit but the good parts easily outweigh the defects. It achieves its aim of
Speaking of game programming -- how about meta-game programming? programming in a game.
I bought a game called TIS-100, and found it to be loads of fun in the same way a mechanic might buy a derelict car and restore it to new condition, or an EE might fiddle around with an old tube radio just for fun. The premise is that an uncle dies suddenly/disappears and leaves a prototype computer behind. Hidden in this computer are some signal processing circuits that hold a secret. You (the player) are tasked with restoring this prototype military computer to unlock the knowledge held within. Very simple, only a handful of opcodes, but it's a challenge and fun in a way I haven't felt since the 80s. Being forced to juggle a variable around on the stack or between indexes or the accumulator an only having a few bytes of storage requires a different type of thinking. Good stuff.
TIS100 definitely isn't for everyone and the challenge curve gets rather steep but once I "got it" it was one of those stay-up-all-night challenges. https://store.steampowered.com/app/370360/TIS100/
great review: https://blog.codinghorror.com/heres-the-programming-game-you...
comment 8y ago · link · parent
Keep in mind that a lot of this kind of code follows a pattern : lots of EQU ("equates") statements that link a variable to an address like a port or a signal line. Then you'll have the setup code that gets everything into a basic state where it's ready to run the next part
The big loop Here's where the action's act. Just spin in a big loop, waking up every few hundred cycles or so to check and see if a button is pressed, or the IR chip is sending a byte, or the battery is dead, etc. If you're already doing something, keep doing it until you're done. If you're done, wait around for a while or go do something else.
At least, that's what I come expecting. So when I see code like this that basically fits that model, parsing it is simple.
And, like I said, there are great comments. Even a couple about the round-robin service routine that made me laugh.
comment 8y ago · link · parent
I wish I could agree with you, but I cannot. Industries are hiring psychologists in order to increase the addiction of software (especially videogames) -- perfecting just the right amount of time before a reward is given, tuning the sounds to be "just so", etc. It's hard enough for an adult to resist, with years of defense mechanisms established, in places like Casinos or video games. But now that same degree of subterfuge is being employed for iPad games targeted at toddlers. What can an unprepared child do to resist? A: very little.
It is parent vs. corporation, now, in a battle for the child's mind.
comment 8y ago · link · parent
Hey, I recognize those opcodes. 6502 (Commodore, Apple 2, etc) Cool! I had no idea what was running these things.
Time Slice Task Master (aka "cooperative multitasking without preemption")
Interesting they set the PWM (pulse width modulation) based on battery voltage as not to stress out the motors. Cheaper than some caps & resistors for a voltage divider from a high V source, or a boost/buck controller. Still necessary for the CPU though. If I remember correctly, this thing ran off 4 1.5V cells (+6V). Yay, software!
Clever use of tilt sensor to seed the pseudo-random num generator. (page A22)
Too bad the diagnostic file isn't included (diag7.asm) per page A21.
(A33) That cycle-counting timer loop brings back memories, too -- throwing in a few NOP (no-operation) calls just to eat a cycle and get the timing right on a horizontal/vertical retrace -- while here they're doing it so the service intervals on sound & motor control come out right.
(A36) LOL @ "Rap mode"
A39 - the various sensor sequences needed to trigger the modes
I gave up at about 45 pages, but there is obviously some neat stuff here.
comment 8y ago · link · parent
I will admit I find some ironic humor in the recent youtube/twitter/google/facebook love-affair with censorship; it's the thought that these nerds created a global platform and discovered -- shock and horror -- that this world full of people really don't like each other very much and have the audacity to express that view from time to time. Rather than accept that basic truth, they set about trying to change it.
The corollary is an old saying about business models that goes like this : if any part of your model requires the user to change a behavior, you will fail.
Still waiting for that other shoe to drop.
comment 8y ago · link · parent
The lower-tier Prius' are profoundly less expensive than even the mythical base-model Model 3 (which the article points out, isn't available; Tesla has said they hope to offer the base model by the end of the year). A 2017/2018 Toyota Prius can be driven off the lot for $20,000. The Model 3s that have been sold are $40,000+. That makes A Prius Prime plug-in hybrid the most direct competitor. I trust the sales figures quoted are accurate.
But there's more to it: Price, availability, utility, and maintainability are big considerations once you leave the ultra-luxury price range (100k+) that is Tesla's core market. The Toyota wins in all these aspects, in my opinion. Where Toyota does not compete is the "status symbol" market.