Refactor schedule action in distributions_controller for better preformance

Resolves #4502
Description

Separated the handling of JSON and HTML requests. The instance variable is not used in the HTML view, eliminating unnecessary data loading.
Implemented JSON-specific requests to leverage the start and end parameters from the FullCalendar library. This restrict tags the fetched distributions to the specified dates instead of all historical records.
Resolved the N+1 query issue by eager loading the associated partners with the distributions.

Type of change
Performance change meant to preserved the original behavior of the controller action
How Has This Been Tested?
I have tested this locally creating some mock data and testing out the loading speed of the calendar

I was able to load 6300 distributions into the application for Pawnee Diaper Bank
Loading the calendar page with that many records took 13.27 s
Loading the same page after the changes took 1.13 s

I ran both page loads multiple times with the browser cache turned off and took the fastest time for both to ensure we are comparing as apples to apples as possible and both version can take advantage of query plan caching in PostgreSQL.
Screenshots
Before:

After:

Ready for some review on this one, if there are any follow up questions or additional benchmarks that I need to take let me know!

Looks all good on my end. @cielf did you want to verify the behavior? Also @grantmca there's a conflict that needs to be resolved.

Nice! I can work on resolving that conflict this evening, for this project do we prefer a merge or rebase strategy for getting new changes into this branch? @dorner

If any review has been done, please merge and don't rebase. If it's prior to a review, rebase is better.

Conflict was resolved and we should be all set, thank you both! @cielf @dorner

All green - thanks!


Set a default browser to open with ionic serve

Let the user set a default browser (chrome, safari, firefox) when using the ionic serve command.
Maybe something like ionic serve -f safari
That way whenever they run ionic serve it goes with their default unless they specify a browser with -b.

Would it be possible to add an attribute to the ionic.project file as well?
{
    .....
    "serve" :  {
       "defaultBrowser" :  "chrome"
   }
    .....
}

Yep, great suggestion.

This issue was moved to driftyco/ionic-cli#328


Mouse cursor invisible in Text Editor while AnimationTree is active

Godot version
4.0
System information
Windows 11
Issue description
If an AnimationTree's "active" property is toggled on, then the mouse cursor becomes invisible when it hovers over the text editor in the Script panel, for all scripts. This happens even if the AnimationTree is not the selected node in the scene tree. It doesn't affect the documentation viewer in the Script panel.
Steps to reproduce

Make a scene with an AnimationPlayer and AnimationTree.
Setup the AnimationTree to play an animation from the AnimationPlayer on start.
Tick the AnimationTree "active" property.
Open a script in the Script pane.

Minimal reproduction project
N/A

Can't reproduce
https://user-images.githubusercontent.com/2223172/226764504-f43403e6-6b79-4070-803b-8b873e2f997b.mp4

Happens reliably for me, so I recorded a video, however the mouse cursor is visible in the recording despite being invisible in Godot! I've annotated the video to show when it becomes invisible.
https://user-images.githubusercontent.com/220468/228788700-f54719ae-4f86-41e5-bd95-acd0239ab7a2.mov

Currently happening on v4.2.beta6.official [64150060f]. Here's a video of the issues recorder off my phone to show the mouse issue
https://github.com/godotengine/godot/assets/13603525/69124cd7-1c79-417b-9fe1-903d1d73057e


Print a warning message when texture cache thrashing occurs

Rendering can come to a crawl when the texture cache is too small. It might be OK when we really cannot afford to make the cache bigger, but otherwise that's an indication that the cache size should be adjusted.

Superseded by #1514.


Pipeline: add tests to the Github action

#36

@ronyyosef  As far as I know yesterday there was an outage on the Github-actions. You need to re-push (force) with a different hash in order for the tests to run again

Reference in

I will do that

Can you please add the new action to the required after merging? @adiabramovitch


ceph_volume: fix bug in is_lv()

This function makes the ceph_volume module be not idempotent in
containerized context because it tries to run a container and bindmount
directories that no longer exist.
In that case, the lvs command being executed returns something
different than 0 so we can't call json.loads(out)['report'][0]['lv']
since it might throw an python error.
The idea is to return True only if rc is equal to 0 and
len(result) is greater than 0, which means the command matched an
LV.
Fixes: #6284
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-non_container-all_in_one

jenkins test centos-non_container-collocation

jenkins test centos-non_container-purge

jenkins test centos-non_container-switch_to_containers

Thanks @guits for this patch.
good work.


Fix broken sensitive data update test

Motivation and Context
The scenario A case is loaded and sensitive data can be changed was broken.

[x] Context Index has been kept up to date

What has changed
Fixed the scenario.
How to test?
Run the scenario.
Links
Trello: https://trello.com/c/YgfTGKt4

 Acceptance Tests BROKEN: Sample data in the case is sensitive and must be redacted... fails every time


SNOW-840100: Using except loses changes data type

I am using com.snowflake.snowpark_java.DataFrame and have two instnaces df1 and df2.
df1 and df2 have exactly same schema
but when I do df3 = df1.except(df2) => the resulting dataframe has some of the columns with different data types, in one of the cases it changed from String to Long for one of the columns resulting in error

