Alert on launch

Issue Type: Bug
When opening VS Code Insiders since this morning's update, I'm getting this alert at every launch:
We did not find "node" on your path, so can not enable auto-attach in your environment
Source: JavaScript Debugger
The problem still occurs when all user-installed extensions are disabled.

VS Code version: Code - Insiders 1.50.0-insider (d1f267742169584db010716d92addf50d4cd8139, 2020-09-17T07:23:18.487Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 x 3498)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.94GB (11.98GB free)

Process Argv
--crash-reporter-id 47798f4c-9d0b-4531-b0d9-c36278d01dbe

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

Bookmarks
ale
11.3.1

auto-close-tag
for
0.5.8

todo-tree
Gru
0.0.178

color-manager
roy
0.5.7

highlight-matching-tag
vin
0.9.9

same here. didn't have such a issue yesterday.
Version: 1.50.0-insider
Commit: d1f267742169584db010716d92addf50d4cd8139
Date: 2020-09-17T07:03:46.695Z
Electron: 9.3.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 3.10.0-693.17.1.el7.x86_64

I clicked on the gear icon in the error message and followed the instructions to uninstall the JavaScript Debugger default extension and install the Nightly version, and the error is gone

Thanks for the reports, this duplicates https://github.com/microsoft/vscode/issues/106537

@connor4312  I am afraid this is not a duplicate of #106537. The reason is when I used the insider version of VScode built on yesterday I didn't have this issue. If it's a duplicate I would have saw the error message much earlier.

I just re-install the version "d1f267742169584db010716d92addf50d4cd8139" , and I have not this error message.

Let's continue discussion in the linked issue. We can reopen this one if that issue ends up having a different root cause.


Could you host this example as gh-page?

People like me are happier when they are able to directly view the result without clone, npm install, ...

i agree too. would greatly appreciate it if you could add a webpack PROD config that generated the index.html and let us deploy the site to gh-page, or firebase hosting, or...   this is quite confusing for those of us new to webpack
many thanks.

To directly see a running app, check the code sandboxes linked in the mobx readme, for example: https://codesandbox.io/s/v3v0my2370


UserAccountService.ChangeEmailRequest does not update UserAccounts.Username when EmailIsUsername is True

BrockAllen, I noticed today what appears to be bug in UserAccountService.ChangeEmailRequest. If Configuration.EmailIsUsername is set to True, I would think that ChangeEmailRequest should update the Username in addition to the email address. Is there another way to update the Username? The ChangeUsername method gives the following error when I try to use it:
"[UserAccountService.ChangeUsername] failed -- SecuritySettings.EmailIsUsername is true, use ChangeEmail API instead." Thanks.

I think that's done when the email is confirmed (IIRC)

Ok. That makes sense. Thanks.


Native images render before WebGL

Wait before rendering either

:tada: This issue has been resolved in version 3.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1463 mean absolute percentage error

Fixes #1463

 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.Parthiv Naresh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Hide terms when submitting form

@hmoco Is there a JIRA ticket explaining what this is supposed to fix?


Update invalid "pm" command to "npm"

Docs Build status updates of commit f31de0f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/monitor.md
:bulb:Suggestion
View (azure-node-latest)
Details

docs-ref-services/latest/monitor.md

Line 5, Column 12: [Suggestion-ms-author-invalid] Invalid value for 'ms.author', 'rboucher' is not a valid Microsoft alias.
Line 27, Column 70: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/samples/browse/?languages=javascript' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1723f0d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/monitor.md
:white_check_mark:Succeeded
View (azure-node-latest)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off


publish_actions can not be add to facebook permissions

com.facebook.FacebookException: Cannot pass a publish or manage permission (publish_actions) to a request for read authorization at com.facebook.login.LoginManager.validateReadPermissions(LoginManager.java:388)

Android device: ____
Android OS version: 4.4.2
Google Play Services version: _____
Firebase/Play Services SDK version: 11.0.0_
FirebaseUI version: 2.0.0

See #535 and #592 but basically we can't support non-read permissions for Facebook.  Facebook makes it clear they want these requests done after the initial login flow, and FirebaseUI is only concerned with the initial login flow.
You will need to use the Facebook SDK directly to request these permissions after FirebaseUI has completed.


Python extension doesn't load

Type: Bug
My python extension just doesn't load. I tried to install some history versions, but they don't load or doesn't work at all. I also tried to fully reinstall python extension, but it didn't work, either. I have this problem since I updated my mac to a M1 version.
Extension version: 2022.20.2
VS Code version: Code 1.74.3 (Universal) (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T17:07:18.579Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.06GB free)

Process Argv
--crash-reporter-id 083e8524-fba4-449e-93f4-c128e4cc8d85

Screen Reader
no

VM
0%

We would need the following logs:

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

XXXX

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

There's no output related to python extension in the console

There's no output in the Output panel either

Please provide the full console logs, without filtering it for python.

vscode-app-1674999111891.log
All logs are here

vscode-app-1674999111891.log
Here are all the logs

Moving issue to VSCode as the error doesn't seem to be related to the Python extension.

I have this problem since I updated my mac to a M1 version.

Also hints this is not related to the extension.


AntreaProxy failed to create ovs flows and groups for K8s service

Describe the bug
Pod failed to do nslookup.
To Reproduce
When running K8s conformance test, hit this issue, not sure how to reproduce it.
Expected
$ nslookup google.com
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53
Non-authoritative answer:
Name:	google.com
Address: <IP_ADDRESS>
Name:	google.com
Address: 2607:f8b0:4005:808::200e
Actual behavior
$ cat /etc/resolv.conf
search dns-8064.svc.cluster.local svc.cluster.local cluster.local upi.openshift.test
nameserver <IP_ADDRESS>
options ndots:5
$ nslookup google.com
;; reply from unexpected source: <IP_ADDRESS>#5353, expected <IP_ADDRESS>#53
;; reply from unexpected source: <IP_ADDRESS>#5353, expected <IP_ADDRESS>#53
;; reply from unexpected source: <IP_ADDRESS>#5353, expected <IP_ADDRESS>#53
;; connection timed out; no servers could be reached
Versions:
antrea: 0.13.1
oc version
Client Version: 4.7.5
Server Version: 4.5.6
Kubernetes Version: v1.18.3+002a51f
uname -r
4.18.0-193.14.3.el8_2.x86_64
Additional context
antrea-agent log: https://gist.github.com/dantingl/9a1759abebb5d34b6c62b62ce82318eb
restart antrea-agent could work.
(Please consider pasting long output into a GitHub gist or any other pastebin.)

@dantingl thanks for reporting it.
From the logs, the agent lost connection with ovs-vswitchd:
W0426 00:47:38.247751       1 entry.go:359] InboundError EOF
I0426 00:47:38.249500       1 entry.go:314] Closing OpenFlow message stream.
W0426 00:47:38.249562       1 entry.go:314] Received ERROR message from switch 00:00:7a:38:f8:88:27:49. Err: EOF
I0426 00:47:38.249609       1 ofctrl_bridge.go:240] OFSwitch is disconnected: 00:00:7a:38:f8:88:27:49
I0426 00:47:38.249638       1 entry.go:314] Initialize connection or re-connect to /var/run/openvswitch/br-int.mgmt.
I0426 00:47:39.249819       1 entry.go:314] Connected to socket /var/run/openvswitch/br-int.mgmt
I0426 00:47:39.249957       1 entry.go:359] New connection..
I0426 00:47:39.249992       1 entry.go:314] Send hello with OF version: 4
I0426 00:47:39.250420       1 entry.go:359] Received Openflow 1.3 Hello message
I0426 00:47:39.254422       1 entry.go:314] Received ofp1.3 Switch feature response: {Header:{Version:4 Type:6 Length:32 Xid:21524} DPID:00:00:7a:38:f8:88:27:49 Buffers:0 NumTables:254 AuxilaryId:0 pad:[0 0] Capabilities:79 Actions:0 Ports:[]}
I0426 00:47:39.254454       1 entry.go:359] Openflow Connection for new switch: 00:00:7a:38:f8:88:27:49
I0426 00:47:39.254853       1 ofctrl_bridge.go:220] OFSwitch is connected: 00:00:7a:38:f8:88:27:49

And the flows for Service and Proxy cannot be reinstalled successfully.
I0426 00:47:39.254969       1 agent.go:365] Replaying OF flows to OVS bridge
E0426 00:47:39.275588       1 client.go:688] Error when replaying cached group 1: message is canceled because of disconnection from the Switch
E0426 00:47:39.276873       1 client.go:688] Error when replaying cached group 50: message is canceled because of disconnection from the Switch
E0426 00:47:39.276890       1 client.go:688] Error when replaying cached group 53: message is canceled because of disconnection from the Switch
E0426 00:47:39.276902       1 client.go:688] Error when replaying cached group 20: message is canceled because of disconnection from the Switch
...
E0426 00:47:39.296232       1 entry.go:314] Received Vendor error: OFPBFC_MSG_FAILED on ONFT_BUNDLE_CONTROL message
E0426 00:47:39.296290       1 client.go:681] Error when replaying cached flows: one message in bundle failed
E0426 00:47:39.296326       1 entry.go:314] Received OpenFlow1.3 error: OFPBAC_BAD_OUT_GROUP on message OFPT_EXPERIMENTER
E0426 00:47:39.300134       1 entry.go:314] Received Vendor error: OFPBFC_MSG_FAILED on ONFT_BUNDLE_CONTROL message
...
E0426 00:47:39.528599       1 client.go:681] Error when replaying cached flows: one message in bundle failed
I0426 00:47:39.528621       1 agent.go:367] Flow replay completed
E0426 00:47:39.528685       1 entry.go:314] Received OpenFlow1.3 error: OFPBAC_BAD_OUT_GROUP on message OFPT_EXPERIMENTER
I0426 00:47:39.530647       1 agent.go:439] Cleaning up flow-restore-wait config
I0426 00:47:39.531103       1 agent.go:452] Cleaned up flow-restore-wait config

It seemed AntreaProxy cannot handle reconnection correctly. We should definitely enhance this.
@dantingl did you see antrea-ovs container restarted? If you still has the setup, could you help check ovs-vswitch.log under "/var/log/antrea/openvswitch/" of that Node to see if the process restarted around 00:47:38? I'd like to understand which situation the reconnection happened in.

Here is ovs-vswitch.log around 00:47:38
https://gist.github.com/dantingl/e2a087f12641110239ddff65748ff17c

Thanks @dantingl. I can see there was only single restart. Obviously this case was not handled properly.
@hongliangl Have you started fixing it? If not, I could work on it. The issue seems serious to me as once antrea-ovs is restarted (could due to liveness probing failure or OOM killer), all Pods on a Node will basically lose all connections as it cannot access any services, including cluster DNS service.
cc @antoninbas, we may want to backport this too.

Sorry, I have not started fixing it.

I talked to @tnqn. Since no one has started working on this, I can take a stab at fixing this today.

I found the issue (Reset method for the group not called during flow replay, and its implementation is not correct). I will work on improving the TestOVSFlowReplay e2e test and submit a PR.


Add package extension for visualization of colorings

Add an un-exported show_colors function as well as tests and documentation for it.
The function has some options for customization:
    show_colors(result)

Return an image visualizing an [`AbstractColoringResult`](@ref).

!!! warning
    Using this function requires loading [Images.jl](https://github.com/JuliaImages/Images.jl).

## Keyword arguments
* `colorscheme`: colors used for non-zero matrix entries.
* `background`: color used for zero matrix entries and padding. Defaults to a transparent background.
* `scale::Int`: scale the size of matrix entries to `scale × scale` pixels. Defaults to `1`.
* `padding::Int`: padding between matrix entries. Defaults to `0`.

Currently the function errors when the matrix-coloring has more colors than the provided colorscheme. I can add some color cycling to circumvent this if desired.
Edit: turned this from an Images.jl extension to a ColorTypes.jl extension to make it more light-weight.

The code is written to make it as easy as possible to extend _show_colors! on future AbstractColoringResult types.

This is what the new doc page looks like:
Visualization · SparseMatrixColorings.jl.pdf

Would be nice to have a release tagged for this! :)

#150

Thanks @adrhill for working on that.

Check it out in action! :)
https://gdalle.github.io/SparseMatrixColorings.jl/stable/vis/


Is it possible to open and edit an existing slide?

I already have my desired look&feel in an existing PPTX file, I just want to open and edit few slides. Is this possible? any reference to relevant article/technique will be appreciated

Hi @i0natan ,
No, sorry.  This is listed under Unimplemented Features.
Making Master Pages/Layouts/Look-n-feel is super easy though:
API: Master Pages


Feature/toast on status change

Hi,
Adding toast status change. It's working fine in the demo, hope the code is ok.
Also added dismiss all action.

Thanks!


kafka_etl to ZooKeeper: connection refused

I'm trying to run ingestion using kafka_etl.py, with ZOOKEEPER='localhost:2181'. For some reason it couldn't connect to the zookeeper container
ingestion    | Connection dropped: socket connection error: Cannot assign requested address
ingestion    | Connection dropped: socket connection error: Connection refused
ingestion    | Failed connecting to Zookeeper within the connection retry policy.
ingestion    | Traceback (most recent call last):
ingestion    |   File "kafka_etl.py", line 51, in
ingestion    |     zk.start()
ingestion    |   File "/root/.local/lib/python3.7/site-packages/kazoo/client.py", line 560, in start
ingestion    |     raise self.handler.timeout_exception("Connection time-out")
ingestion    | kazoo.handlers.threading.KazooTimeoutError: Connection time-out
ingestion exited with code 1
When I run docker container ls it shows zookeeper is up and running at
2888/tcp, <IP_ADDRESS>:2181->2181/tcp, 3888/tcp
How could I resolve this?

Can you check if you're able to connect to localhost:2181 using telnet or nc?
$ telnet localhost 2181
$ nc -vz localhost 2181

Assuming this issue has been resolved. Feel free to reopen otherwise.


[FLINK-7247] [travis] Replace java 7 build profiles

This PR bumps the java 7 build profiles on travis to java 8.

ah yeah, nice catch. I will move the modified profiles to openjdk8.

+1 test failures are due to network issues and look to have passed in your repo

merging.


Fix for CDN images in OnPrem root site

In a specific scenario for OnPrem to O365 transformation of pages in root site collection, the script simply freezes if the image resides outside SharePoint.
This PR fixes that issue by checking if the base URLs of the images are actually in source SharePoint site collection or not.
Somehow in Online classic to modern transformation, this works as expected and page is transformed without error, but in OnPrem classic to modern page the code simply freezes in .NET as well as the PnP PowerShell commandlet.
To reproduce, create a simple publishing page in OnPrem root site collection (used blank webpart page layout).
Add an image from outside SharePoint in the page content field, could be any image located on CDN. I used https://via.placeholder.com/300/09f/fff.png this placeholder image.
Try to transform the page to its modern equivalent using .NET or the PowerShell commandlet.

Thanks for the fix @gautamdsheth . Will process this one before the next release


POST /users/xuid({xuid})/outbox

This endpoint does not work with the request body sample provided. Has this changed over to Skype?

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

ID: 4a122783-c198-0478-fe4f-2849cff31f53
Version Independent ID: f2eafb87-fece-7789-1a52-6f1aff188ac1
Content: POST (/users/xuid({xuid})/outbox) - Xbox Live
Content Source: xbox-live-docs-pr/api-ref/xbox-live-rest/uri/users/uri-usersxuidoutboxpost.md
Product: xboxlive
GitHub Login: @XBL
Microsoft Alias: XBL

I am experiencing the same issue. The same request does not work.


TS0011_switch_module not working anymore

Description of problem:
See title, TS0011_switch_module (2 of them) are nor working anymore.
They worked properly until last update, now I can not control them anymore.
Z2M recognizes them, tries to pair, and then something fails and they are somewhat "ghosted"...
see this pastebin with what happens when I try to pair them :
https://pastebin.com/dd32Lu0n
Zigbee2mqtt add-on version (if edge, please report commit hash):
Version de Zigbee2MQTT [1.25.0] commit: [unknown]

Your entire configuration from the frontend (with sensitive fields redacted):
data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false
mqtt:
  base_topic: zigbee2mqtt
  user: *****
  password: ********
  server: mqtt://<IP_ADDRESS>:1883
serial:
  port: /dev/ttyUSB0
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
advanced:
  log_level: warn
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental: {}
availability: false

Running platform (details from Suypervisor > System)
Core: core-2022.3.8
Supervisor: supervisor-2022.03.5
Operating System: HassOS 7.6

Your logs from Home Assistant Supervisor
...

nvm...
It was a broken router in my network that caused problems...


Is it possible to .resize() an animated GIF?

Hi,
I tried to find this in the documentation, but couldn't really find it anywhere.
With other packages such as Imagemagik, you're able to effectively turn an animated GIF into a composite of images and then resize them individually - at the end putting them back into the original "sequence". Just wondering if this is possible with Sharp and if there's an example around.
Thanks.

Please see #1372 for a future possible enhancement to allow GIF output.


Double Click on line chart doesn't remove the zoom on MAC OS

I have a line chart with more than 20 columns, I'm zooming using the mouse certains parts of the chart. On the right corner of the page a tooltip appears saying to dooble click to cancel the zoom , but it doesn't work on my machine
I'm on Firefox 116.0.3 (64 bits) on MAC OS Ventura 13.5
The effect that the doble click has is to trigger a blink in the toolbar of the chart but no other action on the chart itself

Thank you for the issue! This feature typically works; we might try with your configuration.

@Avaiga/community-success Can you reproduce the issue to confirm the ticket is still relevant?

@dinhlongviolin1 Can you test it? Thank you in advance.

@vhfgosselin
@dinhlongviolin1 was not able to reproduce this problem on his Mac, on any browser including Firefox.
What version of Taipy did you find this problem on?

Cannot reproduce.


Renewing certification in production environment

I couldn't find anything mention about renewing certificate in production environment. Is it possible create a topic or Note talking about this!

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

ID: d7c6ed75-c877-0342-6dea-60da2f80a866
Version Independent ID: 7c7d70ba-1847-5d0d-135f-4dd84f9642d8
Content: Create high-trust SharePoint Add-ins
Content Source: docs/sp-add-ins/create-high-trust-sharepoint-add-ins.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

You don't renew, you replace it with a new one.
You basically repeat the process as explained in the document... ideally before the existing certificate expires... specifically the part of the doc where you replace the dev cert with a real cert.
Once the new cert has been setup to trust it, update the app to use it.
Optionally, delete the told token issuer & TRA for the cert you're expiring. The following are some steps  you can use to remove it.

Run Get-SPTrustedRootAuthority to get a list of all TRA's
Delete the existing cert with Remove-SPTrustedRootAuthority -Identity <name of existing RA>
Verify it's gone with Get-SPTrustedRootAuthority again
Remove old token issuer:

Run Get-SPTrustedSecurityTokenIssuer to get a list of existing issuers
Run Remove-SPTrustedSecurityTokenIssuer -Identity <name of token issuer>


Feat: Persist the hover effect on navbar when we are on that particular page.

Describe the feature
In order for more readability and user experience we can let the hover effect persist when a particular tab on navbar is clicked so when on that particular page the hover effect should be there on that tab.
Add ScreenShots
Uploading SwapReads - Google Chrome 2024-07-10 15-10-35 (online-video-cutter.com).mp4…
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 @huamanraj @RitiChandak @RishabhDhawad Please anyone assign me this task !
Thank You !


Add a multi mode

In C++, in addition to set, there's multiset which allows duplicate values. This is important for some algorithms, so it would be nice to have an option to allow duplicates in bintrees.

+1, I suddenly need tree with possibly equal values for Treesort algorithm.


Bug: Simple setup example returns error when you press an arrow (left or right)

Lexical version: Latest (simple setup live example on lexical.dev)
Steps To Reproduce

Press right arrow in lexical simple setup example window

Tested on Edge, Chrome and Firefox.

Link to code example: https://lexical.dev/
The current behavior
TypeError
lexical.$getAdjacentNode is not a function
    at Object.$shouldOverrideDefaultCharacterSelection (https://g932e.csb.app/node_modules/lexical/selection/LexicalSelection.dev.js:937:32
    at Array.eval (https://g932e.csb.app/node_modules/lexical/plain-text/LexicalPlainText.dev.js:197:19
triggerCommandListeners
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:9551:29
eval
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:9530:19
beginUpdate
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:9685:5
updateEditor
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:9776:5
LexicalEditor.update
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:11522:5
triggerCommandListeners
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:9529:12
dispatchCommand
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:1398:10
onKeyDown
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:3206:5
HTMLDivElement.eval
https://g932e.csb.app/node_modules/lexical/Lexical.dev.js:3414:9
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
This error overlay is powered by `react-error-overlay` used in `create-react-app`.

The expected behavior
No error

Same here, was playing with the simple demo from docs, and could not select text with shift + left/right.
Basically, any arrow key breaks the app

@zurfyx @acywatson do we know who owns this sandbox, even though this seems like a bug, unsure if it's a deprecated API.

Yep, seems like outdated API in a sandbox https://codesandbox.io/s/lexical-plain-text-example-g932e?from-embed=&file=/package.json
using lexicon 0.12.1.
When I forked the sandbox, changing the version to 0.12.2, it all works just fine


Bump snapdragon-util.

To snapdragon-util@4.  The latest is<EMAIL_ADDRESS>but that requires node>=6.
All this really does is dedupe the version of kind-of being used and take out the is-buffer transitive dependency.

Did you test this will all downstream libraries?

Just braces.  snapdragon, snapdragon-cheerio, and breakdance all use older versions of snapdragon-node.

This is breaking with the latest snapdragon.

Actually it doesn't, I was mistaken.  It works with https://github.com/here-be/snapdragon/pull/18, too.

closing since this was refactored and snapdragon-util was removed. thanks for the pr!


cloudstack-sysvmadm - /etc/rc.d/init.d/functions: No such file or directory

ISSUE TYPE

Bug Report

COMPONENT NAME
cloudstack-sysvmadm

CLOUDSTACK VERSION
CloudStack <IP_ADDRESS>

OS / ENVIRONMENT
Ubuntu 22.04

SUMMARY
STEPS TO REPRODUCE
Start the command: /usr/bin/cloudstack-sysvmadm
root@nuc1:~# cloudstack-sysvmadm
/usr/bin/cloudstack-sysvmadm: line 21: /etc/rc.d/init.d/functions: No such file or directory

  The tool for stopping/starting running system vms and domain routers

  Usage: cloudstack-sysvmadm: [-d] [-u] [-p] [-m] [-s] [-r] [-a] [-n] [-t] [-l] [-z] [-v] [-i] [-j]

   -d - cloud DB server ip address, defaulted to localhost if not specified
   -u - user name to access cloud DB, defaulted to "root" if not specified
   -p - cloud DB user password, defaulted to no password if not specified

EXPECTED RESULTS
No error

@dR3b sounds like a dependency is missing, or is this file phased out in a maintenance release of ubuntu?

@dR3b this is indeed an issue, but the script, cloudstack-sysvmadm, is not maintained which makes this a documentation issue. If you care you can fix the code or the docs and create a PR for it.

@DaanHoogland How can I control the system-vms (router proxy)?

I had a error with a script on my virtual router:
dns_check.py Missing entries for VMs in /etc/hosts

(In the meantime, I have already reinstalled the Management Server several times)
I will look into the sources 👍🏼

I had a error with a script on my virtual router:
dns_check.py Missing entries for VMs in /etc/hosts

this is a typical casde for restart network with cleanup (https://cloudstack.apache.org/api/apidocs-4.19/apis/restartNetwork.html)

np, tell us how you fare.

@dR3b do you care to test the revised script from #9200 please?

fixed in #9200

@DaanHoogland Looks good! Thanks


Perform getBuildListenerBroadcaster().projectsLoaded() in finally block

Is this fixing anything in particular?
If we evaluate the settings.gradle and then fail to load the projects (which I think may only be caused by Gradle bugs?), what does it mean to also call projectsLoaded() when there's an incomplete set of projects?

It's important to tell the progress logger that project loading finished (also if it finished with an error). Presumably, it does not only concern Gradle bugs. It was reported that stopping the daemon could cause the issue.
Details: https://github.com/gradle/gradle/issues/2239#issuecomment-309679604


CB-12005: Changing the getOrientation method to return the defined en…

…umerated EXIF instead of orientation in degrees for Consistency

Platforms affected
Android
What does this PR do?
This fixes an issue with how we flip images.  When we're given an EXIF that makes no sense, like flipping something 180 degrees, we do the rotation, then we remove the EXIF.
What testing has been done on this change?
Spot testing of the fix.  Still need to migrate plugins to Library Projects to allow for proper JUnit testing to occur.
Checklist

[ ] Reported an issue in the JIRA database
[ x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 10  Store
Link
Link
Link

iOS 9.3
Link
Link
Link

iOS 10.0
Link
Link
Link

Android
Link
Link
Link

Hello!
Just to inform you that I'll be away from 2nd - 7th February. My colleagues (CC-ed in<EMAIL_ADDRESS>will be supporting your requests while I'm away.
I'll be back on 8th February.
Happy Chinese New Year and happy holidays! =)
Best Regards,
Inez

Hello!
Just to inform you that I'll be away from 2-7 Feb. My colleagues (CC-ed in<EMAIL_ADDRESS>will be supporting your requests while I'm away.
I'll be back on the 8th of Feb.
Happy Chinese New Year and happy holidays! =)
Best Regards,
Shien Sim


src: exploit vmlinux's call to avoid ROP

ROP is a hacker technique, which manipulates data on the stack directly. And this new method expolits vmlinux's call instruction like,
__schedule(scheduler)     __schedule(vmlinux)       __switch_to(vmlinux)
mov prev, rdi                mov prev, rdi
mov next, rsi                mov next, rsi
add diff-stack-size, rsp
jmp                   --->   call __switch_to  ---> push rbp
mov rax,*  <--.        ...
\       pop rbp
.---   ret
This solution is simpler than the previous one based on ROP.
Suggested-by: Erwei Deng<EMAIL_ADDRESS>Signed-off-by: Yihao Wu<EMAIL_ADDRESS>

/retest


Revert in-tree ParseDN function now that upstream ParseDN function has been fixed

Branched from https://github.com/cert-manager/cert-manager/pull/6775
In https://github.com/cert-manager/cert-manager/pull/6761 we added our own literalSubject parser which follows RFC 4514 and RFC 2253.
Reverts https://github.com/cert-manager/cert-manager/pull/6761.
Since then, the ParseDN implementation in https://github.com/go-ldap/ldap and the https://github.com/go-asn1-ber/asn1-ber library were improved (see https://github.com/go-ldap/ldap/pull/497, https://github.com/go-ldap/ldap/pull/505, https://github.com/go-ldap/ldap/pull/504 and https://github.com/go-asn1-ber/asn1-ber/pull/42).
This PR removes our own ParseDN function in favor of this updated upstream parser.
Kind
/kind cleanup
Release Note
NONE

Branched from
// https://github.com/cert-manager/cert-manager/pull/6775
In https://github.com/cert-manager/cert-manager/pull/6761 we added our own literalSubject parser which follows RFC 4514 and RFC 2253.
Reverts https://github.com/cert-manager/cert-manager/pull/6761.
Since then, the ParseDN implementation in https://github.com/go-ldap/ldap and the https://github.com/go-asn1-ber/asn1-ber library were improved (see https://github.com/go-ldap/ldap/pull/497, https://github.com/go-ldap/ldap/pull/505, https://github.com/go-ldap/ldap/pull/504 and https://github.com/go-asn1-ber/asn1-ber/pull/42).
This PR removes our own ParseDN function in favor of this updated upstream parser.
Kind
/kind cleanup
Release Note
NONE

/retest

/retest


feat(certcontroller): Allow restricting CRDs and Webhook configs in Informer cache

Problem Statement
The certcontroller watches CRDs and Webhook configurations, and manages CA certificates for conversion webhooks of CRDs and Webhook configurations. Some clusters have a large number of CRDs and Webhook configurations installed. Additionally, some CRDs have large object sizes. Currently, the certcontroller holds all CRDs and Webhook configurations in the Informer cache. Since this includes CRDs not managed by the certcontroller for CA certificates, memory usage tends to be high.
Related Issue
Fixes #...
Proposed Changes
This PR adds a label to the CRDs and configures the Informer cache to hold only the CRDs and Webhook configurations restricted by the label selector. It assumes that the CRDs have a label. Depending on how the External Secrets Operator is managed, it may be possible to update the External Secrets Operator without updating the CRDs, so as a precaution, it can be turned on/off via a startup option. It is disabled by default.
Memory usage before and after this change:

Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[ ] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

/ok-to-test sha=d76c50c

Sorry, I forgot to replace some parts after moving the label key and values to constants package, so I have modified them here.

/ok-to-test sha=2042fd3


Fetch selected image first on open

When running a gallery the images are fetched on a random order (probably dependent on the network).

It would be nice to start with fetching first image, then second, and so on.

also think so.
in header or footer component have currentindex, but dont know how to get in gallery

may you copy code?

@Goowwy I render list of images and add onPress to that list items, which sets initial index and show gallery (boolean flag):
   const onPressImage = (id: string) => {
        setImageIndex(images.findIndex(image => image.fileId === id))
        showGallery()
    }

 <Gallery
    close={hideGallery}
    isOpen={isGallery}
    images={images}
    initialIndex={initialIndex}
    renderHeaderComponent={renderHeader}
 />

Hope it helps


启动时候报错

APPLICATION FAILED TO START

Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Disconnected from the target VM, address: '<IP_ADDRESS>:56231', transport: 'socket'
Process finished with exit code 0

要自己设置数据库地址


question about features = (features - 0.5)*2 in GAN model

Hi.
I have noticed the operation here ( features = (features - 0.5)*2) in Generative Adversarial Networks (GAN). I don't understand why we need to do this here. The mean and variance of MINIST dataset are 0.1307 and 0.3081. Can you please explain the meaning of doing so? Looking forward to your reply.

Good question. Which notebook is that? My spontaneous thought is that I probably did that because PyTorch's data transformation normalizes pixels to [0, 1] range, and I wanted to have the images in [-1, 1] range.

https://github.com/rasbt/deeplearning-models/blob/master/pytorch_ipynb/gan/gan.ipynb
Why we need the images in [-1,1] range? What is the difference between the ranges of [0,1] and [-1,1]? Does the image range have a big influence on the net performance? Didn’t see a similar operation in the previous network. So why in this net we need to do so? Thank you again for your reply.

Usually gradient descent behaves a bit better if the values are centered at 0. (Ideally, the mean should be zero). In practice, I don't notice big differences though to be honest.


Parse improvements

Some parsing improvements. These improvements fixes some known issues ( #5, #7, #9, #10, #11). They are:

Using stronger header regexp to avoid wrongly matching header
Fix ASN parsing for hops with multiple ASNs
Parse outputs with only IPs (traceroute -n)
Fix timeout probes can have name/ip or not depending of the position in traceroute output
Fix confusion between rtt = 0 (very low rtt) and rtt = None (timeout)
And other minor things

Side notes:

Additional discussion are in issue #10: I don't know if my current solution to the issue is the best.

You said in README.md that header can be in other lines than the first one (you says that it generally is in the first two lines - so it can be in other lines too). If it is true, maybe I commit I proposed breaks things. In this case, you can give me and example and I will try fix my code to include these cases.

You do not provide test cases. I used some test cases when testing the code in the pull request. I'm attach them here. I run them with python test.py TEST_CASE.

asn_multi.txt
asn.txt
header.txt
multi.txt
only_ips.txt
with_partial_timeouts.txt
without_header.txt

You parser is not a strict parser (wrong outputs can be parsed), . There is no guarantee that invalid outputs will raise ParseError exceptions. However, good outputs will produce a correct parsed object (ASN) in most cases. Your parser is a best effort parser.

If you want to implement a strict parser, grammar/state-machine algorithms are better. I started to implement some code (based on the state-machine concept) in this commit, in a different branch. It is NOT a good code and it is still not a strict parser (this is why I do not include it in the pull request). But it may help you to understand the general idea.
Here, it's a link with a list of libs that may help to create strict parsers: https://wiki.python.org/moin/LanguageParsing.

Hey @rarylson I think I found one of the cases where header is not actually in first line, but I'm not sure whether this is fully standard across different OSes or not.
My use case is traceroute targethost > logfile 2>&1, running on macOS. At least on macOS the whole header isn't part of stdout, it's part of stderr, which means I need both of them written to file to have the original header to start with.
The case I've seen is for hosts where there're multiple dns entries, in which case a warning is given to indicate this, as well as point out which of the entries is being used explicitly. My leading two rows from such a host (t.co) looks like:
traceroute: Warning: t.co has multiple addresses; using <IP_ADDRESS> traceroute to t.co (<IP_ADDRESS>), 64 hops max, 52 byte packets

Hi Patrik @magebarf,
Thanks for pointing this.
I'll fix this soon.

I see that:

The project improved a lot in v3
Some of the fixes that this PR proposes just doesn't apply anymore (some of them are already fixed on v3)
The branch now has some conflicts that need to be fixed

So, I'm cancelling this PR.
I'll create new ones, but smaller, addressing the remaining bugs and improvements that I'm proposing.
Also, creating smaller PRs will allow the project owner to just choose the ones that makes more sense.


Flash attention / Context quantization. K and V quant settings are unavailable.

The current series is unusable for me because I use the full 128k context window on a 16GB GPU. To do this with Phi-medium or Llama 3.1-8B, requires setting the K and V quants to 4_0.
This feature has not only been removed, but the memory usage is 4 times higher, and even reducing the cache size dramatically leads to much slower processing for me.
Quantization is necessary for large caches to fit. The old series had this feature. The new series, which would benefit the most from the quantized context in flash attention, is completely missing this feature. Ironically, I'm resorting to the old version (0.2 series) to analyze documents and large texts.

Any progress on this?

I agree that the int4 kv cache is very useful for long contexts and large models, making full use of the GPU memory. I hope this feature is added back; I don't want to downgrade to an older version.


Trigger validation manually

As an engineer
I want to start OCL validation rules manually and select the relevant rules
So I can check my project againt OCL rules
Background:
It is usefull to check SCL files manually against company specific rules and standard rules.

I think it would be nice to extend the validate project functionality;

Maybe the user should see a pop-up with the OCL rules available, and choose which OCL rules the validator will use on the project in addition to the existing validations (XSDs).

I thought we agreed to first make a version that includes all the rules always and not give the user this option.
This means that the backend should provided a list of OCL Rules that are available and the will be shown.

Maybe give the user the posibility to choose between validating locally with OpenSCD (XSD Only) or CoMPAS using XSD and OCL Rules.

For the more advanced way of validating by selecting the rule a new issue () is created.


startAfterDocument not working on Android

I know that this feature is really fresh (https://github.com/flutter/plugins/pull/1476), however, I planned on switching to this convenience method for a while since I was doing pagination manually already.
Basically, previously I used the following:
query.startAfter([document['fieldOne'], document['fieldTwo'], document.documentID]).getDocuments()

I supplied the fields to startAfter manually and now I tried to just swap that with query.startAfterDocument(document).getDocuments(), but it is not working.
At first it just returned the documents from the start instead of paginating and after restarting the application, I am now seeing the following exception all the time:
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): Failed to handle method call
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): java.lang.IllegalArgumentException: Invalid query. Expected a string for document ID in startAfter(), but got null.
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at com.google.firebase.firestore.Query.boundFromFields(com.google.firebase:firebase-firestore@@18.2.0:656)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at com.google.firebase.firestore.Query.startAfter(com.google.firebase:firebase-firestore@@18.2.0:523)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin.getQuery(CloudFirestorePlugin.java:219)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin.onMethodCall(CloudFirestorePlugin.java:559)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:201)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:88)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:219)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#plugins.flutter.io/cloud_firestore(13420): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/flutter (13420): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(error, Invalid query. Expected a string for document ID in startAfter(), but got null., null)

