Re work

Moved all scripts into project_root/scripts
Updated /scripts/quick_start.sh so it no longer calls the individual scripts Sam wrote, instead all logic is in a single script.
This works up to the point where the bootstrapping begins. I will continue working on that today and should have the bootstrapping working.
Next: I will add the TLS Auth - that is the last big Auth method I have not got working which Sam already had in his bootstrap process.
To run this, call the quick_start.sh script and it will walk you through the configuration/setup

@copeia resolve the conflicts please.  Looks good.  Once merged I would open another branch for the next changes.  Lets try to keep it to under 20 lines of code change per PR.  That way it iterates rapidly and I can contribute.    GREAT JOB!!!!!

@fewknow Work updated - Thanks for the comments! Will absolutely update my work to fit that flow.

Added in one more to close this chapter of work off


V3 ESLint + JSDocs

There is some funky stuff going on with ESLint and JSDocs that need figuring out.

using "" around the path seemed to fix the issue.


fix: missing key on welcome page

SUMMARY
There is an error on ActivityTable.tsx

I refactored the component because it was too big and it was difficult to debug (and to make it easier to create tests in the future)
I divided it into a second component, and fixed the key problem.

TEST PLAN
Tests should pass normally. No application behavior has been changed.
The ActivityTable.tsx interface has been maintained, and the file has not been moved.

Thanks for being proactive and cleaning up the code as you move, Bruno! ♥ @yardz
@pkdotson can you review this PR since you are the owner? thanks!

Supersedes by #13291


os: execute parse the command output from utf8

Fix #36352
With this change can execute commands and receive their output with special characters from utf8

Thanks!

Cherry-picked for 3.2.1.


Find doctests recursively so class methods are loaded

Specifying doctests as
"tests": {
    "hw04.py": "doctest"
}

is supposed to load all doctests from a file, but it would miss doctests on class methods. Using the power of recursion we can now see everything.
Tested with http://cs61a.org/hw/hw04/
Before:
> python3 ok --tests --no-update
=====================================================================
Assignment: Homework 4
OK, version v1.10.1
=====================================================================

Available tests:
    balanced
    branches
    centered_interval
    end
    examples
    interval
    is_leaf
    is_tree
    is_weight
    label
    length
    make_anonymous_factorial
    make_counter
    make_fib
    mobile
    move_stack
    print_move
    side
    sides
    size
    total_weight
    tree
    weight
    with_totals

After:
> python3 ok --tests --no-update
=====================================================================
Assignment: Homework 4
OK, version v1.10.1
=====================================================================

Available tests:
    balanced
    branches
    centered_interval
    centered_interval.__init__
    centered_interval.__repr__
    centered_interval.__str__
    centered_interval.center
    centered_interval.make_interval
    centered_interval.tolerance
    end
    examples
    interval
    interval.make_interval
    is_leaf
    is_tree
    is_weight
    label
    length
    make_anonymous_factorial
    make_counter
    make_fib
    mobile
    move_stack
    print_move
    side
    sides
    size
    total_weight
    tree
    weight
    with_totals

I thought we fixed this a while ago... I'm going to look through our PRs for a sec

https://github.com/Cal-CS-61A-Staff/ok-client/pull/130


Add simplified names for methods without args

Introduce simpler names, so the method chain sounds better. E.g.:
isClickable() -> clickable()
isFocusable() -> focusable()
hasFocus() -> focused()
...

decided not to do that.


some guide how to add languages to OCR?

I am trying to get german OCR right now. Followed your guide on how to add a different folder for the language sources, but now nothing works anymore, no OCR at all.
Having some form of install script that downloads the languages and creates an alias to use this would be awesome and I would like to create it, but for that I need to understand how adding languages work.
I already tried adding the small langpack EN to the folder, as somewhere it says this is essential

I assume this is non docker?

Did steps from https://github.com/Frooodle/Stirling-PDF/blob/main/HowToUseOCR.md
Not work?


Fix all tests that insert objects into db instead of using genesis.

Had to do this for #8556 and would like to get it merged earlier.
(@williampsmith did most of the work on this, i just pulled the changes out into a new PR)

Can we completely remove the function that does this side loading of objects into the db now?

I will try


Feature request: Amazon music

Hi,
is there any chance, that we will see phoniebox playing music from amazon music unlimited (instead of spotify).
I found the following from @Jaffa on GitHub, but I guess I don't have the skill to somehow implement this to phoniebox: https://github.com/Jaffa/amazon-music
Has somebody running amazon music on a raspberry and could contribute some experience ?

Hi,
would be interested in this too. Can't find much in the internet about Amazon prime and unlimited support for music services beneath amazon hardware or andoird phones.

Hi @Alwiz79 @makhau
I added the enhancement tag to this thread. I have no amazon music account, so I don't know how to help right now :)

From my point of view the following steps would be necessary:

