Fixes and general cleanup across the project

Changes

Added two more items created when dragon is installed via the dev script to the gitignore
Updated krit* -> cynder
Created and used new bash variables for dragon's primary directories:

$DRAGON_DIR=.dragon
$DRAGON_ROOT_DIR=$HOME/$DRAGON_DIR
$DRAGON_DATA_DIR=$PWD/$DRAGON_DIR (when $PWD != $HOME)

Updated all bash scripts to use double-bracket syntax and write out one liners
Fixed a handful of previously-broken dragon options (e.g., remote, checkra1n, send, norm, etc)
Fixed typos in a handful of comments
Simplified some of the commands in the bash scripts
Made common color echo functions to avoid code duplication
Added missing shebangs and yml headers
Removed an old DragonPrefs reference
Updated test repo links (5/8 fail on Linux due to one reason or another. If you could run the suite to confirm all work, that'd be great!)
Will now properly determine max job number for ninja
Updated prerun_checks to have a complete dependency check and resolution mech (tested on all platforms but MacOS -- guessed on the deps here please confirm)
Used new $DRAGON* vars in the wizard
Cleaned up python file imports
A handful of smaller things I'm probably forgetting

Got COVID recently and had some time to give dragon some love. Apologies for all the prs. And thanks again for this awesome project!

Also, thank you sososososo much for this PR, this is amazing 😊 😊 😊 😊

@cxnder Made a handful of minor changes since you last reviewed. Would you mind doing another once over if you're thinking of merging? Thanks!

@MrGcGamer graciously gave this a spin and confirmed it's working as intended.
If there's nothing else that you'd like changed @cxnder, this should be good to go.

Holy fuck, thanks


update align_gk_json to align_json

fixes #94 fat finger from previous version of function name
This worth revisiting our testing procedure in this repo to decrease the chance of this happening again.

Local testing suggests this will fix the issue. Looking into how to catch the error before this point next time.


Excluding serializer fields in list view

Is there any way to use the list(self, request, *args, **kwargs) method to exclude certain serializer fields?

Is there any way to use the list(self, request, *args, **kwargs) method to exclude certain serializer fields?

Did you find any workaround to your query ?


Bug since Discord update

Describe the bug
Since the new Discord update, all themes and plugins no longer work. Can you update your theme please?
To Reproduce
Update your Discord and launch it.
Infomation (please complete the following information)
Discord channel: Stable
OS: Windows
Mod: BetterDiscord
Discord language: FR

After the PR merge for class name updates, discord just looked like this

Will there be a fix?

I've tried to open the dev tools like 15 times today and it just kept crashing.
I will try and fix It's just really annoying to do so at the moment.

looks like the theme is fixed for the most part, although threads page still isn't themed yet

yeah the most important parts of the theme should be fixed.
I'm currently busy most of this weekend and might be able to fix most of the others little bugs when I can.


Digital Alarm Clock⏰

Fixes
#430

Description
It's a Digital Alarm Clock which is made using HTML,CSS,JS. The Code is responsive in nature. This Alarm CLock has 2 functionalities

It works like a Digital CLock
User can set Alarm here , where You will be alarted with proper sound ,You can clear the alarm and Snooze also

Type of change

[x] New project (non-breaking change which adds functionality)

How Has This Been Tested?

Tested on repl.com, github Pages.

Tech Stack used:

HTML,CSS,JAVASCRIPT

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have included a README.md file
[x] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.md files
[x] I have added demonstration in the form of GIF/video file
[x] I am a GSSoC'22 Participant

https://user-images.githubusercontent.com/77873383/166146720-dd1d276c-5f04-4363-b18d-2a95ccb32727.mp4

@heet-kumar , @manisha-27 please check this


Query param of type Date does not get serialized using the date format specified in Defaults #342

Duplicate of https://github.com/resty-gwt/resty-gwt/pull/343


Intent To Implement: Breaking Build Into Seperate Command

I've noticed two issues with the BuildWorker process. The first is that builds have to run under whatever the worker is running under. The second is that if you add a custom PHP-CI plugin to your repo (as suggested via the wiki), that plugin gets loaded and doesn't get reset. This means that as you are developing your plugin (or if you update a Composer one), the build process has to be reset every time or the new changes will be ignored and the memory version used.
Breaking the build into it's own command fixes these two issues. By having the BuildWorker (or Daemon) manually launch the build command instead, a new php instance is launched that is separate from the main executable. By default, this means reloading the custom plugin. This also opens up the ability to have multiple projects running under different versions of PHP. While not a true implementation of testing under multiple versions, it at  least gives a push in the right direction by allowing users to create duplicates of a project, changing only the PHP executable to use.
In my specific use case, I use Phalcon, a compiled extension for PHP. I have multiple sites that use phalcon, but at differing versions. Because of this, I have to run a different PHP version for each site to properly run. Currently, I have to either have multiple copies of PHP-CI or change the php settings and thereby force some projects to fail. By splitting up the build command, I can let PHPCI run under whatever version, but then separate the actual builds into specific PHP Builds with the proper version of Phalcon installed under the PHP Install.

@Fenikkusu This sounds great. I fully support you going ahead with this.


Styles partially disappear for any component wrapped by

Hi,
I first encountered the issue that the AppShell example taken from here  was rendering a blank page.
To debug that I created a simple Create-Next-App with the default options, added Saas-UI dependencies in and just wrapped the default App component with SaasProvider tags. Some of the background disappeared.
Create Next App - Typescript
CodeSandbox
Github
Create Next App - Javascript
CodeSandbox
Github
The same happened when a colleague tried Create React App. I'll add CRA to a repo also and share.
AppShell is also included in the index.tsx / index.js of these respective repos. You can comment out the default Create-Next-App index page and uncomment the AppShell example to see how it (doesn't) render.
Edit: I downgraded Next.JS 13 to 12 to see if that would fix it. All it seemed to do was now show the AppShell, but unstyled. (I can upload this example too if it would be useful).

Has anyone had any luck looking at the repos I've shared. The error is quite easily reproducible on CodeSandbox and I've attached screenshots in the respective Readme's too.

I'm unable to access the code sandboxes.
Can you try the following code? add       height="$100vh" to AppShell.
export default function Home() {
  return (
    <AppShell
      height="$100vh"
      navbar={
        <Box as="header" borderBottomWidth="1px" py="2" px="4">
        </Box>
      }
      sidebar={
        <Sidebar>
          <SidebarSection>
            <NavItem>Home</NavItem>
            <NavItem>Settings</NavItem>
          </SidebarSection>
        </Sidebar>
      }
    >
      <Box as="main" flex="1" py="2" px="4" overflowY="auto">
        Your application content
      </Box>
    </AppShell>
  )
}

@Pagebakers Thanks for following up!
I've updated the Codesandbox links - they should be accessible now.
You should be able to see screenshots describing the issue on both Codesandbox and the Github repos linked above.

Can you try the following code? add height="$100vh" to AppShell.
Yes that fixes the height but does not solve the issue of the default styles not being applied

Based on the documentation, I expect to see this:

But I see this:

Note: In both the repos the AppShell is commented out and at the bottom of the index.tsx (or index.js) file.

That looks about right! Note that your theme probably renders in light mode by default, instead of the darkmode on the docs.
You can read more about how to setup dark/light mode here:
https://chakra-ui.com/docs/styled-system/color-mode

I haven't had time to dig into the Chakra-UI color-mode yet, but do note this still doesn't solve the problem with NextJS 13 (which is what the linked repos and CodeSandbox are for), where the elements appear to have zero-size when using the AppShell template, and when using the default NextJS template, couple of the element/styles disappear (most of them are intact).

I had to remove the css imports as they contain css resets that interfere with Chakra UI it seems.
Code sandbox

That makes sense! Thank you!


after the update to <IP_ADDRESS>.1 the manufacturers are no longer displayed in the product slider from the dynamic product groups

PHP Version: 8,2   | Shopware Version: <IP_ADDRESS>.1   | Affected area / extension: Platform(Default)

Expected behaviour:
### after the update to <IP_ADDRESS>.1 the manufacturers are no longer displayed in the product slider from the dynamic product groups
Actual behaviour:
### after the update to <IP_ADDRESS>.1 the manufacturers are no longer displayed in the product slider from the dynamic product groups
How to reproduce:
### after the update to <IP_ADDRESS>.1 the manufacturers are no longer displayed in the product slider from #the dynamic product groups

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38999
[created from NEXT-38999, comment 504020]


Fix map pan when touchZoom is disabled

Fixes #5779, closes #5951.
In #4552 @perliedman introduced change, which allows page native scroll when the touch zoom and map drag handlers are disabled.
How it works on current master:

dragging
touchZoom
Result

enabled
enabled
:white_check_mark: dragging and touchZoom work

disabled
disabled
:white_check_mark: neither dragging nor touchZoom work, page is not prevented from scrolling

disabled
enabled
:white_check_mark: dragging doesn't work, touchZoom works, page is not prevented from scrolling

enabled
disabled
:warning: touchZoom doesn't work, but dragging doesn't work either, page is not prevented from scrolling. Expected: touchZoom doesn't work, dragging works and page is not prevented from scrolling - #5779

So touch-action: none should be added if dragging is enabled and should not be added if dragging is disabled, whether touchZoom is enabled or not.

Looks like modified CSS rule can be combined with that above, but I'm not sure which -ms-touch-action value should stay.
Also, I haven't tested it on Edge/IE, I'll appreciate any help with that.

:+1: Nice, sorry for taking forever to review/merge. Just can't find that much time for Leaflet these days :cry:

@perliedman no worries :)


POST PROBLEMS

Analyzer Feedback from IntelliJ
Version information

IDEA AI-191.8<IP_ADDRESS>00203
2.5.0-edge.1ef83b86ae637ffe7359173804cbc6d3fa25e6db
AI-191.8<IP_ADDRESS>00203, JRE 1.8.0_202-release-1483-b03x64 JetBrains s.r.o, OS Windows 8.1(amd64) v6.3 , screens 1366x768

Exception
Dart analysis server, SDK version 2.5.0-edge.1ef83b86ae637ffe7359173804cbc6d3fa25e6db, server version 1.27.2, error: Analysis failed: F:\Ouctus\flutter_login_app\lib\login_page.dart context: exception_20191017_130419_691
NoSuchMethodError: The getter 'kind' was called on null.
Receiver: null
Tried calling: kind
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      Member.kind (package:analyzer/src/dart/element/member.dart:475:40)
#2      _IndexContributor.recordRelationOffset (package:analyzer/src/dart/analysis/index.dart:466:40)
#3      _IndexContributor.recordRelation (package:analyzer/src/dart/analysis/index.dart:452:7)
#4      _IndexContributor.visitSimpleIdentifier (package:analyzer/src/dart/analysis/index.dart:752:7)
#5      SimpleIdentifierImpl.accept (package:analyzer/src/dart/ast/ast.dart:8969:49)
#6      LabelImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6629:13)
#7      GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:442:10)
#8      GeneralizingAstVisitor.visitLabel (package:analyzer/dart/ast/visitor.dart:396:31)
#9      LabelImpl.accept (package:analyzer/src/dart/ast/ast.dart:6625:49)
#10     NamedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7428:12)
#11     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:442:10)
#12     GeneralizingAstVisitor.visi

Thanks for reporting this problem! This was previously reported at https://github.com/dart-lang/sdk/issues/38488; please follow along there.


How to properly link Peatio to a domain

put the domain in application.yml and point your domain

Just to clarify, the IP address of the server goes in as an A-Record?

yes

@cryptoempire  ///  I can help you. I am having a vast experience in Peatio, Crypto Currency exchange and trading platforms with FIAT currency based on Bitcoin, litecoin, Ethereum, XRP etc, Core Wallets and Daemons. I am having expertise in ICO ie Initial Coin Offering full system development, White Paper creation with full architecture and high level documentation, smart contract writing and many more skills.
My Skype : sushilraghav and email is<EMAIL_ADDRESS>


A bug about the space display

Issue Type: Bug
As shown, there are a total of 32 spaces. Obviously, the indentation of the space shows a problem.

VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.18.0-25-generic snap

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (4 x 2937)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: disabled_softwareviz_display_compositor: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
2, 1, 1

Memory (System)
7.71GB (0.35GB free)

Process Argv
/home/wangcong/opencv/Learn-OpenCV-4-By-Building-Projects-Second-Edition-master/Chapter_02/main.cpp

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.37.0

cpptools
ms-
0.24.1

Dude, you're not the only one. You posted this right after I recorded screencast for my own report, and I also discovered this issue (https://github.com/microsoft/vscode/issues/77466) from few days ago.
So, let's just save each other's time then:) The screencast: https://youtu.be/AYvD42zCYWY
Additional info about the screencast:

