Selecting 'Create Listing' from the Menu -> No 'save changes' button

Bug:

Select 'Create Listing' from the menu
The two buttons are 'Create Listing' and 'Customize'.. there is no 'Save Changes'.
Whatever you fill in is lost because the listing can't be saved.

I haven't been able to duplicate this.

It's reproducible for me.

What operating system are you on?

The 10th version of Windows.

Are you still seeing this issue? Has anyone else been able to reproduce it?

All fixed.


release: v1.0.0a3

Signed-off-by: Lars Holm Nielsen<EMAIL_ADDRESS>

Coverage remained the same at 97.068% when pulling f26f23ab5cfe4ae99e10e15ebc4a7aefc4bc4d20 on rel-v1.0.0a3 into<PHONE_NUMBER>0506acc40d5e4cbe17c485f68e79b8 on master.


bump: update notation-core-go dependency

Update notation-core-go dependency

We can remove this test
https://github.com/notaryproject/notation-go/blob/064887e1ee5b8401fdaa1373d4a93bf16691a31e/signer/signer_test.go#L171
as we don't support timestamp in rc.2.

Codecov Report

Merging #278 (7a46c3c) into main (064887e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #278   +/-   ##
=======================================
  Coverage   73.67%   73.67%
=======================================
  Files          23       23
  Lines        1994     1994
=======================================
  Hits         1469     1469
  Misses        425      425
  Partials      100      100

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


Allow users of CheckCXXSourceRuns and CheckCSourceRuns to access the …

…output from the run
While making custom finders for 3rd party libraries I was faced with some that didn't allow the version to be stripped from the header. To get around that I can use CheckCXXSourceRuns to make and run a small .cpp file which prints the version to stdout. This allows me to grab that using CheckCXXSourceRuns rather than try_run which is more difficult to use.

Thanks for also submitting this to the cmake dev list here.  That is currently the preferred place for discussion so I'll close this here and pick it up over there.


Snippet with regex transform on TM_DIRECTORY

Hi,
I migrated my snippet from VS code,
This doesn't seem to be working. Please help me with
${TM_DIRECTORY/.+java\\/|([^\\/]+)|(\\/)/$1${2:+.}/g}

File path : /home/bar/Projects/p1/src/main/java/com/foo
Result Transform : /home/bar/Projects/p1/src/main/java/com/foo
Expected Transform : com.foo
is there a way to make it work.

Wrong place to raise this issue.
Sorry


Form Service

Hi Martin,
You've done a great job. The famous open source process Engines in Java are being ported to PHP. Thanks for your effort.
It seems lacks for Form Service. And what's your idea for form connection? Thanks.
Best Regards
Jim

Hi Jim,
i decided not to implement the form-related features of Activiti because i never used them. Most of the time i needed more control over forms / layouts than auto-generated forms provided. There are no plans to implement such a feature.
I suggest using any kind of web framework (Symfony, Laravel, etc...) to handle the user interaction and forms. Use the TaskService to complete / claim tasks and pass (validated) form data to the complete() method to make it available as process variables.

Yes, it's flexible for forms. Excuse me for my question. What should be used for rendering forms? By any fields on deployment or variables on runtime? Or would you kindly like give me an example? Thanks.
Jim

Thanks for your suggestion.
Jim


Installation failed?

download and install:
root@ubuntu: /CSRF/ php -r "readfile('https://getcomposer.org/installer');" | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Composer successfully installed to: /CSRF/composer.phar
Use it: php composer.phar
root@ubuntu:/CSRF# php composer.phar require riimu/kit-csrf:2.*
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package riimu/kit-csrf No version set (parsed as 1.0.0) could not be found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.

Looks like there was a small mistake in the installation instructions. The package name in php composer.phar require riimu/kit-csrf:2.* should probably be in quotes, since some shells interpret the * as a path wildcard.
Try and see if running php composer.phar require "riimu/kit-csrf:2.*" works instead

php composer.phar require "riimu/kit-csrf:2.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package riimu/kit-csrf No version set (parsed as 1.0.0) could not be found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.

Hmm.. Maybe there is something conflicting in your composer.json file, can you please paste that here.

I use the original file unchanged. download archives again:
php composer.phar require "riimu/kit-csrf:2.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package riimu/kit-csrf No version set (parsed as 1.0.0) could not be found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.

Then, I assume it's the same issue as described here: https://github.com/fruux/sabre-vobject/issues/221
You're note supposed to copy the composer.json file from the package you are trying to copy.  To install the package all you need to do, for example, is the create a new empty directory and simply run the two following commands:
php -r "readfile('https://getcomposer.org/installer');" | php
php composer.phar require "riimu/kit-csrf:2.*"

There is absolutely no need for you to create the composer.json file yourself or copy it from the repository. The composer itself creates the file for you. If you copy the composer.json from this repository, it will create conflicts because it contains the dependencies for this project and not the one you are creating.

now its work. thank.


Suggestion: Add driver for the Xbox wireless dongle (xow)

Have you considered adding an xow driver to chimeraos? I've tested this manually and it works great. Seems like this could be useful not only to me, but to many who will be building a home console on a pc base and want to use the xbox adapter it is much more convenient than bluethooth. What do you guys think about this?
https://github.com/medusalix/xow

xow is the old driver, xone is the newer one which ChimeraOS already includes. I use it every day.
Does the xbox dongle not work for you?

Have you considered adding an xow driver to chimeraos? I've tested this manually and it works great. Seems like this could be useful not only to me, but to many who will be building a home console on a pc base and want to use the xbox adapter it is much more convenient than bluethooth. What do you guys think about this?
https://github.com/medusalix/xow

The xbox dongle should already work OOTB I use it in my systems. Xow was replaced with the xone-dkms module.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDUUSgWWOmhz4XyhZjCY8p8Peil4AJZM9nNLkB5FQMWrWQOx18pGDjBL/ZsRj4JFWgLf+e4QADotLAJH8bXobscBtV/e5kePYhnsSB69QJDU+ssdBlpefqdcMLv0dgJs6aVl49hj2dTkLUMaSgPd8XCinDyYVPiSpxTHVfYJ0StwMKbNvTfDA4xMlf5iOiigCu0tTvsV3YTBVmcH6f5mdq6Dm3N2qETusVx1zi76Tm6knRV/wSjR9QT2jg9qWNhmVEHsruC2zYWtYUyY9rGZPyyiB0GjZUi7qIshD+Z8mG/eU8XsB2jdYinPS4dCu4fi40IgW7IAYozWGkPLic2PQD0GgtuxP9Klah7qRzj9ccpBlYwkt+ZXVAaAbAI390lWUS+heII3TgjB5fTR4bqTfGFfscGUmYIoQEj9vOQZr5nuENMXH2zV4REYnbZvIgOMpa7W+5q3n4FQ3Dr9Mk3CFwXfbTlVvqQLj6uA7aMWY/7thzG3MKxfNUlE9eOYfG57ICTjSq7/j90u/IMi69WP1X4hAKiKT837d774sA/wGZZaQ3N/IXewt0argSeXVCX0BDaWgTvO/ryPeSv1XWHwDJpyKNpahCgZbHD88gHVXz2Hsenk99+uwR46AaRARthdMnWTdVH48GF/le3o37BvnwiWFaMnvTm7pnFErgDMBHyww== WeslyG-PC

I reinstalled chimeraos again from scratch, and the dongle did work correctly without xow.  Wow, thank you for that! That's really cool!


Strange symbols on toolbar buttons

I have installed alloy editor and it's working fine (ie content becomes editable and I can click on toolbar buttons to successfully apply formatting) however the icons are not displaying so I see strange symbols on the toolbar (see screenshot below).

There are no errors in the console. Has anyone encountered this before? Any ideas on how to solve?

Apologies - I raised this against the wrong project. Closing issue.


Option in frontmatter to tag all tasks

I'd like to see an option in the frontmatter to set tags that will be applied on all tasks described in the page.
Something like
---
tasktags: tag1 tag2
---

Which will implicitly tag all tasks in the page with #tag1 and #tag2

All page tasks are now added to all tasks (and items, and paragraphs and other things) through the itags (inherited tags) attribute, would that not work?

@zefhemel That sounds like a good solution! However, when I visit a 📌 tag-page, the task section does not contain tasks that have the tag as inherited.

https://github.com/silverbulletmd/silverbullet/blob/main/plugs/index/tag_page.ts#L34
The query here would need to be edited to get task where "${tagName}" in itags

@zefhemel I'd be happy to submit a PR, but I am a bit unsure whether we should apply the change to the other queries as well?


UI Gauge - Battery Level Type

Description

Adds new gauge type - "Battery Level"
Renders a % value passed to the gauge
Supports both vertical and horizontal styling (auto switches depending on the aspect ratio of the size)
Clipping to handle text overlap with the bar
Drive % from the min/max segment, not just the value passed in
Documentation
E2E Tests

To Do

Better Text sizing
Display Label?

Demo
https://github.com/user-attachments/assets/fd3b548a-89b3-434f-8efa-c31b8036073f
Related Issue(s)
Closes #1168

Add support to render a label if provided:


IntelliSense breaks when hidding sln and csproj files

Type: Bug
Issue Description
When excluding sln and csproj files from Explorer in VSCode the C# intellisense breaks entirely.
This may be by design but wanted to confirm. I'm not aware of the inner workings of VSCode and how files are presented to the C# extension, if they are listed but marked as hidden or are just not exposed at all. The reason I do this is just for clarity, it's obviously not a major issue This issue/feature maybe useful for reference as I spent the best part of a day trying to understand why this was happening. I cant remember having the issue wi
Based on the wording in VSCode:

Configure glob patterns for excluding files and folders. For example, the File Explorer decides which files and folders to show or hide based on this setting.

I've always taken this to mean hidden and not excluded, though based on this issue I'm guessing the latter is the case.
Steps to Reproduce

Create a new dotnet console application
Open in VSCode, all fine, intellisense is working
Add the following to VSCode use configuration:

"files.exclude": {
    "**/*.csproj": true,
    "**/*.sln": true
}

Close VSCode
Open console application again
IntelliSense stopped working

Expected Behavior
IntelliSense functions normally
Actual Behavior
IntelliSense no-longer working
Logs
When not hidding files:
Using dotnet configured on PATH
Dotnet path: C:\Program Files\dotnet\dotnet.exe
Activating C# standalone...
waiting for named pipe information from server...
[stdout] {"pipeName":"\\\\.\\pipe\\36def1ce-2e39-408b-a9d3-ca4766c7a3d6"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[Info  - 8:50:37 AM] [Program] Language server initialized
[Info  - 8:50:38 AM] [LanguageServerProjectSystem] Successfully completed load of c:\Users\me\Source\Personal\IntellisenseBug\IntellisenseBug.csproj
[Info  - 8:50:38 AM] [LanguageServerProjectSystem] Completed (re)load of all projects in 00:00:00.8152196
[Info  - 8:50:39 AM] [LanguageServerProjectSystem] Successfully completed load of c:\Users\me\Source\Personal\IntellisenseBug\IntellisenseBug.csproj
[Info  - 8:50:39 AM] [LanguageServerProjectSystem] Completed (re)load of all projects in 00:00:00.6529274
[Info  - 8:50:56 AM] [LanguageServerProjectSystem] Successfully completed load of c:\Users\me\Source\Personal\IntellisenseBug\IntellisenseBug.csproj
[Info  - 8:50:56 AM] [LanguageServerProjectSystem] Completed (re)load of all projects in 00:00:00.6591692

When hiding files:
Using dotnet configured on PATH
Dotnet path: C:\Program Files\dotnet\dotnet.exe
Activating C# standalone...
waiting for named pipe information from server...
[stdout] {"pipeName":"\\\\.\\pipe\\ab618a39-230c-4f16-a5a5-390ec27445e7"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[Info  - 8:52:43 AM] [Program] Language server initialized
Using dotnet configured on PATH

C# log
Post the output from Output-->C# here
C# LSP Trace Logs
Post the output from Output-->C# LSP Trace Logs here.  Requires `dotnet.server.trace` to be set to `Trace`
Environment information
VSCode version: 1.82.2
C# Extension: 2.3.27
Using OmniSharp: false
Dotnet Information
.NET SDK:
 Version:   7.0.401
 Commit:    eb26aacfec
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22621
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.401\
Host:
Version:      7.0.11
Architecture: x64
Commit:       ecb34f85ec
.NET SDKs installed:
7.0.401 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86   [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version
Folder Name

csharp
ms-dotnettools
2.3.27
ms-dotnettools.csharp-2.3.27-win32-x64

symbols
miguelsolorio
0.0.14
miguelsolorio.symbols-0.0.14

user-secrets
adrianwilczynski
2.0.1
adrianwilczynski.user-secrets-2.0.1

vscode-dotnet-runtime
ms-dotnettools
1.8.0
ms-dotnettools.vscode-dotnet-runtime-1.8.0

Extension version: 2.3.27
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 9 7950X3D 16-Core Processor           (32 x 4200)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.14GB (49.03GB free)

Process Argv
. --crash-reporter-id d19224b2-86f4-4f4a-90ba-eec055290798

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30792227
3ch9d444:30846783
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
2i9eh265:30646982
showlangstatbar:30737416
962ge761:30841074
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
copilotsettingc:30839828
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448

Unity projects make this particularly annoying, since they generate a ton of .csproj files in the root due to all the plugins/packages/etc commonly used.


iOS 10.3.3

I can confirm that this tweak works on iOS 10.3.3 when I manually changed the firmware restriction. Could you fix it so that the package restrictions are removed, so I don't need to do it manually?

This was already done in 74ac142 and will be released shortly.

Thanks! My bad. :)


[ACCUMULO-4147] - Add Accumulo Namespace Operations to Proxy

I've updated the the Accumulo Proxy to support namespace operations (including the security operations). I have tested all the new functions using the Python bindings on a mini cluster.

@tristeng  the proxy has fairly comprehensive ITs that excercise most of its API.  There are located in accumulo-test/src/main/java/org/apache/accumulo/test/proxy.  Would you be able to add test for these new namespace operations?

Whoops! Didn't even see those...was only looking under the accumulo-proxy project. Yup, will do. I'll also add in my Python IT file into the proxy/examples/python directory.

Added in IT tests for the new functions, but ran into an interesting error and am hoping you all can provide me with some insight. I've added the following test into TestProxyNamespaceOperations:
  @Ignore("namespaceIdMap() is returning unexpected results; Python client works as expected. Investigating")
  @Test
  public void namespaceIds() throws TException {
    assertTrue(tpc.proxy().namespaceIdMap(userpass).containsKey("accumulo"));
    assertEquals(tpc.proxy().namespaceIdMap(userpass).get("accumulo"), "+accumulo");
  }

You can see I've ignored it...when I run through the debugger, tpc.proxy().namespaceIdMap(userpass) returns a map that seems to list the accumulo namespace tables (unexpected):
"accumulo.replication" -> "accumulo.replication"
"accumulo.metadata" -> "accumulo.metadata"
"accumulo.root" -> "accumulo.root"

When I run this same function through the Python test client and print the map, I get this Python map (which is what I expect for this function):
{'': '+default', 'testing': '1', 'accumulo': '+accumulo'}
As far as I can tell, I haven't messed up the function in the ProxyServer.java file:
  @Override
  public Map<String,String> namespaceIdMap(ByteBuffer login) throws org.apache.accumulo.proxy.thrift.AccumuloException,
      org.apache.accumulo.proxy.thrift.AccumuloSecurityException, TException {
    try {
      return getConnector(login).namespaceOperations().namespaceIdMap();
    } catch (Exception e) {
      handleException(e);
      return null;
    }
  }

Any thoughts on where I should look?

Any thoughts on where I should look?

Looking at the test I have a strong suspicion that the reason the test is failing is because its using MockAccumulo.   When things worked w/ your Python test client, was that proxy back a mini or real accumulo instance?
I would discourage using Mock.  Its been deperecated because it was not being well maintained as features (like namspaces) were added to Accumulo.  I would also encourage you to add your namespace test to SimpleProxyBase.  TBinaryProxyIT, TJsonProtocolProxyIT, etc all extend SimpleProxyBase but run configure a different protocol.  All of the test in SimpleProxyBase are run using multiple thrift protocols.   Also, the test in SimpleProxyBase use MiniAccumulo instead of MockAccumulo.

Yes, my Python integration tests were run on a mini Accumulo cluster that I had started myself and judging by how fast the tests run in the new TestProxyNamespaceOperations class I would have to assume its using the mock instance. I'll add my tests to SimpleProxyBase, thanks!

I've added in integration tests and everything is passing. Let me know if you think I should add anything else to finish close this issue.

The changes look great.  I am finished looking at this and have nothing else to add.

@keith-turner do you have time to merge this in? I can try to swing around on it soon if not.

I'm about to add in the 2 changes Keith suggested...should only take me a few minutes, and then however long it takes to run the tests.

Thanks @tristeng.  I squashed and merge this, can you close this PR?
I ran the following test w/ no problem before pushing.  That caused some reformatting which was included in the commit I pushed.  I also added since 1.8.0 to the comment in the proxy.thrift file.
mvn clean verify -DskipITs
mvn -Dit.test=".*proxy.*" -Dtest=foo -Dfindbugs.skip -Dcheckstyle.skip -DfailIfNoTests=false verify

Thanks!


Add test for 1 and 4-channel images to test_to_tensor

Currently, test_to_tensor only tests for 3-channel inputs but the transform can accept 1 and 4-channel images too.
We should add some additional tests to this function
cc @geoffroeder this would be a good starting PR if you're keen

@alykhantejani sounds good, I'll start working on this


Tmux doesn't resize to follow terminal window size when launched from twm

When I launch tmux normally with $ tmux then resize the terminal window, the tmux window resizes as you would expect.
When I launch tmux via twm with $ twm then resize the terminal window, the tmux window does not resize/redraw. I'd appreciate any help or pointers.
twm version: 0.8.0
tmux version: next-3.4
I normally use Alacritty (v0.12.3), but have tried gnome terminal and Xterm too. Same behaviour.
EDIT: If I launch tmux first with $ tmux and then :run-shell "tmux neww twm" the resize behaviour works as expected.
Thanks.

holy crap this has annoyed me for so long, i never even considered that it was an issue only when starting through twm.
I also get the correct resizing behavior just running tmux first. I also get correct resizing if I launch tmux with twm, detach, and attach back to the twm-generated session.
i will definitely investigate this

@tombuntus are you able to check if 0.9.0 works as expected for you? i tested on as many systems and shells & terminals as I have, and so far working on all  :smile:

holy crap this has annoyed me for so long

It took me a long time and lots of frustrated time sifting through stackoverflow and github issues to realise it wasn't an issue with the terminal emulator or tmux!

@tombuntus are you able to check if 0.9.0 works as expected for you? i tested on as many systems and shells & terminals as I have, and so far working on all 😄

Works for me :+1:


jax.jvp is tricky to use with non-differentiable inputs.

Description
This ticket is a follow-up of issue #4433 following a comment by @jakevdp [link].
The following reproducer tries to compute the forward derivative of a simple function that has a differentiable and a non-differentiable (scalar, in this case) input.
import numpy as np
import jax
import jax.numpy as jnp

bug = 0

@jax.jit
def f(x, y):
    return x + y

x  = jnp.array([1,2], dtype=jnp.float32)
dx = jnp.array([10,20], dtype=jnp.float32)
y = 1

if bug == 0:
    dy = 0
elif bug == 1:
    dy = jnp.empty((), dtype=jax.float0)
elif bug == 2:
    dy = np.empty((), dtype=jax.float0)

out, tangents = jax.jvp(f, (x, y), (dx, dy))
print(f'{out=}, {tangents=}')

When the bug variable is set to zero at the top, the IMO most intuitive version of the code is used. This yields the error
Traceback (most recent call last):
  File "/Users/wjakob/test.py", line 22, in <module>
    out, tangents = jax.jvp(f, (x, y), (dx, dy))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.12/site-packages/jax/_src/api.py", line 1945, in jvp
    return _jvp(lu.wrap_init(fun), primals, tangents, has_aux=has_aux)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.12/site-packages/jax/_src/api.py", line 1962, in _jvp
    raise TypeError("primal and tangent arguments to jax.jvp do not match; "
TypeError: primal and tangent arguments to jax.jvp do not match; dtypes must be equal, or in case of int/bool primal dtype the tangent dtype must be float0.Got primal dtype int32 and so expected tangent dtype [('float0', 'V')], but got tangent dtype int32 instead.

It seems impossible to actually create a JAX array with that dtype, I tried many different things. Setting bug=1 gives an example of those difficulties:
Traceback (most recent call last):
  File "/Users/wjakob/test.py", line 18, in <module>
    dy = jnp.empty((), dtype=jax.float0)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.12/site-packages/jax/_src/numpy/lax_numpy.py", line 2305, in empty
    dtypes.check_user_dtype_supported(dtype, "empty")
  File "/opt/homebrew/lib/python3.12/site-packages/jax/_src/dtypes.py", line 685, in check_user_dtype_supported
    raise TypeError(msg)
TypeError: JAX only supports number and bool dtypes, got dtype [('float0', 'V')] in empty

Setting bug=2 finally works by creating such a float0 array using NumPy (of all things!)
out=Array([2., 3.], dtype=float32), tangents=Array([10., 20.], dtype=float32)

Anyways, this seems like a somewhat weird interface and is probably a bug. And it seems contradictory with @jakevdp's comment:

float0 arrays are purely a trace-time entity, and can only exist on the host (XLA does not have any equivalent of a float0 type).

I would also say that it's quite common for functions to accept non-differentiable arguments and still expect jax.jvp to work (such variables are bound to occur somewhere in a pytree in more complex applications)
What jax/jaxlib version are you using?
0.4.23 0.4.23
Which accelerator(s) are you using?
CPU
Additional system info?
uname_result(system='Darwin', node='Wenzels1Macbook', release='22.6.0', version='Darwin Kernel Version 22.6.0: Thu Nov  2 07:43:57 PDT 2023; root:xnu-87<IP_ADDRESS>1.17~6/RELEASE_ARM64_T6000', machine='arm64')
NVIDIA GPU info
No response

Thanks for the detail. I'm going to assign @mattjj, because he has the most context on float0. Matt, maybe this is a good case for replacing float0 with an implementation based on extended dtypes?

+1 on some kind of easy trace-time symbolic zero existing, but for unrelated reasons. I've had a few cases where constant folding of huge zero arrays leads to really long compile times, and I'm not aware of a nice pure JAX workaround atm.

Thanks for raising this.
Yes we should expose a nice symbolic-zero dtype.
However, for this jvp issue in the OP, I'd suggest writing it like this so you never have to make a dy: out, tangents = jax.jvp(lambda x: f(x, y), (x,), (dx,)).

To handle the generic case you might be able to use equinox.filter_jvp which uses None as the appropriate tangent type.
I wouldn't conflate this with symbolic zeros, though: I think choice of tangent dtype really is a separate thing. (What dtype would such a symbolic zero have, after all?)
I'd also advocate against removing float0: this won't be a fun compatibility change, e.g. I have code that special-cases this is in a few spots and I would really prefer that not break. What I think would make sense though is for fixing various ergonomic issues, e.g. allowing for float0 JAX arrays or adding a public jax.unit = np.empty((), dtype=jax.float0) that can be used.

I'd also advocate against removing float0

Yes, sorry for not being clear. I'd want to fix the implementation and completeness of float0 (along the lines you described) while preserving the existing API.


Bluetooth is not supported in ios

When I start device scan by calling the method startDevcieScan(), most of the time "bluetooth is not supported" alert comes. This happens only in ios. I am unable to figure out why its happening.
Below is the code snippet:
`
let that = this;
let deviceList = [];
let count = 0;
    that.manager.startDeviceScan(["1802"], null, (error, device) => {
        if (error) {
            try {
                alert(`${error.message}`);
                Log.info(`BLE scan error: ${error.message}`);
            } catch (e) {
                Log.info(`BLE scan error: ${error}`);
            }
            return;
        }

        let localDeviceList = deviceList;
        let exists = false;

        localDeviceList.map((d) => {
            if (d.id == device.id) {
                exists = true;
            }
        });

        if (!exists) {
            deviceList.push(device);
            this.homeScreen.setState({listBLEDevices: deviceList});
            let arr = this.homeScreen.state.availableDevices;
            arr.push({id: device.id, name: device.name, connected: false});
            this.homeScreen.setState({availableDevices: arr});
        }
    });
};`

@amit2080799 are you running your code on an actual device or on a simulator?

on actual device. This is the issue on all versions of ios.

On actual device.

the above code will work some times but most of the time it will throw alert saying "Bluetooth is not supported."

That's strange. I guess it could be the device you are using.
I've been using this library to check if Bluetooth is enabled and working, so I can alert the user before I try to connect. Maybe try that and see if your device is reporting that bluetooth is in fact working.

I tried in 2 3 devices which includes iphone 5s, 6s and an ipad.

Same problem

Maybe a bit late, but did you check first, if the state is 'PoweredOn'? (you can request the current state, and also listen to state changes)
How soon after your app started is the above code run?


Tag Expressions cannot handle tags containing backslashes

Describe the bug
Javascript, Java, and Go implementations of Tag Expressions cannnot handle tags containing backslashes.
Backslash in Tag Expressions is escape character for "(" and ")" (#285), but there is no way to handle the literal backslash.
Expected behavior
Tag Expressions should be able to handle tags containing backslashes.
Current behavior
Tag Expressions has no way to handle tags containing backslashes.
On javascript implementation,
const { default: parse } = require('@cucumber/tag-expressions');

// cannot handle tag "@foo\bar"
const exp1 = parse('@foo\\bar'); // returns Literal { value: '@foobar' }
exp1.evaluate(['@foo\\bar']); // returns false
exp1.evaluate(['@foobar']); // returns true

// "\\" escaping is not work
const exp2 = parse('@foo\\\\bar'); // returns Literal { value: '@foobar' }
exp2.evaluate(['@foo\\bar']); // returns false
exp2.evaluate(['@foobar']); // returns true

Java and Go implementations have same issue.
Possible Solution
Add support "\\" escape for backslash.
const { default: parse } = require('@cucumber/tag-expressions');

// tag "@foo\bar"
const exp1 = parse('@foo\\\\bar'); // returns Literal { value: '@foo\\bar' }
exp1.evaluate(['@foo\\bar']); // returns true

Your Environment

Tag Expressions 4.0.0

Related Issues
Issue #285
PR #286

Thanks for the report!
Please note that this issue may be moved to https://github.com/cucumber/tag-expresssions soon


Fixes and updates to the documentation

I'll probably re-use this branch for doc changes in general.  It currently depends on/includes the changes in #255.

archaius-pull-requests #165 SUCCESS
This pull request looks good

archaius-pull-requests #176 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » archaius » archaius-pull-requests #9 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #177 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #178 SUCCESS
This pull request looks good

NetflixOSS » archaius » archaius-pull-requests #10 SUCCESS
This pull request looks good


refactor: 💡 Add generics to useForm hook

Added generics to useForm hook. Also converted SQFormMultiSelect to TS
and SQFormDropdown to TS, and updated other components that use the hook
as proof that the generics work
✅ Closes: #337
✅ Closes: #394
✅ Closes: #332
See #338 for conversation, code, and loom videos that explain the situation super well and was largely the inspiration for the changes in this PR.

@codyarose is a required reviewer for this PR

great work @20BBrown14 thanks for getting us over the hump on this


Update to latest Cobra

This is a simple update to Cobra 1.3.0 which paves the way to providing shell completion support which I plan on posting later on.

@marckhouzam This is covered by #61 where all the module dependencies are updated. Do you mind closing this PR in favour of #61?

@marckhouzam This is covered by #61 where all the module dependencies are updated. Do you mind closing this PR in favour of #61?

I should have checked first. Thanks @hickeyma


Update UG

Update bugs to edito, because some of them use editi instead
Remove random code box on top of the UG

Codecov Report

Merging #135 (891923a) into master (d94c862) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #135   +/-   ##
=========================================
  Coverage     58.30%   58.30%
  Complexity      563      563
=========================================
  Files           102      102
  Lines          2271     2271
  Branches        281      281
=========================================
  Hits           1324     1324
  Misses          840      840
  Partials        107      107

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


Diablo II local hashing should use the single game.exe file

[6/14/2016 1:17:09 PM] <Code@USEast> when was the last time game.exe was updated for diablo II? I got mine from jailout's ftp, last modified march 15, 2016
[6/14/2016 1:18:02 PM] <Code@USEast> working on updating my cd-key tester and fixing the d2 product. Not sure if it's my game.exe being invalid or if the hashing library i use needs to be updated to properly hash a d2 client
[6/14/2016 1:19:44 PM] <Code@USEast> since it seems supplying a null value for either of the 2 remaining hash files (to libbnet's checkrevision function) creates an infinite loop, so I'm not sure if all i need is an updated game.exe file or i just need to
[6/14/2016 1:19:50 PM] <Code@USEast> use an alternate hashing procedure
[6/14/2016 5:16:49 PM] <Pyro> it was updated a few days ago
[6/14/2016 5:16:59 PM] <Pyro> 6/7/2016
[6/14/2016 5:17:31 PM] <Pyro> his is about 3 versions out of date
[6/14/2016 5:19:09 PM] <Pyro> what hashing library do you use
[6/14/2016 5:30:43 PM] <Pyro> oh idk about libbnet
[6/14/2016 5:30:49 PM] <Pyro> never used it or seen the code behind it
[6/14/2016 6:28:43 PM] <Code@USEast> can i get the updated game.exe off you?
[6/14/2016 6:28:52 PM] <Code@USEast> or do you have an ftp i can get it from?
[6/14/2016 6:29:26 PM] <Pyro> http://davnit.net/bnet/hashes/zip/
[6/14/2016 6:29:29 PM] <Code@USEast> thanks
[6/14/2016 6:30:46 PM] <Code@USEast> that was modified 5/31/2016
[6/14/2016 6:30:51 PM] <Code@USEast> for d2dv
[6/14/2016 6:31:10 PM] <Pyro> oh
[6/14/2016 6:31:13 PM] <Pyro> uhhh
[6/14/2016 6:32:06 PM] <Pyro> that's weird
[6/14/2016 6:32:46 PM] <Code@USEast> same with d2xp
[6/14/2016 6:34:13 PM] <Pyro> guess i forgot to update the zips
[6/14/2016 6:34:17 PM] <Pyro> should be fixed
[6/14/2016 6:34:32 PM] <Code@USEast> ok
[6/14/2016 6:34:52 PM] <Pyro> should really automate this whole process
[6/14/2016 6:36:03 PM] <Code@USEast> ugh ok, this method doesn't work
[6/14/2016 6:36:42 PM] <Code@USEast> i tried using bncsutil back in the day but couldn't get it to work for some reason, so that's why i looked for something else, found a project that utilized libbnet and built off of it
[6/14/2016 6:36:55 PM] <Code@USEast> guess i ought to get values from BNLS and cache them
[6/14/2016 6:37:39 PM] <Code@USEast> that wouldn't still work, would it? i assume it'd need to be updated to support d2
[6/14/2016 6:39:15 PM] <Pyro> BNLS?
[6/14/2016 6:39:20 PM] <Pyro> i updated jbls to work with d2
[6/14/2016 6:39:48 PM] <Pyro> and afaik all of the major servers are running the updated version
[6/14/2016 6:40:40 PM] <Code@USEast> guess JBLS is the only way to go atm
[6/14/2016 6:41:00 PM] <Pyro> warden.dll can do it
[6/14/2016 6:41:06 PM] <Pyro> and i'm pretty sure bncsutil can
[6/14/2016 6:41:17 PM] <Pyro> if you just call checkrevision with numFiles == 1
[6/14/2016 6:41:30 PM] <Code@USEast> oh
[6/14/2016 6:41:58 PM] <Pyro> MEXP(int) checkRevision(const char* formula, const char* files[], int numFiles,
[6/14/2016 6:42:01 PM] <Pyro> int mpqNumber, unsigned long* checksum)
[6/14/2016 6:42:19 PM] <Code@USEast> ah i see
[6/14/2016 6:42:22 PM] <Code@USEast> cool

Resolved in 036429a808f6b129bc76a822949fb4ea51f9b7b9.


Test transactions API / verify docs

https://github.com/prisma/prisma/releases/tag/2.1.0

[ ] Link to blog post when it's available
[ ] Possible FAQs? e.g. short summary of why we aren't supporting long-running transactions

Reason for candidate: this is a new experimental feature and we need to get it exposed to understand whether people find it helpful to cope with the bulk of transactional support problems they had, so we can decide on the priority to make it stable earlier than others.
This would likely consist in fixing the speedy change I pushed earlier today.

Covered by: https://www.prisma.io/docs/guides/prisma-guides/prisma-client-transactions-guide


block_on usage stalls my application

The fact that the Drop implementation uses a block_on executor strategy, combined with the fact that it blocks until it gets hold of a mutex, seems to be a problem. I had to fork the project and change to a tokio::spawn-based approach that would return the connection to the pool asynchronously.
My app is retrieving a connection on every web request, and it was basically never responding after 10 requests (the configured minimum pool size). I debugged it to the point to figure out it was infinitely waiting to get() a connection from the pool.
I did not dig into it further than that quick "bandage fix". Maybe this is something that needs to be addressed generally?
This is the relevant commit: https://github.com/RAnders00/bb8/commit/e456d4c8812adc445c85852b575f728981cb5e0a

Also I'm not sure how using a futures single-threaded executor combines with the standard tokio multi-threaded executor I am using. That could be a problem too.

There's no longer any block_on in the Drop implementation. If you're still interested, please test current master and give me feedback.


The reported results of RSNA dataset

Hi~
Thank you very much for your impressive work!
The results of RSNA dataset are quite different from the original paper, I feel confused about this.
Thank you very much if you could explain the reason.

Hi there,
thank you for reaching out to clarify! The table you've screenshotted from ConVIRT is based on end-to-end finetuning. For GLoRIA we evaluate our models based on linear probing. Furthermore, we did not have access to ConVIRT's codebase or data split prior to publication. Therefore, the ConVIRT results we included in our paper are based on our own implementation and data split. Hope this helps!


Fix media_ links

/jp/assets/newsroom/20140731104101/media_1f13ba9bf21b80fb6c1731bba19e2d9f14128a8b5.jpeg | https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-3.jpg | 500 |
-- | -- | -- | --
/jp/assets/newsroom/20140731104101/media_1b743feb3d7a6624ea84440b86fe6d4aac2056af3.jpeg | https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-2.jpg | 500 |
/jp/assets/newsroom/20140731104101/media_107c77776480ca2644668d3e58ad70c02f961820c.jpeg | https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-1.jpg | 500 |

https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-3.jpg
https://main--sunstar--hlxsites.hlx.live/jp/newsroom/20140731104101
301
Redirects to   /jp/assets/newsroom/20140731104101/media_1f13ba9bf21b80fb6c1731bba19e2d9f14128a8b5.jpeg

https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-2.jpg
https://main--sunstar--hlxsites.hlx.live/jp/newsroom/20140731104101
301
Redirects to   /jp/assets/newsroom/20140731104101/media_1b743feb3d7a6624ea84440b86fe6d4aac2056af3.jpeg

https://main--sunstar--hlxsites.hlx.live/jp/assets/newsroom/20140731104101/20140731104101-1.jpg
https://main--sunstar--hlxsites.hlx.live/jp/newsroom/20140731104101
301
Redirects to   /jp/assets/newsroom/20140731104101/media_107c77776480ca2644668d3e58ad70c02f961820c.jpeg

Also video links in
https://main--sunstar--hlxsites.hlx.page/jp/about
https://main--sunstar--hlxsites.hlx.page/about
https://main--sunstar--hlxsites.hlx.page/sidekick/blocks/hero

Checked the image links above and they are fine.
Fixed the video links in the work docs for pages below to use video directly uploaded to Sharepoint.
https://main--sunstar--hlxsites.hlx.page/jp/about
https://main--sunstar--hlxsites.hlx.page/about
https://main--sunstar--hlxsites.hlx.page/sidekick/blocks/hero


APL Condition Feature Request: Resource Deficit (Or, alternatively, Talent Known)

Is your feature request related to a problem? Please describe.
Rogues base several decisions based on pooling energy and how close we are to energy cap. However, we also have multiple effects which alter our maximum energy. To track this in an APL, we would need to create multiple APLs based on if these effects exist or not. These effects are not castable spells, or auras, they are Talents and/or set bonuses.
Describe the solution you'd like
Ideally, a Resource Deficit condition would be able to always hold the same value and consistently pivot decisions in the Rogue APL appropriately.
Describe alternatives you've considered
Alternatively, being able to pivot based on Talent Known could be doable, but that is more maintenance for the APL because it's extra fields that have to manually be kept in sync. It also wouldn't account for anything that increases the effect that isn't from a talent. I think a Talent Known condition could be helpful for other cases but it is the less ideal solution for my specific, current use case of interest.

I forgot that Compare can compare against more than just constants, so Resource Deficit could just be created out of having a Max Energy value and using compare and a math combination, as an alternative option. Personally I'd prefer Energy Deficit as its own independent value under Resources, because it has the potential to be used pretty regularly throughout Rogue APLs, however a standalone Max Energy value would be fine as well if the team prefers that.

To me it makes sense to add both MaxEnergy (if it doesnt exist already) and Energy Deficit (which if i understand correct is how much below cap you are)

For now, this is implemented as "Energy Threshold >= X", which additionally allows X <= 0, which are then relative to the energy cap (e.g. X = -20 is the same as X = 80 w/o Vigor, and X = 90 w/ Vigor)


Change footer

How can i change to footer for all the messages?

SRC/CONFIG/BOT.JS
wt., 3 paź 2023 o 18:09 hotsu0p @.***> napisał(a):

How can i change to footer for all the messages?
—
Reply to this email directly, view it on GitHub
https://github.com/CorwinDev/Discord-Bot/issues/206, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6DKCGHFYRQ2IW5NKHQEG7LX5Q2C3AVCNFSM6AAAAAA5RHRTXKVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDINBXGQ2TOOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

alr thanks


Searching Tree Algorithm Codes

Feature ✅
Inclusion of searching tree algorithms in the C/C++ codes.
Description
The search tree methods include Binary Search Tree, AVL Tree, Tries, B Trees, OS Trees, Interval Trees.
Checklist:

[ X] I have read the project guidelines.
[ X] I have checked all the existing projects, before submitting a new project issue.
[X ] This issue will be meaningful for the project.
[ X] I will contribute more in future

@Ritesh055 Could be a little more specific in the issue? Like what will the code do, will all be in a single file and stuff?

The code includes different files for each of these searching trees and will attempt to explain the basic functionality of each of these algorithms.
Searching Trees.docx

Can you assign it to me? I would like to implement search in trie in CPP

@jyotiGambhir @Ritesh055 has made PR for the same.


Fix issues with ConsoleExecuteReturnIntRector and CommandConstantReturnCodeRector

There is two issues, reported by
Closes https://github.com/rectorphp/rector-symfony/issues/295
Closes https://github.com/rectorphp/rector-symfony/issues/293
The CommandConstantReturnCodeRector is changing 0 to Command::Success, even if Command is not imported.
This is breaking the code
Then ConsoleExecuteReturnIntRector is adding (int) before Command::Success before when resolving with phpstan the constant, an ErrorType is found.
This PR fix both of the issues.

Thank you @VincentLanglet

Cool @VincentLanglet thanks for the fix!


CSR contains more than 100 DNS names

Error description:
I got error when issue new cert
Steps to reproduce
Just do as usual
Expected result
Get my cert
Error result
2019-07-24 08:36:16,908:INFO:simp_le:1479: Generating new certificate private key
ACME server returned an error: urn:acme:error:malformed :: The request message was malformed :: Error creating new cert :: CSR contains more than 100 DNS names
Debugging tips: -v improves output verbosity. Help is available under --help.
/app
Comments
Any help?
Thanks

I know if the limit is 100. But if someone give me workaround to solve 100 limit, i will appreciate.
Thanks

@nalakawula did you manage to work around this? I will close this issue once is not directly related to this project.


new polyval algo

[x] Closes #6526
[x] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst

Several open points still:

Unittests for datetime values are failing, I might need some help with that since I have no idea what this means for polynomials.
Algorithm should work also with Datasets (any combination of DataArray and Dataset for coord and coeffs inputs). Still needs to be checked and tested (How does one define typing for such cases? I.e. DataArray + Dataset -> Dataset but DataArray + DataArray -> DataArray?)
It uses Horners method instead of Vandermonde matrix, should be faster and consume less memory (unless the overhead of sorting index,  isel etc. is too large). Maybe some performance comparisons should be done.
Instead of coord the input should simply be called x or similar, however this would break backwards compatibility, so maybe we just leave it.

I noticed that broadcasting Datasets behaves weird, see https://github.com/pydata/xarray/issues/6549, so I used a "hack" of adding an 0-valued DataArray/Dataset.
Anyone got a better idea?

This looks like excellent code @headtr1ck , especially so for a first PR. Welcome!

so I used a "hack" of adding an 0-valued DataArray/Dataset.

I think it's fine to do the hack and reference that issue; we can clean it up then (though if others have ideas then great).

I had to add a copy(deep=True) since the broadcast returned a read-only DataArray. Any better ideas?

IIRC we generally leave this up to the caller (and generally discourage mutation).

Someone who knows better should review the algo & opine on the datetime issue; I agree I'm not sure whether we need to support them.

Some performance comparison:
With 5th order polynomial and 10 x-values:
old: 1.05 ms ± 15.8 µs per loop
new: 1.41 ms ± 11.6 µs per loop
With 5th order polynomial and 10000 x-values:
old: 1.46 ms ± 10.5 µs per loop
new: 1.41 ms ± 14.5 µs per loop
With 5th order polynomial and 1mio x-values:
old: 65.1 ms ± 332 µs per loop
new: 6.99 ms ± 168 µs per loop
As expected for small arrays the new method creates some overhead, but for larger arrays the speedup is quite nice.
Also, it uses in-place operations with much less memory usage.

I added a rough support for datetime values. Someone with more knowledge of handling them should take a look, the code seems too complicated and I am sure there is a more clever solution (I could not use get_clean_interp_index since it is not an index anymore).

I agree I'm not sure whether we need to support them.

I think keeping support is nice, since they are a commonly occuring coordinates and we do not want to break anything if possible.

Benchmark did not succeed since the inputs are not compatible with the old algorith...
Do we change it such that it is compatible?

Benchmark did not succeed since the inputs are not compatible with the old algorith...
Do we change it such that it is compatible?

If you're confident this is faster and it's not a trivial amount of work to adjust them, I would leave it...

First time working with asv...
It seems that module level variables affect all other peakmem tests (i guess memory usage of the phyton process is measured,).
We should refactor all dataarrays into the setup functions, otherwise O(n) memory algos will show wrong numbers and adding new tests will show regression on other tests.

Nice  this looks  like an improvement for everything other than dask arrays with only 100 elements, which is not a good use-case  for dask.
I was slightly concerned that the recrusive algorithm wouldn't work well with dask but it does seem to work better.
def other_polyval(coord, coeffs, degree_dim="degree"):
    x = coord.data

    deg_coord = coeffs[degree_dim]
    N = int(deg_coord.max()) + 1

    lhs = xr.DataArray(
        np.stack([x ** (N - 1 - i) for i in range(N)], axis=1),
        dims=(coord.name, degree_dim),
        coords={
            coord.name: coord.data,
            degree_dim: np.arange(deg_coord.max() + 1)[::-1],
        },
    )
    return xr.dot(lhs, coeffs, dims=degree_dim)

coeffs = xr.DataArray(np.random.randn(2), dims="degree")
da = xr.DataArray(dask.array.random.random((10**6), chunks=(10000)), dims=("x"))
print(len(da.data.dask))
print(len(xr.polyval(da, coeffs).data.dask))
print(len(other_polyval(da, coeffs).data.dask))

100
502
1005

One minor open point: what to do with a non-integer "degree" index?
Float type could be cast to integer (thats what is happening now). But datetime etc. should raise an error?

Forcing the user to be explicit reduces bugs and user support requests :) so we like to do that.
Thanks again @headtr1ck this is a great PR!


Can only label small overlapping bounding box with hotkey

Current Behavior

Can label the small overlapping bounding box using a hotkey only.
Dropdown labels menu only available for the big bounding box
On the example below, one can't change the duiker label to elephant. The elephant label doesn't have a hot key.
Currently, one has to delete the big bounding box first (elephant) and label the smaller bounding box (duiker to elephant).

Expected Behavior

The labels dropdown menu working on small bounding boxes.

Confirmed as issue - in general the labels and trash / label icons cover up other bounding boxes.


Gh 1419 add configurable description gaffer ui

Codecov Report

Merging #1496 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1496   +/-   ##
==========================================
  Coverage      66.71%   66.71%
  Complexity      1744     1744
==========================================
  Files            724      724
  Lines          23692    23692
  Branches        3000     3000
==========================================
  Hits           15805    15805
  Misses          6676     6676
  Partials        1211     1211

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 babae4e...1f48a46. Read the comment docs.


Quickhull - reduce warning spam and make hideable

Added one more warning to the hideable warnings. These seem to be benign warnings and are hidden during use in rooms and portals. When used from other areas, only one warning is displayed per run, instead of for every occurrence.
Fixes warning reported by @timothyqiu
Notes

I just missed one of the warnings when doing this originally (this warning occurs more rarely).

Not sure what the CI failure is about. Has something been merged that hasn't updated the docs?

Not sure what the CI failure is about. Has something been merged that hasn't updated the docs?

Something was merged that had updated the docs properly, but we since changed the docs formatting :D

Something was merged that had updated the docs properly, but we since changed the docs formatting :D

Fixed.

Thanks!


feat: disable system-assigned identity by default

Fails on terraform apply with the following error:
╷
│ Error: updating mssql server vulnerability assessment: sql.ServerVulnerabilityAssessmentsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="VulnerabilityAssessmentInsufficientStorageAccountPermissions" Message="Insufficient permissions on storage account 'https://st8a1a3b8eede6460a.blob.core.windows.net/vulnerability-assessment/'. Add permissions to the server Identity to the storage account."
│
│   with module.sql.azurerm_mssql_server_vulnerability_assessment.this,
│   on ..\..\main.tf line 118, in resource "azurerm_mssql_server_vulnerability_assessment" "this":
│  118: resource "azurerm_mssql_server_vulnerability_assessment" "this" {
│
╵


DCD: Add ArtificialLift to Case modell

Add the metadata Artifical lift to Case model

Picture above describes how Artificial Lift should be implemented on case level. A dropdown should be visible and options are:

GasLift
NoArtificialLift
ElectricalSubmergedPumps
SubseaBoosterPumps

This is all confirmed by Atle


unpack() error on Ubuntu/Indigo

-When running myo-rawNode.py on Ubuntu w/ ROS indigo, it will randomly throw an error
-Sometimes it will freeze right after being called, other times it will run (successfully) for a few seconds before stopping
-The error is always the same:
struct.error: unpack requires a string argument of length 3

-The root issue seems to be with the unpack() call on line 301 of myo-rawNode.py:
typ, val, xdir = unpack('3B', pay)

which in turn calls the following code in common.py:
def unpack(fmt, *args):
    return struct.unpack('<' + fmt, *args)

Any suggestions/explanations of what's going on with struct/unpack?
Thanks!

issue was fixed
https://github.com/dzhu/myo-raw/pull/11

how it was fixed? @jsuh719

Line 291 of myo_raw.py
Check the link below
https://github.com/dzhu/myo-raw/pull/11/files

@LaraZubaidia

Thank You very Much @jsuh719  another little thing do you know why the files generated after running myo.py are empty ? how could I get the files of emg and groy and other stuff ? did you face the same problem?

Glad I could help.
I don't know about the emg files being generated, sorry
You could try a rostopic echo topicFoo > topicFoo.txt to generate a .txt file from the output of rostopic echo

@jsuh719  they said that the myo-row data generates files of data here after complying myo.py I got 9 files but all of them was empty don't know why ? do you have any idea
Thank you very much for everything

@larasamirammal The link you got above has failed. Can you send another copy?
https://github.com/dzhu/myo-raw/pull/11/files


Cld signed upload

I would like to add this template as Cloudinary signed upload endpoint.
For more information about, please see this:
https://cloudinary.com/documentation/upload_widget#signed_uploads
Thanks
--Yakir

Hey, great idea! I appreciate you submitting a new template!
I am curious if express is needed in this webtask at all. There is only a single route, it seems like using the "Function with context" programming model would greatly simplify the code.

Hi,
Thanks for the feedback!
I removed Express from the code, and test the new implantation, works well.
--Yakir


(internal) release_patch: build v5.3.9104

Test plan: automated release PR, CI will perform additional checks

:green_circle: Internal release is ready for promotion!
:warning: Do not close/merge the pull request or delete the associated branch if you intend to promote it.

:green_circle: Release has been promoted, see tag: https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/v5.3.9104.
:no_entry: Do not under any circumstance delete the branch holding the tagged commit (i.e. release-v5.3.9104).
:arrow_right: You can safely close the PR and delete its a associated branch.


Very high CPU usage when idle

Netron app and version: 4.4.7
OS and browser version: Windows 10, Edge

Steps to Reproduce:

Seems like it starts after searching for a node and selecting it
Then doing nothing, idle

Please attach or link model files to reproduce the issue if necessary.
Seems any model.
This morning I realized the open onnx file from last night was heating my laptop.

I can repro this on Chrome too
While dashed line animation is running:

Then I hit Esc it goes down but remains high

Will try to find the reason. Will also send you a sample ONNX file if you want to take a look.

@dashesy did you try removing the animation(s) for .select in view-grapher.css?

After removing animation from .select .node.border the CPU usage went down:

I first did not remove animation from .select.edge-path and the CPU usage after selecting an edge was still high:

After removing animation from there, it went down too

This is more acute on the laptop (Surface)
It is more acute on large models, even though searching a node and selecting it zooms in

So it is animation


WIP: Update npm dependencies, most notably webpack 4 > 5

This updates most but not all npm dependencies (no major bumps in prod dependencies).
The webpack config has been updated to work with webpack 5.

[ ] depends on #9 (otherwise styles will be broken)
[ ] same changes need to be applied in other packages
[x] depends on #7

Please let me know what you think? If you agree I'll go ahead with the other packages.

@sosostris , @justmejulian , @Sakai-san , I'd like to speed up things here somehow.
This branch has high potential for major merge conflicts (package.json).
Basically, the question is:

do you see an issue with the approach here,
can you verify this with your internal tools and applications,
if ok, I can take care of the additional packages (kitchensink, pyrene-graphs, tuktuktwo).

Now that #91 is merged I think we can continue with this.

We still need the actual changes from styleName to className, right? Or did you take care of all of those?
(I know there were a few PRs, but I kinda lost track.)
If that has been done, lemme fix conflicts and check other subpackages too.

styleName to className should be done and merge. @sanmiawi can you please confirm?

See #108 , there's still a couple of things missing.

Verified:

styles looking fine
basic functionality ok

Ready to be merged, @sosostris , @justmejulian , please have another look?

To be done still:

[ ] release pyrene
[ ] release tuktuktwo
[ ] update fixed pyrene and tuktuktwo versions in pyrene-graphs, release pyrene-graphs


Exposing APPROX_COUNT_DISTINCT as postgres function

What feature are you requesting?
APPROX_COUNT_DISTINCT
Why are you requesting this feature?
Good to have
What is your proposed implementation for this feature?
No response

https://github.com/duckdb/pg_duckdb/pull/499


Replacement for jenkins jobs

http://ci.hydroshare.org:8080/job/hydroshare-pull-requests/
https://new-hs-ci.hydroshare.org/view/04-Monitors/
https://new-hs-ci.hydroshare.org/view/06-MailChimp/
https://new-hs-ci.hydroshare.org/view/05-Analysis/

related to
https://github.com/hydroshare/hydroshare/issues/5516
https://github.com/hydroshare/hydroshare/issues/5517
which highest priority


Empty ICA state causes a panic on ExportGenesis

Summary of Bug
If no initial state is given to the module, calling ExportGenesis on the module, or the app in general, will cause a panic, due to this line, which gets the params from the paramKeeper subspace. subspace.Get causes a panic if the parameter does not yet exist.
Expected Behaviour
ExportGenesis should not panic if the module has no state. It might be more preferable to use GetIfExists when getting the parameters for exporting state to prevent such errors.
Version
v5
Steps to Reproduce

add ICA to new chain
do not import any state or set any params
export genesis on the chain

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Hi @technicallyty, thanks for opening the issue. Based on your comment this looks like a duplicate issue of #1352. Is that correct?
I believe it is expected that a panic will occur if an SDK module does not have its state initialized

We will implement sims for >= v5 and then second concern will be addressed when we migrate our params to be self managed #2010
I believe the SDK traditionally panic'd on unset params (this is from v0.46.1) and that this behaviour changed when it migrated to self managed params. I agree this behaviour is incorrect as one should not cause ExportGenesis to panic. It seems like a very unlikely edge case as the app.go would have to be misconfigured (not calling app.mm.InitGenesis) so I don't see reason to prioritize this change


CAMEL-10491 - Spring-LDAP - Utilizing java.util.function.BiFunction (Java 8) for FUNCTION_DRIVEN operation.

This is a little API breaking for old users whom may have been using that LdapOperations api in the past. So they would need to migrate to use Java 8 BiFunction now.
What is the benefit of this, except for using that Java 8 API instead?
Is that what spring-ldap project is recommending users to do?

I read that 2.18.0 release onwards Java 8 is required (http://camel.apache.org/camel-2180-release.html) and felt obligated to update my earlier patch to make use of Java 8. This patch and the earlier one are being made in 2.19.x and did not exist in prior releases.

@davsclaus this will be only in 2.19.0, if you think this is breaking change we can leave the situation as it is now.

Ah not its fine with a little change in a minor release. Just add it to the API breaking section in the release notes: http://camel.apache.org/camel-219-release.html
+1

Ok, I will merge soon :-)

Thanks the PR has been merged. Can you close this?

Thank You!


Cold/Flu: Form Validation (FE&BE)

User Story
As a registrant, the form should prevent me from entering wrong input formats and alert me if the the input fails regex.
Validation should be built in front end and back end
Tasks:

[ ] Phone field
Regex ex: ^(+\d{1,2}\s?)?(?\d{3})?[\s.-]?\d{3}[\s.-]?\d{4}$
[ ] Email (should be @gov.bc.ca)
[ ] Number of employees (positive, not zero)
~- [ ]  Free text should do sql-injection and other security checks~ automatically handled by formsflow

User Acceptance:

[ ] Data is validated before form submission.

Hi @ca-liu
1/ Phone field has validation on format
2/ email is not restricted yet. is there domains other than @gov.bc.ca that should be included? We have a list of IDIR groups with different domains that we use for the telework agreement we could use here

"gov.bc.ca",
"freshworks.io",
"ca.ey.com",
"inbcinvestment.ca",
"bcassessment.ca",
"bc-ebc.ca",
"bcehs.ca",
"bcest.bc.ca",
"bcfarmreviewboard.ca",
"BCFerryCommission.ca",
"bchumanrights.ca",
"bciif.ca",
"bcldb.com",
"bcliquorstores.com",
"bcrcf.ca",
"bcspp.org",
"bcucipp.org",
"crtbc.ca",
"cullencommission.ca",
"cupsa-aspc.ca",
"destinationbc.ca",
"destinationbc.travel",
"eaat.ca",
"elections.bc.ca",
"healthlinkbc.ca",
"iiobc.ca",
"justicebc.ca",
"lrb.bc.ca",
"obcctc.ca",
"paab.bc.ca",
"patientcarequalityreviewboard.ca",
"ptboard.bc.ca",
"robsonsquare.ca",
"seniorsadvocatebc.ca",
"surfacerightsboard.bc.ca",
"tourismbc.com",
"ticorp.ca",
"workbc.ca",
"wao-bc.org",
"eao-bc.org",
"wcat.bc.ca",
"royalbcmuseum.bc.ca",
"rcybc.ca",
"lngbuybc.ca",
"eabtribunals.ca",
"wao-bc.org",
];
var bcGovDomainError = 'Email address must be a bc gov email address';

Hi @Stella-Archer ,
Thank you for testing this out.

Phone - perfect thanks!
Email - good point, please accept the email domains from your list.

Curious: what if we just rejected @gmail, yahoo, Hotmail, outlook? We just don't want to make sure that it is a valid email and that the email is not a personal email address.
Please let me know your thoughts. Thanks!

For telework we went with a restricted list of known/researched BCPS domains as the list of dodgy public domains could be endless and emails send anywhere outside the gov domain could be a privacy risk. This of course is more an issue with telework which had PDF attachments and included personal information (employee names, home address & numbers)  although Cold and Flu doesn't have a lot of PI it's a still a concern.

Thanks for the insight.
Happy to use the list you have in the comment above.
Cheers

Email domains have been set to a predefined list and number of employees validation has been set to a min of 1. This ticket can be tested.

Tested and verified:

Phone: Working
Email: Working
Number of employees: Working

Acceptance criteria met ✔

@Stella-Archer Ayush tested, over to you for PO review. Might be linked to new ticket #1087...?

this is working great :

Phone: working, doesn't validate if not correct character & format
Email: Working for .gov .bc.ca domain and test on 'elections.bc.ca' domain worked as well, but public domains did not -YAY
Number of employees: Working, serves up error if '0'
@Abuchana @MeghanStothers I know we want to amend the email label to "work email" is this in another ticket?
PO approve for requirements of this ticket and am closing

I've checked in with Heather and have her approval to close


Password change for the owner of the VMware controller failed

[Build]
docker 17.7 2018/08/28
[Steps to reproduce]
The OSCM installation was done from scratch in clean environment with sample data.
"docker run --name deployer2 --rm -v ${WORKSPACE}:/target -v /var/run/docker.sock:/var/run/docker.sock -e INITDB=true -e SAMPLE_DATA=true -e STARTUP=true artifactory.intern.est.fujitsu.com:5003/oscmdocker/oscm-deployer:QA-17.7"
step1: login to ...8081/oscm-portal with<EMAIL_ADDRESS>and  password "supplier"
works fine
step2: login to vmware controller with<EMAIL_ADDRESS>and  password "supplier"
works fine
step3: login to ...8081/oscm-portal with<EMAIL_ADDRESS>and  password "supplier"
step4: click account and change password to "supplier123"
step5: try to login to vmware controller
[Expected result]
login works fine with password supplier or supplier123 ??
[Observed result]
error occures . The login page is not available see attachement.

additionally the login to ..8081/oscm-portal with<EMAIL_ADDRESS>and "supplier123" is not possible any more see attachement

note: I've tested with firefox private mode to avoid caching

The user credentials for the technical service for the VMWare connector have to be kept in sync with OSCM core. For changing the credentials the required procedure is other other way around.

Set new credentials in VMWare controller UI
Login to OSCM portal and change password on the account page.

In practice the this technology manager user is a technical user, only internal and doesn't require to have the password frequently changed.  Nevertheless, when executing those steps in reverse order, the above result is not what one would expect. To get out of this error, I guess you need to login with a second administrator who has access to login to the controller UI and correct the stored credentials.

In reverse order, as described by GoebelL, it works fine.

@GoebelL as the steps described by you work fine (confirmed by @elfriedegoetz) and it is the correct way of updating credentials, should this be closed? If not, what would be the expected way of fixing this issue?

The correct steps are confirmed, but in case of reverse steps the error behavior is improvable.

If not, what would be the expected way of fixing this issue?

Well, it's not the HTTP 500 page as @elfriedegoetz has posted. I think HTTP 401 would be the correct response in case of such failure, which should give back the user a login prompt. It still leaves the given user  locked out, but allows to recover with credentials from second technology manager*) of same organization.
*) In fact, if we had a fix of issue #23, the platform administrator would be able to login and resolve this directly.

I have found out that there is an issue with AuthorizationFilter logic. Basically, if loggedInUserId attribute is found then it always assumes that credentials stored in the session are correct and user is not reauthenticated to check if they are still valid (i.e. password might have changed).
https://github.com/servicecatalog/oscm/blob/00a33b798a290c7d116217a2ed10b75c214f0db2/oscm-app-vmware-ui/javasrc/org/oscm/app/vmware/ui/filter/AuthorizationFilter.java#L65-L68
I will refactor the logic so user is always authenticated before executing any controller related logic.

[Build]
build from 13.11.2018 13:30 tag QA
Does still not work in reverse steps

I have understood that the documented order must be adhered to. But a wrong order must not lead to a blocked account.

Feature request #227 is targeted to improve the user experience with changing passwords.


Project status

This project is very interesting.
Some of autoprogrammer's features in TODO status, so i wanted to add them.
I want to use some proposed features (like metaclasses) without waiting 3+ years for new C++ standard and can`t find stable (ready) solution.
Inspired by autoprogrammer's approach i created https://github.com/blockspacer/CXXCTP
Maybe some ideas from that project will be useful for autoprogrammer.

I found what jinja to C++ binding produced a lot of boilerplate code.
I replaced jinja with https://github.com/blockspacer/CXTPL
cxtpl uses approach similar to How to write a template engine in less than 30 lines of code from https://bits.theorem.co/how-to-write-a-template-library/
That approach allowed to remove jinja2_reflector_generator.cpp completely

I can't find docs about autoprogrammer's C++ interpreter, so i used Cling as C++ interpreter. Maybe autoprogrammer's solution is less verbose or feature rich (i just can't understand it without some docs).

I wanted to add feature-complete Rust-like traits into C++. That's why i added to typeclasses generator typeclass combinations (when some typeclasses may be not set), std::ref support, typeclass merging (when all typeclasses must be set), out-of-source methods (so method may be defined in separate lib), typeclass with template parameters. Now typeclass instance accepts impl as first template argument, and all other template arguments may be used to combine typeclasses.

I wanted to chain multiple metaclasses, so i added custom C++ attribute syntax, very similar to calling C++ functions.

// $apply is just macro that adds attribute

class
$apply(make_interface;make_removefuncbody;make_reflect)
SomeInterfaceName {
  virtual ~SomeInterfaceName() = 0;
  /*int    f   (   )   {     // {}
    int i = 6;
    {
      // {
      // }
    }
    return i;
  };*/
  int foo();
  virtual void foobar(int& arg1) = 0;
  virtual inline void zoobar(int& arg2);
  //int m_bar;
  //int m_bar2 = 2;
};

In attribute i can list needed metaclasses. Each metaclass is function (like make_interface) that returns modified source code or generated file.

I wanted to create tool not focused on predefined set of source transformation rules. That's why i added per-project ctp_scripts folder. If ctp_scripts used by separate project - all rules from  ctp_scripts must be imported into Cling, so it behaves like interpreted plugin system. Because interpreted code runs slower - i added custom_plugins.cmake.example, so 'plugin' may be compiled and used as built-in tool plugin. Maybe it is better to create .dll/.so based plugin system.

Thank you for interesting in the project. I'm going to uplift the autoprogrammer project till the upcoming CoreHard++ conference where I'm giving the talk about modern code generation tools (not only autoprogrammer). Regarding your suggestions:

I found what jinja to C++ binding produced a lot of boilerplate code. I replaced jinja with https://github.com/blockspacer/CXTPL

In the production projects I used this tool I generated not only C++ files, but C files, JSON samples etc. as well. So, template engine which is stuck to the C++ isn't a good choice for me. Another point is that I can ship templates with the production project, not with the tool. Lot of the boilerplaite for the reflection isn't a problem till this boilerplate can be generated. :)

I can't find docs about autoprogrammer's C++ interpreter, so i used Cling as C++ interpreter.

Yes, there are no docs except my presentation. One of the reasons is that C++ interperter here is still in progress. Actually, it utilizes the idea of constexpr evaluator from the clang with one but significant addition: it allows mixing of injected and interpretable code. I. e. you can write:
inline void BoostSerializable(meta::ClassInfo dst, const meta::ClassInfo& src)
{
    for (auto& v : src.variables())
        $_inject_v(dst, public) v;

    $_inject_v(dst, public) [&, name="serialize"](auto& ar, unsigned int ver) -> void
    {
        $_constexpr for (auto& v : src.variables())
            $_inject(_) ar & $_v(v.name());
    };
};

Here $_constexpr for (auto& v : src.variables()) will be interpreted in the context of the injected method. I'm not sure the Cling allows such kind of tricks.

I wanted to chain multiple metaclasses, so i added custom C++ attribute syntax, very similar to calling C++ functions.

That's not a problem with the current autoprogrammer implementation: $_class(SomeVisitor, CRTPVisitor<A, B, C>, Interface)

I wanted to create tool not focused on predefined set of source transformation rules.

I've been thinking about the external customization/plugins. But I'm considering something like python (in addition to the Jinja2 templates). Binding isn't a big problem

@flexferrum

about CXTPL output.
About JSON - i cant imagine useful usage examples with JSON. Can you please provide link to similar tool what can output JSON with some usage examples?  boilerplate can be generated` - that may solve a lot of problems. Can Jinja2Cpp generate boilerplate code?

mixing of injected and interpretable code seems less verbose than current Cling based approach.
In theory, adding some utility functions or macro may produce similar syntax.

autoprogrammer's syntax seems beautiful, but complex for me. Maybe i`m wrong and some docs / updates will solve complexity issue.

Unfortunately, no, I can't. It was a proprietary project I worked on in my previous company. There was a jinja2-based template which produced sample JSON settings file based on structs read from the source code.
Jinja2 itself is a library. It can't generate it without proper binding. For this project I'm considering the three-steps build. On the first step core code generation library is built. Then, on the 2nd step, special bootstrap tool is compiled on the top of the core library. This tool generates all boilerplate code for the project. On the 3rd step main autoprogrammer tool is produced.

May by. BTW, this approach needs special support from the interpreter.

Docs will come up. In some future. :)

Here is the sample how jinja2 templates can be used for serialization boilerplate code generation:
https://github.com/flexferrum/autoprogrammer/tree/master/test/serialization

https://github.com/jinja2cpp/Jinja2Cpp/issues/195

I'm sorry to hear this sad news of @flexferrum 's passing.
If anyone interested in development of tools similar to https://github.com/flexferrum/autoprogrammer or https://github.com/blockspacer/CXXCTP - please contact me. I'll be happy to contribute. E-mail: derofim hosted on yandex.ru


City Challenges

Select and engage 3 cities who can set real world challenges for the hack.
These will need to be able to provide the data to be used in the DC.
Happy for us to use as a case study.

The challenges are now available on the hackathon website.


error when running IIS Express (instead of MvcMovie) in VS2017

Navigating to the Movie endpoint gave this error:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure when debuggin in IIS Express in Visual Studio 2017.
Debugging under MvcMovie was fine however !

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

ID: a0a4022c-7ef1-3c30-4f9d-cf521a57a44a
Version Independent ID: a0b5e15c-d747-8710-95fb-a55c09861a1e
Content: Work with SQL in an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/working-with-sql.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.


Failed to compile as go plugin at buildmode=plugin

Hello, your gmsm packages are awesome. When I build plugin module with gmsm imports, go complains about assembly failure as below:

github.com/emmansun/gmsm/internal/sm2ec
github.com/emmansun/gmsm/internal/subtle
github.com/emmansun/gmsm/kdf
github.com/emmansun/gmsm/sm3
github.com/emmansun/gmsm/internal/sm2ec
asm: p256_asm_amd64.s:656: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00630 (/home/zengl/go/pkg/mod/github.com/emmansun/gmsm@v0.24.1/internal/sm2ec/p256_asm_amd64.s:656)	MULQ	R15
asm: p256_asm_amd64.s:1325: when dynamic linking, R15 is clobbered by a global variable access and is used here: 01181 (/home/zengl/go/pkg/mod/github.com/emmansun/gmsm@v0.24.1/internal/sm2ec/p256_asm_amd64.s:1325)	MOVL	R15, 488(SP)
asm: assembly failed

Issue context:
gmsm version v0.24.1
go version: 1.20.5 or 1.21.6. Both version have this failure but 1.21.6 has less complaints than 1.20.5.
This error never happens when I build the project as app or shared library. I am not sure if it is due to go made some restrictions on assembly compilation at plugin build mode.

pls refer #154

pls refer #154

Thanks for your reply. Hope native asm can be supported in plugin mode in the future (mostly by Go). For now, I will try purego.

You can try -tags=plugin


Main Commit

Category

[x] New article

Contents of the Pull Request
New Blog Post article.

Alright. Kindly let me know when it goes live.
Really appreciate your fast response


conformance: initial UDPRoute test

What type of PR is this?

/kind test
/area conformance
What this PR does / why we need it:
Initial conformance tests for UDPRoute
Which issue(s) this PR fixes:

Fixes https://github.com/kubernetes-sigs/gateway-api/issues/1792
Does this PR introduce a user-facing change?:

NONE

Hey @cnvergence thanks for adding this! Out of curiosity, what implementation are you adding this on the behalf of?
Also: not a big problem in this instance, but just note that you did create a PR intended to resolve an issue that was already assigned. In the future please comment on the issue your interest in working on it prior to starting work as this helps us to organize better and reduce overlap where multiple people are working on the same thing.

Hey @shaneutt
Ah, sorry, I did not see it was assigned.
I was going to create a new issue for this and propose UDPRoute conformance test suite, but found the older issue that I linked here.
It's coming from Envoy Gateway implementation: https://github.com/envoyproxy/gateway/issues/2011

Hey @shaneutt Ah, sorry, I did not see it was assigned. I was going to create a new issue for this and propose UDPRoute conformance test suite, but found the older issue that I linked here. It's coming from Envoy Gateway implementation: envoyproxy/gateway#2011

Yeah no worries! Just something to think about in the future. I have some active work on this within https://github.com/kubernetes-sigs/blixt, which you and I might need to coordinate on a little bit (after the holidays). But in any case, very much appreciate your interest and willingness to jump on this, and thanks for linking the relevant envoy gateway issue that's good context.

@shaneutt sounds good to me

thanks @cnvergence, this looks good, can you confirm if this test passes on any implementation ?
@shaneutt is there anything specific in this PR you'd like changed ?

thanks @mlavacca, @arkodg, I have applied some improvements after the review
I will now check on passing those tests on different implementations

So far I tested it against:

kong-ingress-controller
envoy-gateway

go test  -v ./conformance -run TestConformance -args -supported-features=UDPRoute
=== RUN   TestConformance
    conformance_test.go:60: Running conformance tests with gateway-conformance GatewayClass
         cleanup: true
         debug: false
         enable all features: false
         supported features: [UDPRoute]
         exempt features: []
    suite.go:168: Test Setup: Ensuring GatewayClass has been accepted
    suite.go:174: Test Setup: Applying base manifests
    apply.go:272: Creating gateway-conformance-infra Namespace
    apply.go:272: Creating same-namespace Gateway
    apply.go:272: Creating same-namespace-with-https-listener Gateway
    apply.go:272: Creating all-namespaces Gateway
    apply.go:272: Creating backend-namespaces Gateway
    apply.go:272: Creating infra-backend-v1 Service
    apply.go:272: Creating infra-backend-v1 Deployment
    apply.go:272: Creating infra-backend-v2 Service
    apply.go:272: Creating infra-backend-v2 Deployment
    apply.go:272: Creating infra-backend-v3 Service
    apply.go:272: Creating infra-backend-v3 Deployment
    apply.go:272: Creating tls-backend Service
    apply.go:272: Creating tls-backend Deployment
    apply.go:272: Creating gateway-conformance-app-backend Namespace
    apply.go:272: Creating tls-backend Service
    apply.go:272: Creating tls-backend Deployment
    apply.go:272: Creating app-backend-v1 Service
    apply.go:272: Creating app-backend-v1 Deployment
    apply.go:272: Creating app-backend-v2 Service
    apply.go:272: Creating app-backend-v2 Deployment
    apply.go:272: Creating gateway-conformance-web-backend Namespace
    apply.go:272: Creating web-backend Service
    apply.go:272: Creating web-backend Deployment
    apply.go:272: Creating gateway-conformance-udp Namespace
    apply.go:272: Creating coredns Service
    apply.go:272: Creating coredns Deployment
    apply.go:272: Creating coredns ConfigMap
    apply.go:272: Creating udp-gateway Gateway
    suite.go:177: Test Setup: Applying programmatic resources
    apply.go:223: Creating certificate
    apply.go:223: Creating tls-validity-checks-certificate
    apply.go:223: Creating tls-passthrough-checks-certificate
    apply.go:223: Creating tls-passthrough-checks-certificate
=== RUN   TestConformance/UDPRoute
    suite.go:250: Applying tests/udproute-simple.yaml
    apply.go:272: Creating udp-coredns UDPRoute
=== RUN   TestConformance/UDPRoute/Simple_UDP_request_matching_UDPRoute_should_reach_coredns_backend
    helpers.go:776: Route gateway-conformance-udp/udp-coredns expected 1 Parents got 0
    helpers.go:776: Conditions matched expectations
    helpers.go:776: Route gateway-conformance-udp/udp-coredns Parents matched expectations
    udproute-simple.go:52: performing DNS query foo.bar.com. on <IP_ADDRESS>:5300
    udproute-simple.go:55: failed to perform a UDP query: read udp <IP_ADDRESS>:64471-><IP_ADDRESS>:5300: i/o timeout
    udproute-simple.go:52: performing DNS query foo.bar.com. on <IP_ADDRESS>:5300
=== NAME  TestConformance/UDPRoute
    apply.go:280: Deleting udp-coredns UDPRoute
    --- PASS: TestConformance/UDPRoute (2.06s)
        --- PASS: TestConformance/UDPRoute/Simple_UDP_request_matching_UDPRoute_should_reach_coredns_backend (2.03s)
PASS

So far I tested it on:

envoy-gateway
kong-ingress-controller

go test  -v ./conformance -run TestConformance -args -supported-features=UDPRoute
=== RUN   TestConformance
    conformance_test.go:60: Running conformance tests with gateway-conformance GatewayClass
         cleanup: true
         debug: false
         enable all features: false
         supported features: [UDPRoute]
         exempt features: []
    suite.go:168: Test Setup: Ensuring GatewayClass has been accepted
    suite.go:174: Test Setup: Applying base manifests
    apply.go:272: Creating gateway-conformance-infra Namespace
    apply.go:272: Creating same-namespace Gateway
    apply.go:272: Creating same-namespace-with-https-listener Gateway
    apply.go:272: Creating all-namespaces Gateway
    apply.go:272: Creating backend-namespaces Gateway
    apply.go:272: Creating infra-backend-v1 Service
    apply.go:272: Creating infra-backend-v1 Deployment
    apply.go:272: Creating infra-backend-v2 Service
    apply.go:272: Creating infra-backend-v2 Deployment
    apply.go:272: Creating infra-backend-v3 Service
    apply.go:272: Creating infra-backend-v3 Deployment
    apply.go:272: Creating tls-backend Service
    apply.go:272: Creating tls-backend Deployment
    apply.go:272: Creating gateway-conformance-app-backend Namespace
    apply.go:272: Creating tls-backend Service
    apply.go:272: Creating tls-backend Deployment
    apply.go:272: Creating app-backend-v1 Service
    apply.go:272: Creating app-backend-v1 Deployment
    apply.go:272: Creating app-backend-v2 Service
    apply.go:272: Creating app-backend-v2 Deployment
    apply.go:272: Creating gateway-conformance-web-backend Namespace
    apply.go:272: Creating web-backend Service
    apply.go:272: Creating web-backend Deployment
    apply.go:272: Creating gateway-conformance-udp Namespace
    apply.go:272: Creating coredns Service
    apply.go:272: Creating coredns Deployment
    apply.go:272: Creating coredns ConfigMap
    apply.go:272: Creating udp-gateway Gateway
    suite.go:177: Test Setup: Applying programmatic resources
    apply.go:223: Creating certificate
    apply.go:223: Creating tls-validity-checks-certificate
    apply.go:223: Creating tls-passthrough-checks-certificate
    apply.go:223: Creating tls-passthrough-checks-certificate
=== RUN   TestConformance/UDPRoute
    suite.go:250: Applying tests/udproute-simple.yaml
    apply.go:272: Creating udp-coredns UDPRoute
=== RUN   TestConformance/UDPRoute/Simple_UDP_request_matching_UDPRoute_should_reach_coredns_backend
    helpers.go:776: Route gateway-conformance-udp/udp-coredns expected 1 Parents got 0
    helpers.go:776: Conditions matched expectations
    helpers.go:776: Route gateway-conformance-udp/udp-coredns Parents matched expectations
    udproute-simple.go:56: performing DNS query foo.bar.com. on <IP_ADDRESS>:5300
=== NAME  TestConformance/UDPRoute
    apply.go:280: Deleting udp-coredns UDPRoute
    --- PASS: TestConformance/UDPRoute (2.06s)
        --- PASS: TestConformance/UDPRoute/Simple_UDP_request_matching_UDPRoute_should_reach_coredns_backend (2.03s)
PASS

Sounds good, what did you have in mind? Where are things at currently?

Cool, just would like to have Sanskar take a look (co-maintainer of blixt):
/cc @aryan9600

looks pretty good apart from a small nit!

rebased PR, PTAL again
@shaneutt @robscott

Thanks for adding this, let's move on this!
/approve
/lgtm


Opening seatbelt while driving will throw you out of the car

If you open the seatbelt while driving, it will launch you out of the car just as if you had an accident.
Tested on latest artifacts with onesync legacy.

Were you driving at a consistent speed? If so, what was that speed?
If not, please detail the start and end velocity of the vehicle and the duration it took to reach the end velocity.

Were you driving at a consistent speed? If so, what was that speed? If not, please detail the start and end velocity of the vehicle and the duration it took to reach the end velocity.

https://gfycat.com/ImmenseFamiliarFreshwatereel

That is expected behaviour when going from 80 MPH to 28 MPH within 2 seconds.
If this is not to your liking, you can increase or decrease the velocity threshold by change the integer 50, representing MPH: https://github.com/TFNRP/seatbelt/blob/main/client.lua#L110

If you need further help, feel free to reopen this issue.


CAMEL-11244: camel-hazelcast: use string/enum instead of numeric operation type

I've kept operations current names in order to have backward compatibility especially with Spring/XML DSL. However, entries in HazelcastConstants have been declared as deprecated.

I made both changes:

cache Enum.values() statically
set defaultOperation on endpoint

Will review soon

can you squash your commits ?

Done.

This PR has been merged, do you mind closing it ?

Sure.

@tlehoux thank you very much for this PR


Has anyone managed to get this to run via docker-compose?

@sndnvaps Did you do something else to get it working with docker-compose?
When using the command like you it doesn't work at all. I need to write it in the ["", ""] form. That way the container starts successfully but I still can't access the stream. When doing the same settings via normal docker it works. I've also tried stdin_open and tty true. No success either.
Originally posted by @konstantinj in https://github.com/mpromonet/v4l2rtspserver/issues/157#issuecomment-583736161

I'm having the same issue essentially. Running this simply works but if I try to put it in a docker compose I get issues with it starting.. It comes up with an error: v4l2rtspserver    | log level:500
Running with this command works no problems:
docker run --device=/dev/video0 -p 8554:8554 -it mpromonet/v4l2rtspserver
If using a simple docker-compose of the following I get the error:
  v4l2rtspserver:
    restart: unless-stopped
    image: mpromonet/v4l2rtspserver
    container_name: v4l2rtspserver
    ports:
      - "8554:8554"
    devices:
      - "/dev/video0:/dev/video0"

Hi kllngtme,
Using docker-compose should work the same as docker, may be the error will help you to understand the problem.
By the way v4l2rtspserver | log level:500 is not an error it is the output log.
I made a quick test with
version: "3.5"
services:
  v4l2rtspserver:
    image: mpromonet/v4l2rtspserver
    ports:
      - "8554:8554"
    devices:
      - "/dev/video0:/dev/video0"
    command: ["-G","640x480x25", "-S"]

It seems to run normally, I am able to reach the HLS stream using http://pi2.local:8554/
Best Regards,
Michel.

@kllngtme i had drop it .it not work for my usb webcam in rpi

Hi @sndnvaps,
It needs a V4L2 device that support a compressed format (for instance H264, JPEG), like the raspicam.
With a webcam that supports YUV/RGB format, you may involve https://github.com/mpromonet/v4l2tools that can compress to H264 format using OMX.
Best Regards,
Michel.


Tai/input handler improvements

Not necessarily for this version
Implements https://github.com/amazingalek/owml/projects/1#card-41552452

Just tested with TAIcheat. Seems to work without any problem


Implement Gson annotations on Page and ListView to use list functionality

(https://github.com/lightcouch/LightCouch/issues/68)

No comments on this PR for 18 months?

I guess so... Is this still an active project?


FE: colorcpl susp exec: add additional Lolbin procs

Hi,
Thanks for the work on this project.
This PR adds svchost and powershell (powershell.exe , pwsh.exe, nslookup) to the list of suspicious LoLbin child processes associated with COLORCPL.EXE in the FE redteam compromise.

@whurd-redcanary thanks for the contribution. Powershell.exe and pwsh.exe should be in there, awesome addition. We'll also add them to the other lolbins. As for nslookup, they fit with this specific ioc related to colorcpl. I'll merge your request here, but won't add nslookup to the other lolbins list.
Thanks again for contributing.


Feature Request: Recognize DR when damagind Shield on counters

Create a spot to inform a DR so when you apply damage to this shield it wil recognize the DR and do the calculations

btw this tool is too hard to use.

Can you explain it a little bit? I don't know what you mean by entering in two different places.
Another good idea would be to lay out an example of exactly what you are trying to do, step by step. Then I could try to make this as easy as possible.

1- Trackers allow us to insert shields to calculate damage. When we hit the shield it is necessary to manually place the DR of the shield. It would be possible to create a field to place the DR of the shield So it is not necessary to keep inserting it whenever the shield is hitted.
2- We have two different places to configure the trackers, the first in the pencil on the sheet and the second under configurations> system settings> view and edit trackers. Could this be done in only one place?
3- We have <,>,=<,=> could be add a = signal?
4- instead of all this mathematics why not use only percentage? example
10% - ok
20% - damaged
50% - Broken
100% - destroyed
So if my shield with 100 HP took 23 damage i dont need to set formulas! it will show the shield as broken only until i reach the new level!
Thank you  for your patience Nick!
speaking english is a hard task for dyslexic people
<3


Highlighting all occurrences of selected word (like Notepad++)

Thanks you for your work.
Highlighting all occurrences of selected word -> I love this feature when I am writing or
analyzing SQL queries. It will be great if this feature in DBeaver works as in Notepad++.

Hi @jad986,
It's so interesting and will aggregate a lot to the DBeaver. I don't have idea about how complex it is to develop, but, for future features it will be welcome.

Agreed, it'd be a great feature. Unfortunately it won't be easy, Eclipse text editor doesn't support this feature out of the box. Although JDT does so I could try to make it by example..

Hello,
This functionality is very interesting! A feature often used in SQL Editor :)
Is there any news related?
Hugs!

Maybe Glance (http://ystrot.github.io/glance/) could be helpful here..

Glance should work, indeed. Any ideas on how to install this plugin in DBeaver? Is there any "backdoor" for testing purposes?

In 3.7.7 EE you can install it as in Eclipse: main menu Help->Install new software.
Glance update URL is http://www.exyte.com/glance/updates
Glance shortcuts conflicts with DBeaver. You'll need to redefine CTRL+ALT+F to some other sequence (in preferences).

Eclipse provides this option for Java editors, using the "Mark Occurrences" option. Perhaps this can be extended to SQL Editors.
See this question for the details and process for Java editors here:
https://stackoverflow.com/questions/10310597/cannot-highlight-all-occurrences-of-a-selected-word-in-eclipse
The "Occurrences" doesn't appear in DBeaver in either Text or SQL editors.

How do you disable this feature in v5.2.4? There is no SQL Editor node in preferences under General. I even tried searching for the word "mark", but nothing shows. Here's my pref window:

In 5.2.3 and 5.2.4 all database editors prefs were moved to Database->Editors:

Hello! Marking all occurrences is a good step in the direction! But can we go a step further and "select" all occurrences. Like the shortcut "Command + D" in VS code. I know there is always an option of "Find and replace all" but it is nowhere as easy to use as the above mentioned option. Thanks!


Use fully qualified name for mapping Java sources and binaries

For instance we may have:

main/java/org/apache/Foof.java
boo.jar-extract/org/apache/Foof.class
Mapping org/apache/Foof together is a perfect, high confidecen mapping

Implemented in https://github.com/nexB/scancode.io/pull/666


Appended Deps Misrendered as Strings

Describe the bug
When Igniter.Project.Deps.add_dep/3 is called with default opts, a dependency is prepended to the list in deps/0 in mix.exs. When append: true is passed, the dependency is appended as a keyword value instead of a tuple.
This appears to be valid - mix deps.get works - but it's not the pattern we see in Elixir applications. It also means the generated line would need to be updated to a tuple in order to configure dep options.
To Reproduce
Igniter.Project.Deps.add_dep(igniter, {:ecto, "~> 3.10"}, append?: true)

# mix.exs

def deps do
  [
    ...
    {:some_other_dep, "~> 1.0"},
    ecto: "~> 3.10"
  ]
end

Expected behavior
Igniter.Project.Deps.add_dep(igniter, {:ecto, "~> 3.10"}, append?: true)

# mix.exs

def deps do
  [
    ...
    {:some_other_dep, "~> 1.0"},
    {:ecto, "~> 3.10"}
  ]
end

Additional context
# mix.lock
...
"igniter": {:hex, :igniter, "0.3.63", "ac27c466e6f779cf5f39d200a7d433cd91c8d465277e001661dc9b4680ca9eb3", [:mix], [{:glob_ex, "~> 0.1.7", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:rewrite, "~> 0.9", [hex: :rewrite, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.4", [hex: :sourceror, repo: "hexpm", optional: false]}, {:spitfire, ">= 0.1.3 and < 1.0.0-0", [hex: :spitfire, repo: "hexpm", optional: false]}], "hexpm", "5e24f71479cfd3575f79a767db51de0b38a633f05107b05d94ef1a54fde9093f"},
...

Yeah, interesting 🤔 probably when adding a tuple to a list we need to check the format of the element before it.

I can confirm this is fixed, too! 🎉 🎉 Thanks again!