Hacker Newsnew | past | comments | ask | show | jobs | submit | mikeroher's commentslogin

Can you elaborate a little bit more on the process?


The only thing keeping me on macOS is Microsoft Office.


That's awesome. Do you have any others??


Sure. There are a lot of streams available on shoutcast.com, just click the download icon and copy the URL, some stations list their stream URL on the site, just google the call letters + "m3u" or "pls" etc, then there is this site which is the best directory I've found so far radioroku.com. If you use iOS there's also a great app for playing these streams called fstream.

Here is my list:

  alias wor='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://wor-am.akacast.akamaistream.net/7/495/179680/v1/auth.akacast.akamaistream.net/wor-am 2> /dev/null'
  alias wgy='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://wgy-am.akacast.akamaistream.net/7/697/21577/v1/auth.akacast.akamaistream.net/wgy-am 2> /dev/null'
  alias npr='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://www.npr.org/streams/mp3/nprlive24.pls 2> /dev/null'
  alias rain='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://yp.shoutcast.com/sbin/tunein-station.pls?id=2340 2> /dev/null'
  alias rain2='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://yp.shoutcast.com/sbin/tunein-station.pls?id=368490 2> /dev/null'
  alias rain3='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy https://www.youtube.com/watch?v=mQ9OWMsJBTk 2> /dev/null'
  alias art='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://yp.shoutcast.com/sbin/tunein-station.pls?id=366888 2> /dev/null'
  alias chopin='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://yp.shoutcast.com/sbin/tunein-station.pls?id=590375 2> /dev/null'
  alias phil='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://yp.shoutcast.com/sbin/tunein-station.pls?id=248466 2> /dev/null'
  alias french='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://www.listenlive.eu/franceinfo.m3u 2> /dev/null'
  alias fip='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://www.listenlive.eu/fip128.m3u 2> /dev/null'
  alias bbc='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-eieuk 2> /dev/null'
  alias 1010='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://8733.live.streamtheworld.com:80/WINSAMAAC_SC 2> /dev/null'
  alias ewtn='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://http.yourmuze.com/ewtn-2/mp3-128-s.mp3 2> /dev/null'
  alias wabc='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://8723.live.streamtheworld.com:80/WABCAMAAC_SC 2> /dev/null'
  alias wktu='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://wktu-fm.akacast.akamaistream.net/7/110/19973/v1/auth.akacast.akamaistream.net/wktu-fm 2> /dev/null'
  alias chant='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://calmradio.com/playlists-free/gregorian.pls 2> /dev/null'
  alias chanteurs='/Applications/VLC.app/Contents/MacOS/VLC --quiet -Idummy http://sv1.vestaradio.com:4090/ 2> /dev/null'


Thanks for a great list of streams!

I did a similar thing (using `mplayer` though) for me, wrapping it in a script that takes shortcuts for stream names:

https://gist.github.com/EarlGray/d64514459892650881353a465c4...


It messes up my history but looks pretty cool!


There's no client-side validation on the inputs.


Maybe show the time by default?


good idea ... missing support for colons at the moment, though


I'm looking to set up something up like this. Could you post the source of your simple app?


For the same reasons ($1/month<<$8/month, even though it means I burn a precious NANPA DID), I've set up the same without writing a single line of code.

With VOIP.ms, I ordered a DID and set it to auto-answer any call. They have a voicemail feature you can use, so it handles the recorded message and recording after the beep. Voip.ms then emails you the voicemail (nice for recordkeeping). If your cellular provider has an email to SMS gateway, you can forward the email there, and you'll see the callerid in the subject, but no CNAM to speak of.

Once working, I set my cellphone to auto-direct any unanswered calls to the DID I setup.

Here's how some Canadians are doing it: http://awslookup.com/free-voice-mail-on-wind-mobile/


Shit, that's a lot cheaper, faster and easier. I just spent 3+ hours trying to get Twilio to do the same thing. Thanks a lot!


    +-------x---------------------------------------------+
    |     xxx                                             |
    |   xxx                      xxxxxx     xxxx          |
    |  xx                        x    x    xx             |
    |xxx                              xxxxxx              |
    xx                                                    |
    |                           xxxxx     xxxx            |
    |                               xxxxxxx               |
    |                                                     |
    +-----------------------------------------------------+
    |                                                     |
    | xxxxxxxxxx         xxxxxx    xxxxxx          xx     |
    xx          xxxxxxxxxx    xxxxxx    xxxx xxxxxx xxx   |
    |   xxxxxxx          xxxxx       xxx    xx        xxx |
    |xxxx     xxxxxxxxxxxx   xxxxxxxxx xxx   xxx xxxxx    |
    |x                                   xxxxx xxx   xxxxx|
    +-----------------------------------------------------+


i don't get it.... ???


Sun, birds, river?


Frogger?


Two more tips:

* Ctrl-a to go to beginning of line

* Ctrl-e to go to end of line


