News for hackers. Stuff that matters.

asp2insp

The studies mentioned here suggest nicotine, stress, and plastics may be to blame: https://www.nytimes.com/2017/08/16/health/male-sperm-count-p...

Estrogenic substances such as atrazine have been correlated with lower sperm count in agricultural workers (e.g. https://news.nationalgeographic.com/news/2005/04/0427_050427...) but I don't know of a study showing the effects through the food distribution chain, only ones on field workers.

Re:How GraphQL Replaces Redux on Tuesday March 13, 2018 @05:00PM (#16579733)
The graphql tutorial has a chapter devoted to this: https://www.howtographql.com/advanced/4-security/

In a nutshell, you can limit the depth to which a query will resolve in order to prevent abuse. You can also go much further and whitelist a specific set of queries (which comes with some additional bandwidth wins!) See https://dev-blog.apollodata.com/persisted-graphql-queries-wi...

Re:How GraphQL Replaces Redux on Tuesday March 13, 2018 @04:56PM (#16579700)
Naively, yes, but in practice this is one of the things a good graphql client library can solve. Apollo Client, for example, will bundle query fragments from all your components together into a single request, and manage caching under the hood for you.
Re:How GraphQL Replaces Redux on Tuesday March 13, 2018 @04:52PM (#16579678)
I think the GP is referring to Apollo Client 2's ability to abstract over the underlying data source. Their intro blog post for the 2.0 announcement gives a good overview: https://dev-blog.apollodata.com/apollo-client-2-0-5c8d0affce...
Re:Show HN: Vexlio – Create precise, beautiful diagrams on Wednesday June 14, 2017 @02:08PM (#14554694)
I love this idea. I can't try it out because I run OSX, but I've signed up for your waitlist. Seems very competitively priced for something that looks like it competes with some features of Microsoft Visio (which starts at $300) for similar diagramming/snapping functionality.
Re:The largest Git repo on Wednesday May 24, 2017 @01:51PM (#14411973)
We have an internal tool that allows us to mirror subdirectories of our monorepo into individual github repositories, and another tool that helps us sync our internal source code review tool with PRs etc.
Re:Snakisms on Monday March 06, 2017 @03:12PM (#13805667)
For Apocalypticism you randomly die at some point for no reason. For me it happened around 40 points
Re:AWS status updates not working due to S3 on Tuesday February 28, 2017 @03:23PM (#13757489)
Builtwith seems to think they are hosted on EC2 https://builtwith.com/statuspage.io
Re:RethinkDB joins the Linux Foundation: What Happens Next on Monday February 06, 2017 @01:29PM (#13582410)
The oplog replication provided by Mongo is a very different mechanism than RethinkDB's change feeds. This is a pretty good overview of the differences: https://www.compose.com/articles/rethinking-changes-how-two-...
Re:Show HN: Rocket – Web Framework for Rust on Friday December 23, 2016 @12:50PM (#13246082)
Checking the source, it looks like it uses hyper under the hood for the nuts and bolts, so presumably it will benefit from the move to futures without too much effort

  The market for all such devices is growing and is expected to be around 18 million units by 2005, according to IDC, a market research firm.
https://en.wikipedia.org/wiki/IPod#/media/File:Ipod_sales_pe... shows Apple, with the introduction of the iPod nano, color, and shuffle, sold over 20M units in 2005
Re:Optional arguments in Rust 1.12 on Friday September 30, 2016 @01:11PM (#12613736)
This is pretty cool and will definitely simplify some of my code.

It's worth mentioning that there is an RFC discussion for first-class support optional (or keyworded) arguments here: https://github.com/rust-lang/rfcs/issues/323

My guess is that the list is a representative sample, and the dynamic nature is to indicate that it's variable. Google will correctly answer that question for anyone who has their own Wikipedia page with a birthdate (Try 'how old is Richard Stallman') so seeing the "full list" is not a useful piece of information
(not from the team) The matrix.org FAQ has a great overview of the protocol's strengths vs XMPP, IRC, etc: http://matrix.org/docs/guides/faq.html#what-is-the-differenc... (and it doesn't mention XML at all!)
Re:Announcing Rust 1.9 on Thursday May 26, 2016 @02:40PM (#11780429)
The time complexity of comparing variables for equivalence during type unification is reduced from O(n!) to O(n). As a result, some programming patterns compile much, much more quickly.

I love this. Not just my code compiling more quickly, but the underlying implementation is super interesting.

Very cool! I initially thought it was just color swapping, but the percentages section in particular is fantastic.

Led by the CTA arrow: http://i.imgur.com/odtBsuE.png, I clicked on "Illustrations" first, which I actually think is the weakest example of cool customizability. Percentages and Words are both more compelling IMHO.

Re:What does Unsplash cost? on Monday April 18, 2016 @08:21PM (#11524063)
They've written previously about how they consider Unsplash a valuable side project: http://blog.crew.co/how-side-projects-saved-our-startup/ From the wording in that blogpost, I would guess that they consider it part of their marketing spend.
Wow, fantastic! I just made a codelet form and it works beautifully! I'm now recommending this to everyone.
This looks fantastic! I use Fieldbook to organize my life and it's great to see the pace at which new features are being added.

I would love to see a custom forms feature where I can build a form for myself or for others to enter rows. Collecting info is the one feature where I still turn to Google Spreadheets

ipfs just released their beta which includes a golang library for interacting with their DHT/p2p network
Re:Scaling Zapier to Automate Billions of Tasks on Thursday February 11, 2016 @04:38PM (#11083473)
Also not OP, but perhaps (s)he's looking for something like Clippy to put a face on the digital assistant?

Older »