Failed to start container probably using macvlan nic network

I've got error when trying to restart containers, some of containers failed to start because of error from network.c probably trying to allocate hw address or whatever.
I faced this problem on earlier versions too, so I think it does not related to specific version.
Host
OS: Archlinux (latest updates)
LXD: 3.13
Kernel: 5.0.10-arch1-1-ARCH
Storage: ZFS
Information

dmesg doesn't have any related info
container log

Name: tower
Location: none
Remote: unix://
Architecture: x86_64
Created: 2019/04/14 11:18 UTC
Status: Stopped
Type: persistent
Profiles: default, boot

Log:

lxc tower<PHONE_NUMBER>3403.750 ERROR    network - network.c:setup_hw_addr:2762 - Address already in use - Failed to perform ioctl
lxc tower<PHONE_NUMBER>3403.750 ERROR    network - network.c:lxc_setup_netdev_in_child_namespaces:2907 - Failed to setup hw address for network device "eth0"
lxc tower<PHONE_NUMBER>3403.750 ERROR    network - network.c:lxc_setup_network_in_child_namespaces:3047 - failed to setup netdev
lxc tower<PHONE_NUMBER>3403.750 ERROR    conf - conf.c:lxc_setup:3569 - Failed to setup network
lxc tower<PHONE_NUMBER>3403.750 ERROR    start - start.c:do_start:1279 - Failed to setup container "tower"
lxc tower<PHONE_NUMBER>3403.751 ERROR    sync - sync.c:__sync_wait:62 - An error occurred in another process (expected sequence number 5)
lxc tower<PHONE_NUMBER>3403.787 WARN     network - network.c:lxc_delete_network_priv:2589 - Operation not permitted - Failed to remove interface "eth0" with index 50
lxc tower<PHONE_NUMBER>3403.787 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:864 - Received container state "ABORTING" instead of "RUNNING"
lxc tower<PHONE_NUMBER>3403.787 ERROR    start - start.c:__lxc_start:1972 - Failed to spawn container "tower"
lxc<PHONE_NUMBER>3403.796 WARN     commands - commands.c:lxc_cmd_rsp_recv:132 - Connection reset by peer - Failed to receive response for command "get_state"

Container configuration

architecture: x86_64
config:
  boot.autostart: "1"
  boot.autostart.priority: "100"
  limits.cpu: "1"
  limits.memory: 1GB
  raw.lxc: lxc.hook.start-host = sh -c "beep -f 3000 -l 50 -n -f 8000 -l 50"
  security.privileged: "true"
  volatile.base_image: ce911ace9aeca6fa5a46f878c2b6a64aeb4b505213f2a0f8f43705d6c52325bf
  volatile.eth0.hwaddr: 00:16:3e:79:d3:97
  volatile.idmap.base: "0"
  volatile.idmap.current: '[]'
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: '[]'
  volatile.last_state.power: STOPPED
devices:
  eth0:
    name: eth0
    nictype: macvlan
    parent: hp1
    type: nic
  root:
    path: /
    pool: tank
    type: disk
ephemeral: false
profiles:
- default
- boot
stateful: false
description: ""

journald log has only lines such

May 11 19:44:36 helios lxd[14279]: t=2019-05-11T19:44:36+0700 lvl=eror msg="Failed starting container" action=start created=2019-04-14T18:18:22+0700 ephemeral=false name=tower project=default stateful=false used=2019-05-11T19:43:39+0700

Also I have checked the mac addresses of all containers:
❯ lxc nodes | xargs -n1 lxc config show | grep hwaddr
  volatile.eth0.hwaddr: 00:16:3e:74:3f:2f
  volatile.eth0.hwaddr: 00:16:3e:a3:69:f9
  volatile.eth0.hwaddr: 00:16:3e:ae:4f:a7
  volatile.eth0.hwaddr: 00:16:3e:1f:9b:e4
  volatile.eth0.hwaddr: 00:16:3e:b5:4d:fc
  volatile.eth0.hwaddr: 00:16:3e:e2:54:6b
  volatile.eth0.hwaddr: 00:16:3e:af:a2:62
  volatile.eth0.hwaddr: 00:16:3e:79:d3:97

there is no duplicates

Can you post a full dmesg output and full ps fauxww?
The error is coming straight from the kernel, so there's not a huge lot we can do about it, it suggests that your past network namespace is still active for some reason.
Maybe some process won't die or you hit a kernel bug, hopefully one of those two commands will confirm that. Also, does the issue self resolve after a few minutes?
Might also be interesting to try to ping those containers and see if the kernel answers, in many cases of unflushed network namespaces, it will...
@brauner is looking at doing some kernel work to make namespaces easier to track from userspace so we can better debug such issues in the future.
I'm closing this issue as there's nothing we can do in LXD about it, if there's something we can do, we'll have to do it in liblxc but there is a 99% chance that this is a kernel problem.


$this->apiKey->user_id    Trying to get property of non-object

Hi, since the last update:
public function initialize()
{
    // get user matching to supplied apikey
    $user_id = $this->apiKey->user_id;
    $this->user = User::findOrFail($user_id);
    ....
}

Returns:  Trying to get property of non-object
Is there a new way of accessing the user_id belonging to the api key provided?
thanks

Sorry, it seems to work.

Yeah, this actually didn't work for me. I just did:
$apiKey = ApiKey::where('user_id', '=', $userId)->count();
if ($apiKey >= 1) {
    $overwrite = $this->ask("This user already has an existing API key. Do you want to overwrite it? [y/n]");
    if ($overwrite == 'n') {
        return;
    }
}


Change position of controls?

Do you think a good idea change the position of controls for below the types of timer?
We can increase the size of icons too, then it can facilitates the pause and play of pomodoros.

I made an example on photoshop!

Really it got better :)

Perfect! Was exatly this that I had imagined! haha
If you want, I can make this changes.

Done,
Is available in  v 0.3.0 :)


Make the 'Matlab' target flag create a MEX function containing the solver

The function Spcies_gen_controller function should create a Matlab MEX file containing the solver when the target is set to 'Matlab'.

This improvement has been added as of commit cf931f0bfe622fce87d5043b898c4615b97cc566.


End student registrations

Hello @OrkoHunter! Thanks for submitting the PR.

In the file kwoc/app.py, following are the PEP8 issues :

Line 5:1: E402 module level import not at top of file
Line 6:1: E402 module level import not at top of file
Line 7:1: E402 module level import not at top of file
Line 13:1: E302 expected 2 blank lines, found 1
Line 48:1: E302 expected 2 blank lines, found 1
Line 53:1: E302 expected 2 blank lines, found 1
Line 66:1: E305 expected 2 blank lines after class or function definition, found 1

I am merging this now, but it shouldn't be deployed before midnight.


DO NOT APPROVE, security testing.  pwymyu

DO NOT APPROVE, security testing.  pwymyu

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Adding more checks to verify gratuitous ARP

Description
This PR adds more checks to verify if a ARP packet is gratuitous ARP
Test Steps

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hello @tony-josi-aws,
Why do you choose to add logging and debugging code to a source file in "main"?
It looks like you're trying to find out something, but you don't reveal more than this:
This PR adds more checks to verify if a ARP packet is gratuitous ARP
I don't think that main sources files should include so much code for debugging 👎

Hello @tony-josi-aws,
Why do you choose to add logging and debugging code to a source file in "main"? It looks like you're trying to find out something, but you don't reveal more than this:
This PR adds more checks to verify if a ARP packet is gratuitous ARP
I don't think that main sources files should include so much code for debugging 👎


get admin details implemented on endpoint /admin

