Which version of Nexus3

Hi
Which version of nexus3 is this based on, the latest I have is milestone7:
https://support.sonatype.com/hc/en-us/articles/215781148-Nexus-Repository-Manager-3-0-Milestone-7-Release-
I'm unable to find anything newer.
Milestone7 is missing some features and I never got the docker behind sslproxy to work.
NPM package management was a big improvement though.
Really looking forward to a docker registry with proper management and caching.
Great work
MortenB, Oslo, Norway

Download Nexus Repository Manager 3 OSS
Consult our Nexus Repository Manager 3 guides for install and system requirements. This release does not require a license to be installed, however all existing licensed repository manager accounts are entitled to full technical support.
Unix archive: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-unix.tar.gz
Unix installer: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-unix.sh
Windows archive: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-win64.zip
Windows installer: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-win64.exe
OSX archive: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-mac.tgz
OSX installer: http://download.sonatype.com/nexus/3/nexus-3.0.0-03-mac.dmg
REF:
https://support.sonatype.com/hc/en-us/articles/218637467-Download-Nexus-Repository-Manager-3

In Dockerfile is specified the 3.0.0-03 version Release, with Oracle JDK  8.77.03.
ENV NEXUS_VERSION 3.0.0-03


Instance: USP course; André Felipe Silva Rodrigues

Cloud Computing Instance Flavor
g3.xl - GPU instance (32 CPUs, 125 GB RAM and A100 GPU)
Description
workshop
ORCID
0009-0005-3891-2181
Email
U2FsdGVkX1+qthhbrYiFTrJbQSONJu73WteGV2uE81/Ep7jlr6sX0Dsb6ifenNlv
Confirm Email
U2FsdGVkX1+qthhbrYiFTrJbQSONJu73WteGV2uE81/Ep7jlr6sX0Dsb6ifenNlv
Instance Name
instance-139
The instance name is derived from the GitHub issue number using the template instance-NNN. The instance may also be located in the exosphere interface using this name.
Volume Name
My-Data-139
The volume name is derived from the GitHub issue number using the template My-Data-NNN. The volume may also be located in the exosphere interface using this name.

/create

/unshelve

/unshelve


Passing chokidar options to run doesn't work

Passing chokidar options to run doesn't work.

Could you be more specific please

Doesn't work:
const chokidar = { usePolling: true }

fuse.bundle('web.js')
  .instructions(`> web/web-fuse.ts`)
  .hmr()
  .watch() // <-- this calls `chokidar.watch`

fuse.run({ chokidar }) // <-- optioptions known only here

Also probably chokidar default ignored option should be /node_modules/. But at least docs should state that if one do not exclude modules folder it may significantly slow down things.

Fixed in 2.2.0-beta.1


Edit commands tend to save bad files

This happens after checking that the temp version has been checked and seems to only occur when the new version is shorter than the old.
Probable fix: Delete the old file after checking the new file and rename the new file.

This was closed with the above PR


3.x/Adds OciSecretsMpMetaConfigProvider.java

This PR addresses #4238 by introducing OciSecretsMpMetaConfigProvider.java.  Reviewers may find the going easiest by looking at that file first and following it "outwards".
In its current state this PR uses a provisional mechanism to acquire a Supplier<? extends BasicAuthenticationDetailsProvider>. I'll replace this mechanism with whatever the official recipe ends up being. For now, treat this mechanism as a black box.
In its current state, the OciSecretsMpMetaConfigProvider has, deliberately, very few features. Properties that its ConfigSource is supposed to respond to are indicated by a wholly-matching regular expression. No caching is performed. Nothing else fancy happens. Maybe it will later.
The approach of coupling this with Helidon's MicroProfile Config-flavored meta-configuration facility follows directions from others. Module, package, and artifact names follow directions from others. This Maven module's location within the Helidon tree also follows directions from others. I hope I got the directions right.
Subsequent revisions of this PR will include full documentation as it progresses.

Pausing in favor of https://github.com/helidon-io/helidon/pull/7391, per instructions

Closing in favor of #7555.


[Collections] Signing (part 1): certificate and key types

This is part 1 of a series of PRs to support package collection signing.
Modifications:

New PackageCollectionsSigning module
Add Certificate type
Add EC and RSA key types

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@Lukasa @FredericJacobs - would appreciate your review on this (and upcoming PRs) 🙇♀

seems good to me on the surface - would be good to wait for @Lukasa and/or @FredericJacobs feedback

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test Linux

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test macOS

@swift-ci please smoke test

cc @catmurdoch

@swift-ci please smoke test

@swift-ci please smoke test

It's a shame you're vendoring the ASN.1 stuff: we should take an action item to finish up the ASN.1 work so that it's something you can depend on rather than vendor.

+1 we would love to remove that code and lean on SwiftCrypto for

We are going to split implementation into two paths: Apple platforms and non-Apple platforms. We will review PRs for supporting collection signing on Apple platforms first, then fine tune PRs for non-Apple platforms since they contain unsafe code.
Closing this PR, which now becomes https://github.com/apple/swift-package-manager/pull/3259 and https://github.com/apple/swift-package-manager/pull/3260


Remove resources handler remaining component processing

With component processors now migrated there is just a bit of remaining custom handling in ResourcesHandler that applies to 'all components'. We should delete that and migrate any important behaviour still required explicitly into into the specific native configuration processors. This will unlock deleting a bunch more code.

done via https://github.com/spring-projects-experimental/spring-native/commit/a7ce6cf112da5943e0af56ff6eeb7a8789245ad1 - 1200 deletions


Explorer file tree filtering does not show files named index.js

Issue Type: Bug
Focusing the explorer file tree, then typing /.js and ensuring that the mode is "filter" (as opposed to highlight) shows me all of my JavaScript files, except the ones named index.js.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:16:38.656Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
32.00GB (0.19GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (26)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.3.0

bracket-pair-colorizer
Coe
1.0.61

vscode-markdownlint
Dav
0.24.0

vscode-eslint
dba
1.8.0

gitlens
eam
9.5.1

vscode-html-css
ecm
0.2.0

vscode-npm-script
eg2
0.3.5

prettier-vscode
esb
1.8.1

chat
kar
0.11.0

dotenv
mik
1.0.1

extension-manifest-editor
ms-
0.1.5

python
ms-
2019.1.0

vsliveshare
ms-
0.3.1182

vscode-docker
Pet
0.5.2

vscode-versionlens
pfl
0.22.0

autolaunch
phi
2.0.2

vscode-sort-json
ric
1.13.0

vscode-icons
rob
8.1.0

multi-command
ryu
1.3.0

stylelint
shi
0.48.0

vscode-fileutils
sle
2.13.5

vim
vsc
1.0.8

vscode-wakatime
Wak
1.2.5

quokka-vscode
Wal
1.0.183

convert-object-to-jsx
zac
0.3.0

html-css-class-completion
Zig
1.18.0

(1 theme extensions excluded)

Ah, not a bug, just a misunderstanding on my part that filtering would show files in collapsed folders (I managed to find the files I expected by expanding every folder). If that's the correct behavior then this isn't a bug, but I'll let a maintainer decide whether it is or not.

Yeah expected behavior.
There is a seperate feature request to resolve all files before filtering which would help with your confusion


Leaderboard rank - handle duplicate scores

Issue:

[X] Tick here to confirm that you have run RunCodeFormatter.ps1

Description:
Update stored procs for leaderboard to use RANK rather than ROW_NUMBER.
Before:

gamertag
score
rank

player1
500
1

player2
400
2

player3
400
3

player4
300
4

player5
200
5

After:

gamertag
score
rank

player1
500
1

player2
400
2

player3
400
2 <-- Note change here

player4
300
4

player5
200
5

Test:
Deploy SQL Schema
Build Nether.Web and run load tests (using both in-memory and SQL Store for Leaderboard)

Hi @stuartleeks, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor. If you're full-time or an intern, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Looks like this fixes a problem with integration testing among others


how to configure url of tags?

Hey,
May I know how can I configure the url of tags when they have different translations please?
Example
English version
https://www.canadensys.net/

Tag url for Conference is https://www.canadensys.net/news/?category=Conference
French version
https://www.canadensys.net/fr

The tag url for Conférence become https://www.canadensys.net/news/?category=Conférence which returns nothing because it is missing the fr/ prefix - https://www.canadensys.net/fr/news/?category=Conférence
Thanks a lot for your help!

You need to define where you news archive is located per language. Else it will use a default
https://hp-theme.gbif-staging.org/translations#where-is-the-post-archive

Thank you so much Morten!


Português - Brasil

Hello! Can you add Brazilian Portuguese, all types of translation?

Hello @joaochris,
The Portuguese, Brazilian language has been added to Crowdin, and is now available for translation.
Thank you!

@rhahao When will the language appear? 😁

Hi @joaochris,
Hopefully we will make it available today. We are working to update the jw-epub-parser package to handle this new language, and it should be ready. We plan to have this translated on Crowdin as well in the future, in case you want to make a change on it.
Thanks!

Thank you very much for your work, I'm really enjoying it!

@joaochris, we noticed that epub is not available for this language on jw.org 😢
Therefore, please allow us just few more times to find and evaluate an applicable solution for you. Meanwhile, we can release it like this anyway, but you must enter the meeting workbook data manually for each week.

@rhahao Yeah, unfortunately it was discontinued 😢. Okay, I'll be waiting. Thanks.

Here in Brazil we use the format below, I need to put it like this in the translation into shortDatePickerFormat and shortDateTimeFormat?

For shortDatePickerFormat, please use dd/MM/yyyy. For shortDateTimeFormat, please use dd/mm/yyyy.
These formats should output your desired format.

@rhahao Will there be a way to automate the programming of the handout without the Epub? I will share with you what I currently need to do, maybe something will come in handy. Based on the video below, I copy all the website's programming and paste it into an automated google spreadsheet. Although this process is entirely manual, it is very quick to register every week.
https://user-images.githubusercontent.com/76891864/217252670-67be25e3-a92b-4127-b0f0-f697a6a6184d.mp4

@joaochris thanks for sharing. I will try to see if this idea could be added as an alternate when importing data. But anyway, I just want to say that, I’ve finally managed to grab your source materials automatically now. I’m just finishing some automated testing before rolling it out. But it will be very soon!

It's a programming genius 😅. I look forward to using it 😊.

@joaochris, fyi: https://github.com/sws2apps/lmm-oa-sws/discussions/780

@rhahao Some parts are still in English is that so?

Please go to the Congregation card and update your source materials language. Then import the source from jw.org.

This error appeared:

Please allow me just to check one thing on the server part.

😢 Sadly the method I used did not work well in the remote server we are currently using. I am very sorry for that. For now, I will display a message saying that this language is not supported when trying to import from jw.org. Probably I will go to build the method we discussed above.

 But no problem. I'm giving you a lot of work 😂. If there's a way to import with a few steps, like what we talked about, that's great 😄.

But, in short, what method had you used to get the source material? I took a look at the codes, but I didn't understand it very well. Did you test it locally and it worked but not on the server?

Yes, I actually fetch your mwb monthly page on jw.org, get the links to access all weekly schedules, and navigate to those pages After I get all of them that I start doing the parsing. But it seems like the server could not handle it until all these actions are done. I need to review it again somehow, may be there is a memory leak that I did not catch as well.

I understood. But I believe you will make it 😁. See this bug, the names don't appear 😆

Is it always like this even if you re-open it again?

From what I've seen, it's related to the language of the source material and forms. When I switched to English it worked. But in Portuguese it doesn't work.

@joaochris: I believe the last issue you mentioned above was already solved, right?

For sure! Thanks!


Use of puretest in freestyle

WIP. Not actually intended to be merged.
@raulraja @javierfs89  Puretest currently supports finally tagless implementations, so we tried it first to adapt the finally tagless tests of freestyle, and give them a simple interpretation with either. This seems to work. Then, we gave also an instance for FreeS, though we were not able to come up with a clean implementation. Surely, this can be significantly improved. Anyway, IMO, the right approach to support Free is through a new implementation of the Puretest DSL in terms of freestyle's @free.

@jserranohidalgo Awesome!. For the @free based impl. Do you guys plan on providing modules for the different integrations with scala libs such as freestyle in the hablapps org or would you prefer if we have a freestyle-puretest in our org that includes this new version of the DSL?

@raulraja Puretest could be extended in two major dimensions: DSL technique and testing framework. It'd be nice if all extensions could be managed and advertised through the same repo. So, I lean towards adding the new implementation of the Puretest DSL for @free in the very same puretest-cats project (or in a new sbt project of the same repo, if you like). Please, feel free to suggest any change in the layout and package naming to better accommodate that contribution. I'm looking forward to it! :)


