industryterm:front

  • Independently Scalable Multi-Container #microservices Architecture on #aws #fargate (II)
    https://hackernoon.com/microservices-on-fargate-part2-f29c6d4d708f?source=rss----3a8144eabfe3--

    In this article we will be building the stack of resources needed to run the application we prepared and containerized in the first part:Independently Scalable Multi-Container Microservices Architecture on AWS Fargate (I)The application source and CloudFormation stack file can be found here:docwhite/ecsfsOverviewThe ideas and requirements for this application, ecsfs, are:Backend and frontend services not to be public-facing.Nginx will sit on the front, publicly accessible.Nginx would proxy the request to the frontend.The frontend requests from the backend.Auto-scalable backend (since it performs expensive computations).In order to address (1) and (2) we will require private and public subnets. To forward all traffic to the nginx server (2) we will set up an Application Load Balancer (...)

    #cloud #docker

  • Revealed: The thousands of public spaces lost to the council funding crisis

    The local government funding crisis has become so dire that councils are being forced to sell thousands of public spaces, such as libraries, community centres and playgrounds.

    In a double blow to communities, some local authorities are using the money raised from selling off buildings and land to pay for hundreds of redundancies, including in vital frontline services.

    In a major collaborative investigation with HuffPost UK and regional journalists across the country, the Bureau has compiled data on more than 12,000 public spaces disposed of by councils since 2014/15. Our investigation found that councils raised a total of £9.1 billion from selling property.

    The findings lay bare the spiralling impact of eight successive years of austerity, leaving services shut and buildings closed. Councils have been forced to take ever more desperate measures to stay in the black as their funding from central government has been cut by about 60% since 2010.


    https://www.thebureauinvestigates.com/stories/2019-03-04/sold-from-under-you
    #espace_public #espace_privé #privatisation #UK #Angleterre
    ping @reka

  • Understanding Micro Frontends
    https://hackernoon.com/understanding-micro-frontends-b1c11585a297?source=rss----3a8144eabfe3---

    As a #frontend developer, all these years you were developing monoliths, even though you already knew it was a bad practice. You divided your code into components, used require or import and defined npm packages in your package.json or mounted sub git repositories into your project, yet you ended up building a monolith. It’s time to change it.Why is your code is a monolith?All frontend applications are a monolithic application in nature, except apps that already implemented micro frontends. The reason is if you are developing with the React library and if you have two teams both should be using the same React library and both teams should be in sync on deployments and always will be conflicting during code merges. They are not separated completely and most probably they are maintaining (...)

    #javascript #microservices #agile-development #micro-frontends

  • Project overview: #iotex the Decentralized Network for the Internet of Things (IoT)
    https://hackernoon.com/project-overview-iotex-the-decentralized-network-for-the-internet-of-thi

    Connecting the physical world, block by blockAs a frontier technology, the Internet of Things (IoT) has many people excited. Technological advancements are increasing at an accelerated pace. From tablet-style smart refrigerators to devices that answer all your day-to-day questions as if it was your roommate or even your partner. More and more people continue to search for devices that make their lives easier by saving time and effort, SMART-tech is hot.According to this data, the #iot industry is estimated to grow from $157 billion dollars in 2016 to $457 billion dollars in 2020 attaining a Compounded Annual Growth Rate (CAGR) of 28.5% each year. Large corporations, like Samsung, Vodafone and DHL have already delved into IoT with research and development (R&D) and the subsequent (...)

    #mainnet #blockchain #iotx

  • #react #chat Basic Tutorial
    https://hackernoon.com/react-chat-basic-tutorial-7bd2af16a57e?source=rss----3a8144eabfe3---4

    This tutorial is for you if you are a software developer, engineer or are just interested in programming. This walk-through is open source and free; MIT style. You can check out the full React Chat GitHub repository.React is a JavaScript library that empowers you to make sophisticated front-end applications that can handle business logic in a fast and efficient manner. We’ll use React to build out our web application frontend for our robust chat app. The unique benefit of React, aside from it having one of the largest JavaScript communities and incredible flexibility, is its compatibility with React Native, allowing us to easily turn our web app into a native mobile app for iOS and Android.In this tutorial, we’ll build a simple, yet featured rich chat application with React and PubNub (...)

    #web-development #react-chat-tutorial #react-chat

  • EY - The upside of disruption
    https://www.megatrends2018.com/#Megatrend-Future-of-work

    Our analysis of the future of work now spans these aspects:
    - More than technology. Work is being reinvented, not just by technology, but also by demographic factors (e.g. millennial workers) and cultural drivers.
    - Social contracts and public policy. The changing nature of work is upending social contracts, for example, by widening inequality and undermining aspects of social contracts tied to the employer-employee relationship. This will require new public policy solutions.
    - Learning and education. Preparing workers for the future of work will take a very different approach to education, emphasizing skills over knowledge and lifelong learning over front-loaded educational systems.
    - Corporate response. Perhaps the biggest shift over the last couple of years has been how companies are taking active measures to prepare for the future of work. This includes revamping their approaches to human resources/talent, employee motivation, recruiting, training and skills development.

    Questions :
    - How will machines and humans partner to do what each of them does best? What can business and governmental leaders do to enable this?
    - How do we teach people to learn how to learn?
    - Do your people have the skills they need to work alongside robots and algorithms?
    - What responsibility do businesses and governments have for preparing workers for the era of automation?
    - What is the future of retirement?

    #futur_du_travail #prospective #rapport

  • The Horror of the Check Engine Light and the Joy of Fixing It
    https://jalopnik.com/the-horror-of-the-check-engine-light-and-the-joy-of-fix-1830333537
    Cette petite hstoire nous met dans la tête d’un utilisateur d’automobiles. On apprend beaucoup sur son addiction et comment il fait pour se procurer sa drogue dans une qualité satisfaisante.

    It was lightly snowing, the kind of snow that doesn’t stick but turns everything into a horrible slush. It was December of 2017. I was picking up my coworker, Raph, double parked outside his old apartment. We were headed out to Long Island. It was two weeks after I bought the car. The check engine light came on.

    Crap.

    You can probably imagine the things going through my head. You’re a moron. You bought this thing and less than a month later it’s crap. It’s going to be expensive. Your mom told you to just take out a loan and buy a Honda. Your wife wanted a Civic, because she had one, and it was always reliable. You didn’t get the Civic. You had to get this thing. You had to get rear-wheel-drive and a straight-six and a wagon and “fun.” Idiot.

    The snow kept coming down.

    Raph got in the car, and immediately I blurted out that the check engine light just came on. We were headed to Tuning Works, about 30 miles away, to take care of a leaky valve cover gasket I knew about when I bought the car. It’s the shop that does a lot of work on the wildest rides at H2Oi every year, and they’ve won a ton of awards.

    The 2002 Lexus IS300 Sportcross I just bought was going to be my baby, I decided. It was only going to get the best of the best, a model of preventive maintenance. So while everyone else was going to the nearest random mechanic they could find, I was going to the place with the awards. I’d be taking better care of this car than anyone. Because there was no way in hell I’d be caught with a check engine light.

    But there it was. Its amber glow was staring right at me. Unblinking, unfeeling. A yellow-orange engine with a lightning bolt going through it, as if to say “the whole beating heart of this machine is dead. You just bought it, too. $10,250 straight down the drain.”

    While I was rapidly filling with self-loathing and shame, Raph did his best to be sympathetic, as much as a man who had previously owned a car that had been rolled multiple times with a rusted floor pan and a shopping cart wheel for a gas pedal could be sympathetic over a CEL.

    “It’s probably fine,” he said.

    It probably was fine. I’m a completely inept mechanic, but I knew that the only major lights you had to worry about in a modern car was the oil warning light and maybe, maybe, the temperature warning light. If those things are blazing or flashing at you, it’s a short time before you get permanent damage, so you better pull over quick. Almost everything else could be fixed eventually. A check engine light is usually nothing too much to worry about, but in that moment, having just bought the thing, it might as well have been dead.

    And even then, a check engine light is woefully inadequate. I had paid for a pre-purchase inspection at a Lexus dealership before I bought the car, and that came back pretty much perfect. So in my hubris, I neglected to put an OBD-II reader in the car that could immediately tell me what was wrong. I started running through worst-case scenarios, most of which involved conjurings from my wildly overactive imagination of the engine exploding or all four wheels simultaneously falling off.

    We were headed to a mechanic anyway, though. If I could nurse the car the 30 miles there, I’d be fine. (“Nursing it” consisted of driving absolutely normally, just being worried the whole time.)

    The guys at Tuning Works replaced my suspension bushing, while I fidgeted in their waiting area. They kindly reassured me that they’d check the CEL, and not to worry. They’d tell me what was wrong after they finished everything else.

    It felt like days, weeks. It was probably only an hour or two.
    Photo: Raphael Orlove/Jalopnik

    But when Rich from Tuning Works finally emerged, he told me it shouldn’t be anything to worry about. The computer was spitting out code “P0440" - the emissions evaporation control system. Essentially, somewhere along the fuel system, gasoline vapors were slowly drifting away. I mean, they shouldn’t be drifting away if everything was operating normally, but this little issue wouldn’t kill anybody.

    My car wasn’t going to explode. The wheels weren’t going to fall off. It was probably just the fuel filler cap. Replace that and the light should go away.

    I was grateful for the advice, much in the same way my rabbi growing up told me I wasn’t going to be immediately smitten by God for occasionally tasting bacon. A small fix and everything should be fine.

    Of course, it was only probably the fuel filler cap. If I wanted to know definitively, that would involve a smoke test, which would cost more money, because of the labor. Rich offered, but I declined. It was a fuel filler cap, who needs more testing?

    Tuning Works cleared the code, my valve cover gasket was fixed anew, and off I went. I bought a new filler cap at Autozone on the way home. The check engine light was dark. My momentary panic was gone. Everything was good.

    Three weeks later, the light turned on again.

    God damn it.

    I went and checked the code. Again, P0440. The evaporation emissions control system. Whatever. It was probably because I got an aftermarket fuel filler cap, not an OEM one. Another trip to the Zone, and I popped the $8 cap off, and slapped on a $22 fuel filler cap, right from the original manufacturer. All problems in the world go away if you throw enough money at them. That’s just a rule of life.

    Three weeks later, again, it turned on again. The check engine light was no longer staring at me, unblinking, unfeeling. Now it was taunting me. I’d clear the code, and it would disappear for a little while. It would always come back though. Sometimes two weeks would go by, sometimes three. But it was there. I would clear it just to get a momentary peace of mind. Maybe, with it temporarily turned off, I could convince myself that my new-to-me car wasn’t broken, that I wasn’t an idiot. But of course, I couldn’t.

    Months would go by, and I could never quite fall entirely in love with the car. A car that, to me, was lovely in every single way except for one. It was torquey and quick and it had a straight six and wonderful hydraulic steering and it was a wagon. And it had a check engine light. It was splendid and great and wrong. It was Zinaida Serebriakova’s At the Dressing Table, if the table had just a little bit of vomit on it.

    I started searching for what could be causing the P0440 code on the internet. The fuel filler cap, the mostly likely cause, I think we could rule out. But if it wasn’t that, it could be anyone of a number of things. One person on a Lexus forum got the code when they parked their car for a while, and mice chewed through a hose. Others had problems with something known as a Vacuum Switching Valve. Leaky fuel tanks. Parts that some other mechanic had worked on but hadn’t installed properly.

    The one I dreaded most was one that also seemed endemic to the first generation of the Lexus IS300. People on the forums consistently lamented a failure in something known as the “charcoal canister,” which is pretty much what it sounds like. A little canister filled with activated charcoal that absorbed any vapors from the fuel system. The other possible problems on the car I could probably fix myself, with a limited set of tools in an apartment building garage. The charcoal canister, on the bottom of the car towards the back, I could not. At the very least, the car probably needed to be on a lift. I don’t have a lift.

    Worse than that, the charcoal canister was pretty much the most expensive part in the entire system. A hose is a hose, but a charcoal vapor canister could cost nearly $500. Most people with the same problem said that they spent nearly $1,000 getting it fixed. I didn’t want to spend $1,000. I have lots of other things I’d like to spend $1,000 on.

    So I just sort of ignored it. I stopped clearing the codes. Every time I’d get in the car, that little light was there, a constant reminder of my own failures. And who among us, in this day and age, doesn’t live with one of those?

    Mine just happened to be on my car.

    I knew I had to get it fixed at some point. The “at some point” was actually pretty definite, too, since I had read that a car couldn’t pass a state emissions inspection in New York with a check engine light such as this one. I had until December 2018, one year from when I bought the car. I kept driving with it. I road-tripped the Lexus to New England, and to Pennsylvania, and to my mom’s and my dad’s and my aunt’s and my uncle’s and to the grocery store and to work and to car shows and everywhere else people drive. I take the subway to get to work, and occasionally drove press cars for work, so I only put on about 7,000 miles on it during the first year that I owned it. For 7,000 miles, I just lived with the light, looking back at me.

    With December and an upcoming state inspection approaching, though, I knew it needed to get fixed sooner rather than later. I’m not sure I even cared about the upcoming state inspection, to be honest. I just wanted that unblinking light gone.

    This time, I didn’t drive all the way out to Tuning Works. I was tired. I went to the shop two blocks from my apartment. The people in there are friendly, and it’s open 24 hours, seven days a week. It was a Sunday morning, 8 AM. I pulled the car into the garage, and told them I needed a smoke test.

    “That’ll be $65,” they replied. I paid it. I didn’t care. I needed to be sure.

    I watched through the glass window of the shop’s waiting room, into the mechanic bay. I saw them put my car on a lift, then poke and prod all around the area where the fuel tank was.

    After about an hour, the mechanic came over to me. He had that look and that walk and that tone that doctors use when they give you bad news. He was blunt but with a tinge of sympathy. It was the charcoal canister. And because I had insisted on a rear-wheel-drive car, it was going to be even pricier. A front-wheel-drive car, he explained, could have the job done in 30 minutes. But a rear-wheel-drive car would be longer, with much of the fuel system in the rear along with a differential and a driveshaft and all that comes with it. Two or three hours of labor.

    The total cost estimate was $750. That’s a good chunk of change less than the $1,000 I thought it would cost, but still, it would hurt my wallet. I picked the car up from the mechanic last night, my wallet $816.56 lighter after taxes.

    But weirdly, I almost didn’t care. Yeah, that was approaching the price of one of those FlightWebsite.biz Cheap-As-Hell European Vacations, but I wasn’t paying for a charcoal canister and three hours of a learned man’s time. I wasn’t even paying for peace of mind. What I was buying was no check engine lights, no constant reminders, no unceasing light getting in between me and rear-wheel drive and a straight six and a wagon and fun, satisfying fun.

    I was paying for the ability to finally, finally, fall fully and deeply in love with my car.

    #littérature #automobilisme

  • Easy, Let’s Encrypt Certificates on #aws
    https://hackernoon.com/easy-lets-encrypt-certificates-on-aws-79387767830b?source=rss----3a8144e

    Mike Milligan and the Kitchen brothersHere is a quick tutorial on how you can create free #ssl certificates for your AWS deployments.If you’re on AWS and hosting a large workload, you can actually get free certificates from Amazon by using their Certificate Manager. However these certificates can only be attached to an AWS Load Balancer, an API Gateway instance or a CloudFront distribution.For small Laravel staging deployments that don’t require a load balancer because you just need one front-end server, it is then not worth the overhead cost as a Load Balancer comes at around $17 per month, depending on the region.On the other hand, Let’s Encrypt offers a free Certificate Authority service, which means it will sign SSL/TLS certificates for free. The downside is that they expire every 90 (...)

    #ssl-certificate #aws-certificates #encrypt-aws-certificates

  • Get Ready For the New #gutenberg #wordpress #editor
    https://hackernoon.com/get-ready-for-the-new-gutenberg-wordpress-editor-39d24301e17?source=rss-

    Brace yourself: WordPress 5.0 may include the new Gutenberg editor as part of its core!The current tired TinyMCE text editor that served millions of WordPress users for several years will soon be deprecated with a new interface for editing posts and pages.This is going to be one of the major updates since the launch of the WordPress platform. Because Gutenberg will influence the whole WordPress publishing experience, you should get ready for its release.Of course, WordPress is a popular content management platform that is versatile and user-friendly. For example, Awakekat, who has over 16 years of front-end web development experience, teaches people how to maximize the use of WordPress by creating their own themes. You can watch and learn from his practical projects here.So, which new (...)

    #wordpress-gutenberg #wordpress-editor

  • Make a slideshow using #ruby on Rails in 50 lines of code and no JavaScript.
    https://hackernoon.com/make-a-slideshow-using-ruby-on-rails-in-50-lines-of-code-and-no-javascri

    Let’s face it, nowadays, even the most complex web development tasks are expected to be written in JavaScript. Having said that, the consistently changing landscape of JavaScript is confusing and makes productivity difficult. And it is not as if JavaScript is the most user friendly language in the world. JavaScript is as popular as it is because it has always been a necessary evil in frontend web development.However, there was a time where JavaScript only existed to be sprinkled into your frontend to make it feel more dynamic. In recent years, in a search for perceived performance, large corporations began writing the crux of their applications in JavaScript in the frontend. This considerably shrunk the requirements for backend work in these applications. It is no secret that many (...)

    #ruby-on-rails #frontend-development #framework #javascript-frameworks

  • #OpenStreetMap #vector #tiles : mixing and matching engines, schemas and styles
    https://stevebennett.me/2017/08/23/openstreetmap-vector-tiles-mixing-and-matching-engines-schemas-and-styl

    For my next web mapping project, we’ll use vector tiles. Great. And the data will come from OpenStreetMap. Excellent. Now you only have five more questions to answer.

    For the front-end web application developer who wants to stick a #map in their site, vector tiles open up lots of options and flexibility, but also lots of choices.

    – Display engine: which JavaScript library is going to actually draw stuff in the browser?
    – Style: how will you tell the display engine what colour to draw each thing in the schema?
    – Data schema: what kinds of data are contained in the tiles, what are the layers called, and what are the attributes available?
    – Tile transport: how will the engine know where to get each tile from?
    – File format: how is the data translated into bytes to store within a tile file?

    Bon petit topo pour se remettre dans le bain :)

  • Publishing with Apache Kafka at The New York Times
    https://www.confluent.io/blog/publishing-apache-kafka-new-york-times

    At The New York Times we have a number of different systems that are used for producing content. We have several Content Management Systems, and we use third-party data and wire stories. Furthermore, given 161 years of journalism and 21 years of publishing content online, we have huge archives of content that still need to be available online, that need to be searchable, and that generally need to be available to different services and applications.

    These are all sources of what we call published content. This is content that has been written, edited, and that is considered ready for public consumption.

    On the other side we have a wide range of services and applications that need access to this published content — there are search engines, personalization services, feed generators, as well as all the different front-end applications, like the website and the native apps. Whenever an asset is published, it should be made available to all these systems with very low latency — this is news, after all — and without data loss.

    This article describes a new approach we developed to solving this problem, based on a log-based architecture powered by Apache KafkaTM. We call it the Publishing Pipeline. The focus of the article will be on back-end systems. Specifically, we will cover how Kafka is used for storing all the articles ever published by The New York Times, and how Kafka and the Streams API is used to feed published content in real-time to the various applications and systems that make it available to our readers. The new architecture is summarized in the diagram below, and we will deep-dive into the architecture in the remainder of this article.

  • Maybe we could tone down the #JavaScript / fuzzy notepad
    https://eev.ee/blog/2016/03/06/maybe-we-could-tone-down-the-javascript

    I’m having a really weird browser issue, where scripts on some pages just won’t run until about 20 seconds have passed.

    Whatever you’re about to suggest, yes, I’ve thought of it, and no, it’s not the problem. I mention this not in the hope that someone will help me debug it, but because it’s made me acutely aware of a few… quirks… of frontend #Web #development.

    • Toujours faire du HTML+serveur classique qui marche toujours correctement, PUIS rajouter des fonctionnalités Javascript client pour ceux qui l’ont.

      I’m not saying that genuine web apps like Google Maps shouldn’t exist — although even Google Maps had a script-free fallback for many years, until the current WebGL version! I’m saying that something has gone very wrong when basic features that already work in plain HTML suddenly no longer work without JavaScript. 40MB of JavaScript, in fact, according to about:memory — that’s live data, not download size. That might not sound like a lot (for a page dedicated to showing a 140-character message?), but it’s not uncommon for me to accumulate a dozen open Twitter tabs, and now I have half a gig dedicated solely to, at worst, 6KB of text.

      #webperf #accessibilité #progressive_enhancement #amélioration_progressive #sémantique

  • Can Wikipedia Disrupt News As It Did Encyclopedias ?

    http://europe.newsweek.com/wikipedia-news-becomes-open-public-292613?rm=eu

    Wikipedia revolutionized the way people amass information. It provides a free, one-stop shop for the Internet’s collective knowledge on any given topic. Now, one of the site’s founders, Larry Sanger, is launching a ‘Wikipedia for news’ called Infobitt.

    Infobitt says it will be “the world’s first crowdsourced front page news site.” It calls on users to post news events and aggregate summarized facts for each story. The importance of each fact is determined by votes, which take the form of dragging and dropping the piece of information into a ranking of 10 slots. The collection of facts under each story is called a ‘bitt.’ The importance of each bitt is also voted on in this way.

    #info #fail #wikipedia

    poke @thibnton

  • #al-Qaeda affiliates keeping a watchful eye on #ISIS' conquests
    http://english.al-akhbar.com/content/al-qaeda-affiliates-keeping-watchful-eye-isis-conquests

    A file image grab taken from a video uploaded on YouTube on August 23, 2013 allegedly shows a member of Ussud Al-Anbar (Anbar Lions), a Jihadist group affiliated to the Islamic State of #Iraq and the Levant (ISIL), Al-Qaeda’s front group in Iraq, holding up the trademark black and white Islamist flag at an undisclosed location in Iraq’s Anbar province. (Photo-AFP/Youtube) A file image grab taken from a video uploaded on YouTube on August 23, 2013 allegedly shows a member of Ussud Al-Anbar (Anbar Lions), a Jihadist group affiliated to the Islamic State of Iraq and the Levant (ISIL), Al-Qaeda’s front group in Iraq, holding up the trademark black and white Islamist flag at an undisclosed location in Iraq’s Anbar province. (Photo-AFP/Youtube) (...)

    #Mideast_&_North_Africa #Abu_Bakr_al-Baghdadi #Abudallah_Azzam_Brigades #Al-Nusra_Front #al-Zawahiri #Articles #Ayman #Baghdad #Caliphate #Homs #Lebanon #Mosul #syria

  • The war in #syria: ISIS’s most successful investment yet
    http://english.al-akhbar.com/node/20133

    An image grab taken from a video uploaded on YouTube on August 23, 2013 allegedly shows members of Ussud Al-Anbar (Anbar Lions), a Jihadist group affiliated to the Islamic State of #Iraq and the Levant (ISIL), Al-Qaeda’s front group in Iraq, holding up their weapons as they pose next to the trademark black and white Islamist flag at an undisclosed location in Iraq’s Anbar province. (Photo: AFP-Youtube) An image grab taken from a video uploaded on YouTube on August 23, 2013 allegedly shows members of Ussud Al-Anbar (Anbar Lions), a Jihadist group affiliated to the Islamic State of Iraq and the Levant (ISIL), Al-Qaeda’s front group in Iraq, holding up their weapons as they pose next to the trademark black and white Islamist flag at an undisclosed (...)

    #Mideast_&_North_Africa #Abu_Bakr_al-Baghdadi #Abu_Mohammed_Joulani #Abu_Musab_al-Zarqawi #al-Nusra #Articles #Islamic_State_of_Iraq_and_Syria_ISIS_

  • Elm
    http://elm-lang.org

    The Elm Programming Language

    Elm aims to make front-end web development more pleasant. It introduces a new approach to GUI programming that corrects the systemic problems that make HTML, CSS, and JavaScript a headache to use. Elm allows you to quickly and easily work with visual layout, use the canvas, manage complicated user input, and escape from callback hell.

    Encore un langage... mais il a des arguments....

    #webdev #javascript #elm #callback_hell #asynchronicity

  • Why front-end developers are so important to the future of businesses on the web « paulcarvill.com
    http://www.paulcarvill.com/2009/09/why-front-end-developers-are-so-important-to-the-future-of-businesses-o

    The roles of web developers and web designers have been around for over 15 years now, and the role of a client-side or front-end web developer started to mature into a distinct entity around 10 years ago, as the content-presentation-behaviour layer paradigm became embedded in people’s working methodologies [...]. Unfortunately the perception of the front-end developer’s role remains somewhat coloured by an early association in observers’ minds with the other, loosely related role of the web designer. The role of web designer is an extremely important and valid one, but it is very different to that of the web developer, and the lack of a clear distinction between the two, in some people’s perception, is unhelpful and does both roles an injustice.

    #web #developer #intégrateur #frontend