I love how osx supports emacs key-bindings by default for any text field.

I miss this feature a lot when I switch back to windows. I find myself pressing ctrl-n in my browser's address bar, expecting to view my URL history, and instead I get a new windows.

If anyone knows of a way to get similar functionality in windows, I would love to hear about it!


Cltr + D to focus on address bar. Alt + down arrow to view history.


A couple more:

* ⌘ + ` (tilde key) to switch between different windows of your current application

* ⌘ + l (lowercase L) in most web browsers to highlight the address bar


I'm always telling people about ⌘ + `, it makes navigating windows on OSX so easy.


The former is the one thing I missed the most from my OSX days...until I got a tiling WW setup (i3).

Woohoo, love me some Linux, let choice reign ;-)


to piggyback off of this... (not sure if this is in the thread already)

⌘ + ` to switch between different windows of current application

⌘ + SHIFT + ` to switch between different windows of current application (reverse order)

same for the general application switcher:

⌘ + TAB to switch between different windows of current application

⌘ + SHIFT + TAB to switch between different windows of current application (reverse order)


A lot of the Emacs shortcuts work in OS X (most of the system) as well as on Linux (bash and other users of readline).


The basic Emacs key-bindings should work in all Cocoa apps. For instance, the URL bar of your web browser, while text editing in just about any editor (maybe even in Office, but I have not tired in a while), etc. Basically, anywhere you have a cursor, the basic line-editing key bindings should work.

So, in practical terms, this means you have 1 + n clipboards[1]. The main global GUI clipboard (using the command key), and then an app-specific clipboard (using the control key with Emacs bindings). As a developer, it is extremely helpful to have two clipboards in TextMate, for instance.

[1] Technically, the clipboard in OS X maintains a history (not sure what the limit is), but the OS X GUI only exposes the last cut/copied item.


defaults write -g NSTextKillRingSize -string 4


Can you shed some light on how to access those other three from the GUI (whether using the command key or some other means)?


Sorry forgot some steps...You also have to rebind C-y to 'yankAndSelect:' (https://developer.apple.com/library/mac/documentation/Cocoa/...)

For the most in depth info on the Cocoa Text System: http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html


I use Vim and was unaware that this shortcut existed. Are there any other Emacs shortcuts which are useful in OSX?


If you do "set -o vi" you can also use vi shortcuts, such as ESC-j,k to go up/down the history, 0 to go to the beginning of the line, etc.


You cannot use 'set -o vi' to turn Cocoa text fields into vi-mode.


Ctrl-K kill to end of line,

so Ctrl-A Ctrl-K will clear a given field


And you can Ctrl-Y to paste the line you killed. This is a separate copy/paste buffer from the normal Cmd-C one, which can be nice.


Because crappy Macs have no Home/End keys (or they don't work as such).


On most macs, Fn + left/right arrow are home/end. Fn + up/down are pageup/pagedown.


Not sure if I have it set up differently but mine is Cmd-Left or Cmd-Right to move to the beginning of a line...? Easier to reach than fn (I'm using a real wired BIG Apple keyboard, the RSI inducing one...)


Fn... urgh. I hate these crippled laptop keyboards (and tiny neck pain inducing laptop monitors).


Well, you don't have to follow that glossy mainstream. Just get yourself a new linux desktop with lots of RAM, couple of nice matte monitors, mouse and a good full size keyboard.


That's what I always do. My new PC should be delivered any minute, actually (16 GB RAM; at one intensive work session my current 8 GB where almost a bit scantly - is that the right English word?).


ctrl-arrow (which breaks with Lion's Spaces default keys), or shift Home/End in Terminal.

It's not that Macs are crappy, they just have different key bindings. I regularly work with Macs, Windows, and Linux for development and I've just learned to use the different key mappings.

I don't think I'm quite as proficient in any one system because of that, though. For example, I have avoided learning the Emacs key bindings for use in Mac/Terminal. (I don't want to try to remember TWO bindings for Mac, plus I learned vim first so usually avoid Emacs.)


ctrl-arrow jumps to the next word boundary under Linux.

Yes, other systems have other key bindings, but why do common things like jumping to the begin/end of a line need a key combination? And why aren't the characters written onto the keys? Every time I have to type some code on a Mac I have to press all the keys in order to find { } [ ] etc. At leas I learned not to quit the terminal when I want to enter a @ by now. Whose brilliant idea was that?


{ } [ ] are just above the return key...?


Not on a German keyboard (forgot to mention that, sorry). Where are all the keys a programmer needs here?: http://upload.wikimedia.org/wikipedia/commons/1/11/Apple-Wir...

In contrast a German PC keyboard: http://www.buypcsupplies.com/images/cat/38568_xlargenss_ndo4...

However, I prefer a Microsoft Comfort Curve keyboard, but I can't find an image of the German version right now.



This was life changing when a co-worker showed me this last year.


Same with me! Chrome 31.0.1650.63 on OSX 10.9


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: