HNHacker News
TopNewBestAskShowJobs

WCityMike

164 karma · joined July 24, 2011

submissionscomments
WCityMike··on US Constitution – A Git repo with history of edits
This may be of interest. It was formerly only available to Senators and their staff as a 3000-page hardcover.

https://constitution.congress.gov/

WCityMike··on Public Domain Movies
I've been trying to get copyrights reverted for my grandmother's works. It's 95 years after the work was created. She passed in the 1990s and yet most still will, without intervention, be copyrighted for decades to come. (US)
WCityMike··on Ask HN: Scripts/commands for extracting URL article text? (links -dump but)
Just for the record in case anyone digs this up on a later Google search, install the newspaper, unidecode, and re python libraries (pip3 install), then:

  from sys import argv
  from unidecode import unidecode
  from newspaper import Article
  import re

  script, arturl = argv

  url = arturl
  article=Article(url)

  article.download()
  article.parse()

  title2 = unidecode(article.title)

  fname2 = title2.lower()
  fname2 = re.sub(r"[^\w\s]", '', fname2)
  fname2 = re.sub(r"\s+", '-', fname2)
   
  text2 = unidecode(article.text)
  text2 = re.sub(r'\n\s*\n', '\n\n', text2)

  f = open( '~/Desktop/' + str(fname2) + '.txt', 'w' )
  f.write( str(title2) + '\n\n' )
  f.write( str(text2) + '\n' )
  f.close()
I execute via from shell:

  #!/bin/bash
  /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/bin/python3 ~/bin/url2txt.py $1

If I want to run it on all the URLs in a text file:

  #!/bin/bash
  while IFS='' read -r l || [ -n "$l" ]; do
    ~/bin/u2t "$l"
  done < $1
  
I'm sure most of the coders here are wincing at one or multiple mistakes or badly formatted items I've done here, but I'm open to feedback ...
WCityMike··on A Teen Programmer Built a Tool to Generate Fake Lyrics for Your Favorite Artists
"Weird Al" Yankovic ...

"DOCTYPE HTML / if lt IE 7 / html class no js IE6 oldie!"

That polka lyric jams.

WCityMike··on So I bought something at a thrift store, it's a “Cellebrite Touch”
If it helps you, there's this:

https://threadreaderapp.com/thread/1135354815259656192.html

And a bookmarklet:

http://protips.maxmasnick.com/unroll-tweetstorm-bookmarklet

WCityMike··on RSS Is Better Than Twitter
While there are definitely areas where it sorely can be improved, check out Inoreader.
WCityMike··on Firefox Experiments I Would Have Liked to Try
A very long time ago, there was a third-party macOS bookmark manager that did "smart" URL sorting, which was so much better than alphabetical sorting. Basically, it was something like sorting by:

TLD -> domain -> subdomain -> string

For example, www.metafilter.com and ask.metafilter.com would be sorted close to one another, as opposed to the former being in the "w"s and the latter being in the "a"s.

Really wish that had become the standard ...

WCityMike··on So you want to be a wizard
The title makes me wonder whether she was a fan of Diane Duane's "So You Want to Be a Wizard" series, which predated Harry Potter and shows a remarkably science-based wizardry with much the same mindset towards learning.
WCityMike··on Microsoft in 2019 (video) (2/28/2009)
Context: http://www.istartedsomething.com/20090228/microsoft-office-l...
WCityMike··on Boltons: A set of BSD-licensed, pure-Python utilities
First thought was a mental picture of multiple Michael Boltons.
WCityMike··on Google Cloud Global Loadbalancer Outage
I suspect this is what caused the technical difficulties with HQ Trivia.
WCityMike··on Self-Awareness for Introverts [pdf]
I know I'm late to the party, but as an FYI, it seems as if this presentation is adapted from this:

http://www.cliffc.org/blog/2017/07/30/introverts-emotional-p...

