text:
Update for Rails 6.0

Specs passing, and still works like a charm for me locally!

Thank you so much for your work here, @leboshi .
Unfortunately, CI is not currently testing Rails 6 with this configuration. I am handling that issue in #9 .

authors: alecdotninja leboshi


text:
Provide bash completion

Similar to --help-man, create a --help-bash-completion flag (that is possibly hidden).
I'm assuming this could come out of e.g. the CmdGroupModel of Application.Model(). Having not looked at the source and only the API, that was just my best guess.
This will probably be an easier PR for me to start up on than the other issues I've opened. :wink:

I don't use bash, but this is something I've wanted for a while for zsh. I started, but unfortunately the documentation for zsh completion is lacking.
Definitely would be great to have.

Oh! If your zsh is recent enough, it should come with a function called bashcompinit that will create the completer for zsh. I've set that in #76.

Not sure if I should open a separate issue, but is it correct to have hidden cmds completed? If a cmd is marked as hidden from --help, maybe it should also be hidden from tab completion.

Yes, I would say it should be hidden. Commands, flags too.

I think this is largely complete, just needs some tweaks and bug fixes. Closing.

source: gharchive/issue

authors: alecthomas heewa rgbkrk

repo: alecthomas/kingpin

license: mit

license_type: permissive

license_source: bigquery


text:
Import from gopkg like the other examples

This was the only example not importing from gopkg. When trying multiple examples this one would not work because it was not available locally. It took me a while to understand what was happening.

Thanks!

source: gharchive/pull-request

authors: PotHix alecthomas


text:
Support for flags defined with a pattern (regexp)

This PR adds the ability to define flags using a regular expression, for example:
kingpin.FlagPattern(`root\.(\d+).(name|value)`, "Specify value at given path")

Any capture defined in the pattern can be retrieved via the new Capture parser, given this:
var pos []string
vals := kingpin.FlagPattern(`matrix-(\d+)-(\d+)`, "Specify value for entry in matrix col i, row j").Capture(&pos).Strings()

passing the command line flags --matrix-0-0=foo --matrix-0-1=bar will result in:
pos == []string{"0", "0", "0", "1"}
vals == []string{"foo", "bar"}

Thank you for the PR, I appreciate the effort, but I think this is a bit too complex and thus confusing. Here is my rationale:

I have never seen dynamic flag names, and I think it would be very unexpected to encounter them.
I  think that any use case for dynamic flag names could be satisfied with a custom value parser. eg. instead of --matrix-0-1=bar the value parser could accept --matrix-set=0,0:foo --matrix-set=0,1:bar. This flag would also return a matrix type directly rather than "outputting" two values.

I certainly understand the desire to keep things simple and maybe my use case is too esoteric but using parsers like you suggest would defeat the purpose. I want to be able to leverage Kingpin's built-in help generation and validators. In my use case different values at different positions can have different types.
To add more color: my use case consists of a command line tool that can build data structures from values given on the command line via flags. These data structures can be recursive and having the help and type validation taken care of by Kingpin would be awesome. Happy to provide more details around the use case if needed. Thank you for your consideration!

Using a custom parser does not preclude varying types, help, or type safety AFAICT. In fact, I'm not sure how your patch would achieve this either? As for the help, it seems like the flag help output with your patch would be the regex pattern?
var nested *MyNestedStruct = MyNestedStructFlag(kingpin.Flag("set", "Set custom struct field"))

If your underlying use case is the ability to build data structures using kingpin, then that is an interesting idea in itself. Something that reflected over a type and produced flags capable of generating an instance of that type could be quite interesting. I can't personally envisage an elegant way of doing that off the top of my head, but it might be possible.

I'm writing a code generator tool that takes in metadata that describes an API (e.g. https://www.googleapis.com/discovery/v1/apis/compute/v1/rest) and produces a command line tool that can call the APIs. So what I have is a JSON schema describing data structures and from that I need to "flatten" it so that it's possible to specify the values for each leaf. There can be data structures that are embedded in arrays or hashes and for these I need to do something like (not a real example):
client instance create --disks.0.name="first disk" --disks.1.name="second disk" --disks.0.size=200 --disks.1.size=400 --tags.foo=bar --tags.goo=baz

This would correspond to the data structures:
type Instance struct {
    Disks []*Disk
    Tags map[string]string
}
type Disk struct {
    Name string
    Size int
}

The metadata contains documentation for each field which I want to display with the command line as well. So client instance create --help would list the flags and for each the corresponding data structure field docs.
I've been able to use flag patterns to achieve all of that (I can specify the exact type of the leaves of data structures embedded in arrays and the corresponding docs).

To follow up on this: after a few iterations I ended up not needing flag patterns, so good call on rejecting my PR ;)

Hehe. Okay, good to know, thanks :)

authors: alecthomas raphael


text:
lockAda

lender deposits funds + asset-id of an NFT that will be the collateral
compare:
lockAda

creates a datum and populates it with form values and the PKH of the owner wallet.

[ ] https://github.com/lley154/helios-examples/blob/main/vesting/pages/index.tsx
[x] https://github.com/lley154/helios-examples/blob/main/vesting/components/LockAda.tsx
[x] does not need a Redeemer?

Lock Ada takes care of Datum creation.

[ ] I need Datum for unlocking, so I need to try unlocking first

repo: aleeusgr/potential-robot

license: MIT

license_source: github-api


text:
🛑 Whoogle is down

