Error reading directory /sys/devices/platform/ocp

I just installed octalbonescript and can't get it to work.
Even the following barebone program:
 var obs = require('octalbonescript');

throws
Error reading directory /sys/devices/platform/ocp

/var/lib/cloud9/node_modules/octalbonescript/lib/bone.js:182
                throw new verror(err2, 'Unable to read from CapeMgr slots');
                      ^
VError: Unable to read from CapeMgr slots: ENOENT, no such file or directory '/sys/devices/platform/bone_capemgr/slots'
    at onReadSlots (/var/lib/cloud9/node_modules/octalbonescript/lib/bone.js:182:23)
    at readSlots (/var/lib/cloud9/node_modules/octalbonescript/lib/bone.js:176:13)
    at Object.module.exports.load_dt_sync (/var/lib/cloud9/node_modules/octalbonescript/lib/bone.js:167:9)
    at Object.<anonymous> (/var/lib/cloud9/node_modules/octalbonescript/index.js:31:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Shouldn't we be looking at bone_capemgr.9, not bone_capemgr? ocp is also nonexistent on my operating system, as mentioned above. Do I need to run some setup command prior to using OBS?
I'm using a fresh install of the most recent BBB OS.

Hi, it's likely that you are running kernel 3.8. New OBS v1.1.1 was released yesterday to be compatible with kernel 4.1. If you have to use 3.8 kernel, you should use v1.0.x of OBS. You can also upgrade to latest 4.1 kernel by installing debian 8.2 as described in readme.


Add Span.updateName().

Addresses #20

Addresses #23

Added a small note about sampling re-evaluation depending on the actual implementation. Don't know if this clear/enough. Let me know.


Question about training on LEVIR-CD

Hi , I found when i load the pretrained model（trained on ade160k dataset）, the keys of checkpoint are not matched.
The pretrained model:

The self.net_G:

So the keys of pretrained model are all missing keys.

Hi @Youskrpig
This is fine. With the pre-trained model we only initialize the weights of convolution and attention modules to speed up the training process. Because of this reason keys were not saved during the pre-training process. In addition, I made couple of small adjustments to final ChangeFormer network which made pre-trained model slightly different from final ChangeFormer architecture. Therefore, when we initialize ChangeFormer with the pre-trained model on ADE, strict=false is used to ignore weights with different sizes.
Hope this answers your question.
Chaminda.

Hi @Youskrpig
This is fine. With the pre-trained model we only initialize the weights of convolution and attention modules to speed up the training process. Because of this reason keys were not saved during the pre-training process. In addition, I made couple of small adjustments to final ChangeFormer network which made pre-trained model slightly different from final ChangeFormer architecture. Therefore, when we initialize ChangeFormer with the pre-trained model on ADE, strict=false is used to ignore weights with different sizes.
Hope this answers your question.
Chaminda.

Sorry, the keys of state_dict of pretrained model is startswith "backbone" or " decode_head", but the encoder and decoder name of self.net_G  are "Tenc_x2" and 'TDec_x2". It means the weight of all keys will not be loaded.

Now I see your problem. I think I have uploaded pre-trained weights of my very early model and I couldn't find the correct version now. For now, you can start with the pre-trained model on LEVIR-CD or WHU-CD as the starting point. Will that help?

Hi @Youskrpig
Now I see your problem. I think I have uploaded pre-trained weights of my very early model and I couldn't find the correct version now. For now, you can start with the pre-trained model on LEVIR-CD or WHU-CD as the starting point. Will that help?

Thanks for your reply.

I encountered the same problem,and starting the pre-trained model on LEVIR-CD doesn't seem to work either.How can I solve it?Your help would be greatly appreciated!

Hi @chengtianxiu
Can you elaborate more on this issue? Starting from pre-trained weights on LEVIR-CD works for me. Can you please give more details on why it is not working?
Best
Chaminda

Hi @chengtianxiu
Can you elaborate more on this issue? Starting from pre-trained weights on LEVIR-CD worked for me. Can you please give more details on where it is not working?
Instead, you can initialize the model randomly too.
Best Chaminda

Sorry I didn't express myself clearly. When I used "run_ChangeFormer_DSIFN.sh" in scripts folder to train on DSIFN-CD, I set the pre-trained model to “CD_ChangeFormerV6_LEVIR_b16_lr0.0001_adamw_train_test_200_linear_ce_multi_train_True_multi_infer_False_shuffle_AB_False_embed_dim_256/best_ckpt.pt” which you provided. The training process went very well,and I saved the model I trained.
But When I used "eval_ChangeFormer_DSIFN.sh",I set "checkpoints_root" and "checkpoint_name" to the model I trained. The displayed result is "raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(,  RuntimeError: Error(s) in loading state_dict for ChangeFormerV6: ".  I have tried changing line 70 in models/evaluator.py to "self.net_G.load_state_dict(checkpoint['model_G_state_dict'],False)".Although no errors are reported, the model is completely useless for change detection.I would like to ask how to solve this, which is the same as the problem Youskrpig encountered.
In addition, During the process "Train on  LEVIR-CD/DSIFN-CD",if we set “split_val=test",can we see the test results without having to "Evaluate on LEVIR/DSIFN-CD".
Your help would be greatly appreciated
chengtianxiu

!

Hi @chengtianxiu
Sorry for the late reply. I am happy that you were able to train the ChangeFormer on the DSIFN dataset. Are you sure that you set the correct path/name of the pre-trained model? Can you please double-check? If you are still getting this error can you copy-paste the exact error details here, so that I can look into it?
Notes: settings strict=False when loading the state dictionary won't help during the inference process because we want to load all the weights.
I am wondering how the state dictionary changed when you go from the training to the testing phase if you specified the path to correct the pre-trained model?
Best,
Chaminda

@chengtianxiu
Also pls make sure that you specify the correct model parameters (i.e., embedding dim) in the script file.

@chengtianxiu Also pls make sure that you specify the correct model parameters (i.e., embedding dim) in the script file.

Okay, I will check again carefully, thank you very much for your answer！


dependabot stuck at 'Checking now' for hours

https://github.com/blueedgetechno/win11React/network/updates
there has been problem with dependabot on this particular repo previously too #5112
the link to dependabot file https://github.com/blueedgetechno/win11React/blob/master/.github/dependabot.yml
happens with this particular repo only (even if i fork this repo and then enable dependabot on the fork it works there)

yes it is fine now thanks a lot

https://github.com/blueedgetechno/win11React/blob/master/.github/dependabot.yml
we updated the dependabot.yml file 2days ago but it seems that dependabot is still using older config & trying to access that secret which is no longer required

sorry nvm

firstly i am sorry for closing & reopening multiple times

we no longer require secret we updated the dependabot config 2days ago but still it is using the older config and saying secret could not be read

I ran another resync and it cleared out the deleted registry. We're looking into why this is happening, thanks for reporting it!

I manually ran 'Check for updates'

it worked this time thank you

I am experiencing this hanging forever

I am experiencing this hanging forever

I am facing the same issue! its stucked for a days in checking now state. any help here?

Happening for me still

hello guys!
I'm also facing the same issue! It's stuck on checking now. I tried to making a small change to the dependabot.yml, but still happening. 🙇♀ Is there any workaround that I could try?


[Request] Please provide index.d.ts for typescript

Dear contributors.
I found this repo yesterday and am thinking this is exactly what I want.
However, since I am using the Typescript and cannot use the component without suppressing type error.
To use your component, I would like you to provide the typedef as a part of the code provided.
If you do not mind me contributing, I can make PR by myself in this weekend or next week.
Best Regard
Reference:
Typescript Official Document: Modules .d.ts

Hey @csohei! How's it going? Yes, adding ts support was on my routemap, but couldn't find the time yet to work on it. If you want to contribute go ahead! I'd gladly review your PR and help you with anything you need.

Any update on TS support?

+1

+1

Please check out the PR #99 and feel free to improve if necessary.


Provide something like web3's estimateGas

What is the problem that you're trying to solve?
I am trying to determine what to set as a gas limit so that my calls do not hit the gas limit unnecessary.
Describe the solution you'd like
I think something like web3's estimateGas should be provided so that I could call it to get the gas estimate. I could then use that.
Describe alternatives you've considered
Currently this looks like manual trial & error and then I hard-code the value in the program. This seems very fragile and also not future proof.

We have it. See https://oasis-labs-oasis-client.readthedocs-hosted.com/en/latest/gateways.html#eth-estimategas.

Interesting. But how does one obtain "The transaction call object"? Is this documented anywhere and I missed it?

Oh, structure of that is so strange. So the bullet list is under the "The transaction call object", the contents of "The transaction call object"? To me it looked like the list of additional arguments.
How does one specify which service method to call and arguments to that method? Maybe some example of how this could be done would be useful?


Uncaught Error: listen EADDRINUSE /tmp/voicecode-atom.sock

[Enter steps to reproduce below:]
I get this error almost every day, I don't know what triggers it. I just fired up Atom and there it was. spring, sprinkler, wordneck,... stop working.
Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: voicecode package, v0.10.2
Stack Trace
Uncaught Error: listen EADDRINUSE /tmp/voicecode-atom.sock
At events.js:141

Error: listen EADDRINUSE /tmp/voicecode-atom.sock
    at Object.exports._errnoException (util.js:734:11)
    at exports._exceptionWithHostPort (util.js:757:20)
    at Server._listen2 (net.js:1158:19)
    at listen (net.js:1203:10)
    at Server.listen (net.js:1284:5)
    at /Users/David/.atom/packages/voicecode/lib/voicecode.coffee:51:29
    at FSReqWrap.oncomplete (fs.js:77:15)

Commands
     -0:12.6.0 voicecode:connect (atom-workspace.workspace.scrollbars-visible-when-scrolling)

Config
{
  "core": {}
}

Installed Packages
# User
voicecode, v0.10.2

# Dev
No dev packages

When this happens are there multiple atom windows open? or just a single window?

Yes, multiple. Also, if when I open Atom there's just one window spring and the other commands work. If I open other windows they also work. But if when I open Atom there's more than one window the commands only work in one of them, usually the one that was at the front at the beginning.

I fixed the issue - it should now work properly with multiple windows, and automatically send the commands to the active window, without requiring you to run the "connect" command each time you switch to a different window. Make sure to update the package in Atom.

Everything seems to be working fine now. Thanks, man.

I'm still getting the error alert. Everything is working as intended now, but every time I open Atom for the first time after starting up the computer I get the error alert. It doesn't happen if I just quit Atom and then open it again.

I'm getting the same error alert.  Here's what I see when I open Atom:
[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.2
System: Mac OS X 10.10.4
Thrown From: voicecode package, v0.11.0
Stack Trace
Uncaught Error: listen EADDRINUSE /tmp/voicecode-atom.sock
At events.js:141

Error: listen EADDRINUSE /tmp/voicecode-atom.sock
    at Object.exports._errnoException (util.js:734:11)
    at exports._exceptionWithHostPort (util.js:757:20)
    at Server._listen2 (net.js:1158:19)
    at listen (net.js:1203:10)
    at Server.listen (net.js:1284:5)
    at /Users/robertschaaf/.atom/packages/voicecode/lib/voicecode.coffee:53:29
    at FSReqWrap.oncomplete (fs.js:77:15)

Commands
     -0:02.2.0 voicecode:connect (atom-workspace.workspace.scrollbars-visible-when-scrolling)

Config
{
  "core": {}
}

Installed Packages
# User
voicecode, v0.11.0

# Dev
No dev packages

"Spring" and other commands are working though.

Hmm, just installed the voicecode package in Atom for the first time, and I'm seeing this too.
I only have a single window open.

@dmose but everything works after that, right?

Good question.  On subsequent startups, I haven't been seeing it, and I'm still brand new to Atom.

I believe this should be fixed now

it certainly appears less now, but unfortunately I'm still having this issue :(


[Wilt Chamberlain] Jinja's StrictUndefined is too noisy

This is a catch-all ticket for issues around the change to using StrictUndefined in the v0.14.0 prerelease.
Issues:

Warnings are generated for every evaluation of an undefined variable, which can be super noisy (and not super helpful)
The return value from load_result() is treated as undefined
The results context variable in the on-run-end hook context is treated as undefined
This appears to somehow generate other types of warnings, eg:

-- this code results in the warning below
{{ "," if not loop.last }}

Compilation warning in model my_model (models/my_model.sql):
        the inline if-expression on line 1 evaluated to false and no else section was defined.

Questions to answer:

should we make the StrictUndefined warning code smarter about how many times it warns for the same issue?
what can we do to reduce the noise around some classes of very common warnings (see above)
should we disable this (or hide it behind a flag) for v0.14.0, then revisit for the future?

The return value from load_result() is treated as undefined

This is because during parse-time, load_result() is guaranteed to return None. We can either mangle load_result to return something like:
agate_table = dbt.clients.agate_helper.empty_table()
AttrDict({status: '', data: dbt.clients.agate_helper.as_matrix(agate_table), table: agate_table})

in the case where name isn't in sql_results.

should we make the StrictUndefined warning code smarter about how many times it warns for the same issue?

yes, 100% - probably just cache the text string of the warning on a per-run basis sort of like we do with warnings.

The results context variable in the on-run-end hook context is treated as undefined

Looking into this next - maybe the same as the issue with load_result? That would make the never warn during parsing thing more compelling!

I'm actually unable to reproduce the issue with results:
$ cat dbt_project.yml
name: 'minimal'
version: '1.0.0'
profile: 'local'
on-run-end:
- "{{ log('Got ' ~ results | length ~ ' results', info=True) }}"
$ dbt run
Running with dbt=0.14.0-a1
Got 0 results
Found 3 models, 5 tests, 0 snapshots, 0 analyses, 211 macros, 1 operations, 1 seed files, 1 sources
12:46:07 | Concurrency: 2 threads (target='default')
12:46:07 |
12:46:07 | 1 of 2 START view model dbt_postgres.x............................... [RUN]
12:46:07 | 2 of 2 START view model dbt_postgres.z............................... [RUN]
12:46:07 | 1 of 2 OK created view model dbt_postgres.x.......................... [CREATE VIEW in 0.12s]
12:46:07 | 2 of 2 OK created view model dbt_postgres.z.......................... [CREATE VIEW in 0.11s]
12:46:07 |
12:46:07 | Running 1 on-run-end hook
Got 2 results
12:46:07 | 1 of 1 START hook: minimal.on-run-end.0.............................. [RUN]
12:46:07 | 1 of 1 OK hook: minimal.on-run-end.0................................. [OK in 0.00s]
12:46:07 |
12:46:07 |
12:46:07 | Finished running 2 view models, 1 hooks in 0.56s.

For the results issue, it's a problem with the fact that compile compiles all executable nodes (which hooks are) - we should add a special case for that, and probably should have when we added results to the on-run-end hook context. The same goes for schemas.

see #1389 #1559


Sheets updates

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@880d2d8). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   61.28%
=========================================
  Files             ?       68
  Lines             ?     2296
  Branches          ?        0
=========================================
  Hits              ?     1407
  Misses            ?      889
  Partials          ?        0

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 880d2d8...96c7744. Read the comment docs.


feat: global mod bypass

see commit message

Gave it another shot, should be cleaner now. There's probably a way to even clean it up more, but should be fine.

Please ship when you're up if you can. We can add a test later, but the api should not change much.


Should be able to cast null type into array

the array should be nil

That's already supported, isn't it?
genji> SELECT CAST(NULL AS ARRAY);
{
  "CAST(NULL AS ARRAY)": null
}

Could you give me more details?

when i do struct scan, if a field of the struct is an array - while value in the db is nil this error will be created. This should be a good first issue

// Text: decodes a JSON array, otherwise fails.
// Any other type is considered an invalid cast.
func (v Value) CastAsArray() (Value, error) {
	if v.Type == ArrayValue {
		return v, nil
	}

	if v.Type == TextValue {
		var vb ValueBuffer
		err := vb.UnmarshalJSON([]byte(v.V.(string)))
		if err != nil {
			return Value{}, fmt.Errorf(`cannot cast %q as array: %w`, v.V, err)
		}

		return NewArrayValue(vb), nil
	}

	return Value{}, fmt.Errorf("cannot cast %s as array", v.Type)
}

If value is nil cannot be cast to array - code in file document/cast.go

I think the issue comes from document.StructScan, not from the cast function.
StructScan should be more forgiving when scanning null values

@asdine structScan is calling the cast function - thats why i linked it - should help the person who will fix it!


Task: Dimensionality reduction

Description
Implementing an interface for dimensionality reduction
Tasks

[ ] PCA
[ ] tSNA
[ ] UMAP

Freeform Notes
No response

hi, @900miles ! just a kind reminder: dimensionality reduction is supposed to be included in the release 0.5.0 (this Friday)

Closed by #81


Funding 2021: System for integration testing within the astropy project

This is a project proposal to work on the ecosystem integration testing, a piece of infrastructure that is currently missing.

The file is missing .md extension, so GitHub isn't rendering it. FYI.

I think this would be a very useful improvement to the infrastructure. The scope is not quite clear to me yet – the (few) affiliated and coordinated packages I am somewhat familiar with have quite different testing regimes. So is one part of the project to encourage common testing standards, e.g. having tests both against astropy-dev and stable release (and LTS, perhaps)? And would that initially encompass a group of "pioneering" packages, or all willing to participate?

Yes, I've already advocated for those testing standards for the years, and hope that I have parts in getting at least some of the ongoing astropy-dev testing established as well as broadening the RC testing in the wider community.
This project would make it mandatory to test with astropy-dev, stable, and minimal (==LTS?, hopefully we can standardise that, too, though I think it's reasonable to leave some leverage for coordinated packages to support older than LTS if they want to) for coordinated packages and encourage affiliated and other packages (especially that no build is necessary now using the nightly wheels).
And more importantly would also work out a way to close the loop, report back to astropy if/when there are any new regressions downstream. Working out the details would be part of the project (e.g. I could envision a CI job that is triggered by labels to test the downstream main branch for a PR. E.g. a PR with nddata label would run downstream ccdproc tests to ensure changes in e.g. CCDData don't break anything downstream, or a more realistic scenario, e.g. changes in coordinates are not breaking specutils. )
I would be happy with a system that is extended to well maintained downstream libraries with a team, rather than a sole maintainer, e.g. sunpy, gammapy, ones with a very quick feedback cycle, but would not think such a system would be suitable to extend to all the affiliates.
Basically have to minimize the noise for the maintainers for astropy core to see only real regressions they are responsible for rather than downstream issues.

Please react to this comment to vote on this proposal (:+1:, :-1:, or no reaction for +0)

Congratulations @bsipocz !  This proposal has the support of the Astropy Community and has been awarded $14,400 to implement.  This PR will be merged, and you can contact<EMAIL_ADDRESS>or reach out on Slack to arrange financial details (see more details in the email to astropy-dev).


Overpayment missing reference field

Hi
Overpayments seem to be missing the reference field.
(Similar to a previous issue for Prepayments, #139).
[edit]
Looks like there's still an issue with Prepayment references. The reference field appears to contain the prepayment number, while there's no actual field for the prepayment number and the real reference is missing.

@andrews05 - the API docs for Prepayment has the following ...
Reference | Returns Invoice # field. Reference field isn't available.

@andrews05 - reviewing the API docs for Overpayment, I don't see "Reference" as an available property.
So, is this an API feature request or are you calling out an error in our documentation as you see a reference field being returned in the Overpayment object?

Oh you're right, sorry I didn't even check that. There's already a suggestion on the uservoice for this: https://xero.uservoice.com/forums/5528-accounting-api/suggestions/7773063-implement-support-for-the-reference-field-in-the-n


Write CRUD acceptance tests

@rtablada has added some basic infrastructure for tests.
Let's write tests that exercise CRUD operations via HTTP & the bulk operation endpoint
Essentially we'll make HTTP requests and assert their responses look as expected

Solved with #196, #197, #198, #199, #201.


Document discussions we've had about stream processing

This documents some stuff we discussed as a team a couple of weeks ago. I want to capture some of the decisions as the stories we're working on will be difficult to understand without some context.
I've attempted to draw what I think the data flow of this process will look like once we've made these changes. If part of this doesn't make sense, let me know, as I'm about to try implementing it...
This doesn't include any decisions about error handling and asynchronous processing. Some of Pablo's work in https://github.com/alphagov/content-performance-manager/pull/728 has touched on this but we're going to follow up on it later.
Rendered version
Trello: https://trello.com/c/m3vzLnR5/372-3-tech-debt-use-only-publishing-api-to-preload-items and https://trello.com/c/ZaHM1qZD/381-5-update-etl-to-handle-sub-pages-for-guides

@pmanrubia OK sounds good - I'll update this one to cover just the consuming from publishing api part.

@pmanrubia  I think I might have interpreted your comment as the opposite of what you meant 🤔
But I've come up with this:
https://github.com/alphagov/content-performance-manager/blob/723c6bdf34635b804dc9685f9900bc34aef64073/doc/arch/adr-009-consume-from-publishing-api.md
It now focuses on the refactor of the message handler, but I've included a short section about how it affects the multi-part stuff.
If you want we could move that section to a followup ADR?

It is fine, we can document all on this PR.


Adding a Main page

Project name
(Add project name over here)
Project link
(Provide project link over here)
Improvements suggested

can we make this as a home page by making grids of 22 projects .
If this kind of changes are possible to make, then I would like to work on it.

As a gssoc'22 participant, I am ready to take on this
please allow me, Thankyou

Kindly assign this issue to me


version 5.1 got detected

the same issue， got caught

https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/439


12 add simple flow properties

New features :sparkles:

option for recovery factor by fluid density
new, extra simple fluid properties

Documentation :memo:

JOSS paper draft
Improved example for density_standing
add automatic testing badges to README

New tests :test_tube:

test recovery factor from fluid density

Codecov Report

Merging #15 (f7aeddc) into main (1cf17f2) will increase coverage by 1.17%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   54.94%   56.12%   +1.17%
==========================================
  Files          13       13
  Lines         728      727       -1
==========================================
+ Hits          400      408       +8
+ Misses        328      319       -9

Impacted Files
Coverage Δ

src/bluebonnet/fluids/oil.py
100.00% <ø> (ø)

src/bluebonnet/flow/flowproperties.py
33.89% <16.66%> (-1.96%)
:arrow_down:

src/bluebonnet/flow/reservoir.py
82.35% <100.00%> (+12.65%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[bug]: Typo in otel-trace-raw.md

Description
Describe what this change achieves.
This change fixes a typo tradeId -> traceId
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
N/A
Checklist

[ X] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks, @arun-annamalai !


Add x-mirage 1.05.2

1.05.2 is a free version of x-mirage. License key can be obtained here

The version on that website is advertised as 1.02.9, not 1.05.2. In addition, this doesn’t appear to be free at all, just a temporary promotion.

Fixed

About free version and promotion:
Yup it's a promotion, but that's promotion available at least from April, 2014. Unfortunately, license key obtained in this way accepted only up to 1.05.2.
Answer from X-Mirage support about upgrading my license key for latest version(1.06.6)

Hi,
Thanks for your feedback.
Free versions can't enjoy free major update.
You need to purchase a license if you want to use the latest version.
Or you can download the version you got here:
http://dl.x-mirage.com/x-mirage(1.05.2).release.dmg
Should you have any question, please feel free to contact us.
Sincerely Yours,
X-Mirage Support


Improved error messaging for faucets disabled during incentive / SIMS

The Chore
When we have chosen to restrict the volume of test assets in circulation during an incentive / SIMS on fairground, we currently display this "error" message to users trying to faucet the asset.

This chore is to update the language to explain why faucet is not available and sign post what someone can do to take part (so they are not put off / given a dead end) e.g. where to go to take part in the incentive (and get the test asset to deposit) or to another market which is not part of the incentive.
Tasks

[ ] Identify when this occurs
[ ] Come up with appropriate language / solution
[ ] Implement
[ ] Test

Additional details / background info

Think this has been fixed by one of Matt's recent PRs - check this

Can confirm this has already been fixed as part of a different PR
Changes were made to show a more friendly error message inline in the form


App loosing configuration after reboot

Hello, please i need help with the app, i have been able to login to it, set all requirements and block apps that really respond fine but the issue is that the configuration are lost after rebooting, all blocked apps are allowed, and even on the parent app the enable blocked button are automatically turned off after the reboot of the child phone, please help, thanks.

please provide the updated code , which login is working .


configure available attributes once

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request

It would be very useful if we could configure the bSwitch in a single file for all instances, using the available attributes.
For example:
if i can configure switch-on-text="yes" and switch-off-text="no" to a configuration file, every <bSwitch></bSwitch> in my application should have the yes/no label without writing it every time.
What do you think?

Thanks @andreash92.
Yes It's a good feature. I going to work on that but I don't promise that will be so soon because I am currently working on something else.


Issue with Add-On installation

I am using both Blender 2.79 with Python 3.5 and Python 3.6, somewhat after installing add-on, I am not seeing it inside the Add-On Preferences. Thus I cannot enable it and cannot see the IO import.
Any pointer? Thanks!

UPDATE: Ok, I found my mistake, I supposed to install just directly from "archive" not from the whole zipped Github.


Changing image location to cloud-bulldozer

One of the hammer templates was still using @mkarg75 's quay repo. This updates it to use cloud-bulldozer.

Results for minikube_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
0
00:01:47

test_ycsb
Fail
3
00:07:25

test_fiod
Pass
1
00:04:15

test_fs_drift
Pass
0
00:02:22

test_smallfile
Pass
0
00:03:02

test_pgbench
Pass
0
00:02:53

test_iperf3
Pass
0
00:03:10

test_sysbench
Pass
0
00:02:18

test_uperf
Pass
0
00:05:28

test_byowl
Pass
0
00:01:57

test_hammerdb
Fail
3
00:10:35

Results for kni_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
1
00:06:27

test_ycsb
Fail
3
00:14:58

test_fiod
Pass
0
00:07:38

test_fs_drift
Pass
0
00:02:33

test_smallfile
Pass
0
00:04:51

test_pgbench
Pass
0
00:03:25

test_iperf3
Pass
0
00:04:05

test_sysbench
Pass
0
00:03:54

test_uperf
Pass
0
00:07:30

test_byowl
Pass
0
00:04:30

test_hammerdb
Fail
3
00:11:05

Just FYI you changed the tag from "latest" to "master", that will break snafu hammerdb/ci_test.sh  which expects "latest".

Just FYI you changed the tag from "latest" to "master", that will break snafu hammerdb/ci_test.sh which expects "latest".

Thanks @bengland2 I'll swap it back.

Results for minikube_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
1
00:01:44

test_ycsb
Fail
3
00:09:32

test_fiod
Pass
1
00:03:55

test_fs_drift
Pass
0
00:02:21

test_smallfile
Pass
0
00:03:18

test_pgbench
Pass
0
00:02:52

test_iperf3
Pass
0
00:03:22

test_sysbench
Pass
0
00:01:54

test_uperf
Pass
0
00:05:27

test_byowl
Pass
0
00:02:01

test_hammerdb
Fail
3
00:10:45

even with K8S 1.16 instead of 1.17, I still get:
++ kubectl create -f tests/mssql.yaml
namespace/sql-server created
service/mssql-deployment created
error: unable to recognize "tests/mssql.yaml": no matches for kind "Deployment" in version "apps/v1beta1"

and the result as before is:
++ mssql_pod=
++ kubectl wait --for=condition=Ready pods/ --namespace sql-server --timeout=300s
error: arguments in resource/name form must have a single resource and name

I managed to catch the container while it was still running so I could get this, I think the CI should cat it to stdout:
[bengland@localhost snafu]$ ocmr rsh hammerdb-workload-0d0f769f-cl8vv tail -f /tmp/hammerdb.log
Hammerdb Log @ Tue Jan 14 19:04:07 UTC 2020
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Vuser 1:Error: the database connection to DRIVER=ODBC Driver 17 for SQL Server;SERVER=tcp:mssql-deployment.sql-server,1433;UID=SA;PWD=s3curePasswordString could not be established
Vuser 2:Error: the database connection to DRIVER=ODBC Driver 17 for SQL Server;SERVER=tcp:mssql-deployment.sql-server,1433;UID=SA;PWD=s3curePasswordString could not be established
command terminated with exit code 137

At this point I have no idea what I'm doing wrong since this is the K8S and kubectl version used in the CI, isn't it?

Results for kni_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
1
00:06:24

test_ycsb
Pass
2
00:16:46

test_fiod
Pass
0
00:07:16

test_fs_drift
Pass
0
00:03:50

test_smallfile
Pass
0
00:05:19

test_pgbench
Pass
0
00:03:32

test_iperf3
Pass
0
00:03:53

test_sysbench
Pass
0
00:02:40

test_uperf
Pass
0
00:06:41

test_byowl
Pass
0
00:04:04

test_hammerdb
Fail
3
00:12:50

@mkarg75 so looking at the ci output the hammer test runs, cleans up and then restart. That said, it never does the final echo success line in the test_hammerdb.sh script
...
00:26:01.491 + kubectl logs hammerdb-workload-0d4dd6df-j99gk --namespace my-ripsaw-test-hammerdb
00:26:01.491 + grep 'SEQUENCE COMPLETE'
00:26:01.491 + finish
00:26:01.491 + echo 'Cleaning up hammerdb'
00:26:01.491 Cleaning up hammerdb
00:26:01.491 + kubectl delete -f tests/mssql.yaml
00:26:01.491 namespace "sql-server" deleted
00:26:01.491 deployment.apps "mssql-deployment" deleted
00:26:01.491 service "mssql-deployment" deleted
00:26:01.491 + kubectl delete -f tests/test_crs/valid_hammerdb.yaml
00:26:01.491 benchmark.ripsaw.cloudbulldozer.io "hammerdb" deleted
00:26:01.491 + delete_operator
00:26:01.491 + kubectl delete -f resources/operator.yaml
00:26:01.491 deployment.apps "benchmark-operator" deleted
00:26:01.491 pod "backpack-0d4dd6df-s8g4h" deleted
00:26:01.491 pod "benchmark-operator-86c65dcfcf-z6wjp" deleted
00:26:01.491 namespace "my-ripsaw-test-hammerdb" deleted

@mkarg75 so I ran this on my local box with the change in this pr and it does not output "Sequence complete" so it never passes ci
NAME                                  READY   STATUS      RESTARTS   AGE
backpack-a27a42da-btwsh               1/1     Running     0          2m14s
benchmark-operator-5b8979f487-npr4z   3/3     Running     0          2m33s
hammerdb-workload-a27a42da-95xs6      0/1     Completed   0          86s

[dry@rzaleski ci]$ kubectl logs hammerdb-workload-a27a42da-95xs6 --namespace my-ripsaw
[dry@rzaleski ci]$

can this be closed in favor of #267 as that PR also seems to address this change.

Closing in favor of https://github.com/cloud-bulldozer/ripsaw/pull/267


@W-16102728@ Clear other sessions on password change

Prior to this change, when the shopper changes their passwords, all existing SCAPI sessions are invalidated by the API.
However, if you have sessions active on other devices or browsers, the invalidated access token will remain until it expires by age. As a result, other browsers and devices get stuck in an invalid state until the access token clears out.
This PR updates our useQuery and useMutation hooks to introduce some error handling to clear the auth state if it has been found that a SCAPI request failed because of an invalidated session.
Test steps:

Open 2 sessions (can use 1 non-incognito and 1 incognito window)
On both sessions, log in to the same account
On one of the sessions, change your password. Verify that for this session you remain logged in after changing your password.
On the other session, do something that will make a SCAPI call (ie. try to pull up a category). Verify that you are logged out and taken to the log in screen.

Tested the behavior, confirmed that the other window session is cleared when password is changed


Adding links

Added physx-rs crate, resolves #202.
Added glam crate, resolves #216.
Added raylib crate, resolves #195.
Added legion crate, resolves #224.
Added resource "Roguelike Tutorial in Rust + tcod".
Added game RustyVolley, resolves #176.
Added game Stacked Worlds, resolves #167.

Thanks for the PRs!


Make covaxClientsCount generic

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #328
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Release | Other)
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

Pull Request Test Coverage Report for Build #158

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 79.879%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/org/smartregister/fhircore/activity/BaseSimpleActivity.kt
3
93.68%

Totals

Change from base Build #157:
-0.03%

Covered Lines:
921

Relevant Lines:
1153

💛  - Coveralls


Error while installing the c/c++ extension in vscode

I have just installed mingw and now I want a IntelliSense of c/c++ provided by microsoft on vscode
First it starts installing some things and after sometime I am getting this error
Error - 1:04:42 PM] Connection to server got closed. Server will not be restarted.
Is there any solution for this thing

/needsMoreInfo
Please update this issue after reading https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions#writing-good-bug-reports-and-feature-requests. Thanks.


BUG: perf_buffer__new API doesn't support old kernel versions

@rafaeldtinoco commit 5e8900 solving #121 changed libbpf API.
As a result, building Tracee for kernel v4.19.230 failed for me.

Tracee suppose to support kernels down to v4.18, so it seems to me this commit breaks this assumption.

I'll take a look at this later today. We have to support 4.19 stable tree (from upstream) and RHEL 4.18 kernels (not quite 4.18, there are lots of changes) FYIO. It seems that you're using 4.19 stable tree version so we should support it, I'll check it.

I don't understand how can this be related to the kernel version. It only changed the API used from libbpf.
Can it be that for some reason your'e using an old version of libbpf?
I would also try to remove "dist" directory and make clean

You are right, it was my mistake.
I just thought that because this is a new commit it might have caused the problem, but it was my fault for not doing make clean.
Thanks for the help!

I'm glad that was simple! Thanks @AlonZivony and @yanivagman .


Allow models to request additional input data from the engine

Many ase claculators use additional information of the ase.Atoms object, such as total charge, magnetic moment and other arbitrary properties from the .info and .arrays dict. There should be a standardized way to define, what additional properties get read from the ase.Atoms object in the atomistic.ase_calculator.MetatensorCalculator, and then converted into a TensorBlock which gets passed wih the systems object.
For simplicity, I would propose that there should be two generic options that either access the properties from the .info and .arrays dict, plus predefined options for: get_initial_magnetic_moments() and get_initial_charges().
In principle this could be optional (so if the field/info does not exist, nothing will get parsed instead of rasining an Exception), should this be handeled on the ase.calculator side, or on the specific model side?
Maybe we could provide an additional parse_properties kwargs in the ase_calculator.MetatensorCalculator
and then handle the extraction logic here:
https://github.com/lab-cosmo/metatensor/blob/b34c0f3757b95cd85e04ce8cf468499e06a5a326/python/metatensor-torch/metatensor/torch/atomistic/ase_calculator.py#L211

I am happy to work on this on my own once we have fixed the API, we need it urgently ^^

So this is something we will want to do, but doing it properly will take time. If you need something urgently, we can do a temporary branch with it just for you =).
We already have a mechanism to add extra data on a system from the engine and retrieve it from the model, through System.add_data and System.get_data. What we are missing is a way for the model to request specific data from the engine (which can be other things than ASE!)
I can see something like this working, with a clear standard definition for what different extra data means (like we are standardizing the model outputs)
# model export

model = ...

capabilities = ModelCapabilities(
     # as usual
     extra_system_data=["charge", "..."] # this would be added
)

# model definintion
def forward(systems, ...):
     charges = system.get_data("charges") # error if the data was not requested

What speaks again having a bespoke ase calculator option implementation, in which the ase calculator writes to sytem data?

I would rather not put some code in the main branch which will be removed and changed once we have a solution for this. But we can do this in a temporary branch so you can go on with the scientific project while we figure the general solution!

I do not need any of the calculators for the scientific part. I would prefer to have it as part of the metatensor releases, because it should be easily pip installable for users. Happy to close the issue if there is no interest for an ase side implementation.

There is interest for a general mechanism that ASE will also use, so let's keep this open.

Some more details on how this could work: we would add an extra field in ModelCapabilities called something like extra_input, that would be a Dict[str, ModelOutput], describing everything the model want as extra input.
The engine would then get this field from the model, and following some specification (like the one we have for the outputs), store the corresponding data in the systems. Here, we could do the same as for outputs, and have "standard" extra input data, and allow users to do whatever as long as they add a namespace somewhere (i.e. my_model::custom_input).
The model can then access the data in the system.
Unresolved questions

should we rename ModelCapabilities to something like ModelSpecification since it will contain more than what the model can do?
should we rename ModelOutput to something like Quantity/Property/Data, since it is not only about outputs?
 Here it would describe a bunch of TensorBlock in the system data. Should we use TensorMap for everything?

Thinking a bit more about it: we would likely want to rename ModelOutput to AtomisticData, and use it to describe both "what the model needs as input" and "what the model can produce as output". From there, we would change ModelCapabilities to include extra_input: Dict[str, AtomisticData].
Simulation engines would then read extra_input, and store the corresponding data inside System using System.add_data().
This would likely use the same mechanism as the "standard outputs" for the names of the extra inputs & the corresponding metadata. Either the model requires something as input with a corresponding standard metadata definition, and the name can be something like charges, spin, ... or the model is using completely custom data and needs to use some kind of namespace, i.e. shiftml::magnetic-moment. Standardized data would also be checked when check_consistency=True.
One other remaining issue is what to do when a given physical quantity can have multiple definitions: energy could be computed at different levels of accuracy, charges can be determined in many ways, … One part of the solution could be to allow all of energy and energy::pbe0 and energy::ccsdt as separate inputs/outputs; and then have some way to determine which one to use when more than one are available.


Create ID Form

Create a form that populates the ID template
Being addressed in #21

ID Form exists thus satisfying the scope of this issue


Nested modules with automatic namespace

Hello! Thanks for developing this gem, it's great!
Currently I am trying to add support for nested modules but I could not make it work, so I come here for help.
I have the following structure:
- app
- ...
- ...
- packs/
  - team1/ # This is not a pack
    - first_pack/ # This is a pack
    - second_pack/
    - third_pack/
  - team2/ # This is not a pack
    - fourth_pack/ # This is a pack
    - fifth_pack/
    - ...

Up to there no problem. Everything works fine.
Now what I am trying to do is to set the namespaces as Team1::FirstPack, this would help me alot to manage the code ownership and to explicitly tell the developers where the code they use should be, which will also help with the process to define dependencies.
I first tried adding the following to the packs/team1/package.yml
...
metadata:
  automatic_pack_namespace: true
  namespace_override: Team1::FirstPack

With no success. Then I thought: maybe I can "override" a parent just like is done with the namespace.
...
metadata:
  automatic_pack_namespace: true
  namespace_override: FirstPack
  namespace_parent: Team1

But I could not make it work. Any help on this would be great :)

I did a bit more digging and managed to make it work for one level. Does this make sense to you?
On lib/automatic_namespaces/autoloader.rb
I changed this method to the following:
  def define_namespace(pack, metadata)
    namespace = metadata['namespace_override'] || pack.last_name.camelize
    parent = metadata['namespace_parent'] || Object.to_s
    if not Object.const_defined?(parent)
      Object.const_set(parent, Module.new)
    end
    parent.constantize.const_set(namespace, Module.new)
    "#{parent}::#{namespace}".constantize
  end

I see! Seems reasonable, although I think I prefer the namespace_override: Team1::FirstPack syntax. Let me try to write some tests.

Hey all! I also just happened to be working on nested packages this morning and cooked up this implementation which works with the namespace_override: Team1::FirstPack syntax.
def define_namespace(pack, metadata)
  namespace = metadata['namespace_override'] || pack.last_name.camelize
  namespaces = namespace.split('::')
  namespaces.inject(Object) do |base_namespace, child_namespace|
    base_namespace.const_set(child_namespace, Module.new) unless base_namespace.const_defined?(child_namespace)
  end
  namespace.constantize
end

@gap777 no worries. I saw you cut your PR before mine so I deferred to you. Thanks for creating and maintaining this project. We love the end results in our packages.

Addressed by https://github.com/gap777/automatic_namespaces/commit/0247bd766649ccf1b12a2991b297a8f047db3f34


[feature] Set qrcode view into "loading" state when user scans it

What problem does this new feature solve?
Currently dapp shows no feedback to user once qrcode is scanned (not approved or rejected yet). We can improve ux here by  bumping it into "loading" state.
Describe the solution you'd like
We can extend standard wagmi methods and hook into walletconnect provider to listen for 1101 reply on our websocket (meaning that user has scanned qrcode) and set qr view into such loading state.

is this possible? sounds like a low level implementation?


elastic-apm-node version is out of date

The elastic APM version used in this library is out of date and is not compatible with the new versions. Please update this to 3.x.x.

Thank you for your interest in the project. But elastic apm does not support normal distributed tracing in connection with this I refused to develop this project, switched to jaeger and prometheus.


TypeError: null is not an object (evaluating '_reactNative.NativeModules.ScreenCornerRadius.cornerRadius')

Getting TypeError: null is not an object (evaluating '_reactNative.NativeModules.ScreenCornerRadius.cornerRadius') when using with expo. Used the example in the repository.

It's a native module, you cannot use it with Expo Go. Use EAS


pass routing props to children of

In the API description on https://reacttraining.com/react-router/web/guides/quick-start/2nd-example-nested-routing there is this example where <Topics /> gets passed the match prop from the <Route /> component above. Currently this behaviour is only defined for component prop, but it should also work for components passed via children prop to a <Route />. Especially if we want to drop render and component props in an upcoming major release of RR. This PR fixes this.
Btw: we should think about a better way than the massive use of ternary operators in this case. It's not only ugly but also a mess to read.

Two thoughts:

Host elements. The props should only be forwarded to composite components. I think that this can be done easily by checking if the element's type is a string.
Multiple children. This PR supports a Route having multiple children elements, but is that behavior that we should support?

@pshrmn

Right, that should be fixed.
To be honest: I am not sure why we should limit it to only a single child element when we could easily support multiple child elements. I can think of a lot cases where supporting multiple child elements comes in handy.

Also, the previous behavior supports multiple children already, so I don't see why that would be a breakage.

Any idea how we could test that no routing props are passed to native html elements?

I'd have a much better answer if we were using RTL.

@timdorr Right, that's my problem: we don't use it.

Am I missing something with the test? You should be able to pass a host element, query for it in the DOM, and verify that it doesn't have history/match/location attributes. React attaches every prop as an attribute.
As far as the number of children goes, RR 4.3.1 only supported one child element. That restriction appears to have been lost here https://github.com/ReactTraining/react-router/commit/1c93205e120ce437707c2abb83a867216ac9f1a4#diff-83865a255fa3e27147a9b92b078ee22c, but I'm not sure that it was intentional.
I would like to wait for @mjackson's opinion on this.

@pshrmn the query part is the part where I am currently failing. Neither getElementById' nor findByIdnorfindDOMNode` worked.

I think a better approach is to allow the children to also be a render prop that receives the routerProps as its own argument, and to keep the current behavior of not injecting anything if they are direct children.
This both avoids having to iterate on components with React.Children.map (which does two clones per element, in order to guarantee the results are correctly keyed) and unintentionally adding props to components that should not get them.
Just checking if the component "looks like" a host component instead of a composite component won't help if the host component is wrapped in something like styled-components, or when working with react-native(-web) where all components "look like" composite components.

We do not have any plans to clone children and pass extra props to them, for 2 reasons: types and documentation.
cloneElement makes it difficult for people to type all of the props that their element will receive. Now, instead of knowing all their component's props, they have to merge them with potential props they can get from the router. This makes type definitions more complex.
Also, we will be able to remove all docs about the magic props you get when one of your components is a "route component", and the component will be able to expect the same props whether it is rendered as part of a <Route> or not.
function Home(props) {
  // Right now we have to write docs for all of these. Where do they
  // come from? What are they? They are magic!
  let match = props.match
  let location = props.location
  let history = props.history
  // ...
}

<Route path="..." component={Home} />

// But what happens if someone decides to render a <Home> all
// alone, outside of a <Route component>? You'd probably get a lot
// of errors :/
<Home />

I'm actually really looking forward to removing all references to cloneElement from the router codebase! It will fix a lot of these little issues we've had over the years. And the thing is, with hooks you already have everything you need anyway.
Thanks for the PR, @MeiKatz, but I'm going to close. In the future, if you'd like to introduce some new API to the router, I'd be happy to discuss with you in an issue before you take the time to go and write the code for it.  Or if you prefer we can discuss in a PR. Up to you :)

@mjackson I did not introduce new behaviour, just realised the behaviour currently described in our documentation. Therefore we either fix the docs or the codebase.

@mjackson To be honest: I think the way you described is the better approach, but the precondition for this was, that we introduced the hooks. Therefore I am just fine with this way and happy to know which way to develop my apps in the future.


dbt debug avoid dependency checking

Describe the feature
We deployed dbt in AWS managed Airflow MWAA. Currently we perform some system checks to ensure the deployment is successful. Among them is dbt debug . The issue is that git is not install in MWAA and there is no reason to install it (please correct me if there is a need to have it). Because git is not install, every time we run the system checks dbt debug fails.
It would be great if we could manually bypass checking the dependencies so that if debug fails we know it is not because of missing git.

@leoch20 Thanks for opening! Honestly, I'm of two minds about this one.
On the one hand, you're completely right that it's possible to use dbt without having git installed, assuming you don't need to install any git-based packages.
On the other hand, dbt debug is really intended as a helper check for CLI users who have installed dbt locally, to help them make sure they're ready to start up with dbt development—not a step in automated orchestration processes. I can appreciate that, if something is going to fail in Airflow (e.g. a faulty database connection), it's nicer to fail with the clear error early on, rather than a slightly more-buried error during the early steps of a run. But it's going to fail either way.
(I could imagine a local user who doesn't want to have git installed, but that seems much less likely.)
Having said all that, the codepath here is quite straightforward:
https://github.com/dbt-labs/dbt/blob/d2dbe6afe4ecff25e4fa8ba471716bc8bd0ef760/core/dbt/task/debug.py#L124-L126
I don't think it would be a big lift to add debug task flags like:
dbt debug --skip-configuration
dbt debug --skip-dependencies
dbt debug --skip-connection

And check before running each check:
    if not self.args.skip_configuration:
        self.test_configuration()
    if not self.args.skip_dependencies:
        self.test_dependencies()
    if not self.args.skip_connection:
        self.test_connection()

So, if this is something you'd like to open a PR for, I'd be happy to review it.


PIMOB-XXXX: Prevent multiple requests from UI

Proposed changes
Disable button to prevent user from triggering multiple requests to tokenisation whilst one is already in progress.
This adds a loading overlay built from the disabled button state, whilst making other content transparent, with a small smooth animation.
Have also added an update to the Token (got other tasks and not enough time to keep switching back & forth for that).
Default UI
https://user-images.githubusercontent.com/102028170/194516272-f631dd56-b116-4520-a059-a912ad5ca244.mp4
Matrix Style
https://user-images.githubusercontent.com/102028170/194516474-b5bd7b60-86a4-4ad9-83df-8463b440b260.mp4
Theme Demo
https://user-images.githubusercontent.com/102028170/194516503-6b58bbee-74ed-4846-ba29-16ec63869877.mp4
Edge case
User makes a change to the input whilst the call is ongoing
https://user-images.githubusercontent.com/102028170/194516695-91682c63-524d-45f0-8d4c-9017d338bf20.mp4

Alex Byrne (UI) has approved the change from his side


Rocket.chat: use profile display name instead of account username for chat nickname

https://una.io/page/view-discussion?id=418
https://una.io/page/view-discussion?id=393

https://github.com/boonex/rocket.chat/commit/421a72163000fcc2f44f2faa8dd27c530ef4e18d


OSM World Discord group languages update

Although the main channel is English, the OSM World discord server now supports conversation in the following languages in dedicated channels;

German
Spanish
French
Italian
Brazilian Portuguese
Romanian
Turkish

I am going to make a pull request for this,
However Brazilian Portuguese doesn't have an ISO 639-1 or 639-3 language code, which is what is required for this.
Should I add it as just pt for Portuguese?

I am going to make a pull request for this,
However Brazilian Portuguese doesn't have an ISO 639-1 or 639-3 language code, which is what is required for this.
Should I add it as just pt for Portuguese?

I took care of it in 0d9f222 - I ended up putting pt-BR for Portuguese.  I think downstream projects just display it as text anyway.

I took care of it in 0d9f222 - I ended up putting pt-BR for Portuguese.  I think downstream projects just display it as text anyway.


Add information in replay prevention about idempotency

Great website! Love the completeness.
It would be interesting to add information about idempotency in your replay prevention page.
Some web hook will send you an ID that is guaranteed to be unique on replay. Very useful to avoid doing work twice. This is too often forgotten by the consumer.

Yes, @jsgoupil . Great call.
Its also nice to bring that alongside the trade offs of idempotency (keep a track record of requests already sent).
I'll work on that.
Thanks for contributing <3

Hi @jsgoupil . Thanks for contributing to webhooks.fyi.
I just added webhook ids to replay prevention <3
Feel free to send me a PR if I didn't do justice to it.


Synced Travis, Appveyor, Tox dev env from zhmcclient

Signed-off-by: Andreas Maier<EMAIL_ADDRESS>

Coverage remained the same at 40.475% when pulling b0f56d09752d8a8c37cd42341a4e18cc55324add on andy/sync-dev-env into 1a83ea92b76189ad105cb127225e16e8b9b4ba37 on master.


Cast the alibi slopes to torch.float32

This PR addresses https://github.com/Dao-AILab/flash-attention/issues/845. Since the MHA module may be cast to fp16 or bf16, but the alibi_slopes buffer should be fp32, we cast them to that precision in forward.

Thanks!

Will alibi slopes still lose precision upon the module cast?

The slopes will temporarily be in a different precision before being cast back to full precision in the next forward pass. In particular, there will be some small floating point errors coming from these cast. However, they looked very much negligible in my experiments. I assume this is what you were referring to?


In JS, prototype assignment to property of expando type changes type reference

var UI = {}
UI.Hunch = class {
    constructor() {
    }
}
UI.Hunch.Provider = function() {};
UI.Hunch.Provider.prototype = {
  /**
   * @return {void}
   */
  item() {}
};

/**
 * @returns {UI.Hunch}
 */
function failure() {
    return new UI.Hunch();
}

Expected behavior:
The value new UI.Hunch() is assignable to the return type reference UI.Hunch.
Actual behavior:
Error: Hunch is not assignable to { item: () => void } & { item: () => void }
Looks like Providers prototype assignment confuses the type reference to UI.Hunch.
Discovered in chrome-devtools-frontend, but it's been this way for a long time. Not a recent regression.

This is now fixed.


Single platform for gc repo vs. approved platforms + catelog

I'm wondering if an alternate approach is just a catelog like https://code.gov/
I do think that there should be an offer of a platform internally that internal groups can collaborate (GCcode), but when it comes to open source, there are existing projects on multiple platforms already that shouldn't have to move to meet a single winning platform (EX: WET on GitHub vs. AsseblyLine on BitBucket).
Along with the catelog, there should be a recommendation of platforms that meet those functional and non-functional requirements, but I don't think a single choice/lock-in is the best approavh.

Just wanted to confirm this question has been discussed at the Advisory Board meeting and further requirements analysis is going to be needed for the overall solution recommended..


Modifications to simplify code and replaces MSB/LSB switching

Hi there, I think this code modifications will make the LSB/MSB switches unnecessary, it uses basic maths to calculate the values from binary (including the 2's complement for negative values).
I've only been able to test on a pi zero, but I'm hopeful it'll be more reliable for people.

amazing pull request!
Thank you


Rails 5 support

Fix for Rails 5 deprecation. Callback methods must be symbols

Coverage decreased (-6.9%) to 87.136% when pulling 4c554c94c327a50c0ded4597ce3d5a393d5d76a4 on warnickr:master into eded45e569ece8eb22df2eabc0961a148ff6bf5d on lostboy:master.

This change didn't really fix the issue. The real fix is to use lambdas for the callbacks


Separate "development" and "production" configurations

This patch updates the default configuration to match a "development"
situation, and introduces build-options to produce a "production"
build.
By default (dev environment):

Google Analytics / GTM and PollDaddy are disabled
SASS builds non-minified stylesheets (for easier readabililty)
Excludes "enterprise" stubs

Building a "production" build locally is still possible by overriding
the JEKYLL_ENV build-arg;
JEKYLL_ENV=production docker-compose  up --build

Thank you @thaJeztah. Does it change the way we publish docs?

@usha-mandya no, should not change things;

when you build the docs locally, it builds them as "development"
same for "PR" builds
same for "Netlify"

On "master" builds and on "build-published" builds, it will build for "production" (so include Google analytics, and compressed CSS)
Not sure if "master" builds should also build "production"; perhaps not, as that also pushes images to docker hub for users to run it themselves, and to our staging domain @StefanScherer wdyt?

I may need to do one more tweak that I didn't get to work easily (but have some ideas), and that's to disable indexing for development builds

I may need to do one more tweak that I didn't get to work easily (but have some ideas), and that's to disable indexing for development builds

Sure. Are you planning to include it as part of this PR, or as a follow up PR?

Sure. Are you planning to include it as part of this PR, or as a follow up PR?

Let me do so as a follow-up; disable indexing also removes pages from the search auto-complete, and I guess it's useful to still have that working as usual 🤔

@usha-mandya I updated and removed the "production" build from master builds, so only the "build-published" will now produce "production" builds 👍


AU Release KB

@srveit or @jim-phillips Don’t merge until the 12th.

@jruckle @bryanfriedman are we really launching legacy managed OS, apps and backup in AU1 along with CNS?  I was told by Richard we were not doing some of those items only new iterations of managed services once they are ready a month ago.  Just checking in case it changed as that is what I told the field sellers.   If CNS is happening what is it being tied to in terms of CTS data center? as there is a few places we need that updated

Thanks Chris – I’m updating that branch to reflect reality – which is that none of that stuff will launch with AU1.
Bryan Friedman
Senior Lead Product Manager | CenturyLink Cloud
bryan.friedman@ctl.iomailto:bryan.friedman@centurylinkcloud.com|@bryanfriedmanhttp://www.twitter.com/bryanfriedman
425.201.4425 |<PHONE_NUMBER> (cell)
http://www.centurylinkcloud.comhttp://centurylinkcloud.com/
From: Chris Little <notifications<EMAIL_ADDRESS>Reply-To: CenturyLinkCloud/PublicKB <reply<EMAIL_ADDRESS>Date: Monday, April 11, 2016 at 6:28 AM
To: CenturyLinkCloud/PublicKB <PublicKB<EMAIL_ADDRESS>Cc: Bryan Friedman <Bryan.Friedman<EMAIL_ADDRESS>Subject: Re: [CenturyLinkCloud/PublicKB] AU Release KB (#946)
@jrucklehttps://github.com/jruckle @bryanfriedmanhttps://github.com/bryanfriedman are we really launching legacy managed OS, apps and backup in AU1 along with CNS? I was told by Richard we were not doing some of those items only new iterations of managed services once they are ready a month ago. Just checking in case it changed as that is what I told the field sellers. If CNS is happening what is it being tied to in terms of CTS data center? as there is a few places we need that updated
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/CenturyLinkCloud/PublicKB/pull/946#issuecomment-208341702


Add more information to the readme file

Kindly, review and verify the proposed changes.

Thanks! Done!


corrections

Some minor corrections:

Always we (instead of sometimes you)
on -> one
minor spelling mistakes

Changed some formulations. I think they are better readable that way, but not 100% sure.

Can't open your notebook to view the changes. Get
NotJSONError('Notebook does not appear to be JSON: \'{\\n "cells": [\\n  {\\n   "cell_type": "m...',)

Are you sure you made your edits in the jupyter notebook or in jupyter lab? Or did you made the changes directly to the file with some editor and might have broken the format?

Mh.. It seems to be due to the git-markings. So it should actually be fine already. Strangely enough it does not seem to be...

Seems good now and can be opened now on my local machine.


Azim contributions

Checklist:

CHIC-2 I put ticket number in the name
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] I attached screenshot of the ui work (if its UI)

Commit Tag (types ) you should use in your commits

build : Changes related to building the code (e.g. adding npm dependencies or external libraries).
chore: Changes that do not affect the external user (e.g. updating the .gitignore file or .prettierrc file).
feat: A new feature.
fix: A bug fix. - docs: Documentation a related changes.
refactor: A code that neither fix bug nor adds a feature. (eg: You can use this when there is semantic changes like renaming a variable/ function name).
perf: A code that improves performance style: A code that is related to styling.
test: Adding new test or making changes to existing test

Added almost done navbar component. I have to add its functionality, and some minor styles.


Slow program execution from device to host transfer

I'm testing a simple inner product with cupy. When I copy the output to host memory, the actual data transfer rate is what I expect, but the total execution time of that code block is orders of magnitude higher. So I'd like to know whether this is a real issue or something expected. Thanks!
import cupy as cp
import time
N = 10000
xp = cp.random.rand(N, N)
yp = cp.random.rand(N, N)

zp = cp.empty(xp.shape, xp.dtype)
xp.dot(yp, out=zp)

######################################
# Slow code block
start = time.time()
with cp.cuda.stream.Stream() as stream_dtoh:
    t0 = stream_dtoh.record()
    z = zp.get()
    stream_dtoh.synchronize()
    t1 = stream_dtoh.record()
end = time.time()
#####################################

print("Device to host time: {} sec".format(cp.cuda.get_elapsed_time(t0, t1)/1000))
print("Total device to host time: {} sec".format((end-start)))

Output:
Device to host time: 0.30891928100585936 sec
Total device to host time: 15.798194885253906 sec

Conditions:
CuPy Version          : 5.1.0
CUDA Root             : /usr/local/cuda
CUDA Build Version    : 8000
CUDA Driver Version   : 9000
CUDA Runtime Version  : 8000
cuDNN Build Version   : 7103
cuDNN Version         : 7103
NCCL Build Version    : 1000

@jchutrue This is because Total device to host time includes time to perform xp.dot, whereas Device to host time only measures the time of memory copy. CUDA operations are basically asynchronous (xp.dot launches the kernel and returns immedeately).

@kmaehashi Ahh, I see. I don't think I was measuring the time properly then. What's the correct way to wait until the kernel completes, and only then start timing so that I can measure the z = zp.get() memory copy accurately?

@jchutrue In this code xp.dot runs on null (default) stream. You can use cp.cuda.Stream.null.synchronize() right after xp.dot to synchronize host/device (i.e. wait until xp.dot completes).


phpmd ignore SuppressWarnings(PHPMD.UnusedFormalParameter) inside class

class testClass
{
	/** @SuppressWarnings(PHPMD.UnusedFormalParameter) */
	public function Method1($a)
	{
	}

	public function Method2($a)	/** @SuppressWarnings(PHPMD.UnusedFormalParameter) */
	{
	}
}

function Func1($a)	/** @SuppressWarnings(PHPMD.UnusedFormalParameter) */
{
}

Expected: no warnings
Actual: Avoid unused parameters such as '$a'. for Method2()

It's have been labelled as a bug, but I don't think it is. I don't find anywhere in the documentation where we mention @SuppressWarnings() can be put after the code/method where it should supress the warnings.
And I don't think we should support this feature.
If @SuppressWarnings() can be put before or after the code that violate the rule, then in many case, it will be unclear what part of the code it applies to. It would also "hide" the warning mute deeper in the code, when I think the PHPDoc of methods is the right place to mention the suppressed warnings and the reason:
/**
 * @SuppressWarnings(PHPMD.UnusedFormalParameter) $a will be used in the next version to specify...
 */
function Func1($a)
{
}

@SuppressWarnings should be part of the method/function documentation.

Then why we have not warning for function Func1()?
Does functions and methods has different rules?

Func1() warning should not be suppressed as the documentation does not mention this syntax: https://phpmd.org/documentation/suppress-warnings.html
We will discuss about supporting the suppression at the end of the line, but you should better use the method/function doc block instead. For example UnusedLocalVariable only works with doc blocks.
So I guess if we change it in the future, we'll more likely align UnusedFormalParameter to other rules.


Feature/cu 1dfz5c1 Updated Noodle Shop behavior and NavMesh

This pr adds the new noodleshop to the navmesh, and adds an obstacle that is disabled after opening the doors

Task linked: CU-1dfz5c1 Level1 Merges and bug solving


Remove the duplicate content from access-cluster.md

Ref: #27547
Removing the duplicate section from https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/
and adding the link to https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-services/ in place of that.

Hi @tengqm ,
PTAL.

/lgtm

Hi @sftim @bradtopol @daminisatya, could you please take a look.

@kbhawkey, applied the changes you have suggested,,please have a look

/lgtm
/approve


Migration for dryrun tests

What type of PR is this?

/kind feature
What this PR does / why we need it:
This PR migrates the dryrun based shell tests to e2e tests
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

/ok-to-test

I have also added the test cases for extra and verbosity

/retest

@wzshiming I have made all the required changes

@wzshiming  I have made the required changes

        - 	"53.0",
        + 	"49.1",
          	" --config.file=/etc/prometheus/prometheus.yaml --web.listen-addr",
          	"ess=<IP_ADDRESS>:9090\npodman create --name=kwok-<CLUSTER_NAME>-dashbo",
          	... // 640 identical bytes
          	"/kubernetesui/metrics-scraper:v1.0.9 --db-file=/metrics.db --kub",
          	"econfig=/root/.kube/config\n# Add context kwok-<CLUSTER_NAME> to ",
        - 	"~",
        + 	"/home/runner",
          	"/.kube/config\npodman start kwok-<CLUSTER_NAME>-etcd\npodman start",
          	" kwok-<CLUSTER_NAME>-jaeger\npodman start kwok-<CLUSTER_NAME>-kub",
          	... // 270 identical bytes
          	"kwok-<CLUSTER_NAME>-prometheus\npodman start kwok-<CLUSTER_NAME>-",
          	"dashboard-metrics-scraper\n# Set up apiservice for metrics server",
        - 	"\n",
          }, "")
--- FAIL: TestPodmanDryRunWithVerbosity (0.02s)
    --- FAIL: TestPodmanDryRunWithVerbosity/Dry_run_with_verbosity (0.02s)
        --- FAIL: TestPodmanDryRunWithVerbosity/Dry_run_with_verbosity/test_cluster_dryrun_with_verbosity (0.02s)
FAIL
I0708 02:02:22.203984    7039 command.go:38] "Found Provider tooling already installed on the machine" command="/home/runner/work/kwok/kwok/bin/linux/amd64/kwokctl"
E0708 02:02:22.234693    7039 env.go:375] "Cleanup failed" err="exit status 1" action="Finish"
FAIL	sigs.k8s.io/kwok/test/e2e/kwokctl/dryrun	1.914s

