added more spam website links

Fixes #7
Added more spam comment links
Videos about these links:
https://www.youtube.com/watch?v=jK53K3-uqlE
https://www.youtube.com/watch?v=lX_sFp8Tirw
https://www.youtube.com/watch?v=R44kmRca7NI
https://www.youtube.com/watch?v=oGXD4PCWigk
https://www.youtube.com/watch?v=sMnhzXYgbhA&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=12
https://www.youtube.com/watch?v=eUNHrAFDZ4Y&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=13
https://www.youtube.com/watch?v=KJyH8Bv-EMk&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=17
https://www.youtube.com/watch?v=kKsjeu93Uz0&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=19
https://www.youtube.com/watch?v=acBzD72FL8Y&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=21
https://www.youtube.com/watch?v=O7moAGQ-hbY&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=26
https://www.youtube.com/watch?v=E6rvVYT2-H4&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=30
https://www.youtube.com/watch?v=-MhpcKuPrQQ&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=31
https://www.youtube.com/watch?v=sacpHK4CEvU&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=32
https://www.youtube.com/watch?v=7BcqF2H3QP0&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=34
https://www.youtube.com/watch?v=_3_DfFjI1ZE&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=33
https://www.youtube.com/watch?v=YmDE84jrIE8&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=42
https://www.youtube.com/watch?v=1vk6UVwEfos&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=43
https://www.youtube.com/watch?v=u8gbvjATYNw&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=46
https://www.youtube.com/watch?v=Ib5NCJ5orfU&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=49
https://www.youtube.com/watch?v=gkyBwUWllPE&list=PLVweYrtUjXmvtX3Np21Aem3Qx14S7W_AG&index=52
https://www.youtube.com/watch?v=5o8ykCn7CMQ

Because I need to manually review the links from the issues anyway, and the pull requests might not match up with the date/version, I think going forward I might just request people not do pull requests, and only keep the submissions in the issues section

Because I need to manually review the links from the issues anyway, and the pull requests might not match up with the date/version, I think going forward I might just request people not do pull requests, and only keep the submissions in the issues section

Because I need to manually review the links from the issues anyway, and the pull requests might not match up with the date/version, I think going forward I might just request people not do pull requests, and only keep the submissions in the issues section

Yeah, you mentioned that in ThioJoe, but I thought I'll make a PR to save your time, but I get you need to review all these links, and in future will create a issue thread :)

Because I need to manually review the links from the issues anyway, and the pull requests might not match up with the date/version, I think going forward I might just request people not do pull requests, and only keep the submissions in the issues section

Yeah, you mentioned that in ThioJoe, but I thought I'll make a PR to save your time, but I get you need to review all these links, and in future will create a issue thread :)


Pods not entering maintenance mode

A user reported that their pods are not entering maintenance mode

This is caused by https://github.com/redpanda-data/redpanda/issues/12548#issuecomment-1684608150

Will be fixed when we bump the chart to Redpanda v23.2.7

v23.2.7 did not fix this entirely. It does show that it enters maintenance mode, but it still doesn't show that it finished (it did).
Waiting, again, on https://github.com/redpanda-data/redpanda/issues/12548

Pods are entering maintenance mode. This seems to be solved.


No Auto-Completions and weird offset_encodings warning

As you see i'm getting this weird warning and no completion when trying to write cpp, this is my llm.nvim setup using lazy
{
    'huggingface/llm.nvim',
    opts = {
      backend = 'ollama',
      model = 'deepseek-coder',
      accept_keymap = '<Tab>',
      dismiss_keymap = '<S-Tab>',
      url = 'http://localhost:11434/api/generate',
      request_body = {
        options = {
          temperature = 0.2,
          top_p = 0.95,
        },
      },
      enable_suggestions_on_startup = false,
      lsp = {
        bin_path = vim.api.nvim_call_function('stdpath', { 'data' }) .. '/mason/bin/llm-ls',
      },
    },
  },

i'm using this configuration instead now
{
    'huggingface/llm.nvim',
    opts = {
      backend = 'ollama',
      model = 'gemma:2b',
      url = 'http://localhost:11434/api/generate',
      tokens_to_clear = { '<|endoftext|>' },
      request_body = {
        parameters = {
          max_new_tokens = 60,
          temperature = 0.2,
          top_p = 0.95,
        },
      },
      debounce_ms = 150,
      accept_keymap = '<Tab>',
      dismiss_keymap = '<S-Tab>',
      tls_skip_verify_insecure = false,
      lsp = {
        bin_path = nil,
        host = nil,
        port = nil,
        version = '0.5.2',
      },
      tokenizer = nil,
      context_window = 8192,
      enable_suggestions_on_startup = true,
      enable_suggestions_on_files = '*',
    },
  },

and its giving me this error

Using ollama, you shouldn't set the /api/generate suffix as it is explained in the README file

Using ollama, you shouldn't set the /api/generate suffix as it is explained in the README file

can you link me to the correct way?

Just remove the suffix 🙂 use only the url to the root of your server, http://xxx:yyy without any path.

@mAmineChniti do you happen to use clangd lsp? You may need to set the following:
local cmp_nvim_lsp = require "cmp_nvim_lsp"

require("lspconfig").clangd.setup {
  on_attach = on_attach,
  capabilities = cmp_nvim_lsp.default_capabilities(),
  cmd = {
    "clangd",
    "--offset-encoding=utf-16",
  },
}

https://www.reddit.com/r/neovim/comments/12qbcua/multiple_different_client_offset_encodings/


featrue: Expose wgpu support in crabml CLI

closed: #53
sadly, my VM have not GPU, so I cann't test Wgpu 😢

love this PR, thanks!


no such file to load - errors

Just got this on the new gem release…

[2012/02/01 10:33:51][message]   [transferring] properties/897560833/quotes/quote_897560833-1062.pdf
[2012/02/01 10:33:51][message]   [transferring] properties/897560833/quotes/quote_897560833-692.pdf
[2012/02/01 10:33:53][message]   [transferring] properties/897560833/quotes/quote_897560833-695.pdf
/Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/backup-3.0.22/lib/backup/model.rb:256:in `perform!': no such file to load --<EMAIL_ADDRESS>(LoadError)
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/backup-3.0.22/lib/backup/cli/utility.rb:74:in `perform'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/backup-3.0.22/lib/backup/cli/utility.rb:65:in `each'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/backup-3.0.22/lib/backup/cli/utility.rb:65:in `perform'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/gems/backup-3.0.22/bin/backup:11
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/bin/backup:19:in `load'
	from /Users/benschwarz/.rvm/gems/ruby-1.8.7-p352@rezeko/bin/backup:19

Haven't looked into it yet, just wanted to share before I head out for a few hours.

Is that with threading enabled? if so what's the concurrency level? Try to disable concurrency if you're running 1.8.7 - I haven't really tested it a lot and Ruby 1.8.7 uses Green Threads and not Native OS threads so maybe something funky is going on because of that.

Sure thing. Concurrency was on—I'd changed it to 4.
Perhaps its best to recommend not using it under 1.8.7 at all
On 01/02/2012, at 10:40 AM, Michael van Rooijen wrote:

Is that with threading enabled? if so what's the concurrency level? Try to disable concurrency if you're running 1.8.7 - I haven't really tested it a lot and Ruby 1.8.7 uses Green Threads and not Native OS threads so maybe something funky is going on because of that.

Reply to this email directly or view it on GitHub:
https://github.com/meskyanichi/backup/issues/271#issuecomment-3750659

I'm gettings the same error also on 1.9.2-p290. It happens during transfer, after some files were already transfered.

Turns out that the issue is likely to be this block of code: https://github.com/meskyanichi/backup/blob/master/lib/backup.rb#L41-53
Because autoload doesn't play nice with threads, and these are the base files that are pretty much always required in every backup process so it can't do any harm by always loading them. The autoload was the reason it couldn't find the errors file. Thankfully @burns caught this one.
@sickill @benschwarz could you please try checking out the develop branch and run your backup scripts against it to see if it solves the issue?
git clone git://github.com/meskyanichi/backup.git
cd backup && git checkout develop
./bin/backup perform -t <your-trigger>

I haven't managed to get it to error out yet. If this works I will push out a new release that fixes this issue.

i got this error because ulimit  was too low

Seems to work for me (develop branch).

Ok. Closing, since this fix is in develop now. New gem release should be forthcoming.


[ip6] filter IPv6 fragments

Problem:
IPv6 fragments are always forwarded to the host and there is no option to configure that.
Suggested solution:
Filtering IPv6 fragments (ICMPv6 and UDP) based on active filters:

disable receive filters to always forward IPv6 fragments to the host (this is a convergent behavior with the previous one)
enable receive filters

ICMPv6 fragments - configure ICMP filter to control forwarding to the host
UDP fragments are not passed to the host (I see no possibilities to determine used UDP port from IPv6 fragment)

This PR is preferred solution for addressing general problem of filtering/forwarding IPv6 fragments. https://github.com/openthread/openthread/pull/7417 addresses only part of the problem.

I'm closing this since the problem has been resolved on the platform side.


Update strutil.md

Update Coverts string to upper KEBAB-CASE,... to Coverts string to upper snake_case,...

Codecov Report
Patch and project coverage have no change.

Comparison is base (07fc453) 80.37% compared to head (57c9a97) 80.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   80.37%   80.37%
=======================================
  Files          65       65
  Lines        6869     6869
=======================================
  Hits         5521     5521
  Misses       1029     1029
  Partials      319      319

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


Vite Dev Server

