Writing HTML in HTML

Writing HTML in HTML

This website has gone through countless rewrites – from PHP to WordPress to Jekyll to multiple static site generators of my own – but this is the final one. Using a static site generator means that you have to keep track of two sources: the actual Markdown source and the resulting HTML source. Now, creating a new theme, a new post, a new page or even a new site requires no setup – I just open up a HTML document and start writing!

Source: john.ankarstrom.se

RISC-V formal spec public review

RISC-V formal spec public review

To all who are interested in ISA Formal Specification for RISC-V, we (the ISA Formal Spec Technical Group in the RISC-V Foundation) invite your feedback on several draft Formal Specifications of the RISC-V ISA. There are two ways to provide feedback (please at least fill in the questionnaire):

We are particularly interested in:

At the end of the feedback period, the ISA Formal Spec Technical Group will respond to each issue raised, and will make a recommendation to the RISC-V Foundation about which of the five specs should be adopted as the “official” spec. A RISC-V ISA Formal Spec is a purely functional, precise and formal, simple specification of the ISA.

Source: github.com

Show HN: Instantly make any Netlify form PCI DSS compliant

Show HN: Instantly make any Netlify form PCI DSS compliant

So we, Very Good Security [2], just released an add-on that lets you securely collect sensitive data (e.g. payments, PII, SSNs, identification, etc.) via web forms on Netlify. With the new add-on, Netlify customers are shielded from data liability, breach risk and the compliance issues that come with holding sensitive data. You can read more about our add-on for Netlify on VGS’ blog: Try it out and let us know what you think!

Source: news.ycombinator.com

STM32 Open Source Multimeter

STM32 Open Source Multimeter

Then there are features – those cheap multimeters almost never have digital data output for automated measurements, they don’t measure RMS, they cannot measure power (ie voltage and current at the same time), you need to turn a large dial to switch ranges and so on. As I said, I am not aiming at fully replacing a commercially made multimeter – my goal is mostly having something small, cheap and accurate, capable of measuring voltage and current, because those things usually change in your circuit-under-test and you need to measure multiple of these at the same time. The meter features 6 “modes”, shown on the picture below:

Voltage can be measured in two ranges: ±60 V and ±6 V. I choose these ranges because very often I work with circuits powered by 5 V, so the 6 V range is very handy.

Source: embedblog.eu

Walmart Pleads Guilty After a Decade of Bribes

Walmart Pleads Guilty After a Decade of Bribes

Inside Walmart’s corporate offices in Brazil, one local contact was known as the “sorceress” for the ability to obtain government permits quickly. And in Mexico, cars and computers were donated to governments in communities where Walmart was planning to build new stores. For more than a decade, Walmart used middlemen to make dubious payments to governments around the globe in order to open new locations, United States prosecutors and securities regulators said in a settlement agreement on Thursday.

Source: www.nytimes.com

Why we chose Rust

Why we chose Rust

On the other hand, in a static typed language, a large number of errors are caught early stage in the development process, and static typing usually results in compiled code that executes faster because when the compiler knows the exact data types that are in use, it can produce optimized machine code. Type safety is one of the Rust’s biggest selling point and is the reason Rust topped as most loved language for 3 consecutive years in StackOverflow Surveys. Despite the fact that you’re doing things like manual memory management that you do in C++, Rust has a lot of features and conveniences that almost make it feel like a high-level language.

Source: bitbucket.org

1956 Chrysler Highway Hi-Fi: Detroit’s First In-Car Record Player (2017)

1956 Chrysler Highway Hi-Fi: Detroit’s First In-Car Record Player (2017)

Here’s the story of one of the first efforts: Chrysler’s Highway Hi-Fi record player of 1956. While the player was offered across the  Chrysler model lines from 1956 through 1959, it never caught on—due mainly to poor reliability, high warranty costs, and the limited variety and distribution of the Highway Hi-Fi record catalog. Despite the first misfire, Chrysler revisited the auto record player concept again in 1960-1961 with a completely different unit produced by RCA and known as the AP-1 (below).

Source: macsmotorcitygarage.com

Vue RFC: Expose logic-related component options via function-based APIs instead

Vue RFC: Expose logic-related component options via function-based APIs instead

In order to expose a reactive value that can be mutated by a function declared inside , we can use the API:

Calling returns a value wrapper object that contains a single reactive property: . This is what enables composition functions to encapsulate the logic that manages the state while passing the state back to the components as a trackable reference:

Value wrappers can also hold non-primitive values and will make all nested properties reactive. If you want a watcher callback to fire before flush or synchronously, you can use the option:

All current lifecycle hooks will have an equivalent function that can be used inside :

If provided key contains a value wrapper, will also return a value wrapper and the binding will be reactive (i.e. the child will update if ancestor mutates the provided value).

Source: github.com

The Chalk Market: Where Mathematicians Go to Get the Good Stuf

The Chalk Market: Where Mathematicians Go to Get the Good Stuf

The moment he placed a piece of that chalk against a blackboard, felt the smooth action, and saw the crisp, thick line it produced, Eisenbud realized he’d been wrong: There’s chalk, and then there’s Hagoromo. Which is why mathematicians get so misty-eyed about Hagoromo, likely the best chalk in the world. Soon the summer school program at MSRI will begin, and math students from universities from all over the world will be exposed to many of the greatest minds in mathematics—and also, to Hagoromo chalk.

Source: alumni.berkeley.edu

In the 1820s, a new kind of lens saved ships

In the 1820s, a new kind of lens saved ships

You may also be interested in:

• The last lighthouse keeper of Capri

• How France created the metric system

• How Fiji changed the way we travel

The oldest operating lighthouse in France (construction began in the 16th Century, but beacons had existed there hundreds of years prior) and the world’s first to be built in the open sea, this imposing sentinel of white stone is a Renaissance masterpiece. Whale oil was replaced in the early 18th Century by coal, which proved a difficult lighting system to maintain as keepers had to routinely haul fuel to the top of the lighthouse and stoke the fire day and night. By the 1860s, thousands of lighthouses had been fitted with Fresnel lenses, from small harbour lanterns to great sea lights.

Source: www.bbc.com