I looked at the Java implementation, but I could not quite figure out why it does not work.
I will just switch back to manual pagination for now, so no worries about my case.

@creativecreatorormaybenot I'm not clear on why you self-closed this issue, can you clarify?

@collinjackson Because https://github.com/flutter/flutter/issues/32031 is the actual issue. I think that orderBy(FieldPath.documentID()) is the problem nonetheless.


Index entries chunk based

This PR is based on #3849 and #3868, but merged into master.

One thing that's a little confusing to me in general about this code. We have both tags and annotations for this code, and I'm not totally sure what the different uses for them are, I think that tags are being used to keep track of which merged content came from which stream, but I'm not entirely clear on what annotations are doing.


Google Messages API is not rendering carousels, richcards and quick replies on iOS

In the last weeks, this feature was working perfectly but now the google business chat is showing only a message that says "XXX sent you to content that your device doesn't support".
The Google Messages API answers a 200 but the chat can not render the messages.

Hello,
It seems to work again!
As customer, we don't have information about this incident from Google, Making some changes that affects all customers productions and the rollback or the fix take about 1 month
implies that the quality of the product is no more like before
Hope next time that the product team tests before to go in production!


[Enhancement] Support expression evaluation in RollupJobV2 for schema change

Fixes #22401
Before
Sync MV uses schema change to support the refresh of historic data. However, the old code only supports converters such as to_bitmap/hll_hash/count_field/percentile_hash, and does not utilize the query's expressions.
This limitation makes it difficult to extend and negatively impacts performance.
 /*
        * TODO(lhy)
        * Building the materialized view function for schema_change here based on defineExpr.
        * This is a trick because the current storage layer does not support expression evaluation.
        * We can refactor this part of the code until the uniform expression evaluates the logic.
        * count distinct materialized view will set mv_expr with to_bitmap or hll_hash.
        * count materialized view will set mv_expr with count.
        */
        if (item.__isset.mv_expr) {
            if (item.mv_expr.nodes[0].node_type == TExprNodeType::FUNCTION_CALL) {
                mv_param.mv_expr = item.mv_expr.nodes[0].fn.name.function_name;
            } else if (item.mv_expr.nodes[0].node_type == TExprNodeType::CASE_EXPR) {
                mv_param.mv_expr = "count_field";
            }
        }

const MaterializeTypeConverter* ChunkChanger::get_materialize_type_converter(const std::string& materialized_function,
                                                                             LogicalType type) {
    if (materialized_function == "to_bitmap") {
        return get_materialized_converter(type, OLAP_MATERIALIZE_TYPE_BITMAP);
    } else if (materialized_function == "hll_hash") {
        return get_materialized_converter(type, OLAP_MATERIALIZE_TYPE_HLL);
    } else if (materialized_function == "count_field") {
        return get_materialized_converter(type, OLAP_MATERIALIZE_TYPE_COUNT);
    } else if (materialized_function == "percentile_hash") {
        return get_materialized_converter(type, OLAP_MATERIALIZE_TYPE_PERCENTILE);
    } else {
        return nullptr;
    }
}

