you

Mortgage holidays: a break is tempting, but it will cost you

About 2m Britons have paused payments in the coronavirus crisis. Readers share their concerns

Almost one in five UK mortgage holders have now been granted a payment holiday, it was estimated this week – but people’s experiences of the process have been very different. Some struggled to get a holiday while others say it was almost too easy. And while for some it will add just a few pounds to their monthly mortgage bill, others say their outlay will rise by a lot more.

The Guardian asked readers who had applied for a mortgage payment holiday, or help with other debts, how they got on. Almost 200 people contacted us to tell us their stories.

Continue reading...




you

Teacher training: how do you prepare to teach a new class during lockdown?

An essential part of the recruitment process for any new teacher is meeting the pupils: but how do you do that under lockdown regulations?

If you are a teacher looking to move between schools during the coronavirus lockdown, how can you make the most of the online education experience with your new class? This is interesting new territory for many teachers. But there are thousands and thousands of teachers and pupils already learning remotely, in virtual schools – can they offer insights?

At a virtual school, lessons are delivered in line with each person’s personalised curriculum. Exactly as you would expect in a physical school space, pupils are taught how to interact with teachers, their peers and lesson content using whiteboard technology, quizzes, voice and video as well as receiving and sending assignment tasks. How should you introduce yourself to a new class, if you are meeting them online for the first time? If we consider how teachers deliver excellent classroom teaching practice in a physical space, how they prepare should not be approached any differently in an online environment.

Continue reading...



  • The ABCs of recruiting teachers remotely

you

Groundhog day getting you down? Here's my trick for breaking the monotony | Hadley Freeman

For a while supper and wine were sufficient; now I’m watching every adaptation that is better than its source material

I suspect I’m not alone in this but, at some point in the past two weeks, I hit my lockdown wall. Not literally, although apparently the “banging one’s head against the kitchen wall” phase kicks in on the eighth week, so that’s something to put in the diary. But last week I felt really, really over it. Enough with every day being the bloody same; enough with watching my children become increasingly fretful because they haven’t seen their friends in over a month, the equivalent of five years to a pair of four-year-olds. But unless you want to be one of those delightful people protesting the lockdown in the US, clothed in stars and stripes, AK-47s across their backs, what choice do we have? So, like Bill Murray, we grind out the same day, again and again and again.

The trick is to invent things to look forward to. For a while, “supper” and “wine” were sufficient, but repetition has dulled their efficacy. So I set myself challenges, driven on by the thrill of completion. Some people hear the word “challenge” and think, “Fitness!” Those people are not me. “Rewatch the entirety of 30 Rock” is more my speed. It is so soothing to watch a show about a luxuriantly bouffanted New York tycoon who isn’t a moron. In a just world, Jack Donaghy would be the US president instead of, well, you get the point. Then, sparked by his brilliant turn as Chris Tarrant on the ITV drama, Quiz, my next challenge was, “Watch every Michael Sheen performance in which he plays a real person”. This was deeply enjoyable, even if, in my lockdown-confused mind, I now think Brian Clough interviewed Richard Nixon on TV and Kenneth Williams was prime minister when Diana died.

Continue reading...




you

Vanessa Feltz: ‘Preserve your mystique at all costs’

The broadcaster, 58, on God, privacy, Mini convertibles, the rudeness of Madonna and her school nickname, Vanessa the Undresser

Even aged two, I was a child of great perspicacity. At nursery we had to answer the register by saying “Yes, Auntie” or “Present, please”, which I found deeply confusing. First, I thought, you’re not my auntie. And if I’m asking politely for a present every day, where on earth is it?

Vanessa the Undresser was my nickname at school, and I put that down to my parents. When a sex scene started on TV I was banished to the hall. I’d stand with one ear against the door desperately trying to work out who was doing what to whom and in what position. Thus was aroused in me an unshakable thirst for sex in all its permutations. I’ve never tired of it, menopause or not.