In 23a2569, Whoogle (https://s.alefvanoon.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Whoogle is back up in 98c733c.

repo: alefvanoon/Status


text:
🛑 Teddit is down

In 6e0a2f8, Teddit (https://teddit.alefvanoon.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Teddit is back up in efef934.


text:
Great Augmentation library

I am not sure of the bugs that may be there, But till date, this is the best augmentation library I have encountered so far. The api is extremely readable and intuitive to understand.
It is ironic, that I am opening an issue to commend the job done.  :+1:
Well, no option of comments on github. Please close this issue as soon as you read it.
Cheers!
Akanimax

Thanks a lot! :blush:
Good to hear that the library helps somebody!

authors: akanimax aleju

repo: aleju/imgaug


text:
🛑 h23 is down

In d211892, h23 (https://h23.seohost.pl:2222/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: h23 is back up in baca8b1 after 16 minutes.


text:
fix: Update example command

Fixed example command switches with current manual
Added new working WARP key for example

I encountered switch format issues while running the example command, so I fixed them and thought it would be helpful to submit it as a PR as well. Thanks for this great script by the way.

Thanks for your contribution.
Actually you can put or omit = in arguments. I updated the example to add = to all args
About the example license, users have to get new license for their installation otherwise warp will show 'Too many devices' error.
Each license is valid for 5 devices

Wonderful, appreciate your help.

authors: AlirezaBaratian aleskxyz

repo: aleskxyz/reality-ezpz


text:
I want help

I wanted to create and deploy aniyomi-local but I am very noob in this stuff I am unable to deploy the fork I made of this repository on Netlify. Can you help me deploy it? If yes please DM me on Discord 12ohit#6969 because your DM's are closed.

Nevermind, I realised that your latest commit was making the problem so I used the repository from before that commit and it worked.

Hi, 12ohit, sorry about not replying it before.
Glad to hear you managed to make it build with success 😄
Any new questions or issues you find, feel free to open a new issue or PR with fixes!

Also, @12ohit, please replace my Google Analytics tag on index.html with a custom one created by you to your fork or remove that script from the page, please.

Ok I will remove that Google Analytics tag, thanks

repo: alessandrojean/tachi-local


text:
Add canvas editor caret tracking example

Create a fake editor using  and use js2at to expose where the caret is.

@kenlimmj since you've already built this, do you want to just land it? It's good enough for now.

Oh, you already did! Closing.


text:
unicode_type = six.text_type and define long in Python 3

This approach uses the Python porting best practice Use feature detection instead of version detection and thus avoids raising undefined name (F821) errors in flake8.
flake8 testing of https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./ask-sdk-core/ask_sdk_core/serialize.py:38:20: F821 undefined name 'unicode'
    unicode_type = unicode
                   ^
./ask-sdk-core/ask_sdk_core/serialize.py:49:33: F821 undefined name 'long'
        'long': int if PY3 else long,
                                ^
./ask-sdk-core/tests/unit/test_serialize.py:36:20: F821 undefined name 'unicode'
    unicode_type = unicode
                   ^
./ask-sdk-core/tests/unit/test_serialize.py:37:17: F821 undefined name 'long'
    long_type = long
                ^
4     F821 undefined name 'unicode'
4

Description

Motivation and Context

Testing

Screenshots (if appropriate)
Types of changes

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

Checklist

[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have read the README document
[ ] I have added tests to cover my changes
[x] All new and existing tests passed

License

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hey @cclauss , thanks for the PR. Can you please look into the checklist and the license information for the PR, so that we can go ahead with the commit?

Done.

authors: cclauss nikhilym


text:
sudo bash startauth.sh does not work

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
I can not find file "startauth.sh" in my "/home/pi" directory.
Where can I get this file?
I execute the command as below.
sudo bash startauth.sh
the following issue is similar.
https://github.com/alexa/avs-device-sdk/issues/557
What is the expected behavior?

What behavior are you observing?
no such file or directory
Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
AVS Device SDK
1.6.0
Tell us what hardware you're using:

[ ] Desktop / Laptop
[X ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[X ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hello apollo13yuma,
We have deprecated the authorization tools and examples in 1.6 because they did not implement any of the supported authorization methods ( Companion App, Companion Site, Code Based Linking, or On Product ).  We strongly encourage you to update to a later version.
Regards,
-SWH

Hi Scotthea,
Thank you very much for your reply. I will try to update to AVS SDK 1.7.
If possible, would you please suggest how to upgrade 1.6 to 1.7 on Raspberry Pi?
Can I follow this setup?
https://github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide-with-Script
Regards
Yuma

Hello Yuma,
Those steps are intended to be used for building 1.7.1 from scratch.   If you do not have any work that depends upon 1.6 it would be simplest to just delete the folders created during your build of 1.6 and use the instructions you linked to.
If you really need to upgrade (e.g. you have changes to avs-device-sdk that you want to merge with 1.7.1) and already have 1.6 building, you can probably do a pull from within the avs-device-sdk folder to get the 1.7.1 source.  Of course, if you have made changes to the 1.6 avs-device-sdk, you will need to merge them.  Then use 'make SampleApp' in the build folder to build the 1.7.1 version of the SampeApp.  Then, you can start from the Setup Your Configuration step of the Quick Start Guide to configure and authorize SampleApp.  Note that where those configuration instructions refer to a sdk-build, your previous build of 1.6 probably named the folder build.
I hope that helps,
-SWH

hi SWH,
Thanks for your help. It was reslolved, when I use SDK 1.7.1.
However, I can not authorrize my cilent in Amazon web site.
https://github.com/alexa/avs-device-sdk/issues/790

repo: alexa/avs-device-sdk


text:
Using svg textwrap with polygons

Is it possible to use the textwrap feature with an svg ? The  and  work very well, but wanted to do this with a svg polygon shape that looks like a text-bubble. Thank you!

I've often wondered about this too - particularly if the textwrap feature could possibly be used to label streamgraphs.
Possibly a duplicate of https://github.com/d3plus/d3plus-text/issues/6

Thanks @curran! I will dig through this thread and see if I can make it work. I really appreciate the quick response.

Have you guys seen the largestRect function? It's available with d3plus.geom.largestRect:

Blog Post and Examples
Documentation

Internally, D3plus uses it for stacked area charts. Here's the code: https://github.com/alexandersimoes/d3plus/blob/master/src/viz/helpers/shapes/area.js#L50-L72
I'm going to close this issue in favor of this new issue in the 2.0 d3plus-text module.

authors: curran davelandry ebwalker


text:
✨ [REQUEST] free-games-claimer

!!! I have a real life job in parallel to this addon, and don't think I'll be able to add new addons for the moment. You can still however express your interest in case someone would do it
Which addon?
https://github.com/vogler/free-games-claimer. Supports epic games, prime gaming and GOG

Is your feature request related to a problem? Please describe.
Claim free games from multiple services.

**If a new addon, have you checked on Google that such as addon doesn't already exists?**
Yes
Describe the solution you'd like
Configure single add-on to claim all free games.
Describe alternatives you've considered
Not aware of other alternatives

there's an epic games one already.
https://github.com/alexbelgium/hassio-addons/tree/master/epicgamesfree

That one always prompts for a security code, so isn't that helpful. free-games-claimer doesn't prompt and supports more accounts.

Oh my goodness, thank you For bringing this project to my attention. It seems they are looking to as even more services to The grabber as well!

As someone who's had issues with the epicgamesfree addon in the past (was unable to get it to actually claim games because of the captcha) I would also like this if possible.

I'll look at it

Would this addon remove the epicgamesfree one? For sake of simplification

I believe so but I don't personally use the epicfreegames addon so it may
be worth putting a poll/question for them if that's an option?
On Mon, 22 May 2023, 21:14 Alexandre, @.***> wrote:

Would this addon remove the epicgamesfree one? For sake of simplification
—
Reply to this email directly, view it on GitHub
https://github.com/alexbelgium/hassio-addons/issues/747#issuecomment-1556852483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUMWJOFBRJ5JCLNEXXQCERDXHMU55ANCNFSM6AAAAAAVQO7TTE
.
You are receiving this because you commented.Message ID:
@.***>

I think it makes sense to keep both. They use different methods, and epic games free tends to be much more reliable from what I'm seeing.

Is the latest working?

The latest egf is still working, and the latest container for fgc is working. I tried to set up the fgc app last night but ran into issues with it accepting creds from the config file, so need to sit down today and figure out what's going on.

On theory values from the config file (in yaml format) are exported as env variables

I'm not sure why, but I am getting constant stalls on start. It gets to the point that I am seeing output from the container, but it just stops sometimes moments after it starts up. Is that likely an issue with the container itself, or is that potentially a misconfiguration on the addon "wrapper" side?

Well config.yaml is my internet system to,export env variables. Not sure about config.env

Just found a minute and was going to check if 'epic-games-free' is fixable, and was confused where the readme part was gone. Found that you renamed the whole folder, therefore it looked 'abandoned' to me.
Tried the new 'free-games-claimer' - currently shown as 'epic-games-free' and had just one weird thing. It was not showing the novnc server, nor something useful in the logs. After adding a real port to the VNC port mapping everything started fine. After removing it still works fine. Not sure how settings are handled internally, and if a setting that once was overwritten is now empyt/null - or at least other than it was before.
To make every business consultant happy, here is the positive feedback: Would be nice to select which game plattforms i would like to check, as e.g. I have no usage of amazon prime gaming.
Keep up the good work :v:

Yeah, I'm having trouble getting novnc running here as well, and my entries in the config file don't seem to be working at all. I tried adding a vnc port in the network config section of the addon to no avail. I may need to remove and re-add or something.
As for picking and choosing which service works, technically the following command can be appended to the end of the docker run command to achieve that, leaving out what you don't want: bash -c node epic-games; node prime-gaming; node gog it may be possible to incorporate that into the plugin but I'm not sure.

Latest version includes custom commands through addon options as you propose, and usage of the config.env instead of my config.yaml. The config.env uses the nomenclature KEY=VALUE instead of the previous yaml that was KEY: VALUE

Just found a minute and was going to check if 'epic-games-free' is fixable, and was confused where the readme part was gone. Found that you renamed the whole folder, therefore it looked 'abandoned' to me.

Hi - sorry this was unintended, I had pushed the folder in the free-games-claimer one on explorer :-) corrected now

Not working yet

Hi, latest version is tested to start. Could you please check the applicability of the config.env ? I've modified the format to export KEY=VALUE

Okay, I got it to run. Wrapping strings in single quotes, export keyword in front (though I'm surprised that can't be simulated) does work. Integers can remain unquoted no issue.
One "major* problem at the moment, is the command entry. The first command works, anything after that fails to ever run. For example, if you set node prime-gaming ; node gog ; node epic-games the prime-gaming module does indeed run, but the gog and epic-games modules never get run.

Would "node prime-gaming" "node gog" "node epic-games" work? I'll check this evening

I tried looking into that, but it's proving difficult since I'm actually terrible with docker. My initial thought was wrapping them all in a double quote together, so it's seen as a single command. But I don't have proper knowledge of what that script being referenced actually does (I assume it's part of the original image?...) so I can't speak with any authority.

Thanks, I've pushed a new version. Now, the CMD_ARGUMENTS should be in the form : node prime-gaming; node gog; node epic-games and the config.env should be in the form KEY='VALUE'. I've also corrected the default files but as you have already installed the addon it won't probably use the new defaults.

Sorry to be the bearer of bad news: ```
/./etc/cont-init.d/99-run.sh: line 46: AZE: unbound variable
/etc/cont-init.d/99-run.sh: exiting 1

That's my test variable, I went too fast and need to push another version

still not working

I got it running, but then it needs me to login in UI. So when I try to access the no VNC port the chrome tab shows the loading icon for a while then eventually says site can't be reached.

btw, works fine for me, thanks :)

For me it works too... Perhaps a matter of ram availability too as I think it requires quite an amount?

Hmm, I have 2.2 GB of free memory so I feel it's unlikely a memory problem. I also tried accessing from a different browser with same problems.

I'm still seeing the issue of the first module running, but no others. I'm wondering if I'm missing something since two different individuals have said things are working for them.
I also find the idea of RAM being an issue, dubious. I regularly have >4GB of ram available, but noVNC has never worked.

When I say it works for me, I mean I can access Firefox through the novnc webui, and even go on internet through it. I havent tested other functionalities. I'll look again for multi modules launch

For whatever reason none of these claimer addons work for me. This one launches successfully (no errors in log) but tying to access the webUI spins indefinitely and the addon takes 50% CPU. I don't have any weird network config, it's all typical 192.168. IPs.

Yeah, I can't get the web Ui working either. You can use the config.env to get yourself logged in though. The variables are all listed on the main repo.

I can't. I never got the text prompt. I can, however, run the very same config env file with docker outside of HA (I am used to run docker stuff in HA as I didn't have other options before, now I do), and it does work there for me. No problem, thanks!

So weird. Here is my log:
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Free Games Claimer (in development)
 automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG
-----------------------------------------------------------
 Add-on version: 1.4
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (amd64 / qemux86-64)
 Home Assistant Core: 2023.5.2
 Home Assistant Supervisor: 2023.04.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/01-custom_script.sh: executing
[10:08:57] INFO: Execute /config/addons_autoscripts/free-games-claimer.sh if existing
[10:08:57] INFO: ... script found, executing
dos2unix: converting file /config/addons_autoscripts/free-games-claimer.sh to Unix format...
/etc/cont-init.d/20-folders.sh: executing
Creating config location ...
Copying files if needed...
/etc/cont-init.d/99-run.sh: executing
[10:08:58] WARNING: The config.env file found in /config/addons_config/free_games_claimer will be used. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on

[10:08:58] INFO: Starting the app with arguments node epic-games ; node prime-gaming ; node gog
Xvfb display server created screen with resolution 1280x1280
VNC is running on port 5900 (no password!)
noVNC (VNC via browser) is running on http://localhost:6080
2023-05-30 10:08:58.288 started checking epic-games
Not signed in anymore. Please login in the browser or here in the terminal.
Open http://localhost:6080 to login inside the docker container.
Login timeout is 180 seconds!
Press ESC to skip the prompts if you want to login in the browser (not possible in headless mode).

And going to http://homeassistant.local:6080/ shows

I'll do some other tests.

Btw even with default settings (running straight the container from upstream), it's using 47.1% of my 8go ram rpi4

Last version pushed (1.4-test8) fully works on my system.

I uninstalled everything and clean reinstalled.
Started addon, waiting for log to complete (until "started checking epic-games")
Logged on webui on epic
Logged in epic (the addon then moved on automatically to prime-gaming)
Logged on webui on prime
...

10% ram on a 16gb system
Full log :
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Free Games Claimer (NOT WORKING)
 automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG
-----------------------------------------------------------
 Add-on version: 1.4-test8
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (amd64 / qemux86-64)
 Home Assistant Core: 2023.5.2
 Home Assistant Supervisor: 2023.04.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/01-custom_script.sh: executing
[15:00:55] INFO: Execute /config/addons_autoscripts/free-games-claimer.sh if existing
[15:00:55] INFO: ... script found, executing
dos2unix: converting file /config/addons_autoscripts/free-games-claimer.sh to Unix format...
/etc/cont-init.d/20-folders.sh: executing
Creating config location ...
Copying files if needed...
/etc/cont-init.d/99-run.sh: executing
[15:00:55] WARNING: The config.env file found in /config/addons_config/free_games_claimer will be used. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on

[15:00:55] INFO: Starting the app with arguments node epic-games ; node prime-gaming ; node gog
Xvfb display server created screen with resolution 1280x1280
VNC is running on port 5900 (no password!)
noVNC (VNC via browser) is running on http://localhost:6080
2023-05-30 15:00:56.100 started checking epic-games
Not signed in anymore. Please login in the browser or here in the terminal.
Open http://localhost:6080 to login inside the docker container.
Login timeout is 180 seconds!
Press ESC to skip the prompts if you want to login in the browser (not possible in headless mode).
? Enter email ‣  ✖ Enter email ·  timeout
Waiting for you to login in the browser.
page.waitForURL: Timeout 180000ms exceeded.
=========================== logs ===========================
waiting for navigation to "https://store.epicgames.com/en-US/free-games" until "load"
============================================================
    at file:///data/epic-games.js:102:16 {
  name: 'TimeoutError'
}
2023-05-30 15:07:02.376 started checking prime-gaming
Not signed in anymore.
Login timeout is 180 seconds!
Press ESC to skip the prompts if you want to login in the browser (not possible in headless mode).
? Enter email ‣  ✖ Enter email ·  timeout
Waiting for you to login in the browser.
```

I've created a request on the upstream repo here : https://github.com/vogler/free-games-claimer/issues/149

Hello, not working on a HAOS 10.2 am64 / generic x86-64 installation. which makes it weirder.
Direct VNC is not reacheable on port 5900, so noVNC is also not reachable as well on :6080 trough browser... The tab opens, and keeps spinning for a while and eventually a timeout error is displayed.
I've also added a comment in here https://github.com/vogler/free-games-claimer/issues/149

update: after insisting a lot to connect trough VNC direct client on port:5900 I was able to connect after pressing connect button several times on my VNC Client! However, it was already on one of the later stages, during the GOG login, so I have missed the login for Epic and Prime...

Hi sorry I disabled the function to customize the nodes to be as close as possible to the base container to avoid sources of issues

Just as a side note for the env variables, it is not possible to use the built in way of using them? The config file appears to be loaded as described here: https://github.com/vogler/free-games-claimer/issues/143#issuecomment-1551822765

What is strange is that the config.env file is already pushed in the workdir here :
https://github.com/alexbelgium/hassio-addons/blob/2d56211be25865a38a489d476eb1c4d8128092d5/free_games_claimer/rootfs/etc/cont-init.d/99-run.sh#LL20C1-L21C37
Just realized perhaps I should do /data/data/config.env to respect the code you were showing. I'll push a new version to do that
I spent a lot of time trying to solve the VNC not starting thing - but it seems to be getting nowhere.

I also need to re-enable the option to choose which elements to run, I'll push a test10 version

config.env doesn't seem to be working, either in /data/config.env or /data/data/config.env (given that /data is the initial WORKDIR)

That's very odd... I think the only time I've ever seen the env variables work was when they needed export in front of them. But looking at the code every way you've set them up looks like they should work.
Maybe if you dropped the later set +a/-a? I wonder if that might be causing the code to ignore the set variables somehow? Very much a shot in the dark though.

When they needed export, I didn't use the embedded config.env system but instead read the file line per file and exported them in the bash shell
I can redo it. Set -a was to avoid error messages for undeclared variables

Current dev status (test11) :

[ ] config.env working in test11 (variables passed)
[ ] sequencial execution of CMD_ARGUMENTS (use format node gog; node prime-gaming
[ ] succesful execution of free games claimer scripts (to confirm)
[ ] VNC & noVNC reliable usage

I did try adding export previous to the most recent with no luck.
If you wanted to do a real quick test (I will asap) you can try setting the size to 1024 by 768 and seeing if the size message properly reflects that just after the image is spun up.

After testing test11 and test12 I can confirm that the environment variables do appear to be properly loading!
That said, test12 seems to still have issues with setting the command arguments. Using node epic-games ; node prime-gaming; node gog I am seeing ```
Starting...
/etc/cont-init.d/00-banner.sh: executing
Add-on: Free Games Claimer (NOT WORKING)
automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG
Add-on version: 1.4-test12
You are running the latest version of this add-on.
System: Home Assistant OS 10.2  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.5.4
Home Assistant Supervisor: 2023.04.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
Provided by: https://github.com/alexbelgium/hassio-addons
/etc/cont-init.d/01-custom_script.sh: executing
[16:18:25] INFO: Execute /config/addons_autoscripts/free-games-claimer.sh if existing
[16:18:25] INFO: ... no script found
/etc/cont-init.d/20-folders.sh: executing
Creating config location ...
Copying files if needed...
/etc/cont-init.d/99-run.sh: executing
[16:18:26] WARNING: The config.env file found in /config/addons_config/free_games_claimer will be used. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on
[16:18:27] INFO: Starting the app with arguments node epic-games; node prime-gaming; node gog
Xvfb display server created screen with resolution 1024x768
VNC is running on port 5900 (no password!)
noVNC (VNC via browser) is running on http://localhost:6080
node:internal/modules/cjs/loader:1093
throw err;
^
Error: Cannot find module '/data/epic-games;'
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v19.9.0
[16:18:27] INFO: All actions concluded, addon will stop```

Thanks :) I'll add automatic stop. And check sequential execution. I thought I had the error message only because I didn't have a real account to test

Latest version should work (except for VPN), it will also show in blue exported values from config.env

Just... in case, before I run it. Are you censoring anything with the word password in the env variable? You are able to pass usernames and passwords, and keeping a log of those doesn't sound like a good idea.

Well, logs are temporary, they only appear but are not stored anywhere that I am aware of. Anyway it would still be stored locally - which is already the case from the passwords being written as plain text in the config.env. So really the key element is to keep your HA system secure. But I can remove this feature if you prefer

Apologies for the late follow up. I’ve been able to test and can confirm things run. However. Sequential running does not appear to work? node epic-games; node prime-gaming; node gog results in only node epic-games being run, and the log appears to confirm this with this line [23:29:23] INFO: Starting the app with arguments "node epic-games"

Hi, indeed sequential running is executed but doesn't connect... Well I'll have to look again

Bad bot

Well it reminded me of this sorry I was quite caught up in work. I'll have a look again soon

Haha no worries, it's not like you're paid to do this, and I'm fairly certain you don't even have a use for this particular add-on.

Hi, I think I got it in version test22. Please let me know!

NoVNC still isn't working for me. But looks like it's able to claim epic games for me.

Things kinda work now.
Honestly, I think I’m going to revert to using my PC and waking it to handle this… It seems horribly slow on a Pi, and sometimes takes so long things break. I think this may just be an inherent limitation of the Pi and/or image.

VNC doesn't work for me either but can confirm that Epic and GOG will claim games without me needing to restart the addon. I'm running this on an old machine and not having any issues with the speed @KairuByte so that may just be a Pi issue.

I think VNC doesn't work due to rpi being too slow... It didn't work on my rpi4 either...
Regarding the script in itself however it seems to run fine on my rpi4 !

Closed with disclaimer that novnc does not work but that the add-on can still work using the config file

Hi, would you consider an option to mount a config directory instead of just the config file? Reason is that there are options like RECORD=1 that will record a video to help debug problems in config/record directory, but since directory isn't mounted there isn't an easy way to access the recorded file.
Another side effect would be that the browser state is also saved in there. That could be useful for uninstall / reinstall.

I am missing something here... I configured the env correctly adding discord, eg, ap, and gog but there's no way to open anything. How do I use this: "Please use config.env to execute the script"?

Hi, I don't use the addon so can't help you with the config.env content. However, I can see from your log that the config.env file is correctly loaded by the addon Getting variables from /config/addons_config/free_games_claimer/config.env
So you would have more chance trying on their repo https://github.com/vogler/free-games-claimer. From the log it seems you haven't filled a #password tag in the config.env but they would know better than me what that means.

authors: KairuByte MaxWinterstein Stooovie Teberon alexbelgium amosyuen diamant-x hacshacdgacs viny182

repo: alexbelgium/hassio-addons


text:
Bazarr logo and icon

The logo of sonarr was added to bazarr instead of it's actual logo

Thanks very much!

authors: alexbelgium monkey-debugger


text:
how off logger?

how off logger? He eat many flash memory

you cat insert:
STATS_PRINT_PERIOD = 10000000000

in the config.py

is there any way to clear the log?
or can I configure it somehow to show log for 24h?
I ran proxy for 10 days, with about 20 users, now it takes like 10 minutes to see the end

the log size can be controlled here: https://github.com/alexbers/mtprotoproxy/blob/master/docker-compose.yml#L10

authors: alexbers ali-jk dark0ghost

repo: alexbers/mtprotoproxy


text:
Using log from crates.io to avoid compile errors

As in-tree module is always presented and almost all crates have already
migrated to using external log module, there are always problems
while using this crate

Thanks!

authors: alexcrichton vhbit

repo: alexcrichton/rust-compress


text:
Extract directory entries after all others when using Archive::unpack.

If they are extracted in order, they may fail if a directory's
permissions prevent descendant files from being written. So extracting
them after all other entries ensures that any files that need to be
created can be without being subject to the final permissions.
Closes #242.

Seems reasonable to me, thanks!

authors: afranchuk alexcrichton

repo: alexcrichton/tar-rs


text:
FedEx migration from WSDLS to REST API

I receive this message when enter to the developer FedEx's portal:
Caution: FedEx Web Services Tracking, Address Validation, and Validate Postal Codes WSDLS will be disabled on August 31, 2024. The SOAP based FedEx Web Services is in development containment and has been replaced with FedEx RESTful APIs. To learn more and upgrade your integration from Web Services to FedEx APIs, please visit the FedEx Developer Portal.
This will affect the shipping rates calculation of this project?
Thank you.

We use the Quote Rates service, so we shouldn't be affected. However, the transition to the REST API for FedEx is already in our plans. We expect it to be done later this year.

Hi, Just checking to see when will the transition from WSDLS to REST will take place? Thanks

I've added basic FedEx REST support in https://github.com/alexeybusygin/ShippingRates/pull/85

Cool, thanks! I will look at it!

authors: alexeybusygin elcapitanandres tuhin24 xqiu

repo: alexeybusygin/ShippingRates


text:
ldapi support

Support for using ldapi Unix socket connections. Build the connection
URI differently to suit. Added a new configuration option for specifying
the path to the socket. Don't mandate username and password if using
ldapi.

Ping @alexferl.

repo: alexferl/flask-simpleldap


text:
Keep changelog update?

The history.md on master branch it's outdated since the latest revision is 7.2.1 and the changelog only keep to 7.1.1. I want to know what has changed since 7.1.1 especially if there is any break change.

history.md has been updated. Thanks for pointing this out.

authors: halfcrazy jbielick

repo: alexmingoia/koa-router


text:
🛑 Alexandre Nuttinck website is down

In c0d589f, Alexandre Nuttinck website (https://alexnuttinck.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Alexandre Nuttinck website is back up in 2048079 after 8 minutes.

repo: alexnuttinck/status-page


text:
Slow performance

Describe the bug
I am not sure why yet but our requests are taking like between 5 to 15 seconds most times.
I tried to log using httplog gem and it stops after the connecting step, after that for like 10 seconds goes fast.
May it be related to httparty gem using Net::HTTP? I think it doesn't support http2 nor keep-alives

I see many requests time out but looking at the API status page, it shows up as fine. I also tested with python and the code takes a while to run, but it doesn't error with a timeout at least.

FYI I see a new version came out to help address this issue: https://github.com/alexrudall/ruby-openai/releases/tag/v3.6.0

@jtoy v3.6 didn't change much. I did some research and tests and it seems to me that a big part of the slow performance is due to HTTParty's Net::HTTP usage.
Quickly hacking HTTParty I enabled keep-alive to persist the connection and it improved by around ~50%.
I think moving to another gem that doesn't rely on Net::HTTP and enabling streaming is key to unlock good performance.

I think the OpenAI API itself is unstable. But the idea of using net-http-persistent style keep-alive when available or via adapters sounds it could be a good approach as well. Probably part of https://github.com/alexrudall/ruby-openai/issues/189

I agree

@jtoy v3.6 didn't change much. I did some research and tests and it seems to me that a big part of the slow performance is due to HTTParty's Net::HTTP usage.
Quickly hacking HTTParty I enabled keep-alive to persist the connection and it improved by around ~50%.
I think moving to another gem that doesn't rely on Net::HTTP and enabling streaming is key to unlock good performance.

How did you hacked HTTParty? Thanks.

I think moving to another gem that doesn't rely on Net::HTTP and enabling streaming is key to unlock good performance.

Does such a gem even exist though?

https://github.com/alexrudall/ruby-openai/pull/234 adds streaming with Faraday - final reviews much appreciated 👍

I looked and #234 is now merged. We may be able to close this issue if the performance issues here are now fixed with the change to Faraday. (I only note this as a new user of this library who was checking issues and saw this since performance seems important.)

One more comment, I’m not sure which is better,  it I’ve personally moved to http.rb for all networking requests. I’m not sure if that would handle it better. Also in my Python code I’ve written retry logic. I’m not sure if that would make sense to put in the Ruby libraries.

authors: alexrudall bf4 deikka dep gastonmorixe jtoy panozzaj

repo: alexrudall/ruby-openai


text:
Lighthouse says that the robots.txt file isn't valid

"Search engines are unable to include your pages in search results if they don't have permission to crawl them"

Nevermind, this was due to a dev deployment.

repo: alextim/astro-lib


text:
Count() expects Int32. OpenEdge returns Int64

The following throws an exception
   People.Count();

An exception occurred while reading a database value. The expected type was 'System.Int32' but the actual value was of type 'System.Int64'

Workaround for now is to always use LongCount() instead.

The following throws an exception
   People.Count();

An exception occurred while reading a database value. The expected type was 'System.Int32' but the actual value was of type 'System.Int64'

Workaround for now is to always use LongCount() instead.

FYI:
You can use LongCount from Queryable class:
https://docs.microsoft.com/en-us/dotnet/api/system.linq.queryable.longcount?view=net-5.0
For me LongCount worked as expected.
Sample:
var orderItemsCount = (int)orderItemsQuery.LongCount();

authors: BerndSadleder alexwiese


text:
Thank you for your hard work!

This tool is really great, and I reverse-searched the URL to find the repo. Thanks a bunch, sorry for the junk issue!

Thanks for feedback. I will put the link to sources.

authors: alezandr ctjlewis

repo: alezandr/geohash-explorer


text:
Implement exactOnSingleWordQuery and alternativesAsExact

Solves #96.

LGTM 👍

authors: PLNech clement-leprovost

repo: algolia/algoliasearch-client-android


text:
Make the size parameter optional, as advertised.

See: https://github.com/algoo/preview-generator/pull/100/files#r303397097

Did you finish work on this ? (it' s "WIP").

Look like you asked at the same time I removed it, IIRC it's OK.

authors: JulienPalard inkhey

repo: algoo/preview-generator


text:
Arc73 support

Hi, is there way to use ARC73 with tealscript?
https://github.com/algorand-devrel/TEALScript/blob/ddc491458178984abefdf893b0ecaec719342053/examples/AlgorandDBStorage/AlgorandDBStorage.algo.ts#L59
I have attempted, but somewhere i read that boolean type will be added soon.. Perhaps it is good if it is implemented at least in one example.

The feature/booleans branch is where I am working on boolean support. Hopefully should be merged in by the end of next week.
Once I have that, I can add ARC73 directly into the compiler so you don't have to manually write the method.

authors: joe-p scholtz

repo: algorand-devrel/TEALScript


text:
Contact Details
439451902@qq.com
What happened?
运行环境: windows、vscode
固件版本: HaaSPython-HaaSEDUK1-v2.2.0.bin
haas-studio版本: 2.3.1

Version
master (Default)
What soultions are you seeing the problem on?
eduk1_demo
Relevant log output
-

感谢您提出的宝贵问题，我们有7x24小时服务的“HaaS百事通”客服系统，
您可以先尝试能否解决您的问题(https://haas.iot.aliyun.com/?ask=1&f=a2cre.b82925042)

如果“HaaS百事通”没有解决您的问题，请回复“人工支持”，我们会在工作日(10:00-12:00/14:00-18:00)10分钟内回复您。

对，目前在本地更新上遇到什么问题吗？

对，目前在本地更新上遇到什么问题了吗？

本地更新没有问题, 想弄 在线更新,找不到入口

目前这个功能已经下线了
请问您对这个功能的需求是什么？

请问还有问题不？

先关闭，有问题请再提问

authors: YiluMao skylarCai sunlrain weipx666

repo: alibaba/AliOS-Things


text:
alink跑测试代码出现问题

/usr/local/flink-1.10.1/bin/flink run -p 1 -c com.alibaba.alink.ALSExample examples/target/alink_examples_flink-1.10_2.11-1.1-SNAPSHOT.jar

The program finished with the following exception:
org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Unable to instantiate java compiler
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:335)
at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:205)
at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:138)
at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:662)
at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:210)
at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:893)
at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:966)
at org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:966)
Caused by: java.lang.IllegalStateException: Unable to instantiate java compiler
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:434)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.load3(JaninoRelMetadataProvider.java:375)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.lambda$static$0(JaninoRelMetadataProvider.java:109)
at org.apache.flink.calcite.shaded.com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:149)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache.get(LocalCache.java:3953)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.create(JaninoRelMetadataProvider.java:475)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.revise(JaninoRelMetadataProvider.java:488)
at org.apache.calcite.rel.metadata.RelMetadataQuery.revise(RelMetadataQuery.java:193)
at org.apache.calcite.rel.metadata.RelMetadataQuery.getNonCumulativeCost(RelMetadataQuery.java:304)
at org.apache.calcite.plan.volcano.VolcanoPlanner.getCost(VolcanoPlanner.java:936)
at org.apache.calcite.plan.volcano.RelSubset.propagateCostImprovements0(RelSubset.java:347)
at org.apache.calcite.plan.volcano.RelSubset.propagateCostImprovements(RelSubset.java:330)
at org.apache.calcite.plan.volcano.VolcanoPlanner.addRelToSet(VolcanoPlanner.java:1828)
at org.apache.calcite.plan.volcano.VolcanoPlanner.registerImpl(VolcanoPlanner.java:1764)
at org.apache.calcite.plan.volcano.VolcanoPlanner.setRoot(VolcanoPlanner.java:296)
at org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:326)
at org.apache.flink.table.plan.Optimizer.runVolcanoPlanner(Optimizer.scala:280)
at org.apache.flink.table.plan.Optimizer.optimizeLogicalPlan(Optimizer.scala:199)
at org.apache.flink.table.plan.BatchOptimizer.optimize(BatchOptimizer.scala:56)
at org.apache.flink.table.api.internal.BatchTableEnvImpl.translate(BatchTableEnvImpl.scala:280)
at org.apache.flink.table.api.java.internal.BatchTableEnvironmentImpl.toDataSet(BatchTableEnvironmentImpl.scala:87)
at com.alibaba.alink.common.utils.DataSetConversionUtil.fromTable(DataSetConversionUtil.java:31)
at com.alibaba.alink.operator.batch.BatchOperator.getDataSet(BatchOperator.java:147)
at com.alibaba.alink.operator.batch.dataproc.SplitBatchOp.linkFrom(SplitBatchOp.java:43)
at com.alibaba.alink.ALSExample.main(ALSExample.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:321)
... 8 more
Caused by: java.lang.ClassCastException: org.codehaus.janino.CompilerFactory cannot be cast to org.codehaus.commons.compiler.ICompilerFactory
at org.codehaus.commons.compiler.CompilerFactoryFactory.getCompilerFactory(CompilerFactoryFactory.java:129)
at org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory(CompilerFactoryFactory.java:79)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:432)
... 43 more