error on default project using should

$ swagger project create test-test -f connect
$ cd test-test
$ swagger project generate-test -t should
$ swagger project test
Running tests in: /Users/sganyo/temp/test-test/test...
[SyntaxError: /Users/sganyo/temp/test-test/test/api/client/hello-test.js:53
      .expect(default)
              ^^^^^^^
Unexpected token default]

@elsapeng and i talked about this a while ago and we weren't sure how to determine what the default response code should be.
Maybe we shouldn't include that assertion at all if it is the default response case?

@elsapeng is replacing with a string indicating a status code must be entered, just to make it valid JavaScript


Add the ability to pass context into client

I started making my package use context and realized helix had no way of passing in the context. The best way would be to make every call pass in a context, and have a GetStreamers(opts) call GetStreamersWithContext(opts) and propagate context all the way down to Client.newRequest but the alternative is passing the context into the client options, which affects less code.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
29 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 93.003%

Files with Coverage Reduction
New Missed Lines
%

helix.go
29
89.87%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1369

Relevant Lines:
1472

💛  - Coveralls

Looks good. One last thing: Can we add a small amount of documentation for creating a new client for users that want to provide their own context?

No problem! Is that good?

Tests are failing. It doesn't appear to be anything related to your implementation. I think Actions is just having a bad day. I'll come back to re-run it later.

Tests are failing. It doesn't appear to be anything related to your implementation. I think Actions is just having a bad day. I'll come back to re-run it late

I take that back. There have been some PRs merged recently that your branch doesn't cater too. Do you mind rebasing your branch with main and fixing the failing tests? Looks like might just be TestUpdateCustomReward.

Yep, it was channel_points_test.TestUpdateCustomReward and chat_tests.TestGetChatSettings


HTTPCORE-617: removed references to specific RFC documents

@michael-o Please let me know if you have any objections.

@michael-o Please review.


Idea: Component with its own PHP

If we have a custome-element.html, why no custom-element.php with its own go function?
A special case for the ServiceContainer could provide an HTMLElement already referencing the correct element.
This is how remix does it: https://remix.run/ - a custom element like <invoice-item> can have its view in invoice-item.html and logic in invoice-item.php - the go function will need to know what invoice is being referenced.
Two ideas on how to solve this:

Use the dynamic path as before.
Bind an attribute to the custom element, like an ID, from the page's go function.

For this to work with a single go() function, another repository has to be maintained. This will be fine, but I'll defer it for now until there's more time to put onto this.
The other repository has to split out the functionality of php.gt/routing's LogicStream, so a file can be loaded from gt-component-stream:// location. Currently this is hard-coded for use with Page Logic files, but should be expanded on to be generic, and shared with the loading of components.

This will be closed when https://github.com/PhpGt/ServiceContainer/issues/140 is implemented.


Relation highlighting is incorrect

URL
https://www.openstreetmap.org/edit?node=11608392453#map=22/56.19477/-3.42177
How to reproduce the issue?
I noticed that someone had broken a relation.  The breakage could be seen at http://ra.osmsurround.org/analyzeRelation?relationId=9476169 (although I'm sure that it will be fixed soon).
The bug was caused by someone adding https://www.openstreetmap.org/way/1248887093 to https://www.openstreetmap.org/relation/9476239 not https://www.openstreetmap.org/relation/9476169 (which is caused by a different iD bug - https://github.com/openstreetmap/iD/issues/10103 is related; I've tried to log others too).  However, the bug I'm logging here is not that one again.
id refuses to show relation numbers, so that at https://www.openstreetmap.org/edit?node=11608392453#map=22/56.19477/-3.42177 I only see a series of names, not numbers.  Because of this bug, you have to hover the mouse over each relation in turn to find which relation the gap is in.
The two relations here are https://www.openstreetmap.org/relation/9476169 is different to https://www.openstreetmap.org/relation/9476239 .  One is type=superroute, and should have only relations as members, and one is one of those relation members.
If I hover the mouse over the superroute one it shows both direct and indirect (members of relations that are also part of the superroute) members.  This means that there is no way to tell which relation is which.
I can't take a screenshot (except perhaps with an external camera) because of the "fly by night" way that iD does the highlighting.  If you select the relation you get

That is actually a different screen but shows the same issue.
This would, of course, not be a problem (and I'd need to spend much less time bucket-and-shovelling behind iD users) if iD Just Showed Relation Numbers.
Screenshot(s) or anything else?
No response
Which deployed environments do you see the issue in?
No response
What version numbers does this issue effect?
2.27.3
Which browsers are you seeing this problem on?
Firefox

If I hover the mouse over the superroute one it shows both direct and indirect (members of relations that are also part of the superroute) members. This means that there is no way to tell which relation is which.

I suspect that indirect relation members are being highlighted by design. After all, the indirect members also contribute to the superrelation’s geometry (which might not even exist if not for indirect members). This is the case for all relation types, not just route superrelations or superroute relations. However, I agree that, for this use case, it would be useful to distinguish direct and indirect members somehow.
When hovering over a relation in the relation dropdown menu, it’s already fairly difficult to visually distinguish between the currently selected feature and the highlighted relation, since both are the same color, only with different pulsing or opacity. Maybe the indirect members could have a dash pattern or casing instead of a solid highlight, though that would be confusing for anyone used to Rapid, which uses these patterns for other purposes.


Is is possible to specify a host other than localhost? A port as well maybe?

Could be picked up from environment variables

If you're trying to run this against a node server I would recommend checking out https://github.com/stonecircle/kue-ui-express
This repo is mostly for developing the kue-ui application instead of actually deploying it to production 👍


TrainerRoad RuntimeError: Input IsMale not found in form

While syncing to Garmin works very well (and I am super happy with it, thank you for your work!!), it fails repeatly with TrainerRoad reporting error RuntimeError: Input IsMale not found in form:
Here's the output with some tracelog output.
Any ideas, what I could do?
2022-01-02 22:06:50,284 - withings_sync.trainerroad - INFO - Logged into TrainerRoad as "XXXXXXXXXX"
Traceback (most recent call last):
  File "/home/pi/.local/bin/withings-sync", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/sync.py", line 196, in main
    sync(**vars(args))
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/sync.py", line 170, in sync
    logging.info(f'Current TrainerRoad weight: {tr.weight} kg ')
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 175, in weight
    values, token = self._read_profile()
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 118, in _read_profile
    select_data[key] = self._parse_name(tree, key)
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 76, in _parse_name
    raise RuntimeError('Input {} not found in form'.format(name))
RuntimeError: Input IsMale not found in form

It's a fresh install on Rasberry4 (pip3 install withings-sync).

I'm experiencing the same issue

I recall hearing in one of the TrainerRoad podcasts that they recently did a bunch of work to allow for users to choose from multiple genders (bravo TR team!) whereas previously it was stored as a binary 'male' yes/no field. I'm sure this issue is related to that!

There was a PR Merged: https://github.com/jaroslawhartman/withings-sync/pull/56 can you please retry if this error persists?

How do I test this change? I tried pip uninstall withings-sync followed by pip install withings-sync and am still seeing the issue. trainerroad.py does not show the change. If I manually overwrite trainerroad.py with the changed file, I get
"RuntimeError: Failed to verify numerical key Weight"

No Python release was done. So IT would not be Fixed. I'll See that we can get one. In the mean time you could either check out the repository and build the script or use docker.

You can test with
pip uninstall withings-sync
python3 -m pip install git+https://github.com/jaroslawhartman/withings-sync/

Hope it helps.

Thanks JoGu01. I was able to test, and am now getting the following error:
RuntimeError: Failed to verify numerical key Weight when trying to sync to TrainerRoad.

I suggest opening a new Issue with an excerpt from the log. The root cause (isMale) is fixed.

Closing this issue now as @longstone motivated


Does cudnn support cutorch 1.0?

while I am trying to import cudnn, it prints that:
/usr/local/share/lua/5.1/trepl/init.lua:389: /usr/local/share/lua/5.1/cudnn/init.lua:95: attempt to call field 'hasFastHalfInstructions' (a nil value)

it does not support cutorch 1.0, only support cutorch master


Enable SSL on the bastion apache

We're serving ARA, cron logs and other things on apache on the bastion.
As with all our other servers this should be done over SSL.
Again there's no real way to test this except on prod so only approve
when someone is there to shepherd it through.
Signed-off-by: Jamie Lennox<EMAIL_ADDRESS>

recheck

recheck

LGTM


Add whileJustM, untilJustM to Control.Monad.Extra

Of course, implementable using loopM but these are more convenient.

I just realised these functions are duplicates of untilJust and unfoldM* from monad-loops, although that library hasn't been updated since 2015. What's your position these days on it?

I'll try to think of some alternative names to avoid clashing with the existing ones in monad-loops

No concern about clashing with monad-loops. These seem the natural names, so better to keep them as is.

Well, the monad-loop versions of whileJust has additional monadic predicate arguments, which is also reasonable, analogous to whenJust, and analogous to the same construct in other languages. It's just not something I've needed - typically I'll fold the monadic condition into the monadic action body.
doWhileJustM could be a good alternative, since we are running the action unconditionally then checking the result of it as the condition for the next iteration. One downside is that doWhileJustM $ do {..} looks weird to have "do" duplicated.

Agreed about having one parameter, and not splitting the body and the action. That seems the "haskelly" way to do it. Not a fan of doWhileJustM as a name - a prefix do is pretty odd. I still think whileJustM is fine.
I wonder if untilJustM is necessary? It just seems like a gentle specialisation of loopM.
untilJustM f = loopM (const $ eitherToMaybe <$> f) ()

And I'd prefer people used loopM since then they aren't tempted to shove the state into the monad, which will often be less clear. Or it might be a reasonable specialisation, since all the either/maybe and () nonsense does make it less clear.
I am wondering if loopM generalises in the same way to whileJustM? Some kind of loopM2 :: Monad m => (a -> m (Either (a,c) b)) -> a -> m ([c], b). That's getting pretty clunky though.

Agreed about having one parameter, and not splitting the body and the action. That seems the "haskelly" way to do it. Not a fan of doWhileJustM as a name - a prefix do is pretty odd. I still think whileJustM is fine.

OK, it's your call! For some extra reference, monad-loops has actually quite a lot of packages using it, 119 by this count. For comparison, extra itself has 130 reverse-deps.
My doWhileJustM suggestion comes from the do-while loop which I'm sure you've heard of?

I wonder if untilJustM is necessary? It just seems like a gentle specialisation of loopM.
untilJustM f = loopM (const $ eitherToMaybe <$> f) ()

And I'd prefer people used loopM since then they aren't tempted to shove the state into the monad, which will often be less clear. Or it might be a reasonable specialisation, since all the either/maybe and () nonsense does make it less clear.

They are all equally general :) You can write loopM in terms of untilJustM as:
loopM :: Monad m => (a -> m (Either a b)) -> a -> m b
loopM st input = flip evalStateT input $ untilJustM $ do
  get >>= lift . st >>= \case
    Left a -> put a >> pure Nothing
    Right b -> pure (Just b)

