Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zx2c4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
601.
▲
by
zx2c4
14y ago
UPDATE! Unicode issue fixed: http://git.zx2c4.com/zmusic-ng/commit/?id=297514d6e6c42057ee...
602.
▲
by
zx2c4
14y ago
Server was DoS'd. Back up now with a static cache. I've got it working well on: * Highend Core i7 laptop * Atom 1U rackmount server * Linode VPS * Raspberry pi
603.
▲
by
zx2c4
14y ago
From the site: > Based on Java technology, ... I stopped reading there. Bias? Maybe.
604.
▲
by
zx2c4
14y ago
Thanks! Glad you like it.
605.
▲
by
zx2c4
14y ago
> I listen to a lot of foreign music and have had a hard time populating my zmusic database Oh noes! I too have lots of foreign music in my collection, and it seemed to work fine. I'm using the tagging framework out of MusicBrainz' Pica
606.
▲
by
zx2c4
14y ago
This would be pretty cool. I hadn't considered it. But you say application support is widespread for their API. If so, it could be a worthwhile one to implement. > I run subsonic server on my home server and it's quite resource hungry.
607.
▲
by
zx2c4
14y ago
I asked Jack Groetzinger from Seatgeek.com, "what do web people use these days?" And he said, "Flask and Backbone, use Flask and Backbone," so that I did.
608.
▲
by
zx2c4
14y ago
> How long have you been working on this? Initial frontend prototype took about 30 minutes, and backend about the same. Then I spent a few hours polishing. Was mostly done in between other tasks over the course of a couple days. It's a
609.
▲
by
zx2c4
14y ago
I'm glad you like the project! Makefiles. I love Makefiles. I kind of dislike all these bloated new-fangled build-systems - Rake, Jake, Pip, Pap, Nodifier, Grunt, whatever else is on the street. A setup.py might be nice, though, for install
610.
▲
by
zx2c4
14y ago
From the browser, it's a bit tricky, but it would be possible to ask the server to stream audio to AirPlay speakers. This would likely limit it to the subnet the server is on, but still could be useful. Incidentally, I'm somewhat interested
611.
▲
by
zx2c4
14y ago
That's a cool idea. I'll make note of it.
612.
▲
by
zx2c4
14y ago
You're using the built-in debugging server, which does not handle concurrent requests. To use something standalone, that's a bit more robust, use uwsgi: zmusic-ng $ uwsgi --chdir backend/ -w zmusic:app --http-socket 0.0.0.0:5000 I'
613.
▲
by
zx2c4
14y ago
What you want is zmusic:app with the -w switch. -w zmusic:app --socket /tmp/uwsgi-zmusic.sock --chmod-socket=660 Using --chdir to change to the backend/ directory may be useful as well. I've just updated the README with these instr
614.
▲
by
zx2c4
14y ago
No, not localhost. But you can make the built-in debugging server bind to all IP addresses, including the one used on your WLAN. In backend/local_server.py, change the line that says: app.run() to instead read: app.run(host='
615.
▲
by
zx2c4
14y ago
No, I'll take a look. Though on first glance, I don't really want to be supporting some massive ruby on rails apparatus. I'm pretty much entirely satisfied with cgit -- it's small, minimal, easy to hack on, extensible, and suits all of my g
616.
▲
by
zx2c4
14y ago
Absolutely. Lots of ways to set things up here. You could build support directly into the app, which isn't very difficult, or even easier, just use s3fs: https://code.google.com/p/s3fs/wiki/FuseOverAmazon
617.
▲
by
zx2c4
14y ago
Thanks! Doubtful I'll be there, but I'll probably be at Hackito Ergo Sum.
618.
▲
by
zx2c4
14y ago
Yay! Glad you like it. As mentioned in the setup guide, you can build unminifed by setting the DEBUG environment variable to 1: zmusic-ng $ make clean zmusic-ng $ DEBUG=1 make But, for changing the default search terms, just ch
619.
▲
by
zx2c4
14y ago
MPD is indeed nice, but not the intended use case here. I don't want to be running it on my server or have anything related to audio playback there. They do indeed index metadata, though I'm not sure what their implementation is like. If yo
620.
▲
by
zx2c4
14y ago
I don't use github. I use cgit and gitolite. I also don't use Google Music or Amazon Music; I use ZX2C4 Music. I don't use Picasa either - I use PhotoFloat http://zx2c4.com/projects/photofloat/ . Pattern? I don't like relying on cloud ser
621.
▲
by
zx2c4
14y ago
No live demo, unfortunately. I think archive.org has plenty of public-domain music in ogg format. Want to put something together and I'll link to it in the README? This would be quite nice indeed to have. On the plus side though, it's super
622.
▲
by
zx2c4
14y ago
The Linux process scheduler deals with it, I guess. I suppose I could add some kind of my own limiting mechanism, but since encoding ties up the application process, I figure it's limited to how uwsgi works with this kind of thing (multiple
623.
▲
Serve Your Music Collection Using HTML5, Backbone, and Flask
(git.zx2c4.com)
153 points
by
zx2c4
14y ago
|
84 comments
624.
▲
by
zx2c4
14y ago
Exploit: http://git.zx2c4.com/w3-total-fail/tree/w3-total-fail.sh Screencast: http://git.zx2c4.com/w3-total-fail/plain/screencast.ogv or https://www.youtube.com/watch?v=sqZ_zYLFDSo
625.
▲
Merry Christmas, now go patch your Wordpress installation
(permalink.gmane.org)
8 points
by
zx2c4
14y ago
|
2 comments
626.
▲
by
zx2c4
14y ago
From TFA: > This is great way to execute unknown executables and code in a safe environment! LOL wut? No. No it is not a great nor a safe way to "execute unknown executables and code". Chroots are so very inadequate for this.
627.
▲
by
zx2c4
14y ago
Exploit: http://git.zx2c4.com/w3-total-fail/tree/w3-total-fail.sh Screencast: http://git.zx2c4.com/w3-total-fail/plain/screencast.ogv
628.
▲
Merry Christmas, now go patch your Wordpress installation
(seclists.org)
1 points
by
zx2c4
14y ago
|
2 comments
629.
▲
by
zx2c4
14y ago
Bluetooth is a decent way of doing it too. However merely locking the laptop is insufficient for protecting the data on the hard drive, since even when the screen is locked, the encryption key of the hard drive is still in memory. The solut
630.
▲
A thief about to snatch your encrypted laptop while it's on and decrypted?
(git.zx2c4.com)
2 points
by
zx2c4
14y ago
|
2 comments
More ›