Interface more "familiar"

Description
Interface should be familiar to users of other mail clients (GMail, Outlook, Hotmail...) in order for them to easily recognize the features of the mail client and inherently know how it works based on prior experience.

Interface resembles pretty much any other mail client, and action buttons are using Material UI icons for specific mail actions and folder identification.
Any new changes for UI/UX should be specified in separate tickets.


Accessibility API for CustomPainter

Summary:

Add key field to SemanticsNode, while moving key into foundation library so it can be used by the render layer.
Introduce SemanticsProperties and move many of the Semantics fields into it.
Introduce CustomPaintSemantics - a SemanticsNode prototype created by CustomPainter.
Introduce semanticsBuilder and shouldRebuildSemantics in CustomerPainter

Fixes https://github.com/flutter/flutter/issues/11791
Fixes https://github.com/flutter/flutter/issues/1666

Please hold off re-reviewing. Apparently there are more comments that I originally thought.

Addressed all comments (I think!), and sent out breaking change announcement. PTAL.

One trick for future patches like this: if you move the files in a separate PR than in the PR where you add the feature, the new features becomes easier to review. :-)


Add App Page Back into Docs

This tiny PR:

cleans up broken links, typos, visible comments

Adds in images for running app page

makes running the app page visible via TOC

note: I hid the app page in master earlier today as the unfinished app page was visible on docs, this PR will reenable

Coverage remained the same at 94.886% when pulling 892d4ed5a1800cbe914be4b62d7b8f53dbddf757 on 290-s-add-app-doc-page-back-into-docs into 16e65e5ad00e6457269640818b798d8fd58f2232 on master.

LGTM. Merging in.


The inferred type of 'loader' cannot be named without a reference to

Reproduction
Install packages with pnpm
Try using the new defineLoader from unstable fetch.
make sure to add
    "types": [
<EMAIL_ADDRESS>    ]

to tsconfig.json
System Info
System:
    OS: Linux 6.9 Alpine Linux
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 23.21 GB / 31.06 GB
    Container: Yes
    Shell: 5.2.26 - /bin/bash
  Binaries:
    Node: 22.1.0 - ~/.nvm/versions/node/v22.1.0/bin/node
    Yarn: 1.22.22 - ~/.local/share/pnpm/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v22.1.0/bin/npm
    pnpm: 9.4.0 - ~/.local/share/pnpm/pnpm
  npmPackages:
    @remix-run/dev: ^2.10.2 => 2.10.2
    @remix-run/eslint-config: ^2.10.2 => 2.10.2
    @remix-run/node: ^2.10.2 => 2.10.2
    @remix-run/react: ^2.10.2 => 2.10.2
    @remix-run/serve: ^2.10.2 => 2.10.2
    vite: ^5.2.11 => 5.3.3

Used Package Manager
npm
Expected Behavior
The code to work correctly
Actual Behavior
I get the following typescript errors:
The inferred type of 'loader' cannot be named without a reference to '.pnpm/@remix-run+server-runtime@2.10.2_typescript@5.5.3/node_modules/@remix-run/server-runtime/dist/single-fetch'. This is likely not portable. A type annotation is necessary.ts(2742)

The inferred type of 'loader' cannot be named without a reference to '.pnpm/react-router<EMAIL_ADDRESS>This is likely not portable. A type annotation is necessary.ts(2742)

This may be due to pnpm's strict dependencies isolation.

Yes this happens to me as well

You're right. That's a mistake from my side

Single-fetch types setup has changed. See https://github.com/remix-run/remix/blob/main/CHANGELOG.md#improved-single-fetch-type-safety-unstable


Can't compile binary for cortex-m4

1. System information

OS Platform and Distribution: Ubuntu Linux 22
TensorFlow : tflite-micro: from github

2. Problem
Trying to follow:
https://www.tensorflow.org/lite/microcontrollers/library
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=cortex_m_generic TARGET_ARCH=cortex-m4 hello_world_bin
Error message:
fatal error: ARMCM4.h: No such file or directory

Hi @jsmith173 ,
TARGET=cortex_m_generic is generic in the sense you can run any TARGET_ARCH=cortex-mXX. It means you can only build the microlite library. It is not bound to any specific platform. The user then provides needed startup/platform files for a given platform/app.
If you want to run the hello world example you could check out TARGET=cortex_m_corstone_300.
More info:
https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/cortex_m_generic
https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/cortex_m_corstone_300


Reorganize documentation to specific folders

What type of PR is this:

/kind documentation
What does this PR do / why we need it:
In this PR I have:

Moved tutorials and guides into it's own separate category (User
Guides)
Created an "Overview" category
Created a "Developer Reference" category for the Contributing to odo
guide, as well as the future Devfile guide
Fixed not-formatted-correctly titles and other minor updates

Which issue(s) this PR fixes:

Fixes #
PR acceptance criteria:

[X] Documentation

How to test changes / Special notes to the reviewer:
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

@cdrage why don't we see the ability to expand/collapse sections in the sidebar anymore?


Armchair.debugEnabled(true) not working

I added the corresponding "-DDEBUG" to my Xcode project but still not working.
Thanks!

My bad, never mind, I had to add that flag to the pod project :S

It seems you found answer for CocoaPods. But what about Carthage installation?

no idea man :(

@lopify how do you add it to the pod project without being overwritten everytime you do a pod install?


Mazumder - determine how long it will take to develop a deployment package for Galaxy

@HadleyKing Update per Raja's feedback during 4/19 collaborators meeting -- Please reach out to Stephen and do a trial for Galaxy deployment. No need to wait at this point. Please let inform him any blockers you have regarding this task.

This task is completed upon discussing it with Hadley, Jonathon, and Pat during scrum on 6/26.


added my name in  CONTRIBUTORS.md

@anshkarwasra commit on #34 's branch (anshkarwasra:update-package#27) only it will reflect on the PR


#4136 search leftovers

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

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #4136
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

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

Optional

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

Had issue bounty label?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

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

seems it doesn't highlight the very last item in collections/end ?
https://user-images.githubusercontent.com/5887929/196741853-0d2750c6-0eb9-4bb7-8219-25cb981af79e.mov

and seems selections with bold text and the pink lines should not be there.

and seems selections with bold text and the pink lines should not be there.

done

Also, collection icons should have a 1px border
the design:

the text should be 16px, not 14px, 14px aren't used anywhere.
the name of the collection - bold, also it isn't true black, the rest normal is normal weight.
"soon" is missing for tab users.

Also, collection icons should have a 1px border the design:

the text should be 16px, not 14px, 14px aren't used anywhere.
the name of the collection - bold, also it isn't true black, the rest normal is normal weight.
"soon" is missing for tab users.

done

Also, collection icons should have a 1px border

please add the stroke

Spacing

padding (inside) of the card should be 10px 32px (top, bottom; right, left)

Tabs

alignment to the left is missing, now it's set to space between afaik
its weirdly darker line under the "users"

for accurate colors, please refer to the landing page handoff, the first page with colors and text overview.

the devider should not be up to the edges, it should also have a 32px margin - left, right - in dark mode only grey, not true white.

See all

there is a weird hover effect - it's changing to k-accentlight, there should be only bold text.

Dark mode

The first tab of the selection is dark, so you cant see that
See all should be only bold on hover, as I mentioned.

There is a change to the hover effect on cards, nicely used accent color in dark mode, but I have decided that for these types of hover, where by default is the even lighter accentlight2 (in light mode), its better to use something more neutral.
So there is a new color named "accentlight2dark", also in color overview - see Figma and please refer to this issue #4136 -
like this:

the middle one is on hover
That's all I think

fixed all the above mentioned issues except:
its weirdly darker line under the "users"
as this is happening because users tab is disabled and there is an opacity that is also getting applied on the bottom border, so not sure how to fix that.
Also using the arrow icon from spotlight makes it seem like its on bold by default , is it okay?

Hmm those lines on mobile supposed to be there?

fixed all the above mentioned issues except:
its weirdly darker line under the "users"
as this is happening because users tab is disabled and there is an opacity that is also getting applied on the bottom border, so not sure how to fix that.
Also using the arrow icon from spotlight makes it seem like its on bold by default , is it okay?

yup, its okay.
I saw minor issue. Its alignment inside the card.

The collection name on the nft card is too low in the context of profile photo. - Its not centered on the X axis if you know what I mean.

Hmm those lines on mobile supposed to be there?

its actually a scrollbar that is getting applied by default because of the text overflowing, for now I'll add ... for overflow

@yangwao @exezbcz is this fine for mobile to avoid showing a weird scroll

also @exezbcz the alignment seems fine for me, how did you get it?

on figma, I see a cross here? so when should enter be shown?

Hmm those lines on mobile supposed to be there?

its actually a scrollbar that is getting applied by default because of the text overflowing

loading placeholder lacks padding-left

I prefer the position of loading skeleton to be the same as where the search result item.
For now, we could see a little bit of distance between them while the search result is updating.

on figma, I see a cross here? so when should enter be shown, on focus?

Ye, that's a screenshot I took :D sorry for that. Enter should be visible when you type something or you are on focus. Also on focus, it should show the history; I believe an issue has already been created for this.
This is the dropdown on focus - with history

This is the search bar when you type something in there. (or focus)

let's fix conflicts and I guess it's mergeable?

pay 60 usd


feat(5-pagination): add pagination and endless scroll to PLP

Adds endless scroll pagination to the ListView on PLP. Work in progress, needs state discussion.

Updated the PR with a better approach to handling the loading initial results and next page (i.e. last item in list).


Update new menu and document Project 4

Adding new side bars and update documents

See formatting changes here - https://github.com/Redback-Operations/redback-documentation/commit/ca3f16745ce838174731530fdd6a8c396333b28c
Please make sure you pull the latest changes to your forked repo


Point cloud visualization

When we were carrying out point cloud visualization, the point cloud Angle was wrong. Could you please provide the code of point cloud rotation?
Looking forward to your reply.

Hi @Daybreak-Zheng, we have updated the visualization Repo  by supporting a rotation operation. Check it out, please.

Very good work, thanks!

Leave a star if you think our repo is helpful.:)


[GRAPHX][MINOR] Shortest paths on weighted edges

This adds a new ShortestPaths#run function that takes a weight argument, a function mapping edges in the graph to their respective weights.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

