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

At least they're not yet so pretentious as to call it an "eatery" which seem to be the latest trend among middling restaurants trying to distinguish themselves.

comment 8y ago · link · parent

Germane to this article -- the pretention of calling a restaurant an "eatery."

comment 8y ago · link · parent

Not with a crushed spirit.

A bird that has lived its life in a cage won't leave. It's really quite sad to see.

Men convince themselves they are free by refusing to ackowledge the walls of their own dungeon.

comment 8y ago · link · parent

I can confidently say I disagree with that conclusion.

As Jim Rohn famously said, you are the average of the five people you spend the most time with. While I don't completely agree because I think think "time" can also be interpreted to include reading-the-works-of, I think those five people (either in-person or remote) exert a lot of influence. They help shape your ideas, and provide boundaries or gateways to your thoughts through their feedback.

comment 8y ago · link · parent

Thanks for the TLDR.

But if that's the argument, then not even assembly is sufficient, as control over speculative branching and prefetch is only accessible via microcode in the CPU.

I think the argument is improperly framed. This is a discussion over public and private interface. The CPU is treated as a black box with a public interface (the x86+ instruction set). Precisely how those instructions are implemented (on chip microcode) is a private matter for the chip design team, which if correctly implemented, does not matter to the user, as the results should be correct and consistent. Obviously, a poor implementation can lead to Spectre or Meltdown. But for the most part the specific transistors & diodes used to sum a set of integers, or transfer a word from L2 to L3 cache, etc. shouldn't matter to us. If the compilers are relying on side effects to alter behavior of the internal implementation based on performance evidence, then that is a boundary violation.

C is low level. It remains "universal assembly language".

comment 8y ago · link · parent

I appreciate the clarification. (and agree) There are many cases of lack-of-attribution or no respect for open-source licensing.

comment 8y ago · link · parent

That should be a fairly deep rooted memory. If you're having difficulty recalling, that is concerning. I respectfully urge you to consult with a neurologist or at least your GP.

comment 8y ago · link · parent

>>software, where innovation suffers from the open-sourcing/attribution problem to a greater degree than any other field.

Suffers? What a curious choice of word! I would claim quite the contrary, where innovation flourishes due to the ease and speed of dissemination of ideas.

Can you explain why you think innovation is dampened?

comment 8y ago · link · parent

Indeed - this is often forgotten but just like the fashion of necktie widths and the length of hemlines, so the AI pendulum swings from symbolic representation to ML. I believe it will return, eventually, and at it's foundation rests LISP or at least the core tenets.

Prof. Rodney Brooks (MIT, Robot Lab), who is famous for his subsumption architecture (SA) and against Minsky's central-model of representation (arguing instead for radically separate distributed systems), wrote SA and nearly all of his research in LISP. In fact, Brooks wrote a book on LISP programming and developed his own efficient LISP engine. Many, many of his grad students have gone on to become leaders of the AI (not ML) world.

Curiously, I am now reading "The Elements of Artificial Intelligence - An Introduction Using LISP" which depicts a "Knowledge Engineer" which stirring a cauldron labelled "Expert System". Copyright is 1987. It's a joy to see how far we've come in some respects, but how little progress in others. Perhaps this represents a measure of the maturity of certain subdomains?

I suspect in another decade "we" will rediscover the wisdom of those who have developed symbolic knowledge representation.

comment 8y ago · link · parent

It's the way of the world. Apple and Microsoft seem hell-bent on introducing "phone/tablet" type gestures into their desktop UIs also. It seems only natural that linux distros would follow.

Lesson for the kids making these decisions: "new and/or different" != better

comment 8y ago · link · parent

I would like to thank America for being the world pharma profit center, as well. It is impossible to give away antibiotics for 30 pence a dosage if not for the American paying $50 per tablet.

comment 8y ago · link · parent

Respectfully, Art Of Electronics is not a great choice for OP. AOE is a deep dive with a fast, steep learning curve and while appropriate for a serious student (EE?) I would argue it's not appropriate for someone who has no fundamentals and wants to learn to glue major components together. OP needs to learn practical fundamentals in a hands-on fashion -- debouncing a switch or a purpose of a pull-down/up resistor (and how to calculate values), converting signal levels, etc.

