Feature request: ability to start connections/transmissions when esp is in AP mode

At the moment, lwesp_conn_start(...) does not work when the esp is in only AP mode, it can only act as a server, this completely removes the ability to use UDP. If lwesp_conn_start(...) gets called with LWESP_CFG_STATION_MODE defined to 0, it returns error 2, if LWESP_CFG_STATION_MODE is defined to 1,  returns error 9(station does not have IP). Because of this, also netconn API does not work, this makes applications in AP mode harder to write and UDP protocol impossible to use.
Even though, esp-at does support all features when in AP mode.

2 commits:

do not return just error, rather return cmd not supported, if it cannot be started due to conditional kick-ou https://github.com/MaJerle/lwesp/commit/99c1ac3a70a203cfebdaad29a335c933f5cf2f29
Add option to start connection w/o checking IP status. You have to enable the feature in lwesp_opts.h configuration file: https://github.com/MaJerle/lwesp/commit/99c1ac3a70a203cfebdaad29a335c933f5cf2f29

Simply pull latest change and try. let me know if that works.

I was reimporting the library, this time copying with git so I can update it easily, what about line 222 of lwesp_ll_stm32.c that broke stm32f4 and stm32f7 driver?

Let's use this issue # for new feature, and we discuss F7/H7 driver in separate thread. I agree there is a need to update generic driver.

Regarding UDP connection, the connection does start correctly, but I'm still getting lwespERRPAR on lwesp_conn_send(...):
Device reset detected!
Device reset detected!
Initialized LwESP(and ESP) correctly
Set ap only mode
Global Event no. 14
Configured AP correctly
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
Global Event no. 14
New station connected to access point with MAC address: E8:84:A5:8E:60:8E
IP <IP_ADDRESS>
assigned to station with MAC address: E8:84:A5:8E:60:8E
Connection 0 active!
Started UDP connection correctly
Global Event no. 14
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
lwesp send result: 3
Global Event no. 14
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
lwesp send result: 3
Global Event no. 14
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
Connection Event no. 12
[LWESP CONN] Poll event: 0x200056a4
lwesp send result: 3
Global Event no. 14
The main.c is the same I had sent to you via email, you had mentioned that I wasn't using udp_conn correctly, what am I doing wrong?

Why don't you open debug and analyze why you have parameter error, as suggested by email? :)
You did not assign any value to udp_conn variable.


Fixed bug where the starting category would not be selected initially

Description:
Fixed a bug where the General category was not selected initially.
For some reason presetsViewModel.selectedCategory.value's data was stuck in the mPendingData while the actual data was null. I made it set from an observer instead.

[x] Acceptance Criteria satisfied
[x] Regression Testing

I was not able to reproduce the issue on develop with my emulator for an Android 12 (API 31) device. But testing off of this branch, I did not not find any issue where the General category was not the initial category selected. Lite regression didn't find any unknown issues. So this fix looks good to go to me.


Chapter 7 - fetching data from the DB Error: Failed to fetch revenue data.

Solved this by replacing:
import { sql } from '@vercel/postgres';
await sql< Revenue >
with
import { db } from '@vercel/postgres';
const client = await db.connect();
await client.sql< Revenue >

Solved this by replacing:
import { sql } from '@vercel/postgres'; await sql< Revenue >
with
import { db } from '@vercel/postgres'; const client = await db.connect(); await client.sql< Revenue >

This solution doesn't work for me.
My solution is replacing:
const data = await sql<Revenue>`SELECT * FROM revenue`;

with
const data = await sql.query<Revenue>('SELECT * FROM revenue');

Same problem, both solutions work for me.

Do these solutions work for neon and supabase or is there another?

You can switch to postgres which is an agnostic library which works with any Postgres database! We will likely update that here.

Solved this by replacing:
import { sql } from '@vercel/postgres'; await sql< Revenue >
with
import { db } from '@vercel/postgres'; const client = await db.connect(); await client.sql< Revenue >

This solution doesn't work for me.
My solution is replacing:
const data = await sql<Revenue>`SELECT * FROM revenue`;

with
const data = await sql.query<Revenue>('SELECT * FROM revenue');

perfect!


New command: get the specified list item

Get the specified list item

command: spo listitem get -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -i|--id <id> -f|--field [fields]
webUrl: The URL of the site where the list from which to retrieve items is located
listId: The ID of the list from which to retrieve items
listTitle: The title of the list from which to retrieve items
id: The ID of the item to retrieve
fields: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified
either listId or listTitle must be specified to retrieve the list, but not both
if fields are not specified and the output is set to text (default), show only the value of Title and Id fields
requires connection to a SharePoint site

For more information see the Get-PnPListItem cmdlet

Will also take this one as it is pretty much the same than #268

All yours! 💪

Hey there @sebastienlevert - I've been doing some work on the other listitem cmds, would you mind if I take a look at implementing this cmd as well?

FYI I asked @sebastienlevert if he's cool with me taking this one - https://twitter.com/mpowney/status/1000634171209928705

Cool! Thanks for the update. Assigned it to you @mpowney. Appreciate your help


Chooser button text: "Change" vs. "Edit" (vs. "Clear")

Is your proposal related to a problem?
Currently the buttons "Change" and "Edit" lead to confusion, which button actually changes what:

It is defined here:
https://github.com/wagtail/wagtail/blob/9e5250521f9db9ba39adf4102b8e854d68064126/wagtail/admin/viewsets/chooser.py#L23-L30
but also in other places, e.g.:
https://github.com/wagtail/wagtail/blob/9e5250521f9db9ba39adf4102b8e854d68064126/wagtail/admin/widgets/chooser.py#L24-L27
In german, I wanted to change that for the buttons to the german version of "Change selection", but unfortunately the id "Change" is also used by the permission tables in the settings, which overrides it atm:
https://github.com/wagtail/wagtail/blob/9e5250521f9db9ba39adf4102b8e854d68064126/wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html#L20
Similar to that I also wanted to change the text for "Clear" to something like "Clear selection" in german. So at the end the user has the buttons "Change selection", "Edit" and "Clear selection".
Describe the solution you'd like
Can we use a gettext context value or change the text for "Change" (and maybe "Clear") to something else?

See also #9045. Previously the label for this button was "Choose another", but this became "Change" in #8934 - clearly the new text is causing problems. cc @wagtail/page-editor-2022

Thanks for the report @th3hamm0r! I’m unclear on the rationale for this change myself but will follow up with our UX/design people.

Same issue in the French translation (#9193) - bumping this up to be handled in 4.0.2.

Added a bit of a summary of this underlying issue and learnings here https://github.com/wagtail/wagtail/discussions/8017#discussioncomment-3639114
Any feedback on that sub-comment would be appreciated.

@gasman did you check on this with Ben in the end? Again I don’t know what his rationale was for changing the button labels, but I assume there was one. At least to me the switch to shorter button labels made sense, as it made the position of the buttons much more predictable.

Looking at the code, "Change" is the word we use for Django’s change permission. I could only see it in use on the groups’ permission form, though there could be other places: https://github.com/wagtail/wagtail/blob/main/wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html#L20
It’s important that buttons next to one-another display clear-enough labels in all languages, but even across separate pages it’s inappropriate for translations to use the same word for concepts we chose to name differently in the english version. So – we should switch this "Change" permission label to "Edit" if we think the translations are correct, or update the translations to use a different term.
In French, though "Changer" sounds very inelegant, it seems like a much more correct descriptor of what "Change" conveys in English (not much to start with)

@thibaudcolas

@gasman did you check on this with Ben in the end? Again I don’t know what his rationale was for changing the button labels, but I assume there was one. At least to me the switch to shorter button labels made sense, as it made the position of the buttons much more predictable.

Of course, that makes sense, but I really doubt that every language can express this only in single short words without confusing the user, what those buttons actually do. So even if expressed with a short text, I think you have to assume that those buttons are larger in other languages.
I'm not a native english speaker, but I also think that "Edit" and "Change" could lead to confusion. As a developer, I can help myself quickly by hovering the buttons, knowing that the button which changes the selection does not have an URL. Any other user will probably try what happens.
That's why in german we would like to use "Auswahl ändern" (bascially "change selection"), "Bearbeiten" ("edit"), "Auswahl zurücksetzen" ("clear selection"), if that would be possible, which is also the reason I've created this ticket ;)

@gasman did you check on this with Ben in the end?

Not directly, but 1) he would have got a notification from the @wagtail/page-editor-2022 ping above, 2) you said above that you'd follow up with our UX/design people, 3) I asked on Slack (on a channel that Ben is in) about the best way of this for designer attention and "contact Ben directly" wasn't mentioned as an answer, and 4) I did raise it in passing with our DM when talking about getting some of Ben's time for an unrelated task. I know Ben's time is valuable and we shouldn't expect him to be on call to respond to day-to-day Wagtail issues, but in that case we shouldn't let critical bugs be blocked awaiting his input - it feels a bit like licking the cookie.
I think we can reasonably close this issue, since it's about a specific bug reported by multiple people which has now been fixed in #9194. @thibaudcolas, if you believe there's a new issue that has been introduced by rolling back the change of label then I suggest you open a new ticket about it - but it seems to me that right now we're only speculating about what Ben's intentions were.

Sorry, I probably shouldn’t have reopened this, it’s definitely better as separate issues. Here is #9200 for us to review the label for choosers again, and #9201 to look into the conflating of terminology.
Moving forward on this without Ben’s input seems fine to me as a short term bug fix – but we do try to have him lick the cookie for all UI/UX decisions. It feels important to me that there’s centralised input / decision making for this as Wagtail’s UX and visual design direction isn’t as mature as what we have for technical direction.


[Store] Create your account doesn't allow space for last name

Description:
While trying to signup to apim store noticed that last name does not allow spaces in between. e.g De Silva
Suggested Labels:
APIM 2.1.0 update 4 , Improvement, Priority/high, Severity/Major
Affected Product Version:
APIM 2.1.0 update 4
OS, DB, other environment details and versions:
Ubuntu 14
Java version "1.8.0_51"
Version 63.0.3239.84 (Official Build) (64-bit)
DB - h2
Steps to reproduce:
Navigate to API Store
Fill the signup page by providing a last name with a name which has a space in between. e.g De Silva
Issue
Last name with space in between is not allowed

