Hacker Newsnew | past | comments | ask | show | jobs | submit | dberhane's commentslogin

Coral Talk commenting system is a good alternative: https://coralproject.net/talk/


If there is EU resolution to suspend arms sales why is Macron still refusing to abide and continuing to sell weapons to the Saudi regime: https://www.france24.com/en/20181026-macron-france-halt-saud...


Okay, that makes two. Quite sad. Reason is likely that the EU parliament's resolution on this is non-binding; the EU parliament doesn't have the power to just revoke export permissions already granted by member state's governments.


I recommend gatsbyjs (react.js based static generator) and it has plugin for Drupal and Wordpress.

Here is the location of the Drupal plugin: https://github.com/gatsbyjs/gatsby/tree/master/packages/gats...

And the headless Drupal GatbyJS demo: https://using-drupal.gatsbyjs.org/


I really like Gatsby & static site generators, especially when hosted on something like Netlify.

Have you used it with a Drupal or WordPress on a larger site? To do a decoupled site, every time someone publishes a new article or a change, you are going to have to do a ton of HTTP requests during build time for Gatsby since incremental builds are not a thing yet. If you use the Drupal Paragraphs module, that can really complicate things as well. The only way around this with Gatsby that I can think of is to have Drupal create a repository of static files that get incrementally updated. Then Gatsby could grab a compressed version of this during build & create a new version of the site.

I would love to hear thoughts from anyone else though as I'm sure better ideas must exist.


I noticed this too. I wrote a WordPress plugin to trigger a TravisCI build when I publish a post and this works great, but it takes 5 minutes or so to publish a new version of the site. For me this isn’t a huge deal, although waiting 5 minutes to fix a grammar issue sucks, but for some this is going to be a bigger deal when they’re used to being able to make changes instantly.

I noticed that the Gatsby WordPress plugin hits every endpoint on your site to build the graphql data store, you could probably modify it to just hit the ones you need. Additionally I feel like there should be a way to do persistent incremental builds. At least there should be a way to cache the graphql stuff. Maybe a incremental webpack build plugin exists.


Incremental builds via Webpack being worked on. Gatsby is waiting on these - https://github.com/gatsbyjs/gatsby/issues/179


So what tool would be used to extract the static information from the site conveniently? Or does it still need a running instance of Drupal to function? Cause that would still leave you vulnerable to Drupal exploits basically.


There are various things you could do with the headless Drupal: you could put it behind a Firewall or enable access control where only your front-end Gatsby.js app can have access to.


The research article behind this headline:

Low cigarette consumption and risk of coronary heart disease and stroke: meta-analysis of 141 cohort studies in 55 study reports: http://www.bmj.com/content/360/bmj.j5855


Here is another research published recently by BMJ about benefits of curcumin for cancer (myeloma) patients:

Long-term stabilisation of myeloma with curcumin http://casereports.bmj.com/content/2017/bcr-2016-218148.long


Gatsbyjs (reactjs based static site generator) is a very good free alternative. It has a plugin which allows you to use WordPress as a headless CMS to create/update content and another plugin which allows to push your the WordPress content to Github Pages (Gitlab or other static site hosting services):

https://github.com/gatsbyjs/gatsby/tree/master/examples/usin...


This is already happening with the free services we are getting from Google and Facebook.


And then they also do explicitly with: Google Opinion Rewards (https://play.google.com/store/apps/details?id=com.google.and...). The app does ask questions based on location, search terms, YT videos and others, that DO get pretty personal.


Reading your blog allowed me to better understand the reduce function for the first time and I want to thank you for that.


"The surreal video became so popular that it "broke" YouTube's play counter, exceeding the maximum possible number of views (2,147,483,647), and forcing the company to rewrite its code."


I am surprised that the US media got all these details so early in the investigation and I could not any references to this in the British Media about it yet. There is a concern in the UK that US officials are leaking more detailed information as reported in the Guardian: https://www.theguardian.com/uk-news/2017/may/24/us-officials...


I was watching as it unfolded and the US media was a step ahead on reporting almost everything. Apparently the British Home Secretary was none too happy about it as you said (I'm guessing the UK shares details as they happen with their US counterparts who were then leaking to the press).


This is not going to help the FVEY partnership if this shit carries on. I'm not a fan of the dismantling of our rights via CESG/GCHQ/NSA etc, but what good comes of the Americans leaking shit to the press?


For some more context, police are now halting intelligence-sharing as it’s actively impeding. Releasing the name to NBC before cohorts could be intercepted, etc.

http://www.reuters.com/article/us-britain-security-mancheste...


To be fair, it's kinda common knowledge the US intelligence community leaks. Nearly all the intelligence leaks I can think of came out of the US.

My new favourite one being the US President is accused of leaking Isreali intel to the Russians. :D


To be fair British intelligence was regarded as mole central, they had a nickname in the 80's and 90's which was "Krot" after a mole cartoon character popular in eastern europe and the comblock.

In the 2000's which I'm more familiar with we called them the wire or AP, since they tended to burn every source within weeks via leaks to the press, their retired moles or through parliament.

Direct leaks from the US intelligence community are actually pretty darn rare, the only leaks that are not whistleblowers tend to be through the house and senate intelligence committees.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: