Improvement: Optional resources cause errors in the deployment

Feature or Idea - What?
There are optional resources, such as CosmosDB or the unchosen ADF/Synapse, of which's module outcomes the new logging elements are dependent on. I believe that is the reason causing errors when deploying the Batch product straight out-of-the-box.
Would ne a nice adding to make those logging parts work in a way it regards the optional resources as optional.
Feature or Idea - Why?
To clean the code and not raising unnecessary errors.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Hurvester can you please share the error details and bicep version?

Hello!
Sure, this is the error I get:
{
"status": "Failed",
"error": {
"code": "DeploymentNotFound",
"message": "Deployment 'cosmos001' could not be found."
}
}
And it is the latest commit's main.bicep:
https://github.com/Azure/data-product-batch/commit/36b9f3a8d1115d0c3743432372e672bb0b5eba5b

@Hurvester I believe the issue you are facing is related to this https://github.com/Azure/bicep/issues/3750  and  Bicep team is working on it.  Meanwhile one workaround is to update the references in  generated template as below
Example:  If the enableCosmos = false    in the params.json  the  references in the generated deployment template look like this
"cosmosDBScope": {
    "value": "[reference(resourceId('Microsoft.Resources/deployments', 'cosmos001')).outputs.cosmosId.value]"
          }

However, the correct reference in deployment template should be conditional as well and look like this.
"cosmosDBScope": {
   "value": "[if(parameters('enableCosmos'), reference(resourceId('Microsoft.Resources/deployments', 'cosmos001')).outputs.cosmosId.value, '')]"
          }

@sudivate why don't you use the following Syntax in Bicep:
cosmosId: enableCosmos ? cosmos001.outputs.cosmosId : ''

Have you tested this?

I found that to be error prone in some cases but looks like v0.4.1318 had   a fix for one such case.  Created a PR that updates all module parameters based on the options selected.


Support for Optional SensorMeta

Updated getFromDict() to return None when the key path does not resolve
recursively. Previously this would result in "TypeError: 'NoneType' object is
not subscriptable". This change is needed to support SenorMeta that does not
exist on all car types. Specifically this change is needed for a 911 that does
not support "remainingRanges.electricalRange.distance".

Thanks!


Sometimes cant train the model and sometimes train the model although everything is the same LightGBM LambdaRank