The installation is freshly snap install code --classic ed for the screencast
All configuration and extensions has been removed as shown

Maybe something to do with snap/local language? Just a guess. Hope this problem can be fixed soon.

Could you please share the source code in the screenshot to help reproduce?

Absolutely! Here is a screenshot of a project I been working on for like few years now, you can clearly see the Whitespace Rendering there is a bit wonky donkey.

Also, don't know whether or not it's relative, but my system received an update of noto-cjk the day before the problem started to occur (and persist). The is the full list of that update:
Start-Date: 2019-07-26  07:49:33
Commandline: aptdaemon role='role-commit-packages' sender=':1.5771'

Upgrade: gir1.2-gtk-3.0:amd64 (3.22.30-1ubuntu3, 3.22.30-1ubuntu4), libegl1-mesa-dev:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), sane-utils:amd64 (1.0.27-1~experimental3ubuntu2, 1.0.27-1~experimental3ubuntu2.1), libegl-mesa0:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgtk-3-common:amd64 (3.22.30-1ubuntu3, 3.22.30-1ubuntu4), libgtk-3-0:amd64 (3.22.30-1ubuntu3, 3.22.30-1ubuntu4), libglapi-mesa:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libglapi-mesa:i386 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), mesa-common-dev:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), fonts-noto-cjk:amd64 (1:20170601+repack1-2, 1:20190409+repack1-0ubuntu0.18.04), iputils-arping:amd64 (3:20161105-1ubuntu2, 3:20161105-1ubuntu3), librbd1:amd64 (12.2.11-0ubuntu<IP_ADDRESS>, 12.2.12-0ubuntu<IP_ADDRESS>), libxatracker2:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), iputils-tracepath:amd64 (3:20161105-1ubuntu2, 3:20161105-1ubuntu3), libegl1-mesa:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgbm1:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libsane1:amd64 (1.0.27-1~experimental3ubuntu2, 1.0.27-1~experimental3ubuntu2.1), libgtk-3-bin:amd64 (3.22.30-1ubuntu3, 3.22.30-1ubuntu4), libwayland-egl1-mesa:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgles2-mesa-dev:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgl1-mesa-dev:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgl1-mesa-dri:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgl1-mesa-dri:i386 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), iputils-ping:amd64 (3:20161105-1ubuntu2, 3:20161105-1ubuntu3), libgl1-mesa-glx:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libgl1-mesa-glx:i386 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libsane-common:amd64 (1.0.27-1~experimental3ubuntu2, 1.0.27-1~experimental3ubuntu2.1), tmux:amd64 (2.6-3ubuntu0.1, 2.6-3ubuntu0.2), gtk-update-icon-cache:amd64 (3.22.30-1ubuntu3, 3.22.30-1ubuntu4), mesa-vdpau-drivers:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), apache2-utils:amd64 (2.4.29-1ubuntu4.7, 2.4.29-1ubuntu4.8), librados2:amd64 (12.2.11-0ubuntu<IP_ADDRESS>, 12.2.12-0ubuntu<IP_ADDRESS>), fonts-noto-cjk-extra:amd64 (1:20170601+repack1-2, 1:20190409+repack1-0ubuntu0.18.04), mesa-va-drivers:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), base-files:amd64 (10.1ubuntu2.4, 10.1ubuntu2.5), libglx-mesa0:amd64 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2), libglx-mesa0:i386 (19.0.2-1ubuntu1.1~18.04.1, 19.0.2-1ubuntu1.1~18.04.2)
End-Date: 2019-07-26  07:58:10
Hope it helps :)

As you can see, this problem seems to be independent of language and code. This problem occurs once the characters are entered after the space.
The problem can aso occur when I enter a space at the beginning of each line.
------------------ 原始邮件 ------------------
发件人: "Peng<EMAIL_ADDRESS>发送时间: 2019年7月27日(星期六) 凌晨1:54
收件人<EMAIL_ADDRESS>抄送: "王聪"995381116<EMAIL_ADDRESS>主题: Re: [microsoft/vscode] A bug about the space display (#77991)
Could you please share the source code in the screenshot to help reproduce?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello, @rebornix Looks like I've found out the cause, it's font related.
So bravo to me, I guess. You're free to credit me in your next release note, as always :)

Sadly I just got vim up and running as I liked.

Thanks for the info!
/duplicate of https://github.com/microsoft/vscode/issues/1727


kubectl krew install failed with status code 404

Bug Report
1. Minimal reproduce step
Execute krew install:
kubectl krew index add kubectl-kcl https://github.com/kcl-lang/kubectl-kcl
kubectl krew install kubectl-kcl/kubectl-kcl

2. What did you expect to see?
Successful installation expected
3. What did you see instead
A page Not Found error (status 404). The installation script tries to download v0.1.0 instead of the latest release version.
kubectl krew install kubectl-kcl/kubectl-kcl
Updated the local copy of plugin index.
Updated the local copy of plugin index "kubectl-kcl".
Installing plugin: kubectl-kcl
W0317 20:37:07.876641   54479 install.go:164] failed to install plugin "kubectl-kcl": install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.1.0/kubectl-kcl-linux-amd64.tar.gz", status code 404
failed to install some plugins: [kubectl-kcl]: install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.1.0/kubectl-kcl-linux-amd64.tar.gz", status code 404

4. What is your KCL components version?
kcl version
0.8.1-linux-amd64

Sorry for the late reply. I will fix it today. Thank you!

Closed by https://github.com/kcl-lang/kubectl-kcl/commit/435aec2c97a9d430b860e6db7da4226ba5918554


In DSpace 8, no new item can be deposited

Describe the bug
I used the sandbox and submit with Demo Submitter account in the collection "New collection created as Site Administrator" (https://sandbox.dspace.org/handle/10673/1159). I add an item using the Pubmed Import feature of DSpace. I am able to save the item for later, but each time I try to deposit the item, I get an error:   "There was an error when submitting the item, please try again."
Can save/save for later and find the submission in "My DSPace."
To Reproduce
Steps to reproduce the behavior:

As submitter, submit a new item in a collection (Entity type Publication)
Fullfill all mandatory metadata, add a file and aproove licence
Clic on Deposit,
The error displays on screen and the item cannot be deposited.

I've dug into this.
It appears to be an issue with sending emails from DSpace 8 after the backend was upgraded to Jakarta EE in https://github.com/DSpace/DSpace/pull/9321.  The error occurs in sending an email notification, and it appears to block the submission from completing.  Here's the error in the dspace.log:
2024-04-11 12:25:54,727 ERROR 541bfbc1-43a4-425c-9eda-66f76bfa7d05 b13c8585-952a-4083-8978-9f9e03b241e2 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:500)
 jakarta.servlet.ServletException: Handler dispatch failed: java.lang.IllegalAccessError: failed to access class com.sun.activation.registries.LogSupport from class jakarta.activation.MailcapCommandMap (com.sun.activation.registries.LogSupport and jakarta.activation.MailcapCommandMap are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @5b6ec132)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1104) ~[spring-webmvc-6.1.5.jar:6.1.5]
...
Caused by: java.lang.IllegalAccessError: failed to access class com.sun.activation.registries.LogSupport from class jakarta.activation.MailcapCommandMap (com.sun.activation.registries.LogSupport and jakarta.activation.MailcapCommandMap are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @5b6ec132)
        at jakarta.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:149) ~[jakarta.activation-2.0.1.jar:2.0.1]
        at jakarta.activation.CommandMap.getDefaultCommandMap(CommandMap.java:55) ~[jakarta.activation-2.0.1.jar:2.0.1]
        at jakarta.activation.DataHandler.getCommandMap(DataHandler.java:127) ~[jakarta.activation-2.0.1.jar:2.0.1]
        at jakarta.activation.DataHandler.getDataContentHandler(DataHandler.java:589) ~[jakarta.activation-2.0.1.jar:2.0.1]
        at jakarta.activation.DataHandler.writeTo(DataHandler.java:289) ~[jakarta.activation-2.0.1.jar:2.0.1]
        at jakarta.mail.internet.MimeUtility.getEncoding(MimeUtility.java:316) ~[jakarta.mail-2.0.1.jar:2.0.1]
        at jakarta.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1551) ~[jakarta.mail-2.0.1.jar:2.0.1]
        at jakarta.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2246) ~[jakarta.mail-2.0.1.jar:2.0.1]
        at jakarta.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2206) ~[jakarta.mail-2.0.1.jar:2.0.1]
        at jakarta.mail.Transport.send(Transport.java:99) ~[jakarta.mail-2.0.1.jar:2.0.1]
        at org.dspace.core.Email.send(Email.java:482) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]