Hi! Thank you for this repository- I learned a lot from it. This is more of a discussion, but do you know what is entailed in making the Vite dev server (not the vite build --watch) work? That basically means Nova would have to be made to work with modules and/or the hot module server part of Vite would have to output modules that know how to _resolveComponent correctly (which I cannot figure out.

Hi Ralph
Thank you for your feedback.
I actually tried tinkering with Vite to get the actual dev server to work. But unfortunately I do not have in depth knowledge about the inner workings of Vite. I have tried just running the server however the file watcher did not seem to pick up my files, so it was useless.
Somehow, with everything set up the way it is in the template, the build --watch works but the vite dev isn't able to watch the files under resources and at some point I just gave up on it as I wasn't able to truly debug the web server and see the files it serves.
Another setback was when I was able to load the tool.ts in the server, but I was unable to use it in Nova as it loads all scripts as regular scripts in the layout.blade.php without any modern transpilation capabilities (the stuff behind the cjs umd esm amd and other stuff which are some things I do not fully understand yet, the JS realms are still a mystery to me)
That being said, I would love for someone to pick it up, and I'd be curious to see them go and try to figure out how to get the Vite dev server to work as we'd really benefit from the HMR features in our dev workflows.
All the best,
Charaf

This a great in depth dive into this particular behavior. Perhaps opening an issue on the Vite repo can help shed some light into this ?
As you already have a demo repo set up, an answer should be given more efficiently over there.


Use asset directory to upload posters and backgrounds for movies and shows not in collections

Use asset directory to upload posters and backgrounds for movies and shows not in collections

added to develop use assets_for_all in the settings attribute and set it to True to look for in your assets directory for assets for each item in your library.


[OJ-1275] Pin software versions in all repos

Proposed changes
What changed
Pinned versions of:

Python
SAM

Why did it change

Prevent issues with auto updates from SAM

Issue tracking

OJ-1275

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

@mrdoodles Do these changes have any effects on your matrix refactoring work?


Add soldeer uninstall

There's no command to uninstall a dependency. It should be removed from soldeer.lock, as well.
Related: #44

Solved by https://github.com/mario-eth/soldeer/pull/105


add "varnishadm" command

This PR adds ddev varnishadm command.
This was originally overlook in #16.

We should have remembered on the previous commands PR that a release was required after pull. After this one comes in a release will be required as well.


Dockerfiles should run on the latest tag not head of master

Is your feature request related to a problem? Please describe.
These are production-ready files, not development files. We want to keep them stable on the most recent tag to prevent interruption to users.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I can hard-code the version, but that would require updating a bunch of docker files every time there's a new nodebuilder release, which is not optimal.
I can dynamically generate the tag inside the Dockerfile, but that violates a principle of Dockerfiles that they should be reproducible over time and not change based on external content.
I can also pass in an optional argument to the Dockerfile, but that adds a bigger burden on the users where they can't just say docker build . anymore.
Perhaps hard-code the nodebuilder tag in the docker file with the option of overriding it through an argument:
#!/bin/bash

# Fetch the most recent tag from the GitHub repo
NODEBUILDER_VERSION=$(git ls-remote --tags https://github.com/bitcoin-tools/nodebuilder | awk '{print $2}' | sort -V | tail -1 | cut -d'/' -f3)

# Build the Docker image, passing in the version as a build argument
docker build --build-arg NODEBUILDER_VERSION=${NODEBUILDER_VERSION} .

Then inside the dockerfile:
# Define the NODEBUILDER_VERSION with a default value
ARG NODEBUILDER_VERSION=v1.3.1
...
# Download and execute the script
RUN /bin/sh -c "$(curl -fsSL https://github.com/bitcoin-tools/nodebuilder/raw/${NODEBUILDER_VERSION}/nodebuilder)"

Actually it'd be better to define the URL as an arg too:
# Define the NODEBUILDER_URL using the NODEBUILDER_VERSION
ARG NODEBUILDER_URL=https://github.com/bitcoin-tools/nodebuilder/raw/${NODEBUILDER_VERSION}/nodebuilder
...
# Download and execute the script
RUN /bin/sh -c "$(curl -fsSL ${NODEBUILDER_URL})"

This implementation will work for master too for CI runs.


Window freezes when scrolling

todays insiders (5ab84ce18fe7dee304325952f2849264dd4a48c1)
open the attached file tsc.out.txt
scroll up/down and the editor freezes for a few seconds

tsc.out.txt
CPU-20190902T141431.cpuprofile.txt

hm... closed all other files and now it does repro anymore
bad chart vs. good chart

The CPU profile is not indicative... there is a lot of time spent in (program), which indicates native node modules...but I don't know what is causing this.


[FR]: A/B Testing still in beta

Description
I've noticed that Firebase A/B Testing feature is currently in beta. I had first started looking at this feature in June of 2021 while it was in beta then too.
Is there a roadmap for this feature or any plans for its 1.0 release, or is there any possibility of it being sunsetted at some point as well? I'd like to consider working with this, but am a bit hesitant with how long is has been stuck in a Beta status.
Any information about its future would be helpful. Thank you!
API Proposal
No response
Firebase Product(s)
AB Testing

I have just recently joined beta only a little over a week. I didn't know it was stuck

Hi, we know the product has been in Beta for a long time and we appreciate your patience.  Firebase A/B testing is still under active development--we recently released a new form of statistical inference.  We anticipate moving A/B Testing to General Availability status within the foreseeable future. Hope this helps!


[Action] Online ride app drivers sell cars protesting insufficient orders and loan problems in Harbin, Heilongjiang  https://t.co/fjCykAVVY2

https://twitter.com/CLBStrikeMap/status/1111177614394159104?s=19

not reported on


btn-checkbox not firing ng-change anymore in v0.13.2

first of all thanks for the great work you are doing here.
I have just updated from angular-boostrap 0.13.0 to 0.13.2 and my checkbox button does not fire the ng-change event anymore and generally doesn't seem to work corretly anymore.
After switching back to 0.13.0 everything worked fine again.
To see where the bug was added I installed 0.13.1 and everything worked fine there. So the bug must have been introduced between 0.13.1 and 0.13.2.
Here is the way I use the btn-checkbox directive:
<button type="button"
        class="btn btn-flat"
        ng-class="resCtrl.response.submitted ? 'btn-warning' : 'btn-success'"
        ng-model="resCtrl.response.submitted"
        btn-checkbox
        btn-checkbox-true="true"
        btn-checkbox-false="false"
        ng-disabled="!resCtrl.response.submitted && productForm.$invalid"
        ng-change="resCtrl.submit()">
    <i class="fa" ng-class="resCtrl.response.submitted ? 'fa-send-o': 'fa-send'"></i>
    {{resCtrl.response.submitted ? "Revoke Submission" : "Submit"}}
</button>

EDIT:
I saw that you did some changes to handle the disabled state correctly, however the moment I try to toggle the button the disabled attr is not present. (only ng-disabled)

Just saw that this is a duplicate of #4088 and was already fixed.


Support lossless GZIP

Some of the failures here are fixed by work in #31 but that PR requires the changes here. Maybe we can close this in favour of #31 as I've now included the commits from this PR there?


wooting: add support for Wooting 80HE

This PR updates the wooting udev rules to add support for the Wooting 80HE.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@davidtwco

Add a :+1: reaction to pull requests you find important.

Hey, can you take a look at https://github.com/NixOS/nixpkgs/pull/361441 ? From what other guys at Wooting tells the current approach of listing all known device is not the best one and one in the PR should be more future-proof.


Roadmap 0.3

Planned release date: Jan 28, 2022.
I don't have a clear plan for 0.3 yet. One possible goal is to provide a basic implementation of Luna engine. Open for discussions.

[ ] #235
[ ] #229
[ ] #228

It seems that these APIs in Luna engine are sufficient for 0.3 yet.  In addition to providing a basic implementation, it also makes sense to make this implementation more solid and practical.

@zojw seems working on the k8s and docker stuff, any thoughts?

yup, I'm trying to do some investigation(learning k8s- -, write test code, and prepare design discussion) in a local branch,  the mainly direction just follow last online-meeting's idea(boostrap kernel, then kernel boostrap & monitor & scale other components...)
current progress is...

[x] package docker image
[x] manager components as CustomResource
[x] discovery component's address:port via API
[ ] deploy or scale component via API
[ ] another demo gRPC kernel deploy & discovery via API

[ ] still under investigation,  but it seems almost workable, and I will give a detailed discussion thread when the last two items are done(maybe this weekend or early next week), we need more k8s experts to help review
although there are many decisions & designs we need to take care & discuss, IMO we can finish those discussions and ship a k8s runnable in v0.3

@zojw could you start a discussion thread so that we can focus on implementing deployment? You can later create an issue with concrete items by "Create issue from discussion". (Here is an example)

One possible goal is to provide a basic implementation of Luna engine.

As mentioned in https://github.com/engula/engula/pull/266#issuecomment-1007467866,  the journal API is still unstable as described in #229 and #260. Also, the binary is broken now.
Do you still plan to deliver a basic implementation of Luna engine at Jan 28, 2022? Will it be a memory implementation, and used as a library only?

I think regular releases are not suitable at the current stage for two reasons:

It forces us to make a lot of temporary design and implementation to deliver things on time.
Too many low-quality releases will be harmful to the image of the project and people will lose interest in us.

So I suggest that we think about that bigger picture described in https://github.com/engula/engula/discussions/245 first. We can come back to planned releases when we have a clearer path towards that goal. #252 #263 #260 #251 are some attempts to clear the path. I think I should start a new tracking issue for Engula 2022.

@huachaohuang totally agree! Before we have a clear picture, we can release when features are ready, i.e., a basically usable luna engine with deployment supports :)
Note: please update the PR description. We can still set up targets for a 0.3 release without an explicit deadline.

Close this in favor of #270 for now. We can open a new issue for v0.3 when we have a clear estimation of the schedule.


MIX_ prefixed variable in .env not present in webpack.mix.js

Laravel Mix Version: 1.4.2
NPM Version: 5.3.0
OS: macOS 10.12.6

Description:
I place some variables inside my .env file prefixed with MIX_ as it is stated in documentation (https://laravel.com/docs/5.4/mix#environment-variables) that should be available in my process.env variable but it's not being injected, what am I missing here?
.env:
MIX_SOME_VAR=some_value

webpack.mix.js:
let mix = require('laravel-mix');
console.log(process.env); // a large object without my var
console.log(process.env.MIX_SOME_VAR); // undefined
...

I made sure to restart my npm run watch process after placing the variable

You can't access those env vars from your webpack.mix.js file, but you can from your main script. So if you have:
mix.js('resources/assets/js/app.js', 'js');

And then app.js has:
console.log(process.env.MIX_SOME_VAR);

Once you compile down, it'll be:
console.log("some_value");

The prefix MIX_ works, but why do we need to prefix variables with it? What if I want to use the same variables for both PHP and JS? For example lets say I have AWS keys as such:
AWS_ACCESS_KEY=somekey
AWS_ACCESS_SECRET_KEY=somesecretkey

does that mean that now I have to have two sets, one with MIX_ and another without it, like this?
AWS_ACCESS_KEY=somekey
AWS_ACCESS_SECRET_KEY=somesecretkey

MIX_AWS_ACCESS_KEY=somekey
MIX_AWS_ACCESS_SECRET_KEY=somesecretkey

If so, it just doesnt make sense to me that we need to duplicate our variables. Why not make all variables accessible without the need to add MIX_ to it, or am I not understanding it correctly?

@diegocam the purpose of .env is to make your credentials secret, if every variable is available that means your secrets are accessible to anyone, that's why the MIX_ prefix. But we have this options
AWS_ACCESS_KEY=somekey

MIX_AWS_ACCESS_KEY="${AWS_ACCESS_KEY}"

Access secret should do not me shared with mix ;)

if i change the value of the env_var should i need to recompile the js? my vue app is not getting the new value

@antonioreyna yes, you have to recompile

@MelMacaluso
Your code not work.
ENV_VAR=somevalue
MIX_ENV_VAR="${ENV_VAR}"
"${ENV_VAR}" is ok

I have the following:
.env
MIX_API_URL=http://api.mydomain.com

theme.js
console.log(process.env.MIX_API_URL);

webpack.mix.js
mix.js('js/' + theme + '.js', public_path + 'js');

compiled theme.js
console.log(process.env.MIX_API_URL); // undefined

Any ideas whats wrong?

@Hesesses Did you try doing config:cache or restarting the watch?

@oroalej I had webpack.mix.js and .env files in different folders as I am using Statamic CMS (build on laravel)
I added var dotenv = require('dotenv').config({path:'../../.env'}); top of the file to point the .env file and everything works now 🔥

@MelMacaluso
ENV_VAR=somevalue
MIX_ENV_VAR="${ENV_VAR}"

Some time ago I was able to do that but today, starting a new project, it doesn't work... What's going on?

@danielgraziani91 you should avoid using "${ENV_VAR}" and use ${ENV_VAR} instead.

Doesn't work anymore for me too, although theoretically it is possible:
https://github.com/vlucas/phpdotenv#nesting-variables


[Discussion] 2D: Top-down movement

Discussion for http://godotrecipes.com/2d/topdown_movement/

Would it be possible to create another recipe for twin stick analogue shooter games? There's a whole bunch of tutorials that do a look_at with a mouse, but I can't find, or manage to get the same functionality out of the right analogue stick of a controller.

On Option 2: Rotate and Move, I believe the axis are wrong. when going up or down should use the y axis? Also the +/- signs reversed.

@M-Tieleman Yes there is. Make the movement be controlled by the left stick, but set the rotation to be controlled by the right stick. Times the rotation of the player by the action strength and by a variable called: "Rot speed". This should work.

I am a bit confused on to why do you increment or decrement 1 depending on the direction of the action like velocity.x -= 1. Won't velocity.x = -1 works the same? I've been using it and it works just fine. Tnx

So to put it simply, let's say you have this in your 'process' function:
velocity.x -= 1 takes away 1 from the existing value of velocity.x.
So if x = 0, then what this will do is it will take away 1 from 0 which
will give you -1, which in this case, will make you move left.
velocity.x = -1 snaps the existing value of velocity.x to -1
e.g. if velocity.x = 0, then it will just become -1, which again, makes you
move left
y = 1
   |

   |

   |

y = 0.5
   |

   |

   |

x = -1 ----------------------- x = -0.5 ------------------------x/y = 0
--------------------------- x = 0.5  ----------------------- x = 1
   |

   |

   |

y = -0.5
   |

   |

   |

y = -1
The reason why it works fine for you (I assume you mean 'velocity = -1') is
because they both do the same job depending on how you use them. Therefore,
this whole rant was useless but at least you learnt the difference.
So yes, they both work the same way but one takes away and the other
doesn't.
I hope this makes sense and msg back if u need more help
On Mon, 15 Aug 2022 at 11:42, Griiim24 @.***> wrote:

I am a bit confused on to why do you increment or decrement 1 depending on
the direction of the action like velocity.x -= 1. Won't velocity.x = -1
works the same? I've been using it and it works just fine. Tnx
—
Reply to this email directly, view it on GitHub
https://github.com/kidscancode/godot_recipes/issues/20#issuecomment-1214875321,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT6L7HGHAXAKA4ZCR4TBXLTVZINJRANCNFSM4XAAFFSQ
.
You are receiving this because you commented.Message ID:
@.***>

Thank you for replying, i did test both codes again after i posted the question and  found out that although both performed the same actions, the one i use doesn't stop when both left and right(up and down) keys are pressed at the same time, instead it continued to move towards a positive direction.


Configure and build with toolchain file only (no kit)

Configure and build without selecting a kit
I have setup my project to use a toolchain file
"cmake.configureSettings": {
        "CMAKE_TOOLCHAIN_FILE" : "${workspaceRoot}/../config/cmake/hexagon.cmake"
    },

The toolchain file defines the compilers. But currently I cannot configure and build without selecting a toolkit.
Expected:

I can configure and build without selecting a toolkit

Apparent Behavior:

Cannot configure without selecting a toolkit. This is annoying since:

I have to manually add the toolkit, which will be unused because the toolchain file redefines it
the toolkit configuration file is located outside the project tree (in the home dir). This is a flaw since only the project knows where to find the compiler (given that it is installed in the recommended location).

Platform and Versions

Operating System: Any
CMake Version: 3.11.2
VSCode Version: 1.25.1
CMake Tools Extension Version: 1.1.1
Compiler/Toolchain: Custom target compiler, based on CLang 3.9.0

You should see an [Unspecified] kit when it asks you to choose one. Selecting this is the equivalent of "no kit," and doesn't require you to modify or configure any kit files. Does this work for your case?

Hi,
Yes selecting "Unspecified" works thank you. But it has the following two bad side effects:

When I restart VSCode, it does not remember the "unspecified" choice. You have to select it again
When configuring and after building, dozens of the following messages are shown and pollute the "output" view:

[rollbar] Unable to automatically determine compiler {"lang":"C","fileGroup":{"compileFlags":" -mv60 -D_HAS_C9X -fPIC -O3 C:/Hexagon3.2/Hexagon_SDK/3.2/tools/HEXAGON_Tools/8.0.10/Tools/target/hexagon/lib/v5/G0/libc.a -Wall -Wextra -g  ","includePath":[{"path":"C:/Users/slankri/DspRefBase-Hexagon/build/audio/modules/AGC"},{"path":"C:/Users/slankri/DspRefBase-Hexagon/src/audio/modules/AGC"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/tools/HEXAGON_Tools/8.0.10/Tools/target/hexagon/include"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/incs"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/incs/audio"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/incs/stddef"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/incs/a1std"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/libs/audio/capi_v2_utils_props/inc"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/libs/common/atomic/inc"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/test/common/cpptest/inc"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/test/common/test_profile/inc"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/test/common/test_main/inc"},{"path":"C:/Hexagon3.2/Hexagon_SDK/3.2/test/common/test_capi_v2/inc"},{"path":"c:/users/slankri/dsprefbase-hexagon/src"}],"isGenerated":false,"language":"C","sources":["AGC.c"]}}

I have this message for each compiled file.
Thanks

If it isn't remember that you chose "Unspecified," that is a bug. Could you make another ticket for this?
The other output is unexpected. What is your toolchain doing? Are you setting a CMAKE_C_COMPILER in the toolchain?
Also, have you looked at using "toolchain" kits? It will let you use the kits feature but also use a toolchain file alone.

Thanks.
Submitted #502 for the first problem.
For the second case:
Yes I'm setting CMAKE_C_COMPILER and CMAKE_CXX_COMPILER.
Please find below my toolchain file:
# Linux system (CMake is not able to make the compiler work when system is Windows)
set(CMAKE_SYSTEM_NAME "Linux")

# Hexagon SDK
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
  message(FATAL_ERROR "\
The HEXAGON_SDK_ROOT environment variable is not set. \
Please set it to your HEXAGON SDK path")
endif()

# Save the variable
set(HEXAGON_SDK_ROOT "$ENV{HEXAGON_SDK_ROOT}")

# Hexagon SYSROOT
set(CMAKE_SYSROOT "${HEXAGON_SDK_ROOT}")

if (NOT EXISTS "${CMAKE_SYSROOT}")
  message(FATAL_ERROR "\
The ${CMAKE_SYSROOT} could not be found. Is the HEXAGON_SDK_ROOT \
environment variable correctly set ? Its current value is HEXAGON_SDK_ROOT=${HEXAGON_SDK_ROOT}")
endif()

# Compilers
if ("$ENV{OS}" MATCHES "Windows*")
  set(CMAKE_C_COMPILER ${CMAKE_SYSROOT}/tools/HEXAGON_Tools/8.0.10/Tools/bin/hexagon-clang.exe)
  set(CMAKE_CXX_COMPILER ${CMAKE_SYSROOT}/tools/HEXAGON_Tools/8.0.10/Tools/bin/hexagon-clang++.exe)
else()
  set(CMAKE_C_COMPILER ${CMAKE_SYSROOT}/tools/HEXAGON_Tools/8.0.10/Tools/bin/hexagon-clang)
  set(CMAKE_CXX_COMPILER ${CMAKE_SYSROOT}/tools/HEXAGON_Tools/8.0.10/Tools/bin/hexagon-clang++)
endif()

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

# Includes
include_directories(${HEXAGON_SDK_ROOT}/tools/HEXAGON_Tools/8.0.10/Tools/target/hexagon/include)
include_directories(${HEXAGON_SDK_ROOT}/incs)
include_directories(${HEXAGON_SDK_ROOT}/incs/audio)
include_directories(${HEXAGON_SDK_ROOT}/incs/stddef)
include_directories(${HEXAGON_SDK_ROOT}/incs/a1std)
include_directories(${HEXAGON_SDK_ROOT}/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60)
include_directories(${HEXAGON_SDK_ROOT}/libs/audio/capi_v2_utils_props/inc)
include_directories(${HEXAGON_SDK_ROOT}/libs/common/atomic/inc)
include_directories(${HEXAGON_SDK_ROOT}/test/common/cpptest/inc)
include_directories(${HEXAGON_SDK_ROOT}/test/common/test_profile/inc)
include_directories(${HEXAGON_SDK_ROOT}/test/common/test_main/inc)
include_directories(${HEXAGON_SDK_ROOT}/test/common/test_capi_v2/inc)

# Links
#link_directories(${CMAKE_SYSROOT}/target/hexagon/lib/v60)

# Flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mv60 -D_HAS_C9X -fPIC -O3 ${HEXAGON_SDK_ROOT}/tools/HEXAGON_Tools/8.0.10/Tools/target/hexagon/lib/v5/G0/libc.a")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mv60 -D_HAS_C9X -fPIC -O3 ${HEXAGON_SDK_ROOT}/tools/HEXAGON_Tools/8.0.10/Tools/target/hexagon/lib/v5/G0/libc.a")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LDFLAGS} -nostartfiles -nodefaultlibs -nostdlib -Wl,--wrap=malloc -Wl,--wrap=calloc -Wl,--wrap=free -Wl,--wrap=realloc -Wl,--wrap=memalign -Wl,--wrap=__stack_chk_fail -shared -G0 -fPIC")

As you can see there is nothing special in this file.
I do not understand the "toolchain kits" suggestion. Our project comes with the toolchain file inside one of its directories. We don't want each user to configure it himself.
If these is any other proper way of telling CMake Tools about the toolchain file, please let me know it so I can try.
Thanks

Check out the Kits docs here. Setting toolchainFile in a kit should give you the ability to select the toolchain as a regular kit.
Another test: After a successful configure from the command line, can you paste the output from cmake -N -L? Note that this might contain sensitive values, so check and/or edit before pasting. I'm mostly interested in any CMAKE_* cache values.

I have set the toolchain file inside cmake-kits.json and it worked. Now I can select the kit from the kits menu. This is great since I can tell developers to select the correct kit rather than "unspecified". Thanks.
The effect of this is that the Kit is remembered when restarting VSCode.
Now the second case (errors about roller bar) are still here.
Here is the requested output:
-- Cache values
BUILD_SHARED_LIBS:BOOL=OFF
BUILD_STATIC_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
BUILD_TESTS:BOOL=OFF
CMAKE_BUILD_TYPE:STRING=Debug
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/XXXXX_deleted
CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Users/slankri/DspRefBase-Hexagon/config/cmake/hexagon.cmake

It looks to be that the _COMPILER cache entries are not there. In the toolchain file, try changing the set(CMAKE_C_COMPILER ...) to set(CMAKE_C_COMPIMLER_INIT ...) (For both C and CXX. Note the _INIT on the end of the var names. This changes the way CMake tries to load the compilers. If that doesn't work, change the set() commands to use CACHE mode for the compilers.

Hi,
Adding the _INIT suffix does not work: CMake takes the compiler it autodetects (the host compiler)
Adding CACHE mode works: rollbar errors have disappeared. But I notice that cmake -N -L produces the same output as before.
Also, compilation is fine without CACHE, and according to the documentation CACHE is not needed when setting the compilers. So there must be something weird between the generated config and the rollbar.

The trouble is in that I use the cache entries to determine the per-language compiler. The source files declare their language as either C or CXX, so I look for the cache entry for CMAKE_<LANG>_COMPILER. If the cache entry is not present, it produces that warning. I'll have to either document that CACHE is required for cmt, or find a different way of getting the compiler path.

Ok thanks. For now I can live with CACHE added, but it has to be documented. I hope there won't be any side effect regarding CMake build.
Please close this item if you feel it's OK. I have nothing special to add for now.
Thanks for your help.

I'll mark it as a documentation bug for now. Maybe show a user warning if necessary.

Don't know if this is helpful but I am doing a cross compiler toolchain as well and have it working.
In cmake-tools.json:
{
"name": "Green Hills INTEGRITY",
"toolchainFile": "${workspaceFolder}/GHSToolchain.cmake"
}
This allows me to select between kits (Linux,Win32 and GHS) from the bottom bar

Yes using a toolchain file works. Do you have the "rollbar" errors above ? Could you share your toolchain file with us to compare ? Thanks

Here is the toolchain file:
CMake for GHS Integrity (By: Mark Manyen)
Environment Variables used (IF set)
GHS_HOME         (default: ./GHSIntegrity)
GHS_OS_REV       (default: 1144)
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER cxintarm)
set(CMAKE_CXX_COMPILER ccintarm)
set(CMAKE_C_COMPILER ${CMAKE_C_COMPILER} CACHE FILEPATH "C Compiler")
set(CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER} CACHE FILEPATH "CXX Compiler")
Define the absolute path to the GHS directory for the rest of the tree to reference
If there is an environment variable "GHS_HOME", use that instead of default location
if (DEFINED ENV{GHS_HOME})
set(GHS_HOME $ENV{GHS_HOME})
else()
get_filename_component(GHS_HOME ./GHSIntegrity ABSOLUTE)
endif(DEFINED ENV{GHS_HOME})
set(GHS_OS_ROOT ${GHS_HOME})
set(GHS_OS_ROOT ${GHS_OS_ROOT} CACHE PATH "GHS platform OS search root directory")
mark_as_advanced(GHS_OS_ROOT)
If there is an environment variable "GHS_OS_REV", use that instead of default revision
if (DEFINED ENV{GHS_OS_REV})
set(GHS_OS_REV $ENV{GHS_OS_REV})
else()
set(GHS_OS_REV int1144)
endif(DEFINED ENV{GHS_OS_REV})
set(GHS_OS_DIR ${GHS_HOME}/${GHS_OS_REV})
set(GHS_OS_DIR ${GHS_OS_DIR} CACHE PATH "GHS platform OS directory")
mark_as_advanced(GHS_OS_DIR)
set(GHS_BSP_NAME "default" CACHE STRING "BSP name")
string(APPEND GHS_CC_BASICS  " --no_commons -Wformat -bsp=${GHS_BSP_NAME} -os_dir=${GHS_OS_DIR}")
set(CMAKE_C_VERBOSE_FLAG "-v")
set(CMAKE_C_OUTPUT_EXTENSION ".o")
string(APPEND CMAKE_C_FLAGS_INIT " ${GHS_CC_BASICS}")
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -Odebug -g")
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -Ospace")
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -O")
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -O -g")
set(CMAKE_CXX_VERBOSE_FLAG "-v")
set(CMAKE_CXX_OUTPUT_EXTENSION ".o")
string(APPEND CMAKE_CXX_FLAGS_INIT " -language=cxx ${GHS_CC_BASICS}")
string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -Odebug -g")
string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -Ospace")
string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -O")
string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " -O -g")
set(CMAKE_FIND_ROOT_PATH ${GHS_OS_DIR})
search for programs in the build host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