The main benefit is convenience, with untilJustM you don't have to think about the previous value/state if there is no previous value/state.

I am wondering if loopM generalises in the same way to whileJustM? Some kind of loopM2 :: Monad m => (a -> m (Either (a,c) b)) -> a -> m ([c], b). That's getting pretty clunky though.

Yes, I suppose you can think of loopM as untilJustM with an embedded encoding of the state monad, and whileJustM likewise as untilJustM with an embedded encoding of the writer monad. The writer monad also has a Monoid constraint, in fact I'm pretty sure that's where I got the idea from!
Actually this does remind me there was some interesting discussion which led to a newer version of Writer which apparently fixes space leakages with the old strict one. So maybe that would be useful for the leaks in this whileJustM that you've raised, once I've understood it and why the old one was problematic...

once I've understood it and why the old one was problematic...

having read the explanation I believe that my suggestion of strictly applying the (<>) would be sufficient - since the internal go is already implemented in CPS, passing the accumulator. However I was wrong as to where the $! should go, due to lack of familiarity using it properly, but I've figured out the correct version now. Profiling the following:
import Control.Monad.Trans.State

-- run with:
-- $ ghc Test.hs -rtsopts && ./Test +RTS -h -i0.1 && hp2pretty Test.hp

whileJustM' :: (Monad m, Monoid a) => m (Maybe a) -> m a
whileJustM' act = go $! mempty
  where
    go accum = do
        res <- act
        case res of
            Nothing -> pure accum
            Just r -> go $! (accum <> r)

main :: IO ()
main = do
  o <- flip evalStateT 0 $ whileJustM' $ do
    i <- get
    if i >= 10000000
      then pure Nothing
      else do
        put (succ i)
        pure (Just ())
  print o

gives this nice constant graph:

whereas if you remove the $! it looks like this:

and if you put them where I originally incorrectly suggested (go (((<>) $! accum) $! r)) it looks like this:

Hi @ndmitchell any more thoughts on this?

Having the <> applied strictly is a bit unfortunate, and having to pick an order to apply the <> is another hard-to-determine constraint. I'm still inclined to make them return a list, and let people compose mconcat at the end if they want. Of course, that then leaks space, so I've no good idea how to resolve everything.

Having the <> applied strictly is a bit unfortunate, and having to pick an order to apply the <> is another hard-to-determine constraint. I'm still inclined to make them return a list, and let people compose mconcat at the end if they want. Of course, that then leaks space, so I've no good idea how to resolve everything.

With respect, do you think perhaps this is overthinking it a bit? What I've done here is not really all that different from what WriterT does - with a Monoid constraint and the newest version (CPS) strictly-applying mappend. In practise my own uses of WriterT very often use a [a] or similar as the monoid, then it's my (the caller's) responsibility to ensure that the monad only runs for short amounts of output before I call runWriter to extract it and consume away the memory.
I see this version of whileJustM as being similar - either you use a collapsible monoid for long-running loops, or you use a list-like monoid for short-running loops, and consume the output periodically. I think that is simply just "how you are supposed to use it" and we don't need to worry about long-running loops with a list-like monoid, it's the caller's responsibility to not do that.

For long-running loops with a list-like structure representing the output, one surely would prefer streaming / pipes / conduit / etc rather than WriterT/whileJustM anyway...

OK, I've thought about it, and I'm convinced. Thanks for your work, arguments, and experiments!

Awesome, thanks for the review!

I've released this as extra-1.7.4.


sever-chart build and versioning change

Move charts into rancher/rancher and automatically release charts as part of the Rancher server build process.
History:
Attempt 1:
Chart hosted in separate repo and Chart releases matched Rancher versions.
What worked:
Deploying Rancher with a chart was a new idea.  We were not entirely committed to the idea. Having the chart in its own repo allowed for development on the chart and the chart build/publish pipeline without constant updates to rancher/rancher.
What didn't work:
Chart development was new and we were still working out patterns, so lots of updates. At that time we didn't want to have to version rancher every time we wanted to fix something in the chart. The chart version got tricky since helm is pretty strict when it comes to semver. If we wanted to maintan the lock step versioning and were not willing to update Rancher, every time we wanted to update the chart we had to overwrite the chart.  With caching and other issues it was going to be hard to figure out what exactly was in a chart that a customer downloaded.
Release process was painful. Requiring commits and tags to the server-chart repo.
Attempt 2:
(Current) Chart hosted in separate repo and Charts versioned YYYY.MM.Release.
What worked:
Several charts required updates after being released, but patterns were being developed and changes were slowing down. We still didn't want to have to version Rancher for a chart update, but need to version charts between rancher releases. This allowed us to make chart updates decoupled from Rancher updates.
What didn't work:
This would be fine if we were only maintaining one branch/stream of Rancher.  We discovered a big flaw in this plan when the K8s CVE came out and we had to publish updates to 2.0 and 2.1 series of Rancher. We discovered that whe we need to do something like this with 2.3, there's no good way for a customer to figure out how to stay on the 2.2 series if we just count up with the date style deployments.
Release process is still a pain and error prone, with coordinating multiple repos/branches and manual inputs.
What we want to do now:
Charts hosted in rancher/rancher built and deployed with Rancher releases.
We need to be able to maintain several branches of chart and coordinate the builds with releases of rancher/rancher.  The simplest solution to this is to put the chart in the rancher/rancher repo and build the versioned chart as part of the Rancher server build.  The charts will be added to each branch and will be in lock step with Rancher server versioning.
Advantages:

No extra manual (error prone) process to release a chart with a Rancher.
Chart and Rancher releases get created and tested as a whole.

Disadvantages:

If there is some critical fix for the chart, we will need to create a patch (x.x.1) release of rancher to fix it.

At this point I believe Chart development has stabilized enough that this should be an uncommon occurrence (knock on wood). New development is happening, but on a slower rate and should be part of the rancher release testing.  Unit tests are being added to help prevent changes breaking existing behavior.
Transition
We have put us in a tough spot with the choice to use the date stamp release numbers.  Since helm uses semver order to pick the "latest default" release, the date stamps will always come first.  We will have to transition away from date stamps and unpublish them from the repo with the 2.2 release.
The Plan:

[x] Move rancher/server-chart code by branch to the various release branches in rancher/rancher.
Enhance rancher/rancher build process to build chart with matching version.
[x] Build process will continue to publish yyyy.mm.release style of tags along with matching rancher release tags.
[x] Backport previous yyyy.mm.release to matching rancher tag releases.  In places where we have multiple chart versions as part of the release use the latest version as the rancher versioned release.
[ ] Communicate to customers this transition.
[ ] When 2.2.0 is released, unpublish yyyy.mm.release charts from helm repo. This is necessary to allow latest to be 2.2.0 instead of 2018.mm.release.

moved out of release as its tracked in my overall release todos item

can close once release is out and this is completed

With the release out, this has been moved/transitioned to no longer using charts using build numbers.


Dependecies update (#259)

Telegram Test failed at Demo. Link returned to user, but when user wants to use it, NoSuchLinkException page occurs

Telegram Test failed at Demo. Link returned to user, but when user wants to use it, NoSuchLinkException page occurs

I tested against wrong bot

I tested against wrong bot


Custom Modulus + External R1CS

Hello, firstly, thank you for this beautiful library!
I have two questions:
Firstly, I couldn't figure out how to use mod operation with gnark. In circom:
Var xer = balance % r_prime;
What is the equivalent of this in the gnark circuit?
Secondly, I have written and compiled my circuit in circom, now I have my r1cs and witness. Is it possible to use gnark only as a prover and also can I generate my witness from my r1cs (or sym etc.) of circom circuit, using gnark?
Thank you!!

See discussion #595 .


Make ClientFactory a part of ClientOptions

Motivation:
When creating a new client derived from an existing client, a user can
write the following code:
WebClient client = WebClient.builder(...)...build();
WebClient derived =
    WebClient.builder(client.scheme().sessionProtocol(),
                      client.endpointGroup())
             .path(client.absolutePathRef())
             .factory(client.factory())
             .options(client.options())
             .build();

We could make ClientFactory a part of ClientOptions, so that a user
doesn't have to specify it manually:
WebClient derived =
    WebClient.builder(client.scheme().sessionProtocol(),
                      client.endpointGroup())
             .path(client.absolutePathRef())
             .options(client.options())
             .build();

Modifications:

Add ClientOption.FACTORY.
Add AbstractClientOptionsBuilder.factory(ClientFactory)

Remove the factory(ClientFactory) methods in the subclasses

(Breaking) ClientBuilderParams.of() does not require a
ClientFactory anymore.

Hide DefaultClientBuilderParams from the public API

(Deprecation) Deprecate ClientBuilderParams.factory()
(Breaking) DefaultClientRequestContext() does not require a
ClientFactory anymore.
Clean up the client configuration in AbstractHealthCheckedEndpointGroupBuilder.

(Breaking) HealthCheckerContext.clientConfigurator() and
clientFactory() has been replaced with clientOptions().

Miscellaneous:

Remove unused fields in HealthCheckedEndpointGroupTest

Result:

Fixes #1913
Fixes #2384
ClientBuilder.options(ClientOptions) now sets ClientFactory as
well as other options, which is more convenient when building a
derived client.

However, this may break the following code:builder.factory(myFactory)
       .options(myOptions)

.. because myFactory will be ignored and myOptions.factory()
will be used instead.

However, this may break the following code:
builder.factory(myFactory)
       .options(myOptions)
.. because myFactory will be ignored and myOptions.factory()
will be used instead.

Everything is fine except this point. Is there any change we notify to a user by 1) throw Exception or 2) Add a @Deprecation?

