Forbidden action Privacy mode currently ON

In the past all worked flawlessly. But after a SSD disk failure I must reinstall everything and as a Python version I have now Python3.12. Now the exe file made from the Python app stops receiving data from Renault, and the Python file gives me this error: renault_api.kamereon.exceptions.AccessDeniedException: ('err.func.403', 'Forbidden action Privacy mode currently ON')
The other data are being retrieved correctly (i.e. the client id and VIN number). Only the car parameters didn't.

See #1135
I have a similar issue, but only on the cockpit v1 endpoint:
https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/res-state?country=FR
No resolution at this stage


Fix bug of CI related to the kubeaudit

This PR fixes the bug of CI related to kubeaudit.
Now, kubeaudit does NOT check the chart of Scalar DB since it doesn't run the helm dependency command.
In this case (if we don't run helm dependency), it returns the following ERROR.
$ kubeaudit all -k .github/kube-audit.yaml -f <(helm template --generate-name "charts/scalardb") -m error
Error: found in Chart.yaml, but missing in charts/ directory: envoy
All checks completed. 0 high-risk vulnerabilities found

However kubeaudit returns 0 as an exit status despite the above error occurring.
$ echo $?
0

So, the CI is not failed even if the kubeaudit returns this error...
In other words, the CI was successful before despite the kubeaudit does NOT check the Scalar DB chart.
If the target chart has a dependency (in this case, it depends on the scalar-envoy chart), we need to run the helm dependency command before we check it by kubeaudit.
So, I added the helm dependency command before running kubeaudit.
Please take a look!

After this fixing, kubeaudit doesn't return any ERROR as follows.
https://github.com/scalar-labs/helm-charts/runs/8034247279?check_suite_focus=true#step:6:26


QtCreator adding librrary

Can someone explain me how to add library to use in Qt Project App?

I am sorry but this has nothing to do with MAVSDK, does it? :thinking:
I suggest you look into the QtCreator documentation (maybe they have a forum or something, too?).

Is it impossible?

I'm sure it's possible. Mavsdk is like any other C++ dependency. Are you building your Qt project using qmake or cmake?

yes, im using cmake and i need help to import all mavsdk to my files, cause i want to make app in Qt with MAVSDK possibiliets. can you help me to make "mavsdk.h" works?

If you're using cmake you should add it as any of the examples:
https://github.com/mavlink/MAVSDK/blob/main/examples/takeoff_and_land/CMakeLists.txt


Correctly resolve the storage disk for image column

Hi guys,
Thanks for the excellent package!
I found a type in image column, could you please merge this one quickly?
Cheers,
Evgenii

Poke @tabacitu

@tabacitu could you please have a look at this one?

Definitely. Thank you for the PR and the pokes @nasyrov . Just merged it, it'll be available later today with a composer update.
For any other fixes to columns/fields/filters/buttons, you can easily use the fix inside your own project before it gets merged, by placing the file with the fix in the same directory as inside the CRUD package, but in your resources/views/vendor/backpack/crud folder. For example, a file with the fix inside your resources/views/vendor/backpack/crud/columns/image.blade.php would have forced Backpack to use your file, instead of the one in the package. Maybe it'll be helpful to you in the future. That's not to say this fix isn't useful, it is, but sometimes we're not on alert, or can't merge issues right away. This would be helpful then.
Thanks again. Cheers!


Support of OwnCloud

It will be great to add OwnCloud support in addition to Dropbox and Google Drive to have an ability to host everything on own infrastructure.

https://apps.owncloud.com/content/show.php/drawio?content=166206


[SR-15289] Empty dictionary unable to decode itself

Previous ID
SR-15289

Radar
None

Original Reporter
SDGGiesbrecht (JIRA User)

Type
Bug

Environment
New to Swift 5.5, attested on Ubuntu, CentOS and Amazon Linux (and proven not present on macOS)

Additional Detail from JIRA

Votes
1

Component/s

Labels
Bug

Assignee
None

Priority
Medium

md5: 0bbfd99264529883580e23a5166acfac

Issue Description:
For a key type that normally makes the dictionary encode as an array, empty instances end up encoded as empty dictionaries instead of empty arrays, leading to a type‐mismatch error when decoding.
struct Key: Codable, Hashable {
  var string: String
}
struct Value: Codable {
  var string: String
}
struct Context: Codable {
  var dictionary: [Key: Value] = [:]
}

let encoded = try JSONEncoder().encode([Context(dictionary: [Key(string: "..."): Value(string: "...")])])
print(String(data: encoded, encoding: .utf8))
// Optional("[{\"dictionary\":[{\"string\":\"...\"},{\"string\":\"...\"}]}]")
let decoded = try JSONDecoder().decode([Context].self, from: encoded)
print(decoded)
// ✓ Works just fine.

let emptyEncoded = try JSONEncoder().encode([Context()])
print(String(data: emptyEncoded, encoding: .utf8))
// Optional("[{\"dictionary\":{}}]")
let emptyDecoded = try JSONDecoder().decode([Context].self, from: emptyEncoded)
print(emptyDecoded)
// ✗ Throws: “typeMismatch(Swift.Array<Foundation.JSONValue>, Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "dictionary", intValue: nil)], debugDescription: "Expected to decode Array<JSONValue> but found a dictionary instead.", underlyingError: nil))”

I haven’t figured out yet if the problem comes from the Codable conformance of Dictionary in the standard library, the Codable synthesis in the compiler, or just JSONEncoder in Foundation.

Gone as of 5.6. (Also duplicate of #58058.)


path and url for mounted application don't include mount point

Please point me in the right direction if I am doing this wrong.
To reproduce, I created a new lotus application
lotus new test
I changed the mount point for the 'Web' app from '/' to '/test', and added a resource to app/web/config/routes.rb
➜  test git:(master) ✗ bundle exec lotus routes
                     GET, HEAD  /test/page                     Web::Controllers::Home::Index
                pigs GET, HEAD  /test/pigs                     Web::Controllers::Pigs::Index
            new_pigs GET, HEAD  /test/pigs/new                 Web::Controllers::Pigs::New
                pigs POST       /test/pigs                     Web::Controllers::Pigs::Create
                pigs GET, HEAD  /test/pigs/:id                 Web::Controllers::Pigs::Show
           edit_pigs GET, HEAD  /test/pigs/:id/edit            Web::Controllers::Pigs::Edit
                pigs PATCH      /test/pigs/:id                 Web::Controllers::Pigs::Update
                pigs DELETE     /test/pigs/:id                 Web::Controllers::Pigs::Destroy

in apps/web/templates/home/index.html.erb I added <%= Web::Routes.path(:pigs) %>
Started the server and looked at the page, the path rendered is /pigs, but would expect it to be /test/pigs
The rake task is aware of the mount point, but within the view context, the apps routes object does not seem to be aware of its own mount point?
I've spent a lot of time looking into the routing code, and haven't really found anything obvious.

@danelowe it is a known issue, because routings are not flatten atm. It is on our roadmap. For now, please workaround the issue by create your own routing helper and append the /test prefix.


Using xarray instead of pandas?

@bicarlsen
It is just a suggestion to simplify the code, rather than pointing bugs or improvement.
In
https://github.com/fujiisoup/sif_reader/blob/4a20a2b2ec0890ee5ab1067197523eda155d1f5d/sif_reader/cli.py#L35-L39
we are making a pd.Series from a numpy array, but we can also use xarray, e.g.,
da = sif_reader.xr_open('./Al_Kinetic.sif')
series = da.to_series()

It may give a simpler coding and more unified result.

The reason I didn't use xarray is because it seems to be an optional part of the package as seen in  setup.py and sif_open. Becuase of this I thought it was better to use np_open so it could be used more universally.
If we want to use xarray for the project I suggest adding it as a dependency to the package, and making the xr_open function always available.

That's a fair point. But then, maybe we need to add pandas anyway to setup.py?
pandas is more popular though.

Great point. I've made that change in the most recent commit.


using az component update ends in a "10525 Segmentation fault"

I'm running arch linux, have installed python, and done a pip install azure-cli.  That all worked fine.
When I run az component update I get the following
[paul@arch-sb tools]$ az component update
  Running setup.py install for pycparser ... done
  Running setup.py install for cryptography ... done
  Running setup.py install for secretstorage ... done
  Running setup.py install for isodate ... done
  Running setup.py install for oauthlib ... done
  Running setup.py install for chardet ... done
  Running setup.py install for applicationinsights ... done
  Running setup.py install for pyyaml ... done
  Running setup.py install for sshtunnel ... done
/home/paul/.local/bin/az: line 13: 10525 Segmentation fault      (core dumped) python -m azure.cli "$@"
[paul@arch-sb tools]$

Any help would be appreciated.
It's worth noting that this is a VirtualBox VM running on a SurfaceBook.

@pms1969 Can you provide a few details:

What Python version is installed?
What pip version is installed?
What's the output from az --version?
What's the output from az component update --debug?

damn, started writing this yesterday, and obviously didn't hit the button. :-(

[paul@arch-sb dotcom]$ python --version
Python 3.5.2

[paul@arch-sb dotcom]$ pip --version
pip 9.0.1 from /home/paul/.local/lib/python3.5/site-packages (python 3.5)

[paul@arch-sb dotcom]$ az --version
azure-cli (0.1.0b11)

acr (0.1.0b11)
acs (0.1.0b11)
appservice (0.1.0b11)
cloud (0.1.0b11)
component (0.1.0b11)
configure (0.1.0b11)
container (0.1.0b11)
context (0.1.0b11)
core (0.1.0b11)
feedback (0.1.0b11)
network (0.1.0b11)
nspkg (0.1.0b11)
profile (0.1.0b11)
resource (0.1.0b11)
role (0.1.0b11)
storage (0.1.0b11)
vm (0.1.0b11)

Python (Linux) 3.5.2 (default, Nov  7 2016, 11:31:36)
[GCC 6.2.1 20160830]

see attached file.

debug.txt

@pms1969 thanks for the version information.
In the debug.txt file attached, it looks like the 'Content' from az component update --debug has been truncated.

damn.  it was completely wrong.  :-s  Hopefully this one is better.
debug.txt

Thanks.
Can you also provide output from $ uname -a?

[paul@arch-sb azure-templates]$ uname -a
Linux arch-sb 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

Thanks @pms1969 for all the information.
Investigating...

Cheers.

I can repro using a Docker image of python with:
$ sudo docker run -it python:3.5 bash
$ pip install azure-cli
$ az component update

The exact cause is yet to be determined and the only error message is Segmentation fault      (core dumped) python -m azure.cli "$@" which doesn't provide much insight.

yeah, it's a bit baffling

Update to azure-cli-component published that includes this fix.
https://pypi.python.org/pypi/azure-cli-component/0.1.0b12

Install the CLI again and this issue will be resolved.

confirmed.  thanks.


Hi is there a discord server for this?

Hi is there a discord server for orbtk?

Hi, no but a channel on the Redox OS chat: https://chat.redox-os.org/login

Check the OrbTk channel not Orbital channel. @rzerres e.g. is active there. And a OrbTk-book channel also exists.

@FloVanGH Thanks mate

Is https://chat.redox-os.org no longer open to the public?

no.
Instead there is a channel for orbtk on mattermost (redox-os).
So you have to register there first.

No.
Instead of using discord,  OrbTk is using a matter most based channel. Avon luck in the readme voidu explain how to send a registration request.
Am 17.04.2022 07:38 schrieb Raj2032 @.***>:
Hi is there a discord server for orbtk?
—
Reply to this email directly, view it on GitHubhttps://github.com/redox-os/orbtk/issues/486, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABI5LVBWC2KQCBSHWKQW6C3VFOPSXANCNFSM5TTMCW6A.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Number stored as Text with percentage

Hello,
I love your library, it is awesome and documentation is great.
However, I have a small issue with percentage.
I have the following code to add a cell:
ioSheet.cell( 'A1' )
    .value( '10%' );

When I open the excel file after it is generated, we can see a small green triangle (meaning excel is trying to tell you something is wrong) and it says "Number stored as Text".
I guess it makes sense because this could be a number and just have a formatting in excel that will add the %.
I see two possible solutions but don't know how I can achieve neither of them:

Forcing Excel to consider this value as string (not sure it is possible)
removing the %, send a number to Excel and format the cell as percentage.

To do 2), I've seen the option numberFormat, so I tried to add this (as reference here):
ioSheet.cell( 'A1' )
    .value( 10 )
    .style({
        numberFormat: '%'
    });

But it doesn't work, I have only a % in the cell in Excel.
I must do something wrong as it seems you guys planned for this feature but I can't figure out how to do that.

Setting the value with the string '10%' puts a string value in the cell. This is correct behavior.
Your 2nd option is the right approach, but your number format is wrong. It should be '0%'. You can see this in Excel if you format a cell as percent, open the number format window for the cell, and switch to the "Custom" page. The highlighted format is what you want.

It is working perfectly using the cell format '0%' instead of '%',
Thanks a lot for your help


post tweet with location (Geo, coordinates, latitude and logitude)

Hi.
I have been reading the examples and the code, and I didn't find if it's possible to publish a tweet with Geo data (latitude and longitude). Twitter API v1 allows it in the standard POST (https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-update). Is it possible?
Regards.

Hello @logoff ,
Yes I never implemented it and it was never asked before. As this endpoint is still in V1, I won't develop any new feature on it but feel free to submit a pull request if you really need it :)
Thanks !

Hi.
Unfortunately, now I have no spare time, but it seems that the library is pretty well-designed and should not be so hard. I have seen already some data model classes with geo information.
Thanks for your answer.

Yes sorry I don't have so much spare time too right now but as soon as the V2 endpoint will be release I'll take time to implement it too.


Mouse back/forward buttons do not navigate.

OS: Arch Linux x64, i3wm
$ uname -a
Linux xb 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux
$ i3 -v
i3 version 4.12-10-g6fb271f (2016-03-11, branch "makepkg") © 2009 Michael Stapelberg and contributors
$ pacman -Q | grep google-play
google-play-music-desktop-player-git <IP_ADDRESS>.g7759ce7-1
Issue Descriptions:
Mouse forward/back buttons do nothing in GPMDP. I would expect them to let me navigate like in the browser. Pressing backspace seems to work - just not the mouse buttons.
Steps to Reproduce:

Open GPMDP.
Navigate to any artist/album/anything.
Try to click the 'back' mouse navigation button.
Notice that nothing happens.

Other Info:
Here is the ButtonPress events skimmed from xev for forward:
ButtonPress event, serial 33, synthetic NO, window 0x2200001,
    root 0x76, subw 0x0, time 6808564, (-1,281), root:(1283,833),
    state 0x10, button 9, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x2200001,
    root 0x76, subw 0x0, time 6811178, (-1,281), root:(1283,833),
    state 0x10, button 9, same_screen YES

For backward:
ButtonPress event, serial 33, synthetic NO, window 0x2200001,
    root 0x76, subw 0x0, time 7014240, (7,319), root:(1291,871),
    state 0x10, button 8, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x2200001,
    root 0x76, subw 0x0, time 7014364, (7,319), root:(1291,871),
    state 0x10, button 8, same_screen YES

Let me know if you need any more information!

Unfortunately electron doesn't expose any API for linux to allow use of the extra buttons on the mouse. The only other solution would be for a native module built for linux that would capture those buttons similar to what @MarshallOfSound did for windows media keys in windows.

Ah, OK. I didn't realize that had happened. My media keys seem to work under Linux as it stands, so that's seemingly already fixed by the same patch?

If they worked before, you didn't have anything already intercepting those keys. If, however, you use Gnome then it was stealing your media key bindings and the only way to play nice is to use D-Bus to listen for the media player key events, otherwise you have to disable the media keys in gnome, and use the exclusively in GPM. At least that's what I came to understand on Ubuntu 14.04 Gnome. Other distributions may vary.
If I had a mouse with the extra buttons, I would try to debug and see if this is something I could implement, but from research it appears that the only way electron will support it is via the app-commands event emitter in windows, or a native node module that will listen for the buttons.

I am far from as technically proficient as the rest of you, but using my mouse navigation buttons set for "Forward" and "Back" produce an uncaught error:
An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Tue Mar 29 2016 10:36:22 GMT-0400 (Eastern Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\NKneer\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\NKneer\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

@nkneer That exception is for windows so not relevant to this issue :+1:
That exception has been fixed in master

@jostrander AFAIK it never worked. I shouldn't have anything grabbing those keys (since they are more program-specific than system-wide like the media keys).
I've never done any Node, but if someone can point me in the right direction for debugging, or what part handles key presses etc I can see what I can do.

@slowbro Specifically what I was saying is the patch that I submitted for linux media keys was for Ubuntu/gnome media keys only and had nothing to do with anything else.
The issue specifically is that node doesn't have any way to grab those extra mouse buttons, and neither does the GPM web page. What is actually listening for the buttons in applications like Chrome is OS specific code written in C, CPP, or whatever they use. In order for GPMDP to be able to processes those keys some platform specific code will have to be written and compiled so that node can receive the events and act on them, because currently node doesn't even know they exist.

Specifically what mouse do you have, and how many buttons does it have? Your xev output above is buttons 8 and 9, which are above the standard 7 button standard. Do you have specific software installed to manage your mouse? Are you using anything such as XBindKeys,  xvkybd, or similar?

I have a Logitech M510. It is the unifying receiver type, but generally a normal mouse. It has a scroll wheel and two side buttons. I mapped all buttons, and it looks like this:
Button 1: Left Click
Button 2: Middle Click (scroll wheel straight down)
Button 3: Right Click
Button 4: Scroll Up
Button 5: Scroll Down
Button 6: Push scroll wheel to the left (towards left mb)
Button 7: Push scroll wheel to the right (towards right mb)
Button 8: "Back" nav button
Button 9: "Forward" nav button
I have nothing special set up as far as x config. I just plugged the mouse in and went with whatever it gave me.

Alright, I used xmodmap to map my 6-7 buttons to 8-9 so its registering as back/foward in chrome correctly. I'll try to debug and see if I can get anywhere in GPMDP.

Thanks! Let me know if I can help in any way :)
On Wed, Mar 30, 2016 at 5:37 PM, Jesse Ostrander<EMAIL_ADDRESS>wrote:

Alright, I used xmodmap to map my 6-7 buttons to 8-9 so its registering as
back/foward in chrome correctly. I'll try to debug and see if I can get
anywhere in GPMDP.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/745#issuecomment-203697153

I create a native node module for this, now I just have to see if it's stable enough integrate into this project.


[Topic Page] Add highlight tile

Note, since overview block has no difference with the other block, merge it into the general blocks.

thanks!
the thought with the overview block was to call it out (and not assume the first block is the overview) since it's treated in the UI. but in all likelihood the first will always be the overview, so we can keep this.

Thanks for the clarification!


Add frontend linting rules for ESLint and Prettier

Description
Adding the ESlint rules for the frontend and some Prettier options. I also updated our GitHub action to include the lint before running mock tests. This commit also lints everything that's why there's so many changes.
How Has This Been Tested?

Run the frontend with npm run start:dev
Run the linting fix command with npm run test:fix
Run the linter with npm run test:lint
Run the test suite with npm run test:cypress-ci
Make sure npm run test attempts to run both the lint and cypress-ci commands

Merge criteria:

[x] The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

@Griffin-Sullivan can you please resolve the conflicts?

Ok rebased and linted some new stuff. CI should work now. @lucferbux could you take a look

Verified comments resolved, tested locally.
/approve

/approve

/lgtm (based on Lucas comments).

/lgtm

/approve

@tarilabs, would you mind merging this one for us if that's okay from your review? As it touches .gitHub I don't have enough permissions

@Griffin-Sullivan, would you mind looking at the conflicts?


Add support to javascript module patterns

I think it would be good to add support to universal module patterns such as amd and commonjs
more info about at: https://github.com/umdjs/umd

@rafaellyra So all I need to do is wrap the plugin in this: https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js?

@PawelDecowski I am using amd/requirejs with my project and would like to use your plugin. If you had this universal module pattern, it would be great. It might be as simple as using this gulp utility to wrap the plugin https://github.com/yivo/gulp-umd-wrap
or wrap the coffeescript code with this template https://gist.github.com/dra1n/6433619

@truemed It’ll be added in v1.2.


[6454] Fixed issue whereby values with £ returns zero values

Context
CSV importer
Changes proposed in this pull request
When a £ is provided in the csv is sets the value as zero.
Remove it before conversation
Guidance to review
Run with a csv that has £ and see the magic happen
bundle exec rake funding:import_lead_school_payment_schedules['funding.csv',2]

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Lead school previous year funding information missing


Add tests and travis support

Would be great to ensure these stay working with Dart v2

And remove all references to drone.io.

@kevmoo @kwalrath Would love to add the travis-ci support checks for this repo. Could I go ahead?

If you want to try!
I'd recommend setting up https://pub.dev/packages/mono_repo – should make things a lot easier!

Actually... I believe we plan to move everything from dart-tutorials-samples to either site-www or samples. So it'd be good to have tests in that destination repo, once each sample moves.

Then I believe we can close this issue here atm.


Transition from setup.py to pyproject.toml

Objective:
Change from the legacy setup.py configuration to the modern pyproject.toml standard. This change aligns with PEP 518 and PEP 621, offering better build system declaration and metadata management.
Benefits:

Simplified build and packaging process
Enhanced metadata handling
Better dependency management
Improved project maintainability

Action:
Replace existing setup.py with a comprehensive pyproject.toml file, ensuring compatibility and functionality are maintained.
Requesting assistance for:

Drafting an initial pyproject.toml configuration
Testing for seamless transition
Updating documentation to reflect changes

Hi @egndz. I already did the conversion to pyproject.toml in #100 . Unfortunately, I'm blocked on furthering that PR because it won't work on GitHub's Intel Mac instances. I can extract the pyproject.toml changes and PR it separately later this week.

Sounds good, let's split the pyproject.toml changes. Thank you for the consideration

Merged as a part of #111 .


Slower-Header-Animations

Add transition durations to all of header animations (link drop downs)

Return animation after moving cursor away

cursor: pointer on burger icon

After opening a drop down menu and having another drop down menu opened inside it, there is a gap between them. Increase padding just enough for you not to close it by accidently hovering in between them.
(Example: open "Pages", open "Case Study")

On mobile: After opening drop down menu and having another drop down menu opened inside it, contents in the second one are all highlighted red. Should be one by one after hovering on them.
(Example: open "Pages", open "eCommerence"

Could @eyyMinda please specify this: Return animation after moving cursor away?

Could @eyyMinda please specify this: Return animation after moving cursor away?

onHover: executes animation. But onMouseOut instant scale/transform return to default position. There is no animation for moving cursor away.
Example for fix:
While having this for animation.
.aLink:hover { transform: translateX(5px); transition: transform 1s; }
Add this for it to return to default with animation also.
.aLink { transform: translateX(0px); transition: transform 1s; }


implements to_sql diesel::Range to std::Range*

With this PR we can now use 1.. instead (Bound::Inclded(1), Bound::Unbounded) for all std::ops::Range.*<T>.
I only didn't implement the RangeFull because it does not have a type so I didn't know how to keep the contraint in T.

May I replace the test with this notation?
Like here
https://github.com/diesel-rs/diesel/blob/18af06f3a798f7f1a3e8298882d1d457c118ad1d/diesel/src/pg/expression/functions.rs#L96-L97

I had some concerns about this due to https://github.com/rust-lang/rfcs/blob/master/text/3550-new-range.md but the text explicitly states that after that we only need to add a few new impls for the new range types and it should continue to work on all editions.
From what I understood we will only need to add the macro implementations to the legacy ranges.

The best implementation would be to depend only on RangeBound, but when I tried I received a conflicting implementations error:
error[E0119]: conflicting implementations of trait `ToSql<types::sql_types::Range<_>, pg::backend::Pg>` for type `&_`
   --> diesel/src/pg/types/ranges.rs:190:1
    |
190 | / impl<ST, T, RB> ToSql<Range<ST>, Pg> for RB
191 | | where
192 | |     ST: 'static,
193 | |     RB: RangeBounds<T>,
194 | |     T: ToSql<ST, Pg>,
    | |_____________________^ conflicting implementation for `&_`
    |
   ::: diesel/src/serialize.rs:283:1
    |
283 | / impl<'a, A, T, DB> ToSql<A, DB> for &'a T
284 | | where
285 | |     DB: Backend,
286 | |     T: ToSql<A, DB> + ?Sized,
    | |_____________________________- first implementation here
    |
    = note: downstream crates may implement trait `std::ops::RangeBounds<_>` for type `&_`
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
   --> diesel/src/pg/types/ranges.rs:190:10
    |
190 | impl<ST, T, RB> ToSql<Range<ST>, Pg> for RB
    |          ^ unconstrained type parameter

And I don't know how to fix it

From what I understood we will only need to add the macro implementations to the legacy ranges.
The best implementation would be to depend only on RangeBound, but when I tried I received a conflicting implementations error:

I think it's not possible to fix that. So going for the concrete impl is the best solution that's possible.


Highlights

Highlight message when your username/custom highlight is mentioned in a message

Started working on this, do we want the custom sounds back? Was this feature even used?
And also, should the sound play/taskbar also flash when the custom highlight is triggered or only when the username is mentioned?

Custom sounds was used a decent amount I think. Yeah I think custom highlights should trigger sound/taskbar flashes too

[ ] Highlight message in chat
[ ] Option to play sound when any message is highlighted

[ ] Option to choose a custom sound to play

[ ] Option to flash taskbar when any message is highlighted

Personally I would like per-custom-highlight options so that I can add a highlight that does highlight in chat but doesn't play a sound for example, so something like that might be good to think about already.

How should we implement the taskbar flash feature on linux? I never really used Linux much but I think there's a different taskbar on pretty much every distro. QApplication only gives a solution for Windows/MacOS with QApplication::alert()

Try QApplication::alert() and I'll see what happens on Linux

Base highlighting implemented


refactor(components): added the ability to set additional props

Proposed Changes
Please use the Jira Key followed by the changes

JIRAKEY-1234

Some change
Another change

Checklist

[ ] I have added or updated unit tests
[ ] I have added or updated integration tests (if appropriate)
[ ] I have added or updated documentation / readme (if appropriate)
[ ] I have verified that my changes have not introduced new lint errors
[ ] I have added a GitHub labels to the PR for either patch, minor, or major

Testing Instructions

@gerus-virtru LGTM


FileNotFound exception

Traceback (most recent call last):
  File "udemy-dl.py", line 1432, in <module>
    main()
  File "udemy-dl.py", line 1091, in main
    udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
  File "udemy-dl.py", line 500, in course_download
    self.download_lectures_and_captions(lecture_best=lecture_best, lecture_title=lecture_title, inner_index=inner_index, lectures_count=lectures_count, lecture_subtitles=lecture_subtitles, lecture_assets=lecture_assets, filepath=filepath, unsafe=unsafe)
  File "udemy-dl.py", line 418, in download_lectures_and_captions
    self.download_assets(lecture_assets=lecture_assets, filepath=filepath, unsafe=unsafe)
  File "udemy-dl.py", line 327, in download_assets
    assets.download(filepath=filepath, unsafe=unsafe, quiet=True, callback=self.show_progress)
  File "/Documents/personal/tutorials/udemy-dl/udemy/_shared.py", line 590, in download
    return self._write_external_links(filepath, unsafe=unsafe)
  File "/Documents/personal/tutorials/udemy-dl/udemy/_shared.py", line 519, in _write_external_links
    except (OSError, Exception, UnicodeDecodeError, FileNotFoundError) as e:
NameError: global name 'FileNotFoundError' is not defined

Can you provide more info about your problem?
I have this error on Windows but it works fine on MacOS 10.14
Python version? Course cause this error? What version of your MacOS? What command you used?

@brundidge Thank you for your reply.
Mac version: 10.14.2
python version: Python 2.7.16
python udemy-dl.py -u  -p  https://www.udemy.com/professional-rails-5-development-course/learn/v4/overview -q 720 --cookie=cookie.txt

It was working fine until few lectures btw.

I redownloaded udemy-dl and the problem has gone away.

I have same problem with the course you provide: https://www.udemy.com/professional-rails-5-development-course/
But on Windows 10, Python 2.7.16
Error occurs at chapter 15 and around lecture 161

And at the time error happen, i have a blank txt file without anything inside.

It says 'FindNotFoundError' is not defined but i think it's not same problem about long path like i have with another course. This course overall have short names, and i can open that 0KB txt with Notepad normally (which i can't if it's something relative to long path on Windows)

@brundidge here is the problem, FileNotFound exception does not exists and once i remove the code works fine.

@r0oth3x49 in #375, right now udemy-dl with Python 3 already lost that file if it understand what FileNotFound is, if we replace it with more general exception, error with catch but i'm afraid the file will be gone like in Python 3

@r0oth3x49 In #375, if a person install Python 3 on Windows without 'Disable path length limit', the text file that cause error, will disappear. I'm afraid that it'll happen on Python 2 too if you replace FileNotFoundError with more general exception, error will be catch but file will be gone.

@r0oth3x49 That fix is the reason causes file lost, not a fix, it just says: "Hey error, go away". I told you in comment above, and take a look at my comment here please : https://github.com/r0oth3x49/udemy-dl/pull/375#issuecomment-487261506


hotfix: erc20-balance (get incorrect conditional before update account balance)

get incorrect conditional before update account balance


Change branch compilation to avoid adding downstream deps

Signed-off-by: Haytham Abuelfutuh<EMAIL_ADDRESS>TL;DR

[X] Change branch compilation to only add subnodes during the transformer phase as opposed to compilation phase,
[X] Avoid adding downstream links between branch nodes and their subnodes,
[X] Marshal both downstream and upstream edges in propeller's WF CRD

Type

[X] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[X] Code completed
[X] Smoke tested
[ ] Unit tests added
[X] Code documentation added
[X] Any pending items have an associated Issue

Tracking Issue
https://github.com/flyteorg/flyte/issues/1052

needs a merge!


GET_CSR/SET_CERTIFICATE process against SPDM certificate chain models

Hi team,
If device is in AliasCert Model, what type would the public key in CSR response be for CA signing (device public key or alias public key)?

If it is the device public key, dose it suggest CA on requester side will generate the certificate chain ends with the device certificate, and it then falls on device's responsibility to generate the alias certificate and append to the chain after SET_CERTIFICATE?
If it is the alias public key, how the CA on reqeuster side to know the device certificate and its private key? The device private kay is to issue the alias certificate and the device certificate should be the preceding of alias certificate in the complete certificate chain.

I tend to believe it should be 1, but the specification has no clear description about this.
I also looked through libspdm and spdm-emu code, there seems no GET_CSR then SET_CERTIFICATE joint use case, the certificate chain data for SET_CERTIFICATE all come from libspdm_read_responder_public_certificate_chain which reads ready-made bundle of chain from sample_key for testing.
Would you help to confirm this?
Thanks.

As far as the specification is concerned it could be 1 or 2. In reality though it will be 1.
For spdm-emu / libspdm, if the device is in AliasCert mode then they could generate the leaf certificate on-the-fly to emulate something like DICE. Feel free to file a separate issue if you think that's valuable.

Thanks @steven-bellock for shareing the opnion. It is enough to me for now.


Update note on commonName field

See #1474
Also changes the example org!

fixes https://github.com/cert-manager/website/issues/1474

/approve
/lgtm


ACs going offline in HA, but not in Midea App

Describe the bug （描述一下问题）
once in a while, I can't find a reason, some ACs are disconnected from HA, although the AC is available from the Midea APP.
it can be solved by restarting the AC of the router.
Screenshots / Logs / Pcap File（屏幕截图/日志/抓包文件）
Here is the ac from HA, it is unavailable, and any change done here will not effect the AC:

This is the same AC from the Midea App. It is available, working and I can control it:

The AC is connected to wifi with the IP as defined for HA:
router:

HA conf:

The strangest thing is - I have a PING test to the ACs, it is showing the AC is offline, but as mentioned before it is online and connected to wifi...

I would appreciate your assistance very much!
Adi
Versions (版本信息)

Home Assistant version: 2021.10.6
Midea msmart version:  latest

@mac-zhou ? Any Idea?

I need to see logs

@mac-zhou
here is the HA log. I waited until it will happen again.
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration deepstack_object which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration school_holidays which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'school_holidays' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration electrasmart which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration reolink_dev which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration midea_ac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration reversotts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration breaking_changes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_7) [homeassistant.loader] The custom integration 'breaking_changes' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration grocy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'grocy' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_8) [homeassistant.loader] The custom integration 'smartir' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration lovelace_gen which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration braviatv_psk which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (MainThread) [homeassistant.config] Key whitelist_external_dirs has been replaced with allowlist_external_dirs. Please update your config
2022-01-19 13:17:44 DEBUG (MainThread) [custom_components.electrasmart.climate] Setting up the ElectraSmart climate platform
2022-01-19 13:17:44 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue for glances using this method at homeassistant/components/glances/__init__.py, line 125: await self.api.get_data()
2022-01-19 13:17:44 DEBUG (SyncWorker_8) [custom_components.electrasmart.climate] Updating status using the client AC instance...
2022-01-19 13:17:44 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1416
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'GET_LAST_TELEMETRY',
'data': {'commandName': 'OPER,DIAG_L2,HB', 'id': '4620'},
'id': 1416,
'pvdid': 1,
'sid': None}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1416):
{'data': None, 'desc': '', 'id': 0, 'status': 99}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1189
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'VALIDATE_TOKEN',
'data': {'imei': '2b95000096491186',
'os': 'android',
'osver': 'M4B30Z',
'token': 'bf2e5a15b10a470b83951311df739f5c'},
'id': 1189,
'pvdid': 1,
'sid': None}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1189):
{'data': {'res': 0,
'res_desc': None,
'sid': 'dea6d0509e80487b91284054e4d9c4c3'},
'desc': None,
'id': 1189,
'status': 0}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] renewed sid: dea6d0509e80487b91284054e4d9c4c3
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1149
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'GET_LAST_TELEMETRY',
'data': {'commandName': 'OPER,DIAG_L2,HB', 'id': '4620'},
'id': 1149,
'pvdid': 1,
'sid': 'dea6d0509e80487b91284054e4d9c4c3'}
2022-01-19 13:17:46 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1149):
{'data': {'commandJson': {'DIAG_L2': '{"DIAG_L2":{"IDU_RX_CNT":"51092","IDU_TX_CNT":"51092","MAIN_PWR_STATUS":"1199","BAD_IR_CNT":"3","WI_FI_CON_STATUS":"41","SMPS_PWR_STATUS":"328","I_ALARM_OUT":"OFF","I_BAD_ICT":"NORM","I_CALC_AT":"6144","I_ICT":"0","I_LOGIC_SPT":"22","I_RAT":"24","I_RCT":"5632","O_BAD_OMT":"NORM","O_CTT":"0","O_EEV":"512","O_ENV_PWR_CURR":"0","O_GLT":"0","O_HST":"0","O_OCT":"0","GOOD_IR_CNT":"0","IDU_CRC_ERR_RX_CNT":"0","O_OAT":"0","O_OMT":"0","O_PWR":"0","I_BAD_RAT":"NORM","I_PUMP":"OFF","I_RC_SPT":"7","I_SELFTEST":"OFF","O_ALARM_OUT":"OFF","I_STOP_COMP":"NO '
'RQST","M2L_CRC_ERR_RX_CNT":"0","M2L_RX_CNT":"0","M2L_TX_CNT":"0","I_ON_OFF_STAT":"OFF","O_ODU_MODE":"IDLE","I_RC_FSTBY":"FSTBY '
'OFF","DISPLAY_DET_AP":"<IP_ADDRESS>","O_RV":"COOL","I_BAD_ICTE":"NORM","I_DEICER":"OFF","I_FAN_ACT":"0","I_IDU_ALARM":"OFF","I_IN_FAULT":"NO '
'FAULT","I_LOCK":"NO '
'LOCK","I_NLOAD":"0","I_RC_IFEEL":"IFEEL '
'OFF","O_CURRENT":"0","O_CUR_RWR_TYPE":"AC '
'Current","O_FORCE_STDBY":"OFF","O_MODEL":"0","O_PROT_RESON":"0","O_PROT_STAT":"0","O_RGT_BAD":"NORMAL","O_RLT_BAD":"NORMAL","O_TRGT_FERQ":"0"}}',
'HB': '{"HB":{"HB_CNT":"278","MESSTYPE":"HB"}}',
'OPER': '{"OPER":{"AC_STSRC":"PWRUP","AC_MODE":"STBY","FANSPD":"LOW","SPT":"22","TIMER":"OFF","CLEAR_FILT":"OFF","IFEEL":"OFF","SHABAT":"OFF","SLEEP":"OFF"}}'},
'res': 0,
'res_desc': None,
'timeDelta': 68},
'desc': None,
'id': 1149,
'status': 0}
2022-01-19 13:17:46 DEBUG (SyncWorker_8) [custom_components.electrasmart.climate] Status updated using the client AC instance
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] hvac_mode: returning HVAC_MODE_OFF - device is off
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] value of current_temperature property: 24
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] value of target_temperature property: 22
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] fan_mode: returning FAN_OFF - device is off
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json is not none and value_json.state == "running" }}'
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.components.rest.switch] Got non-ok response from resource: 404
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json is not none and value_json.state == "running" }}'
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.components.rest.switch] Got non-ok response from resource: 404
2022-01-19 13:17:55 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform androidtv is taking over 10 seconds.
2022-01-19 13:18:03 ERROR (SyncWorker_22) [msmart.lan] Connect Error: <IP_ADDRESS>:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_3) [msmart.lan] Connect Error: <IP_ADDRESS>:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_1) [msmart.lan] Connect Error: <IP_ADDRESS>:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_22) [msmart.lan] Sokcet is None: <IP_ADDRESS>:6444
2022-01-19 13:18:03 WARNING (SyncWorker_22) [msmart.device] Got Null from <IP_ADDRESS>:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:03 ERROR (SyncWorker_3) [msmart.lan] Sokcet is None: <IP_ADDRESS>:6444
2022-01-19 13:18:03 WARNING (SyncWorker_3) [msmart.device] Got Null from <IP_ADDRESS>:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:03 ERROR (SyncWorker_1) [msmart.lan] Sokcet is None: <IP_ADDRESS>:6444
2022-01-19 13:18:03 WARNING (SyncWorker_1) [msmart.device] Got Null from <IP_ADDRESS>:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:17 ERROR (SyncWorker_14) [msmart.lan] Connect Error: <IP_ADDRESS>:6444 timed out
2022-01-19 13:18:17 ERROR (SyncWorker_14) [msmart.lan] Sokcet is None: <IP_ADDRESS>:6444
2022-01-19 13:18:17 WARNING (SyncWorker_14) [msmart.device] Got Null from <IP_ADDRESS>:6444 Version: 2 Count: 0 Spend time: 2.0

