HNHacker News
TopNewBestAskShowJobs

alex_marchant

900 karma · joined March 30, 2012

submissionscomments
alex_marchant··on Vigil, the eternal morally vigilant programming language
> This is where Vigil sets itself apart from weaker languages that lack the courage of their convictions. When a Vigil program is executed, Vigil itself will monitor all oaths (implorations and swears) that have been made. If an oath is broken, the offending function (the caller in the case of implore and the callee in the case of swear) will be duly punished. > How?

> Simple: it will be deleted from your source code.

> The only way to ensure your program meets its requirements is to absolutely forbid code that fails to do so. With Vigil, this shall be done for you automatically. After enough runs, Vigil promises that all remaining code meets its oaths.

alex_marchant··on Whisper – open source speech recognition by OpenAI
Siri until ios 15 was done in the cloud IIRC.
alex_marchant··on Vue.js v3 released (pre alpha)
Vue is the backbone of our apps, not a small jquery library, good prop types and such is key to day to day work IMO.
alex_marchant··on Vue.js v3 released (pre alpha)
I hear you, we use this at work and this rings true to our experience as well. One thing though is recently we've started experimenting with typescript? Have you used that? I find that you have to jump through hoops to get typescript and Vue to work together. Looking forward to a form of Vue with better support there.
alex_marchant··on Crafting Interpreters: Calls and Functions
I've tried a couple of other introductions to building a programming language and this is hands down the best. The care and attention to detail that has gone into this book are incredible. Thank you @munificent.
alex_marchant··on Vigil, the eternal morally vigilant programming language
> This is where Vigil sets itself apart from weaker languages that lack the courage of their convictions. When a Vigil program is executed, Vigil itself will monitor all oaths (implorations and swears) that have been made. If an oath is broken, the offending function (the caller in the case of implore and the callee in the case of swear) will be duly punished.

> How?

> Simple: it will be deleted from your source code.

> The only way to ensure your program meets its requirements is to absolutely forbid code that fails to do so. With Vigil, this shall be done for you automatically. After enough runs, Vigil promises that all remaining code meets its oaths.

alex_marchant··on Swift expands continuous integration system to support more platforms
"We have worked with several members of the community and are pleased to make CI testing available today for Fedora, and ARMv7 for Debian “Stretch”."
alex_marchant··on Vim Tutorial as an Adventure Game
I think this was more helpful than any other vim resource i found when beginning. Highly recommend!
alex_marchant··on An update to UBlock Origin was rejected by the Chrome Web Store
Looks like someone from Google noticed and apologized https://github.com/gorhill/uBlock/issues/880#issuecomment-15....
alex_marchant··on Blitz Agency
Check out in Chrome.
alex_marchant··on Plug – Native OS X client for Hype Machine
Sorry, don't think this will happen :( Maybe a nice virtual box setup running OSX with Plug installed! (haha, jkjkjk, hypem.com is great and has so many features)
alex_marchant··on Plug – Native OS X client for Hype Machine
Yes, i did use that same pattern. And if you want to, you can kind of force Swift to do this (String! is an "unwrapped optional" and can be nil or have a value) but it feels unnatural. You definitely have to design a bit differently than ObjC. Luckily Swift's enums are amazing and you can return multiple values (through tuples), so there are great ways to return different types of values.
alex_marchant··on Plug – Native OS X client for Hype Machine
Nope. We don't support the twitter/fb OAuth login right now. Just plain old username/password. The token we get back is a Hype Machine proprietary thing.
alex_marchant··on Plug – Native OS X client for Hype Machine
Roger roger. Thanks for reporting!
alex_marchant··on Plug – Native OS X client for Hype Machine
We do what we can in our spare time. We usually prioritize features by demand. So tweet us and get your friends to if you want something built.
alex_marchant··on Plug – Native OS X client for Hype Machine
Makes sense, it's just a random algorithm which is far from ideal. Just need the time to implement something heftier (Spotify knows what's up http://labs.spotify.com/2014/02/28/how-to-shuffle-songs/?_ga...).
alex_marchant··on Plug – Native OS X client for Hype Machine
Optionals are really interesting. In theory it's a really smart concept. In practice it seems to add a bit of complexity. Will be interesting to see if the concept pays off in the long term.
alex_marchant··on Plug – Native OS X client for Hype Machine
Great point, the fix is a WIP. Look for it in the next update.
alex_marchant··on Plug – Native OS X client for Hype Machine
> When is playlist support planned?

Playlists are awesome. Hard to say, Plug is a hobby project so we add features as we can. But we usually prioritize features by how many requests we get.

> Where can I report bugs?

Hit us up at @plugformac

> Consider allowing horizontal resizing or a marquee effect on table cell hover

Totally, this is very high on the to-do list

alex_marchant··on Plug – Native OS X client for Hype Machine
Please see https://news.ycombinator.com/item?id=7968066 :)
alex_marchant··on Plug – Native OS X client for Hype Machine
Also, credit where it's due, Glenn Hitchcock (https://twitter.com/glennui) is the evil design genius here.
alex_marchant··on Plug – Native OS X client for Hype Machine
Fair point. To mitigate this, we never store your password. Basically we exchange your username/password combo for a token from Hype Machine which is used to authenicate requests.

The only data we store are your username and some basic settings in a .plist (`open ~/Library/Preferences/com.Plug.Plug.plist`) and your token which you can view in Keychain Access.app and search Plug.

alex_marchant··on Plug – Native OS X client for Hype Machine
The Hype Machine team would probably have to be the ones to program in "Now playing", they handle all the last.fm api stuff.

> Another question: Is there a reason why it's not possible to resize the window?

Good question. For now the track name will scroll horizontally like itunes (down at the bottom by the play controls). This is really high up on the to-do list.

Thanks for the notes.

alex_marchant··on Plug – Native OS X client for Hype Machine
Side note: I recently ported all of Plug to Swift (dev build, not yet released of course). Swift is a great leap forward!
alex_marchant··on Plug – Native OS X client for Hype Machine
That actually already works. Just need to connect your last.fm account at http://hypem.com/find_friends.
alex_marchant··on Plug – Native OS X client for Hype Machine
Shoot, well, appreciate the intention. Glad you like it, keep in touch with us at @plugformac if you can.
alex_marchant··on MuteMachine: Automatically skip tracks on Hype Machine
Nice work, mute is genius. I work on Plug, since it's a hobby project, we've just focused on the most popular stuff from Hype Machine.
alex_marchant··on Using Swift with Cocoa and Objective-C
This is the same as the online documentation that's been up since release: https://developer.apple.com/library/prerelease/ios/documenta...
alex_marchant··on CloudFlare's Heartbleed challenge cracked
Ok adding www to the hosts entry worked, appreciate it
alex_marchant··on CloudFlare's Heartbleed challenge cracked
But seems like only the http connection is working, i get a warning in Chrome when visiting https://cloudflarechallenge.com. Isn't that the only situation where the key would be checked. That's the part that doesn't make sense.
Page 1 of 2Next →