I’ve just recently updated the dependencies, so you might neet to rebase and regenerate testdata.

this is almost done. let me rebase and regenerate it.

/approve
/lgtm

/override pull-kwok-e2e-test-main


Disambiguation between errors and warnings when loading models

In some cases MuJoCo will throw an error such
Error loading model: Degenerate triangle found in mesh `trunk`, its orientation will not be checked.
I'm getting this from loading https://github.com/deepmind/mujoco_menagerie/blob/main/unitree_a1/a1.xml
This will fail in
fn from_xml_helper(
    model_ptr: *mut mjModel,
    err_buf: Vec<u8>,
) -> Result<Model, String> {
    debug_assert_ne!(err_buf.len(), 0);
    let err_str = crate::helpers::convert_err_buf(err_buf);

    if !err_str.is_empty() { // Here
        return Err(err_str);
    }
    if model_ptr.is_null() {
        unreachable!(
            "It shouldn't be possible to get a null pointer from mujoco \
                without an error message!"
        );
    }
    Ok(Model { ptr: model_ptr })
}

Currently there's no way to separate errors and warnings.

Okay it seems that's a mujoco bug, that's fixed recently
https://github.com/deepmind/mujoco/discussions/591

Fixed with MuJoCo 2.3.1


NoTicket: Use self-hosted runners instead of GitHub-hosted runners