Continue reading...




you

'I'm losing my teenage years': young contend with life in lockdown

Teenagers affirm evidence that suggests they are particularly struggling with coronavirus crisis

When, in late February, Betsy Sheil turned 16, she thought she was staring down the end of secondary school, not the beginning of global pandemic.

“I was going to finish year 11 and do my GCSEs, then I was going to have a really long summer with my friends, hopefully go abroad – have that summer that everyone has.”

Continue reading...




you

Photography project: have you recently lost a loved one to coronavirus?

If you would like to take part in a project about love and loss, we’d like to hear from you

After losing his father and younger sister in recent years, photographer Simon Bray has an appreciation of what it feels like to lose someone close to you, and through his photography project Loved&Lost, he offers the opportunity to acknowledge and celebrate those who are no longer with us.

If you have lost someone through coronavirus and would like to take part, we’d like to hear from you.

Continue reading...




you

'You can't ask the virus for a truce': reopening America is Trump's biggest gamble

With states opening even as Covid-19 rages on, the president is rolling the dice on his career – and tens of thousands of lives

On Monday the Republican governor of Nebraska, Pete Ricketts, a close ally of Donald Trump and frequent visitor to the White House, opened his daily coronavirus briefing with a big announcement. “Today is May 4,” he said, “the first day of loosened restrictions statewide.”

With his declaration, Ricketts placed Nebraska at the vanguard of America’s reopening. Churches can now open their doors to worshippers, wedding bells and funeral dirges will be heard once more, hospitals can reschedule elective surgeries, and most Nebraskans will be able to resumehaving their hair cut, nails manicured, bodies massaged and skin tattooed.

Continue reading...




you

Young men more likely than women to break lockdown rules – UK survey

Researchers call on government to do more to explain need for physical distancing

Young men are more likely than young women to break lockdown rules, research suggests.

A team of psychologists led by Dr Liat Levita from the University of Sheffield surveyed 2,000 13- to 24-year-olds in the UK to examine the impact of the pandemic on young people.

Continue reading...




you

What kind of face mask will best protect you against coronavirus?

Your questions answered on what type of mask to wear to cut the risk of getting Covid-19

Yes. Different types of mask offer different levels of protection. Surgical grade N95 respirators offer the highest level of protection, preventing the user from becoming infected with Covid-19, followed by surgical grade masks. However, these masks are costly, in limited supply, contribute to landfill waste and are uncomfortable to wear for long periods. So even countries that have required the public to wear face masks have generally suggested such masks should be reserved for health workers or those at particularly high risk.

Continue reading...




you

Fifteen Cats From Tech Support Who Are Busy Making An Update To Your PC (Memes)

"Don't worry, I'm from tech support...Just lemme get a closer look."

Well...it seems like these cats are more interested in all those mouses and cookies hiding in your computer.  




you

How to Prevent Your Pet From Developing Separation Anxiety Post Quarantine

During this crazy time many of us have been confined to our homes and for some that means to be home 24/7 with our best friends. Our pets. However, because of this, many pets have become accustomed to having us home with them. 

But then the question is... will they be okay once bans are lifted and people are able to slowly go back to their daily routines?

Will they be able to handle their best friends not being by their side 24/7?

It is expected that many dogs (even cats!) can suffer from separation anxiety, and pet experts are saying that it's a good idea to get your pet ready and used to post-quarantine separation now, to minimize their stress later. 

Here are some useful tips for both dog and cat owners.

More videos on Cheezburger's Youtube Channel 





you

You should've thought about it...




you

These LED Shades Will Blind You With Science

Unless you’re particularly fond of looking at the back of 88 individual WS2812B LEDs, these “RGB Goggles” from [Mukesh Sankhla] won’t offer you much of a view. But from an outsider’s perspective, the smartphone-controlled glasses certainly make a statement. Just don’t try to operate any heavy machinery while wearing them. …read more




you

Roll Your Own – Toilet Paper