Everything is fine except this point. Is there any chance we can notify a user by 1) throw Exception or 2) Add a @Deprecation?

This was already happening for other setters such as requestTimeout(). I think it's hard to tell if it's by intention or mistake..

This was already happening for other setters such as requestTimeout(). I think it's hard to tell if it's by intention or mistake..

I see, then SGTM again! 😀


Delayed span submission for request root spans and children until trace parent information can be extracted from request.

Feature Request
Often the trace parent information is only available after some processing steps, e.g. in HTTP you might first accept the TCP connection, then possibly do a TLS handshake, then create some per connection state objects and only then parse the HTTP headers with the trace parent.
It would be useful if there was a way to delay the submission of the request root span and all its child spans until that point so it can be submitted with the correct trace id from the trace parent header or similar information in other protocols or until we can explicitly tell it that there is no trace parent information in the request.
It might also be useful to have an easy way to access the (request) root span from the current span.
Motivation
Currently the alternative is setting the trace parent on the span that is the current span at the time that information becomes accessible but that cuts off all the previous parents on one hand and also attributes some more time to the process sending the trace parent header because the timing information from those previous parents is not shown as part of the distributed trace.
Proposal
The drawback would be some more complexity in the submission logic if it had to delay some spans and of course those spans would not be available at all if the code never reaches that point where it tries to extract trace parent information from the request.
Alternatives
The OpenTelemetry project could create a message that links two existing trace ids so they are displayed as one trace anyway. Considering how many implementations there are the use of that would likely take a while to spread to a state where that would become useful.

The Otel Trace Spec does not really have the ability to adjust or delay span creation, the closest seems like linking the request span as a span that follows from the tcp/tls spans so visualization systems could connect the two traces via Span::follows_from.
That being said this crate already makes some changes to the spec by allowing you to update span data dynamically as it effectively just pairs an otel span builder with a given tracing span and both creates/submits the otel span on close. You could do something similar, but you would need to have a way to buffer the span data you want to update/export.
It could be easier to use the otel api directly instead of the tracing api, and maintain a vec of span builders that you could submit whenever you know the trace id? Or if you wanted to keep using the tracing api for the buffered spans you could add an API to "extract" the span builder stored in OtelData so you could manually submit it later.

I have tried Span::follows_from but it doesn't really do anything very visible in the tools I have tried. Mostly it just adds a link somewhere deep in the span to the span in the other trace.
I guess what I would need is a way to hook into the export process between the tracing spans and the actual exporter to e.g. OTLP to allow me to delay all spans of the trace id of a request root span until some later part of the program can set the trace parent from the parsed header and thus replace the trace id with the one from the trace parent header in all spans and sub-spans created already (or confirm that there is no header for that request) and unlocking their export.
Apart from this problem the tracing API is really quite convenient and I would like to avoid having to reimplement everything it provides.

Is keeping the root span around and then setting its parent directly not an option?
It souds to me like what you're after is a way to iterate through a span's parents to the current root span and setting its parent to the context received through HTTP, right? Basically something like Span::set_root_parent(&self, ctx: Context)?

I have actually tried keeping the parent around earlier today. That works for the parent but all the existing child spans for that parent seem to use the old trace id. I haven't quite figured out how the trace id is propagated yet but I assume that happens at span creation time?

Yeah, you're right. So for your use case the trace ID should be propagated recursively to all children of that span, right?
I'm not sure if that's even possible as some of the spans may have already been closed and thus sent through otel.

Yeah, or at the very least it would be nice if the spans had a way to set trace id (and other state transmitted by the traceparent/tracestate headers) if I keep them all around manually.


"Capu Câmpului" is listed in the drop-down menu.

Description:
"Capu Câmpului" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Capu Câmpului" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Capu Câmpului, SUCEAVA".


Update slf4j-api, slf4j-simple to 2.0.4

Updates

org.slf4j:slf4j-api
org.slf4j:slf4j-simple

from 1.7.36 to 2.0.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.slf4j" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #435.


Question: How can we import an image (Media/MediaSet) via code (to initialize Demo Data)?

In Extension 2.0 we cannot use any DotNet interop.
I know we can use the .IMPORTFILE and IMPORTSTREAM.
But if you want to import a file, you need a file, how can we create this file?
Possible solution is to store the Image as Base64 string in code.
But how can we decode the string without DotNet?
Or can we add the images seperated with the .navx file or something?

We are looking into an idea of embedding limited size resources as part of the .navx package.
For now some of the other options are:

fetch the images through HTTP request
create a setup table in your extension, export the content using Export-NAVAppTableData and bundle it with your extension. See the docs
your own suggestion of using BASE64 encoded string - you can use TempBlob.FromBase64String to decode it (procedure is blocked in April Update but it will be enabled in June Update coming out soon)

Ok, we will use the TempBlob.FromBase64String feature for this
Thanks!


Sei Cosmwasm Tokenfactory Queries + SetMetadata

Add sei-cosmwasm hooks to new tokenfactory SetMetadata
Adds sei-cosmwasm queries for tokenfactory - DenomAuthorityMetadata and DenomsFromCreator
Relies on https://github.com/sei-protocol/sei-chain/pull/989
NOTE: Integration tests is in separate PR

Testing

Deploying contract on local chain and verifying

Khayer


Can i create randomized tests?

As seen here, the user was quiet smart (or lazy) and just used the solution as reference to create his method.
Is it possible to create a randomizer and hide it? Because the testclasses are shown to the user.
could not find something in the doc https://exercism.org/docs/building/tracks/practice-exercises
https://exercism.org/tracks/abap/exercises/scrabble-score/solutions/karlojkessler

heh 😁
well, its up to the student if that person wants to learn something or not. It is kind of a TDD approach, the minimal and simplest solution to pass the unit tests, however it doesnt solve the problem as such

I agree with @larshp that someone is only cheating themselves.
IMHO unit tests are a valuable part of the learning experience. For the JS track I have them open to the side when doing the exercise and code up the solution for one or two tests at a time - proper TDD style. Literally start with return 0; to pass the 'is empty' test, then hardcode to pass the next test, then add logic, pass, next test, .. and so on.

We could code up a randomiser in the test, but then we'd have to put the solution code into the test too in order to validate our random result, so that's no good.
The same issue exists in all the tracks so I think this is not something to worry about.

Essentially too much work for too little benefit


Add GraphQL ID Type Support in Service Generation

Description:
The Ballerina GraphQL tool supports generating Ballerina code from a GraphQL schema. Currently, this generated code does not support adding ID type support.
There is an issue when generating the Ballerina type of an ID type field. But as a starting point, we can use the Ballerina string type as the type and use the @graphql:ID annotation to generate the type.

Looking into it.

Hey @ThisaruGuruge I'd like to work on this, could you assign it to me. Thanks !

👋 Welcome, @Weeb-san 🚀
We're thrilled to have you join the Ballerina Lang community! Whether you're a seasoned developer or just starting your journey with Ballerina, we value your contributions and look forward to collaborating with you.
To help you get started, here are some essential resources:

Understanding Ballerina Platform:
Learn what Ballerina is all about: Ballerina Platform
How to Contribute:
Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
Contributing to the Ballerina library:
If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
Learn Ballerina:
If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
Get Help and Connect:
Join our Discord community to chat with fellow Ballerina enthusiasts and get assistance: Ballerina Discord

Remember, no contribution is too small, and your feedback is invaluable. Feel free to ask questions, propose ideas, or report issues. Together, we can make Ballerina even better!
Happy coding! 🎉

@Weeb-san I have assigned the issue to you. Please feel free to ask for support if you need. @DimuthuMadushan FYA


[HOLD for payment 2024-08-07] [$250] [CRITICAL] ReportPreview is showing the incorrect title on a travel booking

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

In the trip room, the ReportPreview is showing, but it shows as if the person who should pay the report is the approver, and not the workspace (which is what we show in other places)
Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:

Book travel
Navigate to the workspace chat

Expected Result:
The trip report name should show the Trip Name in the reportPreview.
Actual Result:
The report name shows the approver and submitter's names, like an IOU.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Screenshots/Videos

Slack threads
Example 1
Example 2

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01a1f88ea93705aa2a
Upwork Job ID:<PHONE_NUMBER>313277706
Last Price Increase: 2024-07-12
Automatic offers:

shubham1206agra | Reviewer | 103127522

Issue OwnerCurrent Issue Owner: @slafortune

