text:
Add webhook support for changes to rekor's log

Description
Expanding on https://github.com/sigstore/rekor/issues/592, it is not enough to just produce CloudEvents, we could implement the CloudEvents HTTP Webhook, allowing folks to stop polling the REST endpoints with active pushes with backoff/timeouts/etc on the Rekor side.

Some context here, I have mostly implement the cloudevents webhook spec in the sdk but there are a few spots to finish implementing. This would be a good forcing function to finish that work and move Rekor forward leveraging the work in the go sdk

repo: sigstore/rekor


text:
sign-root-targets for joshuagl

Summary

Release Note

Documentation

STAGED METADATA
Outputting metadata verification at /Users/bcallaway/git/sigstore/root-signing/repository...
Verifying registry.npmjs.org.json...
Success! Signatures valid and threshold achieved
registry.npmjs.org version 2, expires 2024/03/26
Verifying root.json...
Contains 1/3 valid signatures from the current staged metadata
Contains 1/3 valid signatures from the previous root
root version 8, expires 2024/03/26
Verifying targets.json...
Contains 1/3 valid signatures from the current staged metadata
targets version 8, expires 2024/03/26

source: gharchive/pull-request

authors: bobcallaway joshuagl

repo: sigstore/root-signing

license_type: permissive

license_source: github-api


text:
Possible bug in our terraform versions?

Description
soooo, while working on the ctlog stuff, noticed this, which seems a bit sus, but maybe I’m missing something.
They also seem to now be up to 4.37 here:
https://registry.terraform.io/providers/hashicorp/google-beta/latest
https://registry.terraform.io/providers/hashicorp/google/latest
https://github.com/sigstore/scaffolding/blob/main/terraform/gcp/modules/ctlog/versions.tf#L21
    google = {
      version = ">= 4.11.0, < 4.26.0"
      source  = "hashicorp/google-beta"
    }
    google-beta = {
      version = ">= 4.11.0, < 4.26.0"
      source  = "hashicorp/google-beta"
    }

When I run terraform validate it complains (looks like rightfully to me):
vaikas@villes-mbp mysql % terraform validate
╷
│ Warning: Duplicate required provider
│
│   on versions.tf line 25, in terraform:
│   25:     google-beta = {
│   26:       version = ">= 4.11.0, < 4.26.0"
│   27:       source  = "hashicorp/google-beta"
│   28:     }
│
│ Provider hashicorp/google-beta with the local name "google-beta" was previously required as "google". A provider can only be required once within required_providers.
Before I go screwing around too much, seems like the first source should simply be hashicorp/google

[versions.tf](https://github.com/sigstore/scaffolding/blob/main/terraform/gcp/modules/ctlog/versions.tf)
    google = {
<https://github.com/[sigstore/scaffolding](https://github.com/sigstore/scaffolding)|sigstore/scaffolding>sigstore/scaffolding | Added by [GitHub](https://sigstore.slack.com/services/B01UE7AR3TL)

Sure looks like a bug to me, but curious if I'm missing something here?
Version
head

first block should be
    google = {
      version = ">= 4.11.0, < 4.26.0"
      source  = "hashicorp/google"
    }

source: gharchive/issue

authors: ameukam vaikas

repo: sigstore/scaffolding


text:
2.0 Release Planning

Description
Based on the feedback we've received and the lessons we've learned from integrating this library into the npm CLI and registry, we have a number of big changes we'd like to make. We're currently working toward a 2.0 release of the main sigstore client which will contain breaking changes to the public interface:

Removal of the basic CLI shipped as part of the sigstore package. This CLI was only ever intended to be a demo/testing tool and has been superseded by the far more robust CLI now found in the @sigstore/cli package.

Removal of the TUF-related tuf.getTarget and tuf.client functions from the public interface of the sigstore package. All of the functions related to interaction with the Sigstore TUF repository have been moved to the @sigstore/tuf package.

Removal of the following OIDC-related options from the public sign and attest functions:

oidcIssuer
oidcClientID
oidcClientSecret
oidcRedirectURL

These options all relate to the OAuth identity provider used to retrieve an OIDC token through interactive user authentication. The code supporting interactive authentication has been moved to the CLI (@sigstore/cli) and will be removed from the main sigstore package. Each of these options is exposed as a command line flag on the CLI's attest command.

Removal of the signer option from the public sign and attest functions. The bring-your-own-signer use case will be supported through some new interfaces.

Removal of the exported utils object. This was never part of the documented public interface for the package and mainly serves internal npm use cases. The functions attached to this object will be moved to a separate package.

Drop support for node 14 (required for inclusion in npm v10)

Update make-fetch-happen to v12 (required for inclusion in npm v10)

v2 released!

repo: sigstore/sigstore-js


text:
Update service registration docs to include address and port options

Just a minor update to the README.md to include address and port options to the consul.agent.service.register method.

Awesome, thanks!

authors: agy silas

repo: silas/node-consul

license: mit

license_source: bigquery


text:
Technik nemůže změnit parametry stávající služby s DHCP ověřováním

nový tab
vyhledávání podle jména nebo smlouvy v oblasti technika (CZ/PL)
k nalezenému zákazníkovi zobrazovat seznam služeb s adresou
možnost změnit switch/port u DHCP ověřováni vybrané služby

Úpravy byly instalovány. Technik může měnit switch nebo port u stávajích služeb.


text:
Let's bring TNND #23.5 over to TNDD #80.x.

Let's bring TNND #23.5 over to TNDD #80.x.

TNND #23.5 > 86

repo: sillsdev/PT-Views

license: MIT


text:
Allow listing user's projects when adding to an org

Fix #1096.
When a user is selected from the typeahead in the "add members" modal on the org page, that user's projects are also shown in the modal, with any projects that the user manages automatically pre-checked. There's a new GraphQL mutation called AddProjectsToOrg (projects, plural) which will add all the projects at once.
The modal currently does not attempt to check which projects are already in the org; instead, the backend handles projects that are already in the org and doesn't try to add them again.

Design decision from meeting: component will not make GQL query, but will be handed the list of projects in a prop. The "add member to org" dialog is doing a query on the user you select, so we'll edit that query in order to pull the user's project list and hand it to the component. The component will end up as a pure display component, which simply formats the data and presents a bindable prop for the checkbox group.

The lint failure is four lint errors all focused on the same line of code:
    await _addProjectsToOrg({ orgId, projectIds: [...withProjects.map(p => p.id)]})

_addProjectsToOrg expects projectIds to be of type string[]. The withProjects parameter is of type Project[], and the Project type I'm pulling in has an id: string property. Hovering over the types in the IDE shows that the .map() call is returning string[], yet eslint seems unable to figure that out. All the eslint errors are complaining about any typed values: unsafe to access .id on an any type, unsafe to assign type any[] to a variable of type string[], and so on.
I may just add a comment telling eslint to ignore errors on this line, since it's apparently not quite smart enough to figure out the types passing through the .map call.

@hahn-kev - Addressed your review comments so far, and added screenshot.
@myieye - If you have suggestions for UI improvements, go ahead and make them, or even push a commit to the branch, I don't mind.

repo: sillsdev/languageforge-lexbox


text:
remove assessment

We can always add it back.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.03%. Comparing base (03e4716) to head (1cb342b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #550      +/-   ##
==========================================
+ Coverage   57.03%   61.03%   +4.00%
==========================================
  Files         302      270      -32
  Lines       15639    13544    -2095
  Branches     2155     1782     -373
==========================================
- Hits         8919     8267     -652
+ Misses       6076     4687    -1389
+ Partials      644      590      -54

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Damien said to.  We are doing WordAlignments rather than Assessments.  We can always add Assessments back in if we need to.

repo: sillsdev/serval


text:
[BUG] Unable to run application via Podman/Docker

I have run Silverbullet application via deno and everything works fine. I would like to do it with Podman/Docker, but there is an error that I can't resolve. I am following the instructions:
# Create a local folder "space" to keep files in
mkdir -p space
# Run the SilverBullet docker container in the foreground
sudo docker run -it -p 3000:3000 -v ./space:/space zefhemel/silverbullet

I get the following message every time:
fedora@fedora:~$ mkdir -p space
fedora@fedora:~$ sudo docker run -it -p 3000:3000 -v ./space:/space zefhemel/silverbullet
Will run SilverBullet with UID 1000, inferred from the owner of /space (set PUID environment variable to override)
Running SilverBullet as silverbullet (configured as PUID 1000 and PGID 1000)

Unhandled rejection: PromiseRejectionEvent {
  bubbles: false,
  cancelable: true,
  composed: false,
  currentTarget: Window {},
  defaultPrevented: false,
  eventPhase: 2,
  srcElement: null,
  target: Window {},
  returnValue: true,
  timeStamp: 0,
  type: "unhandledrejection",
  promise: Promise {
    <rejected> Error: unable to open database file: /space/.silverbullet.db: Error code 14: Unable to open the database file
    at async Object.openKv (ext:deno_kv/01_db.ts:10:15)
    at async fX (file:///silverbullet.js:2385:13466725)
    at async F.gj [as actionHandler] (file:///silverbullet.js:2385:13468267)
    at async F.execute (file:///silverbullet.js:24:8601)
    at async F.parseCommand (file:///silverbullet.js:24:6314)
    at async file:///silverbullet.js:2418:6541
  },
  reason: Error: unable to open database file: /space/.silverbullet.db: Error code 14: Unable to open the database file
    at async Object.openKv (ext:deno_kv/01_db.ts:10:15)
    at async fX (file:///silverbullet.js:2385:13466725)
    at async F.gj [as actionHandler] (file:///silverbullet.js:2385:13468267)
    at async F.execute (file:///silverbullet.js:24:8601)
    at async F.parseCommand (file:///silverbullet.js:24:6314)
    at async file:///silverbullet.js:2418:6541
}

Is there anything else I should do to make the application work with Podman/Docker on my machine?
System: Linux Fedora 41
SilverBullet: 0.9.4

I was able to solve it by adding ":z" to the command after bind mount:
podman run -it -p 3000:3000 -v ./Documents/Silverbullet:/space:z zefhemel/silverbullet
❗ I think this possibility should be explained in the Silverbullet installation instructions. If the app wasn't so great, I would have given up a long time ago.

repo: silverbulletmd/silverbullet


text:
Include Hamcrest without clashing with PHPUnit globals

PHPUnit had a Functions.php with global methods like any() for a while (3.7 at least),
which clashes with similar globals from Hamcrest (used in Phockito).
Both PHPUnit and Phockito use 'classmap' composer autoloading,
but that's not directly requiring/evaluating the files.
The problem is caused by SilverStripe's ClassLoader
which does require ALL subclasses of SapphireTest.
This in turn causes PHP outside of the class context to execute,
which includes Hamcrest.
Changing the include_hamcrest() is not strictly necessary here,
but makes the code a bit more resilient against any preceding
test including Functions.php from PHPUnit.
See https://github.com/hafriedlander/phockito/issues/32 for context.

The test failures is due to Travis MySQL behaving weirdly at the moment.


text:
BUGFIX: Fixed issue where classes not in the sitemap would cause a crash

When a class is not allowed in the sitemap a DataList is attempted to be created regardless whether it exists or is even allowed in the sitemap. If the class does not exist this results in a "Can't find data classes (classes linked to tables)" error. If the class is a DataObject his results in a "the method 'canincludeingooglesitemap' does not exist" error. This pull request checks to see if the class is allowed in the sitemap, if it does not a 404 is returned.

👍 tests pass.

authors: UndefinedOffset wilr


text:
make DB::alteration_message output to screen immediately?

make DB::alteration_message output to screen immediately? Is that an idea?  I do it for lots of build tasks as you can review the output while the task is running...
I usually add something like:

    /**
     *
     *
     * @param  string $message
     * @param  string $type
     */
    protected function outputToScreen($message, $type = "")
    {
            echo " ";
            flush(); ob_end_flush(); DB::alteration_message($message, $type); ob_start();
    }

to the task.

You don't need to end and start the buffer, you can just flush it, I believe.
I think this would be a reasonable idea, though.

Is the output buffer used by framework anymore? Can this be closed?

I have created this basic module: https://github.com/sunnysideup/silverstripe-flush/blob/master/src/FlushNow.php.
It is not elegant, but it works and just gives a bit faster feedback than having to wait for data to show on screen with the added advantage that you can see what takes a long time.
I would close it, unless anyone else cared.

Sure :).

authors: ScopeyNZ dhensby jakxnz sunnysideup

repo: silverstripe/silverstripe-framework


text:
DO NOT MERGE: Cache the merged config to a persistent cache

This caches merged config to a persistent cache so that it doesn't have to merge on each request.
Initial tests show page load times on a base installation drop from ~2 seconds to ~0.35 seconds (edit: not properly performance tested).
I'll provide more data shortly.

Interesting approach of disabling the persistent cache for certain items when Config::inst()->update() is called. First question (always seems to be the case with these changes!) - how is memory use impacted?
If a request to a home page adds 50 items to the persistent cache, then a subsequent request to a different page adds another 50, you end up with 100 items in the cache: requests after that will then load all 100 items into memory. Eventually we’ll end up with nearly every config setting being effectively pre-loaded into memory, right?

I'm continuing work on this today. I expect some memory increase but not huge. The private statics change I made saved ~1mb so I'm cashing that in :)

Okay, so I've had a chance to performance test it today. There's a decent speed increase, but not 2 to 0.3 seconds. It drops from ~650ms to ~580ms (10%).

The calls to SS_ConfigStaticManifest and SS_ConfigManifest drop from ~1100 to a total of 8 which is where the savings come from.
Another point to note is that memory actually drops with this PR. I'm assuming the reason for this is that its loading the config from a single file, rather than loading from 100s of files. I'm assuming there's overhead in doing this.
These tests were on a base install, MariaDB 10.0, PHP 5.6 and Apache 2.4.
I'll test on a real project and see whether there's any gains or not. However, they'll be on 3.2 and a cherry-picked commit as I don't know any projects running on 4.0.

For this test I used the silverstripe demo project (one ring rentals site) with demo content. My version is running 3.2.0 with this commit cherry-picked.

https://github.com/silverstripe/silverstripe-framework/issues/4752 - I've raised this as a bug.
Its to do with the registerChangeCallback method which is removed in this PR. I don't think removing it is sensible as this means changing dev mode for example, won't clear the cache. Its important that it does clear the cache because config is different depending on except/only blocks in yaml config.

I've refactored this a bit from my first PR and included @sminnee fix from #4762
I need to do some more performance testing to make sure I haven't introduced anything strange but then I'll remove the DNM tag and squash when/if everyone is happy.

This is ready to be reviewed :)

I've closed this for now but will re-open. I'm getting really up and down results on performance tests so will figure out why.


text:
DONTMERGE Gallery View & Create Folder uses GraphQL (fixes #316)

This is the first introduction of GraphQL and Apollo as core dependencies (see RFC). It also adds a dependency on https://github.com/silverstripe/silverstripe-graphql.
Pushing this up for peer review at the moment, see outstanding tasks in https://github.com/silverstripe/silverstripe-asset-admin/issues/316
Relies on asset-admin PR: https://github.com/silverstripe/silverstripe-asset-admin/pull/338

I wouldn't mind getting this merged in advance of the asset-admin PR. Can @wilr please have a look at these changes?
@chillu can we take off the don't merge notice?

Boom! great work team, had a look and its solid. @chillu Is this still don't merge? Is there a need for graphql to be in the composer require for framework now as well for users? Probably a good justification to raise the priority of work to strip out the admin work from framework.

Taken off the DONTMERGE. I didn't think silverstripe/graphql should be a composer dep until we use it there. That'll happen pretty soon though through GraphQL in CampaignAdmin, at least until we move out that section into it's own module hehe. So yeah, have included it now. I've also rebased on master, and made the commit message a bit more descriptive. I've also validated that this merge keeps asset-admin operational on master (without the respective graphql merge there). Good to go from my perspective!

authors: chillu tractorcow wilr


text:
/etc/piler/manticore.conf (0 chars)

Hello,
my container stops immediately.
I get the following message in the log:
[.. 2023] [55] using config file '/etc/piler/manticore.conf' (0 chars)...
(0 chars), probably means that the file does not exist or cannot be read.
The file exists and the other files in /etc/piler/ could also be read.
Based on this, further errors follow, because of the missing configuration.
[.. 2023] [55] FATAL: 'searchd' config section not found in '/etc/piler/manticore.conf'
I am happy about any hints

DEBUG: main1.spp does not exist, creating index files

FATAL: config file '/etc/piler/manticore.conf' does not exist or is not readable

Hast du mal geschaut, ob die Datei denn im Verzeichnis existiert?

authors: HH-SW simatec

repo: simatec/piler-docker


text:
how to add a tokenize to the generated FTS5 table #5

hi,In generating the FTS5 table, I need to use a Chinese tokenize for full-text indexing. What should I do?

You're defining this table in a drift file, right? In that case, you can specify the tokenizer with an option.
We don't support custom tokenizers right now and I'm not sure if sqlite3 provides one for Chinese. If you need an API to define your own, that should be done in the sqlite3 package. I can move the issue over if needed.

Thank you for your answer. I have chosen another package（  sqlite3+fts5_simple） as an alternative, but unfortunately I cannot use drift anymore


text:
Expecting initial single int from steam watchSingle() but listener is activated multiple times

In my DAO I have this query:
  Stream<int> watchGroupMessageCount(String chatGroupId) {
    final count = contentMessages.id.count();
    final query = selectOnly(contentMessages)
      ..addColumns([count])
      ..where(contentMessages.contentGroupId.equals(chatGroupId));
    return query.map((row) => row.read(count)).watchSingle();
  }

So I'm expecting this to emit a single count, then if the query changes, to get another count. I was getting strange results, so I simplified my consuming code to this for testing purposes:
  @override
  void initState() {
    super.initState();
    ChatBloc chatBloc = BlocProvider.of<ChatBloc>(context);
    chatBloc.watchGroupMessageCount(this.activeChatGroupId).listen((int newCount) {
      setState( () { this.count++; this.myController.text = "Count: $newCount, ${this.count}"; });
    });
  }

It turns out that the listener is being called 5002 times - there are 5001 items in the database and the count value is 5001 every time. I do have a background isolate for the database, but it's not currently doing anything. Since, I'm relatively new to Flutter, I'm expecting to at some point slap my forehead and say "oh, of course, doh!" Any advice appreciated.

That looks pretty weird to me too. In general, an updated stream doesn't actually imply changes in the database (the query might run more than once), but running it for each row is excessive of course.
Are you doing some other updates while the stream runs? E.g. if you're going through all entries and manually apply an update on the contentMessages table, the stream would invalidate and run the query again.
If you're using a MoorIsolate, you can enable the isolateDebugLog: true parameter on MoorIsolate.connect. This might help to find updates causing the stream to run more than once.
And unrelated to that: Be sure to always cancel a stream subscription you create in initState(), otherwise you'll leak memory. If you're only doing this for debugging it's fine, but in a real app you'd store the StreamSubscription returned by .listen in a field and then call .cancel() on that in dispose().

Thanks for the debug tip - that helped me nail it. I generate 5001 rows of test data when the app bootstraps. Because I hadn't awaited these, they were all busily completing in the background and affecting the query watch. (Though quite why every watch listen was coming back with a full table count of 5001 is a mystery to me, but hey ho.) The debug all showed me that all of the table creation was running twice, which is now fixed. I'll allow myself the forehead slap now, "oh, of course, doh!" And thanks for your help sorting it out.

No worries. If you ever end up inserting many rows outside of debugging purposes, I recommend wrapping all of that in a transaction. It's more performant in sqlite and moor will only invalidate stream queries once.


text:
PostgreSQL support

PostgresSQL experimental support
All tests pass! (except migration) 🎉
Missing features:
- Migrations, versioning (in progress)
Modifications:
- SQL type names changed for Postgres (SQLite compatible)

We have a small problem with 64bit integers. SQLite supports 64bit (In fact, integer size can't be set), therefore I use bigint/bigserial types in Postgres dialect. The problem is, Dart web can't handle integers this size (53bit only). It would be necessary to warn the user in the documentation. Other question is, what if Postgres user want to use 32bit (or 8bit) integers only (for reduce storage size)? May we can add an IntSize enum (default Int64) parameter into integer() column definition function.
I made a research about web 64bit int support. SqlJS supports bigint by a setting, but it is maps Sql.bigint to JS BigInt (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) type what is not supported by Dart web right now. Dart says this JS BigInt not supported all browser right now and anyways, Dart has its own 'BigInt' class that is platform-independent. "Use that if you want real 64bit on web". It is not an option for native JS libs.
https://github.com/dart-lang/sdk/issues/32399
https://github.com/dart-lang/sdk/issues/45092
There is a workaround, maybe that helps. I give it a try later.

I made a smarter stmt parameter replacer for now. '?' placeholder could be easily changed, but it would break the custom sql queries for current users. If we change '?' to '@' or '$' this placeholder replacer can be removed.
Fixed primary key returning (returns 0 if primaryKey.count != 1 || not integer as SQLite does)

I escaped reserved keywords in sqlparser tests. Now it works

I escaped reserved keywords in sqlparser tests. Now it works

Unfortunately, end users are going to run into the same scenario with their queries. I really think we shouldn't add postgres-specific keywords to the default configuration sqlparser. I think the keywords from sqlparser are not used in any other part of drift really, so are they really necessary? There's another file (package:drift/sqlite_keywords.dart) responsible for escaping at runtime, can we change that one instead?

Keywords is necessary for escaping. If user use "user" as column name, Drift won't escape it in generated queries and Postgres queries will fail. If I see well the issue

Keywords is necessary for escaping. If user use "user" as column name, Drift won't escape it in generated queries and Postgres queries will fail.

Oh, now I get it. I think we could either encourage postgres users to (temporarily) disable new_sql_code_generation until we sort this out or we could add a build option to specify the dialect used. The later will be considerably more complicated, but I still think that we shouldn't add unnecessary keywords for sqlite3 users.

I am also on the side of maintaining backward compatibility as much as possible. We could add a postgres_compatible builder option and later many other thing can be switched with too.
Oh I see the main problem:
"Inside of named queries, you can use variables just like you would expect with sql. We support regular variables (?), explicitly indexed variables (?123) and colon-named variables (:id). We don't support variables declared with @ or $. "
We can't use @ because it is a special identifier in Drift files.
Then, we can leave then '?' and ':' in Drift files. 'postgres_compatible' mode also enables new_sql_code_generation. Sqlparser parses custom SQLs with ':/?', but writes '@' as parameter sign in rewrited queries.

/// If [name] is a reserved sql keyword, wraps it in double ticks. Otherwise
/// just returns the [name] directly.
String get escapedName {
    return isKeywordLexeme(name) ? '"$name"' : name;
}

Won't be easier to escape all names regardless of it is keyword or not?

I started to make a compatible mode, but it requires to rewrite drift and drift_dev  in many places. Must update all "escapeIfNeed" call.
I think adding Postgres keywords only in runtime drift will not cause problem. It is only used for construct runtime queries, not affects custom queries.

Okay. Current solution:

There is a "compatible mode" which with Sqlparser looks for postgres keywords too at escaping.
Drift use '@' in generated queries as parameter mark. It is not affects the custom queries itself. '?' mark must still be used in Drift files
I added postgres keywords to runtime drift. It is only affect runtime-generated queries (invisible to use). Custom constraints / queries won't be affected either. Current SQLite queries with postgres keywords will work as before (for ex: REFERENCES(user)). On Postgres this will fail obviously, but user have to refactor his queries if he want to use the Postgres extension.

Hello, when i can try alpha version of postgres support?
I'm at an early stage of my project with backend on the dart, it could be useful for me and you)

Hello, when i can try alpha version of postgres support?
I'm at an early stage of my project with backend on the dart, it could be useful for me and you)

Sure!
Add these lines to pubspec.yaml
dependencies:
  drift: any
  drift_postgres: any

dev_dependencies:
  drift_dev: any

dependency_overrides:
  drift:
    git:
      url: https://github.com/westito/drift.git
      ref: pg_support
      path: drift

  drift_postgres:
    git:
      url: https://github.com/westito/drift.git
      ref: pg_support
      path: extras/drift_postgres

  drift_dev:
    git:
      url: https://github.com/westito/drift.git
      ref: pg_support
      path: drift_dev

  sqlparser:
    git:
      url: https://github.com/westito/drift.git
      ref: pg_support
      path: sqlparser

Sure!

OK, thanks.
If I have any problems, I will let you know)

Almost forget! Add these builder options too:
targets:
  $default:
    builders:
      drift_dev:
        options:
          new_sql_code_generation: true
          compatible_mode_generation: true

@westito I like your idea with the build option for compatibility :+1: . Is this ready from your side now? If so I'll take a deeper look tomorrow.

I thought about move '$expandVar' to executor too 😄 Seemed like a big change.
Is compatible mode is good name or would be changed to for ex. "generic_sql_dialect_generation" or similar?

I used "compatible mode" naming (could be "generic_sql"), because dialect builder option fixes that dialect in generated code. For ex. in my project the same generated code used on mobile and on backend too. The generated code must be dialect-independent.

because dialect builder option fixes that dialect in generated code. For ex. in my project the same generated code used on mobile and on backend too

I understand where you're coming from, but that will be a hard trade off to make in the long term. If we want excellent support for both sqlite3 and postgres in drift, we need to know the exact dialect at compile-time for the accurate analysis and code generation.
In your setup (which sounds super awesome btw, I :heart: Dart on the backend), I assume you have separate packages for your app and the backend, right? Because then you could introduce a shared package that stores the .drift files. You'd then have a database class in the backend and another one in the app package, they'd both import the shared drift files. However, you can choose different builder options for the two packages to reflect that they target different database engines. Would that work for you?

I thinking on a solution, but I have a separate [core] package that contains all the data handling (DAO, Repos, stc.) and mobile and backend depend on that. Mobile/web/backend only gives the connection (Pg, Worker or NativeDatabase). If I generate two different .g.dart files, I would need write a lot of interfaces to decide between. This does make no sense. However, SQLite understands Postgres queries (at least we currently use), so database generated for postgres will work for SQLite too. Also, this dialect builder option only affects Drift files and custom queries. If not use these, there is only runtime generated queries that is depends on connection dialect.

This does make no sense

Yeah I just had the same problem applying that to the integration tests :D

However, SQLite understands Postgres queries (at least we currently use), so database generated for postgres will work for SQLite too

Yeah, just setting dialect: postgres should work for sqlite3 as well so the build option is probably fine. I still think it's the better approach in the long-term, maybe we need support generating code for multiple dialects in the future.

This looks good to me now :tada: . Thanks a lot for all your effort here, I really appreciate it!!

I'm glad I could help 😊🥳

@westito Awesome job! I will give it a go with a shelf server app. I was using some adhoc query helpers until now 😄


text:
🛑 Pro Safe is down

In ba0ade8, Pro Safe (https://$PS_SITE1/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pro Safe is back up in 8ef77aa.


text:
factor out image serving

Abstract out the impl of serving images which will allow us to inject different types of server (useful for mocking in test if nothing else).
@simon3z  @enoodle
I did notice the content url has / on it so you have to curl http://0.0.0.0:8080/api/v1/content/ vs http://0.0.0.0:8080/api/v1/content to get the content.  If you curl just http://0.0.0.0:8080/api/v1/content you'll get Permanently Moved.
Testing:
[pweil@localhost openshift-docs]$ curl 0.0.0.0:8080/healthz
ok
[pweil@localhost openshift-docs]$ curl 0.0.0.0:8080/api
{
  "versions": [
    "v1"
  ]
}
[pweil@localhost openshift-docs]$ curl 0.0.0.0:8080/api/v1/metadata
{
  "Id": "sha256:8b5cf972e254795d1eef4f66e1a71d3c6869bbf4773d9fb36fd8c13ead1a9d5d",
  "Created": "2016-02-18T16:47:39.452282864Z",
  "Container": "f8fb8c4a27ffec2f7fa19595696c7c42754cf6a80b309d56f014090a5f4bc54a",
  "ContainerConfig": {
    "Hostname": "f8fb8c4a27ff",
    "Cmd": [
      "/bin/sh",
      "-c",
      "#(nop) ADD file:b472211c9fa1cd451ea7e94eee2ef1cdaae0413110f560bce5cb183a795b47d7 in /"
    ],
    "Image": "b0082ba983ef3569aad347f923a9cec8ea764c239179081a1e2c47709788dc44",
    "Entrypoint": null
  },
  "DockerVersion": "1.9.1",
  "Author": "Adam Miller \u003cmaxamillion@fedoraproject.org\u003e",
  "Config": {
    "Hostname": "f8fb8c4a27ff",
    "Cmd": null,
    "Image": "b0082ba983ef3569aad347f923a9cec8ea764c239179081a1e2c47709788dc44",
    "Entrypoint": null
  },
  "Architecture": "amd64",
  "Size": 188718134,
  "VirtualSize": 188718134
}
[pweil@localhost openshift-docs]$ curl 0.0.0.0:8080/api/v1/content/
curl: (18) transfer closed with 9223372036854775807 bytes remaining to read

@pweil- I need to queue this behind #3

no worries, I'll rebase as necessary

@pweil- @simon3z we should have this on openshift/image-inspector. it would help alot there, especially with the new commits we need better structure.

@enoodle please do

authors: enoodle pweil- simon3z


text:
Update method for detecting active device to include mouse movement and gamepad stick movement

Overview
Essentially this pr will ensure that our action prompts will change not only when a button is pressed but also when the mouse is moved or gamepad sticks are shifted. This makes for (in my opinion) a much more responsive feeling UI.
Demo
https://github.com/simonoliver/InputSystemActionPrompts/assets/2967721/d6b77609-accc-431a-a82c-4d5466671ff1

Thanks, this looks like a great idea - I wonder if its worth generalising this into a list of optional items that will activate a change (eg "GamePad/ButtonPress", "GamePad/AxisMove", "Mouse/Move" etc, allowing them to be enabled/disabled at will in the settings. I know in some cases people play with mouse and joypad for example (using thumbstick on joypad for movement and mouse for look) and you wouldnt want this switching all the time. I wonder if theres a way of generating a list of possible control types from the input system and listing for selection and serialising in the settings?

Yeah I had a similar thought, but rather than the  specific control I was thinking of having a device list in the settings that you could add or remove to or from that will generate a device change event.
Additionally while I like the idea of getting granular as you said I wonder if getting that granular is overkill?
That said my thoughts were that this was more of a straight up overall improvement on the current setup and the idea above would be an enhancement for a future PR.
I think that this PR would likely be an improvement in the majority of use cases and it's relatively easy to build off of to handle the future PR. This is due to the fact that the OnEvent is generalized to all of the input control types so we can add additional conditions as needed later on.
Let me know what you think 👍.

Hey just wanted to say sorry for the delay on processing the PR, have been switching over to Unreal and haven't had a lot of free time to review. Will aim to get back to you shortly.

authors: simonoliver thsbrown

repo: simonoliver/InputSystemActionPrompts


text:
Matplotlib deprecation

Hi, I just installed fluff with conda, which also installed Matplotlib v2.0.0. When running fluff profile, I get a warning message from Matplotlib:
/Users/Chema/src/miniconda2/lib/python2.7/site-packages/fluff/plot.py:483: MatplotlibDeprecationWarning: The set_axis_bgcolor function was deprecated in version 2.0. Use set_facecolor instead.   ax.set_axis_bgcolor(bgcol)
Should I edit plot.py? Thanks

Thanks for notifying! The DeprecationWarning will not infere with fluff functionality in any way. We will update this in a new version.

Closed in bfd807a

authors: ChemaMD simonvh

repo: simonvh/fluff


text:
/-/patterns returns link: alternate JSON header to 404

Bug from:

#1620

% curl -s -I 'https://latest.datasette.io/-/patterns' | grep link
link: https://latest.datasette.io/-/patterns.json; rel="alternate"; type="application/json+datasette"

A few other pages do that too, including:

https://latest.datasette.io/-/messages
https://latest.datasette.io/-/allow-debug

Here's the new test: https://github.com/simonw/datasette/blob/23a09b0f6af33c52acf8c1d9002fe475b42fee10/tests/test_html.py#L927-L936

repo: simonw/datasette


text:
strange behavior using accented characters

Hi,
when I search incompatibilità here, using full text search, it becomes incompatibilitÃÂ  and I have no result.
If I encode the à char in the URL (incompatibilit%C3%A0) I have the right result.

I'm suspicious that this might be a bug with datasette-publish-now not with core Datasette. See https://github.com/simonw/datasette-publish-now/issues/20 - I think that might be the same issue.

Would you mind trying publishing your database using one of the other options - Heroku, Cloud Run or https://fly.io/ - and see if you have the same bug there?
If you DO get the same bug with another option, please re-open this issue.

Would you mind trying publishing your database using one of the other options - Heroku, Cloud Run or https://fly.io/ - and see if you have the same bug there?

It works in heroku, than might be a bug with datasette-publish-now.
Thank you

authors: aborruso simonw


text:
Update wording for Info.plist

Summary:
Refer the PR https://github.com/simple-login/Simple-Login-iOS/pull/159 that update the "Privacy - Face ID Usage Description" message from plist file.
Modifications:

SimpleLogin/SimpleLogin/Info.plist

Result:
Replace "Restrict unwelcome access to your SimpleLogin account on this device" with "Restrict unwelcome access to your SimpleLogin application on this device"

Dear @ntnhon ,
Would you be able to assist me in reviewing the PR to update plist file?
Thanks,
Lam

Thanks for the PR!

authors: lamtrinhdev ntnhon

repo: simple-login/Simple-Login-iOS


text:
Sinatra master breaks namespace spec

$ sinatra=master bundle
$ sinatra=master bundle exec rake spec

Produces the following errors:
Failures:

  1) Sinatra::Namespace HTTP GET error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

  2) Sinatra::Namespace HTTP POST error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

  3) Sinatra::Namespace HTTP PUT error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

  4) Sinatra::Namespace HTTP DELETE error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

  5) Sinatra::Namespace HTTP OPTIONS error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

  6) Sinatra::Namespace HTTP PATCH error handling falls back to the handler defined in the base app
     Failure/Error: last_response.body.should        eq 'nicht gefunden' unless verb == :head

       expected: "nicht gefunden"
            got: "not found..."

       (compared using ==)
     # ./spec/namespace_spec.rb:515:in `block (5 levels) in <top (required)>'

Finished in 4.23 seconds
856 examples, 6 failures

travis log

Essentially all of the namespace tests fail now: https://travis-ci.org/sinatra/sinatra-contrib/jobs/127980688

It's fixed now, I guess the error on Sinatra side:
~/C/o/sinatra-contrib git:master ❯❯❯ git reset --hard origin/master
HEAD is now at 4e0f937 Remove duplicate `tag` command from release task
~/C/o/sinatra-contrib git:master ❯❯❯ sinatra=master bundle update

sinatra=master bundle exec rspec
Finished in 4.08 seconds
837 examples, 0 failures

I will work on this next week, it seems still failing with Sinatra master.

@stjhimy Any help is appreciated here! This is the major blocker atm

Fixed by #207

authors: stjhimy zzak

repo: sinatra/sinatra-contrib


text:
Added linux

Added linux awesome list

There's almost no content in that list. Gonna go with https://github.com/sindresorhus/awesome/issues/188#issuecomment-113938571 instead.

I respect your opinion but, there is a technical difference there, that one is about Linux distributions this is about Linux packages.

Show that in the list, not in words here, and I'll reconsider including it in the future. Might be worth narrowing down the scope to a niche in the Linux world ;)

@MCSH No, my list is not about the distributions. I just added top 10 distributions to the list (I used Distrowatch's top 10 in the last 12 months) and I have no intention of including any more of them (and I included this as a warning in the CONTRIBUTING.md file). Making an awesome-linux list about Linux distributions is no way productive and could lead to nothing but "fanboyism". But I really do think that any awesome-linux repository should include some kind of a list of distributions.
Having that said, my list is currently focused on the learning resources. I am planning to expand it to include applications, windows managers and desktop environments as well, but I have to be extremely careful not to recommend anything I didn't test on my own (hence why I am not able to add a lot of entries on my own). After all, I can't say something is awesome if I haven't tested it out myself.
If you're interested, we could work on combining those two lists together into a single one.

Forgive my ignorance,  I said what I saw in the first glance.
I'd be happy to contribute to your list then :)
On 6:04am, Tue, 23 Jun 2015 Aleksandar Todorović notifications@github.com
wrote:

@MCSH https://github.com/MCSH No, my list is not about the
distributions. I just added top 10 distributions to the list (I used
Distrowatch's top 10 in the last 12 months) and I have no intention of
including any more of them (and I included this as a warning in the
CONTRIBUTING.md file). Making an awesome-linux list about Linux
distributions is no way productive and could lead to nothing but
"fanboyism". But I really do think that any awesome-linux repository should
include some kind of a list of distributions.
Having that said, my list is currently focused on the learning resources.
I am planning to expand it to include applications, windows managers and
desktop environments as well, but I have to be extremely careful not to
recommend anything I didn't test on my own (hence why I am not able to add
a lot of entries on my own). After all, I can't say something is awesome if
I haven't tested it out myself.
If you're interested, we could work on combining those two lists together
into a single one.
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/awesome/pull/197#issuecomment-114320007.

authors: MCSH aleksandar-todorovic sindresorhus

repo: sindresorhus/awesome


text:
Stringifiable - TypeScript error: '>' expected.  TS1005

The readonly generates compilation error
../web/node_modules/query-string/index.d.ts
TypeScript error: '>' expected.  TS1005
    344 | export type StringifiableRecord = Record<
    345 |       string,
  > 346 |       Stringifiable | readonly Stringifiable[]
        |                                ^
    347 | >;
    348 |
    349 | /**

https://github.com/sindresorhus/query-string/blob/27453b5e49adaaa5419637732c19ab19b502585f/index.d.ts#L346

Upgrade your TypeScript version.

Upgrade your TypeScript version.

authors: sindresorhus whacosta

repo: sindresorhus/query-string


text:
Show issue resolution in header

Features

adds reference to PR/commit that closed the current issue/PR
clicking the label will scroll to the event
clicking the reference will visit it

Notes

I ended up leaving it red (@hkdobrev will love this) because this can also appear on RED PRs that are closed by other merged PRs
Sadly this has to wait for the whole discussion to load, which might be a few seconds later on long discussions.

Screenshots

Example issues
https://github.com/bfred-it/github-issue-link-status/issues/2 (closed by commit)
https://github.com/sindresorhus/refined-github/issues/479 (closed by pr, then closed manually)
https://github.com/sindresorhus/refined-github/issues/565 (closed by a commit, then by a pr)
https://github.com/sindresorhus/refined-github/issues/233 (closed by pr, reopened)
Example PR:
https://github.com/sindresorhus/refined-twitter/pull/52 (closed by commit)
Readme screenshot

Closes #948

If I go to https://github.com/sindresorhus/refined-github/issues/233, then go back, it duplicates the issue number:

This feature is super useful and the rest looks good to me :)

If I go to #233, then go back, it duplicates the issue number:

Classic. I feel that we should start handling this directly. Do you think it's a good idea to detect it and avoid triggering all the features again? The only concern is for the features that have a "unload" feature that listen to the github-injection event to remove the listeners.

authors: bfred-it sindresorhus

repo: sindresorhus/refined-github


text:
web-ext integration

Adds script for running web-ext and adding it to packages.

It might be worthwhile changing contribution.md that links to web-ext related api that is likely lower level, that I couldn't even be bothered to read, instead suggesting to use the script.

I'm not sure if web-ext takes the time to make sure that the extension debugging is turned on, but it might be worthwhile empathizing that if it does.

all of my other pull requests edit .gitignore. Perhaps you're looking to switch to pnpm?

The gitignore entry was removed because:

we already have package-lock, which may differ from pnpm’s own lock
if you use pnpm you might get a different result from the default one
use pnpm install --no-lock if you insist, so gitignore doesn’t need to be cluttered with all the possible installers from the past and future

This PR needs a more descriptive title.

Does this actually work for you? It doesn't seem to reload the extension when it changes (it reloads the same version over and over) and the extension doesn't appear in about:debugging so I can't reload it manually either:

I see the packaged there. You might try removing the profile option if there're collisions.

You might try removing the profile option if there're collisions.

I did that and it works. For some reason it doesn't work in the default profile even if I completely remove Refined GitHub.

lol, the profile option just crapped out on me too. I'm stuck with secure password I won't begin to remember, crap scroll speed, and crap text size/scaling. :D

authors: bfred-it janat08 sindresorhus


text:
No longer works in Node 7+

Just a heads up this trick no longer works in Node 7+.
Related to https://github.com/petkaantonov/bluebird/issues/1378.

Related t0 https://github.com/petkaantonov/bluebird/issues/1378.

Opened a PR with the fix, still being more cautious with bluebird targeting .10+ https://github.com/sindresorhus/to-fast-properties/pull/7

Moved to #7.

authors: benjamingr jdalton

repo: sindresorhus/to-fast-properties


text:
[python] Don't accept lists for Python metadata entries, but on purpose

We (the royal we) accidentally forgot a return statement in the metadata type-checking function. However, this turned out to be the right thing to do anyway, so ¯_(°_o)_/¯.
This change removes the superfluous if block entirely and tightens up the types that we do accept to match the SOMA specification:

primitives
strings
nothing else

Codecov Report
Patch coverage is 100.00% of modified lines.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Files Changed
Coverage

apis/python/src/tiledbsoma/_tdb_handles.py
100.00%

:loudspeaker: Thoughts on this report? Let us know!.

authors: codecov-commenter thetorpedodog

repo: single-cell-data/TileDB-SOMA


text:
Zone error coming up after the navigation(Cannot read property 'run' of undefined)

After navigating from the portal application we are getting in the console.
Log trace:
core.js:6228 ERROR TypeError: Cannot read property 'run' of undefined
at eval (single-spa-angular.js:21)
at eval (single-spa.min.js:2)
at Array.forEach ()
at et (single-spa.min.js:2)
at m (single-spa.min.js:2)
at ZoneDelegate.invoke (zone-evergreen.js:364)
at Object.onInvoke (core.js:41654)
at ZoneDelegate.invoke (zone-evergreen.js:363)
at Object.onInvoke (core.js:28134)
at ZoneDelegate.invoke (zone-evergreen.js:363)
at Zone.run (zone-evergreen.js:123)
at zone-evergreen.js:857
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:41632)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Object.onInvokeTask (zone-evergreen.js:273)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Object.onInvokeTask (core.js:28122)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
at drainMicroTaskQueue (zone-evergreen.js:569)
at ___________________Elapsed_165_ms__At__Wed_May_27_2020_11_34_17_GMT_0530__India_Standard_Time ()
at Object.onScheduleTask (long-stack-trace-zone.js:110)
at ZoneDelegate.scheduleTask (zone-evergreen.js:378)
at Object.onScheduleTask (zone-evergreen.js:272)
at ZoneDelegate.scheduleTask (zone-evergreen.js:378)
at Object.onScheduleTask (long-stack-trace-zone.js:126)
Please let me know in case any further detail is required.

What version of Angular and single-spa-angular are you using? Could you please share the contents of main.single-spa.ts? Specifically I am interested in whether NgZone and single-spa extra providers are being passed into singleSpaAngular(). The stacktrace indicates that one of the following lines is throwing an error, due to ngZone not being set up properly. The simplest explanation for this would be if you're not passing in the single-spa extra providers, as described in https://single-spa.js.org/docs/ecosystem-angular#basic-usage
https://github.com/single-spa/single-spa-angular/blob/389a16cb186ed5fd975199ff2e4670084c47a84f/src/src/single-spa-angular.ts#L77
https://github.com/single-spa/single-spa-angular/blob/389a16cb186ed5fd975199ff2e4670084c47a84f/src/src/extra-providers.ts#L63
https://github.com/single-spa/single-spa-angular/blob/389a16cb186ed5fd975199ff2e4670084c47a84f/src/src/single-spa-angular.ts#L138-L139

Another question, if you're using Angular@<9 is if you're sharing dependencies between multiple microfrontends.

Hi Joel,
Thanks for the quick reply!!
main.singlespa.js
import { enableProdMode, NgZone } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { Router } from '@angular/router';
import { ɵAnimationEngine as AnimationEngine } from '@angular/animations/browser';
import { singleSpaAngular, getSingleSpaExtraProviders } from 'single-spa-angular';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
const lifecycles = singleSpaAngular({
bootstrapFunction: singleSpaProps => {
return platformBrowserDynamic(getSingleSpaExtraProviders()).bootstrapModule(AppModule);
},
template: '',
Router,
NgZone: NgZone,
AnimationEngine,
});
export const bootstrap = lifecycles.bootstrap;
export const mount = lifecycles.mount;
export const unmount = lifecycles.unmount;
We are using angular version 9+, single spa version 5.5.1, and single-spa-angular 4.1.0.
package json dependency:
"dependencies": {
"@angular/animations": "~9.1.9",
"@angular/common": "~9.1.9",
"@angular/compiler": "~9.1.9",
"@angular/core": "~9.1.9",
"@angular/forms": "~9.1.9",
"@angular/platform-browser": "~9.1.9",
"@angular/platform-browser-dynamic": "~9.1.9",
"@angular/router": "~9.1.9",
"@intershop/living-styleguide": "file:@intershop/living-styleguide",
"@ng-bootstrap/ng-bootstrap": "^6.0.0",
"@ngx-translate/core": "^10.0.2",
"@ngx-translate/http-loader": "^4.0.0",
"angular2-uuid": "^1.1.1",
"animate": "^1.0.0",
"bootstrap": "^4.3.1",
"core-js": "^2.5.4",
"jquery": "3.4.1",
"ngx-toastr": "^10.0.4",
"ngx-translate-multi-http-loader": "^3.0.0",
"node-sass": "4.12.0",
"rxjs": "~6.5.5",
"rxjs-compat": "^6.5.2",
"single-spa": "^5.5.1",
"single-spa-angular": "4.1.0",
"tslib": "^1.10.0",
"uuid": "^3.3.2",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^9",
"@angular-devkit/build-angular": "~0.901.6",
"@angular/cli": "~9.1.6",
"@angular/compiler-cli": "~9.1.9",
"@angular/language-service": "~9.1.9",
"@types/jest": "^25.1.2",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jest": "^25.1.0",
"jest-preset-angular": "^8.0.0",
"popper.js": "^1.16.0",
"replace-in-file": "^4.2.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.8.3"
}
Do let me know in case any other detail is required.
Thanks,
Ashutosh

I'm wondering if this is occurring when a popstate event is fired to the Angular platform before the single-spa-angular application is mounted. If so, the following might be a good fix?
    const onPopStateListener = (event: LocationChangeEvent) => {
      // The `LocationChangeEvent` doesn't have the `singleSpa` property, since it's added
      // by `single-spa` starting from `5.4` version. We need this check because we want
      // to skip "unnatural" PopStateEvents, the one caused by `single-spa`.
      const popStateEventWasDispatchedBySingleSpa = !!((event as unknown) as { singleSpa: boolean })
        .singleSpa;

      if (this.skipNextPopState && popStateEventWasDispatchedBySingleSpa) {
        this.skipNextPopState = false;
      } else if (this.ngZone) {
        // Wrap any event listener into zone that is specific to some application.
        // The main issue is `back/forward` buttons of browsers, because they invoke
        // `history.back|forward` which dispatch `popstate` event. Since `single-spa`
        // overrides `history.replaceState` Angular's zone cannot intercept this event.
        // Only the root zone is able to intercept all events.
        // See https://github.com/single-spa/single-spa-angular/issues/94 for more details
        this.ngZone.run(() => fn(event));
      }
    };

@arturovt can you comment on this, and whether it's possible for a popstate event to fire before the application has been mounted?

Can we see a reproducible example?

@joeldenning I also tried to debug the issue and feel the same. But will try and get u the repo by today.
Thanks,
Ashutosh

@ashuaggarwal94 the same,this.ngZone.run is not a function,because this.ngzone is undefined

@arturovt I tried creating a repo but the problem is it's not reproducible in the small repo that I was trying to build. I will try and give the repo to you asap.
Thanks,
Ashutosh

@werts  hey my issue is resolved. I was using singlespa.navigatetoUrl function in the child application which was causing the issue. As of now, I have changed back to using the router lib.
Thanks,
Ashutosh

HI @joeldenning , @arturovt ,
sample repo: https://github.com/ashuaggarwal94/issue201
Thanks,
Ashutosh

Thanks, I will have a look asap.

@arturovt   thanks, and do let me know in case any other detail is required.
Thanks,
Ashutosh

@ashuaggarwal94 Ok,i will try that! Thanks

@joeldenning as I mentioned in chat that this issue was fixed after upgrading version.

Yes can you confirm @werts @ashuaggarwal94 what version of single-spa-angular you are using?

@joeldenning , for both the portal and the child I am using 5.5.1.

5.5.1 is a single-spa version, but my question is what is the the single-spa-angular version. Specifically I'm interested to know whether you're using single-spa-angular@3 or single-spa-angular@4. And then which exact version within those that you are using.
What version of single-spa-angular you are using?

From your example repo, it looks like you're using single-spa-angular@4.1.0:
https://github.com/ashuaggarwal94/issue201/blob/77b28aaf31aca933b4912e26121517628373c56b/ish-cec/package.json#L26
https://github.com/ashuaggarwal94/issue201/blob/77b28aaf31aca933b4912e26121517628373c56b/ish-cec/package-lock.json#L10712
Try upgrading to single-spa-angular@4.2.0, which changed this behavior:
https://github.com/single-spa/single-spa-angular/releases/tag/v4.2.0
I am closing this issue since @arturovt confirmed that upgrading to single-spa-angular@4.2.0 fixed this. Feel free to comment further or reopen if that is not the case.

Thanks @joeldenning @arturovt for the help the issue got resolved after updating the package!!!

authors: arturovt ashuaggarwal94 joeldenning werts

repo: single-spa/single-spa-angular


text:
[BUG] The End Chat button is on the same line and looks weird

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
The end chat button looks like normal text
"!End Chat"
Expected behavior
Should be on a new line and with a different color, probably

maybe assign me for gssoc stuff, i will do a PR by the time

@Wahid7852 Assigned you the issue, Best of Luck :)

kindly check #274


text:
[Feature Request]: Adding a Logo

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
As i have seen their is no logo of the game .
I have worked on  figma ,  Photoshop , Adobe illustrator so i can make logo to it.
hello @singodiyashubham87 Assign me this issue i will work on it.
Use Case
This will enhance the UI of the website which will definetly look better.
Benefits
Enhance the UI of the website
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I want to work on this issue

Can u assign me to this issue

@KomalSrivastava Which logo are you talking about?

@singodiyashubham87 Am talking about to add logo in your website in place of text ( Draw it out! ) Which is written in the top-center. That will look good..


text:
test: frequent missing data in e2e test

https://buildkite.com/singularity-data/pull-request/builds/2650#0181c9a6-50cd-44b6-9a98-d32face20167
https://buildkite.com/singularity-data/pull-request/builds/2651#0181c9b1-7052-4883-b419-200cd969fcb3

Queries frequently miss data even in serial e2e test mode.

Could also be a problem with wrong epoch pinned by frontend... I think there aren't big changes in CellBasedTable.

How about checking the raw kvs in Hummock with risectl to see whether this row is really materialized?

I think this related to this? https://github.com/singularity-data/risingwave/issues/3559

There is error in CN. Case 1, Case 2

There is error in 1 of 3 CNs in both failure cases.

Is this caused by some other slt case intentionally?

There's something wrong with the visibility of the missing chunk:
/Users/august/Documents/code/risingwave-dev/.risingwave/log/compute-node-5687.log-2022-07-05T04:19:31.106115Z DEBUG risingwave_stream::executor::mview::materialize: MaterializeExecutor: received chunk: StreamChunk { cardinality = 1, capacity = 4, data =
/Users/august/Documents/code/risingwave-dev/.risingwave/log/compute-node-5687.log-+---+--------------------+---+---+
/Users/august/Documents/code/risingwave-dev/.risingwave/log/compute-node-5687.log:| + | 166763728123990018 | 4 | 2 |
/Users/august/Documents/code/risingwave-dev/.risingwave/log/compute-node-5687.log-+---+--------------------+---+---+ }
/Users/august/Documents/code/risingwave-dev/.risingwave/log/compute-node-5687.log-2022-07-05T04:19:31.106302Z  WARN risingwave_stream::executor::mview::materialize: received invisible chunk

MaterializeExecutor received all four rows, but one of them is invisible.

I think it received another chunk with all items invisible? The 166763728123990018 row looks okay and is visible.

This is caused by #3620 , there's a conflict between try_update_pinned_version and new_shared_buffer, which will cause data loss in old shared buffer.

cc @huangjw806 please help release v0.1.10 after this issue has been solved, thanks!

repo: singularity-data/risingwave


text:
Should clicking outside modal to exit preferences be equivalent to clicking save?

Currently the onClose handle for the model calls onCancel rather than onConfirm. As a user, I found it jarring to see the color scheme I selected change suddenly when I exited because I didn't explicitly click the save button. Maybe in the future if there are more preference settings it makes sense for clicking outside the modal to be the same behavior as Cancelling but from an intuitive sense, it felt incorrect.
Now I could be wrong here so opening up this issue for discussion. I'm curious how other people feel about it and whether they feel like it makes more sense to cancel on clicking outside the modal or if it makes more sense to save on clicking outside the modal. It would be a simple change either way so mostly a design choice.

i think it makes more sense to have a modal prompt for onCancel anyway i think

Alternatively, we could have the modal refuse to close (but rather show some sort of animation) when clicking outside, to alert the user that they should explicitly save or cancel.

autosave every time a change is made

authors: MaximoMachado YoVishruthK cjquines psvenk

repo: sipb/hydrant


text:
minor issues for first timers

I had to use "framework = gd32vf103-sdk" in platformio.ini to make it build.
Also, adding "upload_protocol = dfu" was usefull.
When the boards are delivered there is no clue whatsoever what software is installed.
The rgb LEDs blink and the LCD is emulating a big white LED.
This is of course only because the files are not supplied on µSD-card.
A little hint on the LCD could be helpfull, like "no card found".
The application is way under 20k, so adding an image that is linked to the binary should be no issue at all.

The problem has been solved.

I just tried it and it just builds now and displays "no card found!" in five lines with different colors.
Excellent, thank you!

authors: RudolphRiedel greedyhao


text:
Hi，do you have pretrained model?

Hi, do you have pretrained model?  And how to train it ?

see MobileFaceNet_TF


text:
Get for readonly dictionaries

Get for readonly dictionaries. Can't just implement an extension method for IReadOnlyDictionary as it'll break existing code where we pass a Dictionary (compiler can't choose between the two equally good options; Dictionary implements both interfaces, IDictionary does not implement IReadOnlyDictionary).
By leaving the original IDictionary method in, we make sure performance doesn't take a hit in current use cases.
Casting like this is a similar approach to Microsoft's (e.g. for Enumerable.Select)

Do you happen to know, if there is anything that implements IDictionary but not IReadOnlyDictionary? If there isn't anything widely used, I think we can just change the signature of original Get to work with readonly dictionaries. And if it is, we can implement specializations of Get for the concrete types.
I'd like to avoid the inefficient FirstOption fallback, even though I know it's done this way in .NET (e.g. in Count() extension method). For me, it's a performance "trap".

The problem with that is that anything declared as IDictionary then won't
work. Another suggested option is to implement for IDictionary,
IReadOnlyDictionary, and convenience methods for the concrete types we can
think of (Dictionary, ConcurrentDictionary, SortedDictionary) so that we
don't have to cast them around.
On 13 March 2016 at 21:23, Honza Široký notifications@github.com wrote:

Do you happen to know, if there is anything that implements IDictionary
but not IReadOnlyDictionary? If there isn't anything widely used, I think
we can just change the signature of original Get to work with readonly
dictionaries. And if it is, we can implement specializations of Get for the
concrete types.
I'd like to avoid the inefficient FirstOption fallback, even though I
know it's done this way in .NET (e.g. in Count() extension method). For
me, it's a performance "trap".
—
Reply to this email directly or view it on GitHub
https://github.com/siroky/FuncSharp/pull/31#issuecomment-195963883.

I see. Let's implement it just for IReadOnlyDictionary which is supertype of most of the implementations and see if it's sufficient. FuncSharp should favor and guide the user to choose immutable over mutable. I'll add it and release new version so you can use it in your code.

Done via https://github.com/siroky/FuncSharp/commit/7479874c964a38479805d9ffc4c84ce814feeed1

repo: siroky/FuncSharp


text:
Make logrus.Fields an implementable interface

I think it would be better if log.WithFields accept as input an interface so everyone can implement such interface if needed.
For example by now if I have a simple structure and i want to use it with the WithFields method I must create a wrapper that returns a logrus.Fields struct or write the attributes manually.
Sample Options struct:
type Options struct {
    Paginate bool
    Count    uint
    MaxPages uint
}

// Wrapper function can became the implementation of the interface
func (o *Options) ToFields() (fields log.Fields) {
    fields = make(log.Fields)
    fields["paginate"] = o.Paginate
    fields["count"] = o.Count
    fields["maxpages"] = o.MaxPages
    return
}

Given that struct we need to do either:
// With the wrapper
log.WithFields(options.ToFields()).Info( "Test" )

OR
// Manual entries
log.WithFields(log.Fields{
    "paginate": options.Paginate,
    "count": options.Count,
    "maxpages": options.MaxPages,
}).Info( "Test" )

But if we have the interface we can simply write:
log.WithFields(options).Info( "Test" )

This is a great idea and solves a bunch of problems people have asked for in the past at the right level of abstraction.

@Sirupsen Do you mind if I take a shot at tackling this?

@ryanfaerman sure!

I'm also interested in this feature, how can we do to don't break the existing function calls?

@alecha  we can add implementation of Fields interface to logrus.Fields and change signature. It would not break compatibility, I think.

That's the approach I'm taking. Creating an interface and then having Fields be a default implementation of said interface.

On Sep 8, 2015, at 5:55 AM, Anton Tyurin notifications@github.com wrote:
@alecha we can add implementation of Fields interface to logrus.Fields and change signature. It would not break compatibility, I think.
—
Reply to this email directly or view it on GitHub.

I've created a simple interface in my PR, let me know if this is a good approach ;)

Any updates on this?

This issue is 5 years old. No plan for logrus 2 yet. Closing.

authors: Sirupsen Volox alecha dgsb noxiouz ryanfaerman taybin

repo: sirupsen/logrus


text:
Speedtest broke (at the servers) about noon today (UTC16)

As of UTC16 today, speedtest-cli returns the below.
Based on a --debug test, it appears that what's being returned from the server no longer resembles what the cli tool is expecting to see.
$ speedtest-cli
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest-cli", line 11, in
load_entry_point('speedtest-cli==1.0.0', 'console_scripts', 'speedtest-cli')()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1400, in main
shell()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1310, in shell
speedtest = Speedtest()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 685, in init
self.get_config()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 725, in get_config
root = ET.fromstring(''.encode().join(configxml))
File "", line 124, in XML
cElementTree.ParseError: not well-formed (invalid token): line 3, column 67

I am getting the same thing...
$ speedtest --debug
DEBUG: Mozilla/5.0 (Darwin; U; 64bit; en-us) Python/2.7.14 (KHTML, like Gecko) speedtest-cli/1.0.2
Retrieving speedtest.net configuration...
DEBUG: GET http://www.speedtest.net/speedtest-config.php?x=1507776126379.
DEBUG: <?xml version="1.0" encoding="UTF-8"?>
<settings>
<client ip="x.x.x.x" lat="xx.xxx" lon="-xx.xxx" isp="ISP" isprating="3.7" rating="0" ispdlavg="0" ispulavg="0" loggedin="0" country="US" />
<server-config threadcount="4" ignoreids="683,1525,1716,1758,1762,1816,1834,1839,1840,1850,1854,1859,1860,1861,1871,1873,1875,1880,1902,1913,3280,3383,3448,3695,3696,3697,3698,3699,3725,3726,3727,3728,3729,3730,3731,3733,3788,4140,4533,4787,5085,5086,5087,5894,6130,6285,6397,6398,6412,7326,7334,7529,8591,9245,9816,10221,10226,10556,10557,10558,10561,10562,10563,10564,10565,10566,10567,10901,10923,11201,11736,11737,11792,12688,12689,12861,12862,12863,13362,14209,949,5249" notonmap="10413,5718,6051,4139,10309,4231,9644,11076,4810,4247,12549,12776,2610,5654,5834,2151,8009,8455,8670,6814,6866,5681,6616,1930,4503,11424,3170,4472,6307,4984,5201,8486,12824,10366,6053,6827,8367,11266,9321,12363,13851,13185,10025,10045,8205,2557,5950,6389,13152,7303,1728,11789,7532,3326,4521,3777,10323,3704,13515,14091,13708,1543,6118,9913,10258,11611,9147,12506,11365,13040,13444,13291,9616,6440,2636,1894,13953,14678,10586,8399,11883,7619,5284,8066,6032,9886,10026,10262,5911,11123,7437,7352,11547,8281,12260,12920,5679,11965,6578,5447,5121,6312,9264,8478,7743,6195,12212,2518,9332,3585,8040,12974,9597,9788,8497,8223,10053,3989,11181,11290,11465,6394,8218,5305,4683,10265,1688,11977,12746,10176,10770,3620,6070,9084,7412,6635,12777,4580,4768,13178,5904,6057,6029,8879,11329,4246,4149,13984,10899,2796,12319,11983,13667,10409,8155,4393,1993,12154,12723,5502,11776,4388,8211,3997,10264,11675,13421,2477,10082,1008,10703,11579,14476,4290,4111,9709,4590,6049,7609,9836,8107,7758,4089,14137,11788,11608,13294,826,2565,4441,3860,7537,5210,7384,4049,13238,13454,10763,14089,9035,7829,13898,3805,10097,7440,13428,12081,7617,6973,10754,11348,5463,3676,6485,2605,11805,11842,14671,10050,5919,8705,3084,7193,12012,11750,11015,12086,2452,7323,6672,3287,10994,10261,12619,13873,12536,9869,11250,11256,7246,2206,12652,8863,10116,12927,6030,10268,7170,10546,10591,7546,9612,9933,6474,10263,6583,8109,11219,12283,12961,12417,13292,13419,4168,1036,7983,10152,4332,11186,7192,8404,12031,8228,10241,10572,10667,11343,4317,8224,4606,7970,2058,6272,13298,7640,6722,8339,9942,5098,5875,6855,12801,3007,7456,3883,11482,5303,6047,5861,7244,6248,10269,5905,13301,13516,9916,7048,7190,13436,10207,11953,6570,11383,10575,6561,3165,8707,12407,13653,13655,11744,3567,12885,9003,6074,4975,12078,12303,8706,12244,9384,12823,10878,6900,12882,3529,11173,13635,11743,7024,1915,12480,4081,9930,8882,7382,9089,8956,10952,10193,9334,7859,8631,11036,8906,11876,10444,10801,10839,10181,12497,9570,7236,13108,10549,7075,13167,12384,11720,10651,5217,11272,6558,12060,6139,6782,11662,12215,5942,10471,12582,12595,5315,5661,7429,11703,12735,5219,11704,12596,12583,9118,7915,11771,8148,7687,8626,11705,12597,5854,12000,6597,7076,11707,6391,12585,2595,12599,12587,3458,10424,4588,3366,5020,9096,5260,11928,7810,13242,12204,4773,12588,8002,12589,12600,12590,5853,8968,11713,12601,7507,7198,7215,10308,14061,11194,9903,2428,11430,2552,10322,13675,14133,6898,5993,5415,11238,8079,11791,9764,7605,9584,6454,9049,6403,8308,5060,8122,7950,8659,12843,10800,6746,4883,12775,10913,7128,6749,3984,5079,4491,5779,5311,6783,9995,10631,12977,12951,6261,7319,11322,5329,9455,12718,14062,13418,14059,13122,9724,11865,7805,12210,4229,10685,3147,5609,7662,1219,7115,5394,6521,5431,11528,12443,11823,6283,8610,9591,10481,10077,6455,11562,9556,8797,7231,2583,12182,11117,9799,11413,10346,11361,4706,11468,4663,7784,8448,9282,11014,6756,13202,9966,12973,12227,10491,9388,6610,8760,4182,8615,5828,10574,10798,11248,9509,13280,13093,12409,13459,12995,8466,8158,3381,9668,11342,2427,12277,12635,12473,12406,9994,11411,12810,13852,10382,11145,4836,12208,7295,11846,11318,12459,8632,6537,10689,8616,12942,13612,6858,7698,9652,3917,13671,14082,4348,4956,11850,8700,7009,5935,5304,7311,9575,7368,6341,10769,11360,7046,10518,9215,8235,10875,7881,13457,8548,7152,7935,13077,10517,8291,8229,13569,11102,12470,12984,13182,8288,13986,11255,9021,7217,12324,11435,13558,8545,10780,6370,11664,10605,10352,12416,13398,7804,8841,10494,7582,6612,7959,8874,5356,6281,10810,7410,5248,9856,11033,10239,11118,10062,12909,11052,11894,9495,8828,7680,13954,10711,7272,10730,11172,10966,5909,13341,6110,11319,8261,9097,9693,7292,12197,7370,7397,4958,12006,4909,2157,12099,11969,10958,8370,6535,12045,11960,13566,9344,2952,11840,12707,8927,12561,9221,7059,9959,12691,10043,13582,9767,8152,11012,11793,11995,12105,11996,10879,14071,9266,11288,13029,7816,11499,6829,12988,11567,6533,12814,11064,8091,13982,14400,11211,11549,7612,10656,4899,5672,11488,12322,12399,8290,12996,12668,3367,8732,8570,6246,7254,10312,6688,12286,11310,9227,5889,12010,13229,13780,12088,1714,8794,10333,8749,5205,6200,13278,1931,9222,8793,12732,13065,2582,6355,5666,2173,5744,11767,14329,13474,13425,5921,7318,8894,5868,10337,9682,5203,6093,12373,13921,8453,900,6825,5181,11480,4336,10825,5074,13277,5749,8345,5539,4775,7393,10179,9345,12651,8855,13676,12440,12932,6141,2169,13057,10592" forcepingid="" preferredserverid=""/>
<licensekey>f7a45ced624d3a70-1df5b7cd427370f7-b91ee21d6cb22d7b</licensekey>
<customer>speedtest</customer>
<odometer start="10197790263" rate="20"/>
<times dl1="5000000" dl2="35000000" dl3="800000000" ul1="1000000" ul2="8000000" ul3="35000000"/>
<download testlength="10" initialtest="250K" mintestsize="250K" threadsperurl="4"/>
<upload testlength="10" ratio="5" initialtest="0" mintestsize="32K" threads="2" maxchunksize="512K" maxchunkcount="50" threadsperurl="4"/>
<latency testlength="10" waittime="50" timeout="20"/>
<socket-download testlength="15" initialthreads="4" minthreads="4" maxthreads="32" threadratio="750K" maxsamplesize="5000000" minsamplesize="32000" startsamplesize="1000000" startbuffersize="1" bufferlength="5000" packetlength="1000" readbuffer="65536"/>
<socket-upload testlength="15" initialthreads="dyn:tcpulthreads" minthreads="dyn:tcpulthreads" maxthreads="32" threadratio="750K" maxsamplesize="1000000" minsamplesize="32000" startsamplesize="100000" startbuffersize="2" bufferlength="1000" packetlength="1000" disabled="false"/>
<socket-latency testlength="10" waittime="50" timeout="20"/>
<conditions>
<cond name="tcpulthreads" download="+100000" value="8" />
<cond name="tcpulthreads" download="+10000" value="4" />
<cond name="tcpulthreads" value="2" />
</conditions><interface template="mbps" colortcp="0" />
<translation lang="xml" >
<text id="rateyourisp">Rate Your ISP</text>
<text id="copy">COPY IP</text>
<text id="long-kbps">kilobits</text>
<text id="long-Mbps">megabits</text>
<text id="newserver">NEW SERVER</text>
<text id="testagain">TEST AGAIN</text>
<text id="uploadspeed">UPLOAD SPEED</text>
<text id="downloadspeed">DOWNLOAD SPEED</text>
<text id="kbps">kbps</text>
<text id="Mbps">Mbps</text>
<text id="begintest">BEGIN TEST</text>
<text id="startclosest">START TEST TO RECOMMENDED SERVER</text>
<text id="long-MB/s">megabytes</text>
<text id="long-kB/s">kilobytes</text>
<text id="kB/s">kB/s</text>
<text id="MB/s">MB/s</text>
<text id="mbps">Mbps</text>
<text id="ratinghelp">How happy are you with your current Internet service provider?</text>
<text id="rating1">Very unhappy</text>
<text id="rating2">Unhappy</text>
<text id="rating3">Neutral</text>
<text id="rating4">Happy</text>
<text id="rating5">Very happy</text>
<text id="speedwavebegin">YOUR RESULT WILL BECOME PART OF A SPEED WAVE</text>
<text id="ping">PING</text>
<text id="hostedby">Hosted by</text>
<text id="counterdescription">TOTAL TESTS
TO DATE</text>
<text id="copied">COPIED</text>
<text id="autostartdesc">AUTO STARTING SPEED TEST IN</text>
<text id="seconds">SECONDS</text>
<text id="second">SECOND</text>
<text id="error">ERROR</text>
<text id="tryagain">Try Again</text>
<text id="share-wavetitle">START A SPEED WAVE</text>
<text id="share-namewave">Speed Wave Name</text>
<text id="share-waveresults">Your result is now part of the Speed Wave!</text>
<text id="compare-yourtest">Your Result</text>
<text id="survey-surveytitle">Help Us Understand Broadband Costs</text>
<text id="survey-downloadpackage">Download Package</text>
<text id="survey-uploadpackage">Upload Package</text>
<text id="survey-howmuch">How much do you pay?</text>
<text id="survey-includes">Includes:</text>
<text id="survey-postalcode">Is this your postal code?</text>
<text id="survey-submit">SUBMIT</text>
<text id="share-accounttitle">GET A FREE OOKLA SPEEDTEST ACCOUNT</text>
<text id="share-accountdescription">Being logged in would allow you to start a Speed Wave here!
Registration is free and only requires a valid email address.</text>
<text id="share-emailaddress">Your Email Address</text>
<text id="share-twitterurl">https://twitter.com/share?text=Check%20out%20my%20%40Ookla%20Speedtest%20result!%20What%27s%20your%20speed%3F&url=http%3A%2F%2Fwww.speedtest.net%2Fmy-result%2F{RESULTID}&related=ookla%3ACreators%20of%20Ookla%20Speedtest&hashtags=speedtest</text>
<text id="share-facebookurl">https://www.facebook.com/dialog/feed?app_id=581657151866321&link=http://www.speedtest.net/my-result/{RESULTID}&description=This%20is%20my%20Ookla%20Speedtest%20result.%20Compare%20your%20speed%20to%20mine!&redirect_uri=http://www.speedtest.net&name=Check%20out%20my%20Ookla%20Speedtest%20results.%20What%27s%20your%20speed%3F</text>
<text id="share-viewwave">VIEW SPEED WAVE</text>
<text id="share-createwave">CREATE</text>
<text id="survey-speed">Speed</text>
<text id="survey-phone">Phone</text>
<text id="survey-tv">TV</text>
<text id="survey-package">What speeds do you pay for?</text>
<text id="survey-thanks">Thanks for participating in the survey!</text>
<text id="selectingbestserver">SELECTING BEST SERVER BASED ON PING</text>
<text id="compare-myresults">MY RESULTS</text>
<text id="share-createaccount">CREATE</text>
<text id="begintest-preferred">YOUR PREFERRED SERVER</text>
<text id="begintest-ping">RECOMMENDED SERVER</text>
<text id="connecting">CONNECTING</text>
<text id="share-copy">COPY</text>
<text id="endtest-share-button">SHARE THIS RESULT</text>
<text id="endtest-compare-button">COMPARE
YOUR RESULT</text>
<text id="endtest-contribute-button">CONTRIBUTE
TO NET INDEX</text>
<text id="close">CLOSE</text>
<text id="survey-retake">RETAKE THE
SURVEY</text>
<text id="share-link">IMAGE</text>
<text id="share-forum">FORUM</text>
<text id="share-wavedescription">Use this test result to begin your own Speed Wave!</text>
<text id="pcmagmessage">Fastest ISPs</text>
<text id="panel0">wave</text>
<text id="panel1">share</text>
<text id="panel2">link:{LANG_CODE}/results.php?source=compare</text>
<text id="panel3">contribute</text>
<text id="bitspersecond">bits per second</text>
<text id="endtest">standard</text>
<text id="lang">en</text>
<text id="share-pinteresturl">http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.speedtest.net%2F&media=http%3A%2F%2Fspeedtest.net%2Fresult%2F{RESULTID}.png&description=Check%20out%20my%20result%20from%20Ookla%20Speedtest!</text>
<text id="panelsuffix"></text>
<text id="survey-nextbtn">Continue</text>
<text id="survey-editbtn">EDIT</text>
<text id="survey-download">Download</text>
<text id="survey-download-validate">Download:</text>
<text id="survey-upload">Upload</text>
<text id="survey-upload-validate">Upload:</text>
<text id="survey-connectiontype">Connection Type?</text>
<text id="survey-q1label1">Home</text>
<text id="survey-q1label2">Business</text>
<text id="survey-q1label3">School</text>
<text id="survey-q1label4">Public Wi-Fi</text>
<text id="survey-q1label5">Other</text>
<text id="survey-ispconf">My ISP is:</text>
<text id="survey-q2label1">Yes</text>
<text id="survey-q2label2">Wrong</text>
<text id="survey-q3label1">Yes</text>
<text id="survey-q3label2">Wrong</text>
<text id="survey-postalcode-input">Please enter your postal code</text>
<text id="survey-labelispinput">Please enter your ISP name</text>
<text id="survey-okbtn">OK</text>
<text id="survey-validationUploadline1">Please check your upload speed.
  This seems faster than expected.</text>
<text id="survey-validationAmountline1">Please check the amount entered.
    This seems higher than expected.</text>
<text id="survey-validationDownloadline1">Please check your Download speed.
  This seems faster than expected.</text>
<text id="share-web">WEB</text>
<text id="share-html">EMBED</text>
<text id="endtest-contribute-are-you-on">Are you on</text>
<text id="endtest-contribute-take-survey">Take our Broadband Internet Survey!</text>
<text id="endtest-test-again">TEST AGAIN</text>
<text id="endtest-compare">COMPARE</text>
</translation>
</settings>
Traceback (most recent call last):
  File "/usr/local/bin/speedtest", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 1418, in main
    shell()
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 1329, in shell
    speedtest = Speedtest()
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 702, in __init__
    self.get_config()
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 742, in get_config
    root = ET.fromstring(''.encode().join(configxml))
  File "<string>", line 124, in XML
cElementTree.ParseError: not well-formed (invalid token): line 3, column 64

Working again here, too.

Weird, I'm seeing the same issue now:
wp@viki:~$ ~/.local/bin/speedtest-cli
Retrieving speedtest.net configuration...
Traceback (most recent call last):
  File "/home/wp/.local/bin/speedtest-cli", line 11, in <module>
    sys.exit(main())
  File "/home/wp/.local/lib/python2.7/site-packages/speedtest.py", line 1494, in main
    shell()
  File "/home/wp/.local/lib/python2.7/site-packages/speedtest.py", line 1397, in shell
    speedtest = Speedtest()
  File "/home/wp/.local/lib/python2.7/site-packages/speedtest.py", line 743, in __init__
    self.get_config()
  File "/home/wp/.local/lib/python2.7/site-packages/speedtest.py", line 783, in get_config
    root = ET.fromstring(''.encode().join(configxml))
  File "<string>", line 124, in XML
cElementTree.ParseError: undefined entity ©: line 85, column 7241

Perhaps I closed this case prematurely.

On Debian 9 I'm seeing the below errors:
root@MCDEBIAN:~# speedtest-cli
Retrieving speedtest.net configuration...
Testing from I-Net Link Wireless (208.92.136.145)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Westman Communications (Brandon, MB) [84.52 km]: 61.596 ms
Testing download speed................................................................................
Download: 13.20 Mbit/s
Testing upload speedTraceback (most recent call last):
  File "/usr/bin/speedtest-cli", line 11, in <module>
    load_entry_point('speedtest-cli==1.0.0', 'console_scripts', 'speedtest-cli')()
  File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1400, in main
    shell()
  File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1376, in shell
    speedtest.upload(callback=callback)
  File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1086, in upload
    data._create_data()
  File "/usr/lib/python2.7/dist-packages/speedtest.py", line 497, in _create_data
    (chars * multiplier)[0:int(self.length) - 9]
MemoryError
root@MCDEBIAN:~#

Using your latest version resolved the issue. Thanks work your work on this :smile:

repo: sivel/speedtest-cli


text:
Fixed jsonFormat typo

Hi,
It seems some refactoring created a typo with "json" -> "jsonFormat" and it breaks the UI
I think these changes fix the issue.

It's bad refactoring apparently, Thanks.

authors: npolizotis six-ddc

repo: six-ddc/plow


text:
Does it support subquery and table alias?

Does it support sub query and table alias?
select f.col1 A, f.col2 B, s.colx C
from foo f, ( select colx from bar where colx=123) s
where f.colx=s.colx

Alias should not be a problem, since the from method only stores a string,
I imagine this should work:
...
  .from("foo f")
...

About sub queries, this is one of the reasons I'm still thinking about using this lib.

If aliases work because the from is stored as a string, then I feel like subqueries should work too.
.from("("+subquery.str()+") sub")

authors: janosimas sekarpdkt tomlankhorst

repo: six-ddc/sql-builder


text:
🛑 Intranet_Boliche is down

In 05da218, Intranet_Boliche (http://intranet.boliche.cl/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Intranet_Boliche is back up in 8192c13 after 5 minutes.


text:
Cannot access Async events in newest version

Async events are gone after version 2.0. The syncronous events should be
used instead. Too many issues with users getting into trouble with the
async versions. Specifically the most common problem is that the async
processors (users code) would fall so far behind the crawl of large sites
that they were encountering memory issues.
On Mon, Dec 9, 2019, 8:53 AM JulioPablo notifications@github.com wrote:

[image: image]
https://user-images.githubusercontent.com/33587721/70455508-0de61d80-1a72-11ea-833f-62e4663f6ef8.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sjdirect/abot/issues/207?email_source=notifications&email_token=AA5C3YUSXSKW2XL3ACDQUO3QXZZYPA5CNFSM4JYMU5LKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7EKMPQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5C3YSS7KJHZIOA3X2WVM3QXZZYPANCNFSM4JYMU5LA
.

Closing since the removal was by design

Gotcha, the documentation in the case, the documentation is outdated, the examples show usage of these.

authors: JulioPablo sjdirect

repo: sjdirect/abot


text:
No keystrokes recorded

Hi
I've built a Morizon following the BOM and flashing guide. I successfully flashed the pro micro (showing HID console connected: Steven Karrmann Morizon (FEED:0000:0001) in QMK Toolbox).
However I don't get any keys recorded. I tried re-flashing multiple times and double checked the diodes but nothing seems to work.
What could be the issue ?

Hello!
I will confirm the Morizon firmware flash works with QMK Toolbox within a couple days, hopefully tonight. QMK Toolbox worked when I last tried it about a year ago, and QMK CLI works.
Which model Pro Micro are you using? Did you use sockets to connect it the PCB? If so, I recommend removing the Pro Micro and testing it separately. Use a wire to connect pins 14 (B3) and 7 (E6) - this should send keystroke for letter "L". If the Pro Micro works while removed from the PCB, then it is a PCB or soldering issue. If the Pro Micro does not work while removed from the PCB, then it is an issue with the microcontroller or the firmware.
Please let me know how your testing goes, and I will try flashing using the QMK Toolbox soon and let you know how that works.

I testing flashing the Morizon firmware with QMK Toolbox. It worked for me, and keystrokes work afterwards. Here is what I did:

Download and install qmk_toolbox_install.exe.
When running QMK Toolbox for the first time, a prompt appeared: "Would you like to install drivers for your devices?". Click "Yes", and waited for the drivers to install.
Compile and download the default Morizon layout firmware from QMK Configurator.
In QMK Toolbox, open the firmware file.
Connect the Morizon keyboard to the PC. (My Pro Micro is has a blue PCB and USB Micro port)
Press the reset button on the Morizon PCB, and then in QMK Toolbox click the "Flash" button.

After flashing finished, the keyboard worked with the default layout loaded. In case it helps, here is my output from flashing in QMK Toolbox:
Caterina device connected (usbser): Microsoft USB Serial Device (COM3) (2341:0037:0001) [COM3]
Attempting to flash, please don't remove device
> avrdude.exe -p atmega32u4 -c avr109 -U flash:w:"C:\Users\skarrmann\Downloads\morizon_layout_mine.hex":i -P COM3
>
> Connecting to programmer: .
> Found programmer: Id = "CATERIN"; type = S
>     Software Version = 1.0; No Hardware Version given.
> Programmer supports auto addr increment.
> Programmer supports buffered memory access with buffersize=128 bytes.
>
> Programmer supports the following devices:
>     Device code: 0x44
>
> avrdude.exe: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.00s
>
> avrdude.exe: Device signature = 0x1e9587 (probably m32u4)
> avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
>              To disable this feature, specify the -D option.
> avrdude.exe: erasing chip
> avrdude.exe: reading input file "C:\Users\skarrmann\Downloads\morizon_layout_mine.hex"
> avrdude.exe: writing flash (18020 bytes):
>
> Writing | ################################################## | 100% 1.33s
>
> avrdude.exe: 18020 bytes of flash written
> avrdude.exe: verifying flash memory against C:\Users\skarrmann\Downloads\morizon_layout_mine.hex:
> avrdude.exe: load data flash data from input file C:\Users\skarrmann\Downloads\morizon_layout_mine.hex:
> avrdude.exe: input file C:\Users\skarrmann\Downloads\morizon_layout_mine.hex contains 18020 bytes
> avrdude.exe: reading on-chip flash data:
>
> Reading | ################################################## | 100% 0.13s
>
> avrdude.exe: verifying ...
> avrdude.exe: 18020 bytes of flash verified
>
> avrdude.exe: safemode: Fuses OK (E:FB, H:D8, L:FF)
>
> avrdude.exe done.  Thank you.
>
Flash complete
HID console connected: Steven Karrmann Morizon (FEED:0000:0001)

So it seems the default Morizon firmware is okay, and it can be installed with QMK Toolbox.
Let me know how your testing goes.

@maximilienGilet Have you had a chance to further troubleshoot this issue?

I am closing this issue since I cannot reproduce it, and have received no reply. The Morizon PCB and flashing the firmware with QMK Toolbox on a Pro Micro worked in my testing above.
@maximilienGilet If you are still having an issue, experienced QMK users may be able to help troubleshoot. My advice above might help diagnose the issue. Good luck!

Hi @skarrmann, sorry for the delay I have been quite busy since then and didn't received Github notifications.
I have this exact pro micro (with USB C) : https://fr.aliexpress.com/item/32846843498.html

Hi @skarrmann, I just tested the pro micro and the pin 7 + 14 shortcut works, it triggers an L.
I will check my soldering again

@maximilienGilet That is good! Then there is likely is a soldering issue. A multimeter would be helpful for checking electrical continuity between pins and confirming there are no solder bridges. Good luck!

Hi again @skarrmann !
After a lot of tinkering i figured out that inverting the diodes position makes it working somehow, but the matrix is inverted.
As i'm typing this I think it might not be the diodes but the pro micro needing to be flipped (I soldered it with the components on the upper side). Could it be that ?

Yes, that is the issue! The Pro Micro needs to be soldered with the components facing down, so its pin labels match the labels printed on the PCB.
I am glad you discovered the problem, and I hope you can fix it without too much trouble.

Thank you for your help !

authors: maximilienGilet skarrmann

repo: skarrmann/morizon


text:
update ember to 3.28 and bump dependencies

Hello,
I updated ember to 3.28 and bumped dependencies.

Hello @skaterdav85, do you have time to check this ?

@Henridv @andrewpye @sovietspaceship2 any one can check this ?

Hi @mostafa-sakhiri! The contributors you've tagged have each only contributed one small PR to this addon or are no longer active on GitHub. It looks like @iamdtang has been mostly inactive on here for a couple of months, but any decision on how to proceed here is his to make 🤷

Hi @mostafa-sakhiri! The contributors you've tagged have each only contributed one small PR to this addon or are no longer active on GitHub. It looks like @iamdtang has been mostly inactive on here for a couple of months, but any decision on how to proceed here is his to make shrug

Okay, thank you @andrewpye

authors: andrewpye mostafa-sakhiri


text:
Hmartin bug end process

Since this commit
https://github.com/symfony/process/commit/84f0570d0333a23f1bacd6aea31ec484b7b56f1c
The processes ended at the end of command

Happy new year @skck !
Are you agree with my PR?
Have you got time to read it?

@skck evrything is ok?

repo: skck/SbkCronBundle


text:
Upgrade to expat-2.6.2

The old release is no longer hosted upstream so the build fails.

Thanks, Alex!
Perhaps I should figure out some way to get these from GitHub, because
these fossies.org links have been unreliable. That's the second time this
month it's happened. The problem with the official download URL has been
that the libexpat devs use weird tag names that don't match the actual
version number, e.g. R_2_6_2 instead of 2.6.2 or v2.6.2.

authors: ducalex skeeto

license: Unlicense


text:
[Depot] Shared volumes

We need to create a shared volume for depot .

RIP

authors: Shikkic skeswa

repo: skeswa/gophr


text:
Boxes to left of list items - Missing Icons?

Might be a bug in v1.7:

What OS are you using? Have you changed where extensions for vscode are installed?

Window 10 Pro, no I haven't.

Can you tell me what theme this was and show me what config you have for mapping icons. Thanks

ah okay, my File Icon theme is set to Seti (vs-seti). Do you have an icon set you recommend for this?

Yeah, tested lots and I see the seti icons in 1.7.0 Mac and Linux. I will check windows again.
Can you open the developer tools and see if you can see any network errors or console errors when you switch to the sidebar
Seti Icons in v1.7.0 and developer tools showing loading resources

Seti use an icon font (codicons) rather than individual images. You can see it loading in the network tab in my previous comment.

I think the seti icon config was left over after the extension was removed in the past.
My testing:

https://marketplace.visualstudio.com/items?itemName=file-icons.file-icons

https://marketplace.visualstudio.com/items?itemName=emmanuelbeziat.vscode-great-icons

I check for any network errors now.

I think this must be a windows issue. I will check later in a VM. Both those icons work on mac and Linux. Sorry about this.

I believe I have fixed the issue. It was due to the way I was setting the base path to the extension folder with the icons. It worked on linux/mac but not on windows.
Can you unistall the version you have, go here: https://github.com/sketchbuch/vsc-workspace-sidebar/wiki
And download "vsc-workspace-sidebar-1.7.1.zip".
Extract that archive and you will find a vsix file inside which you can install in the extension manager.

If this version shows you icons (which it did for me in my Windows VM), I shall release a new version with the fix.

In v1.7.1

In v1.7.1

authors: hl2guide sbungert-mms sketchbuch

repo: sketchbuch/vsc-workspace-sidebar


text:
Error: unable to verify the first certificate

From the v0.7.0 to the v0.7.1 the switch to isomorphic-fetch to https module has made it so self signed certificates for local development urls error out.

Error: unable to verify the first certificate

@craig-day Would you be able to look into this please?

Sure thing. I’ll look at this tomorrow.

@joshmanders do you have an example reproduction? There are a few possible ways errors like this can be resolved. We can required the appropriate root certificates, which is safe, or we can just tell the https library to ignore these errors but that is less secure. If you have an example it would be nice to test with.

@craig-day no example really, I use a tool called Valet (https://github.com/laravel/valet) and it secures local apps for development with self-sign certificates, previous version worked fine for these certificates, new version errors out, as I believe a self-signed certificate is not a valid certificate.

authors: craig-day gjtorikian joshmanders

repo: skevy/graphiql-app