This pull request is to change the CI runner from GitHub-hosted runners (ubuntu-latest) to self-hosted runners. This change is necessary to improve the cost and control over our build environment. Please review our changes and provide your feedback.

Closing as this is a public repo, and we didn't configure our self-hosted runners on public repos for security reasons.


business case is not calculate

I am trying to calculate a business case for: USEF Lochem traditioneel netverzwaring 2050 + marktmodel (exl flex)
But the BC is not updated by ET-Moses. I am sure I have transactions with government and producer but cannot find those in the BC table.

@grdw can you take a look?

It has to do with the merit price for electric vehicles. That profile + the merit order is momentarely being migrated as a preparation to the deploy (@antw could you verify this). This is why it's not working. In the mean time you can try the production environment of etmoses instead of the beta.

Unfortunetily I it doesn't work on the production server either. On the production server I cannot even make a LES with
USEF Lochem 2050 berkeningen as topology and
USEF Lochem 2050 zonder flex as marktmodel.

Is this has something to do with the ETM release. If this is the case can you give an estimation how long this problem is sustained.

Hmm..  :disappointed: it seems that this is a different problem.
The beta problem has to do with the release.
The production problem has nothing to do with the release but with the error tagged in this issue.
The problem on production can be manually resolved.

Long story short: It has to do with this. You can't define two rules with the same set of stakeholders in a maket model. I think this is resolved but I'm not sure. ( @antw could you elaborate? )