Issue that this pull request solves
Closes: #476
Proposed changes
added simple if the check for adminType and fetched the details of admin using email attacked with the request body.
Brief description of what is fixed or changed
endpoint /admin now returns single logged-in admin details for non-super admins
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots

Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request
Consider it under GSSOC`22

@Gurdeep475 This is an existing API for getting the list of admins. Please make a separate api for getting the details of the logged-in admin. [ You can name it under getAdmin.js ]

But the original issue asked to implement in the existing /admin API endpoint.


view bounding boxes

is there a way to view the image and bounding boxes after they have been annotated? i.e., after annotating an image, if i navigate back to image, the bounding boxes are gone (though preserved in xml file).
thanks!

It should not happen. Have you set the 'default save dir' ?


Latest supported LibVlc version with no major issues

Can someone help me with this information?
What is the latest supported LibVlc version that can be downloaded from from VideoLab site that is compatible with Meta.Vlc Package?

Check Meta.Vlc.Lib on nuget.
Check LibVlc.2.2.-.xZune.7z on release.

BTW, I think 2.x is good for Meta.Vlc, if you can provide some code for this project, 3.0 is not hard to support

@higankanshi  i will do my best on supporting 3.x, after finishing my tests.
I used the LibVlc already added to the git hub project, can you remember which specific fix you used? 2.2.0 or 2.2.5?
And if you ever done some testing on 2.2.5 the latest can you tell me your results?
I would be gratefull for your help :100:

See this wiki Compile VLC for Meta.Vlc...I think I develped base on 2.2.0


Multiline fix

Hi, thank you for PR, but it cannot be merged as new version of api-smart-diff was released with huge changes in codebase.


Consistent usage of --telescope command line parameter

The --telescope command line parameter is not used consistently and does not always reflect class, type, subtype.

LST-1
MST-FlashCam-D
SST-D

(see e.g., in metadata_collector:_fill_association_meta_from_args
This should be clarified.
Check also the documentation that it is clear how telescope class / type is defined (it is not clear from looking at the expressions)

This should be made consistent with the INSTRUMENT field defined the the metadata schema file (and consistent with the CTA data model definitions).

This issue is actually obsolete - we have solved this when introducing the CTAO naming (MSTN-01, SSTS-84, etc).
Closing it.


Windstep cant step up a block + 1 pixel

when attempting to step up a block from say, farmland or a path, to a regular block, windstep doesnt autostep up it
(holding w in image)

This is part of how Windstep is designed. Add this datapack to your world folder's datapack folder to increase the step height.

works perfectly, thanks!


bugfix: 服务目录相关权限问题修复

bugfix: 服务目录相关权限问题修复

Codecov Report

Merging #252 (0e16075) into v2.6.x_develop (4fa1a83) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #252      +/-   ##
==================================================
- Coverage           53.65%   53.65%   -0.01%
==================================================
  Files                 445      445
  Lines               27457    27463       +6
==================================================
+ Hits                14732    14734       +2
- Misses              12725    12729       +4

Impacted Files
Coverage Δ

itsm/ticket/views/ticket_remark.py
33.33% <20.00%> (-3.81%)
:arrow_down:

itsm/service/models.py
61.49% <100.00%> (+0.13%)
:arrow_up:

itsm/service/views.py
51.23% <100.00%> (ø)

Continue to review full report at Codecov.

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


Clarify the "types vs. interfaces" dilemma

Adding a "why" behind the "how" might help new- (and old-)comers with taking a better decision over which one to use, given they are 99.9% equal.
I've also added a link to the original article. I personally think it's important, especially since it refers to TS 2.7, and things may (or not) change in future versions.
This way the cheatsheet stays simple and to the point, but we also give the opportunity of exploring the dilemma further.

@mjsarfatti Great change. Please open issues (or directly fix them) if you encounter more sections that lack "the why".

sorry for any breaks


Add proper error handling to the networking crate

Currently there is a minimal to none error handling in the PoC networking code. We need to introduce a proper error structure and handling.

Error handling is being added thru other relevant PRs on a piecemeal basis. Therefore closing this ticket in favour of those PRs.


Bug reports for links in OpenIM docs

Summary

Status
Count

🔍 Total
427

✅ Successful
384

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
7

❓ Unknown
0

🚫 Errors
36

Errors per input
Errors in README-zh_CN.md

[404] https://github.com/openimsdk/open-im-server/blob/main/FAQ.md | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/docs/contrib/interface.md | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/examples | Failed: Network error: Not Found

Errors in docs/contrib/prometheus-grafana.md

[404] https://docs.openim.io/configurations/prometheus-integration | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/scripts/install/environment.sh | Failed: Network error: Not Found
[404] https://grafana.com/grafana/plugins/grafana-kafka-datasource/ | Failed: Network error: Not Found
[404] https://docs.openim.io/guides/gettingStarted/install-openim-linux-system | Failed: Network error: Not Found
[404] https://grafana.com/docs/grafana/latest/datasources/zookeeper/ | Failed: Network error: Not Found
[404] https://grafana.com/docs/grafana/latest/datasources/redis/ | Failed: Network error: Not Found

Errors in .devcontainer/README.md

[ERR] [file:///home/runner/work/dweb-browser-im-server/.vscode/launch.json](file:///home/runner/work/dweb-browser-im-server/.vscode/launch.json) | Failed: Cannot find file
[ERR] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/openimsdk/open-im-server | Failed: Network error: dns error: no record found for Query { name: Name("ms-vscode-remote.remote-containers.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net."), query_type: AAAA, query_class: IN }

Errors in docs/contrib/environment.md

[ERR] http://your.domain.com/ | Failed: Network error: dns error: no record found for Query { name: Name("your.domain.com.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net."), query_type: AAAA, query_class: IN }
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/release-v3.3 | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/release-v1.3 | Failed: Network error: Not Found
[400] http://s3.cn-east-1.qiniucs.com/ | Failed: Network error: Bad Request
[404] https://github.com/openimsdk/open-im-server/blob/main/deployments/templates/openim.yaml | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/scripts/install/environment.sh | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/release-v1.2 | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/release-v3.2 | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/config/config.yaml | Failed: Network error: Not Found
[403] https://demo-9999999.oss-cn-chengdu.aliyuncs.com/ | Failed: Network error: Forbidden
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/main | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/main | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server | Failed: Network error: Not Found
[404] https://github.com/OpenIMSDK/open-im-server/blob/main/scripts/install/environment.sh | Failed: Network error: Not Found
[403] https://oss-cn-chengdu.aliyuncs.com/ | Failed: Network error: Forbidden
[403] https://temp-1252357374.cos.ap-chengdu.myqcloud.com/ | Failed: Network error: Forbidden

Errors in docs/contrib/mac-developer-deployment-guide.md

[404] https://github.com/openimsdk/open-im-server/tree/main/.devcontainer | Failed: Network error: Not Found

Errors in build/README.md

[ERR] [file:///home/runner/work/dweb-browser-im-server/dweb-browser-im-server/build/common.sh](file:///home/runner/work/dweb-browser-im-server/dweb-browser-im-server/build/common.sh) | Failed: Cannot find file

Errors in docs/contrib/gitcherry-pick.md

[404] https://github.com/openimsdk/open-im-server/tree/main/scripts/cherry-pick.sh | Failed: Network error: Not Found

Errors in docs/contrib/test.md

[404] https://github.com/OpenIMSDK/Open-IM-Server/tree/main/scripts/install/test.sh | Failed: Network error: Not Found
Full Github Actions output

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stalled for 7 days with no activity.


Auckland Museum

Source Site
https://www.aucklandmuseum.com/discover/collections/our-data
Value Provided
High quality collections and data
Licenses Provided
Not everything is openly licensed but some things are PDM or CC: https://www.aucklandmuseum.com/legal/rights-and-permissions
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Closing as duplicate of #1771. Thank you for noticing, @ngken0995!


Fix Segfault in EVP_PKEY_CTX_dup when the ctx has an undefined operation.

Fixes #12438
Note: This worked in 1.1.1 so just returning an error is not valid.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

@levitte I am not sure if this is the correct way to dup the keymt pointer.. I have tried to do something similiar to what other defines operations do.

rebased

ping

Updated to address @kaduk comments.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Thanks. Merged to master.


Sidekiq-scheduler reload schedule

Hi
i'm using Sidekiq 3.1.4 with Sidekiq-scheduler 1.2 with Ruby 2.3 and i'm having issues Reloading my schedules.
my basic sidekiq.rb looks like:
#./sidekiq.rb
Sidekiq.configure_server do |config|
    config.redis = {  url: 'REDIS_URL', namespace: "sidekiq" , :size => 5}
end
Dir["./myworker.rb"].each { |file| require file }
Sidekiq::Scheduler.dynamic = true
Sidekiq.schedule = YAML.load_file(File.expand_path('../schedule.yml',__FILE__))

#./sidekiq.yml
:concurrency: 25
:pidfile: ./sidekiq.pid
:logfile: ./sidekiq.log
:queues:
 - default
 - myqueue

when starting sidekiq service  from the rakefile using "bundle exec sidekiq -r ./sidekiq.rb -C ./sidekiq.yml -d" i see on the log that it loaded the schedules of shcedule.yml and he enqueue them according to the cron arguments.
what i dont fully understand is how flexible the scheduling can be. i want to have the ability to update a job, for example argument or different cron time, and want to add additional jobs while system is running, without the need to restart sidekiq process.
i couldnt find anything working on the net, but i'v found few methods on the sources code which seems should do the job, but still not quite sure how its really should work.
i've tried to use load_scheudle, update_scheudle and reload_schedule!
for example i've tried to do something like the following for loading additional job dynamicaly
 config =  {
     :class => 'MyWorker',
     :cron => '*/1 * * * * ',
     :args => 'myargs'
 }
 Sidekiq.set_schedule('testSystem1',config)
 Sidekiq.reload_schedule!  # and also tried with Sidekiq::Scheduler.update_schedule
 schedules =Sidekiq.get_all_schedules
 #does show the new schedule but it doesnt really loaded it for actual work of the workers.

i though that i should see on the sidekiq.log something like "Schedule loaded" as it wrote at the startup, and now with the new addition, but it didnt.
using the update_schedule sometimes just give an exception that the class of "@@scheduled_jobs" isnt initalized.
what is the right way to work with Sidekiq-scheduler?
how i can load when string the sidekiq process few jobs as we do with sidekis.schedule= and continue add additional jobs when the system is running?
any help will be appriciated.
Thanks!
Levi

Hm, maybe can be the same problem. #34


Documents array doesnt use Array<AnyObject( or other)>

when using Vapor framework that is best swift framework
query result [Document] that is array, but json engine cant convert this, it needs [AnyObject]. and Document object cant allow downcase [AnyObject].
I think Documents has return [AnyObject] option because for example i want to return all users list, i should loop in Object to convert Json engine valid type

We have a JSON parser/serializer build into our Documents. It's not as battle tested as the rest of the JSON parsers/serialisers but has proven to work in all our conditions.
We don't currently support any other JSON formats except as a String. But you could map a BSON Document to SwiftyJSON, Vapor JSON and other objects manually or convert via String, however converting via strings wouldn't be very performant and makes use of ExtendedJSON.
I'm not entirely sure what you're trying to do in detail, so I can't really help you in detail.


If variable has huge size, where this variable is located when serveral parameter servers.

I have tried to model data using two-layered(linear, w*x + b) neural network using custom tf.estimate.Estimator and distribution strategy(default? train_distribution=None), and then an input feature dimension is so huge(almost > 100K).
If I have [300, 128] layered with biased term, it could be as following:
1st layer: w1 variable will be 100K> x 300(float32), b1 = [1]
2nd layer: w2 variable will be 300 x 128(float32) b2 = [1]
Finally, my question is that w1 is so big size, where is w1 variable located? Is the w1 variable spread equally with other parameter servers or located in one parameter server.
Thank you for reading even my poor english, in advance.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there and can provide better and faster resolution to such issues.Thanks

Thank you. :)


Unable to close externally modified file without overwriting

Description
If you are not replaced content of externally modified file you not able to close file without overwriting it.
dbeaver.webm
DBeaver Version
DBeaver Community 24.3.0
Operating System
Debian GNU/Linux 12 (bookworm)
Database and driver
No response
Steps to reproduce

Open file.
Modify file externally.
Return to DBeaver and ignore file changes.
Try to close file without overwrite on file system

Additional context
No response

Thanks for the bug report


Game not launching

Describe the bug
Recently after updating the launcher to be able to play GI 4.7 the game will not launch at all. When I press the button to launch the game, the loading bar starts working and says 'DO NOT CLOSE THE LAUNCHER' which is perfectly normal. After a moment it briefly says 'Reverting Patches' above the loading bar before the bar disappears and just shows the game launch button. I have tried everything from reinstalling the launcher multiple times including the game files and even trying to download wine from winehq.org and launching it through that instead of yaagl. I would attach a screenshot but the reverting patches pops up so quickly I couldn't get it on screenshot. Also just as a psa the whole yaagl launcher and wine worked perfectly fine on GI 4.6 and ran the game with no issue even though I am on 8GB of RAM.
Screenshots
If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):

macOS: 14.5 Sonoma
Device: Macbook 13 inch M1 2020
CPU: Apple M1
Dedicated GPU (if any):
RAM: 8 GB

Additional context
Add any other context about the problem here.
Logs (if any)
neutralinojs.log

If it's related to the launcher, upload neutralinojs.log in Yaagl Data Directory

If it's related to the game, upload `logs/game_{timestamp}.log in Yaagl Data Directory