did you update to version 0.2.0 ?
please add to your config file, then will see a more info about this
logger:
  default: warn
  logs:
    msmart: debug

I’ve same issue while running latest version


After successful bulk upload, I get redirected to an URL that says 'No samples found'

But if I just go to localhost:3000, the samples are there

adding fix as part of wider bulk-upload update


[v5] use a fresh relation instance to create related items

WHY
BEFORE - What was wrong? What was happening before this PR?
creatable "many" entries (aka subfields), where not properly finding the correct relations because on create we were using the same outdated relation instance. reported here: https://github.com/Laravel-Backpack/CRUD/issues/4169
AFTER - What is happening after this PR?
We use a clean relation instance when creating the items, this way they can properly be identified in the foreach loop, because we "deconstruct" each item in a "many relation" so we can create the item and create item relations when they exist.
HOW
How did you achieve that, in technical terms?
used a new relation istance (that takes into account previous items in the relation) to create the current item. using the same $relation for all the items will result in keys beeing messed up because they don't exists in the relation.
Is it a breaking change or non-breaking change?
Non breaking.
How can we test the before & after?
I added tests for this scenario, so to test it you basically run the test suit without the changes in Create.php, and then run with the changes.

I'll trust you on this one. Very VERY clean PR, by the way. And the bonus unit test is ❤


Drag and drop support in file uploader

Summary
This issue tracks dev effort for implementing drag and drop-based file uploader and possibly beefing up design spec (some if there) from carbon-design-system/carbon-contribution#4.
Justification
Drag and drop-based file uploader UI has been popular these days, often provides a better user experience than letting user choose file.

According to comment thread, Cynthia's team will build it. Just followed up to check the status on this:
https://github.com/carbon-design-system/carbon-contribution/issues/4#issuecomment-448741476

According to comment thread, Cynthia's team will build it. Just followed up to check the status on this:
https://github.com/carbon-design-system/carbon-contribution/issues/4#issuecomment-448741476

According to comment thread, Cynthia's team will build it. Just followed up to check the status on this:
https://github.com/carbon-design-system/carbon-contribution/issues/4#issuecomment-448741476

not stale?

We should go ahead and add this to our to-do since contribution thread is 1 year old, and likely stale. We definitely want to include this feature in our core component set.

We will look at it more next month. Here's some potential Usage content for Drag and Drop component once it merges. FYI @connor-leech
https://pages.github.ibm.com/ide-design-guidelines/ide-design-guidelines-v2/patterns/uploading/usage

@emyarod FYI

I have come across this issue and see that the file upload usage pattern we submitted is referenced above in it.  Is the drag drop component being created for your Aug release?   Is it specced out somewhere so we can see the details as we are keen to use this component (and also the proposed usage details)
Thanks :)