Create a Mopidy backend (maybe based on https://github.com/Jaffa/amazon-music); guide for how to create a Mopidy extension: https://docs.mopidy.com/en/latest/extensiondev/
Ask maintainers of Mopidy-Iris (https://github.com/jaedb/Iris) to integrate the new Amazon Music backend
Add new dependencies to Spotify edition installer (trivial)

Overall this is a non-trivial task as Amazon Music doesn’t provide a official SDK or API and this is all reverse engineered; currently the existing amazon-music Python library seems not to work anymore (see https://github.com/Jaffa/amazon-music/issues/30) as Amazon probably made changes. In addition that means a continuous maintenance effort (to fix changes by Amazon) is necessary.
Maybe other users of Mopidy are interested, but I can’t quantify that.

Amazon provides the Amazon Music Device API, but it’s already deprecated.
Not sure, if the new Amazon Music Web API provides audio playback.


mass.play_media radio mode not working

What version of Music Assistant has the issue?
2.0.0b84
The problem
Cannot reproduce playlist with radio mode on
How to reproduce
        - service: mass.play_media
          target:
            device_id: e325948e0c54ba0b8ea12bbc6d11b162
          data:
            media_type: playlist
            media_id: "Artist Name"
            radio_mode: "on"
            enqueue: replace

Relevant log output
QUOBUZ PROVIDER
2024-01-23 08:18:46.939 ERROR (MainThread) [music_assistant.webserver] [548224243152] Error handling message: CommandMessage(message_id='a9cea024172646d99b018df6384e8640', command='players/queue/play_media', args={'queue_id': 'aa:aa:fb:39:1a:2c', 'media': ['qobuz://playlist/1989170'], 'option': 'replace', 'radio_mode': True})
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler
    result = await result
             ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 230, in play_media
    tracks = await self._get_radio_tracks(queue_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 886, in _get_radio_tracks
    tracks += await ctrl.dynamic_tracks(radio_item.item_id, radio_item.provider)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 590, in dynamic_tracks
    return await self._get_dynamic_tracks(ref_item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/playlists.py", line 379, in _get_dynamic_tracks
    raise UnsupportedFeaturedException(
music_assistant.common.models.errors.UnsupportedFeaturedException: No Music Provider found that supports requesting similar tracks.

SPOTIFY PROVIDER
2024-01-23 08:27:48.729 ERROR (MainThread) [music_assistant.webserver] [548213042768] Error handling message: CommandMessage(message_id='33e05d08a0cb49fdbe19f3bf062c930c', command='players/queue/play_media', args={'queue_id': 'aa:aa:fb:39:1a:2c', 'media': ['spotify://playlist/37i9dQZF1DZ06evO1zmK7O'], 'option': 'play', 'radio_mode': True})
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler
    result = await result
             ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 230, in play_media
    tracks = await self._get_radio_tracks(queue_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 886, in _get_radio_tracks
    tracks += await ctrl.dynamic_tracks(radio_item.item_id, radio_item.provider)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 590, in dynamic_tracks
    return await self._get_dynamic_tracks(ref_item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/playlists.py", line 379, in _get_dynamic_tracks
    raise UnsupportedFeaturedException(
music_assistant.common.models.errors.UnsupportedFeaturedException: No Music Provider found that supports requesting similar tracks.
2024-01-23 08:33:29.630 ERROR (MainThread) [music_assistant.webserver] [548213042768] Error handling message: CommandMessage(message_id='f2c5767b840e4df3b036f78dabdae59f', command='players/queue/play_media', args={'queue_id': 'aa:aa:fb:39:1a:2c', 'media': ['spotify://artist/5LlJgNc8PgsXsloNEw2uDW'], 'option': 'play', 'radio_mode': True})
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler
    result = await result
             ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 230, in play_media
    tracks = await self._get_radio_tracks(queue_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/player_queues.py", line 886, in _get_radio_tracks
    tracks += await ctrl.dynamic_tracks(radio_item.item_id, radio_item.provider)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 590, in dynamic_tracks
    return await self._get_dynamic_tracks(ref_item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/playlists.py", line 379, in _get_dynamic_tracks
    raise UnsupportedFeaturedException(
music_assistant.common.models.errors.UnsupportedFeaturedException: No Music Provider found that supports requesting similar tracks.

Additional information
No response
What version of Home Assistant Core are your running
2024.1.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

I was wondering if that might happen. Only certain providers support radio mode. That error says to me that no provider will accept an artist as the starting point for radio mode. Those URIs you were getting before probably were for tracks. So you could change your input selects to be of the form “Artist - Track” and see if it works then.

Actually you may be right. I get errors when requesting tracks. This will get looked at in due course

Actually there is something else going on which may be causing this. Will check if this is still a problem once the other problem is resolved.

Please check with beta 85 as this is working fine for me now.

Hi, yes it’s working also for me. Thanks.


Further fix on the task view modifier on iOS 14

This is a proceeding commit for #60. Sorry for my poor testing. I found the previous PR does not work on iOS 14. Specifically, Just(value) does not trigger the onReceive body on iOS 14. To workaround that, I get back to onChange for trigger, but use another publisher for the state update. This version has been tested on iOS 14.4, iOS 15.5, iOS 16.6 and macOS 13.5 (iOS 13 simulator is not supported on Xcode 14).

I don't necessarily mind this change, however I know for a fact that I heavily tested the original implementation at the time, specifically for iOS 13, so I'm hesitant to change it without re-testing that it won't break that. Cause it 100% worked before given this was introduced specifically for iOS 13 initially.
If you can find a way to test this on iOS 13 and prove it works, I'll consider merging. Sorry for being a stickler but I don't want to break otherwise working code potentially 👍

@shaps80 Works on Xcode 14.2 iOS 13.7 simulator.

@0xfeedface1993 amazing thank you for verifying this and the quality of presenting it 💯


Upgrade ghga-transpiler dependency

Related: https://github.com/ghga-de/ghga-transpiler/pull/44

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
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 76.834%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
733

Relevant Lines:
954

💛  - Coveralls


pkg/client separation from godep, or using godep save -r ./..., or ?

I ran into this issue today re: https://github.com/GoogleCloudPlatform/kubernetes/issues/12272
Kubernetes has a ton of uses just through the client library, which is primarily in pkg/client, but the typical way to use golang libraries is to just do a simple import. Vendoring is obviously golang's big gripe right now, and it's definitely getting better with 1.5, but many tools (including godep) default to a state where the vendoring only works for final applications, not for libraries that can be used elsewhere.
Requiring external code to conform with kubernetes' specific usage of godep means the following things:

Other libraries need to do special godep restores just for kubernetes code
These dependencies may conflict with other libraries' dependencies
GOPATH manipulation, special casing, etc

Just a general pain :)
Potential solutions:

godep save -r: this rewrites the import paths within kubernetes code, so no more GOPATH manipulation needed
Use the party tool https://github.com/mjibson/party: we've been using this for a bit over at https://github.com/fsouza/go-dockerclient and it works just fine.
I don't know, I really only had 1 and 2, but I'm there there's a thousand other solutions.

This would seem like a relatively big change, but it's not terrible, some of the development docs would need to be updated. This obviously needs a lot of discussion though. Thoughts?
One other note: I forget which of godep and party have issues with getting dependencies across all values of GOOS/GOARCH, I think both of them do actually, but generally I just do GOOS=linux GOARCH=amd64 for linux-only apps when doing dependencies, and I think this is effectively what has been doine with godep right now but it should be noted somewhere for those who are developing on mac and then doing all local testing within docker containers.

cc/ @lavalamp @JanetKuo

Yeah, it's a pain to import our client right now.
We have work in progress to reduce the number of imports needed. We'll also definitely be investigating 1.5's new vendoring system.
We definitely can't do rewriting in our main repo, various downstream consumers have this as a requirement (including red hat and google). (Although if you want to make local clones that rewrite before you import into your project, nothing is stopping you.)

See also #7584 and the issues it references


update version and changelog

Coverage decreased (-0.4%) to 98.624% when pulling 667f9eaa11d0110f8e1413f26a8ec9b7ba8db0db on gem-release into e521abd799dca2f4abbf71f058af3c1ba3af5cdf on master.


update estraverse version to newest for supporting es6 feature.

@michaelficarra

It seems that esutils API change causes the failures of the tests.
Could you update the use of APIs?

@Constellation Oh,sorry for that. Now i fix the test case;

Thanks, :D


iOS with Voiceover does not aria-current="page" when placed on a li element

Observed on a breadcrumb: https://github.com/hmrc/accessibility-audits-external/issues/4900
Seems to be saying it is supported but I am experiencing it on iPhone software version 15.2  https://a11ysupport.io/tests/tech__aria__aria-current

Issue fixed - link to tech summary https://github.com/hmrc/accessibility-audits-external/issues/5509


⚠ Bofrost.at has degraded performance

In fed623c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1766 ms

Resolved: Bofrost.at performance has improved in 006a5c3 after 13 minutes.


chore: Configure dependabot

Ignore major dependabot updates for chalk, execa and axios because new versions require ESM which we don't use yet.

[x] I know which base branch I chose for this PR, as the default branch is v2-main now, which is not for v3 development.
[x] If my change will be merged into the main branch (for v3), I've updated (V3-Upgrade-Guide.md)[./V3-Upgrade-Guide.md] in case my change has any implications for users updating to SDK v3

Question: How can we remember to remove this when we migrate to ESM? If there is a ticket for this task perhaps we can add this PR so that we revert this when possible.


chore: revert pnpm lockfile

Overview

In this PR, the TypeScript version in the lockfile was changed to my local version "5.5.2", so I reverted it. 😅
PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

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

Project coverage is 80.88%. Comparing base (80289d5) to head (dcdfe69).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #973   +/-   ##
=======================================
  Coverage   80.88%   80.88%
=======================================
  Files          38       38
  Lines         450      450
  Branches       99       99
=======================================
  Hits          364      364
  Misses         77       77
  Partials        9        9

Components
Coverage Δ

@suspensive/react
97.03% <ø> (ø)

@suspensive/react-query
∅ <ø> (∅)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/react-await
100.00% <ø> (ø)

@suspensive/react-image
23.52% <ø> (ø)


[clkmgr] clkmgr V2.5 TODOs

Description
Some of these may already have been completed in #18380

[ ] hw/ip/clkmgr/dv/tb.sv
114:    // TODO: This is not the right reset to use here.
154:    // TODO: connect and use this interface.

[ ] hw/ip/clkmgr/dv/clkmgr_sim_cfg.hjson
27:  // TODO: remove imported cfgs that do not apply. → cleanup, can be deferred

[ ]  117:    // TODO: add more tests here → noise

[ ] hw/ip/clkmgr/dv/env/clkmgr_if.sv
57:  // TODO: This is a core env component (i.e. reusable entity) that makes hierarchical references → cleanup, can be deferred

[ ]  221:  // TODO:: this fix is not right since there are now 3 status → 0.5 .. 1.5 d DV

[ ] hw/ip/clkmgr/dv/env/clkmgr_scoreboard.sv
323:          // TODO(maturana) Insert coverage. → 0.25 .. 0.5 d DV

[ ] 329:          // TODO(maturana) Insert coverage. → 0.25 .. 0.5 d DV

[ ] hw/ip/clkmgr/dv/env/seq_lib/clkmgr_smoke_vseq.sv
98:      // TODO: Temporary update to account for idle counts → 0.5 .. 1.5 d DV

[ ] hw/ip/clkmgr/data/clkmgr.hjson
4:// TODO: This module is only a draft implementation that covers most of the clkmgr → cleanup, can be deferred

[ ] hw/ip/clkmgr/data/clkmgr_testplan.hjson
6:  // TODO: remove the common testplans if not applicable → cleanup, can be deferred

[ ]  13:                     // TODO: Top-level specific Hjson imported here. This will likely be resolved → cleanup, can be deferred

estimate 16

All TODOs were fixed in https://github.com/lowRISC/opentitan/pull/18380.


I'd like %I64d to print int64_t, even it's not standard.

My company aways use fixed int type . It's very disgusting to use "%" PRI64d "".

I certainly agree that it's annoying and unintuitive to write "%" PRI64d "".
Tell me, though...

Which compilers support this?
Where is the exact specification of how this behaves?
How widely used do you believe this is?

use Preprocessor to select

msvc mode only I32 I64
all 8,16,32,64.

@superzmy: Can you answer the rest of my questions though?
@mickjc750 , what do you think?

@superzmy : ping.
@mickjc75 : also ping.

So far the GNU printf() has been the benchmark. I'd recommend keeping it that way.

@mickjc750 : Well, there's a positive and a negative aspect of it being a benchmark. Any valid format string for GNU printf is a valid format string for us (ignoring %a and long-long-double which we haven't implemented yet). But a malformed format GNU print format string being rejected by us as well has not been a principle of mine...
Let me put it to you this way: Suppose you could make this change in GNU printf as well. Would you have it support %i8, ... %i64?

@eyalroz yes I would. I agree that it's better than PRI64d.

@mickjc750 : So why not offer this as an optional feature? It can even default to OFF for GNU printf compatibility.

@eyalroz I see it as non-portable feature creep. Although I'm probably biased as I'm always in Debian.

I'm for this change. PRI64d is a mess.

@JakeSays : And what would you respond to mickjc750's claim that it's "non-portable feature creep"?

@eyalroz First, it's not "feature creep" if we as a community decide that it adds value. Secondly, if MSVC wasn't important then clang wouldn't have implemented compatibility for its syntax.

if MSVC wasn't important then clang wouldn't have implemented compatibility for its syntax.

It does? Can I have a link to that?

https://clang.llvm.org/docs/MSVCCompatibility.html

@JakeSays : So, %I64 is supported with -fms-extensions?
Well, I think I'm sold. Let's add the %I format specifiers for 64, 32, 16 and 8. I will make them optional features though!

@JakeSays , @mickjc750 , @superzmy : Please have a look at PR #83 .

@superzmy : Please give the development branch a spin using %I specifiers...

I don't understand what this means
【The I specifier is not in the C (nor C++) standard, but is somewhat popular, as it makes it easier to handle integer types of specific size. One must specify the argument size in bits immediately after the I: I8 for int8_t, I16 for int16_t, I32 for int32_t, I64 for int64_t. The printing is "integer-promotion-safe", i.e. the fact that an int8_t may actually be passed in promoted into a larger int will not prevent it from being printed using its origina value.
There is no unsigned equivalent of the I specifier at the moment.】
Usually we write "%I64d %I64u %I64x" in MSVC format. 'I' means signed or unsigned integer type, other than float type

@superzmy : Oh, sorry, I didn't update the documentation. Updated it now.

Can you please add #defines to compile-out this behavior for users who don't need it? It generates a ton of warnings for with Clang, and I don't want to disable -Wformat because it is useful for actual formatting problems.

@phillipjohnston Oh, I forgot the defines in the test suite... I'll fix that, of course.


Add absolute_path function

I asked on the discord and was told there was no function to get the absolute path from a relative path, so here one is!
I haven't written tests for this, please let me know what form the should take.

For some reason the CI job didn't start, so I pushed an empty commit. This should merge soon. If this is functionality that you need, I'm happy to cut a release, just let me know.

I'm in no desperate need :)
This has been my first even contribution to a FOSS project, so thanks for giving me the opportunity and helping me through it!

Nice! Very glad to hear it!


update to python 3.9

Changes
Test py 3.9 as minimum version
Related Issues
Closes #216
Checks

[x] updated CHANGELOG.md
[x] updated tests
[x] updated doc/
[x] update example/tutorial notebooks

waiting to test the binder build for this branch

waiting to test the binder build for this branch

Branch runs fine on binder with ipympl
However since this is JupyterLab3 k3d only works in the classic notebook interface for now. Let's hope this get's updated soon

tracking RTD build support for python 3.9 via https://github.com/readthedocs/readthedocs.org/issues/7554

However since this is JupyterLab3 k3d only works in the classic notebook interface for now. Let's hope this get's updated soon

Even though the lab interface is nicer, we can also run the classic interface on binder until k3d has better jupyter-lab support.

However since this is JupyterLab3 k3d only works in the classic notebook interface for now. Let's hope this get's updated soon

Even though the lab interface is nicer, we can also run the classic interface on binder until k3d has better jupyter-lab support.

yes it would be nice if k3d works in the notebooks directly without switching interface
It's a bit limiting because one has to pin ipympl & matplotlib version carefully (i think) to still work with jupyterlab2 (testing if this works with py39)


feat: add tooltips to  elements

So that text can be fully read in small spaces anyway.
New truncateTooltip property can be used to control how the tooltip looks and if it should be shown at all.
Sample locations how this could look in cinny with slight modifications:

Hey @WebFreak001 , folds provide basic atom components i.e a Text only care about text and a Tooltip only about provide UI for tooltip. Combining two atom component is anti pattern for this repo. If Cinny needs such functionality it can use folds Text and Tooltip components and make its own TextWithTooltip component.

truncated text should always have a way to show the full text somehow, as a basic accessibility feature. So I'd argue this is a part of a Text atom and makes sense this way.
The alternative would be generating a plain title, which isn't stylable and has some limitations such as not being able to show icons, etc.

bump


Messenger

When trying brew cask install messenger the app doesn't work (it starts with a gray window but nothing happens).
Any help ?

We only download and move the app, we don’t modify it. You need to contact the developer.

I was hoping that changing the version in the recipe could help. But as usual, asking the question triggered the instantaneous self-resolution of the issue. Sorry for the mess

https://github.com/rsms/fb-mac-messenger/issues/273 looks to be the relevant issue. Anyways, upstream problem :)


Issue: Action Test fails

Describe the bug
go test -v ./... fails
To Reproduce
Steps to reproduce the behavior:

Go in Actions
Rerun the build

Expected behavior
Test should pass

It seems there's an invalid /etc/hosts file in the environment used to execute the build task.
https://github.com/actions/virtual-environments/issues/3353

The library assumes it is a host line because it does not starts with a '#'.
This should be handled by the parser and the line should be masked as unknown


[ASv2] test direct issuer attestation flow in FA contract

In the FA contract we will allow issuers to register attestations directly without a signature. This flow needs to be tested.


Errors when running run.sh

I am installing AlphaGeometry in Debian 12.5, and I'm running into a few issues with the installation script.  I get the same first two errors if I use the built in version of python3, and if I use pyenv to install version 3.10.9.
We are hoping to use AlphaGeometry in one of our classes on mathematics and AI, so I am trying to find a very simple way to explain the installation for math majors, who may lack direct experience with or access to a Linux distribution.  I am currently working with the Windows Subsystem for Linux version of Debian, but suggestions for alternative or preferred operating systems are also welcome.
Here are the errors I have run into, along with the workarounds I have tried.

There are two packages in requirements.txt that are giving errors.  (Full error messages are included at the end of this issue)
a.  tensorflow-text does not appear to have an available version 2.13.0.  Changing the version to 2.13.0rc0 seems to work, but requires adding a new hash.
b. it does not seem to recognize the fact that etils does indeed have a version in the line
etils[array-types,enp,epath,epy,etqdm,etree]==1.5.1
either deleting the part in brackets or deleting the hashes and using without --require-hash seems to help

in numericals.py, I get the error
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
Moving matplotlib.use('TKAgg') directly after import matplotlib seems to help

I am also sometimes running into a third issue, after making the above changes to fix my first two issues.
When attempting to install alphageometry using the debian Python 3.11.2, I get the error tensorflow.python.framework.errors_impl.NotFoundError: ag_ckpt_vocab/geometry.757.model; No such file or directory during the execution of alphageometry.py.  The folder ag_ckpt_vocab is empty, but I don't know if this is a result of the above changes I made, the use of python 3.11.2 instead of 3.10.9, or if this file is supposed to come from the gdown command (it's giving a permission error, so I downloaded the checkpoint file using a browser instead).  On the other hand, the my attempt using Python 3.10.9 using the above changes but also using gdown did not have the same missing file error.

Any suggestions or edits to resolve these errors would be greatly appreciated.  Thanks for assistance.

Here are the full errors from requirements.txt
ERROR: Could not find a version that satisfies the requirement tensorflow-text==2.13.0 (from versions: 2.12.0rc0, 2.12.0, 2.12.1, 2.13.0rc0, 2.14.0rc0, 2.14.0, 2.15.0rc0, 2.15.0, 2.16.0rc0, 2.16.1)
ERROR: No matching distribution found for tensorflow-text==2.13.0
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
etils[epath] from https://files.pythonhosted.org/packages/d0/3c/784b5f94bcad62a4167f2347fe1095b627433c22a54aecc4504237494b81/etils-1.8.0-py3-none-any.whl (from array-record==0.4.1->-r requirements.txt (line 28))

You can install all packages from requirements.in, that works

i had the exact same three errors with python 3.10. for 2, i changed to matplotlib.use('Agg'). 1 was resolved by using a conda env with python 3.10. hitting 3 now...

Breadcrumb for the next guy for #3:
"tensorflow.python.framework.errors_impl.NotFoundError: ag_ckpt_vocab/geometry.757.model; No such file or directory"
See:
https://huggingface.co/abrahamabelboodala/ALPHAGEOMETRY_ag_ckpt_vocab


Don't warn on Content-Type boundary change

When sending multipart payload while setting the 'Content-Type' header,
rest-client complains about the headers changing:
warning: Overriding "Content-Type" header "multipart/form-data"
with "multipart/form-data; boundary=----RubyFormBoundaryueJ8T7XEKh2BLjan"
due to payload

Since we're actually not changing the 'Content-Type' but rather just
extending it, we should not produce this warnings in this case.

Thanks for the PR, but this is a little bit beside the point. When rest-client is used for multipart uploads, it sets the content type because it knows it has to control that header in order to correctly form the HTTP request. It's warning you that the user-provided value is being discarded and will never be used. Really in these cases you shouldn't be setting a content-type header, since that only creates confusion about where the content-type header is coming from.


Error deserializing data that was serialized prior to v1.7.0

ParsedResume and ParsedJob objects serialized with versions prior to v1.7.0 (#48) cannot be deserialized with later versions because of this change

Was fixed in #55 and available as v2.3.1


GaussianNB instance not fitted yet

Hi, am trying out the web application firewall but seem to run into this error. Checked everywhere and am unsure on how to continue.

There's a small issue with WAF right now. It seems that the .csv files are misnamed and GaussianDB is using depreciated method. Thanks for bringing this to our notice. Will fix it.

There's a small issue with WAF right now. It seems that the .csv files are misnamed and GaussianDB is using depreciated method. Thanks for bringing this to our notice. Will fix it.

Hey @DigvijayBhosale1729 Can you please guide me to solve this, like from where Can I start


Issue/gsp database

Pull Request
Description
get GSP data from database
mainly copied from nowcast_dataset
Fixes #45
How Has This Been Tested?
unittest and in big e2e test

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #47 (f19506e) into main (977db73) will increase coverage by 0.74%.
The diff coverage is 98.21%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   81.67%   82.41%   +0.74%
==========================================
  Files          65       67       +2
  Lines        2276     2372      +96
==========================================
+ Hits         1859     1955      +96
  Misses        417      417

Impacted Files
Coverage Δ

ocf_datapipes/load/gsp/database.py
97.67% <97.67%> (ø)

ocf_datapipes/load/__init__.py
76.92% <100.00%> (+1.92%)
:arrow_up:

ocf_datapipes/load/gsp/gsp.py
86.48% <100.00%> (ø)

ocf_datapipes/load/gsp/utils.py
100.00% <100.00%> (ø)

ocf_datapipes/production/power_perceiver.py
100.00% <100.00%> (ø)

...orm/xarray/add_t0idx_and_sample_period_duration.py
100.00% <100.00%> (ø)

ocf_datapipes/utils/eso.py
78.87% <100.00%> (+0.93%)
:arrow_up:

ocf_datapipes/config/model.py
82.45% <0.00%> (+0.87%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Changing camera source on a MacBook

I'm trying to use this script, https://github.com/kevinam99/capturing-images-from-webcam-using-opencv-python/blob/master/webcam-capture-v1.01.py, on my MacBook with an extra, USB webcam attached to it to take a quick picture for a demo. But, I'm unable to access the USB cam, only the built-in iSight or whatever camera.
I know the script is from another person, but he hasn't been answering any questions, so I thought I would try here.
I had hoped that changing webcam = cv2.VideoCapture(0) to webcam = cv2.VideoCapture(1) would allow me to use the USB camera, but it still uses the built-in camera. The USB camera does work with Photo Booth and other applications, but not via this py file. Any ideas on what I need to do?
Thanks for any help!

Maybe, It is due to macOS Mojave new privacy protections when an app is requiring access to the webcam or microphone if you are using the same.


feat: auto-increment for entity id

We could add a way to enable auto-increment of the entity id, this was suggested by 0xclems on Discord.

Hi, can you assign it to me please (it's 0xclems ! ) I Will start to check how to implement it.


Progress bar does not update correctly when playing

As far as it looks updating the progressBar for player items gets wonky when the currentPlayer gets swapped in LoopedPlayer.
This is just a minor cosmetic issue, but fixing it won't be super easy so I'll resolve this once I get around to it.

This will be resolved with the 1.0 update


Source code of "Unbalanced Circuit-PSI from Oblivious Key-Value Retrieval"

I've been reading the article recently and the paper mentions that the source code is in this repository, but it's not very clear for me to find out which part of the code corresponds to this paper. I'd appreciate some guidance and thank you in advance!

The implementation of our paper "Unbalanced Circuit-PSI from Oblivious Key-Value Retrieval" is in https://github.com/alibaba-edu/mpc4j/tree/main/mpc4j-s2pc-pir/src/main/java/edu/alibaba/mpc4j/s2pc/upso/ucpsi.
I am sorry that the implementation is hidden in PIR. We have created a separate submodule, mpc4j-s2pc-upso, and moved all Unbalanced Private Set Operation (UPSO) implementations into it in the next preparing version (1.1.1).
However, note that we are still implementing many new protocols. We need more time to reorganize the source code for the next version. We will release it once we have done so.

Thank you so much for your help. But I only find PSTY19, CGS22 and SJ23 protocols in  https://github.com/alibaba-edu/mpc4j/tree/main/mpc4j-s2pc-pir/src/main/java/edu/alibaba/mpc4j/s2pc/upso/ucpsi. I'm wondering about the implementation of this paper.

In fact, PSTY19 in ucpsi is actually the implementations of our paper. We do not name our implementations as HLP+23 or something. The reason is that the core idea of our construction is to replace directly sending OKVS in PRTY19 to invoking OKVR (in other words, PIR), and we follow the original PSTY19 name as our name. The SJ23 is the baseline. CGS22 is another construction and it is correct, but we do not include it in our paper. In the next version, we will remove CGS22.

Okay I get it. Thank you very much for providing the source code and also implementing the other protocols.

Hi, I'm trying to study the experiment inside the paper, which mentions that the experiment was carried out with 8 threads. However, I only found the bool variable "parallel" in the source code to control the multithreading, and I didn't find the method to set the number of multithreading. I am running the experiment on my server and it will use all the 32 threads. I'm not familiar with JAVA and would appreciate your help!

In our implementation, we use the common thread pool to manage multi-thread execution. The way of limiting the number of threads to 8 is just adding -Djava.util.concurrent.ForkJoinPool.common.parallelism=8 when running the jar, that is, java -Djava.util.concurrent.ForkJoinPool.common.parallelism=8 -Djava.library.path=/MPC4J/NATIVE/FHE/ABSOLUTE/PATH/cmake-build-release/:/MPC4J/NATIVE/TOOL/ABSOLUTE/PATH/cmake-build-release -jar YOUR_JAR_FILE.
By the way, do you plan to use mpc4j as your benchmark? If you also plan to implement your own work based on mpc4j, welcome to email me so that I may try to merge your work into mpc4j.


Applicant - Hover and click to view applications from dashboard

User Story
As an applicant
I want to be able to easily get to my application
So that I can have a better experience opening my application
Description
Applicants want to be able to click anywhere on the row in their dashboard to open their application.
Acceptance criteria

[ ] Given an application status is "Draft"
When I click anywhere in the row of an application (except the action buttons)
Then I'll be redirected to the last edited page

[ ] Given an application status is "Submitted" or "Received"
When I click anywhere in the row of an application (except the action buttons)
Then I'll be redirected to the review page

@elliottSlee , is this duplicated? What is the difference between this and #31 - Dashboard?

@elliottSlee  and @zoeyli-46, should the same Business Rules be applied to the "Edit" button?

This ticket is imperative for viewing withdrawn applications and for viewing submitted applications after intake closes.

@matthieu-foucault @wenzowski @AntBush @marcellmueller the acceptance criteria have changed. Change you please re-estimate?

@elliottSlee just so you are aware I have removed the hover state from the acceptance criteria for now, we will need another ticket for it if we are going to bring that in later

Not required - closing ticket


chore(k8s_audit_plugin): bump k8s audit plugin version

What type of PR is this?
/kind failing-test
/kind feature
Any specific area of the project related to this PR?
/area build
/area tests
What this PR does / why we need it:
Bump the k8s_audit_log plugin version and fix a test.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Andreagit97
To complete the pull request process, please assign mstemm after the PR has been reviewed.
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 83b4fdea66ed5a073c173edc9c41911c15b9c396

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.33.0


Parse UTF-8 arguments

Simple fix to enable passing UTF-8 on commandline (with properly set up locale of course). Before all multibyte UTF-8 characters were garbled. Due to UTF-8 ASCII back-compat this should produce no ill effects..

Thanks, sorry for taking so long.


R&D: Use command output instead of intermediary file

Joshua, maybe you tried that before or you know the answer immediately.
For now, when we extract the Exif, we create a file "-metadata.txt" beside the original photo.
I feel this to be not ideal because of all possible problems we could get into like read only directory, shared folder, etc.
Maybe we can find a way to read directly from the command output instead of creating a temporary file.

Sure, take a look into it.

PR #105


Support for "Details to Grid View Converter" addon

Feature Description
Darklinkpower's Playnite addon Details to Grid View Converter allows the Grid View details panel to be converted into the Details View, so all the information from the details view shows up in the grid view details panel.
Not sure how easy it is to implement as I have only seen darklinkpower's own themes use it, but understand if it is not possible.
Screenshots
No response

Im not sure its really necessary because I made both view almost the same way, it would help me if you could tell me which element of the theme you are talking about?

It is not a specific element but more of being able to use Theme Modifier to change how the details view looks, so it can be customizable for the grid view details pane. Upon closer inspection, I did not realize that both views are equally customizable with Theme Modifier and both views have the same elements. Forgive me.

Its ok! Im gonna close this seen its been resolved.


Improve AppTP/NP DAU reporting

Task/Issue URL: https://app.asana.com/0/488551667048375/1205480399304955/f
Description
Ensure users that have AppTP and/or NetP enabled are properly accounted for in DAUs.
Steps to test this PR
QA optinoal

Current dependencies on/for this PR:

develop

PR #3572   👈

This comment was auto-generated by Graphite.


DNA binding site motif in the browser

replaces
https://github.com/pombase/website/issues/903
https://github.com/pombase/website/issues/1419
https://github.com/pombase/website/issues/802
These are  provided by a script that uses these binding sites
https://www.pombase.org/browse-curation/dna-binding-sites
The script needs rerunning to pick up new binding sites.
Suggested additional changes:

Ask pombelist if they know of any additional (and find a more prominent place to host the list)
users seem to be quite interested in this data
https://user-images.githubusercontent.com/7359272/41833353-e2468ef8-7847-11e8-9a46-c5aba5bd2186.jpg

From @Antonialock  extend page using Maria's data (I don't know which data this means?)

Standardize the motif syntax   on webpage https://www.pombase.org/browse-curation/dna-binding-sites
remove [5'-
Is the symbol for OR a "/" (sometimes a | is used)

Omit mating-type M-box ACAAT, there is only one functional version of this, it depends on context. Currently, we flag  M-box ACAAT 45439 feature.

CCAAT box currently uses consensus CAAT so it is over-represented. Check this is updated

Prepare one track for each TF binding motif?
using https://github.com/pombase/website/blob/master/src/docs/browse-curation/dna-binding-sites.md
https://github.com/pombase/legacy-eg-loader
https://github.com/pombase/legacy-eg-loader/blob/master/scripts/GenerateBindingMotifTrack.sh

If we don't have separate tracks, we need pop-up display labels:
WGATAA display label would be "iron repressed GATA element"
ACAAT display label would be mating type M-box
(permanent labels would be too cluttered)
although I think separate tracks is preferable

Add labels to the features
Create one file per TF, and one composite file


Update Transport Booking Management feature in User Guide

Update the commands format, examples and descriptions.

Resolved by #174


fix(button): allow height of buttons stretch

Summarize the changes made and the motivation behind them.
Add styles to parent container to allow children stretch
Reference related issues using # followed by the issue number.
#855

Thanks, @000000armor.
I think that is worth to test what would happened if we have something like this:
<Button.Group>
      <Button color="gray">
        <HiUserCircle className="mr-3 h-4 w-4" />

          Profile

      </Button>
      <Button color="gray">
        <HiAdjustments className="mr-3 h-4 w-4" />

          Settings
 with breakline

      </Button>
      <Button color="gray">
        <HiCloudDownload className="mr-3 h-4 w-4" />

          Messages

      </Button>
    </Button.Group>

I think that the icon and text will not be centered. Can you check?

@rluders yes, I'll check it. that's a nice corner case. Maybe we should add it to storybook example to show how the component should behave in certain situations?

@rluders is it expected behaviour for provided case?


CsrfToken error on search form

SearchForm throws invalid CsrfToken while DjangoDebugToolbar's SQL block enabled.
From Developer tools I see that after submitting search form POST request is send instead of GET.
After researching I found, that JS which submit search form, looking for any form on the page and submit it. And DDT has his own html forms in SQL block. So, JS submit DDT form instead of search.
Pull request with fix will be added soon.

fixed in pull request https://github.com/sanoma/django-arctic/pull/249


SDN-1492: Delete .rhel7 dockerfile

Now that we have merged https://github.com/openshift/release/pull/14990
and https://github.com/openshift/ocp-build-data/pull/808 we can go
ahead and remove the .rhel7 file.
As agreed on https://github.com/openshift/network-tools/pull/24 , let's remove the extra Dockerfile and keep it clean.
/assign @danielmellado and @juanluisvaladas

/hold
till https://github.com/openshift/release/pull/14990 merges.

/hold
till https://github.com/openshift/release/pull/14990 merges.

/approve

/approve

/hold cancel
/test e2e-aws

/hold cancel
/test e2e-aws

/approve

/approve

/lgtm

/lgtm


gulp-sass ignoring some changes

Hi,
First of all, thanks for the great plugin.
I'm having a really weird issue. It seems that gulp-sass is ignoring some of my changes if they are almost the same. Let me explain it and show you my task:
gulp.task('styles', () =>
  gulp.src('src/assets/scss/main.scss')
    .pipe($.if(!argv.prod, $.sourcemaps.init()))
    .pipe($.sass({
      precision: 10,
      includePaths: ['.', 'bower_components/bootstrap-sass/assets/stylesheets/']
    }).on('error', $.sass.logError))
    .pipe($.postcss([
      autoprefixer({browsers: 'last 1 version'})
    ]))
    .pipe($.size({
      title: 'styles',
      showFiles: true
    }))
    .pipe($.if(argv.prod, $.rename({suffix: '.min'})))
    .pipe($.if(argv.prod, $.if('*.css', $.cssnano())))
    .pipe($.if(argv.prod, $.size({
      title: 'minified styles',
      showFiles: true
    })))
    .pipe($.if(argv.prod, $.rev()))
    .pipe($.if(!argv.prod, $.sourcemaps.write()))
    .pipe($.if(argv.prod, gulp.dest('.tmp/assets/stylesheets')))
    .pipe($.if(argv.prod, $.if('*.css', $.gzip({append: true}))))
    .pipe($.if(argv.prod, $.size({
      title: 'gzipped styles',
      gzip: true,
      showFiles: true
    })))
    .pipe(gulp.dest('.tmp/assets/stylesheets'))
    .pipe($.if(!argv.prod, browserSync.stream()))
);

Inside ''src/assets/scss/main.scss', I include all the partials scss that I need on my project (ex: @import "modules/nav")
So, let say I made a change on the '_nav.scss' file, and add a font size property like this: 'font-size: 20px' on a list item of the nav. It properly update the builded css, and update the font size, BUT, I then change the same font-size for let says '15px', it will run the task, but will not update properly the builded css. Only if I made a bigger change, like '115px' or something like that.
Here is a video showing the issue: http://screencast.com/t/QHXIbLCGqnM
Thanks,
Andres

I tried it on my local with just the gulp-sass library and it worked fine. I guess it is something else on the gulpfile. Will close it. Thanks.


Factorio 1.1.0 breaking changes

[x] Renamed logistic-container prototype property 'logistic_slots_count' to 'max_logistic_slots' [#83]
[ ] Base game technology icons now use 4 mipmaps and icon size 256 instead of icon size 128 and no mipmaps

From https://forums.factorio.com/viewtopic.php?p=521904#p521904

Icon size belongs in #51. It's not a breaking change for us, just would be nice to use the new icon size when we refresh graphics.


there is something unsuitable  about isGenerator and isObject function

function isGenerator(obj) {
  return 'function' == typeof obj.next && 'function' == typeof obj.throw;
}

why not use toString.call(obj)==="[object Generator]" to replace that?
I think this is a more definite judge solution than default way;
function isObject(val) {
  return Object == val.constructor;
}

val.constrctor could be rewrited, I suggest that we can use toString.call(val)==="[object Object]" to get a more explicit check;

When yielding {} in a generator, I get this message because the isObject function isn't more robust
TypeError: You may only yield a function, promise, generator, array, or object, but the following object was passed: "[object Object]"

isObject, according to the most upvoted stackoverflow post should be:
return typeof yourVariable === 'object' && yourVariable !== null

Please label as Bug


Buffer comparison cast fix

This is a fix for #86.
Size_t is unsigned and pos can be negative. After the change, I could not reproduce the problem.
Also, I increased the size of the patter queue to 100, like in the main queue with uart 0. I ran into a full queue multiple times.
W (3232) uart: Fail to enqueue pattern position, pattern queue is full.

Right now, yes. But maybe we should have an eye open for this and change it sometimes.


Problem reading tags with RDM6300

Hi,
I'm using the dev branch and flashed the project on a D1 Mini, the RDM6300 TX is connected to the RX of the board and VCC and GND is shared between the two boards.
I can read the tags with an example sketch, but with esp-rfid nothing comes on the serial.
I tried to print the serial output from the genericRead function in rfid.esp and it's always 0, if I change the baud rate of the serial port to 9600 something is coming out but still isn't reading them as tags.
If you need more information feel free to ask.
Thank you

hey @teodino93 can you share the sketch that works? Maybe we can start from there :)
Unfortunately I don't have a RDM6300 to test, so I need to rely on you helping me out, OK?
If there's anyone else that can help it would be really helpful, by the way.

Actually, have you seen the doc:

It looks like you should connect RDM6300 TX to GPIO-03, right?
Let me know!

Hi!
I have used the example sketch on this library: https://github.com/arduino12/rdm6300
In my D1 mini the GPIO-3 is the RX pin, shared with the HardwareSerial.
The pin is correct because it reads a series of 0 when i approach the tag, but the RDM6300 needs a serial of 9600 baud, if I change it in the main code it reads the ID but the code after the but RFIDr.Available() is still false.
Can we think about using a different serial (or implementing that library) for reading the RDM6300?

hey @teodino93 I saw the example, and it's using a different library and different approach. Probably would be better to switch to that library, or at least change approach in the serial usage, as they are doing in the example.
More information on the two serials here: https://arduino-esp8266.readthedocs.io/en/3.1.2/reference.html#serial if someone can help it would be nice! :) I'll give it a try at some point, but any help is appreciated.

Perfect! I think I can test something on saturday, I'll be in touch if i achieve something!

I've created the PR #591  to fix the problem, no need for the library i linked, we can use a SoftwareSerial just for the RDM6300

I've created the PR #591 to fix the problem, no need for the library i linked, we can use a SoftwareSerial just for the RDM6300

How can i test? Im also using UART to send a number over serial. However my use case is from an rf receiver. I cant see any data being received on the esprfid when connected to GPIO4 or RX

Hey @timknowlden are you using the code in the PR #591?
I've had successfully tested that PR. It needed a bit more polish, but it was working. Are you sending data at the right baud rate? You need to send data at 9600.
If you want to help on the PR I'm happy to guide you, it needs to add a bit of configuration and a bit of cleaning :)

Fixed here: https://github.com/esprfid/esp-rfid/pull/655


add to support initial admin password for cloud team and native k8s s…

cherry-pick of op[stream passwd changes

Change pulled in via sync with neuvector helm master


[Bug] Session id / operation id are not isolated by share level.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the bug
In USER level and GROUP level anyone can access to other users' / groups' Session and Operation as long as they have the session id or operation id. This breaks the share level isolation and may cause resource leak.
Affects Version(s)
master
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
Disable authentication and authorization.

Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
[X] No. I cannot submit a PR at this time.

Perhaps it would be beneficial to include some redaction on these crucial handles.

What do you mean for redaction?

https://kyuubi.readthedocs.io/en/v1.7.0/search.html?q=redaction, we have redactions for sensitive information in configurations. I guess we can apply something similar to these handles

Sorry, it could be a workaround but not the final solution. I guess what Kyuubi should do is to check the access permission for sessions and operations, otherwise Kyuubi engines can't be isolated.

How can you Disable authentication and authorization. and check the access permission? Sorry, I am confused

authentication and share level isolation are 2 different things, right?

user1 can't get access to user2's stuff (on USER share level) even if the authN is disabled, am I wrong?

I verified for both authN enabled and  disabled and the problem is always there

OK, I got your point. One solution might be to reuse the secret field of THandleIdentifier

Is it easy to fix

yes, it's just partially revert https://github.com/apache/kyuubi/pull/2829/files


Add feature to set settings per prompt

Hello,
I have service registering multiple prompts and I want to use different temperature and top_p settings for each prompt but there is no option to do this. Can this be added with an Annotation like @Settings or @AiSettings or @PromptSettings ?
Thanks

Hi,
Those are settings which apply per ChatLanguageModel (see OpenAiChatModel), which means they cannot be set per AiService.
What you can do is use @RegisterAiService(modelName="foo")
where you have configured something like:
quarkus.langchain4j.openai.foo.temperature=1.0

Thanks for the quick response !
Oh I see, is there a point of on allowing it to be set in application.properties / yaml versus being in the code as annotation ?

The reason is that a ChatLanguageModel can serve multiple purposes, one of which is to back an AiService.

thanks !

🙏🏼


I hava a problem about Webpack's require.context in Jest

I want to use jest to test my Vue component, but the component has a child component and it use the Webpack's require.context, so, after test task , it's repeat a FAIL,
"TypeError: require.context is not a function"
I tried to fix it but it didn't work, including the method on stockoverflow，please help me, thanks!

Duplicate of https://github.com/facebook/jest/issues/2298
You'll need to mock require.context and assert on that.


[Website] Apps Showcase page.

Describe your idea
Todo:

[ ] Add a showcase page on Detox website (https://wix.github.io/Detox/).
[ ] Create a Google submission form for websites to join the showcase (or through our Discord server).

Examples:

https://reactnative.dev/showcase
https://wix.github.io/react-native-navigation/showcase

Notes:

Detox is using Docusaurus for its website, see docs: https://docusaurus.io/.
Guide: Creating a new page on Docusaurus.
Path of Detox website on this repo: https://github.com/wix/Detox/tree/master/website.

@moutro CC


Add (stub) localization guide for Spanish

Rendered.
Copying some tips from https://github.com/kubernetes/website/issues/13948#issue-435641123

Thanks @sftim, the table was just a draft, far from "live" ready.
I will review it with the team and get a proper table. :)

How's this looking?

How's this looking?

Sorry, I'll keep you posted.

Is this PR ready for review?
/cc @kubernetes/sig-docs-es-reviews

Is this PR ready for review?
/cc @kubernetes/sig-docs-es-reviews

:wave: @sftim .
What do you think about the reviewer's suggestions?

https://github.com/kubernetes/website/compare/393520080aec4c22033fcdee3e94f3bb1c64b14b..cf69eb89569d69401c686ff8a5ab5f9e6eec5b4a accepted most of the suggestions, leaving the “ratio” discussion unresolved.
This can go in as-is and get tidied up once merged, or I can take a suggestion about what the table row for “ratio” should look like. I'm definitely not qualified to have a strong opinion.

Thanks all for participating!
I think we can start with the current state of the document and evolve it over time.
/label tide/merge-method-squash
/lgtm

/approve


Failed to build the Istio Proxy Envoy

root@LIN-4E29F97E22E:/media/B/micro/proxy# make build_envoy
export PATH=/usr/lib/llvm-10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ &&
bazel  build   --config=release @com_googlesource_chromium_v8//:build --verbose_failures --sandbox_debug &&
bazel  build   --config=release //src/envoy:envoy --verbose_failures
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
INFO: Analyzed target @com_googlesource_chromium_v8//:build (5 packages loaded, 16019 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/external/com_googlesource_chromium_v8/BUILD.bazel:30:8: Executing genrule @com_googlesource_chromium_v8//:build failed (Killed): process-wrapper failed: error executing command
(cd /root/.cache/bazel/_bazel_root/05461a5f5aec91df27c86f078e388971/sandbox/processwrapper-sandbox/1/execroot/io_istio_proxy &&
exec env -
BAZEL_LINKLIBS=-l%:libstdc++.a
BAZEL_LINKOPTS=-lm
CC=clang
CXX=clang++
PATH=/usr/lib/llvm-10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TMPDIR=/tmp
/root/.cache/bazel/_bazel_root/install/46850c2a96e4b4b07623822a03209f74/process-wrapper '--timeout=0' '--kill_delay=15' /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; #!/bin/bash ....

"killed" sounds like OOM. Maybe you need to set --jobs to something lower

The environment memory is 8GB, which should be large enough. Can you build Istio Proxy Envoy successfully by executing the command 'make build_envoy'(release v1.9)?

The environment memory is 8GB, which should be large enough. Can you build Istio Proxy Envoy successfully by executing the command 'make build_envoy'(release v1.9)?

I am not that familiar with the envoy build, but it is VERY resource intensive. I would not be so sure 8GB is enough. Checkout top while you build maybe


fix: fs-router for non-Node envs

#572 depends on Node.js even in production build, which isn't ideal.

[x] persist build config in entries
[x] fix defineRouter
[x] fix createPages
[ ] fix fsRouter

That was a huge misunderstanding of mine. The approach I did for the full day doesn't work. Let me start over. 😓 😓 😓

Hmm, maybe not fully wrong, but I wonder the current approach is ideal. Well, I've been going back and forth and it will happen again...


[RELAY-2289] protoc image for .NET

This PR adds a new target to build the protoc docker image for .NET.

Closing this PR since this new image will be an exact copy of the protoc image. At the moment, the tools in the existing image is all we need.


Fixed issue with single careers layout

There is extra spacing at the bottom of individual careers between the "Interested in Applying" text and the content that followed. Removed the extra blocks so that the content follows the proper flow.
Changes

Updated markup to remove excess block div.

Testing

¯_(ツ)_/¯ I can't seem to get the individual careers locally, but this worked when making the same modifications in the console on www. See screenshot below.

Review

@schaferjh
@KimberlyMunoz
@anselmbradford

Screenshots

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

can you update the changelog

Tested with Ross's db in his Jobs' PR.

👍


Oversubscribing worker nodes?

@rwf14f, I am encountering some strange issues which looks like an interactive node and worker node is oversubscribing the same node.
 This job was started by the following config:
RequestMemory=16384
RequestCpus=8
queue

This node has 8 physical CPU (2 socket of Intel(R) Xeon(R) Gold 5122 CPU each has 4 cores). So this reservation should have made the node exclusive to the job.
Strangely, job 331 has landed on the same node <wn1906370.in.tier2.hep.manchester.ac.uk> apparently from this line of log:
001 (331.000.000) 2023-07-22 00:50:11 Job executing on host: <<IP_ADDRESS>:9618?addrs=<IP_ADDRESS>-9618+[2001-630-22-d0ff-b226-28ff-fe53-755c]-9618&alias=wn1906370.in.tier2.hep.manchester.ac.uk&noUDP&sock=startd_2449_6386>

This was submitted to the vanilla universe with this bit of relevant config:
request_cpus            = 8
request_memory          = 32G
request_disk            = 32G

So apparently these 2 jobs are oversubscribed to the same node.

They use SMT:
lscpu | grep "^CPU(s)"
CPU(s):                16

Two 8 core jobs fit on there just fine.

@rwf14f, that's what I fear. Usually when people requesting CPUs, they are requesting cores, not threads. Eg you can see from the env var that they will set various ..._NUM_THREADS=8 if they are requesting 8 CPUs. In this case it is oversubscribing the nodes and in most CPU intensive workload it is oversubscribing. The default should be binding to cores, not threads, and only in cases that multithreading is beneficial after profiling one should bind to threads instead.

Remember that this is an HTC cluster for HEP. Using SMT works for us and our workloads don't have a problem with this. When you provide your own hardware then switching off SMT on those is an option if you wish to do so.

@rwf14f, I think the more important question is if there's any constraint exists to avoid over-subscription? i.e. if 2 different jobs (Job A and Job B) has their HTCondor processes (Job A process 1, Job B process 1) assigned to the same physical node, multithreading or not, would CPUs be bind to individual processes, such that the Job A process 1 has exclusive access to the say first 8 logical CPUs and Job B process 1 has exclusive access to the other logical CPUs?
Thanks.

Assigned to me just now, to see if this can be configured from our side first.

We're not using CPU pinning or similar, it's the OS that decides which process runs on which (SMT-)core.
Are you trying to use pinning with MPI options ? Are you also worried about NUMA-nodes ?

Hi, @rwf14f, right now I'm not starting to worry about NUMA yet. I'm trying to understand the implication of having 2 different HTCondor processes on the same physical nodes and whether each of them have "exclusive" access to their own pool of CPUs (i.e. the CPU affinity / pinning here.) I.e. I'm trying to understand if an over subscribed process will interfere another non-over-subscribed process.
I'll run some tests today and figure out the implications first. Thanks!

Our documentation has mentioned this now, and the wrapper script I provided to launch MPI jobs has "fixed" this from our side. It still doesn't prevent other process on the same physical node oversubscribing into our requested CPUs, but this is a "won't fix" issue.
The solution is for us to always request a whole physical node, which is easier said than done as this is not the kind of constraints HTCondor allows. Constraints on the kind of nodes to launch is needed too.
And for those situations that we have to share same physical nodes with other processes, strangely enough, is to oversubscribe from our side too (which is the defaults if not using my wrapper scripts.) I will document this more in details.

Reopen in light of https://github.com/simonsobs-uk/data-centre/issues/35#issuecomment-1857536965
Copied from a presentation on 2023-08-02 from an internal DC meeting:

Over-subscription
Clearing up some confusion on the matter of oversubscription:

not about if SMT should be enabled in the BIOS (enable is good)
not about if request_cpus is factor of 8s.
it is not even about if request_cpus means logical cores.
it is a combination of

having SMT enabled such that a CPU core is by default a logical core (again, a good choice),
request_cpus=N from HTCondor will then assign N logical cores to the job (which is normal), and
Blackett configuration by default is setting OMP_NUM_THREADS=N. This together with the above means over-subscription. See Process and Thread Affinity - NERSC Documentation for example (This does not explain why but tells you the best practice. The why is related to how SMT works, and the fact that we are focusing on scientific computing, e.g. when people parallelize a region using OpenMP in a typical situation, all cores are doing the same thing on the same kind of data that makes SMT useless in this case.)

it is also partially related to the fact that we cannot have exclusive nodes. In HTCondor, nodes are always shared (heterogeneous nodes is a contributing factor that it is hard to get N processes with M CPUs each to land on N physical nodes.)

Obviously one can override the OMP_NUM_THREADS within their job, therefore the main question is if another HTCondor process can interfere with your process when over-subscription is occurring.
This is also related to having our own "partition" on Blackett vs. sharing with the whole machine. This does not imply DIY with "significant overhead".
Over-subscription test

simple mat-mul, $n = 20,000$
2 HTCondor processes on the same physical node
not: over-subscribed: 0:21.90s
over-subscribed: 1:01.63

The information is brief as it is an internal meeting, but the key is that I requested 2 separate jobs landing on the same physical node (where each occupied half) and I'm able to watch both of them over-subscribing into the CPU usage of whole node, which resulted in much slower performance comparing to not over-subscribing. I should emphasize that the over-subscription from 1st job is affecting the 2nd job, so it most probably means the cgroups is not working/configured as expected, which seems contradicting to what is said in https://github.com/simonsobs-uk/data-centre/issues/35#issuecomment-1857536965:

If a job requests 1 CPU but attempts to use 2 then cgroups will ensure that it's only using 1, but only on a fully loaded worker node where all resources are claimed and used by jobs.

More notes:
It could be partly due to a bug in HTCondor, see point (3) in https://github.com/simonsobs-uk/data-centre/issues/35#issuecomment-1857918798.
The recommendation that we can implement immediately is to set *_NUM_THREADS equals to no. of physical cores instead of logical cores. See notes above and point (1) in https://github.com/simonsobs-uk/data-centre/issues/35#issuecomment-1857918798.

@rwf14f, I just found out that some nodes seems to have multithreading disabled, such as
wn3805340.tier2.hep.manchester.ac.uk:
$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    1
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Stepping:              1
CPU MHz:               1497.711
CPU max MHz:           3000.0000
CPU min MHz:           1200.0000
BogoMIPS:              4190.53
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single ssbd rsb_ctxsw ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d


launch.json not valid in powershell

When I try to do some automation with PowerShell, I noticed that the launch.json doesn't seem to be a valid json-file - at least not for PowerShell.
I try:
get-content -Path '.\.vscode\launch.json' | ConvertFrom-Json`

and I get:
ConvertFrom-Json : Invalid JSON primitive: .
At line:1 char:45
+ get-content -Path '.\.vscode\launch.json' | ConvertFrom-Json
+                                             ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonComm
   and

or are there other ways to read the json?

The default launch.json that gets generated contains comments at the top of the file which Powershell don't know how to read. Remove those and try again.

We will remove the comments from the generated launch.json file to make it valid for the parser used by Convert-FromJson.

Perfect!  Thanks!
(and it's ConvertFrom-Json) ;-)


Ability to assign terminator within script (DB2)

I need to be able to change the default terminator from within a DB2 script.
This issue was raised previously, with a workaround (use the DBeaver menu to change the terminator character) accepted by the OP.
The workaround will not work in my production environment.  I'm expected to hand working scripts to our DBA who runs them from the DB2 command line.
I'm requesting you support the command-line version of changing the terminator character, namely the "--#SET TERMINATOR [char]" syntax.
Thanks!

@jeff-bowles Can you provide a step by step use case for this feature? It's not really clear what you are asking.

Hi - thanks for the reply.
The use-case for adding "--#SET TERMINATOR" syntax to the DBeaver IDE is convenience and automation.  If I write a script that can create/drop stored procedures, for example, I need that script to be able to run successfully by an automated process.  Using DBeaver menus to change a terminator character is not (easily) automatable.
I can certainly write and run an automatable script using a text editor and the DB2 command-line.  It supports the "--#SET TERMINATOR" syntax.  However, I cannot really develop and test the final version of that script inside a nice IDE like DBeaver unless it also supports the "--#SET TERMINATOR" syntax.
Here's a trivial example of a valid DB2 script (from the DB2 command line) that won't run inside the DBeaver IDE.  Real-world scripts are bigger and more complex, of course.  I'm not able to write and test the entire, final script using DBeaver, but must use a text editor to finish it (add the terminator pseudo-commands) and then test that at the DB2 command line.
--#SET TERMINATOR @
CREATE OR replace FUNCTION myschema.DT_RANGE(BegDT timestamp, EndDT timestamp)
RETURNS TABLE (
  rowid integer,
  somevalue integer
)
RETURN
  SELECT ROWID, someValue from myschema.sometable where datea between BegDt and EndDt@

grant execute on function myschema.DT_RANGE to GROUP MYGROUP@

--#SET TERMINATOR ;

Hello @jeff-bowles
Maybe you can try to change your script delimiters in Preferences?

You can write your delimiter end enable the "Ignore native delimiter" setting.

Would this help with embedding connection strings in a script?
Like @jeff-bowles , I need to provide unambiguous scripts to other users and I need to ensure the connections are defined. Not sure what the SQL syntax would be though. In my scripts, I use 'db2 connect to dbname' after specifying the db2profile

Verified


update map using pattern matching syntax

Let me know if this new test case is worth adding.

Could you squash those commits? Other then this :+1:

Hi Piotrek,
I accidentally closed this pull request and it seems there's no way to reopened so I opened another pull request with the commits squashed.
Tim actually granted me push permission for this repo so I took the liberty to accept the pull request.
There's another pull request from me. Do you mind reviewing https://github.com/seven1m/30-days-of-elixir/pull/18?


item version link returns 404 error

Describe the bug
If I visit an item via version number, for example, https://my-instance/items/version/10, it returns 404 not found error.
To Reproduce
Steps to reproduce the behavior:

checkout dspace-angular with release dspace-cris-2023.02.00 or dspace-cris-2023.02.01, and start the frontend with the default config.yml
visit http://localhost:4040/entities/publication/3da502b0-259e-424a-9a7a-66694af86f0b/full
click the version 1 in the version history table: http://localhost:4000/items/version/10
or after step 1 type the url http://localhost:4000/items/version/10 in web browse directly
This page will display "404 page not found". Backend received the request /server/api/core/items/search/findByCustomURL?q=version

Expected behavior
Item page of this version
Related work
none

I can confirm, that the item version link in the version history table does not work properly. It also affects DSpace-CRIS 2023.02.02. Since the error message points to the custom URL I guess it's really a DSpace-CRIS related problem rather than one of generic DSpace.

Let me add, that we have a workaround for that (which is really ugly, but I wanted to let you know): we have removed the link from the version history table. So it looks like this:

I will not create a PR for this, because it's really rather a workaround than a real solution. But if someone wants to adopt that anyways: it's just a small change in https://github.com/4Science/dspace-angular/blob/main-cris/src/app/item-page/versions/item-versions.component.html#L35 (or in the lines beyond).


[Repo] Add workflow for publishing packages

This action seems good for what we want. We need to add a workflow to publish also in a staging area to pypi.test possibly either a separate branch or even develop itself.

A workflow deploy has been added in the workflow file.


Make setup.py version inline

The reason we define __version__ is to allow other libraries & scripts to check for it. This is not needed.

The reason we define __version__ is to allow other libraries & scripts to check for it. This is not needed.

Ok


VSCode .js Debugger Does Not Respect Glob Negations

Type: Bug
Reproduction:

Using Windows 11, Turbo repo, and Next.js, have a file with a path of format: blah\packages\components\navigation\navMenu\index.tsx whose actual JS maps to webpack-internal:///packages/components/navigation/navLink/index.tsx (although this file is definitely not .tsx inside and is definitely vanilla .js)

Have a launch.json including:

 // Skip everything (e.g. browser extension js, react internals) except the client files
      "skipFiles": [
        "**/node_modules/**",
        "**/Faker.js UI/**",
        "**/React Developer Tools/**",
        "**/react-devtools-extensions/**",
        "**/webpack-internal:///**",
        "!**/webpack-internal:///**/app/**",
        "!**/webpack-internal:///**/packages/**"
      ],

Note that the VSCode highlight for skipFiles says, "An array of file or folder names, or path globs, to skip when debugging. Star patterns and negations are allowed, for example, ["**/node_modules/**", "!**/node_modules/my-module/**"]"

Notice how the VSCode debugger stops in the file but with a green highlight instead of a yellow highlight, and when attempting to step into a block / function, the debugger immediately exits the file. (Note that if the negations are removed the exact same green behavior happens.)

Expected behavior:
Remove the
        "**/webpack-internal:///**",
        "!**/webpack-internal:///**/app/**",
        "!**/webpack-internal:///**/packages/**"

lines and restart VSCode instance and debugging browser and notice how debugging is now properly working.

Full launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "server-web",
      "type": "node-terminal",
      "request": "launch",
      "command": "yarn run dev",
      "cwd": "${workspaceFolder}/apps/web",
      "presentation": { "group": "web", "hidden": true }
    },
    {
      "name": "client-web",
      "type": "msedge",
      "request": "attach",
      "port": 1337,
      // Ideally we could skip everything (e.g. browser extension js, react internals) except the client files.
      // "skipFiles": [
      // "**/node_modules/**",
      // "**/Faker.js UI/**",
      // "**/React Developer Tools/**",
      // "**/react-devtools-extensions/**",
      // "**/webpack-internal:///**",
      // "!**/webpack-internal:///**/app/**",
      // "!**/webpack-internal:///**/packages/**"
      // ]
      // But I'm not sure how to do that yet. Glob negations seem to be bugged. - Stan
      "skipFiles": [
        "**/node_modules/**",
        "**/Faker.js UI/**",
        "**/React Developer Tools/**",
        "**/react-devtools-extensions/**"
      ],
      "webRoot": "${workspaceFolder}/apps/web",
      "url": "http://localhost:3001",
      "presentation": { "group": "web", "hidden": true }
    },
    {
      "name": "server-auth",
      "type": "node-terminal",
      "request": "launch",
      "command": "yarn run dev",
      "cwd": "${workspaceFolder}/apps/auth",
      "presentation": { "group": "auth", "hidden": true }
    },
    {
      "name": "client-auth",
      "type": "msedge",
      "request": "attach",
      "port": 1337,
      "webRoot": "${workspaceFolder}/apps/auth",
      "url": "http://localhost:3003",
      "presentation": { "group": "auth", "hidden": true }
    },
    {
      "name": "server-payments",
      "type": "node-terminal",
      "request": "launch",
      "command": "yarn run dev",
      "cwd": "${workspaceFolder}/apps/payments",
      "presentation": { "group": "payments", "hidden": true }
    },
    {
      "name": "client-payments",
      "type": "msedge",
      "request": "attach",
      "port": 1337,
      "webRoot": "${workspaceFolder}/apps/payments",
      "url": "http://localhost:3002",
      "presentation": { "group": "payments", "hidden": true }
    },
    {
      "preLaunchTask": "Start Storybook",
      "name": "storybook",
      "type": "msedge",
      "request": "attach",
      "port": 1337,
      "webRoot": "${workspaceFolder}",
      "url": "http://localhost:6006/"
    }
  ],
  "compounds": [
    {
      "name": "web",
      "configurations": ["server-web", "client-web"],
      "stopAll": true,
      "presentation": { "order": 1 }
    },
    {
      "name": "auth",
      "configurations": ["server-auth", "client-auth"],
      "stopAll": true,
      "presentation": { "order": 3 }
    },
    {
      "name": "payments",
      "configurations": ["server-payments", "client-payments"],
      "stopAll": true,
      "presentation": { "order": 2 }
    }
  ]
}

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12800H (20 x 2803)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.67GB (35.53GB free)

Process Argv
--disable-extensions --crash-reporter-id afa830bf-a37b-422a-bdb0-58b147fe3168

Screen Reader
no

VM
0%

Extensions disabled
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
0bi6i642:30951795
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019bcf:30953938
3ef8e399:30949928

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Still occurs on 1.86.0:

Likely duplicate of https://github.com/microsoft/vscode/issues/203408, please try the nightly build

@connor4312 I tried the nightly and the issue still persists. I will note that I noticed it is happening in an event handler, but I don't always get the green highlight when I have breakpoints outside of an event listener. It seems to break normally in other places.

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

@connor4312 Sent it via email.

Hey @connor4312, this issue might need further attention.
@Stan-Stani, you can help us out by closing this issue if the problem no longer exists, or adding more information.


Create a Dockerfile and Docker Compose file for quick testing

@divyanshbhowmick A branch called feature/docker-compose has been created for you to pull and continue work on this.


Some questions about the experiments.

In the code, you use the ResNet34 model for CIFAR100-LT, but in the paper, you use the ResNet32 model.

dataset
Stage
loss
base lr
schedular
batch
epoch
WD
model
result_all

CIFAR100-100
stage1
CE
0.01
Coslr
64
320
0.005
ResNet32
40.1

I use these settings to train the model and get a bad result (7% lower than the open source experiment in CoLab), could you please point out my problem？

Could you provide more details about the experiment on how to choose the proper weight decay value for long-tailed recognition? It would help a lot.
I experiment several methods including MisLAS, BAMLS. I find that 5e-4 is good enough and tuning weight decay improves the performance slightly. Maybe the tuning of weight decay is not the core point of imbalanced learning?

It is hard to see the difference without seeing your implementation. But can you run my notebook to see if it reproduces results. One notable difference is that my code uses ResNet34 while you used ResNet32. I apologize for the inconsistent writing and code.
We use Bayesian Optimization to search for the weight decay, as explained in Section 3.3. You might find this implementation useful.
While WD tuning atop of MisLAS/BAMLS does not improve much, it seems to suggest the latter methods regularize training in a similar way to WD. Therefore, it is hard to say if WD is (not) the core point of imbalanced learning.

Also, the number of epochs is given as 200 in the paper while you have used 320 in the implementation. Can you confirm which is the correct one to replicate the results?

Yes, we used 200 epochs only for the first stage of training to produce the results in the paper.

I train ResNet34 with the identical setting, the result is identical to the CoLab experiment. The weight decay 0.005 is not the optimal value for ResNet32 (ResNet32 feature dim=64 while ResNet34 feature dim=512).

dataset
Stage
loss
base lr
schedular
batch
epoch
WD
model
result_all

CIFAR100-100
stage1
CE
0.01
Coslr
64
320
0.005
ResNet34
47.28

The work is really great.  It would be better and easy to compare with other long-tailed methods if the CoLab experiment is trained with the ResNet32 model.


Branch

Pull Request Template
What have you Changed(must)
Added new code to add two 2x2 matrix.
Issue no.(must) - #406
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder.
[x] I am following clean code and Documentation.
[] I have added title and what program will do first in the file.

README - How to Contribute

@div-bargali Sir I do not understand the last point of Self Check in the PR template. Kindly explain me what to do for that and I/'ll make the changes accordingly.

@Gaurisha21 That just means that you have added comments at the top of your .cpp file with details of the code, and the problem it solves.

Okay I will do asap.
On Sat, 17 Oct 2020, 4:33 pm Divyanshu Bargali<EMAIL_ADDRESS>wrote:

@div-bargali requested changes on this pull request.
Please add some comments at the start of your code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/div-bargali/Data-Structures-and-Algorithms/pull/433#pullrequestreview-510977477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQM2ZHZXAC36OZAIV4347MTSLF2ZFANCNFSM4SUFNL6A
.

Please add some comments at the start of your code.

I have made the changes. Please confirm if they are okay or do I need to do anything else.

@div-bargali Thank you for providing me the opportunity to contribute in the repository.
I am grateful to you. I was a total beginner, but now I am familiarized with the concept of GitHub and Open Source Contribution through this Repo.
Sir, I wanted to know that I have made 3 Merged PR in this repo, in the time span of 1st to 31st October 2020, so will my PR be considered for 'Hacktoberfest Accepted' label? And is it possible to reduce the maturing time of PRs?
Thank you
Regards


We should remove TypeExtensions

We should be using GetTypeInfo / TypeInfo instead of utilizing TypeExtensions that make the call for us. This way we're aligning with a more CoreCLR compatible way of writing code :smile:

@triage this is a dupe of #105.
TL;DR
TypeExtensions includes a few helper methods not available directly from TypeInfo e.g. IsCompatibleWith() and ExtractGenericInterface().  for a few other cases, it's probably just as good to use the provided System.Reflection.Extensions and System.Reflection.TypeExtensions packages.  the remainder are covered by #105.

Agree this is a dup of #105


Loop or previous error loading matchparen

I installed matchparen exactly as the readme states, however in the config file when I require('matchparen') neovim throws an error. I made sure to set:
vim.g.loaded_matchparen = 1 so I am at a bit of a loss as to what to do here.
I am on the latest neovim nightly/maybe a little ahead since I built from source from git.
Edit: Tried it from a standard nightly build from a few days ago I had installed but aliased.

I'm glad you that have fixed it fast.
Anyway i'm on some refactoring right now, that will further improve its speed in treesitter supported buffers, and then will improve README too, to make it more readable, with better English etc.


playground /version endpoint doesn't work

https://prod.playground.plutus.iohkdev.io/version shows UNKOWN

@krisajenkins is there any chance of fixing this before the summit? Knowing the version would be extremely helpful for dealing with the feedback we're going to get.

I'm going to look into it this afternoon but it has proved to be tricky in the past.

Fixed with https://github.com/input-output-hk/plutus/pull/690