java版本是1.8.0_252
scala版本是 2.11.12

请教是和java版本有关吗

Maybe you can refer to this: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Flink-1-10-exception-Unable-to-instantiate-java-compiler-td38221.html

repo: alibaba/Alink


text:
使用apkpatch－1.0.3,成功制作apatch，但是无输出，补丁无效。

全程没有报错，out文件如下：
4-86112f4778c67a620082b737ae673830.apatch
diff.dex
smali
其中smali里面没有内容，执行patch的时候，也没有任何输出，正常的时候，会输出modify呀，这个是apkpatch的bug嚒？修改的内容是activity的initUI函数，声明是这样的
void initUI() {}
。
使用这个apatch也没有任何效果l。
无论如何，感谢作者的付出和开源。

i've got the same problem.
I don't know how to output the patch file.
It uses just fine in my another project.
Is it possible because of the dependency of 'com.alibaba.mobileim:IMCore:2.0.2.1@aar' and 'com.alibaba.mobileim:IMKit:2.0.2.1@aar'?
I'm a Chinese, and the grammar may not right, but I'm trying to make the meaning right. I'm sorry if it cause your reading problem.
Looking forward to your reply.
Thank you.

同样，无报错，不会有modify。。

repo: alibaba/AndFix


text:
[Survey] Feature the API of PyTorch LTC should provide if we want to keep updating and decoupling to PyTorch releases.

