iter.caUsesAccountsNotes

Full stream

iter.caStreams

This is every public thing authored by me that my stream system knows about. My homepage is generated as a filtered version of this.

Featured
Blog post

Forging signed commits on GitHub

November 11, 2023
Creating fake signed commits (continue reading)
Featured
Blog post

How to average hues

November 13, 2022
Averaging hues is weird, you can't just take a normal average (continue reading)
Featured
Blog post

Each step of decoding a PNG

March 11, 2022
Pull request

Implement UnboxDatum for ItemPointerData

merged October 3, 2024
ItemPointerData can be directly converted from a Datum, so ItemPointerData should have it implemented.
Pull request

Remove removed/virtual ops from documentation

merged September 26, 2024
Challenge Authority/Prove Authority were removed Getting comment, curation, and liquidity rewards are virtual ops - you can’t call them, the network …
Pull request

Support Unicode 16.0.0

merged September 13, 2024
New year, new Unicode, new me. 🫟
Pull request

refactor(governance): update StateWriteExt::signal_upgrade comment

merged August 6, 2024
Describe your changes StateWriteExt::signal_upgrade is infallible and doesn’t await on anything, so its function signature can be simplified to not be …
Pull request

Write command for querying community pool balance correctly

merged August 2, 2024
Describe your changes An example command in the documentation says Community Pool instead of community-pool. Issue ticket number and link N/A …
Blog post

Jailbreaking language models with user roleplay

July 24, 2024
I show how safety safeguards in large language models can be bypassed by having the model roleplay as the user. (continue reading)
Blog post

Resolving an email deliverability mystery

June 24, 2024
I broke my mail server by forgetting to update a DNS record (continue reading)
Pull request

script: implement AbortController

merged May 4, 2024
Adds basic support for AbortController/AbortSignal, and implements the signal parameter to addEventListener to support cancelling event listeners with …
Pull request

Say "for M̶250" not "for $M̶250", again

merged April 19, 2024
This PR is identical to #2577, which was (accidentally?) reverted by @jahooma in d3483dfba19f601a34bd1cfadfe446e48e529f80.
Pull request

Say "for M̶250" not "for $M̶250"

merged April 16, 2024
There shouldn’t be a dollar sign here: The code does ${formatMoney(REFERRAL_AMOUNT)} as if it was in a format string, but it’s actually in a JSX …
Pull request

Implement console.count/countReset

merged March 17, 2024
Implements console.count and console.countReset. ./mach build -d does not report any errors ./mach test-tidy does not report any errors There are …
Pull request

Fix `console.countReset` manual test

merged March 13, 2024
The test wasn’t resetting the count between blocks of console calls, so a spec-compliant browser would produce output that doesn’t match the …
Pull request

Fix build failure on NixOS

merged March 6, 2024
Fixes a build error when building on NixOS. This build error was introduced by #31465, which changed filterlock without also updating the …
Pull request

Name unhandledrejection event correctly

merged March 6, 2024
Some tests in html/semantics/scripting-1/the-script-element/module do window.addEventListener("onunhandledrejection", unreachable), when they should …
Pull request

script: Implement `<meta http-equiv="refresh">`

merged March 1, 2024
Implements support for <meta http-equiv="refresh" content="…; url=…"> meta tags. ./mach build -d does not report any errors ./mach test-tidy does …
Pull request

Compute partner progress for ≥20 trader markets correctly

merged March 1, 2024
getContractsCreatedProgress checks for markets where data->>uniqueBettorCount is ≥20, but it should be checking data->uniqueBettorCount. ->> casts the …
Pull request

tidy: Fix WHATWG replacement links

merged February 29, 2024
Fixes the test-tidy output so that it recommends the correct WHATWG URL …use this format instead: …
Pull request

layout: Add an implementation of `process_resolved_font_style_query` for Layout 2020

merged February 28, 2024
Implements process_resolved_font_style_query in layout 2020 to the same extent it’s supported by layout 2013, to add support for setting the font of a …

HN comment

February 27, 2024
Your math is wrong - it's $4B ÷ 815k residents ÷ $27k = 0.18 used Tesla Model 3s per resident. (you accidentally used 27k as both the price and …

HN comment

February 26, 2024
JSTOR doesn't get any tax benefit for doing this because they're already fully exempt from US income tax - their parent, Ithaka, is a …
Pull request

Say how many channels were unpacked in nix-channel

merged February 21, 2024
Motivation Specify how many channels were unpacked in the nix-channel output. E.g. $ nix-channel --update unpacking 1 channels... Context Sometimes …
Pull request

Update window.blur() to reflect that it does nothing

merged February 21, 2024
Description Updates the page for window.blur() to reflect that it does nothing - according to the spec: The blur() method steps are to do nothing. …
Pull request

Implement Debug on all public structs

merged February 21, 2024
Some types in this crate don’t have Debug implemented, but it’s annoying to use a non-Debug type in a struct with Debug derived. I just used the …
Pull request

Cargo.toml: explictly specify num_cpus version

merged February 11, 2024
This fixes a warning from Cargo about relying on deprecated behavior: warning: /home/loops/src/servo/servo/components/script/Cargo.toml: dependency …
Pull request

Derive `PartialEq` in `mozjs-sys`

merged February 9, 2024
There are a few places in Servo where we need to check if two structs from mozjs-sys are equal, but since Bindgen doesn’t automatically derive …
Pull request

script: implement navigator.hardwareConcurrency

