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 9y ago · link · parent

>>Thus making some customers safer

Customer. Or customers (plural)??

I ask, because I assume this amount of complexity wasn't created because it was cheap, or end-users were crying out for it. There may be other customers -- those with three-letter agency names, who would wish for code to run on the computer you possess (note, I did not say "own", so long as someone else has control).

It's getting too easy to be this paranoid. Besides, it was fun when I sounded crazy. Now it's alarming.

comment 9y ago · link · parent

For those that missed it "Bless your heart" is a very typical "southern" (US) insult; it's a condescending statement of pity and yet mild enough for polite company.

comment 9y ago · link · parent

Chapel Hill, NC... Atlanta, GA... Austin, TX... New York City,NY

Yes, are all despised by their rural neighbors. And vice-versa. But the bias is bidirectional: Those in the cities look at the rural folks with just as much contempt and disgust as those folks in the country look at the cities. Perhaps more.

comment 9y ago · link · parent

Debugging was just different. You had to get into the mindset of the original developer and understand what he intended and the impact of poking a memory-mapped location (could cause a graphics page flip, or toggle the speaker, or executing something in ROM). Comments were your friend. Without, yes, it could be a challenge.

But decompiling & debugging wasn't just limited to ASM. I once worked for a shop that lost its original C source code and only had a copy of the executable. (major source code control failure - no backups of the server). They decompiled it and worked from the resultant C code. It was as bad as you can imagine, and enormous amounts of time were spent renaming "variable1" to "customerName", or methods from "sub232" to "CalculateTax()", etc. After a few months the code was sprinkled with meaningful names, but it was still very difficult to read and felt very unnatural, formal, and distorted. It also ran slower than the original when recompiled.