Replied in Slack. Lemme know if you have suggestions for Usage guidance!


Iss375 1filemode dot

@jsherfey I changed dsApplyModifications. I moved some stuff from modify_specification to standardize_modifications. This affects the modifications argout. This will only impact line 520 of dsSimulate: [model,options.modifications] = dsApplyModifications(model,options.modifications, varargin{:});


fix hash value in convolution

add padding_above to hash to avoid reuse the wrong primitive.

ok, not a bug, it's redundant.


Fixing link

Removing additional # added in a link.

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

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

TTYL, MSBOT;

#Sign-off

@karavar : Thanks for your contribution to the Azure documentation! The author, @billmath, has been notified to review your proposed change.

#Signoff

#sign-off

@billmath can you close this?

@karavar  Varun, was this fixed in another PR.  It is saying it has merge conflicts right now.

This is old.  Please close.


Dynamic Avatar

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
I would like to have an Avatar component with the logged in person's image.
Current Behavior
Does not work, only if I import the image at the top, and write a static string as src.
Steps to Reproduce (for bugs)

Here is my code. I get user.img from this.state. I checked, it is the right value.
<Avatar src={img/${user.img}.jpg}/>
Your Environment
Using create-react-app

Tech
Version

Material-UI
v0.19.2

React
v15.6.1

