HNHacker News
TopNewBestAskShowJobs

daveloyall

1,938 karma · joined February 7, 2014

             ,----------,
            /........../ \
           /....______/   \
          /..../\     \    \
         /..../  \     \    \
        /____/    \_____\    \
        \    \    /...../    /
         \    \  /...../    /
          \    \/_____/    /
           \          \   /
            \          \ /
             '----------'
sebboh (registered) @ freenode

dave@the-good-guys.net

[ my public key: https://keybase.io/sebboh; my proof: https://keybase.io/sebboh/sigs/esqX2ECySnczctOPm2xHjchgJ3v6SNNcENJba2SoUyQ ]

submissionscomments
daveloyall··on PowerShell is open sourced and is available on Linux
I didn't call awk trivial, I meant to say that the prudent application of powerful tools makes quick work of otherwise intractable problems.

Forgive my being frank, please, but I think that given the context of this conversation, it's appropriate: Most users don't HAVE non-trivial problems!

There aren't features in sed nor awk, nor regular expressions in general that weren't put there for some specific reason in the past.

When you wield your shell, well, you wield a tool honed through the ages by people who think like you! Do so with pride! :)

daveloyall··on PowerShell is open sourced and is available on Linux
I hear you. I myself was impressed by some things PowerShell can do easily.

But let's not throw out the baby with the bathwater... The unix shell ecosystem is powerful magic. There are LOTS of things that can be done there with great ease.

Not to mention--and I understand full well that this stance is falling out of fashion--MICROSOFT ... KILLED... my PAPPY! :|

daveloyall··on PowerShell is open sourced and is available on Linux

    *gulp* I've heard people say that, but I haven't delved into them!!  :-S
daveloyall··on PowerShell is open sourced and is available on Linux
Pretty sure the section in the `ps` man page called OBSOLETE SORT KEYS indicates that even the `ps` on very old redhat machines could do this out of box... see the field `start_time`.

Failing that, consider the `etimes` field (seconds since process was started) used in conjunction with the -o feature (control output format) so you can put `etimes` up front then simple pipe the output to `sort`.

Those things being said, the situation you describe is indeed hairy. `ps` output was designed for human consumption, that's why the process age field format varies (1w vs 10:15) and that's presumably why you wanted to bring python into the mix!

...You might have had an easier time looking in /proc...

Indeed, this looks promising:

    cat /proc/[0-9]*/stat|sort -n|less -S
EDIT: hm, I don't know how old /proc is!

EDIT #2: But try doing ANY of this on an ancient Windows machine! The "peer" of your old Redhat machine would be what, a Win2k3 machine, or a Win2k? How old is PowerShell? :)

daveloyall··on PowerShell is open sourced and is available on Linux
Imagine trying? Sir/Ma'am, I have done so.

When boxed in-between the fearsome foursome--`bash`, `sed`, `awk`, and `emacs`--every problem involving tabular data (2D) is trivial. Hm, I'll give a shout-out to `sort` and `uniq`, too! When you go 3D, you might need to bring in `join`.

But anyway, you'd use

    find ~/bin /usr/bin -mtime 1 -executable -type f -ls
..to provide `ls -la` output for every executable, ordinary files (not directories, which are often +x) modified in the last 24 hours, under the directories /usr/bin or the bin/ under your home directory.

:)

daveloyall··on Modular Moto Z Android phone supports DIY and RPi HAT add-ons
Er, I mean.. the NES expansion port gave you a direct electrical connection to the pins on the CPU.

According to the "system architecture" document[0], looks like the only way to access the cool stuff will be through a microcontroller.

0: https://developer.motorola.com/explore/system-architecture

daveloyall··on Modular Moto Z Android phone supports DIY and RPi HAT add-ons
This isn't exactly the expansion port on the bottom of an NES... it's a mainstream (albeit new) line of accessories for a flagship product--a $700 dollar phone!

Since it's 2016, we can presume that this phone will ship with something like a secure enclave, right? ...AND hardware attachments? How's this going to work?? :)

daveloyall··on Equation Group Cyber Weapons Auction
The auctioneers indicate that they have the "server side" code. Kaspersky would only have the "client side" code.

...The client gets infected with malware and sends the data home... to some server. The server side.

daveloyall··on Equation Group Cyber Weapons Auction
Speculation: Maybe the NSA isn't EQ Group. Maybe the NSA is the auctioneers. "You want record straight? Bid!" The CIA has a long history of being self funding, right? Does the NSA, too?
daveloyall··on OSTIF, QuarksLab, and VeraCrypt E-mails Are Being Intercepted
These folks are probably smarter than me, but they might not be less paranoid.

I have previously been 100% sure something nefarious was going on, (somebody edited this file!!) and then discovered that I was connected to the wrong server, for example.

This is only meant to help them think clearly as they investigate.

daveloyall··on World Elephant Day: Why It Matters
Right. Specifically, we've only had limited success breeding elephants in captivity.

I have noticed that people underestimate differences between domesticated and wild animals.

daveloyall··on World Elephant Day: Why It Matters
Pretty sure you'd have to sedate the elephant. They like to keep their tusks!

Since and elephant would never forget losing its tusks (pun intended), and they learn from each other, I speculate that it would get harder to do this over time. ...Not to say that we couldn't, I mean, we have technology--they don't.

