Surprising Bash Variables

Surprising Bash Variables

If you’re all about saving time at the command line, then you can use this variable to change directories as easily as you can call commands. This variable tracks how deeply nested you are in the bash shell. Also useful for introspection and debugging is the variable, which reports the number of commands that have been run in the session so far:

This is most often used in debugging scripts.

Source: zwischenzugs.com

When Did it Became Impossible to Say, ‘I Don’t Know’?

When Did it Became Impossible to Say, ‘I Don’t Know’?

When asked about how he would get U.S. troops out of Afghanistan, O’Rourke stared into the eyes of the veteran who asked the question and produced several words that did not, in fact, answer anyone’s inquiry:

To be fair, the man’s question is a complicated one. Because even after the second consecutive time the man asks O’Rourke for his plan, O’Rourke — having already failed to answer the man’s question once before — was still unwilling to produce the most honest answer of all: “ I don’t know.” “There’s pretty fascinating research on something called ‘implicit leadership theory,’ which basically asks the question, what are the characteristics that make an effective leader?

Source: melmagazine.com

Oracle Wallet Master Key Lost

Oracle Wallet Master Key Lost

Basically, encryption was enabled on our Oracle Cloud production database and a key was generated. All databases were encrypted with this key. For some reason (Oracle are stumped) the key was left in memory and never written to the key wallet.

Source: www.reddit.com

China charts a path into European science

China charts a path into European science

With worries circulating through the corridors of Brussels, European leaders voted in February to come up with new procedures for screening investments in Europe — a move widely regarded as a direct response to China’s purchase of Europe’s leading robotics company, KUKA in Augsburg, Germany, in 2016. The 16+1 organization is more formally known as the Cooperation between China and Central and Eastern European Countries, or China–CEEC, and it coordinates many of China’s BRI ambitions in Europe. Among European nations, Hungary is arguably the most active in BRI activities, describing itself as “China’s number one economic partner in central Europe”.

Source: www.nature.com

GraalVM 19.0

GraalVM 19.0

We addressed several benchmarks that had slower performance when running with the GraalVM compiler built as a native library, also known as libgraal, a mode selected as the default in the last release candidate. The numerous changes were introduced to the GraalVM SDK Polyglot API as well:

We summarized all Truffle and Graal SDK changes between GraalVM versions in separate changelogs:

Starting with 1.0-RC15 version of GraalVM, Ideal Graph Visualizer will be provided as standalone download from GraalVM OTN pages. However, Truffle based language implementations such as the GraalVM JavaScript engine are available when, e.g., the native image is built with the option .

Source: www.graalvm.org

Shenandoah GC in production: experience report

Shenandoah GC in production: experience report

From G1 finally becoming a default garbage collector in Java 9 and onward, to Oracle’s ZGC which takes inspiration from Azul’s C4 pauseless garbage collector, to Shenandoah being developed by Red Hat, it is evident that:

In this post, I’d like to describe my experience using Shenandoah GC on a real project at Grammarly that was moderately demanding from a performance perspective. Depending on the duration of the pause (which, remember, can be up to tens of seconds with conventional GCs), the client might give up on the request and time out. This library may seem redundant given that Shenandoah (or any other Java GC) exposes the information about GC pauses via MBeans and GC logs.

Source: clojure-goes-fast.com

Nine Charged in Alleged SIM Swapping Ring

Nine Charged in Alleged SIM Swapping Ring

Eight Americans and an Irishman have been charged with wire fraud this week for allegedly hijacking mobile phones through SIM-swapping, a form of fraud in which scammers bribe or trick employees at mobile phone stores into seizing control of the target’s phone number and diverting all texts and phone calls to the attacker’s mobile device. A separate criminal complaint unsealed this week charges three former employees of mobile phone providers for collaborating with The Community’s members. As I reported in that story, “investigators allege Handschumacher was part of a group of at least nine individuals scattered across multiple states who for the past two years have drained bank accounts via an increasingly common scheme involving mobile phone “’SIM swaps.

Source: krebsonsecurity.com

History according to E.H. Carr

History according to E.H. Carr

Between January and March 1961, the historian and diplomat Edward Hallett Carr delivered a series of lectures, later published as one of the most famous historical theories of our time: What is History? A History of Soviet Russia was a bold attempt carefully and meticulously to collect all the facts available, and in doing so, he articulated an impressively objective approach to Russian history. Carr contested this approach, arguing that it is the historian’s job to engage with the fact as a dialogue; “it is a continuous process of interaction between the historian and his facts, an unending dialogue between the present and the past”.

Source: www.newstatesman.com

Mothers Are the Unsung Heroes of Prison

Mothers Are the Unsung Heroes of Prison

Over the years, many of the biggest changes I’ve accomplished in my incarcerated life have started with these other simple words from my mother:

“Jerry, what about this…?” “I know things seem…, but believe me when I say…”

I wouldn’t be the loving, caring individual I am today—yes, even here in prison, where I’m a good friend and neighbor and contribute to the world through my writing—without the guidance my mother has drilled into me until it stuck. Over the years, I’ve also known several real monsters, and without exception, every single one of them began their prison sentences without anyone loving them, and continued doing their time in the same loveless fashion.

Source: www.themarshallproject.org

A new camera can photograph from 45 kilometers away

A new camera can photograph from 45 kilometers away

These detectors are so sensitive they can pick up single photons and use them to piece together images of subjects up to 10 kilometers (six miles) away. Their technique uses single-photon detectors combined with a unique computational imaging algorithm that achieves super-high-resolution images by knitting together the sparsest of data points. The big advantage of this kind of active imaging is that the photons reflected from the subject return to the detector within a specific time window that depends on the distance.

Source: www.technologyreview.com