Hmm, where is ur Yaagl and Game files located?

They're in a folder called Genshin Impact in my user directory

Oh and yaagl is in the applications

change the wine to "unstable-bh-gptk-1.0"
and see if it makes a difference

Did you have to clean ur Mac before the update by any chance?

What do you mean by cleaning the mac? Like wiping everything on it?

Oh no i just got a prompt to update the launcher when I opened it yesterday and it just downloaded the resources and updated

Hmm okey, was making sure if Rosetta 2 didn't get uninstall in the process.

Still worth a shot tho, "softwareupdate --install-rosetta" in Terminal and see what happens.

Did the rosetta thing and it said it installed so it must’ve uninstalled itself

Just gonna reload yaagl and see if it’s fixed

Anddd its all working now, changed the wine like you said and installed rosetta again cuz it uninstalled istelf

Thanks so much for the help <3

noice, Have fun


npm installable

PR Overview
Background and Purpose

In preparation for using this repository from other applications in the future, modifications have been made to make it possible to install it using NPM.

Items implemented

The directory structure has been changed and the three existing applications have been moved to the demos directory.

Changed the name of the common directory to src.

Other settings related to typescript were modified on the assumption that it will be used as a library.

After internal consideration, we have decided not to release this library to npmjs at this stage.
The reason is that the current implementation structure strongly depends on Koa and sqlite, and it is difficult to use the logic of VCI by itself, making it unusable as a general-purpose library.
Based on this basis, we would like to add the following two points

Regarding the included demo application

The purpose of the demos is to make it easy for those who are interested in this repository to run the demos.
It is implemented so that it can be introduced by yarn install in each app under demos.
The following information is for internal stakeholders:

The two issues raised (dist should be generated automatically and yarn install is too slow) have been resolved by using postinstall and preinstall respectively.

About embedding this library in your application

Since this library is not published on npmjs, it is necessary to manually clone it into the app developer's environment, execute a yarn build manually, and then yarn link it to your own application.

@ryosuke-wakaba I appreciate your review!
Also, thank you for listing the additional considerations regarding admin authentication. I hope to resolve this in the future so that the library can be used generically.

This is just a memorandum.
The reason I chose postscript is based on the following information.
https://stackoverflow.com/questions/64158590/how-should-a-typescript-library-be-built-that-is-intended-to-be-install-by-git-u


treesitter: include CXX headers compiling with clang Darwin

clang needs to find headers + libraries for compiling with libc++.
On Darwin we will include CXX headers when compiling C.
This closes #124396
Tested compiles on macOS
Motivation for this change
Fix an issue
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

@GrahamcOfBorg build tree-sitter.builtGrammars.tree-sitter-bash

Oh, could you either squash your commits or prefix the second one with the package name (treesitter) too?

Sure, I'll squash.
On Thu., Jun. 3, 2021, 1:40 p.m. Robert Scott, @.***>
wrote:

Oh, could you either squash your commits or prefix the second one with the
package name (treesitter) too?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/125100#issuecomment-854128275, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMJBTPMQTPCQQ6XTUQ3DJDTQ7LDRANCNFSM453DQDDQ
.


Added function for detecting message lang

I went ahead and made a basic function for detecting the language of a message, in order to identify it as either being typed in the user's target language (so it can be seen by other users) or native language (so it can be ignored).
I did run into an issue concerning the langdetect library; due to the nature of the library's probability-based algorithm, it will occasionally misidentify a message's language if the message contains spelling errors. For example, "Hello World!" will return English, while "Helo Woorld!" will return Dutch. I could use some help coming up with a solution for this problem.

I may have found a possible solution to the above problem by iterating through the Language objects that are returned when calling detect_langs(), and checking to see if any of the probable languages match either the user's target language or native language.

Thank you. I'll take a look at this after I publish my next video about #22.


net: lwm2m: Adds semantics for handling time

This far time values have been synonymous to integer values. Content formats like CBOR do use different representation. CBOR is introduced in LwM2M v1.1 so this is preparatory work that needs to be done first.
Signed-off-by: Veijo Pesonen<EMAIL_ADDRESS>

@SeppoTakalo Please review.


Add dump scritps to QueryDsl

Use case
Currently, we can drop and create db schema from metadata, please add fun to dump the portable scripts into output streams(FileOutputStream)/byte buffer(Flux<DataBuffer> in spring module), etc.
Describe the solution you'd like
Provides an options to configure the content of dumping scripts,

keywords uppercase or lowercase
if dump data?
etc.

Versions

Komapper: 5.0.0
Kotlin: 2.1.0
JVM: 21
JDBC Driver or R2DBC Driver: both Jdbc Driver and R2DBC Driver
Database: Postgres
OS: Windows 10 Pro

Thank you for the feedback.
Would pg_dump be the best option for your request?
The dryRunQuery function might meet some of your needs:
val result: DryRunResult = db.dryRunQuery {
    QueryDsl.create(a)
}
println(result.sql)


Add 1 to number represented by the linked list.cpp

https://github.com/abhpd/hacktoberfest2020/pull/182#issuecomment-711564918


Handle timeout at transaction level

This has to be handled in the DatasourceSessionProvider and in the JdbtTemplateSessionProvider

Done, but what about the timeout of statements executed outside a transaction?


Received NoneType error when entering backspace

When I mistype and press backspace, I get the following error:

Also, it would be nice if the error wouldn't be jumbled like this. 🙂

Could not really reproduce the jumbled stacktrace, hope the pull request will fix this nonetheless


I'm getting this error while sending adaptive cards to outlook from my azure bot. I am trying to build an Outlook connector bot as explained herein MS Docs (link https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-actionable-email?view=azure-bot-service-4.0 here). I have also created an Azure Bot and have registered it with the channel on the registration page. However, I am not getting a response in the bot when the button is clicked. Wonder if there is a more step-by-step. I need help to know how I can connect (and verify) the action with my Bot.

Describe the bug
The remote endpoint returned an error (HTTP 404)
"actions": [
{
"type": "Action.Http",
"title": "Submit",
"method": "POST",
"url": "https://5fd9-49-207-202-185.ngrok.io/api/email",
"body": "{Option: {{Options.value}}, SuggestionText: {{Suggestions.value}}}",
"isPrimary": true,
"style": "positive",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": ""
}
]

@Surabhims,
Issues on documentation repositories should only be opened in reference to specific errors with the associated document. General bug reports should be opened in the repository corresponding to the framework or SDK that you are using. For example, a bug report or feature request for the Bot Builder C# SDK would be opened in botbuilder-dotnet.
Furthermore, this report is not reproducible in its current state. Please update your report and open it in the appropriate repository. This issue will be closed.


Add mychem.info to drug pages

Now that drugs are a first-class entity, we can add more information from outside sources to their individual pages the way we do for Variants and Genes.
mychem.info includes additional fields we should further investigate including fda_epc and fda_moa.

@kkrysiak it would be great to get a list of fields we'd like to import.

I would recommend the following (to be discussed at next CIViC meeting):

FDA:
--fda_epc and fda_moa all 3 versions of each
CHEBI: (https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:45783)
--chebi.id (ideally link to chebi example) chebi.definition
CHEMBL: (https://www.ebi.ac.uk/chembl/compound_report_card/CHEMBL941/)
-- drug mechanisms chembl.drug_mechanisms.target_chembl_id chembl.drug_mechanisms.target_name but only if we can restrict to these mechanisms provided by an FDA reference chembl.drug_mechanisms.mechanism_refs.FDA
-- First approval chembl.first_approval
-- Molecule type chembl.molecule_type
-- CHEMBL ID? Not sure if this is the correct field but link to CHEMBL page chembl.molecule_chembl_id

Example request: https://mychem.info/v1/query?q=unii.ncit:"C1723"

* CHEMBL: (https://www.ebi.ac.uk/chembl/compound_report_card/CHEMBL941/)
  -- drug mechanisms `chembl.drug_mechanisms.target_chembl_id` `chembl.drug_mechanisms.target_name` but only if we can restrict to these mechanisms provided by an FDA reference `chembl.drug_mechanisms.mechanism_refs.FDA`

cant find an example of this yet, but we can revisit if we find one. all the rest of the fields are implemented


Feat/UI autocomplete

Issue #16
Changed drop-down input for source and destination to text input with auto completion.

@JamalB3, if you could also squash these three commits to keep the git history concise that'd be great, but since these reverts were mainly to how it was initially branched they probably should've been just a single commit. I typically don't ask for commit squashing but for this case it would end up with redundancy in the git history.

I'm closing this work-in-progress PR due to inactivity. I haven't heard back from @JamalB3
Issue #16 will continue open for new contributors.


Added my first project

@SakshamSingh-v2 please review it now

Great job! @Vrindagupta6828  I am merging. Cheers! :-)


Create 0000-01-02-jmurphy35.md

layout: slide
title: "Welcome to our second slide!"
I have nothing much to say. Did you see 'Free Solo'? Its not about 'Star Wars'.

Add jmurphy35's file


feat: make up the token manager pallet

Summary

make up the token manager pallet from the skeleton version
It's the simple version to test, features will be implemented link-delete, link-update and so on in the near future

Describe your changes

SystemTokenTable: this storage map store the link between parachain AssetId and relay chain AssetId

pub(super) type SystemTokenTable<T: Config> =
		StorageMap<_, Twox64Concat, (ParachainId, ParachainAssetId), RelayChainAssetId>;

insert_asset_link: this function should be called by root_account(Alice)

insert the link between parachain AssetId and relay chain AssetId
not use the function name like asset_register to avoid a confusion for AssetRegistry

pub fn insert_asset_link(
			origin: OriginFor<T>,
			para_id: ParachainId,
			para_asset_id: ParachainAssetId,
			relay_asset_id: RelayChainAssetId,
		)

Related Issue

#30

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] If it is a core feature, I have added thorough tests.
[x] Well documented code
[x] cargo clippy
[x] cargo-nightly fmt