Toilet paper has become a hot button issue over the last month or so, and the pandemic prompted panic buying, and consequent shortages. Now there are adequate supplies, at least where this is being written, but sometimes one’s rolls aren’t the domestic items we’re all used to. This happened to …read more




you

GKIDS, Shout! Factory to Release Ride Your Wave Anime Film on Home Video

English dub cast includes Joey Richter, Merit Leighton, Sarah Williams, Michael Johnston




you

Tumblr Thread: Joyous Barista Is Definition Of Chaotic Good

Yay, this fun little Tumblr thread involves a barista dude talking about his overwhelmingly positive antics, at the cafe. Sounds like some people get with that energetic flow, while others want nothing to do with the bubbly optimism. Either way, it sounds like this barista is completely at peace with where they are in the game of life, and thus decided to have fun with the moment as it is. Those drink nicknames are something else. 




you

Can breathing exercises really help protect you from covid-19?

Taking deep breaths and forcing a cough can help clear mucus, but these techniques are unlikely to prevent or treat coronavirus infections – here’s why




you

Not getting enough sleep may make you misread emotions on Zoom calls

Getting less sleep for five nights in a row can make you view other people’s expressions more negatively, including facial reactions seen over video calls




you

AI lets you be Albert Einstein or the Mona Lisa on all your Zoom calls

An AI-powered application lets you create real-time deepfakes during video calls, making you appear to be speaking as anyone from Albert Einstein to the Mona Lisa




you

Drinking coffee appears to cause epigenetic changes to your DNA

Coffee has been linked to changes on our DNA that affect how active certain genes are. The finding may help explain some of coffee's touted health benefits




you

Are you more likely to die of covid-19 if you live in a polluted area?

A number of studies have found a link between air pollution and increased covid-19 deaths, but it isn't clear why. Both attack the lungs, but it could just be that more people live in polluted areas




you

How coronavirus is affecting your dreams – and what to do about it

Lockdown measures and pandemic-related anxiety may be making you have more vivid dreams. Evidence suggests talking about them can help




you

Scratching is contagious among strangers – if you are an orangutan

For orangutans, scratching is contagious – but unexpectedly, the behaviour is transmitted more between individuals that do not know each other well




you

You can 'see' the closest known black hole to Earth with the naked eye

Astronomers found a star that appeared to be orbiting nothing at all – but it’s actually the closest black hole ever at just 1000 light years away




you

Corruptin’ the Youth

Fortunately, I haven’t been made to drink hemlock yet, but I did get this nice message. Over a decade ago, I found your blog. I was an English major at the time, but I found the debate over science more intriguing and changed my major to biology. The course work was so fun, I sailed […]



  • Miscellaneous and Meta

you

You Left







you

5 Burgers If You Agree!!!1!1









you

Putting your own stink on a technique

Scotland’s Valerie Anderson (bedeckedbeads) has played and played with Sonya Girodon’s free tutorial. With this latest brooch, Valerie puts her own spin on the process with deep watery colors. And if you look at the side view you’ll see how her curved strips add another departure. When you put your own “stink” on a technique […] Read more




you

You Touch Public Surfaces All Day. Here's How to Stay Safe From Coronavirus.

From the moment COVID-19 started spreading in the U.S., you probably heard recommendations to wash your hands after contact with what are called high-touch surfaces: elevator buttons, public fauc...





you

Coronavirus: How do you social distance in schools?

If pupils are allowed to return to school after the lockdown, how would they keep 2m apart?




you

Coronavirus schools return: Can you really keep children 2m apart?

What's it like in a school that has re-opened? Denmark and Germany show how it might look.




you

My glamorous life: are you ready to math?

For the past two years, I’ve been publishing a daily work-and-life diary on Basecamp, sharing it with a few friends. This private writing work supplanted the daily public writing I used to do here. In an experiment, I’m publishing yesterday’s diary entry here today: YESTERDAY, Ava and a few of her schoolmates participated in a […]