You can't define two rules with the same set of stakeholders in a maket model. I think this is resolved but I'm not sure. ( @antw could you elaborate? )

This is a limitation of the Turbine library. You can have two (or more) payments between the same two stakeholders, but the measure must be unique in each case. You can't have "AC6" paying "system operator" for "max kW load" more than once.
It's a quite sensible limitation for Turbine, but it causes this problem with the market model. I intend to factor our Turbine as soon as the opportunity presents, but until then we have to work around the limitation by combining the two payment rules (delete the top one, and increase the tariff of the second to "6001.93").

Also with the adjusted market model I am not able to make my LES work...
When going from ETM scaled down Lochem scenario to ET-Moses and chosing
USEF Lochem 2050 berkeningen as topology and
USEF Lochem 2050 zonder flex as marktmodel
the technology table occurs but I am not able to do anything. It has crashed.

Adding priority label because @JeroenvdLogt cannot continue his work if this is not resolved.

The duplicate payment rule shown in @grdw's screenshot above was still present in the market model. I have removed it and a business case has now been calculated.

I have removed it and a business case has now been calculated.

:+1:

It's a pity. This is an existing LES with an old topology (other yaml text same name) you show. I was talking about creating a new LES from ETM....

This appears to be unrelated to the business case. Indeed the JavaScript for the technology table seems to hang, likely due to the very large topology. Perhaps, when time permits, @grdw can look into optimising this further and find out where the bottlenecks are (because the page is not that complex).
Unfortunately I cannot think of any quick work-arounds. Simplifying the topology should improve performance, but you shouldn't have to do that.