browser
Chrome 62

We need a reproduction example to look into it. As far as I can see in the source code, it should be worker. Also, the master branch is in a low maintenance mode, we don't handle the issues opened for it, we only look at the PR. So if you find a fix and submit a PR we will look at it, otherwise, feel free to migrate to the v1-beta branch.


Prevent LSP errors on codelens

I've noticed that I'm constantly getting an error related to codelens when I go to the definion for the first time.
Error executing vim.schedule lua callback: ...lar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/util.lua:1146: BufReadPost Autocommands for "*.go": Vim(append):Error executing lua callback: ...w/Cellar/neovim/0.9.5/share/nvim/runtime/lua/vim
/lsp.lua:1963: Vim:method textDocument/codeLens is not supported by any of the servers registered for the current buffer
stack traceback:
        [C]: in function 'nvim_command'
        ...w/Cellar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp.lua:1963: in function 'buf_request'
        ...neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/codelens.lua:293: in function 'refresh'
        ...iktor/.local/share/nvim/lazy/go.nvim/lua/go/codelens.lua:67: in function 'refresh'
        ...iktor/.local/share/nvim/lazy/go.nvim/lua/go/codelens.lua:20: in function <...iktor/.local/share/nvim/lazy/go.nvim/lua/go/codelens.lua:17>
        [C]: in function 'nvim_win_set_buf'
        ...lar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/util.lua:1146: in function 'jump_to_location'
        ...neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/handlers.lua:405: in function 'handler'
        ...w/Cellar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp.lua:1393: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
        [C]: in function 'nvim_win_set_buf'
        ...lar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/util.lua:1146: in function 'jump_to_location'
        ...neovim/0.9.5/share/nvim/runtime/lua/vim/lsp/handlers.lua:405: in function 'handler'
        ...w/Cellar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp.lua:1393: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

my neovim version:
❯ vim --version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"

Run :checkhealth for more info

This PR fixes this error by checking if lsp servers are ready when go.nvim is trying to refresh codelenses:
  if not vim.lsp.buf.server_ready() then
    return
  end

I've also changed a bit the behavior of refresh() and clear() to deal only with current buffer and only with codelens provided by gopls.
Additionally, this PR does a bit of cleanups (unify usage of codelens and log withing codelens.lua) and refactors the module a bit to output possible errors more precisely.

Looked through the tests. Failures looks not relevant to my changes. Or am I wrong?

The doc says server_ready is deprecated...
maybe use LspAttach autocmd and add a function to check whether gopls is ready and enable codelens if it is.

Hi, @weirdgiraffe
Is it possible we can merge edfadae first and create a separate PR for gopls inlay?
I am not quite sure what causing the test failure with the gopls changes. So lets create a dedicated PR for it.

Ok. Will split

Hello! I created a PR: https://github.com/ray-x/go.nvim/pull/445
It seems like we try to fix the same issue. I tested my solution and it works fine (requiring a lot less code changes)
Maybe I'm wrong and missing something, but it looks like it's enough to find LSP for current buffer without checking it's status.


How to publish in the callback or it bug ?

I try to publish the data that received back to the broker but it seem like it loop multiple my publish data.
I test code like this.
void mqttData(void* response)
{
  RESPONSE res(response);
  debugPort.print("Received: topic=");
  String topic = res.popString();
  debugPort.println(topic);

  debugPort.print("data=");
  String data = res.popString();
  debugPort.println(data);

  mqtt.publish("test", "test");
  char buffTopic[64], buffPayload[64];
  topic.toCharArray(buffTopic, topic.length() + 1);
  data.toCharArray(buffPayload, data.length() + 1);
  mqtt.publish((const char*)buffTopic, (char*)buffPayload);
}

as expected it should send data to broker like.
olddata
test

but I got a lot of data like this.
olddata
test
olddata
test
olddata
test
olddata
test
olddata
test

What I'm wrong or this is a bug?

