Blog post
Blog post
Blog post
Web app
October 4, 2021
Unicode text segmentation online.
Pull request
merged
November 21, 2024
Pull request
merged
November 21, 2024
We changed this repo to be a Cargo workspace. To make Debian packages, we now need to look in a different path for the built binaries.
Pull request
merged
November 21, 2024
This fixes the upgrade tester to properly check if the version can be tested in PG17. It checks if the version is less than 0.4.0 using …
Pull request
merged
November 20, 2024
Previously, the logic in the upgrade tester assumed that the path to the repo root was 4 levels up from the executable. This PR makes it look for the …
Pull request
merged
November 20, 2024
distance_type_* needs to be marked as create_or_replace so that the pgrx schema generator generates update scripts with CREATE OR REPLACE. Without OR …
Pull request
merged
November 18, 2024
Sometimes there are spaces in the .pgrx/config.toml file now; this updates the build script to be able to handle that.
Pull request
merged
November 13, 2024
This doesn’t fix the CI (the alignment issue is still there), but it gets it closer to working.
Also drops CentOS 7 support, because the CI wasn’t …
Pull request
merged
November 13, 2024
This adds a const fn to create an Oid from a u32. Oid::from_u32_unchecked is the only way to do that currently, but it’s deprecated and its successor …
Pull request
merged
November 12, 2024
Pull request
merged
October 15, 2024
Pull request
merged
October 11, 2024
Pull request
merged
October 10, 2024
Adds support for PG17. Upgrading pgrx got us 90% of the way there, this PR just enables PG17.
I didn’t change the default Postgres feature from PG16.
Pull request
merged
October 9, 2024
Updates the pgrx version to the latest version, 0.12.5. This will let us add PG17 support next.
This has merge conflicts with …
Pull request
merged
October 3, 2024
ItemPointerData can be directly converted from a Datum, so ItemPointerData should have it implemented.
Pull request
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
merged
September 13, 2024
New year, new Unicode, new me.
Pull request
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
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
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)
Pull request
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
merged
April 19, 2024
This PR is identical to #2577, which was (accidentally?) reverted by @jahooma in d3483dfba19f601a34bd1cfadfe446e48e529f80.
Pull request
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
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
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
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
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
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
merged
March 1, 2024
getContractsCreatedProgress checks for markets where data->>uniqueBettorCount is ≥20, but it should be checking data->uniqueBettorCount.
->> casts the …
Pull request
merged
February 29, 2024
Fixes the test-tidy output so that it recommends the correct WHATWG URL
…use this format instead: …
Pull request
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 …
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 …
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
merged
January 29, 2024
Updates the OSS to 17.0.0
January 22, 2024
Author here, I removed the background.
Blog post
January 21, 2024
Asking it to repeat "ponyuseRal ponyuseRal ponyuseRal pony" makes API requests fail
(continue reading)
Pull request
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
merged
October 27, 2023
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 …
Pull request
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 …
September 16, 2023
The bigger news is that Lodash is migrating from Node.js to Bun: …
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
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
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
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
merged
July 6, 2023
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, …
Pull request
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
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
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
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
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
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
merged
March 30, 2023
Adds documentation for some implementation details of rollup.
Pull request
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
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
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
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
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
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
merged
March 10, 2023
Adds support for CI testing on all platforms we build packages for.
Pull request
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
merged
March 8, 2023
Pull request
merged
March 7, 2023
Closes #691.
Pull request
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
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
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
merged
February 22, 2023
Makes it so bors ensures PG15 tests pass before merging PRs.
Pull request
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
merged
February 16, 2023
Upgrades our pgx version from 0.6.1 to 0.7.1.
Pull request
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
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
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
merged
February 10, 2023
(from the release script)
Pull request
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
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
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
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
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
merged
January 18, 2023
Builds TimescaleDB from source for the nightly build/test cron job.
Pull request
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
merged
January 5, 2023
This update to the changelog didn’t get pushed anywhere due to a release script failure.
Pull request
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
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
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
merged
January 3, 2023
This PR has just the Docker image changes from #664. (CI run)
Pull request
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.
Pull request
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
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
merged
December 14, 2022
(currently untested)
Pull request
merged
December 13, 2022
Pull request
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
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
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
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
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
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 …
Stack Exchange post
November 17, 2022
uBlock Origin only allows subscribe URLs on a [hardcoded list of …
Pull request
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
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
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
merged
November 10, 2022
Toolkit 1.12.0 was released today.
Pull request
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
merged
November 9, 2022
Makes M3 and M4 in the stats-agg crate modules instead of empty structs, which is more idiomatic.
Pull request
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
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
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
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
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
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
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
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
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
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
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
merged
October 7, 2022
Adds support for binary update testing in GitHub Actions. #554 and #556 need to be merged first.
Pull request
merged
October 7, 2022
bullseye is Debian 11; buster is Debian 10. We’re on the latest Debian release. See …
Pull request
merged
October 7, 2022
This fixes #735 by passing the type of an argument when getting an argument.
Pull request
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 …
Pull request
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
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
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
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
merged
September 23, 2022
Changes for release 1.11.0 of Toolkit
Pull request
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
merged
September 21, 2022
Updates GitHub Actions and control file for the 1.12 release cycle.
Pull request
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
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
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
merged
September 16, 2022
Description Fixes two formatting issues in the documentation for saturating math
Links …
Pull request
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
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
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
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
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
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
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
merged
September 8, 2022
Description Fixes a link that wasn’t linked right in the create_hypertable documentation.
Links …
Pull request
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
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
merged
September 6, 2022
Description Adds a missing backtick that makes a table element not be code formatted:
Links …
Stack Exchange post
August 15, 2022
The rustc_expand crate is responsible for expanding macros. It [special …
Stack Exchange post
August 13, 2022
Yes. See this article for some information about the treaty …
Pull request
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
August 7, 2022
A fun puzzle game with snakes!
Stack Exchange post
August 6, 2022
You can use variation selectors after a codepoint to control if an glyph should …
Stack Exchange post
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
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
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
June 27, 2022
According to the documentation for replit-py, a KeyError …
Observable notebook
June 26, 2022
Pull request
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
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
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
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) …
Stack Exchange post
June 21, 2022
There are many functions in core that panic when used improperly (random example: …
Blog post
June 20, 2022
Google Sheets/Docs/Slides adds extra HTML markup when copying stuff to the clipboard
(continue reading)
Stack Exchange post
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
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 …
Pull request
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
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 …
Pull request
merged
March 31, 2022
Some Vim swap files appear to have been added to the repo accidentally; this PR removes them.
Pull request
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
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
March 25, 2022
Use a ReaderBuilder, and call ReaderBuilder::has_headers to disable …
Stack Exchange post
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
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
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
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
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
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
merged
March 14, 2022
Motivation for this change This packages PngOptimizer, a PNG optimization and conversion program with a terminal (pngoptimizercl) and UI …
Stack Exchange post
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 …
Pull request
merged
February 7, 2022
This adds support for Unicode 14.0.0, which was released on 14 September, 2021.
Pull request
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
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
January 31, 2022
The reason that top-level or-patterns aren't allowed is because [it would cause certain macro_rules! …
Stack Exchange post
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
January 24, 2022
On recent nightly compilers, you can now use the unstable concat_bytes! macro to do this: …
Stack Exchange post
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
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. …
Pull request
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
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 …
Pull request
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
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
January 1, 2022
Use std::mem::swap to swap the values in-place:
impl Data { fn proc(&mut …
Stack Exchange post
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
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
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
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
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
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
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
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
December 18, 2021
Use the /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs endpoint …
Stack Exchange post
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
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
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 …
Stack Exchange post
December 13, 2021
The earliest use I could find of "fuse" in the Rust ecosystem is …
Stack Exchange post
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
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
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
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
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
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
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
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
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
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
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
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
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 …
Pull request
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
November 1, 2021
Pull request
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
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
October 18, 2021
Yes, ☑️ or ✅ looks like those. Twitter even [has a list of emojis that look like the verified …
Stack Exchange post
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
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
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
October 10, 2021
You can interact it with it using the Realtime Database API. Set the databaseURL to …
Stack Exchange post
October 10, 2021
The Hacker News API documentation says: > If you can use one of the many Firebase client libraries, …
Stack Exchange post
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
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
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
September 27, 2021
Relevant links: the zlib RFC, the DEFLATE RFC, and the [PNG …
Stack Exchange post
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
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
September 26, 2021
When a String is dropped in Rust, ultimately what ends up getting called is …
Stack Exchange post
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
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
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
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
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 …
Pull request
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
September 24, 2021
The root user can taint the kernel [by writing a taint value to …
Stack Exchange post
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
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
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
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
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
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
September 14, 2021
The PNG specification specifies 5 different filter types that are used to make the image data more …
Pull request
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
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
September 13, 2021
Graphics Gems II, [chapter II.9 (*Image File Compression Made …
Stack Exchange post
September 11, 2021
Add the cargo (docs) crate to your dependencies, and you can use Cargo as a library! It …
Stack Exchange post
September 3, 2021
Expanding on Aiden4s comment:
Delete the current target directory to prevent any old artifacts …
Stack Exchange post
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
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
August 25, 2021
You can adjust the global Markdown rendering settings to make links in Markdown …
Pull request
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. …
Blog post
August 17, 2021
I evaluate Codex, a large-scale language generation model intended to generate programming source code from OpenAI.
(continue reading)
Pull request
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 …
Pull request
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
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
merged
August 8, 2021
Pull request
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
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
July 31, 2021
Nintendo's website wasn't updated because of a big update, but because I asked them to.
(continue reading)
Pull request
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
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
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
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
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
July 24, 2021
It means that the package has been marked as "yanked". This is usually done …
Stack Exchange post
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
July 23, 2021
Start by making sure that you are passing the right linker-flavor. rustc …
Stack Exchange post
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
merged
July 21, 2021
This is useful for when you want to reschedule future tasks to today, or bump forward overdue tasks to today.
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
merged
July 9, 2021
see also #85259, #83129, https://github.com/rust-lang/project-thir-unsafeck/issues/7
r? @LeSeulArtichaut
Pull request
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
merged
May 27, 2021
Type aliases are linted as such, so (unstable) trait aliases should be treated the same way.
Pull request
merged
May 27, 2021
This removes a workaround for #24159, which has been fixed.
Stack Exchange post
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
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
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
merged
May 13, 2021
This flag is useful for debugging the THIR.
Stack Exchange post
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
May 13, 2021
You can't use Winston in the browser right now, although support for it is currently on roadmap.
Stack Exchange post
May 11, 2021
Use &s[..] to convert the String into a &str:
println!("foo={}", map.get(&s[..]).unwrap());
``` …
Stack Exchange post
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
May 5, 2021
Dereference the Box before doing the assert_eq:
let err = tlv.downcast::<BridgeError>().unwrap();
assert_eq!(*err, …
Stack Exchange post
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
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
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
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
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
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
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
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
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
April 23, 2021
#[repr(C)] is not a preprocessor directive, since Rust doesn't use a preprocessor 1. It is an …
Pull request
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
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
April 20, 2021
According to a GitHub blog post, there are currently …
Stack Exchange post
April 19, 2021
No. I have set my notification settings such that I receive all types of notifications. Despite this, I …
Stack Exchange post
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
April 16, 2021
FontFaceSet.check does not check if a specific character exists in a font, only …
Stack Exchange post
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
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
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
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
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
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
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
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
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
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
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
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
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
March 15, 2021
Dereference the box after matching:
if let Some(inner) = self.pending_removal.take() { let (temp_structure, some_boolean) = *inner; …
Stack Exchange post
March 12, 2021
Releases are created from the branch you select when creating the release:
Stack Exchange post
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
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
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
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
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
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
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
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
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
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
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
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
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
February 28, 2021
Use [Command::args][1]:
fn apt_install(package_name: &str, options: &[&str]) { let mut c = Command::new("apt-get") …
Pull request
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
February 3, 2021
Pull request
merged
February 3, 2021
Before: After:
Pull request
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
merged
January 17, 2021
This was partially done by #47365, but a few tests were missed in that PR.
Pull request
merged
January 17, 2021
Per https://github.com/sveltejs/svelte-loader/issues/76#issuecomment-761686961, this closes #76.
Pull request
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
merged
January 13, 2021
This re-adds the test and makes the tests pass.
Pull request
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
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
merged
January 11, 2021
This should help people updating know exactly what they need to do when updating.
Pull request
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
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
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
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
November 20, 2020
Pull request
merged
October 21, 2020
This makes it so we test the same versions as Svelte itself.
Pull request
merged
October 6, 2020
The current link 404s, this fixes the post so the URL points to the actual forum thread.
Pull request
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
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
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 …
Web app
August 20, 2020
Time tracking that randomly samples you.
Itch game
August 17, 2020
You can freeze time for a few seconds
Pull request
merged
July 28, 2020
This was causing the code not to compile on recent Nim.
Blog post
July 4, 2020
Gmail's loading progress bar doesn't *actually* measure the progress of loading.
(continue reading)
Itch game
May 24, 2020
Defend the pencil in the middle!
Pull request
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
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
May 10, 2020
Shoot the red enemies with your duel-sided laser, while avoiding the good guys!
Itch game
May 1, 2020
You have a limited amount of movement to beat 4 levels.
Pull request
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
merged
March 29, 2020
Adds documentation examples for JsonValue::members and JsonValue::entries.
Game
January 3, 2020
A game where you avoid tiny squares.
Web app
October 24, 2019
Wondering if your shift key is pressed? Not anymore.
Game
September 8, 2019
A game with slippery controls.
Game
September 1, 2019
A game that involves squares.
Pull request
merged
July 23, 2019
It got broke when it was moved to the devs directory.
Pull request
merged
July 20, 2019
Blog post
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
merged
July 3, 2019
Closes #3384.
Pull request
merged
July 3, 2019
Pull request
merged
July 1, 2019
Web app
June 27, 2019
A dictation website that uses Web APIs.
Web app
June 4, 2019
Upload files to the IPFS network online.
Pull request
merged
June 2, 2019
Pull request
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
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 …
Pull request
merged
April 11, 2019
SSH URLs only work for those with push access to this repo, HTTPS urls work for everyone.
Blog post
April 9, 2019
Pelmorex has announced the test alert, which will be played across phones, TV shows, and radios.
(continue reading)
Stack Exchange post
March 15, 2019
Do -ist words (e.g. racist, sexist, etc.) have superlative or comparative forms?
Pull request
merged
February 17, 2019
Closes #60.
Website
January 14, 2019
Tools for the Nimiq blockchain.
Pull request
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
November 25, 2018
Explore operations that have happened on Splinterlands.
Pull request
merged
November 18, 2018
Improves the manifest read by Chrome.
Pull request
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
merged
October 27, 2018
Improves formatting consistency for geolocation address object
Pull request
merged
October 27, 2018
Improves the language used in README.md
Pull request
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
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
merged
September 14, 2018
Pull request
merged
September 10, 2018
Fixes a typo in the filename of the Git guildelines file
Scratch project
August 9, 2018
Scratch project
August 8, 2018
Scratch project
August 8, 2018
Pull request
merged
August 4, 2018
mineNIM website: https://minenim.org/
Stack Exchange post
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
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
merged
July 18, 2018
Makes Zappl a template.
For steemit/condenser#2947.
Pull request
merged
June 18, 2018
Adds Nimiq Foundation and Charity to address book.
Pull request
merged
June 3, 2018
Pull request
merged
May 29, 2018
Adds my faucet to the address book.
Pull request
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
merged
May 8, 2018
Should be relayTransaction, mempool.pushTransaction is for light clients.
Pull request
merged
May 7, 2018
Basically just this post by me.
Pull request
merged
May 4, 2018
Fixes a few more files, using the link from 36589bd. No more #secret-nimiq-chat.
Pull request
merged
April 24, 2018
I made a faucet.
Game
April 13, 2018
A small educational website.
Pull request
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 …
Pull request
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
merged
November 21, 2017
This adds steemd.com to the sidebar, on the account page.
Pull request
merged
November 4, 2017
Only allow one vote per person
Pull request
merged
November 4, 2017
Added the correct URLs
Pull request
merged
November 4, 2017
Pull request
merged
November 3, 2017
Pull request
merged
November 3, 2017
Adds a title
Scratch project
July 24, 2017
Pull request
merged
June 19, 2017
Scratch project
June 9, 2017
Like the original (by @sohan2), but with a restart button.
Pull request
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
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
April 29, 2016
Scratch project
February 13, 2016
Scratch project
January 18, 2016
Scratch project
January 7, 2016
Scratch project
December 9, 2015
just a test to see if @cartoonnetwork is a bot.
Scratch project
November 13, 2015
Scratch project
November 4, 2015
Testing…
Scratch project
September 30, 2015
Scratch project
September 19, 2015
Based on the 2014 Hour Of Code pong game.
Scratch project
September 3, 2015
-just testing remixing
-removed everything from @Glitterglamz101's project
Scratch project
August 12, 2015
Scratch project
August 12, 2015
Scratch project
July 24, 2015
Scratch project
July 23, 2015
Made levels 1-8
Scratch project
July 21, 2015
Scratch project
July 10, 2015
Scratch project
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
July 7, 2015
-attempting to make AI for this
Scratch project
July 6, 2015
Scratch project
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
June 26, 2015
characters from http://unicode-table.com/en/
Scratch project
April 25, 2015
Scratch project
April 23, 2015
Word list made using @jgatcomb's word list
Scratch project
March 8, 2015
Scratch project
March 3, 2015
Still making the villagers.
Scratch project
March 1, 2015
Scratch project
February 27, 2015
Scratch project
February 19, 2015
Scratch project
February 18, 2015
Scratch project
February 5, 2015
Uses @Lirex's text to number converter.
Scratch project
January 30, 2015
Playing around with cloud variables.
Scratch project
January 29, 2015
Uses relrel's cloud list system. If you're a New Scratcher, your work won't be saved.
Scratch project
January 29, 2015
Trying out cloud variables. Uses relrel's cloud list engine.
Scratch project
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
January 18, 2015
The game is very laggy. If you find out why, could you tell me?
Scratch project
January 17, 2015
After some time, it's impossible to win.
Scratch project
January 17, 2015
Scratch project
January 14, 2015
If you see inside, broadcasting "clear" resets it.
Scratch project
January 13, 2015
Scratch project
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
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
January 2, 2015
I put a comment about how to use it in the code.
Scratch project
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
December 21, 2014
Scratch project
December 15, 2014
Scratch project
December 14, 2014
Scratch project
December 13, 2014
Scratch project
December 11, 2014
Scratch project
December 11, 2014