It looks like the reopen button is disabled.  What's the procedure to reopen a stale PR?


Update Documentation for v0.5.0

Coinbase wallet support
Vite, Vue CLI, and Nuxt 3 support
Vite config instruction

Have upgraded to v0.4.6


Add brief comment on DNSSEC to README

With #110, trustymail attempts to validate that resource records are DNSSEC signed. This PR adds a comment to the README mentioning that those results depend on the use of a DNSSEC-aware resolver; the lack of a response for authenticated data is only proof a record isn't signed when your resolver validates DNSSEC signing is correct.
(Thanks for your contribution, @echudow. :us:)
Oh, I also added cisa.gov to the examples because why not.

@h-m-f-t, good point.  That had occurred to me, but I hadn't gotten around to adding it to the comments that the DNSSEC checks only work with a DNSSEC-aware resolver.  Hopefully most resolvers are DNSSEC-aware by now, even though most don't validate or enforce having correct DNSSEC signatures when they should be there.  Do you know of a good way for us to check if the resolver is DNSSEC-aware?  Such as, should we add an initial check looking for DNSSEC at a known good domain (e.g., the gov or mil TLD) and if we don't get it, then skip all future DNSSEC checks and leave the DNSSEC fields as None meaning "Unknown"?


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Apollon77/ioBroker.homekit-controller