Hello,
When I upload software to esp8266 I get an error that is below. Please help me !!!.
pi@raspberrypi /usr/share/arduino/libraries/espduino $ sudo esp8266/tools/esptool.py -p /dev/ttyUSB0 write_flash 0x00000 esp8266/release/0x00000.bin 0x40000 esp8266/release/0x40000.bin
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
Traceback (most recent call last):
File "esp8266/tools/esptool.py", line 22, in
import serial
ImportError: No module named serial


Discord voice call does not work

V2Ray version: V2Ray 5.21.0
Client config:
{
    "log": {
        "loglevel": "debug"
    },
    "inbounds": [
        {
            "listen": "<IP_ADDRESS>",
            "port": "1080",
            "protocol": "socks",
            "settings": {
                "auth": "noauth",
                "udp": true,
                "ip": "<IP_ADDRESS>"
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "shadowsocks",
            "settings": {
                "servers": [
                    {
                        "method": "<method>",
                        "address": "<address>",
                        "port": <port>,
                        "password": "<password>"
                    }
                ]
            },
            "tag": <my tag>
        },
    ]
}

logs:
2024/10/25 03:06:37 tcp:<IP_ADDRESS>:39146 accepted tcp:us-east2591.discord.media:443 <my tag>
2024/10/25 03:06:37 [Info] [3045930322] proxy/shadowsocks: tunneling request to tcp:us-east2591.discord.media:443 via TCP:<address>
2024/10/25 03:06:38 [Info] [2730675681] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/10/25 03:06:38 [Info] [2730675681] app/proxyman/outbound: failed to process outbound traffic > proxy/shadowsocks: connection ends > context canceled
2024/10/25 03:06:39 [Info] [193918290] proxy/socks: TCP Connect request to tcp:us-east2591.discord.media:443
2024/10/25 03:06:39 [Warning] [193918290] app/dispatcher: default route for tcp:us-east2591.discord.media:443

Discord:

Same issue


Update yandex-browser/package.nix

but I don't know tool to calculate hash

Hello.
Exist other PR in progress for this update.


Cannot read property 'swipePrev' of undefined

Hi all,
Having an issue - getting a console error of:
Cannot read property 'swipePrev' of undefined when using the next and previous buttons.
JS:
var mySwiper = new Swiper('.swiper-count-2',{
paginationClickable: true,
slidesPerView: 2,
calculateHeight: true,
roundLengths: true,
resizeReInit: true,
grabCursor: true,
loop:true,
keyboardControl: true
})
I've got multiple sliders (hence the the .swiper-count-2)
Anyone else had this?
Many thanks,
Ben

I don't see where you call swipePrev. And if you have multiple swipers then you have to initialize them separately. Anyway, check these issues, there are a lot of such with solutions https://github.com/nolimits4web/Swiper/search?p=2&q=multiple+swiper&type=Issues&utf8=✓


Added documentation for iOS app extensions

Work in progress.

Ready for review @hramos. However, I'd like to have more people provide input on the information written herein--for accuracy and support/disagreement.

Any input from @dmueller39 or @matejkriz?

Why the failure?

It's likely the tests were already red, and that the failure was unrelated to your change.

Thank you for your effort to add documentation for app extensions and for mentioning my experiment, @simonayzman!
About the memory limit I want to do more investigation. This presentation could be useful:
https://cocoaheads.tv/memory-use-in-extensions-by-conrad-kramer/

@matejkriz & @hramos. Sharpened the content of the app extension documentation.

Read for re-review.


Create 2023-09-23-Mixin-Network.md

Does this article match Hugo SSG format? :x:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename match correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:

There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :white_check_mark:

Does this article has only allowed sections? :x:
There are missing sections: Summary here. You should add them

Does the filename correct? :white_check_mark:

Does this article match Hugo SSG format? :x:
The new_text does not match the correct Hugo SSG format.

Does this article has only allowed sections? :x:
There are missing sections: Summary here. You should add them


use a db in the API and export data ton sheet (?)

Instead of using sheet as a database

For now we can do this:

Make a "macro" to parse the JSON -> parse
Call it in the sheet: =parse(A1; "client.name")

Advantages:

Our API just works with JSON in one column (A)
Sheet can retrieve data from theses JSON


Feature/release 0.1.1

Description
Bump version numbers of all packages to 0.1.1 This is tied to gdk-for-unity release 0.1.1

I assume this won't get merged until its tested against 0.1.1

@jamiebrynes7 already tested


Restore Credentials

PR #56 moved credentials to be at the service level (Google::Cloud::Speech::V1::Speech::Credentials) rather than at the package level (Google::Cloud::Speech::V1::Credentials). Do we want to move the Credentials object back to the previous location? It is possible for different services in the same package to define a different set of OAuth scopes, although we don't know how likely that is. If that is the case, we will need a way to determine all the scopes used by all the services in the same package and set them on the Credentials class.
Another problem is that the Rakefile currently uses the old Credentials object to clear environment variables when running acceptance tests. But we could work around this fairly easily.

Do we still think Credentials should be placed at the package level Google::Cloud::Speech::V1 as well as the service level Google::Cloud::Speech::V1::Speech?
Veneer gems like Datastore place Credentials at the gem level Google::Cloud::Datastore, but those Credentials are separate from the GAPIC Credentials.
I think the current placement at the service level makes the most sense.

I think we can stick with the service level, as you suggest. If we were to put it at the package level it would need some rework for exactly the reasons you mentioned (scopes), but I don't see a need for this right now so I think we safely can defer it.


ASP.NET Core hosting bundle installer makes IIS crash every working AppPool

I downloaded the latest Runtime & Hosting bundle for asp.net core here
https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-3.0.0-preview2-windows-hosting-bundle-installer
I have a Windows Server 2008 R2 running several .NET Framework 4.7 websites in a IIS 7.5.7600 ,  after installing the Hosting Bundle, every application pool crashes instantly (stops), After restarting the server and app pools individually, the issue persists generating this application event in the event viewer:
The Module DLL 'C:\Windows\system32\inetsrv\aspnetcore.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
So it seems the new modules that the installer adds in the applicationHost.config just can't be loaded.
Deleting the modules or uninstalling the hosting bundle makes the IIS work again.
I tried to set Enable32BitApplication in the app pools that stopped, but it didn't solve the issue.

There's a known issue in the preview3 hosting bundle where the installer incorrectly swaps the location of the 32-bit and 64-bit ANCM binaries.
Our recommendation at this moment is to continue to use the preview2 hosting bundle. If you wish to install the preview3 hosting bundle (for the newer runtimes), you may pass the appropriate flag to the hosting bundle to skip installing the new ANCM.
See https://github.com/dotnet/core/blob/master/release-notes/3.0/preview/3.0.0-preview-known-issues.md#preview-3 for more details.

I know,  but I never said I was using the Preview 3,  I just referenced the Preview 3 issue because the message was similar, I'm having this issue with the Preview 2 Hosting bundle.

Also, I tried the Preview 2 hosting bundle in 2 different servers having the same issue. Both servers using Windows 2008 R2 with IIS 7.5.7600.

Any idea how can I solve this in the meanwhile? Thanks!

We believe this will be fixed in preview 4. If you still hit it after updating, let us know.

We installed dotnet-hosting-3.0.0-preview-19075-0444-win.exe on Windows Server 2016 Datacenter and our .net core 2.1 apps died.  We tried a whole slew of things to get it back up, including removing ALL .net core hosting bundles and runtimes, then reinstalling just 2.1.  Our staging app is core 3 preview 3 and we don't need core 3 up on this server.  but live sites are using 2.1.  HELP!

I have a Windows Server 2008 running several .NET Framework 4.5 websites inside of a IIS 8.0.
My problem seems similar to you. When I installed .NET Core Windows Server Hosting, all application pool stopped working. Then I uninstalled it again, they all went back to work as normal..
[Solved]
Updating the window solved it.
(coz we cannot update IIS partially)


ARROW-1490: [Java] Allow failures for JDK9 for now

+1 Appveyor build: https://ci.appveyor.com/project/wesm/arrow/build/1.0.1087. Merging this so we get fewer failed PR builds


Export Single Row Signal as Array

This PR fixes #40. Row signals are always exported as an array now; even if they contain only one signal.
Additionally, I updated some links in the README that still linked to the old repository and added a version number for the maven-jar-plugin in the POM file.

Indeed, this fixes #48 .


nixos/gvfs: set GIO_EXTRA_MODULES

Motivation for this change
I don't want all the modules setting GIO_EXTRA_MODULES independently.
This makes LXQT and Mate use the gvfs module which is something that should have been done anyway.
Things done

Built a GNOME3 VM.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Move gvfs to services.gvfs.


Translation

Expected behaviour
German translation
Actual behaviour
no German translation
Steps to reproduce
https://pastebin.com/wLanG1qi
Reproducability (Always, Random etc)
Other relevant information
wanted to create a pull request but cannot do it.

added with recent commit, thx buddy.

Opening this again as we still need to move a lot of strings to the stringtable.

@SimZor  I  would recommend making a localize Function, so as default, you don't need the stringtable entries, but if people wish to add them they can

Not sure what you mean @Leigham


[v2] Prefetching Invalid Script

🐛 Bug Report
After loading the page on a production build, a prefetch link is made to an invalid script called 1be78505.undefined.js, which causes an error since it doesn't exist.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce

Navigate here or build this and start a web server

Make sure the directory structure is correct. The baseUrl is /vscode-syncify/.

Open the console
Look for the 404 error
Check the head for the invalid prefetch link

Expected behavior

There shouldn't be any invalid prefetch links.
Actual Behavior

A prefetch link is added that points to an invalid script.

Reproducible Demo
Hosted production build: here
Repo: here

fix will only come after new year. Most likely happening only in prod because of extra webpack optimization step that removes chunks that are too small, hence undefined contenthash. “webpackchunknames.contentHash.js”
Many options to fix this, with one of it just filtering out all those undefined prefetched links.


hash_map.zig: Pass self by value and less pointer-int conversion

Pass self via value instead of reference in numerous places throughout HashMapUnmanged and HashMap (orignally proposed in #19770)
Replaced some instances of @intFromPtr and @ptrFromInt  with @ptrCast and @alignCast, and pointer arithmetic where appropriate

With this, the only remaining instance of pointer-int conversion in hash_map.zig is in HashMapUnmanaged.removeByPtr, which easily be able to be eliminated once pointer subtraction is supported.

That's my own fork, haha


Timeout and color config, fix dimensions, pull in loaders.css, SSR

This PR addresses a few issues:

#33 : Since the fade in is set as a CSS animation, I couldn't do full configurability, but added 2 smaller intervals of fadeIn timing (half second and quarter second). This includes transitioning away from the noFadeIn prop with a deprecation warning.
#37 : This allows colorizing the spinners via props and inline styling for easier use. There were 2 spinners that weren't compatible with this approach because they relied on before/after pseudo-elements, and there are appropriate warnings for people who attempt to do that.
#48 : A few of the spinners had misconfigured dimensions on the containing div, resulting in difficulty centering them via flexbox, etc. Their dimensions have been adjusted accordingly.
#14 : Pulls in loaders.css for more spinners, with efforts to minimize package size growth. I omitted spinners from that repo that were very similar to pre-existing "native" spinners.
#20 / #51 : Made style imports dynamic based on environment variable, allowing server side rendering without lots of hacks. This is similar to react's dynamic behavior based on process.env.PRODUCTION and is a specific enough variable that it shouldn't collide.

Additionally, updated tests, README, and demo site for all new features, and made changes to the test file to appease eslint (change to .jsx, convert tabs to spaces, etc) as well as organizational improvements (describe blocks to group related tests).
All changes were tested inside of a working app for functionality and proper centering alignment.

 Relies heavily on the suggestion in #27.

Okay, fully polished, and I'll stop messing with it.

This also addresses #53.

Since this represents a lot of changes, pulled in #19 as well, and maybe this should result in a 3.0 release.

This is awesome! Thanks for giving things a nice cleanup / upgrade! Adding colors support + loaders.css is 💯
Merging and releasing a 3.0.
The next frontier I see for this module is adding tree shaking support. That or perhaps switch to a lerna monorepo approach where there's a package per spinner to keep the size of the package to a minimum.


Autocomplete object keys for object function argument

Hello,
I use this method of sending in object arguments all the time:
/**
 * @param {Object} options description
 * @param {number} options.age description
 * @param {string} options.name description
 */
function x(options){
  var name = options.name;
  var age = options.age;
}

When I type x(, it has the correct autocomplete showing the parameters - great!  However, when I continue typing x({ }), the hints disappear.  Sometimes I have like 20 different things that go into the options argument of a function, and it would be great if ternjs offered autocomplete while writing the object like this:
x({
  na  // should show an autocomplete for name
})

Is there a way to get this to work currently?  I have enabled basically all the settings hoping this would work, but it hasn't so far.

the type view hides if inside a new object within parameters. Currently this is by design but i'll try to think about it.


create image failed

In GitLab by @sokril on Dec 8, 2017, 09:47

In GitLab by @wknet123 on Nov 8, 2019, 07:43
Fixed with PR #733.

In GitLab by @sokril on Nov 8, 2019, 08:16
closed

In GitLab by @sokril on Nov 8, 2019, 08:16
assigned to @wknet123


OPENAI API - Functions - searching for reviews??

a library or any ai function that helps the open ai to search the internet for music reviews especially from pitchfork. See the aufgabe 5 of USW moodle to understand.

functions = [
    {
        "type": "function",
        "function": {
            "name": "tavily_search",
            "description": "Get information on recent events from the web.",
            "parameters": {
                "type": "object",
                "properties": {
                    "query": {
                        "type": "string",
                        "description": "The search query to use."
                    }
                },
                "required": ["query"]
            }
        }
    }
]

function_lookup = {
    "tavily_search": tavily_search,
    "get_github_repo_content": get_github_repo_content
}

Don't code anything yet, just research for something like tavily or use tavily itself to get reviews from the internet. Then save the results in a document and put it in docs folder. Then we will test this together next week to add this function

find any database from pitchfork


ENH generate .py file that plots the figures after a benchmark

Hi,
This is just a random idea: it would be neat if a .py file that plots the figure of the output of the benchmark was also generated, a file like plot_benchmark.py so that python plot_benchmark.py plots the figure. This way, the user can then easily iterate on this .py file to have paper-quality figures.

now you see in the terminal the path to the csv that contains the numbers
to plot.
I would prefer to have an example in the examples/folder rather than
generating code

I think generating a plotting file is easy and could potentially convince many users to use benchopt for their papers' benchmark so I am +1 on this feature.
If we do not give a quick and easy way to modify the plots, we will either have to maintain up to date the example and our viz lib (and users will need to copy paste) or users will try to modify the files in site-package.
It is very hard to have something that is perfect for all benchmarks. Poviding a good enough base line and letting the user tweak it directly seems the good solution.

With @qb3 we had to write one file to do this. It may be a nice enough solution to commit it? where should it go?


fix(server): Fix race condition in client dispatcher (#2419)

There exists a race condition in ClientTask::poll() when the request that is sent via h2::client::send_request() is pending open. A task will be spawned to wait for send capacity on the sendstream. Because this same stream is also stored in the pending member of h2::client::SendRequest the next iteration of the poll() loop can call poll_ready() and call wait_send() on the same stream passed into the spawned task.
Fix this by always calling poll_ready() after send_request(). If this call to poll_ready() returns Pending save the necessary context in ClientTask and only spawn the task that will eventually resolve to the response after poll_ready() returns Ok.

Worth mentioning this fixes the reproduction:
2022-11-03T18:48:08.374569Z  INFO h2_repro: 100 requests on 50 streams
2022-11-03T18:48:08.374591Z  INFO h2_repro: (Set $H2_REQUESTS and $H2_MAX_STREAMS environment variables to adjust)
2022-11-03T18:48:08.407164Z  INFO h2_repro: H1: Completed 100 / 100
2022-11-03T18:48:08.425192Z  INFO h2_repro: H2: Completed 100 / 100


Show Cookie clicks (all time)

Describe the function you'd like to see added to CookieMonster
I would like to see how many times i clicked on the big cookie. It is only shown for the current ascension, not all time (like other stats).
I think that is a very important stat since the game is about clicking the cookie.
Does anyone know why that is not in the game? Was it discussed with the games developers earlier?
Do you know if the data is in the save, so it could be added? (either in the game or this add-on)

Sadly we can't do this. The game does not store this data and there is no way to know how many times you clicked the cookie in an ascension when Cookie Monster was not loaded. This means that we would be prone to display incorrect data.


Fix/default payment

Why

How

Test Plan

@intergalacticspacehighway I have fixed it in another commit. This is not a correct PR, so just ignore it


Blog post link missing

Could you provide the link to the blog post in the README? Googling doesn't yield results as well.

Hi @arkadiy-telegin. Here's the link: https://aws.amazon.com/blogs/machine-learning/exploring-generative-ai-in-conversational-experiences-an-introduction-with-amazon-lex-langchain-and-sagemaker-jumpstart/


Uninstaller should offer to remove $APPDATA stuff

If you install MinGHC it adds $APPDATA/cabal/bin to the PATH. Using MinGHC then probably puts things on that PATH. Uninstalling MinGHC doesn't touch $APPDATA because any other GHC installations might have touched it. Maybe we should offer to remove it from the PATH and clean it out? Maybe that's just inviting user mistakes?

We now advise people use Stack instead, MinGHC is no longer supported.


Refactoring HMC/NUTS related functions for better unit testing

The current NUTS adaption is buggy (see umbrella issue #324). With careful check on the adaption code by @yebai and me, we believe the bug is probably not come from the adaptation codes themselves, but from the numerical issues inside HMC/NUTS code. To address this, I would like to refactor the codes in HMC/NUTS to do unit testing (HMC samplers was only tested in an integrated setting before).
The main reason stopped us from unit-testing these codes was that the core functions takes model, vi and sampler as inputs, which makes it hard to call them separately. However, as we now actually simply using vi as a container inside HMC, i.e. in each HMC step we take variables we need from vi, do things, and put it back to vi, we can further decompose Turing related variables from core functions of HMC, namely runmodel, sample_momentum, find_H and find_good_eps, by passing the corresponding variables or functions fetched from model, vi and sampler.
Taking find_H as an example. The function is currently
find_H(p::Vector, model::Function, vi::VarInfo, spl::Sampler) = begin
  # NOTE: getlogp(vi) = 0 means the current vals[end] hasn't been used at all.
  #       This can be a result of link/invlink (where expand! is used)
  if getlogp(vi) == 0 vi = runmodel(model, vi, spl) end

  p_orig = p .* spl.info[:wum][:stds]

  H = dot(p_orig, p_orig) / 2 + realpart(-getlogp(vi))
  if isnan(H) H = Inf else H end

  H
end

but can be refactoring to something like below
find_H(p::Vector, logpdf_func_real::Function, stds::Vector) = begin

  if getlogp(vi) == 0 vi = runmodel(model, vi, spl) end

  p_orig = p .* stds
  H = dot(p_orig, p_orig) / 2 + (-logpdf_func_real())
  if isnan(H) H = Inf else H end

  return H

end

and calling it by
runmodel()
find_H(p, _ -> realpart(Base.invokelatest(model, vi, spl).logp), spl.info[:wum][:stds])

in the body of HMC.
In short, the refactoring should be focusing on move the logic of dealing with Turing internal stuff (vi, model and sampler) to the body of HMC, instead of the core functions of HMC. Or in other words one should be able to core functions of HMC completely outside Turing by providing logpdf_func or stuff that is needed.

@xukai92 It might be challenging to do this design without refactoring the compiler. Basically, inside your new find_H function, we still need to call runmodel somewhere to get the joint probability. This means we still need to unpack p::Vector into vi::VarInfo so that the model can be replayed. We need to somehow refactor the compiler so that it can generate a function that take p::Vector as inputs instead of vi::VarInfo, which is undesirable as we discussed previous in VarInfo related issues.

Emmm, can we just wrap these before calling the core HMC functions? E.g. do you think below would work?
logpdf_temp(theta) = begin
    vi[spl][:] = theta[:]
    runmodel(model, vi, spl).logp
end

find_H(p, logpdf_temp, spl.info[:wum][:stds])

For me, to use the proposed design, it would be similar to what we did to use the ReverseDiff.jl API (https://github.com/yebai/Turing.jl/blob/master/src/core/ad.jl#L116-L119).

Yes, this design should work.  Let's go for it!

Closed by https://github.com/TuringLang/Turing.jl/pull/436.


Add a class for things that can be inside a chord

At the moment the permissible contents of <chord> elements is <note>, <artic> and two generic models. I'd like to suggest that instead of the two specific elements, we have a model.chordPart as the principal content of <chord> (<note> and <artic> would then be members of this class).
This way, if I want to be able to add new elements to <chord>s in my own extensions I can just add them to the model.chordPart class, rather than having to modify the <chord> elementSpec.
Here's a patch:
mei-source.xml.patch.txt

Hi Richard,
We prefer to receive proposals for changes as pull requests so that they may be reviewed and commented on with the collaboration tools available on GitHub. We have details for this process in our  Contributing guidelines.
I would invite you to submit your patch as a pull request, and we can review your proposal and take it from there.
Thanks!


using xml-mapping version 0.10.0 causes XML error in LitleOnlineRequest

The xml-mapping gem was updated to 0.10.0 today and it causes a "Wrong number of arguments (0 for 1)" error when submitting a LitleOnlineRequest.new.sale(). To fix, I've specified xml-mapping to version 0.9.1 in my Gemfile.
I think you should specify the xml-mapping version when declaring that as a dependency in your Gem.

I ran into this issue also, what is the fix (besides downgrading to 0.9.1)?

Fixed in 8.29.0 and 9.3.0 release

still getting this issue with v9.3.2

Hi Montag,
I have seen your replies on GitHub issues. However, From the current information you have provided, I can’t reproduce your problem , everything seems working. For us to further help you on this issue, please provide some more specific information, such as the version of SDK you are using , the version of Xml-mapper of your gem, the full test code you are using. And Also I can see that you can successfully get our litleOnlineResponse xml.  If you want to access the reponse object, just try some as ‘Print r.message’. In your case, it would print “Valid Format” for you.
Please contact us at<EMAIL_ADDRESS>

Thanks for getting back to me!!
The majority of issues I had were solved by downgrading the SDK itself.
However this issue persisted. The only way to fix it was to downgrade the XML gem to the older version.
Not the end of the world. Thanks again!

Currently we are supporting gem xml-mapping 0.10.0. If you have any further problem, feel free to contact us.
Li
From: Kyle Montag<EMAIL_ADDRESS>Sent: Monday, April 06, 2015 6:13 PM
To: LitleCo/litle-sdk-for-ruby
Cc: Tao, Li
Subject: Re: [litle-sdk-for-ruby] using xml-mapping version 0.10.0 causes XML error in LitleOnlineRequest (#19)
Thanks for getting back to me!!
The majority of issues I had were solved by downgrading the SDK itself.
However this issue persisted. The only way to fix it was to downgrade the XML gem to the older version.
Not the end of the world. Thanks again!
—
Reply to this email directly or view it on GitHubhttps://github.com/LitleCo/litle-sdk-for-ruby/issues/19#issuecomment-90261411.
**NOTICE: This e-mail message, including any attachments hereto, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  If you are not the intended recipient(s), any unauthorized review, use, copying, disclosure or distribution is prohibited.  If you are not the intended recipient(s), please contact the sender by reply e-mail immediately and destroy the original and all copies (including electronic versions) of this message and any of its attachments.
**NOTICE: This e-mail message, including any attachments hereto, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  If you are not the intended recipient(s), any unauthorized review, use, copying, disclosure or distribution is prohibited.  If you are not the intended recipient(s), please contact the sender by reply e-mail immediately and destroy the original and all copies (including electronic versions) of this message and any of its attachments.

I'm seeing this issue with LitleOnline 9.3.2 when used in conjunction with  ActiveSupport 3.2.12.  If this was fixed in the 9.3.0 release, can you point to the commit that fixed it?  Based on the code currently on master, it still appears to be broken.

fixed in: commit 04080f425611baa021f86ef3f003dbe8b09e099a
file: lib/XMLFields.rb
please noted that this change is accommodated to the changes in xml-mapping 0.10.0, it is possible that the different version of xml-mapping would cause problems.


feat: add block rephrase function

Implement #65

hey @forrestchang, I really appreciate the interest in contributing. I'm working on a better way to add custom prompts in #9 and #35 and I've almost finished implementing it. This will be a UI with a dedicated popup for the GPT prompts where you can search them. To start it will pull from a text file in the repo for custom prompts, and later allow people to define them in side logseq. The motivation is I want to make it easier to define a ton of prompts without cluttering the main logseq / command action bar.
So unfortunately I can't accept the hardcoded method right now, but I would be really interested in having this as one of the built-in prompts. I'll follow up on issue #65 with some instructions on how to add it.


Allow moving particles to (0, 0)

This PR

Adds a new feature

It wasn't possible to move particles to (0, 0), so I added it.
moveToX and moveToY now default to null instead of 0.
NB both moveToX and moveToY must now be set (even if 0) to enable to move-to behavior. This is a slight change from v3.55.2.

👍


400 Bad Request if I attach a tag to a system which contains a capital letter

I can tag a system as production but not Production. SDK doesn't handle the error or lowercase my tag, throws an unfriendly exception. With not much thinking, I know tags should be lowercase but this is the kind of thing that might waste a lot of time for another developer. We'll need error handling to be a bit more developer friendly if we want promote external use of this SDK

The API returns the appropriate validation detail:
{
  "type": "https://api.enclave.io/problems/type/validation-failure",
  "title": "One or more validation failures occurred.",
  "status": 400,
  "detail": "Please refer to the errors property for additional details.",
  "instance": "https://api.enclave.io/problems/instance/de6a24b4f37188ad61adf41f8fa9fa4e",
  "errors": {
    "tags[0]": [
      "The tag 'Production' is not in a valid format. Tags can contain lower-case alphanumeric characters only, optionally separated with hyphens."
    ]
  }
}

The API SDK probably needs to handle the problem-details RFC response format we return and surface an exception that contains the errors.
@enclave-tom, this is probably relevant for the golang/terraform stuff you're working on at the moment, because we'll need to surface useful errors from terraform if users muck up their tags.

I thought we'd set the SDK API up to handle RFC response i wonder what's gone on

@enclave-marc-barry, are you able to dump the full contents of the exception you get into this issue?

Details of the Exception stuff can be found here https://github.com/enclave-networks/enclave.sdk.api/tree/main/src/Enclave.Sdk/Exceptions

Sure, if I try to enrol a system with the tag "Management" using the FakeSystemGenerator data app, I'm seeing
Message:
One or more validation failures occurred.

Response:
{StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
  Server: nginx
  Date: Wed, 06 Apr 2022 15:42:04 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Content-Type: application/problem+json; charset=utf-8
}}

StackTrace:
   at Enclave.Sdk.Api.Handlers.ProblemDetailsHttpMessageHandler.<SendAsync>d__1.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Enclave.Sdk.Api.Data.PatchClient`2.<ApplyAsync>d__4.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Enclave.FakeSystemGenerator.Generator.<StartAsync>d__4.MoveNext() in C:\git\enclave\portal\utils\fake-system-generator\Generator.cs:line 98
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Enclave.FakeSystemGenerator.Program.<Main>d__0.MoveNext() in C:\git\enclave\portal\utils\fake-system-generator\Program.cs:line 8

Ok, to be fair, it is in there, just a little burried

Perhaps we could amend the message on the exception to end with "Check the ProblemDetails for more information".  There's precedent for doing that on some other runtime exceptions that have additional context attached.

Alternatively, we try to be clever, and if there's only one validation value, we just use it as the exception message. That may be the most user-friendly.


Admin List Update/Delete

Looks good, but is not most up to date version. Be sure to pull from develop

Thanks for your review! the only conflict seems to be an extra  tag at the end of UserList.cshtml , maybe it was some leftover from some code change.


fix: anvil nightly version

Nice, please rebase and add a changeset

I meant a changeset for the anvil subproject.
We need to first release the anvil package/docker image.
Updating of the CLI comes later