things

5 things to Note in a New Phoenix 1.5 App

Yesterday (Apr 22, 2020) Phoenix 1.5 was officially released ????

There’s a long list of changes and improvements, but the big feature is better integration with LiveView. I’ve previously written about why LiveView interests me, so I was quite excited to dive into this release. After watching this awesome Twitter clone in 15 minutes demo from Chris McCord, I had to try out some of the new features. I generated a new phoenix app with the —live flag, installed dependencies and started a server. Here are five new features I noticed.

1. Database actions in browser

Oops! Looks like I forgot to configure the database before starting the server. There’s now a helpful message and a button in the browser that can run the command for me. There’s a similar button when migrations are pending. This is a really smooth UX to fix a very common error while developing.

2. New Tagline!

Peace-of-mind from prototype to production

This phrase looked unfamiliar, so I went digging. Turns out that the old tagline was “A productive web framework that does not compromise speed or maintainability.” (I also noticed that it was previously “speed and maintainability” until this PR from 2019 was opened on a dare to clarify the language.)

Chris McCord updated the language while adding phx.new —live. I love this framing, particularly for LiveView. I am very excited about the progressive enhancement path for LiveView apps. A project can start out with regular, server rendered HTML templates. This is a very productive way to work, and a great way to start a prototype for just about any website. Updating those templates to work with LiveView is an easier lift than a full rebuild in React. And finally, when you’re in production you have the peace-of-mind that the reliable BEAM provides.

3. Live dependency search

There’s now a big search bar right in the middle of the page. You can search through the dependencies in your app and navigate to the hexdocs for them. This doesn’t seem terribly useful, but is a cool demo of LiveView. The implementation is a good illustration of how compact a feature like this can be using LiveView.

4. LiveDashboard

This is the really cool one. In the top right of that page you see a link to LiveDashboard. Clicking it will take you to a page that looks like this.

This page is built with LiveView, and gives you a ton of information about your running system. This landing page has version numbers, memory usage, and atom count.

Clicking over to metrics brings you to this page.

By default it will tell you how long average queries are taking, but the metrics are configurable so you can define your own custom telemetry options.

The other tabs include process info, so you can monitor specific processes in your system:

And ETS tables, the in memory storage that many apps use for caching:

The dashboard is a really nice thing to get out of the box and makes it free for application developers to monitor their running system. It’s also developing very quickly. I tried an earlier version a week ago which didn’t support ETS tables, ports or sockets. I made a note to look into adding them, but it's already done! I’m excited to follow along and see where this project goes.

5. New LiveView generators

1.5 introduces a new generator mix phx.gen.live.. Like other generators, it will create all the code you need for a basic resource in your app, including the LiveView modules. The interesting part here is that it introduces patterns for organizing LiveView code, which is something I have previously been unsure about. At first glance, the new organization makes sense and feels like a good approach. I look forward to seeing how this works on a real project.

Conclusion

The 1.5 release brings more changes under the hood of course, but these are the first five differences you’ll notice after generating a new Phoenix 1.5 app with LiveView. Congratulations to the entire Phoenix team, but particularly José Valim and Chris McCord for getting this work released.



  • Code
  • Back-end Engineering

things

Mounting device for all-steel card clothings

In the mounting device (1) in accordance with the invention, the mounting arm (4) is held on a guide arrangement (11), the guide direction of said guide arrangement being oriented parallel to the rotational axis of the drum (3) to be fitted. A force measuring arrangement 21 is provided to detect the tensile force in the profile wire 9, said force measuring arrangement detecting the total force acting on the mounting arm (4), at least in longitudinal direction of the wire. In doing so, essentially all the forces acting on the profile wire (9) are detected, namely, the braking forces of a brake arrangement (25) as well as the braking forces of other arrangements such as, for example of alignment arrangements 28, tilting arrangements 32 or the like.




things

10 things you should know about the Wiggle New Forest Spring Sportive

The Wiggle New Forest Spring Sportive is set to take place this weekend. But how much do you know about the event? here's our round-up of ten things you should know.






things

Oh My! Crazy Things People Say In A Bar

Grey Eagle, Asheville bartender and photographer Sandlin Gaither had the idea to write a book after years and experiences of serving, listening, and talking with his patrons. His book is called "Crazy Things People Say In A Bar" and is built on the strange, curious and colorful quotes of those who have had a bit of alcohol. What else could a reader ask for?




things

