TemplateRegexMatcher.getStartRegex sometimes returns a regex that matches with an index before the license start

Version 1.1.11
Example 1 greedy regex after optional:
String licenseText = "ab cd text";
String licenseTemplate = "<<beginOptional>>cd<<endOptional>> <<var;name=\"copyright\";original=\"Copyright (c) <year> <copyright holders>  \";match=\".{0,5000}\">> text";
TemplateRegexMatcher templateRegexMatcher = new TemplateRegexMatcher(licenseTemplate);
String startRegex = templateRegexMatcher.getStartRegex(25);
System.out.println("start regex: " + startRegex);
Matcher matcher = Pattern.compile(startRegex).matcher(licenseText);
if (matcher.find()) {
    System.out.println("start index found: " + matcher.start());
}

Returns
start regex: (?im)(\Qcd\E\s*)?(.{0,5000})\Qtext\E\s*
start index found: 0

but the start index should be 3.
Example 2 greedy regex at start:
String licenseText = "abtext";
String licenseTemplate = "<<var;name=\"copyright\";original=\"Copyright (c) <year> <copyright holders>  \";match=\".{0,5000}\">> text";
TemplateRegexMatcher templateRegexMatcher = new TemplateRegexMatcher(licenseTemplate);
String startRegex = templateRegexMatcher.getStartRegex(25);
System.out.println("start regex: " + startRegex);
Matcher matcher = Pattern.compile(startRegex).matcher(licenseText);
if (matcher.find()) {
    System.out.println("start index found: " + matcher.start());
}

Returns
start regex: (?im)(.?{0,5000})\Qtext\E\s*
start index found: 1

but the start index should be 2.
.?{0,5000} doesn't seem to work as expected. It is an unusual regex that some online regex websites say is invalid: https://regex101.com/r/l3810b/1, regexr.com/81kfo.
https://www.freeformatter.com/java-regex-tester.html says the regular expression is valid.
I think maybe to fix this you could just offer a method for a regex to find the beginning of the non-optional part. Otherwise  a changing the regular expressions in these two cases to something like the following could work
(?im)((\Qcd\E\s*)(.{0,5000})\Qtext\E\s*)|(\Qtext\E\s*)
(?im)\Qtext\E\s*

In the first case if there were multiple optional parts it would get even more complicated to do it correctly.

Now that I review this issue, I do tend to agree that this is an issue if the method is being used without following on with the template matcher.
@sdheh - It looks like you have a pretty good handle on approaches to fix this.  Can you create a pull request?


Slow VPN Connection

Hi All,
I am struggling to find solutions for the slow VPN connection. Tried setting buffers fixed (UDP) and at 0 (TCP).
I used the installer, the client is connected but is very slow.

Nothing to see with the script, it could be plenty of things. Server throughput, server configuration, server load, ethernet load, client configuration, etc...
See http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/ and https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux

The connection between your ISP and the server could be congested too, this is by far the most common cause of slowness (and hardly fixable).
Whatever it is, this isn't an issue with the script.


Added the Contributor page to /contributor route with proper theme and structure.

Added the Contributor page to /contributor route with proper theme and structure.
closes :- #92
https://github.com/user-attachments/assets/c7cf81fe-517a-432b-8e11-69c1ce6a5ec0
@AkshitLakhera Check this PR and merge it and assign this to me and put relevant labels to it like gssoc 2024 ext, hacktoberfest and level. i think it can be level 3 because the page is very important in open source to showcase the efforts of the people contributing in building it and it is not static it is dynamic as a new contributor is added to your repo it will be automatically added there so this is the beauty of this.

@AkshitLakhera Can you check the PR and merge it (reminder)

@AkshitLakhera Check the PR pending from 4 days (reminder)

@AkshitLakhera Check the PR pending from 4 days (reminder)

sorry for inconvenience I was busy with my exams.It is looking great

@AkshitLakhera Please put it level 3 it is fully responsive on all screen sizes and functional and dynamic also.


Create 0.2.0.yaml (x86)

Separate manifests for x86 and x64 branches.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate <manifest>, where <manifest> is the name of the manifest you're submitting?
[ ] Have you tested your manifest locally with winget install -m <manifest>?

Microsoft Reviewers: Open in CodeFlow

I superseded this pull request in a subsequent pull. :)


Update Project.toml

compat julia [1.5.2, 1.6.0)

Codecov Report

Merging #31 (d80c793) into main (bab5cc5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage   49.33%   49.33%
=======================================
  Files          54       54
  Lines        6128     6128
=======================================
  Hits         3023     3023
  Misses       3105     3105

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 bab5cc5...d80c793. Read the comment docs.


OnUpdate callback implementation

Do you want to request a feature or report a bug?
Feature request
What is the current behavior?
OnBegin and OnEnd callbacks exist. No OnUpdate callback
What is the expected behavior?
Would be cool to have OnUpdate callback too.
Which versions of SignaturePad, and which browser / device are affected by this issue? Did this work in previous versions of SignaturePad?
v2.2.1

should be fixed by #567


cannot support Chinese input method

Hello meslzy:
When I input Chinese characters in the red box here, the input method software appears below the screen. However, when I finish inputting and press the spacebar, it doesn't input Chinese characters but instead inputs letters.
When I execute 'detach', It works fine.

I didn't understand at all.
What i did understand is that we have an input and when we click on it a software popup which i don't have clue what is it.
Then when you type word and you click space it transfer back the words to the app input.
Can you please lemme know the software name that u use to type Chinese.

The input software is https://shurufa.sogou.com/
What I expect is like this

When I type space, It should input "中文"，but now It's "zhongw"

Well, I'm not Chinese, i really need your help, i have no idea how to use the software.
Can we use faster channel to comms, maybe Discord?

Okay i see now, i had to change my language first.

The issue here is simple, when you start typing and finish the word the software will send the word to the input in which window is focused. but the issue here is the windows behind desktop can't be focused, so ill try to see if we can solve this issue or not.

Hey, after a lot of debugging and searching i think this is beyond my experience, sorry but i can't solve this issue.

Ok, Thank you so much!

Hi @meslzy
I'm trying out a solution and would like to ask: Is it possible for me to make the window a child window of the desktop rather than a wallpaper, so that I can input Chinese? I want the window to be a child window of the desktop because I don't want it to disappear when the user clicks 'Show Desktop'(win+D).
Here's my idea, but I'm unsure how to implement it because I lack knowledge in Windows app development. I tried the following code in main.cpp, but it didn't work:
`
LONG_PTR style = GetWindowLongPtr(windowHandle, GWL_STYLE);
style |= WS_CHILD;
SetWindowLongPtr(windowHandle, GWL_STYLE, style);
SetWindowPos(windowHandle, NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);
SetParent(windowHandle, GetDesktopWindow());
`
Is there anything wrong?

I believe i have tried your idea if I'm not mistaken i successfully did it.
What you need is to place it at the bottom of all handlers. (desktop)
Then you need to listen when user change the window state either by (win + d, or click the preview desktop) and prevent that and keep it visible.
I think it's a good idea I'll try to implement it and I'll name it stick and unstick 😎

That will be more powerful. I'm looking forward to it :)


[staging] python3Packages.setuptools: 57.2.0 -> 60.5.0

Motivation for this change
cherry-picked from #154969 (cherry picked from commit 410658a64ce368ffee73f14ef239f055e1aeff57)
Since setuptools removed use_2to3 internal option, many packages were broken.
This doesn't have an "easy" solution, as it usually means that the upstream still has a
significant amount of python2 code, and without vendoring 2to3, there's not easy way for
the package to be installed with python3
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Why do you want to cherry-pick this to staging?

Why do you want to cherry-pick this to staging? So to keep track of for another time?

it's a mass rebuild. And my server can handle the build load. I can rebase onto master for others

Superseded by #160067


Change feature flag name and add description

MERGE TYPES FIRST: https://github.com/rancher/types/pull/1120
Change feature flag name from steve to dashboard.
Issue: https://github.com/rancher/rancher/issues/25817

@rmweir as part of this request, we had discussed wanting to also update so feature flags take descriptions from the API instead of from the UI. Can you make a separate issue and PR for that request?

Don’t have full context here, but shouldn’t the description be getting used/set somewhere ?

Don’t have full context here, but shouldn’t the description be getting used/set somewhere ?

you're right, also have to make another change, will reping when ready

@rmweir can you update the other 2 feature flags and pull the description from the UI. Ping @vincent99 for best text for description of Steve.


Port to 1.18.2

Port for fabric 1.18.2
And if there is, please publish on curseforge