Proposal: Fix Incorrect Title on ReportPreview for Travel Bookings
Problem Statement:
The ReportPreview feature is displaying an incorrect title for travel bookings, which can lead to confusion and errors for users. The root cause of this problem is an incorrect implementation of the title logic in the ReportPreview component.
Root Cause:
The current implementation of the title logic in the ReportPreview component is not correctly handling travel booking types, resulting in an incorrect title being displayed.
Proposed Solution:
To resolve this issue, we recommend the following optimized solution:
Simplify the title logic: Refactor the title logic to use a more concise and efficient approach, reducing the complexity of the code.
Use a switch statement: Implement a switch statement to handle different travel booking types, ensuring that the correct title is displayed for each type.
Remove unnecessary code: Eliminate unnecessary code and variables, improving the overall readability and maintainability of the component.
Code:
typescript
import React from 'eact';
const ReportPreview = ({ travelBooking }) => {
let title;
switch (travelBooking.type) {
case 'flight':
title = Flight from ${travelBooking.origin} to ${travelBooking.destination};
break;
case 'hotel':
title = Hotel stay at ${travelBooking.hotelName};
break;
default:
title = 'Unknown travel booking type';
}
return (

{title}

);
};
export default ReportPreview;
Alternative Solutions:
We explored the following alternative solutions:
Using a template engine: Utilize a template engine such as Handlebars to generate the title for travel bookings. However, this approach would require additional dependencies and complexity.
Implementing a more robust title logic: Develop a more robust title logic that can handle various travel booking types and edge cases. However, this approach would require additional development time and resources.
Please let us know if you would like to discuss this proposal further or proceed with implementation

How can I book a travel?

@rushatgabhane has been helping implement travel, so I am going to assign him and @shubham1206agra who has been reviewing his travel issues! At some point soon, travel will be something anybody can help with but for now as we're racing for a deadline, I'm going to prioritise them.
Appreciate the excitement for it though folks!

@twisterdotcom we can assign @tienifr for their proposal https://github.com/Expensify/App/issues/45344#issuecomment-2226846109
🎀👀🎀

Anything that gets the job done

Apologies for any confusion @shubham1206agra we are just trying to push this as fast as we can. Since there was a good proposal I went ahead and assigned them

@tienifr can you please have a look at the implementation here -
https://github.com/Expensify/App/blob/69aac490216d6070f41201a4c93163feec267fca/src/components/ReportActionItem/TripDetailsView.tsx#L141-L142
https://github.com/Expensify/App/blob/69aac490216d6070f41201a4c93163feec267fca/src/components/ReportActionItem/TripDetailsView.tsx#L81

Hi @tienifr , if we can't get a PR today then we will have to move forward with someone else as this is a critical item for an important project. Thanks!

I faced this issue while booking travel https://github.com/Expensify/App/issues/45647. Can someone send me a mock REPORT_PREVIEW report action data for trip

@tienifr i can help you with that

Do we want to show all these information ReportPreview title? Or just the main information (i.e. BAH -> BOM)

I think this format for flight - longNameFrom (shortNameFrom) -> longNameTo (shortNameT)
For cars: reservation.vendor • reservation.start.location
For hotels: reservation.start.address

@tienifr can you access this - https://staging.new.expensify.com/r/4797191550069968?

done - https://staging.new.expensify.com/r/4797191550069968

updated - https://github.com/Expensify/App/issues/45344#issuecomment-2251766158

@tienifr is there start and destination?

anyway, raise a PR so we can merge quick

on staging

@shubham1206agra can you please complete the checklist?

are you both due payment for the C+role?

i don't know know about that. i had reviewed the proposal and the PR so I'm definitely due for payment

@shubham1206agra should there be any regression tests?

$250 approved for @rushatgabhane


tests allow/ignore; refactored test script

Ability to ignore certain tests based on tests.ignore
Ability to only allow certain tests based on tests.allo
Refactored test code

Codecov Report

Merging #278 (213311f) into master (309713f) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
+ Coverage   41.35%   41.40%   +0.05%
==========================================
  Files          21       21
  Lines        8977     8977
==========================================
+ Hits         3712     3717       +5
+ Misses       4900     4896       -4
+ Partials      365      364       -1

Impacted Files
Coverage Δ

KubeArmor/monitor/syscallParser.go
84.58% <0.00%> (+0.32%)
:arrow_up:

KubeArmor/monitor/systemMonitor.go
62.98% <0.00%> (+0.38%)
:arrow_up:

Continue to review full report at Codecov.

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


New Update Won't Work

I downloaded the new extension update, but it won't work. Any fixes?

@ProgrammerGaurav

@octavemott  please use this updated version: https://github.com/Yoxmo/GMH-v3
and close this issue thread thanks! if you have any other problems please send it to my issue on that fork.


Forum Notifications

Please add notifications for replies to the forums. It's annoying to have to go back and find your post and see if anyone has replied.

+1 on this as it's hard to follow up with any suggestions without going back.

Hello, Any news about this features? will be great to have a notification system as a pop up/mail notification when an thread got a reply.
Thank you

@gamefanpage I don't think this package is being actively developed.  The last commit was 4 months ago, and the last release was about a year ago.  It stinks b/c this feature would really improve the user experience for new Laravel users who have questions...though there are many places to ask questions.
@driesvints you mentioned a 3.1 release.  Has any work been done on that?  If not, would you like one of us to create a PR to add this feature?   Thanks!

@gamefanpage @ddimaria I'm actually working on a next release which is a totally new version, built from scratch. It'll be done when it's done :wink:
Hopefully I can show a first preview in the next months.

@driesvints  That is an awesome news :) Thank you for your hard work :)

I would really appreciate this feature as well. As a newer contributor, it really discourages me from responding to too many questions because it's too much work to scan for updates.
At the very least, it would be nice to be able to access more than 5 of my recent posts so I don't have to bookmark them...

@tdhsmith we're definitely trying to add this feature to the next version. At the very least that every subscriber to a topic gets a notification when a reply is posted.

@driesvints Any updates on this?

Unfortunately not. It's still on the todo list but I'm not sure if it'll make the upcoming beta.

@driesvints should I send a PR for this? I would use database notifications. the thread author will be subscribed automatically and on reply you can select if you want to get notifications for that thread.

@fetzi I'd like to take my time first to think this over a bit. I'll try to open an issue soon with a thorough description which we can discuss.

Ok, perfect!

I've written out two features for notifications, one is to subscribe to threads #270 , the other is user mentions #271. If anyone wants to pick them up, feel free to, otherwise I'll work on it whenever I find the time.


[Question] Space Station dimension time

How is the time in the space station calculated? I thought it was always day, but some solar panels in there detects it as night. Is it always night?

Apparently the Solar Panel detects if it is daytime using world.isDaytime().
Here's the line: https://github.com/zmaster587/AdvancedRocketry/blob/1.12/src/main/java/zmaster587/advancedRocketry/tile/TileSolarPanel.java#L22
I'm not really sure where world.isDaytime() gets the day/night cycle from, but I assume it's not what's regulating the celestial body positions or the sunlight on a spacestation.

I'm running into this with Mekanism Advanced Solar's as well.  They seem to be stuck at night time now.  Changing the MC time doesn't seem to be affecting anything.

For reference Mekansim Solar Generators appear to check for the sun using this line of code:
https://github.com/aidancbrady/Mekanism/blob/5d8b5c8f915b1f435e156ef3131a1b72d44e2e89/src/main/java/mekanism/generators/common/tile/TileEntitySolarGenerator.java#L66
They also appear to use the world.isDaytime() in its sun checking code.

It seems I am a bit late to the party, but isDaytime is calculated by getSkylightSubtracted, which in turn is calculated from getSunBrightnessFactor which in turn is calculated from the angle of the sun, which is determined by the space station's rotation.
TL;DR: time is calculated from the rotation of the station which is visually indicated by the position of the sun.


add java beeline examples

Great! Could you please add a README explaining how to run these?
Since there are multiple - should they be split into their own directories in the top level of the repo?
We also need to update the top-level README in this repo to reference the examples (you can see the table there referencing the other examples).

gonna create a new PR


How to group routes on the same level?

