Short URL v4.0.0 Released! – Add short URLs to your web app

Short URL v4.0.0 Released! – Add short URLs to your web app

https://ift.tt/32fp2TJ


Short URL v4.0.0

New Features

Added optional config validation (#50)

Up until now, the values defined in the short-url.php config file were always validated. However, this sometimes caused issues if the application’s config was cached before running composer require. A new config variable has been added which can now be used to toggle whether if the validation should be run. By default, the validation is now disabled.

To enable the validation, you can add the following line to your short-url.php config file:

'validate_config' => true,

Dropped Laravel 5.8 support (#51)

As of Short URL v4.0.0, Laravel 5.8 is no longer supported. Therefore, you must be using a minimum of Laravel 6.0 to use this library.

Note: The ShortURLBuilder will remain in version 3.* of the library but will be removed in version 4.0.0.

Removed the ShortURLBuilder facade (#53)

The ShortURLBuilder facade was deprecated in v3.0.0 to fit more with the Laravel naming conventions and standards. As of Short URL, v4.0.0 the ShortURLBuilder facade has now been removed in favour of a newer ShortURL facade.

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 13, 2020 at 04:06PM

Our Favorite Ad Blockers and Browser Extensions to Protect Privacy

Our Favorite Ad Blockers and Browser Extensions to Protect Privacy

https://ift.tt/32dCS91

Our Favorite Ad Blockers and Browser Extensions to Protect Privacy

Everything you do online—from browsing to shopping to using social networks—is tracked, typically as behavioral or advertising data. But browser extensions are simple, generally free add-ons that you can use to slow down or break this type of data collection, without completely ruining your experience of using the internet.

technology

via Wirecutter: Reviews for the Real World https://ift.tt/36ATBn1

July 13, 2020 at 01:07PM

MySQL Workbench 8.0.21 has been released

MySQL Workbench 8.0.21 has been released

https://ift.tt/3fpITTR

Dear MySQL users,

The MySQL developer tools team announces 8.0.21 as our General Availability
(GA) for MySQL Workbench 8.0.

For discussion, join the MySQL Workbench Forums:
http://forums.mysql.com/index.php?152

The release is now available in source and binary form for a number of
platforms from our download pages at:

http://dev.mysql.com/downloads/tools/workbench/

Enjoy!

technology

via Planet MySQL https://ift.tt/2iO8Ob8

July 13, 2020 at 10:51AM

Bible Experts Determine Goliath Died Of COVID-19

Bible Experts Determine Goliath Died Of COVID-19

https://ift.tt/3gKSS6l


ISRAEL—Working at an archaeological dig in the Valley of Elah, Bible experts have come up with an interesting theory concerning the death of Goliath, hulking giant of the Philistines who fought David in one-on-one combat.

Though he did have severe head trauma and neck problems, his death is now being counted as a COVID-19 death.

“While we didn’t test him per se, he exhibited a lot of the symptoms of COVID-19,” said one Bible scholar as he carefully worked to unearth some ancient face masks from Bible times. “The wooziness, the falling down, the headache — it’s all pretty clearly indicative of the novel coronavirus.” He also stated that the virus ran rampant among the Philistines because they did not social distance, while Israel was relatively safe because King Saul declared a lockdown.

One researcher suggested that Goliath did not die of coronavirus but simply ODed, having been stoned. But then the other researchers realized he was telling a dad joke and told him to shut up and keep digging.

At publishing time, scholars had proposed that everyone who died in the Flood, the Israelite conquest of Canaan, and the flattening of Sodom and Gomorrah also died of COVID-19.

Breaking: PayPal Now Available

Many of you told us you wouldn’t subscribe until we offered PayPal as a payment option. You apparently weren’t bluffing, so we finally caved and added PayPal. Now — like the unbeliever faced with God’s invisible qualities displayed in nature — you are without excuse.


fun

via The Babylon Bee https://babylonbee.com

July 10, 2020 at 12:05PM

Facial mocap comes to Unreal Engine via new iPhone app

Facial mocap comes to Unreal Engine via new iPhone app

https://ift.tt/3emc6Ol

A new iOS app for Unreal Engine uses your iPhone to capture your facial expressions and animate an onscreen character in real time. Live Link Face is designed to work in both professional game production settings, like a soundstage with actors in full mocap suits, and amaetur ones, such as a single artist at a desk, according to a blog post from Unreal Engine developer Epic Games. The app is available now from Apple’s app store.

The app uses Apple’s augmented reality platform, ARKit, and the iPhone’s front-facing TrueDepth camera (introduced on the iPhone X in 2017) to capture facial features and transmit the data to Unreal Engine. The app also captures head and neck movement.

To support collaborative work, Live Link Face uses multicast networking to synchronize with multiple devices at once. Developers promise “robust timecode support and precise frame accuracy” to further support multi-device synchronization. The “tentacle sync” feature allows the app to connect with a master clock on stage.

The post doesn’t mention whether an Android equivalent app is in the works. This could be because it would be near-impossible to ensure this mocap app would work with the dozens of different front camera setups found in the many Android phones available. Developing it for the iPhone means Epic could target the TrueDepth camera and not have to worry about variations on it.

Unreal Engine is one of the most widely-used production tools for games and other media, included in titles as big as Fortnite and The Mandalorian. Epic plans to continue making Unreal widely available, saying, “continued democratization of real-time tools for virtual production is one of the primary goals of Unreal Engine development.” 

geeky,Tech,Database

via Engadget http://www.engadget.com

July 9, 2020 at 04:12PM

Sequel Ace MySQL Client for MacOS

Sequel Ace MySQL Client for MacOS

https://ift.tt/2O8dfhK


Sequel Ace is the sequel to longtime MacOS tool Sequel Pro, a popular go-to application for many developers to manage MySQL and MariaDB databases.

Sequel Ace takes the torch as a fork of the popular Sequel Pro app, (which was itself a fork of CocoaMySQL). If you’re not aware, recently, Sequel Pro has become somewhat unstable, frequently crashing for many, and developers are generally flocking for other apps.

In light of the state of Sequel Pro, collaborator Jakub Kašpar opened an an issue on the sequelpro repo with the following description:

Hey everybody!

After months of complete inactivity on this project, and months/years without any release, the time has come and community took over and forked Sequel Pro.

For months there was also no activity from Core team on Slack, so I think this was and is the right move. With almost 1100 open issues, it’s currently not likely to make this project alive again.

I updated Readme today to let everyone know what’s happening and I’ll pin this issue.

New project is called Sequel Ace and is available also on Mac AppStore.

Please refer to the new project and give it a try – https://ift.tt/3eJOgNf

If you find any issues or you have some feature request, open an issue there, not here in this repo.

Thanks for your patience over last couple of months and I hope we will be able to keep this project alive under different name.

Thanks, Jakub

You can install Sequel Ace from the App Store or through the MAS CLI:

brew install mas-cli/tap/mas
mas install 1518036000

To learn more about Sequel Ace, you can get installation instructions and view the source code on GitHub at Sequel-Ace/Sequel-Ace. We will have an eager eye out to see how Sequel Ace progresses, and hope for the project’s continued growth!

Filed in:
News

programming

via Laravel News https://ift.tt/14pzU0d

July 8, 2020 at 09:22AM

Laravel Debugbar vs. Telescope Toolbar

Laravel Debugbar vs. Telescope Toolbar

https://ift.tt/2O1Wxk5


TLDR;

Give both a go. If you already use Telescope, I would recommend Telescope Toolbar to prevent overhead.
Otherwise I still prefer Laravel Debugbar, but if you feel it’s too heavy, give Telescope Toolbar a try!

Let me know if you have any improvements for Telescope Toolbar or (Laravel) Debugbar!

A little history

When we started using Laravel at Fruitcake, it was around the time of Laravel 3. It didn’t have Composer support yet and was a bit limited, but did contain things like Eloquent and Blade templates.
One of the things it also contained was a small toolbar called ‘Anbu’, created by Dayle Rees.

Anbu

When Laravel 4 came around the corner, it was pretty great with Composer support etc. But there were 2 main issues we had with it:

  • PhpStorm didn’t understand Facades
  • No more (Anbu) development toolbar

For the first one, I created laravel-ide-helper and for the second one, I came accross PHP Debugbar.

Taylor starred Debugbar

After toying around with it, I quickly got a proof-of-concept working. And just before the official Laravel 4.0 release at the end of 2013, Laravel Debugbar was released, already providing most of the features you use today:

Debugbar V1

During the last 7 years the layout changed to make it Laravel specific, new collectors have been added and functionality has improved (also upstream to debugbar).

Debugbar V3

5 years after (November 2018), Laravel released Laravel Telescope, giving Laravel developers a first-party tool. Not a direct replacement for Debugbar, but it does have similar functionality.

Laravel Telescope

During the last 7 years, the core of Debugbar didn’t change and was still using a lot of jQuery. I looked into the Symfony toolbar as modern alternative a few times, but it didn’t warrant such a big rewrite.
When Telescope launched, I liked the general approach with Storage etc and Symfony Toolbar was now decoupled enough to use stand-alone. Thus Laravel Telescope Toolbar was born.

Telescope Toolbar

I recently did a poll to see how many of my followers use Telescope or Laravel Debugbar, and the majority at this moment still uses Debugbar (which is great!)

Technological differences

Laravel Debugbar uses Collectors to gather data during the request cycle. At the end of the request, all data is collected, formatted and stored (usually in the storage dir, but DB can be used). For normal requests, the data is then flashed in the session and rendered on the next requests. For ajax requests the ID is passed in the headers and loaded through an EventListener on XHR requests. All gathered data is loaded and formatted directly by the Debugbar, which can cause delays for large datasets (eg. 1000+ queries). This usually isn’t a big problem, but more of an indicator that you should optimize 😉
3rd party libraries are used (Font Awesome, Highlight.js, jQuery), but these are scoped to avoid interference.

Debugbar Dependencies

Telescope Toolbar only displays data that is already gathered by Telescope. The data is always loaded async, after the page has loaded, for both normal and ajax requests. No external dependancies are used to prevent library collisions, just plain Javascript and SVG icons. The Toolbar content is rendered by PHP (Blade templates), so it doesn’t freeze your browser when displaying a lot of data (that much), and it’s easier to show just the summary and redirect to Telescope for the rest.

In short;
Debugbar is both the toolbar and the detailed info, Telescope Toolbar is just the toolbar and leverages Telescope for the rest.
Telescope Toolbar is less browser-heavy, but doesn’t show all information in the toolbar itself.

Features

Both toolbars provide the same basic functionality:

  • Debug queries
  • Show current route/controller
  • Request data
  • Views, Mail, Gates, Cache, Auth etc.

But I’ll highlight a few differences.

Debugging Queries

Both Debugbar and Telescope Toolbar show the query (with replaced bindings), duration and caller.
Queries Toolbar

Debugbar also uses syntax highlighting to format the query.

Queries Debugbar

While Debugbar has some extra features (like more backtrace info, or EXPLAIN calls), the most common case is covered for bot.

Showing Ajax Requests

Both toolbar will catch and load Ajax requests automatically. With Toolbar this can be toggled off.

Ajax Toolbar

Telescope Toolbar even shows the running requests + details while Debugbar only adds the entry to the list (and switches data).

Ajax Toolbar

Debugbar also offers a Browse function, but for Telescope Toolbar you can just look in Telescope itself.

Ajax Debugbar

Timeline

Telescope does not offer a Timeline (yet), but with Laravel Debugbar you have a Timeline by default where you can add your own measurements.
You can also render Queries or Events in the timeline, to see where a lot of processing time happens.

Timeline Debugbar

Dumping data

Some people prefer dd() Driven Development, but this breaks the request. I prefer debug() Driven Development.
Both toolbars have a debug() method that work just like dump() but outputs it in the toolbar instead of die()‘ing.

Dump Debugbar

Dump Debugbar

Both use the great Symfony Vardump (like dump() and dd()) to create nice dumps.

Telescope Toolbar is limited to what Telescope provides. It’s not really easy to extend Telescope with custom collectors, so your best hope is to create a PR that is accepted.

With Debugbar you can add your own collectors, or also submit it as a PR, most recently the Model Count from @reinink

Dump Debugbar

On the other hand, Telescope provides nice features like Exception tracking and Queue/Commands

Alternatives

An alternative approach is Clockwork, which doesn’t inject a toolbar directly. All data is rendered by a Chrome Extension.
So you might need to install some more, but could prevent some overhead

Clockwork

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 7, 2020 at 10:09PM

PHP Scraper

PHP Scraper

https://phpscraper.de


An opinionated web-access library for PHP

by Peter Thaleikis

Accessing the web from PHP can done easier. This is an opinionated wrapper around some great libraries.

The examples tell the story much better. Have a look!

This project is sponsored by:

Want to sponsor this project? Contact me.

Idea

Access websites and collecting basic information of the web is too complex. This wrapper around Goutte makes it easier. It saves you from XPath and co., giving you direct access to everything you need.

Examples

Here are some examples of what the library can do at this point:

Most other information can be accessed directly – either as string or an array.

Scrape Content, such as Images:

Some information optionally is returned as an array with details. For this example, a simple list of images is avaiable using $web->images too.

More example code can be found in the sidebar or the tests.

Installation

As usual, done via composer:

This automatically ensures the package is loaded. You can now use any of the above noted examples.

Contributing

Awesome, if you would like contribute please check the guidelines before getting started.

Tests

The code is roughly covered with end-to-end tests. For this, simple web-pages are hosted under https://ift.tt/2Z9wyO4, loaded and parsed using PHPUnit. These tests are also suitable as examples – see tests/!

This being said, there are probably edge cases which aren’t working and may cause trouble. If you find one, please raise a bug on GitHub.

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 7, 2020 at 10:09PM

Basic UI components for Tailwind CSS

Basic UI components for Tailwind CSS

https://ift.tt/3dxs48E


Sail UI

Basic UI components for Tailwind

Buttons

Input

Cards

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias explicabo fuga inventore neque quia vitae
voluptatum? Atque ea eaque fuga illum molestias provident, quam saepe.

Alerts

Normal stuff! zero concerns.

All is clear! So far so good.

Fantastic! You did it.

Watch out! Things are going down south.

Too late! It’s hit the fan.

Badges

Default

Light

Blue

Green

Yellow

Red

Typography

Lorem Impsum

Lorem ipsum dolor sit

Lorem ipsum dolor sit amet.

Lorem ipsum dolor sit amet, consectetur.

Lorem ipsum dolor sit amet, consectetur adipisicing.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium aperiam architecto aspernatur
consequuntur cumque eaque, eveniet explicabo facilis fugit mollitia, neque non officia qui, quidem quisquam
sequi sunt unde voluptatem.


 View on Github

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 7, 2020 at 10:09PM