I'm closing this issue. I've created a separate issue for the speed optimization. Will start whenever time permits.


Allow publicPath and basePath together

Another adjustment for the v.2 overhaul: this cleans up the roles and responsibilities of publicPath and basePath. Two specific changes:

The public and base path options are no longer mutually exclusive; they may be used together. This alleviates each setting's individual limitations.
Base path gets applies after public path so that the output files may be relativized, and then the whole build. This feels a lot more predictable than the two settings toggling each other.

This technically represents a breaking change, although there is low likelihood of consumer issues (given that there is literally no reason to include publicPath in the presence of basePath at the moment). If consumers do currently define both options and their build breaks in v2, the fix is simple: just delete publicPath.

Codecov Report

Merging #61 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   92.98%   92.98%
=======================================
  Files           2        2
  Lines          57       57
=======================================
  Hits           53       53
  Misses          4        4

Impacted Files
Coverage Δ

lib/plugin.js
92.85% <100%> (ø)
: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 bdb5758...7117854. Read the comment docs.

👍  I think it make sense

Thanks for this @gmac!
First... I apologize for being difficult! I'm realizing that we must be doing something in the Webpack Encore library that is a bit non-traditional with our manifest :/. This PR won't yet work for us.
To use your example, suppose the manifest starts like this:
{"foo/bar.js":"foo/bar.123.js"}