Guys, I have a question here.
I want to have the following structure
/signIn page
Should be have common service provider
/routea/...
/routeb/...
/* - 404 page
So the route definition could be the following:
const routes = [
  {
   path: 'signIn'
   component: SignInPage
  },
  {
    path: 'routea'
    component: () => <ServiceProvider><Outlet/></ServiceProvider>
    children: [...]
  },
  {
    path: 'routeb'
    component: () => <ServiceProvider><Outlet/></ServiceProvider>,
    children: [...]
  },
  {
    path: '*'
    component: NotFoundPage
  }
]

I need ServiceProvider to not rerender when I switch from routea to routeb. How to make it shareable? It's not so clear from docs how the things work.

In this case, you can hoist the ServiceProvider up to a shared route with an empty path:
const routes = [
  {
   path: 'signIn'
   component: SignInPage
  },
  {
    path: "/",
    component: () => <ServiceProvider><Outlet /></ServiceProvider>,
    children: [
      {
        path: "routea",
        children: [...]
      },
      {
        path: "routeb",
        children: [...]
      }
    ]
  },
  {
    path: '*'
    component: NotFoundPage
  }
]

Thank you so much! It would be nice to add some information about how the matchers work to the readme.


GH-44386: [Integration][Release] Pin Python 3.12 for Integration verification when using Conda

I am just validating this would solve the issue, I still think we should find a proper fix.
Rationale for this change
Conda Python 3.13 fails when running verification tasks for Java.
What changes are included in this PR?
Pin Python 3.12 on Conda integration jobs
Are these changes tested?
Yes via CI
Are there any user-facing changes?
No

GitHub Issue: #44386

@github-actions crossbow submit verify-rc-source-integration-macos-conda-amd64


Notifications are no longer blurred

I added a few window rules, changed a few keybinds, and for some reason the notifications are no longer being blurred

rules.conf
# ######## Window rules ########
#windowrule = noblur,.*
# windowrule = opacity 0.89 override 0.89 override, .* # Applies transparency to EVERY WINDOW
windowrule = float, ^(blueberry.py)$
windowrule = float, ^(steam)$
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
windowrulev2 = tile,class:(wps)
windowrulev2 = tile,class:(dev.warp.Warp)

windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$

windowrule = float,^(ru-turikhay-tlauncher-bootstrap-Bootstrap)$
windowrule = float,title^(About Tor — Tor Browser)$
windowrule = center,title^(About Tor — Tor Browser)$
windowrule = float,title:^(Save File)$
windowrule = center,title:^(Save File)$
windowrule = float,^(Viewnior)$
windowrule = center,^(Viewnior)$
windowrule = float, nwg-look|qt5ct|mpv
windowrule = float,^(qt6ct)$
windowrule = center,^(qt6ct)$
windowrule = size 544 657,title:^(Qt6 Configuration Tool)$
windowrule = center,^(mpv)$
windowrule = noblur,^(brave)$
windowrule = float,^(org.kde.ark)$
windowrule = float,^(kvantummanager)$
windowrule = float,^(kitty)$
windowrule = float,^(Yad)$
windowrule = float,^(com.obsproject.Studio)$
windowrule = float,^(com.github.wwmm.easyeffects)$
windowrule = float,^(vlc)$
windowrule = float,^(imv)$
windowrule = float,^(visualboyadvance-m)$
windowrule = float,^(org.qbittorrent.qBittorrent)$
windowrule = float,^(org.kde.kdialog)$
windowrule = float,^(msiexec.exe)$
windowrule = float,^(7zFM)$
windowrule = float,^(7zfm)$
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$
windowrule = float,^(woeusbgui)$
windowrule = float, wofi
windowrule = float,^(Lxappearance)$
windowrule = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrule = float,title:^(Picture in picture)$
windowrule=float,pavucontrol-qt
windowrule=float,pavucontrol
windowrule = size 650 420,class:^(pavucontrol)$
windowrule=float,kcalc
windowrule=float,zoom

# windowrule=float, com-group_finity-mascot-Main
# windowrule=nobluZ, com-group_finity-mascot-Main
# windowrule=nofocus, com-group_finity-mascot-Main
# windowrule=noshadow, com-group_finity-mascot-Main
# windowrule=noborder, com-group_finity-mascot-Main

windowrulev2=windowdance,class:^(REAPER)$,title:^(menu)$
windowrulev2=forceinput,class:^(REAPER)$,title:^(menu)$

windowrule = size 640 420,^(AlacrittyF)$
windowrule = center,^(AlacrittyF)$
windowrule = float,^(AlacrittyF)$

windowrule = size 620 420,title:^(foot)$
windowrule = center,title:^(foot)$
windowrule = float,title:^(foot)$

# Dialogs
windowrule=float,title:^(Open File)(.*)$
windowrule=float,title:^(Select a File)(.*)$
windowrule=float,title:^(Choose wallpaper)(.*)$
windowrule=float,title:^(Open Folder)(.*)$
windowrule=float,title:^(Save As)(.*)$
windowrule=float,title:^(Library)(.*)$
windowrule = float,title:^(Sign In - Google Accounts - Brave)$
windowrule = float,title:^(Sign In - Google Accounts — Mozilla Firefox)$
windowrule=float,Pinentry-gtk-2

# ######## Layer rules ########
layerrule = xray 1, .*
# layerrule = noanim, .*
layerrule = noanim, selection
layerrule = noanim, overview
layerrule = noanim, anyrun
layerrule = noanim, sideleft
layerrule = noanim, sideright
layerrule = noanim, osk

layerrule = noanim, noanim
layerrule = blur, gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell
layerrule = blur, launcher
layerrule = ignorealpha 0.5, launcher
layerrule = blur, notifications
layerrule = ignorealpha 0.69, notifications

# ags
layerrule = blur, session
layerrule = noanim, sideright
layerrule = noanim, sideleft
layerrule = blur, bar
layerrule = ignorealpha 0.6, bar
layerrule = blur, corner.*
layerrule = ignorealpha 0.6, corner.*
layerrule = blur, dock
layerrule = ignorealpha 0.6, dock
layerrule = blur, indicator.*
layerrule = ignorealpha 0.6, indicator.*
layerrule = blur, overview
layerrule = ignorealpha 0.6, overview
layerrule = blur, cheatsheet
layerrule = ignorealpha 0.6, cheatsheet
layerrule = blur, sideright
layerrule = ignorealpha 0.6, sideright
layerrule = blur, sideleft
layerrule = ignorealpha 0.6, sideleft
layerrule = blur, indicator*
layerrule = ignorealpha 0.6, indicator*
layerrule = blur, osk
layerrule = ignorealpha 0.6, osk

general.conf
# MONITOR CONFIG
monitor=,preferred,auto,1
# monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area

#monitor=DP-1,1680x1050@75, auto, 1
#monitor=HDMI-A-1,1440x900@75, auto, 1
workspace = DP-1, 1
workspace = HDMI-A-1, 1680x210, 2

# HDMI port: mirror display. To see device name, use `hyprctl monitors`
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1

input {
    # Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
    kb_layout = us
    # kb_options = grp:win_space_toggle
    numlock_by_default = true
    repeat_delay = 255
    repeat_rate = 92
    float_switch_override_focus=0

    touchpad {
        natural_scroll = yes
        disable_while_typing = true
        clickfinger_behavior = true
        scroll_factor = 0.5
    }
    special_fallthrough = true
    follow_mouse = 1
}

binds {
    # focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
    scroll_event_delay = 0
}

gestures {
    workspace_swipe = true
    workspace_swipe_distance = 700
    workspace_swipe_fingers = 4
    workspace_swipe_cancel_ratio = 0.2
    workspace_swipe_min_speed_to_force = 5
    workspace_swipe_direction_lock = true
    workspace_swipe_direction_lock_threshold = 10
    workspace_swipe_create_new = true
}

general {
    # Gaps and border
    gaps_in = 4
    gaps_out = 6
    gaps_workspaces = 50
    border_size = 1

    # Fallback colors
    col.active_border = rgba(0DB7D4FF)
    col.inactive_border = rgba(31313600)

    resize_on_border = true
    no_focus_fallback = true
    layout = dwindle

    #focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
    allow_tearing = true # some guy told me tearing might make things smoother idk
}

dwindle {
	preserve_split = true
        # no_gaps_when_only = 1
	smart_split = false
	smart_resizing = false
}

decoration {
    rounding = 20

    blur {
        enabled = true
        xray = true
        special = true
        new_optimizations = true
        popups = true
        size = 7
        passes = 4
        brightness = 1
        noise = 0.01
        contrast = 1
    }
    # Shadow
    drop_shadow = true
    shadow_ignore_window = true
    shadow_range = 20
    shadow_offset = 0 2
    shadow_render_power = 3
    col.shadow = rgba(000000CC)

    # Shader
    # screen_shader = ~/.config/hypr/shaders/nothing.frag
    # screen_shader = ~/.config/hypr/shaders/vibrance.frag

    # Dim
    dim_inactive = false
    dim_strength = 0.1
    dim_special = 0
}

animations {
    enabled = true
    # Animation curves

    bezier = linear, 0, 0, 1, 1
    bezier = md3_standard, 0.2, 0, 0, 1
    bezier = md3_decel, 0.05, 0.7, 0.1, 1
    bezier = md3_accel, 0.3, 0, 0.8, 0.15
    bezier = overshot, 0.05, 0.9, 0.1, 1.1
    bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
    bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
    bezier = fluent_decel, 0.1, 1, 0, 1
    bezier = easeInOutCirc, 0.85, 0, 0.15, 1
    bezier = easeOutCirc, 0, 0.55, 0.45, 1
    bezier = easeOutExpo, 0.16, 1, 0.3, 1
    bezier = softAcDecel, 0.26, 0.26, 0.15, 1
    # Animation configs
    animation = windows, 1, 3, md3_decel, popin 60%
    animation = border, 1, 10, default
    animation = fade, 1, 2.5, md3_decel
    # animation = workspaces, 1, 3.5, md3_decel, slide
    animation = workspaces, 1, 7, fluent_decel, slide
    # animation = workspaces, 1, 2.5, softAcDecel, slide
    # animation = workspaces, 1, 7, fluent_decel, slidefade 15%
    # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
    animation = specialWorkspace, 1, 3, md3_decel, slidevert
}

misc {
    vfr = 1
    vrr = 1
    # layers_hog_mouse_focus = true
    focus_on_activate = true
    animate_manual_resizes = false
    animate_mouse_windowdragging = false
    no_direct_scanout = true
    enable_swallow = false
    swallow_regex = (foot|kitty|allacritty|Alacritty)

    disable_hyprland_logo = true
    force_default_wallpaper = 0
    new_window_takes_over_fullscreen = 2
}

am I missing something?

you're missing the fact this is the wrong repo

I added a few window rules, changed a few keybinds, and for some reason the notifications are no longer being blurred

revert them and find what you did wrong. Sorry but I am not a config analyzer to sit and read your entire config in hunt of a typo you made somewhere.


✨ Uplift CAPI modules to 1.1.3

Fixes # Also fixing the modules path in hack/tools/go.mod

/test-v1b1-ubuntu-integration

/lgtm

/retitle 🌱 Uplift CAPI modules to 1.1.3


refactor handle result status of function

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


css grammar: scope flex/grid keywords such as self-end like other keywords

From #53606
For the css:
.test {
    justify-items: self-end;
    text-align: center;
}

Notice that self-end is not colored the same way as center:

Does this issue occur when all extensions are disabled?: Yes

I thought I needed to update vscode-css-languageservice to include self-start/self-end for auto completion. However, they are already there.
So the grammar alone is a sufficient fix.

I still see the behavior and the exact colors @mjbvz describied with the Dark+ theme -> reopening

@isidorn Forgot to pull latest grammar into the css extension. This should be fixed now.

Thanks, works fine now -> verified


Add |clean| command.

The command is used for cleaning all build output and unnecessary installed packages(or all node_modules). We should implement this in gulpfile.babel.js and then add a test to check whether it works well into bootstrap/test/.

@romandev, @daehyunjimmy, I'm closing this issue.


Enable cleanup in E2E

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Enable cleanup in E2E, include cleanup the kind cluster or docker registry or both
Which issue(s) this PR fixes:
Fixes #522
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@noobwei should rebase first, as I've modified test/e2e/run_test.sh.

Actually you don't need to close this PR, just use "git push -f" to force overwrite.


Multiselect reset button removal

Is any option for removing reset button from multiselect directive

Got it ... helper-elements="all none"


Account detail page - load Apis slowly

This page, https://scan.testnet.tomochain.com/address/0x0000000000000000000000000000000000000089, the address has a lot of txs, it is loaded too slowly

We optimize this website is faster than before, but it is not enough. 2 seconds is still long

We should focus to count account's txs.
count reward, logs ... implement later


Use necessary fields to initialize MemberAccess struct for globalDNS

To address: https://github.com/rancher/rancher/issues/18839

LGTM


Functionality

Great looking Widget. However, none of the clickable functions work. Meaning, none of them are triggered at all.
Any ideas?

This problem is caused by your übersicht setting. Normally, you need to press a button to be able to interact with the widget. You can check that out in your übersicht settings.

 I should've thought of that. I've been playing with Ubersicht all day and I'm so saturated by it I forgot the simplest thing.
Great widget, thanks!

Your welcome


crashes on first occurrence of OpenAI rate limit

it looks like the agents cannot retry or retry with exponential backoff intervals, when receiving rate limiting from openai api. the tokens per minute can be reached easily, if many agents work with large contexts, so the agents should simply wait and retry - but at the moment it halts the crew and never resumes. would it be possible to add a timeout and make it retry, instead of halting all operation when throttling from openai or any other api gets received?
example of implementation:  https://github.com/openai/openai-cookbook/blob/main/examples/api_request_parallel_processor.py#L123
should I submit a PR? I'm new to this project, but if you could point me to the correct place where this processing takes place, I might be able to help.

I see something like that already implemented class RPMController(BaseModel):  but doesn't seem to work in my case.. where is the limit specified? all limits are different per each model, and also every account tier, so my current low tier also makes the limits lower than others - is it hardcoded or received from openai specifically about my account?  in any case, it doesn't work (I crash on "tokens per minute limit reached, please wait" error from openai api, during one of the tasks, and it goes kaboom 💥


Display the extension request audit log on the super user's dashboard

The super user should be able to see the following details of a particular task:

The time when a request was raised
The user who raised the request
The super user who accepted/declined it
The super user who accepted/declined it

simplescreenrecorder-2023-10-14_18.37.20.webm


Fix a memory leak with the shared TreeWalker

We weren't resetting the currentNode of the shared TreeWalker after either template prep or template cloning. This caused the TreeWalker to hold on to the last currentNode of the last tree walk.
This should always be after a clone because I can't think of a situation where we prep a template but don't immediately render it. So for the fix I set currentNode after a template clone. You can't set TreeWalker.currentNode to null, so I set it to the document.

Nice!


Chart should update even if there's no data

1- When you change the data prop to an empty array, the chart doesn't redraw and the old data stays there.
Now the Chartist.update method runs even if data array is empty.
2- If you start with an empty data array, the chart doesn't get drawn.
Now the chart is drawn even with empty data.
3- The error Object was just dead code at the end. We can just use the this.noData and this.message variables

Apologies, I've been working on the wrong branch. I will close and send a new PR


Some questions about converting lava-dl into lava.

I encountered problems when I converted a model trained with lava-dl and pytorch into lava.

ConvT
I trained a model containing the 'ConvT' module. But I met the problem 'NotImplementedError: convT is not implemented' when I load the model on lava with the function 'netx.hdf5.Network'.
https://github.com/lava-nc/lava-dl/blob/add48805c3fe7e873d7fae5705b0711b9652332b/src/lava/lib/dl/netx/hdf5.py#L575
Is there an implementation for the conversion of 'ConvT' (lava-dl to lava)?

I trained a model with lava-dl and pytorch. The model contain some operations like 'x = x[:, :-1]' and 'x = torch.cat([x1, x2], dim=1)'. When I convert the lava-dl model into lava, I notice that the operations are removed. How can I refine the process of the converted model from lava-dl to lava?

I am looking forward to your reply. Thank you.

@wangtianrui ConvT is not fully supported by underlying Lava for inference. Therefore, the export in Lava-DL is currently not implemented. This conversation can be of interest for you: https://github.com/lava-nc/lava-dl/issues/74


Better JSX extraneous property error range

The error range on extraneous JSX properties highlights the component name instead of the offending property:
Current Behavior:
import * as React from 'react';

function Example(props: {x: number, y: string}) {
    return <>Hello, world.</>;
}

<Example x={3} y="a" z={6} />
 ~~~~~~~

Desired Behavior:
import * as React from 'react';

function Example(props: {x: number, y: string}) {
    return <>Hello, world.</>;
}

<Example x={3} y="a" z={6} />
                     ~~~~~

in both cases, the error message is rightly
 Type '{ x: number; y: string; z: number; }' is not assignable to type 'IntrinsicAttributes & { x: number; y: string; }'.
   Property 'z' does not exist on type 'IntrinsicAttributes & { x: number; y: string; }'.

The situation seems to have been improved from #23117 but I feel that it could still be better by highlighting the offending property in particular.

TypeScript Version:  3.6.3 (also verified with 3.7.0-dev.20190914)

Search Terms: jsx error range extra property type error message
Playground Link:
playground
Related Issues:
#23117

Thanks @Nathan-Fenner!


Fixed: payload was larger than SageMaker limit

Yes.  I tested 100 and it worked.  I figured going to an even slightly smaller payload (100 splits rather than 60 would give us some headroom/future-proofing).


Add Link-to snippet

I find myself often reaching for this snippet during ember development, not sure if it translates to other use cases though.

I'll give it a look. Thanks for contributing!


chore: 0.1.3 release

Pull Request Test Coverage Report for Build 46
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.872%

Totals

Change from base Build 45:
0.0%

Covered Lines:
126

Relevant Lines:
133

💛  - Coveralls


chore Disable JAVA UDF temporarily

Proposed changes
Disable JAVA UDF on macOS temporarily.
Problem summary
Fail to start BE (ASAN) if it was built with JAVA UDF on macOS.
Some issues:

ulimit -n doesn't work.
Fail to create a JVM.

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 40.08 seconds
load time: 563 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221021170036_clickbench_pr_32640.html


Admin: Template change message contains HTML

When changing a template the warning alert box contains HTML

Thanks. I obviously haven't completely removed all traces of the old jQuery alert box implementation.

Will be fixed in FeinCMS 2.0 (see commit above)


chore: Use @istanbuljs/load-nyc-config

Coverage decreased (-0.008%) to 99.781% when pulling 8221e70d05f19ff9dd377b981ea78b553282b074 on coreyfarrell:load-nyc-config into 04334e249feda3898858cb65575e60b309f80c97 on istanbuljs:master.

Coverage decreased (-0.008%) to 99.781% when pulling 8221e70d05f19ff9dd377b981ea78b553282b074 on coreyfarrell:load-nyc-config into 04334e249feda3898858cb65575e60b309f80c97 on istanbuljs:master.


Use correct user when determining max repo limits for error messages

Use the correct user(owner instead of ctx.User) to get the maxCreationLimit.

This patch is already applied to the backport(#18152)

This patch is already applied to the backport(#18152)

Please update the first comment of this PR to make this clearer that this is only in the error report.

https://github.com/go-gitea/gitea/pull/18152/files#diff-1cfa6a4276f95644461cbed3c29525a454e7472fd1b4ad434e21b1eada0fe0e5R81 looks similar ...

make lgtm work


Merge Centurylink and L3 into Lumen Technologies

Centurylink and Level 3 Communications are now Lumen Technologies, so for continuity it would be helpful to have the separate instances under Global Azure and GovCloud merged into one Lumen Technologies section with the correct direct link https://www.lumen.com/en-us/hybrid-it-cloud/cloud-connect.html vs the CenturyLink forward.
All location information remains correct and accurate.

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

ID: a00024b9-36f7-c9a8-4277-9360b0cd6163
Version Independent ID: aa65d869-db72-c0d8-a7e1-75a4949b6bbc
Content: Connectivity providers and locations for Azure ExpressRoute
Content Source: articles/expressroute/expressroute-locations.md
Service: expressroute
GitHub Login: @duongau
Microsoft Alias: duau

@asarubman
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.
FYI @duongau

Hello @asarubman, thank you for your feedback. We will discuss this internally with our product team to decide when we can merge the two companies on the list. #please-close


Value not updated in display

The value shown by display does not get updated when the slider moves in the following reduced example:
fig = figure()
xx = -2:0.1:2
@manipulate for i = 1:10

    withfig(fig) do
        plot(xx, i*xx)

        display(i^2)
    end
end

Dup of #41


It seems like the app is assuming the registry is on the same host instead of using the ENV variable

I looked at the net calls going out using Firebug and it seems to be constructing the URL by appending to the root instead of utilizing ENV_DOCKER_REGISTRY_HOST.  Can you confirm this?

This might look true from the outside but the calls have to go to the same host as the frontend. Everything that goes to the frontend host's /v1/ suffix will be forwarded to the actual registry. We had this "issue" reported before, so please look through the issues to find out why this needs to be done.
Here some links:

https://github.com/kwk/docker-registry-frontend/issues/40#issuecomment-103806823
https://github.com/kwk/docker-registry-frontend/issues/20#issuecomment-103353724

Are you fully compatible with v2 yet?  Maybe I misunderstood.
Here is the link it is trying to it and it never returns any repos:
http://docker-gui.cme.in.here.com/v2/_catalog?n=10&last=

Here are the ENV settings just for reference:
ENV_DOCKER_REGISTRY_HOST=docker.cme.in.here.com
ENV_DOCKER_REGISTRY_PORT=443
ENV_DOCKER_REGISTRY_USE_SSL=1

My bad! The v2 branch wasn't supposed to show up on hub.docker.com until it is finished or more polished. Your problem should be fixed with this commit: d447896d5a6c221b11971925aa9adc0bc159e738. I tested the code locally and forgot to change the Apache proxy to forward to /v2/ rather than to /v1/. Please, pull the image again and re-test.

Retried, and it did not work initially. However I logged into the container and pounded out this line in docker-site.conf:
#ProxyPreserveHost On
After a restart of apache it started working.  Can you make that change permanent?
As an aside, I love what you are doing with the site.  It looks great and is very useful.  Thanks for the good work!

Hi @cubfan20, please fork the repo, make the change in apache-site.conf
and issue a pull request refering to this issue #62 with a concret
description why this line shall be commented out. A link to the
documentation would be nice. Thank you in advance.
2015-09-16 23:04 GMT+02:00 cubfan20<EMAIL_ADDRESS>
Retried, and it did not work initially. However I logged into the
container and pounded out this line in docker-site.conf:
#ProxyPreserveHost On
After a restart of apache it started working. Can you make that change
permanent?
As an aside, I love what you are doing with the site. It looks great and
is very useful. Thanks for the good work!
—
Reply to this email directly or view it on GitHub
https://github.com/kwk/docker-registry-frontend/issues/62#issuecomment-140893919
.


create render target from a cubemap

Describe the bug
i want to copy a sub-region from one texture to another，so i add a funtion in FTexture:
void FTexture::blitTexture(FEngine& engine, Texture& srcTex, const filament::math::uint4& srcRect, uint8_t srcLevel, uint8_t srcLayer, const filament::math::uint4& destRect, uint8_t destLevel, uint8_t destLayer) {
	FEngine::DriverApi& driver = engine.getDriverApi();

	backend::Handle<backend::HwRenderTarget > srcrth = driver.createRenderTarget(TargetBufferFlags::COLOR,
		srcTex.getWidth(), srcTex.getHeight(), 1, { upcast(srcTex).getHwHandle(), srcLevel, srcLayer }, {}, {}
	);

	backend::Handle<backend::HwRenderTarget > destrth = driver.createRenderTarget(TargetBufferFlags::COLOR,
		getWidth(), getHeight(), 1, { getHwHandle(), destLevel, destLayer }, {}, {}
	);

	driver.blit(TargetBufferFlags::COLOR,
		destrth, { (int32_t)destRect.x, (int32_t)destRect.y, destRect.z, destRect.w },
		srcrth, { (int32_t)srcRect.x, (int32_t)srcRect.y, srcRect.z, srcRect.w },
		SamplerMagFilter::LINEAR
	);

	driver.destroyRenderTarget(srcrth);
	driver.destroyRenderTarget(destrth);
}

it's ok on 2d texture, but failed when i copy from a 2d-texture to a cubemap or vice versa, i looked into the function OpenGLDriver::framebufferTexture, it seems missing the case of GL_TEXTURE_CUBE_MAP_POSITIVE_X... in  switch (target)? so i add the six row under the
case GL_TEXTURE_2D_ARRAY,  then its ok to create render target from cubemap faces. is it right to do so ?
void OpenGLDriver::framebufferTexture(backend::TargetBufferInfo const& binfo,
        GLRenderTarget const* rt, GLenum attachment) noexcept {
    GLTexture const* t = handle_cast<const GLTexture*>(binfo.handle);

    assert(t->target != SamplerType::SAMPLER_EXTERNAL);

    GLenum target = GL_TEXTURE_2D;
    switch (t->target) {
        case SamplerType::SAMPLER_2D:
            target = t->gl.target;  // this could be GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_ARRAY
            // note: multi-sampled textures can't have mipmaps
            break;
        case SamplerType::SAMPLER_CUBEMAP:
            target = getCubemapTarget(binfo.face);
            // note: cubemaps can't be multi-sampled
            break;
        default:
            break;
    }

    if (rt->gl.samples <= 1 ||
        (rt->gl.samples > 1 && t->samples > 1 && features.multisample_texture)) {
        // on GL3.2 / GLES3.1 and above multisample is handled when creating the texture.
        // If multisampled textures are not supported and we end-up here, things should
        // still work, albeit without MSAA.
        bindFramebuffer(GL_FRAMEBUFFER, rt->gl.fbo);
        switch (target) {
            case GL_TEXTURE_2D:
            case GL_TEXTURE_2D_MULTISAMPLE:
                glFramebufferTexture2D(GL_FRAMEBUFFER, attachment,
                        target, t->gl.id, binfo.level);
                break;
            case GL_TEXTURE_2D_ARRAY:
			//case GL_TEXTURE_CUBE_MAP_POSITIVE_X:
			//case GL_TEXTURE_CUBE_MAP_NEGATIVE_X:
			//case GL_TEXTURE_CUBE_MAP_POSITIVE_Y:
			//case GL_TEXTURE_CUBE_MAP_NEGATIVE_Y:
			//case GL_TEXTURE_CUBE_MAP_POSITIVE_Z:
			//case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z:
                // GL_TEXTURE_2D_MULTISAMPLE_ARRAY is not supported in GLES
                glFramebufferTextureLayer(GL_FRAMEBUFFER, attachment,
                        t->gl.id, binfo.level, binfo.layer);
                break;
            default:
                // we shouldn't be here
                break;
        }
        CHECK_GL_ERROR(utils::slog.e)
    } else

Although we have the API in place, we indeed might need some more plumbing to create RenderTarget from a particular face of a cubemap, which would my fault.  Let me test that out.
However if you're sure you also need to copy a sub-region from one texture, that sounds like a totally separate feature request.


moveit planners plugin?

Dear mhubii,
I am trying to configure curobo moveit plugin with lbr-stack. I faced some similar issue that I previously wanted to ask. Currently, the moveit cannot choose any planner and always uses default RRTConnect. Could you provide some guidance on how to configure other planners? Thank you for any help you can provide.

Warm regards,
S.Z.

good point, this configuration is probably missing right now.
Putting for reference https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_cumotion/isaac_ros_cumotion_moveit/index.html

Thanks for your response. I tried it yesterday as well. It was all about docker development. I am not quite familiar with docker. I tried to mount the lbr-stack inside the container. Unfortunately it could not be built. Then I tried to install it inside the container, it could not be built either. Here is the instruction I followed.
I was trying to build add my own layer including lbr-stack on top of the base images provided in Isaac ROS. I couldn't quite understand their instructions. I would be appreciated if you could provide me some insights.
This is my directory structure
~/.isaac_ros_common-config
/home/szhuang/workspaces/isaac_ros-dev
     /home/szhuang/workspaces/isaac_ros-dev/ros2_ws
         /home/szhuang/workspaces/isaac_ros-dev/ros2_ws/lbr-stack_docker
         /home/szhuang/workspaces/isaac_ros-dev/ros2_ws/lbr-stack_docker/Dockerfile.lbr
         /home/szhuang/workspaces/isaac_ros-dev/ros2_ws/lbr-stack_docker/container_build.sh

I then have ~/.isaac_ros_common-config as follows:
CONFIG_IMAGE_KEY= Dockerfile.lbr
CONFIG_DOCKER_SEARCH_DIRS=(/home/szhuang/workspaces/isaac_ros-dev/ros2_ws/lbr-stack_docker)

Then I run
~workspaces/isaac_ros-dev/src/isaac_ros_commom/scripts/run_dev.sh -d /home/szhuang/ros2_ws_mounted

It told me it couldn't find the Dockerfile.lbr, even though I specified the directory already.

I think I finally sort it out :)
I can try configuring all the planners with lbr-stack, including cumotion, chomp, and others inside ompl

did you modify this line?
https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/519f5203518d8111ec9a98856ba711ce9bad99d0/lbr_bringup/launch_mixins/lbr_bringup.py#L70

yes, I think I will need to modify that line. I'm working on the XRDF file mentioned here. Then I will modify that to see if it works.


All docker containers: added fmt, spdlog

Hi @Alexays,  in order to use more actual components version, needs to update all five docker containers. This blocks ISSUE#1565 Please see successful run using fixed containers from the my own docker repository vilu1209 Success runs

The expected way to fix your dependency issue is to update subprojects/fmt.wrap and subprojects/spdlog.wrap. This way we can ensure that waybar compiles even if system dependencies are missing or outdated and detect breakages for this scenario early in CI.
You can get updated wrap files for the versions you need from https://mesonbuild.com/Wrapdb-projects.html.

The expected way to fix your dependency issue is to update subprojects/fmt.wrap and subprojects/spdlog.wrap. This way we can ensure that waybar compiles even if system dependencies are missing or outdated and detect breakages for this scenario early in CI.
You can get updated wrap files for the versions you need from https://mesonbuild.com/Wrapdb-projects.html.

Thank you @alebastr , I've already tried to check that on official git repository and for fmt utility there were not any updates.. but yes, this issue can be fixed in different ways. My way is to refresh docker containers instead of building component like subproject during the main building. In the same time all popular distributives have got fmt and spdlog in their repos. Why can't we use this native opportunity?  I mean what are advantages and disadvantages of refreshing containers/refreshing wrappers  ?


Detroit - Neighborhood Amenities Back End

Notes

Add Grocery, Pharmacy, Medical Clinic, Park, Senior Center to data model for listings in Detroit
In the past we've added just to Detroit

Design (for reference)

https://www.figma.com/file/S5zvvNdZXbFVRqP8RiKJsw/detroit-neighborhood-amenities?node-id=113%3A4419
Product Brief
https://docs.google.com/document/d/1BhKYZq8a6RpjGphtgbRsbuM4LS9sFBLvr8g0tA94YqI/edit#heading=h.z2we68wtdnff
Related Issues

LGTM


uv install

Low priority and can't say I've used uv before, but doesn't seem to work for some reason.
uv init example
cd example
uv add swmmanywhere

Gives error:
warning: `VIRTUAL_ENV=C:\Users\bdobson\Documents\data\envs\sa` does not match the project environment path `.venv` and will be ignored
Using CPython 3.11.10
Creating virtual environment at: .venv
Resolved 67 packages in 7.95s
   Built multiurl==0.3.1
   Built julian==0.14
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: llvmlite==0.36.0
  Caused by: Build backend failed to determine requirements with `build_wheel()` (exit code: 1)

[stderr]
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "C:\Users\bdobson\AppData\Local\uv\cache\builds-v0\.tmpr1A7jY\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\bdobson\AppData\Local\uv\cache\builds-v0\.tmpr1A7jY\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires
    self.run_setup()
  File "C:\Users\bdobson\AppData\Local\uv\cache\builds-v0\.tmpr1A7jY\Lib\site-packages\setuptools\build_meta.py", line 516, in run_setup
    super().run_setup(setup_script=setup_script)
  File "C:\Users\bdobson\AppData\Local\uv\cache\builds-v0\.tmpr1A7jY\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
    exec(code, locals())
  File "<string>", line 55, in <module>
  File "<string>", line 52, in _guard_py_ver
RuntimeError: Cannot install on Python version 3.11.10; only versions >=3.6,<3.10 are supported.

I'd recommend using Pixi instead, considering the use of geospatial packages. Pixi uses uv under-the-hood. An example can be found here.


Added my demos and edited the md document on User Experience

Embedded my two demo videos as well as provided a clear example showcasing how to use Figma to design a high fidelity prototype for an app as well as ensure pages are linked across the application. This is done at a high level so that developers  attain a clear understanding and plan of the process to begin coding the app.

Closing this and pushing to main instead of 413.


fix: Improvement in Welcome Screen

Fixes #1113
Changes: Changes in UI of Splash Screen(Image size and Text size increased)
Screenshots for the change:
Before:-

After:

This is not splash screen. Please post before image as well

@iamareebjamal
I've only increased the size of image view , and the textview "we'll show you what's good near you"

@iamareebjamal
Also I changed the name of issue and PR

Yes still post before image

@iamareebjamal I've added before and after screenshots