Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.

Sign Up

Articles related to "use"

Announcing gRPC Support in Nginx

  • The following examples use variants of the gRPC Hello World quickstart tutorials to create simple client and server applications.
  • We share details of the NGINX configuration; the implementation of the client and server applications is left as an exercise for the reader, but we do share some hints.
  • The Hello World quickstart examples use unencrypted HTTP/2 (cleartext) to communicate.
  • What can you do if you have multiple gRPC services, each implemented by a different server application?
  • We extended the example Hello World package (in helloworld.proto) to add a new service named Dispatcher, then created a new server application that implements the Dispatcher methods.
  • The client uses a single HTTP/2 connection to issue RPC calls for both the Greeter and Dispatcher services.
  • You can use location blocks like this to deliver web content and other, non‑gRPC services from the same, TLS‑encrypted endpoint.

save | comments | report | share on

4 olive oil benefits for your face

  • Also, some research suggests that putting olive oil on the skin after sun exposure may fight off cancer-causing cells.
  • Scientists need to carry out more research in this area to understand the effects of olive oil's antioxidant properties on human skin.
  • Based on the study of its antioxidant effects on mice, olive oil may be especially beneficial when applied following sun exposure.
  • To exfoliate the face and body and treat areas of dry or scaly skin, a person can mix olive oil and sea salt to make a scrub.
  • People with dry skin may see benefits from using an olive oil-based face mask.
  • Olive oil may also be used to prevent or treat stretch marks, although studies on its effectiveness have found mixed results.
  • Olive oil may offer some benefits for the skin, including vitamins, antioxidants, and antibacterial effects.

save | comments | report | share on

RedisGraph: A High Performance In-Memory Graph Database as a Redis Module

  • With the introduction of Redis Modules we've seen the great potential of introducing a graph data structure to Redis arsenal, a native C implementation with emphasis on performance was developed to bring new graph database capabilities to Redis, the RedisGraph is now available as an open source project on GitHub. In this document we'll discuss the internal design and feature of RedisGraph and demonstrate its current capabilities.
  • We use the graph.QUERY command to issue a CREATE query which will introduce new entities and relations to our graph.
  • For RedisGraph it was crucial to find a data structure which will enable us to perform fast searches on the graph, and thus we have decided to use a concept called Hexastore in order to hold all the relationships within the graph.

save | comments | report | share on

Bypassing Server-Side Request Forgery filters by abusing a bug in Ruby’s native resolver.

  • This is a security advisory for a bug that I discovered in Resolv::getaddresses that enabled me to bypass multiple Server-Side Request Forgery filters.
  • Now the following code snippets demonstrate why Resolv::getaddresses is OS-dependent.
  • This demonstrates that Resolv::getaddresses is OS-dependent and that getaddresses returns an empty ret array when supplied with an IP address that fails during a reverse DNS lookup.
  • I suggest staying away from Resolv::getaddresses altogether and using the Socket library.
  • Consequently, HackerOne was affected by this bypass, because they use the private_address_check gem to prevent SSRF on the “Integrations” panel:{BBP}/integrations.
  • HackerOne still encouraged me to report it, because they take any potential security issue into consideration and this bypass demonstrated a potential risk.
  • This gem uses Addrinfo.getaddrinfo as recommended by the Ruby Code dev team.
  • John Downey was able to immediately provide a patch, and Arkadiy Tetelman helped me figure out why their gem was not affected by the issue.

save | comments | report | share on

TinyVM – A small and easy to understand virtual machine in C

  • We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
  • GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
  • Use Git or checkout with SVN using the web URL.
  • If nothing happens, download GitHub Desktop and try again.
  • If nothing happens, download Xcode and try again.
  • If nothing happens, download the GitHub extension for Visual Studio and try again.

save | comments | report | share on

Claims of social media ‘addiction’ are full of bad science — its real impact might be more positive than you think

  • She told Business Insider that social media may be having some positive effects on teens and young adults, but many people are not paying attention to that research.
  • A large review of 36 studies published in the journal Adolescent Research Review concluded that instead of feeling hampered by their screens, teens are chiefly using digital communication to deepen and strengthen existing in-person relationships.
  • A small 2018 study of British teens in foster care supports that idea — it suggested that social media helped young people maintain healthy relationships with their birth parents, make new friends, and ease the transition from childhood to adulthood.
  • Tomohiro Ohsumi/Getty The researchers behind these studies emphasized that social media and smartphones are not so much an "addiction" as a novel, attention-grabbing platform for enhancing existing activities and relationships.

save | comments | report | share on

Mathematics for Computer Science: Readings

  • The full course textbook, Mathematics for Computer Science, is available for download (PDF 5.9MB).
  • This is one of over 2,200 courses on OCW.
  • Find materials for this course in the pages linked along the left.
  • MIT OpenCourseWare is a free & open publication of material from thousands of MIT courses, covering the entire MIT curriculum.
  • No enrollment or registration.
  • Freely browse and use OCW materials at your own pace.
  • There's no signup, and no start or end dates.
  • Knowledge is your reward.
  • Use OCW to guide your own life-long learning, or to teach others.
  • We don't offer credit or certification for using OCW.
  • Your use of the MIT OpenCourseWare site and materials is subject to our Creative Commons License and other terms of use.

save | comments | report | share on

Protecting Against HSTS Abuse

  • Well, the HSTS standard describes that web browsers should remember when redirected to a secure location, and to automatically make that conversion on behalf of the user if they attempt an insecure connection in the future.
  • Because using HSTS in this way does not benefit legitimate use cases, but does facilitate tracking, we revised our network stack to only permit HSTS state to be set for the loaded hostname (e.g., “”), or the Top Level Domain + 1 (TLD+1) (e.g., “”).
  • We modified WebKit so that when an insecure third-party subresource load from a domain for which we block cookies (such as an invisible tracking pixel) had been upgraded to an authenticated connection because of dynamic HSTS, we ignore the HSTS upgrade request and just use the original URL.

save | comments | report | share on

Introduction to MobX 4 for React/Redux Developers

  • This not only has a learning curve but is a different programming paradigm altogether, and there is not a lot of up-to-date training material on how to use React with Mobx, while there is far, far more content on using React with Redux.
  • You might have observed that I have been annotating the code examples above with // reaction, // action, and // observable state, and they mean what they normally mean in English.
  • I decided to do this because public class fields are so widespread in React (for example, it comes with create-react-app) that you likely already have it set up or can figure out how to set it up in Babel if you need to).
  • In our examples above we've already used observable states as well as defined actions that modify those states, and we have used mobx-react's @observer to help bind our React components to react to changes in state.

save | comments | report | share on

Changelog: Richer (and Smarter) Suggested Posts Beneath Articles

  • They include mostly the really good from the site's history.
  • We plan to increasingly make use of that space for other types of content going forward.
  • For instance, we’ll have content tips about how to use the site, notices about new features, suggestions on members to follow, etc.
  • We’ll also be allowing sponsoring organizations in our community to promote posts from their own engineering team.
  • Alongside our plans for supporting promoted org posts, you now have the ability to opt out of seeing any sponsor material across the site, as well as the option to control whether these blocks can show up near your own posts.
  • This is just the first version, and we’ll constantly be improving the new area and adding useful functionality.
  • Thanks for being along for the journey as we try to improve the experience for everyone and grow a sustainable business.

save | comments | report | share on