crate 명 infra-* 통일 부탁드립니다
- infra-system-token-manager
- infra-system-token
- infra-token-manager

개인적으로는 system 이 들어갔으면 좋겠습니다

crate 명 infra-* 통일 부탁드립니다
- infra-system-token-manager
- infra-system-token
- infra-token-manager

개인적으로는 system 이 들어갔으면 좋겠습니다

Good, I think infra-system-token-manager is better, too

crate 명 infra-* 통일 부탁드립니다
- infra-system-token-manager
- infra-system-token
- infra-token-manager

개인적으로는 system 이 들어갔으면 좋겠습니다

resolved it!


RFC: Improve positioning of symbol bounding boxes

This PR improves the positions of symbol bounding boxes in cases when LSTM model is used. Up to 20 times less errors have been observed in sample images.
This PR still requires potentially significant amount of work, please let me know whether the approach is sensible in principle and if the PR makes sense I will spend time polishing it.

When using LSTM models the accuracy of character bounding boxes is low with many blobs assigned to wrong characters. This is caused by the fact that LSTM model output produces only approximate character positions without boundary data. As a result the input blobs cannot be accurately mapped to characters and which compromises the accuracy of character bounding boxes.
Currently this problem is solved as follows. The character boundaries are computed according to the character positions from the LSTM output by placing the boundaries at the middle between two character positions. The blobs are then assigned according to which character the center of the blob falls to. In other words the blobs are assigned to the nearest characters.
This unfortunately produces a lot of errors because the character positions in the LSTM output have a tendency to drift, thus the nearest character is often not the right one.
Fortunately while the LSTM model produces approximate positions, the blob boundaries produced by the regular segmenter are pretty good. Most of the time a single blob corresponds to a single character and vice-versa.
The above is used to create an optimization algorithm that treats the output of the regular segmenter as a template to which LSTM model output is matched. The selection of best match is done by assigning each unwanted property of the outcome a cost and then minimizing the total cost of the solution.
This reliably solves the most frequent error present in the current solution when blobs are simply assigned to wrong character. As a result the current algorithm produces up to 20 times less errors.
This can be further improved because the root cause of most of the remaining errors is the segmenter producing single blobs for multiple characters. The algorithm could be improved by biasing it to split the blobs in the places where the segmenter makes errors often, such as near character "t".
Fixes https://github.com/tesseract-ocr/tesseract/issues/1712.

One of the example images I've used:

Before this PR, tesseract produced 116 errors in determining character bounding boxes (could be inaccurate due to manual counting)

After this PR, tesseract produced only 5 errors in determining character bounding boxes.

@stweil Just a friendly ping :-)

I've done some testing with this branch merged to the current main. It's still not perfect.
With oem 0:

With LSTM:

Original image:

Program code of bounding boxes:
import tesserocr
import csv
import numpy as np
import cv2
import pytesseract
from PIL import Image
import matplotlib as mpl

import matplotlib.pyplot as plt
img3 = cv2.imread('/home/rmast/plaatjes/out1496-3078-212-39.png')
h, w, _ = img3.shape # assumes color image
pytess_result = pytesseract.image_to_boxes(img3, lang='nld+lat+Latin+eng',
        config="--psm 7 -c tessedit_create_boxfile=1", output_type=pytesseract.Output.DICT)
        #config="--psm 7 --oem 0 -c tessedit_create_boxfile=1", output_type=pytesseract.Output.DICT)
print(pytess_result)
for j in range(0, len(pytess_result["char"])):
    left = pytess_result["left"][j]
    bottom = pytess_result["bottom"][j]
    right = pytess_result["right"][j]
    top = pytess_result["top"][j]
    cv2.rectangle(img3, (left, h - top - 1), (right, h - bottom - 1), (255, 0, 0), 1)
mpl.use('tkAgg')
plt.imshow(img3)
plt.show()

why still not merged

I guess lack of testing capacity for core functionality. Since I discovered that and some other low level segmentation bugs my focus has shifted to EasyOCR.
Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg

From: 海刚 @.>
Sent: Thursday, October 26, 2023 7:52:16 AM
To: tesseract-ocr/tesseract @.>
Cc: rmast @.>; Comment @.>
Subject: Re: [tesseract-ocr/tesseract] RFC: Improve positioning of symbol bounding boxes (PR #3787)
why still not merged
―
Reply to this email directly, view it on GitHubhttps://github.com/tesseract-ocr/tesseract/pull/3787#issuecomment-1780457429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAZPZ5RPVKU5GD3FJM2I7HDYBH3BBAVCNFSM5TBLNP7KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGA2DKNZUGI4Q.
You are receiving this because you commented.Message ID: @.***>


Call to undefined method Google_Client::setClassConfig()

FatalThrowableError in Youtube.php line 29: Call to undefined method Google_Client::setClassConfig()
help pleaaase

The setClassConfig() method is called on line 25 for this package. Have you altered this file? If so I'm unable to support sorry.

im delete all and install again and its works perfect in my local machine tnks


Duplicate Items

I created an Attribute Terminology for "PERSON STATED EYE COLOUR THE SAME INDICATOR" and I think I must have clicked twice on Submit Terminology as my machine is slow this morning. There are now two Attribute Terminologies. This seems strange as I would expect that you shouldn't be able to create an item with the same name in a folder.
If we are doing a lot of authoring this could happen. I obviously can delete one of the terminologies but want to check this first.
Should we be prevented form creating the same item twice?

I didn't release this until I tried to create a Term and got an error message:

You are correct, this should not be possible. I would have expected Mauro to validate that another terminology of the same label exists, but due to the timing of both creation requests perhaps this was not possible.
There is a simple fix we can perform on the UI to prevent this from happening which I have created an issue for. It is low priority, but we will get to it:

MauroDataMapper/mdm-ui#885

For now I would suggest deleting the duplicate and continue adding terms to the remaining terminology.

This has been fixed and release to the test environment.

@KatePalmerLilley - we need to test this.

@AngelaFaulding @pjmonks  I've tested what is described in https://github.com/MauroDataMapper/mdm-ui/issues/885, and yes the "Submit Terminology" button is disabled as soon as it is clicked, so I believe this particular issue to be fixed.
However, I was able to create a duplicate attribute terminology if I changed the capitalisation, e.g.:

Can we discuss.

@angela this is ready for testing and I have raised a new ticket for the new duplicate issue described above #595


[BUG] Unable to load the plugin

Description
One of my friends talk about the mod, wanted to install it to see what's can offer to us and the plugin cannot be loaded.
Steps to reproduce

Download the .jar file
Put into the plugins folder
Start the server
See error

Screenshot

System info

OS: ArchLinux
Kernel: 6.9.4-hardened1-1-hardened
Minecraft Server type: Purpur
MC Version: 1.20.4
Server version: purpur-1.20.4-2174
Axiom version: 3.0.0

Logs
Full logs available here: https://gist.github.com/v38armageddon/7ad1ccf6dfa3a9723c2e09badcc0cb52

Description
One of my friends talk about the mod, wanted to install it to see what's can offer to us and the plugin cannot be loaded.
Steps to reproduce

Download the .jar file
Put into the plugins folder
Start the server
See error

Screenshot

System info

OS: ArchLinux
Kernel: 6.9.4-hardened1-1-hardened
Minecraft Server type: Purpur
MC Version: 1.20.4
Server version: purpur-1.20.4-2174
Axiom version: 3.0.0

Logs
Full logs available here: https://gist.github.com/v38armageddon/7ad1ccf6dfa3a9723c2e09badcc0cb52

You should install AxiomPaper, not Axiom itself
https://modrinth.com/plugin/axiom-paper-plugin

You should install AxiomPaper, not Axiom itself https://modrinth.com/plugin/axiom-paper-plugin

Thanks! With the plugin, this works like a charm!


Time for a new release.

Many major commits have went in since the last release, time we do a new release @xat.

@hemanth Just released a new version. Thanks for your commitment!
I also gave you publish permissions on npm.

Cool, we must tag it and add some release notes, so people can check them out here.


Update testing

Move to pytest
Run tests against the treepoem that's actually installed in the tox virtual env
Move to pytest-style asserts
Move ghostscript check to a pytest hook that reports the version in test output
Move to nose-parameterized

This is awesome! I think you're a maintainer, so feel free to merge when Travis puts on green light. ;)


Use the configured ruby version instead of current for `WhenDecomposer

This one has been bothering me for a while. When requiring parser/current, it checks if the executing ruby patch version is the expected one. If it isn't, it will show a warning:

warning: parser/current is loading parser/ruby33, which recognizes 3.3.4-compliant syntax, but you are running 3.3.3

RuboCop doesn't show this because it requires specific parser versions that can't possibly warn about this.
This is also technically more correct, though I'm not quite sure if that even matters.
RuboCop output may look like this when updating parser and running with an older patch version:
Inspecting 220 files
......................................................................................warning: parser/current is loading parser/ruby33, which recognizes 3.3.4-compliant syntax, but you are running 3.3.3.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
.....................................................................................................................................

Wow, I've seen this parser warning many times myself, but I guess this is where it was coming from. It looks good, thanks!


Devices page has stopped showing Firmware values

Type of issue

[x] Bug
[ ] New feature
[ ] Improvement

Description
Deployed a solution through solutions.com on 10/4/2018. At that time everything was showing correctly. Opened same solution on 10/24 and cannot see the Firmware version on the Devices page for any of the simulated devices.
Screenshot

Steps to reproduce
Unsure how to reproduce, but can provide link to solution.
Expected behavior
...
Current behavior
...
Known workarounds
...
Possible solution
...
Context and Environment

Operating System: ...
GitHub branch: ...
.NET Runtime: ...

Resolved in ADM


Try condor-based checkpointing on SLAC linux

This involves a couple of technical issues.  First, reliably exercising the two signals needed to invoke Condor-based checkpointing ( 1. SIGUSR2 to create checkpoint file and continue; 2. SIGTSTP to create checkpoint file and stop).  The second issue involves utilizing the needed behavior within the context of the SLAC (and NERSC) batch systems, LSF and SLURM, respectively.  It may be that only the 'create checkpoint file and stop' is necessary -- wired into the warning signals provided by the batch systems prior to killing a job.
Ref: http://research.cs.wisc.edu/htcondor/manual/v7.6/4_2Condor_s_Checkpoint.html

Hey @TomGlanzman - is it worth fiddling with this while doing the Run 1 data generation? If you feel like taking it on, please do reset the milestone to "Run 1 Analysis Start" - thanks!

I see these two projects as completely independent.  Would not wish to endanger the "production" phoSim runs with condor tinkering.  This will simply need a bit of time.

Good call.
On Thu, Feb 18, 2016 at 4:45 PM, Tom Glanzman<EMAIL_ADDRESS>wrote:

I see these two projects as completely independent. Would not wish to
endanger the "production" phoSim runs with condor tinkering. This will
simply need a bit of time.
—
Reply to this email directly or view it on GitHub
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/90#issuecomment-185995946
.

Hi @TomGlanzman - while looking for issues to cite in this week's Twinkles Weekly, I searched for "checkpointing" and found only this issue. Can it be closed?

Hi Phil, I suppose so, although there are some loose ends dangling.

Tom

On 08/04/2016 02:06 PM, Phil Marshall wrote:

Hi @TomGlanzman https://github.com/TomGlanzman - while looking for issues to cite in this week's Twinkles Weekly, I searched for "checkpointing" and found only this issue. Can it be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/90#issuecomment-237683574, or mute the thread https://github.com/notifications/unsubscribe-auth/AI_9RJ2ipQ8fhkH5zG5P3q446XFrf0DSks5qclRigaJpZM4HChsk.


[BUG] thumbnails do not seem to be working correctly

thumbnails do not seem to work correctly.
the {{ thumbnail(record.image, 740, 560) }} outputs:
/thumbs/740x560c/2017-02/1486484160_filename.jpg?_locale=nl
Details

Translate Version: [ dev and 4.0.1 ]
Install type: [ Extension Repository | Local install ]
(installed from adminpanel)
Bolt Version: 3.2.6 NOT-flat
PHP version: 5.6.22
Used webserver: Apache/2

Reproduction

Bug summary: Issue shows when image field is filled with an image file on a record page where thumbnails are used. the link to the main file works correctly, only the thumbnail doesn't work correctly for some reason. I conclude this because when I select the image link, the image is displayed correctly.
Specifics:  bolt on ftp install. translate install from adminpanel
Steps to reproduce: try to upload file and check recordpage on a base2016 derived template
Expected result: a working thumbnail
Actual result: a broken image placeholder like you get when a link points to something broken/non-existing.

Ok (I should have done this yesterday) no tumbnails exist within my thumbs folder. I assume no thumbnails have been created. Maybe because the locale is tied to each request? ?_locale=nl


Suggestion for pagination/"before" documentation: clarify that only js front matter is supported

In the documentation for the "before" callback for pagination, it might be worth making explicit that this will only work for "js" front matter:
https://github.com/11ty/11ty-website/blob/c3fd39ccf04083f7ecf8a183aa201af84b8da52b/src/docs/pagination.md?plain=1#L452-L473
It may not be obvious to a reader that the "before" value of the front-matter here is a literal javascript function (rather than, say, a string that gets evaluated as javascript), and that therefore no other front-matter format besides "js" will work. (At least, I assume such is the case, from experimenting a little.)
It's true that a reader can perhaps infer this from the fact that the other examples on the page don't use js and this one does, or work it out with some trial and error: but people often read documentation in a hurry, so I think it's worth making this explicit.

... I also just noticed that "before" isn't listed in the "full pagination option list": https://www.11ty.dev/docs/pagination/#full-pagination-option-list
Adding it and mentioning that its datatype is "function" might be a good idea, in addition to making the "before" section more explicit.


spirv-opt: Index out of bounds causes assertion failure

data.zip
Shader in the attached archive causes the following assertion failure:
error: line 32: Array access is out of bounds, array size is 8, but access index is 9
  %937 = OpCompositeExtract %float %938 9 0

error: line 0: Validation failed after pass convert-local-access-chains

when executed with spirv-opt --convert-local-access-chains --validate-after-all <shader file name> -o out.spv.
Can be reproduced on 69f07da4.
The archive contains a compiled binary and its assembly.

@s-perron @alan-baker ping.

@alan-baker I can take a look if you haven't started. Let me know.

This one is a bit awkward. An out-of-bounds index in OpAccessChain is runtime undefined behaviour, but invalid in OpCompositeExtract. That pass should probably just clamp indexes. @greg-lunarg feel free to take this.


Support required variables in modules.

To have parity with terraform, and because there should be required variables.
@wvanbergen @dalehamel

@thegedge maybe making the requirement more explicit, such as 'required: true'? Or should the lack of a default infer that it is required?

I think the lack of a default is enough. Having both of them can be confusing. E.g. what doe sit mean if it is required and there's a default set?

I like being explicit, but it could be confusing. The lack of a default is what terraform does.

cool let's stick with that then :+1:
On Tue, Jun 16, 2015 at 10:56 AM, Jason Gedge<EMAIL_ADDRESS>wrote:

I like being explicit, but it could be confusing. The lack of a default is
what terraform does.
—
Reply to this email directly or view it on GitHub
https://github.com/dalehamel/cloudshaper/pull/10#issuecomment-112461151.


Saving variants before property editor has initialized looses data

Currently if a doctype with a variants editor on that has a value is saved before the property editor is fully initialized then an empty value is saved loosing any previous data.
The property editor shouldn't attempt to save the value unless it is fully initialized.

Fixed in 80b90d9, will be in the upcoming 3.3.0 release


Update README.md

Added a small bit of troubleshooting for the docker service if it fails to come up. This occurred while using the home directory symlink in a Fedora 32 VM.

This looks to be a more general problem that just using Fedora. The option you need to change is different depending on which version you run and if you're running in Fedora or Debian though. Probably not good to have on the main install page.


DRAFT | MB-3020 & MB-4569 | edit NTS/NTS-R shipments

Description
Known issues which need to be fixed before this is ready for review:

[ ] failing MtoShipmentForm tests (by design)
[x] cannot edit delivery address for NTS-R shipments (see #5050)

Remaining work:

[x] a couple minor content changes to match more of full design (and more importantly make UI less confusing)

track this other story if you care about the full visuals or design review.
I did add some notes to that story while doing this content pass. :)

[x] Suz is taking these fix FE data handling

[x] double check delivery/pickup date handling && reconsider nesting values.delivery.field
[x] refactor handleChangeHasDeliveryAddress and handleUseCurrentResidenceChange out of existence
[x] double check shipment number handling

[ ] fix BE data handling

[x] confirm with DB folks whether a migration should have been created in #4950 for selectedMoveType changes

track this other story if you care about this work

[ ] (maybe) double check delivery/pickup date from other end

[x]  Suz is taking this remove redux connect from MtoShipmentForm
[ ] refactor hhg integration test

[ ] use one of the seed accounts instead of creating from scratch
[ ] (maybe) add jest component tests for form validations

[ ] then remove most form validation checks from hhg test

[ ] do a rake notes pass and confirm no stale TODOs on touched files :)

Reviewer Notes
None for now. Unless you see something from the above you want to take on yourself? DM me and then I think you can either branch off my branch. I promise GH will auto credit you when I squash merge. :)
Setup
I haven't tested the stories yet, but manual UX clicking is working.

References

jira: edit NTS story
jira: edit NTS-R story

Screenshots
Please see Happo.

Fails

:no_entry_sign:

New files have been created under one of the legacy directories
(src/shared or src/scenes). Please relocate them according to the file structure described here.
View the frontend file org ADR for more information

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against aaa8654f4ef5d46ab58c1a9298f01e43f00701c2

notes from pairing with Kim:

should finishing edit take you back to home screen or review page? user flow feels more like editing a thing should take to review page. home is existing behavior though.
should edit icon alone be click target?
fix regression: shipment type eyebrow should always display but only number for HHG

This may out of scope to this ticket, but when I try to edit an NTS shipments' pickup location, it sends the correct data to the backend but the backend doesn't save the edited data so it returns the old data

I also found some other unexpected behavior. When I try to edit an NTSr that already has a full destination address, when I click No to Do you know your delivery address? and Save it still keeps the same destination address instead of reverting back to the ZIP code of the duty station


Registry tool: improve configuration by replacing environment variables with a file (or files) in .config

In many situations it would be useful for the registry tool to have a default project and location. For example:
registry list apis is much preferable to registry list projects/PROJECTID/locations/global/apis and the --parent argument to registry apply seem needlessly tedious. We might set these with new environment variables APG_REGISTRY_PROJECT and APG_REGISTRY_LOCATION, but now that the generated apg client is merged into the registry tool, it's easier for us to explore other options like using a configuration file to store this information.
Using a configuration file in a standard location would allow us to set these values within the registry tool directly with subcommands like registry auth login and registry config set project and we could list them with registry auth list, registry config list, etc. This would also make it easier to configure unit testing of registry subcommands because it would be somewhat easier to bypass this file than the global environment variables that we currently use.
This would probably replace the scripts in the auth directory with direct registry subcommands. auth/HOSTED.sh might become registry config gcloud and auth/LOCAL.sh might be registry config local (with defaults and flags for pointing to a locally-running server). Exact command names are TBD.

I think this issue covers a few different issues/decisions that aren't tightly coupled to each other and can be discussed independently.

Extra config values for default project/location/etc.
Adding support for config files.
Dropping support for environment variables.
Adding commands for reading/updating config.

We should discuss all of these, but I think we should be careful not to conflate them as an all-or-none package deal. Can we reorganize this issue into separate sections for each proposal so it's easier to talk about them separately?

Before digging into specific technical decisions, maybe we should discuss and agree on the UX benefits we'd like to accrue on the CLI. I'll take a crack at some that seem to fit the goal here:

Simpler commands that can assume a naming context
Definable and selectable configurations for target registries
Easy management of configurations and their properties
Atomic configurations (ie. no partial property sets)

High priority (easy to justify):

Simpler commands that can assume a naming context This addresses the main problem of verbosity.

Medium priority (probably good to have):

Easy management of configurations and their properties I see this as configuration commands like the ones proposed above.
Self-documenting configuration If we use configuration commands within the registry tool, the details of the config format seem less-important, but I could imagine reasons to externally generate/modify configurations.

Lower priority (are we overdoing it?):

Definable and selectable configurations for target registries. The gcloud tool supports this but do we need to? Maybe it's a future TODO.
Atomic configurations (ie. no partial property sets). I need help to understand this one

Atomic configurations (ie. no partial property sets). I need help to understand this one

Perhaps "coherent" would a better term. By this I mean that the entirety of a registry configuration can be created, selected, validated, and applied atomically. (As opposed to, say, relying on a set of independent environment variables that are maintained separately and may or may not create a valid and coherent configuration.) I believe the absence of a coherent configuration will allow inconsistencies and likely create support issues.
Concretely, this could be addressed by having a configuration file or files.

I think we're all on the same page about adding config for "naming contexts" that allow users to use relative resource paths. Maybe we can break that into a separate feature request now.
Regarding easy management of configuration: the most painful experience I have is when I try to temporarily update a single configuration value, e.g. setting the log level to debug instead of info. How will we support this?

Environment variable overrides? LOG_LEVEL=debug go run ./cmd/registry compute ....
Flag overrides? go run ./cmd/registry compute ... --log_level=debug

I feel flags are generally the better option for overrides as they require being explicit on the command line - as opposed to potentially unexpected overrides from the environment.

Config reading proposal

Centralize a config lib for our code in all repos to use that consolidates access to configuration elements here in pkg/config. The config lib will also handle generating fully qualified names for consumers.

Have the config lib read from a well-known directory (~/.config/apigee/registry) for configuration. The CLI actions would add an options parameter like --config <name> that would look for a .yaml file in the config directory. If the parameter was not specified, it would look for ~/.config/apigee/registry/default that would hold the name.

Config format:
registry:
    address: <string>
    audiences: <string>
    insecure: <bool>

Add CLI actions (eg. config list, config select, 'config edit`) to maintain the files.