Lily Collins Reveals First Things She Will Do Once Coronavirus Lockdown Is Lifted

During the interview, the 'Tolkien' actress additionally recalls spending her birthday the past two years either in a bunker for 'Inheritance' filming or self-isolating at home due to the pandemic.




things

Lily Collins Reveals First Things She Will Do Once Coronavirus Lockdown Is Lifted

During the interview, the 'Tolkien' actress additionally recalls spending her birthday the past two years either in a bunker for 'Inheritance' filming or self-isolating at home due to the pandemic.




things

Tiny Beautiful Things - Born in East Berlin - Just Ahead is Darkness - Philippa Kelly

This week on Open Air, KALW’s weekly radio magazine for the Bay Area performing arts, host David Latulippe talks with Susi Damilano (pictured, left), star of the new production of Tiny Beautiful Things at SF Playhouse - and also the company’s producing director. Performances are through March 7 at SF Playhouse (450 Post St.) in San Francisco.





things

A new month brings new things to do at home this weekend


May is here! As we welcome a new month under the stay-home order, here are even more suggestions for things you can do at home.




things

Sunday Best: A reminder that fashion, and all things joyful, will rise again  


Red carpets might be going on indefinite hiatus as the international events calendar grinds to a halt. For now, enjoy these photos from the "Mulan" premiere. Sigh.




things

A new month brings new things to do at home this weekend


May is here! As we welcome a new month under the stay-home order, here are even more suggestions for things you can do at home.





things

A new month brings new things to do at home this weekend


May is here! As we welcome a new month under the stay-home order, here are even more suggestions for things you can do at home.




things

Things to do this weekend, while under the coronavirus stay-at-home mandate


We've been asked to stay at home and wait out the coronavirus pandemic. Here are some ways to help you pass the time this weekend.




things

A new month brings new things to do at home this weekend


May is here! As we welcome a new month under the stay-home order, here are even more suggestions for things you can do at home.





things

Top Internet of Things articles and tutorials

This article compiles all of the previous top tutorials lists.



  • Internet of Things

things

Top Internet of Things articles and tutorials (December 2017)

The most popular articles for 2017 on the Internet of Things are highlighted in this article for your convenience.



  • Internet of Things

things

How making AI do goofy things exposes its limitations

In her book, "You Look Like a Thing and I Love You," Janelle Shane poses the pitfalls of AI dependence




things

Column: 5 Things We Learned From Fight Night

[Written by Vejay Steede] Bermuda’s latest high class evening of prizefighting was held at the always elegant Fairmont Southampton last Saturday night. It was an awesome event, where government officials rubbed shoulders with hard-working blue collar Bermudians to sing, dance, chant, and wave their flags in support of our local pugilists as they squared off […]

(Click to read the full article)




things

The Loudness of Unsaid Things with Hilde Hinton




things

Perth's housing market is still lagging behind and it will take more than a rate cut to fix things

Housing oversupply and sluggish migration rates mean today's rate cut will do little to stimulate the Perth property market, as the city's average property price falls another 0.8 per cent.




things

'These things can't wait': Sexual health still a priority

A Mount Isa medical professional has concerns a rise in unwanted pregnancies and people contracting sexually transmitted infections could result, as services demand drops since the coronavirus pandemic was declared.




things

'I don't want to be randomly licking things': The neurological disorder heightened by coronavirus fears

People with Tourette syndrome appeal for compassion as pandemic panic exacerbates their neurological condition, causing their anxieties and tics to worsen.




things

The Spirit of Things




things

10 things you can do right now to help keep you and your family safe from coronavirus

As Australians start to set up their home offices and practice social distancing, we've assembled 10 simple steps every Australian can take to keep safe amid the COVID-19 panic.




things

The weekend's drenching rain could be a sign of things to come

Who would have thought weather would be providing the good news a few months ago? The weekend's rainfall is a welcome relief after years of drought and there could be more on the way.




things

Coronavirus in Spain is 'frightening on every level'. So how did things get so bad there?

Spain is on a horrifying upward trajectory, having surpassed China in the number of coronavirus cases. Locals are frightened, the health system is under pressure and some experts suspect part of the outbreak may date back to a February soccer match in Italy.




things

Five things we learnt about podcasting at OzPod 2019

