Douglas Perkins [email protected]

Nishitokyo

Places to find me: https://dperkins.org/ https://twitter.com/dpp0 https://identi.ca/dper

  • 2016-07-08T11:08:29Z via Microca.st Web To: Public CC: Followers

    In the late 1800s, Babbage and Lovelace worked on the idea for a universal computer. Turing laid down the theoretical framework in the 40s and 50s. The idea was that we should have a general purpose computer, one that can run all other programs. It was tedious during the war when breaking codes, because even if the mathematicians knew how to crack a code, they still had to go build a new machine to plug and chug each time a design was changed. So why not make a general purpose machine? It could do everything!

    And that's what was done.  The desktop in the 1980s, then moving on to smaller devices. Laptops. Cellphones. Except then we moved away from a general purpose machine. DRM and closed-source software development let malicious businesses pick and choose how we use our devices. Under-performing video cards. Locked operating systems. Phones where apps can't write to storage. Websites that prevent us from downloading images we view. As Hilbert might have said: Please give us back the paradise that Turing had envisioned for us.

    lfam , Claes Wallin (韋嘉誠) , Charles ☕ Stanhope , Christopher Allan Webber and 1 others like this.

    Claes Wallin (韋嘉誠) shared this.

  • 2016-07-08T11:00:08Z via Microca.st Web To: Public CC: Followers

    A jiu-jitsu video showing why police should do more hands-on training: over-reliance on tools leads to decreased confidence during physical alterations, and fear leads to shootings leads to deaths. https://www.youtube.com/watch?v=mWb8crHQjc4

    If anyone says killings by police officers are unavoidable, probably some of them are, but many could be prevented through proper training.

    bthall likes this.

  • 2016-07-07T14:54:51Z via Microca.st Web To: Public CC: a(n) collection

    PumpTweet now cross-posts images. Yay! Thanks for the community assistance.

    https://github.com/dper/pumptweet/issues/32

    ostfriesenmärz , Jonas (kabniel) , Marcel van der Boom , Morgan McMillian like this.

  • 2016-07-07T14:49:20Z via Microca.st Web To: Public CC: Followers

    Lunch with my grandmother's church friend the other day.
  • PyPump and image URLs

    2016-07-06T11:30:37Z via Dianara To: Public CC: Followers

    Inside of PyPump. A user posts an image. How can I get the URL of that image? (And not the post containing the image.)


    Relevant to cross-posting images using PumpTweet.


    https://github.com/dper/pumptweet/issues/32

    I imagine the source code of NavierStokes might help =)


    IIRC, it uses PyPump too.

    JanKusanagi at 2016-07-06T12:24:41Z

    Douglas Perkins likes this.

    It should be stored in yourimage.original.url (and yourimage.thumbnail.url for the thumbnail url)

    See https://pypump.readthedocs.io/en/latest/classref.html#pypump.models.media.Image for more information

    Jonas (kabniel) at 2016-07-06T14:18:08Z

    Douglas Perkins likes this.

  • Pumpa

    2016-07-06T09:38:08Z via Dianara To: Public CC: Followers

    Using pumpa on Debian Sid. Anyone else seeing it crash? Not usable right now. Was crashing some yesterday and the day before. Strange.

    If it's crashes just periodically it might be a strange post in your feed. Running it in debug mode could give some clues. Unfortunately that requires compiling from source: http://pumpa.branchable.com/debug_mode/

    sazius at 2016-07-06T11:26:03Z

    Douglas Perkins likes this.

    its been happening to me also when I try to reply to posts. Will have to look into it soon-ish

    Efraim Flashner at 2016-07-06T11:45:25Z

    you know what? qt-5 was updated at least once since pumpa-0.9.2 was released. that might have something to do with it.

    Efraim Flashner at 2016-07-06T12:06:44Z

    it lets me comment when using pumpa compiled from guix

    Efraim Flashner at 2016-07-06T16:53:53Z

    Douglas Perkins likes this.

  • SM-N910K firmware

    2016-07-06T09:37:24Z via Dianara To: Public CC: Followers

    A torrent file for SM-N910K firmware. Galaxy Note 4 (South Korea). Android 6.0.1, third update for this model.


    https://kat.cr/sm-n910k-android-6-0-1-stock-firmware-t12892839.html


    This is stock Android 6.0.1 firmware for the Samsung Galaxy Note 4 N910K.

    The zip file, N910KKTU2DPF4_N910KKTC2DPF4_KTC.zip, is 1.8GB. It contains exactly one file, N910KKTU2DPF4_N910KKTC2DPF4_N910KKTU0DPF2_HOME.tar.md5, which is 3.4GB in size.

    The SM-N910K is the South Korean model of the Samsung Galaxy Note 4. This firmware will not work on other N910 models.

    To install this software, Odin is recommended. This is stock firmware, not a custom ROM. It has some South Korean apps bundled with it, because it's for the South Korean model. If you don't live in South Korea, you can disable some of those apps and ignore the rest.

    Android: 6.0.1
    Released: 2016-06-28
    Model: SM-N910K
    Model name: GALAXY Note4
    Country: Korea (KT Corporation)
    Version: Android 6.0.1
    Changelist: 8380052
    Build date: Tue, 14 Jun 2016 05:18:26 +0000
    Product code: KTC
    PDA: N910KKTU2DPF4
    CSC: N910KKTC2DPF4

  • Microaggressions

    2016-07-06T03:43:00Z via Puma To: Public

    Today several of us are too … something? … for anyone to sit next to us on the bus. Not just me. Chalk that up in the not-last category. :-p

    Is this like mad-libs? I believe the word you are looking for is "tall"

    Efraim Flashner at 2016-07-06T04:05:41Z

    Douglas Perkins likes this.

  • MDIE updated

    2016-06-29T12:04:59Z via Pumpa To: Public CC: Followers

    An updated version of Mathematics Done in English. https://archive.org/details/MathematicsDoneInEnglish_201606

    This reflects changes I made over the 2016 spring term.

    • The biggest visual changes come from converting the base format from ODG to ODT, which makes editing a lot easier.
    • Many of the homework assignments are improved.
    • Some audio files of mediocre quality were re-recorded.
    • Some slide shows and so-called supplementary material (which from my point of view is primary) has been revised. A few new files were created.
    • Tests and quizzes were restructured slightly.

    Most changes were small. The book remains an applied mathematics textbook for ESL high school students. It takes about four months of twice-a-week 50-minute classes to get through the book at a reasonable pace.

    Creative Commons Attribution 4.0.

    Efraim Flashner likes this.

  • NextCloud with MariaDB

    2016-06-26T09:37:47Z via Pumpa To: Public CC: Followers

    In the past I've used SqLite. Giving MariaDB a spin now. Just want to see if things will run faster. Maybe they are, some? Dunno.

    The obvious place for speed changes is in the web interface, and I don't use that much. Perhaps this is not a great use of my time? :-) But it's fun to try new things out. And the installation was easy.

    Alex Jordan likes this.

    I like NextCloud but if suffers the same flaw the previous version of OwnCloud did. Cannot import contacts in the contacts app.

    lostson at 2016-06-26T09:48:12Z

    I just imported contacts in the contacts app successfully.

    Although in the past that had been buggy. So either it was fixed or the bug is irregular.

    Douglas Perkins at 2016-06-26T11:24:58Z

    did you import from a vcf or ldif file ?

    lostson at 2016-06-26T11:33:50Z

    I exported a VCF from OwnCloud using the web interface. I imported that VCF using NextCloud using the web interface.

    I haven't seen any missing or altered data, but I haven't carefully examined all the contacts yet, either. :-)

    Douglas Perkins at 2016-06-26T15:29:13Z

  • NextCloud Calendar normal

    2016-06-26T09:25:46Z via Pumpa To: Public CC: Followers

    Just imported my calendar to NextCloud from OwnCloud. Works just as before, no problems.

    Tested using DAVdroid on Android and Thunderbird on Debian.

    Alex Jordan , Efraim Flashner , netgeek like this.

  • NextCloud normalness

    2016-06-23T22:07:09Z via Pumpa To: Public CC: Followers

    Installed NextCloud server. Manual installation, worked just like OwnCloud manual installation. No significant differences there.

    Installed NextCloud for Android from F-Droid. Looks and works just like OwnCloud for Android. No significant differences there.

    Still using OwnCloud file sync clients on my desktops. They work just fine with a NextCloud server, as expected.

    So far, no big differences. If you're procrastinating, please continue to do so. Switching over at this exact moment won't get you anything new, at least not that I can see.

    One open question is whether or how NextCloud will be packaged so that we don't have to download and install it from zip files. Ideally, it will work its way into Debian. Not yet tho.

    Arcee , jrobb , Alex Jordan , Efraim Flashner and 3 others like this.

    Also doesn't break anything... good to know!

    Stephen Sekula at 2016-06-23T22:09:15Z

    B. Ross Ashley , [email protected] like this.

    Thanks for keeping us posted. I'm sure many are interested in how it goes.

    Freemor at 2016-06-24T00:07:18Z

    [email protected] , B. Ross Ashley like this.

    Doubtful it will. Frank may have had his differences with ownCloud Inc., but IIRC he was among those there who were advocating for Debian to stop packaging efforts.

    Alex Jordan at 2016-06-24T08:14:22Z

    My /hope/ is that the NextCloud devs has learned that the broader community really likes downstream packages of useful software, and that that would expand NextCloud's deployment and make it more stable.

    Douglas Perkins at 2016-06-25T14:38:53Z

  • NextCloud

    2016-06-23T13:59:15Z via Pumpa To: Public CC: Followers

    Migrating from OwnCloud to NextCloud. Moving files to it now. Maybe calendar and contacts in a few days.

    Alex Jordan , Efraim Flashner , Scott Sweeny like this.

    @[email protected] I am curious to see how that goes. I would love it if you could report on problems/strategies for doing it right, if you have time.

    Stephen Sekula at 2016-06-23T13:59:05Z

    Alex Jordan likes this.

    I second what Stephen said. Tell us how it goes!

    Alex Jordan at 2016-06-23T19:02:15Z

  • Last week

    2016-06-12T14:02:53Z via Pumpa To: Public CC: Followers

    Last week the English Club went on a fun hiking trip to Mt. Takao. On the way back, many of us got on the train and sat down. Several teachers to my left, and some random woman to my right. The random woman got up 5 seconds after I sat down and relocated herself to the end of the car. Several of my students sitting across from us watched the whole thing.

    An exchange student and I had explained to the English Club the prior week that people avoid sitting next to us on buses cuz of skin color, but for a woman to get up and relocate on the train, right in front of my students? Damn, that was rough.

    Good thing is that our Danish exchange student was sitting with the other students, and she quietly explained what had occurred.

    At least they got to see it. Words alone are not persuasive in matters like this. People hear what you're saying, but if they haven't seen it — and sometimes even if they have — it's hard to comprehend. Also, the woman's conduct was a conscious overt decision and action, not a microaggression, so it was extra visible.

    bthall likes this.

    Show all 6 replies

    I used to "explain quietly" but then I realized I wasn't embarrassed about being me and I wasn't going to put in the effort to protect the guilty so when these things happen I explain in my normal voice.

    Efraim Flashner at 2016-06-12T18:42:53Z

    Douglas Perkins , Claes Wallin (韋嘉誠) like this.

    You've probably seen this enough times that you can correctly infer that it was a skin color thing, or that it was likely to be. This is just my free association to your story, not an alternative interpretation:

    When I go on buses, I will usually relocate if I'm next to a stranger and a double seat becomes available. If there is space available in the back and a stranger comes to sit next to me, I might relocate.

    Claes Wallin (韋嘉誠) at 2016-06-12T19:04:31Z

    Douglas Perkins likes this.

    @JanKusanagi I don't have direct access to male/female data. Dunno.

    @Claes Wallin (韋嘉誠) As you know, we can't tell exactly what's going through anyone's head, unless they tell us. I know what it looks like and what the usual cause is.

    Douglas Perkins at 2016-06-12T22:12:43Z

    Yeah, it's impossible to know in the individual case, but patterns over many cases can still be obvious.

    Claes Wallin (韋嘉誠) at 2016-06-16T22:18:52Z

  • Docker to deal with broken Anki

    2016-06-10T14:14:07Z via Pumpa To: Public CC: Followers

    Anki doesn't have Qt5 support yet, but Debian Sid moved to it. Found a short document by Richard Möhn showing how to run Anki in Docker under Jessie. Thanks, Richard!

    Jesus, what a workaround. Installing 250 packages and docker just because Anki depends on old libraries? But hey, it only took one short text file and two commands. Much easier than I imagined!

    http://cloj.de/AnkiDocker/

    Claes Wallin (韋嘉誠) likes this.

    Claes Wallin (韋嘉誠) shared this.

    Huh? There are no issues using Qt4 apps in Sid.

    Arcee at 2016-06-10T14:46:16Z

    PyQt4 Webkit was removed from Sid.

    Douglas Perkins at 2016-06-10T21:56:29Z

    I think the problem there is QtWebKit and its issues, not Qt 4 vs Qt 5.

    Arcee at 2016-06-10T23:36:59Z

    Claes Wallin (韋嘉誠) likes this.

    I stand corrected.

    Douglas Perkins at 2016-06-11T04:11:36Z

  • Testing

    2016-06-10T05:26:54Z via Puma To: Public

    Made a testing account for PumpTweet on Pump. Can't do it on Twitter without registering a phone number apparently.

    Meh. May just spam my Twitter timeline a little. Fix it by deleting things later. :-)

    Stephen Sekula likes this.

    I believe you are able to register with an email address instead of a phone number.

    Benjamin Cook at 2016-06-11T02:12:46Z

    @Benjamin Cook Apparently my new account "looked suspicious" and only a phone number would work. I had already entered my email.

    Douglas Perkins at 2016-06-11T14:52:12Z

    It seems a growing number of services expect you to provide a phone number. The furniture store would only deliver the desk I ordered and purchased in person if I provided a mobile phone number so they could text me to let me know when it was going to be delivered. The alternative was to pay £35 to arrange a fixed date delivery while I was in the store. 

    jrobertson at 2016-06-11T16:56:43Z

    Douglas Perkins likes this.

  • 2016-06-04T12:57:55Z via Microca.st Web To: Public CC: Followers

    Debugging.

    Fun.

    :-)
  • Taiwan

    2016-06-04T12:30:01Z via Pumpa To: Public CC: Followers

    Anyone been to Taiwan? I'm thinking of going this August. Expect it to be hot, except up in the mountains and maybe even then. But still should be an exciting trip. Thinking of maybe three days in Taipei and then some coast and mountains on the eastern side of the island for another four?

    My friend lives near Hong Kong, but he says it's way too hot there in the summer, so I suppose the winter or spring would be better. Leaves the summer for Taiwan.

    Claes Wallin (韋嘉誠) shared this.

    I lived in Hong Kong for a couple of years and visited Taipei over one weekend. Hong Kong is best around May and August. 30 degrees Celsius with 90% humidity is not enjoyable. When in Taipei, don't miss the volcanic crater in the mountains a bit outside the city.

    Claes Wallin (韋嘉誠) at 2016-06-04T12:36:15Z

    Douglas Perkins likes this.

    To clarify: August in HK isn't too bad. June and July is the worst part. And I hate HK winters. I prefer Swedish winter with snow and with decent indoor temperature to HK winter with 10 degrees C outside, 10 degrees indoors and still 75% humidity. Freezes me to the bone. If you have the choice, stay out of HK Nov-Feb.

    Claes Wallin (韋嘉誠) at 2016-06-04T12:40:22Z

    Douglas Perkins likes this.

  • 2016-06-04T12:22:26Z via Pumpa To: Public CC: Followers

    PumpTweet tries to shorten Notes so that they'll fit into one Tweet when posted to Twitter, plus a link back to the original Note. But since Twitter does weird URL shortening/lengthening, I've had trouble finding the right values for short URLs. Well, one approach is to use a method that will automatically split over-length Tweets into two. This is one way of making the problem less severe, although it doesn't precisely solve it. Testing shortly.

    I think from memory friendica's connector just used a short version (up to what would fit) and included a link ..

    twitter users would see the shorter version with a link to the full version on the auithor's site.

    not sure what more can be done when its a long post and they only allow 140 chars

    not really so keen on splitting it up into multiple tweets,

    That seems to be what pidgin does when posting to friendica using a "twitter-api" connector (which unfortunately also assumed twitter's length limit even though longer posts are ok on friendica)

    they end up being multiple posts split in odd places (about where the limit is, even if thats mid-word)

    I don't really like auto-split without warning in sms either ..

    Michael at 2016-06-04T15:32:14Z

    Douglas Perkins likes this.