Reducing the priority since this does not affect the functionality of the product.


Remove all method checking module and tutorial for student and consultation

Codecov Report
Base: 63.04% // Head: 61.52% // Decreases project coverage by -1.52% :warning:

Coverage data is based on head (10e2dd2) compared to base (28978a0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #262      +/-   ##
============================================
- Coverage     63.04%   61.52%   -1.53%
+ Complexity      854      827      -27
============================================
  Files           156      156
  Lines          3242     3220      -22
  Branches        418      410       -8
============================================
- Hits           2044     1981      -63
- Misses         1020     1067      +47
+ Partials        178      172       -6

Impacted Files
Coverage Δ

.../commands/consultation/AddConsultationCommand.java
85.71% <ø> (+10.71%)
:arrow_up:

...commands/consultation/EditConsultationCommand.java
91.78% <ø> (-1.56%)
:arrow_down:

...quik/logic/commands/student/AddStudentCommand.java
100.00% <ø> (+25.00%)
:arrow_up:

...uik/logic/commands/student/EditStudentCommand.java
91.89% <ø> (-0.29%)
:arrow_down:

src/main/java/seedu/modquik/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/modquik/model/ModelManager.java
73.77% <ø> (-6.54%)
:arrow_down:

.../java/seedu/modquik/model/util/SampleDataUtil.java
9.09% <ø> (ø)

...ava/seedu/modquik/storage/JsonAdaptedTutorial.java
0.00% <0.00%> (-53.13%)
:arrow_down:

...ik/storage/datetime/JsonAdaptedWeeklyTimeslot.java
0.00% <0.00%> (-52.39%)
:arrow_down:

...seedu/modquik/storage/JsonSerializableModQuik.java
58.13% <0.00%> (-9.31%)
:arrow_down:

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fails for batch size other than 1

https://github.com/NUS-HPC-AI-Lab/OpenDiT/blob/9ca54720f3aa4c3a20c642059be63d61308b1bf1/tests/test_fused_modulate.py#L7
fused_modulate does not work for batch sizes other than 1

get it. will look into this problem. thanks for your feedback

close due to outdated


storing file system paths

We currently store paths to specific directories or files as part of configurations. However, these will not be useful on another operating system.
Take for example this series of paths for example (the POSIX-compliant version of which is used here).
raw_windows_paths = [
    r"C:\Documents\Newsletters\Summer2018.pdf",
    r"\Program Files\Custom Utilities\StringFinder.exe",
    r"2018\January.xlsx",
    r"..\Publications\TravelBrochure.pdf",
    r"C:\Projects\apilibrary\apilibrary.sln",
    r"C:Projects\apilibrary\apilibrary.sln",
    r"c:\temp\test-file.txt",
    r"\\<IP_ADDRESS>\c$\temp\test-file.txt",
    r"\\LOCALHOST\c$\temp\test-file.txt",
    r"\\.\c:\temp\test-file.txt",
    r"\\?\c:\temp\test-file.txt",
    r"\\.\UNC\LOCALHOST\c$\temp\test-file.txt",
    r"jquery-1.1.1.js",
    r"jquery-1.1.1.min.js",
    r"jquery-1.1.1-vsdoc.js",
    r"jquery-1.2.1-vsdoc.js",
    r"jquery-1.2.1.js",
    r"jquery-1.2.1.min.js",
]

The first one of these will already be parsed with additional escape characters on UNIX, and not be recognized as a proper path. Hence the conversion of these paths to proper POSIX-compliant format can only be tested on Windows in the first place, and reading any such raw strings from a serialized piece of data coming from Windows that was not properly serialized to POSIX will not be parsed correctly.
>>> r"C:\Documents\Newsletters\Summer2018.pdf"
'C:\\Documents\\Newsletters\\Summer2018.pdf'
>>> Path(r"C:\Documents\Newsletters\Summer2018.pdf").parts
('C:\\Documents\\Newsletters\\Summer2018.pdf',)

We should not store the root of the paths, as these will be both operating and user specific.  The root might be the repository, but it might as well be a directory. We may chose to encode this with a placeholder, or akin an environmental variable (e.g. {ROOT_DIR}). We use such derived from os.path.dirname(inspect.getfile(inspect.currentframe())) in our tests

@DavidMinarsch @angrybayblade
not sure i got this case correct, but i see that path specification is up to the end user(developer).
so if developer or user wants to sed aea add-key cosmos /root/dir/ it's not a framework problem
probably we can restrict usage of absolute paths in the cli, not sure it worths it

@solarw What are the places where we store the paths in the component configs, some places I know where we store path as a part of the component config
To store keys and certificate paths, here we add these keys and certificates to the config at the runtime so they're relative by default.
To store fingerprint records, here they are relative by default and needs to be relative.
Any other places you know where we can face this absolute vs. relative path strings issue?

I'm closing this issue because this does not look like a framework concern


in master, radar chart Legend Not Displayed

1.the first step，create a radar chart，like this

2.the second step，save the widget.
3.reopen the widget, it can't display. You can see a blank screen.

In which branch?

In which branch?

dev-0.3

#850


Added Tailspin port to the Portmaster

New Port for Tailspin!
Game Information

Title: Tailspin!
URL: Tailspin!

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[X] AmberELEC
[X] ArkOS
[X] ROCKNIX
[X] muOS

Resolution Tests
Test all major resolutions:

[X] 480x320
[X] 640x480
[ ] 720x720 (RGB30)
[X] Higher resolutions (e.g., 1280x720)

File Structure

Your port should have the following structure:

portname/

port.json
README.md
screenshot.jpg
cover.jpg
gameinfo.xml
Port Name.sh
portname/

Additional Resources
For an in-depth guide on creating a pull request, refer to: PortMaster Game Packaging Guide

A license file for Gamemaker and not a game itself?
On Mon, Oct 7, 2024, 10:14 Cebion @.***> wrote:

@.**** requested changes on this pull request.
In ports/tailspin/Tailspin!.sh
https://github.com/PortsMaster/PortMaster-New/pull/743#discussion_r1789736447
:

+export GMLOADER_DEPTH_DISABLE=1
+export GMLOADER_PLATFORM="os_linux"

+cd $GAMEDIR
+
+# We log the execution of the script into log.txt
+> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
+
+# Make sure uinput is accessible so we can make use of the gptokeyb controls
+$ESUDO chmod 777 "$GAMEDIR/gmloadernext"
+
+# Splash
+$ESUDO ./tools/splash "splash.png" 10000 &
+
+$GPTOKEYB "gmloadernext" -c ./controls.gptk &
+$ESUDO chmod +x "$GAMEDIR/gmloadernext"
⬇ Suggested change
-$ESUDO chmod +x "$GAMEDIR/gmloadernext"
+pm_platform_helper $GAMEDIR/gmloadernext
+$ESUDO chmod +x "$GAMEDIR/gmloadernext"

In ports/tailspin/port.json
https://github.com/PortsMaster/PortMaster-New/pull/743#discussion_r1789737943
:

],

"items_opt": [],
"attr": {
"title": "Tailspin!",
"porter": [

 "Slobters"

],
"desc": "Play as a treasure seeking canary and drill through 4 unique worlds of action packed platforming. Can you survive the infested depths below and attain everlasting glory?",
"desc_md": null,
"inst": "Ready to run!",
"inst_md": null,
"genres": [

 "platformer"

],
"image": null,
"rtr": true,

If ready to run it needs a license file.
—
Reply to this email directly, view it on GitHub
https://github.com/PortsMaster/PortMaster-New/pull/743#pullrequestreview-2351222375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7WIAQ4Y2A74YUZ2UZXA72DZ2I7HRAVCNFSM6AAAAABPOX2HPSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNJRGIZDEMZXGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is this screenshot of Team Bugulon approval enough to be a license file?
On Mon, Oct 7, 2024, 10:44 slobodan milosavljevic @.***>
wrote:

A license file for Gamemaker and not a game itself?
On Mon, Oct 7, 2024, 10:14 Cebion @.***> wrote:

@.**** requested changes on this pull request.
In ports/tailspin/Tailspin!.sh
https://github.com/PortsMaster/PortMaster-New/pull/743#discussion_r1789736447
:

+export GMLOADER_DEPTH_DISABLE=1
+export GMLOADER_PLATFORM="os_linux"

+cd $GAMEDIR
+
+# We log the execution of the script into log.txt
+> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
+
+# Make sure uinput is accessible so we can make use of the gptokeyb controls
+$ESUDO chmod 777 "$GAMEDIR/gmloadernext"
+
+# Splash
+$ESUDO ./tools/splash "splash.png" 10000 &
+
+$GPTOKEYB "gmloadernext" -c ./controls.gptk &
+$ESUDO chmod +x "$GAMEDIR/gmloadernext"
⬇ Suggested change
-$ESUDO chmod +x "$GAMEDIR/gmloadernext"
+pm_platform_helper $GAMEDIR/gmloadernext
+$ESUDO chmod +x "$GAMEDIR/gmloadernext"

In ports/tailspin/port.json
https://github.com/PortsMaster/PortMaster-New/pull/743#discussion_r1789737943
:

],

