Better HN
topnewbestaskshowjobs
Log inSign up

HocusLocus

726 karma · joined Jul 28, 2018 (8y ago) · 575 submissions

Submissions

comment 7y ago · link · parent

Fave speedup story, in the 80s a good friend had written a custom accounting system in CBASIC and he came to me in regards to one client, a boat charter service management business that maintained a set of 'virtual double-entry books' for every one of its 200+ member yachts. The monthly process was taking 4 hours to complete. Could I improve on that?

Well in a couple hours I discovered that his routines assembling the main batch file did repeated lookups in other files without caching any operation results, and because it was MS-DOS the OS didn't cache many sectors either. So the hundreds-of-thousands of preparatory operations were waiting for the hard disk platter to come around again, for each. Yes, even hard disk platter speed was a significant factor in those days.

So I added a 15 element array that cached lookup operations in memory. From 4 hours to 15 minutes, Thank You Very Much.

comment 7y ago · link · parent

Well shucks. From my jaded point of view it seems that Ecuador had in place a system that denied Freedom of Association among the young to the Orwellian extent of frisking and institutionalized profiling (not merely rogue, discouraged and depends-where-you-live variable, as in the US). Yeah just like brown people in the Old South.

And then they stopped doing it. What a bloody miracle.

comment 7y ago · link · parent

ONCE AGAIN, they're clutching at their pearls and swooning about losing the (straw man) metadata. They think we're stoopid. Required reading,

NSA Surveillance: Exploring the Geographies of Internet Interception

Andrew Clement

Faculty of Information, University of Toronto

https://archive.org/download/GeographiesOfInternetIntercepti...

Might be a mix of hearsay but some pieces of the puzzle are becoming clearer. Skip to the section on 'NSA Splitters' and ask yourself, if they had drop-in access to the baseband circuits, qould they already be able to intercept the Telcom providers' streams that gather the data that is now part of the disclosure programs? And even if the links are encrypted, keys can be leaked. Telcos are finally 'off the hook'.

comment 7y ago · link · parent

But RSS runs on Windows XP!

comment 7y ago · link · parent

Who will fund my startup to manufacture clothes with bigger pockets.

comment 7y ago · link · parent

Amidst history's mist, turgid frost

Voicemail is missing, emails lost

Bytes and bits fade

Information is toast

"Welcome!" to this future dark age!

"You have mail!" you silly ghost!

~recovered data fragment from optical disc, late 20th century, all other works by this author presumed lost in 2015 tsunami or 2031 firestorm.

comment 7y ago · link · parent

Frankenstein knife switches ornate polished brass actuators

webcams with closable eyelids (and eyelashes, eyelash mites)

then in hacker movies the eyelid can spring open

comment 7y ago · link · parent

I had the privilege of working on the IT end of one of the first System 12 ITT/Alcatel 1210 switches in the US Virgin Islands (a prototype since local telco was owned by ITT). It may not sound like much now but in 1990 that "look! after this warm restart this existing call is still in progress!" was a big deal, since the smaller PBXs tended to wipe working memory and dump everything on restart. DMS would later dominate the ESS market, but ours was one of the first that could support class 3/4/5 operations simultaneously (trunks, operator positions and subscribers) within the same memory pool which was managed as virtual storage separate from the processors.

Not Erlang but same concept and I'm not sure what the software development environment was, but the thing was loaded to the gills and almost all ops save major software upgrade only required warm restarts which preserved existing connections (perhaps with some delays of digit processing).

Two major problems I remember in those days was a bug in operator position handling where a certain operation created some sort of race condition that brought it all the way down. That was fixed but the other was not so easy... mainly because it was doing triple-duty as class 3/4/5, what functioned as a stack/event queue occupied an insufficient pool of memory to handle extraordinary events. And in that early state of development overflow of the event queue was a fatal cold start error ... from a cold start it took ~15 minutes to come up again.

Murphy's Law supplied TWO great examples to illustrate the problem. One was a severe cable cut, an auger down the street from the telco wrapped itself around ~3,000 pairs and triggered many events. The next was an earthquake... and everyone picked up their phones at once.

comment 7y ago · link · parent

I am a sock puppet, it blew my sock off

comment 7y ago · link · parent

How come no one has mentioned that image?

That QUIVERING image?

That SWAYING image?

That WOBBLING image?

I cannot accept we now live in a world where such things go without saying.

comment 7y ago · link · parent

Operating desktop of choice for the new Lunar Earth Defense Missile Battery,

https://archive.org/download/20160422TrumpEnergyLetterSC/201...

comment 7y ago · link · parent

(Me, landing on an 'empty' page with NoScipt)

"Bye!"

Life is simpler these days. Others should envy me.

comment 7y ago · link · parent

Firefox v52.9.0esr with NoScript, uBlock Origin and whitelist-based security just got a big industry boost.

Good going, Mozilla!

comment 7y ago · link · parent

Funny, though it shouldn't be,

https://www.youtube.com/watch?v=qmTWhvWgST0

comment 7y ago · link · parent

But you should try to discover the truth about them, or reserve judgement. The original dire presumed meaning of "sex offender" has been legally castrated (bad joke) in many states as shallow thinkers seize on the definition and its National implications to CHEAPLY hang any behavior THEY consider objectionable.

The most egregious misapplication (in my opinion) is "public urination", that is, being caught doing it by the wrong person, or if they consider you an unperson. Used to brand the homeless and turn them into national criminals by following them around with a camera.

