Profile

Cover photo
Matt Sparks
Works at Google
Attended Stanford University
149 followers|103,842 views
AboutPosts

Stream

Matt Sparks

Help / Bugs  - 
 
Feedly incorrectly uses the 'guid' tag in RSS items instead of the 'link' tag when linking to an article.

Steps to reproduce:
(1) Add this RSS feed to Feedly: http://hnrss.org/newest
(2) Click on the title of an article
(3) Observe the URL.

Expected behavior: URL is of source article, i.e., a non-Hacker-News site.
Actual behavior: URL is of the Hacker News comments page.

The hnrss.org RSS feeds use link tags for the source article and guid tags containing the comments URL for uniqueness. It appears that Feedly uses the guid value as the article link if it is a URL. It should instead use the value of the link tag.

The consequence of this bug is that there is no way to open the source articles directly from the hnrss feed.
2
Kireet Reddy's profile photoMatt Sparks's profile photo
7 comments
 
> Why provide a link you don't want rss aggregators to follow?

I.e., why make the <guid> a link?

It isn't that the aggregator shouldn't link to the <guid>. It can and for completeness, should, but it must be understood that the <guid> describes the literal <item> in the feed, not the article that the <item> describes (they may or may not be the same thing).

One reasonable and expected way to use the <guid>, if it is indeed, a URL, is to provide a "permalink" link in the article fringe in the UI. Today, Feedly has "hide // preview" in the fringe. It might also provide a third link called "permalink" that links to the <guid>. The <guid> is an effective way to reference that particular <item> in the feed.

Thanks for passing this report along. I would love to see this fixed; it's really cumbersome to read hnrss with the current behavior.
Add a comment...

Matt Sparks

Shared publicly  - 
 
Finally finished my network closet (on the cheap).

* Shelf from IKEA.
* Two Sterilite storage boxes from Target ($0.97 each).
* 1 ft. Ethernet patch cables from Monoprice.
* 8-port Ubiquiti ToughSwitch (managed).
* Ubiquiti EdgeRouter Lite.
* Comcast-provided SMC cable modem.
1
Tom McMasters's profile photo
 
I like the dust protection aspect of it, but don't these devices rely on passive cooling that might be hindered by the reduced airflow?
Add a comment...

Matt Sparks

Shared publicly  - 
 
Today I hit a personal goal that I've been working on for a few months: 100 pushups with good form.

I started on April 22 with 30 pushups, adding one pushup per day. I used the Jerry Seinfeld calendar method (http://lifehacker.com/281626/jerry-seinfelds-productivity-secret) to motivate myself and to track progress.

Today I did one set of 40, and three sets of 20 pushups with 10-20 seconds of breathing in-between. 
Editor: When software developer Brad Isaac told us he had productivity advice from Jerry Seinfeld, we couldn't turn down the chance to hear more. Read on for the whole story from Brad. Years ago when ...
3
Chris Sparks's profile photo
 
I'm impressed.  Didn't know you were doing such a thing.
Add a comment...

Matt Sparks

Shared publicly  - 
 
I've finally finished moving my website content from Infinite Machine to Markdown+Jekyll. New design, too! Check it out: http://quadpoint.org
1
Robert Rodriguez's profile photo
 
a long time ago you introduced me to the finer points of irssi and i gotta say i didn't take to it so well but your guide is coming along Amazingly well (i reference when using irssi) let's hope i get it working like a dream ;D
Add a comment...

Matt Sparks

Shared publicly  - 
 
One of today's projects: an ATtiny target board!
1
Matt Sparks's profile photo
 
Consider a 14-pin zif with 6 pins blocked.
Add a comment...

Matt Sparks

Shared publicly  - 
 
This is an incredibly elegant product. Kudos to its creator and Kickstarter for remaining successful in giving life to these awesome projects.
1
Add a comment...

Matt Sparks

Shared publicly  - 
 
Built a TRRS audio switch tonight. It switches 4 pins, so the in-line microphone, play/pause, and volume buttons on my headphones still work. :D

http://www.flickr.com/photos/_msparks/sets/72157635053856582/
Built 2013-08-12. Two 4PDT switches control the input (0, 1, 2), and one additional switch chooses the output (0, 1). I use this to switch between my laptop's audio and my desktop's audio as inputs, and my headphones and speakers as outputs. Each audio jack is TRRS (tip-ring-ring-sleeve), so the in-line microphone and buttons on my headphones are still functional.
3
1
Matt Sparks's profile photoChuck TheIceMan's profile photo
17 comments
 
Thank you again!
Add a comment...

Matt Sparks

Shared publicly  - 
 
Cryptography and mathematics provide so many tools that are just as easy to abuse and misuse as they are powerful. This example is particularly egregious, though.

There's no such thing as a proprietary encryption scheme. If it's not vetted, it's broken by default.

via Hacker News: http://news.ycombinator.com/item?id=4834372
 
I bought a digital video download today that required a video player from Leaping Brain. As usual, the proprietary player wasn't great and to transfer it to my iPhone I'd need another proprietary player. Ugh. But I browsed around and found that the video had been downloaded into a hidden directory as a bunch of .mov files. Great, except none of the files would play.

It turned out the actual player, launched from their compiled app, was a Python wrapper around some VLC libraries. Nothing funny going on, as far as I could tell, but when I tried to launch the player directly, nothing happened. The compiled app was modifying the .mov files right before they were loaded into the player, and then reverting the file on disk. According to http://leapingbrain.com/mod-machine/faq/:

 "We apply our BrainTrust™ proprietary video encryption to your movies before we upload them to our servers. If someone ever was able to gain access to your content, the files would be useless and unplayable, because they are stored in a scrambled, encrypted format. Once downloaded to the user’s hard drive, the files are still encrypted and only readable via the MOD Machine Player by a legitimate owner. We are not aware of a better DRM scheme than ours. Where Windows Media DRM is easily crackable, and doesn’t run on Macs, BrainTrust™ works great on Windows 8, Vista, Windows XP and Mac, and is virtually uncrackable."

Virtually uncrackable? Well, since they load the file from a Python script, it's easy to make a copy of the "decrypted" file before it's reverted. Having done so, I was curious to see the encryption scheme. By comparing the binary files, I discovered the "proprietary video encryption" algorithm: for the first 15kB, each 1kB block has its initial bytes xor'd with the string "RANDOM_STRING". That's the "scrambled, encrypted format" that leaves these files "useless and unplayable".
3
Add a comment...

Matt Sparks

Shared publicly  - 
 
Ah, graph theory. <3 via +Murph Finnicum 
1
Add a comment...

Matt Sparks

Shared publicly  - 
1
Add a comment...

Matt Sparks

Shared publicly  - 
 
Make publishing markdown documents as easy as putting them in a public web directory: https://github.com/msparks/baseplate

Demo: http://quadpoint.org/projects/baseplate/#!/README
1
Marcelo Stein de Lima Sousa's profile photoMatt Sparks's profile photo
4 comments
 
Nope. Jekyll works well.
Add a comment...

Matt Sparks

Shared publicly  - 
 
Finished my weekend project, a temperature and humidity display that I call Frigid: http://www.flickr.com/photos/_msparks/6741033903/in/set-72157628987467183

It will be used to monitor my minifridge at work. :)

Full photo set: http://www.flickr.com/photos/_msparks/sets/72157628987467183/detail/
Code: https://github.com/msparks/frigid
3
Will Nowak's profile photoMatt Sparks's profile photo
2 comments
 
Sensing inside displaying outside, yes. The little white piece in the picture is the sensor. It's detachable, and when I get the fridge next week, the sensor will be mounted inside somewhere, and have wires extending outside to the display.
Add a comment...
Story
Tagline
Semi-jaded computer scientist & software engineer
Introduction
Originally from Illinois, I finally finished school and now I'm in the real world rearranging bits at a little company called Google.
Education
  • Stanford University
    Computer Science, MS, 2009 - 2011
  • University of Illinois at Urbana-Champaign
    Computer Science, BS, 2008
Links
Other profiles
Work
Occupation
Software Engineer at Google
Employment
  • Google
    Software Engineer, 2011 - present
  • Google
    Software Engineer Intern, 2010 - 2010
  • VMware
    MTS Intern, 2009 - 2009
  • Google
    Software Engineer in Test Intern, 2008 - 2008
  • Google
    Systems Administrator Intern, 2007 - 2007
Basic Information
Gender
Male