If the output path is some build/ dir, then we could use basePath to transform to this:
{"build/foo/bar.js":"build/foo/bar.123.js"}

So far, we're good! But, we also allow people to set their public path to a CDN (e.g. https://coolcdn.com/build). Technically, that CDN doesn't need to be reflected in the manifest values... but it's really convenient for our users to be able to transform the manifest to this:
{"build/foo/bar.js":"https://coolcdn.com/build/foo/bar.123.js"}

And this is the part that's not possible yet. With this PR, the we would set the publicPath to the CDN and the basePath to build/, but would end up (I think) with a manifest like this:
{"build/foo/bar.js":"build/https://coolcdn.com/build/foo/bar.123.js"}

Does that make sense? I think we're coming from a community with a slightly different paradigm, so I think I'm having trouble explaining myself :). We read the manifest.json file in server-side code to convert from build/foo/bar.json to the real value that should be used in the <script> tag. Having the CDN there means the user can change their publicPath to a CDN in webpack... and their server-side code automatically starts using it without any changes (server-side templates always reference build/foo/bar.json).
Thanks!

@gmac I believe @weaverryan is right
basePath should be for the key
publicPath for the value
his issue was because the code is currently like that
if (publicPath) {

} else if (basePath) {

}

It would only pick up publicPath or basePath, not both