Or human traditions under attack. A mixed group of adults and minors caught skinny dipping in the wild by the Wrong Deputy is another example. They'll nail the oldest and fill the younger with crushing guilt, if they are friends.

Consensual sex between teenagers is another. It's the ultimate glass-house throw stone legal abomination. And one or both gets the Scarlet Letter into their young adult years. Talk about a suicide trigger!

___

https://www.hrw.org/report/2007/09/11/no-easy-answers/sex-of...

"Most people assume that a registered sex offender is someone who has sexually abused a child or engaged in a violent sexual assault of an adult. A review of state sex offender registration laws by Human Rights Watch reveals that states require individuals to register as sex offenders even when their conduct did not involve coercion or violence, and may have had little or no connection to sex. For example:

"At least five states require registration for adult prostitution-related offenses;[108]*

"At least 13 states require registration for public urination; of those, two limit registration to those who committed the act in view of a minor;[109]

"At least 29 states require registration for consensual sex between teenagers;[110] and

"At least 32 states require registration for exposing genitals in public;[111] of those, seven states require the victim to be a minor.[112]

comment 7y ago · link · parent

I joined a secure chatroom to meet Alice, found only a bunch of Bobs.

comment 7y ago · link · parent

"Sounds like a good idea."

"Because... everything is a great idea...?"

"Exactly!"

comment 7y ago · link · parent

What ever you do, stay away from perl! It might give you access to CPAN, one of the finest crowd sourced solution libraries ever created... with modules for delving into data structures dating back to the earliest days of the Internet, and plenty of shims into other things.

The way perl embraced regular expressions and integrated them into the language structure cannot be beat.

Most perl vs. python discussions these days go like this:

python user: "It so much better then perl where you are forced to [contrived and arbitrary example with weird syntax]"

perl user: "Looks OK, though I could do that better. How is it done in python?"

python user: "In python, we just [contrived and arbitrary example with weird syntax]. It's easy!"

comment 7y ago · link · parent

Virtue signal received. Help is on the way.

comment 7y ago · link · parent

The document itself seems to have been written by an AI doggedly determined to use a limited conference vocabulary, from template sentences, and drop names and subjects in lists so they can be very name-droppy, non-sequitir-expressy and hot-linky.

Even the questions (search for ?) are templatey.

It's weird. Jump around to a random spot and mentally parse a paragraph. Glance at the one before and after and see if a question forms in your mind: "Why (do you, did you, would you bother to) say that?" ... the next paragraph is has no answer, just more of the same.

Perhaps I have just awakened from a dream world of simple actions and visceral experience to discover another world of human termites that only communicate with vague chemical signals. Maybe the limited vocabulary describes chemiistry and these people attend conferences so they can sniff one another.

comment 7y ago · link · parent

I'd love to have a crash cart. I'd spend all day crashing it into other carts.

comment 7y ago · link · parent

The closer we are to discovering what causes radio bursts, the closer we come to doom.

"We've figured out what causes them!" he spoke to the bored conference audience. They sat up quickly. He continued, "It happens whenever any advanced civilization builds one of these." He takes a strangely shaped device from his pocket. There is a murmur from the crowd. "During the building of this prototype, we have--" and his tentacle fumbled for a moment, and it dropped onto the floor.

4 MILLION YEARS LATER

Astronomers have detected their third fast radio burst, and have almost gathered enough data to discover what causes them.

comment 7y ago · link · parent

Shh! Can't mention it when wind is being discussed.

comment 7y ago · link · parent

They must really hate plant life. So where is all the energy to run this process (and refine and process the magic chemicals) going to come from? Oh yea, it's going to be clean energy like wind power, taken from that giant surplus when wind scales up to power all homes and factories and municipal treatment plants. So much left over. Many happy energy.

Meanwhile, in the making not using energy department, Kirk Sorensen gets a paltry ~3 million from DOE that isn't even to be put towards development of Weinberg's MSRE concept.

https://www.youtube.com/watch?v=lG1YjDdI_c8&t=44m40s

I fear for the human race.

comment 7y ago · link · parent

> This feature does enable a neat quine: the Perl program “Illegal division by zero at /tmp/quine.pl line 1.”, when saved in the appropriate location, outputs “Illegal division by zero at /tmp/quine.pl line 1.” The reason for this behavior is left as an exercise for the reader.

For quines, see the chapter "Air on G's String", a dialogue between Achilles and the Tortoise in Douglas Hofstadter's book GODEL,ESCHER,BACH: AN ETERNAL GOLDEN BRAID.

comment 7y ago · link · parent

The Inverse Square Law strikes again!

Tesla, for all his brilliance, was similarly math-challenged.

comment 7y ago · link · parent

greatadmin, thanks!

comment 7y ago · link · parent

Last Day of the Dinosaurs, good CGI re-creation

https://www.dailymotion.com/video/x10wog2

My letter on a related topic

https://www.scribd.com/document/374712301/20180227-David-L-G...

comment 7y ago · link · parent

Frogger, TRS-80 Model 1

https://www.youtube.com/watch?v=wh7gRoYgUpc

comment 7y ago · link · parent

I opened up port 22 once so that it connected (without crypto) and issued the phrase,

YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY.

>

and if they typed in something it would continue to play the game. After hundreds of thousands of automated SSH worm probes over several months, an actual human did connect and play the game for a few minutes! But even this triumph was short lived, they did not even play it to the end to see if something interesting might be unlocked (it would have been an invitation to contact my email address).

1
1617181920