We forget how steep the learning curve can be and how likely it is to turn students away when every page is a baffling struggle focused on topics with purposes which are not germane / not clearly related to the learner's wants. AOE is the equivalent of a music theory book for someone who wants to play "happy birthday." Or Knuth's series for a beginning coder.

comment 8y ago · link · parent

It is unavoidable, you must learn some basic theory. A gentle introduction is found in this book: "Make: Electronics: Learning Through Discovery, 2nd Edition" by Charles Platt

comment 8y ago · link · parent

for those wondering: Pytorch == Tensors and Dynamic neural networks in Python with strong GPU acceleration for Computer Vision, Text, Reinforcement Learning, etc.

comment 8y ago · link · parent

Agreed. And not just any cables, but polarized cables, with gold plated connectors, and the copper wire formed in oxygen-deprived environments, with individual strands following certain twist-pattern to optimize the electron flow, etc. To read the descriptions, one would think the ore were mined by elves on the moon! Nonsense, all.

I'm hoping these blokes never crack open the amp to look at the plain old PVC-insulated wiring within. And don't tell them the oil-in-paper caps are fading over time. Ditto with the carbon resistors.

Meanwhile, humidity of the air and barometric pressure has a measurable affect on the sound of paper-cone speakers. How long before an "audiophile" barometric chamber is marketed?

comment 8y ago · link · parent

>Experienced guitarists (well, I, anyway) can easily an instantly spot the difference between a modeller and a real tube amp.

It might be possible, but it surely isn't easy nor obvious. "Instantly," as you claim? Sorry, but I'd bet a sizeable stack of money that's not the case. Perhaps if you're talking about a 20-year-old 1st generation Line 6 Pod or Yamaha Fx500, then okay, I can see that. But modern modeling amps are exceedingly good at reproducing the nuances of a valve amp. The Kempler is remarkable -- I would go as far as to say astounding -- in its ability to reproduce the breakup, compression, warmth etc. of an amp at all volume levels. If you heard one in person you'd be a believer. At the other end of the spectrum, even a $150 Fender Mustang amps does a respectable job of sounding faithful [disclaimer - the factory settings are pure rubbish and almost embarrassingly poor, but tweak the settings in the computer editor and a whole wealth of sounds are available, some of them are brilliant).

And why would someone want a valve amp for playback of recordings? The same reason you claim to hear the "warmth" of a valve guitar amp. The same reason guitarists use an EP3 (echoplex tape delay) with the tape out -- that preamp circuit compresses, clips, and enhances the waveform in a way that is very pleasing to the ear. Some notes increase in clarity and bloom in a pleasant way.

A valve amp doesn't imply distortion. Leo Fender was a radio tech before forming his amplifier/instrument company. He knew the value of having lots of headroom.

comment 8y ago · link · parent

>>convincing fake video since the 60s (see Kubric)

I assume you mean stanley kubrick. What are you referring to?

comment 8y ago · link · parent

And not too far from parental "assistance: is the question of cheating, which is reportedly widespread. Is it the pressure of the exams alone, or anger about the cheating-prevention measures?

Somewhat related, I recall stories of riots in China due to anti-cheating measures -- teachers and proctors were dragged into the streets and beaten, and one parent indignantly proclaimed "It's not fair! If they cannot cheat, how will they succeed?"

comment 8y ago · link · parent

>miraculous

Yes, miraculous is precisely the right word. 128 bytes of memory. BYTES! Or as the article's author so beautifully frames it : "the RAM can't hold a full Tweet". And that's just the RAM; CPU is similarly limited. "half the CPU time is spent Racing The Beam" meaning "half the time is spent tracing video ram to module the Cathode Ray Tube electron beam to generate the video output."

Just incredible that anything useful was possible. The more I learn about the 2600s architecture, the more impressed I am with the quality of the games that existed.

comment 8y ago · link · parent

