gatsby

Gatsby client side redirects to external URL not working on Netlify

雨燕双飞 提交于 2020-08-25 17:18:30
问题 I need to do a simple client side redirect to an external URL from a page on my Gatsby site hosted on Netlify. It works fine locally, but nothing seems to work when deployed. There also seems to be a bug with Gatsby's native createRedirect-functionality so that it doesn't allow redirecting to external URLs. I've tried the three methods below in componentDidMount , in render as well as in callbacks from a recurring ( setInterval ) function call. I've also tried hijacking clicks on the links

Gatsby - Adding Google fonts to Gatsby site

爱⌒轻易说出口 提交于 2020-08-20 06:17:32
问题 I'm trying to add a Google Font (Mukta Malar) in my Gatsby site. I've seen many articles on adding Google fonts to a Gatsby site and most of them seem to use this plugin: gatsby-plugin-prefetch-google-fonts. I've used the above plugin in my site by adding it in the gatsby-config.js file as: plugins: [ { resolve: `gatsby-plugin-prefetch-google-fonts`, options: { fonts: [ { family: `Mukta Malar` }, ], }, } ] and added the font family to my css file as well: * { font-family: "Mukta Malar", sans

Gatsby - Adding Google fonts to Gatsby site

非 Y 不嫁゛ 提交于 2020-08-20 06:17:27
问题 I'm trying to add a Google Font (Mukta Malar) in my Gatsby site. I've seen many articles on adding Google fonts to a Gatsby site and most of them seem to use this plugin: gatsby-plugin-prefetch-google-fonts. I've used the above plugin in my site by adding it in the gatsby-config.js file as: plugins: [ { resolve: `gatsby-plugin-prefetch-google-fonts`, options: { fonts: [ { family: `Mukta Malar` }, ], }, } ] and added the font family to my css file as well: * { font-family: "Mukta Malar", sans

概率机器学习绽放光彩,Uber首席科学家Zoubin获英国皇家学会奖项

こ雲淡風輕ζ 提交于 2020-08-17 17:56:01
  机器之心报道    编辑:魔王    Zoubin Ghahramani 曾在一次演讲中表示:在深度学习革命之后,下一个前进的方向会是概率机器学习。   近日,英国皇家学会颁发 2021 年米尔纳奖(Royal Society Milner Award and Lecture),剑桥大学信息工程学教授 Zoubin Ghahramani 因其对概率机器学习的基础贡献获得此奖项。      该奖项以计算机科学家罗宾 · 米尔纳(Robin Milner)的名字命名,由微软研究院支持,旨在奖励欧洲地区对计算机科学做出卓越贡献的个人,以支持欧洲研究者和研究机构的发展。   获奖后,Zoubin Ghahramani 在社交媒体上表达了自己的心情和对合作者的感谢:       Zoubin Ghahramani 其人      个人主页:http://mlg.eng.cam.ac.uk/zoubin/   Zoubin Ghahramani 是机器学习领域中的领军学者,尤其对概率机器学习和贝叶斯非参数方法,以及用于可扩展学习的近似变分推断算法的发展做出了基础性贡献。他还是半监督学习方法、主动学习算法和稀疏高斯过程的提倡者之一。他提出的新型无穷维非参数模型(如无穷潜在特征模型)对机器学习领域产生了极大影响。   他是剑桥大学信息工程学教授、伦敦 Gatsby 计算神经科学中心的创始人员