WCityMike··on Unknown Mozilla dev addon "Looking Glass 1.0.3" on browser
You want to point us towards where ... on Bugzilla and the Mozilla project wiki pages and the source code and all the other things you mentioned ... this addon was discussed?
WCityMike··on Firefox 57.0 Released
Only in Nightly.
WCityMike··on I hate telephones
https://play.google.com/store/apps/details?id=se.embargo.blo...
WCityMike··on I bought a Switch from Nintendo and they threatened me with legal action
Mirror: https://web.archive.org/web/20171108150109/https://headmelte...
WCityMike··on Court OKs child porn prosecution of minors distributing pictures of themselves
The title of the piece is a bit click-baity, as the court opinion specifically states, as the article notes in its last paragraph, that “because [Gray] was not a minor sending sexually explicit images to another consenting minor, we decline to analyze such a situation.” The title is stated as a fact, wherein it is really the columnist's opinion: "I think that — given the logic of the majority opinion — the analysis would have to ... "
WCityMike··on How you can contribute to Firefox 57 success
Honestly, I can't believe how tone-deaf the entire organization has been on this. I know that's not popular to hear, but I keep seeing people tell them, over and over again, that the loss of customizability and functionality -- and the repeated elimination and crafting of design and UX to bring it into a mirror-image of Chrome UX -- is not what their users want. Yet every person on the Firefox team that I've seen actually respond has insisted, in the face of this overwhelming feedback, that it's necessary and desirable. That's fine, but I think they're going to get a rude awakening afterwards. It'll be wonderful if I have to eat my words on this, but I don't think so. Firefox is really just becoming a mirror image of Chrome, and if they're not, then they're not doing a great job on understanding why people valued -- and, yes, that's purposefully past-tense -- Firefox, and they're doing a very poor job on distinguishing why people should choose to stay with Firefox over Chrome.
WCityMike··on Random Ideas
Re: 7: I loved that show, and don't recall an episode similar to what the OP describes, so I think he's clear there. The only similarities between the two is the parallel-universe concept, which is a longstanding topic of science fiction.
WCityMike··on Judges refuse to order fix for court software that put people in jail by mistake
As a legal assistant in Illinois, which will start using this software statewide by the end of the year (excluding Cook and some other counties, which adopted other software), this is troubling news.
WCityMike··on Chicago taxi industry sliding towards collapse
At least in Chicago, public transit options exist.
WCityMike··on We Need More Alternatives to Facebook
My perfect Facebook would be crosspollinating Facebook and the structure of a RSS reader. I want to be able to skim through EVERY update on EVERY page and person I follow, star/flag the ones I'm interested in, and then read the ones I'm interested in. Because of its popularity, Facebook has all the content I'm interested in within its walled garden -- but its browsing experience sucks. IMO.
WCityMike··on “Users will only be able to view patents via HTTP. HTTPS will no longer work”
Just Google "In Re Seagate Overturned".
WCityMike··on Ted Chiang's Soulful Science Fiction
"He writes the science fiction that would have existed in an earlier era, had science existed then" made me think with amusement of caveman science fiction [1].

I've been a fan of Chiang for a very long time. I'm a real fan of superintelligence fiction [2] and "Understand" [3] was the first to catch my attention.

[1] http://dresdencodak.com/wp-content/uploads/2009/09/2009-09-2...

[2] https://ask.metafilter.com/286008/Seeking-Hyperbrain-Books-F...

[3] https://web.archive.org/web/20140527121332/http://www.infini...

WCityMike··on 8,760 Hours: How to get the most out of next year
Quick run through pdftotext and minor cleanup: http://pastebin.com/raw/V7FaFS0Q
WCityMike··on Ask HN: When was the first text file?
Thank you!
WCityMike··on My Heroic and Lazy Stand Against IFTTT
In case it's not immediately clear, this is Maciej from Pinboard. Note the handle is the same as his blog's name.
WCityMike··on Ask HN: Why don't cities/states create their own ride-sharing platform?
Chicago is doing something very similar with Divvy. [1]

[1] https://www.divvybikes.com/

WCityMike··on Someone left my Gmail in debug mode
You never know, a little mascara and rouge can make those Browser Plugins look really nice.
WCityMike··on Lessig Ends Presidential Campaign
As far as I understand, at least per Lessig's team:

Dems said in order to participate in debate, you must poll 1% in three polls IN the six weeks prior to the debate. Depending on what polls were counted, Lessig either qualified or were one poll away from doing so.

Dems then “clarified” rules as being 1% in three polls AT LEAST six weeks prior to the debate.

HuffPo op-ed from Lessig's campaign manager: http://www.huffingtonpost.com/steve-jarding/the-democrats-ha...

← PreviousPage 2 of 3Next →