GraphQL vs REST vs HATEOAS

  • Problem: REST is a standard way to communicate with servers to retrieve data. It provides a specification based on the entities that we have present in our database. When done correctly, it can be more than adequate. When done wrong it can be a living hell.
  • Solution:
    • Implement HATEOAS [what is HATEOAS?] (Hypermedia as the Engine of Application State), and get a nice system that is flexible and easy enough to work with
    • more simple alternatives like GraphQL
      • GraphQL is an open-source project from Facebook that presents power with a simple idea… Instead of the application server defining the structure of responses, the client is given power and flexibility to request the data that it needs. GraphQL responses are tailored to the specific use case that the client is implementing, eliminating wasteful data transfer and providing future-proofing your API for use cases that your application hasn’t even encountered yet.
      • Is GraphQL a flash in the pan? Technology is hard to predict, but Github’s recent preview launch of their GraphQL API is super encouraging, and an interesting study.
  • Open Questions:
    • How to combine GraphQL with a Event Driven backend?
      • One query actually might indicate multiple events …
      • GraphQL might be a good candidate to implement Event Sourcing/CQRS pattern. Just the fact that GraphsQL allows two different query types – Queries and Mutation is a conceptual direct map to the basics of the Event Sourcing pattern of separating the reads and writes, gives a good foundation to explore this pattern, alongside other advantages. [link]

#AI helps save #freespeech from troll and hate comments, what do you think?

Situation: More and more trolls impact free speech online by either creating an artificial public opinion, enraging the crowd with hate comments or misleading us with fake news.

This must stop, as it is currently the biggest threat to free speech and the free internet. If we can not prevent artificial bots from manipulating public opinion the only way is to restrict the free, open and anonymous internet. To me that would be a horrible result as it is the foundation of tremendous innovation in so many areas.

Solution: Use an AI that checks all comments/posts on major social network platforms like facebook. The AI then does not prevent you from posting your opinion but identifies troll behavior as well as “fake stories” and displays the troll and fake probability KPI besides every post . This allows us to still share everything and don’t restrict free speech but gives readers an indication how trustworthy the source is. Furthermore when one clicks on the KPI number, it shows why the number is as it is e.g. a list of news sources pro and against the “fake story”.

How: Well trolls — use inflammatory statements to start a reaction — can be difficult for a human to detect, so solutions like IBM Personality Insights can indicate whether the sentiment is accurately judged depending on the commenter’s personality traits. It can then determine whether the message is ironic, sarcastic or deceptive.

Idea: This could actually be build as a Chrome Plugin for everyone to download even if facebook itself does not introduce such a KPI plugin.

What do you think is this a good idea?

More Info

#futureofhealth a combination of #robotics and #ai will help us stay healthy and independent

View story at Medium.com

Problem:

As we age, mental and physical challenges do creep up. And we need assistance to stay healthy, mobile, and independent.

Solutions:

A combination of a trained AI and installed sensor platform in mock living room, kitchen, hospital room, and retail space.

Features:

  • It can do everything from “see” someone who has fallen (and help them if they can’t get up)
  • answer health-related questions, such as “what are symptoms of a stroke?”,
  • Scan and monitor health data: read heart rate, heart rate variability, and breathing rate.

Open Questions:

  • How do people want to interact with a computer when they’re sick?
  • What’s the most-effective way to connect this data to third parties, such as emergency medical services?
  • Where do you store a robot in someone’s home?

Implementation:

  • speech-to-text
  • text-to-speech
  • natural language processing
  • Chat bot interface for Q&A,
  • visual recognition technology (the systems eyes)
  • are funneled and analyzed through a body of the system, e.g. a SoftBank Pepper robot connected to the cloud.

Example Technology:

  • IBM Multi-Purpose Eldercare Robot Assistant (IBM MERA )
  • http://sh.rice.edu/camera_vitals.html

More on IBM MERA:

  •  The sensor network built into the lab is connected to that same toolkit of technology. With sensors in the floor, walls, ceiling, and other objects, like wearables, this cognitive agent “collective” can learn patterns of how and when the elderly wake up in the morning, eat breakfast, exercise, or take medication — and offer verbal reminders to take a medication if they forget (or maybe change the light color for those who are hearing impaired). Some of this IBM Accessibility technology is already out in the real world, like the homes of some over-65 residents of Bolzano, Italy, where we’re testing solutions with local government to help their citizens live independently, longer.

[Source]

#FutureOfWork: The impact of #AI on the workplace and employee engagement

• The digital workplace merges work and life — a virtual space with applications, services and information on demand. For users, this means access to the technology they need, when they need it, on whichever device they prefer to use.

• Employees expect their enterprise systems to be as engaging, exciting and intuitive as consumer devices. Technology research company Gartner calls this a shift from technology-literate people to people-literate technology.

• Companies now have more exquisitely detailed data about how their products and services are used than they ever had before, thanks to a vast network of sensors and advanced analytic tools.

• Cognitive systems can parse all that data and learn what employees need to do their job better — even if they don’t yet know it themselves. Cognitive systems will deliver the ability to visualize vast amounts of data, curated and analyzed, for a unique task and a unique user.

• The workplace of the future will embrace emerging new cognitive and analytic capabilities. These tools can provide insights into how employees engage most effectively, what the best technologies are for each task and for each individual, and help provide a seamless work environment — an environment that will help to attract and retain the best talent.

[Source]

#futureofhealth: research shows metformin might slow aging and cancer


Harvard researchers discover an ancient, unified mechanism by which metformin both kills cancer cells and extends lifespan with anti-aging effects. from longevity

  • Hypothesis: Does Metformin reduces the statistical occurrence of a cancer and other age related metabolic diseases in patients?
  • What is Metformin: A substance marketed under the tradename Glucophage among others, is the first-line medication for the treatment of type 2 diabetes.[3][4]
  • Data Analysis:
    • Multiple Studies show that patients treated with Metformin show a 30+ percent reduction in cancer risk.[21][22][23][24]
    • Data on the relation between Metformin and age related metabolic diseases[1]
  • Further Questions you can help me with:
    • How does this effect occur?
    • How can Metformin be produced? Can it be produced in “home/popup labs” also in developing countries?
  • Further Information:
    • In the autumn of 2015, the US drug agency FDA approved a study with 3,000 volunteers for the year 2016. It is intended to participate in persons aged between 70 and 80 who are suffering from cancer, cardiovascular disease or disorders of cognition (eg dementia) Or have an increased risk of this. It is to be investigated whether the life expectancy of the subjects can be prolonged by metformin and the course of already existing diseases is influenced positively. The FDA’s decision attracted particular attention as it approved for the first time a study aimed not directly at preventing, treating or curing a disease, but slowing down the aging process.[26][27][28]