News for hackers. Stuff that matters.

sorghum

Re:Every Noise at Once on Friday April 02, 2021 @01:20PM (#26673545)
I’ve been a huge fan of this project for a while and have some tips:

- The Spotify playlists all update automatically (usually weekly) so it’s worth following genres you like.

- Don’t miss the Pulse and Edge playlists linked at the top of most genre pages! Both are based on the listening activity of fans of the genre, with Pulse focusing on currently popular music and Edge on lesser-known artists.

- Smarter Playlists (http://smarterplaylists.playlistmachinery.com/) is a visual environment for building programmatic playlists using Spotify API calls. I use the Pulse and Edge playlists to make my own “Release Radar”-style playlists focused on specific genres, sorted to show the newest and least popular music first.

I’ve also been tinkering on a little handheld ESP32 Spotify remote that includes the genre and country playlists from here. It’s handy to use with a smart speaker to browse music when you don’t know what you want to hear.

Demo video: https://twitter.com/sorghum/status/1317623432012472320

Repo: https://github.com/quadule/knobby

Re:No more CSS and HTML, just JS on Friday September 13, 2013 @03:48PM (#6382670)
Today if you feel like it: http://html2canvas.hertzen.com/
Yeah, Apple also bans tethering/proxy apps as well as anything related to P2P.
Re:_why's complete printer spool as one book [pdf] on Saturday April 20, 2013 @01:42AM (#5580441)
A few people (myself included) tried to use it while it was up and everyone had their payment refunded soon after.
Re:Tim Cook's Freshman Year on Thursday December 06, 2012 @04:45PM (#4883980)
Space for page down and shift+space for page up are pretty common too.
Re:Beware of Cramming on Your Cellphone Bill on Sunday March 25, 2012 @02:29PM (#3753341)
I just got hit with this one too — they called themselves SayNow/mxtelecom.com on the bill, but MobibroIQ in the message itself.

The real culprit appears to be Bullroarer, Inc: http://www.bullroarer.com

mobibro.com lists the email address [email protected] and the phone number 888-890-6150. Googling either of those reveals many other spammy SMS services, one of which is clubmorty.com. Their contact page says they are owned and operated by Bullroarer: http://www.clubmorty.com/vm/pge_contactus.vm

You can do it like this with ImageMagick on the command line. This will quantize the image to 8 colors and list them in descending order of occurance:

  convert image.jpg -resize 400x400 -format %c -dither None -quantize LAB -colors 8 -depth 8 histogram:info:- | sort -r
Here's my shot at it from a few months ago: http://github.com/quadule/colorscore

ImageMagick does the actual color extraction, then I wrote some code to score those colors against a palette for use in a "search by color" system.

Re:Do people use Bookmarklets? on Thursday October 13, 2011 @10:42PM (#3109695)
I was wondering the same thing recently, so I made a little Javascript library that can detect bookmarklet usage, which could then be hooked up to something like Google Analytics: http://github.com/quadule/trackmarks

I don't have a high-traffic site to test it on, but if anyone else does I'd love to hear about it.

Re:Best practices for JS and CSS organization on Monday March 07, 2011 @02:40PM (#2298367)
If you have to sacrifice organization to gain performance, I think that's a sign you're doing something wrong. If number of requests is a concern, you should probably be doing asset packaging.
For easy setup and universal integration, you could serve some per page JavaScript that applies the corrections to the page (kind of like Optimizely). That would come at the expense of accessibility, but I think it would be worthwhile.
Re:Sony suing fail0verflow & geohot over PS3 jailbreak [pdf] on Wednesday January 12, 2011 @03:28AM (#2095447)
I wouldn't say Apple ignores jailbreakers; while they haven't tried to sue anyone making the software (as far as I know), they did try to block the DMCA exemption for jailbreaking: http://www.eff.org/deeplinks/2009/02/apple-says-jailbreaking...
Re:PS3 Root Key Hacker Sued on Wednesday January 12, 2011 @01:46AM (#2095257)
This bit in particular disturbs me:

>> First, the PS3 System consists of a “protected computer” because it is used in interstate commerce (e.g., the Internet.) Second, without SCEA’s authorization, Defendants intentionally accessed certain levels of the PS3 Systems by circumventing SCEA’s TPMs in the PS3 Systems. Defendants’ access to such levels in the PS3 Systems is not authorized; to the contrary, the PlayStation Network Terms of Service and User Agreement (“PSN User Agreement”) prohibits the circumvention of security features in the PS3 System.

It looks like there is a legal definition of a "protected computer" (see http://en.wikipedia.org/wiki/Protected_computer), but I can't imagine it was ever intended to apply to one's own computer. Furthermore, how is the PlayStation Network user agreement relevant here? You don't have to agree to anything to buy a PS3, only to use the optional PSN service.

Compass ( http://compass-style.org/ ) lets you use CSS frameworks while bypassing the problem of non-semantic class names by using SASS mixins. It's yet another layer of abstraction to learn, but worth a look if you don't know about it already.
Re:Ask HN: How would you link to specific parts of a page? on Thursday December 02, 2010 @11:55PM (#1964805)
I worked on just this for last year's Rails Rumble:

http://morsurl.com/

The site acts as a proxy, injecting some Javascript based on SelectorGadget to allow the user to select parts of the page, and injecting inline styles to display the highlighted parts of the page.