The post My glamorous life: are you ready to math? appeared first on Zeldman on Web & Interaction Design.




you

You got this.

I’M LEARNING new tech and it’s hard. Maybe you’re in the same boat. Through the rosy lens of memory, learning HTML and Photoshop back in the day was a breeze. It wasn’t, really. And CSS, when it came along in 1996, was even tougher to grasp—in part because it was mostly theoretical, due to poor […]

The post You got this. appeared first on Zeldman on Web & Interaction Design.




you

Can you build Node add-ons in Rust? Yes.

#336 — April 30, 2020

Read on the Web

Be sure to check out the Tools and Libraries section today as there have been quite a lot of (minor) releases.. from MIDI parsing and JPEG decoding to generating TypeScript types from a Postgres database.. maybe there's something for you ????

Node Weekly

Middy 1.0: A Node Middleware Framework for AWS Lambda — Middy’s aim is to make writing serverless functions (hosted on AWS Lambda) easier by providing a familiar middleware abstraction to Node developers. The example in this post shows off the main benefit.

Luciano Mammino

Rust and Node.js: A Match Made in Heaven? — This is technical stuff but using other languages, such as Rust, for building add-ons for Node is an interesting area.

Anshul Goyal

Faster CI/CD for All Your Software Projects Using Buildkite — See how Shopify scaled from 300 to 1800 engineers while keeping their build times under 5 minutes.

Buildkite sponsor

Editly: Slick, Declarative Command Line Video Editing — I’ve long wondered why there isn’t a good way to “code” video editing at the command line other than wrangling with arcane ffmpeg options. Well.. this uses ffmpeg, but it handles a lot of the wrangling for you.

Mikael Finstad

Node v14.1.0 (Current) ReleasedLast week we featured the release of Node 14.0 and 14.1 is already with us. Principally bug fixes, plus an update to the OpenSSL dependency.

Bethany Nicolle Griggs

???? Jobs

Backend Developer (Skien, Norway) — We are looking for a full-stack dev with a solid track record to help us adapt to tomorrow's security requirements.

OKAY

Find a Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

ℹ️ If you're interested in running a job listing in this newsletter, there's more info here.

???? Articles & Tutorials

Four Tools for Web Scraping in Node — A walk through of a few different libraries (for scraping and parsing data directly from websites) to see how they work and how they compare to each other.

Sam Agnew

Six Platforms for Hosting a Node App in 2020 — Of course, you can run a Node app pretty much anywhere there’s a server, but some platforms make it easier than others. These all have free tiers too. Glitch, Now.sh (now Vercel) and Heroku are particular favorites of ours at Cooperpress.

Amit Bendor

Getting Started with NuxtJS — Learn how to create Vue.js-powered server-side rendered apps with NuxtJS including configuring an app and deploying it on Heroku.

Timi Omoyeni

The Node.js Security Handbook — Improve the security of your Node.js app with the Node.js security handbook made for developers.

Sqreen sponsor

A Collection of Challenging TypeScript Exercises“The goal: Let everyone play with many different TypeScript features and get an overview of TypeScript capabilities and principles.”

Marat Dulin

Exploring Node.js Internals — It’s reasonably elementary but Aleem Isiaka explains how the internals of Node.js interact with one another on a simple task such as creating a file.

Smashing Magazine

Creating CommonJS-Based npm Packages via TypeScript

Dr. Axel Rauschmayer

Turning Vue Components Into Reusable npm Packages — Outlines how you can reuse Vue components across your projects by automating your process to bundle, test, document, and publish your components.

Sjoerd de voorhoede

???? Tools, Resources and Libraries

Node v12.16.3 (LTS) Released — OpenSSL gets an update, and warnings are no longer printed for modules that use conditional exports or package name self resolution.

Node.js

pm2 4.4 Released: The Node Production Process Manager — A very mature and widely used process manager that includes a load balancer for keeping Node apps alive forever and to reload them without downtime. v4.4 improves the Node 14 compatibility.