You've captured exactly what it feels like -- this is the constant tension among asm developers. I love really high performance code, but I also like accomplishing more than one trivial thing per hour. It's hard to even remember the time before I knew C, when coding in assembly was all there was. When it was "normal." But I do remember the first time I wrote for the M68000 chipset and finding a multiply and divide instruction. "What? I don't have to write my own divide routine?" Tears of joy!

I will typically build something out in a high level language, profile to see where the time is going, and take a closer look at the algorithm first to see if it's sensible or some different approach should be taken. If it's an appropriate algo, then it's time to look at the implementation to see where we can shave cycles.

For the most part, even if you're talking to hardware that requires exceedingly precise timing (interface/bus protocols, certain chips), C will probably do the job. (It's no coincidence it was referred to as "universal assembly language".) Only where one is absolutely starved for resources (as the NES, and many 8-bit systems were/are) is ASM necessary.

"high level when you can, assembly when you must"

comment 8y ago · link · parent

>>Hacks are seen as "good" C programming, and encouraged, so this kind of thing happens.

Perhaps among new developers. Us old-timers who have to maintain this stuff have learned to avoid "clever" code rather quickly and admonish those who write it. Elegant, to me, includes "easy to read and understand."

comment 8y ago · link · parent

Correct. And it's been this way for a long, long time.

Back in the early 1990s, I recall browsing the "open positions" list, posted in the cafeteria at work and being shocked at the variance in starting salaries: Windows (3.0) Programming positions (C & Visual Basic) requiring no more than a high school education were offered at $70,000. Positions for PhD Chemists began at $35,000 and demanded a long list of accomplishments not limited to publications in major journals. "listed as primary inventor on one or more patents, a plus!"

So in summary, one trade could be learnt by a motivated self-directed student in the span of a summer, for no more cost than a short stack of books. The other required at least 6 years of advanced education and likely $50,000+ of debt -- a serious investment not only in time and money but also opportunity cost, as those 6 years are NOT being spent earning. Yet the former paid twice the latter. (And may still, for all I know.)

Obviously, this was a lead-up to the great wave of offshoring efforts. Executives must have noticed this variance as well.

comment 8y ago · link · parent

Proof: all those world-changing innovations just pouring out of socialist hotspots of the world, with their shared high living standards outpacing the rest. (/sarcasm).

If Musk had not gotten wealthy on paypal, SpaceX wouldn't have been possible. Nor Tesla. If some country had capped his wealth at an arbitrary # (say, $1,000,000) none of this would have happened. Instead, there's a self-driving car in orbit around the sun and thousands of engineers doing amazing stuff.

Opportunity is the natural consequence of a system that maximizes liberty. And yes, that opportunity is for success and failure. But by removing reward, you remove incentive, which reduces effort. Vicious circle. How is this difficult to understand?

comment 8y ago · link · parent

In fact this is a method of stealing people's investment accounts -- a victim with an investment account is identified. That person's phone number is then "captured". The investment account asks for 2FA and the thief now has that phone #, and "authenticates." The next step is to transfer all the money in the account to a third party and disappear.

It's disgusting how twisted these criminal activities have become.

comment 8y ago · link · parent

and Orwell.

If facebook were human, we'd rightly deem it a sociopath for its manipulative behaviour, callus disregard for impact and effect, grandiosity, and cold scheming behavior.

comment 8y ago · link · parent

Brilliant. If the sudden increase in luminosity didn't wake you, the screams of fellow passengers looking through the invisible floor at the ground/Ocean 30,000 feet below would surely do the trick!

comment 8y ago · link · parent

I agree, in an educational institution or large corporation, no way. But in a small shop that lives and dies on productivity, where one can't (won't?) migrate away from MacOS, a Hackintosh may be the only option available.

It's the market filling in the gaps of Apple's engineering & marketing plan.

comment 8y ago · link · parent

more closely related -- a NeXT Cube.

comment 8y ago · link · parent

Perhaps this is part of the reason why Apple is moving away from Intel chips to some of their own creations?

comment 8y ago · link · parent

Wow! I would think the logjam of people stuffing their cars with possessions and getting the hell out of there would have been a clue that something, possibly, was happening that might warrant some further investigation.

There's apparently a fine line between "not ardently following the news" and "not paying attention at all."

1
101112
23