text:
fix: TS complains when initializing codeceptjs

Motivation/Description of the PR

This PR solves this error

TSError: ⨯ Unable to compile TypeScript:
codecept.conf.ts:1:51 - error TS7016: Could not find a declaration file for module '@codeceptjs/configure'. '/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/@codeceptjs/configure/index.js' implicitly has an 'any' type.
  Try `npm install @types/codeceptjs__configure` if it exists or add a new declaration (.d.ts) file containing `declare module '@codeceptjs/configure';`

1 import { setHeadlessWhen, setCommonPlugins } from '@codeceptjs/configure';
                                                    ~~~~~~~~~~~~~~~~~~~~~~~

    at createTSError (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:434:12)
    at reportTSError (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:438:19)
    at getOutput (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:578:36)
    at Object.compile (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:775:32)
    at Module.m._compile (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:858:43)
    at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/tamara-thanh/Desktop/codeceptjs-rest-demo/node_modules/ts-node/src/index.ts:861:12)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)

Type of change

[x] :bug: Bug fix

Can we still use import here?
Maybe if we export types from codeceptjs/confgure?

I supposed so if you expose types from configure project

Probably this should be done instead

Done in here https://github.com/codeceptjs/configure/pull/30 @DavertMik

authors: DavertMik PeterNgTr

repo: codeceptjs/CodeceptJS


text:
Respect protectBuiltins option in sandboxGenerator

sandboxGenerator now respects the protectBuiltins option.  Addition to #138 for #136.

Ah, good point–thanks!

source: gharchive/pull-request

authors: Hypercubed nwinter

repo: codecombat/aether

license: mit

license_type: permissive

license_source: bigquery