Patched
To address this issue, we propose introducing support for common expression evaluation in order to refresh the historic data, similar to generated columns.
This pull request (PR) consists of two parts:
The front-end (FE) component normalizes the expressions.
The back-end (BE) component utilizes expression evaluation to refresh the historic data.
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 56 / 60 (93.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 65 / 69 (94.20%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
9
9
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 65 / 69 (94.20%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
54
58
93.10%
[421, 441, 444, 445]

:large_blue_circle:
com/starrocks/sql/analyzer/Field.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
9
9
100.00%
[]


🌟 Add Portfolio Ideas Features 💌 & Get 8 Benefits 🌟

What feature?
 Add Portfolio Ideas Features on the 👇🏻
https://www.devdisplay.org/PortfolioIdeas
Description
To allow developers, designers, and other tech enthusiasts to showcase their portfolios via open-source contributions, featuring live project links, source code repositories, and project details. This feature also serves as an inspiration and resource hub for creating professional portfolios.

This Feature is available in this project - same like this 👇🏻 Take help by this

Portfolio Ideas inspiration --- https://portfolio-ideas.vercel.app/portfolio.html
Source code --- https://github.com/Evavic44/portfolio-ideas

Benefits to the Community

Inspiration:

Empowers others to create or improve their portfolios by learning from real-world examples.

Skill Development:

Encourages contributors to refine their skills while crafting their portfolios.

Networking Opportunities:

Helps tech enthusiasts connect with like-minded individuals and potential collaborators.

Career Growth:

Boosts visibility for contributors, increasing their chances of landing job opportunities or freelance projects.

Community Engagement:

Strengthens the DevDisplay community by fostering collaboration and peer support.

🌟 Benefits of Contributing to This Feature 🌟
By contributing to this feature, you will unlock a range of opportunities to boost your tech career and professional growth:
Benefits of Contributing to DevDisplay

Gain Recognition 💌

Be selected as a core team member of the Global Tech Community - DevDisplay, a platform destined to become the Global Tech Hub.
Your name will be featured on the Contributor Wall of Fame, gaining visibility across the global tech community.

Build Your Career Credentials 🚀

Receive an Internship & Work Experience Certificate from DevDisplay, validating your contribution to this global open-source initiative.
This certificate will significantly enhance your resume and help you stand out in job applications, giving you an edge in securing better opportunities in your tech career.

Unlock Exclusive Opportunities 🎯

Priority Access to:

Hybrid Remote & Onsite Jobs.
High-paying freelance projects and big contract opportunities.
Hackathons, Tech Events, Bootcamps, and Open Source Collaborations.

Gain personalized referrals and recommendations from the DevDisplay network to accelerate your career growth.

Be Part of a Global Vision 🌐

Contribute to a platform that connects developers worldwide, fosters collaboration, and celebrates innovation.
Your work will directly impact the success and engagement of a thriving global tech community and leave a lasting legacy.
Play a key role in enhancing user engagement and community experience, leaving a lasting legacy on the platform’s development and growth.

Enhance Your Portfolio 📈

Strengthen your professional portfolio with an impressive contribution to a live, open-source project.
Highlight your ability to design and implement interactive features such as voting and liking systems.

Expand Your Network - Networking Opportunities 👋🏻

Collaborate with a diverse community of developers, designers, and tech enthusiasts from around the globe.
Build meaningful connections that could lead to mentorship, partnerships, and career advancements.

Earn Swag and Goodies 🎁

As a token of appreciation, contributors will receive exclusive DevDisplay merchandise, including:

T-Shirts, Hoodies, and Caps to celebrate your role in the community.
Stickers, Notebooks, and Tech Accessories.
Special "Top Contributor" Swag for standout participants.

Swags are shipped worldwide, so you’ll receive them no matter where you are!

Celebrate Your Achievements 🏅

Contributors to top features will be celebrated with:

Special shoutouts on DevDisplay’s platform and social media channels.
Invitations to exclusive events like hackathons, meetups, and webinars hosted by DevDisplay.

For More Details and Help

Join DevDisplay Discord Community: Discord Community

Join DevDisplay WhatsApp Community: WhatsApp Community

Connect with other developers and collaborate on exciting projects.

Reach Out to the Team:

Company Email<EMAIL_ADDRESS>Creator's Email<EMAIL_ADDRESS>

Connect on Social Media:

GitHub Organization: https://github.com/devdisplay
LinkedIn: https://www.linkedin.com/company/devdisplay/
Twitter: https://x.com/devdisplay_
Instagram: https://www.instagram.com/devdisplay/

Thanks and Best Regards
The DevDisplay Team 💌

Add screenshots
Add screenshots
Code of Conduct

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

Please assign this issue I will work on it 😊 @codeaashu

Hey @srujanGowda08
Now you will assign for this work
Let's start your journey 🚀
This contribution is not just about open source or SWOC. - It's about showcasing your skills, standing out, and making an impact. If you give your 100% and create something exceptional, you could even join our Core Team and lead our organization and community as a Community Leader in your area, college, or university.
Think of this as your own project, not just a task. DevDisplay isn’t my personal project—it’s a vision to fulfill all the tech needs of developers in one place. It’s a platform created by developers, for developers. So don’t hold back—let your creativity flow and bring your best ideas to life!

is there any update? @srujanGowda08


SVclone bioconda installation error

Hi there,
I was trying to install svclone, but am running into a non-descriptive error (screenshot attached). I've tried updating my conda installation, and installing both in and out of a virtual environment, but still get the error.
Any guidance would be appreciated, thank you!

I notice you are using Windows, which we haven't tested SVclone on, and therefore can't guarantee compatibility. Please try installing it using something like Windows Subsystem for Linux.

Thanks for your response! I had also already tried running the commands in a Linux environment, but recieved a Network error (screenshot attached).


CLOUDP-128679: Allow to sync back Private Endpoints

It is impossible to fill in all of the PE spec fields for Azure and GCP (backwards) just from Atlas reply.
This change solves this by checking only the necessary fields as long as the connection was already established.

This PR waits for test fixes to be merged:

#601
#602


Fix skipna=None for DataFrame.sem

I think this is safe to just change without a deprecation cycle since None evaluated to True anyways.

Hrm, looks like the upstream build has an (unrelated) package resolution error
 The conflict is caused by:
    The user requested fsspec 2022.1.0 (from git+https://github.com/intake/filesystem_spec)
    s3fs 2021.11.1+11.g7558e34 depends on fsspec==2021.11.1

My guess is this is related to the fsspec release today (cc @martindurant)

Indeed, fsspec is out but s3fs not yet. I tend to wait for conda-forge to build first, but it's taking long, so I suppose I'll push to pypi immediately.

Thanks for taking a look @jrbourbeau :) yeah I've been testing these out locally and for upstream, but doesn't hurt to run them in CI too. There are still a lot of failures, but slowly slowly the number is coming down.

Thanks for the clarification @martindurant. It'd be great to have the new s3fs release out on PyPI but no need to rush things on account of this PR if you'd prefer to wait a bit for conda-forge builds to finish up first

https://github.com/fsspec/s3fs/pull/576

done

Thanks @martindurant @jsignell. The sem-related tests are passing now 🎉


Adding the SPI_MasterSlave example to all micros with EV Kits that support it.

/clang-format-run

Most of the file changes in this PR are due to the clang-format-run workflow formatting the third-party libraries. However, that workflow should have excluded all the third-party library files, so something is off. Need to investigate.

Most of the file changes in this PR are due to the clang-format-run workflow formatting the third-party libraries. However, that workflow should have excluded all the third-party library files, so something is off. Need to investigate.

@sihyung-maxim @Jacob-Scheiffler revert https://github.com/Analog-Devices-MSDK/msdk/pull/264/commits/4f273f236ac41eeffb41ba22f7bfbf6989211b3b, merge with master, then re-run the formatter.
The formatter was updated to ignore submodule files in https://github.com/Analog-Devices-MSDK/msdk/pull/234, so this branch is probably just a little behind

/clang-format-run


LimitChunkCountPlugin bug with maxChunks: 1

Bug report

What is the current behavior?
Using new webpack.optimize.LimitChunkCountPlugin({ maxChunks: 1 }) in my build process generates the following message:
chunk main [entry]
Cannot convert undefined or null to object

If the current behavior is a bug, please provide the steps to reproduce.
To reproduce just use the LimitChunkCountPlugin plugin with maxChunks: 1

What is the expected behavior?
Run without any error.

Other relevant information:
webpack version:  4.41.0
Node.js version: 10.16.0
Operating System: macOS Mojave 10.14.6

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

I too faced the same issue. maxChunks: 2 and above was success but maxChunks: 1 failed with same error.
Then realized that I am using lazy load in react which obviously, by it's design, needs a separate chunk.
const MyComponent = lazy(() => import("my-component"));

If you're facing same scenario, and if you need only one js and no more chunks you can remove lazy load. If you need lazy load, you need chunks.

@robertsonk82 exactly. We use LimitChunkCountPlugin only on the server to do SSR with React, but a Babel plugin takes care of converting those dynamic imports into static ones.

@robertsonk82 React.lazy doesn't actually need a separate chunk. All it needs is a Promise of an object with key default.
This works: const LazyComponent = React.lazy(() => Promise.resolve({ default: SomeComponent }))


Invalid url when using full path "publicPath" option

https://github.com/webdiscus/pug-plugin/blob/9a78ba11d9fad37a50e8f18247c86ede0f1082c8/src/Asset.js#L100
Hello! I am not entirely sure but I found an issue that look like a bug to me.
In one of my projects I use CDN url in  publicPath webpack option which looks like this:
// ...
output: {
    path: path.join(__dirname, 'dist/'),
    publicPath: 'https://www.example.com/',
    clean: true
},
// ...

But in my html file it looks like this:
<link href="https:/www.example.com/static/css/display-9553306b629decdb02ed964372181d38.css" rel="stylesheet">

Further investigation showed that in Asset.js file publicPath concatination using function path.posix.join
And it looks like a source of the problem.
Test script:
const path = require('path');

const publicPath = 'https://www.example.com'
const assetFile = 'static/css/display-9553306b629decdb02ed964372181d38.css'

const result = path.posix.join(publicPath, assetFile)

console.log(result)

// outputs
// https:/www.example.com/static/css/display-9553306b629decdb02ed964372181d38.css

Quick fix could be something like:
// ...
if (this.isUrlPublicPath) {
    let url = new URL(assetFile, this.publicPath);
    return url.href;
}
return path.posix.join(this.publicPath, assetFile);
// ...

Hello @var211,
Thanks for the bug report.
Can you please clarify:

source code
what is received
what is expected

For example:
Config:
output: {
    path: path.join(__dirname, 'dist/'),
    publicPath: 'https://www.example.com/',
},

Source:
link(href=require('./style.scss'))

Received:
<link href="https:/www.example.com/static/css/display-9553306b629decdb02ed964372181d38.css" rel="stylesheet">

Expected:
<link href="???" rel="stylesheet">

Ok, sure.
Config:
output: {
    path: path.join(__dirname, 'dist/'),
    publicPath: 'https://www.example.com/'
}

Source:
link(href=require('../css/display.css') rel='stylesheet')

Received:
<link href="https:/www.example.com/css/display-a73fa0a651b8c02f99ee7b838473678b.css" rel="stylesheet">

Expected:
<link href="https://www.example.com/css/display-a73fa0a651b8c02f99ee7b838473678b.css" rel="stylesheet">

Is it clear enough? Expected behavior is to leave publicPath unchanged. Current version removes second slash - / from publicPath.

@var211,
thanks for explain, I didn't attention to the slashes.

@var211
in the v4.9.8 the bug is fixed.
Thank you!


[Publication]: Postfix with version added to chat when not author publish new version

EPAM AI DIAL chat version
0.18.0
How to reproduce
Steps:

by user1 create chat01
by user1 create publication request of version 0.0.1 of chat01
by admin approve publication request
by user2 duplicate chat01 v.0.0.1 from Organization
by user2 add new message to chat01
by user2 create publication request for chat01 -> version 0.0.1 displayed for publish, not changed to 0.0.2 ->bug
by admin review request from user2 -> chat name was changed to chat01__0.0.1

Actual result

![Screenshot 2024-09-25 at 15 08 38](https://github.com/user-attachments/assets/55735070-fef4-45ff-a5cd-387ac5bc2f14)
Expected result
Chat name should not be changed while publication request creation
New version should be increased automatically to next minor version
Confidential information

[X] I confirm that do not share any confidential information

in publish request from user2 :

version is displayed instead of name of conversation
N/A displayed for version

issue is not reproducible


[AVM Module Issue]: DevTest Lab Network - Optional parameter sharedPublicIpAddressConfiguration is not optional

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
Module Name
avm/res/dev-test-lab/lab
(Optional) Module Version
0.3.1
Description
Using AVM DevTest Lab module, the parameter sharedPublicIpAddressConfiguration should be optional, but reports error if omitted:
Error: Code=InvalidTemplate; Message=Deployment template
| validation failed: 'The provided value for the template parameter
| 'virtualnetworks[0].subnetOverrides[0]' is not valid. A non-null value
| for the property 'sharedPublicIpAddressConfiguration' must be provided,
| but the property was null or missing.
Deploying a DevTest Lab using a bicep resource of the same API version does not require this parameter.
If the parameter is supplied, it enables the Enable shared public IP option for the subnet which is not the desired configuration.
(Optional) Correlation Id
No response

Using module version 0.3.2
This is still not working for me. The documentation still says this is optional, but if I still get the error if omitted:
13:04:38 - Error: Code=InvalidTemplate; Message=Deployment template
| validation failed: 'The provided value for the template parameter
| 'virtualnetworks[0].subnetOverrides[0]' is not valid. A non-null value
| for the property 'sharedPublicIpAddressConfiguration' must be provided,
| but the property was null or missing.
The updated documentation contains an error about the parameter type. It requires an object, but says valid options are a string type:
sharedPublicIpAddressConfiguration	object	The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
Which give the error:
13:16:29 - Error: Code=InvalidTemplate; Message=Deployment template
| validation failed: 'The provided value for the template parameter
| 'virtualnetworks[0].subnetOverrides[0].sharedPublicIpAddressConfiguration' is not valid. Expected a value of type 'Object', but received a value of type 'String'.
Am I missing something on how to disable this setting?

Ahmed,
This was an issue on my side. I updated my bicep file, but forgot to publish it to the template spec, so it wasn’t really updated for the Deployment Stack.
Still getting my process down for the move from Blueprints to TemplateSpecs/Deployment Stacks.
Thanks for all your assistance.
Side question, how are we supposed to know to use 0.3.2, as the official version still seems to be 0.3.0. I just used trial and error.
Regards,
Sam
From: Ahmad Abdalla @.>
Date: Monday, September 9, 2024 at 8:44 AM
To: Azure/bicep-registry-modules @.>
Cc: WILLIAMS Samuel H (Sam) @.>, Mention @.>
Subject: Re: [Azure/bicep-registry-modules] [AVM Module Issue]: DevTest Lab Network - Optional parameter sharedPublicIpAddressConfiguration is not optional (Issue #3126)
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
@HexagonSamhttps://github.com/HexagonSam let me have a look deeply into this. I've added additional test scenarios for vnet properties to validate it. Will come back to you. Thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/bicep-registry-modules/issues/3126#issuecomment-2338168519, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM3IW2R3W3U6KX5YHTVUPDLZVWQ35AVCNFSM6AAAAABNMPPOZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGE3DQNJRHE.
You are receiving this because you were mentioned.Message ID: @.***>

This was an error on my side, forgot to publish my updated bicep file to the template spec. Works now leaving this parameter out.

@HexagonSam I did quick check to see the latest published version

Which has been created as a tag as well: See https://github.com/Azure/bicep-registry-modules/releases/tag/avm%2Fres%2Fdev-test-lab%2Flab%2F0.3.2
@Azure/avm-core-team-technical-bicep Is their specific time on when would be the latest release tag for a module available on the Bicep Registry?

The @ahmadabdalla,
the module is available and can be used right after publishing. It's the VSCode extension that unfortunately needs some time to catch up as it caches the module versions instead of loading them each time. I don't know how long it waits but I think already restarting VSCode should do the trick if you want the dropdown to refresh. But again, you don't actually need the cache to refresh to reference the module. If you just set the version you want, Bicep will work with it.


Monitor disk usage on separate volume

On some of my systems /var/lib/docker is a tmpfs ramdisk. I want to monitor free space on it. Is this possible?
I've mounted it into the dd-agent container: -v /var/lib/docker:/ramdisk:ro
However I'm not seeing any metric other than system.disk.free.  Any tips?

Hi @bkeroackdsc
Thanks for reaching out, I think what you're looking for is the use_mount option. The metric is probably collected already, it just shows up under the tmpfs device tag because if use_mount is false (it is by default) the device tag is the filesystem, not the mount point.
You can find this option here: https://github.com/DataDog/dd-agent/blob/5.8.5/conf.d/disk.yaml.default and the behavior I described here: https://github.com/DataDog/dd-agent/blob/5.8.5/checks.d/disk.py#L106
To modify the option you can build your own image based on ours and modify the config file there, or use this feature: https://github.com/DataDog/docker-dd-agent#enabling-integrations to add your own disk.yaml with use_mount: yes.
Let me know how that goes.

Closing as it should be solved. If not feel free to reopen.


for_window window class criteria not compatible to i3

Hi, you use wlc_view_get_class() but this does not return the criteria i3 uses:

%class
The X11 window class (second part of WM_CLASS)

(http://i3wm.org/docs/userguide.html)
but the first one:
12/28/16 13:47:38 - [handlers.c:341] handle:4 type:0 state:0 parent:0 mask:0 (x:0 y:0 w:1916 h:509) title:Mozilla Firefox class:Navigator appid:(null)

WM_CLASS(STRING) = "Navigator", "Firefox"

Sounds like a wlc issue?

Well, it returns a window class but in case there are two different ones, it's not the one we want / i3 specifies.

Right, but wlc provides an abstraction that prevents us from having to use x-isms and if the second class is the more canonical one or something then wlc should return that. If not then it's just an incomparability we'll have to live with - I've always been okay with incomparability where x-isms are concerned.

I'm not sure whether it's the more canonical one, I've never really touched X. But if so, then it's a wlc issue, yes

Well, find out if it is and bring it up with them please.

Hm, it seems to be more of what we want if I read this correct:

WM_CLASS Property
The WM_CLASS property (of type STRING without control characters) contains two consecutive null-terminated strings. These specify the Instance and Class names to be used by both the client and the window manager for looking up resources for the application or as identifying information. This property must be present when the window leaves the Withdrawn state and may be changed only while the window is in the Withdrawn state. Window managers may examine the property only when they start up and when the window leaves the Withdrawn state, but there should be no need for a client to change its state dynamically.
The two strings, respectively, are:

A string that names the particular instance of the application to which the client that owns this window belongs. Resources that are specified by instance name override any resources that are specified by class name. Instance names can be specified by the user in an operating-system specific manner. On POSIX-conformant systems, the following conventions are used:

If "-name NAME" is given on the command line, NAME is used as the instance name.

Otherwise, if the environment variable RESOURCE_NAME is set, its value will be used as the instance name.

Otherwise, the trailing part of the name used to invoke the program (argv[0] stripped of any directory names) is used as the instance name.

A string that names the general class of applications to which the client that owns this window belongs. Resources that are specified by class apply to all applications that have the same class name. Class names are specified by the application writer. Examples of commonly used class names include: "Emacs", "XTerm", "XClock", "XLoad", and so on.

Note that WM_CLASS strings are null-terminated and, thus, differ from the general conventions that STRING properties are null-separated. This inconsistency is necessary for backwards compatibility.

https://www.x.org/releases/X11R7.7/doc/xorg-docs/icccm/icccm.html#WM_CLASS_Property
I'll make an issue on wlc


Fixed min attribute. now properly clamps min value in inspector

XRTK - Mixed Reality Toolkit Pull Request
Overview

added checks for near clips values in the camera data provider to prevent them from being set to zero
updated all submodules

Changes

Fixes: https://github.com/XRTK/WindowsMixedReality/issues/93

PR looks good. Personally I don't see a scenario where profile properties need a Setter. Profile are just for in-editor configuration using the inspector. People shouldn't change profile values in code.


Evaluate arbitrary many arguments

https://github.com/geo-ant/varpro/blob/f2adeec4a100714d7915fb7014ce09d91246d299/src/basis_function/mod.rs#L22
I noticed this comment while trying to solve my problem. I want to control how precice the solver gets to be by inputting the number of parameters to try dynamically. How do I do this with varpro?

Hi! There are two APIs that allow you to interface with the library. The one that you are referring to is the SeparableModel(Builder). I did not design it in a way that lends itself to work with a runtime known number of arguments for the basis functions. I think it makes usability just a bit nicer like that, but it does prevent you from adapting it to your usecase.
However, there is a second interface to the functionality. That's the SeparableNonlinearModel trait.If you implement that for your problem, I'm sure you'll be able to achieve what you want. The documentation gives a detailed example. If you have more questions I'll try and help you.

Hey @danhab99, just checking if you are happy with my suggestion or if you need further assistance. If you don't need more help I'd like to close this issue.

Hey @geo-ant, I think implementing this trait is the way to go.. I haven't gotten something working yet but this is my first rust project so...
Thanks for the advice tho

Ok great, always cool to see new people getting into the language. I'll close the issue for now, but please feel free to open up a new one anytime you feel stuck. I always try to help, but my response times may vary.


coarsetransformer has wrong code?

we can get [batchsize, encodec quantizer number, timesteps] from encodec, and I think that the codes related to cuting encoec output down to the number of coarse quantizers(=3) should be changed from " coarse_token_ids, _ = indices[..., :num_coarse_quantizers], indices[...,num_coarse_quantizers:]
" to
coarse_token_ids, _ = indices[..., :num_coarse_quantizers, :], indices[...,num_coarse_quantizers:,:]
, am I mistaken?

At the soundstream code you mentioned, it's set to (batchsize, timestep, quantizers(=8)) instead of (batchsize, quantizers(=8), timestep), so I think we can change the Output like the soundstream in the encoder python code.

Wait a minute, I think I figured out the mistake. The original Soundstream code is correct-- the problem I had was that x is reshaped to batch x codebook size x timesteps but crucially indices is still batch x num_frames x num_quantizers and each frame corresponds to a single set of ids (one for each quantizer). So I think the Soundstream code is compatible with the coarse transformer code and the error is in my Encodec implementation.


Update examples of wildcard usage to use quotes

Currently running shep build * or shep deploy beta * doesn't work as expected. * is replaced with the contents of the current directory before shep gets the argument. shep build * doesn't throw any errors, but functionally does nothing. shep deploy beta * fails on uploading functions, but has a cryptic error.
We should probably warn against this somewhere.
Note: when the wildcard is escaped, everything works as expected.

Closed in #224


About the settings for imagenet

I want to know whether the parameter setting for imagenet is same as cifar ?  I load the inception V3 and search for the c via 9 times binary search, which cost much time for training, can you share some ideas about how to accelarating the training process in your method ?

Ah, sorry. Missed this email. It's going to be slow with a few thousand iterations of gradient descent regardless. If you set the number of search steps to 3 or 4 it's probably fine if you have a good initial guess. But yeah, it's just slow. "reasonable" settings are here
https://github.com/tensorflow/cleverhans/issues/813
cw_params = {'binary_search_steps': 4,
            'max_iterations': 2000,
            'learning_rate': 0.0001,
            'initial_const': .1,
            'clip_min': 0,
            'clip_max': 1,
            'abort_early': True,
            'batch_size': 50}

Ah, sorry. Missed this email. It's going to be slow with a few thousand iterations of gradient descent regardless. If you set the number of search steps to 3 or 4 it's probably fine if you have a good initial guess. But yeah, it's just slow. "reasonable" settings are here
tensorflow/cleverhans#813
cw_params = {'binary_search_steps': 4,
            'max_iterations': 2000,
            'learning_rate': 0.0001,
            'initial_const': .1,
            'clip_min': 0,
            'clip_max': 1,
            'abort_early': True,
            'batch_size': 50}

Thanks, I have another question about the definition of best case and worst case setting in your paper,
For example, in your paper, which defines the best case as follows:
Best Case: perform the attack against all incorrect classes,
and report the target class that was least difficult to attack.

But I don't know what is the meaning of least difficult to attack, did you just attack all the other labels and take the best case just according to which one hase the smallest L_norm value ?

Yep.


Broken New Update Firefox

Mozilla Firefox Version 133.0 Totally Broken

It's been a while since I last updated the repository. I haven't been using my personal laptop or browser frequently lately, but I'll try to update it when I have some free time.

Okay, I’m waiting for the update!

Mozilla Firefox Version 133.0 Totally Broken
It can be made usable by making these changes :
In:
urlbar.css

change width from 100 % to 25vw to fix window span.

#urlbar[breakout][breakout-extend][focused] {
width: 23vw !important;
}

delete these lines in case accessing the menu toolbar  with "alt" button:
#urlbar[breakout][breakout-extend][focused] {
top: 0 !important;
left: 0 !important;

3 remove some icons and empty spaces ... :
#identity-icon-label,
#star-button-box,
#shopping-sidebar-button,
#save-to-pocket-button,
#fxa-toolbar-menu-button,
#star-button,
#customizableui-special-spring1,
#cusomizableui-soecual-spring2 {
display: none !important;
}
in tabbar.css
1: fix misalignment  of tabs
#TabsToolbar-customization-target {
position: relative !important;
top: 8px !important;
}
2. Fix misalignment of new tab icon.
#tabs-newtab-button > .toolbarbutton-icon {
bottom: 4px !important;
And that's the extent of my nob editing skills... It works and looks ok but :
When rearranging tabs  there's some cosmetic issue and the extension icon   pops through the first tab when using it  in half screen mode ..


Model.destroy does not follow ActiveModel /AR behavior

After calling #destroy on a record #new_record? returns true. This is invalid and causes problems, for example when using with rails' dom_id helper.
The correct behavior, according to https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb, should be:
record.destroy
record.destroyed? -> true
record.new_record? -> false
record.persisted? -> false

Sorry, more testing showed me that these methods actually do work correct.
The problem seems to be that #to_key does not return anything for destroyed records in mongoid (even thought the id is still in the record in memory), but in AM / AR it returns the same key as before.

https://github.com/rails/rails/blob/master/activemodel/lib/active_model/conversion.rb#L40
Returns an Enumerable of all key attributes if any is set, regardless
if the object is persisted or not.


Update SDK bindings to 73.0 (Firmware 1.0.1)

All the examples appear to be working and the image example is no longer crashing.
Unit test all pass on my updated Flipper running 1.0.1 firmware.
Changes:

Update SDK bindings to 73.0
Switch to unstable-2024-09-10 toolchain (i.e. 1.83.0-nightly)
Remove toolbox::md5 and toolbox::sha256 that are no longer exported by the SDK

Fixes: #150

@dcoles, could you please write the release notes for the release in GitHub Releases page?
Please note, that main is now beyond the release commit, so the one you may want to tag is probably 2b1c52b577a234be7827442607583a53efda9ddd.

@dcoles, could you please write the release notes for the release in GitHub Releases page?

Thanks for the reminder. I've pointed it at the v0.12.0 tag.


[Extension] Fix earning data for update chain online

Refer: https://github.com/Koniverse/SubWallet-Extension/issues/3084

Version test: http://<IP_ADDRESS>:8900/s/Atfejbd7riHR6Nk
Validation passed in case

Check case turn on/off network

Check list Chainlist
Check case stake: pool/native staking

Check case install

Create new/Attach/Import account

Check case upgrade version
Check case failed to get PoolInfo the first time
Check job PoolInfo
Check case enable default network


python-machine-learning error: unable to execute: No such file or directory

steps

clone only the https://github.com/nix-community/dream2nix  examples/packages/single-language/python-machine-learning
nix run .
get error

result
lizelive@reese:~/Documents/learn-dream2nix/python-machine-learning]$ nix run ./
error: unable to execute '/nix/store/hp0mmczcd85ylm8slm7ndm9mgqh9ncab-python3.10-someproject-0.1.0/bin/someproject': No such file or directory

notes
being in a git repo does not change the results
can workaround by adding
[project.scripts]
"someproject" = "someproject:main"

and adding __init__.py with

def main():
    import PIL
    import sklearn
    import torch

    print("hello world")

    assert torch.cuda.is_available(), "cuda is not available"

hello im curious to how the example is supposed to work.


Requires Tatin to intialise before opening project

Don't know whether this is documented and I missed it, but
      ]CIDER.OpenProject \g\ParquetDotNet
* Command Execution Failed: VALUE ERROR: Undefined name: Tatin

goes away if I first do
      ]TATIN.Version
┌─────┬───────────┬──────────┐
│Tatin│0.90.0+1485│2023-02-27│
└─────┴───────────┴──────────┘

I would expect not to have to call a different UCMD before being able to use Cider

Tatin it's will be part of a 19.0 standard installation. In older versions it's up to the user to make sure that it's loaded into ⎕SE.
However, the error message should be more explicit about what's required.

Changed my mind. Solved in version 0.23.4


Update Composer dependencies (2024-09-13-00-16)

Visual regression test passed!
View the visual regression test report


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.4.134",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=db222f1477ad5692cd454709b714949807e5d111"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "db222f1477ad5692cd454709b714949807e5d111",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "watchdog: Fix possible use-after-free by calling del_timer_sync()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.134 by commit db222f1477ad5692cd454709b714949807e5d111. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001330


Bump libraries

WHY
WHAT
REF

Codecov Report

Merging #198 into master will increase coverage by 0.09%.
The diff coverage is 53.33%.

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
+ Coverage   60.77%   60.87%   +0.09%
==========================================
  Files          39       39
  Lines        1420     1421       +1
==========================================
+ Hits          863      865       +2
  Misses        496      496
+ Partials       61       60       -1

Impacted Files
Coverage Δ

pkg/grapicmd/context.go
57.77% <0%> (ø)
:arrow_up:

pkg/grapicmd/cmd/cmd.go
0% <0%> (ø)
:arrow_up:

pkg/protoc/providers.go
0% <0%> (ø)
:arrow_up:

pkg/excmd/executor.go
86.11% <100%> (ø)
:arrow_up:

pkg/cli/ui.go
90.9% <80%> (ø)
:arrow_up:

pkg/grapiserver/gateway.go
78.57% <0%> (+3.57%)
: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 8ce645a...9d78f00. Read the comment docs.


Make String#strip spec compliant, implement String#lstrip and String#rstrip

Dude! Thanks so much!

Oops, should have copied in the spec files from ruby/spec. But you didn't know that. I'll do it in another commit later...

I added the specs in c856b1a9ecbec18a4c29ca95cb17686ddf281f30.


[BEAM-3741] Proto changes for splitting over Fn API

The protobuf part of https://s.apache.org/beam-breaking-fusion#heading=h.dlfb7d3evyih
The changed parts of the protos are unused (the previous design was not implemented), so this requires no code changes.

Quick comment on the main question:

I don't see how this enables the P1 issue of being able to split the reads from the data channel.

For the case of just running SDFs and checkpointing them, this turns out to be not needed - see https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.8v97pfktquar and https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.rdqoaukyv057
For the more general case of e.g. liquid sharding an SDF in a batch runner, splitting reads will be needed, but for a while it'll be sufficient to do the "simple" case from https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.rqko40b614vi . This will, too, be encoded as an Application of the read from gRPC instruction to an element, where the element is e.g. an encoded Long (index up to which the channel was read). I.e., no proto changes will be needed to support that, only implementation changes (SDK harness splitting the instruction, runner harness reifying the split into applications that generated that data).