daveloyall··on World Elephant Day: Why It Matters
Cattle don't recognize themselves when given a mirror.
daveloyall··on Crowdfunding McCLIM maintenance and development
13 donors as of ~6pm GMT.

McCLIM is ambitious and smells right.

The payment method was really painless.

Visit page, click pay, SSO with github account (public info only), enter dollar amount (one time or monthly), enter credit card info (minimum viable transaction, didn't even have to enter my name, nice!), done.

daveloyall··on Ask HN: What kind of chatbot do you need?
Speaking English is not a requirement.

I mean, it should use some english words, sure... The words will come from the KB though.

daveloyall··on Ask HN: What kind of chatbot do you need?
Feature: It should be possible to tag some facts as private, that is, tied to some public key. It should not transmit such facts in the clear; it should encrypt them for that public key. (Basically, I'd like to be able to trust it with facts that I do not want to share publicly.)
daveloyall··on Ask HN: What kind of chatbot do you need?
Feature: it should be able to verify that a given message is digitally signed (PKI).
daveloyall··on Ask HN: What kind of chatbot do you need?
Feature: it should be open source and it should be strong copyleft.
daveloyall··on Ask HN: What kind of chatbot do you need?
Feature: When prompted, it should be able to describe (in machine readable format: JSON, S-expressions, whatever) its knowledge base (or some specified subset of it) via message. This will enable other bots like it to learn from it.
daveloyall··on Ask HN: What kind of chatbot do you need?
An expert system IRC bot. https://en.wikipedia.org/wiki/Expert_system
daveloyall··on I don't think the Port Authority would like it if you looked at this photo
"The Port Authority" is https://en.wikipedia.org/wiki/Port_Authority_of_New_York_and...

(There are, of course, many port authorities all over the world. This one is a big deal.)

daveloyall··on The People's Code
FSF got their definition into the doc, as a first-class peer of the OSI definition!

https://github.com/WhiteHouse/source-code-policy/commit/1d4f...

That's major!

daveloyall··on Dormant Earth germs could spring to life in a Martian puddle
I don't use an adblocker. Wired is the problem. I already wrote a letter to their editor suggesting that they serve ads from their own domain--which I have not set to 0.0.0.0 yet, out of respect for their contributions to the development of my culture.
daveloyall··on Dormant Earth germs could spring to life in a Martian puddle
I thought we agreed to not post Wired stories until they stop punishing me for blocking (via a hand-maintained hosts file) hosts that serve ads.
daveloyall··on Show HN: Twincl – A New Attempt at “Rich Forum”
Weird. I don't know a solution.

It remains true that I refuse to use my Facebook account on the public internet. For the same reason that I don't 'friend' the whole internet. :)

Anyway, check if these accounts https://www.facebook.com/whitehat/accounts/ can log into your service. Cheers!

daveloyall··on Show HN: Twincl – A New Attempt at “Rich Forum”
It's worth noting that I am permitted more than one Google account, but not more than one Facebook account.

...There MAY be some rule about not having more than one G+ account, right? But, I don't really use that service. It was only included here because it's the only "profile" page I know of for that account.

daveloyall··on Show HN: Twincl – A New Attempt at “Rich Forum”
I fully understand your desire to use FB to vet user identities.

I like the idea of twincl. Keep up the good work!

The overlap between the set of people that like twincl and the set of people that don't like facebook may be large.

You know what accounts I don't mind linking? These:

    * https://gitlab.com/u/sebboh
    * https://github.com/daveloyall/
    * https://stackexchange.com/users/2248650/daveloyall
    * https://plus.google.com/113507487161654826344
...Not that I'm a fan of G+, but I am happy to use that google account identity to sign into other services.

It's because that google account identity is tied to a work email account, too... You know what doesn't go on there? What I do on the weekends. That ends up on facebook even if I don't put it there... So leave that account alone.

daveloyall··on Show HN: Twincl – A New Attempt at “Rich Forum”

    > To post or comment on Twincl site, just login with a
    > verified Facebook account. Alternatively, you may register
    > a new Twincl account, and subscribe to the membership with
    > a minimal fee. (Our point is to make the account less
    > disposable, which we believe is a key to pleasant community
    > experiences.)
$5/year or $2/three months.

If you live forever, that's an infinite amount of money.

cf. metafilter, which charges $5 one time to prevent disposable accounts.

daveloyall··on US Copyright Office sides with cable companies against FCC’s set-top rules
3rd party set-top boxes will enable piracy. That's why we want them.

It's 2016... Can we stop accepting the name "piracy" to describe "sharing"?

I mean, can we get a god-fearing, red-blooded USAmerican family man to say "How DARE you call me a pirate!?" on prime-time television?

daveloyall··on No Exit: Dementia Village Dwellers Live in Alternate Reality
It's all fun and games until some old soldier figures out there is no functional exit and tragically kills a caretaker.

It'd make a hell of a Twilight Zone episode! Old war buddies walk around with a notebook, counting their steps, methodically constructing a map, just for fun. When they realize there's only one exit, they argue back and forth about which one of them is senile... They bring in a couple more octogenarians to check their work. The ragtag group stakes out the one exit, they see young people coming and going freely... etc. Maybe it should be a comedy?

← PreviousPage 8 of 31Next →