I found this in the readme:

Ignored if basePath was also provided.

Which I think is wrong, no?

@mastilver are you talking about the readme on master on this PR? I wasn't sure what you meant :).
That note is accurate for the behavior on master, but was removed here. That's actually the behavior on master I'm hoping we can change :).

@weaverryan I must be a bit tired :D
You are right, this PR, is fixing the fact that publicPath is being ignored ;)

@gmac I think it should follow #69 instead

closing is flavour of #74


Mixed order compilation fails for specific annotated Java types

steps
Project setup
Tested sbt version: 1.9.2
mkdir javaScalaSbtBug
cd javaScalaSbtBug
echo '
lazy val root = (project in file("."))
  .settings(
    name := "JavaScalaSbtBug",
    scalaVersion := "2.13.11"
  )' > build.sbt

mkdir -p src/main/scala/bug
mkdir -p src/main/java/bug

echo '
package bug;

import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
public @interface SomeAnnotation { }' > src/main/java/bug/SomeAnnotation.java

echo '
package bug;

import java.util.List;

public class SomeAnnotationUser {
    private List<@SomeAnnotation ? extends Object> list;

    SomeAnnotationUser(List<@SomeAnnotation ? extends Object> list) {
        this.list = list;
    }

    public List<@SomeAnnotation ? extends Object> getList() {
        return list;
    }
}' > src/main/java/bug/SomeAnnotationUser.java

echo '
package bug

import scala.jdk.CollectionConverters.SeqHasAsJava

object Main {
  def main(args: Array[String]): Unit = {
    println(new SomeAnnotationUser(List(3).asJava).getList)
  }
}' > src/main/scala/bug/Main.scala

sbt compile

problem
sbt compile fails with
[info]   Compilation completed in 7.559s.
[error] /Users/tudor/dev/playground/bugs/javaScalaSbtBug/prepro/javaScalaSbtBug/src/main/java/bug/SomeAnnotationUser.java:7:34: illegal start of type
[error]     private List<@SomeAnnotation ? extends Object> list;
[error]                                  ^
[error] /Users/tudor/dev/playground/bugs/javaScalaSbtBug/prepro/javaScalaSbtBug/src/main/java/bug/SomeAnnotationUser.java:7:56: `>` expected but `;` found.
[error]     private List<@SomeAnnotation ? extends Object> list;
[error]                                                        ^
[error] /Users/tudor/dev/playground/bugs/javaScalaSbtBug/prepro/javaScalaSbtBug/src/main/java/bug/SomeAnnotationUser.java:9:45: illegal start of type
[error]     SomeAnnotationUser(List<@SomeAnnotation ? extends Object> list) {
[error]                                             ^
[error] /Users/tudor/dev/playground/bugs/javaScalaSbtBug/prepro/javaScalaSbtBug/src/main/java/bug/SomeAnnotationUser.java:16:1: `>` expected but `}` found.
[error] }
[error] ^
[error] /Users/tudor/dev/playground/bugs/javaScalaSbtBug/prepro/javaScalaSbtBug/src/main/java/bug/SomeAnnotationUser.java:16:2: `}` expected but eof found.
[error] }
[error]  ^
[error] 5 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 9 s, completed 6 Sep 2023, 09:27:06

