Avoid Indirection in Code

Avoid Indirection in Code

I often see code where authors abstract away details by placing them in some external function. This indirection isn’t as much of a problem during the writing process, the original author is focused on building up an abstraction model in their head, and so writing this abstraction into code makes sense and feels good. Mostly, I want authors to be aware that there is a human cost to indirection that is felt more acutely by everyone reading the code except the original author.

Source: matthewrocklin.com

Why Hong Kong protesters didn’t use own metro cards

Why Hong Kong protesters didn’t use own metro cards

Yesterday afternoon (June 12), as some protesters in Hong Kong appeared to be dispersing for a lunch break before regrouping later in the afternoon, I noticed something odd at the Admiralty subway station: instead of swiping through the turnstiles with their pre-paid, rechargeable cards, there were scores of people lining up at cash-only ticketing machines. One protester said they were afraid of having their card data traced back to them and used as proof that they were at the protest, should the police decide to press charges—as they did against key protest leaders from the 2014 pro-democracy Umbrella Movement. The Hong Kong protesters’ behavior raises questions about data privacy, surveillance, and the dangers of “smart cities” as companies and governments sweep up ever-increasing troves of personal data.

Source: qz.com

Sustainability is now the biggest topic in the bottled water online conversation

Sustainability is now the biggest topic in the bottled water online conversation

Researching the top bottled water brands in the US (Dasani, Aquafina, Pure Life, Smart Water) as well as other popular brands like Evian and Fiji, and new players like Liquid Death and Boxed Water, we found that over the past few years, what these posts are saying has changed in one important way. This shift has also seen the biggest bottled water brands in the US become ones that are owned by beverage conglomerates like PepsiCo (Aquafina), Coca-Cola (Dasani) and Nestle (Poland Springs) and Danone (Évian), meaning the businesses survived as consumer tastes changed. Which seems like the entire marketing play the company is riding (it calls itself a “completely unnecessary approach to bottled water”)

The extreme marketing of Liquid Death reflects the growth in conversation about marketing around waters, which has nearly doubled – from 6.4% of conversation to 13.1%.

Source: www.pulsarplatform.com

Digging Deeper into Pompeii’s Past

Digging Deeper into Pompeii’s Past

New research is uncovering the ancient city’s dynamic story from its origins to the eruption that buried it

The emperor Nero is thought to have visited the southern Italian city of Pompeii in A.D. 64, perhaps spending a few nights in the enormous villa his wife, Poppaea, owned in the nearby town of Oplontis. In the sixth century B.C., a fortified wall that would define the city for the next 600 years was constructed, its shape determined by the lava flow on which Pompeii sits. At locations across the city, in its temples, public baths, restaurants, gardens, houses, villas, and cemeteries, they are looking for elusive evidence of Pompeii’s earliest settlements, revising previously held theories about the age of the site, reexamining properties that were excavated centuries ago, and even searching for evidence of what may have become of those who survived the eruption.

Source: www.archaeology.org

Sanders to propose canceling entire $1.6T in US student loan debt

Sanders to propose canceling entire $1.6T in US student loan debt

Sanders is proposing that the federal government pay to wipe clean the student debt held by 45 million Americans – including all private and graduate school debt – as part of a package that also would make public universities, community colleges and trade schools tuition-free. Since then, liberal Democratic lawmakers have called for increasingly aggressive government solutions for erasing existing student debt, with 2020 candidates Sen. Elizabeth Warren, D-Mass., proposing $640 billion in student debt forgiveness and former housing secretary Julian Castro introducing a more modest debt forgiveness plan. Sara Goldrick-Rab, a professor at Temple University who specializes in higher-education financing, said she had mixed feelings about plans such as the one proposed by Sanders that involve forgiving all student debt.

Source: m.stamfordadvocate.com

Trinity: PSP Emulator Escape

Trinity: PSP Emulator Escape

If you read the slides, you may have noticed the following code snippet:

In essence, UID’s to kernel objects are simply encodings of their kernel addresses. Plugging it together with the previous vulnerability, we can now execute code in MIPS kernel as follows:

Why hack the PSP Emulator anyways? The fuzzer, residing on the MIPS processor, basically chose random commands and random arguments (integers and valid pointers to buffers that also contain random values) and sent them via the Kermit protocol.

Source: theofficialflow.github.io

Typesetting Markdown – Part 4: Theme Style

Typesetting Markdown – Part 4: Theme Style

Similar to the help arguments, define another array that lists software requirements:

Most distributions have the command, so the single array value is more of a placeholder for child scripts to overwrite than anything else. Near the top of the script, the first line after the shebang must be:

This line imports the functions and global variables from the parent script into the child script. By making it the first line of code that encounters, it affords the child script with the opportunity to redefine functions and global variables imported from the parent script.

Source: dave.autonoma.ca

Getting anomaly detection right by structuring logs automatically

Getting anomaly detection right by structuring logs automatically

With an approach that understands event structures, the structure:

would be uniquely understood, and its location in a multi-line log sequence would be diagnostically useful – for example identifying a Java exception. So, lack of context is one reason keyword matches make a weak foundation for useful anomaly detection. As discussed in an earlier blog, our software uses machine learning to automatically distil tens of millions of unstructured log lines down to a much smaller set of perfectly structured event types (with typed variables tracked in associated columns).

Source: www.zebrium.com

The Enduring Fascination with Sherlock Holmes

The Enduring Fascination with Sherlock Holmes

“The Adventure of the Peculiar Protocols: Adapted from the Journals of John H. Watson, M.D.,” by Nicholas Meyer (Minotaur)
“The Complete Paget Portfolio,” by Nicholas Utechin (Gasogene)

Edited by the eminent English Sherlockian Nicholas Utechin, “The Complete Paget Portfolio” (Gasogene) showcases — in the words of its subtitle — “Every Sherlock Holmes Illustration by Sidney Paget Reproduced Directly from ‘The Strand’ Magazine, Including the Surviving Original Artwork.” “The Rivals of Sherlock Holmes,” edited by Graeme Davis (Pegasus)
“A Taste for Honey,” by H. F. Heard (American Mystery Classics)

Last year, publishing’s debonair crime lord Otto Penzler inaugurated a uniform line of attractive hardbacks called the American Mystery Classics. Thus, in the original opening of “The Red-Headed League,” Watson drops in at Baker Street and discovers Holmes with a client.

Source: www.washingtonpost.com

Chicken Scheme 5.1

Chicken Scheme 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] [ANN] CHICKEN 5.1.0 has been released

From:

Peter Bex

Subject:

[Chicken-users] [ANN] CHICKEN 5.1.0 has been released

Date:

Tue, 18 Jun 2019 21:16:32 +0200

User-agent:

NeoMutt/20170113 (1.7.2)

Dear CHICKEN users,

We are pleased to announce the immediate availability of CHICKEN 5.1.0
at the following tarball has the following SHA256 most important change since 5.0.0 is a breaking one: Keywords are
now completely distinct from symbols. The only change since the first release candidate is a small bug found
by John Cowan: srfi-4 did not export list-s64vector. For a full list of the changes since 5.0.0, see the NEWS regards,
The CHICKEN PGP [ANN] CHICKEN 5.1.0 has been released,
Peter Bex =

Source: lists.nongnu.org