On Fri, Feb 23, 2018 at 5:20 PM Eugene Kirpichov<EMAIL_ADDRESS>wrote:

Quick comment on the main question:

I don't see how this enables the P1 issue of being able to split the
reads from the data channel.

For the case of just running SDFs and checkpointing them, this turns out
to be not needed - see
https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.8v97pfktquar
and
https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.rdqoaukyv057

Don't we want to be running SDFs over things like lists of filenames? Or is
the implication that each filename is guaranteed to be in its own bundle?

For the more general case of e.g. liquid sharding an SDF in a batch
runner, splitting reads will be needed, but for a while it'll be sufficient
to do the "simple" case from
https://docs.google.com/document/d/1tUDb45sStdR8u7-jBkGdw3OGFK7aa2-V7eo86zYSE_4/edit#heading=h.rqko40b614vi
. This will, too, be encoded as an Application of the read from gRPC
instruction to an element, where the element is e.g. an encoded Long (index
up to which the channel was read). I.e., no proto changes will be needed to
support that, only implementation changes (SDK harness splitting the
instruction, runner harness reifying the split into applications that
generated that data).

I'm going to go and read the doc, as PRs tend to be too low-level, but I
think we need should focus on splitting the data channel (including withing
a particular element) work well, and this proposal seems to focus on
splitting at fusion boundaries, with splitting on the data channel an
afterthought.

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

Don't we want to be running SDFs over things like lists of filenames? Or is the implication that each filename is guaranteed to be in its own bundle?

The protos are the same for supporting both cases. Implementation-wise, I'm going to start with the special case where every restriction is in its own bundle, which lets us support SDFs for unbounded sources in streaming over Fn API. Next step is the case "single splittable instruction in runner, feeding into single SDF" (which can be either inside the runner - simpler - or over a gRPC channel - a bit harder but not too much) which gives liquid sharding and SDFs over lists of filenames and so on. Next step after that is deep splitting inside a fused graph. Then, gRPC channels in arbitrary places in the graph (not sure how to solve this yet, but it's also less critical). Protos stay the same throughout all this - in this sense, the document is useful because it lets think about all these cases in the same framework.
So yes, please let me know what you think after reading the doc!

All comments addressed, PTAL.


Documentation: better documentation menu, add guide to writing a client

Documentation: better documentation menu, add guide to writing a client

* Adds some links to the more relevant documentation pages on the main
README.md
* Adds a document informally describing how to write a client of delve
* Adds link to slides describing the architecture of delve

I am concerned about the quality of some of delve's clients. All of this was already documented in godocs throughout the code, but I want it to collect it into a single document to make it easier to find.
Hopefully this will help with improving the quality of delve's client UIs.

Done. I've also made a set of example programs to be used to test clients and linked it in the document.

cc @zolotov  @visualfc @ramya-rao-a @mattn @Carpetsmoker this could be useful to you, particularly the test cases linked at the end.

@aarzilli Thanks for the notes. Can we add a few more details around gracefully ending the debug process? In VS Code, I have issues mainly around

clearing the debug binary file that gets created during every debugging session
ensuring any processes started by the program being debugged (for eg: web servers). For this at the moment I am manually killing the process for the headless server and all its children.


Generic inferred as any for function reference in pipe

TypeScript 2.4.1 and 2.6.0-rc
import { pipe } from 'ramda';

declare namespace MyModule {
    export function parse(str: string): {};
    export function parse<T extends {}>(str: string): T;
}

{

    // Inferred type is `(x0: string) => any`, expected `(x0: string) => {}`
    const fn = pipe((x: string): string => x, MyModule.parse);

    // Inferred type is `(x0: string) => {}`
    const fn2 = pipe(
        (x: string): string => x,
        str => MyModule.parse(str),
    );
}

I'm using the latest Ramda typings which define pipe as
pipe<V0, T1, T2>(fn0: (x0: V0) => T1, fn1: (x: T1) => T2): (x0: V0) => T2;

This seems to be working in typescript@next with<EMAIL_ADDRESS>It also works if I write declare function pipe<V0, T1, T2>(fn0: (x0: V0) => T1, fn1: (x: T1) => T2): (x0: V0) => T2;.

Fantastic, thanks @andy-ms


New features of Modelica.Magnetic.FluxTubes

Reported by christiankral on 15 Jan 2014 20:13 UTC
New features and models and features to be implemented in FluxTubes:

Alternative parameter G in EddyCurrent model as proposed in #361
Constant permenance model
Generic constant reluctance model with parameters l and A
Idle model (as in FundamentalWave)
Short model (as in FundamentalWave)
Crossing model (as in FundamentalWave)

Migrated-From: https://trac.modelica.org/Modelica/ticket/1396

Comment by christiankral on 15 Jan 2014 20:16 UTC
Implemented new models in e20ef82774ab9e69f8edc0c95e3200c31081f3cb.

Modified by beutlich on 29 Oct 2015 15:15 UTC

Changelog modified by beutlich on 29 Oct 2015 15:15 UTC
Added new features to Modelica.Magnetic.FluxTubes


Format on save option and ctrl+alt+f do nothing

I can manually select to prettify but selecting format on save or doing ctrl+alt+f both do nothing on .js files
❯ atom --version
Atom    : 1.12.0
Electron: 1.3.6
Chrome  : 52.0.2743.82
Node    : 6.3.0

Have you got any warnings after install?
I have got it, as I have described in #5
Installation has failed, so plugin does nothing.

See above comment, it probably was failing to install for you. Try to latest version of prettier-atom, it should work.


Modal autocomplete address form

I try to create an google autocomplete address field on a modal. But it is not working.
Do you have any suggestion?
Thank you so much.

Show your code for us!
We need more details.

I fixed it by set .pac-container { z-index: 100000; }
Thanks


codecov

代码测试覆盖率

Codecov Report

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

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   56.21%
=========================================
  Files             ?       10
  Lines             ?      370
  Branches          ?       28
=========================================
  Hits              ?      208
  Misses            ?      161
  Partials          ?        1

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 968a175...a1f7a95. Read the comment docs.


setNativeProps breaks Animated support

Hi,
With 890fd18 this component was modified to allow use in TouchableHighlight, etc. This broke support for passing this component to Animated.createAnimatedComponent.

RN: 0.37
macOS: 10.12.1
iOS: 10.1

I found a relevant issue in other project: https://github.com/oblador/react-native-vector-icons/issues/337#issuecomment-259187815. Could you please verify that the proposed solution works?

Thanks that worked! It appears oblador has a PR in the ReactNative repo to resolve this more broadly :) https://github.com/facebook/react-native/pull/10827

Would it be / is it / possible to pass interpolated color values to the color prop when wrapped in animated component? I do not get it to work. Is this related?

This is fixed in react-native>=0.38.0 by https://github.com/facebook/react-native/commit/7b2ee7119a56054edf1425cda31649c4d0490c23


Update to OTS master

This change is

r? @metajack

:pushpin: Commit 65845b1 has been approved by metajack

@bors-servo r+
The documentation on how to do this again is much appreciated!

:hourglass: Testing commit 65845b1f653e5cdd0a279c7ca07d2f005d0858c5 with merge 29e879c870348c4b3fd51086e42dbb6365171479...

:sunny: Test successful - status-travis
Approved by: metajack
Pushing 29e879c870348c4b3fd51086e42dbb6365171479 to master...


Merge pull request #101 from antonybudianto/update-dep

update atl beta for faster rebuild, fix appveyor env

Coverage remained the same at 100.0% when pulling<PHONE_NUMBER>f1991b7371d641b09b67067f83b927 on update-up into 443d3bcf59fe13be7cf4f9e664bf58f8a86b0199 on master.


Nima capdocs

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/nima-capdocs/docs/

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/nima-capdocs/docs/


Item duplication

If you craft with a TFC tool (saw, chisel) sometimes the tool duplicates. Happend after the 2.20 upgrade, on official server.
I cut bamboo with saw and I got extra 8 saws (same damage as the original one). See here: https://postimg.org/image/l6xmq94up/
Somebody mentioned having similar experience with chisel.

Fixed.