I am working with LightGBM LambdaRank task and while i am training i realize something weird.
Please look below:
batuhan:Downloads batuhan.talsik$ lightgbm config=train.conf
[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Finished loading data in 1.566017 seconds
[LightGBM] [Info] Total Bins 3869
[LightGBM] [Info] Number of data: 147860, number of used features: 16
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Info] 0.545459 seconds elapsed, finished iteration 1
[LightGBM] [Info] Finished training
batuhan:Downloads batuhan.talsik$ lightgbm config=train.conf
[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Finished loading data in 1.502288 seconds
[LightGBM] [Info] Total Bins 3869
[LightGBM] [Info] Number of data: 147860, number of used features: 16
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements
[LightGBM] [Info] 0.547467 seconds elapsed, finished iteration 1
[LightGBM] [Info] Finished training
batuhan:Downloads batuhan.talsik$ lightgbm config=train.conf
[LightGBM] [Info] Finished loading parameters
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Loading query boundaries...
[LightGBM] [Info] Total groups: 319, total data: 147860
[LightGBM] [Info] Finished loading data in 1.516244 seconds
[LightGBM] [Info] Total Bins 3869
[LightGBM] [Info] Number of data: 147860, number of used features: 16
[LightGBM] [Info] Finished initializing training
[LightGBM] [Info] Started training...
[LightGBM] [Info] Iteration:1, training ndcg@10 : 0.66171
[LightGBM] [Info] Iteration:1, training map@10 : 0.613304
[LightGBM] [Info] Iteration:1, valid_1 ndcg@10 : 0.657377
[LightGBM] [Info] Iteration:1, valid_1 map@10 : 0.617258
[LightGBM] [Info] 0.586912 seconds elapsed, finished iteration 1
[LightGBM] [Info] Iteration:2, training ndcg@10 : 0.712599
[LightGBM] [Info] Iteration:2, training map@10 : 0.667139
[LightGBM] [Info] Iteration:2, valid_1 ndcg@10 : 0.686665
[LightGBM] [Info] Iteration:2, valid_1 map@10 : 0.651572
[LightGBM] [Info] 1.187747 seconds elapsed, finished iteration 2
[LightGBM] [Info] Iteration:3, training ndcg@10 : 0.724263
[LightGBM] [Info] Iteration:3, training map@10 : 0.683256
[LightGBM] [Info] Iteration:3, valid_1 ndcg@10 : 0.714376
[LightGBM] [Info] Iteration:3, valid_1 map@10 : 0.687333
[LightGBM] [Info] 1.790020 seconds elapsed, finished iteration 3
[LightGBM] [Info] Iteration:4, training ndcg@10 : 0.729973
[LightGBM] [Info] Iteration:4, training map@10 : 0.690267
[LightGBM] [Info] Iteration:4, valid_1 ndcg@10 : 0.711804
[LightGBM] [Info] Iteration:4, valid_1 map@10 : 0.686864
and so on..
First try, cant train the model, second try, cant train the model and then third try i can train the model. Is there anyone who knows the reason of that ? Same data, same config, same command.
Train config :
{
'task':'train',
'objective':'lambdarank',
'boosting_type' : 'dart',
'max_depth':5,
'num_leaves': 14,
'metric': ['ndcg','map'],
'eval_at':10,
'max_bin':255,
'metric_freq' : 1,
'num_trees':500,
'learning_rate':0.05,
'bagging_fraction':0.3,
'bagging_freq':1,
'min_data_in_leaf':20,
'num_threads':8
}
Can anyone help me ?

firstly, did you try in on the latest master branch?
and did you fix the seed, and num_threads ?
I will suggest you to use gbdt instead of dart, and try non-bagging to test.

i tried all of this but problem is still exists.

Someone else has a different idea ?

could you provide the reproduce example?
I guess it is more like the env/usage problem, if above solutions didn't help.

Tree=0
num_leaves=1
num_cat=0
split_feature=
split_gain=
threshold=
decision_type=
left_child=
right_child=
leaf_value=0
leaf_weight=0
leaf_count=0
internal_value=
internal_weight=
internal_count=
shrinkage=1
end of trees
I realized that when [LightGBM] [Warning] Stopped training because there are no more leaves that meet the split requirements occurs, model is like above. num_leaves=1 and shrinkage=1 . Is there a something like 'boost_from_average=false' for lambdarank ?

Yeah, it is expected, as nothing is learned from your data. shrinkage is always 1 for the dummy trees.

ping @batutlsk for

could you provide the reproduce example?

Now, works with no problems but i didn't change anything

feel free to reopen if you met it again.


[Bug report]: SMR and ASMB amounts are wrong

Platform
Desktop
Version
1.6.4
Description
The SMR and ASMB amounts are wrong in firefly with ledger nano and also in a single wallet
The ASMB amount posted on 28 July 2022 is much lower than the ASMB amount posted on 17 May 2022. However, I have staked out the asmb. Logically I should have more.
The SMR amount displayed on 28 July 2022 is 1,000,000 times lower than the one displayed on 17 May 2022.
Expected behaviour
I would like to see correct amounts displayed
Actual behaviour
The SMR and ASMB amounts are wrong in firefly with ledger nano and also in a single wallet
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
No response
Operating System
Linux
Diagnostics
No response
Developer Profile
No
Profile Type
Hardware (Ledger)
Staking
Actively staking
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The unit of Shimmer has been changed. But you have the same amount of tokens like before. See also https://twitter.com/fireflywallet/status/1552319343412842496?t=4Ff-VDehCih8NsJdwtm_jw&s=19
And for the ASMB token you can try to run the balance finder in the settings. But there will be a v1.6.5 which should fix this. I'm going to close this issue as it is a duplicate to https://github.com/iotaledger/firefly/issues/4016


[production merge] 03/15/2024

Pull Request instructions:

Please follow the update protocol
Answer the questions below in detail. Your responses will be emailed to experimenters.
If the experimenters must do anything new, provide detailed step by step instructions on the wiki
Use markdown syntax in order for your comments to be rendered reliably in the email: "1." instead of "1)", use four spaces for indents.
If you use the keyword "skip email" in the title, it will skip the email updates
Merges from "develop" into "production_testing" should use the keyword "production merge" in the title for reliable indexing of updates
Merges from "production_testing" into "main" should use the keyword "update main"

Describe changes:
What issues or discussions does this update address?
Describe the expected change in behavior from the perspective of the experimenter
Describe the outcome of testing this update on a rig in 447

Merging without approval, since this is just moving things to the testing branch. All code changes have already been approved.


command-line -con name do not work when exist two connection with same name but different folder

System information:

Windows 10
DBeaver Standalone - <IP_ADDRESS>106210824

Describe the problem you're observing:
command-line -con name do not work when exist two connection with same name but different folder
Example
if i have in navigator 3 connections
FOLDER1\PROD
FOLDER2\PROD
FOLDER3\PROD
i use this command
"C:\Program Files\dbeaver\dbeaver.exe" -con "name=PROD|openConsole=true" the system open one of connection
i tried
"C:\Program Files\dbeaver\dbeaver.exe" -con "name=PROD|openConsole=true|folder=FOLDER1" but, like i read in wiki folder parameter is useful only during creation
is possibile add a parameter where specifiy the connection folder or reuse folder parameter ?

You could use connection ID instead.
It could be found in connection properties (Main Menu: Window - Show View - Other - Properties)

You could use connection ID instead.
It could be found in connection properties (Main Menu: Window - Show View - Other - Properties)

Thank you... this work!
example:
"C:\Program Files\dbeaver\dbeaver.exe" -nl it -con "id=oracle_thin-178639d9c76-a87d30287a0a007|openConsole=true"


Distributed runtime/example using GraphAr as out-of-core storage.

Describe the enhancement requested
As titled.
Since GraphAr is designed for LARGE graph archive and retrieval, a minimum viable runtime engine (a.k.a, MVP) is needed as example.
Component(s)
C++, Developer Tools

This feature is mentioned in #18 , @lixueclaire may have some idea or thought


CreatedAt is overrided by gorm even if explicitly set by caller.

I'm trying to do this.
model.CreatedAt = created_at
db.Create(&model)

But the field is overrided with time.Now().
Is it possible to avoid this behavior?

Still actual

This creates really bad cases:
model.CreatedAt = now
model.DeletedAt = &now

but in database DeletedAt gets value which is earlier in time comparing to CreatedAt

For anyone who is encountered this problem, this is solved in newer versions, see 1.9.1
@jinzhu Close this issue please


 Perhaps the API is slightly behind realtime (my heath changed recently). Same issue with a recent attack not taking the weakling achievement (!).

Current health of users is not part of the cache: it's just general Habitica content like quest and equipment information. Could be that the API is behind, or maybe libcurl does its own caching??


Build & push Docker image manifest that includes Aarch64

Description
Implements CD for Aarch64 images. After this PR, images pushed by our CD will be a "manifest list" (whatever that means) that has 2 images, the Aarch64 one and the x86_64 one.
How Has This Been Tested?
I ran it in a private repo and verified the resulting image are pull-able and run-able on both Aarch64 and x86_64.
I do want to test it with older Docker version (I don't know if older versions handle all of this manifests thing)
Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have updated the relevant documentation.
[ ] I have added tests for new logic.

Fix ci?

Fix ci?

Unrelated, meh


Update the name of the school list file

@mlt47 @Morpheu5 - this PR must go into the next release. It is trivial, but important.


Update AppUtils.java

pls

Are you kidding?

:smiley:

You want to play these windows games on Android?


Oracle connection produces error "ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library"

When I run
export ORACLE_DB='oracle://user:mypassw@orcl.host:1521/db1'
and then
sling conns test ORACLE_DB
I get the following error:
fatal:
~ could not connect to database
ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 0x0001): tried: 'libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibclntsh.dylib' (no such file), '/usr/lib/libclntsh.dylib' (no such file, not in dyld cache), 'libclntsh.dylib' (no such file)". See https://oracle.github.io/odpi/doc/installation.html#macos for help

The same happens when I actually use  a real Oracle DB, but this shows that the error has nothing to do with the actual connection.
I don't get this error message. Do I really need to install some Oracle client library to run Sling?
I'm running an M3 Macbook Pro on Sonoma 14.3.1 if that matters.

Moved here: https://github.com/slingdata-io/sling-cli/issues/206


Can Mokku mock fetch API?

Hi mukuljainx:
Thank you for the great extension. It really saves my time of woking on mock servers.
But I found Mokku does not work to window.fetch, maybe, due to the dependency of xhook which hooks the XMLHttpRequest API.
Do you have any plan on fetch API mocking?
Thanks.

Hi @ladjzero,
Yup, in V2 it will work!


[UPDATE]: updated to Unity 4.0.1 which has a new strongly-named assem…

Updated to latest versions of Topshelf and Unity (which has a new strongly-named assembly and is incompatible with the 0.1.0 version of the package).

Wow! First PR to that project. I feel like that raccoon https://twitter.com/terminalbreaker/status/644526894549852161
@zendever Thank you for contribution! The package on it's way.

:-) No worries! Always glad to help.
From: Alexandr Nikitin<EMAIL_ADDRESS>Sent: Thursday, November 19, 2015 6:08 AM
To: alexandrnikitin/Topshelf.Unity<EMAIL_ADDRESS>Cc: Michael Murillo<EMAIL_ADDRESS>Subject: Re: [Topshelf.Unity] [UPDATE]: updated to Unity 4.0.1 which has a new strongly-named assem… (#1)
Wow! First PR to that project. I feel like that raccoon https://twitter.com/terminalbreaker/status/644526894549852161
@zendever https://github.com/zendever  Thank you for contribution! The package on it's way.
—
Reply to this email directly or view it on GitHub https://github.com/alexandrnikitin/Topshelf.Unity/pull/1#issuecomment-158038053 .


datalog: allow online HTML file to alert users of firmware updates

@microbit-mark I'd like a proposal from you on how we display this, but once #145 is complete, @microbit-matt-hillsdon will be able to add DAPLink update notification to the online HTML file in the datalog.
This ticket is to track the implementation of the message in the online HTML, as opposed to adding (or @finneyj showing us how to extract) the information into the offline HTML so the online version can respond to it.
@microbit-mark could you please propose some language and styling to the online HTML experience
CC @microbit-giles

@microbit-mark could you please propose some language and styling to the online HTML experience

Hi Mark, would you be able to look into this next week? John will be looking into this soon.

Related to #145

A couple of suggestions. In both cases, I'm assuming that we are linking to https://microbit.org/get-started/user-guide/firmware/ unless we have a good way of downloading the exact firmware they need.
Even if we are able to provide the correct firmware .hex, we may need to still guide them in updating it

Moving this to the next milestone as the tasks for 0.2.39 is https://github.com/lancaster-university/codal-microbit-v2/issues/145, we can update the online JS at a later point.


Add --all-targets option to cargo clippy rust gh-action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.588%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
36789

Relevant Lines:
37316

💛  - Coveralls


Bugfix for SSR

Vuex-persistedstate will work now in server side

@reg2005 thanks for the PR! I understand the need of SSR and your thoughts on how to implement, but the PR you've submitted is not working correctly? Can you make sure the getState() method actually returns something?

@robinvdvleuten Sorry. I'm fix the bug

There are still some issues, can you please check the Travis CI output here?


Remove elixir_uuid from deps

Ash.Types.UUID.matches_type?/2 was introduced at ash 3.0.15.

:rocket: Thanks for your contribution :rocket:


Filter out core packages.

As title says. As these wont be updated nor uninstalled unless a new version is installed anyway.

Duplicate of https://github.com/Hackafe/atom-sync-settings/issues/37


Defined calling conventions missing in function definition.

Describe the bug
Defined calling conventions not in function definition list.
To Reproduce
Steps to reproduce the behavior:

Import or use not standard calling convention(from .cspec)
Create function definition with it (it's not listed)

Also try to "override signature" in calling place, but seems it's not work(because if it work then it will be informed that ECX not touched) and on next try of "override signature" it's still "__cdecl"

Environment (please complete the following information):

OS: Archlinux
Java Version: 16.0.2
Ghidra Version: 10.0.3

Function Definition datatypes are currently limited to the enumerated set defined by the GenericCallingConvention enum.  Call overrides are unfortunately limited by this as well since that mechanism relies on such a datatype definition.  We recognize the limitations of this and is our intention to improve this in the future.  As this a design limitation and already on our radar I am going to close this ticket.  Unfortunately, a specific release for such a change has not yet been identified.


toying with Docker for testing

I was toying around with using docker to test this locally since I don't know much about docker and it would be nice to test it without setting up the databases on my local machine.
Alas, I have 2 problems with this. Although postgres works as expected I cannot get the mysql DB to work properly.

It appears that sometimes when I run docker-compose up it tries to run the tests before the mysql db is ready.
When the mysql db is ready I get a

mysql_1      | 2017-01-29T19:18:56.464157Z 3 [Note] Access denied for user<EMAIL_ADDRESS>(using password: YES)
web_1        | django.db.utils.OperationalError: (1045, "Access denied for user<EMAIL_ADDRESS>(using password: YES)")

and yes if I attach to the mysql machine, I can connect to that db. Will have to figure out what it is I don't know.

Coverage remained the same at 89.82% when pulling 987e18fc5d3a06a98a92e4efc9d0024570f7a4b8 on docker into d796c316771c37978e6008c153303cfff1e68e80 on master.

#1 is a known issue - Docker only guarantees that the other containers have started, not that they're necessarily ready to accept connections or anything. We're almost done https://github.com/waveaccounting/gottardo-nginx/pull/27 which should handle this for you, if you're willing to have some nginx sitting in your test container (or we can build one that has this, but no nginx). If not, you'll need to do something with wait-for-it.sh (or similar) to block until it can make a TCP connection to the DBs and confirm they're ready.

For #2, I bet it's something like the mysqld.cnf that ships with the container only allows local connections for [all users || the user docker-entrypoint.sh creates], or the user that's created has an IP restriction on it. I'd start with getting into the container and looking at mysqld.cnf and the permissions on the user created.

Coverage remained the same at 89.82% when pulling 3c1a3c15f65e8c76cd39573d0243df09d2f78ceb on docker into d796c316771c37978e6008c153303cfff1e68e80 on master.

Coverage remained the same at 89.82% when pulling d4ba6d7d5a3650c6362fa7194c001b4745f1f386 on docker into d796c316771c37978e6008c153303cfff1e68e80 on master.


syntax-highlight will not be available when a long string

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:1.71.2
OS Version:Darwin x64 21.6.0

Steps to Reproduce:

When a line is longer than 1000 characters
Comment this line of code, highlighting is not available, The code after this line also cannot be highlighted

You can increase editor.maxTokenizationLineLength in settings
at the cost of performance
tho the default value is 20,000?

editor.maxTokenizationLineLength
After setting, the problem still exists

@RedCMD
editor.maxTokenizationLineLength
After setting, the problem still exists

what language are you using?
and can we have a copy of your file please

a.js.zip
use javascript
maxTokenizationLineLength It didn't seem to work

Found it
https://github.com/microsoft/vscode/blob/bcb6c9b7e0e795bdf65ea440025d204060e4bfc8/extensions/javascript/package.json#L13-L15
Was changed in Oct last year
https://github.com/microsoft/vscode/commit/8358d0ca67b115465cf9e3f88217e4b136bafa74
I was able to change it via settings
"[javascript]": {
   "editor.maxTokenizationLineLength": 25000
},

You do need to update the file to see changes

I do see this parameter, and I set it (on [javascript]) but it doesn't work
"[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.maxTokenizationLineLength": 25000
    },
"editor.maxTokenizationLineLength": 25000,

@alexr00 You can take a look at the screenshot and sample I provided. Note that one line (1001 characters) highlighting is not effective

@RedCMD that UI element actually shows a hover. Hovering over it reveals other locations where the setting has been modified. Tracking issue for UX improvements: https://github.com/microsoft/vscode/issues/159088


alpine: core dumped when try to run non-existing file

docker run -it --rm python:alpine sh -c "python sssssssss.py ; echo $?"

Segmentation fault (core dumped)
139

expect:
python sssssssss.py ; echo $?

python: can't open file 'sssssssss.py': [Errno 2] No such file or directory
2

This is the only similar issue https://github.com/docker-library/python/issues/177
The issue is alpine specific, perhaps it's an anomaly with libc.

I'm not sure what's causing it, but for someone who wants to dig into what's going on here, the end of an strace python ssssss.py has the following:
...
stat("/usr/local/lib/python3.7", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/lib/python3.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/lib/python3.7/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("ssssss.py", 0x7fff32d7e2f0)       = -1 ENOENT (No such file or directory)
stat("ssssss.py", 0x7fff32d7db50)       = -1 ENOENT (No such file or directory)
readlink("ssssss.py", 0x7fff32d6d570, 4096) = -1 ENOENT (No such file or directory)
open("ssssss.py", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_PATH) = -1 ENOENT (No such file or directory)
open("ssssss.py", O_RDONLY)             = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault

(Doesn't appear to contain any obvious clues.)

I've done a bit of digging. It seems that pymain->config.program is null here for some reason:
https://github.com/python/cpython/blob/1bf9cc509326bc42cd8cb1650eb9bf64550d817e/Modules/main.c#L1461-L1462
I haven't managed to figure out anything more, though.

Confirming issue. Attempting to execute any non-existing file results in a segfault on fresh Alpine Python 3.6 docker image.

@JayH5 found reason.
Investigated history and found the bug was introduced here: https://github.com/python/cpython/commit/19760863623b636a63ccf649107d9504c6465a92#diff-75445bdc3b6b3dd20b005698fa165444R2443
So it should be totally unrelated to Alpine...
Bug is still present in current 3.7 branch..

@tianon yes it has been raise and fixed.
I made a POC change (simply move the code that sets the config to NULL to later position). Sure it would have been possible to just swap out the NULL value, but as it alsways would show null here the better solution would have been to just remove the config.program from output.
The config.program containst the executable name for the interpreter (so python, python3.7 or whatever the binary was called). It's more nice to keep the program name in output. Even more with python as You are quite likely to have different python executables running.
Anyway stinner merged some further changes he did to this section in the master/3.8 branch to 3.7 branch and so the problem is now fixed with not a simple change but with an already existing solution.
I already tested the patched version and it puts out program name correctly and does not dump core.

Nice!  So this fix will be in the next 3.7 release?
(I'm closing this issue since the issue itself is very minor, the image's behavior is an accurate representation of Python's own behavior, and it appears it'll likely be fixed in the next 3.7 release. :+1:)


Calibration and test updates for v2.6 using Geant4 (v 11.1.ref05)

I report a brief summary of the commits generated for the three modified files (ATLHECTBanalysis1_v2p6.C, emanalysis.h, pianalysis.h) :

ATLHECTBanalysis1_v2p6.C: Updated the reconstructed e- energies to the G4.11.1.ref05 version (v2.6)
emanalysis.h: Updated the SampFraction to the new G4.11.1.ref05 version (v2.6), updated the names of the Canvas legends to G4.11.1.ref05 (v2.6), Changed the initialization of the double variables by setting them to 0. at the start.
pianalysis.h: Updated the SampFraction to the new G4.11.1.ref05 version (v2.6), updated the names of the Canvas legends to G4.11.1.ref05 (v2.6), Changed the initialization of the double variables by setting them to 0. at the start.

PR #22 contains the first changes for the CERN 2023 Summer School project. ATLHECTB 2.6 will be released soon and will contain the changes to handle the CERN.FLUKA interface as well as the analysis tools for the G4-to-CERN.FLUKA results comparison. This PR changes analysis files within v2.6 directory and adds the new sampling fraction value obtained with Geant4-11.1.ref05, FTFP_BERT, and the current master of ATLHECTB. It also fixes a bug in analysis initializing uninitialized doubles to 0.


fix(frb_generated): fix dco_decode_xx function when building failed

When i trying build project,found that error in frb_generated.dart
The argument type 'dynamic' can't be assigned to the parameter type 'int'

frb_generated.dart is a generated file, don't edit it directly


Clarify project root detection rules

In #50 @chrishines pointed out some ambiguity in the project detection rules.
Clarify them, and add tests. Also.come up with a good story for what happens when accidentally building inside vendor/

My suggestion:

Project root auto detection

A gb project is defined as any directory that contains a src subdirectory. gb automatically detects the root of the project by looking at the current working directory and walking backwards until it finds a directory not named vendor that contains a src subdirectory.

@ChrisHines sounds good to me. I'm pretty sure this is what the current logic does anyway.
On a related not, I'm kicking myself that the tests in this area are non existant. I have some excuses about mocking filesystems, but they don't cut it. As part of resolving this bug I will add robust tests.

Was there a reason you chose not to address the vendor folder in the new wording?

I haven't implemented that logic yet. Please reopen the issue.
On 11 May 2015 12:15 pm, "Chris Hines"<EMAIL_ADDRESS>wrote:

Was there a reason you chose not to address the vendor folder in the new
wording?
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/53#issuecomment-100740118.


Update remove-users.md

Fix #1413

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kaarins PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


⚠ Thumbnails API Endpoint has degraded performance

In bb0432c, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1089 ms

Resolved: Thumbnails API Endpoint performance has improved in a839bed after 35 minutes.


How can I use translatable with simple resources and RelationManager?

Package
filament/filament
Package Version
v2.17.24
Laravel Version
v10.0.0
Livewire Version
No response
PHP Version
php 8.0.0
Problem description
How can I use translatable with simple resources and RelationManager?
Expected behavior
_
Steps to reproduce
_
Reproduction repository
https://github.com/mstfkhazaal/dramatic
Relevant log output
No response

It's not a bug, we just don't support the feature yet

It's not a bug, we just don't support the feature yet

When will it be added?

I don't know, it's a very complex feature. Maybe in v3 if Livewire v3 helps us simplify the implementation.

I don't know, it's a very complex feature. Maybe in v3 if Livewire v3 helps us simplify the implementation.

Is there a way to open the Create and Modify page without popup in relation manager?


I Am Unable To Render on my windows server , Generates an empty video

Hi all,
Need a small help.
I have installed nexrender server and nexrender worker on a windows server,
when I send a post request it generates an empty video on my temp folder ,- 2KB video
I don't know where I had done wrong
Version of aftereffect installed- 17.1.4
Clipeargo server dependencies
 "dependencies": {
    "@nexrender/action-copy": "^1.8.16",
    "@nexrender/action-encode": "^1.22.0",
    "@nexrender/core": "^1.21.4",
    "@nexrender/types": "^1.20.3",
    "amazon-s3-uri": "^0.1.0",
    "arg": "^4.1.0",
    "aws-sdk": "^2.789.0",
    "body-parser": "^1.19.0",
    "chalk": "^2.4.2",
    "dotenv": "^8.2.0",
    "express": "^4.17.1",
    "fs": "0.0.1-security",
    "micro": "^9.3.3",
    "micro-cors": "^0.1.1",
    "microrouter": "^3.1.3"
  },

Clipeargo worker dependencies
"dependencies": {
    "@nexrender/action-encode": "^1.20.1",
    "@nexrender/api": "^1.20.3",
    "@nexrender/core": "^1.21.2",
    "@nexrender/types": "^1.20.3",
    "arg": "^4.1.0",
    "chalk": "^2.4.2",
    "is-wsl": "^2.2.0"
  },

earlier on worker the "@nexrender/action-encode":  version was "^1.22.0", there was an error, so changed to "^1.20.1",
Now there is no error but the video  generates is an empty video
post body
{
                "template": {
                    "src": "file:///C:/Users/Administrator/applications/cliperago-server/PRO/TEMP01.aep",
                    "composition": "temp1"
                },
                "assets": [
                  {
                    "type": "data",
                    "layerName": "text",
                    "property": "Text.Source Text",
                    "value": "ilham x"
                  }

                ],
                "actions": {
                  "postrender": [
                    {
                      "module": "@nexrender/action-encode",
                      "output": "output.mp4",
                      "preset": "mp4"
                    },
                    {
                      "module": "@nexrender/action-copy",
                      "input": "output.mp4",
                      "output": "../rendered/output.mp4"
                    }
                  ]
                }

        }

Status Get response
{
    "uid": "GV6PGT1dAwqxpLdsHlY6H",
    "state": "finished",
    "type": "default",
    "renderProgress": 0,
    "error": null
}

The state is finished but render = 0?
Can someone help with there,
would be a great help,
Thank You

solved , change version of After effect

which version do u use now? im trying with ae 2020 and it creates 2kb empty video files :/


GDScript: Fix "Identifier not found" error when accessing inner class from inside

Closes #80508.

thanks! i can confirm this solves the issue i had in #80508

Thanks!


More debugCheckHasMaterialLocalizations() asserts

cc @jonahwilliams
This commented out assert was introduced in #20787
// TODO(jonahwilliams): uncomment out this check once we have migrated tests.
// assert(debugCheckHasMaterialLocalizations(context));

What test migration are we waiting for?

hmm ... I don't remember


Ignore local hashes with --no-reuse-hashes

Fixes #1176

Changelog-friendly one-liner: Ignore local hashes with --no-reuse-hashes in pip-compile
Contributor checklist

[x] Provided the tests for the changes.
[x] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[x] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

https://github.com/jazzband/pip-tools/pull/1176

@atugushev do I need to get a review from another maintainer?

@graingert one approval is enough 👍 I'm going to prepare a release soon, right before pip-20.2 will be released.

pip-tools v5.3.0 is released.

@atugushev amazing, thanks again!


feat-#230: Added the github action

Summary
Added the title checker functionality by using the github action
Description
I have created one yaml file under .github/workflows this is the file when the pr is opened the github action automatically triggred according to what we mention in the yaml file. and i have created another file json under .github/  in this file i have written the title checker logic(regex)
video
https://github.com/krishnaacharyaa/wanderlust/assets/105500361/cb737956-511d-4658-a13c-0dae90aebd0a
Issue(s) Addressed
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <230>
Example: Closes #230

Prerequisites

[ yes ] Have you followed all the CONTRIBUTING GUIDELINES?

Updated video please @Ameerjafar

@krishnaacharyaa video updated sir.


Bugfixes for Arsenal and Build system

Includes some bugfixes and updates.
Arsenal Ranks:

Cancel button missing an action
Allow consumers to pass a global arsenal list, and a player specific arsenal list, to the rank system.
Allow consumers to specify the object or namespace that the arsenal pertains to

Build System:

Fix the Vector mode
Add a delay between deleting the preview object and spawning the physical object

The build fixes in 402a16a resolved the exploding vehicles problem I was having. 👍


../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [64,0,0] Assertion -sizes[i] <= index && in dex < sizes[i] && "index out of bounds" failed.

Recently, I have encountered an issue while modifying the positional encoding in the mrope_input_positions section of the Qwen2-VL code, and I have tried but don't know how to resolve it. In short, I'm aiming to explore the model's performance when extrapolating to a 60k context on the Qwen2-VL 7B model, using video data for testing. I tried replacing this section (https://github.com/vllm-project/vllm/blob/3bb4befea7166850bdee3f72fe060c9c4044ba85/vllm/worker/model_runner.py#L672) with vanilla-ROPE（That is, placing image, video, and text tokens all on the main diagonal of the M-RoPE.）, which caused the max value of the mrope_input_positions up to approximately 59k, but it eventually led to an error.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [64,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [65,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [66,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [67,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [68,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [8320,0,0], thread: [69,0,0] Assertion `-sizes[i] <= index && in
dex < sizes[i] && "index out of bounds"` failed.
...
INFO 11-03 18:58:15 model_runner_base.py:120] Writing input of failed execution to /tmp/err_execute_model_input_20241103-185815.pkl...
WARNING 11-03 18:58:15 model_runner_base.py:143] Failed to pickle inputs of failed execution: CUDA error: device-side assert triggered
WARNING 11-03 18:58:15 model_runner_base.py:143] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
WARNING 11-03 18:58:15 model_runner_base.py:143] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
WARNING 11-03 18:58:15 model_runner_base.py:143] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
WARNING 11-03 18:58:15 model_runner_base.py:143]
RuntimeError: Error in model execution: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

I have already tested the original M-RoPE, which outputs correctly with a 60k context, and the maximum mrope_input_positions value is around 300. So, I am wondering if the position value is too large, causing it to exceed the index. How should I modify it to support vanilla-RoPE (Or perhaps some other 3D positional encoding, where the positional encoding values are quite large.) for evaluation? Thanks!
p.s. I noticed that this function (https://github.com/vllm-project/vllm/blob/3bb4befea7166850bdee3f72fe060c9c4044ba85/vllm/worker/model_runner.py#L637) was called several times before inferring on my provided video test data, and I’m wondering if this might be related.
using environment
Name: vllm
Version: 0.6.3.post2.dev171+g890ca360
Originally posted by @Wiselnn570 in https://github.com/vllm-project/vllm/issues/9875#issuecomment-2453396961

cc @WoosukKwon

also cc @fyabc: if you can provide any insight on this that would be much appreciated since mrope is only used for Qwen2VL!

@ywang96 Yes, so it's difficult for me to debug this CUDA error due to its particularity. Specifically, I implemented get_input_vanilla_positions by following this function: https://github.com/vllm-project/vllm/blob/b67feb12749ef8c01ef77142c3cd534bb3d87eda/vllm/model_executor/layers/rotary_embedding.py#L786, and replaced MRotaryEmbedding.get_input_positions with get_input_vanilla_positions at https://github.com/vllm-project/vllm/blob/b67feb12749ef8c01ef77142c3cd534bb3d87eda/vllm/worker/model_runner.py#L672. Everything works fine when the number of input frames is small, so the maximum value of the positional encoding is low. However, when testing with 48k, 64k, or 80k context lengths, this error occurs.

@Wiselnn570 Hi, can you add export CUDA_LAUNCH_BLOCKING=1 and provide a detailed traceback about this cuda error? I guess that the error is raised when reading cos_sin_cache in RotaryEmbedding.

@Wiselnn570 Hi, can you add export CUDA_LAUNCH_BLOCKING=1 and provide a detailed traceback about this cuda error? I guess that the error is raised when reading cos_sin_cache in RotaryEmbedding.
Also, can you check max_position_embeddings value in your model config? You should increase this value when running long queries.

Thank you; it looks like your suggestion was spot-on. Increasing the cos_sin_cache resolved the issue.


Fix for issue #516.

Update the GroupMember struct with the most recent properties from https://docs.gitlab.com/ce/api/members.html.

@svanharmelen done.

Thanks for the additional update @praneetloke! LGTM!


changedfiltered_information_schema_columns materialization

https://github.com/elementary-data/elementary/issues/945
https://github.com/elementary-data/elementary/issues/541

I'm in trouble with this issue.
I'm using Snowflake, and when I looked at the query profile, I found that the test was taking a long time because the query compile time was long. By changing the materialization from view to incremental, I expect to reduce the compile time and improve the performance of baseline schema change tests.

@elongl Can you review?
Since I changed the model incremental, I think it's necessary to build the model before running the baseline schema tests.
I want to discuss how to fix for it.

@harukitake As you correctly said, this table needs to be a view so that if new tables are added, it'll still work without requiring the user to re-run this model prior to using schema changes tests. We need to come up with an alternative solution in order to cut down the time. Perhaps we should query the table directly rather than the information schema.

Team has improved it. Thanks.


Another case of alexa no longer discovering ha-bridge devices..

Part of me wonders if Alexa is going the route google did of requiring a meethue login, but there's enough weirdness in what I'm able to monitor and log that I might be missing something dumb.  So my setup -
I've ru ha-bridge since the echodot came out, maybe two years now?  Part of that time I was building the jar and running it on ubuntu xenial, on port 8081, UDP port default 1900, response 50000 .  IP always static.  A few months ago I moved to using the docker image, on my NAS - worked just as well there.  Then last week I tried to add two new items to ha-bridge, and alexa just wouldn't discover them.  They were showing up in the habridge api xml just fine.  After turning on the habridge upnp and huemulator debug logs I could see my echo dots (have two) requesting the description xml/ lights list, but it never added anything.
I tried removing one of the existing "devices" in the alexa app that was served by ha-bridge, wondering if I'd just misconfigured the new items i was trying to add, just to see if alexa would rediscover the "old" device.  It did not.  Having added and removed a number of devices to habridge over the years, I noticed my "ID" numbers in habridge were getting into the 50's, and wondered if I was hitting some kind of limit, so I hit the "renumber devices" button and rescanned.  Again it would not find my new, or the old removed device.  But I noticed that because of the change in numbering at ha-bridge, triggering a device in alexa now ran a different command in habridge, corresponding to what its old ID had been.  As another test I maneuvered the "new" habridge item into the ID position of an old item that was still mapped in alexa, and triggered it.  It ran fine, so I knew it wasn't a formatting issue in my new item.
I'd experienced alexa refusing to find new items, mostly in the months after I got my dots - often I'd have to clean out the devices and start from scratch as others have noted.  Having seen it fail to re-add the one old skill I'd removed I was worried that clearing out alexa's memory might lead to losing all of the existing ones for good - and that's what happened.  I have an ecobee and a harmony hub, and it finds those fine after removing them.
Other things I've tried, without success:

going down to a single item in habridge
changing the hue firmware field in habridge to older hue bridge v1 firmwares.  And a v2 or two.
Adding the mac of a real V1 habridge in the mac emulation field (I don't have a real hue bridge yet)
proxying habridge gui via apache as per guide, to port 80.
setting a local DNS alt name of philips-hue for the host running ha-bridge
ensured IGMP was not enabled at pfsense router or the apple airports that provide wifi
Tried older versions of habridge (including the 5.2.2 branch)
tried changing gui, udp, and response ports
tried using the "link" auth method in habridge when scanning.
tried going back from the docker image to a jar running on the ubuntu box (which is now bionic), and a raspberry pi

When scanning, I try each of triggering from the alexa app, the alexa website @ amazon, and vocally "discover devices".
At some point soon after clearing out my alexa devices, I stopped seeing my echo dots interacting with the habridge via debug logs.  To make sure UPNP was actually working on my network, I enabled the UPNP server and listener in Kodi on the Ubuntu box.  As soon as I turn that on I see activity from kodi's IP in the habridge debug logs.  When I trigger alexa discovery, I'll quickly see more habridge debug log activity from the kodi box, passing along an M-search.  But I'm still not seeing any communication between the ha-bridge and the echodots directly, no matter where I run habridge, and no matter what combination of settings I use.
Out of ideas, I went another route.
Finding a cheap google home mini for sale, and noting the old ghome apk workaround on the wiki to add habridge, I ordered one, and installed the correct APK.  I guess that workaround is broken, because rather than pairing with the habridge, it takes me to the meethue webpage to login.
The last thing I can think to try is to integrate an actual v1 hue bridge.  They're DIRT cheap now, under $10, so I'm waiting for that to show up to see if alexa finds it, and if I might be able to then sneak habridge in front of it (will I have any means to set the actual serial number of the hue bridge in habridge, or is that generated randomly and automatically?)

I found clearing all devices in Alexa and then a upnp delay of 250 worked perfect.

Gave that a shot, sadly no change.  It found only the ecobee device.
Does offer some hope if other people have habridge still working.

Ok I got it - some multicast or UPNP  issue present between my wifi network and my ethernet network subnets that wasn't a problem historically, seems to be now.  I set up a raspi hosting a habridge jar on my wifi net, and alexa found habridge fine.
glad to have it working again! thanks for the help!


Inconsistent results when using math/big with channels

What version of Go are you using (go version)?
go version go1.10.1 linux/arm
Does this issue reproduce with the latest release?
N/A
What operating system and processor architecture are you using (go env)?
GOARCH="arm"
GOBIN=""
GOCACHE="/home/chronos/user/.cache/go-build"
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/chronos/user/Downloads/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build030124681=/tmp/go-build -gno-record-gcc-switches"

$ uname -a
Linux localhost 4.4.122-13289-g3ef2bcfe7ed4 #1 SMP PREEMPT Thu Mar 22 14:08:00 PDT 2018 aarch64 ARMv8 Processor rev 4 (v8l) GNU/Linux

ChromeOS Version 67.0.3376.0 (Official Build) dev (32-bit)

What did you do?
https://play.golang.org/p/Bh1o17YTjfl
package main

import (
        "fmt"
        "math/big"
)

func generate(c chan<- *big.Int) {
        step := big.NewInt(1)

        for i := big.NewInt(1); ; i.Add(i, step) {
                c <- i
        }
}

func main() {
        ch := make(chan *big.Int)

        go generate(ch)

        for i := 0; i < 30; i++ {
                prime := <-ch
                fmt.Println(prime.String())
        }
}

What did you expect to see?
1
2
3
4
5
6
7
8
9
10
...

What did you see instead?
2
2
3
4
5
6
8
8
10
10
...

This has nothing to do with math/big. As you can see, the exact same thing happens if you use *int: https://play.golang.org/p/GFdOyvgtKZz
The issue here is that you are reusing the same pointer for every send, so you modify previously sent values. This can be seen very clearly if you add more buffering to the channel, which further accentuates this issue: https://play.golang.org/p/2WkrFmpKXik
In the future, please see https://golang.org/wiki/Questions for more appropriate places to ask questions. You should only open an issue here once you're positive there isn't a bug in your code.


Add boolean pattern matching to when

Merge after #278
Closes #272

Added some interesting test scenarios which currently fail. I couldn't spot the error in the code generation, but it seems to me that the clause isn't calculated correctly?


AxisTicks component appears to ignore tickFormatting prop

https://github.com/esbullington/react-d3/blob/master/src/common/axes/AxisTicks.jsx#L38 is checking for a tickFormat_ prop for some reason and there's an extra tickFormat defaultProp.
Meanwhile props.tickFormatting isn't used at all.

Thanks for letting me know.  I swamped right now with client work since I was out sick for over a week this month, so it will probably be at least the weekend before I can get to this.
Most of the code in the AxisTicks component is directly pulled from d3, so that's the reason for extraneous variables.  It definitely needs cleaning up.

fixed by #165


is this library still working?

I'm getting this error:
error caught in handler: message type not implemented
exit status 1

I had to bump the WAversion as per other comments I saw but is still not working. Can somebody help please?

What is the code you are using, it seems an error with your implementation.

This is my code:
func main() {

	fmt.Println("Trying to connect")
	wac, err := whatsapp.NewConn(60 * time.Second)
	fmt.Println("After NewConnect")
	if err != nil {
		fmt.Fprintf(os.Stderr, "error creating connection: %v\n", err)
		return
	}

	fmt.Println("Adding Handler")
	wac.AddHandler(&waHandler{wac, uint64(time.Now().Unix())})
	fmt.Println("Done Adding Handler")

	if err = login(wac); err != nil {
		fmt.Fprintf(os.Stderr, "error logging in: %v\n", err)
		return
	}

	fmt.Println("Waiting for Messages")
	c := make(chan struct{})
	<-c
}

its still working smoothly ! without problem.
24 June 2021
Pada tanggal Rab, 23 Jun 2021 pukul 06.03 Roberto Badillo <
@.***> menulis:

This is my code:
func main() {
fmt.Println("Trying to connect")
wac, err := whatsapp.NewConn(60 * time.Second)
fmt.Println("After NewConnect")
if err != nil {
fmt.Fprintf(os.Stderr, "error creating connection: %v\n", err)
return
}
fmt.Println("Adding Handler")
wac.AddHandler(&waHandler{wac, uint64(time.Now().Unix())})
fmt.Println("Done Adding Handler")
if err = login(wac); err != nil {
fmt.Fprintf(os.Stderr, "error logging in: %v\n", err)
return
}
fmt.Println("Waiting for Messages")
c := make(chan struct{})
<-c
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/issues/582#issuecomment-866392517,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJQY2AHE2BHZHH5VE55RH3TUEJDRANCNFSM47ETMCQQ
.

The library continues to operate as of June 24, 2021.
In your HandleError function do not exit. Consider that there may be types of messages not implemented by the library. Just ignore those kinds of messages and don't end your boot.

I was able to get it working by adding this line of code:
wac.SetClientVersion(2, 2123, 7)

Thank you guys for your help.

I was able to get it working by adding this line of code:
wac.SetClientVersion(2, 2123, 7)

Thank you guys for your help.

where to add the code?

@excaliburapp
	wac, err := whatsapp.NewConn(60 * time.Second)
	wac.SetClientVersion(2, 2123, 7)


Fix CIFAR 10 data prepare script filename.

CIFAR-10_data_prepare.sh was misspelled as CIFA-10_data_prepare.sh in some places. This caused errors if the user blindly followed the instructions for CNTK GPU Python Distributed recipe.

In other less relevant places, fixed similar naming issues.

Thanks!


switch to SecTrustEvaulateWihError to avoid deprecation warning

Hi there! Building smimesign or certstore currently displays a deprecation warning (#85):
# github.com/github/smimesign/certstore
cgo-gcc-prolog:473:11: warning: 'SecTrustEvaluate' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:353:10: note: 'SecTrustEvaluate' has been explicitly marked deprecated here

I dove into this and this is what I came up with.
SecTrustEvaluate has been marked as deprecated and should be replaced by SecTrustEvaluateWithError according to https://developer.apple.com/documentation/security/1394363-sectrustevaluate
The new function, SecTrustEvaluateWithError returns a bool if the certificate is trusted or not, which I don't believe we care about or need here. It optionally takes a reference to a CFError as well, in which I pass in nil (but we could capture/parse it if we think it's necessary). According to the docs, to make a determination if the failure is recoverable, the docs say to make a call to SecTrustGetTrustResult and evaluate that OSStatus result.
I've modified the code to call SecTrustEvaluateWithError followed by a call to SecTrustGetTrustResult and detemine if that error is recoverable or not. The tests are all passing and I haven't noticed any side effects other than the deprecation warning being gone :)
Let me know if you think this is an acceptable PR!

Sorry for the slow response here. This got addressed by PR #127 and #149, so I am going to close this out.
Thank you for taking the time to address the issue though.


Docs error fix

closes #1833
What does this PR do? I made some changes in the docs
Description of Task to be completed?
Resolved typo and grammatical error in discord-readme.md and CODE_OF_CONDUCT.md file
How can this be manually tested?
Any background context you want to provide?
What is the relevant issue link?
https://github.com/EddieHubCommunity/support/issues/1833#issue-917084666
Screenshots (if appropriate)
Questions:

Above only my ideas.
Otherwise it's looking good for me 🚀

Thanks for you contribution :) see you in some other PRs or in the Discord community 🚀


Standalone Version

Hello,
This is an awesome work! I was wondering if is there any way we skip discord integration and get results by calling the script on cli?
Thank you,
Ata G

Do you still want to train the model on another user so that it can imitate that user? Or do you just want to interreact with the default chat model?

I guess training could be done with provided text file beforehand.

That sounds awesome.

@atagulalan you can try it out at the following branch https://github.com/CakeCrusher/mimicbot/tree/discord-independent-mimicbot
The forge is ready. Just run python -m mimicbot forge and the CLI will run you through it.
Let me know what you think.

Thank you, trying it now.
First, I tried to run python -m mimicbot forge and it gave me this error:
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\__main__.py", line 1, in <module>
    from mimicbot import cli, __app_name__
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\cli.py", line 428, in <module>
    utils.session_path(utils.callback_config()),
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\utils.py", line 78, in callback_config
    with open(str(config_path), "w") as config_file:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\x\\AppData\\Roaming\\mimicbot\\config.ini'

I thought to myself, "oh, it couldn't create the config file because we didn't create the folder shuld contain it."; so I created the folder myself and got this error insted:
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\__main__.py", line 1, in <module>
    from mimicbot import cli, __app_name__
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\cli.py", line 428, in <module>
    utils.session_path(utils.callback_config()),
  File "C:\Users\x\Documents\GitHub\mimicbot\mimicbot\utils.py", line 93, in session_path
    GUILD = config.get("discord", "guild")
  File "C:\Python310\lib\configparser.py", line 782, in get
    d = self._unify_values(section, vars)
  File "C:\Python310\lib\configparser.py", line 1153, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'discord'

Should I create a prefilled config file contains those values, or is forge supposed to do that?
Thank you!

Thank you so much for pointing that out that was a fundamental problem that I should have dealt with ago.

Thank you, I successfully got to the Step 2 now.
Is it really necessary to author column be integer? I receive error on data_preprocessing.py line 58 because of my csv data, which author column contains usernames.

You are absolutely right about the int issue that is fixed as for the naming I will get to that soon.

Naming of members could always be the same as id. Now (2c6fb4711c45c992c3abea82b82b69dbe85b0312) the name is the id by default.
That among with other strict inputs are things I will need to fix at some point.


feature Add stats derive framework for new optimizer

Proposed changes
Issue Number: noissue
Problem Summary:
Implement a visitor to derive stats for each operator  which would be used for CBO.
Checklist(Required)

Does it affect the original behavior: (No
Has unit tests been added: (Yes)
Has document been added or modified: (No Need)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@morrySnow


SSH Driver/Action

There aren't any SSH actions and no SSH script yet. This will be necessary for basic provisioners

Based on how we're doing actions, we need an action that runs a shellscript, that then SSH's into the Tart VM to run the command or script

We need:

changes to driver.rb
a shellscript wrapper that SSH's into Tart ( tart ip will be useful here ssh vagrant@$(tart ip "${vm_name}")
an action in the actions folder
adjustments to action.rb to call said actions as well as check the VM is running

Related: https://github.com/cirruslabs/tart/issues/304


Suffix and prefix attributes are not being populated

Fixes https://github.com/CartoDB/deep-insights.js/issues/105
CR: @javierarce
cc @viddo @alonsogarciapablo @javisantana

:+1:

Assigning it to @javisantana. We should wait until this PR is merged in order to point to the last commit there in the CartoDB.js package version.

@xavijam should I merge the other PR?

Yes

review @xavijam

:+1:


Test creating an output channel with language id

Refs: https://github.com/microsoft/vscode/issues/19561

[x] anyOS @rzhao271
[x] anyOS @chrmarti

Complexity: 3
Create Issue

There is a new API proposal to create an output channel with language id. The proposal is at https://github.com/microsoft/vscode/blob/1ecb5f53a739dd84c66b51e2be1ea7f440141db7/src/vscode-dts/vscode.proposed.outputChannelLanguage.d.ts.
Please make sure that you can create an output channel by passing any language id (say typescript) and content in that output channel is colored according to the passed language.

I'm wondering which language IDs are supported for that API?
I tried using bash and sh but didn't see any highlighting happen. I'm on Windows.

I'm wondering which language IDs are supported for that API?

Its open and it is up to extension creating the channel. Extension can have its own custom language specific for the output channel they create.


Bug: Official Site is not working

https://codeigniter.com/ is not working and returns 500

Thanks. That was reported yesterday. I've been working with hosting to actually get access to the VPS. It looks like I have them now, so I should be able to investigate tonight.

Maybe problem with the writable folder permission ?

That was my first guess, too. But not it. It's throwing an error with GitHub API calls over limit. Trying to get access to CloudFlare, and push the new version of the site which does better caching and more responsible use of the API in general. Had stuff come up last night which sidetracked my time before I could get that far last night. Will hopefully have it working tonight.

This seems fixed now and I can reach the site, closing the issue.


02 - Build a simple Spring Boot microservice always 404 http error

I follow https://github.com/microsoft/azure-spring-cloud-training/blob/master/02-build-a-simple-spring-boot-microservice/README.md the deploy, the 404 http error occurs ,when I try to curl test point of the simple-microservice.
It works good  without deploy the jar to the service. How I can to fix it.

You mean that it works on your local machine, but not when you deploy it to Azure Spring Cloud?
It's hard to know without more information, so the best solution is to get some logs: can you follow the next chapter, https://github.com/microsoft/azure-spring-cloud-training/tree/master/03-configure-application-logs , so you configure your application logs? In the training we do that afterwards because this first service is so simple that it shouldn't fail, but for your case it would be better to do the opposite.
Also, there will soon be a new version of the service, where the logs will be much easier to get!!
As soon as you have some logs, can you post them here, so I have a look?

Closing as we chatted about it in parallel


App crashes on One UI 4 beta

I have been on Samsung's One UI 4 (Android 12) beta for a while and I think the app has stopped working since the beginning of their beta program. There are some discussions on Reddit as well. Do we have any plan to take a look into it?
Thanks!

Thanks for reporting @publicclassoverflow
We are aware of that issue, but it seems a Samsung related issue:
https://eu.community.samsung.com/t5/galaxy-s21-series/official-android-12-one-ui-4-0-installed-on-s21-ultra-5g-but/m-p/4340763
Could you share here the reddit discussion link? I could go there and post a message as well. Thanks.

Thanks for the reply @cmonfortep
Good to know that it is a visible issue. Here's the reddit discussion


create jupyter widget

there is an example https://github.com/sgratzl/lineup_jupyter which integrates LineUp as JavaScript library to mimics a widget.
However a fully fledged widget would be useful. If possible with a selection that is back.

see https://lineup.js.org/integrations/jupyter


Kogito-8084 Sonarcloud - Addressing code smells related to anonymous inner classes, lambda syntax and incorrectly accessed static members

https://issues.redhat.com/browse/KOGITO-8084
Goal here is to reduce the number of code smells in Kogito-runtimes.
Addressed in this PR are the following code smells:

(Java) "static" members should be accessed statically (4):

https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS2209&id=org.kie.kogito%3Akogito-runtimes
I have addressed this by changing the instance-reference to a static-reference

(Java) Lambdas containing only one statement should not nest this statement in a block (14):

https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS1602&id=org.kie.kogito%3Akogito-runtimes
I have addressed this by removing useless curly braces around the afffected statements.

(Java) Anonymous inner classes containing only one method should become lambdas (13):

https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS1604&id=org.kie.kogito%3Akogito-runtimes
I have addressed this by replacing anonymous inner classes with lambdas

(Java) Parentheses should be removed from a single lambda input parameter when its type is inferred (8):

https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS1611&id=org.kie.kogito%3Akogito-runtimes
I have addressed this by removing unnecessary parentheses.

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request checks
Please add comment: Jenkins retest this

for a specific pull request check
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests

for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch

for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch

for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main

for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-main

for quarkus lts checks
Run checks against Quarkus lts branch
Please add comment: Jenkins run quarkus-lts

for a specific quarkus lts check
Run checks against Quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-lts

for native checks
Run native checks
Please add comment: Jenkins run native

for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native

for mandrel checks
Run native checks against Mandrel image
Please add comment: Jenkins run mandrel

for a specific mandrel check
Run native checks against Mandrel image
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] mandrel

for mandrel lts checks
Run native checks against Mandrel image and quarkus lts branch
Please add comment: Jenkins run mandrel-lts

for a specific mandrel lts check
Run native checks against Mandrel image and quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] mandrel-lts

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

Hi @kbowers-ibm, @elguardian, is this still relevant please? If yes, could you please rebase with the latest changes from main?


Add ability to clear all code results in notebook

Azure Data Studio Version: 1.5.1

Steps to Reproduce:

Create notebook with multiple code cells and execute every cell to show results and they will be shown.
If I need to reset the notebook and start again (like repeat with the different connection) I need to click on every code cell to clear the results and get the clean initial notebook.

Please add "clean all" results with a single button.

Fixed in https://github.com/Microsoft/azuredatastudio/pull/4705


[User portal] Identity server logo doesn't look neat in user portal

Pre-Conditions:-

Self-sign up should be configured as described in [1]
A user should be signed up using self-signup
Signed up user should have confirmed the account via email

Steps:-

Access dashboard [2]
Login with signed up user credentials
Check the Identity Server logo displayed at the top right corner

Expected Results:-

Logo should be neat

Actual Results:-

Logo seems a bit pixelated at the edges (Refer to attached screenshots)

All browsers

[1]https://docs.wso2.com/display/IS540/Self+Sign+Up+Using+REST+APIs
[2]https://localhost:9443/dashboard/index.jag

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


New Extension: dicom tag lookup extension

Description
An Extension to provide lookup for the DICOM file system tags which is widely used in medical imaging.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I'm following the guides on how to take screenshot with the window capture in raycast, but the resulting screenshot don't have the correct size, can anyone let me know how I can fix this?

Thanks @danielsequeira I commited your changes, one change cannot be done (name field in the package.json) as name should not include capitalized letters

@sedghi my bad, too tired. I mixed up name and title 🤦


add missing variable image_uri

For master_config, the variable image_uri is missing

Good catch!
Thank you very much for submitting. Can you please run tools/tfdoc.py to fix linting issues?

@jose-bermudez-digitalfemsa this is ready to merge. Can you sign the missing CLA?

I've signed the CLA


Moving backwards in browsing history doesn't load custom css

To Reproduce
Steps to reproduce the behavior:

Switch from one person's profile to another with custom css
Go back with the browser's back button
The second user's css is rendered.

Expected behavior
The first user's css should be rendered.
Desktop (please complete the following information):

Version 1.5.1

Additional context
Add any other context about the problem here.

i might have fixed this accidentally?


Error upon login: FieldPath 'UTC' doesn't start with $

I just tried to set up Ackee v2.0.0 but upon first log into the web UI (at localhost), the UI presented this error message:
FieldPath 'UTC' doesn't start with $
[575]</n.default@http://localhost:3000/index.js:136:141860

The server itself spits out this trace:
[Ackee] › ✖  fatal     MongoError: FieldPath 'UTC' doesn't start with $
    at MessageStream.messageHandler (/opt/ackee/Ackee-2.0.0/node_modules/mongodb/lib/cmap/connection.js:266:20)
    at MessageStream.emit (events.js:198:13)
    at processIncomingData (/opt/ackee/Ackee-2.0.0/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
    at MessageStream._write (/opt/ackee/Ackee-2.0.0/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
    at doWrite (_stream_writable.js:415:12)
    at writeOrBuffer (_stream_writable.js:399:5)
    at MessageStream.Writable.write (_stream_writable.js:299:11)
    at Socket.ondata (_stream_readable.js:710:20)
    at Socket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

This is the first time I've tried Ackee (I see there is a new release today so good timing), so it's entirely possible. I've configured something wrong. I'm running it manually with the release + yarn + yarn start.

I have never seen this error message before. Which version of Node.js and MongoDB do you use?

Both installed from debian 10 repos:
Package: mongodb
Version: 1:3.2.11-2+deb9u1

Package: nodejs
Version: 10.21.0~dfsg-1~deb10u1

Ackee dependents on …
Node.js (v14 or newer)
MongoDB (v4.0.6 or newer)
The error might be because the versions are too old. Let me know if this fixes the problem :)

My bad... installed them from their own repositories for debian and all works. Thanks!

My bad... installed them from their own repositories for debian and all works. Thanks!

Great to hear. Hope you like it! :)


Error recieved on npx create-react-app "EPERM : Operation not permitted.."

Is this a bug report?
YES

Did you try recovering your dependencies?

(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

(paste the output of the command here)
Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Please add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

I tried creating a react project using the "npx create-react-app <my_app>"
command on my cli but it doesn't work.. Hope someone can help me out here..

All I can tell from that screenshot is that it's a permission error. Is this on your home computer or a work computer? Maybe your sysadmin has disabled running cmd scripts.

its on my home computer, how do i get over this issue

I don't know, it's not really related to create react app. The command that's failing is printed out in that screenshot, yarnpkg add --exact react react-dom react-scripts --cwd C:\searcher, so you need to find out why that's failing.


[FEATURE] Create a template from VM, including root and data disks

Is your feature request related to a problem? Please describe.
Sometimes the user would want to create a template that includes all the states of the VM and use the template to create copies of the VM in the future.
Describe the solution you'd like
Support create a VM template with data from an existing VM.
Describe alternatives you've considered
VM clone (#569) is another way to solve a similar problem, but it won't work once all the copies are down.
Additional context
Depends on #568

When a Longhorn volume is launched with a backing image, the new backing image exported/created from it won't waste space to store zero data only if the type is qcow2. But there is one more potential issue besides this: If the upper layer/filesystem writes a file then removed it, the corresponding sectors were used by the file cannot be reclaimed as free after the file removal. Then meaningless sector data will be consumed extra space when the volume is exported to a backing image.
e.g.:

Upload an empty backing image with apparent size 1Gi. Notice that both the apparent size & actual size of the backing image is 1Gi after upload (I may need to check this part).

### before upload
~ mkfs.ext4 bi-upload.raw
mke2fs 1.46.1 (9-Feb-2021)
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: c2f3498b-2a71-4eb7-8ee7-02c79d032d70
Superblock backups stored on blocks:
	32768, 98304, 163840, 229376

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

~ ls -alh bi-upload.raw
-rw-r--r--  1 shuo_wu  staff   1.0G Oct 15 12:36 bi-upload.raw

~ du -h bi-upload.raw
 49M	bi-upload.raw

### after upload
root@backing-image-manager-c00e-514f:/data/backing-images/bi-upload-abe18172# ls -alh backing
-rw-r--r-- 1 root root 1.0G Oct 15 04:41 backing

root@backing-image-manager-c00e-514f:/data/backing-images/bi-upload-abe18172# du -h backing
1.1G	backing

Create a volume using the backing image, then make a filesystem for the volume. Now the actual size of the volume is around 100MB.

root@shuo-cluster-worker-1:/mnt# mount /dev/longhorn/vol vol/
root@shuo-cluster-worker-1:/mnt# cd vol

root@shuo-cluster-worker-1:/mnt/vol# ls
lost+found

root@shuo-cluster-worker-1:/mnt/vol# dd if=/dev/urandom of=./data1 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.682671 s, 154 MB/s

root@shuo-cluster-worker-1:/mnt/vol# sync
root@shuo-cluster-worker-1:/mnt/vol# ls -alh
total 101M
drwxr-xr-x 3 root root 4.0K Oct 15 05:24 .
drwxr-xr-x 5 root root 4.0K Sep 27 04:39 ..
-rw-r--r-- 1 root root 100M Oct 15 05:24 data1
drwx------ 2 root root  16K Oct 15 04:36 lost+found

Export a raw backing image then a qcow2 backing image from this volume:

### raw image. The empty/zero data in the original volume takes space here.
root@backing-image-manager-c00e-f94c:/data/backing-images/bi-export-1-47106e2d# ls -lah backing
-rw-r--r-- 1 root root 1.0G Oct 15 05:28 backing

root@backing-image-manager-c00e-f94c:/data/backing-images/bi-export-1-47106e2d# du -h backing
1.1G	backing

### qcow2 image
root@backing-image-manager-c00e-896f:/data/backing-images/bi-export-2-726d4397# ls -lah backing
-rw-r--r-- 1 root root 102M Oct 15 05:33 backing

root@backing-image-manager-c00e-896f:/data/backing-images/bi-export-2-726d4397# du -h backing
102M	backing

Write some data in the volume then remove it. Now the actual size of the volume is 600~700MB.
Export one more qcow2 backing image from the current volume:

root@backing-image-manager-c00e-f94c:/data/backing-images/bi-export-3-d55df0be# ls -lh backing
-rw-r--r-- 1 root root 702M Oct 15 05:52 backing

root@backing-image-manager-c00e-f94c:/data/backing-images/bi-export-3-d55df0be# du -h backing
702M	backing

To Test:

create a vm with 2 or more volume

Click on "Generate template" and give it a name

Check if 2 or more images are created based on the same amount of volume from step 1:

Check if the template is created

Click on the template and check its yaml file to see if the newly created image are connected to this template

One of the use cases for this issue is users can create RKE node by cloning a VM, so I add area/node-driver label here. This issue will rely on VM Snapshot feature https://github.com/harvester/harvester/issues/553.

Hi @yasker, this issue is similar to VM Snapshot (https://github.com/harvester/harvester/issues/553), but you said VM clone is another way to solve a similar problem, but it won't work once all the copies are down. I am curious what does all the copies are down mean here?
We use CSI snapshot for VM snapshot, so we rely on mounted volumes when we restore a VM. Do you want to create VMImage for all volumes, so we don't need to rely on origin volumes? Thank you.

Currently, our backup & snapshot have some limitations. For the backup, it needs to set up a backup-target first. For the snapshot, a source volume can't be deleted and must be mounted so that we can restore it.
I think this feature would like to give a third way - don't need to rely on a backup-target and a source volume. We can add another type backup-as-backingimage. For backup-as-backingimage, we will use BackingImage and set volume in sourceParameters, so we can offer another in-cluster backup method.
cc @guangbochen @bk201 WDYT? Thank you.

Hi @yasker, this issue is similar to VM Snapshot (#553), but you said VM clone is another way to solve a similar problem, but it won't work once all the copies are down. I am curious what does all the copies are down mean here?
We use CSI snapshot for VM snapshot, so we rely on mounted volumes when we restore a VM. Do you want to create VMImage for all volumes, so we don't need to rely on origin volumes? Thank you.

Right. If the source volume is not attached, the VM clone won't work or we need to reattach the source volume first.
I was thinking in line with https://github.com/harvester/harvester/issues/571#issuecomment-943158109 and https://github.com/harvester/harvester/issues/571#issuecomment-948086400 . It would be based on #568 to shorten the steps for the user to create golden images and templates with them.
Before:

User navigates to a VM's volumes.
Create images (e.g. img-a, img-b) from each volume (vol-a, vol-b) of the VM.
Create a template (without volume data) from the VM.
Add images (e.g. img-a, img-b) to the template, then save the change.
Launch the template to create new VMs.

After

User click Create a template with data (or another name)
The template would be generated automatically after setting a few parameters.
User launch the template to create new VMs.

I feel it's more of a frontend/UI change than a backend change.
Also, since users can still achieve the same result via multiple API or multiple steps in the UI today, I don't consider this is a high-priority item for now.


issue/4780-add-timestamp-to-logs

Description
Enable timestamp on the log messages produced by the test cases
closes https://github.com/inmanta/inmanta-core/issues/4780
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Failed to merge changes into iso4 due to merge conflict. Please open a pull request for these branches separately by cherry-picking the commit that was made on the branch master (git cherry-pick 793cbd657ea22c3fdb3b4786a32ded34b23eea27).

Merged into branches master in 793cbd657ea22c3fdb3b4786a32ded34b23eea27

Not closing this pull request due to previously commented issues for some of the destination branches. Please open a separate pull request for those branches by cherry-picking the relevant commit. You can safely close this pull request and delete the source branch.

This branch was not deleted as it seems to still be in use.

Processing #334.


Problem when creating IoT Edge module project

Hi, when going through "Create a new solution" command is executed:
dotnet new aziotedgemodule -n "CSharpModule" -r <docker addres>
I get error "No templates matched the input template name: aziotedgemodule.". How can I add this template? I have added all extensions and prerequisites.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 181d5562-f8d7-9c59-85ea-09efbe397f3e
Version Independent ID: dbedd952-a050-286e-c951-4529ec8e87b8
Content: Tutorial create custom C# module - Azure IoT Edge
Content Source: articles/iot-edge/tutorial-csharp-module.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@lasekg Thanks for your feedback! We will investigate and update as appropriate.

@lasekg Would you please provide more detail on how to reproduce this issue?

@lasekg you can manually install the template through "dotnet new -i Microsoft.Azure.IoT.Edge.Module".
Besides, can you share the setting "azure-iot-edge.templateInstall.csharpmodule" in vscode? It should be "true" by default.

@lasekg We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@lasekg you can manually install the template through "dotnet new -i Microsoft.Azure.IoT.Edge.Module".
Besides, can you share the setting "azure-iot-edge.templateInstall.csharpmodule" in vscode? It should be "true" by default.

This solution doesn't work, when running dotnet new -i Microsoft.Azure.IoT.Edge.Module, it said unable to load the service for source http://www.myget.org/F/ghost-score/...

@Alberto-Vega Hi, I followed the Tutorial: Develop IoT Edge modules with Linux containers, but just can't install the template of aziotedgemodule, so what is the correct command to install it, dotnet new -i Microsoft.Azure.IoT.Edge.Module doesn't work, and I can't find it in Azure repo as well, thanks.

Hello @biaojiang
Please make use of this command.
dotnet new aziotedgemodule --language "C#"

Hello @biaojiang
Please make use of this command.
dotnet new aziotedgemodule --language "C#"

Hi, it still doesn't work, I used .NET Core 2.1 SDK and VS code, should I use .NET 3.1 and VStudio 2019 instead?

This is what I have on my machine.

Please also refer to : .NET CLI overview

Thanks for detailed information, now I solved the problem, I found this IoT.Edge.Module template is only supported by .NET SDK 3.1 or 3.0, so I installed the latest .NET SDK 3.1.410, and run dotnet new aziotedgemodule --language "C#", then it prompted to run
dotnet new -i Microsoft.Azure.IoT.Edge.Module::3.1.0,
then aziotedgemodule was installed successfully.


Discussion: Add EventEmitter typings + Typed message system

I like the Redux pattern in the sample apps.
Otherwise, I am not sure I want to use EventEmitter types. I see EventEmitter as an underlying infrastructure library which should be abstracted from the user.
Therefore, rolling our own types seems like a good idea.

@patricklafrance i updated the PR to keep the good parts, and removed the EventEmitter typings. It feels better now


Link notes to read only events

I GET my calendar from my company in .ICS format. I don't want to edit it from Obsidian exposing error risks.
Rather, I would prefer to be able to link to events and make separate notes about those events.

Duplicate of #40


:seedling: Bundle: WASM

How to create a bundle: https://kairos.io/docs/advanced/bundles/#create-bundles
Examples: https://github.com/kairos-io/community-bundles/
Relevant project: https://github.com/krustlet/krustlet

@mudler If @sccalabr doesn't have any objections, I'm happy to take this on. I'm most familiar with SpinKube. Will this be as simple as writing a script that installs SpinKube on someone's k3s cluster, or did you have something else in mind?

@mudler If @sccalabr doesn't have any objections, I'm happy to take this on. I'm most familiar with SpinKube. Will this be as simple as writing a script that installs SpinKube on someone's k3s cluster, or did you have something else in mind?

That'd be great! yep that was what I had in mind, mostly like we do with other bundles.


SPARKC-268: Changed the way of obtaining metric sources due to SPARK-7171

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure


Support for Branches section in Virtual Hub Route Table

the original issue which was closed due to the author's late reply:
https://github.com/Azure/azure-rest-api-specs/issues/21136
The API doesn't appear to have support for the properties in "Branches" in Virtual Hub Route Table that are available via the portal:

Basically, we want to change this setting, currently, there seems to be no way to do so.
Documentation referenced: https://learn.microsoft.com/en-us/rest/api/virtualwan/hub-route-tables/create-or-update?tabs=HTTP

@ritikgupta3 Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@ritikgupta3 More Info:
Please refer this:  https://github.com/Azure/azure-rest-api-specs/blob/13d172c85dac78b65d023dcd95097c383e38c048/specification/network/resource-manager/Microsoft.Network/stable/2022-07-01/virtualWan.json#L5854
See the documentation here: https://learn.microsoft.com/en-us/rest/api/virtualwan/virtual-wans/create-or-update?tabs=HTTP

@navba-MSFT my network engineer colleague and I looked at this documentation and we do NOT see an API endpoint to configure this setting.

@mlcooper Thanks for getting back and clarifying the ask. While I tried to reproduce the setting changes at my end and found the below REST API was being called while I tried to Edit the VirtualHub RouteTable configurations:
POST https://management.azure.com/subscriptions/XXXXXXXXX/resourceGroups/navbatest/providers/Microsoft.Network/virtualHubs/navbavhub/effectiveRoutes?api-version=2022-07-01 HTTP/1.1
Content-Length: 214
Authorization: Bearer eyJ0eXAiOiXXXXXXX
Content-Type: application/json
Request Body:
{"VirtualWanResourceType":"RouteTable","ResourceId":"/subscriptions/XXXX/resourceGroups/MyRGName/providers/Microsoft.Network/virtualHubs/MyVHub/hubRouteTables/defaultRouteTable"}
https://github.com/Azure/azure-rest-api-specs/blob/2d9846d81852452cf10270b18329ac382a881bf7/specification/network/resource-manager/Microsoft.Network/stable/2022-07-01/virtualWan.json#L5854

While this is indeed a POST, the documentation description here says:

Gets the effective routes configured for the Virtual Hub resource or the specified resource.

It does not appear that it allows you to set or configure anything.

@mlcooper That's interesting. Thanks for sharing this with us. I have reached out to the Product Owners to get a clarity on the REST API that is invoked for the below setting. I will keep you posted.

@ritikgupta3 @mlcooper I have heard back from the Product Owners. There is no API call to batch update propagations of branches etc. connected to Virtual Hub. This portal blade just provides customer a way to batch update the propagations of all branches connected to Virtual Hub and we need this because all branches connected to hub must have the same routing configuration. Please let me know if you have any follow-up questions on this.

@ritikgupta3 @mlcooper I hope you had a chance to look at my above comment. Could you please let me know if you have any follow-up questions. Awaiting your reply.

I still don't really understand why an API endpoint would not be provided to update the propagations. We have more than one vHub spread across several Azure regions, all created via automation (Terraform) and we may want the propagation setting to be different from one vHub to another. It is not ideal to have to configure this setting manually.

@mlcooper I think there is some confusion. Sending you the detailed explanation to clarify.
You can update the associations and propagations of each branch individually. See this Terrafom link azurerm_vpn_gateway_connection | Resources | hashicorp/azurerm | Terraform Registry (routing section).
For each of these branch connections, you can define the associations and propagations as code. Note that you would want to ensure all branches connected to the same hub have the same routing configuration (otherwise you may experience unexpected behaviors). If you were to modify the propagations of 5 branches, you would need to perform 5 Terrafom updates in your code.
The portal option sort of parallelizes/streamlines updates to multiple branches by using an ARM template (or similar mechanism) to update all the associations and propagations at once. This is still done at a per-connection level from a deployment perspective- there isn’t a backdoor short cut we are able to do to update everything using a single API call/ARM deployment. So if you have 5 branches, this is translated to 5 separate updates on each connection. Hope this clarifies.

@navba-MSFT ,

All connections are fine but we need to toggle this setting to "YES". How can we do that using code (either terraform or API)?
We couldn't find a way to do it yet. Can you please suggest one?

@ritikgupta3 Like the mentioned above there is no API made available. If there is no API there is no terraform or SDK that can do it. Hope that answers it.

@navba-MSFT I need to change this setting to Yes in the Default route table of the vHub. I don't think I was clear before that this is in the Default route table of the vHub.
Can you please let us know if Azure could create an API for this?

@mlcooper Thanks for your reply. As mentioned above there is no API made available to toggle (yes/no) this setting.

@navba-MSFT Above you mention that you can update propagations of each branch individually with azurerm_vpn_gateway, however we do not have an VPN's in our architecture. We only use ExpressRoute for connectivity.


WFLY-17253 FD_SOCK2 should bind to random available ephemeral port when not configured with a socket-binding

https://issues.redhat.com/browse/WFLY-17253

Upon further analysis, FD_SOCK2 cannot use a non-deterministic offset.


Quick update on the README file

Description
Updated the team images to be current. Fixed some links that were out of date.
Fixes # (quick update)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[X] ReadMe Change

Change Status

[ ] Complete, tested, ready to review and merge
[X] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] There are no merge conflicts

@jess-lam can you please review this?

 Update README


Change speed while playing

Is it possible to change the speed while player is running without restart the whole cast?

Support for this was present in player v2 but hasn't been ported to v3 (which was rewrite from scratch).

Support for this was present in player v2 but hasn't been ported to v3 (which was rewrite from scratch).

Like speed-up (>) / slow-down (<) keys?
Wouldn't it be better if the video had a speed option?

What do you mean by "video having a speed option"?

When the video is playing, I wish there was an option to make the video play faster.
Like 'x 1','x 1.5','x 2'.


Top Bar Architecture Design

Questions from @sudheesh001 : https://github.com/loklak/loklak_webclient/pull/235 The main problem I noticed while debugging the designs so far is that the top navigation has another module embedded along with it which is kept as signin-twitter and is being called to load that file, The topnav will have lesser problems if we can integrate the functionality of signin-twitter with that of the same topnav file rather than keeping them seperate. I could be wrong in breaking something out of a higher modular structure and proposing to put it into a less modular one, what do you think @fuksi ? Would it be possible to merge that file with the topnav file instead of keeping them seperate? Your inputs also: @prasht63 @aneeshd16

Closing. Please discuss here: https://github.com/loklak/loklak_webclient/issues/231


Configurable keyboard shortcuts

We should be able to customize keyboard shortcuts in the settings and also be able to define snippets.

specifically, it would be nice if it was possible to toggle Preview with a shortcut. I'm missing this in stackedit. Tx

@akavel ok, I've added another issue for that: #4

:+1:
I prefer to use emacs bindings, so a hotkey like ctrl-k is conflicted.

Classeur is a nice app, but shortcut conflicts makes it a bit inconvenient.
When I was to open a new tab in my browser, I hit Ctrl+T and a table is made in the document. After I came back, I had to delete the table manually.
I think the shortcuts have to be changed, customizable, and disableable.


Maximum update depth exceeded.

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/trusting-haze-fhdt9x?file=/src/App.js
Bug description
Using any version above 0.33 results in Maximum update depth exceeded for setState. The docs are showing white screen as well.

Expected Behavior
Should show big calendar
Actual Behavior
Crashes the page
react-big-calendar version
1.8.2
React version
18.2.0
Platform/Target and Browser Versions
Chrome, safari, firefox
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Issue was caused because I was using a timespoofing chrome extension. Closing as won't fix.


node grouping: just by type is not enough

what do you suggest? can be configured through the config file

grouping nodes according to type makes absolutely no sense; the correct grouping should be according to type+namespace+labels.  and in that case you may want the name of the composite node to be derived or generalized from names of all the participating nodes, such as using the common prefix. (as would work well for pods).

I won't say absolutely non sense, for ovsport VMs etc it does so depends on the use case and should be configured properly in the config file

I have a PR addressing this https://github.com/skydive-project/skydive-ui/pull/10


PR: Use our convention for os.path to fix import error (Breakpoints)

This fixes our tests in master.

I don't understand why the Windows installer workflow is failing on master.
@dalthviz, could you take a look at that? Thanks!