"items_opt": [],
"attr": {
"title": "Tailspin!",
"porter": [

 "Slobters"

],
"desc": "Play as a treasure seeking canary and drill through 4 unique worlds of action packed platforming. Can you survive the infested depths below and attain everlasting glory?",
"desc_md": null,
"inst": "Ready to run!",
"inst_md": null,
"genres": [

 "platformer"

],
"image": null,
"rtr": true,

If ready to run it needs a license file.
—
Reply to this email directly, view it on GitHub
https://github.com/PortsMaster/PortMaster-New/pull/743#pullrequestreview-2351222375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7WIAQ4Y2A74YUZ2UZXA72DZ2I7HRAVCNFSM6AAAAABPOX2HPSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNJRGIZDEMZXGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is this screenshot of Team Bugulon approval enough to be a license file? On Mon, Oct 7, 2024, 10:44 slobodan milosavljevic @.> wrote:
…
A license file for Gamemaker and not a game itself? On Mon, Oct 7, 2024, 10:14 Cebion @.> wrote: > @.**** requested changes on this pull request. > ------------------------------ > > In ports/tailspin/Tailspin!.sh > <#743 (comment)> > : > > > +export GMLOADER_DEPTH_DISABLE=1 > +export GMLOADER_PLATFORM="os_linux" > + > +cd $GAMEDIR > + > +# We log the execution of the script into log.txt > +> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 > + > +# Make sure uinput is accessible so we can make use of the gptokeyb controls > +$ESUDO chmod 777 "$GAMEDIR/gmloadernext" > + > +# Splash > +$ESUDO ./tools/splash "splash.png" 10000 & > + > +$GPTOKEYB "gmloadernext" -c ./controls.gptk & > +$ESUDO chmod +x "$GAMEDIR/gmloadernext" > > ⬇ Suggested change > > -$ESUDO chmod +x "$GAMEDIR/gmloadernext" > +pm_platform_helper $GAMEDIR/gmloadernext > +$ESUDO chmod +x "$GAMEDIR/gmloadernext" > > ------------------------------ > > In ports/tailspin/port.json > <#743 (comment)> > : > > > + ], > + "items_opt": [], > + "attr": { > + "title": "Tailspin!", > + "porter": [ > + "Slobters" > + ], > + "desc": "Play as a treasure seeking canary and drill through 4 unique worlds of action packed platforming. Can you survive the infested depths below and attain everlasting glory?", > + "desc_md": null, > + "inst": "Ready to run!", > + "inst_md": null, > + "genres": [ > + "platformer" > + ], > + "image": null, > + "rtr": true, > > If ready to run it needs a license file. > > — > Reply to this email directly, view it on GitHub > <#743 (review)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/A7WIAQ4Y2A74YUZ2UZXA72DZ2I7HRAVCNFSM6AAAAABPOX2HPSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNJRGIZDEMZXGU > . > You are receiving this because you authored the thread.Message ID: > @.***> >

Yes, should be fine

Awesome, thank you very much!
And LOL at that ghost uinput comment. 😆
On Tue, Oct 8, 2024 at 2:46 PM Cebion @.***> wrote:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/PortsMaster/PortMaster-New/pull/743#pullrequestreview-2354387268,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7WIAQ5UBZ6LP2MB4DPU5CTZ2PH3ZAVCNFSM6AAAAABPOX2HPSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNJUGM4DOMRWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


added scenario 2 sample

Overview/Summary
Adds several scenario 2 modules for use in a demo
This PR fixes/adds/changes/removes

Adds module for Cisco 8kv and scenario 2 samples

Breaking Changes
Testing Evidence
As part of this Pull Request I have

[ x] Checked for duplicate Pull Requests
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[x ] Updated relevant and associated documentation.

@prasad3017 or @sblair01 - could you please approve this one when you have a moment?  Added a globalreach module to the library.


Trouble getting Prost to resolve import statements (extern_path not helping?)

I have two proto packages, "student" and "person". The former imports the latter. However, I can't seem to get Prost to resolve the import "person.proto" statement. I tried using extern_path but it unfortunately does not seem to be helping.
The build.rs of lib/student is:
use person as libperson;
fn main() -> std::io::Result<()> {
    prost_build::Config::new()
        // Declare the `person.proto` Protobuf package and all
        // nested packages and types as externally provided by the `person` crate.
        .extern_path("person.proto", "libperson")
        .compile_protos(&["../../protos/student.proto"], &["../../"])?;
    Ok(())
}

And running it yields this error:
protoc failed: person.proto: File not found.
protos/student.proto:5:1: Import "person.proto" was not found or had errors.
protos/student.proto:8:5: "person.Person" is not defined.

Minimal example can be found here.

Fixed with help in Discord:
diff --git a/lib/person/build.rs b/lib/person/build.rs
index 1278fe0..9a6b5a5 100644
--- a/lib/person/build.rs
+++ b/lib/person/build.rs
@@ -1,4 +1,4 @@
 fn main() -> std::io::Result<()> {
-    prost_build::compile_protos(&["../../protos/person.proto"], &["../.."])?;
+    prost_build::compile_protos(&["../../protos/person.proto"], &["../../protos"])?;
     Ok(())
 }
diff --git a/lib/student/Cargo.toml b/lib/student/Cargo.toml
index 92fe1dd..1f8fd56 100644
--- a/lib/student/Cargo.toml
+++ b/lib/student/Cargo.toml
@@ -5,7 +5,7 @@ edition = "2018"

 [dependencies]
 prost = "0.8"
-
-[build-dependencies]
 person = { path = "../person" }
+
+[build-dependencies]
 prost-build = "0.8"
diff --git a/lib/student/build.rs b/lib/student/build.rs
index 2b76aaf..92ed7ed 100644
--- a/lib/student/build.rs
+++ b/lib/student/build.rs
@@ -1,9 +1,8 @@
-use person as libperson;
 fn main() -> std::io::Result<()> {
     prost_build::Config::new()
         // Declare the `person.proto` Protobuf package and all
         // nested packages and types as externally provided by the `person` crate.
-        .extern_path("person.proto", "libperson")
-        .compile_protos(&["../../protos/student.proto"], &["../../"])?;
+        .extern_path(".person", "::person")
+        .compile_protos(&["../../protos/student.proto"], &["../../protos"])?;
     Ok(())
 }


Revert "Update troubleshooting-nextgen.md"

Reverts harness/developer-hub#2621

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Changed Utils.search() function

I changed the function because it causes a conflict with JavaScript String.prototype.search()
from .search() to .searchSong()
You should also change it in Utils.d.ts

If you want the search function to be changed, please manage to change it's all uses in the code.

Okay, and an update on this problem:
It only appears when you require Utils like this:
const {Utils} = require("discord-music-player") // it shows the problem
const DMP = require("discord-music-player") // it doesn't show the problem

If you want the search function to be changed, please manage to change it's all uses in the code.

Okay, and an update on this problem:
It only appears when you require Utils like this:
const {Utils} = require("discord-music-player") // it shows the problem
const DMP = require("discord-music-player") // it doesn't show the problem

You need to implement it in the code, as Queue.ts uses it.

I'll change it now

wait I accidently deleted my branch


Configurable gasLimit and gasEstimate bumping

@justinbarry yah can just kill that private

@petong feel free to un WIP this if it works else I'll fix it more later

Removing WIP


Can not override methods from parent class

When I try to override the methods from parent class, nothing happened.
The methods are still showed on cmp, but I can't generate code for that. Pls help!

I don't think there is much for me to do for this: https://github.com/seblj/roslyn.nvim/issues/7
I can leave this open a little bit to see if I get some time to investigate later. I cannot guarantee anything though as I am pretty sure this is just the server not following the spec (as it unfortunately doesn't do for several things)

I don't think there is much for me to do for this: #7
I can leave this open a little bit to see if I get some time to investigate later. I cannot guarantee anything though as I am pretty sure this is just the server not following the spec (as it unfortunately doesn't do for several things)

Thank you very much!


.nupkg.metadata not deleted when using Install-PSResource

While testing for a solution for https://github.com/PowerShell/PowerShell/issues/5831 I found that there is a difference between Install-PSResource and Save-PSResource. Using save will remove the .nupkg.metadata file but does not get removed on install. Does PowerShellGet use this file? I didn't get any references using it in the code. By leaving this file it causes the validation to fail when using Test-FileCatalog.

Nope, that should be removed as well


Fixed dependancy declarations

OT: Shall we go for a new release after merging these changes?

Why should we make PropTypes a peer dependency? I made react and Monaco a peer dependency because Monaco is never directly imported, and this is a plugin for react.

I see you point, I got confused by the fact the prop-types make sense with React and because react is a peer dependency prop-types will be the same.
What about the release? Shall we do it?

@expobrain I left some comments. Let's make another release after this is merged. I've already made a 0.9 release a few days ago: https://github.com/superRaytin/react-monaco-editor/releases/tag/0.9.0.


[Doc Issue][Update whats new ]

updated

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/messaging-extensions/api-based-overview.md
93
6
link
:white_check_mark:

msteams-platform/messaging-extensions/build-api-based-message-extension.md
92
29
link
:white_check_mark:

msteams-platform/messaging-extensions/build-bot-based-message-extension.md
95
5
link
:white_check_mark:

msteams-platform/messaging-extensions/build-bot-based-plugin.md
88
44
link
:white_check_mark:

msteams-platform/whats-new.md
92
62
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Microsoft.GraphServices Azure CLI module request

Related command
No response
Resource Provider
Microsoft.GraphServices/Accounts
Description of Feature or Work Requested
We own the Resource Provider called Microsoft.GraphServices, and as part of the APEX launch readiness process we want help with the development and release of the Azure CLI package for our service. (we're working in parallel to get powershell and terraform packages).
This is an overview of what our service does, which is enabling metered APIs in Microsoft Graph: https://learn.microsoft.com/en-us/graph/metered-api-overview
This documentation gives an overview on the type of commands our Public Preview users are executing to interact with our RP. https://learn.microsoft.com/en-us/graph/metered-api-setup?tabs=azurecloudshell
Also, if this is helpful, here's the Azure REST documentation of our Public Preview service: https://learn.microsoft.com/en-us/rest/api/graphservices/
Minimum API Version Required
2023-04-13
Swagger PR link / SDK link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/graphservicesprod.json
Request Example
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Create.json
Target Date
2023-08-01
Additional context
The main reason we want to release this module is because of the requirement from APEX to have a consistent experience throughout all services that go to GA, so we are open to hear your guidance on how we can help this go as smoothly as possible.

Thank you for opening this issue, we will look into it.

@amatukmolina, now we have a new codegen tool which is UI based and easy to use. We encourage your team to use it to generate CLI commands automatically as nobody knows your logic better than your team. Using our new codegen tool, you can have the following benefits:

Shorten development cycle (save 50%+ development time, if no block issues, usually it takes less than 1 week).
Directly generate CLI commands from swagger instead of waiting for SDK release.
Consistent code style improves command quality and avoids code review efforts.

@amatukmolina pls check it out if you haven't done so, thanks!

@carlosov-ms, @amatukmolina, have you started the CLI work using codegen tool I mentioned above?

@jsntcy  Yes, here's the PR for cli and aaz repos [GraphServices] Add Microsoft.GraphServices cli module by amatukmolina · Pull Request #26785 · Azure/azure-cli (github.com) and Add Microsoft.GraphServices module by amatukmolina · Pull Request #217 · Azure/aaz (github.com). But we need some help moving it forward, there's some issues in the pipeline that haven't been resolved and we don't know if it's on us

Implemented in https://github.com/Azure/azure-cli-extensions/pull/6487


Support nuxt prerendering

Prerendering is great for optimizing the Largest Contentful Paint (LCP). However, it currently breaks because the CSRF token is static and does not update per user.
For example, the CSRF token is the same for every user:
<meta name="csrf-token" content="mnlY+K07bUag3cRk50HHzQ==:8bQGfpaFUxEghvQVeaJd3/z+F0BBFtFradiuDdNaZxAMCZiVRZrqcMOvmKsO0sPy">

It would be ideal if the plugin handled CSRF tokens dynamically as follows:

If prerendering is detected, add <meta name="csrf-token" content="%CSRF_TOKEN%"> to the HTML head.
On each request, replace %CSRF_TOKEN% with the actual token.

Security considerations:

Users could potentially post a comment with %CSRF_TOKEN%, which would then be replaced by the actual token.

As a safeguard, replace only the first occurrence of %CSRF_TOKEN% to ensure users cannot edit the <head> section of the document.

Hello @AlexXanderGrib
can you please share your nuxt.config ? Do you use nitro.static = true ?
I have tested with nitro.rerender: { routes: ['/'] } I don't get any errors.

I used something like this, can you please share a proper setup?
  routeRules: {
    '*': { prerender: true },
   }

I think prerender API routes it’s not a good idea.
Try to add: '/api/**': { prerender: false } 😉


Individual Membership: Current and Past Members Survey

Emerged from the 2018-09-06 CommComm meeting.
We should craft surveys for current and past members to collect data on member wants and needs.

Some initial thoughts:

What is your current happiness (perceived value?) of Ind. Membership program?
Net promoter score – how likely would you recommend the program to a friend?
How did you hear about the IM program?
In your words, what value do you expect to receive from an open source individual membership?
(For people with lapsed membership) What made you not renew?

IMO we should stay away from specific ind. membership benefit asks, ex: "Would you like to receive X?" since I think the answer will almost always be yes. Instead, lets try and get a feel for the shape of the program members expect.

Here are some direct questions, framed to ask from a very neutral position

Why did you become an Individual Member? (If lapsed, why?)
The goal of the Individual Membership program is to ; do you believe it is successful in that goal. If so/not, how/why?
How do you think the program could be improved?

+1 on the NPS question
(There's some overlap with previous questions)

A few more suggestions

Are you planning to renew your membership.  If not why?
If you could only get one benefit from being an individual member what would it be?
Are you an individual member of any other projects?
If you are an individual member of another project what are the benefits you get from membership in that project?
How often to you interact with the Node.js project (github, meetings, email, etc.)

Are we going to be sending this survey via email or hope individual members eventually   stumbles on them?

More complete data will be had with direct requests through email. Plus, past members (who are part of the target cohort) are unlikely to see a posted survey.

can I help with this issue?

@lidoravitan yup! I'd suggest beginning with building out a markdown file of questions that address what was mentioned previously in the thread 👍

@amiller-gh Re-adding this to CommComm agenda to check whether this is still a priority. @nodejs/user-feedback will not be able to prioritize this work in the next 2 months.

#437 adds the Membership Survey file.

Closing this. Individual Membership no longer exists within the Node.js project, and is instead something we've yeeted up to the OpenJS Foundation.


website: implement search rules functionality

this is a good first implementation. its fast and effective.
we should also add the ability to search by:

authors
rule name
really, any of the metadata fields
rule content/features

and these searches should support both exact match and also substring match (like a part of the rule name).
it might be nice too to show the results as users are typing, assuming the performance is good enough.

this looks like a pretty nice library for searching static content, like we need for the capa website: https://pagefind.app/

Could also be helpful to inspect the FakeNet-NG report website tech stack (https://github.com/mandiant/flare-fakenet-ng/pull/163/files).


failed to refresh

Hi. Thank you for the work. However, I am getting this problem:

Failed to handle request:AltServer could not find the dSent Bytes Count: 86 (86)
Sent Data: 86 Bytes
evice.
Failed to handle request:AltServer could not find the dSent Bytes Count: 86 (86),
<

From the looks of it, your error is trying to say altserver could not find the device. This is more of a question related to the AltServer-Linux repo, but I can try to help you here. Also know that in a couple days I am going to release a properly packaged and updated version so you could try again then.
How are you communicating with the device? Are you using a usb cable or netmuxd? If netmuxd, how are you starting it?

Hi. Thank you for the reply, and sorry for my late reply, I am on holiday at the moment, afk. It does that with both the cable and wifi, after it tries to refresh the app.  The message on the phone is : "could not find altserver"

I'm not super versed in the protocols used by AltServer so I'm going to refer you to issue #49 where you hopefully can find some more issues. From what I gathered, you will need to ensure that for the first time, you aren't using netmuxd and the output of ideviceinstaller -l is actually your installed apps. If it isn't, the issue isn't with altserver.
Note: It seems the user in that issue solved the problem, and has a different error about their apple id, which is fixed with this software as it uses anisette_server. If you can get to that point, it should work.

Tried all the commands on the solution page, but none of them list anything. (ideviceinstaller -l, idevicepair etc). I am currently running kde neon, which runs Ubuntu 20.04, which may have an outdated libimobiledevice package. will try to upgrade when I get some more time. Thank you for your help.

Feel free to post here if you solve this. Hopefully, upgrading libimobiledevice should fix it. The only other thing I can thing I can think of is seeing if you can get any reasonable output from idevice_id -l and ideviceinfo. If not, maybe try a different usb cable.
If you’ve tried all this and still can’t fix it leave a comment on the issue I mentioned before (or potentially open a new one, it sounds like it could be a different problem) and hopefully you can get help there.

Thank you for the response and help. I have upgraded to ubuntu 22.04, and I got the error:"No device found". Nothing helped until I restarted usbmuxd service with : "systemctl restart usbmuxd.service" and then : "idevicepair pair". After that, everything is ok. To help people in my situation, you can look for the version of Usbmuxd and warn about this in the script. also, have an option to restart and pair via a button maybe. Have a lovely day :D

I get an error when I try to install Altstore from the app:
Starting notification connection to device: Loren’s iPhone *** WARNING *** The program 'python3.10' uses the Apple Bonjour compatibility layer of Avahi. *** WARNING *** Please fix your application to use the native API of Avahi! *** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html> DNSServiceRegister result: 0 ./AltServer --udid 00008030-000C0CDC0100802E -a<EMAIL_ADDRESS>-p  pass 1_5.ipa Exception in Tkinter callback Traceback (most recent call last):   File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__     return self.func(*args)   File "/home/lolren/Desktop/Ez-AltServer-Linux-main/main.py", line 99, in <lambda>     button = Button(top, text="Ok", command=lambda:runInstall(top, email.get(), password.get(), udid))   File "/home/lolren/Desktop/Ez-AltServer-Linux-main/main.py", line 71, in runInstall     subprocess.Popen.kill(alt_proc) UnboundLocalError: local variable 'alt_proc' referenced before assignment  Also, can the script check if Usbmuxd is running? I have to restart it all the time, and think that other will get the same error

I will sort out the altstore issue and I’ll try to add usbmuxd detection and the pair/restart button when I release the fully packaged version. I’ve never had an issue with usbmuxd but I will try to fix it. Thank you for the feedback!

Thats awesome. Linux is my OS of choice and I booted Windows just for Alserver. Before I have seen your program, I wanted to do the same in Bash, as is the only scripting language I know. Now you did it better than I would do it. Also, another feature would be " Save the username/password" tickbox, maybe with a warning that they are saved in plaintext, because a lot of people just have 1 phone and wont care about the security side of things. Keep up the good work and looking forward to use the final version :D


Rename map_blocks tasks.

This makes it clearer which tasks are subsetting xarray objects, vs.
actually running the user provided function.

[ ] Closes #xxxx
[ ] Tests added
[x] Passes pre-commit run --all-files
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

import dask

import xarray as xr

da = xr.DataArray(
    dask.array.zeros((10,), chunks=(3,)),
    dims="dim_0",
    coords={"a": (("dim_0",), np.arange(10))},
    name="data"
)

def func(a):
    return a.dim_0

da.map_blocks(func).data.visualize()

before

after

Note users have been confused by our previous choice of names: https://stackoverflow.com/questions/65320657/resample-and-groupby-on-big-dask-array-with-xarray-using-map-blocks
Final version:

merging in a couple of days if no one has any comments.


default moduleFileExtensions order is problematic for typescript projects

Hi. I think that the default order of extensions in moduleFileExtensions can be very problematic if you have typescript files in a project.
https://jestjs.io/docs/en/configuration#modulefileextensions-arraystring
As doc says, the lookup of module will have the order as set in this array.
This default order defines thet json files have precedence over ts files.
Why this can be problematic? Because sometimes you have both json and ts/js files of the same name.
For example if you use react-intl, you have messages.json next to messages.ts
This order breaks tests as file may import { messages } from '[...]/i18n/messages';
As the result, the json file is loaded, not messages.ts. This causes improper module to be loaded during tests, causing all tests that use translations to fail.
I recommend to reorder extensions in default setup.
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json']

I think this will bring less problems than just mentioning

We recommend placing the extensions most commonly used in your project on the left, so if you are using TypeScript, you may want to consider moving "ts" and/or "tsx" to the beginning of the array.

The order of moduleFileExtensions can have performance implications, if we have lots of misses when checking for the first few possible extensions. Hence our recommendation in the docs.
For this reason it's probably at the very least too early to move TS in front of JS. But I would be down with moving JSON behind TS, as there are usually few JSON modules. If you want to send a PR changing that, I think we can accept it, although only for the next major version since it could be breaking.

May I help this? thanks!

Of course! 👍


chore: build all locales together

This fixes the 404 error when opening pages in non-English languages such as https://docs.near.org/zh-CN/develop/welcome.
The cause of the error is by using the current command yarn build --locale zh-CN && yarn build --locale vi && yarn build --locale ko && yarn build --locale en. The last step yarn build --locale en will overwrite the static files of other languages, because the subfolder vi, zh-CN , ko are omitted if building with the locale flag. So the paths such as zh-CN/develop/welcome doesn't exist.

The reason that we cannot use yarn build command is because we'll encounter the error FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory when building docs for all languages. The memory usage increases either because we have too many files, or there're some very large files, which needs to determined by more investigation.
We can workaround the error by setting environment variable NODE_OPTIONS=--max-old-space-size=8192 in GitHub actions and Render. I have tested and this works for both GitHub actions and my Render preview: https://near-docs-i18n.onrender.com
In the meanwhile, we should remove some of the deprecated source files from Crowdin project to reduce building time and memory usage. Will work on this later.

@bucanero Hey Damian, please try setting the environment variable NODE_OPTIONS with --max-old-space-size=8192 in Render environment and build the project again. It works for my test on Render.

The build-check GitHub action now passes after increasing the memory limit of node: https://github.com/near/docs/actions/runs/4707573191/jobs/8349507258?pr=1385

Amazing @think-in-universe !! 💪 now everything builds as expected 👍
I have updated Render and docs.near.org is live, with full Korean translation 😄
thanks again for your help fixing these issues 🙏

@bucanero Awesome. Thanks for making the docs live. 😄
With help of the tremendous efforts from the Korean community, we finally get it translated and deployed. Hope it helps our devs to build great projects on NEAR. 🚀


How to hide a category from the shop page

My goal it's to hide one or more cetegories from the shop page, I found this article:
https://wpdatatables.com/woocommerce-hide-category-from-your-shop-page/
But doesn't work with Divi theme, any suggestion ?

@Jigen77, Could you please share your website and the code you applied?


Support Write Ahead Log

Fixes https://github.com/nakabonne/tstorage/issues/5

Codecov Report

Merging #28 (06b12e3) into main (11d3d74) will decrease coverage by 2.01%.
The diff coverage is 7.70%.

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   65.31%   63.30%   -2.00%
==========================================
  Files          19       19
  Lines         954      970      +16
==========================================
- Hits          623      614       -9
- Misses        234      260      +26
+ Partials       97       96       -1

Impacted Files
Coverage Δ

file_wal.go
0.00% <0.00%> (-75.00%)
:arrow_down:

storage.go
53.88% <8.34%> (-2.01%)
:arrow_down:

memory_partition.go
76.87% <33.34%> (-1.16%)
:arrow_down:

Continue to review full report at Codecov.

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


#2341 - Navbar transformation during scrolling

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #2341
[x] - I've added shrinking navbar after you scroll 60px down, while on screen larger than 1024px. Can adjust both of those parameters based on preference @yangwao. Your specific request about trying to make this without any JS is outside of my competence, but I've also asked around and searched the whole internet for answer. Couldn't find anything useful. I've heared @roiLeo is CSS Wizard, so maybe he could chip in and let me know if there's a way to do this without JS.

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[x] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

https://user-images.githubusercontent.com/73316633/155882716-fdafa04d-1603-4e07-968d-b801a2fbe7c2.mp4

😍 Perfect, I’ve sent the payout
💵 $100 @ 118.46 USD/KSM ~ 0.844 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0x1a84faa9277ae1a95323220b48a9c41c2ec2de5a548cf310c7a5cbbd5fa420fd
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 133.59 USD/KSM ~ 0.749 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0x649857d22beff582848a395ff1017510614d53b53f738e5f9e08f04890eef2ba
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

ooooh I totally missed this one, navbar contain random css class which extend padding, I think I saw a "card" class floating around in the search component that we might need to be deleted.
Your approch using js to determine scroll position is a nice way to do but the css only solution would be to add position: sticky; to navbar wrapper like in this codepen

ooooh I totally missed this one, navbar contain random css class which extend padding, I think I saw a card class floating around in the search component that we might need to be deleted. Your approch using js to determine scroll position is a nice way to do but the css only solution would be to add position: sticky; to navbar container like in this codepen

damn, that's neat. I'll do some cleanup at the end of the week, there are some leftovers with my other PRs as well so maybe I'll do the "leftovers" PR and fix these issues. No JS seems like a better way performance wise :D


Save window state

Made the settings code more reusable.

@emersion you might be interested in this, any comments?

LGTM :+1:
The only little issue is that you re-write all gsettings each time one is changed, but I don't think it's so important.


{"name": "Tech Support Bot", "detail": "You should make a POST request to this endpoint.", "conversation": []}

Every time I perform a request to the server, it returns a [19/Aug/2017 22:21:30] "GET /chatterbot/ HTTP/1.1" 405 110.
I changed nothing from the example_app for integration of Django and Chatterbot, I have just copied all of it.
Later when I examined the console I found this Loading failed for the <script> with source “resource://devtools/client/shared/vendor/react-dev.js”. I have no idea what it means, please help me regarding this. Thanks in advance!

Hi @neutralboy, I don't believe the error you are seeing is related to ChatterBot. It looks like it might be an error generated in one of your browser extensions.

@neutralboy if you want get conversations from chatterbot you have do post operation.
https://github.com/gunthercox/ChatterBot/blob/324c312e036ef63fa80885f93ed2ff808919592f/examples/django_app/example_app/templates/app.html#L82
the error message came from here
https://github.com/gunthercox/ChatterBot/blob/324c312e036ef63fa80885f93ed2ff808919592f/chatterbot/ext/django_chatterbot/views.py#L103

@gunthercox : The error isnt related to the browser extensions. I disabled all the browser extensions and then tried it again, it didnt work.
@vkosuri : I tried the views.py and html template you had in your github page and even that gave me the same error.

Can you send over a code snip view to us so it is easier for us to understand what you are try to do?

@neutralboy I'm going to close this ticket off due to inactivity. Feel free to reopen it if you are still encountering an issue.


fix UploadForm::init()

call parent::init();

Hello @two4zero
Can you explain this patch?
Thanks.-

hi.
this is a patch of https://github.com/skydiver/october-plugin-forms/issues/144#issue-418658582
thanks~.


display TEI-texts in frontend with (CETEIcean)[https://github.com/TEIC/CETEIcean]

first version implemented, though it would be better to move the location of ceteicean static files to settings file

https://github.com/acdh-oeaw/apis-core/commit/89960c857b4c2ed6fd7480de538f9e42bc198932


Synthesis failed for Google.Cloud.AutoML.V1

Hello! Autosynth couldn't regenerate Google.Cloud.AutoML.V1. :broken_heart:
Here's the output from running synth.py:
Traceback (most recent call last):
  File "/usr/local/google/home/rennie/.vscode/extensions/ms-python.python-2020.5.86398/pythonFiles/lib/python/debugpy/no_wheels/debugpy/_vendored/pydevd/pydevd.py", line 3148, in <module>
    main()
  File "/usr/local/google/home/rennie/.vscode/extensions/ms-python.python-2020.5.86398/pythonFiles/lib/python/debugpy/no_wheels/debugpy/_vendored/pydevd/pydevd.py", line 3141, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/usr/local/google/home/rennie/.vscode/extensions/ms-python.python-2020.5.86398/pythonFiles/lib/python/debugpy/no_wheels/debugpy/_vendored/pydevd/pydevd.py", line 2266, in run
    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
  File "/usr/local/google/home/rennie/.vscode/extensions/ms-python.python-2020.5.86398/pythonFiles/lib/python/debugpy/no_wheels/debugpy/_vendored/pydevd/pydevd.py", line 2290, in _exec
    runpy._run_module_as_main(module_name, alter_argv=False)
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/google/home/rennie/gitrepos/synthtool/autosynth/synth.py", line 644, in <module>
  File "/usr/local/google/home/rennie/gitrepos/synthtool/autosynth/synth.py", line 498, in main
    return _inner_main(temp_dir)
  File "/usr/local/google/home/rennie/gitrepos/synthtool/autosynth/synth.py", line 542, in _inner_main
    if args.synth_path:
AttributeError: 'Namespace' object has no attribute 'logs_file_dir'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


My Css code not work properly when i convert html to pdf by pdfkit

why my css code not work when i convert html to pdf by pdfkit?
in html file i use some css code, here css not work properly, css :before and :after selector not work, margin not work properly my and  other some css not work .
my html file link : https://pastebin.com/nPafLyLb
code :
import pdfkit
options = {
    'page-size': 'A4',
    'orientation': 'Landscape',
    'margin-top': '0mm',
    'margin-right': '0mm',
    'margin-bottom': '0mm',
    'margin-left': '0mm',
    'encoding': "UTF-8",
    'no-outline': None,
    'enable-local-file-access': None
}
html_string = render_to_string('elm/exam_record/certificate.html')
pdfkit.from_string(html_s, 'output5.pdf', options=options)

Your environment

pdfkit version: 1.0.0
Django version: 4.2.7
python version: 3.10
Browser version (if applicable): chrome latest
Operating System: linux mint
wkhtmltopdf version: 0.12.6

I don't think this library is meant for converting html to pdf


About win10 updates - please consider giving more information to the end user when an update takes longer

Hey MS-folks out there,
Please excuse my filing here - I tried to find a useful repository about Win10 in general but ... I
could not find out. I found only semi-related URL entries, including:
https://answers.microsoft.com/en-us/windows/forum/all/get-rid-of-feedback-hub-in-favor-of-github/e3c3b00f-42ae-4c58-b000-6dfe95b1769e
And other feedback-hub related entries. Perhaps in the long run it would help simplify to
streamline feedback, aka "one hub to rule them all". I have had VERY good results in
regards to WSL1 and WSL2, so the teams that handle WSL1 and WSL2 are doing a
good job (in my opinion). I have had mixed results or ... well worse ones elsewhere,
but I digress. I mention this here so that a heroic soul could relocate the content of
this issue request. I encourage to close this request to keep things tidy, but please try
to understand the gist of it.
Some background:

I have been using linux since close to 20 years, so WSL is actually a "natural" add-on.

Additionally I compile on source, from linux.
My laptop runs Win10 and I am quite happy with how things are. I use ruby as the ultimate
"glue" language for literally everything; even GUIs I can now do, albeit admittedly with a
limited scope, via libui and the ruby-libui bindings. Anyway.
Recently I had some scheduled update ... and the laptop froze. On reboot the icon where
some clock was ticking showed for perhaps 3 minutes or so. The problem is - when you
hit that, you don't know what is going on underneath. Perhaps there is an infinite loop? So
what should I then do if there is no way to tell what is going on?
I suppose I could re-install or do some other re-setting stuff, and so on and so forth. All
viable options. But! This is not entirely what my issue request here is.
I'd love to have an option that gives me more information about what is going on, e. g.
WHY it is loading so long. Normally I get a percentage counter for updates, which is
actually more useful (!) than simply a rotating mouse pointer icon ...
After about 15 minutes everything works ok, so my initial shock is over. But how to know
without experience? I think there should be a better info-policy. I understand that you
cater for people who may not be tech-savvy, and this part is ok - but the "power-users"
should not be left alone without any information.
So, TL; DR: when doing updates in general consider giving better informations about what
is going on, at all times. This does not neet to be super-verbose, but simply more information
than an icon that rotates for +3 minutes, and users do not know how many more minutes
anything will run, or distinguish it from infinite loops ...

@bleblancMSFT Please help us in resolving this issue. Thanks

@rubyFeedback This repository covers the documentation and issues related to that, not Windows in general.
I agree with you though and think this great feedback to put into Feedback Hub, under the category Install and Update and sub-category Downloading, installing, and configuring Windows Update.
@yogkumgit There's nothing actionable here for docs so I recommend closure.


Remove deprecated Yaml

Codecov Report

Merging #685 (48c99a8) into main (4707012) will decrease coverage by 0.04%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #685      +/-   ##
============================================
- Coverage     92.64%   92.61%   -0.04%
+ Complexity     2624     2610      -14
============================================
  Files           284      283       -1
  Lines          5356     5319      -37
  Branches        581      574       -7
============================================
- Hits           4962     4926      -36
  Misses          248      248
+ Partials        146      145       -1

Impacted Files
Coverage Δ

...ker/idnumbers/pt/br/IdNumberGeneratorPtBrUtil.java
92.59% <0.00%> (-3.71%)
:arrow_down:

...rc/main/java/net/datafaker/service/FakeValues.java
83.33% <0.00%> (-0.84%)
:arrow_down:

.../datafaker/transformations/sql/SqlTransformer.java
85.92% <0.00%> (+0.72%)
:arrow_up:

...n/java/net/datafaker/providers/base/BaseFaker.java
88.69% <0.00%> (+0.86%)
:arrow_up:

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


make job agent config flexible

The parameters for apiserver and notifier are not flexible as some
parts in the endpoints are hard-coded. Now users can update
values.yaml to set endpoints as they want.

Codecov Report

Merging #111 (565736d) into main (3791f10) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   22.58%   22.58%
=======================================
  Files          34       34
  Lines        1408     1408
=======================================
  Hits          318      318
  Misses       1080     1080
  Partials       10       10

Continue to review full report at Codecov.

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


uv_timer_init segmentfault

When I new Timer with uv_timer_init , there is segmentfault occurs.So I don't kown what may happend..

Neither do I


UI dev

@vangasrikanth11 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


fix(scala): check for non null payload

Minor check to ensure payload is not null in scala

Hello!
I really appreciate your contribution and the 1st PR to this project! Thank you!
However, please read the CONTRIBUTING guidelines, so that you do not waste your time submitting a PR that cannot be approved. In short: "this project is only a train station, we do not make the trains". No parsers are create (or modified) in here, if we were to merge your PR, that file would be overwritten right away, on the next update, as we pull the (non-generated, which includes scanner.c) files from remote.
If you want this fix, you should contribute it upstream. For each parser, there is a grammar.json file, which includes the URL of the source, in this case https://github.com/alexaandru/go-sitter-forest/blob/main/scala/grammar.json#L6
That's where you want to submit your PR, and then it will naturally be picked up on the next (daily) update, without any changes to this project.
Once again thank you & have a great day!


No indeterminate nodes

Is any  way to prevent indeterminate node to recurse down check?
Actually i don't want that to be indeterminate but in fact a checked node.
So i don't want the parent node to uncheck if all his children are unchecked is there any options for checkbox to prevent this?
Thanks

Solved!
Just set option on the tree:
autoCheckChildren: false
and put on the tree tag:
v-on:node:unchecked="nodeUnCheck($event)" v-on:node:checked="nodeCheck($event)"
and the methods on my parent componet:
          nodeCheck(checked) {
                if(checked.children){
                    checkCascadeUp(checked.children);
                }
                function checkCascadeUp(node) {
                    node.forEach(function (child) {
                        child.check();
                    });
                }
            },
            nodeUnCheck(unchecked) {
                if (unchecked.children) {
                    uncheckCascadeUp(unchecked.children);
                }

                function uncheckCascadeUp(node) {
                    node.forEach(function (child) {
                        child.uncheck();
                    });
                }
            }


Column is_fixed_role for 'sysadmin' should return 1

Column is_fixed_role for 'sysadmin'  in the view sys.server_principals returns 1 in MSSQL and 0 in BBF.
With this change, we have updated the column value is_fixed_role for sysadmin in the view sys.server_principals.
Task: BABEL-3225
Signed-off-by: Shalini Lohia<EMAIL_ADDRESS>

Please make commit message more descriptive. Also, add upgrade tests if applicable.

Updated the commit message. Not sure if upgrade tests are applicable for this minor change.


Pass compiler environment variables to conda python build

Pass compiler environment variables to conda python build

@gpucibot merge


Add Intel openmp as a submodule and build for x86 architectures

Description
(Brief description on what this PR is about)
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] For user-facing API changes, API doc string has been updated. For new C++ functions in header files, their functionalities and arguments are well-documented.
[ ] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

License: BSD or MIT (allowed to be used in Apache project):
The software contained in this directory tree is dual licensed under both the
University of Illinois "BSD-Like" license and the MIT license.  As a user of
this code you may choose to use it under either license


Association's combine method doesn't work as in docs.

In ROM 4.0.0 the results of https://github.com/rom-rb/rom-rb.org/blame/master/source/4.0/learn/core/associations.html.md#L87 do not work as expected.
In the example it returns:
# {:id=>2, :name=>"John", :tasks=>[{:id=>2, :user_id=>2, :title=>"John's task"}]}
But when I run the example locally I get this:
# {:id=>2, :name=>"John", :tasks=>[]}

Thanks, this clears things up a lot!


Move the Operator container image to redhat-sap-cop Org in Quay

Move the operator container image quay.io/redhat-sap/hybris-operator:0.1 and any other custom container image specifically related to this operator under redhat-sap-cop Org

@xieshenzh I'vecreated the Quay repo for this already and configure automatic builds for this. If we want to create a more complex CI for builds we can remove this automatic builds and create a GitHub workflow instead
https://quay.io/repository/redhat-sap-cop/hybris-operator

Thanks @makentenza .
We need to run command make docker-build docker-push IMG=quay.io/redhat-sap-cop/hybris-operator:0.1 to build the operator. Using the Dockerfile alone won't work.
I'll create a GitHub workflow later and then let you know.

Thanks @xieshenzh


Clean up examples

To fix issue https://github.com/zio/zio-sql/issues/597
Add missing examples to Examples.scala and remove Examples1.scala.
Change the example from using SqlServerJdbcModule to PostgresJdbcModule. Aside from supporting Open Source DBMS, certain functions don't work with SqlServerJdbcModule, eg. Offset. That said, I also found out that As doesn't work for Postgres and MySQL but it's out of scope for this PR.

Feedback is very much appreciated!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I didn't expect switching to PostgreSQL but considering it's our most advanced module it totally makes sense :+1:


Accordion Component

https://www.w3.org/WAI/ARIA/apg/patterns/accordion/

Please assign this to me

Let me try


flapping tests

Seeing this failure randomly on travis, like 1 in 100 times. Has happened with node v4 on OS X against the brew sqlite. And also another version I don't remember right now:
  133 passing (34s)
  1 failing
  1) each retrieve 100,000 rows with Statement#each:
      Uncaught AssertionError: Only retrieved 99582 out of 100000 rows.
      + expected - actual
      -99582
      +100000

      at Database.<anonymous> (test/each.test.js:20:20)

Haven't seen anything like that yet but will keep an eye out 🙂


Simplify the definition of the  application host name

What do you want to improve?
Simplify the definition of the  application host name for a chart deployer.
What is the current behavior?
The chart deployer must specify the application host using either global.host or global.clusterRouterBase.
The latter parameter is basically requesting the user to specify a cluster configuration that we can also extract from the cluster itself with a lookup function.
What is the new behavior?
In the janus-idp.hostname template function, extend the exit condition with a further attempt to lookup the cluster domain from the configuration, as in:
oc get ingress.config.openshift.io/cluster -oyaml | yq '.spec.domain'
If the configuration is found, then we can use it as a last resort option.

@Zaperex can you see if this one is valid and if it can be contributed?

@masayag I tested on openshift local and verified that the relevant hostname information can be extracted from the cluster with a lookup function. I'll add the PR for it right now.

Thank you @Zaperex!


Client side QR Codes

Currently, QR codes are displayed via a custom view, which is requested and rendered by the server.
This is not required, a simpler approach is to use a client-side library to render the QR codes.
This PR implements that, and removes a bunch of server side views.
Additionally, support for client-side QR code rendering will be required for https://github.com/inventree/InvenTree/pull/4336

@SchrodingersGat we have dependencies for generating the QRcode. Should we remove them or add a general purpose APIs route for rendering out an image of any qrcode?

Those dependencies are still needed for generating reports / labels / etc on the server side. But for client side rendering I think this is a cleaner approach.


Replace requests mocking with pook

Current Situation

pook is a library introduced in the API test suite. We have an issue to introduce it to the catalog in https://github.com/WordPress/openverse/issues/1938, however there are other places we should refactor in the API test suites as well.
Suggested Improvement

Refactor the following test modules to replace requests mocking with pook.

Note
Some places may not be able to rely entirely on pook, if we're testing weird requests edge cases that cannot be triggered by changes in the HTTP response. Those should be explicitly documented when they're needed.

[x] test_photon
[ ] test_watermark
[ ] test_waveform
[ ] test_image_views
[x] test_slack (ingestion server)

Benefit

Using pook makes the expected HTTP response more explicit, meaning the tests are clearer. Mocking requests (because we mock the various HTTP verb methods, get, post, head, etc) relies on understanding the specific behaviour requests exhibits under certain HTTP request lifecycle conditions. Using pook removes that reliance, creating a test suite that is more resilient long-term to changes in the behaviour of the requests library. It also reduces our reliance on requests as the specific library we use, which could change if we switch to ASGI Django, for example.

@sarayourfriend Can I take this up? haven't used pook before so should be good way to learn

Please, go ahead and give it a shot, @ashiramin! If you run into any issues just leave us a comment here or find us in the #openverse channel of the Making WordPress Slack instance.

@zackkrida I can set up mocking with for non binary data but it seems like pook doesn't support binary https://github.com/h2non/pook/issues/55

@zackkrida @sarayourfriend Finally got around to this Got busy with life Please take a look and let me know what you think https://github.com/WordPress/openverse/pull/2783

3/5 of the listed usages of mocking have not yet been resolved so the issue is kept open.

@sarayourfriend @dhruvkb can i work on this?

Sure, please go ahead @ngken0995!

@dhruvkb I realize pook maintainers hasn't reviewed @sarayourfriend PR to support binary https://github.com/h2non/pook/pull/88.

Yeah pook hasn't had any activity in 9 months so I'm not entirely sure if it is even maintained anymore.
One way to proceed would be to change our pook dependency to point to @sarayourfriend's version as in PR #3236. I'm not sure if that's the right approach so we can block this issue till either h2non/pook#88 or #3236 are merged.

@ngken0995 we merged #3236 so now we can use the latest features from pook without having to wait for the next release. Feel free to work on this issue if you're interested.

@dhruvkb Yes, I'll continue to work on this.

@dhruvkb I'm not sure if i'm going on the right path.
I tried to edit the _default_response_factory function and got an error about unexpected keyword binary. Take a look at the error below:
    def _default_response_factory():
        res : pook.Mock = (
            pook.Response()
            .header("headers", _MOCK_AUDIO_INFO["headers"])
>           .body(body=BytesIO(_MOCK_AUDIO_BYTES), binary=True).mock
            )
E       TypeError: Response.body() got an unexpected keyword argument 'binary'

Am I going on the right track?

@ngken0995 Can you confirm you ran pipenv install in the api directory to get the updated dependency?

Adding to @sarayourfriend's suggestion, you might also need to rebuild and recreate the web container.
$ just dc build web
$ just dc up -d --force-recreate web

@sarayourfriend @dhruvkb Thank you, running the following command above worked.


More versatile if_else conditions in qiskit

What should we add?
Hi so I've been trying to put error correction gadget in my circuit,

e.g. for the Fault-tolerant Steane EC, we need to measure the syndrome of a logical 0 ancilla, which is a 7-bit outcome, this is then multiplied by the parity check matrix (in this case a 3x7 matrix). This would result in a 3-bit result and this error syndrome indicates subsequent operations applied. I might be mistaken, but this is not possible with current if_test statement, the type being compared is "ClassicalRegister". I would like to request for functions allowing more comparison such as the above or if_test((clbits1, clbits2)) for testing if two classical outcomes are the same. (I found in Cirq such test function allows Sympy expression so I think this should also be doable in qiskit ... )

I want to do more operations after if_test:
I wish to achieve one more round of different error correction once a previous EC circuit flags an error. This is also not allowed after if_test, an error shows up
qiskit.exceptions.QiskitError: 'Cannot convert condition in circuit with multiple classical registers to instruction'

Thanks if you can help support the above functionality, it would potentially allow people to actually implement a fault-tolerant circuit. Currently all we're doing is to test the threshold of certain codes, but cannot put these gadgets into circuits.

Let me start by saying that we're absolutely working on expanding Qiskit's ability to represent classical operations, on Aer's ability to simulate such instructions, and in our hardware being able to perform such mixed quantum/classical computation.  The expansion of these "dynamic circuits" capabilities is a big part of our plans for Qiskit in the coming year.
For point 1: adding a representation in Terra is only a small part of this effort.  We're also committed to having general classical processing on IBM hardware, and in the fast Aer simulator, and it might be frustrating for users if Terra can represent a lot more is possible than even on our simulators.  It's more work for us on Aer to add support for classical processing than for Cirq because all our simulation is done in compiled languages away from the Python runtime, so it's not practical (nor efficient) to call out to Sympy.  We also intend to support a much stronger type system in classical values as part of our joint work with the other parts of the OpenQASM committee on OpenQASM 3, which Sympy isn't intended to represent.
For point 2: this sounds like you're trying to do qc.append(gadget), which attempts to add the "gadget" as a single opaque instruction onto the circuit.  For now (again, while we're expanding classical processing), you might have more success using QuantumCircuit.compose, which inlines one circuit into another.  This allows for much more flexibility with mapping registers between, and seems to be a little bit more like what you intend.

With the merging of the epic #10239, I think we can consider this issue closed for the purposes of its original post.  Please feel free to re-open or create a new issue if there's more to discuss.


sap.m.DateTimeInput displayFormat changes model value

Hello,
In SAP we have a field with format UZEIT (hhmmss). In SAPUI5 we are showing this field with component sap.m.datetimeinput. The displayformat attribute is set to hh:mm, so the seconds are omitted.
If the displayformat attribute is set to hh:mm, the underlying odatamodel sees this directly as a change (hasPendingChanges=true). This looks like a bug. I expected that a shorter displayFormat would not lead to a change in the odatamodel.
valueFormat="HHmmss" displayFormat="HH:mm".
Regards,
Bert

Hello Bert,
thanks for reporting this issue. From your problem description, it looks like the displayFormat attribute is also bound to an OData model. If the binding mode is "TwoWay", then every change of a bound attribute will also result in an update in the model.
So we would really like to see the use case if this is a bug in the control or it is a configuration issue with the model on the application side.
Could you therefore please add a minimalistic example (for example in JSBin) so that our developers are able to reproduce the issue?
You can use this as a astart:
http://jsbin.com/jemepilelu/2/edit?html,css,js,output
Thanks a lot & Kind Regards,
Michael

Closing as there is no reply from author.
@bertdeterd please provide an example to reproduce this issue in case it is still relevant.


Question: Open menu on left click

Hi,
Is there any way to show context menu when click left mouse button.
Thnx

Hey, I saw this problem as well. You can apply this change for macOS:
@objc func on_system_tray_event_callback(sender: NSStatusBarButton) {
    if let event = NSApp.currentEvent {
        switch event.type {
        // case .leftMouseUp:
        //     channel.invokeMethod(kSystemTrayEventCallbackMethod, arguments: kSystemTrayEventLButtnUp)
        default:
            channel.invokeMethod(kSystemTrayEventCallbackMethod, arguments: kSystemTrayEventRButtnUp)

            statusItem?.menu = statusItemMenu
            statusItem?.button?.performClick(nil)
        }
    }
}

I haven't poked around the Windows code yet but I'm assuming there's a similar fix that can be applied.

Threw a slightly different fix for mac and windows into a fork: https://github.com/LucianoLaratelli/system_tray
Haven't looked at Linux yet

Looks like this might be a better replacement: https://github.com/leanflutter/tray_manager

pls try v0.0.9


Add load_avg component

This prints a message like this:
Load (1/5/15 min.): 0.40, 0.44, 0.62

Thanks for the contribution. I'm not sure about the formatting. I find it a bit odd that the prefix is configurable but not the data. What about making the entire line into a configurable format string? At the very least, I would not use slashes in the prefix and commas in the data.

There should be a change to the readme too.

How about this? I made the whole line configurable using the interpolator crate, which seems both popular and lightweight.

The last update was rebase to main for fix the conflict.

Looks good. Thanks for your efforts.


Add CollectionTrait

A CollectionTrait extends ManagesItemsTrait and adds several helper methods:
There is no need to recreate the wheel, though. Import Stringy and some Array helper and user Illuminate\Support\Collection to fill in the rest of the holes
Wish list

[ ] flatten() Get a flattened array of the items in the collection.

[ ] flip() Flip the items in the collection.

[ ] diff(mixed $items) Diff the collection with the given items.

[ ] each(callable $callback) Execute a callback over each item.

[ ] filter(callable $callback = null) Run a filter over each of the items.

[ ] groupBy(callable|string $groupBy, bool $preserveKeys = false) Group an associative array by a field or using a callback.

[ ] keyBy(callable|string $keyBy) Key an associative array by a field or using a callback.

[ ] implode(string $value, string $glue = null) Concatenate values of a given key as a string.

[ ] intersect(mixed $items) Intersect the collection with the given items.

[ ] keys() Get the keys of the collection items.

[ ] last(callable $callback = null, mixed $default = null) Get the last item from the collection.

[ ] pluck(string $value, string $key = null) Get an array with the values of a given key.

[ ] map(callable $callback) Run a map over each of the items.

[ ] max(string|null $key = null) Get the max value of a given key.

[ ] merge(mixed $items) Merge the collection with the given items.

[ ] min(string|null $key = null) Get the min value of a given key.

[ ] pop() Get and remove the last item from the collection.

[ ] prepend(mixed $value) Push an item onto the beginning of the collection.

[ ] push(mixed $value) Push an item onto the end of the collection.

[ ] pull(mixed $key, mixed $default = null) Pulls an item from the collection.

[ ] reject(callable|mixed $callback) Create a collection of all elements that do not pass a given truth test.

[ ] reverse() Reverse items order.

[ ] search(mixed $value, bool $strict = false) Search the collection for a given value and return the corresponding key if successful.

[ ] shift() Get and remove the first item from the collection.

[ ] shuffle() Shuffle the items in the collection.

[ ] slice(int $offset, int $length = null, bool $preserveKeys = false) Slice the underlying collection array.

[ ] sort(callable $callback = null) Sort through each item with a callback.

[ ] sum(callable|string|null $callback = null) Get the sum of the given values.

[ ] transform(callable $callback) Transform each item in the collection using a callback.

[ ] unique(string|callable|null $key = null) Return only unique items from the collection array.

[ ] count() Count the number of items in the collection.

See my comment in the PR about this.
It's not to say that having the trait isn't a good thing. It should however be used sparingly. A few of these methods would be better used doing different tasks in classes that would extend Collection

This will be split into two milestones. Basic for v0.8.6 and full for v0.9

Decided to use Arrayzy, with their api


[BUILD][FRONTEND] working 3P backend

AMD is enabled by default, but not ripe for usage (not tested). Lots of work will be necessary to make everything robust and maintainable.

Great to see it's moving forward on AMD! Do you have any plan to merge the ROCm fork (https://github.com/ROCmSoftwarePlatform/triton) back?


Compile error while ussing $ grunt.

src/language/en-Us/admin.po
warn: spawn unkown use -- force continue.
Fail  grunt fail to compile

@serverfire Any idea why?

@libreliodev Having python is necessary. Make sure you have python. In /usr/bin/python

@marini21 Make sure you have python. In /usr/bin/python (thanks @serverfire )


Attempted import error: 'Redirect' is not exported from 'react-router-dom'

Hi, I'm trying to rebuild the webapp, and it's giving me the following error:
Creating an optimized production build...
Failed to compile.

./src/components/Library/lists/index.js
Attempted import error: 'Redirect' is not exported from 'react-router-dom'.

I'm on the latest commit of future3/develop - a12746f7565823d264c7511df8a1853a691af58a
The problem seems to be an update in react-router-dom: https://stackoverflow.com/a/63691192
Suggested solution is to replace <Redirect to='/' /> with <Navigate replace to="/" />, or pin an older version of react-router-dom.

Hey, thanks for checking. I have a new PR where this will be fixed. I will merge it tomorrow most likely..

Problem should be solved
cd; ENABLE_WEBAPP_PROD_DOWNLOAD=true GIT_USER='MiczFlor' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)

Can confirm it is resolved (I updated future3/develop branch and then ran ./run_rebuild.sh -u in src/webapp folder).
Thanks a lot! :)


Exostar Provider

I received an email from an individual that mentioned Exostar and said that it wasn't on the list.

according to http://www.exostar.com/Problems-We-Solve/Products/Second_Factor_Credential_Authentication/ they support
Hardware tokens
SMS (text message)
IVR (voice call)

Handled in #1146.


Document the flags that can be set on the contour binary

Describe the solution you'd like
Contour exposes a set of flags that can be used to configure the behavior of the ingress controller. Historically, I have resorted to looking at the source code under cmd/ to find the flags I need to tweak.
Ideally, these flags are documented for users that might not understand Go.

I don’t want to duplicate the output of
contour serve —help
It will just get out of date.

On 10 Apr 2019, at 01:07, Alexander Brand<EMAIL_ADDRESS>wrote:
Describe the solution you'd like
Contour exposes a set of flags that can be used to configure the behavior of the ingress controller. Historically, I have resorted to looking at the source code under cmd/ to find the flags I need to tweak.
Ideally, these flags are documented for users that might not understand Go.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

That is an excellent point. Unfortunately, I've seen multiple instances of people asking how to configure Envoy to listen on ports other than 80/443. What do you think about capturing that use case in docs/deploy-options.md?

@alexbrand I think to document why you'd use these different flags and when would be helpful in that deployment section.

How about this as a middle ground, we set each of the flags explicitly to their default values in the deployment examples?
The bottom line is there is no test for a markdown file or a deployment/ yaml example. I know people have problems finding the right values to set, but we have a long history of bugs caused by these files getting out of date.

Exposing the flags in the deployment sounds good to me. I don't necessarily think we have to expose all of them. Seems like the most common ask we get is the one around configuring the listening ports, so I think I would start there. I'll open a PR to explicitly set those in the deployment files.


Infinite Stamina Issue

Error : Infinite stamina / stamina value editing doesn't seems to have any effect on the game.
No Error log.

actually none of the Codes tab works

You aren't using the correct tcpgecko if that's the case. Check the readme

Also, double check your .Net version

I am using the correct tcpgecko elf file
I have the correct .NET Framework version

your IP address could be wrong
Are you able to load items within the trainer? Or are you just hitting connect and using the yellow tabs?

I'm indeed able to swap item, everything seems to be working except Codes tab

What version of the game are you on?

Latest update v64

Weird, if you have the correct tcp files, .net version and game version then I don't know i'm afraid. You are clicking save at the bottom right?
Can you record a video?

I can't record a video since i'm using the wii u version of BOTW and therefore i would need to use my phone to record. No offense but i don't think i'm retarded.
http://i.imgur.com/rcoQlJh.png the codes tab page after  clicked save,
http://i.imgur.com/4bIz5TU.jpg but in game i have the same amount of rupee

Rupees will only change when you use them i think

If you want rupees just give yourself 100 diamonds then sell them

i know right ? look at upper reply, there are tons of way to make rupee. I only want stamina

Oh, why did you post and comment on the rupees?
I honestly don't know why it doesn't work for you., You are the only person so far who is having a problem after checking gecko, .net and the game version.
When you start tcp gecko and press X does the black screen have your IP address?

there is no ip on tcpgecko, i donloaded this java progra o the repo you lined, it has downloaded latest file, i put it on sdcard, i install tcpgecko w/ codehandler ad then i start botw
imgur.com/gallery/jUEhT

What happens if you press the  test button on the trainer after connecting? Bottom right
The latest tcp gecko bully made shows your ip address so you don't seem to have the latest one
https://github.com/BullyWiiPlaza/tcpgecko

http://i.imgur.com/gHKQVVY.png

tcpgecko.zip
Here are the files from my tcpgecko folder on my sd  card

Working now? If so i will close.


Add an event when the imodelconnection changes.

Changes
Since the usage of the store and SessionStateActionId.SetIModelConnection has been deprecated, I'm looking for an alternative to listen to IModel change event. Note that I can't use the useActiveIModelConnection hook as some of our code lives outside the React world, yet we still want to make sure we're targeting the same imodel as the ui framework.
Ideally, this is something that should be backported to the 4.16.x branch.
Testing

Added a few lines in UiFramework.test.ts to validate that the event does indeed get called.

Please update NextVersion.md. You'll need to run rush change as well.

Done. I had a bunch of issues due to having a different pnpmVersion installed locally. Had to do my initial commit using the GH file edit.

Please update NextVersion.md. You'll need to run rush change as well.

Done. I had a bunch of issues due to having a different pnpmVersion installed locally. Had to do my initial commit using the GH file edit.

Sorry about that, it must have been due to https://github.com/iTwin/appui/pull/1025


chore(ci): use a kbt capable of using pre-builtruntime

Folks don't want to learn Docker so this lives on a personal fork


[WIP] Greek translation

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

With this pull request, I am aiming to provide a space for collaborators who are able to assist with translating the project into the Greek language.
TODO List

[x]  el.yml (needs review) :warning:
[x]  index.html (needs review) :warning:
[x]  best-practices.md
[x]  building-community.md
[ ]  code-of-conduct.md
[ ]  finding-users.md
[ ]  getting-paid.md
[ ]  how-to-contribute.md
[ ]  leadership-and-governance.md
[ ]  legal.md
[ ]  metrics.md
[ ]  starting-a-project.md

Standard Greek Vocabulary Table

:gb: English
:greece: Greek

maintainer
:question: συντηρητής

evangelize
:question: προωθώ

contributor
:question: to be filled

project
πρότζεκτ

contribute
συνεισφέρω

open source
ανοιχτός κώδικας

Approved

Am good with whatever it is with BNB

Looking good so far! Please re-request review when it's completed.

Thank you! Will do. Easter holidays are almost over here in my place so I'll get some more progress done in the next few days! 🚀

Can I review?

Duit dimn duit ...

ممكن حد يفهمني  ويسعدني  علي البرنامج

Can I review?

i really am a begginer and someone has stole my life and identity im really
trying to fight them off  can u teach me
On Sun, Jun 26, 2022, 8:05 AM github-actions[bot] @.***>
wrote:

This pull request has been automatically marked as stale because it has
not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.
—
Reply to this email directly, view it on GitHub
https://github.com/github/opensource.guide/pull/2791#issuecomment-1166511398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZXERJRZLNM5YTRD47OLZ23VRBBR3ANCNFSM5SLLUIXQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I don't have money anymore to go out to the workshop, I want to eat, let alone me

Passing on this for now. @christolis please reopen when complete and passing CI, thanks!

@MikeMcQuaid The rest of the articles have now been properly translated into the Greek language! My apologies for the massive delay! For some reason, I am unable to reopen the pull request. Should I re-create it?

@christolis Reopened now! Please rebase and push to this branch.