@vikasgupta78 Can you share a code sample?
(Please don't change the title of the issue, the SNOW-XXXX prefix helps us associate this issue with the internal issue.)


STP-3074: Aruba Management Network Install Guide

Summary and Scope
Several updates made to the Aruba content. This PR covers about half of the Aruba topics. Here is a high-level summary of change:

Grammar and formatting
Unclear steps/instructions
Organization of content

Issues and Related PRs

Resolves STP-3074
Future work required by STP-3076, STP-3077
Merge with 901

Testing
N/A
Tested on:
N/A
Test description:
N/A
Risks and Mitigations
None.

This has a few dead links being reported.  Those need to be validated before we can merge this.  Otherwise it looks good.


Parse item purchases per round?

Is your feature request related to a problem? Please describe.
Not really, this is just something that I think would be really helpful.
Describe the solution you'd like
The default output the parse in JSON format is really great, but one big thing I think would be really useful is identify all of the weapons and equipment purchased by person, per round. I like seeing how much money a team starts with, how much they spend, and what the "buy type" situation is, but it would be really nice to specifically know what setup each player has so any analysis can control for that.
Describe alternatives you've considered
I could certainly build out an algorithm to infer weapons (using money spent, buy type, and the weapons used to accrue kills), but it's going to be inherently imperfect. If the player never gets a kill, we don't know what weapon they used, and what happens if the player picks up a weapon off of the ground?

Hey @nmjohnson, thanks for the feature request.
Adding buys is an easy addition, and we can add it in the next update.
In the meantime, you can see what a player's inventory in GameRounds -> Frames -> CT/T -> Players -> Inventory. Does this help?

Oh awesome. I did not realize that was in there. Thanks! That's probably good enough but I guess in theory someone could still swap weapons before the round starts, so adding buys whenever you get a chance would still be terrific.

@nmjohnson There is also aggregate spend in GameRounds under CTSpend and TSpend, but I haven't investigated the veracity of these numbers.
In any case, I'll leave this open so I know to fix it in our next sprint. I'll close the issue when I add detailed spend info. Thanks for the suggestion!

Did some more investigation today. It looks like in the Golang parser, there is a ItemPickup event that triggers whenever an item is picked up or bought. This might complicate things -- I was hoping for a built-in event. I'll ask around, and if we need to we can try to build an algorithm for it.

Talked a bit with Markus since this library relies on his parser. Probably it would be a good idea to build it into his parser, so I will coordinate with him and see how we can add this type of event.

This is still an open issue in Markus' parser. Maybe i can revive that discussion and ideally submit a PR  if i manage.


Add Upgradeable Proxy

I've neglected this feature because I don't understand the attack vector that lead to the creation of the "transparent proxy" pattern.  This needs a bit of research.
Premia has an implementation that can probably be copied mostly intact: https://github.com/Premian-Labs/premia-contracts/blob/master/contracts/ProxyUpgradeableOwnable.sol
Tests should be added.

Thank you for the assignment Nick.
From some preliminary research, I have understood the following:

Function clashing between the proxy and the proxy's implementation open an attack vector. These vectors change in nature in every case, depending on the proxy and its implementation code.
Ref: https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357

An example of an attack from function clashing may occur in a proxy with ERC20 implementation by clashing a function which burns tokens with a function which transfers them.
Ref: https://forum.openzeppelin.com/t/beware-of-the-proxy-learn-how-to-exploit-function-clashing/1070

A Transparent Proxy  eradicates this vector by forwarding calls based on msg.sender. Regardless of selector matching, if msg.sender  is not the owner of the proxy, then the function will be forwarded via delegateCall.
I hope this serves as a succinct introduction into the attack vector space of proxies.
I want to also add, I have not thought or explored how this may affect Diamonds.

What I don't understand is how the existence of the transparent proxy helps the situation.  If the contract owner is malicious, he or she will simply deploy a regular proxy instead of a transparent proxy.  The regular proxy could even be named TransparentProxy to trick users into thinking that it's safe.  In most cases where the contract owner is a malicious actor, the scam is complete before the world has time to audit the contract code in detail.
So, for now I think we should add a standard proxy, and perhaps the next step will be to add a transparent proxy.  Another argument for transparent proxies (implied in the first article) is that avoiding accidental selector clashes might be a better development experience.

Hmmm. My best guess is that TransparentProxy prevents the owner from adding malicious code later on, via upgrading the proxy itself, which is harder to pick up on as opposed to the initial deployment of the proxy itself, where malicious code is far easier to spot, generally (and credible deployments request audits so it can be caught there most likely).
In that sense it could just be a new standard to be applied to increase trustworthiness in a project, even though it does not really prevent the attack vector per se, as the injector is the owner of the proxy themselves.
I concur; the benefit is marginal and the gas overhead caused by the additional check perhaps does not outweigh neither the dev experience gain nor the credibility gained by virtue of "transparency".


Error: Unable to locate TeX Live's binary directory

When running the teatimeguest/setup-texlive-action@v3 action with the configuration below, an error occurs indicating that the TeX Live binary directory cannot be located:
- name: Setup TeX Live
  uses: teatimeguest/setup-texlive-action@v3
  with:
    package-file: |
      ./.github/template_deps.txt
      ./.github/basictex_deps.txt

The action begins by parsing the dependencies from the template_deps.txt and basictex_deps.txt files, and it successfully restores the cache. However, it encounters the following error:
Run teatimeguest/setup-texlive-action@v3
  with:
    package-file: ./.github/template_deps.txt
  ./.github/basictex_deps.txt

    cache: true
    tlcontrib: false
    update-all-packages: false
Looking for `package-file`...
Parsing `/home/runner/work/PPB_A11.47[2](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:2)1/PPB_A11.4721/.github/template_deps.txt`...
Parsing `/home/runner/work/PPB_A11.4721/PPB_A11.4721/.github/basictex_deps.txt`...
[3](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:3)65 package(s) found: adjustbox ae amscls amsfonts amsmath anysize arabxetex atbegshi attachfile2 attachfile2.universal-darwin atveryend automata auxhook babel babel-basque babel-czech babel-danish babel-dutch babel-english babel-finnish babel-french babel-german babel-hungarian babel-italian babel-norsk babel-polish babel-portuges babel-spanish babel-swedish babelbib background bbcard beamer bibtex bibtex.universal-darwin bidi bidi-atbegshi bidicontour bidipagegrid bidipresentation bidishadowtext bigintcalc bitset blockdraw_mp bookmark booktabs bpolynomial breqn businesscard-qrcode caption carlisle cite cm cmap cmarrows collectbox collection-basic collection-latex collection-latexrecommended collection-metapost collection-xetex colorprofiles colortbl cqubeamer crop csquotes ctable ctablestack dehyph drv dviincl dvipdfmx dvipdfmx.universal-darwin dvips dvips.universal-darwin ec emp enctex epsincl epstopdf-pkg eso-pic etex etex-pkg etexcmds etoolbox euenc euler eurosym everypage everysel everyshi expressg exteps extsizes fancybox fancyhdr fancyref fancyvrb featpost feynmf feynmp-auto filehook firstaid fix2col fixlatvian fiziko float font-change-xetex fontbook fontspec fontwrap footmisc footnotebackref footnotehyper fp framed fvextra garrigues geometry gettitlestring glyphlist gmp graphics graphics-cfg graphics-def grfext grffile hatching hershey-mp hologo hopatch huffman hycolor hyperref hyph-utf8 hyphen-base hyphen-basque hyphen-czech hyphen-danish hyphen-dutch hyphen-english hyphen-finnish hyphen-french hyphen-german hyphen-hungarian hyphen-italian hyphen-norwegian hyphen-polish hyphen-portuguese hyphen-spanish hyphen-swedish hyphenex ifplatform iftex index infwarerr intcalc interchar jknapltx knuth-lib knuth-local koma-script kpathsea kpathsea.universal-darwin kvdefinekeys kvoptions kvsetkeys l3backend l3experimental l3kernel l3packages latex latex-base-dev latex-bin latex-bin.universal-darwin latex-firstaid-dev latex-fonts latex-lab latexbug latexconfig latexmp letltxmacro lineno listings lm lm-math ltxcmds ltxmisc lua-alt-getopt lua-uni-algos luahbtex luahbtex.universal-darwin lualibs luaotfload luaotfload.universal-darwin luatex luatex.universal-darwin luatexbase lwarp lwarp.universal-darwin ly1 makecmds makeindex makeindex.universal-darwin mathspec mathtools mcf2graph mdframed mdwtools memoir metafont metafont.universal-darwin metago metalogo metaobj metaplot metapost metapost-colorbrewer metapost.universal-darwin metauml mflogo mfnfss mfpic mfpic[4](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:4)ode mfware mfware.universal-darwin microtype minim-hatching modes mp3d mparrows mpattern mpchess mpcolornames mpgraphics mptopdf mptopdf.universal-darwin mptrees mweights na-position natbib needspace newfloat ntgclass oberdiek pagecolor pagesel parskip pdfcolfoot pdfescape pdflscape pdfmanagement-testphase pdfpages pdftex pdftex.universal-darwin pdftexcmds pgf philokalia piechartmp plain polyglossia psfrag pslatex psnfss pspicture ptext ragged2e rcs realscripts refcount repere rerunfilecheck revtex roex roundrect sansmath scheme-basic scheme-infraonly scheme-minimal scheme-small section seminar sepnum setspace shapes simple-resume-cv simple-thesis-dissertation slideshow soul sourcecodepro sourcesanspro splines stringenc suanpan subfig symbol synctex synctex.universal-darwin tetragonos tex tex-ini-files tex.universal-darwin texlive-common texlive-en texlive-msg-translations texlive-scripts texlive-scripts.universal-darwin texlive.infra texlive.infra.universal-darwin textcase textpath threeddice thumbpdf thumbpdf.universal-darwin times tipa titling tlshell tlshell.universal-darwin tools translator typehtml ucharcat ucharclasses ulem underscore unicode-bidi unicode-data unicode-math unimath-plain-xetex uniquecounter unisugar upquote url xcolor xdvi xdvi.universal-darwin xebaposter xechangebar xecjk xecolor xecyr xeindex xelatex-dev xelatex-dev.universal-darwin xesearch xespotcolor xetex xetex-itrans xetex-pstricks xetex-tibetan xetex.universal-darwin xetexconfig xetexfontinfo xetexko xevlna xfrac xkeyval xltxtra xpatch xunicode xurl zapfding zbmath-review-template zref
Restoring cache
  Received 1048[5](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:5)7[6](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:6)00 of 260296302 (40.3%), 100.0 MBs/sec
  Cache Size: ~248 MB (260296302 B)
  /usr/bin/tar -xf /home/runner/work/_temp/0f84e19b-d[7](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:7)e7-4bda-9600-604cc3cf15b7/cache.tzst -P -C /home/runner/work/PPB_A11.4721/PPB_A11.4721 --use-compress-program unzstd
  Received 260296302 of 260296302 (100.0%), 124.1 MBs/sec
  Cache restored successfully
  /home/runner/work/_temp/setup-texlive-action/2024 restored from cache with key: setup-texlive-action-linux-x64-2024-bc31d157[8](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:8)e2362765f355ec342787336c5ccaba54c20a[9](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:10)649805bb962ff9d4b8
| Error: Unable to locate TeX Live's binary directory
|     at Object.add (setup-texlive-action/v3/packages/texlive/src/tlmgr/actions/path.ts:13:[11](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:12))
|     at main (setup-texlive-action/v3/packages/action/src/runs/main/index.ts:44:3)
|     at run (setup-texlive-action/v3/packages/action/src/runs/index.ts:[12](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094412889/job/33726430317#step:4:13):7)
|     at setup-texlive-action/v3/packages/action/src/index.ts:4:1 {
|   [cause]: Error: /home/runner/work/_temp/setup-texlive-action/2024/bin has multiple entries
|       at uniqueChild (setup-texlive-action/v3/packages/utils/src/fs.ts:41:11)
|       at Object.add (setup-texlive-action/v3/packages/texlive/src/tlmgr/actions/path.ts:11:11)
|       at main (setup-texlive-action/v3/packages/action/src/runs/main/index.ts:44:3)
|       at run (setup-texlive-action/v3/packages/action/src/runs/index.ts:12:7)
|       at setup-texlive-action/v3/packages/action/src/index.ts:4:1
| }
Error: Error: Unable to locate TeX Live's binary directory

When the cache is set to false or the cache is removed entirely, no issues occur, and the action runs successfully.

[cause]: Error: /home/runner/work/_temp/setup-texlive-action/2024/bin has multiple entries

Interesting. Maybe you can list the entries in that directory, using
- name: Setup TeX Live
  uses: teatimeguest/setup-texlive-action@v3
  with:
    package-file: |
      ./.github/template_deps.txt
      ./.github/basictex_deps.txt
- name: List entries
  if: failure()
  run: ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin

I guess one possible cause is that multi-platform installations were cached.

For an instant workaround, just delete the cache and rerun the job?

Yeah, but this method consumes GitHub runner quota, which might not be ideal for long-term solutions.
Output from the List entries step:
Run ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin
total 8
drwxr-xr-x 2 runner docker [4](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094687869/job/33726995730#step:5:5)096 Nov 30 04:01 universal-darwin
drwxr-xr-x 2 runner docker 4096 Nov 30 04:01 x8[6](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094687869/job/33726995730#step:5:7)_64-linux

Remove the disturbing links we get

Run ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin
total 8
drwxr-xr-x 2 runner docker 4096 Nov 30 04:01 universal-darwin
drwxr-xr-x 2 runner docker 4096 Nov 30 04:01 x86_64-linux

What's the platform your job runs on? And would you mind further listing what's inside universal-darwin and x86_64-linux?

What's the platform your job runs on? And would you mind further listing what's inside universal-darwin and x86_64-linux?

I am running on ubuntu-latest. Here is the complete workflow:
name: Generate Dokumentasi

on:
  workflow_dispatch:
  push:

jobs:
  generate:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Setup TeX Live
        uses: teatimeguest/setup-texlive-action@v3
        with:
          package-file: |
            ./.github/template_deps.txt
            ./.github/basictex_deps.txt

      - name: List entries
        if: failure()
        run: ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin

      - name: Setup Pandoc
        uses: r-lib/actions/setup-pandoc@v2
        with:
          pandoc-version: 3.5

      - name: Run documentation script
        run: bash ../.github/docs.sh "Rizal Fadlullah" "A11.2019.12070"
        working-directory: praktikum_8

      - name: Upload a file to Google Drive
        uses: adityak74/google-drive-upload-git-action@main
        with:
          filename: ./praktikum_8/PRAKTIKUM_8.pdf
          credentials: ${{ secrets.CREDENTIALS }}
          folderId: ${{ secrets.FOLDER_ID }}
          overwrite: true

According to texlive doc,
Available platforms:
===============================================================================
   a [ ] ...
   b [ ] MacOSX current (10.14-) on ARM/x86_64 (universal-darwin)
   ...
   i [X] GNU/Linux on x86_64 (x86_64-linux)

It's wired that universal-darwin was created on a ubuntu-latest runner. Maybe there are some macos-only command-line tool packages listed in your package file?
What would ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin/universal-darwin list?

What would ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin/universal-darwin list?

BasicTeX Dependencies.txt
Yeah, I copied all the default packages from BasicTeX, and after removing the packages with the *.universal-darwin extension from the list, it worked fine.
It would be great if you could add validation for the package file.
Thanks, @muzimuzhi

Thank you for reporting the problem, @izzalDev. And thank you for investigating it, @muzimuzhi.

It would be great if you could add validation for the package file.

I have created a new issue on this feature (#332). I am a bit tied up right now with the end of the year looming, but will work on it in my free time.


Dino Game

I would implement a Dino game in js.
The Tech stack will be HTML, CSS, and JS.
please assign this issue to me @geekymeeky

@nikhv Assigned to you.


allow traffic inside security group

boolean flag to enable intra-security group communication.

/test all

@kevcube mind sharing where this is necessary in your PR description? That "Why" is helpful to understanding if this should be merged.

@Gowiem added! I created my PR from GitHub.dev and it doesn't add any template 😵💫

/test all

@Gowiem fixed

/test all

@kevcube Thanks for the contribution! Released as https://github.com/cloudposse/terraform-aws-rds-cluster/releases/tag/1.2.0


feat(#1468): MemoryVectorStore serialization

Fixes #1468.
Let me know if approach is correct. I can add docs after it gets an initial review.

CC @nfcampos

Will also test on a local project to verify it's working correctly

@jca41
Sorry to tag you, But I just wanted to ping on this and see if you we're able to confirm everything was functioning correctly, also I don't want this change to fall through the cracks XD

As a passer-by... it looks good to me. I would welcome this as I also have the requirement serialise the memory store


Simplify prototypes for faster execution and simplify bootstrap.native.js packaging

I have a new working code for all modules to work a bit faster, it's a bit more simple and I am also considering packing the bootstrap.native.js file different and not just a concatenation of the modules.
The reason is simple: why write same utility function over and over (addClass or isIE) as well as using module definition for each module when in fact an user gets the all in one package to use it on his web pages, without the need to do require, import, etc.
I really need to know what people think about it.

Have you ever looked into https://github.com/substack/node-browserify? This allows you to write your files in the commonjs module format. Then you can run browserify to bundle all of your files in a UMD wrapper.

No I haven't, I am totally new to this stuff.

How were you considering packing bootstrap.native.js?

Perhaps this would shed some light.

If you can join me on skype, I can totally provide info on what is to be done.

@RyanZim please take a look at the new bootstrap.native.js file here and tell me if it doesn't make total sense now.

@thednp I understand what you're trying to do.
A few notes:

bootstrap.native.js does not have a UMD wrapper, therefore, it will not work in commonJS environments.

bootstrap.native.js assigns variables to window; you should let the UMD wrapper do this.

There is no automated way to keep lib/ and dist/ in sync.

Gotta go, discuss more later.

bootstrap.native.js does not have a UMD wrapper, therefore, it will not work in commonJS environments.

That file is to be used by users with <script src"bootstrap.native.js"> tag as usual, while users with CommonJS/RequireJS environments can build custom bundles with the modules.

OK, I understand what you're saying, however:

There is no automated way to keep lib/ and dist/ in sync.

Are you sure you really want to copy code back and forth whenever you change something?

If there's a way to achieve exactly what I've done with the current bootstrap-native.js file I would go for it, but I think the way the file in question is right now serves most needs without the UMD wrapping, and updating it is, as you mentioned cannot be in sync with lib folder, will be done manually. I see no problem with that.
Generally I need help with the following things:

when I change files in lib folder, the files in lib/min should be in sync, and get automatically updated and minified (it's really a hustle doing copy paste with jscompress.com 11 times X 2)
a way to build the bootstrap-native.js as a bundle exactly how it is right now, but I think you would say it's not possible

when I change files in lib folder, the files in lib/min should be in sync, and get automatically updated and minified (it's really a hustle doing copy paste with jscompress.com 11 times X 2)

That is easily possible, I'll try to submit a PR soon (might be next week).

a way to build the bootstrap-native.js as a bundle exactly how it is right now, but I think you would say it's not possible

If you want both the bundle and the lib files exactly the same as they are now, I don't know of a way to do it.

why write same utility function over and over (addClass or isIE) as well as using module definition for each module

I agree. However, the way you are doing it now, CommonJS users will not get any of those benefits.

A brief overview of the CommonJS module system:

Each module consists of a file that looks like this:
module.exports = function () {
 // Example:
  return 'Hello World!';
}

We can write code like this:
var hello = require('module-name');
alert(hello());
// -> 'Hello World!'

We run this code through browserify, and that outputs a bundle that includes our code and the modules. We include the bundle with a <script> tag. That way, there is only one http request for javascript.

Modules written in the CommonJS module style can't be used with <script> so the UMD wrapper was invented.

This allows modules to be written in a IIFE and return the value they want to make publicly available.

The UMD wrapper assigns this value to window in a browser environment, but assigns it to module.exports in a CommonJS environment.

Hey what about a wrapper for the bundle I cooked with the current bootstrap-native.js file?

Hey what about a wrapper for the bundle I cooked with the current bootstrap-native.js file?

That won't work for a few reasons:

The bundle attaches things to window, that's not allowed in CommonJS.

The bundle exports multiple variables (Affix, Carousel, etc.). The CommonJS version must export an object containing the functions. We use bootstrap.native like this:
var bs = require('bootstrap.native');
var element = document.getElementById('myNav');
new bs.Affix(element, {
  target: '#use',
  offsetBottom: 200,
});

CommonJS users never use bootstrap-native.js, instead we use https://github.com/thednp/bootstrap.native/blob/master/all.js.

For now, if you're fine with the copy-paste hassle, lets just leave things as they are. I'll try to automate the minification.

@thednp Any reason to keep this open?

I still need some opinions, as v1.0.4 is already doing what I explained above. Nobody seems to care/want to get involved.

I am thinking: what if we create a different repository only for npm stuff and the current master have it do all things outside npm and UMD? What do you think?

I don't use UMD so for me that would be a 💯 The only thing I don't really know is the effort to achieve that and if that worth it

I am thinking: what if we create a different repository only for npm stuff and the current master have it do all things outside npm and UMD? What do you think?

:-1: Keeping bootstrap-native.js and lib/ in sync is enough trouble. Trying to keep two repos in sync is double trouble.

Good now, we have some feedback.

The other crazy idea I just though of:
Is making separate files for each module really needed? Does anyone use the files in lib/ directly? If not, I could write a single UMD wrapper for the whole library and we could edit all the source code in one file.

That's what I am also unsure, I was thinking having them separate and some build tools would help each developer build their custom builds similar to what original Bootstrap build tools have.
For instance I don't use carousel, affix, scrollspy and button, so a custom build is a bliss, because an entire lib would overkill the purpose.

an entire lib would overkill the purpose.

Perhaps others think differently, but bootstrap + jQuery slim is about 59.8KB. With that size, one could see making a custom build. bootstrap.native is only 33KB, so this is less important.
However, if you want to keep the separate files, I'm thinking about the possibility of developing a fairly complex build script that would reduce boilerplate UMD wrappers for both npm and <script> users.

@RyanZim I approve, vote up and have a beer for that.

I approve, vote up

Approve what? Moving all the files in lib/ to a single file or the complex build script? :laughing:

The later.

OK, let me think over the best way to do it; might be a couple of days.

You can write a bullet listed plan that we can discuss about, things come from all directions I am sure of that.

OK, here is a quick proposal for bundling:

We remove all the UMD wrappers in lib/.

Each module declares a variable directly into whatever scope it is run in. (i.e. affix-native.js would do var Affix = function(element,options) { ... } directly, without an IEFE).
We strongly discourage the direct usage of the modules in lib/.

We move all the utility functions to a separate file (probably in lib/).
We make a build script that concatenates the modules inside of a UMD wrapper.

The UMD wrapper will look something like this:

(function (root, factory) {
    if (typeof define === 'function' && define.amd) {
        // This part is optional, and would add AMD support,
        // which bootstrap.native currently doesn't have.
        define([], factory);
    } else if (typeof module === 'object' && module.exports) {
        // CommonJS-like:
        module.exports = factory();
    } else {
        // Browser globals (root is window)
        var bsn = factory();
        root.Affix = bsn.Affix;
        root.Alert = bsn.Alert;
        // ... continue for each module
  }
}(this, function () {

    // Include bootstrap.native lib/ files here

    // This is an oversimplification, we can only return values
    // from the files that are included in the bundle:
    return {
       Affix: Affix,
       Alert: Alert,
       // ... continue for each module included
    };
}));

The build script would bundle all the modules by default, but allow for excluding modules.

I would consider adding a way to wrap just one module (without needing to explicitly ignore everything else).

The script would also minify the bundle (we could make this optional).

With this system, we would no longer need the lib/min/ directory, since no one would be using the lib/ modules directly.
Perhaps we could consider adding a modules/ directory to dist/ to contain the UMD-wrapped individual modules (Just an idea; would make my job easier if we didn't do that, but it is possible).
Please don't try to start implementing any of these changes; I'll implement them all at one time when this proposal is approved.

I like what I see in the code area but I will think about the rest.

Each module declares a variable directly into whatever scope it is run in. (i.e. affix-native.js would do var Affix = function(element,options) { ... } directly, without an IIFE).

Thinking about this a little more, this layout is asking for variable naming conflicts.
Revision to proposal:
Each module runs inside an IIFE, but declares its main variable into whatever scope it is run in. Example:
var Affix;
(function () {
  Affix = function(element,options) { // This refers to the outside-scope Affix
   //AFFIX DEFINITION
  }
  // AFFIX DATA API
})();

This keeps the data api variables contained in the IIFE.

I don't like that kind of wrapping, perhaps that wrapping could be done inside the Affix function.
Not that I really know, I really love the way D3.js is organized. https://github.com/d3/d3

@thednp The issue with my initial proposal is that in the bundle, all the data apis will be running in the same scope (resulting in variable naming collisions). You could do the wrapping differently than above, just so the data api's variables aren't all running in the same scope. Another way to write modules (I sort of prefer this form):
var Affix = function(element,options) {
  //AFFIX DEFINITION
}
(function () {
  // AFFIX DATA API
})();

Another option would be to implement all of the data api's in a separate module. That module could use a single IIFE, and none of the other modules would need to. This would be a slightly fragmented approach :-1:, but would result in less IIFEs.

D3 uses RollupJS; I haven't tried it, but I plan to on an upcoming project. RollupJS is actually a module bundler for the ES15/ES6 module format (which hasn't been natively implemented in any browser or runtime yet).

Fascinating stuff.

So what are your thoughts on bundling here?

My mind is full of noise, why don't you do a fork we can work on together and when we have all things working perfect we can pull it to our master here.

SGTM, won't get to work much on it until Monday. My fork is https://github.com/RyanZim/bootstrap.native. I will be working on a branch named bundle.
Warning: I rebase and force-push quite often. Beware of this if you clone my fork!

I have a question regarding UMD and performance. You see I'm developing the KUTE.js and I am thinking about a way to define a custom global scope outside UMD wrapper, something to work fast with native functions.
Have a look at this:
var KGLOBAL = {};
(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define([], factory); // AMD. Register as an anonymous module.
  } else if (typeof exports == 'object') {
    module.exports = factory(); // Node, not strict CommonJS
  } else {
    // Browser globals
    window.KUTE = window.KUTE || factory();
  }
}( function () {
  "use strict";
  var K = window.KUTE, scope = window.KGLOBAL;

  // build K|KUTE object with stuff
  // build scope object with stuff

  return K;
}))

What do you think?

Is this doable/legal/working/possible?

A few problems:
var KGLOBAL = {}; Never declare anything outside of the UMD wrapper, CommonJS (or AMD) do not allow any global variables.
var K = window.KUTE Not sure what the purpose of this line is, window.KUTE should be undefined (If it isn't, you've broken UMD rules someplace).
Not sure why the scope needs to be global, just do var scope = {}; in your UMD wrapper.

Not sure why the scope needs to be global, just do var scope = {}; in your UMD wrapper.

You mean here?
(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define([], factory); // AMD. Register as an anonymous module.
  } else if (typeof exports == 'object') {
    module.exports = factory(); // Node, not strict CommonJS
  } else {
    // Browser globals
    window.KUTE = window.KUTE || factory();
   var scope = {}// HERE??????????????
  }
}( function () {
  "use strict";

  return K;
}))

(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define([], factory); // AMD. Register as an anonymous module.
  } else if (typeof exports == 'object') {
    module.exports = factory(); // Node, not strict CommonJS
  } else {
    // Browser globals
    window.KUTE = window.KUTE || factory();
  }
}( function () {
  "use strict";
   var scope = {}// HERE!
  return K;
}))

var K = window.KUTE Not sure what the purpose of this line is, window.KUTE should be undefined (If it isn't, you've broken UMD rules someplace).

You are right about that. So I am going to export stuff to global var g = window  because I'm getting the best performance scores.

So I am going to export stuff to global var g = window

Look at this:
console.log(window.test); // undefined
(function () { // It doesn't matter if this is an IIFE or UMD wrapper (or any other function).
  var g = window;
  g.test = 'Hello World!';
})();
console.log(window.test); // "Hello World!"
console.log(test); // "Hello World!"
// Oops! made a global!

CommonJS (or AMD) do not allow any global variables.

You can read properties from window (like window.clientHeight), but you cannot add or modify properties to be UMD compliant.
The only place you should export stuff to global is in the UMD wrapper itself: window.KUTE = factory();.
BTW, window.KUTE = window.KUTE || factory(); is overly complex, window.KUTE is undefined, so just do window.KUTE = factory();

Thank you. I would love to see you around the project with some ideas on how to improve it.

Sorry, I don't use many animations on my sites, and most of them are simple enough to do in CSS.

It's not about you using it or not. It's about contributing to the community, and you would only be required with npm/UMD stuff, but I think I managed, I will commit a new version of KUTE.js as soon as I finish all tests.

@thednp Had extra time today and got to work on it. Check out https://github.com/RyanZim/bootstrap.native/tree/bundle. :tada:
Build script usage:
$ node build.js --help
node build.js [--minify] [--ignore=<modules>...|--only=<modules>...]

Options:
  --minify, -m  Minify output                         [boolean] [default: false]
  --ignore, -i  Omit the given module(s) from the bundle                 [array]
  --only        Only include the given module(s) in the bundle           [array]
  --help        Show help                                              [boolean]

Running without --ignore or --only will compile all the modules.
Writes to stdout

You can run npm run build to automatically compile to dist (will compile both bootstrap-native.js and bootstrap-native.min.js).
lib/utils.js contains the helper functions; they can be used in any module.
Warning: I used some ES6 features in build.js (shorter code). The script should work fine in node v4 or later, but not all the features are supported in browsers yet. :wink:
Let me know what you think.

That looks solid, I will dig into that as soon as I wake up tomorrow.

Before I go: how would you connect utilities to each lib? Each script needs specific stuff, so no need to use them all if only 2-3 needed? I have an idea but I don't know how it's gonna be implemented with this npm stuff.

@RyanZim It looks good. You can simplify a lot of the places where you return a boolean by just returning the condition. For example
Before
var allModules = fs.readdirSync('lib/').filter(function (item) {
  if (/-native\.js$/.test(item)) {
    // Is module:
    return true;
  } else {
    // Ignore:
    return false;
  }
});

After
var allModules = fs.readdirSync('lib/').filter(item => /-native\.js$/.test(item));

I think ignore doesn't work.

@thednp Passing options directly to npm run build doesn't work (npm run takes options like -s to silence output). The docs refer to using node build.js for custom builds.
Regarding utilities, the minified utils are only around 800 bytes! I think should worry about other optimizations with greater returns.

@styfle Thanks for the tip! Will fix.

@styfle Fixed! @thednp PR made: #80.


Issue 1397

Fixes https://github.com/project-chip/zap/issues/1397
This pull request retrieves the cluster/attribute pairs for all attributeAccessInterface attributes, including those of the list type.
Background: The ATTRIBUTE table designates CLUSTER_REF as null for global attributes.
To incorporate cluster/attribute pairs that are global attributes, the attributeAccessInterface list from zcl.json needs to be imported into an alternative table, PACKAGE_OPTION.
Given that PACKAGE_OPTION exclusively contains pairs enumerated in zcl.json and does not encompass all attributeAccessInterface pairings, it becomes essential to query both the ATTRIBUTE and PACKAGE_OPTION tables.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.23%. Comparing base (1bf40e8) to head (1f2ec9a).
Report is 41 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1398      +/-   ##
==========================================
+ Coverage   66.00%   66.23%   +0.22%
==========================================
  Files         194      191       -3
  Lines       20528    20640     +112
  Branches     4455     4528      +73
==========================================
+ Hits        13550    13670     +120
+ Misses       6978     6970       -8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


OpenAI API Key

I Create a .env.local file in the root of the repo with my OpenAI API Key, but still need to fill in my OpenAI key on the page，what should I do to solve this problem?

same problem, ill probably go to an earlier commit of chatbot that doesnt have that setting

you should create a file named .env , instead of .env.local.

you should create a file named .env , instead of .env.local.

i had .local too, since thats what it says to have in the gpt-llama.cpp setup guide for chatbot-ui installation
i deleted the .local like you suggested, but it hasn't had any effect on the API key within the app not recognizing the path to the llama.cpp models

As it is a NEXT application, the environment keys should be i .env.local. If you use other keys then the OpenAI Keys, you might need them global inside the app. In that case one must use 'NEXT_PUBLIC_' before the original ENV key. Example with Firebase Authentication:
FIREBASE Credencials
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
These are examples if one try to implement an external authentication into Chatbot-UI.
Same if one wants to implement SUPABASE Auth and DB;)


Apple music

My musicxmatch plugin can grab song from it, so why don't just add apple music fix which allows to grab song name directly from this plugin (it, also, can play music by itself)

#232


Bug fix: Adds support per-clock return format to clock protocol

Signed-off-by: Mahesh Bireddy<EMAIL_ADDRESS>

Hi Basil,
Thanks for your comments.
Comment1: i will change as per your comments.
Comment2: To save space i changed uint32_t to uint8_t. I verified in fvp model, but not with expected value data structure.


Disabled option with children should open when clicked in flat mode

When :disable-branch-nodes="true" is enabled, clicking on a disabled menu option:

makes the label the default color rather than gray and shifts it to the left,
hides the checkbox, and
auto-opens the sub-menu on a click.

In my opinion this is exactly right.
That same functionality should be used in flat mode when an option with children is disabled.
(Right now it disables the line item, changes the hover cursor, changes the color to gray, and leaves the checkbox, but that doesn't make sense and is difficult to use if children are selectable.)
Because only my top-level options should be disabled, I was able to hack it a little bit with:
div.vue-treeselect__indent-level-0 span.vue-treeselect__checkbox { display:none }
div.vue-treeselect__indent-level-0 .vue-treeselect__label-container { margin-left:-20px }
div.vue-treeselect__indent-level-0 label { color:darkblue }
div.vue-treeselect__indent-level-1 span.vue-treeselect__checkbox { display:block }
div.vue-treeselect__indent-level-1 .vue-treeselect__label-container { margin-left:0 }
div.vue-treeselect__indent-level-1 label { color:black }
However, this doesn't alter the click functionality, and I'd really like to make it so that when a disabled line-item with children is clicked, it opens the tree.
Any suggestions?

I've looked into this one more and I believe all that is needed is adding a new option hideDisabledCheckboxes and altering two functions:

renderCheckboxContainer(children) by adding
if (instance.hideDisabledCheckboxes && node.isDisabled) return null

handleMouseDownOnLabelContainer: onLeftClick(function handleMouseDownOnLabelContainer()
by changing the toggleExpanded check from
if (node.isBranch && instance.disableBranchNodes) {
to
if (node.isBranch && (instance.disableBranchNodes || (node.isDisabled && instance.hideDisabledCheckboxes))) {

I haven't had a chance to test yet, but thought I'd post my thoughts in the interim.


Moya on swift 3.0

After seeing Moya and that it has support for RxSwift I was really hoping to add it to a project that I was just about to get started on. However without support for swift 3.0 I would be unable to use Moya without updating it myself. I was wondering what the plans for swift 3.0 are and if there will be an update in the near future.

Hey @tdouglas1313. There is a conversation in #513 about Swift 2.3 and 3.0 support. However, there is no PR with updates for any of versions yet.

Thank you for referring me to that. It may be beneficial to add /3.0 to the end of the title because there is discussion about more than just 2.3.

Good suggestion! I've changed the title, thanks! I think in this case I can close this one in favor of #513.


Azure Frontdoor health probe request increase

ISSUE: Accordingly to our public documentation. AFD probe requests should be around 200 requests per minute using the default probe configuration.
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-health-probes
This information is outdated, as the number of AFD probe requests jumped to around 600 requests per minute.
ASK: Please amend the documentation to reflect the actual number of probe requests Azure Frontdoor will send to backend.
IMPACT: Customer may experience issues with backend due to the volume increase in probe requests and needs to adjust the probe interval to lower the number of probe requests.

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

ID: f35a0b39-ab2f-ba8a-0907-e0f3a6b69135
Version Independent ID: 0e6c8267-a911-9c6b-0522-3ec96753b3ef
Content: Azure Front Door - backend health monitoring
Content Source: articles/frontdoor/front-door-health-probes.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

Hi @mllipi, apologies on the late response here. The PG team has updated the documentation with the following statement:
Since each Azure Front Door edge POP emits health probes to your origins, the health probe volume for your origins can be quite high. The number of probes depends on your customer's traffic location and your health probe frequency. If the Azure Front Door edge POP doesn’t receive real traffic from your end users, the frequency of the health probe from the edge POP is decreased from the configured frequency. If there is customer traffic to all the Azure Front Door edge POP, the health probe volume can be high depending on your health probes frequency.
An example to roughly estimate the health probe volume per minute to your origin when using the default probe frequency of 30 seconds. The probe volume on each of your origin is equal to the number of edge POPs times two requests per minute. The probing requests will be less if there is no traffic sent to all of the edge POPs. For a list of edge locations, see https://docs.microsoft.com/en-us/azure/frontdoor/edge-locations-by-region for Azure Front Door. There could be more than one POP in each edge location.
The information above should help users find a rough estimate of how many probes their backend resources would receive. Please let me know if you have any questions. For now I will archive this issue. Thank you. #please-close


Merge a list of multible titles to single MP3 file

Requested Feature
If a list of multible titles
download an merge to a single MP3 file
for example this URL: https://open.spotify.com/album/12wIzfw2YxUPn0Y6AClPSo
to get a single MP3 file from this list
Possible implementation
No response

Here is the code I am using to merge the files:
pip install pydub
`from pydub import AudioSegment
import os
Use the current working directory as the folder for MP3 files
folder_path = os.getcwd()
Output file name
output_file = 'merged_output.mp3'
Create an empty AudioSegment object
merged_sound = AudioSegment.silent(duration=0)
Get a list of all MP3 files in the folder and sort them alphabetically
mp3_files = [file for file in os.listdir(folder_path) if file.endswith('.mp3')]
mp3_files.sort()
Loop through the sorted MP3 files
for file in mp3_files:
# Load the MP3 file
sound = AudioSegment.from_mp3(os.path.join(folder_path, file))
# Append this file's audio to the merged_sound
merged_sound += sound
Export the merged audio to a single file
merged_sound.export(output_file, format='mp3')
print(f'Merged file created: {output_file}')
`

@bengrau
thank you very much - have a issue with your script:
**$ python ../../merge.py
Traceback (most recent call last):
  File "/home/developer/hoerbuch/1/../../merge.py", line 25, in <module>
    merged_sound.export(output_file, format='mp3')
  File "/usr/lib/python3/dist-packages/pydub/audio_segment.py", line 837, in export
    wave_data.writeframesraw(pcm_for_wav)
  File "/usr/lib/python3.11/wave.py", line 547, in writeframesraw
    self._ensure_header_written(len(data))
  File "/usr/lib/python3.11/wave.py", line 588, in _ensure_header_written
    self._write_header(datasize)
  File "/usr/lib/python3.11/wave.py", line 600, in _write_header
    self._file.write(struct.pack('<L4s4sLHHLLHH4s',
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: 'L' format requires 0 <= number <=<PHONE_NUMBER>
Exception ignored in: <function Wave_write.__del__ at 0x7fe0dede39c0>
Traceback (most recent call last):
  File "/usr/lib/python3.11/wave.py", line 447, in __del__
    self.close()
  File "/usr/lib/python3.11/wave.py", line 565, in close
    self._ensure_header_written(0)
  File "/usr/lib/python3.11/wave.py", line 588, in _ensure_header_written
    self._write_header(datasize)
  File "/usr/lib/python3.11/wave.py", line 600, in _write_header
    self._file.write(struct.pack('<L4s4sLHHLLHH4s',
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: 'L' format requires 0 <= number <=<PHONE_NUMBER>
**

Requested Feature
If a list of multible titles
download an merge to a single MP3 file
for example this URL: https://open.spotify.com/album/12wIzfw2YxUPn0Y6AClPSo
to get a single MP3 file from this list
Possible implementation
No response

That's a very niche function. Adding it would increase the complexity of the code. Not sure if I want to add it for just a few people. If someone needs this react to this reply.


The example to use the package

Could someone show me how to use pydensecrf package or the examples about it? Thank you in advance!

And how to run utils_example.py in examples ? What should sys.argv be?

Hi, just follow the instructions in the README. Installation and usage are both described there.
If there is an actual problem following those steps, please open an issue with what you have done, and what error you encounter.


Failed to open TCP connection..LMS1XX

I can successfully ping my device. However, I am unable to perform the command 'nc -z -v -w5 $SCANNERIPADDRESS 2112'. I have submitted the outputs in the attachment. I cannot complete the startup process. I need your assistance. Thank you, and have a great day.
hata1.odt
hata2.odt

Thanks for your feedback. A missing TCP connection can have several reasons like network errors or firewall rules. Please try SOPAS Engineering Tool (SOPAS ET) for diagnostic, network setup and configuration of the lidar.

Thank you for your response. I've checked what you mentioned and, as a final attempt, I'm addressing the issue. I configure the IP settings of my device using a tool (sopas et) and successfully obtain an image from the device. While in online mode, I connect the lidar sensor to my Jetson device. "I can ping it, but I'm encountering problems with other operations.

Thanks for your reply. I assume you still get the error message Failed to open TCP connection to <IP_ADDRESS>:2112, i.e. sick_scan_xd running on the Jetson can not establish a tcp connection to the lidar.
Missing TCP connections can have several reasons like network errors or firewall rules. Can you open a TCP connection from the Jetson to the lidar on port 2112 e.g. by telnet <IP_ADDRESS> 2112? If not, a firewall might restrict access. In this case, deactivate any firewall on the Jetson or between Jetson and your lidar.

I might be a bit of an amateur, sorry for that, and thank you for your response. If I didn't misunderstand, I sent a visual of the process you mentioned.

Thanks for following up. According to the logfile, sick_scan_xd tries to connect to ip address <IP_ADDRESS>. In the screenshot on the other hand the ip address is <IP_ADDRESS>. Please make sure you got the correct ip address of your lidar and run ros2 launch sick_scan_xd sick_tim_7xx.launch.py hostname:=<IP_ADDRESS> (resp. the lidars ip address).

I made some adjustments after my initial post to address the issue. That's why the IP addresses are different between the posts.
The output of the command is attached. (error 3)
hata3.odt

ros2 launch sick_scan_xd sick_lms_1xx.launch.py hostname:=<IP_ADDRESS>
Images of the sick_lms_1xx.launch file, ping and ifconfig commands are also attached.

The sopas connection settings screen on Windows PC is also attached.

This looks very promising! 👍


Support different resolutions

Is your feature request related to a problem? Please describe.
It seems that the Ocr can only read 1920x1080 resolution and it will crash if the resolution is different
Describe the solution you'd like
The screenshot taken should auto-resize to the supported resolution.
I mange to get this working by editing the screenshot.py and add:
 image = Image.open(f"monitor-{monitor}.png")
 image.thumbnail((1920,1080), Image.ANTIALIAS)
image.save(f"monitor-{monitor}.png","png")
After
with mss() as sct:
sct.shot(mon=monitor)
And
from PIL import Image
Note that i only tested this on 2K resolution, think it wont work properly on aspect ratio different than 16:9
Describe alternatives you've considered
It should be possible to gather all possible positions for the OCR for all different resolutions but this is such a tideous task... or maybe getting a factor to mult by depending on the width and height but i'm not good enough at Math for that...
Additional context
I wanted to raise a PR so you can review it and reduce your workload but got permission denied :p
PS: Can i use this for a custom project i'm working on ? plz :D

Thanks!

PS: Can i use this for a custom project i'm working on ? plz :D

Sure! Would appreciate credit if you decide to publish it :)

Thanks!

PS: Can i use this for a custom project i'm working on ? plz :D

Sure! Would appreciate credit if you decide to publish it :)

Of course! thank you so much


Release keystore inputStream.

Added some extra negative scenarios validations.

where are the tests for those?

In progress.
From: Meir Wahnon<EMAIL_ADDRESS>Sent: Friday, April 10, 2015 4:53 PM
To: CloudSlang/score-actions
Cc: Persa, Dan-Alexandru
Subject: Re: [score-actions] Release keystore inputStream. (#51)
where are the tests for those?
—
Reply to this email directly or view it on GitHubhttps://github.com/CloudSlang/score-actions/pull/51#issuecomment-91564931.

Please verify relevent flows still work...

I didn't find any .sl flow using email operations. Only a operation "cloud-slang-content/content/io/cloudslang/base/mail/send_mail.sl". I've created locally a test flow which uses this operation with the new code and it works fine agains our smtp environment.

@tudorlesan please see it fixes your SMTP issue

@meirwah I made a pull request that fixes my problem. I also showed it to @Alex-Persa and he said that this is unrelated. My fix works only for my particular case, but adding an input which can be true/false solves it. That needs to be done for using smtp servers that use TLS

@tudorlesan @meirwah I just added the input and capabilitis for sending emails against TLS smtp servers. @tudorlesan I think you cand close your pull request because that way the operation won't work against non tls servers and the backward compatibility will be broke.

@Alex-Persa will do. thanks :)


Why do the examples use TypeScript?

https://facebook.github.io/react-native/docs/listview.html#examples
Just wondering why that choice was made, rather than sticking with pure ES6.

They use Flow (not TypeScript) because Facebook uses it. That's the answer for most of the arbitrary decisions in this repo :)

Aha! I tried Googling around to see what syntax that was, the closest I could come up with was TypeScript. Thanks!


Quizz completion

Hello, I have created a beta version on the quiz 01-quiz.md, it's less longer than the preview.

Of course I have made an error when adding the new file, I gonna fix that mistake soon.


Removed unnecessary init that only calls super().init()

In this file on line 55-60 there is this code:
class HeadlessWindow(BaseWindow):
    _egl_display_connection = None
    _egl_surface = None

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

the HeadlessWindow.__init__(self, *args, **kwargs) overwrites BaseWindow's __init__ only to just call the BaseWindow's init with super().__init__(*args, **kwargs) its unneeded because BaseWindow has an __init__, and code editors will only show (*args, **kwargs) in the parameters preview.

Thank you!

Thank you too!


implement IC IC command to reload last used scenario file

Documentation of IC command states

filename: The filename of the scenario to load. Call IC IC to load previous scenario again

However, the IC special argument has not been implemented, leading to a file not found error. Now it recursively calls the IC command on the well known cache file.

Thanks for the pull request, but I think that the IC IC problem your fix targets is actually related to the case sensitive file system problem you are referring to in your other PR. On each regular call to IC, the ic.scn file in the scenario folder is updated. A call to IC IC actually just loads the ic.scn file.

Oh well, you are completely right. Using IC ic instead of IC IC works, which proves that this is a problem with case sensitive file systems, as well. So I am closing this and continue the work on the other fix, which should then make the command work as expected.


AF-2094: Test GWT - AppFormer JS editor bridge classes

Tests for the envelope GWT classes.

Addressed these issues on https://github.com/tiagobento/kogito-tooling/pull/1
Closing this, we can continue our discussion in https://github.com/tiagobento/kogito-tooling/pull/1


K-9 Now Has A Gmail Problem?

Hi,
I installed K-9 v5.8 today (a clean install, not an update) because I had read that with v5.8 there were some major changes and so I thought I'd check it out.
While it did accept my Zoho (IMAP) email accounts just fine, it will not accept my Gmail account.
I did check the docs and followed it and then checked the forum and did see that others are also having the same issue.  There's even a thread called;
"K-9 Doesn't Work with Gmail Anymore"
… so something's going on and I can't get Gmail to work either and so I'm thinking that maybe there is indeed a bug in v5.8 regarding Gmail accounts.
After putting in the correct info, it then errors out, saying;
"Setup could not finish
Username or password incorrect.
(AUTH PLAIN failed (Username
and Password not accepted."
I tried encrypted password mode, checked my settings against what Google says, as well as my other email app that the same account works fine in, etc..  No luck.
I verified the Domains, Ports and Password.  IMAP is Enabled in my Gmail account, I checked with my laptop.
I have no trouble with the email app I've been using for a while, nor with any other email app that I've ever set the account up in and as I said, I verified that the settings are the same between the two apps.
LG (H910A) V20
Android 7.0
Please look into this?
Thank You

Please use the forum for support requests.
  I said I'm reporting what appears to be a BUG!
Try reading what's written first!  I know you didn't do that, because you tried to shoo me off to two places that I clearly stated that I'd already been (forum and Google support)!  That's how I found out it's a problem with your app!
TRY READING THIS TIME!

Try reading what's written first!

Good advice. So you did read the issue template and provided step by step instructions on how to reproduce the issue?
I am very confident it's not a bug. If Gmail didn't work with K-9 Mail you wouldn't be the first one to notice.
However, Gmail puts a lot of hurdles in your way before you can use IMAP. Most of what you have to do is spelled out on the support page I linked to. Did you enable 'less secure apps'? If so, why didn't you include this information?

There isn't a bug:

I'm reporting what appears to be a BUG!

Look at: https://forum.k9mail.app/t/gmail-setup-could-not-finish/650 for some pointers.
Using that information, I just set up my gmail account on a new device that's using k9 5.8.

Hi,
Just to respond to the questions/comments:

I thought of it as a "bug", because I have never once had an issue setting up a Gmail account in any Androud app or PC program when I did have all of the info right.  Add to that the peolle in the forums having the exact same problem with v5.8 and on top of that, other accounts having no problem being added, plus looking thru the forums and the support link and seeing no one with a solution and knowing the info entered is absolutely correct and that leans one toward thinking "bug".

As for stating the exact method used, I didn't ignore that.  It simply wasn't necessary because once I stated that I had verified every single entry (which the Auto-Setup had right) and that I wasn't alone in this, then the "method" basically came down to; "Go ahead, try to add a Gmail account.  I dare ya!"

The link that you just provided (thank you), I had not seen.  And I did search the forum for "Gmail".

Now for my new comments:

I did follow the link and turned on "less secure" and now K-9 works with my Gmail account too! :-)

But isn't that still kind of a bug though?  I mean, why does K-9 require users to lower their security?  Especially for an email app?  I've never had to do that before, which is why it wasn't already set to "Allow Less Secure…..".

I'm going to post in the forum about this solution, but IMHO, if you haven't made this a "Sticky", then you definitely should.  As well as, in addition, have a message pop up in the app.  I.e., if they get the "Username/Password" error when trying to add a Gmail account, make it so that after they dismiss it, another box pops up telling them that if they've verified that their info is correct, to go to that link, etc..  Or even just a pop up warning when they first open the app or something.  And that would cut way down on the number of people posting about this issue in the forums, etc..  Because with all due respect, regardless of what you may think, this is not a normal thing.  If it were, most leople would know to go and do that and every email app would act that way with Gmail accounts.  But in fact, the opposite is true and it's the one account that just about every email app sets up with a couple of taps after entering you email address and password and has no trouble with.  Like yours normally does, but has this issue with Gmail accounts and IMO, 99.9% of users will not know to look at that setting and they key point is, nor should they have to try to figure out that iths some obscure setting that they've never heard and flip a switch they didn't even know existed.

My humble suggestion is to make it work without having to flip that switch.

Since I've already got your attention, I will, lastly, just add that I agree with the numerous people who are upset that you got rid of the screen that it used to open up to that showed the accounts and had various functions.  No one with multiple accounts wants their email app to open the way yours does now.  Yes, you can use the "Unified Inbox", but hardly anyone likes that, especially not with apps that "Reply" with the default account instead of the one that received it and even if it does it right, no one likes not knowing without having to examine the email (you don't always remember which account you sent it from).  And yes, you can bring out the Menu from the left side and switch accounts, but they all do that, yet people still want your old openjng screen back.  People simply don't want to have to keep pulling out that Menu and manually switch accounts that way.  They just don't and apps should adjust to what users are crying out for, as is happening now (see for yourselves).

Final Comment:
Thank you for providing that link.  I had not even thought of that as being a possible issue for an email app.  I run a business working with Android developers and so I have seen Google mess with apps over security, just never an email app.  But then I've only ever been an end user on those. :-)
Also, not having the app open to a main accounts screen is honestly (now that Gmail is working for me) one of only two things that are keeping me from switching over to K-9 and buying it (if there's an option for that).  Those two things are:

Doesn't open to Accounts screen.  If I uploaded my Screenshot of the app I've been using correctly, then this will be basically what I'm talking about.  And each account will tell you how many new emails it has waiting (none when I captured it).

Have to add Contacts into an email one at a time.  No multiselect like many other email apps.

Thanks Again!  It was appreciated!

The issue with gmail (and more recently yahoo/aol mail) access is that google is now requiring that a 3rd party app either use OAUTH2 for authentication, or the user has to go the "less secure/app-specific password" route. I think that there is some work in progress to put OAUTH2 support into K9. So, this isn't a bug, just a feature that's not yet available. I believe that the OAUTH2 support in Fairmail is only in the paid-for version.
I'm not going to respond further on this in this forum as the (non-)bug issue has been addressed and the rest of the comments should go in the previously referenced user forum where those issues are being discussed.

Got your response.  I understand completely now.  I did read something about that coming, but I thought that wasn't for a little while yet.
P.S.: I created an account for the K-9 Forum, but I can't Log In (see below) to actually post there, so I had to write to you here (sorry).
The account was created fine:
User Name: Zeuszoos
Name: Dave
Email<EMAIL_ADDRESS>It said that it sent the Activation Email, but it did not arrive (verified that the email address is correct).  I tried resending it twice, but it still hasn't arrived and I cannot Log In without Activating the account using the link that I'm sure it would send in the email.
Maybe it just takes a while?  They usually arrive quickly, especially when you request a resend, so I thought I should let you know, just in case an issue has cropped up that you're not aware of.
In the mean time, could someone please Activate my account if it's not too much trouble?
Thank You! :-)
Dave


"Getting Started" code doesn't run when building lcoally

To recreate:
Install nnpy
sudo python setup.py install

Create a new file (e.g. getting_started.py) with the code from "Getting Started"
import nnpy

pub = nnpy.Socket(nnpy.AF_SP, nnpy.PUB)
pub.bind('inproc://foo')

sub = nnpy.Socket(nnpy.AF_SP, nnpy.SUB)
sub.connect('inproc://foo')
sub.setsockopt(nnpy.SUB, nnpy.SUB_SUBSCRIBE, '')

pub.send('hello, world')
print(sub.recv())

Run the file
python getting_started.py

You should see the following error
Traceback (most recent call last):
  File "getting_started.py", line 3, in <module>
    pub = nnpy.Socket(nnpy.AF_SP, nnpy.PUB)
AttributeError: module 'nnpy' has no attribute 'AF_SP'

Unfortunately this project is no longer a priority for me, so I'm unlikely to be able to help you much. Maybe the underlying nanomsg install doesn't actually have an AF_SP symbol, or the FFI code generation in generate.py is unable to find the library headers or otherwise failing?


Fix isArray when null is passed

typeof null resolves to 'object' so a further test is needed to insure the value is not null.

Hey thanks for the PR. I think obj != null would be better as it would also catch the case in which obj is undefined. Could you please make the small change?

Yep.  There you go.

Hey thanks for the PR. I think obj != null would be better as it would also catch the case in which obj is >undefined. Could you please make the small change?

If is obj === undefined, then typeof obj !== 'object'. So it is redundant catch the case in which obj is undefined
A short way to check if is it an Array: https://github.com/juliangruber/isarray/blob/master/index.js

@xgbuils I know it is redundant, but it could be slightly faster... However, I like that implementation of isArray you linked, ultimately I think we should switch completely to Array.isArray at some point, but I guess that a fallback function would be appropriate for compatibility.
@naturalethic I'm sorry to ask you again, but could you please change the entire function to look like the one in the link? (Note: consider that we already have a toStr function available to use in the code, so no need to obtain it again)

Done.  Note I had to change it to an anonymous rather than named/hoisted function.  Tests passing.

Looks good thanks!


Feat:Add Login Page Sign-up And Sign-In

Describe the feature
Sign up and Sign in both user login
Add ScreenShots

I'll Add Login page
Pls Assign Me I'll Be Happy Do it Asap
Record

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

You will work on both frontendend and backend of sign up/login?

This issue is assigned

yes sure
On Fri, 31 May 2024 at 23:16, Suchitra Sahoo @.***>
wrote:

You will work on both frontendend and backend of sign up/login?
—
Reply to this email directly, view it on GitHub
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/issues/600#issuecomment-2142716731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQW4QR55LPVOBCRM3R5L5CLZFCZOPAVCNFSM6AAAAABISWQ5ZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSG4YTMNZTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Mujtabaa07 I'm saying this issue is already assigned to someone.

Okay , I’ll find some other issue and resolve it
On Fri, 31 May 2024 at 11:41 PM, Suchitra Sahoo @.***>
wrote:

@Mujtabaa07 https://github.com/Mujtabaa07 I'm saying this issue is
already assigned to someone.
—
Reply to this email directly, view it on GitHub
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/issues/600#issuecomment-2142753561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQW4QR6PDY4H33WREHZ4KL3ZFC4OHAVCNFSM6AAAAABISWQ5ZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSG42TGNJWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Sentry-raven is deprecated

Hi guys,
Thank you for the cool boilerplate, and the clear doc ! 🙏
In the Gemfile, you use sentry-raven but I think this is now deprecated, and should use sentry-ruby (and maybe `sentry-rails)
The Migration Guide is here, I can propose a diff if you want btw :)
Thanks again for the time saved though 😅

hello @Vin0uz, we are glad you like it! if you have any feedback or ideas for improvement feel free to ping us!
thanks for the heads up about sentry! we will look into it as soon as possible 👍


Custom Methods Overwrite

If I add a custom method to one of the repository interfaces...will the generator overwrite those changes if I run the tool again?
Also...one thing I found helpful in the past with generic repositories is a method to retrieve entities via query.  I modified the tt file slightly to include that method in the repo interface and the generic repo.  Just thought you might want to take a look at it to see if it's worth adding to your release.
This tool is great...saved me a ton of time...I've got over 100 entities I'm dealing with.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
public interface IRepository where T : class
{
IEnumerable GetByQuery(Expression<Func<T, bool>> filter = null, Func<IQueryable, IOrderedQueryable> orderby = null);
IEnumerable GetAll();
T GetById(int id);
void Add(T entity);
void Delete(T entity);
}

Hi @onesocksid, I'm glad you find the tool useful! I'll definitely look into adding that method. If you run the generator again it will overwrite your code, so the the best thing i can recommend for that (I use this with all .tt files) is to make the generated code partial. And then add any extended code and methods inside those partial classes, so if you ever need to rerun the code generator again all the modifications you make will be in another partial class or interface and not be overwritten. Look into partial classes/interfaces if you are not familiar with them. Let me know if you have any questions.

Thanks Omar,
I’ll implement the partial classes to maintain those customizations.  Once again…great tool.  Saved me a ton of work.
From: Omar Elabd<EMAIL_ADDRESS>Sent: Thursday, August 4, 2016 12:19 PM
To: OmarElabd/RepositoryGenerator<EMAIL_ADDRESS>Cc: Chris Crawford<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OmarElabd/RepositoryGenerator] Custom Methods Overwrite (#4)
Hi @onesocksidhttps://github.com/onesocksid, I'm glad you find the tool useful! I'll definitely look into adding that method. If you run the generator again it will overwrite your code, so the the best thing i can recommend for that (I use this with all .tt files) is to make the generated code partial. And then add any extended code and methods inside those partial classes, so if you ever need to rerun the code generator again all the modifications you make will be in another partial class or interface and not be overwritten. Look into partial classes/interfaces if you are not familiar with them. Let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OmarElabd/RepositoryGenerator/issues/4#issuecomment-237655599, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG65650joOPlMmnQGrAmx249YI6y_64uks5qcjs1gaJpZM4Jc35p.


chore(merge-back): 1.90.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-sdNVS2x9cuir
Commit ID:<PHONE_NUMBER>e634077a8d619cc54d88acb30fc3fa
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-HHah0H4kRcJ1
Commit ID:<PHONE_NUMBER>e634077a8d619cc54d88acb30fc3fa
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-ZQrYvg1Wv7BG
Commit ID:<PHONE_NUMBER>e634077a8d619cc54d88acb30fc3fa
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


awscli: 1.32.21 -> 1.32.58

Changelog: https://github.com/aws/aws-cli/blob/1.32.58/CHANGELOG.rst
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

included in https://github.com/NixOS/nixpkgs/pull/294305 (b7d2f58caee7011e40493f6cb56cf1cb54a65b43)