text:
Syntax error near unexpected token `(' when trying to pass reports from travis ci

Can someone please tell me if this issue is codecov-bash related or if I should take a look someplace else?
As described here : https://stackoverflow.com/questions/52433448/eval-error-when-publishing-to-codecov-from-travis
.travis.yml
language: java
jdk: oraclejdk10
after_success:
- bash <(curl -s https://codecov.io/bash)

pom.xml
<plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <version>0.8.2</version>
    <executions>
        <execution>
        <goals>
            <goal>prepare-agent</goal>
        </goals>
        </execution>
        <execution>
            <id>report</id>
            <phase>test</phase>
            <goals>
                <goal>report</goal>
            </goals>
        </execution>
    </executions>
</plugin>

travis.ci output
[INFO] Results:
[INFO]
[WARNING] Tests run: 174, Failures: 0, Errors: 0, Skipped: 7
[INFO]
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.2:report (report) @ PROJECT ---
[INFO] Loading execution data file /home/travis/build/x/y/target/jacoco.exec
[INFO] Analyzed bundle 'PROJECT' with 14 classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.121 s
[INFO] Finished at: 2018-09-20T20:25:14Z
[INFO] Final Memory: 18M/512M
[INFO] ------------------------------------------------------------------------
The command "mvn test -B" exited with 0.
after_success
0.00s$ bash < (curl -s https://codecov.io/bash)
/home/travis/.travis/job_stages: eval: line 98: syntax error near unexpected token `('
/home/travis/.travis/job_stages: eval: line 98: `bash < (curl -s https://codecov.io/bash) '
Done. Your build exited with 0.

Apparently now it works without any changes made.

source: gharchive/issue

repo: codecov/codecov-bash


text:
Updates fragments with tweaks from LA projects

We are trying to move small tweaks into the FFB to make them useful for other projects.

@bseeger these are great changes to pull in. For the template changes for the additional fields on the reveal and the address components I think we should add documentation to clue people into the fact that these optional fields are available to them?

@bseeger just following up on this, do you have the time to document the changes?

I'll add some documentation to this later today.

@spokenbird I added some documentation - I didn't have a chance to double check it yet though.

@spokenbird I think this is all set now. What do you think?

authors: bseeger spokenbird

repo: codeforamerica/form-flow

license: MIT

license_source: github-api


text:
[WIP] Add more tests

Sets up JSDOM for use with Enzyme. Adds some tests for the form components. Haven't touch the charts or <ShowOnYes>. ~Made a few minor refactors and documentation fixes as I went.~
Still more I want to do, just getting this up there so people know what I'm up to.

Sets up JSDOM for use with Enzyme. Adds some tests for the form components. Haven't touch the charts or <ShowOnYes>. Made a few minor refactors and documentation fixes as I went.
Still more I want to do, just getting this up there so people know what I'm up to.

Here's a question: Does the ShowOnYes component even need to be tested if the functionality it provides is passing tests on all of the front-end components it's being imported to (CurrentExpenses.js and VisitPage.js, if I'm catching all of these)?

Sorry, @wacii , I had to steal the jsdom stuff to get a test working in FeedbackPrompt after an edit to fix the modals - #861. Couldn't figure out another way to do it.

Perhaps a bit rough, but I wanted to improve test coverage quickly before the codebase deviated too much.
The tests are for components and containers. I think I did all of them except from the visit page and dev hud.
I used snapshots in places I am not entirely happy with. Think it might have been better to use expect(() => mount()).not.toThrow() as the default sanity check, and just use snapshots when I wanted to test default props. Or something similar.
Anyways, if any of the snapshots get in the way, feel free to get rid of them.
I'll add tests for the visit page, but I want to extract pieces out of that first. And that really doesn't belong in this PR.

.not.toThrow() sounds pretty useful for some situations actually. Above all else, it'd be easier for new members to add their names to the About page if they didn't have to fix snapshots at the same time.

Ask and ye shall receive! 🎉

@knod Yeah, I added it. Although on second thought, I am mocking the snippets, so I don't think it would have been a problem. But we didn't need the snapshot test there, so this is better anywho.

Ah, didn't catch that, but it makes sense.

It looks like we can probably merge this and continue the conversation as time allows.

authors: dylanesque knod wacii

repo: codeforboston/cliff-effects


text:
[Bug Report] - Civic Profile Submission

Describe the bug:
Currently, been trying to get information added to the Civic Profile. However, I'm currently getting errors with regards to that functionality (see clip below).
Expected behavior:
Was expecting to let users update housing information from the submission forms and update the relevant TTL file in the back.
Screenshots:
https://github.com/codeforpdx/PASS/assets/14917816/7e3338fa-0a76-44e8-b90a-8229bdf724c7
To Reproduce:
Steps to reproduce the behavior:

Go to "Civic Profile"
Insert information for form
Click on "Submit" button
See error

Possible Fix:
Checking existing functionality for adding information onto Solid and updating the function if needed

Seems what's happening is that the storedDataset state is occasionally null when the addMutation is run. In useRdfCollection ln 74, mutate attempts to access the storedDataset and it doesn't exist throwing the error.
Easiest way I found to work around is to add a useEffect to HousingInfo, that forces a refetch if storedDataset is null.

authors: JaeGif leekahung

repo: codeforpdx/PASS


text:
first pass at the testing chapter

feel free and rip this apart. i'm not super familiar with the format you're using, so i tried to model it on the rendering chapter as best as i can.

easy peasy. I'm down with this :+1:

lol. well that was easy. :) feel free and merge it when you're ready.

Yeah. I'm not gonna be super picky, I think when review all of the curriculum together we will have better feedback

authors: codegangsta markbates

repo: codegangsta/bwag


text:
SyntaxError: Unexpected token 'export'

Hello
I'm building a Remix app here:
https://github.com/betagouv/zacharie/commit/bafd08b94a6056c58e0b2d248bc84fc8c1b87f4e#diff-6a3b01ba97829c9566ef2d8dc466ffcffb4bdac08706d3d6319e42e0aa6890dd
if you try and run this commit, you should get this error
export { default } from "./Header";
^^^^^^

SyntaxError: Unexpected token 'export'

the way I fixed it is to add those lines to the vite config
https://github.com/betagouv/zacharie/commit/c6174f0cbc406cf1ed700b9c4750aa41379ae40b
  ssr: {
     noExternal: ["@codegouvfr/react-dsfr"],
   },

am I doing things right ?

mmm I don't know if this is related, but I need to
import "@codegouvfr/react-dsfr/main.css";
if not, in production, I miss this css file

Hello @arnaudambro,
Yes you are doing things right with ssr.noExternal, node runs in CommonJS mode by default and react-dsfr components are shipped in ESM so Vite needs to transpile them.
Regarding how you import the global CSS.
Yes, you should use the import "@codegouvfr/react-dsfr/main.css"" statement you can remove this.
Some gotcha to be aware of since I do not provide an integration for Remix:
You can't use thoses hooks:
import { useIsDark } from "@codegouvfr/react-dsfr/useIsDark";
import { useColors } from "@codegouvfr/react-dsfr/useColors";

It should not be a big deal since the colors are accessible as CSS variables in the fr object:
import { fr } from "@codegouvfr/react-dsfr";

fr.colors.xxx

See colors picker tool.
Consequently you won't be alble to use the MUI integration either:
https://react-dsfr.codegouv.studio/mui
If it's a prolem for you I can work on a SSR provider for Remix.
I didn't bother since all the teams that I know of works with either Next Vite or Create React App.
Best

thanks @garronej
what I actually did on top of the vite config is
root.tsx

import dsfrCss from "@codegouvfr/react-dsfr/main.css?url";

export function Layout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="fr">
      <head>
        <meta charSet="utf-8" />
        <link rel="stylesheet" href={dsfrCss} />
        <Links />
      </head>
      <body>
        {children}
        <ScrollRestoration />
        <Scripts />
      </body>
    </html>
  );
}

and everything works fine

authors: arnaudambro garronej

repo: codegouvfr/react-dsfr


text:
Bug: site_url() ignores Config\App::$baseURL when not passing $config

PHP Version
7.4
CodeIgniter4 Version
4.3.2
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 10.2
What happened?
site_url() function ignores App->baseURL
Steps to Reproduce
Change config("App")->baseURL and check site_url("test") output.
// default baseURL = "http://localhost:8080/";
$app = config("App");
$app->baseURL = "https://test.com/";

return site_url("/login"); // output: http://localhost:8080/login

Expected Output
Output containing the new baseURL (https://test.com/login).
Anything else?
No response

Another test:
// default baseURL = "http://localhost:8080/";
$app = config("App");
$app->baseURL = "https://xxx.test.com/";
$app->allowedHostnames = [
"xxx.test.com",
];
return site_url("/login"); // output: http://localhost:8080/login

Thank you for reporting!
But unfortunately, this is not a bug, or we probably cannot fix it.
Because since v4.3.0, Multiple Domain Support is added.
https://codeigniter4.github.io/CodeIgniter4/changelogs/v4.3.0.html#multiple-domain-support
The current URL is determined when a Request object is created.
And you cannot change it later. Because the current URL is never changed
in a request.
If you want to change the baseURL, please pass the Config object to site_url().
        $app = config("App");
        $app->baseURL = "https://test.com/";

        return site_url("/login", null, $app);

Why do you need to change the baseURL? Can you explain your use case?

Actually my problem was related to form_open. When I examined form_open function, found site_url. The form_open/site_url functions related to the baseurl cause problems when using dynamic subdomains.

$app = config("App");
$app->baseURL = "https://xxx.test.com/";
$app->allowedHostnames = [
   "xxx.test.com",
];

I actually do this definition with filters/pre. At least if it is possible to change it with the filter pre, there will be no problem.

I think if you set $allowedHostnames in Config\App, you don't need it in the filter.

How can I use code for domain names such as userX.test.com, random-chars.test.com, can you show an example? Subdomains are set by the user.
I think changes need to be made with filters/pre.
It also doesn't support regex even. At least that could have been.
I cannot upgrade version for this reason.

How do you know the domain names now?

I set baseURL on Filters/pre or controller. So I can use form_open, site_url etc. without problem.

I get it from session or database according to user's choice. Then I edit it with baseUrl. For example, if user chooses kenjis for subdomain, I read from session and edit baseURL to kenjis.test.com.

Sorry, now the code round the current URI is very complicated.
Please try:
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        $uri = $this->request->getUri();

        // Update the current URI object
        $uri->setBaseURL('https://test.com/');
        $uri->setScheme('https');
        $uri->setHost('test.com');

        helper('form');

        return form_open("login");
    }
}

thank you!

Since the URI-related code is complicated, difficult to understand, and a bit buggy,
I have sent PR #7282 with the code reorganized and rewritten.
However, since it brings breaking changes, I do not yet know when it will be merged or not.


text:
Fix MySql _fromTables()

When there are JOINs and more than one table exists, the FROM clause must be enclosed in parentheses, otherwise an error occurs if a JOIN does not refer to the last table.
Checklist:

[X] Securely signed commits
[X] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[X] Conforms to style guide

I checked the codebase and this was indeed merged this time :)

authors: jim-parry pjsde


text:
fix: FileLocator::findQualifiedNameFromPath() behavior

Description

With this PR, FileLocator::findQualifiedNameFromPath() returns a FQCN without leading \

FQCN should not start with \.
get_class() of ::class returns FQCN without leading \.
The following code does not work as expected.:
$class = FileLocator::findQualifiedNameFromPath(...);
if ($class === Foo::class) {
    // do something
}

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

However, it is a breaking change and not urgent.
I will backport to 4.4 if there are many opinions that it should be fixed.


text:
UserModel::save() can't update User's email/password

When updating User's email/password, parent::save($data) may returns DataException (no data to update),
in that case, email/password is not updated.
https://github.com/codeigniter4/shield/blob/4c8b53c9b6fd7701cba804e86df78bdeef48dc42/src/Models/UserModel.php#L202-L231

Please not the workaround, specifying
$user->active = <1 or 0>
Before
save($user)
is called

https://github.com/codeigniter4/shield/issues/253#issuecomment-1164303404

I have the same problem
I added this
'last_active'=> new Time('now'),

authors: MGatner caosdp-rs jadsy2107 kenjis


text:
Broken Links in Footer

Thank you for taking the time to file a Bug report.
Describe the bug
The links

Code of Conduct
Authors
Open Science
Contributors
Slack Link

in Footer does not work properly!
This is an extension of the above issue
To Reproduce
Steps to reproduce the behavior:

Start the application using the yarn start command.
Go to localhost:3000 and scroll down to the footer section and click on the slack icon.

Expected behavior
On click of respected links  it should open the respective link content
Additional context
This is the extension of issue #223

@horizenight  can I work on this?


text:
Incremental crawl error

Hi.
After several successful crawls without active incremental, I decided to crawl with the "incremental crawling" option.
I crawl with and without mapping instruction for the lastModified field and every time I have this error:
[2014-12-18 22:42:13,193][DEBUG][action.search.type       ] [Crowfunding / Node / 001] [webcrawler_index][0], node[mJztTpxTQCeR5mrk8rMNww], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@656f1cec] lastShard [true]
org.elasticsearch.search.SearchParseException: [webcrawler_index][0]: query[url:http://www.[...].nc/discover/69/],from[0],size[1]: Parse Failure [Failed to parse source [{"from":0,"size":1,"query":{"term":{"url":"http://www.[...].nc//discover/69/"}},"sort":[{"lastModified":{"order":"desc"}}]}]]
        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:681)
        at org.elasticsearch.search.SearchService.createContext(SearchService.java:537)
        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:509)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:264)
        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
        at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
        at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.search.SearchParseException: [webcrawler_index][0]: query[url:http://www.[...].nc/discover/69/],from[0],size[1]: Parse Failure [No mapping found for [lastModified] in order to sort on]
        at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:210)
        at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:184)
        at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:86)
        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:665)
        ... 9 more

Any ideas ?
Thanks from New Caledonia

I have the same error and my mapping have lastModified field:
$ curl -XGET "0.0.0.0:9200/webindex/my_web/_mapping?pretty"                                                                                74 ↵
{
  "webindex" : {
    "mappings" : {
      "my_web" : {
        "dynamic_templates" : [ {
          "url" : {
            "mapping" : {
              "type" : "string",
              "store" : "yes",
              "index" : "not_analyzed"
            },
            "match" : "url"
          }
        }, {
          "method" : {
            "mapping" : {
              "type" : "string",
              "store" : "yes",
              "index" : "not_analyzed"
            },
            "match" : "method"
          }
        }, {
          "charSet" : {
            "mapping" : {
              "type" : "string",
              "store" : "yes",
              "index" : "not_analyzed"
            },
            "match" : "charSet"
          }
        }, {
          "mimeType" : {
            "mapping" : {
              "type" : "string",
              "store" : "yes",
              "index" : "not_analyzed"
            },
            "match" : "mimeType"
          }
        }, {
          "lastModified" : {
            "mapping" : {
              "type" : "date",
              "store" : "yes",
              "index" : "not_analyzed"
            },
            "match" : "lastModified"
          }
        } ],
        "properties" : {
          "@timestamp" : {
            "type" : "date",
            "format" : "dateOptionalTime"
          },
          "body" : {
            "type" : "string"
          },
          "bodyAsHtml" : {
            "type" : "string"
          },
          "charSet" : {
            "type" : "string",
            "index" : "not_analyzed",
            "store" : true
          },
          "contentLength" : {
            "type" : "long"
          },
          "executionTime" : {
            "type" : "long"
          },
          "httpStatusCode" : {
            "type" : "long"
          },
          "hubs" : {
            "type" : "string"
          },
          "method" : {
            "type" : "string",
            "index" : "not_analyzed",
            "store" : true
          },
          "mimeType" : {
            "type" : "string",
            "index" : "not_analyzed",
            "store" : true
          },
          "parentUrl" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          },
          "url" : {
            "type" : "string",
            "index" : "not_analyzed",
            "store" : true
          }
        }
      }
    }
  }
}

Also I looked at robot index. It also have lastModified mapping but property is always blank.

For me the cause of:
[No mapping found for [lastModified] in order to sort on]
was that i've added lastModified to the "dynamic_templates" sections of the mappings (following the tutorial),
but seems to be needed in the "properties" section.
setting the following mapping i get no errors:
curl -XPUT '/index1' -d '{
"mappings": {
"type1": {
"properties": {
"url": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"method": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"charSet": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"mimeType": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"lastModified": {
"type": "date",
"store": "yes",
"index": "analyzed"
}
}
}
}
}'
you can chet the actual lastModified filed mapping by:
curl -XGET '/index1/_mapping/field/lastModified'
But the actual problem remains the crawling never sets the values of that field in the documents
and does not incrementally crawl the source domains (overwriting works and urls are not duplicated).
Someone can explain how incremental crawling works?
For example with the following crawiling config:
curl -XPUT '/_river/crawler1/_meta' -d '{
"schedule": {
"cron": "* /5 * * * ?"
},
"type": "web",
"crawl": {
"index": "index1",
"type": "type1",
"url": [
"https://www.4chan.org/"
],
"includeFilter": [
"https://www.4chan.org/."
],
"maxDepth": 3,
"maxAccessCount": 10,
"numOfThread": 1,
"interval": 1000,
"incremental": true,
"overwrite": true,
"target": [
{
"pattern": {
"url": ".*",
"mimeType": "text/html"
},
"properties": {
"title": {
"text": "title"
}
}
}
]
}
}'
i expected that every 5 minutes ("cron": "* */5 * * * ?") 10 new documents ("maxAccessCount": 10) will be indexed, but instead it reindex always the same first 10 urls starting from the first domain ("url": [  "https://www.4chan.org/"    ],)
someone knows how this incremental is intended to work?
without some kind of "incremental" mode the uses of this plugin are very limited!

+1 to @ducktype 's comment.  Incremental crawling is crucial for crawling any medium to large site.  I see a lot of guesswork and no clear instruction.
@marevol - can you provide guidance on this feature?  the current instructions mention only the 'url' property being set to index: not_analyzed, which is clearly not sufficient.

+1 to @ducktype need more details on getting incremental crawling to work.

authors: anfinil brianvoss ducktype jtandalaiLSID oneshot-nc

repo: codelibs/elasticsearch-river-web


text:
Fix for the case when using proxies

Hello,
I've used this module for bypassing the cloudflare protection which worked, however when I used it with proxy servers I got problems.
If you make a request with a proxy

response.request.host

that will be the same as the proxy server's address instead of the target site's address so the solution is to parse

response.request.href

and use the host part of it which will correctly contain the host name for both proxy and non-proxy usage.

@DrakkLord thanks for doing this. Could you please add some UTs?

@codemanki Excuse me but what is an "UT"?

@DrakkLord sorry, unit tests or specs. You can find them here https://github.com/codemanki/cloudscraper/tree/master/specs/tests
It would be great if you could add some tests that cover your change

lol

@codemanki I think this is security bug because request/request will no longer treat the proxy as a proxy but as the request target thus potentially bypassing security checks that requests are meant to undergo. If an authorization header was added to the initial call to cloudscraper and the response is a 302 with a different domain in the location header, request/request will remove the authorization header before the redirect occurs. However, if cloudscraper makes a second request with the proxy as the target... See where that is going?
I'll write the tests for this in a new PR.

Implemented in https://github.com/codemanki/cloudscraper/pull/106

authors: DrakkLord codemanki pro-src

repo: codemanki/cloudscraper


text:
Tagged template literals

I'd like an easy way to contribute plugins for the JavaScript mode to add special overlays for specific tagged template literals.  Currently I have this code which attempts to add the overlay via some horrible hacks so that something like:
var template = jade`
h1 The Jade Language
p Jade is an awesome language
`;

gets syntax highlighted as JavaScript with a section of jade in it.

You definitely don't want to monkey-patch getMode. Rather, it'd be possible to define a javascriptmixed mode which wraps the javascript mode much like htmlmixed wraps xml, and switches to an inner mode when specific (configurable) types of tagged templates are encountered.

That sounds like a good approach, we could then request brackets move to javascriptmixed as the default JavaScript mode.

+1 for a javascriptmixed and also for re-opening this issue.
embedding html and other template languages in js is getting pretty common as libraries move away from pure vdom-building to faster strategies that diff only dynamic parts of templates. would be cool to get html highlighting in Codemirror for libs like t7 [1] and also enable JSX [2].
[1] https://github.com/trueadm/t7
[2] https://github.com/codemirror/CodeMirror/issues/3122

authors: ForbesLindesay leeoniya marijnh

repo: codemirror/CodeMirror


text:
Text is added at wrong caret position in text area

Initilization Code
CodeMirror.fromTextArea($(".edit-box", this.element)[0], {         mode: "text/html",         lineNumbers: true,         lineWrapping: true });
On adding text in editor sometimes the text is added in the wrong position as shown in the GIF below
This issue is tested on version 3.21.0 and 5.48.4
Steps to reproduce.

Open the editor add text in it.
Click on the end of any word and then click on the start of the next word.
Type anything, it will be added to wrong position.

Code Pen
https://codepen.io/ahtishamshahid/pen/pooLqeJ

I'm not able to reproduce this. Does it happen in the demos on the website?

I'm not able to reproduce this. Does it happen in the demos on the website?

Actually I was able to reproduce in a simple HTML template as well. Here is the content of the HTML file ( I can't attach the html so pasting the contents here.)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/codemirror@3.21.0/lib/codemirror.min.css"/>

<textarea  class="edit-box"  rows="4" cols="50"></textarea>
<textarea  class="edit-box2"  rows="4" cols="50"></textarea>

I'm not able to reproduce this. Does it happen in the demos on the website?

I am able to reproduce by writing a long line without hitting an enter. If you copy paste this line in the editor you will be able to reproduce the bug. Or any long line will do. I tried.
Ok this is a new line i am trying to write, but it seems like the line is going to be long enough that the curser will move to the new and we will be able to reproduce the bug.

Still no luck. Please be more precise. Which page did you paste the line into? What positions did you click before typing? Which browser are you using?

Still no luck. Please be more precise. Which page did you paste the line into? What positions did you click before typing? Which browser are you using?

Use Code Pen Link https://codepen.io/ahtishamshahid/pen/pooLqeJ to test.
You can click anywhere in the text as shown in the image given above (In reported issue).
I am using Chrome browser for testing.

I would like to add the problem is easier to replicate on Mac or Windows machine.

That demo is using an ancient version of CodeMirror. If I load the current version, the problem goes away.

macOS Catalina
Chrome Version 78.0.3904.70 (Official Build) (64-bit)

That demo is using an ancient version of CodeMirror. If I load the current version, the problem goes away.

Thanks for the info; Let me try that.

Several users of the edX content editing platform have been experiencing this issue as well, and their engineers traced the problem back to CodeMirror and referred us to watch this issue. It is definitely affecting a live version of your product.
I sent a note to them to provide you more information, as I am unclear how edX implements CodeMirror, but I can verify that many users worldwide are experiencing this problem and we have an internal discussion board with several reports.

authors: AhtishamShahid awaisdar001 enavarro gillsignals marijnh


text:
watch value not work properly

when i change the value on yaml-editor,watch doesnt always work unless i change my code to trigger recompiling.however, when i refresh the network. watch doesnt work again! also codemirror reported some errors like string is not a function.it obviesly shows that my struct is not proper.it contains some number.not all string.i just want to know why value only work when i change my code to trigger recompiling

code like this :https://github.com/zhamdoctor/test

two examples .comment aa was the problem.comment bb was my partner which works well

I don't know what yaml-editor is, but compiling is entirely outside of the scope of this library. This issue report does not contain enough information for us to do anything with it.

https://github.com/zhamdoctor/test    ,this is my test code,code with comment aa was mine,bb was my colleges.comment aa when i changed textarea value,watch didnt work well with  what i had changed.when i used console.log(this.value),the value was older than i had @.*** didnt listen anything .if only i change sth in yaml-editor triggering recompiling,watch workes fine pushing newest textarea value.but when i refresh the website and reopen the editor.watch doesnt work again
------------------ 原始邮件 ------------------
发件人: "Marijn @.>;
发送时间: 2021年12月8日(星期三) 下午3:05
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [codemirror/CodeMirror] watch value not work properly (Issue #6843)
I don't know what yaml-editor is, but compiling is entirely outside of the scope of this library. This issue report does not contain enough information for us to do anything with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

authors: marijnh zhamdoctor


text:
Mod-Shift-z to redo on Linux

On Linux Ctrl-Shift-Z is way more common that Ctr-Y to redo.
The best source I could find to support this claim is that Qt uses it by default for X11: https://github.com/qt/qtbase/blob/067b53864112c084587fa9a507eb4bde3d50a6e1/src/gui/kernel/qplatformtheme.cpp#L197

Is there any reason to not also keep ctrl-y bound? All of Chrome, Firefox, VS Code, and LibreOffice support that, and I definitely think users expect that binding.

Yeah it could have both too

Done in attached patch.

authors: marijnh mbasaglia

repo: codemirror/commands


text:
Create climbingStairs.cpp

provided the solution to this problem with explanation

Climbing stairs- leetcode


text:
CP013: Apply proposals for relative affinity and allocation.

Introduce the affinity_query class, with operators.
Add the execution_context::memory_resource() member function.
Change this_system::resource() to this_system::resources() and have it
return a vector of execution_resource instead.
Add requirements on this_system::resources().
Add capability to migrate memory and work between resources to list of
problem space challenges.
Add minor reformatting to proposed wording.

@mhoemmen thanks for the feedback.

@Ruyk thanks for the feedback.

repo: codeplaysoftware/standards-proposals


text:
Example1 always shows 1 or 0, even when output is {3,4,5,6}

In example1.c I changed output to:
const double output[4] = {3, 4, 5, 6};
Compiled and re-run example1 and I still see only 1 and 0 as a result.

Sigmoid activation, used by default, can return only values from 0 to 1.
You could try something like
const double output[4] = {0.3, 0.4, 0.5, 0.6};

to bring the training data in range, or you could change the output activation to genann_act_linear which will allow it to hit those higher values.

authors: codeplea dvhx

repo: codeplea/genann

license: Zlib


text:
Remove old log files

Currently you can infinitely accumulate logs (the ones produced by --log-dir).
Well, maybe not infinitely, if you restart your machine I guess it would reset the pid counter and overwrite old files, but still.
Probably easy enough to just delete everything older than n days?  Maybe we only do this if there are > n log files.

It occurred to me that maybe the cleanup logic should be in the cli since it is the one generating the files?

Closed with #322

authors: bcpeinhardt code-asher

repo: coder/vscode-coder


text:
zen_id を使って Zen の Dojo ID と coderdojo.jp の Dojo ID を紐付けたい

@nalabjp 「次のような感じで API を使えないかなー」といった相談が来たので Issue 化しましたが、 API 設計的にいかがですかね? もしコメントなどあれば伺えると嬉しいです...!! (＞人＜ )✨cc/ @chicaco

最寄りのCoderDojoを探す場合

引用元: CoderDojo検索Alexaスキルを作る（設計〜実装までの軌跡） - Qiita
Zen <-> coderdojo.jp 間で Dojo ID の紐付けができると、上記のようなマッシュアップができるようになるかも...? 🤔💭
🐣 参考ツイート

cf. https://twitter.com/wowsawa/status/1146254307450224645

これ、必要だろうな、と思っておりました。
やりたいことを拝見して、zen 側の ID で dojo を検索条件に指定したくなるだろう、と想定できたので。

zenのIDとJapanのIDの対応表なら作ってありますが、要ります?

おー！あると紐付け作業が捗りそうです...!! (＞人＜ )✨

Zenのデータがどの程度更新されているのか把握出来ていないんですが、
実態との乖離が無い若しくは少ないということなら問題は無さそうに思います。
実態との乖離がそれなりにある場合はそれを埋める必要があるのか、どうやって埋めるのかがちょっと気になりますね。

複数の zen_id を dojo の検索条件として指定して、指定された dojo のみの直近のイベント情報を返す、という I/F でよい感じでしょうか？
(ちょっと先走ってますか...)

実態との乖離

@nalabjp というと、具体的には、例えば「Zen または coderdojo.jp 内の Dojo ID が変わってしまう場合」というケースへの対処策、みたいな感じですかね? 🤔💭

個人的には yaml で対応するのは (主に対応している僕が) とても辛くなりそうだなーという感じで、少なくとも現状の体制のままであれば、あんまり運用の負担を上げたくないな、という気持ちはあります >< 💦

(タスクを僕から剥がして他の人に移譲していけば良い、というのはあるかなと思います。その場合は移譲してから、移譲後の対応速度や負担などを鑑みて再度検討したいなという気持ちです)

@yasulab
例えばの話ですが、主催が変わって開催場所(?)も違うところになったけどその情報をZenで更新するのを忘れた、とかですね。
どちらかの情報だけが更新されていて同期していない場合が気になる感じです。

主催が変わって開催場所(?)も違うところになったけどその情報をZenで更新するのを忘れた、とかですね。

@nalabjp なるほどなるほど。
下記の事例では Zen は現在地情報から探すときにしか使われず、coderdojo.jp 側もイベント情報しか保有して提供していない ( https://coderdojo.jp/events.json ) ため、開催場所を知るためには対応先の API (Doorkeeper API / connpass API など) も使う必要があるため大丈夫そうですが、coderdojo.jp 側で頑張って場所データのキャッシュなどまで持たせない方がいい、みたいな認識で合ってますかね? 🤔💭

@yasulab スプレッドシート「日本のCoderDojo（zen&Japan）」の「一覧(zen)」のA列B列にZenとJapanのIDを入れましたので、御自由に御利用いただけたらと、です。
https://docs.google.com/spreadsheets/d/17-M-qv5c0MdE_ZIFk566I2CGCIDHFkQwXWiunDXCGVw/edit#gid=354377216

@togazo ありがとうございます! まだ見通しは立ってないですが、紐付け作業をする際は活用させていただきますね 😉 ✨

@yasulab はいー。
紐付け作業だけは手作業なので新しいDojoの追加は数日タイムラグがあったりしますが、だいたい最新になっているかと、です。

@yasulab
更新されないのがどちらの情報かわからないので、情報の正確性をどれだけ担保できるかを気にしています。

coderdojo.jp 側で頑張って場所データのキャッシュなどまで持たせない方がいい、みたいな認識で合ってますかね?

Zenの情報が正とする仕様ならそういうことになるかと思います。
逆にZenが更新されておらずJapanと各イベントサービスだけが更新されていた場合は、
正確な情報にヒットできなくなることになるのかと。

coderdojo.jpがZenのデータに依存していて、coderdojo.jpでは情報を持たない状態になっているとそのあたりは気にしなくてもよくなりそうですよね。
それが良いかどうかという話は別であるのかもしれませんが。

あー、Zen や開催地情報はさておき、例えば次のケースはありえそう...? 👀 💭
データがズレる例

Doorkeeper で Dojo A のイベント情報 E を公開
coderdojo.jp で Dojo A のイベント情報 E を取得
Doorkeeper でイベント情報 E の開催日時が変更 (E')
Zen API から最寄りの Dojo 検索 (A がヒット) -> coderdojo.jp/events.json で絞り込み (Dojo A のイベント情報 E がヒット)
ヒットしたイベント情報 E は、最新のイベント情報 E' とは異なる

あー、Zen や開催地情報はさておき、例えば次のケースはありえそう...? 👀 💭
データがズレる例

Doorkeeper で Dojo A のイベント情報 E を公開
coderdojo.jp で Dojo A のイベント情報 E を取得
Doorkeeper でイベント情報 E の開催日時が変更 (E')
Zen API から最寄りの Dojo 検索 (A がヒット)
/events.json で絞り込み (Dojo A のイベント情報 E がヒット)
ヒットしたイベント情報 E は、最新のイベント情報 E' の開催日時とは異なるため、間違った開催日時が伝わってしまう

NOTE: /events.json には開催場所情報は含まれていないため (別途 Doorkeeper API などを叩く必要があるため)、間違った開催場所が伝わることはない

@chicaco 近日開催のイベント情報って、上記のような更新された場合って cron が実行された単位で更新されるんでしたっけ? それとも更新には対応していないんでしたっけ? 🤔💭

同じイベントページで日時が変更になる分には、日次の cron で更新しています！

同じイベントページ(＝イベントIDが変わらない)で日時が変更になる分には、日次の cron で更新しています！

@chicaco おー、いいですね! 😻 chicaco さん的には zen_id との紐付けについて、懸念点な実装案などはありますか? (運用コストを無視すると現実的ではなくなるので、運用コストも考慮した案が望ましいです 💭)

運用上は、既出ですが、新規 dojo 掲載依頼が来たときに zen_id をどう決めるか、という懸念点がありますね。単純に作業量が増えてしまうので。 🤔
yaml からの登録という現運用を拡張して、zen url も dojos T に登録し、API 経由で zen_id を取得して来る、というようなことができれば多少は救えそうですが...。
ちょっと試したところ Zen の API で、"POST /api/2.0/dojos/find" を使えばよさそうです。
今のところ、実装上の大きな懸念点はありません。

新規 dojo 掲載依頼が来たときに zen_id をどう決めるか、という懸念点がありますね。単純に作業量が増えてしまうので。 🤔

なるほど! コメントありがとうございます (＞人＜ )✨
少し遠回りにはなりますが、根本的には次の Issue に対応するのが良さそうですね 👀 💭
cf. CoderDojo Japan への掲載申請フォームを Rails で実装したい #42

少し遠回りにはなりますが、根本的には次の Issue に対応するのが良さそうですね 👀 💭
cf. CoderDojo Japan への掲載申請フォームを Rails で実装したい #42

同感です！ 👍

authors: chicaco nalabjp togazo yasulab


text:
workshop page for reykjavik, rm from Planned

adding workshop page for Reykjavik, removing it from Planned. Typeform link is correct (i.e. a new one)

I will confirm financing very soon but let's merge it already. Thanks!

authors: bast wikfeldt


text:
"Choosing the SSH executable" is not in Windows git installation steps

use bundled openssh worked

Upcoming PR will suggest bundled ssh option.

authors: MatiasJJ rkdarst

repo: coderefinery/installation


text:
Crash bug

JSON Parsing Error: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}

returnValue 为nil 会导致crash
异常情况求处理

好像看你解决了....
Pod 有更新没

刚刚更新了 0.9.6

authors: coderyi jackrex

repo: coderyi/NetworkEye


text:
chore(workspace): create license file

Add MIT license file to plugins

💯

authors: hakalb lundinmathias

repo: codeware-sthlm/nx-plugins


text:
🛑 Codext Rustdesk Public Server is down

In 7044ae1, Codext Rustdesk Public Server (88.99.224.152) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Codext Rustdesk Public Server is back up in 0624ed9 after 13 days, 4 hours, 46 minutes.

repo: codextde/uptime


text:
Write a JavaScript program to find power of a number by recursion

Description
Write a JavaScript program to find power of a number by recursion
Power of a number is calculated by multiplying the number by itself for the given number of times. For example, 2^3 = 2 * 2 * 2 = 8.
Power of a number can be calculated by recursion. The formula is:
x^n = x * x^{n-1}

Input  : 2 3
Output : 8

How to contribute

Save the solution in FindPowerOfANumberByRecursion.js file
Add FindPowerOfANumberByRecursion.js file in find-power-of-a-number-by-recursion folder

I would like to contribute in this

!assign

repo: codinasion/program


text:
Write a Dart program to find maximum of n numbers

Description
Write a Dart program to find maximum of n numbers
Input  : 10 20 30 40 50
Output : 50

How to contribute

Save the solution in find_maximum_of_n_numbers.dart file
Add find_maximum_of_n_numbers.dart file in find-maximum-of-n-numbers folder

!assign

Hey @Chirag8023,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)


text:
rust conversion of stars

@coding-horror @AnthonyMichaelTDM rust conversion for stars

Thank you!

@coding-horror can you check 82_stars someone committed something on rust which i already committed.
thank you.

repo: coding-horror/basic-computer-games

license: Unlicense


text:
HTML and SCSS tasks don't work

Hey! I was checking this out tonight. Cloned the repo. npm installed. ran node build.
here's the resulting public directory:
.
├── img
│   ├── dympl.svg
│   ├── favicon.ico
│   └── main-bg.jpg
└── js
    └── bundle.js

looks like the html and scss tasks aren't working. Any ideas?

I'm actually using these configs locally and realized this mistake but forgot to update the fix. I'm piping gulp-livereload improperly at the end of those tasks, it's working fine locally now so I'll update it here

just updated the repo, I've actually been using it all day. Please let me know if it works!! The problem was how I implemented livereload. If you're curious about what happened (just for reference)
// this doesn't work
t.build(t.src(), t.dest().pipe(livereload()))

// but if I declare t.dest() as a variable first, the problem goes away
var dest = t.dest();
dest.pipe(livereload())
t.build(t.src(), dest);

// This is my final implementation:

var dest = t.dest();
if (t.params.watch) {
  dest.pipe(livereload())
}
t.build(t.src(), dest);

I've been using this command all day: $ node build listen html scss bundle -w and I am BLOW AWAY by how fast it runs (livereload chrome extension is used). The reason I'm writing this down now (other than to learn from my own mistakes), is because similar patterns can easily enable you to add custom functionality (like dev vs. prod) based on conditional logic. So, what I'll actually be adding to my code locally tomorrow is this:
var browserify = require('browserify');
var collapse = require('bundle-collapser/plugin'); // minifies code
var uglify = require('gulp-uglify');
var b, bundle;
module.exports = function(t) {
  var dest = t.dest();
   if (!t.params.prod) {
     b = browserify({debug:true})
     bundle = b.bundle().on('err', console.log);
     dest.pipe(livereload());
     t.build(bundle, t.source('bundle.js'), dest);
  } else {
    b = browserify();
    b.transform('envify'); // npm install envify first
    b.plugin(collapse) // I don't remember if I need to call it like a function, I'll figure that one out tomorrow
    bundle = b.bundle().on('err',console.log)
                     .pipe(t.source('bundle.min.js'))
                     .pipe(t.buffer())
                     .pipe(uglify());
    t.build(bundle, dest)

   // I could also write t.build(b.bundle(), t.source('bundle.min.js'), t.buffer(), uglify(), dest);
}

Running $ node build bundle --prod will output an extremely minified bundle.min.js file. This approach is much cleaner than any implementation I've made in the past with gulp. But there's so much more we could like:

declaring file names as parameters in the command line eg: --bundle=main.js then writing b.add(t.params.bundle)
mixing in params with libs like gulp-if
optionally adding in debug or other options to libs like --debug=true -> browserify({debug: t.params.debug})

Thank you for taking the time to read and check this out!! I want this to be out there are used, and my only reference is myself for now. There is one golden pattern that I haven't experimented with to much, but it goes like this:
function(t) {
t.exec('browserify {entry}', t.params).pipe(t.source(t.params.name || 'bundle.js')).pipe(t.dest(t.params.dest || './public')
}

$ node build bundle --entry=src/js/main.js --dest=dev

I haven't tried this yet, but npm-execspawn should attempt to use local npm browserify first, no global install necessary. If this works, then there's no separation between unix pipes and gulp streams, it all coexists. It's basically calling browserify via cmd-line and then piping it into a gulp stream, which in some cases is more convenient than using the api.  I'll  turn this into a recipe if it works -- cheers!!

Cool, I'd love to see that example when it's fully baked. So far I have things set up the way I like. I'm going to try to add a browser-sync task and see how it goes. I'll report back!

authors: RnbWd VinSpee

repo: codingalchemy/chronic-seed


text:
🛑 server is down

In f427d74, server ($API_ENDPOINT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: server is back up in cf5eb80 after 7 minutes.


text:
🛑 Libremdb is down

In 553d5a9, Libremdb (https://libremdb0.herokuapp.com) was down:

HTTP code: 503
Response time: 317 ms

Resolved: Libremdb is back up in 117d0fc.

repo: coffeefargo/sitestatus


text:
Mail crashes on startup on darwin desktop

Describe the bug
crashes on startup for mail app.
How to reproduce
go run mail/cmd/mail/.
Example code
none

Relevant output

go version
go version go1.23.2 darwin/arm64

Platform: MacOS
System platform: MacOS
App version: dev
Core version: dev
Time: 2024-10-23 18:58:49

panic: reflect.Value.Addr of unaddressable value

goroutine 1 [running, locked to thread]:
runtime/debug.Stack()
	/opt/homebrew/opt/go/libexec/src/runtime/debug/stack.go:26 +0x64
cogentcore.org/core/system.HandleRecoverBase({0x1039ebbe0, 0x103bcdfd0})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/system/recover.go:50 +0x38
cogentcore.org/core/core.handleRecover({0x1039ebbe0, 0x103bcdfd0})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/recover.go:37 +0x4c
cogentcore.org/core/core.(*Stage).run.func1()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/stage.go:290 +0x34
panic({0x1039ebbe0?, 0x103bcdfd0?})
	/opt/homebrew/opt/go/libexec/src/runtime/panic.go:785 +0x124
reflect.Value.Addr({0x103a74680?, 0x1400020c300?, 0x14000051528?})
	/opt/homebrew/opt/go/libexec/src/reflect/value.go:268 +0x64
cogentcore.org/core/core.(*ListBase).MakeRow.func1()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/list.go:600 +0x28
cogentcore.org/core/core.(*ListBase).MakeRow.AddNew[...].func3()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:161 +0x24
cogentcore.org/core/tree.(*Plan).Update.func2({0x103a48a80?, 0x0?}, 0x140006885c0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:234 +0x40
cogentcore.org/core/base/plan.Update[...](0x14000321838, 0x4, 0x14000051988, 0x14000051978, 0x14000051958, 0x103bca800)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/base/plan/update.go:72 +0x72c
cogentcore.org/core/tree.(*Plan).Update(0x140004cabe0, {0x103be32e0, 0x14000321808})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:229 +0xec
cogentcore.org/core/tree.(*NodeBase).UpdateFromMake(0x14000321808)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:106 +0x50
cogentcore.org/core/core.(*WidgetBase).UpdateWidget.(*NodeBase).RunUpdaters.func1({0x14000400340, 0x1029dc510?, 0x103b24ca0?})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:115 +0x34
cogentcore.org/core/base/tiered.(*Tiered[...]).Do(0x1029d6cb0, 0x103bca3f0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/base/tiered/tiered.go:30 +0x5c
cogentcore.org/core/tree.(*NodeBase).RunUpdaters(...)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/plan.go:113
cogentcore.org/core/core.(*WidgetBase).UpdateWidget(0x14000321808)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/update.go:25 +0x50
cogentcore.org/core/core.(*WidgetBase).UpdateTree.func1({0x104441850?, 0x103ba0880?}, 0x14000051c20?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/update.go:33 +0x20
cogentcore.org/core/core.(*WidgetBase).UpdateTree.(*WidgetBase).WidgetWalkDown.func2({0x103be31a0, 0x14000321808})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/widget.go:467 +0xa8
cogentcore.org/core/tree.(*NodeBase).WalkDown(0x14000232888, 0x140002e74b0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/tree/nodebase.go:500 +0xf0
cogentcore.org/core/core.(*WidgetBase).WidgetWalkDown(...)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/widget.go:465
cogentcore.org/core/core.(*WidgetBase).UpdateTree(0x14000232888)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/update.go:32 +0x5c
cogentcore.org/core/core.(*Scene).updateScene(0x14000232888)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/render.go:235 +0x84
cogentcore.org/core/core.(*Stage).configMainStage(0x140002e28f0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/mainstage.go:191 +0x118
cogentcore.org/core/core.(*Stage).runWindow(0x140002e28f0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/mainstage.go:204 +0x11c
cogentcore.org/core/core.(*Stage).run(0x140002e28f0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/stage.go:293 +0x8c
cogentcore.org/core/core.(*Stage).Run(0x14000000000?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/stage.go:272 +0x8c
cogentcore.org/core/core.(*Body).RunWindow(0x1?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/mainstage.go:71 +0x60
cogentcore.org/core/core.(*Body).RunMainWindow(0x103a5f980?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/core@v0.3.3-0.20240902213628-48df10901467/core/mainstage.go:45 +0x38
main.main()
	/Users/apple/workspace/go/src/junk/cogent/mail/cmd/mail/mail.go:22 +0x2d0

Platform
macOS

Cogent Mail is not ready for end-user use right now due to some authentication and labeling issues, but it will be soon, which should fix this issue.

repo: cogentcore/cogent


text:
[DEVX-24] chore: semantic release

I've tested it here https://github.com/cognitedata/openapi-dto-generator/
Seems to work. But this is a different project, so something may fail
For this case I've added dryRun=true, so it won't do actual release
However it's not that hard to remove the release if something goes completely wrong.
So I am not sure if we need dry run here

:tada: This PR is included in version 2.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: cognitedata/cognitesdk-js


text:
does not compile with clang

...
In file included from /home/workspace/src/cslibs_math/cslibs_math/test/hausdorff.cpp:1:
In file included from /home/workspace/src/cslibs_math/cslibs_math/include/cslibs_math/linear/hausdorff.hpp:5:
/home/workspace/src/cslibs_math/cslibs_math/include/cslibs_math/statistics/distribution.hpp:28:27: error: constexpr variable 'sqrt_2_M_PI' must be initialized by a constant expression
static constexpr double sqrt_2_M_PI = std::sqrt(2 * M_PI);
...
The reason is that std::sqrt is not defined as constexpr according to C++ standard (gcc is too permissive here)

Hi @waldt,
I implemented a constexpr version of sqrt in cslibs_math::common::sqrt. Could you try again, please?
Cheers

authors: c-schulz waldt


text:
Benchmark DataFrame filtering

This adds a simple row-filtering benchmark

There were 2 regressions that worried me, terst_xgboost_distributed_training upstream and 0.1.0 but it went back to normal, or the accepted noise.
0.1.0

upstream

authors: jrbourbeau ncclementi

repo: coiled/coiled-runtime


text:
Destination Tag Support

Signed-off-by: Jingfu Wang jingfu.wang@coinbase.com
Motivation

This can enable rosetta validation (i.e. rosetta cli) support validation of rosetta implementation with destination tag technology
Solution

We need to broadcast transaction with destination tag then validate the destination tag from the on-chain transaction

We need to merge rosetta sdk PR firstly then rosetta cli CI tests will pass

repo: coinbase/rosetta-cli


text:
Bug[high]: Users may be blocked from adding owners.

Summary
A user may unintentionally get blocked from adding new owners.
Description
When adding an owner, the nextOwnerIndex is incremented.  However, when removing an owner, nextOwnerIndex remains the same.  Once 255 owners have been added, a user is unable to add owners because of the uint8 overflow within _addOwner().  This limitation will still exist even after owners have been removed, as nextOwnerIndex will still be 255.

Nevermind.  Looks like this was resolved with #9 .

Thanks @pegahcarter, this is documented behavior https://github.com/coinbase/smart-wallet/blob/main/src/MultiOwnable.sol#L6
https://github.com/coinbase/smart-wallet/blob/main/src/MultiOwnable.sol#L43-L51

authors: pegahcarter wilsoncusack

repo: coinbase/smart-wallet


text:
API doesn't seem correct

I noticed that the API seems slower on some of the info changing like connected miners from previous version I was running.  After all miners were stopped for over 60 minutes, the API still showed 1 connected miner.  I then restarted the pool server and it still shows 1 connected miner.  The clientconnectiontimeout is set at 600.  The pool hash rate and miner rate hasn't changed as well.  It almost looks like whatever process checks periodically to change this isn't functioning.  Is there anything I can check?

This has been fixed a couple releases ago by not including records older than 20 minutes in the API results.

repo: coinfoundry/miningcore


text:
[NOT AN ISSUE] How to convert this to a micropython module?

First of all, thanks for your code. It's been hard to find some code over the internet that can generate QR codes.
I'm new to micropython and I don't know how to turn this into a micropython module. Could you please update your README with that instructions or maybe give me some idea on how I can achieve that?
Thank you!

Hi athusrv,
use link below to understand how to add user c module right into micropython binary
https://docs.micropython.org/en/latest/develop/cmodules.html
After that clone this repo on your c module directory and add micropython.mk file inside mpy-qr folder with following content:
UQR_MOD_DIR := $(USERMOD_DIR) SRC_USERMOD += $(addprefix $(UQR_MOD_DIR)/, \ 	moduqr.c \ ) CFLAGS_USERMOD += -I$(UQR_MOD_DIR) -DMODULE_UQR_ENABLED=1
after that follow micropython docs to build and and flash custom build.
Note: you might get compilation error about re-declared variables. Just find those variables in code and replace them with something else.

I think the above still works, but just now I've pushed some changes that include a micropython.mk which is what you need to just "drop in" this code as a USER_C_MODULES of your mpy build.

Hi - I am getting an error - any clues on what I am doing wrong ?
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: /tmp/ccE9bnqF.ltrans1.ltrans.o: in function rendered_qr_del.lto_priv.585': /tmp/wasp-os/wasp/modules/mpy-qr/moduqr.c:272: undefined reference to free'
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: /tmp/ccE9bnqF.ltrans1.ltrans.o: in function rendered_qr_make_new.lto_priv.581': /tmp/wasp-os/wasp/modules/mpy-qr/moduqr.c:155: undefined reference to malloc'
Full build at - https://pastebin.pl/view/raw/a6a02df3
Trying to build as part of https://github.com/daniel-thompson/wasp-os.git

Confirmed it works with 1.13 source base.
But for 1.17 they changed those makefiles to Cmake. So I think it need some changes for that. If you know out-of-box how, it would be easier than again developing wheel.

Well it was not so hard...

Hi, I've tried to build this for stm32 and nrf port but I was getting same  undefined reference error as @bmsleight.
After digging a bit in micropython py/malloc.c it turns out that free and malloc are undefined and replaced by m_free and m_malloc. https://github.com/micropython/micropython/blob/8af9dbbde1fca07371aa13a8276c8e764edac28c/py/malloc.c#L56
So after replacing free and malloc both stm32 and nrf ports builds work. I've done a bit of testing and so far module uqr works great in both. I've not tried to build esp32 port with these changes but I expect it to work to. I will test it ASAP and confirm. 👍🏼
Here is the PR: #3

authors: Carglglz athusrv bmsleight peter-conalgo petrkr pkdhital

repo: coinkite/mpy-qr


text:
Cannot figure out how to use this plugin.

Hi all,
I'm trying to figure out how to use this plugin when doing the following command to mark videos as played:
yt-dlp --mark-watched --simulate --batch-file history.txt
It works with cookies parameter but only for a while, like a couple of hundreds of videos, but then it stops working. So I really want to use Oauth2 but I really can't get it to show me the autentication.
I've tried with the following:
yt-dlp --username oauth2 --password '' --mark-watched --simulate --batch-file history.txt
I only get:
WARNING: [youtube] Login with password is not supported for this website. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies

I solved it myself so here is how I did it on a Windows machine.

Installed ty-dlp (https://github.com/yt-dlp/yt-dlp) with PIP (https://github.com/yt-dlp/yt-dlp/wiki/Installation#with-pip). To get PIP working on Windows I followed this article
I then installed the plugin with PIP - python3 -m pip install -U https://github.com/coletdjnz/yt-dlp-youtube-oauth2/archive/refs/heads/master.zip
From Powershell, I went to the installation folder of yt-dlp (PIP) which was C:\Users%USERNAME%\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts
From here I saw that the plugin was loaded
I run my command and got the sign in text - yt-dlp --username oauth2 --password '' --mark-watched --simulate --batch-file history.txt
I followed instructions for the login and I finally got this working

Awesome plugin, big thanks!


text:
Comparison with https://github.com/ianstormtaylor/superstruct

I would like to know how this library compares to https://github.com/ianstormtaylor/superstruct.
Thanks!

Personally, I am new to superstruct and just played with it locally.
While the superstruct's API looks similar to zod, superstruct is also a little lighter (weight-wise).
However, there are two major issues with superstruct:

last reply from the author in issues was 25 days ago
StructType (utility fn to infer a type) is not working

@kasperpeulen
One big difference is superstruct's very functional API design vs Zod's more fluent/OOP API.
Beyond that, superstruct is missing these features:

object methods: (pick, omit, partial, deepPartial, merge, extend)
nonempty arrays with proper typing ([T, ...T[]])
lazy/recursive types
support for parsing cyclical data (maybe)
promise schemas
function schemas
error customization

Most of this is true for all alternative libraries actually — this is roughly the list of features that initially motivated my creation of Zod in the first place.
superstruct is a great lib and I think you can rely on @ianstormtaylor to maintain it well. If you prefer its functional approach, it's a good choice. Hope that helps.

Perhaps the above can be updated, superstruct docs mention pick, omit and partial though I dunno if the semantics are same. I didn't see deepPartial.

@dimaqq great find
@colinhacks would you mind to update your comparison to superstruct (you compared to all other libs in the readme).
since superstruct's bundle size is just a fitfth of zod's it would be great to know if we miss any crucial feature with superstruct. if not, then a decision might be very easy

Might be time to update this comparison.  Many features have been added in the past 2 years.

authors: 205g0 R-Bower dimaqq kasperpeulen o-alexandrov vriad

repo: colinhacks/zod


text:
package:windows fails

I'm submitting a ...
[ * ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
npm run package:windows fails with Exit status 4294967295

Please tell us about your environment:
i ran the latest source codes of angular-electron-dream-starter@7.0.0 without any changes

npm install -> npm build:prod -> npm run launch -> npm run packages:windows -> failed

Attached debug log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'package:windows' ]
2 info using npm@5.3.0
3 info using node@v8.5.0
4 verbose run-script [ 'prepackage:windows',
4 verbose run-script   'package:windows',
4 verbose run-script   'postpackage:windows' ]
5 info lifecycle angular-electron-dream-starter@7.0.0~prepackage:windows: angular-electron-dream-starter@7.0.0
6 info lifecycle angular-electron-dream-starter@7.0.0~package:windows: angular-electron-dream-starter@7.0.0
7 verbose lifecycle angular-electron-dream-starter@7.0.0~package:windows: unsafe-perm in lifecycle true
8 verbose lifecycle angular-electron-dream-starter@7.0.0~package:windows: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\lx\Downloads\angular-electron-dream-starter\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\WebEx\Productivity Tools;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\IVI Foundation\VISA\Win64\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\ktvisa;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\winnt\agvisa;C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v716\runtime\win32;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\WebEx\PTools020000000;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files\nodejs\;C:\Users\louislow\AppData\Local\Microsoft\WindowsApps;C:\Users\lx\AppData\Local\atom\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\lx\AppData\Roaming\npm
9 verbose lifecycle angular-electron-dream-starter@7.0.0~package:windows: CWD: C:\Users\lx\Downloads\angular-electron-dream-starter
10 silly lifecycle angular-electron-dream-starter@7.0.0~package:windows: Args: [ '/d /s /c', 'rimraf packages/win/* && build --win --x64' ]
11 silly lifecycle angular-electron-dream-starter@7.0.0~package:windows: Returned: code: 4294967295  signal: null
12 info lifecycle angular-electron-dream-starter@7.0.0~package:windows: Failed to exec package:windows script
13 verbose stack Error: angular-electron-dream-starter@7.0.0 package:windows: `rimraf packages/win/* && build --win --x64`
13 verbose stack Exit status 4294967295
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:289:16)
13 verbose stack     at emitTwo (events.js:125:13)
13 verbose stack     at EventEmitter.emit (events.js:213:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
13 verbose stack     at emitTwo (events.js:125:13)
13 verbose stack     at ChildProcess.emit (events.js:213:7)
13 verbose stack     at maybeClose (internal/child_process.js:927:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid angular-electron-dream-starter@7.0.0
15 verbose cwd C:\Users\lx\Downloads\angular-electron-dream-starter
16 verbose Windows_NT 10.0.14393
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "package:windows"
18 verbose node v8.5.0
19 verbose npm  v5.3.0
20 error code ELIFECYCLE
21 error errno 4294967295
22 error angular-electron-dream-starter@7.0.0 package:windows: `rimraf packages/win/* && build --win --x64`
22 error Exit status 4294967295
23 error Failed at the angular-electron-dream-starter@7.0.0 package:windows script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 4294967295, true ]

OK, I'll try cloning on my Windows machine to see if this happens to me. It looks like it may be an issue with rimraf, which I've had trouble with on Windows before. Try running build --win --x64 without the previous rimraf and let me know if it works.

Thanks for your reply. Attached is the error log for build --win --x64
C:\Users\desk\Downloads\angular-electron-dream-starter>set DEBUG=electron-builder

C:\Users\desk\Downloads\angular-electron-dream-starter>npm run package:windows

> angular-electron-dream-starter@7.0.0 package:windows C:\Users\desk\Downloads\angular-electron-dream-starter
> build --win --x64

electron-builder 19.31.1
  electron-builder Effective config:
  electron-builder appId: com.electron.angular-electron-dream-starter
  electron-builder directories:
  electron-builder   buildResources: src/resources
  electron-builder   output: packages
  electron-builder   app: dist
  electron-builder mac:
  electron-builder   category: public.app-category.graphics-design
  electron-builder   target:
  electron-builder     - dmg
  electron-builder linux:
  electron-builder   target:
  electron-builder     - AppImage
  electron-builder     - snap
  electron-builder asar: true
  electron-builder  +0ms
  electron-builder Two package.json structure is used (dev: C:\Users\desk\Downloads\angular-electron-dream-starter\package.json, app: C:\Users\desk\Downloads\angular-electron-dream-starter\dist\package.json) +693ms
No native production dependencies
Packaging for win32 x64 using electron 1.7.8 to packages\win-unpacked
  electron-builder Spawning C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\7zip-bin-win\x64\7za.exe x -bd C:\Users\desk\AppData\Local\electron\Cache\electron-v1.7.8-win32-x64.zip -aoa -oC:\Users\desk\Downloads\angular-electron-dream-starter\packages\win-unpacked +997ms

7-Zip (a) 17.01 beta (x64) : Copyright (c) 1999-2017 Igor Pavlov : 2017-08-28

Scanning the drive for archives:
1 file, 53893838 bytes (52 MiB)

Extracting archive: C:\Users\desk\AppData\Local\electron\Cache\electron-v1.7.8-win32-x64.zip
--
Path = C:\Users\desk\AppData\Local\electron\Cache\electron-v1.7.8-win32-x64.zip
Type = zip
Physical Size = 53893838

Everything is Ok

Files: 117
Size:       138386632
Compressed: 53893838
  electron-builder 7za.exe (17340) exited with exit code 0 +2s
  electron-builder node_modules\7zip\7zip-lite\7-zip.dll is not packed into asar archive - contains executable code +2s
  electron-builder Executing C:\Users\desk\AppData\Local\electron-builder\cache\winCodeSign\winCodeSign-1.9.0\rcedit.exe C:\Users\desk\Downloads\angular-electron-dream-starter\packages\win-unpacked\Angular Electron Dream Starter.exe --set-version-string FileDescription Angular Electron Dream Starter --set-version-string ProductName Angular Electron Dream Starter --set-version-string LegalCopyright Copyright © 2017 Colin Skow --set-file-version 7.0.0 --set-product-version 7.0.0.0 --set-version-string InternalName Angular Electron Dream Starter --set-version-string OriginalFilename  --set-version-string CompanyName Colin Skow --set-icon C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources\icon.ico +2s
wine&sign: 0s 871ms
Building nsis installer (x64)
  electron-builder Spawning C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\7zip-bin-win\x64\7za.exe a -bd -mx=9 -mtc=off -mtm=off -mta=off C:\Users\desk\Downloads\angular-electron-dream-starter\packages\angular-electron-dream-starter-7.0.0-x64.nsis.7z . +875ms
  electron-builder cwd: C:\Users\desk\Downloads\angular-electron-dream-starter\packages\win-unpacked +0ms
  electron-builder 7za.exe (10848) exited with exit code 0 +48s
nsis package, x64: 48s 58ms
  electron-builder Spawning C:\Users\desk\AppData\Local\electron-builder\cache\nsis\nsis-3.0.2.1\Bin\makensis.exe -WX -DAPP_ID=com.electron.angular-electron-dream-starter -DAPP_GUID=048e184b-f508-5554-89f6-b0956f1e25e5 -DPRODUCT_NAME=Angular Electron Dream Starter -DPRODUCT_FILENAME=Angular Electron Dream Starter -DAPP_FILENAME=angular-electron-dream-starter -DAPP_DESCRIPTION=An Angular 2 Electron Starter kit featuring Webpack, Angular 2 (Router, Http, Forms, Services, ngrx, Tests, E2E, Coverage), Karma, Protractor, Jasmine, Istanbul, and TypeScript -DVERSION=7.0.0 -DPROJECT_DIR=C:\Users\desk\Downloads\angular-electron-dream-starter -DBUILD_RESOURCES_DIR=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources -DCOMPANY_NAME=Colin Skow -DAPP_PRODUCT_FILENAME=Angular Electron Dream Starter -DMUI_ICON=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources\icon.ico -DMUI_UNICON=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources\icon.ico -DAPP_64=C:\Users\desk\Downloads\angular-electron-dream-starter\packages\angular-electron-dream-starter-7.0.0-x64.nsis.7z -DAPP_64_NAME=angular-electron-dream-starter-7.0.0-x64.nsis.7z -DAPP_64_HASH=58720A65E66F2EEDA88F91D00F5E52266657C46B4AA7A34AE5237597238496520DDB4D15D912BFF16C773B54C0AAC1E5445D67933DF5BE0C962E5596A2ECC493 -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Angular Electron Dream Starter -DUNINSTALL_DISPLAY_NAME=Angular Electron Dream Starter 7.0.0 -DCOMPRESS=auto -DBUILD_UNINSTALLER -DUNINSTALLER_OUT_FILE=C:\Users\desk\AppData\Local\Temp\temp-files-6h01yk\1-uninstaller.exe -XOutFile "C:\Users\desk\Downloads\angular-electron-dream-starter\packages\Angular Electron Dream Starter Setup 7.0.0.exe" -XVIProductVersion 7.0.0.0 -XVIAddVersionKey /LANG=1033 ProductName "Angular Electron Dream Starter" -XVIAddVersionKey /LANG=1033 ProductVersion "7.0.0" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2017 Colin Skow" -XVIAddVersionKey /LANG=1033 FileDescription "An Angular 2 Electron Starter kit featuring Webpack, Angular 2 (Router, Http, Forms, Services, ngrx, Tests, E2E, Coverage), Karma, Protractor, Jasmine, Istanbul, and TypeScript" -XVIAddVersionKey /LANG=1033 FileVersion "7.0.0" -XVIAddVersionKey /LANG=1033 CompanyName "Colin Skow" -XUnicode true -XSetCompressor lzma - +330ms
  electron-builder cwd: C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\electron-builder\templates\nsis +15ms
  electron-builder makensis.exe (8580) exited with exit code 0 +1s
  electron-builder Executing C:\Users\desk\Downloads\angular-electron-dream-starter\packages\Angular Electron Dream Starter Setup 7.0.0.exe  +15ms
  electron-builder Spawning C:\Users\desk\AppData\Local\electron-builder\cache\nsis\nsis-3.0.2.1\Bin\makensis.exe -WX -DAPP_ID=com.electron.angular-electron-dream-starter -DAPP_GUID=048e184b-f508-5554-89f6-b0956f1e25e5 -DPRODUCT_NAME=Angular Electron Dream Starter -DPRODUCT_FILENAME=Angular Electron Dream Starter -DAPP_FILENAME=angular-electron-dream-starter -DAPP_DESCRIPTION=An Angular 2 Electron Starter kit featuring Webpack, Angular 2 (Router, Http, Forms, Services, ngrx, Tests, E2E, Coverage), Karma, Protractor, Jasmine, Istanbul, and TypeScript -DVERSION=7.0.0 -DPROJECT_DIR=C:\Users\desk\Downloads\angular-electron-dream-starter -DBUILD_RESOURCES_DIR=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources -DCOMPANY_NAME=Colin Skow -DAPP_PRODUCT_FILENAME=Angular Electron Dream Starter -DMUI_ICON=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources\icon.ico -DMUI_UNICON=C:\Users\desk\Downloads\angular-electron-dream-starter\src\resources\icon.ico -DAPP_64=C:\Users\desk\Downloads\angular-electron-dream-starter\packages\angular-electron-dream-starter-7.0.0-x64.nsis.7z -DAPP_64_NAME=angular-electron-dream-starter-7.0.0-x64.nsis.7z -DAPP_64_HASH=58720A65E66F2EEDA88F91D00F5E52266657C46B4AA7A34AE5237597238496520DDB4D15D912BFF16C773B54C0AAC1E5445D67933DF5BE0C962E5596A2ECC493 -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Angular Electron Dream Starter -DUNINSTALL_DISPLAY_NAME=Angular Electron Dream Starter 7.0.0 -DCOMPRESS=auto -DUNINSTALLER_OUT_FILE=C:\Users\desk\AppData\Local\Temp\temp-files-6h01yk\1-uninstaller.exe -XOutFile "C:\Users\desk\Downloads\angular-electron-dream-starter\packages\Angular Electron Dream Starter Setup 7.0.0.exe" -XVIProductVersion 7.0.0.0 -XVIAddVersionKey /LANG=1033 ProductName "Angular Electron Dream Starter" -XVIAddVersionKey /LANG=1033 ProductVersion "7.0.0" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2017 Colin Skow" -XVIAddVersionKey /LANG=1033 FileDescription "An Angular 2 Electron Starter kit featuring Webpack, Angular 2 (Router, Http, Forms, Services, ngrx, Tests, E2E, Coverage), Karma, Protractor, Jasmine, Istanbul, and TypeScript" -XVIAddVersionKey /LANG=1033 FileVersion "7.0.0" -XVIAddVersionKey /LANG=1033 CompanyName "Colin Skow" -XUnicode true -XSetCompressor lzma - +672ms
  electron-builder cwd: C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\electron-builder\templates\nsis +16ms
  electron-builder Async task error: Error: C:\Users\desk\AppData\Local\electron-builder\cache\nsis\nsis-3.0.2.1\Bin\makensis.exe exited with code 1
  electron-builder Error output:
  electron-builder Can't open output file
  electron-builder Error - aborting creation process
  electron-builder
  electron-builder     at ChildProcess.childProcess.once.code (C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\builder-util\src\util.ts:200:14)
  electron-builder     at Object.onceWrapper (events.js:318:30)
  electron-builder     at emitTwo (events.js:125:13)
  electron-builder     at ChildProcess.emit (events.js:213:7)
  electron-builder     at maybeClose (internal/child_process.js:927:16)
  electron-builder     at Socket.stream.socket.on (internal/child_process.js:348:11)
  electron-builder     at emitOne (events.js:115:13)
  electron-builder     at Socket.emit (events.js:210:7)
  electron-builder     at Pipe._handle.close [as _onclose] (net.js:545:12) +1s
Error: C:\Users\desk\AppData\Local\electron-builder\cache\nsis\nsis-3.0.2.1\Bin\makensis.exe exited with code 1
Error output:
Can't open output file
Error - aborting creation process

    at ChildProcess.childProcess.once.code (C:\Users\desk\Downloads\angular-electron-dream-starter\node_modules\builder-util\src\util.ts:200:14)
    at Object.onceWrapper (events.js:318:30)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Socket.stream.socket.on (internal/child_process.js:348:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:545:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 4294967295
npm ERR! angular-electron-dream-starter@7.0.0 package:windows: `build --win --x64`
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the angular-electron-dream-starter@7.0.0 package:windows script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I just tried exactly what you did. Windows 10, Node 6.10. Fresh clone of repo. It worked just fine for me.
"Can't open output file" appears to be some sort of permission error on your file system. Perhaps try with Node 6 and see if that helps? Also make sure the packages folder is clean before you start. Instead of "pakcages/win" it looks like the new directory is "win-unpacked."

just a side note, i find rimraf much more convenient and have installed it globally with proper permissions making it available in my windows path environment variable and i am not experiencing this on windows 10 x64 enterprise

Hi all, I actually had this problem on and off every time and most of the time it worked after 5-10tries of fails. I changed "pakcages/win" to "win-unpacked" in "package:windows": "rimraf packages/win/* && build --win --x64" to "package:windows": "rimraf packages/win-unpacked/* && build --win --x64" and delete packages, dist folder and build:prod , package:windows with no success result.
I will try Node 6.10 later. I am currently using node version is v8.5.0
@Kaffiend Hi, mind guiding me the install globally and your proper permissions?

@celestale sure its simple.
npm i -g rimraf
any powershell or windows cmd instances you have open close them and reopen, node by default should add a global flagged install to path. But you may need to run CMD or Powershell as Administrator when you run the install command.

@Kaffiend Hi, great explanation! I have installed it globally and follow your SETX instructions and ran the package:windows again with no success.
Can I know if your package.json contains the same script "package:windows": "rimraf packages/win/* && build --win --x64". Because colin said that it should be win-unpacked instead of packages/win. I am confused.
I also tried manually deleting the package folder before i ran package:windows.

@colinskow tried with node 6 and was unable to do npm start
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! angular-electron-dream-starter@7.0.0 start: `npm run clean:dev && npm run prep:dev && node ./config/electron-dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-electron-dream-starter@7.0.0 start script 'npm run clean:dev && npm run prep:dev && node ./config/electron-dev'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-electron-dream-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run clean:dev && npm run prep:dev && node ./config/electron-dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-electron-dream-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-electron-dream-starter
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\desk\Downloads\angular-electron-dream-starter\npm-debug.log

All I can tell you is that it is working on both my Mac and Windows desktop. Did you do npm run clean and npm install again after changing the Node version? Native dependency builds are not compatible across Node versions.
At this point this is an issue to file with Electron Builder. This repo is working as expected. You are having problems with a dependency.

Alright thanks for your help! Cheers @colinskow

Hi Colin,
First off. Great job man, thanks so much for creating this!!!
Had same issue as @celestale on a surface pro 3 up-to-date. Stopped after first failure on package creation, then tried dev/prod/aot builds same failure basically.
Tried your suggestion to npm clean and reinstall. This fixed everything: builds, packages, tests, etc.

Fix found in builder-util:
It turned out that node_modules\builder-util do not contain the folder src. Instead it contains folder out.

Quoted from Error: node_modules\builder-util\src\util.ts:200:14.

It is trying to access src folder.
Currently, I manually created the src folder and I was able to run package:windows with no problem. But what is the right way to fix this?

Definitely file that bug directly with electron-builder.

authors: Kaffiend celestale colinskow rdafoe


text:
Split Pregnancy#people_in_household into children and adults

@NerdyGirl537 and @lwaldsc flagged that there isn't a DCAF standard way to represent people in household. One of them (I forget which, sorry) tends to punch in a number, the other tends to split out between adults and children.
I think generally this is used mostly to guesstimate federal poverty level percentage, which is a determining factor in whether or not they're eligible for funding from other organizations we collaborate with.
For now we should plan on representing via dropdown in our push to MVP. Longer term we may want to discuss whether or not this works for us, whether we should just have it as a string, whether we should split adults and children separate, etc. The person we should get this guidance from are the DCAF CM Directors.

For now lets use numbers 1-10 in a dropdown.

Emailing the CM Directors on this matter tonight.

The consensus from the CM team is that this field is generally used to get a sense of whether or not they qualify for additional funding based on their FPL, so we'll want to break this out into adults/children in household. Extended comments below:
From Meghan:
The biggest thing I think we use this field for is both to get an idea of whether they'll likely qualify for NAF, and to just get context for their circumstances. I think it's most useful when it includes info about adults/children, and isn't just a single number, and I'd think that having it as potentially 2 fields/menus, for number of adults and number of children, would probably be most useful. I'm also thinking about usefulness for data down the line, and having it broken down so we can identify folks who live in households with x number of children or something similar would likely be useful.
So, I'd lean towards nudging folks to collect both adults and children numbers, since that gives a richer picture.

In short, let's go ahead with splitting this into two. Action item here is to:

Split Pregnancy#household_size into household_size_children and household_size_adults
Alter the view in app/views/pregnancies/_patient_information accordingly

We should also be explicit about how this includes the caller/patient, per the duplicate issue #531 .

Going to rip this out this morning!


text:
QA: Build list of QA scenarios

Before we release the system, we should QA a series of scenarios that we're anticipating that @lwaldsc will need starting on 7/11. Let's use this issue to build the list and affirm that they are working.

This is an A+++ flag. We can (and should!) write integration tests for these as well to match, so we don't backslide.

We've been incrementally plugging away at these so far as integration tests. Here's what we have so far:

Main page loads

Authorization:
** Logging in successfully
** Logging in unsuccessfully
** Signing out

Dashboard link should display / hide at appropriate times

Logging calls
** Modal pops up and has proper information
** Clicking 'I reached the patient' behaves appropriately
** Clicking 'Left voicemail / couldn't reach patient' behaves appropriately

Creating new patients

Creating new notes

Resetting password

Using search function
** Retrieves record if exists
** Displays new patient if doesn't exist

Hides DCAF info if you aren't logged in

Sign up form works

Updating patient information

Updating user information

We still definitely need to add tests for:

pledge sending,
calls completed section
using the audit trail,
call list population,
persistence of call list behavior,
switching between tabs on pregnancy edit view.

That's what we have open issues to write. I've been fairly good about creating issues to test features but I wouldn't be terribly surprised if I've missed a few.

@eheintzelman essentially created some great QA tasks in her Usability Test issue #405.

I think we can close this out via #405.

authors: colinxfleming mebates


text:
Improvements to notes section in patient edit view

There are a few user feedback items pertaining to the notes partial as follows:

Would be nice to be able to email a user from their notes -- e.g. if not system, link to a mailto of their email
Notes metadata should not be styled as a table -- we can just have them next to each other in a header. Something like User.name on YYYY-MM-DD TIMESTAMP should work nicely.

Stems from #593

@colinxfleming Is this how you'd like the metadata to look?

Hey @AlexandraCasser ! I would do the metadata like this:
Username    MM/DD/YYYY, 00:00 pm

@mebates  duh, that's what you said before ;)  Thanks.  I'm happy to take this.  Where on the page should the email go?

You can make the username a mailto: link

@mebates Is there an example of how to grab the user email on one of these pages?

@AlexandraCasser looks like we don't have that currently implemented (it's just rendering name), so I'd say let's skip it. (Sorry for remixing directions!)
But if it ever comes up again, you can use rails' mail_to helper (similar to link_to)! http://apidock.com/rails/ActionView/Helpers/UrlHelper/mail_to

@colinxfleming Thanks, I thought that was the case but wanted to make sure I wasn't missing anything.

Just for reference, I think in the interest of obscuring user emails I think we can skip the request to toss in mailto links unless we get more requests. I'm not sure it gets us anything new for the CMs now that we have individual names associated with calls and notes.
e.g. the current implementation as @AlexandraCasser has it in #827 is good.

authors: AlexandraCasser colinxfleming mebates


text:
ACL

[ ] 1.	Users should have access to the Menus according to their access.

[ ] 2.	Data Isolation

[ ] 3.	In Users > Create; Change the position of Role and Module.

[ ] 4.	 Roles will be suggested according to the selection of Module.

[x] 5. In Menu > List, Hide Delete Icon.

[x] 6.	Hide the Create Submenu from Menu Module.

[x] 7.	In Menu > List; Link columns texts should be disabled.

[x] 8.	In Menu > List; Hidden Column is not required.

[x] 9.	In Menu > List; Menu Title, Sort Order, Active icon should be only editable others should be fixed, non-editable.

[ ] 10.	In Menu > Manage, Module, menu permission field name, or check box is not needed. Change it into Arrow Icon.

[ ] 11.	A Captcha should be available in the login page. It should be similar like the PMIS.

[ ] 12.	If User selects the Remember ME option then the session will be remembered for 1 day.

[ ] 13.	In case of Forget Password, the flow will be like; User Name > Email > Click on the Link > Reset Password.

[ ] 14.	User Mapping, One user can be assigned to multiple modules and roles can be selected according to them.

[ ] 15.	In case of Session Out, a session out message should be provided for the users.

[ ]

In Menu > Manage, Module, menu permission field name, or check box is not needed. Change it into Arrow Icon. Solved in different way. Did not  add arrow but  menu permission and Check box is removed from the list

In Users >List ; Role for O&M is not showing the correct role.

O&M_USER is actually O&M_USER .... Since it contains special character, so it is encoded by the library used for drop down. It can't fixed.
I have a recommendation of not using the special characters.

Point no 13 -> In case of Forget Password, the flow will be like; User Name > Email > Click on the Link > Reset Password.
We don't need to show email here. By asking a user to prove the email is not safe for security purpose and also it includes one more check. It will be good to ask username from user to identification.

Path: Menu bar
** Issue: ** Arrows should be in outward corner.

Issue no-7 : In Menu > List ; Link columns texts should be disabled.
**Reference : **

Users should have access to the Menus according to their access.- Fixed
Data isolation fixed.
In Users > Create; Change the position of Role and Module.  Fixed
4.Roles will be suggested according to the selection of Module.   Fixed
In Menu > List, Hide Delete Icon.  Fixed
Hide the Create Submenu from Menu Module.  Fixed
In Menu > List; Hidden Column is not required.  Fixed
In Menu > List; Menu Title, Sort Order, Active icon should be only editable others should be fixed, non-editable. < Only ID and Link option is fixed others are editable.> - Not Fixed
In Menu > Manage, Module, menu permission field name, or check box is not needed. Change it into Arrow Icon. Fixed
A Captcha should be available in the login page. It should be similar like the PMIS.

User Mapping, One user can be assigned to multiple modules and roles can be selected according to them.- Fixed

In case of Session Out, a session out message should be provided for the users.

In case of Forget Password, the flow will be like; User Name > Email > Click on the Link > Reset Password.  Does not recognize User ID

authors: collecteddoc jaglans samiranahar18

repo: collecteddoc/Legal


text:
Lost connection to MySQL server during query

When my application throws an exception and I try to access an endpoint again, it returns the error "(2013, 'Lost connection to MySQL server during query ([Errno 104] Connection reset by peer)')".
It is as if it were not connected to the database or as if it did not refresh. Using SQLAlchemist I edited the parameters "pool_timeout=60, pool_recycle=280, pool_size=20, max_overflow=50" when I call create_engine, but in ORMAR I don't know how to do it.
Any idea how to do it?
Thanks!

Hi, ormar is using databses to run the queries so connection options go into databases instance you define and pass to models https://www.encode.io/databases/connections_and_transactions/#connection-options

repo: collerek/ormar


text:
Allow upserting rows with existing_pk even if they do not exist.

Fix for #885
Added force_save param to upsert that always saves the model.
Checks if a row with the given pk exists and save/update accordingly (so always two queries are executed).
Change the default behavior of save_related to use __force_save__.

Codecov Report

Merging #889 (11cddf5) into master (92ef159) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff            @@
##            master      #889   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          188       190    +2
  Lines        16036     16133   +97
=========================================
+ Hits         16036     16133   +97

Impacted Files
Coverage Δ

ormar/models/mixins/save_mixin.py
100.00% <100.00%> (ø)

ormar/models/model.py
100.00% <100.00%> (ø)

tests/test_model_methods/test_save_related_uuid.py
100.00% <100.00%> (ø)

tests/test_model_methods/test_upsert.py
100.00% <100.00%> (ø)

authors: codecov-commenter collerek


text:
A few issues with adding and plotting new columns

Hello Columnflow developers,
Following the conversations in issues #291  and #294 , the skeleton analysis framework seems to be working fine. Nevertheless, there are certain challenges I've encountered that may not be attributed to framework issues. So, I am not certain whether this is the appropriate platform for addressing those issues. However, I have outlined several points below

Is it possible to add some new columns in any selector module and then use those in a producer? From my understanding based on the HHbbWW and Topmass analyses, it is possible. However, in my skeleton analysis, I added a new column channel_id in my lepton-selector module. Unfortunately, I encountered difficulties in using it in a producer module. It showed that the column was not found. I defined a new category based on the same and I noticed similar error.
Is it possible to plot any new column saved in the selection step? I tried to add a variable m_ll (invariant mass of two leptons) in the lepton selection module, but the column was not found at the plotting stage. It also showed some error like awkward._errors.FieldNotFoundError: no field 'm_ll' in record with 4 fields. This error occurred while attempting to slice <Array [{category_ids: [...], ...}, ...] type='74929 * {category_ids: v...'> with 'm_ll'.
In the main analysis config, I think it is mandatory to mention the name of the columns that one wants to perform their analysis with. But, I was a bit confused why several columns were mentioned in two dictionaries: cf.ReduceEvents and  cf.MergeSelectionMasks!!
Is there any particular order that the columnflow modules do follow? It appears that I can call a producer in a selector if I want to make some selection based on any custom-made variable. Likewise, if I am not wrong, it also seems possible to call a producer within a calibrator module!!
Is it possible to use the selection result further in other producer modules? To give a specific example, let’s say I save lepton pairs as auxiliary in the selection results, and after that, can I use that in a subsequent producer to create additional columns containing dilepton-features?

I want to emphasize that these doubts may arise due to potential gaps in my fundamental understanding of the ColumnFlow framework. However, it would be extremely helpful if you could provide any insights or clarification on the points I've raised above.
Thank you very much.
Gourab
[* Working directory: https://github.com/gsaha009/HCPToTauTau/tree/DYdev]

Hey @gsaha009,are you listing the columns you want to plot in the keep_columns dictionary (e.g. here)?
In that dictionary, there are multiple keys, to allow you to decide whether you want to use a column as part of some cutflow studies (after the cf.MergeSelectionMasks task) or if you want to keep these columns after applying your event selections (after cf.ReduceEvents). That means if you want to create a plot with the cf.PlotCutflowVariables1D task, your variable needs to be listed under the cf.MergeSelectionMasks key. And if you need the variable after your event selection, it needs to be listed under the cf.ReduceEvents key.
Regarding you 4th question, the full task graph can be found here: https://github.com/columnflow/columnflow/wiki
We directly call a Calibrator in cf.CalibrateEvents, a Selector in cf.SelectEvents and a Producer in cf.ProduceColumns. But these functions are modular, which allows you to call a Producer as part of another CSP (Calibrator/Selector/Producer).
Regarding your final questions, here is an example, where I'm doing what you're asking for: hbw/selection/cutflow_features.py
This is a Producer which I'm calling as part of my event selection to produce some simple cutflow features. This, however, only works when calling the Producer inside the Selector.
After the cf.SelectEvents task, we only use the SelectionResult steps and objects to apply our events and object definition. The auxiliary part of the SelectionResult is specifically thought as a way to store columns during the event selection which you do not intent to store afterwards.
I hope I answered all of your questions. Feel free to ask again if anything is left unclear.
Cheers,
Mathis

Hi @mafrahm
Thanks a lot for this detailed response. Yes, it contains all the explanations I was looking for.
:) :)

Hey @gsaha009, at the moment, the events arrays can only be stored as parquet files. There is only the union task, which merges columns from ReduceEvents, ProduceColumns and MLEvaluation, but outputs are again only stored as parquet files. It might be a good idea to generalize this task to allow different output formats.

Hi @mafrahm
Thanks a lot for all the answers :)

repo: columnflow/columnflow


text:
Release nightly builds instead of every push

To avoid publishing every main-branch commit, we could instead just release nightly builds. Thus lastest main branch stays consumable after, but on day with more than one merge, we avoid to have too many releases. If there was no new commit, no new release is necessary.

We now only release tagged commits and manual builds for selected branches (currently main and 0.10.x).

repo: com-lihaoyi/mill


text:
Alt cover search

Found this while working on the DB. I was using "The Uncanny x-men 510" as my test filename.
comicvinetalker:780
if url_list is not None:

An empty list is always not None. https://towardsdatascience.com/python-the-boolean-confusion-f7fc5288f0ce
if url_list:

It does equal False though. I did notice sometimes it would stick with the searching message but I don't know if that was some oddity due to debugging.

Because things are complicated it ends up calling this which has a length check so still shouldn't do anything.
The function call right above on line 779 used to be able to return null so that's why it's still there.
https://github.com/comictagger/comictagger/blob/68efcc74fbc192395125d98a194451908b8153ec/comictaggerlib/coverimagewidget.py#L217-L221

authors: lordwelch mizaki

repo: comictagger/comictagger


text:
Add missing several missing Camry firmwares

@oxigen#0649 2019 Toyota Camry ICE  DongleID/route 04b2f59611cf9e7f|2021-05-18--11-11-17

Sounds like this list needs to be updated too: https://github.com/commaai/openpilot/blob/master/selfdrive/car/fw_versions.py#L212

repo: commaai/openpilot