expectation
sbt compilation of the Java sources passes.
notes
Compilation passes and program runs if compileOrder := CompileOrder.JavaThenScala is added to the sbt build setup. Probably scalac that is run initially in mixed mode cannot parse the example Java syntax.

Is the problem reproducible with just scalac, by passing both the Scala and Java sources to scalac? Offhand, doesn't look like an sbt bug, per se.

Compilation passes and program runs if compileOrder := CompileOrder.JavaThenScala is added to the sbt build setup. Probably scalac that is run initially in mixed mode cannot parse the example Java syntax.

Yea, as OP themselves as pointed out, likely this is a Scalac issue. It might be interesting to test this on Scala 3, and also I'd suggest opening an issue in https://github.com/scala/bug/issues as well. Searching for the error message yielded https://github.com/scala/bug/issues/8056, similar issue that exists for Scala code.


Tests for Integration with secretgen-controller

As kapp-controller implements the proposal for authentication to private registries, there will need to be a way to write tests for how kapp-controller works with secretgen-controller.
secretgen-controller will be the primary way of supporting authentication to private registries via kapp-controller so it will be important to have a way to support adding secretgen-controller to a cluster to run tests around private registry authentication.
Related issues that this feature will support:

#242
#243

The desired behavior is for adding a testing solution around secretgen-controller is that by default kapp-controller does not run tests where secretgen-controller is assumed to be installed. This is mainly because kapp-controller should still be able to run even without secretgen-controller installed. However, in CI, these new tests should always run.
Some considerations for this issue are as follows:

Should we create a dedicated Package CR for secretgen-controller so that it can easily be installed for testing?
How should tests for kapp-controller with secretgen-controller be enabled (e.g. an environment variable?)
What changes should happen in CI (i.e. GitHub action/hack scripts) to support this?
Provide documentation on how to enable the running of these tests

Some notes:

move the packaging of kapp-controller and secretgen-controller outside of this story. this story will focus on making the integration tests configurable
consider these tests to be disabled by default (requiring the user to enable them)

Adding a note of how another Carvel project (kbld) implemented test skipping. Not to say this should be the final approach here, but just an example to consider.
https://github.com/vmware-tanzu/carvel-kbld/blob/b39a5bf1bc8c6bd92e949376554d438123944941/.github/workflows/test-gh.yml#L65
https://github.com/vmware-tanzu/carvel-kbld/blob/5ac3423555fe9e2dd8206f1fb343104e5f2aa0c5/test/e2e/build_kubectl_buildkit_test.go#L61


Add godownloader script

Add godownloader script and update readme on how to install.

PTAL @kumare3 @wild-endeavor

+1


Fix checkmarks for multi-valued fields in bulk metadata editing

The checkmarks represent whether or not the value was touched
in the bulk editing dialog.
For fields that can have multiple values, this was always the case
becasue the arrays backing those fields were compared for identity
instead of equality.

Unrelated, but since you've been looking at this part of the ui, I got a question: Why are the blue checkmarks not read-only? There's not point in clicking on them, or am I missing something?

Nope, I got nothing. 🤷♀


Xsessions rework

Motivation for this change
Note: xcfg := config.services.xserver
A summary of how xsession files are currently generated and used:

Enabled desktop managers and window managers append their startup scripts to  xcfg.desktopManager.session and xcfg.windowManager.session resepctively.
One final startup script is generated for every possible pair of desktop managers and window managers by concatenating their startup scripts together and is used to further generate the xsession files. (source) The generated packages are stored in xcfg.displayManager.sessionPackages.
The packages are then combined into a single package (xcfg.displayManager.sessionData) which can be consumed by different display managers (sddm, gdm, etc.)

This generation method is less than ideal because:

It will generate xsession files that start window managers for desktop managers that don't support external window managers (such as gnome)
The generated startup script is overly simplistic: it simply starts the window manager before starting the desktop manager. This ignores the fact that some desktop managers need special treatments when used together with an external window manager. For example, KDE requires the environment variable KDEWM to be set. This also means that the window manager will not have its environment varibles set by the desktop manager, which causes issues like #94482.

Summary of this change
An option supportExternalWM which defaults to false is added for all desktop managers. Desktop managers that support external window managers should set this option to true and provide a function genStart that accepts a package (the binary/startup script of the WM) or null (when the DM is used without an external WM) and returns a string (the final startup script for the DM). The generation method is also changed to adapt to this option.
Note that #100057 will have to change if this pr is merged.
This pr will close #82074, close #94482
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Code-wise LGTM. Please rebase on master.
One concern is renaming option from config.services.xserver.displayManager.session to config.services.xserver.displayManager.dmSession, which may break existing customizations. I'm not sure about compatibility policy of NixOS configuration file.

Code-wise LGTM. Please rebase on master.
One concern is renaming option from config.services.xserver.displayManager.session to config.services.xserver.displayManager.dmSession, which may break existing customizations. I'm not sure about compatibility policy of NixOS configuration file.

rebased.

We probably need some more testing. It worked when it was introduced, but I'm not sure if it still works now.

Apart from the issue mentioned above, this works fine for me.
Using none+xmonad here.

@poscat0x04, what's the status on this? Could it be made ready for the next release?


(SystemJS) Cannot read property 'FacebookAuthProvider' of undefined

Version info

Angular:2.4.7
Firebase:3.6.9
AngularFire:2.0.0-beta.8
Hi I try to execute the basic configuration with fire base but has the error (SystemJS) Cannot read property 'FacebookAuthProvider' of undefined
my systemjs.config.js has this values to firebase y saw in some parts and talk about put the firebas-web.js but that don't exist into the firebase 3.6.9
firebase: 'npm:firebase/firebase.js',
angularfire2: 'npm:angularfire2/bundles/angularfire2.umd.js',
my module code look like the next
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { FormsModule } from '@angular/forms';
import {AngularFireModule,AuthMethods} from 'angularfire2';
export const myFirebaseConfig = {
apiKey: "my service key",
authDomain: "xxxxxx",
databaseURL: "xxxxx",
storageBucket: "xxxx",
messagingSenderId: "xxxx"
};
const firebaseAuthConfig = {
method: AuthMethods.Popup,
remember: 'default'
};
@NgModule( {
imports: [BrowserModule, AppRoutingModule, HttpModule, FormsModule, AngularFireModule.initializeApp(myFirebaseConfig, firebaseAuthConfig)
          ],
declarations: [AppComponent, QuoteNotifyProduct],
bootstrap: [AppComponent]

})
export class AppModule { }.
please help me with a example or some thing that I can Use to fix these error.

aws-mturk-clt.zip

This repo is for AngularFire for Angular 1. If you are using AngularFire 2, you should post an issue on the angular/angularfire2 repo.


change: Changed to correct links

Closes: #..
Checklist

[ ] Links in "For bedrifter"
[ ] Links in "Om oss" - No page to link to
[ ] Links in ProfileMenu - No access

Changelog

Changed links in "Kvitteringsskjema" and "Faktura"

How to test

Run monoweb
Click the link <3

lint?


fix: #13181 dataloaders for is_shipping_required resolver

I want to merge this change because #13181

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

Thanks for contributing to Saleor 🎉

Thanks for contributing to Saleor 🎉

Welcome. Looking for more contributions in future.


Set recommended options for Windows.

@pillarsdotnet Did this actually make a difference? The default for all of the options is already set to false by default.

@trevor-vaughan -- See the Post Installation notes:

We recommend disabling FIPS mode and simp-config driven YUM repositories on all Windows servers by editing /etc/puppetlabs/code/environments/production/data/windows.yaml.

---
simp_options::fips: false
class_exclusions:
  - simp::yum::repo::local_os_updates
  - simp::yum::repo::local_simp

@pillarsdotnet Ah, yes. Unfortunately, it has to be done at that level because the in-module layer is the last referenced.
This PR effectively just sets the default to the existing default and you'll need to override that caveat higher in the hierarchy if that makes sense.

@pillarsdotnet Ah, yes. Unfortunately, it has to be done at that level because the in-module layer is the last referenced.
This PR effectively just sets the default to the existing default and you'll need to override that caveat higher in the hierarchy if that makes sense.

So as long as I don't set it in common.yaml, I don't need to override it in windows.yaml ?

@pillarsdotnet If it comes in via common.yaml OR the Compliance Engine settings, then you will need to override it.
To be 100% certain, you can just set it in windows.yaml and be done with it.

Okay, but where are the compliance engine settings coming from?


In 2022, can't get examples to work in

First, thank you for writing this book!
Is it possible to run the code examples in a recent version of IntelliJ IDEA? I'm using 2021.3 Ultimate Edition. I'm using the gradle wrapper with the version set (see image below, note that the s is now required unlike a few years ago) as you suggest in your README, and I followed the tips you mentioned in this issue, but I get this output:
11:32 PM	Gradle sync failed: This version of Android Studio requires projects to use Gradle 4.8.1 or newer. This project is using Gradle 1.7.
			Change to minimum versions (plugin 3.2.0, Gradle 4.8.1) and sync project
			Change to latest versions (plugin 7.0.0, Gradle 7.0.2) and sync project
			Open build file (16 s 601 ms)

My settings look like this:

Now that it's 2022, should I just give up on getting the code to work, and instead follow the book content as best as possible, following up with something like the Udemy Gradle Masterclass?

Thanks! You are using Android Studio and not IntelliJ IDEA which seems to enforce a specific Gradle version. Try this with IntelliJ IDEA community edition.

Cool, that gets me closer, but rather than installing Community Edition, it turns out that you can disable IntelliJ's Android Studio plugin to achieve the same thing...

..., but then I get this:

Unsupported Gradle.
The project uses Gradle 1.7 which is incompatible with IntelliJ IDEA 2021.3.
Possible solution:

Upgrade Gradle wrapper to 3.0 version and re-import the project

So it seems IntelliJ integration is impossible.
As a workaround, should I just run the gradle commands from IntelliJ's terminal? For example, using sdk-man, I can select gradle 1.7, and cd to the project's directory.

You can use a newer version than Gradle 1.7 and I am sure the IDE would still be happy with it. In addition, Gradle now also requires you to add a settings.gradle file for each project. The way you opened the "project" in IntelliJ isn't correct as you are not dealing with a large multi-project build. You need to open projects individually e.g. chapter02/helloworld-task-doLast.
Side note: For learning purposes, you don't really need an IDE. You may just open a project from an editor e.g. VsCode. You can always execute the build from the command line.
Bottom line: The book would need a major overhaul, however, Manning Publications decided not to work on a second edition.