Podcasting has reached a tipping point in 2019. No longer the miniscule cousin of traditional radio, podcasting has gone mainstream, writes manager of ABC Audio Studios Kellie Riordan.



  • ABC Radio Melbourne
  • melbourne
  • Information and Communication:Broadcasting:ABC
  • Information and Communication:Broadcasting:Radio
  • Information and Communication:Journalism:All
  • Australia:VIC:Melbourne 3000

things

Things were already hard for Isabel's grandkids. A pandemic made things even tougher

The coronavirus pandemic has made life harder for most people, but spare a thought for 66-year-old Isabel McLeary, who is looking after three teenagers with disability who can now only access vital support online.




things

When schoolkids lock their mobile phones away in pouches for the day, amazing things happen

What would happen to the dynamic in a school if the students locked away their mobile phones for the day? A lot, it turns out and it's all positive.




things

Internet of Things rain gauge sends climate data to the cloud

An rain gauge that uploads real-time climate data to the internet from remote locations could save farmers time, money and help them keep better records.





things

Three Things You Should Check Before Buying Microchip Technology Incorporated (NASDAQ:MCHP) For Its Dividend

Is Microchip Technology Incorporated (NASDAQ:MCHP) a good dividend stock? How can we tell? Dividend paying companies...





things

Magic Kitchen LLC v. Good Things Int'l Ltd.

(California Court of Appeal) - In suit alleging dress infringement, unfair competition, and false advertising regarding a kitchen device known as the "Tartmaster," order granting directed verdict for defendants on trade dress claims, and finding for defendants on other claims are affirmed as there was no error or abuse of discretion.




things

All Good Things Must Come to an End

Every ending is a new beginning.

Last week I wrote a blog about getting the most out of life and maximizing our productivity for God’s specific calling on each of our lives. In the post, I shared my own understanding of what God is calling me to in this season including following him, loving my family well, pastoring the people of Transformation Church, and completing my doctorate.

Unfortunately, I have also come to a point where writing this blog twice a week is no longer the best use of the resources of time and mental energy that God has given me. I will continue to write occasionally and post clips from sermons at my personal website, DerwinLGray.com and invite you to join me there.

I am very thankful to Christianity Today and editor Mark Galli for encouraging an important discussion of multiethnic churches and for their continued commitment to reflect Christ in our world through this website and magazine.

Thank you for joining me on this journey. I hope you were encouraged and challenged by the posts I have written over the past nine months and will continue the conversation by reading my new book, The High-Definition Leader: Building Multiethnic Churches in a Multiethnic World, available September 15.

Marinate on that.

Continue reading...





things

15 Things You Didn't Know About Eva Marcille



The diva has arrived!



  • BET Star Cinema

things

Jay-Z Reveals One Of The Last Things Kobe Bryant Told Him



It was all about Bryant’s daughter Gianna.




things

The 5 Most Surprising Things We Learned About Tinashe



The rising R&B star covers COMPLEX.




things

A Primer to Prepare for the Connected Airport and the Internet of Things

TRB's Airport Cooperative Research Program (ACRP) Research Report 191: A Primer to Prepare for the Connected Airport and the Internet of Things introduces the concept of the Internet of Things (IoT) within the airport environment to leverage current and emerging technologies. IoT can be used to provide information and services to airport passengers with current and evolving technologies. Airports, airlines, and other stakeholders can use these innovative technologies and data to enhance the user exp...



  • http://www.trb.org/Resource.ashx?sn=acrp_rpt_191cover

things

Hard News: ICYMI: Links and things I've been doing

Like most people, I've been staying at home, doing a bit in the garden, cooking a lot and managing occasional bouts of anxiety. I've also written more here than I have done for a while. At a time when every Friday night has me missing my mates, it's been nice to see you all again.
But in the midst of it all – and after everything else disappeared – I got a new gig. It's with my friends from Spark Lab, it's called The Pivot Reports and it's a series of live-streamed shows over the next six weeks talking to business owners…




things

I've seen things you people wouldn't believe. Spacecraft with graphene sails powered by starlight and lasers

Nice way to get to Alpha Centauri though boffin tells us: 'Such a laser system could be used as a weapon'

Coin-sized pieces of graphene can be accelerated by firing low-powered lasers at them in micro-gravity conditions, say scientists. The technology could be a stepping stone to graphene solar sails, which could propel future spacecraft using starlight or a laser array.…




things

3/9/14 - Even the things I don't like




things

4/06/14 - When I said those things




things

03/16/15 - Things I liked about school




things

02/28/16 - Things I said I said




things

05/14/17 - Things would be different