Giti, A Permanent observer of your git directories, version 1.0.0 released.

Have you ever been in a situation that you lost all your git-based projects on your disk without backup them?

Do you want a tool that monitor your project directories/files and report you, which files changed and ready to stage/commit?

This is where giti will probably help you:

submitted by /u/linarcx
[link] [comments]
from Linux, GNU/Linux, free software…

[AskJS] Using console.time to calculate the time it takes a block of code to execute

Hi All,

I have recently become interested in the web performance side of web development. I’m wondering if the way I’m calculating the amount of time it takes a block of code to run correct and trustworthy?

Essentially what I do is wrap a console.time(), and a console.timeEnd around a block of code like so.

function copyToClipboard1(e) { console.time('Exec #1'); const clipboard = emailInput; clipboard.value = this.value;; document.execCommand("copy"); console.timeEnd('Exec #1'); } 

This then returns something like this Navigator #1: 0.0869140625ms. Is this an efficient way of calculating the speed of a code block. The result each time are usually similar enough?

submitted by /u/Deviso
[link] [comments]

from πš“πšŠπšŸπšŠπšœπšŒπš›πš’πš™πš

Are you happy with Snap?

Snap packages is a prominent feature recently released in Ubuntu 20.04 and since its an LTS release, it must be here to stay. How do you feel about this new packaging system compared to the good old apt-get?

With robust and time-tested tools like synaptic and aptitude, I think apt was doing a great job already, so what was the need for Snap? If the goal was to create one standard packaging system across all distros, then that will only work if all other distros also unanimously adapt Snap but until that happens, upstream developers will have to ship both apt/dnf as well as snap versions of their apps. So, developers’ work has increased or decreased?

submitted by /u/smart_jackal
[link] [comments]
from Linux, GNU/Linux, free software…

Hubble s Cosmic Reef

These bright ridges of interstellar gas and dust are bathed in energetic starlight. With its sea of young stars, the massive star-forming region NGC 2014 has been dubbed the Cosmic Reef. Drifting just off shore, the smaller NGC 2020, is an expansive blue-hued structure erupting from a single central Wolf-Rayet star, 200,000 times brighter than the Sun. The cosmic frame spans some 600 light-years within the Large Magellanic Cloud 160,000 light-years away, a satellite galaxy of our Milky Way. A magnificent Hubble Space Telescope portrait, the image was released this week as part of a celebration to mark Hubble’s 30th year exploring the Universe from Earth orbit. via NASA

Picture of the day for April 25, 2020

Wikipedia picture of the day on April 25, 2020: View of the exterior of the Pula Arena during sunset, an amphitheatre located in Pula, Croatia. This Roman edifice was constructed between 27 BC and 68 AD and is among the largest surviving Roman arenas in the world. At the same time, is the best preserved ancient monument in Croatia and the only remaining amphitheater having all four side towers with all three Roman architectural orders entirely preserved.

Wikipedia article of the day for April 25, 2020

Wikipedia article of the day is Black Hours, Morgan MS 493. Check it out: Summary: The Morgan Black Hours is an illuminated book of hours produced in Bruges between 1460 and 1480. It is one of seven surviving black books of hours, all originating from Bruges and dated to the mid- to late 15th century. They are named for their unusual dark blueish colourisation, achieved through the expensive process of dyeing the vellum with iron gall ink. The Morgan Black Hours consists of 121 leaves, most containing rows of Latin text written in Gothic minuscule script inscribed in silver and in gold. The pages are typically dyed a deep blueish black, with borders ornamented with flowers, foliage and grotesques. Although considered a masterpiece of Late Gothic manuscript illumination, there are no surviving records of its commission, but its dark tone, expense of production, quality and rarity suggest ownership by privileged and sophisticated members of the Burgundian court. It has been in the collection of the Morgan Library & Museum in New York since 1912.