Debugging: wrong place to pause on first line

If electron started with --debug-brk flag. He pauses on line
// Hello, and welcome to hacking node.js!

This is a first executable line of node/src/node.js and this is wrong place for pausing.
Do you want an extended information here? Or current description is enough?

I thought it was the right place to pause, but it seems that Node.js pauses on the first line of user's script? We should do the same in Electron then.

I'd really like this to be fixed. I currently can't get debug-brk working with any of the debuggers which I have tried.
Looking at Node.js' /src/node.cc:
// Start debug agent when argv has --debug
if (instance_data->use_debug_agent())
  StartDebug(env, debug_wait_connect);

LoadEnvironment(env);

env->set_trace_sync_io(trace_sync_io);

// Enable debugger
if (instance_data->use_debug_agent())
  EnableDebug(env);

LoadEnvironment will load /src/node.js, and call its top-level function, passing the process object:
Local<Value> arg = env->process_object();
f->Call(global, 1, &arg);

It appears that they are only enabling the debug agent after the environment has been loaded. Perhaps this is what causes Node.js to not break as early as Electron.


[Bugfix] fix refresh not failed after modify table column type

[Bugfix] fix refresh not failed after modify table column type
What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #9895
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 6 / 23 (26.09%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/SchemaChangeJobV2.java
6
23
26.09%
[573, 574, 575, 576, 577, 579, 580, 581, 588, 589, 590, 591, 592, 593, 595, 596, 597]

@Astralidea PTAL

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 6 / 26 (23.08%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/SchemaChangeJobV2.java
6
26
23.08%
[573, 574, 575, 576, 577, 579, 580, 581, 588, 589, 590, 591, 592, 593, 595, 596, 597, 599, 600, 601]

run starrocks_admit_test

could you add an UT for it?

ok

[FE PR Coverage Check]
:heart_eyes: pass : 24 / 26 (92.31%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/SchemaChangeJobV2.java
24
26
92.31%
[592, 593]

run starrocks_admit_test

@Mergifyio backport branch-2.4


[Feature request] Transparent sign column

Hi guys:
Is it possible to add an option to set sign column to transparent or just have a sign_column, but a normal one.
The grey sign column doesn't look good ,when sign_column_always is turned on.
But it's very annoying when writing code with sign_column_always is turned off.
best

https://github.com/w0rp/ale#5iii-how-can-i-change-the-signs-ale-uses Have a look at this FAQ entry.
You can control the highlight colors and clear them, or set them to a color that matches your column color. You can change the colors for SignColumn too.


Rendering of  is inconsistent with other media types

Newsboat version: commit c783cb454622e75b1d9bb1bf6401bcb7cd37618c
Config file: n/a
I would expect Newsboat to render, for example, the first image placeholder in an article, which appears after a single <a>, as [image 1 (link #2)] rather than [image 2], similar to how <audio>, <video>, etc. are rendered. In general, I would expect all image placeholders to display an index between 1 and image_count (inclusive), but currently it displays the linknum instead (which will fall outside that range if there are any other links before any images). Since the current behavior is inconsistent with other media types, I believe it is confusing.
Steps to reproduce the issue:

Checkout the branch bugfix/img-numbering from https://github.com/markmatney/newsboat.git

Run TMPDIR=/dev/shm make -j5 PROFILE=1 check and observe the test that fails

(Please ignore the branch name on this and #1505 -- my sense is that these are bugs, but I should probably leave the classification to maintainers)

I agree that it's a bug and it's confusing. I'm not sure why we number media at all — need to dive into Git history to see if it was that way from the beginning, or was added later.
Thanks for the report and the test case!


Can not pickle Booster which is trained with init_model

According to  #151 and #149 , we are able to dump trained Booster with Pickle and joblib.
Everything goes fine until I try to pickle a model which is trained with non-None param init_model(model object or .txt path).
I can pickle Booster model with init_model by calling save_model() first and then pickle a new Booster object init with model_file.  (see case gbm7 in the example)
Is it possible to pickle these models directly?
Thanks.
Environment info
Operating System:  MacOS
CPU: 1.6 GHz Intel Core i5
C++/Python/R version: Python 2.7.10
Error Message:

ValueError: ctypes objects containing pointers cannot be pickled

Reproducible examples
see:
https://gist.github.com/JayveeHe/2f9bc4b7e56c6a3924fdda51392f77c4
Steps to reproduce

just run the example script

there is a pointer in _InnerPredictor object, I think removing it before save model will be ok (not 100% sure)

Yes, it works

And the precision works fine, too.
Details:
https://gist.github.com/JayveeHe/2f9bc4b7e56c6a3924fdda51392f77c4


Bar Chart can not show the correct Bar value when i choose single item

A clear and concise description of what the bug is.
Expected results
When drawing a Bar Chart, choose to display the value of the bar and select the stacked bar chart. When I select different items, the value of the bar should change dynamically according to the item I selected.
Actual results
When I select different items, the total value of all items is always displayed.
Screenshots
If applicable, add screenshots to help explain your problem.

How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Environment
(please complete the following information):

superset version: superset version
Superset 0.32.0
python version: python --version
python 3.6
node.js version: node -v
v11.7.0
npm version: npm -v
6.5.0

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

👀

@dingsheng999888, this was fixed earlier this year: https://github.com/apache-superset/superset-ui-plugins/pull/7
Can you try running a newer version?


Is this repository runnable in Windows OS ?

Is this repository runnable in Windows OS ?
Can anyone answer this question to me ?
Thanks

@DVGY I have not tested on windows, so I do not know for sure. However, I can't think of a reason why it wouldn't be. There are a few places that interact with the filesystem, but IIRC those make sure to use platform agnostic helpers, like Path.join.
The models package in particular should be runnable as there are zero dependencies and no file system or operating system calls.

You should give it a try and let us know if you run into issues!


Support all js primitives

We nearly have all js primitives. Number, bigint (added in #1), string, undefined and null. there is only symbol missing. So add that and move undefined and null to simple/ folder.

symbol can be expressed as a literal and should not be its own schema.


Make 2.10.x long term support and shift to a maintenance only, use testnet resets for NEO3.

Following the https://github.com/neo-project/neo/issues/727 line of thought in this issue is that while the proposed roadmap is great it is more work and limiting than we really need! All business need (like Nash) right now is a safe and stable NEO2 while NEO3 is not around, the desirable new fancy stuff can all go directly to NEO3. No need to so many backporting, that will only limit NEOs speed of development and limit how bold you can be, I know NEO wants to be bold ;) .
So with love from Vienna I hope that @erikzhang consider this and talk with Hongfei:

PS: That would also allow to release a NEO3 testnet this quarter already, that would probably speed dev and attract new people. :wink:

It looks great and precise, @canesin, I agree with the support and not accept new contracts after Q2/2020.
Canesin, maybe this ROADMAP could also come in the README.
We are currently trying to update it, please check it out:
https://github.com/neo-project/neo/pull/730

I like this idea. I imagine it would make existing projects on NEO 2 happier since there is less stress to migrate until they are ready, and may avoid changes that may somehow break old contracts.

Yes, i think exactly the same as you @EdgeDLT

That was a great idea ^^

Stability is important

@neo-project/core  is there a consensus about this?

Old, if remains, please re-open


"a" in "ba" fails except Dart and Kotlin

"a" in "ba" fails for all targets except Dart and Kotlin.
I am guessing that str.split, str.partition, slices, etc also fail, so there is no way to do substring comparison in our tests at present - maybe iterating over the target string may work, but comprehensions dont work so a long for for loop would be needed.

https://github.com/adsharma/py2many/pull/263 is a step towards a potential solution


Remove unused PaymentDetails component

ReservoirKit had two instances of PaymentDetails.tsx, one in the common directory and one in the modal directory. The one in the modal directory does not have any references/usages, so I removed it in this PR.

thanks! Also needs to be removed from the common index file, I'll take care of that.


Unclear points in article

There are several points which are unclear to me.

At this point SQL Server should run normally. However Microsoft recommends also adjusting the registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\instance_ID\Setup, where instance_ID is like MSSQL13.MSSQLSERVER. In that hive, change the SQLDataRoot value to the new path.

The default value for SQLDataRoot is C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER. The master db is in a sub-folder, DATA, which is also the default DATA directory. So the value does not directly point to the location of the master db, but rather the parent directory. The Microsoft article covers moving the master db to a new example path, E:\SQLData. It mentions to change the SQLDataRoot registry value to the new path. This suggests changing SQLDataRoot to E:\SQLData, as that is the new path. However it doesn't make sense, shouldn't it be set to E:, which is the parent directory to the directory containing the master db?
I've read several alternative blog posts.

https://itech-blog.com/how-to-move-master-database-files-in-sql-server/
https://www.mssqltips.com/sqlservertip/6883/sql-server-move-database-files-for-master/

In (1) the author moves master db to F:\MSSQL\DATA and sets SQLDataRoot to F:\MSSQL.
In (2) the author moves master db to C:\MSSQL\SystemDatabases and sets SQLDataRoot to C:\MSSQL\SystemDatabases.
In (2) there are several readers posting responses to the article requesting clarification on this.
From this it seems there is some misunderstanding in the community and it would be great if the article could be updated to make this very clear.

Change the SQL Server Agent log path. If you do not update this path, SQL Server Agent will fail to start.

Why would it fail to start? The only thing that has changed is that the system db files have been moved. The existing log path still exists, with the same permissions, nothing has changed in that respect. In fact after moving the system db files to another drive, in my experience, SQL Agent starts perfectly fine, no errors shown in the agent log. Could this be clarified?

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

ID: 0d9423e4-0573-7564-3f58-2a8df9a11d9f
Version Independent ID: 5b88aa32-b6f7-e8eb-806f-fd331ed43133
Content: Move System Databases - SQL Server
Content Source: docs/relational-databases/databases/move-system-databases.md
Product: sql
Technology: ****
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

Thanks @enevoj for contacting Microsoft with feedback about our product documentation and taking the time to put these questions together.

Re: the registry key, let me confirm with the product group but I believe this is only necessary in some scenarios and not all situations in which the master database is changed. I also agree this part of the doc could be clearer and provide a distinct example.
 This answer is made clear in the section in which those instructions exist, in the scenario: "If you have moved all of the system databases to a new drive or volume or to another server with a different drive letter, make the following updates..." It only applies in that scenario. The Agent log must exist at the time of startup.

It could take from a few business days to a few weeks to look further into this with the product team and decide on how to address. We'll contact you if we need further information, and you'll receive an email message each time we mention you in a comment.

Thanks @WilliamDAssafMSFT for your quick response.
Regarding question 2, hmm let me see...
I'll provide further context to my question as it's still not falling into place for me.
Considering that the scenario specifically is, if all of the system databases (master, model, msdb, tempdb) have been moved to a new location (i.e. a non-default location), how specifically does that result in SQL Agent failing to start? What is it about this procedure that ultimately causes the SQL Agent to fail to start?
Given that;

The agent log is a separate file altogether from the databases.
The agent log resides in its own location accessible to SQL Server.
The location exists.
SQL Server still has permissions to the location.

What is it about this situation that would stop SQL Agent from starting?
It's like saying, for example, if you paint your car green then you must only enter via the passenger side otherwise the car will no longer start. And I ask why would the car no longer start without entering via the passenger side? And you seem to be saying, the reason is clearly explained; the reason is because you painted your car green. But it's not really explaining it.
In my experience, having just moved all of the system databases to non-default locations (different drives) on 4 servers, I've not needed to alter the location of the SQL Agent log, as SQL Agent has started successfully each time, with no errors. But I would like to understand more about this.

I agree that SQL Agent path has no bearing on the moved database file location.

Thanks for your patience @enevoj. I've confirmed with the product engineer group that this doc is correct. We will add more clarification to specifically verify the paths of SQLDataRoot and SQLAGENT.OUT files are still valid. If you have moved all of the system databases to a new volume or have migrated to another server with a different drive letter, and the path does not exist in either case, we recommend changing it. Whether or not the files exist in a default or non-default path is not really the concern. Some of the ways these invalid paths could cause problems are in future patching where paths in the registry or configuration settings are assumed to be valid.


WIP - Bug 2042587: Clean Up openshift-service-ca Sync

Use the new ApplyInjectableConfigMap function to sync the serivce
serving CA ConfigMap. This change also augments the operator e2e test to
verify that we are correctly syncing the service-ca ConfigMap.

Needs https://github.com/openshift/library-go/pull/1291 to merge before I can drop WIP.

fyi @adambkaplan while I see WIP in the PR title, I don't see that label present in the label list, nor is it acknowledged in the tidi status
you might want to add it just to protect from accidental merge


Can I deploy a Truss app on my own infra?

Can I deploy a Truss app on my own infra? e.g can i deploy truss app on Modal or Runpod

Hi @Iven2132 it's not super streamlined, but the way to do this would be to use:
$ truss image build

to build a Docker image from your Truss. You can then run it anywhere that runs docker

Can you give me example of doing that after making a Docker image? What to
do after that? To run on my own infra
On Mon, 29 Apr 2024, 21:05 Sidharth Shanker, @.***>
wrote:

Hi @Iven2132 https://github.com/Iven2132 it's not super streamlined,
but the way to do this would be to use:
$ truss image build
to build a Docker image from your Truss. You can then run it anywhere that
runs docker.
https://truss.baseten.co/reference/cli/image#truss-image-build
—
Reply to this email directly, view it on GitHub
https://github.com/basetenlabs/truss/issues/914#issuecomment-2083056069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3UMSYTLPBISEEWQYLUV2XTY7ZSFZAVCNFSM6AAAAABG3LKN76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGA2TMMBWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @Iven2132 it's not super streamlined, but the way to do this would be to use:
$ truss image build

to build a Docker image from your Truss. You can then run it anywhere that runs docker.
https://truss.baseten.co/reference/cli/image#truss-image-build

@squidarth Any idea about that?


swap out doi uri construction to just use doi.org

There doesn't seem to be a reason to use the dx. prefix instead of just using doi.org/ and letting their link resolver(s) determine if we need to hit that node.

Fixed.


Lightning version 4.0.8 will hit crash tikv version 4.0.8

Bug Report
Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provide a recipe for reproducing the error.
When I use the version 4.0.8 tidb-lightning and versioin 4.0.8 tikv, tikv will be hit crash,
model: local backend
data source: s3

What did you expect to see?
tikv and  lightning work normally

What did you see instead?
tikv crashed

Versions of the cluster

TiDB-Lightning version (run tidb-lightning -V):
Release Version: v4.0.8
Git Commit Hash: 6887f4e6b49bb9f32f3d3f137e00bc7bfa248074
Git Branch: heads/refs/tags/v4.0.8
UTC Build Time: 2020-10-30 08:14:25
Go Version: go version go1.13 linux/amd64

TiKV version (run tikv-server -V):
Release Version:   4.0.8
Edition:           Community
Git Commit Hash:   83091173e960e5a0f5f417e921a0801d2f6635ae
Git Commit Branch: heads/refs/tags/v4.0.8
UTC Build Time:    2020-10-30 08:40:33
Rust Version:      rustc 1.42.0-nightly (0de96d37f 2019-12-19)
Enable Features:   jemalloc mem-profiling portable sse protobuf-codec
Profile:           dist_release

Operation logs

tikv.log
lightning.log

Configuration of the cluster and the task

# lightning Configuration

[lightning]
check-requirements = true
index-concurrency = 4
level = "info"
file=""
pprof-port = 8289
table-concurrency = 4

[checkpoint]
enable = true
driver = "file"
dsn = "/etc/endpoint/cp.pb"

[security]
# Specifies certificates and keys for TLS connections within the cluster.
# Public certificate of the CA. Leave empty to disable TLS.
ca-path = "/var/lib/lightning-tls/ca.crt"
# Public certificate of this service.
cert-path = "/var/lib/lightning-tls/tls.crt"
# Private key of this service.
key-path = "/var/lib/lightning-tls/tls.key"

[tikv-importer]
backend = "local"
sorted-kv-dir = "/etc/endpoint"

[mydumper]
data-source-dir = "s3://tidblightning-cloud-test/data-100/100g?region=us-west-2"
no-schema = true
strict-format = true
#default-file-rules = false

#[[mydumper.files]]
#pattern = "(?i)^(?:[^/]*/)*([a-z]+)[0-9]*(?:\\.([0-9]+))?\\.(sql|csv)$"
#schema = "data2"
#table = "data"
#type = "csv"

[mydumper.csv]
backslash-escape = true
delimiter = '"'
#delimiter = ''
header = false
not-null = false
null = "NULL"
separator = ","

[tidb]
host = "db-tidb"
log-level = "error"
password = "12345678"
port = 4000
status-port = 10080
user = "root"
pd-addr = "db-pd:2379"
tls = "false"

[post-restore]
analyze = true
checksum = true

[cron]
log-progress = "5m"
switch-mode = "5m"

TiKV log: "Corruption: Bad table magic number: expected<PHONE_NUMBER>377041911, found<PHONE_NUMBER>319993071"
Looks like incomplete SST or something.
[2020/11/05 06:17:10.069 +00:00] [FATAL] [lib.rs:483] ["[region 108] 109 ingest uuid: FCF3031CE57A481E834F87EA32F1EB2D range { start:<PHONE_NUMBER>000000FF355F728000000000FF0186A00000000000FA end:<PHONE_NUMBER>000000FF355F728000000000FF0186A00000000000FA } cf_name: \"write\" region_id: 108 region_epoch { conf_ver: 5 version: 29 }: EngineTraits(Engine(\"Corruption: Bad table magic number: expected<PHONE_NUMBER>377041911, found<PHONE_NUMBER>319993071 in /var/lib/tikv/import/.clone/fcf3031c-e57a-481e-834f-87ea32f1eb2d_108_5_29_write.sst\"))"] [backtrace="stack backtrace:\n   0: tikv_util::set_panic_hook::{{closure}}\n             at components/tikv_util/src/lib.rs:482\n   1: std::panicking::rust_panic_with_hook\n             at src/libstd/panicking.rs:475\n   2: rust_begin_unwind\n             at src/libstd/panicking.rs:375\n   3: std::panicking::begin_panic_fmt\n             at src/libstd/panicking.rs:326\n   4: raftstore::store::fsm::apply::ApplyDelegate::handle_ingest_sst::{{closure}}\n             at components/raftstore/src/store/fsm/apply.rs:1473\n   5: core::result::Result<T,E>::unwrap_or_else\n             at rustc/0de96d37fbcc54978458c18f5067cd9817669bc8/src/libcore/result.rs:841\n      raftstore::store::fsm::apply::ApplyDelegate::handle_ingest_sst\n             at components/raftstore/src/store/fsm/apply.rs:1470\n   6: raftstore::store::fsm::apply::ApplyDelegate::exec_write_cmd\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:1234\n      raftstore::store::fsm::apply::ApplyDelegate::exec_raft_cmd\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:1160\n      raftstore::store::fsm::apply::ApplyDelegate::apply_raft_cmd\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:1050\n      raftstore::store::fsm::apply::ApplyDelegate::process_raft_cmd\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:1001\n   7: raftstore::store::fsm::apply::ApplyDelegate::handle_raft_entry_normal\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:881\n      raftstore::store::fsm::apply::ApplyDelegate::handle_raft_committed_entries\n             at home/jenkins/agent/workspace/build_tikv_multi_branch_v4.0.8/tikv/components/raftstore/src/store/fsm/apply.rs:799\n

TiKV
Release Version:   4.0.7
Edition:           Community
Git Commit Hash:   bc0a9b3974f32cc2e08244a6eaf5284e5e5f4d76
Git Commit Branch: heads/refs/tags/v4.0.7
UTC Build Time:    2020-09-29 07:50:07
Rust Version:      rustc 1.42.0-nightly (0de96d37f 2019-12-19)
Enable Features:   jemalloc portable sse protobuf-codec
Profile:           dist_release

Release Version: v4.0.7-11-g2660ffe
Git Commit Hash: 2660ffe03e85e2c84bce7a5dd4013360fd0f8e57
Git Branch: master
UTC Build Time: 2020-10-21 09:53:58
Go Version: go version go1.13.12 linux/amd64

worker normally
@kennytm

Diff 4.0.7 to 4.0.8: https://github.com/tikv/tikv/compare/v4.0.7...v4.0.8

Reproduced while importing local files with TDE

This bug should be fixed by https://github.com/tikv/tikv/pull/8985

This bug is introduced in https://github.com/tikv/tikv/pull/8852.
Before this pr, the sst files written by lightning is not encrypted even tikv TDE is enabled. Because when TDE is enabled, the sst generated by SSTWriter is encrypted, but the original logic will open a SSTReader to read the content and write it to a new file with io.Writer. Thus, the newly written sst file is not encrypted. So the following io.rename and rocksdb ingest action will succeed.
But https://github.com/tikv/tikv/pull/8852 change the SSTwriter.write(encrypt) -> SSTRaader.read(unencrypt) -> io.Write -> io.rename -> ingest logic chain to SSTwriter.write(encrypt) -> SSTWriter.flush -> io.rename(?) -> ingest, thus the generated sst is encrypted if TDE is enabled, but after io.rename, the new file name isn't registered in the DataKeyManager, so when ingest it to rocksdb, since it's not in the key manager, it will be treated as unencrypted, then fails.

Verified the fix on the latest tikv master branch.

/close https://github.com/tikv/tikv/pull/8985


Update DOCS.md

In Home Assistant 2022.10.1, step 4 under "Now it is time to set up Home Assistant:" can be confusing depending on whether Home Assistant has auto-detected this add-on as a Z-Wave device.
Proposed Changes

Add a bullet to help explain this scenario.

FYI, this problem is an HA bug, fixed in https://github.com/home-assistant/core/pull/80110. I suppose it will be part of the 2022.11 release.

That makes sense.  I asked on Discord and didn't get feedback beyond "an issue exists."  I also searched github given that info, but my terms brought up a separate previously resolved issue, so I thought this was "by design."


The installed cmake configuration files do not export the header paths

The provided CMakeLists.tx file https://github.com/giorgiomarcias/glfwm/blob/master/examples/simple_with_install/CMakeLists.txt
does not include the header path for GLFWM/glfwm.hpp.
It has to manually add the path to the include directories.

Hi, that example is supposed to be compiled with GLFWM installed in your system.
That is, you should already have typed (supposing your current directory is the root of GLFWM):
cmake .
make && make install

then, you type:
cd examples/simple_with_install
cmake .
make
./glfwmExample

The needed paths are configured by cmake:
https://github.com/giorgiomarcias/glfwm/blob/29f31a9f35c738befa596e31218c59e10a60b61e/examples/simple_with_install/CMakeLists.txt#L18
and
https://github.com/giorgiomarcias/glfwm/blob/29f31a9f35c738befa596e31218c59e10a60b61e/examples/simple_with_install/CMakeLists.txt#L28

@giorgiomarcias
Yes, you are right. But it only solves the problem for linking the library.
If GLFWM is not installed in the default directory, as not everyone has the write permission to change /usr/include,  find_package cannot help to find
#include <GLFWM/glfwm.hpp>

where the header file is.

As for issue #4, commit 298a7a2 solves also this one.


Add support for disabling the Edit action on all rows of the PagerDutyPage component

Is your feature request related to a problem? Please describe.
I'd like to be able to disable the possibility for users to use the Edit action of the PagerDutyPage component and use the PagerDutyPage mostly in a read-only mode.
Describe the solution you'd like
I'd like to be able to disable the Edit action of the PagerDutyPage component from code using an option like disableEditAction, something similar to how it's done for ChangeEvents, e.g. <EntityPagerDutyCard disableChangeEvents>
Describe alternatives you've considered
N/A

Hey @alpinweis!
Quick question here for additional context...if you don't have the edit button, what would you use this page for? This page is mainly intended to provide a quick way of editing mappings.

@t1agob  It helps find out quickly what services in our backstage instance do not have PagerDuty integration enabled yet.
Also, having the mapping PagerDuty to backstage in a nice visual format is pretty helpful.
In my org the preference is for having the integrations be done in code (helps keep track of changes), instead of by folks interactively/directly from the backstage UI

Got it! Thanks for sharing. I'll review this then.
Btw, we have a feature request in the roadmap to open a PR in the Backstage entity source when a new mapping is defined on this page. Then, you could use the UI and still enforce code-first 😉


[Bug]: Tests fail in Py > 3.8

What happened?
When running pytest in a python version greater than 3.8 (i.e. 3.9, 3.10, 3.11, 3.12 etc.) the following error is thrown:
ERROR tests/test_transformers.py - TypeError: __init__() got an unexpected keyword argument 'sparse'
The tests complete successfully on py38.
This issue was also noticed as part of a PR recently - see #179
Environment
See the CI job associated with the branch 179-more-comprehensive-ci-process. It tests against py38 through py312 and shows the failing test on ubuntu2204.
Minimum reproducible code
python -m pip install uv
uv venv -p 3.8 py38
uv venv -p 3.9 py39

## Python 3.8
source py38/bin/activate
uv pip install -r requirements-dev.txt
pytest . # Success
deactivate

## Python 3.9+
source py39/bin/activate
uv pip install -r requirements-dev.txt
pytest . # Fails
# ERROR tests/test_transformers.py - TypeError: __init__() got an unexpected keyword argument 'sparse'
deactivate

Relevant error output
=========================== short test summary info ============================
ERROR tests/test_transformers.py - TypeError: OneHotEncoder.__init__() got an unexpected keyword argument 'sparse'
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================== 27 warnings, 1 error in 5.54s =========================

See CI job for more details.
Code of Conduct

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

Looking through the docs, the argument sparse was renamed to sparse_output in v1.2 and deprecated in v1.4. 1.3.2 is the most recent wheel built for py38, whereas py39+ have wheels for 1.4.0.
At the cost of introducing a dependency on 1.2.0  (which was released 14 months ago) the fix is simple - change sparse to sparse_output in the OneHotEncoder call.

Whilst solving this issue, I predictably fell foul of one of the 'implementation tests' - see #155.
========== short test summary info
==========FAILED
nominal/test_OneHotEncodingTransformer.py::TestInit::test_one_hot_encoder_init_called - AssertionError: Keys in expected not in actual: {'sparse'}

fixed with #187


Publish API Docker image

hi,do you need any help in creation of docker image?

@harsh18262 yes please. I still need to refine this ticket. I will let you know when it’s ready

hi,do you need any help in creation of docker image?

Hi @harsh18262 I've created the ticket #150 which is ready for a PR


2024.12 fix

Cherry-picked https://github.com/tnt944445/HA-SleepAsAndroid/pull/1

Hi, I think this should be elif not two if's. It seems to be attempting to call the older function on HA 2024.12.x.

Dec 20 19:53:08 flux hass[631332]:     )
Dec 20 19:53:08 flux hass[631332]:     ^
Dec 20 19:53:08 flux hass[631332]:   File "/storage/root/homeassistant/.homeassistant/custom_components/sleep_as_android/__init__.py", line 278, in subscribe_2022_03
Dec 20 19:53:08 flux hass[631332]:     result = subscription.async_prepare_subscribe_topics(
Dec 20 19:53:08 flux hass[631332]:         hass=_hass,
Dec 20 19:53:08 flux hass[631332]:         new_state=_state,
Dec 20 19:53:08 flux hass[631332]:         topics=_topic,
Dec 20 19:53:08 flux hass[631332]:     )


re-add diagrams-rasterific

It used to be disabled because of constraints on optparse-applicative, compare #2569 and #3048. These have been relaxed in the meantime: https://github.com/diagrams/diagrams-rasterific/commit/f7f289d731eaf9b5cc6d13fad4666e1b1d3c9334
Checklist:

[x] Meaningful commit message - please not Update build-constraints.yml

[x] Some time passed since Hackage upload (updated Wed Jan 10 21:29:07 UTC 2018)

[x] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

Thanks!


sonar.scoverage.reportPath was deprecated in sonar-scala 6.2.0

The Scoverage report path property sonar.scoverage.reportPath was deprecated in sonar-scala 6.2.0 and we should use the new propertysonar.scala.scoverage.reportPath instead.

Is this on ?!!?

It's a super tiny change, pretty much find sonar.scoverage.reportPath and replace with sonar.scala.scoverage.reportPath across the project. If that's something you could contribute it would be great, otherwise I can make that change.

Implemented in #30.


Fixed spelling mistake in Contributing guide

Hey,
I think CSpell have missed this spelling mistake

Great catch @clibequilibrium thank you!


Question: Crash Reporting for React Native apps

I cannot find a better place to open this question.
In SO they close such questions, so I hope that this can stay open for few days, to get some opinions of experienced guys.

Can you briefly share your experience with either or both of these tools, functionality-wise and pricing-wise?

I read that Crashlytics doesn't provide crash reporting for js crashes. True?

Any other significant limitation of any of the tools?

The following is provided since the bot wants me to include it. Ignore.
React Native version:
react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 6.69 GB / 15.87 GB
Binaries:
Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29
Build Tools: 25.0.2, 28.0.3, 29.0.2, 29.0.3
System Images: android-25 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-162.3764568
Languages:
Java: 1.8.0_112-release
Python: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2

Sentry for react native is pretty good

Sentry for react native is pretty good

Thanks Ben.
For how long have you been using it?
Can you elaborate a little bit on the way you are using it? Do you use it only for reporting crashes? For other reporting of what?
Any comments about pricing? Is it practical to use the free version for an app that has only hundreds of concurrent users?

Hi @rahamin1 thanks for the issue. The issue board is for React Native core issues. Closing

I am using Sentry for several weeks. Works very well.


OpenAPI Doc generation for HTTP Service

Description:
As an effort to support REST API development we are implementing an introspection endpoint for any ballerina HTTP service and that particular introspection endpoint will be serving a OpenAPI Doc for that particular service.
Related to #1616
Following are the required tasks for completing this feature :

[x] Write an built-in compiler plugin for OpenAPI doc generation

[x] Generate OpenAPI doc for HTTP service
[x] Add generated doc to ballerina executable JAR
[ ] If the OpenAPI doc is specified via annotation package that file into the ballerina executable JAR

[ ] Packaging OpenAPI compiler plugin to ballerina distribution
[ ] Improving Ballerina Compiler FE semantics to support unique ID for Ballerina ServiceDeclarationSymbol

[ ] Incorporate a unique ID for hashCode method of Ballerina ServiceDeclarationSymbol
[ ] Populate a private HTTP annotation with unique ID information

@ayeshLK During the runtime, we dont have a way to get user org, package name and version IINM. @warunalakshitha Please correct me if I'm wrong.
Hence, when we place the doc inside the jar, shall we use following dir structure?
├── target
│   ├── bin
│   │   ├── 1projectapi.jar
│   │   └── resources
│   │       └── ballerina
│   │           └── http
│   │               └── ry328y8239yr28d8dheuhnxh.json

Since the file is related to HTTP module, we can differentiate it there instead of having user org, package and version. WDYT?


RCM checkbox is not mentioned under vendor credit creation page

[x] for tax treatments with Non GCC,GCC VAT and Non GCC VAT

issue fixed !


Documentation should be changed to avoid "pattern.en" as a module name

It looks like some of the examples in the documentation use "pattern.en" as a module name -- it appears that it should actually be "pattern.text.en" instead.

No, all language modules were designed by the developers to work as a module on their own (so pattern.en or pattern.it, …) for ease of use, I suppose.
For efficiency of the code, they gathered all language modules under the module ‘text’.

Op 30-nov.-2015, om 23:54 heeft glarchev<EMAIL_ADDRESS>het volgende geschreven:
It looks like some of the examples in the documentation use "pattern.en" as a module name -- it appears that it should actually be "pattern.text.en" instead.
—
Reply to this email directly or view it on GitHub https://github.com/clips/pattern/issues/136.

Since all the language modules are nested under "text", I think it's more confusing to refer to them as just "pattern.en". Although it appears to work, my IDE (PyDev) complains about unresolved import.


apiclient example commands with list value fail

Path to page with content (do not include domain name): /en/os/1.19.x/api/settings/dns/
What content is incorrect?
Some apiclient commands for modifying settings do not work as is. I've observed this for setting DNS settings. It may be affecting more, though, given commonality is both of the intended values are lists:
[ssm-user@control]$ apiclient set settings.dns.search-list=["foo.bar", "baz.foo"]
Unknown argument 'baz.foo]'
[ssm-user@control]$ apiclient set settings.dns.name-servers=["<IP_ADDRESS>", "<IP_ADDRESS>"]
Unknown argument '<IP_ADDRESS>]'
[ssm-user@control]$ apiclient set settings.dns.name-servers=["<IP_ADDRESS>"]
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "[<IP_ADDRESS>]", expected asequence at line 1 column 11

Setting these settings with --json and respective JSON values works fine.
What should the content say or communicate?
The content should either specify these example commands with --json and example JSON; or, if these commands can indeed accept toml-like input (which I wasn't able to do), then the input should be corrected.

I checked other settings where values are a list type where this is also present:

https://bottlerocket.dev/en/os/1.19.x/api/settings/ntp/
https://bottlerocket.dev/en/os/1.19.x/api/settings/kubernetes/#allowed-unsafe-sysctls
https://bottlerocket.dev/en/os/1.19.x/api/settings/kubernetes/#cluster-dns-ip
https://bottlerocket.dev/en/os/1.19.x/api/settings/kubernetes/#cpu-manager-policy-options
https://bottlerocket.dev/en/os/1.19.x/api/settings/kubernetes/#node-taints
https://bottlerocket.dev/en/os/1.19.x/api/settings/network/#no-proxy

That is because what looks like TOML is parsed the same as any other command line: The shell is performing word splitting and strips the quotes, thereby creating multiple arguments out of one intended

Yes 😄

A way to prevent this is to surround the TOML with single quotes, which prevents expansions, word splitting, and retains literal double quotes for strings.

This was my first instinct, but unfortunately it does not work for lists/sequences (sorry I could have included this in the original issue description):
[root@admin]# apiclient set 'settings.dns.name-servers=[<IP_ADDRESS>]'
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "[<IP_ADDRESS>]", expected a sequence at line 1 column 11
[root@admin]# apiclient set 'settings.dns.name-servers=["<IP_ADDRESS>"]'
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "[\"<IP_ADDRESS>\"]", expected a sequence at line 1 column 15
[root@admin]# apiclient set 'settings.dns.name-servers=\["<IP_ADDRESS>"\]'
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "\\[\"<IP_ADDRESS>\"\\]", expected a sequence at line 1 column 19
[root@admin]# apiclient set 'settings.dns.name-servers=\[<IP_ADDRESS>\]'
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "\\[<IP_ADDRESS>\\]", expected a sequence at line 1 column 15
[root@admin]# apiclient set 'settings.dns.name-servers=[<IP_ADDRESS>, 4.5.6]'
Unable to match your input to the data model.  We may not have enough type information.  Please try the --json input form.  Cause: Error deserializing scalar value: invalid type: string "[<IP_ADDRESS>, 4.5.6]", expected a sequence at line 1 column 18

Yeah, great catch @ginglis13!
I'd love to have an automated workflow to check all these examples, but that would be...uh... complicated.

@ginglis13 and @markusboehme :
So, I could use your feedback.
The settings DSL allows for adding literal examples with direct_toml and direct_shell.
This would be, by far, the shortest route to fixing this.
So for settings.ntp.time-servers I could replace the existing example with this:
[[docs.ref.time-servers.example]]
direct_toml = """
[settings.ntp]
time-servers = ["<IP_ADDRESS>", "time.aws.com"]
"""
direct_shell = """
apiclient set --json '{ "ntp" : { "time-servers" : ["<IP_ADDRESS>", "time.aws.com" ] } }'
"""

This a no-template change, but it is, IMHO, clunky. And if someone contributes a change they have to know to do this.
Currently, list values are brought in as string representation of toml, which also feels a little hacky. Example:
[[docs.ref.time-servers.example]]
value = "[\"<IP_ADDRESS>\", \"time.aws.com\"]"

It's probably possible to do something where list values are explicitly stored as lists then rendered automatically:
[[docs.ref.time-servers.example.list]]
value = "<IP_ADDRESS>"

[[docs.ref.time-servers.example.list]]
value = "time.aws.com"

And it would handle creating the TOML and apiclient --json automatically. It would be a rather larger change from both the data and template side.
WDYT?

@ginglis13 Sorry, I hadn't actually checked the examples end-to-end and just saw that shell interpretation rules would for sure be causing problems. I wonder if, given the type information of the API model, apiclient set could still infer the correct interpretation of e.g. list values. (Of course this would still not fix the documentation for any releases prior to a change like that.)
@stockholmux There's another option that would let us reuse the TOML. It might be nice if the template could determine if that different way is needed though (i.e. when values of non-primitive types are being set). For example,
apiclient apply <<EOF
[settings.ntp]
time-servers = ["<IP_ADDRESS>", "time.aws.com"]
EOF

@markusboehme humm. Heredoc could be a good option.
The templating system in Hugo (based on go templates) isn't incredibly good at detecting types, but I suppose I could do something like:
[[docs.ref.time-servers.example]]
value = "[\"<IP_ADDRESS>\", \"time.aws.com\"]"
heredoc_apiclient = true

That would be a small change to the data files and a medium-ish template change.

If the templates can detect the presence of e.g. square brackets, that might be good enough to find compound TOML values already.

@markusboehme It's a good thought. I probably could implement this but I'm unsure if it would turn into an eldritch horror inside a template.

@markusboehme I take it all back, this was pretty easy not a crime against coding at all!


Make Trac-to-Github-migration software installation scripts work with Conda on Gadi

Add scripts to ensure that software installation for Trac to Github migration works propely with Conda on Gadi. Closes #20.

Also remove Trac-to-Github-migration/bin/install-tractive-conda.sh since it no longer works, and update the Wiki page to match the changes to scripts.

Merge. Remember to update the Wiki page to match the changes to scripts.


Fix the MoE-params gradient-scaling

This PR fixes a bug that I introduced in a previous PR. The MoE-Params' gradients got accidentally double-scaled due to passing self.ipg_bucket_has_moe_params to the all_reduce functions. Since, we have already done the scaling the MoE parameters here, we can safely pass divide=False. The divide argument may not be needed anymore, however, I just let it be there as I think it may be needed for the sequence-parallelism accuracy stability adjustments.
cc: @tjruwase

@tjruwase, can we merge this please? thanks :)

@mrwyattii can you please approve the workflows here? Thanks

kind ping on this @tjruwase @mrwyattii


[Feature Request] Data Insertion Speed

Given the large amount of data to be processed for some Geotab customers, it might be worth the time to look at bulk insertion solutions for inserting large amounts of data into the various databases.

Given that this solution is designed to support multiple databases with a single code base, it is not suited to bulk insertion solutions that are specific to individual database providers. However, since the solution is open source, someone could clone the repository and then modify it as required to add bulk insertion capabilities for their database of choice.


Feat/aliases - Osram, Mueller-Licht, Ledvance

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 remained the same at 93.005%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2207

Relevant Lines:
2373

💛  - Coveralls


Allowing PUT on me()-function

When updating your profile with python/Flask server-side, you get a '405 Method not allowed' back. This is because "By default, a route only answers to GET requests" (from: http://flask.pocoo.org/docs/0.10/quickstart/#http-methods).
However, updating your profile uses PUT (see this line).
I added the 'methods' argument to the route() decorator on the me()-function to allow for PUT requests. This resolves this issue.
Is this ok?

Apparently more complicated: the me()-function only Reads, it doesn't Update, in the python/Flask version. I'll implement this and propose a new pull request.

@maartends Yeah you are right, I do my best to synchronize server-side examples but this one slipped past me. There should be /api/me route that updates a user.
I am not sure what's the best practice in Flask, but in Node.js you would have to two different routes - one for PUT and one for GET. Can't recall, but a while back I recall seeing an example that uses if condition to check whether it is GET or POST request and handles both read and update actions in the same route.

Thanks for your answer.
It's the first time I use Flask but I have some experience with Pyramid. I would guess in Flask - as in Pyramid - you would indeed define two different routes: one for PUT and one for GET based on the keyword in the route-decorator.
I am working on it now. I will follow the node.js example since I presume that is the "authoritative" example. Cancel this pull-request and do a new one?
Thanks in advance!

Sure, thanks. I will close this PR and wait for the new one.


feat(@angular/cli): allow to create new projects in existing directory

Unless the directory is already under an Angular CLI project.
Fixes #4762

I've adopted the project generation code on the WebStorm side to work with this change and I can confirm that it works fine


znapzend: 0.18.0 -> 0.20.0

Motivation for this change

update to latest znapzend version which supports sendRaw features (encrypted backups)

Things done
I tested this on "my laptop" :tm: :) I use native ZFS encryption and with sendRaw feature enabled I get properly generated backups that I can mount only by specifying the encryption passphrase.
Is there any other scenario that I should use to test this?
This is my configuration.nix snippet:
  services.znapzend = {
    enable = true;
    autoCreation = true;
    pure = true;
    features.sendRaw = true;
    zetup = {
      "rpool/HOME" = {
        plan = "4hour=>15min,2day=>1hour,7day=>1day,3week=>1week";
        enable = true;
        destinations = {
          local = {
            dataset = "backup/HOME";
            plan = "4hour=>15min,4day=>1hour,1week=>1day,1year=>1week,10year=>1month";
          };
        };
      };
      "rpool/NIXOS" = {
        plan = "1day=>1hour,7day=>1day,3week=>1week";
        enable = true;
        destinations = {
          local = {
            dataset = "backup/NIXOS";
            plan = "4days=>1hour,1week=>1day,1year=>1week,10year=>1month";
          };
        };
      };
    };
  };

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@Infinisil, I see you added the futures option recently. You may be also interested in this change. ;)

Let's try the next person in the commit log, @fpletz :) Maybe you have some time to review this.

Thanks!

Thank you!


feat: add caret record CLI

Signed-off-by: hsgwa<EMAIL_ADDRESS>This PR add new CLI:
ros2 caret record

This is just a wrapper of following:
ros2 trace -k -u "ros*"

I'm planning to add some features to ros2 caret record

automatic run clock recorder node

ros2 run caret_trace clock_recorder.

automatic run node to publish record_start/record_end topic

https://github.com/tier4/ros2caret/pull/34

I checked this PR ran correctly.


Updates bufexplorer from v7.2.8 to v7.4.10

Fixes #426

Hi @amix, thanks for your awesome vimrc. Would you please take a moment to merge this PR? The bufexplorer version included in your repo is quite old, hence I'm also experiencing issues with it.
Well, I could fix my problems by cloning the latest bufexplorer into my_plugins/, but it would be nice to update it in your repo, so that others would not encounter similar issues.

Thanks for the ping. I just updated all of the plugins with this commit. 👍

@amix Well I think bufexplorer was untouched in this commit, and was last modified 6 years ago. Am I missing something? :-)


Option to add compression when converting netCDF to tileDB

Adding the option to a add tileDB filters (https://tiledb-inc-tiledb.readthedocs-hosted.com/en/1.6.3/tutorials/filters.html), exspecially compression to the converter.

Hi @eggio. You can currently add filters to the converter after it has been generated (see following comment). I am planning on adding a default attribute filter to the add_array_creator and add_array_converter methods in the NetCDF4ConverterEngine. I can also add the ability to set default attribute, dimension, and offset filters in the from_file and from_group methods in the NetCDF4ConverterEngine. Would that satisfy this feature request?

Thanks alot! Sorry for creating an Issue but i couldn't find it anywhere how to do it. I don't mind if you delete it.


feat: chart install script

the install scripts for using the chart would run repetitive with the boilerplate, so this tries to get it in one script

@mnaghavi do you think this approach is worth going with? It didn't take too much to eliminate gojq. Genestack venvs seem to have PyYAML, so it didn't take too much to write a helper script to parse the yaml

@mnaghavi do you think this approach is worth going with? It didn't take too much to eliminate gojq. Genestack venvs seem to have PyYAML, so it didn't take too much to write a helper script to parse the yaml
I think a YAML file with the parameters will be nicer/easier when going to CI/CD in one way or another, but I'm not that committed to it if other people don't think it's a good idea. I just felt a little silly looking at writing six almost identical scripts for prometheus-related charts.
all the same, I probably would've written the six scripts if helm would just ignore -f/--values for files that don't exist, but the logic to skip ones that don't exist seems needed every time, then you have the base location and maybe a file in the override location, possibly different per customer/install, so it seems like we probably need something along these lines?
e.g., helm upgrade --install -f /opt/genestack/base-helm-configs/chartname/chart-override.yaml -f /etc/genestack/helm-configs/chartname/chart-override.yaml will fail if no one created /etc/genestack/helm-configs/chartname/chart-override.yaml, so we seem to need logic (scripting) for the situation and not the naive command like the first kustomize-to-helm conversion script https://github.com/rackerlabs/genestack/blob/f95d5c7c6c6cf4cf07e59f42bcc66cc5e1fd9910/bin/install-prometheus.sh . that script didn't work, because the overrides didn't exist

@awfabian-rs Yeah, I agree with your approach. Using a YAML file for parameters does seem cleaner and easier to manage, especially when scaling towards CI/CD. Eliminating gojq makes sense for now since we're trying to keep dependencies minimal. Once we move to a proper CI/CD pipeline, we can automate installing tools like gojq, making scripts like this much simpler.

unmarked as draft. I think this is pretty close to approvable now


remember name for next join in localstorage

the user needs to enter their name everytime in order to join the room, this is tedious and the information can be remembered for next time to auto populate

Hi. I'd like to take this on, if you want to assign me?


Offloading file creation form the webserver

I think there was an issue open but I can't find it - if somebody knows which one it is, it will be nice if it can be linked here.
Already noted in the code but explaining it here to. It is moving this processing to the ipyhon cluster, which means that qiita_db.handlers is importing from qiita_ware. We had a rule to not import from qiita_ware in qiita_db, but I think in this case is acceptable given that it's the webserver.
This may point out that we probably want to move this handlers out of qiita_db, and create a new module called qiita_rest.

Coverage decreased (-0.09%) to 91.351% when pulling 3033a059458143ef33218d9cdbd77314deb07fd3 on josenavas:asyncio into d9d7f83a812e4c96e609865f01b04bb99287f7fc on biocore:master.

Coverage decreased (-0.09%) to 91.352% when pulling aacf4e04a41e7860621b59de62c9593c6aebe067 on josenavas:asyncio into d9d7f83a812e4c96e609865f01b04bb99287f7fc on biocore:master.

Looks great, thanks for making the changes @josenavas!


Update Documentation with recent API changes

With the latest refactor to tornado, there are a few places where the api has changed (hence the new "minor" version). Because of this, we need to update the documentation to reflect the changes.

Im going to close this and leave the rest of the fixes for the 0.6 milestone


a new graphql server

Just wanted to share a library introduced recently.
https://github.com/samsarahq/thunder
I am still exploring, and not sure anything we can learn from it.

there is a lightning talk about it
https://www.youtube.com/watch?v=w2ZKEwfA7bM

@bsr203 Thanks for the information. Seems to me like the goals of the two projects are a bit different. I'll keep an eye on it.

Indeed, it looks like the focus is more on live updates. There was mention about using reflection to define the schema, but didn't try. I will also make them aware of this library (it internally uses parts of https://github.com/graphql-go/graphql) so we have stronger community. thank you for all your work.


Robot Party

Your checklist for this pull request
About your game
What is your game about?

Moving the Robot to push boxes and get coins, also finding the secret level

How to play your game?

Move John [the robot] using keys WASD, J resets the level incase you messed up. The secret level is a one in 5 chance of finding it, if you do there is some special music and a different style end!

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Cool game and great art! However, the code is quite similar to sokoban, are you able to add more levels or add another feature (for example a timer)? Another thing, can you remove the spaces in the filenames, thanks for the PR!

sure id be happy to add a couple levels, im also going to be trying to implement a timer. i will remove the issues once i finish the edit. Thanks!

@SamDev-7 I finished implementing the suggestions, I am unsure how to rename the JPG but I did go ahead and rename the js file. Thanks!

Great changes! the movement counter and the timer make it more competitive, I'll just change the .jpg name

I don't have permission to add the file, so download this and upload it to your directory (https://github.com/Gam3rrXD/sprig)

Sure i will do that now

@LucasHT22 all changes are complete! let me know if I need to do anything else, Thanks!


chore(ci): test action on macos-14

blocked by https://github.com/actions/runner-images/issues/9256 (temp: don't use pipx commit)
blocked by https://github.com/actions/setup-python/issues/808 (temp: python 3.8 & 3.9 missing on macos-14 commit)

Do we know if pipx is going to be re-added? We could use this mechanism (both here and in cibuildwheel) until it is. And I wouldn't be shocked if 3.8 was never added to GHA macOS AS, Python didn't officially support AS at that point, it was very experimental. The 3.8 that ships on (at least previous versions of) macOS AS was an Apple patched fork. I'm not sure why 3.9 is missing though, as that had pretty solid support for AS.

The matching PR was merged and released in cibuildwheel. @mayeut can we take this out of draft?

I marked this PR as ready for review as requested by @henryiii
pipx is going to be re-added however this PR also deals with self-hosted runners on which pipx might not be available.
As for python 3.8/3.9, there's no timeline from upstream with issue/PR for a couple months.

AFAICT pipx is just awaiting deployment. I'm not nearly as worried about not using pipx if it's available on all the official runners - a self hosted runner could just add pipx. Maybe we should just add the tests when pipx becomes available? What do others think? I'm fine either way.


Change OTel top-level spans identification logic to opt-in instead of default

What does this PR do?

Changes new OTel top-level spans identification logic from https://github.com/DataDog/datadog-agent/pull/22163 to opt-in instead of default.
Motivation

The OTel top-level spans identification changes have been delayed until we have a new policy for releasing breaking changes for OTel customers. Changing this feature to opt-in prevents breaking changes.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Add APM feature flag "enable_otlp_compute_top_level_by_span_kind". Send OTLP spans of varying span kinds and verify that root spans and server/consumer spans are marked as top-level in Datadog. Also verify that client/producer spans are marked as measured and have stats computed, and internal spans are not marked as top-level or measured.

/merge


monopod readme does not work well with terraform-enabled images

A lot of "-dev" variants drop from the readme if theyve been removed as subvariants in image.yaml

Another monopod oddity I discovered today: multiple images generated from a single main.tf don't work well.
e.g. gitlab references the image as cgr.dev/chainguard/gitlab, but this image doesn't exist - it's actually cgr.dev/chainguard/gitlab-kas, cgr.dev/chainguard/gitlab-exporter, ...


MAT-1389: Treat ValueSet types as primitive FHIR.codes

When we encounter a ValueSet type like AddressUse, we inline it to extend FHIR.code and treat it as a primitive.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 23
- Added 60

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 25
- Added 63

See the complete overview on Codacy


Deprecate PodPriority in WorkflowSpec

PodPriority should be deprecated from workflow spec since Kubernetes uses PodPriorityClass to indicate the importance and priority of a pod relative to others.
https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
https://github.com/argoproj/argo-workflows/blob/178bbbc31c594f9ded4b8a66b0beecbb16cfa949/pkg/apis/workflow/v1alpha1/workflow_types.go#L351-L352

@dpadhiar

Yes, mark with DEPRECATED.

@alok1929 You can take this issue, you will want to deprecate the same way this field has been deprecated in the file. We want users to see that they should no longer use this field.
https://github.com/argoproj/argo-workflows/blob/178bbbc31c594f9ded4b8a66b0beecbb16cfa949/pkg/apis/workflow/v1alpha1/workflow_types.go#L1378-L1382

Can I pick this up?

Okay will do that, I would like to be assigned this issue

Can I work on this if it's still not done? @dpadhiar

Since there hasn't been any progress from @alok1929. @mbtamuli Feel free to work on it.

Thanks @terrytangyuan. I created PR - https://github.com/argoproj/argo-workflows/pull/9400


University Example ::  Java Source Code

Hi,
I am looking for a working  Java Source Code for the
University Example in the below link
https://www.baeldung.com/java-composition-aggregation-association
Please update the github link once completed and notify me.
Please help

Hi @DeepakLalchandani,
Is that what you're looking for - https://github.com/eugenp/tutorials/blob/master/core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/relationships/university/University.java?

Where is the working Java code for it with public static void main method ??

Hi,
I have updated the issue.
Check and revert back
Regards,
Deepak
On Wed, 9 Sep 2020, 1:45 am kwoyke<EMAIL_ADDRESS>wrote:

Hi @DeepakLalchandani https://github.com/DeepakLalchandani,
Is that what you're looking for -
https://github.com/eugenp/tutorials/blob/master/core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/relationships/university/University.java
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eugenp/tutorials/issues/9962#issuecomment-689111704,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKGWZVBSM3RJQTHVCKWTFLSE2GGPANCNFSM4QRT3TCA
.

The code is fine. Not every Java class needs a main method. Nothing to update here.

How will I execute the University class without main method ?
This speaks no sense .
How will I see how the code works or not ? How will I even see how the code runs ?
I think you don't even know the basics of java.
It is illogical of you to reply like that ..
You can enroll in a basics course and then reply to me
You have just created dummy classes and arguing it is working ? Utter Nonsense..

This is the first time I comment on github, I must say this human is rude. What's the point of learning programming if you can't test nor compile a simple class?

Hi,
Think before calling me rude. I just raised this issue because the University class has no use cases.

How will University class be associated to professor,departments.? If you know java, you should know that it should cover the testing scenarios which I hardly see here. Hope this makes sense.

Since you have understood the complete problem  . Do update that tutorial with the working code covering all scenarios.( which you have admitted in above comment )?

Hi,
 My intention is not being rude

I just raised this issue because the University class has no use cases.

How will University class be associated to professor,departments.? If
you know java, you should know that it should cover the testing scenarios
which I hardly see here. Hope this makes sense.
2.
Since you have understood the complete problem . Do update that tutorial
with the working code covering all scenarios.( which you have admitted in
above comment )?
On Mon, 21 Sep 2020, 7:12 am Phetho Macmillian Malope, <
<EMAIL_ADDRESS>wrote:

This is the first time I comment on github, I must say this human is rude.
What's the point of learning programming if you can't test nor compile a
simple class?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eugenp/tutorials/issues/9962#issuecomment-695868306,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKGWZRR5F5TV7NG5SBRJQ3SG2VR7ANCNFSM4QRT3TCA
.


Feature the CLU on the Contributing page

Great suggestion by @zachwelch
@kathy-mycroft: incidentally, the CLA seems like the kind of thing that should be mentioned prominently on this page https://mycroft.ai/documentation/contributing/

Contributing page now features the CLA form.
Really appreciate your feedback, @zachwelch.
https://mycroft.ai/documentation/contributing/


Declare Hashable conformance for ArgumentVisibility

In addition to being useful, this allows us to drop the @testable annotation for the ArgumentParser import in ArgumentParserTestHelpers, which resolves #463.
Checklist

[X] I've added at least one test that validates that my change is working, if appropriate
[X] I've followed the code style of the rest of the project
[X] I've read the Contribution Guidelines
[X] I've updated the documentation if necessary

@swift-ci Please test

Just so I understand ArgumentVisibility: Hashable is orthogonal to changing the tests to not switch over .base, correct?

Right, it's generally useful if the library declaring types like this includes hashability, since clients shouldn't add this kind of conformance.


feat: add support for bzlmod

Adds support for bzlmod

@mattrobmattrob Pushed up a fix for some things i ran when testing e2e:

Split SwiftBEPParser/BUILD into SwiftBEPParser/Sources/BUILD and SwiftBEPParser/Tests/BUILD. This removes the need to use package(default_visibility = ["@rules_xcodeproj//xcodeproj:generated"]) for the library package (which would require declaring rules_xcodeproj a non-dev dependency)
Make SwiftBEPParser/Sources:SwiftBEPParser public so i can import it in my tool

I will handle pushing to BCR soon.


Add AAD Premium dependence info

The issues opened with these pages show that the confusion is there and clarity is needed around this.

@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!

Thanks!


[analyzer] incorrect fix for cascade of unchecked_use_of_nullable_value

With:
void f(int? x) {
  x..abs()..abs();
}

The offered fix is not compilable:
void f(int? x) {
  x?.abs()..abs();
}

instead of
void f(int? x) {
  x?..abs()..abs();
}

The label on the action should also be updated to show the correct operators.

https://dart-review.googlesource.com/c/sdk/+/266621


Not receiving notification after switching atsign

Lead: @murali-shris (please update if labeled incorrectly)
Describe the bug
If we have onboarded with @ a , we receive notification.
On switching to @ b , we still receive notifications.
If we switch back to @ a , we stop receiving notification.
To Reproduce
Steps to reproduce the behavior:

onboard with any atsign (@ a)
switch to second atsign (@ b)
switch back to @ a and we stopped receiving notifications.

Expected behavior
we should receive notifications at @ a .
Were you using an @application when the bug was found?

@ mosphere pro desktop

Additional information
On notification sender's side , we can see status as delivered.

@sachins-geekyants is this issue appearing in mobile app as well?

@murali-shris yes .

When atsign is switched instance of NotificationServiceImpl is not getting cleared from serviceMap.So when the same atsign is switched back again, monitor will not be started.Fixed the issue and pushed to "switch_atsign_bug" branch.
@sachins-geekyants please test

@murali-shris I can still see this issue in "switch_atsign_bug" branch.

Moving the issue to PR30 and re-estimating to 2SP.

After switching atsign, monitor is getting started but sync is getting called from -1 and no stats notification is received via monitor which is an issue. Currently investigating this issue

https://github.com/atsign-foundation/at_client_sdk/pull/396
Awaiting app testing feedback from Purnima

Tested with the branch "switch_atsign_bug". was able to receive notifications after switching atsigns.
https://user-images.githubusercontent.com/43639593/153560437-e439b0db-b3bc-4973-9b47-e43d2f5bb837.mp4

working fine with "switch_atsign_bug" branch.


Cors issues

I have issues getting token
Sample code:
const tokenAPI = "https://test.cashfree.com/api/v2/cftoken/order";
const appId = "appid";
const secret = "secretId";
let  headers = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
"x-client-secret": secret,
"x-client-id": appId,
}
this.http.post(tokenAPI, data, { headers })

Screen shot

Have to make this using your backend server

But client side how to do?


Full-Size WebView without rubberbanding

Hi there,
is there a way to make the WebView start right at the top of the panel, below the TitleBar?
I'd like the WebView to fill the entire frame. Whatever I try results in the TitleBar disappearing or not taking drag events anymore. It's also pretty nasty that the WebView does not seem to care for the BorderRadius the panel has.
I think if we could get this working and keep the WebView from bouncing on scroll, we could build some pretty neat things!
Thanks!

Hi all,
I noticed that the problem is the height of the titlebar set in the module.
Original with 24px:

Changed to 22px:

Maybe we could change it to 22px? Obviously this would only solve the problem with the gap between the titlebar and the content…


Bug: unable to download artifacts in pre-deploy and post deploy phase (no output file configured)

📜 Description
in case pre-deploy and post deploy phase the file is getting download with no data
Affected areas
CD
Additional affected areas
CI/CD Plugins
Prod/Non-prod environments?
Prod
Is User unblocked?
Yes
How was the user un-blocked?
TEMPORARILY - By disabling a CRITICAL functionality
Impact on Enterprise
empulse
👟 Steps to replicate the Issue
download artifact in pre-deploy and post deploy phase
👍 Expected behavior
should able to download the artifact
👎 Actual Behavior
in case pre-deploy and post deploy phase the file is getting download with no data
☸ Kubernetes version
any
Cloud provider
any
🌍 Browser
Chrome
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#9840

here output file is not added


C# Api

Hi guys .
Your application does not have SDK for C# ?

Hi,
The Bot-SDK for the C# programming language has not yet been developed.
You can see the description of bot service at this address.


libe-book: build with latest icu version

The number of icu versions in my system closure is too damn high. :point_up:
Fix compatibility with the latest icu version and refactor the derivation slightly.
Updates the fetcher to use the sourceforge mirror over the unresolvable kent mirror.
Remove icu58 workaround, it is not required anymore.
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.


MM-46866 : Migrate "components/channel_layout/channel_controller" to functional component

Summary
Migrated "components/channel_layout/channel_controller" to functional.
🔗 This is part of effort for adding graphQL to channels
Ticket Link
https://mattermost.atlassian.net/browse/MM-46866
Related Pull Requests
n/a
Screenshots
n/a
Release Note

NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/238395

/e2e-test MM_ENV="MM_FEATUREFLAGS_POSTPRIORITY=true"

Triggering e2e testing with options:
&map[MM_ENV:MM_FEATUREFLAGS_POSTPRIORITY=true]

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/239188

oops 😅  wrong feature flag, rerunning

/e2e-test MM_ENV="MM_FEATUREFLAGS_GRAPHQL=true"

Triggering e2e testing with options:
&map[MM_ENV:MM_FEATUREFLAGS_GRAPHQL=true]

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/239191

@jgilliam17 this has no changed related to graphQL, so without feature flag is also fine here

Thanks for clarifying @M-ZubairAhmed
I noticed that this was a ticket from graphQL epic, I guess I should have checked first 🙂


UnionNode still buffering for no good reason

So, like #1100 it seems I'm running a foul of UnionNode.
I was trying to do something to the effect of:
var incoming = stream|from()
var group1 = incoming|where()
var group2 = incoming|where()
var group3 = incoming|where()
var group4 = incoming|where()
var group5 = incoming|where()
var group6 = incoming|where()
group1|union(group2,group3,group4,group5,group6)|influxDBOut()

I was consistently seeing the influx node running at least 30 points behind the number of points it should have received from the wheres.  Watching it on stats I could see the node would "jump" every 30 seconds or so while the rest of the graph was processing at a fairly consistent 1 point per second.
To test the theory that it was Union, I've copied the influx lines on to the end of all the blocks, so now I have something more like this:
var incoming = stream|from()
incoming|where()|influxDBOut()
incoming|where()|influxDBOut()
incoming|where()|influxDBOut()
incoming|where()|influxDBOut()
incoming|where()|influxDBOut()
incoming|where()|influxDBOut()

And now I have it keeping perfect time at just a few milliseconds latency.
Any ideas?  I'm running Kapacitor 1.3.1 so I thought the Union buffering was fixed now, since changelog says the buffering fix went in to 1.2.0.

@kaithar Can you share the kapacitor show  output of the task with the union node?

@nathanielc
I had to recreate but here you go:
ID: uniontest
Error:
Template:
Type: stream
Status: enabled
Executing: true
Created: 11 Oct 17 10:26 UTC
Modified: 11 Oct 17 10:26 UTC
LastEnabled: 11 Oct 17 10:26 UTC
Databases Retention Policies: ["telegraf"."autogen"]
TICKscript:
var measurement = 'fakenet'

var groupBy = []

var whereFilter = lambda: ("device" == 'sin2')

var period = 1m

var threshold = 0.0

var sensor = '7'

var data = stream
    |from()
        .measurement(measurement)
        .groupBy(groupBy)
        .where(whereFilter)

var level100 = data
    |where(lambda: "value" >= 90)
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level80 = data
    |where(lambda: ("value" >= 80 AND "value" < 90))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level60 = data
    |where(lambda: ("value" >= 60 AND "value" < 80))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level40 = data
    |where(lambda: ("value" >= 40 AND "value" < 60))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level20 = data
    |where(lambda: ("value" >= 20 AND "value" < 40))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level0 = data
    |where(lambda: ("value" < 20))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

level100
    |union(level80, level60, level40, level20, level0)
    |influxDBOut()
        .create()
        .database('telegraf')
        .retentionPolicy('autogen')
        .measurement('healthdummy')
        .tag('sensor', sensor)
        .buffer(1)
        .flushInterval(2s)

DOT:
digraph uniontest {
graph [throughput="5.00 points/s"];

stream0 [avg_exec_time_ns="0s" errors="0" working_cardinality="0" ];
stream0 -> from1 [processed="197"];

from1 [avg_exec_time_ns="15.053µs" errors="0" working_cardinality="0" ];
from1 -> where12 [processed="45"];
from1 -> where10 [processed="45"];
from1 -> where8 [processed="45"];
from1 -> where6 [processed="45"];
from1 -> where4 [processed="45"];
from1 -> where2 [processed="45"];

where12 [avg_exec_time_ns="7.024µs" errors="0" working_cardinality="1" ];
where12 -> eval13 [processed="10"];

eval13 [avg_exec_time_ns="4.33µs" errors="0" working_cardinality="1" ];
eval13 -> union19 [processed="10"];

where10 [avg_exec_time_ns="5.866µs" errors="0" working_cardinality="1" ];
where10 -> eval11 [processed="5"];

eval11 [avg_exec_time_ns="4.078µs" errors="0" working_cardinality="1" ];
eval11 -> union19 [processed="5"];

where8 [avg_exec_time_ns="6.59µs" errors="0" working_cardinality="1" ];
where8 -> eval9 [processed="3"];

eval9 [avg_exec_time_ns="0s" errors="0" working_cardinality="1" ];
eval9 -> union19 [processed="3"];

where6 [avg_exec_time_ns="6.422µs" errors="0" working_cardinality="1" ];
where6 -> eval7 [processed="10"];

eval7 [avg_exec_time_ns="0s" errors="0" working_cardinality="1" ];
eval7 -> union19 [processed="10"];

where4 [avg_exec_time_ns="12.234µs" errors="0" working_cardinality="1" ];
where4 -> eval5 [processed="4"];

eval5 [avg_exec_time_ns="3.672µs" errors="0" working_cardinality="1" ];
eval5 -> union19 [processed="4"];

where2 [avg_exec_time_ns="5.533µs" errors="0" working_cardinality="1" ];
where2 -> eval3 [processed="13"];

eval3 [avg_exec_time_ns="5.682µs" errors="0" working_cardinality="1" ];
eval3 -> union19 [processed="13"];

union19 [avg_exec_time_ns="2.359µs" errors="0" working_cardinality="0" ];
union19 -> influxdb_out20 [processed="20"];

influxdb_out20 [avg_exec_time_ns="8.214659ms" errors="0" points_written="20" working_cardinality="0" write_errors="0" ];
}

The rate seems correct but there should be a 1:1 match between the output of from1 and union19 -> influxdb_out20 but in practice...
# while true; do kapacitor show uniontest | egrep '(from1 -> where2|union19 -)'; sleep 5; done
from1 -> where2 [processed="705"];
union19 -> influxdb_out20 [processed="676"];
from1 -> where2 [processed="710"];
union19 -> influxdb_out20 [processed="676"];
from1 -> where2 [processed="715"];
union19 -> influxdb_out20 [processed="676"];
from1 -> where2 [processed="720"];
union19 -> influxdb_out20 [processed="676"];
from1 -> where2 [processed="725"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="730"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="735"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="740"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="745"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="750"];
union19 -> influxdb_out20 [processed="708"];
from1 -> where2 [processed="755"];
union19 -> influxdb_out20 [processed="736"];
from1 -> where2 [processed="760"];
union19 -> influxdb_out20 [processed="736"];

That's 19-42 points behind, which is bad enough for a metric that's generating at 1 point/s... Since this is generating a full sweep I'm not sure which failure mode it would demonstrate on less regular metrics so I tried a more degenerate case by changing the input to a where that always matches and a where that never matches, given the 0-100 sin wave I'm using, and the result is bad:
ID: uniontest
Error:
Template:
Type: stream
Status: enabled
Executing: true
Created: 11 Oct 17 10:26 UTC
Modified: 11 Oct 17 10:51 UTC
LastEnabled: 11 Oct 17 10:51 UTC
Databases Retention Policies: ["telegraf"."autogen"]
TICKscript:
var measurement = 'fakenet'

var groupBy = []

var whereFilter = lambda: ("device" == 'sin2')

var period = 1m

var threshold = 0.0

var sensor = '7'

var data = stream
    |from()
        .measurement(measurement)
        .groupBy(groupBy)
        .where(whereFilter)

var level20 = data
    |where(lambda: ("value" >= 0))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

var level0 = data
    |where(lambda: ("value" < 0))
    |eval(lambda: 100)
        .as('health')
        .keep('health')

level20
    |union(level0)
    |influxDBOut()
        .create()
        .database('telegraf')
        .retentionPolicy('autogen')
        .measurement('healthdummy')
        .tag('sensor', sensor)
        .buffer(1)
        .flushInterval(2s)

DOT:
digraph uniontest {
graph [throughput="5.00 points/s"];

stream0 [avg_exec_time_ns="0s" errors="0" working_cardinality="0" ];
stream0 -> from1 [processed="515"];

from1 [avg_exec_time_ns="4.59µs" errors="0" working_cardinality="0" ];
from1 -> where4 [processed="114"];
from1 -> where2 [processed="114"];

where4 [avg_exec_time_ns="10.133µs" errors="0" working_cardinality="1" ];
where4 -> eval5 [processed="0"];

eval5 [avg_exec_time_ns="0s" errors="0" working_cardinality="0" ];
eval5 -> union7 [processed="0"];

where2 [avg_exec_time_ns="5.397µs" errors="0" working_cardinality="1" ];
where2 -> eval3 [processed="114"];

eval3 [avg_exec_time_ns="4.734µs" errors="0" working_cardinality="1" ];
eval3 -> union7 [processed="114"];

union7 [avg_exec_time_ns="926ns" errors="0" working_cardinality="0" ];
union7 -> influxdb_out8 [processed="0"];

influxdb_out8 [avg_exec_time_ns="0s" errors="0" points_written="0" working_cardinality="0" write_errors="0" ];
}

Seems that the failure mode is that union is behaving as a blocking read.  Since this is a very different failure mode than I originally thought I'll confirm that I'm running Kapacitor 1.3.1 (git: master 3b5512f7276483326577907803167e4bb213c613)
Hope that helps


Possible for custom template in month view?

I'm working on creating an Angular app that where I need to have just the skeleton calendar with the month view (and the usual month switching capabilities with the buttons), but instead of using events, I need to be able to place some tables inside each day. Is there a way to do that with something like a custom day template (like what Angular Bootstrap Calendar has) without creating a whole custom view? I've looked through the FullCalendar docs, but didn't see anything like that at first glance.
Thanks.

You can probably fake it using the dayRender callback. Pretty much sharing
the grain of FC but doable I think. ~m
On 13 Jun 2016 8:27 p.m., "wonder95"<EMAIL_ADDRESS>wrote:

I'm working on creating an Angular app that where I need to have just the
skeleton calendar with the month view (and the usual month switching
capabilities with the buttons), but instead of using events, I need to be
able to place some tables inside each day. Is there a way to do that with
something like a custom day template (like what Angular Bootstrap Calendar
https://mattlewis92.github.io/angular-bootstrap-calendar/#?example=custom-templates
has) without creating a whole custom view? I've looked through the
FullCalendar docs, but didn't see anything like that at first glance.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/angular-ui/ui-calendar/issues/421, or mute the thread
https://github.com/notifications/unsubscribe/AE4UBL0xdhoADTqg6gIHMX1-F0b9dgbMks5qLfVVgaJpZM4I024z
.

Define eventRender(event,element,view) and manipulate the element html. You can externalize the html using $templateCache()
Mine looks like this:
$scope..eventRender = function( event, element, view ) {
var template = $templateCache.get('event-' + event.type + '.html');
element.html($interpolate(template)({event:event,iconsFor:function() {..}}))
};


Unify existing SB pipelines into a new official release pipeline

https://github.com/dotnet/source-build/issues/3241
https://github.com/dotnet/source-build/issues/3194

@MichaelSimons @crummel I have pushed some updates to the release checklist of some things we could immediately improve in the instructions. The YAML in this PR is the one that we used during the release so I would now review/merge this and tackle the fallout work separately after I log issues for that and figure out what needs to be done.


docs: add korean transation readme.md

Description
I added Korean translate for readme.md. Thanks for the great product!

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

Thanks @szto !


Add --env flag to drone exec for passing custom ENV vars

This adds the possibility to pass custom ENV vars to the build when running drone exec. I use the same naming as in docker --env, -e, but I don't mind changing it if you prefer something else.
My use case for this is that I'm running drone exec in my companies custom build system, and need to pass env vars like BUILD_NUMBER from the build system so they are available in the drone pipeline steps.

If you need to pass BUILD_NUMBER you can do --build-number. The full set of fields available to the server are also available to the CLI.
Check out https://github.com/drone/drone/blob/master/drone/exec/exec.go#L143

BUILD_NUMBER was just an example. In reality the variable name is different from the one provided by default in drone e.g. CUSTOM_CI_BUILD_NUMBER.
The point is I want to pass custom (and dynamic) ENV vars to all build steps. I don't see the problem of adding a generic --env flag?

The CLI is meant to emulate the server which does not provide this capability.
You could perhaps try to hack around this limitation by declaring your custom variable as a secret. For example with the following yaml:
pipeline:
  foo:
    image: bar
    commands:
      - echo $CUSTOM_CI_BUILD_NUMBER
    secrets: [ CUSTOM_CI_BUILD_NUMBER ]

You could then do this:
CUSTOM_CI_BUILD_NUMBER=99 drone exec

The idea is that I don't want to repeat my self when it's not necessary.
If you don't think it belongs in drone exec then that's alright. I'll just keep a fork with this feature.


Unhandled rejection error on  knex.batchInsert with postgres

Doing
 knex.batchInsert('keys', rows, rows.length);

when having duplicate key causes unhandled rejection error - can not catch it as a promise or with try\catch:

Unhandled rejection error: insert into "keys" ("count", "created_at", "is_active", "key", "rsa_key_id", "updated_at") values ($1, $2, $3, $4, $5, $6), ($7, $8, $9, $10, $11, $12), ($13, $14, $15, $16, $17, $18), ($19, $20, $21, $22, $23, $24), ($25, $26, $27, $28, $29, $30), ($31, $32, $33, $34, $35, $36), ($37, $38, $39, $40, $41, $42), ($43, $44, $45, $46, $47, $48), ($49, $50, $51, $52, $53, $54), ($55, $56, $57, $58, $59, $60) - duplicate key value violates unique constraint "keys_rsa_key_id_unique"
at Connection.parseE (.../node_modules/pg/lib/connection.js:554:11)
at Connection.parseMessage (.../node_modules/pg/lib/connection.js:381:17)
at Socket. (.../node_modules/pg/lib/connection.js:117:22)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:534:20)

Steps to reproduce -  try catching error when inserting bulk values with duplicated keys:
knex.schema.createTable('test', function (table) {
      table.string('col');
      table.unique('col');
    }).then(function () {
      var rows = [{'col': 'a'}, {'col': "a"}];
      return knex.batchInsert('test', rows, rows.length);
    }).catch(function () {
      console.log('not coming here');
    });

knex 0.12.6
pg 6.1.2
node 5.12.0

Having this same issue but with Oracle.
knex 0.12.6
oracle db 11
node 6.9.3

I'm seeing the same issue!
knex 0.12.6
oracle db 11 xe
node 6.9.4

Same issue here - knex 0.12.6

#1984


OLS-1277: basic support for Python 3.12

Description
OLS-1277: basic support for Python 3.12
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[ ] CI configuration change
[ ] Konflux configuration change

Related Tickets & Documents

Related Issue #OLS-1277

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

Project coverage is 93.46%. Comparing base (f093792) to head (07d4391).
Report is 27 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2043      +/-   ##
==========================================
- Coverage   96.95%   93.46%   -3.50%
==========================================
  Files          70       71       +1
  Lines        2890     2892       +2
==========================================
- Hits         2802     2703      -99
- Misses         88      189     +101

see 9 files with indirect coverage changes

/test integration

/test 4.17-e2e-ols-cluster

/approve
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

/lgtm


[BEAM-928] Enable Spotbugs in KafkaIO, fix warnings

Enabled Spotbugs for KafkaIO and fixed some warnings after.
One of them was related to KafkaRecord which I think doesn't need to be Serializable
R: @iemejia @rangadi (if you have a time)
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

👍 LGTM.

@iemejia Thanks, I addressed you comments, PTAL


Autoquant v2 initial version

Summary:
We refactored the v1 to do benchmark for subgraphs of (prev_op -> linear -> post_op) in order to get more accurate estimation of timing. One issue here is now we need to care about batch size of the subgraph, so we'd need the batch size dimension to use symbolic shape, seems that it does not have good support on torch.compile right now
Current Status:

tested with llama2 and sam
llama2 has the same result as autoquant v1, for both default qtensor subclass list and the one that contains int4
sam get some speedup over v1 because it picked a int8dyn layer, while autoquant v1 picks float for everything

More improvements:

current batch size adjustment code is hardcoded to work for llama model, need to think of a way to generalize it
current we use GraphModule as key and comparing equality of graphs to avoid duplicated benchmarking effort, we have a naive graph equality check function, which should work reasonably well, but we could improve this by using subgraph matcher or canonicalize graph (if the tool exist)
add accuracy sanity checks
apply to more models
fqn from named_modules does not match extracted fqn (in dynamo tracking stack) in some torchbench models, but we can fix this when it appears in the models we care about.
I also heard from Animesh that modules are inlined by default now? and we should rely on node.meta for tracking where the nodes comes from and extract subgraph, we can revisit as well.

Test Plan:
Testing with torchao/_models/llama/generate.py
python generate.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth --compile --compile_prefill --quantization autoquant_v2-int4

llama2 | autoquant_v1 | autoquant_v2 |
-- | -- | -- | --
default qtensor list | Average tokens/sec: 172.59Average Bandwidth: 1165.98 GB/sPeak Memory Usage: 8.65 GBModel Size: 6.76 GBhttps://www.internalfb.com/phabricator/paste/view/P1680313475 | Average tokens/sec: 173.82Average Bandwidth: 1174.28 GB/sPeak Memory Usage: 9.61 GBModel Size: 6.76 GBhttps://www.internalfb.com/phabricator/paste/view/P1680309154 |
int4 qtensor list | Average tokens/sec: 208.69Average Bandwidth: 807.64 GB/sPeak Memory Usage: 4.53 GBModel Size: 3.87 GBhttps://www.internalfb.com/phabricator/paste/view/P1680316118 | Average tokens/sec: 209.08Average Bandwidth: 809.15 GB/sPeak Memory Usage: 5.09 GBModel Size: 3.87 GBhttps://www.internalfb.com/phabricator/paste/view/P1680296091 |
  |   |   |
sam - image_encoder | base | autoquant_v1 (all float) | autoquant_v2 (one layer picked int8dyn)
default qtensor list | 23.18455616 | 23.09307945 | 24.19601284
  | cuda,vit_h,32,13678,16,23.18455616196341,43.132160607870524,0.5811261131824416,max-autotune,torch.bfloat16,None,False,True,True,32,154,4928,None,None | cuda,vit_h,32,13681,16,23.093079445154853,43.30301648920233,0.5811880744669748,max-autotune,torch.bfloat16,autoquant,False,True,True,32,154,4928,None,None | cuda,vit_h,32,56597,69,24.196012837520133,41.32912338554085,0.5827170017253231,max-autotune,torch.bfloat16,autoquant_v2,False,True,True,32,154,4928,None,None
Reviewers:
Subscribers:
Tasks:
Tags:

One overall nit is that since this seems like a prototype that will eventually back the main autoquant API, we should probably put this in the prototype folder until we're ready to move.

One overall nit is that since this seems like a prototype that will eventually back the main autoquant API, we should probably put this in the prototype folder until we're ready to move.

oh OK makes sense, I can move it

thanks @drisspg @vkuzo for the review, I have addressed  the comments, please take a look again


Is there something like hasPosition()?

Sometimes I have found it useful to determine if a collection has an item at a certain position, regardless of index/key. I used it in my csv library to be able to easily determine if there was an item in the "3rd" column for instance. Normally I would have to do something like this:
$pos = 3;
// have to call values() to reindex numerically in case the collection has non-numeric keys...
$coll = Factory::create($items)->values();
// now have to do some arithmetic to get correct index
$index = $pos - 1;
if ($coll->hasPosition($index)) {
   $column = $coll->get($index);
}

When I was writing my own collection library I simply implemented these methods to make this process simpler:
$pos = 3;
$coll = Factory::create($items);
if ($coll->hasPosition($pos)) {
    $column = $coll->getPosition($pos);
}

I also made it work with negative numbers to index from the end rather than the beginning.
$coll = Factory::create($items);
// get the second from last item
$coll->getPosition(-2);

@Plopix Do you see any value in this? Your thoughts? Perhaps you already have a solution for something like this? I think the name could be shorter. Something like "hasPos()" and "getPos()".

As a matter of fact, in my library, I made getPosition throw an exception so I could make this even simpler:
$items = Factory::create($arr);
try {
    $column = $items->getPosition(-5);
} except (Collection\Exception\InvalidPositionException $e) {
    // there is no fifth-from-last column
}


feat(goal_planner): check opposite lane for lane departure_check

Description
https://github.com/autowarefoundation/autoware.universe/pull/9423  does not check the opposing lane. The avoidance module may cause the ego to enter the opposing lane, but at this time, the current lane departure check  logic of goal planner judges candidate paths invalid.
In this PR, it checks the opposing lane too
before

after

https://github.com/user-attachments/assets/bbc0e706-1b00-4b9c-b232-a2f7fc3fa68e
Related links
Parent Issue:

Link

How was this PR tested?
psim
2024/11/28 https://evaluation.tier4.jp/evaluation/reports/317acd96-acdc-5002-97d1-d1c5fa3067d8/?project_id=prd_jt
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@danielsanchezaran
thanks! removed the commit

@danielsanchezaran
please remove requested changes if there is no problem


Add SLO make target to generate rules

Add a make target into sloth-rules to generate PrometheusServiceLevel rules files via the go tooling in place.

Isn't that already the case ?
We have the following in the makefile :
.PHONY: generate
generate:
	go run main.go

How about we add make generate in circleci?

It's already the case :)
jobs:
  check-generated:
    machine: true
    steps:
      - checkout
      - run:
          command: |
            make generate
            git diff --output /dev/null --exit-code helm/ || (echo 'Detected changes in generated files. Please run "make generate" and push again' && exit 1)
workflows:
  package-and-push-chart-on-tag:
    jobs:
      - check-generated:
          filters:
            tags:
              only: /^v.*/

Nevermind :D

Closing then