merged February 7, 2024
Implements navigator.hardwareConcurrency, which returns the number of logical processors available. I used the num_cpus library (which is already used …
Pull request

Remove outdated documentation link in Cargo.toml

merged February 6, 2024
The documentation on unicode-rs.github.io hasn’t been updated in three years (since Travis CI stopped working), and docs.rs works fine for this crate.
Pull request

Fix crash on console logging large array

merged February 6, 2024
I checked for very deep objects in when adding object logging support in #31241, but didn’t check for objects with many elements (usually large …
Pull request

Make console methods take `any` instead of `string`

merged February 5, 2024
Match the Console spec by having the console methods take any instead of a string. This fixes #29460, where console.log(Symbol()) throws because …
Pull request

libsForQt515.audiotube: depend on kpurpose

merged February 5, 2024
Description of changes AudioTube depends on the Purpose library, and fails to launch if Purpose is not in the environment. This PR fixes that by …
Pull request

canvas2d: Implement `.reset()`

merged February 5, 2024
Implements .reset() for CanvasRenderingContext2D, which resets the rendering context to its default state. There is already logic for resetting the …
Pull request

Convert etc/profilicate.py to Python 3

merged February 5, 2024
Converts etc/profilicate.py (a script for processing raw profiler samples) from Python 2 to Python 3, to make it easier to run on modern systems. I …
Pull request

layout: return None bounding box when no nodes found

merged February 3, 2024
The HTMLImageElement.prototype.width/height attributes should provide the rendered width/height of images that are being rendered, and the natural …
Pull request

Make Android build optional on Nix

merged February 2, 2024
I want to build Servo on NixOS, without installing the non-free Android SDK. This PR makes it so Android support is only built if the buildAndroid …
Pull request

Update uses of renamed BoxMeUp to PanicPayload

merged January 30, 2024
BoxMeUp::box_me_up was renamed to take_box in https://github.com/rust-lang/rust/pull/66766, and BoxMeUp was renamed to PanicPayload in …
Pull request

14.0.0-17.0.0

merged January 29, 2024
Updates the OSS to 17.0.0

HN comment

January 22, 2024
Author here, I removed the background.
Blog post

GPT-3.5 crashes when it thinks about useRalativeImagePath too much

January 21, 2024
Asking it to repeat "ponyuseRal ponyuseRal ponyuseRal pony" makes API requests fail (continue reading)
Pull request

Update Toolkit formula

merged November 3, 2023
Updates the TimescaleDB Toolkit formula to use Toolkit 1.17.0 and PG15. Also updates pgrx (renamed from pgx) to the latest version so it can build …
Pull request

Mark my bot as a bot

merged October 27, 2023

HN comment

October 24, 2023
Grey market phones aren't stolen. Samsung sells phones cheaper in some regions, so arbitrageurs buy them cheap in one region and resell them at a …

HN comment

October 14, 2023
The FDIC almost only does bank closures on Friday (see https://www.fdic.gov/resources/resolutions/bank-failures/fai... - …
Report

IRCCloud XSS from Mastodon embeds

October 9, 2023
Pull request

Support Unicode 15.1

merged September 25, 2023
Adds Unicode 15.1 support. Updating tests Turns out scripts/unicode_gen_breaktests.py was last run for Unicode 11 - every subsequent updater forgot to …

HN comment

September 16, 2023
The bigger news is that Lodash is migrating from Node.js to Bun: …

HN comment

August 19, 2023
The (relevant parts of the) legislation haven't come into force yet - most of the sections of the Online News Act don't come into force …
Stack Exchange post

Can I buy I-bonds with my tax refund, as a non-resident?

August 5, 2023
I want to own American I bonds, but I'm not a US citizen/resident so I don't have a SSN (I …
Pull request

[`unnecessary_literal_unwrap`]: Fix ICE on None.unwrap_or_default()

merged July 20, 2023
Fixes #11099 Fixes #11064 I’m running into #11099 (cc @y21) on my Rust codebase. Clippy ICEs on this code when evaluating the …
Pull request

Implement "items do not inherit unsafety" note for THIR unsafeck

merged July 15, 2023
Implements the “items do not inherit unsafety from separate enclosing items” note from the MIR unsafety checker in the THIR unsafety checker (-Z …
Pull request

Update to pgrx 0.9.7

merged July 6, 2023

HN comment

June 24, 2023
In a legal context "highway" has a broader meaning than in everyday use. From the link above: highway "includes every road, street, …

HN comment

June 20, 2023
Pull request

Fix hash change caused by pgrx rename

merged April 24, 2023
pgx was renamed to pgrx recently. Even though the tar.gz file for the older version has the same contents, the top level directory name is now …
Pull request

Fix broken links to zombodb/pgrx

merged April 17, 2023
Some links to zombodb/pgx got replaced with zombodb/pgrx, which GitHub doesn’t redirect here. This fixes them by updating those links to tcdi/pgrx.
Pull request

Document min_n/max_n stabilization in Toolkit 1.16

merged April 11, 2023
Description min_n/max_n/min_n_by/max_n_by were stabilized in Toolkit 1.16. Writing help For information about style and word usage, see the style …
Pull request

Document date utility stabilization in Toolkit 1.16

merged April 11, 2023
Description We stabilized the three date utility functions in Toolkit 1.16. We forgot to document to_epoch when it was added, so this PR also …
Pull request

Stabilize nmost functions

merged April 5, 2023
Note that I didn’t add arrow accessors for into_values for min_n_by/max_n_by since those functions take dummy NULLs.
Pull request

Stabilize date utilities

merged April 4, 2023
Stabilize three date utilities. Also locks down the search path for them (and inlines a call to days_in_month so that it can use a locked-down …
Pull request

Document rollup internals

merged March 30, 2023
Adds documentation for some implementation details of rollup.
Pull request

Don't try building TSDB with Enterprise Linux on nightly CI builds

merged March 29, 2023
Trying to build TimescaleDB with RHEL/Rocky Linux in the nightly CI job doesn’t work currently. This disables it for now.
Pull request

Fix argument order for time_bucket_gapfill

merged March 22, 2023
Description timezone is the third argument to time_bucket_gapfill, not the last. Writing help For information about style and word usage, see the …
Pull request

Use github-actions[bot] for automated issues and PRs

merged March 20, 2023
Makes it so automated issues and PRs from the release script come from github-actions[bot] instead of an actual user account, to make it clear that …
Pull request

Add new clangd cache location to gitignore

merged March 17, 2023
Recent versions of clangd store cached data in the .cache directory instead of .clangd; this PR makes the new directory ignored by Git in addition to …
Pull request

Require all CI jobs to pass, not one

merged March 14, 2023
It turns out that bors interprets “Test Postgres (%)” as requiring at least one job to pass matching that, instead of all of them.
Pull request

Improve integral docs

merged March 14, 2023
Description Fixes references to “averages” with correct references to “integrals” Better indicate integral’s unit parameter is optional Add unit to …
Pull request

Test on more CI platforms

merged March 10, 2023
Adds support for CI testing on all platforms we build packages for.
Pull request

Document changes to state_agg in Toolkit 1.15

merged March 9, 2023
Description Documents changes to state_agg in Toolkit 1.15: state_agg was stabilized interpolated_state_int_timeline function was renamed state_at …
Pull request

Changelog updates for 1.15

merged March 8, 2023
Pull request

Stabilize state aggregate

merged March 7, 2023
Closes #691.
Pull request

Fix state_int_timeline name

merged February 26, 2023
Description Fixes the name of the state_int_timeline function – it was written in the docs as state_int_state. Writing help For information about …
Pull request

Fix errors in state_agg rollup

merged February 24, 2023
This PR should fix out-of-bounds indexing in rollup: before, last_state in the merged aggregate was computed incorrectly; it is now determined …
Pull request

Fix image build failures on Rocky Linux

merged February 22, 2023
Adds the powertools/crb repository to the Enterprise Linux images so that PostgreSQL can be installed again. It seems that the official PostgreSQL …
Pull request

Tell bors about Postgres 15 tests

merged February 22, 2023
Makes it so bors ensures PG15 tests pass before merging PRs.
Pull request

Build CI image on PRs modifying dependencies

merged February 16, 2023
Runs the CI image building action on PRs that modify tools/dependencies.sh, since that file impacts the Docker image. We already do this for the files …
Pull request

Upgrade pgx to 0.7.1

merged February 16, 2023
Upgrades our pgx version from 0.6.1 to 0.7.1.
Pull request

Document state_agg changes in Toolkit 1.14

merged February 16, 2023
Description Documents the changes to state_agg in Toolkit 1.14: Renamed state_agg → compact_state_agg; renamed timeline_agg → state_agg Removed next …
Pull request

Removed outdated get_telemetry_report param

merged February 14, 2023
Description For get_telemetry_report, the always_display_report parameter was removed in 2.6.0. My understanding is that the function now always …
Pull request

Fix outdated documentation for `pgx::name!`

merged February 12, 2023
Since a few versions ago, TableIterators are used instead of an iterator of tuples for table returning functions. The documentation for pgx::name! …
Pull request

Start 1.15.0-dev

merged February 10, 2023
(from the release script)
Pull request

state_agg API tweaks

merged February 9, 2023
interpolated_duration_in/duration_in/interpolated_state_periods/state_periods have the first two arguments swapped: now the aggregate is first and …
Pull request

Pre-stabilization changes for state_agg - part 1

merged February 8, 2023
Adds optional start and end parameters to duration_in to only get the duration in the specified range. If end is omitted all states after start are …
Pull request

Fix argument name for state/timeline functions

merged February 1, 2023
Description For the state/timeline aggregates, the name of the argument for the aggregate is written as tws instead of agg in a few parts of the …
Pull request

Support extensions on i686-unknown-linux-gnu

merged January 26, 2023
pgx assumes it’s running on a 64-bit processor in a few places: it assumes long and time_t are always an i64 it assumes doubles always have a …
Pull request

Require Rust 1.64 to fix image build

merged January 20, 2023
cargo-pgx doesn’t seem to lock it’s dependencies, and a dependency it has now requires a newer Rust version. Trying to build the CI image fails now …
Pull request

Build TimescaleDB from source in nightly builds

merged January 18, 2023
Builds TimescaleDB from source for the nightly build/test cron job.
Pull request

Add option to build TimescaleDB in CI

merged January 5, 2023
Adds an option to manually run the CI using an arbitrary TimescaleDB commit. You can also optionally specify a TimescaleDB repo to test the CI with a …
Pull request

Backport changelog update to main

merged January 5, 2023
This update to the changelog didn’t get pushed anywhere due to a release script failure.
Stack Exchange post

Let's check in on Sparkles the Unicorn!

January 4, 2023
Rescuing Sparkles the Unicorn, again So, get this: after getting Sparkles the Unicorn out of trouble [last …
Pull request

Remove bitrotted patch image

merged January 4, 2023
The patch Docker image hasn’t been successfully built for 8 months, and the job to build it always fails due to an authentication error. Even if it …
Pull request

add 1.13.1 to upgradeable_from

merged January 4, 2023
I manually made the commit that the release script would have made if it didn’t fail to push it.
Pull request

Support running on PostgreSQL 15

merged January 3, 2023
Fixes #648. Fix all doctests that call setseed Fix TimescaleDB crash in CI Fix random function on pg12/pg13 Don’t try to run upgrade tester on …
Pull request

Add PG15 support to Docker image

merged January 3, 2023
This PR has just the Docker image changes from #664. (CI run)
Pull request

Use `main` branch for CI badge in README

merged January 3, 2023
Configures the CI badge on the README to reflect the status of the main branch, instead of whatever CI run happens to be the most recent.
Stack Exchange post

Let's check in on Sparkles the Unicorn!

December 23, 2022
[tag:bug] [meta-tag:status-completed] At some point in checking in on Sparkles, you need to know the number of SE moderators. [This …
Pull request

Document changes to state_agg/timeline_agg in Toolkit 1.13

merged December 20, 2022
Description Documents all of the changes made to state_agg and timeline_agg (including the new support for integer states and rollup) in TimescaleDB …
Pull request

Prepare for 1.14 release cycle

merged December 14, 2022
This would have been pushed to main automatically by the release script, but that failed due to a permissions error.
Pull request

Fix locale issue on Enterprise Linux systems

merged December 14, 2022
(currently untested)
Pull request

Use pgx 0.6.1 with PostgreSQL 15 support

merged December 13, 2022
Pull request

Split state aggregates to seperate function family

merged December 12, 2022
Description Toolkit 1.13 will introduce the timeline_agg and heartbeat_agg aggregates, which will bring Toolkit to 3 state-related aggregates. This PR …
Pull request

Support rollup and integer states state/timeline aggs

merged December 6, 2022
Adds rollup for state_agg and timeline_agg. Supports integer states for state_agg and timeline_agg. An aggregate can have integer states or string …
Pull request

Add timeline_agg

merged December 6, 2022
Adds a timeline_agg aggregate that can be used in the same ways as state_agg but also allows getting the entire state timeline with state_timeline. …
Pull request

imageworsener: 1.3.4 -> 1.3.5

merged November 29, 2022
Description of changes https://github.com/jsummers/imageworsener/releases/tag/1.3.5 Things done Built on platform(s) x86_64-linux aarch64-linux …
Pull request

Fallback to C locale on systems without C.UTF-8

merged November 22, 2022
CentOS 7 doesn’t support the C.UTF-8 locale, so cargo-pgx doesn’t work on CentOS 7 since it tries to set a databases locale to C.UTF-8. Rocky Linux >= …
Stack Exchange post

Is Stack Exchange contributing back to ProseMirror?

November 22, 2022
Stack Exchange has now provided some financial support to ProseMirror as a part of Stack Gives Back …
Blog post

Everything the Rust format! macro can do

November 19, 2022
My printable summary of everything the Rust format! macro can do (continue reading)
Stack Exchange post

How to make a link to add a filter list to uBlock Origin?

November 17, 2022
uBlock Origin only allows subscribe URLs on a [hardcoded list of …
Stack Exchange post

How to make a link to add a filter list to uBlock Origin?

November 17, 2022
EasyList has "add it to your ad blocker" links for their various filter lists. When I click on them, my content blocker …
Pull request

Add tests for errors in map_series mapping function

merged November 17, 2022
pgx 0.6.0 will make some changes to error handling that will affect how the map_series pipeline function works. This PR adds some tests to verify that …
Pull request

Use pg_sys::Datum instead of pgx::Datum

merged November 17, 2022
pgx 0.6.0 will stop supporting the pgx::Datum import path. pg_sys::Datum works with both the current release and the upcoming 0.6.0 release. This also …
Pull request

Drop unsupported Postgres versions from Cargo.toml

merged November 15, 2022
We don’t support building with the pg10 or pg11 features (trying to build Toolkit for those versions results in a compile error); this PR removes them …
Pull request

Include Toolkit 1.12.0

merged November 10, 2022
Toolkit 1.12.0 was released today.
Pull request

panic! at the polymorphism failure

merged November 9, 2022
Always panic! in the from_datum implementation for AnyElement/AnyArray instead of only panicking when debug assertions are enabled. These functions …
Pull request

Make stats_agg::M3/M4 modules instead of structs

merged November 9, 2022
Makes M3 and M4 in the stats-agg crate modules instead of empty structs, which is more idiomatic.
Pull request

Use TwoFloats when using `stats_agg` in moving-aggregate

merged November 7, 2022
Makes stats_agg use TwoFloats internally for keeping track of the state when in moving-aggregate mode to prevent floating-point error from …
Pull request

Revert now unneeded pgx workaround

merged October 31, 2022
We don’t need copy everything into memory owned by Rust anymore, since pgx 0.5.4 fixed the bug that made doing that necessary …
Pull request

Postgres 15 support

merged October 31, 2022
Adds support for PostgreSQL 15.Main changes: Existing extension crates need to add a pg15 feature to indicate compatibility with PostgreSQL 15. cargo …
Pull request

Verify that pgx doesn't generate CREATE OR REPLACE FUNCTION

merged October 28, 2022
We don’t need to replace CREATE OR REPLACE FUNCTION with CREATE FUNCTION anymore, since pgx now defaults to CREATE FUNCTION since 0.5.0. Now we can …
Pull request

Add build script option to install in release mode

merged October 25, 2022
Being able to install Toolkit with optimizations enabled is useful for benchmarking purposes. This PR adds an option to build in release mode to the …
Pull request

Set locale to C.UTF-8 when creating database clusters

merged October 21, 2022
Fixes #691 by setting the locale to C.UTF-8 when creating databases. On macOS the C.UTF-8 locale doesn’t exist so the locale is set to C and the CTYPE …
Stack Exchange post

How to install Timescaledb-toolkit extension on Windows server

October 20, 2022
No, Toolkit doesn't support Windows currently, and probably won't gain Windows support in the near future. See also [this …
Pull request

Add default unit to interpolated_integral

merged October 18, 2022
The default unit for interpolated_intgeral is mentioned in the documentation but doesn’t actually work. This PR adds the expected default value …
Pull request

Upgrade to pgx 0.5.0

merged October 17, 2022
Upgrades to pgx 0.5.0-beta.1 (0.5.0 will hopefully be released in 0-7 days). I originally tested on another branch with a lot of code commented out; …
Pull request

Update Docker image for pgx 0.5.0

merged October 17, 2022
pgx 0.5.0 just released! This PR updates the CI to have pgx 0.5.0 and adds pgx 0.5.0 to the $PATH instead of pgx 0.4.5. This PR should be merged right …
Pull request

Make Actions cache keys update automatically

merged October 14, 2022
Based on how pgx does caching, compute GitHub Actions cache keys based on the hash of lockfile and workflow file. Now we don’t need to bump the …
Pull request

Binary update testing in CI

merged October 7, 2022
Adds support for binary update testing in GitHub Actions. #554 and #556 need to be merged first.
Pull request

Remove incorrect comment in Dockerfile

merged October 7, 2022
bullseye is Debian 11; buster is Debian 10. We’re on the latest Debian release. See …
Pull request

Include type when getting argument

merged October 7, 2022
This fixes #735 by passing the type of an argument when getting an argument.
Pull request

Basic test for space saving aggregate serialization

merged October 6, 2022
I noticed while working on #547 that we don’t have any tests for SpaceSavingAggregates. This PR adds a simple test to verify that the raw_freq_agg …
Stack Exchange post

How many SE sites are there? What about an "N sites and counting..." message at the top of stackexchange.com/sites?

October 2, 2022
How many? There are 4 ways to count the number of sites. Each way of counting sites is used in at least one place by the Stack Exchange …
Pull request

Make interpolation errors more user friendly

merged September 29, 2022
Currently the error message for invalid interpolation bounds doesn’t make it clear what the issue is, and doesn’t say what the expected value is. This …
Pull request

Update docs for integrals in Toolkit 1.11

merged September 28, 2022
Description Updates documentation for the addition of integral/interpolated_integral in Toolkit 1.11. I based the content for these based on …
Pull request

Deduplicate version number

merged September 26, 2022
We don’t use the version number in the extension’s Cargo.toml anywhere currently. pgx supports replacing @CARGO_VERSION@ in control files, so use …
Pull request

Use semver-compliant example version

merged September 24, 2022
Clippy warns if the since version in #[deprecated] isn’t semver-compliant. This PR updates an example using #[deprecated] to make the version …
Pull request

Include toolkit 1.11.0

merged September 23, 2022
Changes for release 1.11.0 of Toolkit
Pull request

Implement more traits on Datum

merged September 22, 2022
Implements From<bool>, Eq, and Hash on Datum. All of these traits are also implemented on usize, so this makes upgrading to pgx 0.5 (where Datum is …
Pull request

Prepare for `1.12` cycle

merged September 21, 2022
Updates GitHub Actions and control file for the 1.12 release cycle.
Pull request

Remove unused arrayvec dependency

merged September 20, 2022
We don’t use arrayvec anywhere, get rid of it. I noticed this while looking at our outdated dependencies. We should probably wait until after 1.11 to …
Pull request

Add integral function for time_weight

merged September 20, 2022
Implements functionality requested in #455: Adds an experimental integral(tws[, unit]) -> float8 function (unit defaults to 'second') Adds an …
Pull request

Update data for Unicode 15.0.0

merged September 16, 2022
Updates the data file for Unicode 15.0.0 (which was released earlier this week) and regenerates the relevant files.
Pull request

Improve formatting on saturating math documentation

merged September 16, 2022
Description Fixes two formatting issues in the documentation for saturating math Links …
Pull request

Document requirement to use same compiler for cargo-pgx and Toolkit

merged September 15, 2022
The same compiler must be used to compile cargo-pgx and Toolkit, or bad things (undefined behaviour) might happen. See …
Pull request

Make tests pass in Canadian locales

merged September 15, 2022
Currently various date-related tests fail on my machine that’s in the Canadian English (en_CA) locale. Postgres date parsing is locale-dependent, so …
Pull request

Fix undefined behaviour when loading control file

merged September 14, 2022
The type of __pgx_marker is extern "C" fn() -> eyre::Result<ControlFile>, but it was incorrectly called as extern "C" fn() -> SqlGraphEntity in …
Pull request

Verify `cargo fmt` in CI: part 1

merged September 14, 2022
Updates the Docker image so that later the CI will be able to verify everything is formatted with rustfmt.
Pull request

Remove unused hyperloglog crate

merged September 14, 2022
The hyperloglog crate has been replaced by the hyperloglogpluslus crate. There are no dependencies on the old hyperloglog crate.
Pull request

Improve HyperLogLog documentation

merged September 13, 2022
Description Updates the HyperLogLog documentation: Emphasizes the warning about low bucket count: using a value for buckets that’s less than 1024 …
Pull request

Upgrade to Unicode 15.0.0

merged September 13, 2022
Unicode 15 will be released tomorrow on Sept. 13. This updates the Unicode tables to the latest version. Change notes: The …
Pull request

Fix link in create_hypertable docs

merged September 8, 2022
Description Fixes a link that wasn’t linked right in the create_hypertable documentation. Links …
Pull request

Remove unmaintained changelog

merged September 8, 2022
This changelog hasn’t been updated for a while (since 0.2.0). Currently the change notes are stored in the GitHub releases, which has the same …
Pull request

Prevent unnecessary rebuilds using Cargo in root

merged September 6, 2022
Currently .cargo/config and extension/.cargo/config are the same file (except for whitespace differences). The Cargo docs specify that Cargo config …
Pull request

Add a missing backtick

merged September 6, 2022
Description Adds a missing backtick that makes a table element not be code formatted: Links …
Stack Exchange post

Page for a decommissioned Collective has no <title>

August 31, 2022
On a page for a decommissioned Collective, the page's <title> is empty: <title></title> ``` …
Stack Exchange post

No attribution for tags in teams copied from public Q&A

August 23, 2022
Stack Overflow for Teams will automatically use the tag excerpt and tag wiki from the public site if there isn't a team-specific tag excerpt/wiki …
Stack Exchange post

How cfg are dealt with in rustc?

August 15, 2022
The rustc_expand crate is responsible for expanding macros. It [special …
Stack Exchange post

Can the Canadian administration ("government") enter into international agreements, treaties etc. binding Canada without legislative ratification?

August 13, 2022
Yes. See this article for some information about the treaty …
Pull request

Fix capitalization

merged August 12, 2022
Summary Fixes capitalization of a word Motivation Making the capitalization correct Supporting details Related issues Metadata Adds a new document …
Review

Review: A Snake's Tale

August 7, 2022
A fun puzzle game with snakes!
Stack Exchange post

How to choose between Google Noto emoji black and white, versus color, icon?

August 6, 2022
You can use variation selectors after a codepoint to control if an glyph should …
Stack Exchange post

How to subset Basic Latin (128 glyphs) with the Unicode range descriptor

August 6, 2022
You can't reduce the amount of data transferred with unicode-range. It's only used for deciding if a font should be loaded at all: > ["If the …
Pull request

Fix binary name in help message for test binaries

merged July 10, 2022
Currently the help output for a test binary uses the first argument instead of the binary name in the help output: $ cargo test -- --help ... Usage: …
Stack Exchange post

Are the private-beta sites also under Creative Common license?

June 30, 2022
> Does it also include the beta sites that are still in the private stage? Yes, they are licensed under CC-BY-SA. If you go to the timeline page …
Stack Exchange post

Cannot find method or associated constant `join` in `std::thread::JoinHandle`

June 27, 2022
JoinHandle isn't a trait, so full qualified trait syntax isn't applicable. Invoke the method directly, without the fully qualified trait syntax: …
Stack Exchange post

Replit DB is not loading data into variables

June 27, 2022
According to the documentation for replit-py, a KeyError …
Stack Exchange post

Find questions with the longest titles

June 27, 2022
Here's your query. You can adjust the number in `SELECT …
Observable notebook

Generating graphs that look like stock charts

June 26, 2022
Pull request

Fix Node installation instructions

merged June 25, 2022
yarn install <package> no longer works to add a package: $ yarn install nodejs-polars yarn install v1.22.10 info No lockfile found. error `install` …
Stack Exchange post

Compare DateTime with fixed offset to DateTime with time zone

June 25, 2022
Convert the timezone of b into the timezone of a before assigning it: a = b.with_timezone(&a.timezone());
Stack Exchange post

Async recursive function that takes a mutex

June 24, 2022
In this case, you can restructure the code to make it so unwrapped can't be used across an await: let value = { let mut unwrapped = …
Stack Exchange post

How to get full std::process::Command invocation as string in Rust?

June 23, 2022
There's no built-in method on Command to do that. You could write a function to make such a string though: fn pretty_cmd(cmd: &Command) …
Blog post

Playing with raw census data

June 22, 2022
Stack Exchange post

What are all the ways rust might panic without explicitly calling unwrap/panic?

June 21, 2022
There are many functions in core that panic when used improperly (random example: …
Blog post

Hidden HTML markup Google Sheets adds to the clipboard

June 20, 2022
Google Sheets/Docs/Slides adds extra HTML markup when copying stuff to the clipboard (continue reading)
Stack Exchange post

Unable to query graphql endpoint

June 19, 2022
Your query isn't valid GraphQL. getMetric isn't a query - instead, you need to call it like this: { getMetric(metric: …
Stack Exchange post

Can I modify the content of the default "main.rs" file in Rust?

June 18, 2022
No, the initial file contents for main.rs (if creating a binary) or lib.rs (if creating a library) are [hardcoded into …
Stack Exchange post

Collectives articles can be tagged with blocklisted tags

June 17, 2022
Collectives™ Articles™ can have tags, but aren't subject to the usual restrictions: they can have any number of tags, and can bypass the tag …
Itch game

Tilt2

June 11, 2022
Pull request

Remove outdated example/ directory

merged June 2, 2022
These examples are very outdated, and require a very old version of svelte-loader and Svelte to be used. This removes them to avoid confusion. Fixes …
Stack Exchange post

Weird profile icon on topbar on Insights

June 2, 2022
This is very similar to this bug, but on a different domain. The top bar on …
Stack Exchange post

Almost none of the JSON in the blog about JSON is JSON

June 2, 2022
There are still some issues: "the key is an alphanumeric string" — The key can be any string, it doesn't need to be alphanumeric "it really …
Stack Exchange post

How to resolve "edition2021 is required" when compiling all cw-plus contracts in docker container?

May 25, 2022
The Rust compiler in your Docker version is separate from the version on your system, and the version in the image isn't new enough to support the …
Stack Exchange post

Empty list for users who are in Teams, but with no shared teams

May 9, 2022
Users have a Profiles dropdown list on their profile: [![Menu with "Meta user" and "Network profile"][1]][1] If you share a Team with the user …
Blog post

Undocumented Google Sheets formula functions

May 8, 2022
Google Sheets has several interesting undocumented functions (continue reading)
Stack Exchange post

Where on Stack Exchange should I ask about how to find a book on Amazon?

April 3, 2022
Mathematics has a …
Stack Exchange post

Fear-free guide to getting started has fear-inducing 404

April 2, 2022
When new users sign up for Stack Overflow, they get an email with the subject "Your friendly, fear-free guide to getting started". At the bottom it …
Stack Exchange post

Broken jobs links in various headers/footers

April 1, 2022
This link in the footer for the Stack Overflow blog 404s since jobs is no more: [![A blog footer with a link labelled …
Stack Exchange post

Job link on tag page 404s

April 1, 2022
Tags that have jobs associated with them have a "[tag] jobs" link on them: [!["javascript jobs"][1]][2] Since [Jobs is no …
Pull request

Remove Vim swap files

merged March 31, 2022
Some Vim swap files appear to have been added to the repo accidentally; this PR removes them.
Blog post

Turning off Rust's borrow checker, completely

March 28, 2022
Breaking all of the safety in Rust (continue reading)
Pull request

Fix post menu CSS selector

merged March 27, 2022
It seems the selector for the post menu has changed; this updates it so that the userscript can locate the post menu and properly insert itself again.
Stack Exchange post

posts/:id/revisions route leaks draft Collectives™ articles

March 27, 2022
It's now possible for anyone to join a Collective™ and make a draft article. Links to draft articles 404 for those without the proper access, but the …
Stack Exchange post

Why are legal fees not unconstitutional where equal protection clauses exist?

March 26, 2022
People have argued that such legal fees are unconstitutional. Court fees that are a "obstacle that prevents some people from benefitting from the …
Stack Exchange post

Rust Read CSV without header

March 25, 2022
Use a ReaderBuilder, and call ReaderBuilder::has_headers to disable …
Stack Exchange post

GH cli - how to get current repo?

March 22, 2022
To get the name of the repo in the curernt working directory, run gh repo view --json name -q ".name" This extracts the name of the …
Stack Exchange post

What is the Unicode code for a grey ball?

March 22, 2022
You're probably looking for either ⚪ or ⚫, which are "medium white/black" circles. The exact display depends on the font being used. You might also be …
Stack Exchange post

Rust: Implement Hash/Eq

March 21, 2022
You can compare the String pointers instead of the actual String data. Of course, this method has issue that the Hash of a person will change …
Stack Exchange post

hugo how to sort tags and categories in terms.html

March 21, 2022
You need to specify the property to sort on to the sort function. Since you're iterating over a list of tag …
Pull request

Don't run UB in test suite

merged March 21, 2022
This splits ui/unsafe/union.rs to make it so only the non-UB parts are run. It also means we can do more testing of the location of error messages …
Stack Exchange post

str Memory Representation

March 20, 2022
A String is just a normal struct, and isn't built into the language, nor does it use any (substantive) compiler magic. Strings are just wrappers …
Pull request

pngoptimizer: init at 2.7

merged March 14, 2022
Motivation for this change This packages PngOptimizer, a PNG optimization and conversion program with a terminal (pngoptimizercl) and UI …
Blog post

Tracking PDF forms as plain text

March 12, 2022
How I manage my answers to PDF forms in Git (continue reading)
Blog post

Writing semantic ASCII

March 9, 2022
ASCII control characters are quite useful (continue reading)
Stack Exchange post

Hashcode sites are unmoderated and spam-filled

February 27, 2022
Hashcode is a network of Russian Q&A sites that was bought by Stack Overflow in 2015. The most active sites for programming and Russian were imported …
Stack Exchange post

What is the maximum number of Unicode combined characters that may be needed to render one glyph in real-life languages?

February 23, 2022
Nobody can be an expert in what makes up a "real-life" character in every language, so I might be missing some longer sequences here. But I do know …
Blog post

HTML comments work in JavaScript too

February 23, 2022
Some weird legacy behavior in JavaScript (continue reading)
Stack Exchange post

Formatting Sandbox

February 7, 2022
Sure hope I don't get answer banned, that would be a real shame.
Pull request

Upgrade to Unicode 14.0.0

merged February 7, 2022
This adds support for Unicode 14.0.0, which was released on 14 September, 2021.
Pull request

Update to Unicode 14.0.0

merged February 6, 2022
This adds support for Unicode 14.0.0, which has 838 new named code points. Running cargo run --example count gives: Before: there are 137714 named …
Stack Exchange post

Svelte make {:then} value of {#await} statement reactive

January 31, 2022
data is a reactive variable. The presence of a promise is unrelated to the issue: this occurs even if data is a normal variable. The issue is that …
Stack Exchange post

Why are top level or-patterns not allowed in let bindings?

January 31, 2022
The reason that top-level or-patterns aren't allowed is because [it would cause certain macro_rules! …
Stack Exchange post

Merge [dexie] and [dexiejs] tags

January 26, 2022
[tag:dexie] and [tag:dexiejs] both refer to the exact same Dexie.js library. They should be merged together. [tag:dexie] tag …
Stack Exchange post

"Pattern match is redundant" when using input list argument inside list comprehension

January 25, 2022
Pattern matches go top to bottom, so every call to positiveSum returns 0. Since the pattern for the first rule is positiveSum (x) = 0, which …
Stack Exchange post

How to create a byte slice constant with specific value?

January 24, 2022
On recent nightly compilers, you can now use the unstable concat_bytes! macro to do this: …
Stack Exchange post

Is there a way to collect statistics from cargo test?

January 23, 2022
On nightly compilers, you can use some unstable flags to get these statistics. Passing the unstable --report-time to the test executable makes it …
Stack Exchange post

Using page variables in Hugo

January 22, 2022
In Hugo, . gives you the current context. In a page, this has .IsHome. But it doesn't cascade down to partials unless you explicitly pass it. …
Stack Exchange post

We’ve made changes to our Terms of Service & Privacy Policy - January 2022

January 12, 2022
Section 10b is unchanged, and says: > If you don’t want to be bound by the arbitration and class-action waiver provisions in this section, you must …
Pull request

Don't loop forever with invalid quick add date

merged January 8, 2022
Quick entering Do a thing due:meh causes GTG to completely freeze, and need to be killed. This fixes it to treat tokens with invalid dates the as …
Stack Exchange post

Oh no! Can you find our unicorn? (Note: event has ended)

January 5, 2022
Since Winter Bash 2021 is over now, I'll now describe how I solved this puzzle to get the Defender of the Unicorn hat, in case anyone in the future is …
Stack Exchange post

Disparity in accessing command-line arguments using nth()

January 5, 2022
.nth() mutates the iterator it's called on. In approach 1, this isn't a problem since a new Args iterator is created in each call to …
Stack Exchange post

Account merge leaves behind empty network profile

January 5, 2022
I recently merged two of my Stack Exchange accounts. This causes the user with the higher ID to be deleted on each site where I had accounts that got …
Pull request

Support [x; n] expressions in concat_bytes!

merged January 2, 2022
Currently trying to use concat_bytes! with a repeating array value like [42; 5] results in an error: error: expected a byte literal --> …
Stack Exchange post

What enables a closure type to be used where a function pointer type is expected in Rust?

January 1, 2022
Closures can be coerced to function pointers if they do not capture any local variables. Closures that don't capture any variables are effectively …
Stack Exchange post

How to swap two vectors in a mutable struct

January 1, 2022
Use std::mem::swap to swap the values in-place: impl Data { fn proc(&mut …
Stack Exchange post

Suspended users can make invisible comments on Collectives articles

December 30, 2021
I was looking at the activity tab of a suspended user and noticed that they had made a comment while suspended: [![Screenshot of an anonymized …
Stack Exchange post

Why is `PartialOrd` not blanket-implemented for all types that implement `Ord`?

December 26, 2021
It would be a good idea to have a blanket implementation of Ord for types that implement PartialOrd. The reason that such a blanket …
Stack Exchange post

Oh no! Can you find our unicorn? (Note: event has ended)

December 23, 2021
[tag:bug] [tag:status-completed] This question: > Approximately how many page views do the Stack Exchange network get per month? Treats all of …
Stack Exchange post

Pin 100k hashes on own IPFS cluster

December 20, 2021
You can stream a list of files to ipfs pin add on STDIN. Here, /path/to/hashes is a file with one IPFS hash on each line: ipfs pin add …
Stack Exchange post

Removing url full stop values from string "." and "。"

December 20, 2021
Yes, here are the characters that are treated as a full stop in a URI: . # "Full stop", a normal period 。# "Ideographic full stop", a Japanese …
Stack Exchange post

"Oops! Something Bad Happened!" on Winter Bash leaderboard

December 19, 2021
The Winter Bash 2021 leaderboard gives a server error whenever it is visted: > # Oops! …
Stack Exchange post

When trying to make fullscreen glfw window: cannot borrow `glfw` as mutable because it is also borrowed as immutable

December 19, 2021
The first argument passed to the closure in with_primary_monitor is the glfw object you can use to perform further operations with. Use that …
Stack Exchange post

Rust: print! doesn't display when trying to get input

December 19, 2021
The print! adds the text to be printed to a buffer, but doesn't flush that buffer to output it to the terminal right away, to improve performance …
Stack Exchange post

Pointer to first element of vector in Result<Vec<f64>, _> is corrupted

December 19, 2021
The behaviour of that program is undefined, which can be seen by running it under Miri, which is a Rust interpreter that can sometimes detect …
Stack Exchange post

GitHub Codespaces: can't open file explorer at top-level directory

December 19, 2021
Add ?folder=/ to the end of the Codespace URI to open it in the root directory. This makes the URI look like …
Stack Exchange post

Serde missing field error when deserializing json file

December 19, 2021
It's not just link that is missing: Serde bails at the first error. link, page, and pageid, and update_timestamp are all missing. Serde …
Stack Exchange post

GitHub Actions API: Get view workflow run history

December 18, 2021
Use the /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs endpoint …
Stack Exchange post

What is "<[_]>" in Rust?

December 18, 2021
Let's go step by step to see how <[_]>::into_vec(box [$($x),+]) produces a Vec: [$($x),+] expands to an array of input elements: [1, 2, 3] …
Stack Exchange post

How can I get the largest element from array, using generics and traits?

December 18, 2021
You need to make the Largeable trait return a T from the Vec<T>, which you can do with an associated type: use std::fmt; pub trait …
Stack Exchange post

What exactly does __rust_force_expr do?

December 18, 2021
It doesn't have any result on how the macro is used, it only serves to improve the quality of error messages when the macro is used incorrectly by …
Blog post

Zopfli is *really* good at compressing PNGs

December 16, 2021
The Zopfli compression engine provides very good compression ratios. (continue reading)
Stack Exchange post

What is the etymology or software principle behind "fuse" in Rust?

December 13, 2021
The earliest use I could find of "fuse" in the Rust ecosystem is …
Stack Exchange post

How to traverse tuple in rust?

December 13, 2021
You can do this, but it's a really bad idea. Tuples have fixed length and data at compile time, and this is almost certainly not what you want to …
Stack Exchange post

Difference between Vec<_> and Vec<T>

December 13, 2021
Vec<T> could be defined as (the actual definition is more complex): pub struct Vec<T> { buf: RawVec<T>, len: usize, } As …
Stack Exchange post

Announcer badge awarded for a question I've never seen, much less shared

December 13, 2021
Reddit user tra31ng/tra12ng posted a link to that question, with user …
Stack Exchange post

How can I parse the .nth() line in a file as an integer?

December 10, 2021
You can't parse a number out of an Option<String>, since if it is None then there is nothing to parse. You must unwrap the Option first (or do …
Stack Exchange post

GitHub git hook on remote site to update wiki pages

December 9, 2021
GitHub doesn't support Git hooks (on GitHub.com at least, they are supported on GitHub Enterprise). However, you can use [GitHub …
Stack Exchange post

Rust: install locally built executable systemwide

December 9, 2021
You can do $ cargo install --path . to have cargo compile in release mode and install the crate in the current directory. This makes …
Stack Exchange post

Rust tells me that an import is unused, and then in the very same breath tells me that I should make that import

December 9, 2021
uses are scoped to the module that imports them, not the file they are in. Move the import into the dogroom module: pub mod dogroom { …
Stack Exchange post

Not getting expected output from as_string implemented for enum type

December 9, 2021
The match expression always matches on the first option, binding it to a variable named val1. That's why you got this compiler warning (in …
Pull request

Implement concat_bytes!

merged December 9, 2021
This implements the unstable concat_bytes! macro, which has tracking issue #87555. It can be used like: #![feature(concat_bytes)] fn main() { …
Pull request

imageworsener: 1.3.3 -> 1.3.4

merged December 8, 2021
Motivation for this change Updates imageworsener to 1.3.4 and adds me as a maintainer. Things done Built on platform(s) x86_64-linux aarch64-linux …
Pull request

oxipng: 5.0.0 -> 5.0.1

merged December 8, 2021
Motivation for this change https://github.com/shssoichiro/oxipng/releases/tag/v5.0.1 Things done Built on platform(s) x86_64-linux aarch64-linux …
Stack Exchange post

TLS for meta.*.stackexchange.com, again

December 8, 2021
When Stack Exchange transitioned to HTTPS, meta.*.stackexchange.com subdomains were changed to …
Blog post

Analyzing the public hostnames of Tailscale users

December 8, 2021
Stack Exchange post

Instant self-answers are ordered inconsistently

December 2, 2021
When the ["Answer your own question"][1] checkbox is used to provide an instant self-answer, the self-answer has the same creation timestamp as the …
Stack Exchange post

Is it possible to run nightly cargo with stable rustc

December 2, 2021
You can use the __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS environment variable to override the Cargo channel. As the name suggests, it's not …
Stack Exchange post

Read site configuration from a Hugo partial

November 29, 2021
You can pass the current context to a partial with .: {{ partial "header.html" . }} You can then access the context from within …
Pull request

Add method to get all state events in a room

merged November 27, 2021
It is useful to be able to get all of the state events that have occurred in a room, instead of needing to use Room::getCurrentState, which filters …
Blog post

Your Phone app has an email client

November 14, 2021
An explanation of how visual voicemail systems work (continue reading)
Blog post

Google's new related search box optimizes for the wrong metric

November 10, 2021
A box with related searches comes up at the worst possible moment (continue reading)
Stack Exchange post

Associated users endpoint gives empty response for meta users

November 7, 2021
The [/users/{ids}/associated][1] endpoint of the Stack Exchange API has the option to set ?types=meta_site to get the child meta users of a …
Stack Exchange post

/articles leaks top secret AudioBubble collective articles

November 6, 2021
https://stackoverflow.com/articles has some articles from the AudioBubble™ Collective™ (which is used for testing Collectives™ in production), which …
Pull request

Add note about x86 instruction prefixes in asm! to unstable book

merged November 5, 2021
Since rustc doesn’t do the assembly parsing itself, it is unable to detect when inline assembly ends with an instruction prefix, which doesn’t make …
Observable notebook

How PNG compresses images using filters

November 1, 2021
Stack Exchange post

How can I correctly specify the license for my code snippets?

November 1, 2021
You can specify licenses for your code, in addition to CC-BY-SA. You don't transfer the copyright in your code to Stack Exchange, so you can grant …
Stack Exchange post

OpaVote finds 3 more votes than the election page BLT

October 31, 2021
In the recent SO moderator election, OpaVote says that there were 28331 ballots. Downloading the …
Pull request

Add updated version of 12.1.0

merged October 26, 2021
I asked NOA legal to add some files to the OSS archive, and they obliged: Thank you for bringing this to our attention. We’ve completed our …
Pull request

Reject octal zeros in IPv4 addresses

merged October 21, 2021
This fixes #86964 by rejecting octal zeros in IP addresses, such that 192.168.00.00000000 is rejected with a parse error, since having leading zeros …
Stack Exchange post

Character whose ASCII value is equal to tick the mark on YouTube and Instagram

October 18, 2021
Yes, ☑️ or ✅ looks like those. Twitter even [has a list of emojis that look like the verified …
Stack Exchange post

Do I need to use Firebase to access all Hacker News articles?

October 18, 2021
You don't have to use the Firebase SDK to interact with the API, although you can if you want to. …
Pull request

qcoro: init at 0.3.0

merged October 17, 2021
Motivation for this change qcoro is a library for using C++20 coroutines with Qt. It appears it will also be needed to build Neochat from source in …
Pull request

tsdns: don't forward transient DNS errors

merged October 12, 2021
When a DNS server claims to be unable or unwilling to handle a request, instead of passing that refusal along to the client, just treat it as any …
Stack Exchange post

How can I access the Hacker News API using the Firebase SDK?

October 10, 2021
You can interact it with it using the Realtime Database API. Set the databaseURL to …
Stack Exchange post

How can I access the Hacker News API using the Firebase SDK?

October 10, 2021
The Hacker News API documentation says: > If you can use one of the many Firebase client libraries, …
Stack Exchange post

How does the Hacker News API produce a topStories and newStories endpoint on Firebase?

October 10, 2021
It doesn't appear that there is a way to have endpoints like that with content generated on-the-fly by Firebase. It appears that those endpoints are …
Stack Exchange post

My stackexchange.com "Activity" tab gives a server error

October 5, 2021
Going to [my "Activity" tab on stackexchange.com][1] results in an "Oops! Something Bad Happened!" server error. This only happens on my page, not …
Stack Exchange post

Location of data in PNG chunks

October 4, 2021
Yes. Note that the PLTE chunk has multiple fields: it specifies the whole palette, not just a single colour. Also, if the image uses a different …
Stack Exchange post

Why does LLVM appear to ignore Rust's assume intrinsic?

September 29, 2021
This now compiles to just a ret on recent versions of rustc due to improvements in rustc and LLVM. LLVM …
Stack Exchange post

Displaying raw pixel array on a web page using image tag

September 27, 2021
Relevant links: the zlib RFC, the DEFLATE RFC, and the [PNG …
Stack Exchange post

Cargo says "test failed, to rerun pass '--lib" - What does it mean?

September 27, 2021
That error message means that in order to rerun the tests that failed, you should pass --lib. What --lib does is (from the help) "Test only this …
Stack Exchange post

How to satisfy strict mime type checking for wasm?

September 27, 2021
application/wasm is indeed the correct MIME type to use for WASM files. The problem is that the WASM isn't being imported the proper way, through …
Stack Exchange post

Dereferencing a pointer to a dropped value and the memory is still there

September 26, 2021
When a String is dropped in Rust, ultimately what ends up getting called is …
Stack Exchange post

Javascript regex to match JSDoc tags inside a documentation block

September 26, 2021
Yep, the problem is that the description matcher is greedy. Changing * to *? to make it non-greedy fixes it. But it still has the problem of …
Stack Exchange post

Certbot failed to authenticate some domains

September 26, 2021
When using the webroot method with Certbot, a web server is spun up that serves a single file, so that Let's Encrypt can verify the ownership of the …
Stack Exchange post

Do collectives get to see my email?

September 25, 2021
The Joint Controller Agreement linked in that privacy …
Stack Exchange post

APNG gets out of sync after second page refresh

September 25, 2021
Browsers don't have any built-in support for treating APNGs as anything other than an image: there is no way to determine when an APNG has started or …
Stack Exchange post

Generate random using button using JavaScript

September 25, 2021
You need to store your emojis as their hex values, not as their HTML entity encoded form. Also, it seems the Unicode values you picked map to Japanese …
Stack Exchange post

Why is there no logical negation for atomic operations?

September 25, 2021
The x86 assembly for fetch_or looks like this (when the value is discarded): lock or byte ptr [rsp], 51 That's actually one …
Stack Exchange post

Updates to Privacy Policy (September 2021)

September 25, 2021
The previous privacy policy stated: > We may amend or …
Pull request

Properly make Qbs produce optimized builds

merged September 24, 2021
This was noticed at https://github.com/flathub/org.mapeditor.Tiled/pull/11#discussion_r715583117: the way to ask for a release build is differs …
Stack Exchange post

How do I programmatically taint the Linux kernel?

September 24, 2021
The root user can taint the kernel [by writing a taint value to …
Stack Exchange post

How do I programmatically taint the Linux kernel?

September 24, 2021
Is it possible to taint a running Linux kernel programatically? I want to be able to test things with a tainted kernel, without recompiling it to make …
Stack Exchange post

Cannot push to GitHub: Gist does not support directories

September 24, 2021
There is a way to work around Gist's prohibition on directories: only the latest commit on each branch is checked for the presence of directories. …
Pull request

Build using Qbs

merged September 23, 2021
Using qmake to build Tiled is deprecated (closes #10), this updates it to use Qbs. This is based on another app that uses QBS to build.
Stack Exchange post

Formatting Sandbox

September 22, 2021
192.168.1.1
Stack Exchange post

Is there any user data that can be used to infer how many answers are read on individual posts?

September 21, 2021
There will be! Later this week, Stack Overflow [will start tracking which answers are viewed on posts][1], and this data can be used to determine how …
Stack Exchange post

Is it possible to check if `panic` is set to `abort` while a library is compiling?

September 21, 2021
You can use this unstable code in your binary or library to cause an error when -C panic=abort is specified:
Stack Exchange post

How to add SSL certificate inside binary file?

September 20, 2021
There is probably a way to do this that doesn't involve modifying compiled binaries (if you can access the key at compile time you can do …
Stack Exchange post

Insert PNG comment block (iTXt) using javascript

September 14, 2021
Chunk names are case-sensitive, tEXt is the name of the chunk, TEXt is not. And since the first letter is uppercase, making the chunk critical, no …
Stack Exchange post

What do these FFmpeg APNG encoder prediction methods mean?

September 14, 2021
The PNG specification specifies 5 different filter types that are used to make the image data more …
Pull request

One character aliases for cargo-miri run/test

merged September 14, 2021
The main cargo command supports cargo r as an alias for cargo run, and cargo t as an alias for cargo test. This adds support to them in cargo-miri for …
Stack Exchange post

What is Roberts's method for gradient estimation?

September 14, 2021
It was originally described in Machine Perception Of Three-Dimensional Solids by Lawrence G. Roberts as a method for …
Stack Exchange post

What is Roberts's method for gradient estimation?

September 13, 2021
Graphics Gems II, [chapter II.9 (*Image File Compression Made …
Stack Exchange post

How to use Cargo commands programmatically in Rust?

September 11, 2021
Add the cargo (docs) crate to your dependencies, and you can use Cargo as a library! It …
Stack Exchange post

Could moderators actually review-ban the Community user, and what would happen if they did?

September 6, 2021
No, Community is special-cased to be unbannable: "don’t mess with the Community User!" [![User not eligible for review suspension: don’t mess with …
Stack Exchange post

How to compile Rust to LLVM bitcode including dependencies?

September 3, 2021
Expanding on Aiden4s comment: Delete the current target directory to prevent any old artifacts …
Stack Exchange post

How can I display an enum in lowercase?

September 1, 2021
Here is a way to do that without needing to manually update Display::fmt every time you add a new colour by using the derived Debug implementation …
Stack Exchange post

Tag [svelte] should be syntax highlighted as lang-html

August 31, 2021
[tag:svelte] is a web framework where components are expressed with HTML syntax. Here's an example of what Svelte code looks like from [their …
Stack Exchange post

Merge [google-people] and [google-people-api]

August 30, 2021
[tag:google-people] (309 questions) and [tag:google-people-api] (157 questions) both refer to the exact same Google People API, and should be merged, …
Stack Exchange post

How to ensure consistent display of fonts?

August 28, 2021
None of the fonts in that font stack have emoji glpyhs in them. As such, the browser looks for emoji fonts on the system and tries to use them to …
Stack Exchange post

Displaying New tab after clicking a tag

August 25, 2021
You can adjust the global Markdown rendering settings to make links in Markdown …
Pull request

Expand THIR section with more details

merged August 21, 2021
This adds some more details about how the THIR works. It also adds as an example what some THIR looks like, along with some annotations I added. …
Stack Exchange post

Can't see revision history for returned migrations

August 18, 2021
When a migration is rejected after a post is migrated, the post migrates back to the original site. Normally with migrations you can see the …
Blog post

How good is Codex?

August 17, 2021
I evaluate Codex, a large-scale language generation model intended to generate programming source code from OpenAI. (continue reading)
Pull request

Remove docs for old -Z profile-queries flag

merged August 16, 2021
This flag was removed by https://github.com/rust-lang/rust/pull/65081, and the content of the page on profiling queries was quite outdated. I’ve …
Art

Stylized tree

August 15, 2021
Pull request

CONTRIBUTING.md: fix link to COPYING

merged August 10, 2021
The current link 404s when viewed on GitHub due to using a relative path that refers to an upper directory. Motivation for this change The current …
Pull request

whereis: use commands for Bash completions

merged August 9, 2021
Currently, the Bash completions for whereis <TAB> gives whereis file (“file” is not a placeholder here, it literally expands to that). This fixes that …
Pull request

Add dino with long neck

merged August 8, 2021
Pull request

Add x.py option to --force-rerun compiletest tests

merged August 7, 2021
This can be used like ./x.py test src/test/ui/abi/ --force-rerun, and is useful when verifying that newly blessed tests don’t change between test runs …
Pull request

Test dropping union fields more

merged August 4, 2021
Now that #87403 is merged, a few more tests can be added for reads/writes to dropping union fields. r? @LeSeulArtichaut
Blog post

Accidentally causing a Switch rumor

July 31, 2021
Nintendo's website wasn't updated because of a big update, but because I asked them to. (continue reading)
Pull request

Document math behind MIN/MAX consts on integers

merged July 28, 2021
Currently the documentation for [integer]::{MIN, MAX} doesn’t explain where the constants come from. This documents how the values of those constants …
Pull request

Support -Z unpretty=thir-tree again

merged July 28, 2021
Currently -Z unpretty=thir-tree is broken after some THIR refactorings. This re-implements it, making it easier to debug THIR-related issues. We have …
Pull request

11.0.0

merged July 27, 2021
This is a pretty big update. The ZIP file got 65 MiB larger, and every directory has been updated or renamed.
Stack Exchange post

Data types in Rust

July 25, 2021
The maximum value a i128 can store is 2127 - 1, and the minimum is -(2127). The first bit is used for tracking if the number is …
Stack Exchange post

Why True value returns True with membership in function in python

July 24, 2021
True is implictly converted to a number, 1. (False would be converted to 0) The in operator checks if any element is equal to the left …
Stack Exchange post

What does "package foo in Cargo.lock is yanked in registry" mean?

July 24, 2021
It means that the package has been marked as "yanked". This is usually done …
Stack Exchange post

Why there is no `shutdown` method for TcpListener and UdpSocket in Rust

July 23, 2021
You can use std::mem::drop to drop a value early: let listener = TcpListener::bind("127.0.0.1:80")?; // ... drop(listener); // ... ``` …
Stack Exchange post

Remove default linker flags in Rust

July 23, 2021
Start by making sure that you are passing the right linker-flavor. rustc …
Stack Exchange post

Can I keep "unused css selector"?

July 23, 2021
You probably want to wrap the selector in :global(...), like :global(.red) { color: red; } This forces Svelte to keep the class …
Pull request

Make setting due date today an option in context menu

merged July 21, 2021
This is useful for when you want to reschedule future tasks to today, or bump forward overdue tasks to today.
Blog post

Using Colemak for a year

July 17, 2021
Stack Exchange post

Why does SE track post referrers?

July 15, 2021
I exported my SE data, and in /qa/[site]\PostReferralsInbound.json there are entries like
tip

CTRL-D exits bash right away

July 15, 2021
Fun fact! You can hit CTRL-D to exit bash (and most Unix shells) quickly. CTRL-D is the combination for EOF, and most Unix programs stop when they hit EOF, bash included.
Pull request

Check for union field accesses in THIR unsafeck

merged July 9, 2021
see also #85259, #83129, https://github.com/rust-lang/project-thir-unsafeck/issues/7 r? @LeSeulArtichaut
Pull request

Bump dependencies to fix HTML in tables

merged July 6, 2021
This updates dependencies to their latest versions, causing #19 to be fixed, and also adds a regression test for that issue. I’ve also verified that …
Pull request

Make work with latest rustc

merged July 4, 2021
Cc https://github.com/rust-lang/rust/issues/86863, which was caused by PR https://github.com/rust-lang/rust/pull/86255.
Pull request

Support allocation failures when interpreting MIR

merged July 4, 2021
This closes #79601 by handling the case where memory allocation fails during MIR interpretation, and translates that failure into an InterpError. The …
Pull request

Add suggestions for "undefined reference" link errors

merged July 1, 2021
This adds a suggestion for “undefined reference to …” linking errors to install or specify the location to an external library. Since there is no …
Pull request

Document how to mark features as incomplete

merged June 29, 2021
This was changed in https://github.com/rust-lang/rust/pull/86446 such that incompleteness is included in the declaration.
Pull request

Don't make `rustc_insignificant_dtor` feature gate

merged June 29, 2021
This isn’t a feature gate, it’s an attribute that is feature gated behind the rustc_attrs attribute. Closes #85680.
Pull request

Don't run a publically reachable server in tests

merged June 29, 2021
This causes Windows Defender’s firewall to pop up during tests to ask if I want to allow the test program to access the public Internet, since it was …
Pull request

Use HTTPS links where possible

merged June 26, 2021
While looking at #86583, I wondered how many other (insecure) HTTP links were in rustc. This changes most other http links to https. While most of the …
Pull request

Generate glossary table correctly

merged June 24, 2021
Currently it renders like: This changes it to: The incorrect rendering is caused by a bug in mdBook: https://github.com/rust-lang/mdBook/issues/1583. …
Pull request

Say "this enum variant takes"/"this struct takes" instead of "this function takes"

merged June 22, 2021
This makes error messages for functions with incorrect argument counts adapt if they refer to a struct or enum variant: error[E0061]: this enum …
Pull request

Add pattern walking support to THIR walker

merged June 19, 2021
Suggested in https://github.com/rust-lang/rust/pull/85263#issuecomment-861906730, this splits off the support for pattern walking in THIR from #85263. …
Pull request

Remove some last remants of {push,pop}_unsafe!

merged June 18, 2021
These macros have already been removed, but there was still some code handling these macros. That code is now removed.
Pull request

Mention that MAX / -1 and MAX % -1 always panic

merged June 18, 2021
See https://github.com/rust-lang/rust/issues/86099#issuecomment-862857244 for some more context. These operations always panic, even when overflow …
Pull request

Use better error message for hard errors in CTFE

merged June 17, 2021
I noticed this while working on #86255: currently the same message is used for hard errors and soft errors in CTFE. This changes the error messages to …
Pull request

Peephole optimize `x == false` and `x != true`

merged June 9, 2021
This adds peephole optimizations to make x == false, false == x, x != true, and true != x get optimized to !x in the instcombine MIR pass. That pass …
Pull request

Mention workaround for floats in Iterator::{min, max}

merged May 27, 2021
Iterator::{min, max} can’t be used with iterators of floats due to NaN issues. This suggests a workaround in the documentation of those functions.
Pull request

Lint against non-CamelCase trait alias names

merged May 27, 2021
Type aliases are linted as such, so (unstable) trait aliases should be treated the same way.
Pull request

Remove unneeded workaround

merged May 27, 2021
This removes a workaround for #24159, which has been fixed.
Stack Exchange post

How to implement serde::Deserialize on struct containing &'static str?

May 22, 2021
I'm trying to implement serde::Deserialize on a SourceConfig struct, which wraps a struct containing an &'static str along with having some data …
Blog post

Security​Classification​Level in email headers

May 17, 2021
Recently I got a non-automated email from a government agency. While the email was interesting, what was more interesting was the email headers. (continue reading)
Pull request

Check for inline assembly in THIR unsafeck

merged May 16, 2021
#83129 was merged recently and added a THIR unsafe checker. This adds a check for inline assembly. (and this is 2x simpler than the MIR version, which …
Pull request

Document -Zunpretty=thir-tree

merged May 13, 2021
This flag is useful for debugging the THIR.
Stack Exchange post

Can we implement the Copy and Clone traits to Command struct?

May 13, 2021
No, implementing Copy and Clone is impossible, since Command does not implement Copy or Clone itself. It wouldn't make sense for Command …
Stack Exchange post

importing winston causes 'process is not defined'

May 13, 2021
You can't use Winston in the browser right now, although support for it is currently on roadmap.
Stack Exchange post

How do I get a value from a `HashMap::<&'static str, u32>` using a String as the key?

May 11, 2021
Use &s[..] to convert the String into a &str: println!("foo={}", map.get(&s[..]).unwrap()); ``` …
Stack Exchange post

Why would std::process::Command::ouput fail?

May 9, 2021
There could be some issue opening the binary being executed (i.e. access denied, doesn't exist) When waiting for the process to finish, the …
Stack Exchange post

Deleting question on SO for teams warns of question ban that won't happen

May 8, 2021
When deleting a question on SO for Teams: [![Delete this answered question? We do not recommend deleting questions with answers because doing so …
Stack Exchange post

How can I test my Boxed error for a specific type?

May 5, 2021
Dereference the Box before doing the assert_eq: let err = tlv.downcast::<BridgeError>().unwrap(); assert_eq!(*err, …
Stack Exchange post

Why doesn't converting a u8 pointer into a [bool; 8] pointer yield the number bit-by-bit?

May 5, 2021
The behavior of that program is undefined (so the output is meaningless). From Miri: error: Undefined Behavior: memory access failed: …
Pull request

Valid underscores in hex/octal/binary literal docs

merged May 4, 2021
Currently hex/octal/binary literals with computed values are displayed like 0_xff_fff_fffu32, which is invalid since underscores can’t be in the …
Pull request

Throw UB if f*_fast intrinsic called with non-finite value

merged May 3, 2021
Calling these intrinsics with non-finite values is undefined behaviour, since they result in f* intrinsics in LLVM with the fast flag, and fast math …
Pull request

Ignore commented out lines when finding features

merged April 29, 2021
This fixes #76246, where commented out lines were being detected as features by tidy, by ignoring those lines when looking for features. It’s still …
Pull request

Allow pressing | to surround closure arguments in VSCode

merged April 27, 2021
This makes pressing | while some text is selected surround that text with pipes. This is useful when writing closures. In this demo, I press | to …
Pull request

Make tests pass on Rust 1.53

merged April 26, 2021
Since all warnings are denyed when cfg(test), new warnings in rustc make tests fail. A new warning was added to rustc, so they fail with warnings like …
Pull request

Make license metadata SPDX-formatted

merged April 26, 2021
This makes the license metadata be in the standard SPDX format, so tools can correctly interpret the license metadata of this crate.
Pull request

Handle pretty printing of `else if let` clauses without ICEing

merged April 26, 2021
When pretty printing the HIR of if ... {} else if let ... {} clauses, this displays it the else if let part as match it gets desugared to, the same …
Stack Exchange post

Malicious javascript code in querystring for my website in google analytics

April 25, 2021
Someone is trying to do something malicious. There's no reason to believe that they're succeeding, though. They [appear to be automatically trying …
Stack Exchange post

Is repr(C) a preprocessor directive?

April 23, 2021
#[repr(C)] is not a preprocessor directive, since Rust doesn't use a preprocessor 1. It is an …
Pull request

Mention -Z unpretty=mir-cfg for debugging MIR

merged April 23, 2021
This adds a mention of -Z unpretty=mir-cfg, a useful flag for viewing MIR as a control flow diagram.
Pull request

Write Rustdoc titles like "x in crate::mod - Rust"

merged April 22, 2021
This makes Rustdoc titles for items be like “Widget in cratename::blah::foo - Rust”. Titles for modules and other non-items are unchanged, and still …
Stack Exchange post

Where is the complete list of GitHub achievements?

April 20, 2021
According to a GitHub blog post, there are currently …
Stack Exchange post

Is the other person notified if I follow then unfollow a person on github?

April 19, 2021
No. I have set my notification settings such that I receive all types of notifications. Despite this, I …
Stack Exchange post

How to group elements of a vector by a pattern?

April 19, 2021
Iterate over the elements of the nums to build up the split. For every number, compare it to the last number to decide whether to create a sublist, …
Stack Exchange post

How to check if specified char exists on Android ? (jss/css/whatever/…)

April 16, 2021
FontFaceSet.check does not check if a specific character exists in a font, only …
Stack Exchange post

Is there a closed form expression for the eigenvectors of a 2x2 matrix?

April 15, 2021
Is there a closed form expression for the eigenvalues/eigenvectors of an arbitrary 2x2 matrix $ \begin{bmatrix} a & b \ c & d …
Pull request

Fix error message on client.toml absence

merged April 6, 2021
Pull request checklist All tests pass. Demo project builds and runs. I have resolved any merge conflicts. What’s in this pull request? This fixes …
Pull request

Fix license metadata in package.json

merged April 2, 2021
Currently, incorrect license metadata is causing the licence to be displayed wrong on the NPM sidebar, since NPM uses the metadata in the package.json …
Stack Exchange post

What does use crate::body::Body; mean?

March 31, 2021
It refers to to the crate currently being compiled. So in this example, it is resolved as rtsp_server::body::Body. The body::Body part is refering …
Stack Exchange post

How to find the git commit id of an included crate?

March 27, 2021
You can't. Crates on crates.io don't need to be built from a Git repo, and there is no built-in way to determine what commit a crate was built from. …
Stack Exchange post

Anyone is able to see ♦ moderator announcements

March 26, 2021
This appears to be fixed. The mod inbox now 404s on teams:
Stack Exchange post

Check if the lines of a file contains given pattern without regex in Rust

March 25, 2021
You can loop over all possible values: let line = line.unwrap(); for i in 0..=9 { if line.contains(&format!("PerfectSwitch-{}: …
Blog post

Interesting things in Nintendo's OSS code

March 25, 2021
The Nintendo Switch has some open source parts, and Nintendo very kindly allows the source code for these parts to be viewed. (continue reading)
Stack Exchange post

Numerically compute intersection of infinite line and rectangle

March 24, 2021
I'm trying to numerically compute where an infinite line defined by two points intersects a (finite) rectangle also defined by two points. Here's a …
Pull request

Don't show welcome message when embedded

merged March 23, 2021
The welcome pane isn’t very helpful when in embedded mode, since editing isn’t supported, and the person probably just wants to look at the diagram. …
Stack Exchange post

Anyone is able to see ♦ moderator announcements

March 22, 2021
There is a way for anyone to see ♦ moderator announcements despite not being one: [![A list of moderator announcements][1]][1] This can be …
Stack Exchange post

Area 51 uses insecure avatar generation

March 20, 2021
Area 51 uses [a different system for avatars][1] than the rest of the network. While on every other site [Gravatar URIs are salted][2], on Area 51 …
Stack Exchange post

Upvotes on passed review audits disappear

March 17, 2021
I upvoted a [review audit that I passed][1], but after I was told that I passed, the upvote I cast disappeared. Shouldn't upvotes on passed review …
Stack Exchange post

How to delete a contributor on GitHub repository page?

March 17, 2021
I tested this, GitHub appears to treat the list of "Contributors" as append-only: whenever it sees a new one, it adds it to the list, but it never …
Stack Exchange post

GitHub: problem pushing a local branch to the remote

March 16, 2021
The repo URI you are trying to push to doesn't exist, or you don't have permission to access it (GitHub pretends that private repos you don't have …
Stack Exchange post

When we click "accept both changes" in vscode, Which command will be executed during merge conflict?

March 16, 2021
You can check exactly what commands are run in the "Git" console, under the "Output" tab: [![A screenshot of a Git console window. At the top are 4 …
Pull request

Custom error on literal names from other languages

merged March 15, 2021
This detects all Java literal types and all single word C data types, and suggests the corresponding Rust literal type.
Stack Exchange post

Destructuring an Option<Box<_>> inside a match statement in Rust

March 15, 2021
Dereference the box after matching: if let Some(inner) = self.pending_removal.take() { let (temp_structure, some_boolean) = *inner; …
Blog post

Writing a Boolean expression parser in Rust

March 15, 2021
Let's write some Rust to parse and evaluate Boolean expressions. (continue reading)
Web app

Linear transformation playground

March 13, 2021
Play with some linear transformations in your browser!
Stack Exchange post

In Github, how do you determine which branch the release came from

March 12, 2021
Releases are created from the branch you select when creating the release:
Stack Exchange post

Why can't I access enum fields directly?

March 12, 2021
It is because weight isn't part of the Animal enum, it's part of the Cat type of the enum. Say in the future you add another type of animal that …
Stack Exchange post

Rust: Implicitly convert from usize to the corresponding int type

March 11, 2021
You can use the [TryInto][1] trait in function arguments to do implicit conversions from the perspective of callers. It still involves conversion, …
Stack Exchange post

Rust: Write stdout into a buffer or String

March 10, 2021
Command output is represented as a series of bytes. Use [std::str::from_utf8][1] to convert it to a str: use std::str; …
Stack Exchange post

GitHub what causes gaps in issue #Number (404 This is Not...)

March 10, 2021
From experience, I've seen that issues and pull requests will 404 if GitHub's filtering system or moderators decide that a PR/issue is spam.
Stack Exchange post

Why mutable reference on `const` is not an error?

March 10, 2021
Taking a mutable reference to a constant creates a new, temporary variable. Your code is treated by the compiler as: fn main() { const …
Stack Exchange post

svelte : embedded github gist throws Failed to execute 'write' on 'Document'

March 10, 2021
You can work around this by rendering the Gist in an <iframe>: <!-- Gist.svelte --> <script> export let gistUrl = "" import { …
Stack Exchange post

How do I get a bytes::bytes::Bytes from a std::string::String?

March 9, 2021
[Bytes][1] implements [From][2]/[Into][3] for [String][4] to allow conversion from strings to the bytes representing that string in …
Note

First note

March 8, 2021
If you are reading this, then I've sucessfully set up my notes system. This is for notes with less content than full blog posts.
Pull request

Update models URIs in notebook

merged March 8, 2021
This updates the model URIs in the notebook to the new ones from fd6c1443c2810c207fc6ea0cea10db6abf86e25d, to make it easier to use them.
Stack Exchange post

macos clipboard is parsing "/n" as "⏎"

March 7, 2021
When [eagerly evaluating][1] expressions, Chrome puts the entire output on one line. Hit enter to (uneagerly) evaluate the expression for real to get …
Stack Exchange post

Rust trying to maintain self-defined list: cannot borrow `self.array` as mutable more than once at a time

March 6, 2021
Rust doesn't allow multiple mutable references to the same variable at the same time. The easiest way to fix this would be to interleave the borrows, …
Pull request

Support breakpoint intrinsic

merged March 5, 2021
The breakpoint intrinsic raises a SIGTRAP signal. If a debugger is attached to a normal program, then SIGTRAP can be used to trigger breakpoints in …
Stack Exchange post

Error selenium wire linux with dependency cryptography

March 3, 2021
rustc failed compilation with a SIGKILL. This probably happened as a result of it using up too much memory, and the [OOM manager deciding to kill …
Stack Exchange post

How to run a single doc test in Rust?

March 1, 2021
You can run doc-tests at the granularity of individual documented items. If you have some source code like this: /// ## Example /// ``` …
Stack Exchange post

Function that gets slice of strings and extracts them as arguments to shell command in Rust

February 28, 2021
Use [Command::args][1]: fn apt_install(package_name: &str, options: &[&str]) { let mut c = Command::new("apt-get") …
Pull request

Suggest character encoding is incorrect when encountering random null bytes

merged February 28, 2021
This adds a note whenever null bytes are seen at the start of a token unexpectedly, since those tend to come from UTF-16 encoded files without a BOM …
Scratch project

Unthrottled recursion demo

February 3, 2021
Pull request

Better styling of "Switch result tab" shortcut

merged February 3, 2021
Before: After:
Pull request

Add note about Webpack 5 workaround to changelog

merged January 17, 2021
Webpack doesn’t make it obvious how to fix this error, so we should document it in the changelog to help those upgrading to Webpack 5.
Pull request

Re-enable all num tests on WASM

merged January 17, 2021
This was partially done by #47365, but a few tests were missed in that PR.
Pull request

Document compilationoptions

merged January 17, 2021
Per https://github.com/sveltejs/svelte-loader/issues/76#issuecomment-761686961, this closes #76.
Pull request

Provide example when format string is rate limited

merged January 13, 2021
Here’s an example log line in the new format: [RATE LIMITED] format string "open-conn-track: timeout opening %v; no associated peer node" (example: …
Pull request

Fix emitCss test

merged January 13, 2021
This re-adds the test and makes the tests pass.
Pull request

Return NOERROR instead of NOTIMP for most records

merged January 12, 2021
This is what every other DNS resolver I could find does, so tsdns should do it as well. This also helps avoid weird error messages about records don’t …
Pull request

Explicitly licence under MIT

merged January 12, 2021
Currently the licence name “MIT” is in the package.json but it there isn’t an actual licence in the repo. #136 would have added a license but now #146 …
Pull request

Document 3.0.0 release

merged January 11, 2021
This should help people updating know exactly what they need to do when updating.
Pull request

Move CI to Github Actions

merged January 11, 2021
Per https://github.com/sveltejs/svelte-loader/pull/140#pullrequestreview-514153012, most Svelte repos are using Github Actions now, so let’s use it …
Pull request

Clarify that raw format strings are intentional

merged December 19, 2020
This caused some confusion in issue #460, since usually raw format strings aren’t printed directly. Hopefully by directly logging that they are …
Pull request

Require at least Go 1.15 in go.mod

merged December 14, 2020
This is actually already required, this just updates go.mod with that fact. If you try and fail to build Tailscale with an outdated Go version, an …
Pull request

Remove unused .gitignore lines

merged December 13, 2020
These removed lines ignore built files that don’t exist anymore, and just serve to clutter up the .gitignore file. (I was initially confused when I …
Observable notebook

Using MNIST data with Observable

November 20, 2020
Pull request

Test on Node v14

merged October 21, 2020
This makes it so we test the same versions as Svelte itself.
Pull request

Fix URL for internals thread on 1.47.0 post

merged October 6, 2020
The current link 404s, this fixes the post so the URL points to the actual forum thread.
Pull request

fix(left-sidebar) extra scrollbar when opening left sidebar

merged September 30, 2020
This prevents an extra vertical scrollbar from being displayed at the bottom when opening/closing the left sidebar. There is still a vertical …
Pull request

Set creation time when a page is created via link

merged September 29, 2020
This stops the creation time from showing as (unknown date) in the list of pages when a page was created via link.
Pull request

Remove old "exprd" parameter from test .bb files

merged September 6, 2020
Since jsbrain refuses to process files with unrecognised parameters, it gave errors when handling these files. I am now able to successfully generate …
Blog post

TagTime Web: my stochastic time tracking web app

August 26, 2020
It randomly samples what you are doing (continue reading)
Web app

TagTime Web

August 20, 2020
Time tracking that randomly samples you.
Itch game

Time Freezer

August 17, 2020
You can freeze time for a few seconds
Pull request

Fix logging code on latest Nim

merged July 28, 2020
This was causing the code not to compile on recent Nim.
Blog post

Reddit's website uses DRM for fingerprinting

July 8, 2020
Blog post

Data WhiteOps collects

July 8, 2020
A long list of data collected by WhiteOps (continue reading)
Blog post

Gmail's fake loading indicator

July 4, 2020
Gmail's loading progress bar doesn't *actually* measure the progress of loading. (continue reading)
Blog post

How I improved this blog

June 16, 2020
How I improved this blog a bunch. (continue reading)
Blog post

Generating our own knowledge panels

June 14, 2020
About how I made a simple clone of Google's knowledge graph. (continue reading)
Itch game

Pencil Defense

May 24, 2020
Defend the pencil in the middle!
Pull request

Several minor UI improvements

merged May 18, 2020
This incorporates several minor UI changes: style.cljs is now formatted idomatically. Fixed two lint warnings about the order of requires. There is …
Pull request

Add basic styling

merged May 14, 2020
See #10. This uses Garden for some basic styling. Now, the body uses the browser’s default sans-serif font, instead of not specifying one (some …
Itch game

Doubleshoot

May 10, 2020
Shoot the red enemies with your duel-sided laser, while avoiding the good guys!
Itch game

Use your distance

May 1, 2020
You have a limited amount of movement to beat 4 levels.
Pull request

Add Roman::value_checked

merged April 25, 2020
This adds Roman::value_checked. Unlike Roman::value, this returns an Err instead of panicking. I also added some tests to ensure it behaves correctly.
Pull request

Add documentation examples for members and entries

merged March 29, 2020
Adds documentation examples for JsonValue::members and JsonValue::entries.
Game

Mova

January 3, 2020
A game where you avoid tiny squares.
Blog post

A bookmarklet to amplify YouTube

November 15, 2019
A bookmarlet to amplify YouTube videos. (continue reading)
Web app

Is your shift key pressed?

October 24, 2019
Wondering if your shift key is pressed? Not anymore.
Blog post

How to use private JS class variables

September 30, 2019
A short tutorial on using private class variables in JavaScript. (continue reading)
Game

0friction

September 8, 2019
A game with slippery controls.
Game

Square game

September 1, 2019
A game that involves squares.
Pull request

Fix URI to testing.md

merged July 23, 2019
It got broke when it was moved to the devs directory.
Pull request

Add info and usage instructions to README

merged July 20, 2019
Blog post

AlertReady To Retire Ku Band Alerts

July 5, 2019
Pelmorex, the company that runs AlertReady will stop providing alerts over the satellite Ku band on August 31. (continue reading)
Pull request

Impact @steem.dao by sps_fund operation

merged July 3, 2019
Closes #3384.
Pull request

Several documentation improvements

merged July 3, 2019
Pull request

Fix typo: SDB -> SBD

merged July 1, 2019
Web app

SpeakScribe

June 27, 2019
A dictation website that uses Web APIs.
Blog post

Easily upload files to IPFS, online

June 5, 2019
Easily upload files to IPFS with my new online tool! (continue reading)
Web app

Upload2IPFS

June 4, 2019
Upload files to the IPFS network online.
Pull request

Add icemining pool

merged June 2, 2019
Pull request

Make net module compile with --taintMode:on

merged June 1, 2019
Currently the net module doesn’t compile when the --taintMode:on flag is passed to the compiler. Not well tested, I’ve only tried it by patching my …
Stack Exchange post

Why does Chrome pretend I'm sending a X-DNS-Prefetch-Control header?

May 18, 2019
I'm running a server that always responds to all requests with HTTP/1.1 200 OK Test But Chrome DevTools shows that I'm sending a …
Blog post

How to watch YouTube video frame-by-frame

April 14, 2019
Watching YouTube videos frame-by-frame is simple: here's how. (continue reading)
Pull request

Make clone URL work for those without push access

merged April 11, 2019
SSH URLs only work for those with push access to this repo, HTTPS urls work for everyone.
Blog post

Next Canada-wide emergency alert test announced for May 8

April 9, 2019
Pelmorex has announced the test alert, which will be played across phones, TV shows, and radios. (continue reading)
Stack Exchange post

Do -ist words (e.g. racist) have superlative or comparative forms?

March 15, 2019
Do -ist words (e.g. racist, sexist, etc.) have superlative or comparative forms?
Art

Battle/fight icon

March 7, 2019
Pull request

Fix x11 import

merged February 17, 2019
Closes #60.
Blog post

Nim: How to use a cstringArray

February 6, 2019
A overview of how to use a cstringArray in Nim. (continue reading)
Blog post

New Blog!

February 2, 2019
Welcome to my new blog. (continue reading)
Website

Nini

January 14, 2019
Tools for the Nimiq blockchain.
Pull request

Add "deleted" account

merged November 26, 2018
See https://github.com/steemit/condenser/pull/3058. This account has been “deleted” (blacklisted by Condenser), because the user wanted their account …
Web app

Splinterlands explorer

November 25, 2018
Explore operations that have happened on Splinterlands.
Pull request

Improve manifest

merged November 18, 2018
Improves the manifest read by Chrome.
Pull request

Add UP token support

merged October 30, 2018
This adds the UP wallet. UP tokens are created by @steem-1up sending custom_json operations with an id of 1up. Moderators can make posts containing …
Pull request

Improve formatting consistency for geolocation

merged October 27, 2018
Improves formatting consistency for geolocation address object
Pull request

Improve language used in README

merged October 27, 2018
Improves the language used in README.md
Pull request

Bump version to 1.1.0

merged October 3, 2018
Changes from v1.0.2: Adds Partiko, SteemPress, Tasteem, and APPICS info Adds SteemPeak info and URL scheme Removes trailing slash from Steemhunt, …
Pull request

Don't let users enable beta option

merged September 16, 2018
Fixes #98 Changes Summary of changes you made. Option to enable beta is removed Users aren’t redirected if they have beta enabled Test plan Explain …
Pull request

Add Ulogs to list of apps

merged September 14, 2018
Pull request

Fix typo

merged September 10, 2018
Fixes a typo in the filename of the Git guildelines file
Scratch project

Find me!

August 9, 2018
Scratch project

Follow the instructions!

August 8, 2018
Scratch project

Check/X Animation

August 8, 2018
Pull request

Add mineNIM Pool and Nimiq Tip Bot to address book

merged August 4, 2018
mineNIM website: https://minenim.org/
Stack Exchange post

Should I let users set rel="canonical"?

July 20, 2018
There is a website where users can post content. Often, users repost content they’ve made on other websites, to this website. (For example, their …
Pull request

Release 1.0.2

merged July 19, 2018
Adds changes from #15, and bumps up the version number from 1.0.1 to 1.0.2. Could you deploy this to NPM, please?
Pull request

Make Zappl templated

merged July 18, 2018
Makes Zappl a template. For steemit/condenser#2947.
Pull request

Add Nimiq Foundation and Charity to address book

merged June 18, 2018
Adds Nimiq Foundation and Charity to address book.
Pull request

Add Nimiq Faucet to address book

merged May 29, 2018
Adds my faucet to the address book.
Pull request

Fix 404 links in README

merged May 21, 2018
Fixes dead links in README, as nimiq.com/wallet is now safe.nimiq.com, and the miner has moved to miner.nimiq.com
Pull request

Fix code in latest post

merged May 8, 2018
Should be relayTransaction, mempool.pushTransaction is for light clients.
Pull request

Add post: Sending NIM with the Nimiq API

merged May 7, 2018
Basically just this post by me.
Pull request

Update discord link in more files

merged May 4, 2018
Fixes a few more files, using the link from 36589bd. No more #secret-nimiq-chat.
Pull request

Add Nimiq Faucet

merged April 24, 2018
I made a faucet.
Game

LearnLake

April 13, 2018
A small educational website.
Pull request

More accurate error messages for Steem/SBD transfers

merged December 9, 2017
Changes: If username being attempted to have money transfer to, has a username of less than 3 characters, say that the username is too short. Same …
Art

Donut

December 8, 2017
Pull request

Use correct domain in meta tag

merged December 2, 2017
netify.chainbb.com, doesn’t exist. It appears that it used to be some sort of testing domain, and is no longer active. It’s still mentioned in a meta …
Pull request

Add steemd.com to "View this account on..." account sidebar

merged November 21, 2017
This adds steemd.com to the sidebar, on the account page.
Pull request

Fix bug: Only allow one vote per person

merged November 4, 2017
Only allow one vote per person
Pull request

Fix package.json

merged November 4, 2017
Added the correct URLs
Pull request

Add newline

merged November 4, 2017
Pull request

Fix README

merged November 3, 2017
Pull request

Add title

merged November 3, 2017
Adds a title
Scratch project

Collect The Apples

July 24, 2017
Pull request

Update README to indicate that we're dead.

merged June 19, 2017
Scratch project

Infinity Jumper v2 with restart button

June 9, 2017
Like the original (by @sohan2), but with a restart button.
Pull request

Linkify "ChaoBot's logs"

merged May 30, 2017
Makes the text “chaosbot’s logs” in the README a link to the logs, where people can find the meritocracy information.
Pull request

More browser support for voters.html

merged May 29, 2017
Before, this code used Object.values, which is only supported in Chrome and Firefox. This new code works replaces the line by mapping the keys array …
Scratch project

test

April 29, 2016
Scratch project

Drag the scripts

February 13, 2016
Scratch project

Cool Shapes

January 18, 2016
Scratch project

Cool Spinny Thing

January 7, 2016
Scratch project

B-Ball hoops test

December 9, 2015
just a test to see if @cartoonnetwork is a bot.
Scratch project

Clickbait topic titles

November 13, 2015
Scratch project

Trying to get search to find this

November 4, 2015
Testing…
Scratch project

Custom Blocks with same name

September 30, 2015
Scratch project

Harder Pong

September 19, 2015
Based on the 2014 Hour Of Code pong game.
Scratch project

testing...

September 3, 2015
-just testing remixing -removed everything from @Glitterglamz101's project
Scratch project

Square Game

August 12, 2015
Scratch project

Text Display

August 12, 2015
Scratch project

5 broadcasts

July 24, 2015
Scratch project

Avoid the black

July 23, 2015
Made levels 1-8
Scratch project

ask and move

July 21, 2015
Scratch project

Typewriter Scripts

July 10, 2015
Scratch project

Gravity1 - Bounce Working

July 9, 2015
Just a demo that it does work - only one time per flag press, though. Uses the same code made by @KEGroovn
Scratch project

Canoe Game

July 7, 2015
-attempting to make AI for this
Scratch project

Scratch in backround demo

July 6, 2015
Scratch project

Crack the Passkey! cracker

July 2, 2015
Original by @iamunknown2. Attempts to crack a hash made by it. Just brute forces it. -updated to allow for 10 digits -uses new algorithm
Scratch project

Cool Unicode Characters

June 26, 2015
characters from http://unicode-table.com/en/
Scratch project

Cloning Game

April 25, 2015
Scratch project

Dollar Words

April 23, 2015
Word list made using @jgatcomb's word list
Scratch project

Ball Game

March 8, 2015
Scratch project

Text Based Game

March 3, 2015
Still making the villagers.
Scratch project

When stop sign pressed...

March 1, 2015
Scratch project

Text Platformer

February 27, 2015
Scratch project

Dance Thing

February 19, 2015
Scratch project

Make stuff lowercase

February 18, 2015
Scratch project

The Clones

February 5, 2015
Uses @Lirex's text to number converter.
Scratch project

User ID thing

January 30, 2015
Playing around with cloud variables.
Scratch project

Cloud Art

January 29, 2015
Uses relrel's cloud list system. If you're a New Scratcher, your work won't be saved.
Scratch project

Favourite Cookie Type

January 29, 2015
Trying out cloud variables. Uses relrel's cloud list engine.
Scratch project

There's no going back! remix

January 18, 2015
This project was made by zondareeds - I just added some improvements. Added: -better jumping -not starting in ground -touching the bottom of the scree
Scratch project

Box Game

January 18, 2015
The game is very laggy. If you find out why, could you tell me?
Scratch project

A Game

January 17, 2015
After some time, it's impossible to win.
Scratch project

Tokenizer

January 17, 2015
Scratch project

Make A Maze

January 14, 2015
If you see inside, broadcasting "clear" resets it.
Scratch project

Random Game

January 13, 2015
Scratch project

Color Saver

January 9, 2015
I made this so I could save levels in "The Swimming Ball". It works best in turbo mode (the level maker needs to go threw each letter of the input)
Scratch project

Pong Game

January 4, 2015
This was my attempt at making a good gravity simulator. If you go to the "Paddle" sprite, you can make the cursor control the platform.
Scratch project

Drawing API

January 2, 2015
I put a comment about how to use it in the code.
Scratch project

Test Computer Speed

December 30, 2014
This works best in turbo mode. Basically, what it does is find how long it takes to wait 1 second.
Scratch project

The Yellow Line

December 21, 2014
Scratch project

The Swimming Ball

December 15, 2014
Scratch project

How fast are you?

December 14, 2014
Scratch project

Santa Game

December 13, 2014
Scratch project

Ball Vs. Beetles

December 11, 2014
Scratch project

Math Game

December 11, 2014
Blog post

Certificate Transparency stats

January 1, 0001
Blog post

About

January 1, 0001
Blog post

Keys

January 1, 0001
Blog post

My bookmarklets

January 1, 0001
Blog post

My filter list

January 1, 0001
Blog post

Security issues I've found

January 1, 0001
Blog post

Sitemap

January 1, 0001
Blog post

AlpID specification

January 1, 0001
Blog post

TagTime Web stats

January 1, 0001
Blog post

Interesting stuff from me

January 1, 0001
Blog post

About this site

January 1, 0001
Blog post

Hashes

January 1, 0001
Blog post

Accounts on various services

January 1, 0001
Blog post

AI generation: Panics in Rust

January 1, 0001
Blog post

Games

January 1, 0001
Blog post

Things I use

January 1, 0001
Blog post

Fun facts about me

January 1, 0001
Blog post

Full stream - mini mode

January 1, 0001
Blog post

Full stream

January 1, 0001
Blog post

Everything

January 1, 0001
Blog post

DiceCTF 2022: blazingfast

January 1, 0001
Writeup for blazingfast challenge in DiceCTF 2022 (continue reading)
Blog post

TagTime Web changelog

January 1, 0001
Rendered 595 items.