This was likely not found previously because many developers will disable email sending on local dev machines.  I'm looking into a possible fix.  It's likely a minor dependency error.

In lib/ there's a mess of different Java Activation JARs:  angus-activation (the new new one) and jakarta.activation (the old new one) as well as javax.activation (the old one).  Looks like Jakarta Mail pulls in jakarta.activation and jaxb-runtime pulls in angus-activation.  Maybe we should be using org.eclipse.angus:jakarta.mail rather than com.sun.mail:jakarta.mail?

@mwoodiupui :

Maybe we should be using org.eclipse.angus:jakarta.mail rather than com.sun.mail:jakarta.mail?

This is exactly the bug fix I'm working on.  It's a dependency issue which I failed to discover as I have email turned off locally.  I think I nearly have a PR ready & it does move us over to org.eclipse.angus:jakarta.mail....working on the final testing

Hi @tdonohue, thanks! Has the fix been deployed on the sandox?

@pilasou : Yes, this fix was deployed to sandbox...however, it seems it was only a partial fix and the Sandbox email setup requires more.  So, while I did get rid of the above error, a new error is now appearing:
2024-04-12 09:55:48,819 ERROR 541bfbc1-43a4-425c-9eda-66f76bfa7d05 9695e190-55ec-45e4-aede-d6188b01e8e4 org.dspace.app.rest.RestResourceController @ Something went wrong whilst creating the object for apiCategory: workflow and model: workflowitems
 java.lang.ClassCastException: class org.apache.geronimo.mail.handlers.TextHandler cannot be cast to class jakarta.activation.DataContentHandler (org.apache.geronimo.mail.handlers.TextHandler and jakarta.activation.DataContentHandler are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @413f69cc)
        at jakarta.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:620) ~[jakarta.activation-api-2.1.3.jar:?]
        at jakarta.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:573) ~[jakarta.activation-api-2.1.3.jar:?]
        at jakarta.activation.DataHandler.getDataContentHandler(DataHandler.java:591) ~[jakarta.activation-api-2.1.3.jar:?]
        at jakarta.activation.DataHandler.writeTo(DataHandler.java:290) ~[jakarta.activation-api-2.1.3.jar:?]
        at jakarta.mail.internet.MimeUtility.getEncoding(MimeUtility.java:318) ~[jakarta.mail-2.0.3.jar:?]
        at jakarta.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1562) ~[jakarta.mail-2.0.3.jar:?]
        at jakarta.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2272) ~[jakarta.mail-2.0.3.jar:?]
        at jakarta.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2232) ~[jakarta.mail-2.0.3.jar:?]
        at jakarta.mail.Transport.send(Transport.java:101) ~[jakarta.mail-2.0.3.jar:?]
        at org.dspace.core.Email.send(Email.java:482) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]
        at org.dspace.xmlworkflow.XmlWorkflowServiceImpl.notifyOfArchive(XmlWorkflowServiceImpl.java:682) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]
        at org.dspace.xmlworkflow.XmlWorkflowServiceImpl.archive(XmlWorkflowServiceImpl.java:627) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]
        at org.dspace.xmlworkflow.XmlWorkflowServiceImpl.start(XmlWorkflowServiceImpl.java:226) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]
        at org.dspace.xmlworkflow.XmlWorkflowServiceImpl.start(XmlWorkflowServiceImpl.java:88) ~[dspace-api-8.0-SNAPSHOT.jar:8.0-SNAPSHOT]

So, it seems this requires an additional fix to get the deposit process fully working.    Locally, the deposit process works perfectly if email notifications are turned off (mail.server.disabled=true).  But, turning on the email notifications (which obviously we need) has resulted in these unexpected errors.  I'll reopen this ticket and look to fix it in a follow-up PR.

abdera-core and axiom-api are pulling in rather old Geronimo bits.  I thought we got rid of abdera?

@mwoodiupui : Just to answer your question for the record. Abdera is now pulled back in by io.gdcc:sword2-server new SWORDv2 library.  That library is an updated version of the (really old) SWORDv2 Java API which is now updated to Jakarta EE.  It is possible we'd want to find a way to re-remove Abdera, but I've found SWORDv2 challenging in general...it's API is unmaintained and relies heavily on Abdera API.  The only way to remove Abdera entirely is essentially to build our own custom SWORDv2 Java API (which it may come to), and there's no clear replacement for Abdera anywhere out there.  For all the ugly backstory, see https://github.com/DSpace/DSpace/issues/8188.
Nonetheless, I've excluded Geronimo from being pulled in via that SWORDv2 dependency here: https://github.com/DSpace/DSpace/pull/9472  I'm hoping this will finally solve the email issues 🤞

@pilasou : I've pushed up another fix to https://sandbox.dspace.org and submissions are now working again.  I've successfully submitted a new item with no errors.

Hi @tdonohue I just confirm that I was able to submit a new publication item in the sandbox.


A MULTI LEVEL MENU IN A NAVBAR

Template request
Describe the template you need
Additional information
Optional: Add screenshots, or Figma/Sketch files

would be fine :D


Added missing verb to markdown-guidance.md

A verb was missing in the Anchor links section

@jwigert : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Security Issue with chlambase dev

I think it needs a different ssl certificate

Generated new ssl certificate with Certbot


Update ScratchJr sharing flow

To comply with privacy rules, we're changing the sharing flow. The new flow is:

User clicks the yellow tab to get to the project info screen
In addition to the project title input there will be a 'For Parents' button (instead of showing share buttons)
When the user clicks the 'For parents' button a parental gate is shown (simple math problems)
If the user answers the prompt correctly, the appropriate share buttons appear below the the 'For Parents (just email on Android, email and airDrop on iOS)
If the user doesn't answer correctly they return to the project info screen without share buttons visible

Get iOS version built to close this


Composition refinement rules

Right now we have only equality rules for primitive hcom terms. It would be nice to think about Kan compositions from the perspective of proof refinement, however—i.e. focusing on the judgment A true rather than M = N in A.
This would allow us to get interactive programming of compositions, which is essential—for instance, you can watch the coherence goals change as you adjust part of the composition problem, etc.
Additionally, maybe there is some way that the refinement perspective can help us make the goals simpler. (Not sure about this, but it often happens to be the case when switching from membership to truth, especially when you have dependent refinement.)
@cangiuli

Well, the purpose of hcom is essentially to inhabit various path types, while the goal of coe is to inhabit a type when you have already inhabited some similar type.

I agree with all this
The idea is that every form of untyped construction should have a "refinement" version which elaborates to a tactic script; this lets you put holes in programs and develop them interactively with feedback from the refiner (or delegate some portion of the construction to a general purpose tactic).
So, I think that both hcom and coe can benefit from this treatment—and even more so if we spend a bit of time designing refinement rules for them with ergonomics in mind.

On Mar 28, 2017, at 2:29 PM, Carlo Angiuli<EMAIL_ADDRESS>wrote:
Well, the purpose of hcom is essentially to inhabit various path types, while the goal of coe is to inhabit a type when you have already inhabited some similar type.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

So, this is essentially a rule taking a direction and maybe a list of equations?

@favonia Yes, something along those lines... Though it may be possible to design something even more "refinement"-style, not sure.

Hmm I am not sure how Coe.True should work automatically. I think we need something like DEV_COE.

@favonia The idea is that we would have a primitive rule for constructing COEs by refinement, and DEV_COE would call this rule; but DEV_COE is a separate consideration.
When I get better, I can start designing these refinement rules.

The problem is that the rule needs the user to decide the starting and ending dimension expressions, and we don't have a goal for users to fill in dimension expressions (yet). Anyways I will leave it to you.

@favonia I would regard those things are parameters to the rule; anyway, we can figure it out later...

@jonsterling Please correct it if I misunderstood your intention.

Time to rethink about these as dimensions have become expressions.


Feature request: PIO + EmbUI + ESPAsyncWebServer support/example

Hi. How are you? Hope you doing well.
I started new fork which based on your repo and want to mix out EmbUI framework with esp32-mjpeg-multiclient code. I prefered working in the VS-Code + PIO, so had migrated your code into it. In addition EmbUI using ESPAsyncWebServer instead Webserver, so I changed some calls as well. Now all partially worked, but unfortuanetelly I have broking output only small part of buffer. Can you look at code or provide an example for ESPAsyncWebServer?
And many thanks for your work!

Which of the 3 flavors are you using?

Which of the 3 flavors are you using?
\esp32-mjpeg-multiclient-espcam-drivers\version\esp32-cam-rtos-allframes\esp32-cam-rtos-allframes

issue only for ESPAsyncWebServer, ordinary web server worked as expected

Nevermind. I found an example: https://gist.github.com/me-no-dev/d34fba51a8f059ac559bf62002e61aa3 :)


Allow squid imports from JSON packets (shoal-server)

At Ryan's suggestion:
We should look into a feature for Shoal allowing it to import squids via JSON files
e.g.
http://wlcg-squid-monitor.cern.ch/worker-proxies.json
http://wlcg-squid-monitor.cern.ch/grid-squids.json
Shoal should combine the squids from these JSON files (representing information from CMS sitedb/siteconf, AGIS, GOCDB and OIM) with the ones advertised by Shoal agents.

After looking at these json dumps I noticed that they have some listed proxies for a given squid. @rptaylor do you know what these are? ex:
"squid1.ppgrid1.rhul.ac.uk": {     "cmsnames": [       "T3_UK_London_RHUL"     ],      "ip": "<IP_ADDRESS>",      "proxies": [       {         "default": [           "squid1.ppgrid1.rhul.ac.uk:3128",            "lt2cache00.grid.hep.ph.ic.ac.uk:3128",            "cms-squid.gridpp.rl.ac.uk:3128",            "lcgsquid01.gridpp.rl.ac.uk:3128",            "lcgsquid02.gridpp.rl.ac.uk:3128"         ]       }     ],      "names": [       "UKI-LT2-RHUL"     ],      "source": "CMS"   },
Does this mean this squid has a second layer of proxies pointing to it?

It appears that worker-proxies.json maps a site to a list of squids, some of which may be at other sites.
It is odd that the key for a site is itself a squid. We'll have to put some thought and discussion into how we approach this.

Yeah I'm not really too sure how much useful information can be peeled out of the worker-proxies dump. The grid squids on the other hand would be fairly trivial to add, but they would need a seperate designation so shoal doesn't drop them because they aren't sending heartbeat msgs via amqp.
We'd also have to discuss a default access level for these since the json dump has very little of the configuration data the server is accustomed to. We could even make an access level specific to this case.
Thoughts?

After some more thought I've made a bit of a list of issues that would need to be resolved to get this rolling:

Figure out how often to do json import? (once? periodic? daily?)
Figure out how to classify these particular squids that won't be frequently reporting back. As is they will be dropped from the list after a few minutes because they wont be sending messages.
Access levels - since they won't have any config info we will have to do our best to take a stab in the dark at their access level. The least risky strategy would be to classify them all as "local access only."
Verification - slightly correlated with access level as certain access levels are not verified by the server.
Status & Health checking - unlike squids harbouring an agent there is no obvious way to detect the squid has stopped working. This could be potentially solved by attempting to verify the squid through the current method, and de-list them if they are unable to be verified.

The json branch contains the required changes to import these squids to shoal. On my development server there are a combined 337 squids including the ones from the production server. While I think importing these squids with no agents has value, I think we need to have a discussion regarding the goal of these "agentless" squids and what type of services we want shoal to be able to provide.
A previous CHEP talk discusses where these 2 json files come from and how the squids are brought into the list. Slides 5/6 contain a summary.
https://indico.cern.ch/event/505613/contributions/2230709/attachments/1346624/2030637/Oral-180.pdf
To be honest it sounds like their wpad feature is almost identical to shoal except that they also factor in the project (CMS/ATLAS/cvfms/frontier... etc) into their serving logic. The worker-proxies.json file specifically contains the information for each proxy under "Source."
Ex.
  "lcg-admin4.scinet.utoronto.ca": {
    "ip": "<IP_ADDRESS>",
    "proxies": [
      {
        "default": [
          "lcg-admin4.scinet.utoronto.ca:3128",
          "lcgvo.westgrid.ca:3128",
          "kraken01.westgrid.ca:3128"
        ]
      }
    ],
    "names": [
      "CA-SCINET-T2"
    ],
    "source": "ATLAS"
  },

I think we may want to consider integrating this sort of feature into shoal, we could give squids a classification such as "all, CVFMS, Atlas, etc.." or any combination thereof. This way we could make a set of new REST interfaces such as /nearestATLAS or /nearestCVFMS that are specific to a given project. The CHEP slides also talk about how some of these proxies lack the resources to be a suitable proxy for applications like Frontier so this may provide a dynamic configuration solution without the threat of overloading a proxy.


Change the schema.js in npm module dynamicaly

Hi, I am changing the schema.js file manually and it works fine. But
I want to implement : this._children[name_1] = this._createChildProperty(name_1, value ? value[name_1] : null, forward && forward.children ? forward.children[name_1] : null, propertySchema);
in my node modules automatically using ng build through gradle. I am download node v6.9.2 and running npm install and build using gradle task. I get the same error.
Please suggest. Is it a version issue or something else?

What error do you see? What package are you trying to use and modify? From what I understand you're trying to change the code of the @ngtools/json-schema package, but are you tryin to fix a bug/issue? Or is it more of a new feature?
It is unadvised to modify the files in node_modules. You should always build those files from our source and install using npm install.
Closing this issue as I don't think there's anything we can do to help, but if you're explaining what you're trying to do we might be able to point you in the right direction. Cheers!


Support for Web?

Are you planning on supporting web as  a platform?

Hi @DKAC. Thank you for opening up the issue. Yes, we are looking to support the web as well in the near future. Please look for changelogs for the updates.


Ruby 3+ Compatibility

Screencast explaining the PR
https://www.loom.com/share/74be399016bc41138a7d2fff9bd17791
*All tests passing with Ruby 2.7.4 too

Thanks for the fix! This is the first time I received a screencast description, it was very useful 🙇🏻♂

Thanks for the fix! This is the first time I received a screencast description, very useful 🙇🏻♂

We do that to all PRs in my company :smile:
It's also good for the author because it helps spot issues when you have to present your own work.


How can I create a usertype but override certain returned properties as raw getter functions?

I have a struct that has no methods inside it:
struct UIViewStyle {
  f32 grow = 0.0f;

  f32 shrink = 1.0f;

  YGFlexDirection direction{YGFlexDirectionRow};

  YGJustify justifyContent{YGJustifyFlexStart};

  YGAlign alignItems{YGAlignStretch};

  YGAlign alignContent{YGAlignFlexStart};

  glm::vec4 backgroundColor{0.0f};
};

I want to expose this via Sol but modify what's returned for some of the properties without adding getter functions inside the struct. I like to keep the structs as structs without any methods inside them.
Is there a way that I can create a free function that accepts the property as a getter and returns a string value (YG* values are all enums)? Something like this:
auto uiViewStyle =
      state.new_usertype<UIViewStyle>("UIViewStyle", sol::no_constructor);
uiViewStyle["direction"] = sol::property([](UIViewStyle style) {
  return convertDirectionToString(style.direction);
});

-- `YGFlexDirectionRow` automatically returned as "row" instead of integer
style.direction == "row"

Or is it possible to create strings from enums; so, whenever I pass enum to Lua or retrieve an enum from Lua, I always work with strings instead of C++ enums, which are integers in this case:
auto uiViewStyle =
      state.new_usertype<UIViewStyle>("UIViewStyle", sol::no_constructor);
uiViewStyle["direction"] = &uiViewStyle::direction;

-- `YGFlexDirectionRow` automatically returned as "row" instead of integer
style.direction == "row"

What is wrong with the first example you give? I think that (or something very very very close to it) should work.

That does not work because sol::property does not accept an argument. What I need to do is to create a class that has a getDirection function, then use that as the property:
struct UIViewStyle {
  String getDirection() {
    converDirectionToString(this->direction);
  }

  YGDirection direction = YGFlexDirectionRow;
};

But this is an antipattern because my UIViewStyle struct is a plain old struct with no data in it and I essentially need to either store the entire serialization as a member function of the class or create a Lua specific proxy class that maps to this, which becomes very complex when this object is part of another structure, which I will need to create Lua proxy class as well.

What I need to do is to create a class that has a getDirection function, then use that as the property

In general for sol, you can do all kinds of magic in the function signature that sol will recognize and act upon.
For example, you can add an argument to have access to the lua state like this: https://sol2.readthedocs.io/en/latest/api/this_state.html
For your case you can bind a function that takes in a UIViewStyle& or UIViewStyle* or something similar (both work, because sol magic).
Here is a working example (godbolt link):

#include <limits>
#define SOL_ALL_SAFETIES_ON 1
#include <sol/sol.hpp>
#include <iostream>

struct UIViewStyle {
    float grow = 0.0f;
    float shrink = 1.0f;
    int direction = 1;
};

const char* YGFlexDirectionToString(int direction) {
    switch (direction) {
        case 1: return "column";
        case 2: return "column-reverse";
        case 3: return "row";
        case 4: return "row-reverse";
        default: return "unknown";
    }
}

int YGFlexStringToDirection(const char* direction) {
    std::string directionStr(direction);

    if (directionStr == "column") {
        return 1;
    } else if (directionStr == "column-reverse") {
        return 2;
    } else if (directionStr == "row") {
        return 3;
    } else if (directionStr == "row-reverse") {
        return 4;
    } else {
        throw std::invalid_argument("Unknown direction");
    }
}

int main() {
    sol::state lua;
    lua.open_libraries();
    auto uiviewstyle_mt = lua.new_usertype<UIViewStyle>("UIViewStyle",
        "new", sol::no_constructor
    );
    uiviewstyle_mt["direction"] = sol::property(
        // getter
        [](UIViewStyle& style) {
            return YGFlexDirectionToString(style.direction);
        },
        // setter
        [](UIViewStyle& style, const char* direction) {
            style.direction = YGFlexStringToDirection(direction);
        }
    );

    lua["style"] = UIViewStyle();
    lua.script(R"(
        print(style.direction) -- column
        -- style.direction = 4 -- error: expected string, received number
        -- style.direction = "foobar" -- error: Unknown direction
        style.direction = "row-reverse" -- properly sets the struct value to an integer
        print(style.direction) -- row-reverse
    )");
    return 1;
}

In general all functions tied to lua userdata are just free functions that pass the data forward.
It is possible to tap into that in sol as well as seen above, which can allow you to make quite free and interesting choices in the way you bind things. However, sol also has abstractions that allow you to just bind the member functions directly for ease of use.

@Rochet2 Thank you for the help! I had no idea if this was possible and there are so many places where I needed to do this and ended up creating lots of adapter/proxy classes to handle that.


An encryption and decryption programme built using elif function and A programme to find the gap between two dates using if elif else function

An encryption and decryption programme built using elif function.
A programme to find the gap between two dates using if elif else function.

Added a programme that can tell a sentence based on the card chosen


[AAQ-281] Multilanguage content support

Reviewer: @amiraliemami
Estimate: 1hr

Ticket
Fixes: AAQ-281
Description, Motivation and Context
Goal
To add simple multilingual support on the backend.
Changes

When creating content, we now need to specify language
Based on detected language of the query, we do similarity search only within contents in the same language.
Language is optional on the backend. If there is no detected language we search across all content.

LLM response now summarizes top N responses!

[!WARNING]
Some of the changes we made here, e.g. 4, we might want to merge to main as well. I can cherry-pick and raise another PR later.

How has this been tested?

Please try all the content management and question answering APIs on dev mode
All unit tests should pass

Checklist
Fill with x for completed. Delete any lines that are not relevant

[ ] My code follows the style guidelines of this project
[ ] I have reviewed my own code to ensure good quality
[ ] I have tested the functionality of my code to ensure it works as intended
[ ] I have resolved merge conflicts
[ ] I have updated the automated tests (if applicable)
[ ] I have updated the requirements (if applicable)
[ ] I have updated the README file (if applicable)
[ ] I have updated affected documentation (if applicable)

Nice, runs via docker compose and all pytests pass - thanks! Left a frew comments. I was also thinking - isn't language a type of metadata? We have the metadata field in different functions but the language sits outside of that dict now as a separate entity. We should rethink that field maybe.

Good point. Though Language will become a required field when we move onto multilanguage content DB.


move commons to own repo

include entity-generaotr and migration modules as well
also restructure commons the offer different packages so not everything is required

https://github.com/BenSlabbert/vertx-dagger-commons


sslmode does not support allow, prefer, require, disable

Driver version

2.0.910
Redshift version

PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.49780
Client Operating System

macos monterey 12.6.2
Python version

3.11
Table schema

Does not apply
Problem description

Expected behaviour:
In postgreSQL, these 5 parameters are allowed values for sslmode. However, redshift_connector only allows for verify-ca, and verify-full for this parameter. Redshift_connector also has ssl as a parameter.

Actual behaviour:
There are a few problems with this difference between postgreSQL and redshift_connector:
a. To disable ssl, users using redshift_connector has to set ssl = False. Simply setting sslmode = disable will not set ssl to false. Since disable is not a recognizable value of sslmode in redshift_connector, redshift_connector will use the default of 'verify-ca' to make the connection.
b. According to the PostgreSQL doc, the accepted values of sslmode behave as below:

disable
only try a non-SSL connection
allow
first try a non-SSL connection; if that fails, try an SSL connection
prefer (default)
first try an SSL connection; if that fails, try a non-SSL connection
require
only try an SSL connection. If a root CA file is present, verify the certificate in the same way as if verify-ca was specified
verify-ca
only try an SSL connection, and verify that the server certificate is issued by a trusted certificate authority (CA)
verify-full
only try an SSL connection, verify that the server certificate is issued by a trusted CA and that the requested server host name matches that in the certificate
Redshift_connector should also increase the values accepted by sslmode to align with PostgreSQL docs
After some investigation, here is a detailed table on the behavior of sslmode of redshift_connector and psycopg2:

sslmode
behavior in redshift connector (ssl, sslmode)
behavior in psycopg2 connector (sslmode)

disable
ssl=defaulted to true, sslmode=verify-ca (sslmode of disable is not recognized by redshift_connector, therefore falling back to default of verify-ca)
sslmode=disable

allow
ssl=defaulted to true, sslmode=verify-ca
first try with sslmode=disable, if fails, try with sslmode=verify-ca

prefer
ssl=defaulted to true, sslmode=verify-ca
first try with  sslmode=verify-ca, if fails, try with  sslmode=disable

require
ssl=defaulted to true, sslmode=verify-ca
ssl=true, sslmode=verify-ca

verify-ca
ssl=defaulted to true, sslmode=verify-ca
ssl=true, sslmode=verify-ca

verify-full
ssl=defaulted to true, sslmode=verify-full
ssl=true, sslmode=verify-full

Hi Jessie,
thanks for opening this issue. we are in discussions with the redshift driver team around next steps in addressing this. once we have determined next steps, I will provide an update here.


[cloudflare-ingress-controller] Import new chart

what

Add the Argo, the cloudflare-ingress-controller

why

Expose kubernetes services without needing to expose anything publically
Alternative to bitly-oauth2 proxy (which appears unmaintained and is definitely buggy!)
BeyondCorp-style security model'
Stackpoint chart is out-of-date (0.5.0); latest is 0.5.1

demo

references

https://github.com/StackPointCloud/trusted-charts/blob/master/stable/argo-ingress/Chart.yaml#L3
https://github.com/cloudflare/cloudflare-ingress-controller

Wanted by https://github.com/cloudposse/helmfiles/pull/17/files

Rename the chart to argo-ingress since that's what the "official" one is called, despite the repo name being cloudflare-ingress-controller

I think we can close this now. Cloudflare has released their own managed chart repo.
https://github.com/cloudflare/helm-charts
helm repo add cloudflare https://cloudflare.github.io/helm-charts
helm repo update


owner and group set to hduser and hadoop for yarn provisioning scala copy task

Scala libraries scala-compiler.jar and scala-library.jar were being copied over as root, which resulted in hduser not being able to access them on the VMs where hduser is not permitted to read files owned by root. This issue is also present in sunbird-data-pipeline repo as the same script is present there as well.

@maheshkumargangula Request you to merge this.


Service Crashing 4.5.0

Service starts then fails after moving from 4.3.1

pi@ha-bridge:~ $ sudo systemctl status habridge.service  -l
● habridge.service - HA Bridge
Loaded: loaded (/etc/systemd/system/habridge.service; enabled)
Active: failed (Result: exit-code) since Fri 2017-04-07 19:21:24 UTC; 1min 3s ago
Process: 655 ExecStart=/usr/bin/java -jar -Dconfig.file=/home/pi/habridge/data/habridge.config /home/pi/habridge/ha-bridge-4.5.0.jar (code=exited, status=1/FAILURE)
Main PID: 655 (code=exited, status=1/FAILURE)
Apr 07 19:21:16 ha-bridge systemd[1]: Started HA Bridge.
Apr 07 19:21:23 ha-bridge java[655]: 2017-04-07 19:21:22,826 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v4.5.0) starting....
Apr 07 19:21:23 ha-bridge java[655]: 2017-04-07 19:21:23,312 [main] INFO  com.bwssystems.HABridge.BridgeSettings - reading from config file: /home/pi/habridge/data/habridge.config
Apr 07 19:21:24 ha-bridge java[655]: Exception in thread "main" java.lang.NullPointerException
Apr 07 19:21:24 ha-bridge java[655]: at com.bwssystems.HABridge.BridgeSettings.buildSettings(BridgeSettings.java:150)
Apr 07 19:21:24 ha-bridge java[655]: at com.bwssystems.HABridge.HABridge.main(HABridge.java:51)
Apr 07 19:21:24 ha-bridge systemd[1]: habridge.service: main process exited, code=exited, status=1/FAILURE
Apr 07 19:21:24 ha-bridge systemd[1]: Unit habridge.service entered failed state.

Will need to look at your habridge.config as there is something it does not like now

Cool, maybe I can just clear the config and rebuild it. But I'll submit it in a bit we know what's going on.
Sent from my iPhone
On Apr 7, 2017, at 10:50 PM, BWS Systems <notifications<EMAIL_ADDRESS>wrote:
Will need to look at your habridge.config as there is something it does not like now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bwssytems/ha-bridge/issues/588#issuecomment-292692570, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOjRo9JP_N66EWj5ODVnKjjr6A9Bchakks5rtwPygaJpZM4M3SuL.

So my config file was blank after the upgrade. I moved the file so it would build a new config file. It worked. I restored from a backup file inside the interfaced and that was also successful.


Find near matches

Find near matches

<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
New best match found (37% similar):
Vanity npub found:         l07rjdpx6dmk64tgf6rrdafq8c8km9xdqsat2d2l4ljjcgy35kkqqw7ysx
Found matching Nostr public key:
Hex public key:   fbfc393426d3776d55684e8636f5203e0f6d94cd043ab5355fafe52c2091a5ac
Hex private key:  78a82249025f3ccb530f36f8f0c6b30dee4706ed534be92e617d87b4bba7fe49
Npub public key:  npub1l07rjdpx6dmk64tgf6rrdafq8c8km9xdqsat2d2l4ljjcgy35kkqqw7ysx
Nsec private key: nsec10z5zyjgztu7vk5c0xmu0p34nphhywphd2d97jtnp0krmfwa8leysqunyzd
Target: c03rad0r
Current: l07rjdpx6dmk64tgf6rrdafq8c8km9xdqsat2d2l4ljjcgy35kkqqw7ysx
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
New best match found (50% similar):a8c72eb9691ad044648fab974557fbe192c9db96b33e9b5a5401bad1818a1221
Vanity npub found:         c03yaqleu7n5v4l6tyqjul28w6mevsxmhclpsr6v6lget9hc20zsj000gd
Found matching Nostr public key:
Hex public key:   c3e24e83f9e7a74657fa59012e7d4776b79640dbbe3e180f4cd7d19596f853c5
Hex private key:  5ebf2949f785869eb106aeadc789d7a7681cf95b707a184036a267aa0b32d87a
Npub public key:  npub1c03yaqleu7n5v4l6tyqjul28w6mevsxmhclpsr6v6lget9hc20zsj000gd
Nsec private key: nsec1t6ljjj0hskrfavgx46ku0zwh5a5pe72mwpapsspk5fn65zejmpaq66ptmc796fde91391f250826
Target: c03rad0r
Current: c03yaqleu7n5v4l6tyqjul28w6mevsxmhclpsr6v6lget9hc20zsj000gd
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
New best match found (62% similar):
Vanity npub found:         c0u2cd0rrlgzt693qzjymkl25dkn6pdwungz8hfqj098hxdhc5ps7zrepv
Found matching Nostr public key:
Hex public key:   c3f8ac35e31fd025e8b100a44ddbeaa36d3d05aee4d023dd2093ca7b99b7c5039399a666de5b180d3
Hex private key:  1e39e516ba824f745a41dc77d184284db972ed522ff4c87a5e8b3d09dc3b3e9c
Npub public key:  npub1c0u2cd0rrlgzt693qzjymkl25dkn6pdwungz8hfqj098hxdhc5ps7zrepv
Nsec private key: nsec1rcu72946sf8hgkjpm3marppgfkuh9m2j9l6vs7j73v7snhpm86wqxm0fet
Target: c03rad0r
Current: c0u2cd0rrlgzt693qzjymkl25dkn6pdwungz8hfqj098hxdhc5ps7zrepv
Non-matc^Cng public key generated: a0c653a9043f098aeca1eb0a639569b2b0691934a98f1eb02bfea25730bc5d65f2fee0d090ae2d0bc9df

There is probably room for optimization. Rana no longer uses all cores to their full extent

Hi @chGoodchild I like this idea, but the implementation is not giving a good UX IMHO, if I executed rana --vanity-n-prefix=rana,h0dl,n0str and I got this output
Started mining process for vanity bech32 prefix[es]: 'npub1["rana", "h0dl", "n0str"]' (estimated pow: 16)
Benchmarking of cores disabled for vanity npub key upon proper calculation.
Mining using 16 cores...
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
New best match found (25% similar):
Vanity npub found:         r2cr430s6qrq60v4we0ry7a0yhqtru2q9hm2awn63vz5ky0h5yvq95zh5z
Found matching Nostr public key:
Hex public key:   1ab03ac5f0d0060d3d95765e327baf25c0b1f1402df6aeba7a8b054b11f7a118
Hex private key:  0d828339aa418a163cf1fbef96939dce281f9341a55c3b2f875ac6106f02cad9
Npub public key:  npub1r2cr430s6qrq60v4we0ry7a0yhqtru2q9hm2awn63vz5ky0h5yvq95zh5z
Nsec private key: nsec1pkpgxwd2gx9pv083l0hedyuaec5ply6p54wrktu8ttrpqmczetvss6wqra
Target: rana
Current: r2cr430s6qrq60v4we0ry7a0yhqtru2q9hm2awn63vz5ky0h5yvq95zh5z
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>

Here rana got a best match found 25% similar, in a four letter word 25% is just one letter, if we are going to allow a behavior like this we should increase the percent to something over 75%
let's see this one:
New best match found (50% similar):
Vanity npub found:         q9dl6ue0tfxk046asxs7wtlfrx3uvnuuc8dr9vcgy7hpuufkn25qy2lsht
Found matching Nostr public key:
Hex public key:   015bfd732f5a4d67d75d81a1e72fe919a3c64f9cc1da32b30827ae1e71369aa8
Hex private key:  8d700d71db27302d3e4fdfc74aa06b54f1e654d962b031bc3b75c6fd4fc5df4b
Npub public key:  npub1q9dl6ue0tfxk046asxs7wtlfrx3uvnuuc8dr9vcgy7hpuufkn25qy2lsht
Nsec private key: nsec134cq6uwmyucz60j0mlr54grt2nc7v4xev2crr0pmwhr06n79ma9se43j82
Target: h0dl
Current: q9dl6ue0tfxk046asxs7wtlfrx3uvnuuc8dr9vcgy7hpuufkn25qy2lsht

Here rana found 50% similar, word h0ld and it found the last two letters, for a better UX we should only check the first letters instead of the last ones.

How about something like this?
rana$ cat output.tmp
Started mining process for vanity bech32 prefix[es]: 'npub1["c03r"]' (estimated pow: 16)
Benchmarking of cores disabled for vanity npub key upon proper calculation.
Mining using 4 cores...
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
Found match with 75.00% similarity:
Vanity npub found:         c03wlses2ya02snndffyf37auqk7jvasvekt776nttw7dlzmm9gq2chl44
Found matching Nostr public key:
Hex public key:   c3e2efc330513af542736a5244c7dde02de933b0666cbf7b535adde6fc5bd950
Hex private key:  ecf20f3bbb30ec030d74ed533b2b35f091037b8d9b2a59f57450f83f0d6c5b24
Npub public key:  npub1c03wlses2ya02snndffyf37auqk7jvasvekt776nttw7dlzmm9gq2chl44
Nsec private key: nsec1aneq7wamxrkqxrt5a4fnk2e47zgsx7udnv49nat52rur7rtvtvjqhltddg
Target:  c03r
Current: c03wlses2ya02snndffyf37auqk7jvasvekt776nttw7dlzmm9gq2chl44
<<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>>
Found exact match!
Vanity npub found:         c03r
Found matching Nostr public key:
Hex public key:   c3e237e9cd970fd7b7c9d6df769530b29b82b449be508131d46533c564b9870b
Hex private key:  07ac4f5a48ccfa49601366bfd971b6362d646ffd7ed3ef022d83702f4fbf8185
Npub public key:  npub1c03r06wdju8a0d7f6m0hd9fsk2dc9dzfheggzvw5v5eu2e9esu9sd5pvvm
Nsec private key: nsec1q7ky7kjgenayjcqnv6lajudkxckkgmla0mf77q3dsdcz7nalsxzsmly65p
1429123 iterations (about 1x10^6 hashes) in 32 seconds. Avg rate 44660 hashes/second

Like this?


I'm going to leave this branch open for a bit, in case we have any bug fixes, minor changes, etc. Sound OK?


can you make it automatically extract all tiles?

each time hard code some line based on info from config.xml for only 1 bundle file
I have 20 bundle file, need to do 20 times, too tired.
Can you automate this process, let it auto read config.xml , auto set parameter, then auto output all 20 bundle?
Or
how to make it extract on the fly? on the PHP server, like tileserver-PHP does. https://github.com/maptiler/tileserver-php
For example,   user client send request.  asking for tile.  http://..../x/y/z.png ,  then it will on the fly extract that zoom level x, row y, z , output a final .png image file?

@hoogw Please take a look at OpenVTPK. Wir use compact-cache-bundle to repackage VTPK into MBTiles.

I have create vtpk, with arc pro 2.9.1.   it have p12/L00 - L06  folder, seem good,
but when I run openVTPK, error message is above

This is extracted vtpk , it looks good, mgrs_grid2.vtpk, but did not work with openVTPK


[NPU] Add initial support for minicpm-llama-v2.5

Description
MiniCPMV is divided into 3 components: LLM, VPM, and Resampler. We run the LLM ccomponet on NPU and others on CPU.
1. Why the change?
Add npu optimization for minicpm-llama-v-2.5.
2. User API changes
-------------------- Input --------------------
http://farm6.staticflickr.com/5268/5602445367_3504763978_z.jpg
-------------------- Prompt --------------------
What is in the image?
-------------------- Output --------------------
The image depicts a young girl holding a small white teddy bear. She is wearing a pink and white striped dress. The background shows a stone wall with red flowers in the foreground

3. Summary of the change

[x] npu multi-processing optimization
[x] npu example and readme
[ ] vpm attention optimization (another pr)

4. How to test?
We test this model with images input.

[x] MTL
[x] LNL

Impl in npu_model.py will be replace by https://github.com/intel-analytics/ipex-llm/pull/11966 then.


feat: add default_date optional parameter for bulk create and update

Add default_date parameter for bulk creating and updating historical entries.
Description
This change adds a keyword argument default_date to the bulk_history_create() method on the HistoryManager, as well as the utility functions bulk_create_with_history() and bulk_update_with_history().
If provided, the created or updated history entries will have the field history_date set to this date.
Related Issue
https://github.com/jazzband/django-simple-history/issues/686
Motivation and Context
It provides an easy way to set the history_date when dealing with bulk operations.
How Has This Been Tested?
Unittests have been added.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have run the make format command to format my code
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have added my name and/or github handle to AUTHORS.rst
[x] I have added my change to CHANGES.rst
[x] All new and existing tests passed.

Hi @sbor23 not sure what happened with the hooks for travis. Can you try repushing this so I can see tests?

Hi @sbor23 not sure what happened with the hooks for travis. Can you try repushing this so I can see tests?

Sure, did that  :)


Add tests to verify protocol message size

Fixes #14647

I'd probably have asked for a comment somewhere explaining the test a little more. Something that also said what to do when it fails (i.e. investigate and fix the regression or call it out during review so we can decide if it's acceptable). We know now what to do, the question is what is someone new on the team (or even us 3 years later) going to do when this test fails? :)

I'll just sneak that into a different PR then :D


feat: tag with commit hash

introduces new system environment variable: COMMIT_VERSION_TAG
the image builder/bee runner scripts can interpret its value as string, whose can be either true or false.
If true, then the image which is going to be built will have the tag that is extracted from the bee version command.
Closes: #9

I know this depends on the debate if we include the state in future. If so, then I think we will have to include another part in the versioning scheme that will allow us to release several versions even for one commit (with different states).

Yeah, that one will be in an other PR anyway, but I have a plan for that too if we want to have that feature.


Agent cannot Handle more than a specific amount of client connections

Hardware description: ESP32 x 9
Installation type: Micro_ros_arduino Library
Version or commit hash: Foxy 2.0.4

Steps to reproduce the issue
By Connecting 9 Esps to one Agent and observing the Connection, some Esps might disconnect and re-connect randomly and it gets worse over time.

Expected behavior
Stable connection for a long period of time of multiple clients
Actual behavior
Un-stable and un-reliable connection.
Additional information
For now was able to have a more stable connection by fixing the client_key of each esp
using the following:

Could you provide code to replicate this issue, please do not share code in the image, just paste here your micro-ROS application to allow us to replicate the use case.

Any update on this?

Closing due to inactivity


Chapter 9 link is broken for The Hundred-Page Machine Learning Book by Andriy Burkov

It gives 404 error.

Found a working link here:
https://www.dropbox.com/s/y9a7b0hzmuksqar/Chapter9.pdf?dl=0


COMP: macOS-11 Azure CI environment EOL

The macOS-11 environment is deprecated and scheduled to be removed on June 28th, 2024.
Update to macos-12 (also Intel) because macos-14 images are ARM and the ARM testing is done with GitHub Actions.

This changes both to macos-13?

Yes.  Comment fixed.  macos-12 had a false positive compiler warning about linking during python wrapping.
ld: warning: -undefined dynamic_lookup may not work with chained fixups
macos-13 is also an intel based deployment where the compilers are fixed.
After suggestion by @thewtex we moved from 11 to 13 to avoid a lot of CI headaches.


Secondary Rate limit errors

Hey,
we are running into secondary rate limits from time to time:
private repo within github enterprise cloud orga.
2023-03-09 09:04:42 +0000 - publish -  INFO - Created check https://github.com/repo/runs/11874889807
2023-03-09 09:04:42 +0000 - publish - WARNING - Request GET /search/issues?q=type%3Apr+repo%3A%22reüp%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 failed: Forbidden
2023-03-09 09:04:42 +0000 - publish - WARNING - Request GET /search/issues?q=type%3Apr+repo%3A%22repo%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 failed with 403: Forbidden
2023-03-09 09:04:42 +0000 - publish -  INFO - There is no Retry-After given in the response header
2023-03-09 09:04:42 +0000 - publish -  INFO - Response body indicates retry-able error: you have exceeded a secondary rate limit. please wait a few minutes before you try again.
2023-03-09 09:04:42 +0000 - publish -  INFO - Reset occurs in 0:00:59.473329<PHONE_NUMBER> / 2023-03-09 09:05:42), setting next backoff to 59.473329s
2023-03-09 09:05:43 +0000 - publish - WARNING - Request GET /search/issues?q=type%3Apr+repo%3A%22repo%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 failed: Forbidden
2023-03-09 09:05:43 +0000 - publish - WARNING - Request GET /search/issues?q=type%3Apr+repo%3A%22repo%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 failed with 403: Forbidden
2023-03-09 09:05:43 +0000 - publish -  INFO - There is no Retry-After given in the response header
2023-03-09 09:05:43 +0000 - publish -  INFO - Response body indicates retry-able error: you have exceeded a secondary rate limit. please wait a few minutes before you try again.
2023-03-09 09:05:43 +0000 - publish -  INFO - Reset occurs in 0:00:59.748716<PHONE_NUMBER> / 2023-03-09 09:06:43), setting next backoff to 59.748716s

Here is also the exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 878, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 878, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 878, in urlopen
    return self.urlopen(
  [Previous line repeated 7 more times]
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 868, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
  File "/action/publish/retry.py", line 78, in increment
    retry = super().increment(method, url, response, error, _pool, _stacktrace)
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /search/issues?q=type%3Apr+repo%3A%22repo%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 (Caused by ResponseError('too many 403 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/action/publish_test_results.py", line 524, in <module>
    main(settings, gha)
  File "/action/publish_test_results.py", line 245, in main
    Publisher(settings, gh, gha).publish(stats, results.case_results, conclusion)
  File "/action/publish/publisher.py", line 199, in publish
    pulls = self.get_pulls(self._settings.commit)
  File "/action/publish/publisher.py", line 211, in get_pulls
    issues = list(self._gh.search_issues(f'type:pr repo:"{self._settings.repo}" {commit}'))
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 56, in __iter__
    newElements = self._grow()
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 67, in _grow
    newElements = self._fetchNextPage()
  File "/usr/local/lib/python3.8/site-packages/github/PaginatedList.py", line 201, in _fetchNextPage
    headers, data = self.__requester.requestJsonAndCheck(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 354, in requestJsonAndCheck
    *self.requestJson(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 454, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 528, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(
  File "/action/publish_test_results.py", line 273, in throttled_gh_request_raw
    return gh_request_raw(cnx, verb, url, requestHeaders, input)
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 555, in __requestRaw
    response = cnx.getresponse()
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 127, in getresponse
    r = verb(
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 510, in send
    raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /search/issues?q=type%3Apr+repo%3A%22repo%22+332fbe0d3211de7a9f9376f40494878b132a84fd&per_page=100 (Caused by ResponseError('too many 403 error responses'))

Hope this helps. Tell me if you need more information!

Look like this action is doing everything right. GitHub does not like to answer the API calls and the action defers retrying the call. You could increase github_retries, but this does not make the secondary rate limit errors go away, the action just keeps retrying more.
Please check with GitHub support to understand why those calls to /search/issues hit the secondary rate limit and what can be done about it other than calling that API endpoint less frequently.

As far as I understand the GH docs, the error responses should contain a retry-after or, if not present, a x-ratelimit-reset header to specifiy the retry time.
Is the action checking for both headers?

The log says:
2023-03-09 09:04:42 +0000 - publish -  INFO - There is no Retry-After given in the response header
2023-03-09 09:04:42 +0000 - publish -  INFO - Response body indicates retry-able error: you have exceeded a secondary rate limit. please wait a few minutes before you try again.
2023-03-09 09:04:42 +0000 - publish -  INFO - Reset occurs in 0:00:59.473329<PHONE_NUMBER> / 2023-03-09 09:05:42), setting next backoff to 59.473329s

So yes.

@cmergenthaler please note that this issue should have been resolved with the latest release 2.6.0 (yesterday). Please check if you have seen Forbidden errors with the latest versions.

@EnricoMi Thanks! I have updated my workflows and so far everything works well. As this error only occurred from time to time, I will keep observing my runs in the next days.

Thanks, please reopen when this resurfaces.


Add network Tcp utilities

blocked by #1256
Description
Implemented network TcpStream and TcpListener classes.
Checklist

[x] Self-review changes.
[x] Evaluate impact on the documentation.
[x] Ensure test coverage.
[x] Write new samples.
[x] Add entry to the changelog's unreleased section.

last quick review @RiscadoA 🙏🏻


New version: Omniscape v0.2.0

Registering package: Omniscape
Repository: https://github.com/Circuitscape/Omniscape.jl
Created by: @vlandau
Version: v0.2.0
Commit: c7d54afa1610a9f11fe77cbb070ea873acd9a648
Reviewed by: @vlandau
Reference: https://github.com/Circuitscape/Omniscape.jl/commit/c7d54afa1610a9f11fe77cbb070ea873acd9a648#commitcomment-38784226

Not sure what caused this but it caused the automerge check to fail:
ERROR: Unable to automatically install 'SQLite' from '/tmp/jl_f8w8yO/packages/SQLite_jll/1ZG8c/Artifacts.toml'

Any guidance? Thanks!


Worker doesn't closes the connection

Hi everyone,
I'm having a problem with sneaker leaking connection with RabbitMQ. I look up and didn't find anything that resolve my problem (or at least every thing that I tried, didn't work).
When my rails application worker consumes a message from the queue, it creates a connection on rabbitmq, but after finishing and sending the ack, the connection still open. That's happens with every message.
My worker is basically this:
class Worker
  include Sneakers:Worker

  from_queue 'test.queue',
                      retry_routing_key: 'test.queue'
                      arguments: { 'x-dead-letter-exchange': ENV['RETRY_EXCHANGE'] }

  def work(message)
    # do something
    ack!
  rescue => error
    reject!
  end
end

There is any settings to do close the connection after the worker finished?

As of a411f05, https://github.com/jondot/sneakers/blob/a411f05d2e4a40ab2045b8f99aad6647ef4a30a5/lib/sneakers/worker.rb#L99-L106

@Spaceghost thanks for the answer.
I still don't understand the relation between the PR and the stop method.
Where should I call stop?

For more information. I'm running the task sneakers:run to create the workers.

Nevermind...
In some point of my code, i used the Sneakers::Publish publish method, and the connection still opened.
Thanks and closing...

I'm still looking for the PR you mentioned, would you mind dropping a link?
As for the use of #stop, I'd either suggest looking through the code at least, if not using it or writing your own using what you learn from it. Sorry I can't be much help at the moment, my loadavg is ridiculous these days.


[KBM] support multiple keyboards

📝 If there are 2 (or more) keyboards connected to the pc, remap key/s of one selectable keyboard but not from the other/s.
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
E.g. a "Button Box", which is very common for sim-racers, acting as a secondary keyboard via usb connection.
Signals of buttons and rotary encoders are getting to a controller in the box which sends keystrokes to the pc.
Some are reprogrammable by the users, some not and may conflict with ingame predefined build-in keystrokes.
Would be very handy to be able to remap those keystrokes of that button-box to non conflicting alternative keystrokes.
I don't know if #3643 has the same goal, I couldn't discover what the author wanted to say with his post.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

See https://github.com/microsoft/PowerToys/issues/1460


Decrease the queue counter unconditionally

Summary
Fixes #751
Checklist
For Code changes

[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] PR contains the label area:operator
[x] Link this PR to related issues
[x] I have not made any changes in the charts/ directory.

I've created a manual image for this branch and asked @haasad to test it on a cluster where we know that this issue happens regularly. Once I've got feedback I'll merge here.

I have this version running on one of the problematic clusters now, will observe for a few days and give feedback

Merging to make a prerelease

@Kidswiss problem hasn't occurred anymore for a week now on a cluster running with the ghcr.io/k8up-io/k8up:fix_decrease_queue image, whereas it appeared every 2-3 days before


Exported SVG Needs Cropping

When I use this library, and I convert a MObject to SVG, the SVG is not cropped to its size and seems to render a whole scene. Is there an easy solution to this? Sorry I'm not familiar with Cairo otherwise I'd try to fix myself.

Sorry for the late reply, missed this notification. I think adding a parameter called crop should do, which I think should be set to True by default. That parameter should crop the SVG based on the height and width of the mobject. I'll have a look into implementing it.

Thanks! That'd be lovely and thanks for developing this small but very useful utility.


Corrected kiali path that changed.

Problem
With the latest Istio chart, the path of Kiali has changed.
Solution
Updated the path of Kiali to the new path
Testing
Ran locally

Test types added/modified:

Validation (Go Framework)

can you create a forward port PR for v2.8?

Forward port to 2.8 https://github.com/rancher/rancher/pull/42500

PR needs a rebase and/or revert

Rebased from release/2.7


WIP: Adding Golang Example

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Are you planing to also commit the examples source code here?

Yes actually i though that might be easy for the new users
You think thats a bad idea?
On Sat, Apr 16, 2022, 9:42 PM Shale Xiong @.***> wrote:

Are you planing to also commit the examples source code here?
—
Reply to this email directly, view it on GitHub
https://github.com/veracruz-project/veracruz/pull/405#issuecomment-1100692418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFVRQOOZVMFCZZ4OBYBCETVFLNW7ANCNFSM5TSFYRBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

i have been facing issues while verifying my commit
[image: image.png]
it worked nice at the starting now its giving me error to commit further
after generating gpg....i tried to apply all possible solutions from google
but no use, could you plz help me
On Sat, 16 Apr 2022 at 21:55, Barsha Paul @.***> wrote:

Yes actually i though that might be easy for the new users
You think thats a bad idea?
On Sat, Apr 16, 2022, 9:42 PM Shale Xiong @.***>
wrote:

Are you planing to also commit the examples source code here?
—
Reply to this email directly, view it on GitHub
https://github.com/veracruz-project/veracruz/pull/405#issuecomment-1100692418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFVRQOOZVMFCZZ4OBYBCETVFLNW7ANCNFSM5TSFYRBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

yes actually

I cannot read the image In my phone, I will reply tomorrow using my laptop
Shale Xiong

From: B @.>
Sent: Sunday, April 17, 2022 3:32:02 PM
To: veracruz-project/veracruz @.>
Cc: Shale Xiong @.>; Review requested @.>
Subject: Re: [veracruz-project/veracruz] WIP: Adding Golang Example (PR #405)
yes actually
—
Reply to this email directly, view it on GitHubhttps://github.com/veracruz-project/veracruz/pull/405#issuecomment-1100890830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADSRRQQCQVD3I2LKKOFKCX3VFQOGFANCNFSM5TSFYRBQ.
You are receiving this because your review was requested.Message ID: @.***>

Sure
On Mon, Apr 18, 2022, 9:26 PM Shale Xiong @.***> wrote:

I cannot read the image In my phone, I will reply tomorrow using my laptop
Shale Xiong

From: B @.>
Sent: Sunday, April 17, 2022 3:32:02 PM
To: veracruz-project/veracruz @.>
Cc: Shale Xiong @.>; Review requested @.>
Subject: Re: [veracruz-project/veracruz] WIP: Adding Golang Example (PR
#405)
yes actually
—
Reply to this email directly, view it on GitHub<
https://github.com/veracruz-project/veracruz/pull/405#issuecomment-1100890830>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ADSRRQQCQVD3I2LKKOFKCX3VFQOGFANCNFSM5TSFYRBQ

.
You are receiving this because your review was requested.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/veracruz-project/veracruz/pull/405#issuecomment-1101496977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFVRQKURSBVBV65ZZYBANTVFV5JLANCNFSM5TSFYRBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi @paul-111. Your GPG key seems not working. Here are some tutorials to do so:

Generate GPG key, https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key
Bind your GPG key to your account, https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
You may also need to sign your old commit, https://superuser.com/questions/397149/can-you-gpg-sign-old-commits

Is the another file okey? Then i guess i will remove this one
On Wed, Apr 20, 2022, 4:18 PM Shale Xiong @.***> wrote:

@.**** commented on this pull request.
In sdk/golang-example/golang-projects/fibonacci.txt
https://github.com/veracruz-project/veracruz/pull/405#discussion_r853968632
:

package main

import "fmt"
func FibonacciRecursion(n int) int
{

	if n <= 1

	{

return n

}

return FibonacciRecursion(n-1) + FibonacciRecursion(n-2)

}

func main()
{

fmt.Print("Enter number : ")

var n int

fmt.Scanln(&n)

I am not sure this line can be executed in Wasmtime, which is mentioned in
the readme you provide, if you compile this Go program to WASM with the
WASI backend.
Separately, can you change the file extend name to the Golang file name,
for example, fibonacci.go and apply the go fmt convention. Particularly,
remove the extra heading white space.
—
Reply to this email directly, view it on GitHub
https://github.com/veracruz-project/veracruz/pull/405#pullrequestreview-946923256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFVRQOWR6QLR5UINCZFXFLVF7KX7ANCNFSM5TSFYRBQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Is the another file okey? Then i guess i will remove this one
…
On Wed, Apr 20, 2022, 4:18 PM Shale Xiong @.> wrote: @.* commented on this pull request. ------------------------------ In sdk/golang-example/golang-projects/fibonacci.txt <#405 (comment)> : > + package main + import "fmt" + func FibonacciRecursion(n int) int + { + if n <= 1 + { + return n + } + return FibonacciRecursion(n-1) + FibonacciRecursion(n-2) + } + + func main() + { + fmt.Print("Enter number : ") + var n int + fmt.Scanln(&n) I am not sure this line can be executed in Wasmtime, which is mentioned in the readme you provide, if you compile this Go program to WASM with the WASI backend. Separately, can you change the file extend name to the Golang file name, for example, fibonacci.go and apply the go fmt convention. Particularly, remove the extra heading white space. — Reply to this email directly, view it on GitHub <#405 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFVRQOWR6QLR5UINCZFXFLVF7KX7ANCNFSM5TSFYRBQ . You are receiving this because you were mentioned.Message ID: @.***>

Can you run a gofmt, https://go.dev/blog/gofmt, on the source file and rename the file to a go source code file, e.g. *.go.

@paul-111 I think we want to explicitly read any inputs to the Go programs from a file, not from stdin.  Whilst stdin is a file in the Veracruz filesystem, it is special, for the Fibonacci example I think it would be more idiomatic to identify an actual input file to read from, and write the result to an explicit output file.
Moreover, I don't see much value in having a Hello World program, even as an example, for Veracruz.

Closing this due to a lack of activity.  @paul-111, if you're still working on this then please feel free to reopen it...


Update install.md and ui-layout.md

install.md
Small fixes in the "Offline" section. Adjusted the text format in points 5 and 7.

ui-layout.md
Small fixes in the "Package", "Page Content" and "Version" sections.

Thanks


Scale vertically when height is different than image height

Adjust the coordinates of the hover areas when the original image height is different than it's defined height.

Sorry, I'm closing as I won't maintain this repository (should've announced that way earlier). Feel free to fork and update if you need that functionality.


Pass through error-code http responses for raw http clients. Allows c…

…lient code to check the status / headers to deal with it appropriately and is expected for an http client.

Stores invocation objects will waiting instead of only the promise.
Checks the invocation's serialization format before dispatching an HTTP error response

LGTM. @inch772 will press the merge button after his review.

Talked to @inch772 offline to take it over ;-)


add pricing component and page

📝Changed routes:

/
/pricing

(view full size)
(view full size)

Commit 54f1ba5b6fc2062ff7974bf7be975f2f449747fb (https://boring-cars-detailing-92i2pwrr8.vercel.app).

📝Changed routes:

/
/pricing

(view full size)
(view full size)

Commit 54f1ba5b6fc2062ff7974bf7be975f2f449747fb (https://boring-cars-detailing-92i2pwrr8.vercel.app).

closing, already added/deployed in #24 and #26


⚠ Samsung has degraded performance

In 15f7725, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2755 ms

Resolved: Samsung performance has improved in 7fc6d30.


makefile: link Swift libs statically

This fixes rpath for people that have only CommandLineTools enabled, regression introduced when I refactored the makefile, my bad :(

I investigated how to statically link swift libraries and changed the makefile to do that, so we shouldn't get issues about km-overlay not opening in different OS X versions or setups. I think this is the right solution until swiftlibs become core libraries in OS X.
This should allow people to use kwm even without Xcode or CommandLineTools.
The drawbacks is obviously executable size, it goes from 100kb to 5mb


Doesn't work with python 2.7?

When I try to use cncocr_t I get this error.
"python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory"
Looks like it needs python 2.6 in the path. But documentation states 2.7 (which is the version I have in my system) should be fine too. What's the catch here?
Thanks

Hello, and thanks for your interest in OCR / CnC!
It looks like something is misconfigured on your machine. We only distribute python source files (*.py) in the CnC-OCR toolchain, and since those can't be linked to a specific copy of the python library (e.g., libpython2.6.so.1.0), that makes me think it's a problem with your python binary. What happens when you try to run the python command directly? I expect you'll see the same error. Try searching the web for the error you reported above to find a way to fix your python installation.
I typically use the translator on a machine that only has Python 2.7 installed, so it definitely doesn't depend on 2.6. However, I've tried to keep it compatible with 2.6, and I even had it working with 2.5 at one point. You should be able to run the translator with either Python 2.6 or 2.7.
On another note, I'm currently in the process of moving this project to habanero-rice/cnc-framework. That repo is the new home for our "Unified" CnC toolchain, which supports multiple runtime back-ends, including OCR and the Intel CnC runtime. The current version of the toolchain is available on the apps/master branch in the xstack git repo.

Based on our conversation at the CnC workshop earlier this month, I'm assuming this issue is resolved. Please use habanero-rice/cnc-framework to obtain the latest version of CnC-OCR, and use that project's issue tracker to report any future problems.


Improve TLS error messages (Connection lost during TLS handshake)

PHP does not seem to report any warning message when the connection is lost (closed by the remote side) during a TLS handshake (both client and server side). As a result of this, the previous message appeared to be cut off. This PR ensures we indicate this error with proper errno/errstr.
Refs #168

Rebased on current master and updated to skip testing platform specific TLS error message strings :shipit:


Please add fuzzy search to the drop-list selection of Docket in the home page.

Drop-list will be very large if there are plenty of dockets.

Thats a great idea! thanks!

I guess it has been fixed already.


Where can I learn the algorithm

well,I got the parameters of my kinect2 and the result from visualization is ok! But I don't want to use ROS and how can I realize it with C++.
Only I want to do is using the parameter to transform my image.
Where can I learn the algorithm in this part?  the source code is too complex for me to read.
I use the libfreenect2 to receive my kinect2's data.And I know there is a registration part in the lib, however I don't know how to use it with the parameters which I got from iai_kinect2.

The registration method from libfreenect2 does not need those parameters, you can simply use it. And if you really want to understand the algorithm, then you need read the source code.

@wiedemeyer thanks. I have completed my code. The registration is really simply to use.

Hi, there! I got some issues about the registration method too, I wonder if you can help me.

What is problem? I didn't use the iai to registrate the ir image with rgb image. What I used is the freenect2 API. That's really simple, and in my situation, it perform good enough for me.


Changed class for metaclass (work with spyne:master)

Fixed for
  File "/src/flask-spyne/flask_spyne/flask_spyne.py", line 94, in __init__
    class _BoundService(SpyneService):
  File "/src/flask-spyne/flask_spyne/flask_spyne.py", line 97, in __new__
    rv = type.__new__(cls, name, bases, dict)
TypeError: Error when calling the metaclass bases
    metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Spyne changes:
https://github.com/arskom/spyne/blob/2_12/spyne/service.py
https://github.com/arskom/spyne/blob/master/spyne/service.py

Thanks!


Bring back the show/hide Cursor Option Icon

Platform:
Kap Version:2.0.0
Feature-Request:
First: I appreciate your hard work on making Kap 2 possible. This is a great update! I've used Kap 1 from the first day and recommended it to everyone who asked :)
I often have different purposes for recording and it would be so useful to have that little cursor-icon in the Kap-window from version 1 back which shows/hides the cursor in recordings. I know this is possible in the settings-menu but very inconvenient because my needs differ from time to time.
Thanks and Regards from Germany!
Dennis

Hi from Norway, Dennis! We removed this after doing some research that indicated that people don't change this setting as often as we initially assumed. For the app to be easy to use for as many as possible we maintain a carefully considered set of options and features, which means we're not able to cater to everyone. What I suggest is that we include a keyboard shortcut to toggle the cursor in #150, and hopefully that will be a decent workaround for you!

That's totally fine!
I would like to see any sort of notification/temporary indicator after the shortcut-change happened. So I know it worked and I don't have to repeat my recordings if it didn't :)

That's a great idea with the notification @wottpal I'll keep that in mind when this gets reviewed!

Another quick note: The 'Highlight Click' option should be memorized IMO. At least for me it's the case that if I record with the cursor I always want to highlight clicks as well.
Here a little inception-recording of the current behavior (if you know what I mean 😅)


fix(PyPI): fix import module from Python

BREAKING CHANGE: CMake minimum requirement have been upgraded to 3.14

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: