Better HN
topnewbestaskshowjobs
Log inSign up

jackhack

2,538 karma · joined Jun 24, 2008 (18y ago) · 662 submissions

Paper shuffler by day with a background in embedded development + robotics, realtime, oldschool Windows from v2.1, Apple from the ][+ days onward. Currently in the "indifferent" stage of my oscillating love/hate cycle with Apple.
Submissions

comment 8y ago · link · parent

That's a curious analogy.

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

She should change her first name to 'or 1=1;drop table customers;commit;--', sit back, and watch the fireworks.

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

Probably not as bad as if your last name is Null. https://www.wired.com/2015/11/null/

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

I don't understand why this is bubbling up to the top of hacker news. I presume it is because of high demand and hopes for a native graphing tool, but is there some other reason I am missing? I ask because the project looks to be very early-stage. I see only very simplistic box-and-arrows charts which wouldn't be sufficient for anything but the most basic of ideas -- certainly not for publications or a professional presentation. And the information about its future path and goals is slight-to-none. The team has a very long road ahead to replace full-featured products like LucidChart or OmniGraffle. [edit: grammar]

comment 8y ago · link · parent

Do you realize you dodged a bullet at that moment? That was a classic case of "smartest-guy-in-the-room" syndrome: from your description, he wasn't there to interview you, he was there to show off and stroke his own ego.

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

resume-driven development?

comment 8y ago · link · parent

For me, it is the measure of a talented and mature musician is: one who knows how to leave space in a song, giving the melody room to breathe and the listener time to reflect and anticipate.

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

You're not wrong. Adults have an ability to discern crap from talent. Children don't know the difference, and will buy what's pushed at them. This is very different from the 1940s, 1950s, where a record (and phonograph, speakers, amplifier) was expensive and music was primarily purchased by adults. The demographic shift is rather profound -- where the average age used to be in the high 30s/low 40s, to today, where it is teenagers.

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

>>...but no lock I know of works that way).

And if the law is followed, you never will know of one.

That is the problem.

comment 8y ago · link · parent

>>It’s not illegal to disclose anything, it’s illegal to hack

So it's not illegal to disclose, just illegal to discover? No offense intended, but this sort of wordsmithing doesn't reassure me at all.

comment 8y ago · link · parent

That's a great contribution. Thank you! And all this time I thought they were mere stylistic choices.

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

In fact, Jack gave a rather lengthy interview on the Sean Hannity radio show just a day or two ago. He came across as fairly even-handed and it was clear the difficulty of the situation and striking a balance between an open platform and removing posts which cross the line (threats, violence, illegality, etc.).

comment 8y ago · link · parent

>they believe their product does good in the world

Perhaps, but good, for whom? It is useful to ask "What class of people benefits? Who is harmed?" and is the net change worse that if we did not meddle? Does it give power to some, at the expense of others?

comment 8y ago · link · parent

An approach from one of my early employment experiences (1980s):

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

There were a lot of reasons for concise, pithy code in the 1970s. Poor keyboards was not one of them.

(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

Tacit acceptance of censorship -- is this the logical destination of "don't be evil?" As if the Chinese people don't deserve truth and dignity; basic human rights. Along this spectrum of logic we would also argue that the North Korean "internet" is a good thing, as is all controlled media and news, too.

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

Everyone's overthinking this: I think the answer is as simple as "9/11 and its global aftermath." What do we have? Wars, astounding national Debt, and the political divisiveness and uncertainty being fueled by the several crops of politicians. Well, that and the natural cultural end-game of global banks looting western civilization.

comment 8y ago · link · parent

Apologies if this was covered somewhere on the web site, but I wasn't able to find it -- may I ask what are the serving sizes? Are these individual servings suitable for one person, or for a larger group/family (4).

comment 8y ago · link · parent

There is a hot-sauce shop in Austin Texas that makes you sign a legal release waiver before purchasing some of the sauces they keep in a locked case. Apparently there is a real risk of airway collapse -- a fine line between "hot sauce" and "military grade chemical weapon / bear deterrent spray."

comment 8y ago · link · parent

ha! Yeah, I guess that's the secret -- just do something for a 10,000 hours and it comes naturally. But I still remember the learning process "X and Y index, what's that good for? and why do I need an accumulator? Stack? flags? Rotate?" but once I put that first pixel on the screen and made it move, I was hooked.

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

Maybe a few seconds per page? Truly, it's really not that much of an accomplishment -- the comments are superb. I spent 10 years writing games in 6502 assembly, so it feels pretty natural to me.

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

>Your worry seems misplaced.

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

Surprisingly sophisticated. I didn't remember them being much more than annoying when my kids "had to have one."

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

Ha! They just set about redefining "evil" as "that stuff that other people do." "Don't be evil" went out the window a long time ago. I can't imagine any new revenue seeking business model being rejected by a social media giant because it "has a whiff of evil." If there is any doubt left that power corrupts idealists, the big social media companies should be exhibit 1.

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

Not a backdoor; more accurately described as "lack of a door".

comment 8y ago · link · parent

Great catch. You're right, I completely missed that and probably wouldn't have made the distinction even if I had seen it. I will now, and in the future, though.

comment 8y ago · link · parent

These two competing cars aim at very, very different markets. Forbes' breathless prediction of Toyota's hybrid market demise is a myopic opinion piece and a stretch of wishful thinking.

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.

comment 8y ago · link · parent

Can we please keep YC a civil place without the entirely unnecessary profanity which is pervasive everywhere else?

It's fine to disagree; but do so based on the strength of your argument and facts.

1
8910
23