Better HN
topnewbestaskshowjobs
Log inSign up

anonfunction

2,245 karma · joined Mar 15, 2013 (13y ago) · 938 submissions

Surfacing latent bias in AI models at LatentEvals.com

https://github.com/montanaflynn

Submissions

comment 12y ago · link · parent

Thanks.

comment 12y ago · link · parent

> Once public key pinning lands in Firefox (supposedly scheduled to happen this summer)

Since this was from April, I wonder what has happened since then? Has Firefox added public key pinning or the other option presented?

comment 12y ago · link · parent

Yes I do. Golang is new compared to say Java but it was announced just over 5 years ago which is a fairly long time in the software world. It is backed and used extensively by one of the biggest technology companies in the world exactly for building fast, stable and secure web services which it does very well.

The standard library is extensive and well thought out. There are many libraries available on GitHub and it is easy to import them with `go get`. All of this has caused it to be adopted and well received by developer. While not quite up to par with established and well entrenched languages like C or Java I believe it is climbing at a fast trajectory and has become the go-to language for new startups here in SF right after Node.js, of course enterprise is going to stick to the surefire safe bets in Java.

There is a difference to be noted in that Go is minimal and unlike Java in that it is the convention to prefer using a simple text editor and small libraries rather than rely on an IDE or huge frameworks such as you will find in Javaland.

comment 12y ago · link · parent

I would go with Golang, type safety means less unexpected errors, strong adoption means easy to find engineers and good ecosystem of libraries.

comment 12y ago · link · parent

If you're writing mobile apps in developing countries, then yes absolutely.

comment 12y ago · link · parent

That's where a build system comes into place. I noticed you don't seem to be using Grunt or Gulp which could really cut down on the maintenance.

comment 12y ago · link · parent

I'm not sure about the "gviz charting device" but they still have the chart service up. Here's an example:

http://chart.apis.google.com/chart?cht=bvs&chs=500x250&chco=...

comment 12y ago · link · parent

It's beautiful. Really well done in terms of UI/UX. I did find a minor bug however, in the notes section newlines are completely discarded upon refreshing or sharing the link.

Anyways I thought I'd add a CSV file I had generated with Ebola outbreak data from the WHO where you can see a decline in the rate of infection and mortality of the virus.

http://www.charted.co/?%7B%22dataUrl%22%3A%22https%3A%2F%2Fr...

comment 12y ago · link · parent

This is so very impressive. I like how it uses canvas to make the moon:

  // Moon
  c.fillText("(",99,-99);

comment 12y ago · link · parent

Yes I was just looking at your implementation and must say it's better in numerous ways :)

comment 12y ago · link · parent

Here's my own video -> gif bash script: https://github.com/montanaflynn/vidtogif

And here's a one-liner using ffmpeg and ImageMagick:

  ffmpeg -i input.mp4 -vf scale=600:-1 -r 5 -f image2pipe -vcodec ppm - | convert - gif:- | convert -layers Optimize - output.gif

comment 12y ago · link · parent

Superb timing as I'm just now implementing some web services in Go and using http.Handler compatible middlewares.

As an alternative there is also Alice[1] but I don't like it's implementation style. Coming from JS and using connect / express what I'd really like is something more like this:

  func helloWorld() http.Handler {
  	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
  		w.Write([]byte("Hello world!"))
  	})
  }

  func main() {

  	// Wrap the app in Middleware
  	app := SomeMiddlewareLibrary(helloWorld)

  	// Run the middleware in this order
  	app.Use(app.Logger("HELLO-WORLD"))
  	app.Use(app.CORS("*"))
  	app.Use(app.Delay("1s"))

  	// Give the app up to be served
  	http.ListenAndServe(":8080", app)

  }
[1] https://github.com/justinas/alice

comment 12y ago · link · parent

Another site gone down after getting to the top of the HN.

Lesson to the wise: Use cloudflare if you are not prepared to scale up and expecting a lot of traffic. It's saved me more than once.

comment 12y ago · link · parent

I was really hoping someone would come forward. I'm at 200 and think I star too much. Anyways I had to take a screenshot if only for the rounded numbers.

https://i.imgur.com/hrHKmNv.png

comment 12y ago · link · parent

I'm pretty sure my roommate has starred the most Repos on GitHub, currently at over 3,000. I'll have to show him this.

comment 12y ago · link · parent

I also detected 1893 palindromes out of 350064 total lines. Finally a (laughable) real-world use for my palindrome detection project[1].

[1] https://github.com/montanaflynn/palindromes/

Edit: I also pulled some more stats out of just the passwords:

  Total characters: 2938676
  Average character count: 8.39544955889747
  Median character count: 6
  Maximum character count: 294

comment 12y ago · link · parent

Searched for a Go icon and couldn't find it. I did some digging and I don't think there is an actual Golang icon. Maybe the gopher?

comment 12y ago · link · parent

As someone learning Go and coming from scripting languages this is a great introductory course. I want my APIs to be fast and Go seems to be the best language for that. Finding a middleware solution (negroni) was key for me to feeling productive.

649.

Ask HN: How do you format documentation?

2 points · by anonfunction · 12y ago · 1 comment

comment 12y ago · link · parent

Interesting comparison between reddit and facebook: https://i.imgur.com/NUkB96v.png

Notice facebooks decline.

651.

Hacker toolbox(hackertoolbox.com ↗)

8 points · by anonfunction · 12y ago · discuss

comment 12y ago · link · parent

What is this "hello" thing I see in the top right as the smiley chat icon? I've started a conversation, here's the link: https://hello.firefox.com/#call/fmX1j62g-P4

comment 12y ago · link · parent

I think things could be sized down a bit. Especially places like http://www.qawba.com/#market where it doesn't fit on my 15" retina mbp.

I like the full page effect of the home screen and the text that follows. Maybe have an image in the whitespace like on the contact page? Speaking of, the contact page seems weird to me kind of like it doesn't follow a grid and the typographs looks off to me.

The links at the end should be actual links and not just the circles that are clickable.

License is spelled wrong in the footer.

Cheers.

comment 12y ago · link · parent

Cool project. However, I think using promises or ES6 generators are a more viable option to escaping callback hell.

comment 12y ago · link · parent

It needs a good photo of mostly just your face in order to get a good detection. Detected my face quite accurately, I'd try again with a headshot.
1
212223
32