But as for defeating a disassembler, I recall a few strategies stretching back to the late 70s/early 1980s on the Apple ][, when the "disassembler" was a human being rather than a tool. This is probably more appropriately called obfuscation or even copy protection, but it feels related. There were a variety of approaches taken:

* Self-modifying code. This was the most common approach. Code would loop through areas of memory, incrementing/decrementing values by set values or based on an algorithm to produce valid opcodes. At any point in time, much of the code loaded was nonsense, so debugging had to be done in decoded blocks. * Jump tables (and indexed jump tables with offsets calculated at runtime) so that the code would skip all over the place. This was mostly just an irritation, rather than a hard obfuscation. * Burying executable code in resources (sounds/images) and related techniques such as code that calculated its hashvalue and used that to self-modify to 'unlock' executable blocks. *Overlays. Code was loaded on top of unused resources, and resources loaded on top of code.

And while it wasn't a decompiler defeat, per se, changing the timing for the floppy disk drivers which read from non-standard disks would prevent one from simply loading data from disk and decompiling -- only that code that is in memory could be examined. Nybble-copiers were created to defeat this approach.

One or all of these approaches could be combined to produce code that was a nightmare to debug, but ultimately anything that the computer could execute could be decompiled, eventually.

Fun times.

comment 9y ago · link · parent

That's the most insightful explanation I've ever read on this subject. Thank you for helping me to understand.

comment 9y ago · link · parent

Or so the Toxiplasmosis Gondii parasite in your brain would have you believe.

comment 9y ago · link · parent

The last episode, where the honeybee population collapsed, left me on the edge of my seat. I can't wait to see what happens next.

edit: Seriously, wouldn't it be best to solve existing problems with direct threat to food production than to go off tinkering with new ideas and unknown side-effects?

comment 9y ago · link · parent

That exists now on TaxCut software - when it says "checking your return for possible errors or red flags" or similar. It has some blinky lights animation or arrows or such that runs for about 10 seconds. It was probably done before Windows could bitblit the image to the screen.

comment 9y ago · link · parent

That's true. Waiting to load a program from a Tandy cassette tape was a challenge. Floppy disks were a big jump forward.

Before that, the Big Jump for me was a move from a Hayes 300 baud modem to an AppleCat 1200. I clearly recall thinking "Woah! It's feeding data faster than I can read it!"

Next up was the BeOS. From cold boot to completely loaded desktop and hard drive light off in something like 15 seconds. (Meanwhile, Windows 95 took something like 2 minutes to boot up.)

The final quantum jump was about 6 years ago when I moved from a spinning to a solid state (SSD) hard drive. Again, big BIG boost.

comment 9y ago · link · parent

Back in 1990, some guy named Michael Abrash wrote about this in Dr. Dobbs magazine. He actualy used computers in 1983. He published his first game in 1982 and worked on another game called Quake with John Carmack. Michael is an Oculus Chief Scientist, now, where he is deeply concerned with perception and delay.

To paraphrase the Dr. Dobbs article, his young child asked him why he never used his "fast" computer. He was initially puzzled by the question, as his current computer was a state-of-the-art max spec machine (486-233mhz?), but realized she was referring to his ancient Apple 2 or TRS-80 or such sitting in the corner of the office. While the new system was hundreds of times faster by every computational measure, user experience said otherwise and his child picked up on this. The old 1mhz 8bit box only needed a second or two to boot to a prompt, yet the state-of-the-art Windows 95 machine required 2 minutes to boot up. The new computer was faster. The old computer was more responsive.

comment 9y ago · link · parent

>No offence by why are the founding fathers put on such a high pedestal in the U.S.?

Because they were exceedingly well educated, with a knowledge of the rise and fall of nations, and of the shortcomings of human nature. They designed a system of checks and balances that gives the individual the best chances at success in such a world. The reasoning behind these decisions are well documented in the Federalist Papers.

comment 9y ago · link · parent

>Any of the tasks above seem like it would be a reasonable accomplishment for a good programmer.

I think that's understating it. I would consider any of those accomplishments to be a monumental undertaking. Combined, it is legendary.

If there is ever any doubt as to the existence of the 100x programmer - I would think this guy is proof. Somebody who creates their own chip design software as a means to creating their own multicore processor to run their own language, faster, is a motivated genius.

comment 9y ago · link · parent

> Oracle's licensing prohibits any benchmarking

That tells me all I need to know.

comment 9y ago · link · parent

100% correct.

Besides, these are not "just" math PhDs, but math PhDs backed by some of the largest private equity trading firms in the world, armed with multiple datacenters of 5000 blades each, running machine learning algos and playing "what if" scenarios 24 hours a day, to build rulesets and aligned structured positions so they can scrape news feeds and react in milliseconds.

Anyone who thinks they can sit at home and day-trade with these sharks without being fleeced is a fool. But then, anyone who is a fundamentals trader and is still in this outrageously irrational market is also a fool.

One of the first things I learned as a trader: "The market can remain irrational longer than you can remain solvent."

comment 9y ago · link · parent

the wheel must change direction and move quickly to follow imperfections in the road surface. Increasing this weight decreases the wheel's ability to follow the undulations. Increased mass also contributes to centripetal force, inhibiting the wheel's ability to change yaw (turn). It acts like a gyroscope.

comment 9y ago · link · parent

Physical property -- yes. It is expensive to maintain a building, or an antique vehicle, for instance. A valuable oil painting requires climate controlled storage. Gems and paper money must be held securely.

But Intellectual property is a different animal. It may require upkeep in the form of legal defense on infringement but I'm not aware of anything else. But should that prove too costly, and were it sold in the scenario you've painted, it would at least go to someone who considers it valuable and desirable rather than languish, unused.

All a bit of a hypothetical strawman though.

comment 9y ago · link · parent

I've seen this too many times before. They want the developer to show up with a laptop, all tools, documentation, licenses, etc. and work for peanuts. All for the "opportunity" to learn under a "seasoned professional" and/or "build your portfolio" or some other nonsense. There was even a website that used to list these absurd offers. It was "fthatjob.com" or something similar. (sadly, it's gone).

Unfortunately a steady stream of newbies will fall for this sort of trap. The rest of us should follow the wisdom of Mike Monteiro: https://theamericangenius.com/entrepreneur/the-entrepreneurs...

It's a bit rude, but there is a LOT of sage advice therein.

comment 9y ago · link · parent

Yes. Orders of magnitude more.

While it's commonly understood that coal-fired power plants release more radiation than (properly operated) nuclear plants per year, with Fukushima we are talking about a core meltdown and uncontrolled release for nearly a decade!