Alexandre Strzelewicz

jpeg-js: A Pure JavaScript JPEG Encoder and Decoder — It admits it’s far slower than native alternatives but if you need a pure JavaScript JPEG encoder/decoder, this is where to go.

Eugene Ware

AppSignal Now Supports Node.js: Roadmap for the Coming Weeks

AppSignal sponsor

node-stream-zip: For Fast Reading of ZIP Archives — Reads chunk by chunk rather than all in one go so it’s memory friendly.

Dimitri Witkowski

JZZ: A MIDI Library for Node and Web Browsers — Send, receive and play MIDI messages from both Node and the browser on Linux, macOS and Windows.

Sema

Vegemite: A Pub/Sub State Manager — Inspired by Immer and Redux, full TypeScript support, and sized at only 623 bytes, which includes one dependency.

Luke Edwards

Kanel: Generate TypeScript Types from Postgres

Kristian Dupont

web-worker: Consistent Web Workers for the Browser and Node — In Node it works as a web-compatible Worker implementation atop worker_threads. In the browser it’s an alias for Worker.

Jason Miller

node-csv-parse: A CSV Parser Implementing the stream.Transform API

Adaltas




you

Life and struggle after YouTube fame

Dax was one of YouTube's first stars, but 13 years later, few people remember his name. Can a vlogging legend seize glory again?




you

Coronavirus: Here's how you can stop bad information from going viral

Experts are calling on the public to practise ‘information hygiene’ to help stop the spread of falsehoods online.




you

Birth in a pandemic: 'You are stronger than you think'

Coronavirus is throwing many birth plans up in the air and leading some health trusts to increase home births.




you

The shop where you can still buy huge bags of pasta

Wholesalers are opening their doors to members of the public keen to buy supplies in bulk.




you

How to Make Your React Apps 15x Faster

Without any modifications, React is really fast as-is. There are, however, a few things that you can do to improve performance. While working at HelloSign, I discovered some quick fixes that made our apps incredibly snappy. With these simple changes, I was able to reduce render time from over 3000 milliseconds to less than 200 milliseconds.

Without any modifications, React is really fast as-is. There are, however, a few things that you can do to improve performance. While working at HelloSign, I discovered some quick fixes that made our apps incredibly snappy. With these simple changes, I was able to reduce render time from over 3000 milliseconds to less than 200 milliseconds.

Editor’s Note:

Check out our upcoming React University Workshops. Our next workshop, React 2016, will be held on April 23 at Microsoft Reactor in San Francisco and will offer a deep dive into creating modern Single-Page Applications (SPA) using React, Redux, React Router, Immutable.js, and Webpack. Also, if you’re interested in learning the basics about what it takes to be a Data Visualization Engineer, check out React and D3.

Introduction

HelloSign is a cloud-based electronic signature tool founded in 2010. As you can imagine, HelloSign is a very JavaScript-heavy codebase. A lot of client-side behavior is necessary to create a rich signing experience. Lately, we’ve moved much of our codebase toward React. In fact, in many places we’ve broken up our codebase into several single-page applications written in React.

Although the HelloSign team was happy with React’s performance before I initially joined the project, I quickly found some low-hanging fruit that could improve runtime speed. Here are the steps you should take to see similar improvements in your own applications.

Create a Baseline Performance Measurement

Before you begin, you should take a baseline measurement. Optimizations are meaningless if you can’t verify the results of your modifications.

Thankfully, Chrome has excellent developer tools to help. One, little-used feature of Chrome’s DevTools is the “Timeline” tool. It allows you to record and analyze all activity in your application. You can record interactions on the page, locate potential memory leaks, measure the total time it takes to perform a task, and identify areas of potential jank. Best of all, the results can be recorded for comparison with your final benchmark.

There’s actually a really awesome video on Chrome’s DevTools that goes into detail about the “Timeline” feature. You can view it here.

We chose to measure the time elapsed between the initial paint of our signer page to the final rendering of the entire page. The initial download of our bundles still needs some optimization, but we’re neither going to mess with nor measure this parameter. It’s fairly easy and consistent to test render time rather than trying to click areas around the page and trying to measure its performance in a repeatable way. Then, all we needed to do was to go to the signer page, open Chrome’s DevTools “Timeline” tab, and refresh the page.

As a side note, make sure that when performing this test, the “Paint” and “Screenshots” boxes are checked so that you can see what the user sees as the page is being rendered.

After all that, we determined that our rendering time from initial paint was a little over 3 seconds. Much too long. Luckily, there was little we had to do to make this quite a bit faster.

Set NODE_ENV to Production

This step is easy to get wrong, even if you are well-informed. React’s documentation provides an overview, but doesn’t provide many specifics. React has great developer warnings and error checking, but these are only intended for development; if you take a look at React’s source code, you’ll see a lot of if (process.env.NODE_ENV != 'production') checks. This is running extra code that is not needed by the end user, not to mention that calling process.env.NODE_ENV is extremely slow. For production environments, we can remove all this unnecessary code. Just keep in mind that you don’t want to do this in development because it will remove all those helpful developer warnings.

If you’re using Webpack, you can use DefinePlugin to replace all instances of process.env.NODE_ENV with 'production', and then use the UglifyJsPlugin to remove all the dead code that no longer runs. Here’s a sample setup that you might use:

// webpack.config.js
  ...
  plugins: [
    new webpack.DefinePlugin({
      // A common mistake is not stringifying the "production" string.
      'process.env.NODE_ENV': JSON.stringify('production')
    }),
    new webpack.optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      }
    })
  ]
  ...

React Constant and Inline Elements Transforms

React 0.14 introduced support for certain transpile time optimizations with Constant and Inline Element Babel Transforms. React Constant Elements treats JSX elements as values and hoists them to a higher scope. In other words, it hoists static elements and thereby reduces calls to React.createClass. React Inline Elements converts JSX elements into the object literals that they eventually return. Again, this minimizes the runtime calls to React.createClass.

The implementation is rather simple. We added our Babel configuration in our package.json file:

// package.json
  ...
  "babel": {
    "env": {
      "production": {
        "plugins": [
          "transform-react-constant-elements",
          "transform-react-inline-elements"
        ]
      }
    }
  },
  ...

Final Measurement / Conclusion

Lastly, you’ll want to run the benchmark again and compare it with that saved benchmark from before these optimizations. As you can see, the total runtime profile ends 200ms after initial paint! That’s 15 times faster!




you

A young indian fan of Brazil smiles

KOLKATA, INDIA - OCTOBER 28: A young indian fan of Brazil smiles prior the FIFA U-17 World Cup India 2017 3rd Place match between Brazil and Mali at Vivekananda Yuba Bharati Krirangan on October 28, 2017 in Kolkata, India. (Photo by Buda Mendes - FIFA/FIFA via Getty Images)




you

Paulinho of Brazil battles for the ball with goalkeeper Youssouf Koita of Mali

KOLKATA, INDIA - OCTOBER 28: Paulinho (C) of Brazil battles for the ball with goalkeeper Youssouf Koita of Mali during the FIFA U-17 World Cup India 2017 3rd Place match between Brazil and Mali at Vivekananda Yuba Bharati Krirangan on October 28, 2017 in Kolkata, India. (Photo by Buda Mendes - FIFA/FIFA via Getty Images)




you

Philip Foden of England poses with the winners trophy and best young player trophy

Philip Foden of England poses with the winners trophy and best young player trophy during the FIFA U-17 World Cup India 2017 Final match between England and Spain at Vivekananda Yuba Bharati Krirangan on October 28, 2017 in Kolkata, India. (Photo by Jan Kruger - FIFA/FIFA via Getty Images)