[ ] [E142] logo is too big. It mast be less or equal than 512x512
[ ] [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.homekit-controller"
[ ] [E802] No topics found in the repository. Please go to "https://github.com/Apollon77/ioBroker.homekit-controller", press the settings button beside the about title and add some topics.

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Thanks, that all bugs have been fixed.


Fix wrong example in README.md

The restic_repos is meant to be an array to iterate over.

Oops, my bad.
Thank you for your contribution!


[BUG] [TUTORIAL]Mxnet2.0 crashcourse was not reflecting on website

Description
(A clear and concise description of what the bug is.)
The new crash course material which is merged as part of PR  is not being reflected on the website
Error Message
(Paste the complete error message. Please also include stack trace by setting environment variable DMLC_LOG_STACK_TRACE_DEPTH=100 before running your script.)
Crash course website(https://mxnet.apache.org/versions/1.6/api/python/docs/tutorials/getting-started/crash-course/index.html) still not showing the latest crash course material

There was a minor git identity issue in our publish pipeline. It should be resolved now.
https://mxnet.apache.org/versions/master/api/python/docs/tutorials/getting-started/crash-course/index.html

Thank you @Zha0q1!


Remove static.json configuration requirement

Kind of unnecessary overkill really, I'd kind of rather throw this stuff in a Makefile, not sure why I went with a config file.

[ ] make it optional
[ ] add flags instead

nvm, specifying a bunch of pages would be kind of annoying as flags, closing for now


Fixing build by specifying versions of each dependency

I checked out this project after reading an article on InfoQ. However, locally on my PC, the build was failing with the following compilation error:
[ERROR] /home/maria/dev/rxjava-snippets-fork/src/main/java/com/vgrazi/play/GeneralCodeSamples.java:[659,36] cannot find symbol
symbol:   class CompletableOnSubscribe
location: class rx.Completable
Since the metaversion RELEASE was being used, the build was not reproducible, as it was subject to changes in the projects being depended on. I therefore opened this pull request to set your dependency versions to more specific versions. In maven 3, RELEASE has actually been deprecated, as you can read here

I changed it to 1.10.0 - I read that 2.x is not quite ready yet.


feature: add ability to filter additional host info

I know the recommendation is to keep the additional_queries to a minimum (to limit performance impacts). However, we have a potential need to be able to filter the additional fields returned from the /api/v1/kolide/hosts endpoint.
I have proof of concept PR I'm about to submit, but I wanted to open this issue for feedback on the idea in general.
cc: @nyanshak

The recommendation exists because the implementation of additional_queries is not optimized or profiled for high volumes of data.
Are you using it successfully with a large volume of data/hosts? It would be interesting to understand (1) what your use case is and (2) how your infrastructure is configured and how it is performing.
Overall I'm not opposed to the idea of allowing filtering on the additional info, but I think it may be necessary to continue iterating on the concept of additional_queries based on what we learn of real-world uses.

We're considering a use case to integrate Fleet with a vuln scanner and provide the vuln scanner with detailed host info such as packages installed on hosts. The goal is to remove the need to run another security agent on our hosts. We haven't enabled additional queries on our real fleet,  but we did a load test with 20k ubuntu clients to get feel for performance impact. We used additional queries to pull deb packages with deb_packages: SELECT * FROM deb_packages.
Rough performance we saw at 20k clients including API calls to pull ~1k hosts at a time (without this filtering feature):
EC2: 2x c5.large, each at ~15% cpu at steady state
RDS: db.m5.large, at ~22% cpu at steady state
Redis: cache.t2.micro at < 5% cpu at steady state
That lead us to feel it was feasible to use additional queries to gather this data, but that filtering the results would be nice to limit the amount of data sent/received by the frontend (or anything else that doesn't care about additional info).


Remove current dir from bash completion

Bash completion also displays current dir. This is not necessary and if selected throws error.

Thank you very much, Jophine!


power_supply.c:157:22: error: invalid suffix "d" on floating constant

hi i recenlty backorted fbpanel, but seems depends are not well specificied, that-s the case:
in my home i have several packages installed so i build fbpanel and builds perfectly.. BUT at the server (when only required packages to build are installed) doe not compiles unless i installed lot of packages.. and i cannot determine the right dependence..  the error are:
[   75s]  CC     usrsrcpackagesBUILDpluginsbatterypower_supply.o
[   75s] cc -O3 -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -march=i586 -mtune=pentium -mmmx   -I../.. -I../../panel -DPLUGIN -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -c -o power_supply.o power_supply.c -MMD
[   75s] power_supply.c:157:22: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:209:32: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:213:52: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:214:71: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:222:56: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:223:75: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:330:34: error: invalid suffix "d" on floating constant
[   75s] power_supply.c:338:37: error: invalid suffix "d" on floating constant

why?

seems it-s this variable:
https://github.com/aanatoly/fbpanel/blob/478754b687e2b48b111507ea22e8e2a001be5199/plugins/battery/power_supply.c#L157
a gchar type for capacity but threated as fload.. why are not reconiced? seem need glib but version docs says supported since many years... there-s a problem here


allow means of excluding map file from zip; but maintaining in staging

.map files are required to facilitate debugging brighterscript files.
They should not be included in zips however, so we can exlclude them in vscode, using the files glob in the launch config.
However:

the vscode debugger will not work if .map files are not present in the staging folder
forcing us to include them in the zip (as that's the only way to get them into the staging folder)
roku sideloading attempts compilation of these .map files, taking up to 1-2 seconds to do so, plus the extra time to copy them onto the device
this prevents us from reducing compile times :(

Can we please have a means of exlcuding .map files (or perhaps any glob of files) from the zip; while maintaining them in the staging folder?

@triwav should this be expanded externuous files?
This would then be used to reject .md, .map, and any others we know will fail static channel analysis as well. We talked about doing this in the past but never got around to it.

We resolved this in the vscode extension in https://github.com/rokucommunity/roku-debug/pull/145. Closing this as I believe that's what the desired outcome was.


add PackageLockSource

Description of changes:
Adds a new input that takes package-lock.json files for npm projects
Added a demo that shows how this could be chained together with the ClearlyDefined Input
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for the change! Doing a couple small maintenance tasks now and will publish to npm shortly after.

https://www.npmjs.com/package/tiny-attribution-generator/v/0.0.4 🎉


Fix: wrong env names in find_files.ps1

Description
The env variable names are wrong in find_files.ps1, should use FIND_FILES_* instead of FIND_WITHIN_FILES_*

Thank you @zenpk!


Refactor abc methods

fix for #872 and some general refactoring.

Codecov Report
Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (ed15539) 75.64% compared to head (9b5565b) 75.46%.

Files
Patch %
Lines

sbi/inference/abc/abc_base.py
0.00%
14 Missing :warning:

sbi/inference/abc/smcabc.py
13.33%
13 Missing :warning:

sbi/inference/abc/mcabc.py
0.00%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #911      +/-   ##
==========================================
- Coverage   75.64%   75.46%   -0.19%
==========================================
  Files          80       80
  Lines        6270     6284      +14
==========================================
- Hits         4743     4742       -1
- Misses       1527     1542      +15

Flag
Coverage Δ

unittests
75.46% <6.06%> (-0.19%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Substitute ICs for SN74LS641-1DW

I'm trying to build my own RaSCSI by ordering the components (As I'd like to have a kit, but they're not sold in Europe and I down't want to pay thousands in shipping and taxes), but I have a little issue :
Can I use SN74HC245DWR ICs instead of the SN74LS641-1DW used on the original design as I can't seem to find a supplier for the latter chips.
I can't seem to find any significant differences between the two, so I was wondering if it were possible and why the creator used that specific variant :)

Closed : I didn’t RTFM…


Password security

I would like to address a security vulnerability in the current system.
At the moment you connect to the server by calling ws://<ip>:<port>/<plain-text-password>,
In this case, using a plain text password makes it very easy to gain access to the password through tracing someone's connection.
Therefore, I would like to suggest an alternative way to connect to the server.
As you already stated on the devblogs that webrcon is going to become the preferred rcon tool, this should be a secure solution.
The most effective way would be to use the wss:// protocol and to send the password in a message after establishing a connection. However. this would require every server to have a valid SSL certificate, which is really impractical.
Because of this, I'd suggest to connect to ws://<ip>:<port>/ and to use a handshake method. The server sends the client a salt in order for the client to be able to generate a hash of the password and to send it to the server.
Client        Server
connect message---->
<----------------salt
hashed password --->
<-------except/reject

@alexfriesen you can use nginx proxy to secure connection to your proxy and then internally the traffic is unencrypted between proxy and your rust server :)


Reuse vector instance in SurfaceObjectProvider

It seems like the JVM escape analysis cannot do its job due to the unknown list of filter predicates. Easy to fix though.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/254/
Hooray Jenkins reported success with all tests good!


docker-storage-setup: Relax restriction on data size suffixes

Fixes issue #70
Previously we were not doing any checks on DATA_SIZE suffixes and passing
everything to lvm directly. It turns out lvm just checks if things are
starting with valid suffix and anythign after that is acceptable. For
example -L 5GHello is acceptable and lvm will treat it as 5GiB.
Then with MIN_DATA_SIZE patch, we put limitations on suffixes. One could
use only one valid suffix character and nothing after that. For example,
only 5G is acceptable and 5GB and 5GiB are failing.
This is being seen as regression.
This patch allows now [bB] and i[bB] after the valid suffix. That is,
values of type 5G, 5GB, 5GiB are acceptable and all will be treated
as 5GiB.
Signed-off-by: Vivek Goyal<EMAIL_ADDRESS>

One trivial question, also wonder if we can add tests for these now too.  But :+1: from me in current form too.

I will create a separate issue and PR for creating some tests. This patch has been tested by Cai Qian. So I prefer that this be merged as it without blocking on tests.

I opened issue #72 to keep track of test cases.


[Bug] Only Search after input ends a few milliseconds

Search gets triggered after directly entering a letter in the autocomplete popup search field. There should be a short time duration, before the actual search is triggered because if you are using async/await or an AJAX call, there will be uneccessary load time

fixed with https://github.com/kevingostomski/bootstrap-nice-select/commit/a16c13f236cda53dcee8ea25676e73ed08a7c3d3


Bios downloads fails for all the HP models

DriverAutomation Tool fails to download BIOS files from the given hp links. The tool needs an update!
Logs for more details. This is the case for all HP models.
======== Errors(s) Occurred ========	DriverAutomationTool	1/11/2024 8:14:38 AM	18916 (0x49E4)
[Error] - An error occurred while attempting contact http://ftp.hp.com/pub/caps-softpaq/cmit/imagepal/ref/8b63/8b63_64_22H2.cab - The remote server returned an error: (404) Not Found.	DriverAutomationTool	1/11/2024 8:14:38 AM	18916 (0x49E4)

Could not download HP Dragonfly 13.5 inch G4 Notebook PC BIOS update	DriverAutomationTool	1/11/2024 8:14:38 AM	18916 (0x49E4)
Warning: Unable to retrieve BIOS Download URL For HP Client Model: Dragonfly 13.5 inch G4 Notebook PC	DriverAutomationTool	1/11/2024 8:14:38 AM	18916 (0x49E4)
======== HP Dragonfly 13.5 inch G4 Notebook PC BIOS PROCESSING FINISHED ========	DriverAutomationTool	1/11/2024 8:14:38 AM	18916 (0x49E4)

Any update on this? The tool still doesn't seem to be able to download HP BIOS files.


MSPI driver does not assign the 'op_mode' and 'duplex' in mspi_cfg

Describe the bug
in the description of the devicetree for the  Multi-bit SPI Bus
property  op-mode and duplex are supposed to be set  as follows
 			op-mode = "MSPI_CONTROLLER";
			duplex = "MSPI_HALF_DUPLEX";

The MSPI_CONFIG macro is capturing the mspi_cfg  with   (see drivers/mspi/mspi_emul.c)
		.op_mode = DT_ENUM_IDX_OR(n, op_mode, MSPI_OP_MODE_CONTROLLER),
		.duplex = DT_ENUM_IDX_OR(n, duplex, MSPI_HALF_DUPLEX),

which does not accept
op-mode = "MSPI_CONTROLLER";
duplex = "MSPI_HALF_DUPLEX";
To Reproduce
Steps to reproduce the behavior:

add overlay file for the mspi1 node with properties 'op-mode' and 'duplex' as above
west build
See error

Expected behavior
Use the appropriate DT macro to retrieve the mspi_config
mspi_config =
	{
		.channel_num = EMUL_MSPI_INST_ID,
		.op_mode = MSPI_OP_MODE_CONTROLLER,
		.duplex = MSPI_HALF_DUPLEX,
		etc.
	}

Logs and console output
devicetree_generated.h:8377:46: error: incompatible types when initializing type 'enum mspi_op_mode' using type 'char *'
...
in expansion of macro 'MSPI_BUS_NODE'
   37 |         .op_mode                  = DT_PROP_OR(MSPI_BUS_NODE, op_mode, MSPI_OP_MODE_CONTROLLER),

devicetree_generated.h:8393:45: error: incompatible types when initializing type 'enum mspi_duplex' using type 'char *'
...
 in expansion of macro 'MSPI_BUS_NODE'
   38 |         .duplex                   = DT_PROP_OR(MSPI_BUS_NODE, duplex, MSPI_HALF_DUPLEX),

Environment (please complete the following information):

OS: (e.g. Linux, MacOS, Windows) ubuntu
Toolchain (e.g Zephyr SDK, ...) 0.16.8
Commit SHA or Version used 03959a20f7834ffe50a51df2b2e45ef87d1b610b

-->

In the error, it uses DT_PROP_OR not DT_ENUM_IDX_OR.
Although it should have been DT_INST_ENUM_IDX_OR...


npm start gives error: "Error: ENOENT: no such file or directory, open 'hello_uart.hex'"

I am getting this error when I do npm start.
><EMAIL_ADDRESS>start
> ts-node demo/emulator-run.ts

Error: ENOENT: no such file or directory, open 'hello_uart.hex'
    at Object.openSync (fs.js:458:3)
    at Object.readFileSync (fs.js:360:35)
    at Object.<anonymous> (/home/anurag/try/rp2040js/demo/emulator-run.ts:9:16)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Module.m._compile (/home/anurag/try/rp2040js/node_modules/ts-node/src/index.ts:1056:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Object.require.extensions.<computed> [as .ts] (/home/anurag/try/rp2040js/node_modules/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

I also tried grepping the file, but nothing found
command: ls -lRa rp2040js | grep hello_uart.hex

Hi, thanks for reporting!
hello_uart.hex is not part of the project, but you can build it from the pi pico examples repo.
I'm not sure if this is a good idea to include it in this repo or not, but in any case, here's my compiled version in case someone wants it:
hello_uart.hex.txt
(I added .txt to the filename, as GitHub doesn't allow uploading .hex files. So just rename it back to hello_uart.hex)

@urish Thanks buddy, finally got it working.


Parameterized query causes python to hang

When using the FileMaker ODBC driver on windows query parameters cause the python process to hang.
#No problem
cur.execute("SELECT * FROM \"Access|Products\" WHERE product = '{}'".format("tst_val"))

#Hangs the python process with no error
cur.execute("SELECT * FROM \"Access|Products\" WHERE product = ?", ("tst_val",))

The ODBC trace (attached) just shows 'SQLPutData' repeating over and over until the python process is killed. I am not sure if this a a pyodbc issue, the FileMaker driver behaving badly, or a bit of both.
Thanks.
sql_log.zip

pyodbc asks the driver what the maximum varchar & wvarchar lengths are and uses SQLPut if the length is higher.  There is apparently a bug in that it seems to report -1 and I didn't catch that.  Please try the following override and see if it fixes it.  If it does, I'll update the code to look for values that are too small and keep the default:
cnxn.maxwrite = 1024 * 1024

Thanks for the explanation and the fix. The override you gave works great.
So the FileMaker driver is reporting -1 when asked about its field length instead of a valid length? FileMaker has limited data types and that particular field is a "Text" field which according to their documentation can store 2gb or 10^9 character. There may be some peculiarities in their ODBC implementation.
Anyway, thanks again for the help.


encoding large floats doesn't work in any IE or Edge

Float/double encoding relies on the output of Number.prototype.toString with radix 2. In V8,
> 3.1e124.toString(2)
'101110111001010000100011110001100100010101111010110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'

In Edge,
> 3.1e124.toString(2)
"1011101110010100001000111100011001000101011110101101(e+413)"

The precise algorithm is implementation-dependent, however the algorithm should be a generalization of that specified in <IP_ADDRESS>.
-- <IP_ADDRESS> Number.prototype.toString

Nice.
The easy bandaid would obviously be to just have a special case to parse this alternate form, but I also recall during initial research into float/double encoding reading an implementation that didn't depend on Number.prototype.toString, but instead did more bit twiddling to come up with the exponent and mantissa. It probably would've been in some implementation of some related format, but I don't recall where specifically.

Yeah, it wouldn't be too hard to come up with a mathematical derivation of those values. Pull requests welcome :wink:.


Gemspec: Use https for GitHub URLs

Minor tweak to use https for GitHub URLs in the Gemspec 😅

Oops, great catch, thank you so much @packagethief! 🙏 🙏


caption set to false does not remove file name from bottom right corner

{
module: "MMM-Wallpaper",
position: "fullscreen_below",
config: {
source: ["local:/home/pi/Pictures"],
crossfade: false,
//filter: "grayscale(0.5) brightness(0.4)",
filter: "grayscale(0.25) brightness(0.5)",
size: "cover",
caption: "false",
slideInterval: 3 * 60 * 1000
//orientation: "vertical",
//maximumEntries: 10,
}

javascript is really weird, "false" is a string that is "truthy", while false is a boolean value that is false.  Remove the quotes and the caption should disappear.

Thank you!! I knew I was missing something basic.
On Thu, Sep 14, 2023 at 11:07 AM Jon Kolb @.***> wrote:

javascript is really weird, "false" is a string that is "truthy", while
false is a boolean value that is false. Remove the quotes and the caption
should disappear.
—
Reply to this email directly, view it on GitHub
https://github.com/kolbyjack/MMM-Wallpaper/issues/95#issuecomment-1719741094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKIOE5EBSFGAGV322XYHLLTX2MTSRANCNFSM6AAAAAA4YLUXDY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Custom runtime for GAE based on gcr.io/google-appengine/jetty

If I build the Docker as a standalone Docker from cloudshel jetty is started and it works, while if I deploy the same Dockerfile in a GAE felxible service jetty is not working and any attempt to establish a connection from inside the docker to localhost 8080 result in a connection that will remain stuck.
Can you please check?
Please find attached the Dockerfile.
`FROM gcr.io/google-appengine/jetty
ADD wimem-0.0.1-SNAPSHOT.war  $JETTY_BASE/webapps/root.war
Versions
ADD sources.list /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install curl gnupg
#RUN export CHROME_DRIVER_VERSION=curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE
ENV CHROME_DRIVER_VERSION 2.40
ENV SELENIUM_STANDALONE_VERSION 3.4.0
#RUN SELENIUM_SUBDIR=$(echo "$SELENIUM_STANDALONE_VERSION" | cut -d"." -f-2)
ENV SELENIUM_SUBDIR 3.4
Remove existing downloads and binaries so we can start from scratch.
RUN apt-get remove google-chrome-stable
RUN rm -f ~/selenium-server-standalone-*.jar
RUN rm -f ~/chromedriver_linux64.zip
RUN rm -f /usr/local/bin/chromedriver
RUN rm -f /usr/local/bin/selenium-server-standalone.jar
Install dependencies.
RUN apt-get update
RUN apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
Install Chrome.
RUN curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
RUN apt-get -y update
RUN apt-get -y install google-chrome-stable
Install ChromeDriver.
RUN wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/
RUN unzip ~/chromedriver_linux64.zip -d ~/
RUN rm ~/chromedriver_linux64.zip
RUN mv -f ~/chromedriver /usr/local/bin/chromedriver
RUN chown root:root /usr/local/bin/chromedriver
RUN chmod 0755 /usr/local/bin/chromedriver
Install Selenium.
RUN wget -N http://selenium-release.storage.googleapis.com/$SELENIUM_SUBDIR/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar -P ~/
RUN mv -f ~/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar /usr/local/bin/selenium-server-standalone.jar
RUN chown root:root /usr/local/bin/selenium-server-standalone.jar
RUN chmod 0755 /usr/local/bin/selenium-server-standalone.jar
`

What happens when you access the application from an external browser?
One thing to check is whether you have enough memory on the VM.

Hi Mike,
when I try to access from an external browser it start to load for an infinite time the page, and the loading phase will never finish.
I checked the logs of jetty and the war packages is successfully deployed without any errors.
I have already increased the memory, now the instance is : 4 vCPU and 8 GB.
My app.yaml files contains this:
resources:
cpu: 4
memory_gb: 8
disk_size_gb: 10
What do you suggest?
Thanks a lot in advance for your help,
Best Regards
riccardo
Da: Mike Eltsufin<EMAIL_ADDRESS>Inviato: martedì 19 giugno 2018 16:11
A: GoogleCloudPlatform/jetty-runtime
Cc: Riccardo Dolce; Author
Oggetto: Re: [GoogleCloudPlatform/jetty-runtime] Custom runtime for GAE based on gcr.io/google-appengine/jetty (#235)
What happens when you access the application from an external browser?
One thing to check is whether you have enough memory on the VM.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GoogleCloudPlatform/jetty-runtime/issues/235#issuecomment-398412760, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmhiGCHIv0FtUDUMO8w0DplGxlpXzBOrks5t-QZhgaJpZM4UtlBa.

Questo messaggio ed i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachment are confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorized. If you are not the intended recipient, please delete this message and any attachment and notify the sender by returning it, Thanks.

What does the request log / nginx log show? I would check all of the logs in the Log Viewer for the app.

Hi,
I got this: (I’m not very expert about ngnix , are you able to understand some from the log below provided? )
<IP_ADDRESS> - "GET /" 499 undefined "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36"
Espandi tutto | Comprimi tutto
{
httpRequest: {
latency: "150.154s"
referer: "-"
remoteIp: "<IP_ADDRESS>"
requestMethod: "GET"
requestUrl: "/"
status: 499
userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36"
}
insertId: "1qzqsj8g21rkgnq"
jsonPayload: {
appLatencySeconds: "-"
httpRequest: {
protocol: "HTTP/1.1"
}
latencySeconds: "150.154"
trace: "71d7c802d4966192fdef550b04a93f8a"
}
labels: {
appengine.googleapis.com/instance_name: "aef-wimem-1-jm88"
appengine.googleapis.com/trace_id: "71d7c802d4966192fdef550b04a93f8a"
compute.googleapis.com/resource_id: "7006002908047422042"
compute.googleapis.com/resource_name: "17917f325bb4"
compute.googleapis.com/zone: "europe-west3-a"
}
logName: "projects/rdolce-gcp-test/logs/appengine.googleapis.com%2Fnginx.request"
receiveTimestamp: "2018-06-19T14:27:13.285421512Z"
resource: {
labels: {
module_id: "wimem"
project_id: "rdolce-gcp-test"
version_id: "1"
}
type: "gae_app"
}
timestamp: "2018-06-19T14:27:10.320Z"
}
Thanks
riccardo
Da: Mike Eltsufin<EMAIL_ADDRESS>Inviato: martedì 19 giugno 2018 16:22
A: GoogleCloudPlatform/jetty-runtime
Cc: Riccardo Dolce; Author
Oggetto: Re: [GoogleCloudPlatform/jetty-runtime] Custom runtime for GAE based on gcr.io/google-appengine/jetty (#235)
What does the request log / nginx log show? I would check all of the logs in the Log Viewer for the app.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GoogleCloudPlatform/jetty-runtime/issues/235#issuecomment-398416578, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmhiGBNkX44yXiS6QZd6FvMXgsDOPNsdks5t-QkBgaJpZM4UtlBa.

Questo messaggio ed i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachment are confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorized. If you are not the intended recipient, please delete this message and any attachment and notify the sender by returning it, Thanks.

According to my understanding ngnix is meeting the same issue I discovered while trying to connect on port 8080 from the instance to jetty ( that is inside the docker ).
Jetty inside the docker is not responding.

It looks like the application is not responding, and the browser closed the connection after 150.154s causing the 499 HTTP code. Since you also cannot connect to the app from inside the docker container, I suspect there's something wrong with the app container itself. Maybe some problem with Jetty + your code.
Maybe try runtime: custom and build your own app container, and test it locally.

I have already built my custom runtime.
The Dockerfile I have attached in the initial post is the one provided to appengine.
This is my yaml file:
########CUSTOM RUNTIME BASE ON JAVA8+JETTY9
service: wimem  # Id of the service
env: flex       # Flex environment
runtime: custom   # Java runtime
#runtime_config:
jdk: openjdk8 # use OpenJDK 8
server: jetty9
#handlers:
#- url: /.*
script: this field is required, but ignored
env_variables:
'SPRING_PROFILES_ACTIVE': 'common,cloud-gae'
network:
name: default
manual_scaling:
instances: 1
resources:
cpu: 4
memory_gb: 8
disk_size_gb: 10
volumes:

name: ramdisk1
volume_type: tmpfs
size_gb: 0.5

While the custom dockerfile used is:
FROM gcr.io/google-appengine/jetty
ADD wimem-0.0.1-SNAPSHOT.war  $JETTY_BASE/webapps/root.war
Versions
ADD sources.list /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install curl gnupg
#RUN export CHROME_DRIVER_VERSION=curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE
ENV CHROME_DRIVER_VERSION 2.40
ENV SELENIUM_STANDALONE_VERSION 3.4.0
#RUN SELENIUM_SUBDIR=$(echo "$SELENIUM_STANDALONE_VERSION" | cut -d"." -f-2)
ENV SELENIUM_SUBDIR 3.4
Remove existing downloads and binaries so we can start from scratch.
RUN apt-get remove google-chrome-stable
RUN rm -f ~/selenium-server-standalone-*.jar
RUN rm -f ~/chromedriver_linux64.zip
RUN rm -f /usr/local/bin/chromedriver
RUN rm -f /usr/local/bin/selenium-server-standalone.jar
Install dependencies.
RUN apt-get update
RUN apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
Install Chrome.
RUN curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
RUN apt-get -y update
RUN apt-get -y install google-chrome-stable
Install ChromeDriver.
RUN wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/
RUN unzip ~/chromedriver_linux64.zip -d ~/
RUN rm ~/chromedriver_linux64.zip
RUN mv -f ~/chromedriver /usr/local/bin/chromedriver
RUN chown root:root /usr/local/bin/chromedriver
RUN chmod 0755 /usr/local/bin/chromedriver
Install Selenium.
RUN wget -N http://selenium-release.storage.googleapis.com/$SELENIUM_SUBDIR/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar -P ~/
RUN mv -f ~/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar /usr/local/bin/selenium-server-standalone.jar
RUN chown root:root /usr/local/bin/selenium-server-standalone.jar
RUN chmod 0755 /usr/local/bin/selenium-server-standalone.jar
Da: Mike Eltsufin<EMAIL_ADDRESS>Inviato: martedì 19 giugno 2018 16:39
A: GoogleCloudPlatform/jetty-runtime
Cc: Riccardo Dolce; Author
Oggetto: Re: [GoogleCloudPlatform/jetty-runtime] Custom runtime for GAE based on gcr.io/google-appengine/jetty (#235)
It looks like the application is not responding, and the browser closed the connection after 150.154s causing the 499 HTTP code. Since you also cannot connect to the app from inside the docker container, I suspect there's something wrong with the app container itself. Maybe some problem with Jetty + your code.
Maybe try runtime: custom and build your own app container, and test it locally.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GoogleCloudPlatform/jetty-runtime/issues/235#issuecomment-398423201, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmhiGNZc6AOUHlP2hCJP-Q7ZU1qXGpNRks5t-Q0YgaJpZM4UtlBa.

Questo messaggio ed i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachment are confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorized. If you are not the intended recipient, please delete this message and any attachment and notify the sender by returning it, Thanks.

Please consider that I have also tried to build locally the docker in the cloudshell, I run the docker from cloudshell and it works, if I run a simple wget , it works , jetty is managing the request.

In that case, it doesn't look like a problem with the runtime. As far as the application container is concerned, the requirement is that it exposes port 8080, and the rest is taken care of by the App Engine Flex environment. I would suggest reaching out the Google Cloud support.


[tlul,reg,otbn] Something's not wired up correctly for TLUL errors...

... but I can't work out what!
The nightly tests are currently failing otbn_csr_mem_rw_with_rand_reset with quite a few seeds. The problem turns out to be that a TL error sequence writes something that's expected to cause an error to some register. We then expect OTBN's STATUS register to switch to 0xff. It doesn't, and the test fails when we read the register.
The weird bit is that I can't understand how this is supposed to work. For example, I just ran a test where the TL transaction signalled a write with tl_i.a_user.instr_type set to true. Deep inside the register top, the tlul_err instance inside the tlul_adapter_reg signals an error. This gets registered in an error signal in the tlul_adapter_reg and squashes the TL transaction. But that error signal never actually makes it out of the adapter, so there's no way for OTBN to react to it.
@tjaychen, @msfschaffner: I know that you guys designed this infrastructure. Is this a silly bug? Or am I missing something subtle about how the code is supposed to work?
To reproduce, run something like:
util/dvsim/dvsim.py hw/ip/otbn/dv/uvm/otbn_sim_cfg.hjson -i otbn_csr_mem_rw_with_rand_reset --reseed 10

You should get a couple of seeds that give errors.

sounds good @rswarbrick let me have a look.
Silly bug seems very likely.

wait sorry, could you explain a bit more on the otbn STATUS part? do you mean you expect the tlul error to be exposed inside otbn? I probably need to have a closer look at the expectation there.

ah sounds good!
On Fri, May 20, 2022 at 10:01 AM Rupert Swarbrick @.***>
wrote:

Ohhhh! This is my fault!
I hooked up some code in otbn_common_vseq.sv to spot failed writes and
update the STATUS register accordingly. This worked perfectly when I added
it, because the only way a write failed was because if integrity errors
(which are exposed through the intg_err_o signal). But I think we've
gained some other checks since?
Anyway, the correct fix is to make the DV code in OTBN's tl_access_w_abort
override a bit cleverer and not try to signal an error. I'm going to leave
this issue open until next week to track the "Rupert needs to fix his code"
bit, but I don't think there's anything else to do.
Sorry for the noise.
—
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/12792#issuecomment-1133125975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSX4XCFSAHLPEYNT7STVK7AOVANCNFSM5WO4J3OA
.
You are receiving this because you were mentioned.Message ID:
@.***>


CI workflow runs for hours

See https://github.com/cs3org/ocm-test-suite/runs/6525292195?check_suite_focus=true#step:3:8034
This is probably because jest doesn't exit?

Fixed


How can I save a Python list/dict as a json with catalog.save function from a Jupyter notebook?

In my Jupyter notebook I want to save the following Python list into a json file:
my_list = [
    {
        'a_string': 'World!',
        'a_list': [1, 2, 3]
    },
    {
        'a_string': 'World!',
        'a_list': [4, 5, 6]
    }
]

Here is what I have in the catalog.yml:
my_json_data:
  type: kedro.io.JSONDataSet
  filepath: data/02_intermediate/extended_dataset.json

And this is what I'm running in my Jupyter notebook:
catalog.save("my_json_data", my_list )
I got the following error message:
list' object has no attribute 'to_json
I tried to convert my list to a pandas.DataFrame since it has a to_json method but the result in the extended_dataset.json is an indexed pandas json instead of a normal json format with json arrays:
{"a_string":{"0":"World!","1":"World!"},"a_list":{"0":[1,2,3],"1":[4,5,6]}}

I want this as a result in the extended_dataset.json:
[{
	"a_string": "World!",
	"a_list": [1, 2, 3]
}, {
	"a_string": "World!",
	"a_list": [4, 5, 6]
}]

Could you please help me out how to achieve this?

Thank you for the question!
You can pass any pandas arguments with save_args in catalog.yml. It should look something like this
my_json_data:
  type: pandas.JSONDataSet
  filepath: data/02_intermediate/extended_dataset.json
  save_args:
    orient: "records"
    lines: True

Note that catalog type should be pandas.JSONDataSet, not kedro.io.JSONDataSet.
Hope this helps :)
Btw, we have StackOverflow tags where you can ask questions as well :) https://stackoverflow.com/questions/tagged/kedro

Hi @921kiyo,
Right, the
save_args:
    orient: "records"
    lines: True

options are passed to the
kedro.extras.datasets.pandas.JSONDataSet.__init__ method. This is what I was looking for.
Thank you so much.
Questios: why pandas.JSONDataSet is prefered over  kedro.io.JSONDataSet?
Can I use kedro.io.JSONLocalDataSet? With kedro.io.JSONLocalDataSet I do not need to convert my json to pd.DataFrame. I can write out the json directly using this catalog entry:
my_json_data:
  type: kedro.io.JSONLocalDataSet
  filepath: data/02_intermediate/extended_dataset.json

Is that correct?
Thanks again!

You are welcome:) You could use JSONLocalDataSet, but it will be removed in the Kedro 0.16.0 and replaced by pandas.JSONDataSet. The reason we are moving toward pandas.JSONDataSet is that it is platform agnostic (e.g there is no Local or S3 keyword in the class name). It means it works on local and cloud platform like S3.
If you want to use JSONLocalDataSet in Kedro 0.16.*, then you could copy the existing implementation by following "create a custom dataset" in the documentation https://kedro.readthedocs.io/en/latest/03_tutorial/03_set_up_data.html?20dataset#creating-custom-datasets
Hope this helps :)

Thank you for the help.


[PyTorch] Integration test for Megatron-LM

Description
https://github.com/NVIDIA/TransformerEngine/pull/1033 broke Megatron-LM's wrappers for the LayerNorm and RMSNorm modules:

We renamed the hidden_size arg to normalized_shape in order to match torch.nn.LayerNorm, but Megatron-LM treats hidden_size as a kwarg:
https://github.com/NVIDIA/Megatron-LM/blob/aded519cfb1de2abf96f36ca059f992294b7876f/megatron/core/extensions/transformer_engine.py#L65.
This PR adds logic to handle the hidden_size arg and print a deprecation warning.
Megatron-LM has the option to initialize modules in CPU, but TE's LayerNorm and RMSNorm ops assume they are initialized on GPU. This PR allows LayerNorm and RMSNorm ops to be initialized on CPU, although it still assumes it is transferred to GPU before performing compute.

To help detect these issues in the future, I've also added an integration test that runs Megatron-LM to train a very small GPT model.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor
[x] Testing

Changes

Handle deprecated hidden_size arg in LayerNorm and RMSNorm modules
Allow LayerNorm and RMSNorm operations to be initialized on CPU
Add Megatron-LM integration test

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Pipeline 20338114

Pipeline 20444324


Notifications page not working

My Notification page is not working. If I'm right @Entkenntnis meant that edits of the content type "event" trigger this problem. @Entkenntnis maybe you can add some information or correct me.

(Similar problem with my activities on the new serlo profile)

ping @kulla


add College Jean-de-Brebeuf

school website: brebeuf.qc.ca

@kosan8095 I am sorry for a delay with processing your request.
Pull request merged. Thank you!

@kosan8095 I am sorry for a delay with processing your request.
Pull request merged. Thank you!


Design: Work out how to suppress similar messages in zebrad's logs

In zebrad, we see a lot of repeated log messages, such as network errors or repeated block verification warnings. These repeated messages can hide other important messages.
Some of these errors are bugs, and we should fix them (repeated verifications).
But some errors aren't under our control (network). So it would be nice to summarise those messages in zebrad's text-based log output.
We could use a tracing_subscriber::Layer to:

log and remember recent log messages
suppress duplicates up to a fixed limit (1000) or fixed frequency (1 every 60 seconds)
log the next message with an extra "summary" field, that says how many similar messages were received recently

See https://tracing.rs/tracing_subscriber/layer/trait.layer
As an example, tor's log message summaries look like:

May 13 18:50:37.600 [warn] extrainfo_insert(): Bug: No entry found in extrainfo map. [1 similar message(s) suppressed in last 1800 seconds] (on Tor <IP_ADDRESS>-alpha-dev 95a9920461dd3322)

@hawkw mentioned that there may already be an implementation of something similar to this, but I don't recall the details.
Personally I would prefer that we don't suppress any log messages, on the principle that the log represents a particular execution trace, and if some event is important enough to display under a particular tracing filter, it's important enough to be displayed on its own.
I definitely agree that currently zebrad often dumps way too many warnings into the log, but I suspect that we can do a lot better than we currently do, even for errors not under our control.

While I agree with the principle, the output that we display for human consumption may need some filtering.
Sometimes, an error is more interesting if it's the first error of a particular kind (for example, an unexpected high block escaping our filter).
Sometimes, an error is more interesting if there are multiple errors of the same kind (for example, a network failure).
I also agree that we shouldn't be making those decisions for all our users. And perhaps the best place for these filters is in software that is designed to analyse logs.

I don't think we need to resolve this issue: we've tended to just adjust log levels.


Updates to ssc pull request 842

Already reviewed and approved and all tests passing...

Updates test for ssc pull request https://github.com/NREL/ssc/pull/842


[WIP] update circleci config

This is for investigating the GitHub status would be updated

Closing as it no longer applies. Thanks again for your help troubleshooting this, @ganezasan.


use NowFunc replace time.Now

Hi, the begin time here is used to calc the SQL execution time here, https://github.com/go-gorm/gorm/blob/b864a5457a59ddfca3dae0f6b11de7443633392b/logger/logger.go#L139
so it can't use the NowFunc, thank you for your PR.

Hi, the begin time here is used to calc the SQL execution time here, https://github.com/go-gorm/gorm/blob/b864a5457a59ddfca3dae0f6b11de7443633392b/logger/logger.go#L139
so it can't use the NowFunc, thank you for your PR.


[DOCS] Add 8.2.1 release notes

Preview
https://elasticsearch-hadoop_1960.docs-preview.app.elstc.co/guide/en/elasticsearch/hadoop/master/eshadoop-8.2.1.html

💚 All backports created successfully

Status
Branch
Result

✅
8.2

Questions ?
Please refer to the Backport tool documentation


x/sys/unix: missing ST_NOEXEC etc statfs constants

I needed the ST_NOEXEC constant for statfs, but found it missing in x/sys/unix.
I tried the obvious,
$ git di
diff --git a/unix/linux/types.go b/unix/linux/types.go
index 3bc7035..d4ec87a 100644
--- a/unix/linux/types.go
+++ b/unix/linux/types.go
@@ -46,6 +46,7 @@ package unix
 #include <sys/user.h>
 #include <sys/utsname.h>
 #include <sys/wait.h>
+#include <sys/vfs.h>
 #include <linux/filter.h>
 #include <linux/icmpv6.h>
 #include <linux/keyctl.h>
@@ -337,8 +338,6 @@ type _Gid_t C.gid_t

 type Stat_t C.struct_stat

-type Statfs_t C.struct_statfs
-
 type StatxTimestamp C.struct_statx_timestamp

 type Statx_t C.struct_statx
@@ -972,3 +971,19 @@ type HDDriveCmdHdr C.struct_hd_drive_cmd_hdr
 type HDGeometry C.struct_hd_geometry

 type HDDriveID C.struct_hd_driveid
+
+// Statfs
+
+type Statfs_t C.struct_statfs
+
+const (
+       ST_MANDLOCK    = C.ST_MANDLOCK
+       ST_NOATIME     = C.ST_NOATIME
+       ST_NODEV       = C.ST_NODEV
+       ST_NODIRATIME  = C.ST_NODIRATIME
+       ST_NOEXEC      = C.ST_NOEXEC
+       ST_NOSUID      = C.ST_NOSUID
+       ST_RDONLY      = C.ST_RDONLY
+       ST_RELATIME    = C.ST_RELATIME
+       ST_SYNCHRONOUS = C.ST_SYNCHRONOUS
+)

but I got:
/build/linux/types.go:980:19: could not determine kind of name for C.ST_MANDLOCK
/build/linux/types.go:981:19: could not determine kind of name for C.ST_NOATIME
/build/linux/types.go:982:19: could not determine kind of name for C.ST_NODEV
/build/linux/types.go:983:19: could not determine kind of name for C.ST_NODIRATIME
/build/linux/types.go:984:19: could not determine kind of name for C.ST_NOEXEC
/build/linux/types.go:985:19: could not determine kind of name for C.ST_NOSUID
/build/linux/types.go:986:19: could not determine kind of name for C.ST_RDONLY
/build/linux/types.go:987:19: could not determine kind of name for C.ST_RELATIME
/build/linux/types.go:988:19: could not determine kind of name for C.ST_SYNCHRONOUS

I then went to search how they were defined and found https://elixir.bootlin.com/linux/latest/source/include/linux/statfs.h#L33
/*
 * Definitions for the flag in f_flag.
 *
 * Generally these flags are equivalent to the MS_ flags used in the mount
 * ABI.  The exception is ST_VALID which has the same value as MS_REMOUNT
 * which doesn't make any sense for statfs.
 */
#define ST_RDONLY	0x0001	/* mount read-only */
#define ST_NOSUID	0x0002	/* ignore suid and sgid bits */
#define ST_NODEV	0x0004	/* disallow access to device special files */
#define ST_NOEXEC	0x0008	/* disallow program execution */
...

And I discovered we do have MS_NOEXEC, so that'll do for now.
But it'd be nice to also have the ST_ names in there, even if they're the same. It would save others this distraction in the future.
/cc @tklauser

Also, the *_MAGIC constants on Linux would be nice: http://man7.org/linux/man-pages/man2/statfs.2.html
           TMPFS_MAGIC           0x01021994

It seems sys/vfs.h doesn't include bits/statvfs. (or sys/statvfs.h for that matter) where these constants are defined. Replacing #include <sys/vfs.h> with #include <sys/statvfs.h> seems to do the trick. I'll send a CL, also adding the *_MAGIC constants.


Issue while building project with CLI: Incorrect use of net472 XAML compiler

Describe the bug
I'm encountering an issue while trying to build my project using the command line instead of Visual Studio. I receive the following error:
 C:\Users\leon.spors\.nuget\.nuget\packages\microsoft.windowsappsdk\1.3.230724000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(760,9): error MSB3073: The command ""C:\Users\leon.spors\.nuget\packages\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe" "obj\x64\Release\net7.0-windows10.0.19041.0\win-x64\\input.json" "obj\x64\Release\net7.0-windows10.0.19041.0\win-x64\\output.json"" exited with code 1.

It is weird that it uses the net472 xaml compiler. Is it a fallback? Did I miss something?
csproj
<PropertyGroup>
	<OutputType>WinExe</OutputType>
	<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
	<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
	<Platforms>x64</Platforms>
	<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
	<LangVersion>latest</LangVersion>
	<Nullable>enable</Nullable>
	<ApplicationIcon>Assets\Kevox.Windows.ico</ApplicationIcon>
	<ApplicationManifest>app.manifest</ApplicationManifest>
	<UseWinUI>true</UseWinUI>
	<EnableMsixTooling>true</EnableMsixTooling>
	<WindowsPackageType>None</WindowsPackageType>
	<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
	<SelfContained>true</SelfContained>
	<EnableWindowsTargeting>true</EnableWindowsTargeting>

	<!--Workaround-->
	<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>

	<FileVersion>0.4.12</FileVersion>
</PropertyGroup>

Steps to reproduce the bug
Clear your project obj/bin folders.
Use the following command
dotnet publish <YourProjectName.csproj> -c Release -r win-x64 -p:Platform=x64 --self-contained true -o <Your output folder>

Expected behavior
It should publish like Visual Studio does but it seems there is a difference.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.0: 1.4.230822000
Windows version
Windows 11 (22H2): Build 22621, Windows 11 (21H2): Build 22000, Windows 10 (21H2): Build 19044, Windows 10 (21H1): Build 19043, Windows 10 (20H2): Build 19042, Windows 10 (1809): Build 17763
Additional context
No response

+1

Facing the same issue. My project packs successfully from the Visual Studio UI (pack option). It also works perfect if I use the command "dotnet pack ". But the problem is if I restore the packages in my specific folder, it throws the error.
respective command - "dotnet pack  --packages packages"

Hitting the same issue. xamlcompiler.exe needs better logging.


ShinyProxy Logos not displayed when using CSS Template (3.1.0)

Hi, I am using the new template provided here: https://github.com/openanalytics/shinyproxy-config-examples/blob/master/04-custom-html-template/templates/1col/index_new.html
However, none of the images are showing based on the logo-url that is in the application.yml, see example:

id: app1
display-name: app1
description: View and download hourly weather data.
container-image: app1
access-groups: [xxxxxxxxxxxxxxxx]
logo-url: file:///srv/shiny/apps/app1/logo/app1.png

RESULT:

I need to be able to specify the path with logo-url and use it. I don't want to use the other template, where it just references the assets folder. I want to use the version that uses appLogos.get(app) as referenced in the docs:

How can we get this to work? Am I missing something?

Hi, this template was not yet updated for the ShinyProxy 3.1.0 release, I just fixed this.
Instead of using
          <img th:if="${appLogos.get(app) != null}" th:src="${appLogos.get(app)}">

you should now be using:
  <img class="img-responsive" th:if="${appLogos.get(app) != null}"
                             th:with="logo=${appLogos.get(app)}" th:height="${logo.height}" th:src="${logo.src}"
                             th:style="${logo.style}" th:width="${logo.width}">

This will fix the issue.

thank you sir. it worked just as i needed.  gonna close the issue. @LEDfan


Added a subscribe to newsletter form on the footer

This PR adds a subscribe to newsletter form on the footer
fixes 1 out of 2 tasks #10

Hello @ashish0kumar, please add btn-disabled to the subscribe button's class? I forgot to add that the button should be disabled in the issue description. Thank you.

@Njoguu Done 👍🏼


Add guide for adding gestures to components

With Angular v9, we removed direct gesture handling in Angular Material. We did this for a number of reasons, including:

Drop dependency on mostly unmaintained HammerJS
Give people flexibility to use other gesture solutions
No requirement to add gesture code for users that don't actually want it
Simplify project setup

However, we should still have a guide that explains how to add gestures for users that want them. The guide should cover topics including:

Swiping out a sidenav
Swiping between tabs
Swiping items away on a list / table
Swiping calendar months

Related to #2209

Not sure if it's the best place to post this, but since #2209 is closed...
I just released a small library to handle common gestures on tabs :

Scroll tab header with your finger IF there are too much tabs to show it all on your screen
Swipe between tabs by swiping the tab content from left to right (or right to left)

https://www.npmjs.com/package/@angular-material-gesture/mat-tab-group-gesture
Feel free to use it and give me some feedback if you encounter any issue!


KNOX-2377 - Address potential loss of token state

What changes were proposed in this pull request?
With the resolution of KNOX-2375, the potential for token state to be lost between the issuance of a token and its persistence to the keystore. To address this risk, this patchset introduces a TokenStateJournal, the default implementation of which persists small individual files for each token's state until it is persisted in the keystore. This new facility has been integrated into the AliasBasedTokenStateService, which is the driver behind creating it. When token state it added, an entry (file) is added to the journal; Then, once that state has been persisted in the keystore, the journal entry (file) is removed since the risk of loss is no longer present.
Part of the integration includes loading all the persisted token state journal entries when the AliasBasedTokenStateService is initialized, which effectively allows it to resume processing from where it has left off if the gateway was stopped or crashed after the addition of one or more tokens but before the state for those tokens could be persisted.
How was this patch tested?

'mvn -T1.5C -Ppackage,release clean install'
Added FileTokenStateJournalTest and MultiFileTokenStateJournalTest unit test classes
Augmented AliasBasedTokenStateServiceTest to test the integration of the TokenStateJournal with the AliasBasedTokenStateService, the intended (and only) consumer.
Manual testing involving two clients concurrently requesting tokens, and allowing this type of test to run through multiple token state eviction cycles, such that I feel there is no additional issue wrt thread-safety or performance.

In addition to my previous comments I'd also suggest another change:
in org.apache.knox.gateway.services.token.impl.AliasBasedTokenStateService.stop() you may persist all entries in unpersistedState after shutting down the scheduler to provide one more final round of token persistence.

In addition to my previous comments I'd also suggest another change:
in org.apache.knox.gateway.services.token.impl.AliasBasedTokenStateService.stop() you may persist all entries in unpersistedState after shutting down the scheduler to provide one more final round of token persistence.

Yes, this is a good suggestion.


Use gradle as a build system

Now example-egl builds using gradle + bash scripts (Issue #10) . Build process can be trigger by single command: ./gradlew build

👍🏻🎉


python3Packages.pymazda: 0.3.2 -> 0.3.3

Description of changes
https://github.com/bdr99/pymazda/releases/tag/0.3.3

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 168894 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.mazda
python310Packages.pymazda
python39Packages.pymazda


core: support Optional typing for callbacks in llms.py

Description: I noticed that the 'callbacks' parameter in llms.py was not consistently defined as optional, which could lead to type-checking errors. Although these functions will be deprecated in v1, it is still necessary to maintain consistent type definitions until then to ensure proper functionality and avoid errors.

Issue: the issue #15168

Callbacks is already typed as Optional: https://github.com/langchain-ai/langchain/blob/745d1c2b8d2585d1ab76c5b231a51f15b39d990a/libs/core/langchain_core/callbacks/base.py#L1073


Update catalog gets stuck at 96%

Is it maybe linked to the HTTP 523 errors I see in the logs?
Unhandled exception in thread started by <bound method UpdateCatalogWorker.retrievePartialListOfAddons of <waitdlg.UpdateCatalogWorker object at 0x7f9e2ddfdc18>>
Traceback (most recent call last):
  File "/opt/lcurse/modules/waitdlg.py", line 294, in retrievePartialListOfAddons
    response = self.opener.open("http://www.curse.com/addons/wow?page=%d" % (page))
  File "/usr/lib/python3.4/urllib/request.py", line 470, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/request.py", line 580, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/request.py", line 502, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 442, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 685, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 470, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/request.py", line 580, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/request.py", line 508, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 442, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 588, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 523: Origin Unreachable

Since I can't provide you with a version information (there is none):
% md5sum /usr/bin/lcurse                                                                         :(
149202d995e804756d9d99ab954d6fab  /usr/bin/lcurse

git revision is always the best version regarding a git repository.
So, which revision do you use? Hopefully the latest!

I'm using the PPA, actually. I can try with the repository if the ppa is not up to date.

Which PPA :). I don't know anything about an PPA.

Oh okay, I'll install the git version then.

I can confirm it does that on the latest commit in master (d8e02ee24b31af391167390631379754f8cd0290).

I am getting the same but gets stuck at 99%
master d8e02ee fix updateCatalog to reflect recent changes of curse page- second part
markup_type=markup_type))
Unhandled exception in thread started by >
Traceback (most recent call last):
  File "/usr/lib/python3.5/urllib/request.py", line 1240, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.5/http/client.py", line 1083, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.5/http/client.py", line 1128, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.5/http/client.py", line 1079, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.5/http/client.py", line 911, in _send_output
    self.send(msg)
  File "/usr/lib/python3.5/http/client.py", line 854, in send
    self.connect()
  File "/usr/lib/python3.5/http/client.py", line 826, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/lib/python3.5/socket.py", line 693, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/moe/projects/lcurse/modules/waitdlg.py", line 294, in retrievePartialListOfAddons
    response = self.opener.open("http://www.curse.com/addons/wow?page=%d" % (page))
  File "/usr/lib/python3.5/urllib/request.py", line 465, in open
    response = self._open(req, data)
  File "/usr/lib/python3.5/urllib/request.py", line 483, in _open
    '_open', req)
  File "/usr/lib/python3.5/urllib/request.py", line 443, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 1268, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.5/urllib/request.py", line 1242, in do_open
    raise URLError(err)
urllib.error.URLError:

I debuggued this problem and made a patch but then everything was still
crashing everywhere when clicking on stuff and downloading add-ons. I
advise you to download manually your addons while this project is broken.

In both exceptions, it looks like the connection to curse.com got disconnected:
from first exception quote: urllib.error.HTTPError: HTTP Error 523: Origin Unreachable
from second exception quote: socket.gaierror: [Errno -2] Name or service not known
So I can't really reproduce it, as update catalog works here.
Does it get stuck all the time?

No not happening all the time. For now it is downloading the catalogue successfully.

retrieved list of addons: 4083

Even if we lose the connection, not having anything that catches an exception to retry is not a sane behavior.

Try with my pull request #18 if you experience problems again. I can reproduce it easily (perhaps because of my location?) and it is solved for me now.

I also get this problem with the latest version. it's caused by the opener.open(str(url)) do not have a timeout. My internet connect is not so stable, sometimes this will cause a infinitely wait.
I try to add a timeout to there, but the in the function OpenWithRetry, after maxcount times of retry, it will raise a Exception, which is not catched in function retrievePartialListOfAddons, finally terminate the working thread.


use related_model instead of model when checking the other side..

...of reverse relationships. It was always returning the generic permissions classes instead of the direct relation ones

Coverage decreased (-80.87%) to 14.97% when pulling d357dbdb0f538e6055dc7363160dbf28819593e0 on soby:devel into 112c373f213a19d93baa81fa4a941a41333115b5 on lukaszb:devel.


It does not work on last Strapi version 4.13.7

I recently updated the plugin, and it's not working anymore. I followed the instructions, but the preview button disappeared. What am I missing?
package.json
  "dependencies": {
    "@google-cloud/secret-manager": "^4.2.2",
    "@strapi-community/strapi-provider-upload-google-cloud-storage": "^4.6.1",
    "@strapi/plugin-i18n": "4.13.7",
    "@strapi/plugin-seo": "^1.7.7",
    "@strapi/plugin-users-permissions": "4.13.7",
    "@strapi/provider-upload-local": "^4.13.7",
    "@strapi/strapi": "4.13.7",
    "dotenv": "^16.0.3",
    "mysql": "^2.18.1",
    "strapi-plugin-populate-deep": "^2.0.0",
    "strapi-plugin-preview-button": "^2.0.0"
  },

plugins.js
"use strict";

module.exports = ({ env }) => ({
  // Configuration for preview button in articles section
  "preview-button": {
    config: {
      contentTypes: [
        {
          uid: "api::article.article",
          draft: {
            url: env(
              "STRAPI_PREVIEW_DRAFT_URL",
              process.env.STRAPI_PREVIEW_DRAFT_URL
            ),
            query: {
              type: "article",
              slug: "{slug}",
              secret: env(
                "STRAPI_PREVIEW_SECRET",
                process.env.STRAPI_PREVIEW_SECRET
              ),
            },
          },
          published: {
            url:
              env(
                "STRAPI_PREVIEW_PUBLISHED_URL",
                process.env.STRAPI_PREVIEW_PUBLISHED_URL
              ) + "/blog/{slug}",
          },
        },
      ],
    },
  },
});

schema.json
{
  "kind": "collectionType",
  "collectionName": "articles",
  "info": {
    "singularName": "article",
    "pluralName": "articles",
    "displayName": "Articles",
    "description": ""
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {
    "preview-button": {
      "listViewColumn": true
    }
  },
  "attributes": {
    ...
  }
}

I was missing an important step.
You need to execute the command npm run build after updating the library.
I highly recommend merging this pull request as soon as possible.


Changing the quantity column in gas asset list doesn't trigger an update

It doesn't save those changes into the database. This is due to duplicate change listeners.

Even weirder, the change event always seems to lag one change.
For instance the value is 0.0:
0.0
I type 22:
The value remains 0.0
I type 21
The value becomes 22.
Etc.


[FIX JENKINS-14563] Show full name of user instead of user name

For users that have a "full name" different from their user ID, this will show the full name, with the user ID available as tool tip.

@jenkinsci/code-reviewers mostly to get opinions on usefulness / possible unintended side effects

@oleg-nenashev Thanks, fixed:


#609 Fix invalid invocation of Carousel handlers.

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
#609

What's in this Pull Request?
Fixes the bug #609

Thank you @siata13 for the fix!


Responsive Web Design: Added hint to Style Multiple Elements with a C…

…SS Class
Added hint to Style Multiple Elements with a CSS Class (https://learn.freecodecamp.org/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class and https://guide.freecodecamp.org/certifications/responsive-web-design/basic-css/style-multiple-elements-with-a-css-class)

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@greggubarev  Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Use VOS-specific Ruby variable.

Sometimes the Ruby (or wrapper) you use for TextMate in general may do weird things or print unhelpful/spammy output when run with -w for use with VOS. In this case it's nice to have a separate variable that you can use to take priority over TM_RUBY.

I appreciate this may be the wrong approach in which case I'm open to suggestions to how to solve my particular problem.
Additionally, I figured this was only useful for Ruby itself so I haven't done it for other tools. If this is an incorrect assumption: let me know and I'll make a more general fix.
Thanks for the great bundle :green_heart: :heart:!

@claylo @sxtxixtxcxh Any thoughts on this? Thanks!

oh snap, thanks for the @mention, i'd have missed it otherwise.
i'm not running textmate these days, so i haven't run this plugin in a while. however, these changes look small enough and shouldn't cause any issue, i think i can merge this in.
can you also update the readme and add the new env variable?

@sxtxixtxcxh Sure thing, will do (and will ping you again after), thanks!

@sxtxixtxcxh Done! Feel free to request a wording tweak.

:+1:

thanks! :D

Thanks for the merge!


PHP Fatal error:  Class GuzzleHttp\Client contains 1 abstract method

Encountered with following error.
PHP Fatal error:  Class GuzzleHttp\Client contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (GuzzleHttp\Event\HasEmitterInterface::getEmitter) in /Applications/MAMP/htdocs/guzzle/vendor/guzzlehttp/guzzle/src/Client.php on line 403

That's strange. Are you sure you have the right version of everything installed?

Closing for now. This seems like an environment specific issue.

Thanks for revert. Yes you are right, it was environment specific issue. Fixed now.
Not sure it's right place to discuss but I would like say i really pissed of with PHP for asynchronous calls even with guzzle too. I know asynchronous calls & multi threading type things are not aval in PHP by default but i was sure that there must be some workaround for same.
In one of my project i have to update key value pairs over HTTP from one server to another server using backlink IPs. We encountered with many issues like backlink choked, Open file limits and throughput (around 100 Res/sec). We initially started with guzzle then we switched with forked curl process with "> /dev/null 2>&1 &"  to ensure that process gets properly forked and doesn’t log anywhere.
It works okis way except we lost control over codebase as well as debugging & logging. Then we tried  fsockopen but found it's blocking, it blocks until the socket is fully connected before returning it. Here is proof for same.
https://github.com/php/php-src/blob/master/main/streams/transports.c#L143
https://github.com/php/php-src/blob/master/main/network.c#L393
http://en.wikipedia.org/wiki/Transmission_Control_Protocol#Connection_establishment
Things were going more slower when SSL introduced ( https) .. https://github.com/php/php-src/blob/master/ext/openssl/xp_ssl.c#L434
finally we found some better approach is to open a persistent socket using pfsockopen. This will re-use earlier socket connections made by the PHP process, which doesn’t require a TCP handshake each time.
I would like to hear your comments here. Should I use any messaging solution like RabbitMQ or NodeJS based ( We already using StatsD so nodeJS is aval on production server)  so that i can control over HTTP Requests with proper logging & debugging and can get better throughput. Few people in Team are not willing to allow to use RabbitMQ etc because they are denying  messaging solution as it's against architecture design.
Let me know what you suggest here.


feat: dedicated access token endpoint

a dedicated access token endpoint is created for generating bearer token using client credentials and public/private jwt
resources created have a srn:<project_name>:<resource_namespace>:resource_name convention

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 106 (4.72%)  changed or added relevant lines in 6 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 42.906%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/api/v1beta1/serviceuser.go
0
1
0.0%

internal/bootstrap/schema/schema.go
0
6
0.0%

internal/api/v1beta1/org.go
0
20
0.0%

internal/store/postgres/serviceuser_repository.go
0
35
0.0%

internal/api/v1beta1/authenticate.go
2
41
4.88%

Files with Coverage Reduction
New Missed Lines
%

internal/api/v1beta1/authenticate.go
7
6.95%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
4273

Relevant Lines:
9959

💛  - Coveralls


fix wrong template file path

the file is from lib/password_template.html

Good catch, thank you!


(Fixed)[PXN-2751] - Fixing post payment animation

What have changed?
Animation loader added when post payment flow is executed.
How to test:
Running checkout with post payment configuration should display default loader animation.
Prints for layout changes:

Before
After

Extras:

All unit test passed successfully

pr retest

rp retest


feat(connector-iroha): add tls encryption

Enable TLS encryption in the Iroha-cactus connector plugin.
Referred: https://iroha.readthedocs.io/en/develop/configure/torii-tls.html
Signed-off-by: yashrajdesai<EMAIL_ADDRESS>

@baziorek @petermetz Please help to test the TLS connection.

This PR is related to the issue: https://github.com/hyperledger/cactus/issues/1251

@baziorek @petermetz Please help to test the TLS connection.

@yashrajdesai Please try specifying the protocol prior to the hostname as https:// to see if that makes it work (based on the crashlog I obtained at the pair programming session this morning)

@yashrajdesai @baziorek Closing this for now because we are tidying up stale PRs in the queue. Feel free to re-open anytime in the future!


there is a bug when use basic_auth

code example:
CLIENT
.get(url)
.basic_auth(username, Some(password))
// use basic_auth some times not eq next line，i dont know why.
// .header("Authorization", "Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==")

Could you provide any more information? It's hard to help with so little.

username: readonly
password: readonly@2024
use curl  -u readonly:readonly@2024. ,we got :
Authorization: Basic cmVhZG9ubHk6cmVhZG9ubHlAMjAyNA==
we Authorization success.
but reqwest:
CLIENT
.get(url)
.basic_auth("readonly", Some("readonly@2024"))
we got :

Oh, is it that the value has special symbols, and reqwest isn't percent encoding them first?

Oh, is it that the value has special symbols, and reqwest isn't percent encoding them first?

Sorry to bother you. , I didn't check the password, there was an extra space.


Add table jumpcloud_devices

The idea here is to retrieve device names, operating systems, IP addresses, software inventory and other asset inventory information, but also policies applied, patches applied, device activities (such as changes to it) etc.
References
https://support.jumpcloud.com/s/article/jumpcloud-admin-implementation-guide-2019-08-21-10-36-47
Add any related links that will help us understand the resource, including vendor documentation, related GitHub issues, and Go SDK documentation.

Welcome to Steampipe @oaulicino and thanks for raising the request for the new table 👍.
I sifted through the API documentation of JumpCloud, however, I could not find anything pertaining to devices.
I did come across a bunch of APIs that enlist different classes of data like policy groups, OS Lists  etc.
Could you please provide a link to the API that we could employ to extract device information?
Thank you once again for adding the details of your requirement 👍 .

Hi there,
Apologies, I raised the request without actually knowing whether their APIs
would give access to what we would need.
However, I searched quickly and it seems like their v2.0 has system
association lists that could be what we are looking for.
https://docs.jumpcloud.com/api/2.0/index.html#tag/Systems/operation/graph_systemAssociationsList
I did not try that, so I can't be sure, unfortunately.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Thu, Feb 2, 2023 at 10:53 AM Ved misra @.***> wrote:

Welcome to Steampipe @oaulicino https://github.com/oaulicino and thanks
for raising the request for the new table 👍.
I sifted through the API documentation of JumpCloud, however, I could not
find anything pertaining to devices.
I did come across a bunch of APIs that enlist different classes of data
like policy groups
https://docs.jumpcloud.com/api/2.0/index.html#tag/Policy-Groups, OS
Lists https://docs.jumpcloud.com/api/2.0/index.html#tag/OS-Lists etc.
Could you please provide a link to the API that we could employ to extract
device information?
Thank you once again for adding the details of your requirement 👍 .
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/5#issuecomment-1413965261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHAVNIQSMBP7MNGVP6DWVPKAZANCNFSM6AAAAAAUOFYKAE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for the quick response @oaulicino 👍.
This link is a great starting point - https://docs.jumpcloud.com/api/2.0/index.html#tag/Systems/operation/graph_systemAssociationsList
We will look to evaluate the scope of new tables that can be added using the mentioned APIs 👍.

Hello @oaulicino, the new jumpcloud plugin version v0.1.0 includes the new jumpcloud_device table 👍.
Thanks for raising the request and please let us know if the new table caters to your requirement 👍.
Feedbacks are more than welcome 😄.

That was sooo fast! Let me try!Best Regards,Otto Aulicino - C|CISO, CISSP, CCSP, CISA, CISMhttps://www.linkedin.com/in/ottoaulicinoOn Feb 3, 2023, at 3:17 PM, Ved misra @.***> wrote:
Hello @oaulicino, the new jumpcloud plugin version v0.1.0 includes the new jumpcloud_device table 👍.
Thanks for raising the request and please let us know if the new table caters to your requirement 👍.
Feedbacks are more than welcome 😄.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

It looks good! I’ll check it out in more detail this weekend, but I took a look at it and liked it a lot!Best Regards,Otto Aulicino - C|CISO, CISSP, CCSP, CISA, CISMhttps://www.linkedin.com/in/ottoaulicinoOn Feb 3, 2023, at 3:17 PM, Ved misra @.***> wrote:
Hello @oaulicino, the new jumpcloud plugin version v0.1.0 includes the new jumpcloud_device table 👍.
Thanks for raising the request and please let us know if the new table caters to your requirement 👍.
Feedbacks are more than welcome 😄.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Something that would help me a lot is tied to the JumpCloud_Device table,
but it is probably a separate table: software inventory.I am not sure where
it would be in their API documentation, but in the GUI I can find as you
can see in the attachment.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Fri, Feb 3, 2023 at 5:11 PM Otto Aulicino @.***>
wrote:

It looks good! I’ll check it out in more detail this weekend, but I took a
look at it and liked it a lot!
Best Regards,
Otto Aulicino - C|CISO, CISSP, CCSP, CISA, CISM
https://www.linkedin.com/in/ottoaulicino
On Feb 3, 2023, at 3:17 PM, Ved misra @.***> wrote:

Hello @oaulicino https://github.com/oaulicino, the new jumpcloud plugin
version v0.1.0 includes the new jumpcloud_device table 👍.
Thanks for raising the request and please let us know if the new table
caters to your requirement 👍.
Feedbacks are more than welcome 😄.
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/5#issuecomment-1416358250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHH7AY3TH45ZUPJ26DLWVVRXDANCNFSM6AAAAAAUOFYKAE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for the feedback @oaulicino, we will take a deeper look into the software inventory section and check the feasibility of adding it in the form of a table 👍.

That is exactly it. The one I am really interested in at the moment is the
Applications one, but they are all important and I believe they will come
in handy in the future.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Thu, Feb 9, 2023 at 10:05 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, just by going through the
GUI, I came up with the following details that we could potentially add to
our plugin.
[image: Screenshot 2023-02-09 at 8 33 50 PM]
https://user-images.githubusercontent.com/38218418/217849884-cad90adb-828b-4115-ae15-d1250858c803.png
Could you please confirm if this is what you are looking for? Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/5#issuecomment-1424336675,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHDSKMOBIE33OYDFRBDWWUBUHANCNFSM6AAAAAAUOFYKAE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @oaulicino, Thank you once again for adding details of your requirement. I was going through the API documentation of JumpCloud, and based on the API availability, we have started working on below tables:

jumpcloud_macos_app
jumpcloud_linux_package
jumpcloud_windows_program

Let us know if these tables cater to your requirement. Thanks!

That's awesome, thanks! I will try this!
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Fri, Feb 10, 2023 at 10:50 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, Thank you once again for
adding details of your requirement. I was going through the API
documentation of JumpCloud, and based on the API availability, we have
started working on below tables:

jumpcloud_macos_app <#m_-3666749822744958043_10>
jumpcloud_linux_package <#m_-3666749822744958043_11>
jumpcloud_windows_program <#m_-3666749822744958043_12>

Let us know if these tables cater to your requirement. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/5#issuecomment-1426002030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHFA3JV5J35DK4VIFQTWWZPT3ANCNFSM6AAAAAAUOFYKAE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Another one that would be great is
https://docs.jumpcloud.com/api/2.0/index.html#tag/System-Insights as it
shows CPU, Memory and some other useful information.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Fri, Feb 10, 2023 at 10:50 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, Thank you once again for
adding details of your requirement. I was going through the API
documentation of JumpCloud, and based on the API availability, we have
started working on below tables:

jumpcloud_macos_app <#m_-3666749822744958043_10>
jumpcloud_linux_package <#m_-3666749822744958043_11>
jumpcloud_windows_program <#m_-3666749822744958043_12>

Let us know if these tables cater to your requirement. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/5#issuecomment-1426002030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHFA3JV5J35DK4VIFQTWWZPT3ANCNFSM6AAAAAAUOFYKAE
.
You are receiving this because you were mentioned.Message ID:
@.***>