We are talking about anywhere from 100 to 400 Tons of contaminated water per day. It is truly a man-made disaster being ignored.

https://www.google.com/search?q=fukushima+tons+of+water+per+...

http://www.zerohedge.com/news/2016-10-02/fukushima-radiation...

https://www.rt.com/op-edge/376607-leakage-radiation-fukushim...

https://www.nytimes.com/2017/03/11/world/asia/struggling-wit...

comment 9y ago · link · parent

write once, spy everywhere.

comment 9y ago · link · parent

I posted it, and your implication of some deeper reason is rubbish. Race or sex has zero to do with anything. The reason I chose this video is due to the stunning contrast between the news reporter describing the "debate" team's win as a high-brow achievement and a calm discussion of the merits of the debate along with the preparation, etc. which paint a picture of intellectual refinement, cut with the video full of racist n-words peppered with "uh uh uh" which exposes the event to be a sham.

It is a sham. The video is a study in contrast. THAT is what made it effective to expose the absurdity of the "win", and probably why you don't like it.

I notice you called it a "dog whistle" in a different comment, which I resent. That term seems to be a favorite term of the political left synonymous with "this doesn't agree with my worldview so I'm going to cast it as a racist viewpoint to shut down debate. I will insinuate racism where it doesn't exist."

comment 9y ago · link · parent

that's it in a nutshell. Modern debate has nothing to do with logic, reasoning, rhetoric, facts, persuasiveness or eloquence. It is a perversion of the concept.

comment 9y ago · link · parent

I was expecting Stanley Kirk Burrell, now an ordained minister. https://en.wikipedia.org/wiki/MC_Hammer

comment 9y ago · link · parent

Scrum is a process. When you use software you don't use Scrum or Waterfall. You use the software

When you consume food, you are consuming the GMO/non-GMO elements by definition.

comment 9y ago · link · parent

Yet "microdosing" seems to be a thing in SV & the Bay. Who to believe?

Bottom line: You clearly don't mind the idea of additional hormones in farm-raised beef. That's great you've made a decision based on your risk assessment and information.

I'm simply asking to be extended the same courtesy. I want information to make my own informed choice.

comment 9y ago · link · parent

In this case, it's just oxidation, they're not rotten.

More concerning is the (now) routine injection of carbon monoxide (CO) gas into packaging of beef steaks and mince. The meat can be literally spoilt/rotting, but will appear deep red and fresh in the packaging. One sniff betrays the appearance, however.

And antibiotics is now routine in pre-shredded cheese packages to reduce mold growth.

comment 9y ago · link · parent

Yes, country of origin. Did that beef come from China, Argentina, United States, or Switzerland?

For instance, I do not eat eat oysters from China (due to their record of gross pollution) or japanese seafood after the Fukushima incident (which continues to poison the ocean).

comment 9y ago · link · parent

This disgusts me. I have a right to know what is in the food I (might) eat. If indeed there is no risk from GMO products (plant or animals), or animals given antibiotics, or cows given hormones to increase milk production, etc. then it falls upon those industries to educate and convince me of this point-of-view, not to hide the information or (in some cases) make it illegal to report the GMO/non-GMO status.

comment 9y ago · link · parent

Mostly, that's true. Or at least understand you're on the edge. Cutting or bleeding, it's hard to say ahead of time but usually pretty obvious after a week of real-world use.

I respect Apple, they take chances. Sometimes it pays off. Off the top of my head:

Products where 1st generation was amazing: Apple ][

  iPod

  Lisa

  iPhone

Products where 1st gen was almost unusable, but v2+ was amazing:

  Macintosh (Amazing, but frequent disk swapping was an issue.)

  Messagepad (first gen soured the press and the public due to connectivity issues. Modem vs cellular.)

DOA: Apple 3 (anyone else remember the service bulletin that asked users to slam it on the desk to reseat the chips?)

  Pippin

comment 9y ago · link · parent

I can say I would not want to live in a society that "accommodates" the needs of rapists, murderers, child molesters as well as the various petty criminals.

Sin City was a dark film, I never found it a model for cultural structure.

1
151617
23