HNHacker News
TopNewBestAskShowJobs

VoiceOfWisdom

100 karma · joined May 16, 2012

submissionscomments
VoiceOfWisdom··on Decentralization in Bitcoin and Ethereum
Make sure and run latest parity, they just fixed a massive perf bug. https://github.com/paritytech/parity/releases/tag/v1.8.6
VoiceOfWisdom··on Dollar General Hits a Gold Mine in Rural America
https://www.reddit.com/r/skookum
VoiceOfWisdom··on Atlassian launches Stride, its Slack competitor
Past that, the user experience is great. Easy to get signed up and messaging.
VoiceOfWisdom··on What's New in F# 4.1? [video]
Big benefit to me was being able to do it all with parser combinators, and without having to drop into another language like lex and yacc.
VoiceOfWisdom··on What's New in F# 4.1? [video]
Its currently in a private bitbucket repo. I can give you the parser though, MIT licensed.

ParserUtils is where maybeIndented and indented are. They make indentation just work. There currently overzealous with backtracking though, makes errors kinda shit. Working on that at somepoint.

https://gist.github.com/xavierzwirtz/99479a11f1eefd3215467f7...

VoiceOfWisdom··on What's New in F# 4.1? [video]
FParsec is fantastic. I have implemented a parser that supports a indentation based language in it. FParsec makes it very productive, and very fun.
VoiceOfWisdom··on What's New in F# 4.1? [video]
Very poor. You would pretty much have to build a language from scratch. I am working on doing that with a language called emly, supports effect tracking as opposed to haskell style purity. I am having to basicly do everything from scratch.
VoiceOfWisdom··on Unexecute
FAKE [1] the F# build tool uses a similar technique on the .net vm.

[1] http://fsharp.github.io/FAKE/

VoiceOfWisdom··on Merging vs. Rebasing
We've started using mercurial evolve at my company. It feels like the best of both worlds. I can rebase and get all the nice clean history I want, but under the hood the original work is still there. It also allows for safely editing public history, without getting into a weird state where you edited a commit that someone else committed on top of.
VoiceOfWisdom··on Scala's Option monad versus null-conditional operator in C#
The same can be accomplished in F# for those who want this power in the .net ecosystem

    type Address = { street : string; city : string option }
    type Author = { name : string; email : string; address : Address option }
    type Article = { title : string; content : string; author : Author option }

    let printCity (article : Article) =
        article.author
        |> Option.bind(fun author -> author.address)
        |> Option.bind(fun address -> address.city)
        |> Option.iter(fun city -> printfn "%s" city)
VoiceOfWisdom··on Can we use Jenkins for that?
Jenkins + the Job DSL Plugin [0] has been amazing. We don't do any configuration in the web interface, instead everything lives in a groovy file on BitBucket. Every time we push a change Jenkins grabs it and auto runs the groovy file, regenerating all of our jobs. We have it set up so that a job is created for every branch in our repo, so much easier to work with. All a developer has to do to get his branch building is push it to the repo.

[0] https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin

VoiceOfWisdom··on Five Open-Source Slack Alternatives
The thing that keeps my company from switching to Slack or any of its alternatives is read notifications. Not having read notifications makes using the system a lot more painful. Any one know of a chat system (not Hangouts) that supports read notifications?
VoiceOfWisdom··on Typechecking SQL in Slick and Doobie
Something similar is available in F# using FSharp.Data.SqlClient[0].

[0] http://fsprojects.github.io/FSharp.Data.SqlClient/

VoiceOfWisdom··on Introducing F# 4.0
Its not possible out of the box, but there are several community libraries to eval quotations[0].

Shame on whoever downvoted you. Add knowledge to the discussion instead of downvoting someone you disagree with. [0] http://stackoverflow.com/questions/849416/evaluate-quoted-ex...

VoiceOfWisdom··on Cue – Discover yourself
A private blood test that reports total serum testosterone costs between 50-100 dollars, and requires going into a lab to get blood drawn. If the cue is accurate this it will be ridiculously better.
VoiceOfWisdom··on Bitbucket down
Main site is back up for me, outage page[1] is still reporting that everything is down.

Edit: Everything looks to be golden again.

[1] http://status.bitbucket.org/

VoiceOfWisdom··on Visual Studio 14 Preview
I have both 2012 and 2013 on my machine, 2013 changes caption color, could not see anything on 2012 change.
VoiceOfWisdom··on What's New in Mercurial 3.0
Exactly! The fact that Git allows you to destructively rewrite history public history is EVIL. Not every user of revision control is going to have a Phd in Not Fucking Up The Repo and I never want a situation like the Jenkins devs had[1] to occur with my projects.

[1] https://news.ycombinator.com/item?id=6713742

VoiceOfWisdom··on What's New in Mercurial 3.0
I am so excited for Changset Evolution. The only thing I miss having from git in mercurial, is the ability to safely rewrite commit history.
VoiceOfWisdom··on Show HN: Try Ion before you buy – uses BluetoothLE, Node.js, websockets, jsmpeg
Check the feed. Banana for scale :)
VoiceOfWisdom··on ReactOS Community Edition
uaygsfdbzf, you are marked as dead. I believe this is due to a somewhat brusk comment you made earlier, but your other comments deserve to be seen.
VoiceOfWisdom··on StackOverflow closed my question, that's why we exist
Could you wrap the 'logo-pro' img tag in an anchor instead of using js to redirect? Using js to redirect breaks ctrl clicking to open in a new tab, and keeps me from staying on your cool blog post.
VoiceOfWisdom··on isUserAMonkey()
http://stackoverflow.com/questions/7792123/strange-function-...

Not very well documented, but it is apparently a way to check if the current user is a automated tester.

VoiceOfWisdom··on Show HN: The Pond - My platform-agnostic HTML5 game
Its difficult to tell whether a fish is smaller, or larger than your self. Might color code them based on whether you can eat them or not.
VoiceOfWisdom··on My Top Sublime Text 2 Plugins
I believe on 1, you meant for the title to be Sublime Code Intel.
VoiceOfWisdom··on Mega Man 2 (NES) password algorithm and code
This site[1] has a couple games emulated in javascript. Just select Mega Man from the list and start playing.

[1] http://fir.sh/projects/jsnes/

VoiceOfWisdom··on Solve your first world problems
The entry for app.net is glorious. I should have known what it was just from the title.
VoiceOfWisdom··on If you were involved in the OpenGL ES specification, you are an idiot
If you use green text on a black background you are an idiot.
VoiceOfWisdom··on Ask HN: What are you Building?
How are you liking ImpactJS? I have done some looking at it but the hundred dollar price tag just to try it turns me off.
← PreviousPage 2 of 2