Open in app

Sign in

Write

Sign in

Mastodon
Dave Sag
Dave Sag

1K Followers

Home

Lists

About

Pinned

What is Consciousness?

The Quantum Imaginative Consciousness theory — Wondering about conciousness is something we humans have been doing for a very long time. Are we Hofstadter’s “strange loops”? Is there really no there there? Is consciousness the bit that distinguishes us from Chalmers’ philosophical zombies? Do cats, or birds, or grubs and worms have consciousness too, and is…

Consciousness

11 min read

What is Consciousness?
What is Consciousness?
Consciousness

11 min read


Published in

Stackademic

·Pinned

Rust from a TypeScript Developer’s Perspective

Enhanced performance, robust concurrency, and real type safety are just some of the advantages. — Learning Rust as an experienced TypeScript/JavaScript developer has its challenges. As I set out on this mission I decided to write up my general observations as a kind of note-pad for other developers: See also: https://davesag.medium.com/more-fun-with-rust-webassembly-a7a918231a56 The main points Ownership and Borrowing: Rust’s memory safety guarantees are built on these concepts. …

Rust

26 min read

Rust from a TypeScript Developer’s Perspective
Rust from a TypeScript Developer’s Perspective
Rust

26 min read


Published in

JavaScript in Plain English

·Pinned

Super-DRY React Components

Use composable wrappers to apply cross-cutting concerns to functional React components — How many times do you find yourself writing a component like this: const Item => ({ id, title, summary }) => id ? ( <section> {title && <header> <h1> <a href={`/items/${id}`}>{title}</a> </h1> </header>} <p>{summary}</p> </section> ) : null where you check for the presence of a prop before rendering it?

React

5 min read

Super-DRY React Components
Super-DRY React Components
React

5 min read


Published in

ITNEXT

·Pinned

What are Front End Service layers?

And what are the skills that comprise a full-stack project team? — When I started building web applications in 1995 they were called data driven websites and the exciting jargon of the day was “three tier”. The idea was that a web app had three tiers. The Front End, which ran in the browser, displayed the ‘view’ tier, while, over in the…

Software Development

16 min read

What are Front End Service layers?
What are Front End Service layers?
Software Development

16 min read


1 day ago

Ethical considerations when building artificial consciousnesses

Things to keep in mind when making minds — If you take it as a given that the QIC theory, or something a lot like it, presents a solid model of consciousness, and believe we can overcome the technical challenges of building a quantum computing platform to feed imaginary realities into a deep-learning style cognition system, you also would…

AI

6 min read

Ethical considerations when building artificial consciousnesses
Ethical considerations when building artificial consciousnesses
AI

6 min read


Sep 5

More fun with Rust — WebAssembly

My first WebAssembly app in six little steps — First I create a simple WebAssembly “Hello World” application using Rust, explaining how to set up your development environment, write some Rust code, and then compile it to WebAssembly. Then I follow up with a small function that uses Wasm to resize an image. See Source Code: https://github.com/davesag/image_resize_and_combine where I’ve…

Rust

6 min read

More fun with Rust — WebAssembly
More fun with Rust — WebAssembly
Rust

6 min read


Published in

ITNEXT

·Jun 17, 2021

Tame large React projects by consistently applying these patterns and rules

Care and handling of pure and simple vs display, and self-managed components — I’ve been working, as part of a team, on a project recently, building a React component library for use within a number of related corporate environments. As part of this process we’ve found it makes sense to classify the components in terms of where they get their data from. We’ve…

React

11 min read

Tame large React projects by consistently applying these patterns and rules
Tame large React projects by consistently applying these patterns and rules
React

11 min read


Published in

ITNEXT

·Apr 28, 2021

Explode an Array into a deeply nested Object with this simple, recursive function.

Because recursion rules. — A very common pattern when ingesting data from an API involves indexing that data within your app so you can read it back without searching. An example Let’s say you have an API that returns a list of items, such as. const ITEMS = [ { title: 'The…

JavaScript

4 min read

Explode an Array into a deeply nested Object with this simple, recursive function.
Explode an Array into a deeply nested Object with this simple, recursive function.
JavaScript

4 min read


Published in

Coinmonks

·Mar 18, 2021

Bitcoin vs Ethereum — What are the differences, and how do NFTs fit in?

And what’s a shitcoin? — TL;DR If Bitcoin is digital gold, then Ether is digital fuel, and most of the De-Fi coins, and NFTs you hear about are layered on top of Ether. Disclaimer Nothing I say constitutes financial advice; I’m not a financial advisor, I’m just someone into technology and art and their numerous intersections, and…

Bitcoin

7 min read

Bitcoin vs Ethereum — What are the differences, and how do NFTs fit in?
Bitcoin vs Ethereum — What are the differences, and how do NFTs fit in?
Bitcoin

7 min read


Mar 15, 2021

The Clean-Air Tax is Bad Policy

A form-letter for your clean-air taxing local senator or local member — Dear (insert correct salutation), I am voter in the electorate of (insert the name of your electorate) and write to you as someone who is concerned about the proposed introduction of a clean-air tax, aka an electric vehicle road-use tax. refs: pick one, or find another - https://thedriven.io/2020/11/11/south-australia-to-impose-road-user-tax-on-electric-vehicles-from-2021/ - https://www.theage.com.au/politics/victoria/pallas-zaps-electric-cars-with-road-charge-20201121-p56gp3.html

Electric Vehicles

5 min read

The Clean-Air Tax is Bad Policy
The Clean-Air Tax is Bad Policy
Electric Vehicles

5 min read

Dave Sag

Dave Sag

1K Followers

I write code and stuff

Following
  • Cory Doctorow

    Cory Doctorow

  • sz_duras - text

    sz_duras - text

  • John Boitnott

    John Boitnott

  • Mars Protocol

    Mars Protocol

  • Daria Malinova

    Daria Malinova

See all (906)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams