Set up React Toolchain from the Ground up
- This guide is designed for those who want to get their hands dirty to get up and running with a React application from scratch with no preconfigured environment, or hidden magic behind the scenes, or at least have some idea of what’s going on under the hood.
- I prefer to use brace expansion (snippets below) for installing similarly named packages; its hackable, prettier, and time saver.
- I specified ’src/components’ as my module directory for tutorial’s purpose, but as your app grows you'll have to override that setting based on your needs.
- Under tests/ directory create App.test.js file.
- The first time this test is run, Jest creates a snapshot file.
A $1, Linux-Capable, Hand-Solderable Processor
- It’s also Allwinner that released pretty much the entire software chain for the A13 as open source, meaning that – thanks to a lot of community work to push support upstream – you can use official Debian releases and mainline Linux kernels on this chip.
- The big advantage the Raspberry Pi has is not the quality of the software but a PR one: even on this Hackaday article, about something you can’t do with the Pi because the chips are neither home-solderable nor available to buy, which is also prohibited by the Pi’s bootloader license, and which it also lacks the documentation and tools for, the Pi is still presented as the better option.
- Would be great to see an article on making a small board with one of these or similar and getting it to a point where it can do a hello world example.Something to bridge the gap between a bare metal arduino script and a full linux kernel running and doing something useful.
Artificial genes show life does not have to be based on DNA
- Tickets selling fast: book your place now!
- A selection of top articles hand-picked by our editors available only to registered users.
- Check your subscription package, update your details, renew or upgrade.
- Life need not be based on DNA.
- So say researchers who have created two new versions of the iconic molecule, which retain its double helix shape but are thinner or chunkier than the original.
- To continue reading this premium article, subscribe for unlimited access.
- Existing subscribers, please log in with your email address to link your account access.
Only one in five UK adults would choose to live forever if they could
- In the survey, carried out in August by Sapio Research on a representative sample of 2026 UK adults, 21 per cent of people said they would be very likely to accept an offer of immortality.
- While this is a hypothetical question, some gerontologists believe that radical life extension – if not actual immortality – may be available to people who are alive today.
- Of those who expressed concern about radical life extension, 44 per cent agreed with the statement “I think we should just accept our natural lifespan”.
- Nonetheless, in a separate question, 58 per cent of people agreed with the statement “longer life expectancies are a good thing”.
- However, “healthspan” – the number of years lived in relatively good health – has not increased as much as lifespan, meaning concerns about radical life extension are probably well-founded.
Time to Rebuild Alpine Linux Docker Containers After Package Manager Patch
- Informa PLC's registered office is 5 Howick Place, London SW1P 1WG.
- Anybody using Alpine Linux in containers has a little patching to do.
- It appears a little problem has been discovered in apk, the distribution's default package manager, that makes all Alpine-derived images suspect.
- Alpine Linux is an uber lightweight distribution (it weighs in at only 5 MB) which has been Docker's distro of choice for containers since 2016.
- Like a lot of things Linux, Alpine is a fork of another Linux distro, the no-longer-in-development Linux Router Project (LRP) which was intended for routers, terminal servers, embedded networking systems and the like.
- This is particularly troubling, Justicz said, because apk packages are generally not served over secure TLS connections.
- What this means is that an attacker could intercept a package request as a Alpine Linux Docker image is being built and add malicious code that target machines would then unpack and run within the Docker container.
Opportunities and challenges in automating logistics with drones
- Drones could allow companies to bypass the many challenges involved with the "last mile" of delivery — the last leg of the journey when a package arrives at the customer's doorstep.
- E-commerce companies want to cut delivery times and costs to improve their customer satisfaction and loyalty, while legacy retailers seek the same advantages to grow their online sales.
- Meanwhile, logistics providers are experimenting with drone delivery to cut costs and ward off new competition from startups and technology companies, which have latched on to drone delivery as a potential path to disrupt (or partner with) legacy logistics firms.
- In a new report, Business Insider Intelligence examines the benefits drone delivery can provide as an e-commerce fulfillment method, and explains the different approaches companies are taking as they experiment with the nascent technology.
Why it's worth learning Go
- The details particular to a new package’s domain will still demand a quick glance through the package documentation but the idioms and structure of the core language tend to be familiar (if not self-evident).
- Go has a vibrant ecosystem of third party packages that adapt existing functionality and implement proprietary APIs. But working directly through the standard library is often as expedient (and nearly always more direct) than working through a userland wrapper.
- Not only does a strong standard API reduce the number of new libraries for developers to learn, but time that would otherwise be spent looking for alternatives and managing dependencies can now be applied to the specifics of the problem at hand.
The 2018 Lexus LC 500 is my favorite super coupe
- With its massive grille, neatly curved rear and massive wheels, it truly looked like the company had managed to turn an ambitious design exercise into a street-legal production car costing around $100,000.
- But few cars on sale can match it for drama, as the lack of turbochargers means that the LC 500 basically begs you to rev it to the limiter in every gear.
- The fantastic exterior design may get all of the attention, but it seems like Lexus spent just as much time on the luscious cabin.
- It's extraordinarily comfortable for long trips, extremely exciting for back-road blasts and comes with head-turning looks that you usually only get with supercars.
- Look, it's hard to call anything with a six-figure price tag a "value option." But nothing else for $100,000 offers so much excitement, comfort and style in one neat package.
Kodable is hiring a Game Developer to teach kids to code
- Help us teach the skills kids need in the 21st Century.
- Kodable teaches programming to kids 4-10.
- Kodable is a programming curriculum used by over 50% of elementary schools in the United States.
- We make computer science easy to teach through an all-in-one curriculum designed for a typical elementary school teacher.
- Everything they need is presented in one complete package, requiring no previous computer science experience to use it.
- Teachers no longer need to use cobbled together solutions that fall short of teaching students to code.
- Furthermore, by enabling teachers to start teaching outcomes oriented computer science in Kindergarten, it gives administrators and purchasers proof that Kodable can be used with the entire student population.
Eat Your Food, and the Package Too
- Around tables strewn with Exacto knives, bowls, cutting boards, tape, funnels, and bags of hemp powder, mushroom parts, and sugar, a dozen graduate students from the packaging and industrial-design departments at Pratt Institute, in Brooklyn, New York, brainstormed.
- To create new forms of food packaging to replace the unsustainable designs upon which modern life seems to depend: single-use plastic beverage cups, lids, straws, and bottles.
- Similarly, the Swedish design studio Tomorrow Machine developed a line of food packaging, dubbed “This Too Shall Pass,” that includes a small bottle of cooking oil made from caramelized sugar coated with wax.
- As part of his “Disappearing Package” thesis project, New York-based designer Aaron Mickelson eliminated the outer container and plastic shrink wrap of boxed tea bags by impermanently gluing the bags into an accordion-style book.