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 11y ago · link · parent

The community has created a lot of rad logos you can find here: http://tableflip.io:1234/

comment 11y ago · link · parent

Where are your getting the data?

comment 11y ago · link · parent

I think it would be nice to also provide an endpoint that lists all the resources as an array of objects where the key is the id and the value is the name. Maybe something like this:

  GET /resources/ships
  [
    { 1 : "Tantive IV" },
  ]

comment 11y ago · link · parent

Really great blog post with a great message and composition. As a testament to the theme I wrote an API over a weekend that returned ebola data and it has been very heavily used by people around the world. The astounding thing is that the World Health Organization, from whom I gathered the data, only offered it at the time in the form of PDF files. It's all open source if anyone's interested: https://github.com/montanaflynn/ebola-outbreak-api

comment 11y ago · link · parent

No worries and thanks for building it. You may want to put the email capture above so it's more clear as I'm probably not the only one to copy pasta the url in the examples and be confused for a moment until scrolling to the bottom.

comment 11y ago · link · parent

I was so excited and then equally let down when I realized it wasn't online and this is just a coming soon page. Oh well, I signed up.

comment 11y ago · link · parent

I had a feeling they did but my quick search didn't turn anything up. Thanks.

comment 11y ago · link · parent

Many startups in SF already offer a reimbursement for work related travel but many employees don't follow up on it due to the inconvenience involved. This is a really good idea and I wonder how long until Uber announces the same.

comment 11y ago · link · parent

Great tool!

comment 11y ago · link · parent

Not sure where Java came into the conversation but I found a service[1] which I find really helpful for generating Golang structs from JSON. There is also a CLI tool[2] that does the same.

[1]http://mholt.github.io/json-to-go/

[2]https://github.com/ChimeraCoder/gojson

comment 11y ago · link · parent

Also check out Gin which is very lightweight and performant with a great API.

https://github.com/gin-gonic/gin

comment 11y ago · link · parent

You're still parsing the entire JSON document at once. I believe what OP meant was getting a nested property without all the overhead of writing structs or parsing the entire JSON object into an interface{}, []string, map or whatever else is appropriate.

comment 11y ago · link · parent

I would say the most idiomatic way is having defined structs and using encoding/json. Even when you don't know the json schema in advance you can still parse it into an interface{}.

Here's an example: http://play.golang.org/p/jrqBcPuQei

comment 11y ago · link · parent

Reminds of a great anti-orm article written from 2006 by Ted Neward entitled "The Vietnam of Computer Science"

http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Compute...

comment 11y ago · link · parent

Yes, here in SF it is much the same. However there is also the "full-stack" developer that has come to be in high demand and ranks somewhere in the middle in terms of salary. As for why it is this way I think it's just simple economics. There is more "supply" of front-end devs than back-end which in turn drives the salary of the latter upwards.

comment 11y ago · link · parent

Site is down. I highly recommend using CloudFlare or another cacheing solution to avoid server overload in times of high traffic.

comment 11y ago · link · parent

The article states GitHub gists add the correct content-type header based on file extension which is untrue.

  curl -i https://gist.githubusercontent.com/mikeknoop/e7b3c526738b66950eb4/raw/1d46d432ed380abc986cf15028221318b836395b/text.xml
  // other headers...
  Content-Type: text/plain
  // headers and body...
There is a great service call rawgit[1] that does actually add the correct headers.

[1] https://rawgit.com/

comment 11y ago · link · parent

Sure, if they are hunting for the correct keys that is a bad sign. However I don't equate super fast typing with actual speed of progress. Very rarely am I coding as fast as I can type. In fact, that never happens.

comment 11y ago · link · parent

At first I mistook this post to be an old project aptly named "Crime doesn't climb" which mapped crime to the elevation it took place.

https://github.com/gwintrob/crime-doesnt-climb

comment 11y ago · link · parent

Building a lot of parks?

comment 11y ago · link · parent

Full article via google: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...

comment 12y ago · link · parent

I couldn't find anything after some fairly extensive searching (for a few minutes at least) but I did find this very interesting blimp-related project.

The Death Star Blimp: http://courses.cs.washington.edu/courses/cse466/11au/project...

comment 12y ago · link · parent

No need for anonymous window, if you go to a WSJ link from google search results it should work. Try clicking the first organic listing on this page: https://www.google.com/search?q=GoPro+Developing+Line+of+Con...

comment 12y ago · link · parent

Well any product with an electronic component is harder to recycle as they have many different raw materials that have been blended / melded together.

comment 12y ago · link · parent

I highly suggest reading the book "Cradle to Cradle: Remaking the Way We Make Things" by Michael Braungart & William McDonough. Essentially the book explains how things currently are made in a "Cradle to Grave" style, meaning products are sourced from the earth and then deposited back in an unusable form. Cradle to cradle would be where a product is made and when it's life is up we reuse the product's materials to build a new product. This is not how recycling works. Recycling could be better described as "downcycling" in that every time say plastic is recycled it's grade is lowered and it becomes less useful due to being mixed with other plastics and contaminates. The book explains this much better than I and is also a great primer on material science.

Here's a simple example of how a consumer product can be created in a cradle to cradle fashion.

1) Raw materials are sourced from the earth.

2) Raw materials are manufactured together in a way where they can easily be seperated.

3) Product ends up with a consumer.

4) Product lifecycle ends.

5) Manufacturer pays consumer for the product.

6) Manufacturer uses product's raw materials for step 2.

1
202122
32