I updated the project, it seemed there was only one mapping change (Screen#onClosed -> #close)... So I assume 1.18 version might work, I didn't test it though


Undefined symbol: omp_get_thread_num

Hi,
I tried to estimate wrapped phase time-series (DS) with sequential.py and got the error with
omp_get_thread_num.
writing  /home/insar/slc/Sequential/miniStacks/20170201_20170520/stack/stack.vrt
-1 True
0 True
1 True
2 True
3 True
4 True
5 True
6 True
7 True
8 True
9 True
Traceback (most recent call last):
File "/opt/fringe/bin/sequential.py", line 199, in
runEvd(inps, miniStack.stackVRT, weightDS, outDir, miniStackCount, compSlcDir, compressedSlcName)
File "/opt/fringe/bin/sequential.py", line 52, in runEvd
import evdlib
ImportError: /opt/fringe/python/evdlib.so: undefined symbol: omp_get_thread_num

Could you try the changes to src/evd/CMakelists.txt file in #4

Ok, issue is fix.
Thx


The slowest download on the internet

There is noting on the internet that downloads more slowly than this azurecli msi. It would be faster driving 1000km with a memory stick and copy it from someone that has it, drive back and install it. btw I have a 1gig internet line...
https://azcliprod.blob.core.windows.net/msi/azure-cli-2.23.0.msi
Is blob storage on vacation, or hosted on mars?

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

ID: 8246b90a-efb1-03ce-f642-d3eb2441fc30
Version Independent ID: 2fdd20ef-7bd3-57bc-7957-93f4bb5377ce
Content: Install the Azure CLI for Windows
Content Source: docs-ref-conceptual/install-azure-cli-windows.md
Product: azure
Technology: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

@cornelhuman thank you for the feedback and I am sorry that the download is so slow for you!
If you would like to make an official feature request around this you can do so here: https://feedback.azure.com/forums/34192--general-feedback


ImageGenerateParams type errors for DALL-E 3

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Issues with the ImageGenerateParams in conjunction with DALL-E 3, in particular the following properties:
model:
ERROR:
Object literal may only specify known properties, and 'model' does not exist in type 'ImageGenerateParams'
model "dall-e-3" cannot be specified without errors.
size
ERROR:
Type '"1024×1792"' is not assignable to type '"1024x1024" | "256x256" | "512x512" | null | undefined'
quality
ERROR:
Object literal may only specify known properties, and 'quality' does not exist in type 'ImageGenerateParams'
To Reproduce
Update to latest version of the openai nodeJS package
version 4.16.1
then try something like:
const completion = await openai.images.generate({
model: "dall-e-3",
prompt,
size: "1024x1792",
response_format: "b64_json",
user: uid,
quality: "hd"
});
And you will get the type errors.
Code snippets
const completion = await openai.images.generate({
        model: "dall-e-3",
        prompt,
        size: "1024x1792",
        response_format: "b64_json",
        user: uid,
        quality: "hd"
      });

OS
Chrome OS
Node version
v18.16.0
Library version
openai v.4.16.1

Deleted node_modules and ran npm install fixed the problem


Add python bindings

Because of the need to integrate this project with capa, we need python bindings for this project.

can just elaborate it

Can't wait for it!


JSN-SR04

Hello,
I have been using raspi-sump for a few months and decided to add a second one for my yard sump. Unfortunately the sensor failed due to the moist conditions so i am trying to set up this new sensor and hooked it up as the old sensor was. Are there other resistor needed for this model of sensor or is it a different wiring setup?

SR04T right?  Should be the same, as long as it has 4 pins.  One caveat with this sensor is that it does not work for readings closer than 20cm's.  Other than that it should be fine.

Great, I thought that might be the case however the first time I could not get a reading, so a very quickly made a short cable to test with. I got it to work with one of the other sensors (the one you originally recommended) so the pi and cables checked out so I wired up the new sensor and the board got warm I'll grab some photos in the morning.
This is what I got:
2Pcs JSN-SR04T Integrated... https://www.amazon.com/dp/B08T5XF6Y9?ref=ppx_pop_mob_ap_share
Thank you for replying so quickly!


Fix validate_all_zips() so it reports missing ZIP codes

Describe the bug
validate_all_zips() does not report missing ZIP codes in the intermediate data file containing the county code to ZIP code mapping.
To Reproduce
Steps to reproduce the behavior:

Run PYTHONPATH=. python3 ssacc/cli.py
It reports 42522 ZIP codes found.
In fact, only 38408 are found and the missing 4114 are not reported.

Expected behavior
The correct count of missing and found ZIP codes are found.
Additional context
After this is fixed, it will be easier to fix Issue #27

method fixed, now reveals missing zip codes.


Document migration from pkg_web

I think it's some combo of "use some other packaging rule from rules_pkg" and #254. Maybe we can expose a macro that is a close approximation.

is there an appropriate way to migrate from pkg_web in rules_nodejs to rules_js?

In migrations I've been doing, I simply removed pkg_web since the bundler produced a directory that could be directly deployed.
Can you give an example of how you're using it - what inputs you give it and what output you expect? I think rules_pkg should cover most use cases.

this Is how it was setup under rules_nodejs
cmd/web/provider
container_image(
    name = "some-image",
    base = ":some-container",
    files = ["//path/to/web/iam"],
    ports = ["8080"],
    tags = ["manual"],
)

cmd/web/iam
pkg_web(
     name = "iam",
     srcs = [":build"], // result of react-scripts build
     substitutions = {"placeholder": "some_semver"},
     visibility = ["//visibility:public"],
 )

ive gotten the react-cra example more or less working would it be as easy as tossing the result of build to the container_image?

Yes exactly your pkg_web might not be doing anything extra there. Were you relying on it to stamp something? You can just compare the container layers before and after to convince yourself it produces the same result (or identify what needs to be changed to get it to match)


10768 DEV add wwwUrl masterIntegrationField for bitbucketServerBasicAuth masterIntegration

https://github.com/Shippable/pm/issues/10768

this is rc verified, closing.


Using different filter range than the training dataset

Hi @smousavi05,
I notice that in mseed_predictor, a band pass filter is apllied to the waveforms (1 - 45 Hz). I guess this is because the training dataset was also filtered in this frequency range.
I have some noisy stations with high frequency noise. The signal become clearer if I filter it with lower frequency raange (for example: max frequency 1-10 Hz or 1-15 Hz). So I modified the filter range in the mseed_predictor, and I got more picks from these noisy stations. I use the EqT_model.h5 training model.
Do you think this is OK or this can cause some issues?
Thanks!
Hasbi

@hasbishiddiqi Hi Hasbi, that is perfectly fine as you have just narrowed the frequency band. This is totally okay and should not make any problem.

@smousavi05 Thank you!


Cleanup & comment demo

Both the js and wsshim portions of the demo need cleanup and commentary. Everything is dirty at the moment.

Change wsshim to always attach to path /wsshim, and jsclient to not need a path argument.

Path bits done.


Add John Hanna to Contributors list

Hi  @jphanna, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Add elderjs - aims to be large-site optimized

https://github.com/Elderjs/elderjs
https://nicholasreese.com/lessons-from-building-a-static-site-generator/ - when reading this i'm curious how the claims here match up against other frameworks. Elderjs seems quite interestingly, I might make a PR to add it in a bit if that's fine :)

Go for it! It's about time for me to start thinking about making the results a bit more scalable. I'll add another issue for that.


Ability to rename module name

I couldn't figure out a way using JSDoc to change the name of the module so that it shows up differently in the doxx output. Is this possible?

+1


Feature/benchmark game

This is a version of a game to benchmark quantum computers, inspired by https://github.com/decodoku/A_Game_to_Benchmark_Quantum_Computers. It currently has the ability to play games on ring-like layouts as well as arbitrary layouts that can be parsed from a text file.

@joelin0 Thanks for this PR. Unfortunately it has no test coverage. Would you mind adding that?


[Feature] add manage frontend and backend fake camera

I need to automate the using of frontend camera on mobile device, in fact our product force the using frontend camera if the device is a mobile and force the backend camera if the user use a pad or PC.
If I'm using a PC, theses options work :

"--use-fake-ui-for-media-stream"
"--use-fake-device-for-media-stream"

else If i'm using a emulted mobile device, even with this option, the frontend camera doesn't work :

"--use-file-for-fake-video-capture=src/test/resources/videos/fake-camera-1-1.y4m"

I don't find any answers to solve my problem, I test with a preload.js file with page.addInitScript() but without success.
ChatGPT tell me what it's not possible today in 1.40 Playwright version.
Can you confirm it ? And if it's confirmed, could you add this feature to the next roadmap please ?
Thank you.

else If i'm using a emulted mobile device, even with this option, the frontend camera doesn't work :

You may search crbug.com for bugs related to this behavior (Playwright doesn't modify the option, you can try launching the browser directly without Playwright with the flag and check).
Folding this request into https://github.com/microsoft/playwright/issues/2973, please upvote that issue instead.


Fix breaking dll rename of SharpZipLib - issue #2095

Summary
Fixes #2095 by registering an assembly-resolver that is used by .net when an assembly isn't found. So if something tries to get SharpZipLib.dll and fails, this resolver will kick in and tell .net that it's in the new assembly ICSharpCode.SharpZipLib.
I also added a readme.md explaining it some more, and the "register assembly handler" must happen very early, which is why I needed to put it into the application start.

@tpluscode it doesn't look like #2019 was ever merged

Oh, true. Good :)

Thanks for the thorough review! I'm updating everything as discussed, after testing I'll republish...

Changes made and published, pls re-check, thx!

I'm guessing we need to update this function as well with both assembly names? or change the StartsWith to Contains? Right @bdukes?
https://github.com/dnnsoftware/Dnn.Platform/blob/6387dd1a7e55cdd994d567cdb76733fbd63819dc/DNN Platform/Library/Framework/Reflections/TypeLocator.cs#L109

@tpluscode @bdukes @ohine I believe I did everything you guys asked for. Ok for now, or anything still pending?

@bdukes and @ohine I don't understand that part about the other code. Should I do something there? I've never used/seen that code before.

@iJungleboy I've never seen that code either, I was researching the SQL dependency issue (#2116) and stumbled across that function in the process. We should add both of the assembly names to that function. If you can do it in this pull request that would be great, if not I'll start up another pull request with that change.

@ohine I would rather not touch that - I don't know anything about it and it's not related to the sharpziplib issue directly - ok?
I believe we've covered everything - shall we finish the pull @bdukes  and @tpluscode ?

I think that we need determine WHY those DLL's are excluded from the scanning process before we fully implement this.  For a DLL to be explicitly listed here my guess is that there was an issue.
@ohine or @bdukes any idea on how we might track this down?

Maybe @ashishpd might know some history on that function/class and it's purpose in the platform?
https://github.com/dnnsoftware/Dnn.Platform/blob/6387dd1a7e55cdd994d567cdb76733fbd63819dc/DNN Platform/Library/Framework/Reflections/TypeLocator.cs#L69-L124

Created PR #2126 with the fix to the CanScan function.


Simplifying Development: A Return to Monorepo Architecture

🤔 What's the problem you've observed?
The VSCode extension serves as a wrapper for the language server, while the language server, in turn, acts as a wrapper for the language service. This separation, though common, presents challenges for contributors in local development. Additionally, when a patch is applied to the language service, the current practice necessitates making corresponding patches to both VSCode and the language server in the development chain. Adopting a monorepo architecture could simplify this process, while also not compromising independent development and deployment.
✨ Do you have a proposal for making it better?
We should either create a new repository that includes all components—Cucumber VSCode, language server, and language service—or reuse the existing VSCode repository with the language server and language service integrated.
📚 Any additional context?
I notice that we have moved away from the monorepo approach, but for these packages, it may not be worthwhile. Some popular VSCode extensions follow this architecture, like robotframework-lsp and tailwindcss-intellisense.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Thanks for the interesting perspective @binhtran432k. Can understand some of the challenges. With a monorepo architecture, would you be able to advise:

How would you rectify issues presented by the previous monorepo architecture?
How would you test across different source code versions of two components? For example, an in-development language-server change against an in-development language-service change of another contributor on a different branch/fork.
"presents challenges for contributors in local development" - would you be able to outline some of these challenges? Can you think of any other opportunities that might mitigate or resolve these challenges?

Will close this for now @binhtran432k, had a look at alternatives and some other repositories but unfortunately haven't located a suitable mitigation for the mentioned issues. Will keep an eye on this and reopen if encounter a suitable option; will also continue to work on improvement the development experience and documentation. Appreciate your support as always.


Shutdown exception

Hi,
I'm getting this shutdown exception when I try to restart the server. I'm using the master branch code.
It appears like is having problem getting the process pids with GetChildPids.
OS: Windows 7
2014-12-01 20:56:12 - ProcessKill 10804
2014-12-01 20:56:14 - Shutdown exception
Message:A system shutdown is in progress. (Exception from HRESULT: 0x8007045B)
Stacktrace:   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementScope.InitializeGuts(Object o)
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObjectSearcher.Initialize()
   at System.Management.ManagementObjectSearcher.Get()
   at winsw.WrapperService.GetChildPids(Int32 pid)
   at winsw.WrapperService.StopProcessAndChildren(Int32 pid)
   at winsw.WrapperService.StopIt()
   at winsw.WrapperService.OnShutdown()

Also causes https://issues.jenkins-ci.org/browse/JENKINS-22692

A major rework is required (if we don't want just to suppress exceptions). Seems the bug in winsw-2.0 scope

I have added suppression of this exception. Even if WinSW fails to retrieve child PIDs, it will try to kill the spawned process


Pop-up with a full column name when the name is truncated

Some large forms contain long parameters, which are truncated. When hovering a mouse, the full name needs to be shown; otherwise, it is inconvenient to enter the data, as the user should remember what these parameters are or change the width of the column.

It would be absolutely fantastic to have a class description in this pop-up, as some names of the classes will be abbreviated and not self-descriptive. The format is - the class' name in the first line and the description (or only a small portion of it) in the second line of the pop-up.


A "loading" animation state

I was just looking through the features and the animation on the page https://apexcharts.com/features/ next to the heading "Smooth Animations" stood out to me.
It would be really cool to have a standard "loading" animation on each chart type since loading data for charts can take a while sometimes if done over ajax. Usually I show a loading indicator and only show the chart after, bit it would be pretty cool if the chart could display some sort of animation itself which then just morph into the loaded data.
Just an idea 😊 feel free to close this if you don't like it...

Good idea!
If it was a single chart type (like line/area), this would be easier to morph as there are no multiple paths in those chart types.
But, if you try morphing a single element to multiple paths (bars/columns), then it becomes tricky.
So, theoretically, it's cool but not easy to implement for each chart type :)

Could you maybe show me how you did the since wave column chart? I tried to do it using vue but the update was horrendous...

Sorry to deceive you into thinking that it’s a chart, it’s not! Just plain cas animation :)

Hah, I suspected. Is there a quicker way to update than by changing the series data?


How to import and use simplebar in angular 4 project?

i added the dependency of simplebar in my vendor file, also i added
declare const SimpleBar: any;
in my component and in constructor:
new SimpleBar(document.querySelector('.scroll-content'), { autoHide: true });
and i got the error: SimpleBar is not defined.

You probably need to import SimpleBar in your module. Like import 'SimpleBar'; should be enough.


(GH-2905) Update BoltSpec functions to allow absolute paths

Updates BoltSpec allow/expect_upload and allow/expect_script functions to accept an absolute path. The path referred to must still exist, but that's relatively easy to mock with temporary files.

!bug

Update BoltSpec functions to allow absolute paths (puppetlabs#2905)
BoltSpec's allow_upload, expect_upload, allow_script, and expect_script functions now support passing absolute paths that rather than a module reference. The referenced path must refer to a real file or upload and script functions will still error.

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


fix for parsing output path when condition has no spaces

Fix for issue: https://github.com/fsprojects/Paket/issues/1057
The tests pass, but @amazingant (who wrote the parsing code) may need to double check that to see that it doesn't break any other scenarios.

Travis build fails, but only because it fails to install mono due to some apt-get 404s:
The command "sudo apt-get install -qq mono-complete mono-vbnc fsharp nuget referenceassemblies-pcl" failed and exited with 100
#itbuildsonmymachine

yes same on FAKE build see https://github.com/fsharp/FAKE/pull/949

thx


How to generate InstallPlan manually from a CSV?

Support Question
How olm generates the roles and permissions from a given CSV file.
What did you do?
My goal is to install an operator directly from CSV files. Like supporting a user who comes with a link like this:
https://github.com/operator-framework/community-operators/tree/master/community-operators/api-operator/1.1.0
These are the steps which I am following right now -

Apply all CRD files.
Run a script that reads the CSV file for role and permission requirements.
Generate appropriate service account, Roles, and permissions through the script.
Apply all the generated files.
Apply the CSV file.

What did you expect to see?
I am able to install operators. I want to manually generate the installPlan for the given CSV.

The issue is stale. Closed. Please feel free to reopen if needed.


Dev krushna

This pull request contains below changes

Changes to have separate function to run knn in iterations (test is in progress)
Modification in F1F2OPF3 to resolve and, or, andnot issue
Modification in min, max to return index along with result
Utilities to get table from vector and vector from table
Added Q.vsnot for B1

(1) What is vsnot? Why don't we just call it not? Also, why don't we just do ~X[i] instead of going bit by bit?
Might have to do something special with ending 64 bits
I was working bit by bit because didn't want to touch unused bits from ending 64 bit.
But after your comment realized that, modification in unused bits (if we use not ~ operator) will not affect anyway because we are specifying length for the vector. So modified the code to use not (~) operator directly instead of bit by bit working.
I am using vsnot because "not" is a reserved keyword for lua, so if I use something like Q.not then it gives me error like
./test_not.lua:19: '' expected near 'not'
so temporarily using "vsnot", could you please suggest a proper alternative name
(2) where do we have code that checks that exponent is a valid number? This should be in pow_specialize, I presume?
Following are the checks in pow_specialize
if ( ( type(scalar) == "number" ) or ( type(scalar) == "string" ) ) then
scalar = assert(Scalar.new(scalar, in_qtype))
elseif type(scalar) == "Scalar" then
scalar = assert(scalar:conv(in_qtype))
else
assert(nil, "no valid scalar provided")
end
(3) Where is chunk_idx used in new min/max? More precisely, why do we need it at all?
We are using chunk_idx in getter function defined in respective specialize function as below
local min_index = tonumber(y[0].min_index) + tonumber(y[0].chunk_idx)
But I updated the code not to maintain/use chunk_idx in structure, rather updating the index appropriately in C itself.
Updated changes are pushed in same pull request, could you please have a look at it.


import('aa.js') not supported

I've done a fix for this in esprima.net
https://github.com/sebastienros/esprima-dotnet/pull/154/commits/272dd32541fb8202e76f9157cbf741bb138921b0

fix : https://github.com/jquery/esprima/pull/2076

Hi @jogibear9988, thanks for the report and the fix! For our future reference, this likely needs a reference to the specification, as well as some tests.

there are already tests for "import"

spec: https://github.com/estree/estree/blob/master/es2020.md#importexpression

for example here: https://github.com/jquery/esprima/blob/main/test/fixtures/es2018/dynamic-import/await-import.js

my fix has one problem:
import('a','b') is no error. but I don't know how this should be fixed atm. I'm not deep enough into esprima

the import('a', 'b') is now also fixed that it would fail.


Unable to rerun simulations after initial few steps

Thanks again for open-sourcing the implementation.
I tried running the base base_the_ville_isabella_maria_klaus scenario, however, after a few steps, the simulation stops and unable to proceed after adding subsequent run commands.

I have the same problem

ction description: being used Emoji: """ Output the response to the prompt above in json. The value for the output must ONLY contain the emojis. Example output json: {"output": "🛁🧖♀"} Klaus Mueller persona.scratch.importance_trigger_curr:: 145 150 aldhfoaf/???? the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed Error.

ction description: being used Emoji: """ Output the response to the prompt above in json. The value for the output must ONLY contain the emojis. Example output json: {"output": "🛁🧖♀"} Klaus Mueller persona.scratch.importance_trigger_curr:: 145 150 aldhfoaf/???? the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed Error.

Klaus Mueller persona.scratch.importance_trigger_curr:: 145
150
aldhfoaf/????
the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed
Error.

Same, I get an error every time with Klaus Mueller

update:
I ran the simulation with all the villagers and was able to successfully pass Klaus. The simulation has been running for a few minutes (only tried torun 10 steps) so if it fails I'll update this comment. But the error appears to only be in the isabella_maria_klaus simulation

It appears that the movement folder needs to be created before the persona's current movement can be written to the file (and subsequently sent to the frontend):
https://github.com/joonspk-research/generative_agents/blob/c7e0c16d88cba8f3611378bea57dbcac08b9d235/reverie/backend_server/reverie.py#L399
# We then write the personas' movements to a file that will be sent
# to the frontend server.
# Example json output:
# {"persona": {"Maria Lopez": {"movement": [58, 9]}},
#  "persona": {"Klaus Mueller": {"movement": [38, 12]}},
#  "meta": {curr_time: <datetime>}}
curr_move_file = f"{sim_folder}/movement/{self.step}.json"
with open(curr_move_file, "w") as outfile:
  outfile.write(json.dumps(movements, indent=2))

(among a few other places)
We are currently running into issues where the simulation hangs (>1min) after the movement is written. Will report back with more findings. (we have ample rate limit quota & budget so it shouldn't be a problem)

I have a modest rate limit quota and will have some time tomorrow, lmk if there is a particular route I can help investigate. I'll also try to create a new sim following the instructions and will report back with any issues

After creating the folder before attempting to write it, I was able to run it for 4000 ticks with no interruptions.

`
sim_folder_path = sim_folder
if not os.path.exists(sim_folder_path):
os.makedirs(sim_folder_path)
      movement_folder_path = os.path.join(sim_folder_path, 'movement')
      if not os.path.exists(movement_folder_path):
          os.makedirs(movement_folder_path)

      curr_move_file = f"{movement_folder_path}/{self.step}.json"
      with open(curr_move_file, "w") as outfile:
          outfile.write(json.dumps(movements, indent=2))`

It works! Thanks!

interesting - I'm unable to run still.
Just to verify - are you creating the file movement in ./environment/frontend_server/storage/base_the_ville_isabella_maria_klaus
before running python reverie.py?
Also, I inserted

          sim_folder_path = sim_folder
          if not os.path.exists(sim_folder_path):
              os.makedirs(sim_folder_path)

          movement_folder_path = os.path.join(sim_folder_path, 'movement')
          if not os.path.exists(movement_folder_path):
              os.makedirs(movement_folder_path)

          curr_move_file = f"{movement_folder_path}/{self.step}.json"
          with open(curr_move_file, "w") as outfile:
              outfile.write(json.dumps(movements, indent=2))

in reverie.py at line 399 but still am failing to run anything for Klaus...
Neither method worked for me - did ya'll do something differently to get it to work?

i created the folder and added the code at the position, but i also cant get the characters to move - frontend seems fine, backend shows the output of each character, but there is no json-file that has been written to the movement folder.

same here. I added the create folder code but still it shows
Enter option: run 10 Isabella Rodriguez persona.scratch.importance_trigger_curr:: 142 150 Maria Lopez persona.scratch.importance_trigger_curr:: 141 150 Klaus Mueller persona.scratch.importance_trigger_curr:: 143 150

+1 I'm getting same issue after inserting the create folder code, the simulation hangs here:
Klaus Mueller persona.scratch.importance_trigger_curr:: 145
150
aldhfoaf/????
the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed

same issue, how to solve it

interesting - I'm unable to run still.
Just to verify - are you creating the file movement in ./environment/frontend_server/storage/base_the_ville_isabella_maria_klaus
before running python reverie.py?
Also, I inserted

          sim_folder_path = sim_folder
          if not os.path.exists(sim_folder_path):
              os.makedirs(sim_folder_path)

          movement_folder_path = os.path.join(sim_folder_path, 'movement')
          if not os.path.exists(movement_folder_path):
              os.makedirs(movement_folder_path)

          curr_move_file = f"{movement_folder_path}/{self.step}.json"
          with open(curr_move_file, "w") as outfile:
              outfile.write(json.dumps(movements, indent=2))

in reverie.py at line 399 but still am failing to run anything for Klaus...
Neither method worked for me - did ya'll do something differently to get it to work?

I was having issues with the movement folder, I created it after the initial forking of base_the_ville_isabella_maria_klaus. So after it creates my new sim I add the movement folder. I had a sim going for around 2 in game days before I either hit rate limits or it hung.

 same issue, how to solve it

If my sim seems to hang, I'll press cntrl-c once and it seems to interrupt GPT and continue. I did have a sim hang after two days of in game time that I couldn't get to continue working. Not sure if it was rate limits or something else.

I did some more digging, it appears that is has trouble finding the curr_env_file. After it fails to find it, it continues and gets stuck in the starting server loop. I'm getting sleepy but I can probably look more into this tomorrow night
I'll attach the output of my console:

I have reviewed the code and noticed that this issue may be due to the agent not having any new actions after a period of time, persistently performing the current action and therefore no new idea output will appear. After a longer period, the agent will resume normal operations when it starts to act again.

While a better structure of relaying information between the game engine (frontend) and the simulation engine (LLM-powered backend) is preferred, a temporary solution is to create the folder on-demand:
https://github.com/liaopeiyuan/generative_agents/commit/7852068e350eae4f5086bd7e3386761d567ad08f
Potential reasons for "getting stuck" is due to the pattern of how simulation proceeds: you need to keep the frontend tab open (I think this is a browser- and setting-specific behavior, see https://stackoverflow.com/questions/56787440/keep-my-code-running-in-the-background-on-one-browsertab) so that it constantly pulls potential updates from the backend using the update_environment method, again, as a byproduct of the file-system-based design:
https://github.com/joonspk-research/generative_agents/blob/fe05a71d3e4ed7d10bf68aa4eda6dd995ec070f4/environment/frontend_server/templates/home/main_script.html#L411

I'm seeing this behavior regardless of frontend tab being open. I can't run a single step without the errors
things I've tried that have not fixed the issue -

adding the following code snippet into reverie.py at line 399

         sim_folder_path = sim_folder
          if not os.path.exists(sim_folder_path):
              os.makedirs(sim_folder_path)

          movement_folder_path = os.path.join(sim_folder_path, 'movement')
          if not os.path.exists(movement_folder_path):
              os.makedirs(movement_folder_path)

          curr_move_file = f"{movement_folder_path}/{self.step}.json"
          with open(curr_move_file, "w") as outfile:
              outfile.write(json.dumps(movements, indent=2))

creating an empty movement folder in my forked simulation (after its named and BEFORE i type in run step)
copying the movement folder from July1_....3-1 into base_the_ville_isabella_maria_klaus
running a forked simulation off of base_the_ville_isabella_maria_klaus one step, it fails but writes the movement folder AND 0.json. After it fails, I save it, and then try to rerun - it seems to look for 1.json.

An interesting thing I've found is that the 0.json it creates looks very different than the example case

Hi, I hope I can fix this issue for you guys, the main problem is that people solve the problem for themselves but do not explain properly, something so simple prevent the software to run. I hope this help:
Go to the file reverie.py file, use an editor like vscode so you can see the line count. go to line 401, it will look something like this:
      curr_move_file = f"{sim_folder}/movement/{self.step}.json"
      with open(curr_move_file, "w") as outfile:
        outfile.write(json.dumps(movements, indent=2))

on top of that line 400 add this lines of code:
curr_move_path = f"{sim_folder}/movement"
# If the folder doesn't exist, we create it.
if not os.path.exists(curr_move_path):
os.makedirs(curr_move_path)
The code should look like this: from line 394 to 406
      # We then write the personas' movements to a file that will be sent
      # to the frontend server.
      # Example json output:
      # {"persona": {"Maria Lopez": {"movement": [58, 9]}},
      #  "persona": {"Klaus Mueller": {"movement": [38, 12]}},
      #  "meta": {curr_time: <datetime>}}
      curr_move_path = f"{sim_folder}/movement"
      # If the folder doesn't exist, we create it.
      if not os.path.exists(curr_move_path):
        os.makedirs(curr_move_path)
      curr_move_file = f"{sim_folder}/movement/{self.step}.json"
      with open(curr_move_file, "w") as outfile:
        outfile.write(json.dumps(movements, indent=2))

After that the problem will go away, I hope this help.

Potential reasons for "getting stuck" is due to the pattern of how simulation proceeds: you need to keep the frontend tab open (I think this is a browser- and setting-specific behavior, see https://stackoverflow.com/questions/56787440/keep-my-code-running-in-the-background-on-one-browsertab) so that it constantly pulls potential updates from the backend using the update_environment method, again, as a byproduct of the file-system-based design:

Thanks a lot!
To solve chrome issue,  add "--disable-background-timer-throttling" to chrome


An bug in editor with multiple line list comprehensions

For example,
lst = [some_function_with_long_name_for_i(i)
                 for i in range(5)]

After pressing enter, an colon will be inserted by mistake

It is already mentioned in #887 (4 years ago, we have work to do!)


[BUG] RxJS Error When You Don't Export every command/event module

Describe the bug
RxJS error when you don't implement every command/event module.
To Reproduce
Steps to reproduce the behavior:

Try to create some event files
Make some of them empty
See error

Expected behavior
Ignoring not module exporting files could be better
Screenshots
(none)
Versioning
Node.js version: v16
discord.js version: v14.7
@sern/handler version: v2.6.2
Channel: stable
Additional context
(none)

Here's my proposed solution. there will be two modes: DEV and PROD. In prod mode, this is normal behavior because empty files should not exist in a bot. This can be overrided however, if you add -ignore! to the end of the filename. In DEV mode, any file that is ignored is logged so the developer knows.

Okay, but in PROD mode, you may consider adding a more better error message, at first glance it's impossible to understand what's causing it.

I plan on improving error messages overall

#294

👍

Planning on changing it to something simpler:
Adding a ! in front of file or directory tells sern to ignore loading it.
Also, not sure about dev and prod mode. might be too invasive


docker_auth/github: store tokens in google cloud storage

Added a new implementation of TokenDB that uses Google Cloud Storage as backend for storing of the tokens.
This makes container independent from the file system of the container or from the target system and is good alternative to mounted clustered file systems to container.
Docs examples are updated regarding this change as specifying token_db configuration now becomes alternate between local file and gcs.

This change is

this looks good, but can you please put GCS token DB impl into its own file? otherwise LG

np, later today I'll move it in separate file.

also, since it's a sizeable contribution, please sign Cesanta CLA: https://docs.cesanta.com/contributors_la.shtml

almost there. please rename to tokendb_gcs.go

done.

thank you!


fix schema generation failure for securityinsights

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Fixes schema generation failure:
2020-07-05T11:38:44.1174839Z [/home/vsts/work/1/s/generator] executing: autorest-beta --version=3.0.6274 --use=<EMAIL_ADDRESS>--azureresourceschema --output-folder=/tmp/8ciywltrstk --tag=all-api-versions --api-version=2020-01-01 --title=none --pass-thru:subset-reducer /tmp/schm_azspc/specification/securityinsights/resource-manager/readme.md
2020-07-05T11:38:44.4805090Z AutoRest code generation utility [cli version: 3.0.6187; node: v12.18.1, max-memory: 8192 gb]
2020-07-05T11:38:44.4815930Z (C) 2018 Microsoft Corporation.
2020-07-05T11:38:44.4816835Z https://aka.ms/autorest
2020-07-05T11:38:45.2966932Z    Loading AutoRest core      '/home/vsts/.autorest/@autorest_core@3.0.6274/node_modules/@autorest/core/dist' (3.0.6274)
2020-07-05T11:38:46.3235067Z    Loading AutoRest extension '@autorest/azureresourceschema' (3.0.79->3.0.79)
2020-07-05T11:38:53.4391585Z FATAL: System.InvalidOperationException: Found incompatible property types ,  for property 'alerts' in schema inheritance chain
2020-07-05T11:38:53.4393943Z    at AutoRest.Modeler.SchemaResolver.ExpandAllOf(Schema schema) in /home/vsts/work/1/s/autorest.common/src/SchemaResolver.cs:line 158
2020-07-05T11:38:53.4395005Z    at AutoRest.Modeler.SchemaResolver.Unwrap(Schema schema) in /home/vsts/work/1/s/autorest.common/src/SchemaResolver.cs:line 76
2020-07-05T11:38:53.4396072Z    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 122
2020-07-05T11:38:53.4397306Z    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
2020-07-05T11:38:53.4398419Z    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 349
2020-07-05T11:38:53.4399475Z    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 66
2020-07-05T11:38:53.4400522Z    at AutoRest.Modeler.ModelerPlugin.<ProcessInternal>d__1.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Program.cs:line 43
2020-07-05T11:38:53.4401788Z --- End of stack trace from previous location where exception was thrown ---
2020-07-05T11:38:53.4402558Z    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-07-05T11:38:53.4403354Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-07-05T11:38:53.4404139Z    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
2020-07-05T11:38:53.4405303Z    at NewPlugin.<Process>d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/common/Plugins/NewPlugin.cs:line 164
2020-07-05T11:38:53.4433931Z   Error: Plugin imodeler2 reported failure.
2020-07-05T11:38:53.4804191Z Caught exception processing autogenlist entry securityinsights/resource-manager.
2020-07-05T11:38:53.4805516Z Exited with code 1

Please add code owner to reviewer.

Can one of the admins verify this patch?

@alshulma can you please review this PR? the schema generation failed due to "alerts" property having different schemas: https://dev.azure.com/azure/azure-resource-manager-schemas/_build/results?buildId=11699&view=logs&j=ae501f3d-63ca-563e-a3d9-7c46870865a7&t=5b372c7a-4bf1-530e-6011-652a8f555b0d Line 1122.

+Mico

From: Jorge Cotillo<EMAIL_ADDRESS>Sent: Monday, July 6, 2020 7:39:14 PM
To: Azure/azure-rest-api-specs<EMAIL_ADDRESS>Cc: Alex Shulman<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-rest-api-specs] fix schema generation failure for securityinsights (#10038)
@alshulmahttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falshulma&data=02|01|Alex.Shulman%40microsoft.com|ca64bd7095b94cbbfc5608d821cb1edb|72f988bf86f141af91ab2d7cd011db47|1|0|637296503570306829&sdata=y%2FQkpUkkV5o6zjC%2FFT2sNqKgnrbvV1OR94K6lEg4Bq8%3D&reserved=0 can you please review this PR? the schema generation failed due to "alerts" property having different schemas: https://dev.azure.com/azure/azure-resource-manager-schemas/_build/results?buildId=11699&view=logs&j=ae501f3d-63ca-563e-a3d9-7c46870865a7&t=5b372c7a-4bf1-530e-6011-652a8f555b0dhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.azure.com%2Fazure%2Fazure-resource-manager-schemas%2F_build%2Fresults%3FbuildId%3D11699%26view%3Dlogs%26j%3Dae501f3d-63ca-563e-a3d9-7c46870865a7%26t%3D5b372c7a-4bf1-530e-6011-652a8f555b0d&data=02|01|Alex.Shulman%40microsoft.com|ca64bd7095b94cbbfc5608d821cb1edb|72f988bf86f141af91ab2d7cd011db47|1|0|637296503570306829&sdata=0Sa8fWqcVSFUyKlt6D9IW9LYdCMwlfGa66Wh7AgqmWU%3D&reserved=0 Line 1122.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F10038%23issuecomment-654344808&data=02|01|Alex.Shulman%40microsoft.com|ca64bd7095b94cbbfc5608d821cb1edb|72f988bf86f141af91ab2d7cd011db47|1|0|637296503570316828&sdata=2bj4RxucDhYJwn%2FJe9slH90qXovGAwkjsD%2BewLolsm0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAODGSLTOWNB3TL3CKB47H7DR2H43FANCNFSM4ORKYELQ&data=02|01|Alex.Shulman%40microsoft.com|ca64bd7095b94cbbfc5608d821cb1edb|72f988bf86f141af91ab2d7cd011db47|1|0|637296503570316828&sdata=BzzIMQXoD97hcnxCBGpCZtcy5CyKEjzWlOekOqpkLi8%3D&reserved=0.

Follow the guideline...
As identified in the automated checks there are breaking changes, Please follow Azure Breaking changes approval request form as defined @ Breaking Change Process

@weidongxu-microsoft I confirmed with breakingchange tool owner. The tool doesn't support this case yet. It's not breaking change, since the schema doesn't change.

@leni-msft Sure, you can let him do the merge after code owner is OK with it.
The problem with that BreakingChange CI is that if it fails, I won't be able to press the merge button at all...

code owner approves changes


Add basic map of Nigeria to personal page

I got an alert about publishing a file on github that has an API key in it. Is this wrong to do?

I got an alert about publishing a file on github that has an API key in it. Is this wrong to do?

Yes, it is not a general practice to publish an API key on github as it can be reused/misused by reader of the API key, you can redact it before sending in a code review/pushing to git.  usually you can have a shell variable on your system for your api keys etc. and have that variable be passed as a parameter into your application.

Could not figure out how to pass in the API key from the environment variable i created, but i reset it and redacted it from this commit.

That's ok for now :)
On Thu, Jun 18, 2020 at 9:21 AM oolusina<EMAIL_ADDRESS>wrote:

Could not figure out how to pass in the API key from the environment
variable i created, but i reset it and redacted it from this commit.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/oolusina/Oluwatomi-portfolio/pull/12#issuecomment-646139374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXYYFJVSKTADVJBYWZAJHLRXI5IBANCNFSM4OBHUZEA
.


chore: update pinning + browsers version

Merge?

@thiagowfx GitHub is partially down and my latest changes are not synced yet.


Crash when moving a pinned floating window to special workspace

Steps to reproduce

Open a terminal emulator (I'm using kitty, but don't think it matters).
Make the window floating and pin.
Inside that terminal, run hyprctl dispatch movetoworkspace silent special. Nothing appears to happen.
Quickly spam CTRL+D inside the terminal until hyprland crashes.

Crash log
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
This was an accident, I swear!

Hyprland received signal 11 (Segmentation fault)

Version: f27873a6f06dc2f87600edb890f3c38298bfb55f

System info:
	System name: Linux
	Node name: foonathan-x1
	Release: 6.3.4-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Wed, 24 May 2023 17:44:00 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x450) [0x555939ea0b20]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x555939e41667]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7fb388962ab0]
		??
		??:0
	#3 | Hyprland(+0x85084) [0x555939e3f084]
		??
		??:0
	#4 | Hyprland(_ZN13CHyprRenderer28renderAllClientsForWorkspaceEP8CMonitorP10CWorkspaceP8timespecRK8Vector2DRKf+0x95b) [0x555939f2611b]
		??
		??:0
	#5 | Hyprland(_ZN13CHyprRenderer15renderWorkspaceEP8CMonitorP10CWorkspaceP8timespecRK7wlr_box+0xde) [0x555939f27b6e]
		??
		??:0
	#6 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5e2) [0x555939f2a342]
		??
		??:0
	#7 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x40) [0x555939ecbe30]
		??
		??:0
	#8 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fb3892a801e]
		??
		??:0
	#9 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x23) [0x7fb3892a9a23]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xfd) [0x7fb3892a9b3d]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fb3892aa2d7]
		??
		??:0
	#12 | Hyprland(main+0x4a7) [0x555939e30e57]
		??
		??:0
	#13 | /usr/lib/libc.so.6(+0x23850) [0x7fb38894c850]
		??
		??:0
	#14 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fb38894c90a]
		??
		??:0
	#15 | Hyprland(_start+0x25) [0x555939e3e615]
		??
		??:0

Log tail:
[LOG] Callback 55593c5a0c28 -> 55593c5a0c20, layerSurface removed.
[LOG] Callback 55593c5a0cf8 -> 55593c5a0cf0, layerSurface removed.
[LOG] LayerSurface 55593c5785f0 arranged: x: 3072 y: 1704 w: 1920 h: 24 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55593c4d6220 arranged: x: 3072 y: 528 w: 1920 h: 1200 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 24.000000
[LOG] Cleanup: destroyed a layersurface
[LOG] Searching for matching rules for wmlauncher_dropdown (title: hyprctl dispatch mov ~)
[LOG] Window rule float -> ^wmlauncher matched 55593c51c170 [hyprctl dispatch mov ~]
[LOG] Window rule size 800 500 -> ^wmlauncher matched 55593c51c170 [hyprctl dispatch mov ~]
[LOG] Window rule center -> ^wmlauncher matched 55593c51c170 [hyprctl dispatch mov ~]
[LOG] Window rule pin -> ^wmlauncher matched 55593c51c170 [hyprctl dispatch mov ~]
[LOG] Window 55593c51c170 set title to hyprctl dispatch mov ~
[LOG]  [hookSystem] New hook event registered: moveWindow
[LOG] Hyprctl: dispatcher movetoworkspacesilent : special
[LOG] Searching for matching rules for wmlauncher_dropdown (title: ~)
[LOG] Window rule float -> ^wmlauncher matched 55593c51c170 [~]
[LOG] Window rule size 800 500 -> ^wmlauncher matched 55593c51c170 [~]
[LOG] Window rule center -> ^wmlauncher matched 55593c51c170 [~]
[LOG] Window rule pin -> ^wmlauncher matched 55593c51c170 [~]
[LOG] Window 55593c51c170 set title to ~
[LOG] Window 55593c51c170 unmapped (class wmlauncher_dropdown)
[LOG]  [hookSystem] New hook event registered: closeWindow
[LOG] Unregistered late callbacks XDG
[LOG] Callback 55593c51c198 -> 55593c51c190, XDG Window Late removed.
[LOG] Callback 55593c51c338 -> 55593c51c330, XDG Window Late removed.
[LOG] Callback 55593c51c470 -> 55593c51c468, XDG Window Late removed.
[LOG] Callback 55593c51c5a8 -> 55593c51c5a0, XDG Window Late removed.
[LOG] Callback 55593c51c540 -> 55593c51c538, XDG Window Late removed.
[LOG] Callback 55593c51c4d8 -> 55593c51c4d0, XDG Window Late removed.
[LOG] Callback 55593c51c610 -> 55593c51c608, XDG Window Late removed.
[LOG] Callback 55593c51c408 -> 55593c51c400, XDG Window Late removed.
[LOG] Framebuffer created, status 36053
[LOG] On closed window, new focused candidate is 55593c5761a0
[LOG] Set keyboard focus to surface 55593c4db8b0, with window name: READACTED READACTED
[LOG] Destroying the SubSurface tree of unmapped window 55593c51c170
[LOG] Callback 55593c4ca028 -> 55593c4ca020, SurfaceTreeNode removed.
[LOG] Callback 55593c4ca090 -> 55593c4ca088, SurfaceTreeNode removed.
[LOG] Callback 55593c4c9fc0 -> 55593c4c9fb8, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback 55593c51c7b0 -> 55593c51c7a8, Toplevel removed.
[LOG] Callback 55593c51c748 -> 55593c51c740, Toplevel removed.
[LOG] Callback 55593c51c818 -> 55593c51c810, Toplevel removed.
[LOG] Callback 55593c51c8f0 -> 55593c51c8e8, CWLSurface removed.
[LOG] CWLSurface 55593c51c8c0 called destroy()
[LOG] Callback 55593c51c268 -> 55593c51c260, CWindow removed.
[LOG] Window 55593c51c170 destroyed, queueing. (class )
[LOG] Callback 55593c51c200 -> 55593c51c1f8, XDG Window removed.
[LOG] Callback 55593c51c2d0 -> 55593c51c2c8, XDG Window removed.
[LOG] Destroying workspace ID -99
[LOG]  [hookSystem] New hook event registered: destroyWorkspace

fixed in<PHONE_NUMBER>a0add23ae0acf9225571fc51e73310

Wow, that was quick.


Meet with client

Set a meeting with client to further discuss project. (Questions)

Can we get a (rough) diagram of the existing system?


Change rackId field to a string

Change the rack ID field from a long to a string to flexibly support failure-zone identifiers.

Codecov Report

Merging #895 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master    #895      +/-   ##
===========================================
- Coverage     66.95%   66.9%   -0.06%
+ Complexity     4245    4236       -9
===========================================
  Files           356     356
  Lines         27805   27802       -3
  Branches       3530    3526       -4
===========================================
- Hits          18618   18602      -16
- Misses         8219    8228       +9
- Partials        968     972       +4

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com.github.ambry/clustermap/DataNodeId.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

...n/java/com.github.ambry.clustermap/Datacenter.java
88.7% <100%> (+0.37%)
26 <0> (ø)
:arrow_down:

...a/com.github.ambry.clustermap/ClusterMapUtils.java
86.66% <100%> (ø)
16 <1> (ø)
:arrow_down:

...ub.ambry.clustermap/HelixBootstrapUpgradeUtil.java
71.15% <100%> (+0.31%)
45 <0> (ø)
:arrow_down:

...ava/com.github.ambry.clustermap/AmbryDatanode.java
78.18% <100%> (+1.81%)
0 <0> (ø)
:arrow_down:

....github.ambry.clustermap/StaticClusterManager.java
77.62% <100%> (ø)
81 <10> (ø)
:arrow_down:

...ain/java/com.github.ambry.clustermap/DataNode.java
83.06% <100%> (-0.66%)
43 <0> (-3)

.../main/java/com.github.ambry.router/EncryptJob.java
92.1% <0%> (-5.27%)
4% <0%> (-1%)

...java/com.github.ambry.store/CompactionManager.java
87.14% <0%> (-2.86%)
19% <0%> (ø)

.../src/main/java/com.github.ambry.store/Journal.java
89.65% <0%> (-1.73%)
19% <0%> (-1%)

... and 7 more

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 9dcaadb...9da8318. Read the comment docs.

One note, this will not break with current clustermaps because the JSONObject.optString method supports converting non string values (like longs) to strings

@pnarayanan nothing else to add to this patch
feel free to merge


fix(g-code-testing): relock for new r-s deps

Need to get the paho dep in there

Oh, great call, thanks for catching that!


Please pin versions in requirements.txt

It's just going to break without version pinning. It makes a project incredibly fragile.

Thanks much for this advice! We will open a PR to solve it


encoding/xml: implement dual of 'omitempty' for unmarshalling «optional» fields

XML is often used in legacy APIs, which are often not very consistent in the data format they output. One of such inconsistencies is emitting of nodes with empty data in case it is missing, so <tag>123</tag> becomes <tag></tag>, instead of being omitted entirely.
If node data type is non-string, the only way to handle this in Go currently is to mark node data type as string, and handle the parsing by hand. This is verbose, error-prone and in contrast with the rest of parsing, which is quite declarative.
Go 1.5.1 // #8333, #8334

To be precise, what I'd like to have is
type Foo struct {
        Bar *int `xml:"BAR,allowempty"`
}

which will parse <BAR></BAR> into Foo{nil}.

:+1:

I am happy to take this if nobody is working on it already.
I would think that the unmarshaling behavior for <Foo><BAR></BAR></Foo> should be similar to that of encoding/json’s for {"BAR": null}. Both should be unmarshaled to Foo{Bar: (*int)(nil)}. No need to add a new struct field tag option.
Is there a use case that I’m missing for the error that unmarshaling <BAR></BAR> causes when dst is non-string?
Please correct me if I misunderstand the issue.

Nvm. ^ goes against xml spec.


conda package

This is a WIP: https://github.com/conda-forge/staged-recipes/pull/6444

It got merged.


ucf-24 code

Could you provide the complete code about ucf-24? I want to train on this dataset, but an error always disturbed me. Thank you.

Have you solved this?

Have you solved this?

No, I still haven't successfully run through the code

Can you post the error? JHMDB and UCF are quite similar, I don't plan to open another branch or create another repository for ucf

Can you post the error? JHMDB and UCF are quite similar, I don't plan to open another branch or create another repository for ucf

We don't have the annotation files for ucf-24, such as train.json, and we don't know how to get them.

Can you post the error? JHMDB and UCF are quite similar, I don't plan to open another branch or create another repository for ucf

We don't have the annotation files for ucf-24, such as train.json, and we don't know how to get them.

Hello, have you processed the dataset UCF101-24

Can you post the error? JHMDB and UCF are quite similar, I don't plan to open another branch or create another repository for ucf

We don't have the annotation files for ucf-24, such as train.json, and we don't know how to get them.

Hello, have you processed the dataset UCF101-24

I don't know how to process with UCF101-24

The files for ucf-24 are at: https://drive.google.com/drive/folders/1UduvyT7bCOyRB407cOgQED5L4TDBA-r4?usp=drive_link, the code will soon be updated to for ucf data preprocessing


CLIP-1747: Update Postgres and Elasticsearch helm charts

Bitnami have removed postgresql 10.16.2 and elasticsearch 17.9.29 from their indexes.
This PR bumps bitnami/postgresql chart version, and replaces bitnami/elasticsearch chart with an official elastic chart.
Had to completely replace postgres and es values to match new helm charts.
As a result, postgres 14 is deployed, while Elasticsearch version remained unchanged.
Checklist

[ ] I have added unit tests
[ ] I have applied the change to all applicable products
[ ] I have added the change description to the changelog.md and Chart.yaml files
[ ] (Atlassian only) I have run the E2E test (if applicable)
[ ] (Atlassian only) Internal Bamboo CI is passing

This is green as well - https://server-syd-bamboo.internal.atlassian.com/browse/DCD-K8SHELMTEST144-8


Bug | Header issue on iPhone SE / OnePlus

Screenshot

Flexbox's help made both the buttons (Signup and SignIn) responsive.
Added whitespace-nowrap to prevent text from wrapping within an element button

Looks good. please raise a PR

Thank you for the contribution


resolve warning error

The following warning was displaying when no key was set for each GroceryListItem:
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of GroceryList. See https://fb.me/react-warning-keys for more information.
With setting a unique index as key resolves this warning error.

Hey there,
Thanks for contribution!
Actually, I wanted to avoid talking about keys until exercise no. 8 (which is still unfinished). Exercise with grocery list is huge and I didn't want to add anything more here.
However, we completely forgot to add some kind of notice for people to ignore this warning message.
Tell me what you think about it

I see your point, it's absolutely logical. I just couldn't see it appearing in my console and thought to resolve it, and that's why I contributed my update back to you. Thanks for the immediate response and also for this React tutorial. :)
However other than setting index through iterations of groceries list you could also add an id in each array object item. That way you could set the grocery item id to the key attribute. For example:
this.state = {
  groceries: [ { id: 0, name: "Apples" } ]
};
...
groceriesComponents.push(
  <GroceryListItem key={this.state.groceries[index].id}
     grocery={this.state.groceries[index]}
  />
);

Sorry for such a late response, but I totally forgot about making any decision here.
I will use one of your solutions (modify this PR) after we got a keys exercise - we can introduce keys and tell users we would explain that later. I like the solution with ids.

No worries, let me know if I can contribute in any way! :)

This doesn't work at all man, I can't seem to find any answers either.

@dsomel21, can you elaborate on what is your problem?


What is the lidar type fusion method CCRFSequenceTypeFusion?

Hi, Apollo team!
I am interested in learning data fusion techniques. Are there any articles or mathematical justification of method CCRFSequenceTypeFusion? I'm confused too (#13585) how to compose CNNSegmentation and Confidence matrices and Transition matrix. And does CCRFSequenceTypeFusion really work correctly?
As I correctly understood, the method CCRFOneShotTypeFusion is needed to merge probabilities if the object was recognized by several neural networks. For these purposes, there are matrices DecisionForestClassifier and CNNSegmentation.
At this point in the code you check whether the object is recognized by one method or not. But for the lidar component, you only use CNNSegmentation, and raw probabilities vector is always 1. What is the meaning of such a complex CCRFOneShotTypeFusion?
If your method really knows how to fuse data from different raw probabilities sets, it is great. But there are still questions about how to solve the problem with the "confidence" parameter of ''apollo::perception::base::Object". It is always the same for all raw probabilities.  You can verify that in this code line. Accordingly the question arises what is the mathematical meaning of the "Confidence smooth matrix"?
So the raw probabilites vector is always 1 and the confidence matrix is questionable. Wouldn't it be the same if you just get raw probability maximum instead of CCRFOneShotTypeFusion?

Hi @Sam163 , thank you for your question. Really a good finding. Indeed the raw probability of object is always set to 1, which is somehow unreasonable. To make full use of CCRFOneShotTypeFusion, raw probabilities need to be saved for every category, and that is available because the CNNSegmentation model does output these probabilities.
For CCRFSequenceTypeFusion, we only use CNNSegmentation model to detect objects, so matrix of DecisionForestClassifier is not useful anymore.
Thank you again for pointing out these problems. We will update the related codes to make improvements on Lidar tracking module.


add missing ClusterRole to liqo-webhook

Description
When running more than one replicas of the liqo-webhook nothing is working without those permissions here
They may be too much, and there may be other permissions missing in other places, I only know I managed to get things working by adding those

Hi @EladDolev!
Thanks for your pr. This file is auto-generated; I'm adding a commit to your pr to change it in the correct position because it's easier to show you than explain what you have to do 😅
Feel free to squash this commit into your

Thank you Alessandro
I'm happy to skip the squash and merge as-is

/rebase test=true

Ok, perfect. Can you please rebase your pr and resolve the conflict? I don't have permission to force push on your branch

PR is ready @aleoli, thank you !

/test


[all hosts] Fix broken links

@Rick-Kirkham Looks like the Storybook unit testing page is no longer available so I'm opting to remove it. If you would like me to solve this differently, let me know.

Docs Build status updates of commit 1a37799:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/unit-testing.md
:white_check_mark:Succeeded
View

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


How do i make the camera zoom in and black out when i select a section in the main menu

Describe your problem here.
i want to make the effect of the camera zooming in when you select a section in the main menu like this vs. mouse thing does
using lua (because im kinda stupid with source, and also with lua but im better at lua i swear) so i want some help with the code
here is an example of how the zooming in looks:
https://user-images.githubusercontent.com/105386082/174200215-c92759c6-2b78-4821-a2ca-b3b790560db9.mp4
yeah something like that, i would appreciate some help in doing it
(also ignore my clear lack of knowledge of the english language, because im spanish)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

You need source

well in that case i will download source, code the main menu camera zoom and with the compiled build i will do everything else with lua because im lazy, thanks kind stranger

You need source


AppImage

An AppImage would be much appreciated for us Linux users as not all of us are on debian and can use a .deb file.

electron-builder even supports appimages

Ok, I just submitted a PR at #174


Deduplicate 'the' in errors and docs

Deduplicate 'the' in errors and docs

Codecov Report

Merging #1508 into develop will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1508      +/-   ##
===========================================
+ Coverage    71.41%   71.47%   +0.05%
===========================================
  Files          128      128
  Lines        14196    14196
===========================================
+ Hits         10138    10146       +8
+ Misses        4058     4050       -8

Impacted Files
Coverage Δ

botocore/utils.py
98.43% <ø> (ø)
:arrow_up:

botocore/model.py
97.62% <ø> (ø)
:arrow_up:

...ndored/requests/packages/urllib3/connectionpool.py
46.07% <0%> (+0.35%)
:arrow_up:

botocore/vendored/requests/adapters.py
51.42% <0%> (+0.57%)
:arrow_up:

...vendored/requests/packages/urllib3/packages/six.py
65.89% <0%> (+0.92%)
:arrow_up:

...e/vendored/requests/packages/urllib3/util/retry.py
60.2% <0%> (+4.08%)
:arrow_up:

Continue to review full report at Codecov.

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


kubo-migrator: add migration from 12 to 13

Description of changes
https://github.com/ipfs/fs-repo-migrations/releases/tag/fs-repo-12-to-13%2Fv1.0.0
This will be used to upgrade the Kubo repo after Kubo 0.18 is released.
The old migrations were broken since Go 1.16 was removed from Nixpkgs. They will probably never work with newer Go versions: https://github.com/ipfs/fs-repo-migrations/issues/156.
Replace them with a stub as discussed in https://github.com/NixOS/nixpkgs/pull/168480#issuecomment-1118398642, so that fs-repo-migrations still finds the binaries in the PATH and never attempts to download these binaries from the internet, because that is a bit uncool.
If anyone still wants to actually use these migrations, they should use an old version of Nixpkgs that still includes Go 1.16.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Replace them with a stub as discussed in #168480 (comment), so that fs-repo-migrations still finds the binaries in the PATH and never attempts to download these binaries from the internet, because that is a bit uncool.

this fails because ld-linux.so is missing

If anyone still wants to actually use these migrations, they should use an old version of Nixpkgs that still includes Go 1.16.

not practical, as this will compile go_1_16 = slow
the fix is as simple as https://github.com/ipfs/fs-repo-migrations/pull/163

this fails because ld-linux.so is missing

From reading what you linked to, it sounds like you ran ipfs daemon with a repo, which required a migration. The migration binary fs-repo-11-to-12 was not in the $PATH, so Kubo downloaded it off the internet, which then failed to run. It doesn't surprise me at all that random binaries off of the internet don't work on NixOS because NixOS does not implement the FHS. As such I don't think the downloaded binary not working on NixOS is an issue in Kubo. Please make that clear in the linked issue.
Kubo would not have tried to download a binary if you had put kubo-migrator-all-fs-repo-migrations into its $PATH. I replaced all the old migrations instead of deleting them to try to prevent such a situation.
Anyways, my comment only mentions fs-repo-migrations, which you did not run and so I don't understand what your comment is about. Did I understand something incorrectly?

not practical, as this will compile go_1_16 = slow

This is not true, everything is still in the cache. To test for yourself:
git checkout 4c3c80df545ec5cb26b5480979c3e3f93518cbe5
nix-build -A ipfs-migrator

I got this commit hash from the list at https://channels.nix.gsc.io/nixpkgs-unstable/history. The timestamp is from a day before Go 1.16 was removed.

the fix is as simple as ipfs/fs-repo-migrations#163

Thanks, I will try to incorporate this patch into this PR when I have some time.
You only fixed the 10-to-11 and 11-to-12 migrations. What about the older migrations? Can they not be fixed in the same way or would it be more effort?

Ok, it should work now, thanks again for the patch.
I had to create a separate derivation for the source. This is because I'm using using sourceRoot inside the derivation which builds the individual migrations and that would otherwise require me to change the patches to apply to the child directories instead and to apply each patch only to the corresponding migration. Using a separate derivation just for patching is easier.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/850


Retirement of v2beta

We stabilized the v2 APIs. Currently we host both v2 and v2beta as exact copies, which allow users to migrate to the new endpooints. The v2beta endpoints are removed from the documentation in order to steer new users to integrate with v2 directly.
There were internal talks about a retirement period for v2beta, but none has been published. This issue is a reminder to publish a retirement date and execute the retirement.
Ahead of time

[ ] Publish retirement data / release

At planned sprint

[ ] Remove v2beta definitions
[ ] Remove v2beta implementations

A friendly reminder that https://github.com/zitadel/zitadel-go still has no generated clients for v2, only for v2beta

https://github.com/zitadel/zitadel-go/issues/373


Auto activeFilter using url

Hi !
I was tired of clicking on the tag after a refresh of the page.
I decided to put the tag in the url.
Let me know if this need any modification

Awesome - that was annoying me too. Thanks!

Thanks!
Unfortunately, i just found some bugs.
I 'm quiet new to github, should i do another pull request since this one is closed or is there a way to handle that.
The issues are when you try to go back to all, it doesn't work, if the #hash is not a proper filter, it doesn't fallback to "all"
ps: I just got my bangle 5min ago, can't wait to play with it !

Thanks! Yeah, it's just easier to do another PR to fix it :)


Page calls fail when the shop instance is behind HTTP basic auth

I have an additional temporary layer of protection in form of a HTTP basic auth in front of the shop instance and noticed that certain calls (login, product list, search) fail with responses similar to:
<Response status_code=403, "text/html; charset=utf-8">
{'detail': 'Invalid username/password.'}

The error only appeas when you are not logged in to the shop already, as soon as a valid session has been established, this does not occur anymore.
It might be related to django-allauth using the basic auth headers to identify users, but I haven't investigated further but instead replaced the basic auth with a VPN.
While investigating this issue, I also noticed #452

It might be related to django-allauth using the basic auth headers to identify users, but I haven't investigated further but instead replaced the basic auth with a VPN.

Yes, this is because django-SHOP uses DRF, which itself recommends to use the allauth.account.auth_backends.AuthenticationBackend. This uses an HTTP-header Authorization: Token ... whenever session-based authentication is not available. Since only one such header can be sent, this is incompatible with Basic Authentication.
I therefore would suggest to create a special filter such as:
class AuthFilterBackend(BaseFilterBackend):
    def filter_queryset(self, request, queryset, view):
        customer = Customer.objects.get_from_request(request)
        if customer.is_visitor():
            raise PermissionDenied("Only authenticated customers may access this view")

and use it in the urlpatterns for the product's list view:
urlpatterns = patterns('',
    url(r'^$', CMSPageProductListView.as_view(
        serializer_class=ProductSummarySerializer,
        filter_backends=[..., AuthFilterBackend, ...],
    )),

this will raise a 403-page for visiting (aka anonymous) customers.

Can this issue be closed?
TokenAuth and BasicAuth can not work together.


Check if 'file' field is array while cleanup

When 'file' field is null ( if it is nullable ), the cleanup function raises error in second foreach loop.

@fletch3555 I have made a field of type 'file' nullable in my project, and when I try to delete a row that it's file field is null the error below raises.

Following the delete operation codes, led me to cleanup() function that tries to delete files but when it is null the foreach (json_decode($data->{$row->field}) as $file) error emerges because json_decode returns null.

This should have been fixed in https://github.com/the-control-group/voyager/pull/3580
Please correct me if I'm wrong.


test: use gomock structs for testing basic grpc sync functionality

This PR changes the TestSync_BasicFlagSyncStates to make use of mock implementations of the FlagSyncClient generated with gomock, to stay in line with how the tests in the http sync package are written.
I also modified the test to wait for the started goroutine for the sync component to finish in order to collect the correct coverage data.

let's update Makefile to include this mockgen - https://github.com/open-feature/flagd/blob/main/Makefile#L58
This helps to track and automate mockgens :)


Static errors in analysis_server after cloning

Mostly, they come from a dependency not being specified or pointing to a version that does not yet have the specified functionality/modifications. I am not sure what the "protocol" is to handle such things.
I'll submit a PR just to show what error fixed I did.

When you cloned the SDK, did you then run pub in pkg/analysis_server? Because if you did that would explain the issue you're seeing. The correct way to fix the problem is to remove the .packages file that was created. There is a hard-coded .packages file in the root of the SDK repository, and that's the file that should be used for all development of packages within the SDK repo.
Note that you'll also need to run the following two commands
gclient sync
gclient runhooks

in order to get everything configured correctly for development.
We should probably remove the pubspec.yaml file from the analysis server package. It's wrong, as you discovered, and unnecessary because we don't currently have any plans to publish the analysis server package as a separate package.

Yes, I did run pub.
No, I have not run the mentioned commands. I was following https://github.com/dart-lang/sdk/wiki/Building
Might I be missing a link to a "how to get started with core SDK package development" page?

That page should have what you need. If you haven't already, "Install Chromium's depot tools" as per your platform (that's where gclient is defined). The "Getting the source" section mentions running gclient sync (which probably runs runhooks for you, although I once thought it didn't and might still be laboring under that delusion :-).

Thanks for speedy replies. I guess the related PR and this issue can be closed as my "fix" assumptions' were based on the wrong yet crucial pieces of information.
Can it be stated in general, the pkg folder contents are not packages per se? Or is pkg/analysis_server a special in that regard?
Should I want to build on top of dev version of analysis_server, how can I include it in my project? Is .packages file sufficient for pub to recognize a path as a package?

I guess the related PR and this issue can be closed ...

The PR can. The issue can stay open until you don't have any more questions.

Can it be stated in general, the pkg folder contents are not packages per se?

No, some (most?) of the packages in that directory are published to pub.dartlang.org, but not all of them are. The analyzer package, for example, is published.

Should I want to build on top of dev version of analysis_server, how can I include it in my project?

I would be interested to know why you are interested in building on top of the analysis_server package. As I said before, we aren't currently planning on publishing it as a package, but I'd be interested to know whether you've found a use case that should make us reconsider. The analysis server does provide a public API for other tooling to use, but that API is the wire protocol, and using it doesn't require the package to be depended on (in the pub sense).
Unless we publish the analysis_server package, any package you create that has a dependency on it would need to use a dependency override, and that would prevent you from publishing your package.

Is .packages file sufficient for pub to recognize a path as a package?

As far as I know, pub requires a pubspec.yaml file in order to determine the packages dependended on by a package. It won't look at a .packages file. So the presence of a .packages file won't cause pub to treat a directory as a package. (So, yes, I think that if we removed the pubspec.yaml file from the analysis_server directory it would prevent any other packages from depending on the analysis server package.

I went ahead and close the PR.
I enjoy your willingness to answer related questions. This is really good form.

I'd be interested to know whether you've found a use case that should make us reconsider

I am lookin at dart-lang/angular_analyzer_plugin . It depends on it. Other than that, I can't - at this point - offer other use cases. The promise of that plugin is more than enough for me to go through these hoops.

We should probably remove the pubspec.yaml file from the analysis server package.

if we removed the pubspec.yaml file from the analysis_server directory it would prevent any other packages from depending on the analysis server package

How would one go about working on something like angular_analysis_plugin should this removal happen?

Mostly we currently depend on it for temporary reasons.
However, it did occur to me that we will depend on it even after the new plugin architecture. Because we call the dart CompletionContributors on dart snippets within HTML. Maybe that code should be moved to its own package?

To expand a bit on @MichaelRFairhurst's response: The plan is to provide first-class support for writing plugins to the analysis server. That support will require plugins to depend on the (not yet ready for use) analyzer_plugin package, which we will be publishing as soon as it's ready for beta testers. The portions of the analysis_server package that the angular plugin (and others) depend on will be moved into the analyzer_plugin package so that plugins can access it.
So, the current situation is an unfortunate, but temporary, mess. I can't make any promises, but we hope to have the angular plugin ported to the new framework by the end of the quarter, unless other factors force it to be delayed.


Feature/extend message filter

Provides extended filter capabilities by adding criteria searches to MessageRepository and ScenarioExecutionRepository.

@tschlat I've updated master with changes from upstream. please resolve the conflicts.


Allow passing custom settings

#55
Allows passing custom settings into config
Example
session test
root: ${root}

smug start test root=~/devops
TODO

[x] Update README.md

I am encountering an issue that might be related to this PR but I am also new to smug so maybe I am just not understanding the desired outcome. I am using this feature to create template projects that I can launch any tmux session from if a specific project doesn't exist. Here is a simplified version of my template that has the issue.
session: ${session}
root: ${root}

windows:
  - name: "editor"
    commands:
      - nvim
  - name: "console"
    commands:
      - clear

If I run smug start test session=test root=/home/orlando from outside of tmux everything works. If I run it from within tmux the session is created but my client isn't switched to it. Here is the output of -d.
tmux has-session -t test:
exit status 1
tmux new -Pd -s test -n smug_def -c /home/orlando/
tmux neww -Pd -t test: -c /home/orlando -F #{window_id} -n editor
tmux send-keys -t @8 nvim Enter
tmux select-layout -t @8 even-horizontal
tmux neww -Pd -t test: -c /home/orlando -F #{window_id} -n console
tmux send-keys -t @9 clear Enter
tmux select-layout -t @9 even-horizontal
tmux kill-window -t test:smug_def
tmux move-window -r -s test: -t test:

Also its maybe worth mentioning that if you pass values like ~ in they don't get picked up correctly. My first attempt was to do root=~ in the template above.

To switch a client use this option: -a, --attach Force switch client for a session

Yep you are right I missed that flag from the readme. Working just fine now


Update README

Update README to include changes of PR #6

Thank you for new release 0.5! It's your merit!


Graph:

Create generic graph validation and help message to standardize
future graph algorithm development.
Expand the design document with more detail on the graph
representation as well as the SSSP implementation.

Closes #105

Thanks for the comments @iyerr3. I tried to reorganize the algorithm explanation a bit, please let me know what you think.


Is it possible to 'watch' for changes?

I don't quite know the exact terminology, but is it possible to detect changes when long running commands change the output on the screen?
For example when you run ffmpeg it replaces the existing output (rather than appending lines to the output) each frame it renders. I want to detect every time it changes the output if possible.
I thought it might be stored as the result but when I do output.to_s I just get "0". I am thinking maybe this is because the terminal command things the warnings generated by ffmpeg are errors maybe? Can I ignore the errors, or somehow access the output even when theres errors? Thanks

Thanks for using the library!
Currently, there is no direct method to help you watch for changes. However, the run yields stdout and stderr streams each time something appears in them. A lot of unix tools provide diagnostic output on stderr rather than stdout so I would check there as well.
For example, wait call checks for a pattern in order to know when to terminate the script. You could implement a similar method called watch that if a particular pattern is matched notifies you. Looking forward to a PR if you implement something!


When I click "Download Script" button, nothing happens

Could not attached the screen. Anyways, when I hit the Download script button it does nothing.

I can't reproduce this issue.  Can you give me any additional information?

I assume that when I hit Download Script button I will be able to save script content locally.

Looks like Chrome has an issue with downloading very large files this way.  I've updated with a workaround.  You'll have to pull from both repositories to get the update.

@schasins I did not notice your response.  Do I have to pull helena/ repo only or the module as well?

The module also.


fixes typo in WsTrustSerializer

This is a PR for brentsch/wstrust. There was a typo in the ReadRequestSecurityTokenResponse method name.

@brentschmaltz Thought you might want to fix this.

This is a bit too old now, if we still need it we should push to WSTrust6.8.0

This is a bit too old now, if we still need it we should push to WSTrust6.8.0


Fix alice/faber demo execution

This PR adds the --debug-webhooks flag for all demo agents, as it is required to distinguish between credential offers and presentation requests for different credential types.
It also works around an issue with #2234 which causes the agents to exit with a RuntimeError due to the call to loop.run_until_complete within the logging configuration. I think a more complete fix might be to use a ContextVar to store the current DID identifier and set that when a tenant context is initialized, to avoid any async operations in the logger config.

@andrewwhitehead — how do I create the problem on the current main branch?  I can run the demo, issue a credential, request a proof, and all works fine.  What am I missing?


fixes #858: Submission frame should be reinstantiated

Closes #858
What has been done to verify that this works as intended?
Added integration test
Why is this the best possible solution? Were any other approaches considered?
Other option was to change the behaviour of forApi() but looks too risky to me
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
None, I'll create a separate PR to verify/fix same for entities
Does this change require updates to the API documentation? If so, please update docs/api.md as part of this PR.
No
Before submitting this PR, please make sure you have:

[x] run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
[x] verified that any code from external sources are properly credited in comments or that everything is internally sourced

In the ExtendendSubmission assertion, what do you think about changing should.containDeep to should.eqlInAnyOrder? I think that'd help prevent this issue and also similar issues in the future.
https://github.com/getodk/central-backend/blob/85806dfc9862fb79ad4f7b25891634efadec0b95/test/assertions.js#L98-L101

In the ExtendendSubmission assertion, what do you think about changing should.containDeep to should.eqlInAnyOrder? I think that'd help prevent this issue and also similar issues in the future.

not sure how that will help here? The issue is not related to the order or existence of the properties

Right now the extended submission has extra top-level properties: id, type, displayName, deletedAt. containDeep is happy to ignore them, but eqlInAnyOrder would have flagged them.

Sorry, I probably should highlighted that in #858. The issue isn't just that properties are overwritten, it's also that there are extra properties.

I see. I will replace every containDeep with eqlInAnyOrder assertion.js in a separate PR


Fix regex pattern matching

This PR changes the way validation rules are split.
If the pipe operator is in a regex pattern the split is done by pattern separator and closing bracket.
Fixes the issue #1084

Note; contributions should be GPG-signed. See https://bcit-ci.github.io/CodeIgniter4/contributing/signing.html