markdown fun!


eosio.system contract failure

when I set contract eosio.system ,it comes errors as flow:
2018-08-28T03:24:17.740 thread-0   wasm_interface.cpp:929        eosio_assert         ] message: unable to find key  2018-08-28T03:24:17.741 thread-0   http_plugin.cpp:475           handle_exception     ] FC Exception encountered while processing chain.push_transaction 2018-08-28T03:24:17.741 thread-0   http_plugin.cpp:476           handle_exception     ] Exception Details: 3050003 eosio_assert_message_exception: eosio_assert_message assertion failure assertion failure with message: unable to find key     {"s":"unable to find key"}     thread-0  wasm_interface.cpp:930 eosio_assert pending console output:      {"console":""}     thread-0  apply_context.cpp:61 exec_one

change CORE_SYMBOL_NAME = "SYS" to  CORE_SYMBOL_NAME = "EOS"  in eosio_build.sh  and rebuild.

@firesWu There's no need to manually modify the eosio_build.sh file. Use the argument instead:
$ sudo ./eosio_build.sh -s EOS

That said, I believe the problem of OP is not with the core symbol itself, but rather that he didn't properly initialize the chain by creating system accounts, deploying token contract and creating the core symbol token.
Check this out: #3134
https://github.com/EOSIO/eos/issues/3134#issuecomment-392688982
This might be what the OP is looking for.