Note: APG_REGISTRY_TOKEN would continue to be used from environment.
Existing env var reference
Core

APG_REGISTRY_ADDRESS
APG_REGISTRY_AUDIENCES
APG_REGISTRY_INSECURE

Cloud tokens

APG_REGISTRY_CLIENT_EMAIL (to gen token)
APG_REGISTRY_TOKEN

Legacy (unused, only unset in scripts)

APG_REGISTRY_API_KEY

Is this proposal scoped to only the registry tool?

This would be for all clients of the registry. The server should remain configured on env vars.

Can you elaborate on this? Will the config lib replace the names package?

Sorry, no. If this is already in names, we just need to make sure it's using the proper config.

The one that's unclear to me is select.

Just an quick mock example (not suggesting final output):
$ registry config create local --address localhost:8080
created config "local" @ localhost:8080

$ registry config create cloud --address apigeeregistry.googleapis.com:443
created config "cloud" @ apigeeregistry.googleapis.com:443

$ registry config list
local @ localhost:8080
cloud @ apigeeregistry.googleapis.com:443

$ registry config select
current config: local @ localhost:8080

$ registry config select cloud
current config: cloud @ apigeeregistry.googleapis.com:443

Like APG_REGISTRY_API_KEY, APG_REGISTRY_AUDIENCES is also legacy and is only used as a convenience in a gRPC web example, so I think we should drop it from the config.
I like the mock flow. Could we just mimic gcloud? It's a bit more verbose than what you describe but it's an existing and featureful pattern.
Available commands for gcloud config configurations:
      activate       Activates an existing named configuration.
      create         Creates a new named configuration.
      delete         Deletes a named configuration.
      describe       Describes a named configuration by listing its properties.
      list           Lists existing named configurations.