PyTorch LazyTensorCore hasn't currently haven't provided an API to extend TSBackendImpl.
In our POC Design, to support BladeDISC compilation for subgraph, we had to rewrite TSBackendImpl and copy some of PyTorch's source codes. The current implementation depends on unstable API and features, which will lead to maintenance efforts.
Actions:

[x] Update current POC implementations to latest pytorch on master https://github.com/alibaba/BladeDISC/pull/242

and copy some of PyTorch's source codes

I believed that we never copy PyTorch source code. The important reason that adding PyTorch as a submodule is that some .h is required to compile pybind library, and those are not included in PyTorch setup.py.

We have progressively updated TorchDISC with upstream torch lazy API. Some discussions and actions have been done in https://github.com/alibaba/BladeDISC/issues/234.

There are some related issues that still need discuss and survey:

How to support the integration of DISC into lazy tensor core? Other than the current implementation, registering a fuseGraph pass for runNoGradOptimizations in ProfilingGraphExecutorImpl might be a good choice.
The clustering of supported subgraph @Yancey1989

repo: alibaba/BladeDISC


text:
Questions on Datasets

Could you please share your considerations when choosing datasets for training?

As one option, you use COCO+LVIS.  In the RITM paper, they say that LVIS is the best; however, it has a problem of being "long-tailed and therefore lacking general object categories".  Could you elaborate on the problem from your experience?  For example, if we wanted to achieve way over 90% IoU, wouldn't low-quality COCO annotations be a problem?
Models trained on a combination of 8 datasets achieve better results that those trained on COCO+LVIS.  Is the reason in higher image diversity (meaning COCO+LVIS is not diverse enough) or that the other 6 datasets have higher-quality annotations than COCO?
How did you combine those 8 datasets?  For example, did you just add 6 full datasets to the COCO+LVIS combination?
How long did it take to train on the huge combined dataset?

LVIS do not contain annotations for `stuff'.  Besides, objects is LVIS are usually small in size. Hence, COCO is necessary. And our experiments show that COCO+LVIS is better than LVIS (I did not record the detailed digits).  Although COCO masks are not very fine, they are acceptable to train the  model.

I think the both,  but the later one is more important.   For example, ADE20K gives more diverse images. The saliency data sets are finely annotated.

We add proportional ratios like in https://github.com/alibaba/ClickSEG/blob/main/models/strongbaseline/mobilenetv2_x1_comb.py#:~:text=[0.35%2C0.10%2C0.1%2C0.2%2C0.1%2C0.15]%2C

Sorry, I have forgotten the  training time.   Maybe 3-5 times longer  than training on COCO+LVIS.

repo: alibaba/ClickSEG


text:
Adapt CI to new deployment style

CI is now organized as building a wheel and get one image containing all component.
Since we are going to introduce a different style of organizing components, the CI must be adapted together.

Closed as completed.

repo: alibaba/GraphScope


text:
rump模式下源端支持cluster

目前rump模式下源端如果是cluster是有问题的，考虑支持

这个可能是用户源端发生了Move slot操作，或者节点配置不对，理论上不应该由这个报错。

用户源端是6个节点（3主3从），但是source.address配置了所有6个节点，是会报这个错误。
后面加上校验，防止用户配置出错。

todo：文档需要介绍具体些

repo: alibaba/RedisShake


text:
bugfix for relative rule option

require 'absolute ruleFilePath' instead of 'relative rule option';

Thank you so much !
This change has been merged and published in anyproxy@3.2.2.

repo: alibaba/anyproxy


text:
fastjson处理字典项，有什么好的办法么？

表里某些字段如性别，存的值是1，对应字典表里是男，然后hql后直接返回成实体类了，然后再用JSON.toJSONString()传给EasyUI的datagrid了，所以想问下，整个过程中，从哪一步处理把1替换成男最好？当然尽量不要说循环实体类好吧，先谢谢各位智慧的网友了。

建议你看下，https://github.com/alibaba/fastjson/wiki/定制序列化这个。

请参考GinKoSen给的连接

authors: GinKoSen WangYu-Li wenshao

repo: alibaba/fastjson


text:
[BUG] JSONB.parseObject error, create instance error interface java.util.Set, offset 8

问题描述
简要描述您碰到的问题。
环境信息

JDK： openjdk 11
Fastjson2：2.0.40
Dubbo: 3.2.5

重现步骤
server
java.io.IOException: org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: create instance error interface java.util.Set, offset 8
	at org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper.handleToIOException(DefaultSerializationExceptionWrapper.java:358)
	at org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper.access$000(DefaultSerializationExceptionWrapper.java:28)
	at org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readObject(DefaultSerializationExceptionWrapper.java:168)
	at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.drawArgs(DecodeableRpcInvocation.java:267)
	at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:168)
	at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:102)
	at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:197)
	at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:138)
	at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:92)
	at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:60)
	at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder.decode(NettyCodecAdapter.java:103)
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: create instance error interface java.util.Set, offset 8
	... 30 common frames omitted
Caused by: com.alibaba.fastjson2.JSONException: create instance error interface java.util.Set, offset 8
	at com.alibaba.fastjson2.reader.ObjectReaderImplList.readJSONBObject(ObjectReaderImplList.java:468)
	at com.alibaba.fastjson2.JSONB.parseObject(JSONB.java:540)
	at org.apache.dubbo.common.serialize.fastjson2.FastJson2ObjectInput.readObject(FastJson2ObjectInput.java:125)
	at org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readObject(DefaultSerializationExceptionWrapper.java:166)
	... 27 common frames omitted
Caused by: java.lang.InstantiationException: java.util.Set
	at java.base/java.lang.Class.newInstance(Class.java:571)
	at com.alibaba.fastjson2.reader.ObjectReaderImplList.readJSONBObject(ObjectReaderImplList.java:466)
	... 30 common frames omitted
Caused by: java.lang.NoSuchMethodException: java.util.Set.<init>()
	at java.base/java.lang.Class.getConstructor0(Class.java:3349)
	at java.base/java.lang.Class.newInstance(Class.java:556)
	... 31 common frames omitted

client
Caused by: org.apache.dubbo.remoting.RemotingException: Fail to decode request due to: RpcInvocation [methodName=xxxxxMethod, parameterTypes=null]
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:249)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:200)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:188)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:65)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:206)
	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:53)
	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:62)
	at org.apache.dubbo.common.threadpool.ThreadlessExecutor$RunnableWrapper.run(ThreadlessExecutor.java:152)
	at org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:77)
	at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:205)

使用同一份 bytes，在 dubbo 环境下会报错，非 dubbo 情况下不会报错
示例代码如下
byte[] bytes = new byte[]{-110, 76, 83, 101, 116, 0, -92, 45, 2, 4, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 46, 47, 56, 48, 56, 49, 56, 50, 56, 51, 56, 52, 56, 53, 56, 54, 56, 55, 56, 56};

try {
    Collection<Integer> integers1 = readWithoutDubbo(bytes);
    log.info("integer1 info: {}", integers1);
} catch (Exception e) {
    log.error("integer1 error: {}", e.getMessage());
}

try {
    Collection<Integer> integers2 = readWithDubbo(bytes);
    log.info("integer2 info: {}", integers2);
} catch (Exception e) {
    log.error("integer2 error: {}", e.getMessage());
}

不使用 Dubbo的ContextAutoTypeBeforeHandler
private Collection<Integer> readWithoutDubbo(byte[] bytes) {
    return JSONB.parseObject(bytes, Collection.class,
            JSONReader.Feature.UseDefaultConstructorAsPossible,
            JSONReader.Feature.ErrorOnNoneSerializable,
            JSONReader.Feature.IgnoreAutoTypeNotMatch,
            JSONReader.Feature.UseNativeObject,
            JSONReader.Feature.FieldBased);
}

不使用 Dubbo的ContextAutoTypeBeforeHandler 的输出
integer1 info: [2, 4, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56]

使用 Dubbo的ContextAutoTypeBeforeHandler
private Collection<Integer> readWithDubbo(byte[] bytes) {
  Fastjson2SecurityManager securityManager = FrameworkModel.defaultModel().getBeanFactory().getBean(Fastjson2SecurityManager.class);
  return JSONB.parseObject(bytes, Collection.class, securityManager.getSecurityFilter(),
          JSONReader.Feature.UseDefaultConstructorAsPossible,
          JSONReader.Feature.ErrorOnNoneSerializable,
          JSONReader.Feature.IgnoreAutoTypeNotMatch,
          JSONReader.Feature.UseNativeObject,
          JSONReader.Feature.FieldBased);
    }

使用 Dubbo的ContextAutoTypeBeforeHandler的输出
integer2 error: create instance error interface java.util.Set, offset 8

由于 bytes 实际类型是 Dubbo 写入的java.util.Set的参数
简单跟了下代码，发现问题可能在
https://github.com/alibaba/fastjson2/blob/d9024ded721ec349ecbc35194246ff8f8725f143/core/src/main/java/com/alibaba/fastjson2/reader/ObjectReaderBaseModule.java#L1831-L1833
走到这的时候，已经找到了对应的 Reader，往下走
https://github.com/alibaba/fastjson2/blob/d9024ded721ec349ecbc35194246ff8f8725f143/core/src/main/java/com/alibaba/fastjson2/reader/ObjectReaderImplList.java#L94-L96
至此返回了一个新的ObjectReaderImplList

回到
https://github.com/alibaba/fastjson2/blob/d9024ded721ec349ecbc35194246ff8f8725f143/core/src/main/java/com/alibaba/fastjson2/reader/ObjectReaderImplList.java#L371-L378

往下走到到报错位置
https://github.com/alibaba/fastjson2/blob/d9024ded721ec349ecbc35194246ff8f8725f143/core/src/main/java/com/alibaba/fastjson2/reader/ObjectReaderImplList.java#L464-L469

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.41-SNAPSHOT/
问题没有重现，你能帮用这个版本验证下么？

authors: liaozan wenshao


text:
add default meter implements

Signed-off-by: zhengyangyong yangyong.zheng@qq.com

Ⅰ. Describe what this PR did
add default meter implements
Ⅱ. Does this pull request fix one issue?

https://github.com/alibaba/fescar/issues/384

Codecov Report

Merging #452 into feature_metrics will increase coverage by 0.96%.
The diff coverage is 85.36%.

@@                  Coverage Diff                  @@
##             feature_metrics     #452      +/-   ##
=====================================================
+ Coverage              29.66%   30.63%   +0.96%
- Complexity               621      664      +43
=====================================================
  Files                    175      182       +7
  Lines                   6945     7068     +123
  Branches                 840      843       +3
=====================================================
+ Hits                    2060     2165     +105
- Misses                  4667     4681      +14
- Partials                 218      222       +4

Impacted Files
Coverage Δ
Complexity Δ

...va/com/alibaba/fescar/metrics/DefaultRegistry.java
58.33% <58.33%> (ø)
6 <6> (?)

.../java/com/alibaba/fescar/metrics/SummaryValue.java
64.7% <64.7%> (ø)
5 <5> (?)

...in/java/com/alibaba/fescar/metrics/TimerValue.java
83.33% <83.33%> (ø)
7 <7> (?)

.../java/com/alibaba/fescar/metrics/DefaultGauge.java
90% <90%> (ø)
4 <4> (?)

...ava/com/alibaba/fescar/metrics/DefaultCounter.java
91.66% <91.66%> (ø)
6 <6> (?)

...ava/com/alibaba/fescar/metrics/DefaultSummary.java
96% <96%> (ø)
7 <7> (?)

.../java/com/alibaba/fescar/metrics/DefaultTimer.java
96.55% <96.55%> (ø)
8 <8> (?)

... and 4 more

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 1dcb2a0...591966e. Read the comment docs.

authors: codecov-io zhengyangyong

repo: alibaba/fescar


text:
higress1.3.3不兼容ingress迁移过来的路由规则

操作步骤：
helm安装的应用：包括deployment，service，ingress
higress：界面上不做任何操作
流量经过：域名-->higress的gateway-->进入部署的应用
出现现象：http可以访问，https出现404
404日志如图：

是1.3.3么，你升级到最新版本试试呢

@leeqwe1 最新版本可以吗

repo: alibaba/higress


text:
doc: Use helm repo instead of OCI image as the installation source

Ⅰ. Describe what this PR did
Use helm repo instead of OCI image as the installation source
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #210 (7532e8a) into main (7bc383e) will decrease coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
- Coverage   43.29%   43.25%   -0.04%
==========================================
  Files          31       31
  Lines        5038     5038
==========================================
- Hits         2181     2179       -2
- Misses       2689     2691       +2
  Partials      168      168

Impacted Files
Coverage Δ

pkg/bootstrap/server.go
58.39% <0.00%> (-0.77%)
:arrow_down:


text:
低代码搭建协议中的 defaultProps 没有实现。

Describe the bug (required) / 详细描述 bug（必填）
根据搭建协议 中对 defaultProps 的定义

低代码组件中如果定义了 defaultProps，该低代码组件应该有默认的 props 值。但是目前没有实现。
复现方式：
1.启动 lowcode-demo 中的 demo-general
2.替换 demo-general/src/plugins/plugin-lowcode-component/lowcode-schema.json 中的 schema
这里添加了 defaultProps

这里将文案替换成啦 this.props.name || 'ccc'

预览的结果

期望的结果
展示：'xxx'
完整的 lowcode-schema，可以直接替换：
{
  "version": "1.0.0",
  "componentsMap": [
  ],
  "componentsTree": [
    {
      "componentName": "Component",
      "id": "node_dockcviv8fo1",
      "props": {
        "ref": "outerView",
        "style": {
          "height": "100%"
        }
      },
      "defaultProps": {
        "name": "xxx"
      },
      "docId": "doclaqkk3b9",
      "fileName": "/",
      "dataSource": {
        "list": [
          {
            "type": "fetch",
            "isInit": true,
            "options": {
              "params": {},
              "method": "GET",
              "isCors": true,
              "timeout": 5000,
              "headers": {},
              "uri": "mock/info.json"
            },
            "id": "info",
            "shouldFetch": {
              "type": "JSFunction",
              "value": "function() { \n  console.log('should fetch.....');\n  return true; \n}"
            }
          }
        ]
      },
      "state": {
        "text": {
          "type": "JSExpression",
          "value": "\"outer\""
        },
        "isShowDialog": {
          "type": "JSExpression",
          "value": "false"
        }
      },
      "css": "body {\n  font-size: 12px;\n}\n\n.button {\n  width: 100px;\n  color: #ff00ff\n}",
      "lifeCycles": {
        "componentDidMount": {
          "type": "JSFunction",
          "value": "function componentDidMount() {\n  console.log('did mount');\n}"
        },
        "componentWillUnmount": {
          "type": "JSFunction",
          "value": "function componentWillUnmount() {\n  console.log('will unmount');\n}"
        }
      },
      "methods": {
        "testFunc": {
          "type": "JSFunction",
          "value": "function testFunc() {\n  console.log('test func');\n}"
        },
        "onClick": {
          "type": "JSFunction",
          "value": "function onClick() {\n  this.setState({\n  isShowDialog: true\n  });\n}"
        },
        "closeDialog": {
          "type": "JSFunction",
          "value": "function closeDialog() {\n  this.setState({\n  isShowDialog: false\n  });\n}"
        },
        "getHelloWorldText": {
          "type": "JSFunction",
          "value": "function getHelloWorldText() {\n  return this.i18n('i18n-jwg27yo4');\n}"
        },
        "getHelloWorldText2": {
          "type": "JSFunction",
          "value": "function getHelloWorldText2() {\n  return this.i18n('i18n-jwg27yo3', {\n  name: '絮黎'\n  });\n}"
        },
        "onTestConstantsButtonClicked": {
          "type": "JSFunction",
          "value": "function onTestConstantsButtonClicked() {\n  console.log('constants.ConstantA:', this.constants.ConstantA);\n  console.log('constants.ConstantB:', this.constants.ConstantB);\n}"
        },
        "onTestUtilsButtonClicked": {
          "type": "JSFunction",
          "value": "function onTestUtilsButtonClicked() {\n  this.utils.demoUtil('param1', 'param2');\n}"
        }
      },
      "originCode": "class LowcodeComponent extends Component {\n  state = {\n    \"text\": \"outer\",\n    \"isShowDialog\": false\n  }\n  componentDidMount() {\n    console.log('did mount');\n  }\n  componentWillUnmount() {\n    console.log('will unmount');\n  }\n  testFunc() {\n    console.log('test func');\n  }\n  onClick() {\n    this.setState({\n      isShowDialog: true\n    });\n  }\n  closeDialog() {\n    this.setState({\n      isShowDialog: false\n    });\n  }\n  getHelloWorldText() {\n    return this.i18n('i18n-jwg27yo4');\n  }\n  getHelloWorldText2() {\n    return this.i18n('i18n-jwg27yo3', {\n      name: '絮黎',\n    });\n  }\n  onTestConstantsButtonClicked() {\n    console.log('constants.ConstantA:', this.constants.ConstantA);\n    console.log('constants.ConstantB:', this.constants.ConstantB);\n\t}\n\tonTestUtilsButtonClicked(){\n    this.utils.demoUtil('param1', 'param2');\n\t}\n}",
      "hidden": false,
      "title": "",
      "isLocked": false,
      "condition": true,
      "conditionGroup": "",
      "children": [
        {
          "componentName": "NextRowColContainer",
          "id": "node_oclawu71ac3",
          "docId": "doclawu75i0",
          "props": {
              "rowGap": 20,
              "colGap": 20
          },
          "title": "行列容器",
          "hidden": false,
          "isLocked": false,
          "condition": true,
          "conditionGroup": "",
          "children": [
              {
                  "componentName": "NextRow",
                  "id": "node_oclawu71ac4",
                  "docId": "doclawu75i0",
                  "props": {},
            "title": "行",
            "hidden": false,
            "isLocked": false,
            "condition": true,
            "conditionGroup": "",
            "children": [
                {
                    "componentName": "NextCol",
                    "id": "node_oclawu71ac5",
                    "docId": "doclawu75i0",
                    "props": {
                        "colSpan": 1
                    },
                    "title": "列",
                    "hidden": false,
                    "isLocked": false,
                    "condition": true,
                    "conditionGroup": "",
                    "children": [
                        {
                            "componentName": "NextP",
                            "id": "node_oclawu71ac3n",
                            "docId": "doclawu71ac",
                            "props": {
                                "wrap": false,
                                "type": "body2",
                                "verAlign": "middle",
                                "textSpacing": true,
                                "align": "left",
                                "prefix": "",
                                "full": false,
                                "flex": false
                            },
                            "title": "段落",
                            "hidden": false,
                            "isLocked": false,
                            "condition": true,
                            "conditionGroup": "",
                            "children": [
                                {
                                    "componentName": "Button",
                                    "id": "node_oclawu71ac3o",
                                    "docId": "doclawu71ac",
                                    "props": {
                                        "prefix": "next-",
                                        "type": "primary",
                                        "size": "medium",
                                        "htmlType": "button",
                                        "component": "button",
                                        "children": "constants",
                                        "iconSize": "xxs",
                                        "loading": false,
                                        "text": false,
                                        "warning": false,
                                        "disabled": false,
                                        "ref": "button-4951c2d3",
                                        "__events": {
                                            "eventDataList": [
                                                {
                                                    "type": "componentEvent",
                                                    "name": "onClick",
                                                    "relatedEventName": "onTestConstantsButtonClicked"
                                                }
                                            ],
                                            "eventList": [
                                                {
                                                    "name": "onClick",
                                                    "description": "点击按钮的回调\n@param {Object} e Event Object",
                                                    "disabled": true
                                                },
                                                {
                                                    "name": "onMouseUp",
                                                    "disabled": false
                                                }
                                            ]
                                        },
                                        "onClick": {
                                            "type": "JSFunction",
                                            "value": "function(){this.onTestConstantsButtonClicked.apply(this,Array.prototype.slice.call(arguments).concat([])) }"
                                        }
                                    },
                                    "hidden": false,
                                    "title": "",
                                    "isLocked": false,
                                    "condition": true,
                                    "conditionGroup": ""
                                },
                                {
                                    "componentName": "Button",
                                    "id": "node_oclawu71ac3p",
                                    "docId": "doclawu71ac",
                                    "props": {
                                        "prefix": "next-",
                                        "type": "primary",
                                        "size": "medium",
                                        "htmlType": "button",
                                        "component": "button",
                                        "children": "utils",
                                        "iconSize": "xxs",
                                        "loading": false,
                                        "text": false,
                                        "warning": false,
                                        "disabled": false,
                                        "__events": {
                                            "eventDataList": [
                                                {
                                                    "type": "componentEvent",
                                                    "name": "onClick",
                                                    "relatedEventName": "onTestUtilsButtonClicked"
                                                }
                                            ],
                                            "eventList": [
                                                {
                                                    "name": "onClick",
                                                    "description": "点击按钮的回调\n@param {Object} e Event Object",
                                                    "disabled": true
                                                },
                                                {
                                                    "name": "onMouseUp",
                                                    "disabled": false
                                                }
                                            ]
                                        },
                                        "onClick": {
                                            "type": "JSFunction",
                                            "value": "function(){this.onTestUtilsButtonClicked.apply(this,Array.prototype.slice.call(arguments).concat([])) }"
                                        }
                                    },
                                    "hidden": false,
                                    "title": "",
                                    "isLocked": false,
                                    "condition": true,
                                    "conditionGroup": ""
                                }
                            ]
                        }
                    ]
                }
              ]
            }
          ]
        },
        {
          "componentName": "NextP",
          "id": "node_oclaqjdn9qv",
          "docId": "doclaqjdn9q",
          "props": {
              "wrap": false,
              "type": "body2",
              "verAlign": "middle",
              "textSpacing": true,
              "align": "left",
              "prefix": "",
              "full": false,
              "flex": false
          },
          "title": "段落",
          "hidden": false,
          "isLocked": false,
          "condition": true,
          "conditionGroup": "",
          "children": [
              {
                  "componentName": "NextText",
                  "id": "node_oclaqjdn9qw",
                  "docId": "doclaqjdn9q",
                  "props": {
                      "type": "h5",
                      "children": {
                          "type": "JSExpression",
                          "value": "this.props.name || 'ccc'"
                      },
                      "prefix": "",
                      "classname": "",
                      "mark": false,
                      "code": false,
                      "delete": false,
                      "underline": false,
                      "strong": false
                  },
                  "hidden": false,
                  "title": "",
                  "isLocked": false,
                  "condition": true,
                  "conditionGroup": ""
              },
              {
                  "componentName": "NextText",
                  "id": "node_oclarv0wja2",
                  "docId": "doclarv56xh",
                  "props": {
                      "type": "h5",
                      "children": {
                          "type": "JSExpression",
                          "value": "this.props.name || 'ccc'"
                      },
                      "prefix": "",
                      "classname": "",
                      "mark": false,
                      "code": false,
                      "delete": false,
                      "underline": false,
                      "strong": false
                  },
                  "hidden": false,
                  "title": "",
                  "isLocked": false,
                  "condition": true,
                  "conditionGroup": ""
              }
          ]
        }
      ]
    }
  ],
  "i18n": {
    "zh-CN": {
      "i18n-jwg27yo4": "你好 ",
      "i18n-jwg27yo3": "{name} 博士"
    },
    "en-US": {
      "i18n-jwg27yo4": "Hello ",
      "i18n-jwg27yo3": "Doctor {name}"
    }
  }
}

相关的 issue：https://github.com/alibaba/lowcode-engine/issues/2712

repo: alibaba/lowcode-engine


text:
通过列表切换实现动态页面渲染的能力的问题

想实现点击左侧树列表，右侧预览页动态渲染，现在点击左侧树引起state改变，按理来说会重新渲染DOM，但是页面没有切换渲染,参见下图

预测是预览初始化方法使用async的原因，请问应该如何解决这个问题

这个跟初始化方法没有关系，你得看下是不是hook使用时缺少了对于选中页面变化的依赖


text:
feat(create-element): init 参数使用 projectName \ 统一生成目录的前缀

改动点1：
 npm init @alilc/element your-element-name

your-element-name 改成非必传
改动点2：
参考 https://github.com/alibaba/lowcode-plugins/tree/main/packages 的  plugin 命名方式，给生成的文件夹拼接 plugin-、setter-、component- 前缀
目前生成的 plugin 跟  setter 文件模板，会自动拼接成 LowcodePluginXXX 跟 LowcodeSetterXXX，所以文件夹名称统一更好？

 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.Shuogui Lin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

这个和我们工具设计的思路不太一致，我们是希望，如果不传 your-element-name 的情况下，就使用当前目录进行初始化

这一点和 npm init 自己的行为保持一致。

https://docs.npmjs.com/cli/v8/commands/npm-init

@eternalsky
理解了， 改动 1 没必要
改动 2 呢 ？

authors: CLAassistant eternalsky twinkle77

repo: alibaba/lowcode-tools


text:
eip brandwith setting does not work

@zhuzhih2017
"internet_charge_type": "PayByTraffic",
"internet_max_bandwidth_out": 100,

set the two fields above in packer config JSON file, and run packer build, the brand width of the EIP allocated by packer was set to 5Mbps。
reason: packer does not pass BrandWidth param when allocate EIP and the EIP use the default brand width which is 5Mbps.
	if b.chooseNetworkType() == VpcNet {
		steps = append(steps, &setpConfigAlicloudEIP{
			AssociatePublicIpAddress: b.config.AssociatePublicIpAddress,
			RegionId:                 b.config.AlicloudRegion,
			InternetChargeType:       b.config.InternetChargeType,
		})
	} else {
		steps = append(steps, &stepConfigAlicloudPublicIP{
			RegionId: b.config.AlicloudRegion,
		})
	}

This should be a bug and need to be fixed.

fixed on the packer official repo.

repo: alibaba/packer-provider


text:
About Nacos config:

I'm confused when handling with multi-environment config files. It seems either Nacos's namespace or Spring's profile has provided a way to fulfill multi-env requirement, but I'm wondering which is the reconmmended way to do this?

https://github.com/alibaba/spring-cloud-alibaba/wiki/Nacos-config

authors: SuperIllidan yuhuangbin

repo: alibaba/spring-cloud-alibaba


text:
Sidecar无法注册服务

此处逻辑是否有问题？导致异构的服务无法注册到服务中心。
方法位置：com.alibaba.cloud.sidecar.SidecarHealthChecker#check

不知道服务注册的入口就是这里，如果是那么在第一次注册服务的时候方框里的代码是创建缓存并保存到MAP，然后是如果状态为UP就先检查一下是否需要注册，但检查是否需要注册的逻辑是对比缓存，此方法永远返回false，导致服务永远不会被注册。

注册的逻辑是对比缓存，此方法永远返回false，

上面已经说了，这里是服务健康检查的处理，第一次注册服务并不是在这里处理

你的问题仅仅是通过自己看代码觉得有问题吗? 你可以动手实践一下

authors: oSunnyo yuhuangbin


text:
tidevice install失败了 版本tidevice version 0.4.18

CreatingStagingDirectory (5%)
ExtractingPackage (15%)
[E 210824 17:27:36 _device:744] PackageExtractionFailed
[E 210824 17:27:36 _device:745] Could not extract archive
Traceback (most recent call last):
File "/usr/local/bin/tidevice", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/tidevice/main.py", line 723, in main
actionsargs.subparser
File "/usr/local/lib/python3.9/site-packages/tidevice/main.py", line 128, in cmd_install
bundle_id = d.app_install(args.filepath_or_url)
File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 746, in app_install
raise ServiceError(progress['Error'])
tidevice.exceptions.ServiceError: PackageExtractionFailed

请问下解决了吗 我也遇到了相同的问题

方便的话提供一下安装包

可能是设备上的存储空间不足了，清一下空间解决了

authors: chengducode codeskyblue gangeyubo hc2088

repo: alibaba/taobao-iphone-device


text:
Supports appending HTTP headers of the user request to upstream based on routing of header, cookie or query

基于Header/Cookie/Query的路由匹配，向后端upstream转发时在请求中追加指定的Header。
在请求消息的header中追加header值
如果存在相同的header名，在已有的header值后增加'&'分割符，再追加header值
如果请求消息的header不存在，则直接增加
值格式："header name:header value[||header name:header value]*"
值校验：header以'||'分割，header名和header值以':'分割，header name和header value不允许包含':'和'||'，默认最多允许追加2个header
无损动态生效，无需tengine reload。

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/canary: "true"
    nginx.ingress.kubernetes.io/canary-by-query: open3
    nginx.ingress.kubernetes.io/canary-by-query-value: abc1||abc2||abc3||abc4||abc5||abc6||abc7||abc8||abc9||abc10||abc11||abc12||abc13||abc14||abc15||abc16||abc17||abc18||abc19||abc20||abc21
    nginx.ingress.kubernetes.io/canary-request-append-header: UserData:user=236-564-29121||test-ingress6:$ssl_protocol
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
  creationTimestamp: "2023-10-31T06:30:31Z"
  generation: 2
  name: tengine-ingress-hello-query-ing
  namespace: default
  resourceVersion: "28580135"
  uid: debebfd0-afd2-4604-af8d-a41ad400bfbc
spec:
  ingressClassName: opensource-ingress
  rules:
  - host: echo.w1.com
    http:
      paths:
      - backend:
          service:
            name: tengine-ingress-hello3-service
            port:
              number: 80
        path: /
        pathType: Prefix
  tls:
  - hosts:
    - echo.w1.com
    secretName: https-server-1
status:
  loadBalancer:
    ingress:
    - {}

$ curl -i -k -H "test-ingress6: default" https://echo.w1.com/?open3=abc2
HTTP/2 301
server: Tengine/3.1.0
date: Wed, 01 Nov 2023 11:33:42 GMT
location: /?open3=abc2/
strict-transport-security: max-age=0
ups-target-key: default-tengine-ingress-hello3-service-80
x-protocol: HTTP/2.0
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

repo: alibaba/tengine


text:
[Android] WXStreamModule.fetch 优化建议

开发过程中有一个http请求是使用post方法，在iOS和H5下面是OK的，在android上面请求报错，经调查Andriod平台下http method只能是大写的。
以下两种建议二选一：

建议在Android中把客户端传过来的http method 做大写统一转换；
Stream文档中明确提出必须要大些method;

好建议,欢迎你发个PR来实现这些优化 👍

@sospartan 好的，晚上补一下

@sospartan
已经提交PR

authors: lanceliu sospartan

repo: alibaba/weex


text:
add screenshot

Nice theme,I added the screenshot as recommanded in the documentation: https://jekyllrb.com/docs/themes/#adding-a-screenshot

Sorry, I somehow just saw this. Thanks 🙌

authors: DirtyF aliou

repo: aliou/ace


text:
Support HTTP/2 protocol.

Motivation:
Support HTTP/1.1 & HTTP/2 protocol.
Modification:

Add data to SofaRequest & SofaResponse
Add HTTP/1.1 server & HTTP/2 Clear text server
Add HTTP/2 client transport.

Result:
Fix #25

Codecov Report

Merging #138 into master will increase coverage by 0.07%.
The diff coverage is 65.83%.

@@             Coverage Diff              @@
##             master     #138      +/-   ##
============================================
+ Coverage     68.14%   68.21%   +0.07%
- Complexity      730      919     +189
============================================
  Files           302      335      +33
  Lines         12644    14067    +1423
  Branches       2077     2260     +183
============================================
+ Hits           8616     9596     +980
- Misses         2984     3306     +322
- Partials       1044     1165     +121

Impacted Files
Coverage Δ
Complexity Δ

.../sofa/rpc/server/SofaRejectedExecutionHandler.java
87.5% <ø> (ø)
0 <0> (?)

.../java/com/alipay/sofa/rpc/common/RpcConstants.java
66.66% <ø> (ø)
0 <0> (ø)
:arrow_down:

...rpc/common/struct/UnsafeByteArrayOutputStream.java
51.51% <ø> (ø)
0 <0> (ø)
:arrow_down:

...com/alipay/sofa/rpc/transport/AbstractByteBuf.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../rpc/common/struct/UnsafeByteArrayInputStream.java
34.14% <ø> (ø)
0 <0> (ø)
:arrow_down:

...m/alipay/sofa/rpc/core/exception/RpcErrorType.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../com/alipay/sofa/rpc/common/RemotingConstants.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../sofa/rpc/registry/zk/ZookeeperRegistryHelper.java
67.16% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../sofa/rpc/registry/zk/ZookeeperConfigObserver.java
15.71% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ofa/rpc/registry/zk/ZookeeperOverrideObserver.java
15.27% <0%> (ø)
0 <0> (ø)
:arrow_down:

... and 97 more

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 3d98b80...ea66364. Read the comment docs.

It seems tracer is ok
client
{"timestamp":"2018-05-27 18:43:48.681","tracerId":"0a4187b11527417826069100199533","spanId":"0","span.kind":"client","local.app":"test-client","protocol":"h2c","service":"com.alipay.sofa.rpc.protobuf.ProtoService","method":"echoObj","current.thread.name":"main","invoke.type":"sync","router.record":"DIRECT","remote.ip":"127.0.0.1:12300","local.client.ip":"127.0.0.1","result.code":"00","req.serialize.time":"1206","req.size":"5","client.elapse.time":"1844","local.client.port":"54560","baggage":""}

server
{"timestamp":"2018-05-27 18:43:47.253","tracerId":"","spanId":"","span.kind":"server","service":"com.alipay.sofa.rpc.protobuf.ProtoService","method":"echoObj","remote.ip":"127.0.0.1","remote.app":"test-client","protocol":"h2c","local.app":"test-server","current.thread.name":"SOFA-SEV-H2C-BIZ-12300-3-T1","result.code":"00","biz.impl.time":"3","baggage":""}

netty convert header to lowercase. when we receive in server.
rpc_trace_context.sofaRpcId will become rpc_trace_context.sofarpcid

@leizhiyuan I have fixed it. See com.alipay.sofa.rpc.transport.http.HttpTracerUtils.

@ujjboy
{"timestamp":"2018-05-28 06:34:01.173","tracerId":"c0a8016c152746044116910138939","spanId":"0","span.kind":"server","service":"com.alipay.sofa.rpc.protobuf.ProtoService","method":"echoObj","remote.ip":"127.0.0.1","remote.app":"test-client","protocol":"h2c","local.app":"test-server","current.thread.name":"SOFA-SEV-H2C-BIZ-12300-3-T2","result.code":"00","biz.impl.time":"0","baggage":""}

now, tracer is ok

authors: codecov-io leizhiyuan ujjboy

repo: alipay/sofa-rpc


text:
How to read de trace file( xx.tr )?

After simulation ,we get the  trace file( xx.tr ).
In the directory: SimAI/ns-3-alibabacloud/analysis :
'./trace_reader <xx.tr file>', but read nothing.

Same as #29 ,I assume you wish to trace the flow dynamics within ns3, like switch throughput, NIC throughput, and switch queue information, which would be easily visible in the newer ns-3-alibabcloud version.

repo: aliyun/SimAI


text:
请教一下bpf关于拼接长字符串的问题，

您好，麻烦请教一下就是我在内核态程序需要循环通过struct dentry结构获取某一个文件的路径，我的方法目前是首先有一个结构体，结构体内部有一个char filename[512];的数组，然后循环将每一级目录加上'/'拼成一个完整的路径，
问题是循环过程中调用bpf_probe_read_kernel_str接口向filename中拷贝时如果第二个参数是一个变量，那么运行时Bpf校验器就会说可能越界什么的，但是在前后我已经做了很完善的边界检查了，之所以bpf_probe_read_kernel_str第二个参数需要是变量是因为每一级目录名长度是不同的，当我改成一个定值就没问题了。
其实总的来说就是bpf如何拼接一个长字符串，我基本尝试过所有相关的接口也无法解决了
下面是部分代码
其中用到的部分定义如下
char filename[512];
#define MAX_DENTRY_NAME_LEN         20

    size_t pos = 0;
    const u32 MAX_BACKTRACE_DEPTH = 20;
    for (u32 cnt = MAX_BACKTRACE_DEPTH; cnt != 0; --cnt) {
        if (err || curr_dentry == NULL) {
            break;
        }
        int name_len = BPF_CORE_READ(curr_dentry, d_name.len);
        const u8 *name = BPF_CORE_READ(curr_dentry, d_name.name);
        if (name_len <= 1) {
            break;
        }
        name_len = bpf_probe_read_kernel_str(filename + pos, MAX_DENTRY_NAME_LEN, name);
        if (name_len <= 1) {
            BPFLOGD(BPF_TRUE, "failed to read dentry name from kernel stack buffer");
            break;
        }
        pos += name_len;
        filename[pos - 1] = '/';
        struct dentry *temp_dentry = BPF_CORE_READ(curr_dentry, d_parent);
        if (temp_dentry == curr_dentry || temp_dentry == NULL) {
            break;
        }
        curr_dentry = temp_dentry;
    }

目前的效果是只能去循环20层，每层目录拿20个字符，我也将filename改为了4096长度，但是bpf_probe_read_kernel_str接口还是不允许我使用变量（上面代码中的name_len）作为第二个参数，我最终想要的效果其实是想通过循环可以完整的拿到每一级目录名，以及最终拼接成完整的路径，请教大佬是否有好的解决方案，感谢！！！

据我所知，eBPF 堆栈大小被限制在 MAX_BPF_STACK，现在应该是512字节，你这样用应该是越界的，解决方法是改用 bpf maps存储。
/* BPF program can access up to 512 bytes of stack space. */
#define MAX_BPF_STACK   512

据我所知，eBPF 堆栈大小被限制在 MAX_BPF_STACK，现在应该是512字节，你这样用应该是越界的，解决方法是改用 bpf maps存储。
/* BPF program can access up to 512 bytes of stack space. */ #define MAX_BPF_STACK 512

ok，我尝试一些，非常感谢

老哥，请问解决了吗，我最近也想构建完整的路径

老哥，请问解决了吗，我最近也想构建完整的路径

并没有好的解决办法吧

最近在做这个东西，我已经解决，并且兼容3.10内核的操作系统。不过我用的是libbpf，没有使用coolbpf， coolbpf 还没玩过。

最近在做这个东西，我已经解决，并且兼容3.10内核的操作系统。不过我用的是libbpf，没有使用coolbpf， coolbpf 还没玩过。

请教一下你是大概怎么处理的呢

authors: Killing11L guomsh luxingwen majoki

repo: aliyun/coolbpf


text:
关于同步一致性问题

MySQL -> PostgreSQL/Greenplum mysql2pgsql
功能：以表为单位的多线程全量数据迁移
使用全量同步的时候，怎么知道mysql binlog的位置？能保证同步时 数据的一致性吗？

我理解全量数据同步不需要知道 binlog 的位置吧，只是去执行一条 sql，比如 select * from table1。
关于一致性，没有验证，但是有个参数，插入到GP允许有多少条错误，比如设置为10，有11条数据插入失败，整个同步就失败了，如果有9条数据插入失败，整个同步是成功的，但是那9条还是没有同步到GP


text:
Finish mobile

finish mobile version
-create index.html
-create style.css

I don't understand. where is the problem.
On Fri, Mar 24, 2023 at 6:49 PM Amine @.***> wrote:

@.**** commented on this pull request.
Hi @alizaamir123 https://github.com/alizaamir123
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that doesn't have a PR summary.
Friendly reminder: You should make sure that your repository looks
professional before review. Please take a step back apply 5 simple rules
from this lesson
https://github.com/microverseinc/curriculum-transversal-skills/blob/main/documentation/articles/professional_repo_rules.md).
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/alizaamir123/setup-mobile-first/pull/3#pullrequestreview-1357701548,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWAXS5AE4MVQQ4JWMH3EQ3W5Y6KBANCNFSM6AAAAAAWHGOVWQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@alizaamir123 I think the problem the first reviewer was referring to is that you had already implemented the changes on your main branch, so please next time avoid that so that you don't have to merge anything
here is an article on how to follow Github flow 😉

Hi Micronaut @alizaamir123
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
🔴  Ensure that you make changes by committing and pushing to the same branch before making a Pull Request
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hello @alizaamir123 👋,
_This is an additional review as a result of the second opinion request.
Looks like your project is already approved, and your issue has been solved. ✊
Keep rocking 🚀!


text:
truenas scale 拉取docker镜像失败

你使用的 chinesesubfinder 是什么版本，什么环境？
docker
你遇到什么问题了？
拉取镜像提示
Failed to pull image "allanpk716/chinesesubfinder:latest": rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": unexpected EOF

老板，不知道为什么，latest标签拉到的都不是最新的镜像.....每次都是手动更改docker-compose后面的版本号...


text:
scispacy entitylinker

error in creating the object Linker
Linker = EntityLinker()
using scispacy-0.2.5 and en_core_sci_sm-0.2.5
entity_linker_error_log.txt
file includes the error log the packages and dependencies installed and docker file for the container environment

Hi, I am not able to reproduce this, even using your Dockerfile and requirements. Could you try again and make sure to fully rebuild the docker image?

repo: allenai/scispacy


text:
manually chose references with specific issues into inputs/sample.jso…

…n  generate_dqm_json_test_set.py now has option to generate sample reference set based on sample.json

Cool, thanks Ian


text:
🛑 West Shire Decks is down

In 9354652, West Shire Decks (https://westshiredecks.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: West Shire Decks is back up in 21da754 after 8 minutes.

repo: alliancewebteam/Uptime


text:
🛑 Capital Hospitality Services is down

In 5eba8a8, Capital Hospitality Services (https://chshotelrenovations.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Capital Hospitality Services is back up in eca83cf after 8 minutes.


text:
🛑 Buckland Sales is down

In 8f22612, Buckland Sales (https://bucklandsales.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Buckland Sales is back up in 617a6ee after 11 minutes.

repo: alliancewebteam/uptime