agree, please checkout #3134


Project does not build with cmake option BUILD_EASYLOGGINGPP=Off

Project version : v2.22.0
Operating system : macOS
src/libuvc/uvc_types.h:16:12: error: no template named 'unordered_map' in namespace 'std';
=> Fixed locally by adding #include <unordered_map> in uvc_type.h
In file included from src/log.cpp:4
log.h:26:16: error: use of undeclared identifier 'el'
...
=> Fixed locally by moving include of log.h inside  #if BUILD_EASYLOGGINGPP
Also in src/gl/rs-gl.cpp
src/log.h:26:16: error: use of undeclared identifier 'el'
...
=> Fixed locally by conditioning include of log.h with  #if BUILD_EASYLOGGINGPP

Fixed in v2.25


You may like definitions-systems...

definitions-systems is related but much more general.

Cool. I'll check it out. Thank you!


When can Yi be integrated into Ollama?

As the title, ollama is quite convenient in LLM.

This is a nice to have feature. I'll assign it myself if no one pick it up after our chat version get released.

https://ollama.ai/library/yi


feat: add handle_errors callback

This PR is to resolve this issue.
I've tried to create a test to this feature, but could not find a way, need some help on this 😅.

I've tried to create a test to this feature, but could not find a way, need some help on this 😅

What if we send a message in the callback function and we assert it was received?

hey @iaguirre88 , the test that I added, looks good?

@rafaeliga Sorry I couldn't reply sooner.
We've been discussing about this feature and we came up with this idea https://github.com/wyeworks/boom/pull/68. We think it's a more flexible solution than just adding a callback (even though it would be a breaking change).

The main advantage of this change is that it is more flexible with the user using the library as currently you can't redefine the handle_errors from your app if using boom.
Apart from allowing that, it also works if the user decides to use the overridable call from his application as well. We are overriding it from a before_compile, and these overrides are kind of "chained" and called one after the other, so the boom code will always be executed at the very beginning.

Any feedback you have on that is highly appreciated so feel free to comment and participate.


BIPM reference format (French only): "e" must be set as superscript in meeting references

From BIPM:
The form of the references for the meetings needs a minor adjustment in the French bibliography (e.g. p111)

Here the “e” should be superscript and the “r” of réunion lower-case (both times): CIPM 43e réunion (1950)… 43e réunion du CIPM and ‘Comité international des poids et mesures’ (capital letter for Comité only)
The reference above comes from this bibliographic markup:
* [[[PV22_h,CIPM Meeting 43]]]

Basically:

"e" must be set as superscript, and
"Comité International des Poids et Mesures" should be "Comité international des poids et mesures"

In relation to https://github.com/metanorma/bipm-si-brochure/issues/240

This requires the organization name to be multilingual so in French we use the French name.

@andrew2net I'm building the SI Brochure with version 1.19.3 of relaton-bipm and yet I don't see this issue fixed. Should I do something else?

@manuelfuenmayor, the relaton-data-bipm repository hasn't been updated yet. There is an issue what we need to resolve to update the dataset.

@manuelfuenmayor please try relaton-bipm v1.19.4 now

@andrew2net I'm tried with relation-bipm v.1.20.2 and still the issue persists:

Also, I'm seeing this in the bibliography:


dcegm: Choices -> choices

There was an inconsistency in the capitalization of the "choices" variable in dcegm.py.  This fixes it.

Codecov Report

Merging #979 (580496a) into master (799943e) will decrease coverage by 0.04%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master     #979      +/-   ##
==========================================
- Coverage   71.85%   71.81%   -0.05%
==========================================
  Files          62       63       +1
  Lines        9205     9245      +40
==========================================
+ Hits         6614     6639      +25
- Misses       2591     2606      +15

Impacted Files
Coverage Δ

HARK/ConsumptionSaving/ConsIndShockModelFast.py
51.05% <ø> (ø)

HARK/ConsumptionSaving/tests/debug.py
0.00% <0.00%> (ø)

HARK/dcegm.py
49.25% <0.00%> (ø)

HARK/ConsumptionSaving/ConsIndShockModel.py
85.89% <78.72%> (-0.72%)
:arrow_down:

...nsumptionSaving/tests/test_IndShockConsumerType.py
100.00% <100.00%> (ø)

...K/ConsumptionSaving/tests/test_modelcomparisons.py
98.46% <100.00%> (+0.07%)
:arrow_up:

HARK/interpolation.py
41.16% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 799943e...580496a. Read the comment docs.

@sbenthall well, that's strange.  It works locally on my machine, and passest every online test EXCEPT python 3.7 on MacOS (works for 3.6 and 3.8, and on windows for all versions).  Best guess is that it's just a timeout error somewhere.  I thought we were requiring 3.8 as of this release anyway?  So maybe we should drop the 3.6 and 3.7 tests.
In other words, I think it's ready to merge.

Hmmm, now it's saying all checks are passing. @sbenthall or @MridulS could one of you merge this?

Yeah I just restarted the test, seems like a GitHub action issue not a test problem.

Why not?  It does no harm, and is a convenient way to remembere what you
need to do to run pytest from inside spyder.  It took me a while to figure
that out, and would probably take me just as long to figure it out again
the next time I need it, unless it is sitting right there.
Probably it should be better named and better documented, though, to make
its purpose more transparent.
On Tue, Mar 2, 2021 at 12:10 PM Mridul Seth<EMAIL_ADDRESS>wrote:

@MridulS commented on this pull request.
In HARK/ConsumptionSaving/tests/debug.py
https://github.com/econ-ark/HARK/pull/979#discussion_r585750153:

@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+# -- coding: utf-8 --
+"""
+Created on Mon Mar  1 09:13:40 2021

+@author: ccarroll
+"""
+import pytest
+import pdb
+pdb.set_trace()
+pytest.main()
is this supposed to be merged into HARK?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/979#pullrequestreview-602061383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK7ZAPDVRREFY3KIGSNLTBULXTANCNFSM4YPCZYWA
.

--

Chris Carroll

@sbenthall or @MridulS could one of you merge this?  It's passing all tests now.


[Typography] Status?

Would just like to know what is the current status for the Material Design typography support, and to ensure that it will be fluid typography - meaning automatically resizing - accorindg to the viewport.

There has been no update, but if there is you'll be able to see it on https://github.com/material-components/material-components-web-components/issues/1050. I'd recommend subscribing to that issue for updates on the typography feature within MWC.
Keep in mind that MWC will provide typography support, but it will not provide automatic responsive size changes. That is an opinionated application responsibility.
Closing as a dupe of #1050.


Geolocation Error 404

I'm experiencing issues that came about 1-2 weeks ago without any changes on my part.
I checked mapbox example to see if they had the same error, and it does.
https://www.mapbox.com/mapbox.js/example/v1.0.0/leaflet-locatecontrol/

www.mapbox.com says:
Geolocation error: Network location provider at 'https://www.googleapis.com/':
Returned error code 404..

It works on mobile, just not on Chrome v49.0.2623.87 (64-bit).
Mozilla Firefox complains with the following error:

Geolocation error: Unknown error acquiring position.

Exactly the same error message. Same on Firefox.

Very odd. I tried it in Firefox, Chrome, and Safari. Can you try to debug a bit? I would love to fix it but can't reproduce the issue.

Sure. Let me know what you what me to.

Can you look into the console when the error happens? What are the exact conditions? Can you reproduce this issue with just leaflet's http://leafletjs.com/reference.html#map-locate?

Maybe it's a bit late but I faced the same using Firefox and solved in this way.
1- go to about:config
2- change the geo.wifi.uri value to https://location.services.mozilla.com/v1/geolocate?key=test
Hope it helps

I ran into similar/same problem on Firefox 78 (Ubuntu 20.04), while I don't have this problem Chrome 84.
Error: Geolocation error: Unknown error acquiring position.

What fixed it for me is to go to: about:config
find:
geo.provider.network.url
change:
https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%
to:
https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%


New resource MWAA not available on v2

Our whole pulumi based infrastructure stacks are on github.com/pulumi/pulumi-aws/sdk/v2 and github.com/pulumi/pulumi/sdk/v2, however,  we are planning to use new resource 'mwaa' added on pulumi.
Expected behavior
We should be able to support on v2 without enforcing us to upgrade to v3
Current behavior
It is available only on v3, which is not targeted as production usage
Steps to reproduce
In addition, adding v3 on existing platform is causing it..
❯ go get -u github.com/pulumi/pulumi-aws/sdk/v3/...

# github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesisanalyticsv2
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2388:43: impossible type assertion:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2396:43: impossible type assertion:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2459:11: cannot use v.Input (type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput) as type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput in return argument:
        *ApplicationApplicationConfigurationSqlApplicationConfigurationInput is pointer to interface, not interface
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2466:11: cannot use v.Outputs (type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput in return argument
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2503:11: cannot use v.Input (type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput) as type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput in return argument:
        *ApplicationApplicationConfigurationSqlApplicationConfigurationInput is pointer to interface, not interface
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2513:11: cannot use v.Outputs (type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput in return argument
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2527:6: ApplicationApplicationConfigurationSqlApplicationConfigurationInput redeclared in this block
        previous declaration at ../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2363:6
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:4498:6: ApplicationApplicationConfigurationSqlApplicationConfigurationOutput redeclared in this block
        previous declaration at ../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2432:6
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:6712:96: cannot use ApplicationApplicationConfigurationSqlApplicationConfigurationOutput{} (type ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type pulumi.Output in argument to pulumi.RegisterOutputType:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
# github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/glue/init.go:49:8: undefined: Schema

Context (Environment)
We would like to keep production stack based on v2 without upgrading to v3 - and we should still be allowed to use new resource like 'mwaa'

@discovery-NukulSharma pulumi-aws Just to clarify, provider versions rev independently of the core pulumi SDK version. pulumi-aws v3 has been available for many months and is stable for production usage. In general, major versions of all providers/SDKs are ready for production usage.

@leezen  - I see this .. here

Pulumi 3.0 is currently in beta and not recommended for existing production workloads. Once it is made generally available (GA), we will recommend switching to Pulumi 3.0 in the docs and in the CLI via the normal upgrade prompts. pulumi new will continue to use the stable versions of the templates.

Can you suggest how we can use MWAA , when whole pulumi infra is based on v2.?
Also, adding v3 along with v2 , i see error as pasted above.

@discovery-NukulSharma As I mentioned in my earlier comment, the versioning of our provider package SDKs, such as pulumi-aws is different from that of the pulumi/pulumi CLI/SDK. pulumi/pulumi 3.0 is currently in beta, but pulumi-aws 3.x has been production for quite some time. As you'll see, the current beta for pulumi-aws is actually v4. pulumi-aws v3 depends on `pulumi/pulumi v2.

Right, what i am highlighting is issue as. described in steps to reproduce section.
I am not sure what is missing here.
❯ go get -u github.com/pulumi/pulumi-aws/sdk/v3/...

# github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesisanalyticsv2
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2388:43: impossible type assertion:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2396:43: impossible type assertion:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2459:11: cannot use v.Input (type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput) as type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput in return argument:
        *ApplicationApplicationConfigurationSqlApplicationConfigurationInput is pointer to interface, not interface
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2466:11: cannot use v.Outputs (type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput in return argument
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2503:11: cannot use v.Input (type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput) as type *ApplicationApplicationConfigurationSqlApplicationConfigurationInput in return argument:
        *ApplicationApplicationConfigurationSqlApplicationConfigurationInput is pointer to interface, not interface
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2513:11: cannot use v.Outputs (type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type []ApplicationApplicationConfigurationSqlApplicationConfigurationOutput in return argument
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2527:6: ApplicationApplicationConfigurationSqlApplicationConfigurationInput redeclared in this block
        previous declaration at ../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2363:6
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:4498:6: ApplicationApplicationConfigurationSqlApplicationConfigurationOutput redeclared in this block
        previous declaration at ../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:2432:6
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/kinesisanalyticsv2/pulumiTypes.go:6712:96: cannot use ApplicationApplicationConfigurationSqlApplicationConfigurationOutput{} (type ApplicationApplicationConfigurationSqlApplicationConfigurationOutput) as type pulumi.Output in argument to pulumi.RegisterOutputType:
        ApplicationApplicationConfigurationSqlApplicationConfigurationOutput does not implement pulumi.Output (missing Apply method)
# github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue
../../../../go/pkg/mod/github.com/pulumi/pulumi-aws/sdk/v3@v3.38.1/go/aws/glue/init.go:49:8: undefined: Schema

ok thanks


deploy bridge fea2scalar error / bridge deposit has been unable to be credited

System information
Ubuntu22.04 - amd64
Commit id
b231b01
Tools versions
WARN[2024-08-09T15:16:22+08:00] You are running an old version of the Kurtosis CLI; we suggest you to update it to the latest version, '1.0.0'. You can manually upgrade the CLI tool following these instructions: https://docs.kurtosis.com/upgrade
✅ kurtosis 0.89.11 is installed, meets the requirement (=0.89).
✅ docker 26.0.0 is installed, meets the requirement (>=24.7).

You might as well need the following tools to interact with the environment...
✅ jq 1.6 is installed.
⚠  yq is not installed. You can install yq at: https://pypi.org/project/yq/
✅ cast 0.2.0 is installed.
⚠  polycli is not installed. You can install polycli at: https://github.com/maticnetwork/polygon-cli/releases

🎉 You are ready to go!

Description & steps to reproduce
Starting bridge infra
There was an error executing Starlark code
An error occurred executing instruction (number 38) at github.com/0xPolygon/kurtosis-cdk/cdk_bridge_infra.star[38:46]:
add_services(configs={"zkevm-agglayer-001": ServiceConfig(image="ghcr.io/agglayer/agglayer-rs:main", ports={"agglayer": PortSpec(number=4444, application_protocol="http"), "prometheus": PortSpec(number=9091, application_protocol="http")}, public_ports={"agglayer": PortSpec(number=18084, application_protocol="http")}, files={"/etc/zkevm": Directory(artifact_names=["agglayer-config-artifact", "agglayer-keystore"])}, entrypoint=["/usr/local/bin/agglayer"], cmd=["run", "--cfg", "/etc/zkevm/agglayer-config.toml"]), "zkevm-bridge-service-001": ServiceConfig(image="hermeznetwork/zkevm-bridge-service:v0.4.2", ports={"grpc": PortSpec(number=9090, application_protocol="grpc"), "rpc": PortSpec(number=8080, application_protocol="http")}, public_ports={"grpc": PortSpec(number=18083, application_protocol="grpc"), "rpc": PortSpec(number=18082, application_protocol="http")}, files={"/etc/zkevm": Directory(artifact_names=["bridge-config-artifact", "claimtxmanager-keystore"])}, entrypoint=["/app/zkevm-bridge"], cmd=["run", "--cfg", "/etc/zkevm/bridge-config.toml"])}, description="Starting bridge infra")
Caused by: Some errors occurred starting or updating the following services: '[zkevm-bridge-service-001]'. The entire batch was rolled back an no service was started. Errors were:
Service creations: map[zkevm-bridge-service-001:An error occurred waiting for all TCP and UDP ports to be open for service 'zkevm-bridge-service-001' with private IP '<IP_ADDRESS>'; this is usually due to a misconfiguration in the service itself, so here are the logs:
== SERVICE 'zkevm-bridge-service-001' LOGS ===================================
{"level":"info","ts":1723175647.2737653,"caller":"pgstorage/utils.go:63","msg":"successfully ran 8 migrations","pid":7,"version":"v0.4.2"}
{"level":"info","ts":1723175647.2876232,"caller":"cmd/run.go:57","msg":"main network id: 0","pid":7,"version":"v0.4.2"}
{"level":"error","ts":1723175647.313141,"caller":"cmd/run.go:67","msg":"failed to execute the unsigned transaction: fea2scalar error\n/src/log/log.go:142 github.com/0xPolygonHermez/zkevm-bridge-service/log.appendStackTraceMaybeArgs()\n/src/log/log.go:217 github.com/0xPolygonHermez/zkevm-bridge-service/log.Error()\n/src/cmd/run.go:67 main.start()\n/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:277 github.com/urfave/cli/v2.(*Command).Run()\n/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:270 github.com/urfave/cli/v2.(*Command).Run()\n/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:335 github.com/urfave/cli/v2.(*App).RunContext()\n/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:309 github.com/urfave/cli/v2.(*App).Run()\n/src/cmd/main.go:56 main.main()\n/usr/local/go/src/runtime/proc.go:267 runtime.main()\n","pid":7,"version":"v0.4.2","stacktrace":"main.start\n\t/src/cmd/run.go:67[ngithub.com/urfave/cli/v2.(*Command).Run\n\t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:277\ngithub.com/urfave/cli/v2.(*Command).Run\n\t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:270\ngithub.com/urfave/cli/v2.(*App).RunContext\n\t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:335\ngithub.com/urfave/cli/v2.(*App).Run\n\t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:309\nmain.main\n\t/src/cmd/main.go:56\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:267](http://ngithub.com/urfave/cli/v2.(*Command).Run/n/t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:277/ngithub.com/urfave/cli/v2.(*Command).Run/n/t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:270/ngithub.com/urfave/cli/v2.(*App).RunContext/n/t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:335/ngithub.com/urfave/cli/v2.(*App).Run/n/t/go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:309/nmain.main/n/t/src/cmd/main.go:56/nruntime.main/n/t/usr/local/go/src/runtime/proc.go:267)"}
Error: failed to execute the unsigned transaction: fea2scalar error
Desired behavior
https://github.com/0xPolygon/kurtosis-cdk/issues/163#issuecomment-2217027323
Previously, every deploy was successful, but zkEVM bridge deposit has been unable to be credited. But recently, there is a high probability that I will encounter ```fea2scalar errors`` during every deploy.
What is the severity of this bug?
Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

Hi @cachalots, what command do you use to deploy the stack?

Hi @cachalots, what command do you use to deploy the stack?

kurtosis run --enclave cdk-testnet --args-file params.yml --image-download always .


Out of memory error from Cairo when creating PDF from Xournal++

Describe the bug
This has only happened for a single file, but is 100% reproducible.
Workaround:

Click the "Print" button
Select "Print to PDF"
Select output format "Postscript"
Click "Print"
Use nix-shell --packages ghostscript_headless --run 'ps2pdf IN.ps OUT.pdf' to convert to PDF

Steps To Reproduce

Open a .xopp file in Xournal++
Click the "Export as PDF" button
Click "Save"

At this point I get the following error:

Error while finalizing the Cairo surface
Cairo error: out of memory

The broken output PDF is on the order of 200 kB. If I try to open it using Evince, it says "PDF document is damaged", with no further details.
Alternatively:

Open a .xopp file in Xournal++
Click the "Print" button
Select "Print to PDF"
Click "Print"

At this point I get no error message, but the output PDF is also broken.
Expected behavior
The PDF file should be created successfully.
Screenshots

Additional context
Unfortunately the PDF has personal info, so I can't post it here. But some relevant pieces of information:

I had to add some font substitutions for the contents to render properly. This is my best bet for what could be causing this issue.
I am able to export other .xopp files to PDF without issues.
The input PDF is less than 350 kB, and the .xopp file is less than 40 kB. The output PDF size after using the workaround above is 101 kB.

Metadata

system: "x86_64-linux"
host os: Linux 6.6.62, NixOS, 25.05 (Warbler), 25.05beta710087.23e89b7da85c
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
channels(root): "home-manager, nixos, nixos-hardware, nixos-stable-24.05"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Notify maintainers
Ping @trofi @alyssais @figsoda  as recent contributors.

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

This appears to be caused by a regression introduced in September in 18.2. and was alledgedly fixed by this commit.
I worked around this with an overlay (no time to do more this week):
final: prev: {
  cairo = prev.cairo.overrideAttrs (fattr: pattr: {
    src = prev.fetchFromGitLab {
      domain = "gitlab.freedesktop.org";
      owner = "cairo";
      repo = "cairo";
      rev = "33173d9f1a79a58d518ffbe0e597bd4ca9bf1464";
      sha256 = "sha256-9Upzj0SlEwwjQ6dtqrYAxDtBo3um3MXyRi8xQH0UFwk=";
    };
    buildInputs = pattr.buildInputs ++ [prev.lzo];
  });
}

This is still extremely painful due to cairo being very deep in your typical dep graph (so huge rebuild)
:warn: Not confirmed yet, still building (hope I don't get an OOM on libreoffice or qtwebengine or some such)
If you have work to do, better get a nixos-unstable from about a week back I guess.

Great find! I proposed the nixpkgs PR with this patch as:

https://github.com/NixOS/nixpkgs/pull/359029


defaultDivider gone in rc3

When moving from rc2 to rc3 the default item divider is no longer visible.
Previously working code:
// setup itemDecoration
recyclerView.addItemDecoration(new FlexibleItemDecoration(activity)
                .withDefaultDivider()
        // ...
);

Thanks @10erlosh!! I completely forgot to mention it, and I didn't see the bug before.
Now it is in the release notes #442.
The fix will be publish for final release, in the meantime if you want any divider (custom or default) you must specifies the viewTypes, for which you want it drawn, as parameter. That works.


Package import telemetry not wired up for notebooks

https://github.com/microsoft/vscode-jupyter/blob/04d57b35352b1d3a1ab9319122210ae04bef8d73/src/client/telemetry/importTracker.ts#L129
Expected: track package imports from native notebooks on notebook open/close/execute cell in cluster("Ddtelvscode").database("VSCodeExt").RawEventsVSCodeExt | EventName == "ms-toolsai.jupyter/hashed_package_name"
Current: nothing being tracked

open/close/execute

I can see telemetry being sent for open/close of notebooks.
I've added code for execution of notebooks.


Innovation - Using Objects

Innovation - Using Objects (Week 2)
Meena Annamalai

Week 2 Blog Post

Code.org Lessons 6-15 (rest of Unit 1)

Individuals show evidence of completing Code.org through Section 15 or beyond. Create a Fastpages blog complete with Screen Grabs that highlight key learnings.
Discuss creating and Using Objects
Discuss extends

Code.org Notes

Using Objects Hacks

Built a console with our team

Included code from rest of team, incorporated GPA Calculator, added an Electric Force calculator for AP Physics

Team Console Repo
Team Console Code

Frontend Menu

Frontend Menu

Issues to fix

GUI on WSL

Issue with xhosts

Score: 2.7+/3

Did the code.org lessons and reflected on them
Worked with your team to create a team console and adding code
Went above and beyond by making a physics calculator and frontend menu


adding EEG-ITNET model

adding the model of EEG-ITNet

@GhBlg can you add tests as we do for other models? 🙏 @GhBlg

Hello @GhBlg,
Nice addition to the library! I made some changes to make the review easier, let's wait for someone more senior on the team to review and request some adjustments!
Thank you very much for your work!

My pleasure!
Thank you very much for your help!

Thank you very much for your help and your review, the code is way better now :blush:  !

@GhBlg great job! Thanks for that! I think we may have a second iteration (after my review) to make it perfect, if you don't mind! 😄
Two things for now:

It would be easier for me to review if you can take a look at checks that happen in this PR thread - especially flake8 for now. If you now look at the changes in this PR you can see some errors from flake8. It would be awesome if you can fix that.

You can also resolve the comments that you have solved so it is easier for you to know what is still missing and for us to review.

If you have any questions, don't hesitate to respond under my comments! :)

Thank you for your reply ! I will try to fix the current issues.

Hey @GhBlg,
Hope you don't mind, but I added one more test.

yeah sure ! thank you for adding it !

I am very glad for helping to contribute in this great library ! Thank you very much @agramfort @sliwy  @bruAristimunha  🙏

@agramfort, can you apply the merge when the tests are done?

@agramfort, can you apply the merge when the tests are done?

Looks like codecov/project has crashed or enter in loop.

@GhBlg can you just add an entry with your contribution to the what’s new page ? So people know what you did for the project 🙏

In the page https://braindecode.org/whats_new.html @GhBlg

done 😊

thx @GhBlg

Thank you very much for the new model implemented, @GhBlg
Welcome to the library contributors list =) 🚀
Always feel invite to collaborate and suggest changes. Your participation is important for the growth of the library. Please let us know if you have ideas for more contributions to the library and need any help.
Many thanks for the reviews @sliwy and @agramfort 😄.

Thank you very much for helping me merging the model @agramfort  @bruAristimunha  @sliwy  ❤  ! I hope to continue adding more state-of-the-art contributions in the near future ! 😄


Not working with multi-carets

Subword features are not working when using multi line editing. Would be nice if that'd work, too! :)

Duplicate of #9


Implement new storage provider interop

GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_SdCard_Provider_SdCardControllerApiWrapper.cpp
function GetSectorMap, line 109, need to create an array? Let test to see.

SD card was turned into a generic storage provider. GetSectorMap was turned into a GetDescriptor function which returns a new object, which has arrays inside of it.

All have been implemented.


Preliminary execution

The WIP as promised.

@Alexander-Miller could you please change the commit's message to something other than WIP?
Maybe 'implemented basic decision table to fixture matching and execution'


Rearrange Timeline Layout

Overview
TL;DR
I didn't notice that the layout duplicated sides when reviewing this: #510 , so here is a fix for that.
Review

@crichID since you created #510
@hectorsector since you helped review #510

@beardofedu did you update services-web with this change? Or would you like me to do it?

@crichID I haven't done it yet, but I would love to see you do it as a refresher.

I haven't done it yet, but I would love to see you do it as a refresher.

@beardofedu let's hop on zoom tomorrow and make it happen :wink:

@crichID sounds good.


Close brace treated as admit

Goal False.
Proof.
  { idtac. }
Admitted.

Coqtail let's this go through as if } was admit. } but coqc gives the error Error: This proof is focused, but cannot be unfocused this way. Coqtail also gives this error for empty braces { }.

fyi coqide also lets this go through as if the close brace was an admit, and even colors the close brace orange.

I am looking at https://coq.inria.fr/refman/addendum/parallel-proof-processing.html?highlight=async bullet#proof-blocks-and-error-resilience but it is not clear to me whether the options there would help

It looks like it can be disabled with -async-proofs-tactic-error-resilience off.


Multi hook

we originally disable all https://github.com/turo/pre-commit-hooks in all repos, it will be good if you can turn it on in some other repos and see how it works

This repo was originally used for kustomize to check our deployments. Since we're repurposing it, I doubt those repos that commented it out will be useful. The good news is that we can add any hooks we want now that there's a working framework!


Track tracing and Region segmentation buttons do not work on M1

They basically don't exist as buttons to be clicked.

Not a bug, these only appear when data is loaded.


NetworkImage won't load firebase images

I have tried to fetch firebase image and show it in NetworkImage in my Flutter Web app but it won't load the image and shows this error:

exception was thrown: ImageCodecException: Failed to load network image.

I am using CanvasKit renderer
this is the code i've used:

class ItemCard extends StatelessWidget {
  ItemCard({super.key, required this.item, required this.onItemCardTap});
  Map<String, dynamic> item = {};
  Function() onItemCardTap;

  @override
  Widget build(BuildContext context) {
    return Consumer<BasketItems>(
      builder: (context, basketItems, child) => InkWell(
        onTap: onItemCardTap,
        overlayColor: MaterialStateProperty.all(Colors.transparent),
        child: Card(
          elevation: 10,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius10.all,
          ),
          child: Container(
                    width: double.infinity,
                    height: 135,
                    decoration: BoxDecoration(
                      borderRadius: BorderRadius10.all.copyWith(
                          bottomLeft: Radius.zero, bottomRight: Radius.zero),
                       image: DecorationImage(
                           alignment: Alignment.topCenter,
                           fit: BoxFit.cover,
                           image: NetworkImage(
                             item['imageId'],
                           ))
                    ),

               ),
        ),
      ),
    );
  }
}

This is the image

 flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 11.7.1 20G918 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.74.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!

 flutter --version
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (3 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0

Hi @YawarOsman, what you're running into is a CORS issue. Kindly see https://docs.flutter.dev/development/platform-integration/web/web-images#cross-origin-images & https://docs.flutter.dev/development/platform-integration/web/web-images#host-your-images-in-a-cors-enabled-cdn and try to follow the instructions to see if you're able to resolve your issue.
Thank you

Hi @YawarOsman, what you're running into is a CORS issue. Kindly see https://docs.flutter.dev/development/platform-integration/web/web-images#cross-origin-images & https://docs.flutter.dev/development/platform-integration/web/web-images#host-your-images-in-a-cors-enabled-cdn and try to follow the instructions to see if you're able to resolve your issue.
Thank you

I think the instructions isn't clear enough for me, could you please give me some explanation to resolve it? I'll appreciate you

Hi @YawarOsman, kindly see https://firebase.google.com/docs/hosting/full-config#headers for how to set the headers in your firebase.json file.
Kindly let me know if it helps.

I've set the header inside my firebase.json but it still don't load the images.
This is my firebase.json file:
  "hosting": {
    "public": "build/web",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "headers": [ {
      "source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
      "headers": [ {
        "key": "Access-Control-Allow-Origin",
        "value": "*"
      } ]
    } ]
  }
}

it is fixed thank you so much


No lifetime validation when consuming transient services in singletons

The default dependency injection container offers validation to guard against consuming scoped services in singleton services. However, this validation is not executed for transient services where this problem is also applicable.
To Reproduce
Steps to reproduce the behavior:

Using ASP.NET Core 2.1.5
Create singleton service FooService
Create transient service BarService
BarService gets injected but is turned into a singleton because FooService is singleton

A gist for completeness: https://gist.github.com/henkmollema/1d75be0116fb8da80fded14dbebe81eb
Expected behavior
A similar exception when BarService would be a scoped service:

InvalidOperationException: Cannot consume scoped service BarService from singleton FooService.

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


feat: adjust masks and affinities for segmentation

These are some functions and specs that I used recently to adjust masks and affinities ahead of watershed and agglomeration. They will likely be useful for other segmentations. See commit messages and docstrings for more details. If these look reasonable, I'll add tests.

Adding the methods and specs I used to adjust Lee fly CNS affinities.


Add support for go-logr

Would be nice to have a plugin that supports https://github.com/go-logr/logr so it can be used with kgo.WithLogger

I'd be open to have this in a plugin at /plugin/klogr perhaps. Writing logger plugins is pretty small, if you want to take a stab (otherwise, I'm not sure where this particular issue falls on my priority list 😅).

Sounds good. And yea myself or one of my co-workers will contribute within the next few weeks if you don't get to it first :)

Is #356 what you're thinking?

Yup that is perfect


Fix extraneous scrollbar

In Chrome 39.0.2171.65 (64-bit) and Chrome 41.0.2272.89 m
sometimes in splitbars there is an artifact, which is a scrollbar
squished beyond recognition, which shouldn't be there.
More often seen if adding CSS
.ui-splitbar { border: thin solid grey; }

This commit removes that scrollbar by overflow.

This might be related to https://github.com/angular-ui/ui-layout/issues/118
Can you get a screenshot of the artifact?

Landed in 051b16408646b7bbd4710a83f0b4311e37f01a5a
Thanks!


How to know if a process has completed?

The second place where scripting module updates has fallen down is knowing when a process has completed.  For example, we spin up a new multidev environment for applying and testing updates before merging them in to master branch for deployment through dev, stage and prod.
After running terminus site create-env we get a success message, but if we jump right then into terminus drush up the drush command will fail because the environment is not yet fully provisioned.  Is there a way to know via Terminus if a process like create-env has completed instead of having to log in to the dashboard and look there?  Part of the point of Terminus as I understand it is to prevent the need to log in to the Dashboard for common tasks.  terminus site jobs does not seem to provide a clear way to know if the job I just triggered is running or has completed.  Should we check that every 5 seconds and look for a certain job and SUCCESS in the status column?
Thanks!

Hey you'd want to use terminus site jobs to check the status of a job.  --json will probably be helpful.  Here is how I was doing it in terminus 1.0 (where --json wasn't available).
/**
 * Check for completion of a job
 *
 * @param $slot
 * @param $uuid Either the source or target site uuid
 * @param int $poll
 * @return bool
 */
function check_psite_jobs($slot, $uuid, $poll = 60) {
  global $drush;

  $psite_jobs_cmd = "$drush psite-jobs $uuid --slot=$slot";
  print $psite_jobs_cmd . "\n";

  $complete = FALSE;
  $i = 0;
  while (($i < $poll) && ($complete == FALSE)) {
    exec($psite_jobs_cmd, $output, $return);
    $date_now = date_now_rfc822();
    $date_min_ago = date_min_ago($date_now);
    if ($i > 19) {
      print "==> Jobs on Pantheon might backlogged. (Check $i of $poll) <==\n";
    }
    print "\n$i: Checking for $slot between $date_min_ago - $date_now...\n";
    // ensure output is on one line. since psite-jobs uses a console table
    // (and presently there is no --json option) the date will not appear on
    // one line unless the user's terminal is > 103 columns!
    $out = implode(" ", $output);
    // also look for $date_min_ago on off chance job started at 12:59:59 and $date_now is 13:00:00
    if ((strpos($out, 'Y          SUCCESS') !== FALSE) &&
      ((strpos($out, $date_now) !== FALSE) || (strpos($out, $date_min_ago) !== FALSE))
    ) {
      print "\nMatch:\n\t$out\n\n";
      $complete = TRUE;
      return TRUE;
    }
    print "No match: $out\n";
    unset($output);
    unset($out);

    sleep(3);
    $i++;
  }

  // Stop trying after $poll attempts
  if (($i == $poll) && ($complete === FALSE)) {
    print "\nError: We never found this job: $slot\n\n";
    print wordwrap("Check this site's dashboard to see if the job has run. If it hasn't there might be a backup in the Pantheon job queue. When you see the job complete on the dashboard, return run this script again beginning with the next step.\n", 80);
    exit(1); //TODO: handle return false
  }
}

In the interactive command, we'll poll the status of the "workflow" ("tasks" are deprecated  nomenclature now) for you. Though I think you're right that the json output flag sidesteps that polling.
I'll take a look at whether how/if we expose a command for checking workflow status and see how/if we can chain together the two commands to get what you want.
Another idea is to have a --wait flag or something that will function similarly to the interactive version, not exiting until the workflow has completed. I need to look into it.

I am completely wrong in how the terminus site create-env command works. In the most-recent version, the command will not exit until the the full operation has finished (completely opposite to what I described above).  So it already implicitly 'waits' for completion (and there is not currently a way to not wait).
So if the command exited successfully but the environment is not been fully ready, that's a bug on our side. Are you using the latest Terminus version?

At the time that I filed this ticket, the latest version was 0.4-beta, and that's what I was using.  Here's the relevant excerpt from the bash script where I ran into this issue:
	echo "Creating multidev hotfix-up enironment..."
	terminus site create-env --env=${MDENV} --from-env=live --site=${SITE}

	echo "The URL for the new environment is http://${MDENV}-${SITE}.gotpantheon.com/"

	echo "Switching to sftp connection-mode..."
	terminus site connection-mode --env=${MDENV} --site=${SITE} --set=sftp

	read -p "Wait a few minutes for the new environment to be fully setup, then hit [enter]." y

	echo "Running 'drush up --no-core'..."
	terminus drush up --strict=0 --no-core --env=${MDENV} --site=${SITE}

When I ran into the problem, the read commnd did not exist between terminus site create-env and drush up.  The script would start to run the drush up command after the the create-env command, but the new environment's db and other pieces would not yet be fully provisioned.  This would cause drush up to fail.  As a result, I added in the read command and instructed users to then login to the Pantheon Dashboard to verify when the new environment is fully deployed before telling the script to continue with the update process.
Bensheldon, I'm assuming by latest version you mean 0.5.1.  I will upgrade to that and see if I get the same issue.
Thanks!

Looks like it worked this time, but it also looks like two attempts were made to run drush up when the first attempt failed.  Here's the output (I changed a few identifiers to keep it anonymous):
Running drush up --strict=0 --core  on fake-site-hotfix-up
Warning: Permanently added the RSA host key for IP address '[<IP_ADDRESS>]:2222' to the list of known hosts.
Could not login with user ID #0. This is typically caused by             [error]
importing a MySQL database dump from a faulty tool which re-numbered
the anonymous user ID in the users table. See
http://drupal.org/node/1029506 for help recovering from this
situation.
Running 'drush updb'...
Running drush updb -y --strict=0  on fake-site-hotfix-up
No database updates required                                           [success]
'all' cache was cleared in                                             [success]
/srv/bindings/9x274x9xx5x14c99999b40e9999999af/code#hotfix-up-fake-site.gotpantheon.com
Finished performing updates.                                                [ok]

Oops, ran that before updating to 0.5.1....
Things are broken again with the update to 0.5.1.  What's the preferred update method?  I've just been going to https://github.com/pantheon-systems/cli/wiki/Installation and copy-pasting the curl string at the top to update my version of Terminus.
Output:
Creating multidev hotfix-up enironment...
PHP Fatal error:  Cannot use object of type stdClass as array in phar:///usr/local/bin/terminus/php/Terminus/SiteWorkflow.php on line 56
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/terminus:0
PHP   2. include() /usr/local/bin/terminus:4
PHP   3. include() phar:///usr/local/bin/terminus/php/boot-phar.php:5
PHP   4. Terminus\Runner->run() phar:///usr/local/bin/terminus/php/terminus.php:34
PHP   5. Terminus\Runner->_run_command() phar:///usr/local/bin/terminus/php/Terminus/Runner.php:155
PHP   6. Terminus\Runner->run_command() phar:///usr/local/bin/terminus/php/Terminus/Runner.php:75
PHP   7. Terminus\Dispatcher\Subcommand->invoke() phar:///usr/local/bin/terminus/php/Terminus/Runner.php:68
PHP   8. call_user_func() phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/Subcommand.php:227
PHP   9. Terminus\Dispatcher\{closure}() phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/Subcommand.php:0
PHP  10. call_user_func() phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/CommandFactory.php:35
PHP  11. Site_Command->create_env() phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/CommandFactory.php:0
PHP  12. Terminus\Site->createEnvironment() phar:///usr/local/bin/terminus/php/commands/site.php:629
PHP  13. Terminus\SiteWorkflow->start() phar:///usr/local/bin/terminus/php/Terminus/Site.php:278
The URL for the new environment is http://hotfix-up-fake-site.gotpantheon.com/
Switching to sftp connection-mode...
Success: Successfully changed connection mode to sftp
Running 'drush up --no-core'...
Running drush up --strict=0 --core  on fake-site-hotfix-up
ssh: Could not resolve hostname appserver.hotfix-up.4fbfbe4a-b34d-4964-b35b-be4c9558fb82.drush.in: No address associated with hostname
Error: Failed to connect. Check your credentials, and that you are specifying a valid environment.
Running 'drush updb'...
Running drush updb -y --strict=0  on fake-site-hotfix-up
ssh: Could not resolve hostname appserver.hotfix-up.4fbfbe4a-x99x-9999-b35b-be4c9999xx99.drush.in: No address associated with hostname
Error: Failed to connect. Check your credentials, and that you are specifying a valid environment.

For some reason it returns success on changing to sftp mode even though the environment on which I attempted to change that mode doesn't exist.  I subsequently tried to manually run terminus drush up --strict=0 --no-core --env=hotfix-up --site=fake-site, but that failed with Drush command terminated abnormally due to an unrecoverable error.       [error].

@livewyer Hi, sorry that was totally my fault, I uploaded the wrong executable. Try installing again. You can always verify that you installed the right version with terminus cli version

Can you try again with the new version and confirm this is fixed. I'm worried there's still an issue with the drush up

@livewyer that last message was for you

@mikevanwinkle Just saw this.  Will test momentarily--need to switch gears from a different project.  Thanks

Looks like I was running 0.5.0.  It updated to 0.5.1 this time.  I know get a preformatted array of output on mutlidev commands like terminus site create-env and terminus site delete-env.
Also, looks like terminus drush still not working.  I got the same message Drush command terminated abnormally due to an unrecoverable error.       [error] on both drush up and drush updb.  I don't think this site has any available updates, but drush should fail like this when there's nothing to update.
Thanks

Ugh ... I'm not doing well today. That was sort of the same issue, I built
the executable with debug code in it :facepalm:. Try it again and you won't
get the preformatted code.
I'm looking into the drush up issue which appears unrelated.
On Tue, Feb 24, 2015 at 1:45 PM, livewyer<EMAIL_ADDRESS>wrote:

Looks like I was running 0.5.0. It updated to 0.5.1 this time. I know get
a preformatted array of output on mutlidev commands like terminus site
create-env and terminus site delete-env.
Also, looks like terminus drush still not working. I got the same message Drush
command terminated abnormally due to an unrecoverable error. [error] on
both drush up and drush updb. I don't think this site has any available
updates, but drush should fail like this when there's nothing to update.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/pantheon-systems/cli/issues/145#issuecomment-75853193
.

--
Mike Van Winkle
708-289-3136
<EMAIL_ADDRESS>http://www.mikevanwinkle.com
http://www.twitter.com/mpvanwinkle
http://www.facebook.com/mpvanwinkle
"All excellent things are as difficult as they are rare." -Spinoza

We just ran terminus site create-env --env=hotfix-up --from-env=live --site=tech2stalk
We visited the site in the browser after Terminus said the new environment had been created, but we got a Drupal install screen.  Looking in the Dashboard at the recent jobs, we see that it tried to create the new environment "hotfix-up" from "hotfix-up", instead of from live.  See attached screenshot to see what I'm talking about.
Filed this here instead of through the Support dashboard because we used Terminus to create the new environment.

I'm not sure this is a terminus issue, since I cannot replicate. There maybe something going on with your DB. Can you please open a ticket @livewyer

I'm closing this since I cannot replicate. If there is a bug or issue, it's going to be at the api/server level. Reporter is advised to open ticket.

Actually, to clarify, after testing again I was able to replicate but I'm still not convinced it's a terminus issue.

Will do.  Also, please let us know when you get the drush up bug fixed.
Thanks

@livewyer disregard what I said previously, it was in fact a terminus bug. I'm patching this morning. apologies for the inconvenience. Feel free to close the ticket if you've already opened one.

I would close the ticket in Dashboard, except that now all links to tickets load a page with no content.

@livewyer this issue is now fixed in version 0.5.2 which was just released. Thanks for your patience.


FrozenError on Ruby 3.0.0

http gem 3.3.0 running on Ruby 3.0.0 seems to be causing FrozenError: can't modify frozen String: "" exception in the following case:
.../gems/http-3.3.0/lib/http/response/body.rb:52:in `force_encoding'
.../gems/http-3.3.0/lib/http/response/body.rb:52:in `to_s'
.../gems/http-3.3.0/lib/http/response.rb:92:in `flush'

I was checking the reason for this error and it sseems to be caused by the following lines:
https://github.com/httprb/http/blob/3-x-stable/lib/http/response/body.rb#L52
@contents   = String.new("").force_encoding(@encoding)
...
@contents << chunk.force_encoding(@encoding)

Also same pattern repeats in master so I believe that is also affected (but did not test):
https://github.com/httprb/http/blob/f4fb3369d030520e981eb891fb5dd25f8e0403d2/lib/http/response/body.rb#L51

Seems to already be fixed in 4.4.1. Closing issue.


Clear event list when page is refreshed

Todo:

[ ] Background thread notifies panel of content script disconnect
[ ] Events context in panel clears list when connection state (from Devtools context) changes

Fixed by #55


[Feature Request] Review mode: highlight additions/deletion of a remote branch

I’d like to see an easy way to see the diff of a (remote) branch compared to develop/master.
It would be just like the Pull Request view in Github/Bitbucket/Gitlab but within VScode.
Highlight would be similar to the (staged) changes is stock VScode.

@batisteo Does this meet your needs? Can this issue be closed?

Sorry, yes, I tried, thank you!
It works, but it would need a better UX for this workflow.


Having trouble with checkboxes in subItems updating on checkChanged and holding state after scroll

I've implemented an expandable and sticky header with a subItem. It collapses and sticks as I would expect when I've added items. However, when the subItem contains a checkbox(and I'm assuming I'd have the same problem with a button) I can't get the checkbox to save state after a scroll. I also am not sure what's the proper way to set the checkbox item or what to check against in the bindViewHolder. I believe I've set up my equals/hash correctly(generated).

How can I set the checkbox item properly? Via the subItem ViewHolder and have a setOnCheckedChangeListener? Then what does the listener actually set?

In the bind, I can't seem to get access to the actual dataList to see if the dataList(position).checkBox is set. How can I see if the actual subItem checkbox is set such that I can set the viewHolder's checkbox?

Thanks.
Edit: I think i have it working, but still would like to know best practices. In the subItem's viewHolder, for the onCheckedChangedListener, I'm doing:
((SubItem) adapter.getItem(getAdapterPosition))).getCheckBox().setSelected(isChecked);
And in the bind, I'm doing:
holder.mCheckBox.setChecked(((SubItem) adapter.getItem(position).getCheckBox().isSelected());

@james-nicholas, yes, that is the solution to set and get the value for an item. Do you need something else?

Thank you.
If you'll allow me one more:

What's the desired way to get that checkedChanged callback to the parent fragment? I have the itemView onClick callback working fine and get notified in the fragment. Would I somehow make use of the addListener feature I've read about here? I only want to be notified when the checkbox is clicked.

@james-nicholas, in your case checkBox onChange is equivalent to the onClick of the item.
However, to answer at your question as general rule, you can extend the adapter and add inside there a public field as interface for the new listener. Then you implement the methods of this interface in the fragment; next add this fragment to the listeners. The custom listener callback will be triggered from the inside of the view callback.
I think you can check the Wiki about this customization (see Setting-Up Advanced).