We also need to handle authentication. gcloud auth login is a pattern that we might follow but involves an OAuth transaction that I would rather leave to gcloud. Among auth subcommands, we might have registry auth gcloud to configure the tool to always get its credentials from running $(gcloud print-access-token), registry auth application-default might configure the tool to use application default credentials, and registry auth token might set a specific token. (Should these be under config? They aren't for gcloud but we might argue that different registries require different authentication when they are hosted in different ways. Because this is unclear, I would default to following the gcloud precedent of keeping them separate.)

Whatever we do, I think we'll want to maintain backward compatibility for a while so that we don't break scripts like this one.

Sounds good.
I'll move connection/ to /pkg/connection as its related client library code and add the config loading there. We can start with the existing Client and Settings types in connection. Also, instead of having registry: in the config file, I'll make it:
connection:
    address: <string>
    insecure: <bool>

All related issues (links above) have been completed. Closing.


Workflow + PS defined types

This is copied from TFS 1406196

There are undoubtedly issues trying to use a class/enum defined in PowerShell from workflow.
We need to investigate the issues, most likely add errors.

Note: workflows currently exists only in Desktop edition.

No investments planned for PSWorkflow.  Investments in PSLanguage to remove historical need for Workflow.


Better dispose icon objects

When setting new tray icon dispose previous icon object (not current).
Don't use DestroyIcon method because it is already called by
Icon.Dispose() (according to its sources
http://referencesource.microsoft.com/#System.Drawing/commonui/System/Drawing/Icon.cs,8d050d7603efcc48
). Dispose icons in other cases: when they are created locally for
conversion to Bitmap.

The icon disposal could be bettered though, willing to accept another pull keeping the destroy icon, and tidying the current code.

After looking at it for a bit, I think it could be improved by cloning the icon from IconExtractor, and destroying the handle internally.


[Question] How to set RECORD_MANAGER_DB_URL

Do I need to set up a DB myself or does there are any existing free DB that I can use for this demo?

@gyliu513 , i tried following this example here using Supabase.
https://blog.langchain.dev/building-chat-langchain-2/

It also works with sqlite, thanks @JoyLinWQ

I'm using: mysql  Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper
And error appear:

File "/home/chat-langchain/venv/lib/python3.11/site-packages/sqlalchemy/sql/compiler.py", line 6497, in visit_create_table
raise exc.CompileError(
sqlalchemy.exc.CompileError: (in table 'upsertion_record', column 'uuid'): VARCHAR requires a length on dialect mysql

@gyliu513 , i tried following this example here using Supabase. https://blog.langchain.dev/building-chat-langchain-2/

@JoyLinWQ : I created a Supabase and I set record_manager_db_url = "https://<id>.supabase.co". I got an error after loading documents completed.
error: NosSuchModuleError: Can't load plugin: sqlalchemy.dialects.https
The db_url I set is correct format?

@lam0620 , the db_url looks correct. The error is coming from sqlalchemy, you may want to look into that instead?


adding changelog

@justinshaffer, could you take also a look? Thanks!

Codecov Report

Merging #2887 into dev will decrease coverage by 0.02%.
The diff coverage is 16.66%.

@@            Coverage Diff            @@
##             dev    #2887      +/-   ##
=========================================
- Coverage   95.5%   95.47%   -0.03%
=========================================
  Files         73       73
  Lines      13942    13946       +4
=========================================
  Hits       13315    13315
- Misses       627      631       +4

Impacted Files
Coverage Δ

qiita_db/processing_job.py
72.3% <16.66%> (-0.4%)
:arrow_down:

Continue to review full report at Codecov.

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


Add view object to self

This fixes https://github.com/dzhibas/SublimePrettyJson/issues/172
Not sure why, but when the self object is passed to the PrettyJsonLintListener::on_post_save method, it does not have a view object as part of the data.
This just adds the view object that was passed in back to the self object.
Seems to be like something else must be broken for this to happen, but all I really care about is having the save functionality working.

This PR is obsolete, superseded by #184.


Laguna costume settings. Unsure.

I'm assuming it's in a field variable. Need to know where there costume switch toggle is saved.

SetDress in fields seems to set the value to 1 or 0. So I think this is for the battles as there is only the 1 or 2 skins for each character for battle. where fields is kinda multiple. I'm not sure where this value is stored though. Unless it is stored on the characters they share stats with. I'm just thinking that squall and team during first dream aren't wearing seed uniforms. But Laguna and team are wearing their galbadia uniforms. So the value would have to be set to 0 for squall and 1 for laguna. Maybe it just switches the value back after the dream is over.


DEP: fix to deprecation warnings from collections

Fix to the deprecation warnings: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Thank you!


gcr.io/cos-cloud/cos-gpu-installer v2.0.3  (--no-kernel-module)

The cos-gpu-installer in that docker image contains the same strings as cos-gpu-installer-docker/entrypoint.sh and yet is a golang binary?  Is that source available somewhere?
In particular, I'm wondering what governs whether the --no-kernel-module option gets tacked onto the /tmp/extract/nvidia-installer invocation.

The source for that version is available here: https://cos.googlesource.com/cos/tools/+/refs/heads/master/src/cmd/cos_gpu_installer/

You're the man.  Thanks.

Gosh, while I have your attention, is there a way to track up the provenance of the various cos releases, e.g., suppose I wanted to repo init -b to the cos-85-13310-1209-3 release.  Right now, the only branches I know about are https://cos.googlesource.com/cos/manifest.git .  I work off release-R85-13310.B, but I've no way of knowing how close or far that is to the aforementioned cos-85-13310-1209-3.

You should be able to repo init -b to a tag in the manifest-snapshots repository: https://cos.googlesource.com/cos/manifest-snapshots
That should do what you want, if I'm reading your comment correctly.

  Many, many thanks.

Is there a mailing list, github issues, or forum where these cos-related questions are more appropriate?  Thanks in advance.

There are the places listed here (https://cloud.google.com/container-optimized-os/docs/resources/support-policy#contact_us), although I don't think those places are particularly active when it comes to COS-related questions.


Life Bard - Deadmaster Wizard multiclass problem

I have a Deadmaster wizard and i got 3 levels into bard so i can get that Life Bard feature which auto upcast Transmutation and Necromancy spells. Problem is, the undead summon spells are necromancy spells and the Life bard feature doesn't upcast them.
If it is intended to only upcast bard spells, then please update its description.
Version: <IP_ADDRESS>
Here is the save file:
bugreport.zip

fixed in dev.


Does not compile with Swift 4.2

Problem
Pod does not compile in project that uses Swift 4.2. I have tried both release 0.6.2 and the latest master commits and both have issues compiling. See screenshot below for error details.
Solution
Run Xcode's Swift syntax converter on master.

Hitting this same issue.

I'm also facing the same issue - below is the screenshot.

I am getting the same issues. Do you know when you will update to swift 4.2?

Please ensure that you updated to 0.6.2. As you can see here, Range is not being used.
There's a full update (for the warnings) to 4.2 in mater. You can link to master in your podfile. I'll release 0.6.3 with this update soon.


Use in Astro Project

Would it be possible to use this plugin in an Astro project.
I tried following the Astro docs on how to install Vite plugins but I can't get it working.
Here is my astro.config.mjs
import { defineConfig } from 'astro/config';
import VitePluginBrowserSync from 'vite-plugin-browser-sync'

// https://astro.build/config
export default defineConfig({
    vite: {
        plugins: [
            VitePluginBrowserSync({
                dev: {
                    bs: {
                        ui: {
                            port: 8080
                        },
                        notify: false
                    }
                }
            })
        ]
    }
});

I would appreciate any help, thanks!

Hi 👋 It seems the plugin is not working on Astro 😶 I will try to find why 🤔

Thanks so much, would appreciate it if you get it working. Please keep me posted. Thanks!!!

Didn't mean to close the issue, definitely still open and waiting for feedback and solution thanks

I will publish a new version soon that support AstroJS.
For the small story, Astro doesn't pass on dev env.isPreview so the plugin was not applied. The second problem with Astro, it uses the Vite Dev Server but doesn't use the logger from ViteJS so the plugin cannot hook and print urls information.

You can try the last version, feel free to reopen this issue if necessary 😄


JSDoc function type does not accept parameters

TypeScript Version:  nightly (2.4.0-dev.20170513)
Code
// @ts-check
/** @type {function} */
const x = (a) => a + 1;
x(1);

Expected behavior:
No error.
Actual behavior:
src/a.js(4,11): error TS2346: Supplied parameters do not match any signature of call target.
It works with Function, but see #15825.

So the lower case function is used at the moment to denote the following style according to our wiki : https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-in-JavaScript
/** @type {function(string, boolean): number} */

hence the error assume no parameters. I don' think this is a bug. but @mhegazy  and @rbuckton let me know if you think otherwise

People use function and Function interchangeably to mean the same thing, just like they do with number and Number. We do handle the later correctly, and I think we should do the same for the earlier as well.


Integrate xsuaa

Required changes to integrate this lib into xsuaa provisioning.
Changes:

Add PostValidationAction Interface, which is executed after succesfull validaiton.
Required to set IdentyZone.
Make it possible to inherit from JwtDecoder/Builder. Enables us to move special xsuua logic into xsuaa
but reuse the validaiton logic.
Add Oauth2AthenticationConverter. Creates authenticaiton of type OAuth2Authentication which is
expected from uaa.

Hi Nena, thanks for your review.
I need to sublcass XsuaajwtDecoder in the xsuaa to implement the special uaa logic there. The idea is to use decode() as a template method and override the getJku/getKid/getUaadomain functions. Xsuaa must change the jku to make the integration tests work. Also it has to detect which kind of token it is (cfuaa/xsuaa) and then either return the uaadomain of the cfuaa or xsuaa. In the case of XSA the jku and kid are not present, so it must build them.
I'll remove the AbstractAuthenticaitonConverter, wrongly thought Oauth2AuthenticationConverter cannot extend TokenAuthenticationConverter.
It would also be possible to implement nearly all cahnges (beside make XsuaajwtDecoder inheritable) to xsuaa.
However, i think that both other changes: adding a postvalidationaction and an OAuth2AuthenticationConverter could be useful for others too. If you do not see it that way I'll move it into the xsuaa, otherwise I'll adapt the change according to your review.

As discussed, please introduce an interface e.g. TokenInfoExtractor with the new methods getJku, getUaaDomain and getKid and inject this via a setter into XsuaaJwtDecoder


Make the PM More Robust Against Edition Failures

Summary
#1929 put in place a band-aid fix for something that is inherently deeper. We need to always have a well-defined fallback in the case that edition resolution fails to resolve to an engine version.
Value
The PM won't fail for older projects.
Specification

[ ] Work out and implement a better fix.
[ ] This fix should involve communicating that a fallback was used to the IDE such that they can inform / ask the user if needed.

Acceptance Criteria & Test Cases

[ ] The root cause of the issue is fixed.

#1864 is possibly related.


Add Token Burn api route

Overview
Artemis would like to track our token burns on their dashboard.
Burns occur as the retire action on contract eosio.token
I belive returning a total tokens burned number would suffice.
Perhaps /v1/supply/burns

High priority but can wait until after 1.5 deployment

@jbuice @rozzaswap What number do we give back ? Do we take care of decimals and give back results suche as 54.544 or do we give back 5454400 with 5 as decimals.

What has typically been our standard for supply? I would suggest we match that.

token/supply/:contract/:symbol/burnt


Revert "Lower node logging severity to Notice in bench:restore"

Issue Number
#1458
Overview

[x] Lowering to notice was probably a bad idea. Logs were too large when syncing without cache causing bench to fail.

Comments
Last logged line a9b4bb2@2927618, ≈500 MB size, https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds/478

So using the default cardano-node logging config and minimum severity at Notice, a chain sync generates 500MB of logs? That seems like a bug to me.

Last time I synced a node on AWS, it also destroyed my cloudwatch free-tier in a few hours only :grimacing: .... The node is ... verbose in its default configuration.

Overwhelming output looks like a known issue: https://github.com/input-output-hk/cardano-node/issues/733

Benchmarks seem to be passing now… so seems we don't have to merge this.


React Ref: This type is incompatible with ((React$ElementRef | null) => mixed)

For some reason, in this very specific instance (not any others, and we do this in other areas of our code) flow seems to think the ref returned can be null. Other instances it just seems to be okay with using refs.
Here is a link to the flow.org/try, any help will be greatly appreciated.

Hey @rickyp-uber ,
Try flow doesn't import DOM globals so that explains the HTMLDivElement errors. Running your example locally, I get the original error you're reporting about null on line 15.
Error: original.js:15
 15:         ref={this._setPopoverRef}>
                  ^^^^^^^^^^^^^^^^^^^ function. This type is incompatible with
 14:       <div
            ^^^ union: function type | string

see: https://github.com/facebook/flow/blob/master/lib/react.js#L173
declare type React$Ref<ElementType: React$ElementType> =
  | ((React$ElementRef<ElementType> | null) => mixed)
  | string;

Because HTMLDivElement can be null you'll want to define your _setPopoverRef as...
-  _setPopoverRef = (popover: HTMLDivElement) => {
+  _setPopoverRef = (popover: HTMLDivElement | null) => {
    this._popover = popover;
  }

But this error to me seems reasonable given the definition of the ref prop.
Could you give examples of when flow doesn't complain about ref potentially being null?

"Could you give examples of when flow doesn't complain about ref potentially being null?"
I've found why it seems to be working but actually isn't. The component StatefulPopover in our code base has an unknown variable type to flow, meaning it defaults to any. This allows me to not have to specify null. Not the greatest fail scenario in my mind but I come from a typescript world.
That said, the typescript version of this same code seems a bit cleaner due to not needing to pass the null in.
https://codepen.io/anon/pen/EoZwNX?editors=1111
Something that could resolve this is in React, instead of passing null to the ref in the component unmount, pass undefined. I believe then you wouldn't need to specify null as a type. That said, it is a pretty core change so I doubt it would happen. Is this proposal worth opening a bug? I feel it would likely be closed out immediately considering the lack of impact it would have...
Thanks for looking into this!

Check https://flow.org/en/docs/react/refs/


dl.espressif.cn SSL certificate expired (IDFGH-8542)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hi! Just that,
# curl -I -v 'https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-2021r1/xtensa-esp32-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz'
*   Trying <IP_ADDRESS>:443...
* Connected to dl.espressif.cn (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, certificate expired (557):
* SSL certificate problem: certificate has expired
* Closing connection 0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

We are sorry for the inconvenience. Could you please try it again? It should be fixed now.

Thank you, works like a charm now!


hotfix: prevent anonymized from credentials sent to request

@filiphric, will this generate a new release?

for some reason it did not, so I had to "force" the release. all good now 👍

It's working perfectly now. Thank you so much, @filiphric!


[collector] #686 - Ensure ClusterRole is created for kubeletMetrics preset

Addresses: https://github.com/open-telemetry/opentelemetry-helm-charts/issues/686

@cjbhaines you need to sign the CLA, bump the chart version and then run make generate-examples in order for the CI to pass. GUIDE

@cjbhaines you need to sign the CLA, bump the chart version and then run make generate-examples in order for the CI to pass. GUIDE

Thanks @Allex1, that's done.


Add scripts for creating and destroying assessment environments

🗣 Description
This pull request adds scripts for creating and destroying assessment environments.
💭 Motivation and context
This is necessary because the CloudWatch alarm resources associated with the EC2 instances are created using for_each expressions that are dynamic-ish, and terraform does not handle this very well.
The NOM folks desperately need these scripts in hand to perform their job function.
🧪 Testing
I was able to use these scripts to successfully create one and destroy several assessment environments.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All new and existing tests pass.

The lint GitHub Actions checks are currently failing due to psf/black#2964.  See also cisagov/skeleton-generic#105.

cc: @Ed3m1, @mkreckel, @adevine31


Bugfix/branch 0.8

This code fix is for XSD having the decimal data type with restriction. XSDToSchema util class returns the StringType if the XSD has the decimal data type with restriction.

Codecov Report

Merging #573 (4e59bdb) into master (3ee6e8d) will increase coverage by 0.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #573      +/-   ##
==========================================
+ Coverage   85.36%   85.68%   +0.32%
==========================================
  Files          18       18
  Lines         977      978       +1
  Branches       89       91       +2
==========================================
+ Hits          834      838       +4
+ Misses        143      140       -3

Impacted Files
Coverage Δ

...la/com/databricks/spark/xml/util/XSDToSchema.scala
65.51% <100.00%> (+3.88%)
:arrow_up:

Continue to review full report at Codecov.

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


uv should exclude abi3 wheels in free-threaded Python 3.13+

Starting with the version 3.13 alpha releases, CPython can optionally be configured to run without the global interpreter lock. This build configuration ("free-threaded") is not compatible with abi3 wheels.
Additionally, the version specific wheels require the "t" suffix in the ABI tag. For example, cp313-cp313t-manylinux_2_35_x86_64 (free-threaded build) instead of cp313-cp313-manylinux_2_35_x86_64 (default 3.13 build).
Steps to reproduce issue

Build python from source with --disable-gil
uv venv, source .venv/bin/activate
uv pip install psutil
python -c "import psutil" Segmentation fault (core dumped)

Identifying --disable-gil CPython builds
I think the best way is to check if sysconfig.get_config_var("Py_GIL_DISABLED") returns True.
packaging.tags instead checks for a "t" in sys.abiflags, but this is because of constraints on the public API exposed by the package. I think using sysconfig is likely a better option for uv.
See also:

https://github.com/pypa/packaging/blob/e0dda88874e73cd484b9e8464c5921a903db3cf0/src/packaging/tags.py#L229-L230

Awesome, thank you.

@konstin - Interested in this one?

@colesbury What is the canonical name for this feature, "no-gil python", "gil disabled" or "free-threaded python"?
As a more technical question, is psutil expected to still error when built from source with python 3.13.0a5? (I can built from main too if that's better)
uv
$ uv venv -q -p python3.13 .venv3.13 --no-cache-dir && uv pip install psutil --no-cache-dir && .venv3.13/bin/python -c "import psutil"
Resolved 1 package in 206ms
Downloaded 1 package in 90ms
Installed 1 package in 1ms
 + psutil==5.9.8
Segmentation fault (core dumped)

pip
$ cargo run -q -- venv -q -p python3.13 .venv3.13 --no-cache-dir && cargo run -q -- pip install psutil --no-cache-dir && .venv3.13/bin/python -c "import psutil"
Resolved 1 package in 225ms
   Built psutil==5.9.8                                                                                Downloaded 1 package in 1.51s
Installed 1 package in 0.78ms
 + psutil==5.9.8
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import psutil
  File "/home/konsti/projects/uv/.venv3.13/lib/python3.13/site-packages/psutil/__init__.py", line 102, in <module>
    from . import _pslinux as _psplatform
  File "/home/konsti/projects/uv/.venv3.13/lib/python3.13/site-packages/psutil/_pslinux.py", line 25, in <module>
    from . import _psutil_linux as cext
ImportError: /home/konsti/projects/uv/.venv3.13/lib/python3.13/site-packages/psutil/_psutil_linux.abi3.so: undefined symbol: _Py_atomic_add_ssize

If yes, here's a PR implementing the t abiflag: https://github.com/astral-sh/uv/pull/2805

@colesbury What is the canonical name for this feature, "no-gil python", "gil disabled" or "free-threaded python"?

Not Sam, but as per the Steering Council decision, the canonical name is "free-threaded Python": https://github.com/python/steering-council/issues/221#issuecomment-1841593283.

As a more technical question, is psutil expected to still error when built from source with python 3.13.0a5...

Oof... yeah I think that's something we need to fix either in CPython or in psutil


Insert or update an item without returning it

Problem
Currently, prisma.example.create(...) will perform both an INSERT write and SELECT read. For performance sensitive large writes, it would be nice to be able to perform just the write without the subsequent read operation.
Suggested solution
Maybe a new option in the create params?
// `doc1` is of type { foo: string }
const doc1 = await prisma.example.create({
  data: { foo: 'bar' },
  returnResult: true, // the default, so it can remain unspecified
});

// `doc2` is undefined
const doc2 = await prisma.example.create({
  data: { foo: 'bar' },
  returnResult: false,
});

Alternatively, the existing select option could include a special value to add this behavior.
// `doc3` is undefined
const doc3 = await prisma.example.create({
  data: { foo: 'bar' },
  select: { [prisma.NONE]: true }
});

The same option would also make sense to include in .update(...) and .upsert(...).
Alternatives
Currently, I'll add select: { id: true } to my create() calls in order to return as little data as I can, but it still performs an unnecessary SELECT.

What database/provider are you using? Most create() should not actually do an additional SELECT query any more.
These are probably duplicates of what you are asking for: https://github.com/prisma/prisma/issues/4246 or https://github.com/prisma/prisma/issues/9301

What database/provider are you using? Most create() should not actually do an additional SELECT query any more.
These are probably duplicates of what you are asking for: #4246 or #9301

@janpio Apologies for missing #4246 which is the same problem. I really like the proposed { select: false } there. This issue is present in MySQL / PlanetScale dbs. I will close this thread as it is a duplicate, but it'd be great to see this make its way onto the roadmap eventually, as the extra SELECT does needlessly slow down most create/update operations in practice.

Yes, I understand and fully agree.


return value from storage without callback function

Storage now returns value in get functions. This allows for
value = storage.get(...)
instead of:
storage.get(..., cb=foo)
def foo(key, value, ...):

This may lead to miss use of get/set and hang the reactor when used wrong in the runtime.
If I’m not misstaken it hangs until a response is presented. We had sync version previously
but they where removed because they should not be use in the runtime because of locking the reactor.
It could be implemented with  inline callbacks but that will make it to dependent on twisted because async
uses a different approach for the same functionality. I tried making a thin glue layer between but I
did not have the time to Finnish it yet to se if it works or not.
http://twistedmatrix.com/documents/10.2.0/api/twisted.internet.defer.inlineCallbacks.html
/R
On 12 Feb 2016, at 11:34, PStahl <notifications<EMAIL_ADDRESS>wrote:
Storage now returns value in get functions. This allows for
value = storage.get(...)
instead of:
storage.get(..., cb=foo)
def foo(key, value, ...):

You can view, comment on, or merge this pull request online at:
https://github.com/EricssonResearch/calvin-base/pull/33
Commit Summary

return value from storage without callback function

File Changes

M calvin/runtime/north/calvin_node.pyhttps://github.com/EricssonResearch/calvin-base/pull/33/files#diff-0 (2)
M calvin/runtime/north/storage.pyhttps://github.com/EricssonResearch/calvin-base/pull/33/files#diff-1 (123)
A calvin/tests/test_storage.pyhttps://github.com/EricssonResearch/calvin-base/pull/33/files#diff-2 (116)

Patch Links:

https://github.com/EricssonResearch/calvin-base/pull/33.patch
https://github.com/EricssonResearch/calvin-base/pull/33.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/EricssonResearch/calvin-base/pull/33.

See Roberts comment, closed.


Feat req: Automatic HTTP to HTTPS redirect in "net-lb-app-ext" module

Hi,
I'm creating an External HTTPS Load Balancer using the "net-lb-app-ext" module. It would be very convenient, as it happens in the Google Cloud GUI Console, to have an option to automatically create an additional Load Balancer that redirects requests from HTTP to HTTPS. Currently, the only way to implement this feature is to create a second LB manually with the same module and correctly configuring the routing rules to perform the redirect.
Would it be possible to implement this feature in the future please?
Kind regards,
Francesco

I don't like the idea of automagically creating another LB. If you really want it you can easily instantiate the module again and build the redirect manually.
Explicit is better than implicit.

Agree with Julio 100%, we can keep this open to add an example implementation to the module's README, or close it.

Hi,
thanks a lot for the replies. I actually agree with you that explicit is always better than implicit and therefore magically creating a new load balancer is perhaps not the best way, however, being a feature present on the GUI console, I believe that many users are used to this possibility and that perhaps it would not be so "risky" a change like that, what do you think?
In any case a mention and an example inside the README are surely a valid solution.
Francesco

Well, UI and IaC are kind of different worlds so we don't need to replicate what the UI does. :)

Ok, thanks a lot. If that's okay with you, we can leave the issue open to add an example to the module README


Unexpected results from litstudy.plot_author_histogram()

Dear all,
I am observing some unexpected behavior in litstudy.plot_author_histogram() in the current master branch. I tried loading bibtex files from Web of Sciences and Scopus, as well as a Scopus csv. In all cases, I get not only a histogram showing the publication counts per author, but I get two histograms (here one blue, one orange), that I can stack. Apparently I have two categories here, but I cannot make sense of this and did not find anything mentioned in the documentation.
Best, Lars.

Thanks for using litstudy and thanks for reporting this issue!
If you do not provide the groups= keywords, then it should only draw a single histogram in one color. Make sure to clear the matplotlib canvas between different calls to plot_... since otherwise the graphs will be drawn onto the same figure.
Do you have an image of the problem and maybe a relevant code snippet?

Thank you - indeed adding a simple plt.clf() after calling plt.savefig() or plt.show() solved this.


Fixes for NCCLReduce with non-zero root

All other NCCL ops expect paired src, dst pointers for each
GPU. Reduce doesn't, and the old logic would always set dst for
rank = 0 regardless of whether that was the root or not.
This change takes into account that Reduce only has one output, and it
should assign dst only for the root rank. Also changes the schema to
allow inplace for any input and Output(0).

Nice, thanks @slayton58!

@slayton58 This conflicted with c96d28557e8efcf9e401383fa50ef051318ffeb8, could you please rebase?

@pietern Done


not working xcode 7.3

HI,
I am using xocde 7.3. After installing pod file the xcode shows many syntax errors in the follwing swift files DKChainableAnimationKit+Anchor.swift, DKChainableAnimationKit.swift, DKKeyFrameAnimation.swift

Maybe you can give more info including the current lib version

my pod file ==> pod "DKChainableAnimationKit", "~> 1.5.0"

new version of pod file is (1.6.1) working fine, sorry for my mistake
Thank you,

Podfile
pod 'DKChainableAnimationKit'
pod update

Git download
$ /usr/bin/git clone https://github.com/Draveness/DKChainableAnimationKit.git
/var/folders/hr/nrm3gj8s2w31yjyxs6j_0dh00000gn/T/d20160526-36975-d1yq8z --single-branch --depth 1 --branch 1.6.0
Cloning into '/var/folders/hr/nrm3gj8s2w31yjyxs6j_0dh00000gn/T/d20160526-36975-d1yq8z'...
warning: Could not find remote branch 1.6.0 to clone.
fatal: Remote branch 1.6.0 not found in upstream origin

[!] Error installing DKChainableAnimationKit
[!] /usr/bin/git clone https://github.com/Draveness/DKChainableAnimationKit.git /var/folders/hr/nrm3gj8s2w31yjyxs6j_0dh00000gn/T/d20160526-36975-d1yq8z --single-branch --depth 1 --branch 1.6.0
Cloning into '/var/folders/hr/nrm3gj8s2w31yjyxs6j_0dh00000gn/T/d20160526-36975-d1yq8z'...
warning: Could not find remote branch 1.6.0 to clone.
fatal: Remote branch 1.6.0 not found in upstream origin
It seems branch 1.6.0 not exited.
@Aravind6 how is your 1.6.1?,I changed to "pod 'DKChainableAnimationKit', "~> 1.6.1"",error appear again. Would you help me?

@tinvyhxx Maybe you can update you pod repo and install this lib again

@Aravind6 It's ok