Navigation Controller Bug

When a user is on the application and they go to swipe back to the previous controller the text field will disappear and not show until the user leaves the room. Keyboard will still show but without the textfield.
EX.
User will be chatting decide they want to swipe back to the home page, they go to swipe but then decide to stay, and they have the keyboard open. They keyboard is still shown without the textfield. If a user changes there keyboard type the textfield will again appear.
Tried incorporating swipe methods, did editing etc etc, and nothing seems to work.

Please provide:

library version
xcode version
ios version
devices / simulators

Current Version
Current Version
iOS 8.1
All Devices and Simulators

You can test what I am talking about right in my app, I attached photos below to show whats happening.

I can't reproduce this on the current pod, or on develop.

How can I tell which version I have, I put installed it around January 12th.
I've tried just about everything to get this bug fixed.
I am not calling end editing, or anything to make this happen.

@Shanlon - run pod update or download the latest from GitHub

@jessesquires - So I installed the new version of the framework and still was getting that bug.... Still scratching my head as to why. But I was able to find a solid fix for it, which works really nice. If you would like I can post what I did tomorrow.

:+1:

So what ended up being the fix is moving when it removes the keyboard from the self.keyboardController from the superview.
I removed it from the switch case and simply put it in the viewWillAppear since that gets called every time the user starts to swipe back then decides to stay on there current page. Here is what I did to get this to work.
Moved this

To here

Also, I had another bug where if the user started to type in something then delete all of the text then swipe down, the keyboard would then stay being edited. Which would then not allow the user to swipe the keyboard back up or see the keyboard if they try to click into the text view. Here was my fix for that:

Thanks!

I had this problem after a modal view got popped then closed, tapping the input would bring up the keyboard but the input bar wouldn't shift up above it.
I had to add this in my viewWillAppear:
[self.keyboardController beginListeningForKeyboard];
And now it shifts up every time.


text() is ok, but other methods with image, info, done, error  are crashed.

Method text() is ok, while methods with info info, done, error are creashed.

Had you drag the ProgressHUD.bundle to your iOS project?

no

dowload
ProgressHUD.bundle.zip
unzip and drag it to your iOS project

It's ok, Thanks a ton. More installation instructions, It's perfect.


How to build a data_loader for custom dataset?

hello, thank you for your great work.
I noticed that you use complex data_loaders, which may be hard to understand but in the end are more efficient.
Now I'd like to train on my own dataset, Could you please give me some tips to  build a dataloader for my own dataset?

Hi @luciaL,
Yes indeed, but it is not really possible to help you with simple general advice. There are so many details. I guess your best chance is to read about dataloaders on PyTorch official website and then try to follow the execution of my code to see what happens.
Then if you face a particular issue when implementing your own dataset, you can ask me again, and I should be in a better position to help you.
Best,
Hugues

Hi, Hugues,
Thank you so much for your reply. Your suggestion is very useful. I will read your code carefully and try to implement on my own dataset.
Best,
Lucia


catch error in runAsChild callback

What kind of change does this PR introduce?
closes #13624

Did you add tests for your changes?
no need

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
nothing

Thanks


[Question] Custom column

I have roles and users_roles. I would like to have roles.name in users_roles association tab. Is it possible?
This user has roles: [admin, doctor]

@mateuszbialowas check https://github.com/motor-admin/motor-admin-rails#virtual-attributes
Alternatively you can achieve the same result by adjusting the user_roles sql:
https://github.com/motor-admin/motor-admin-rails/blob/master/guides/customizing_resource_table.md#customizing-resource-table


initialStoryIndex not working

@ayhanselek Thank you for the report. Fixed and updated version to 0.5.1 👍


node bot.js not working

I right click on the folder and click on "Git Bash Here" and it opens up the command line. When i type node bot.js it does not do anything, and when i type it in the command prompt, it gives me an error message.

Also i think I need to open the command prompt in the folder but I don't know how.

Right click on the folder and click 'Git Bash here'. Then once the window has open enter the following command:
npm install https://github.com/woor/discord.io/tarball/gateway_v6


Create a component to add subcategories

Is your feature request related to a problem? Please describe.

We need to add subcategories using the admin dashboard

Describe the solution you'd like

Create a component to add subcategories

I'm working on this.


How to disable "latency reduction" just for one game, part 2

In #651 problem is partially solved. Thanks!
But now it looks like that:

#651 lets set "Use Second Instance for Run-Ahead" to OFF but still Run-Ahead is functional. It would be great if in ES "USE RUN A-HEAD FRAMES" there is an option "0" (null) linked to general option "Run-Ahead to Reduce Latency" (on/off) in Retroarch.

I found "NONE", sorry.


Delete failure when cluster has no certs

If the cluster has no certificates loaded for some reason (i.e. the fields are NULL in the database), we should no-op that and move forward with the delete or otherwise we loop:
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'magnum.service.periodic.ClusterUpdateJob.update_status' failed: ValueError: Container incorrectly specified.2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall Traceback (most recent call last):
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/barbicanclient/base.py", line 45, in validate_ref_and_return_uuid
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     ref_pieces = ref.rstrip('/').rsplit('/', 1)
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall AttributeError: 'NoneType' object has no attribute 'rstrip'2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall 2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall During handling of the above exception, another exception occurred:2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall 2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall Traceback (most recent call last):
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/oslo_service/loopingcall.py", line 150, in _run_loop
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     result = func(*self.args, **self.kw)
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/magnum/service/periodic.py", line 73, in update_status
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     cdriver.update_cluster_status(self.ctx, self.cluster)2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/magnum_cluster_api/driver.py", line 119, in update_cluster_status
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     resources.ApiCertificateAuthoritySecret(self.k8s_api, cluster).delete()2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/magnum_cluster_api/resources.py", line 115, in delete
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     resource = self.get_object()
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/magnum_cluster_api/resources.py", line 388, in get_object
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     ca_cert = cert_manager.get_backend().CertManager.get_cert(
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/magnum/common/cert_manager/barbican_cert_manager.py", line 174, in get_cert
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     cert_container = connection.containers.register_consumer(2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/barbicanclient/v1/containers.py", line 745, in register_consumer
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     container_uuid = base.validate_ref_and_return_uuid(
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall   File "/var/lib/openstack/lib/python3.10/site-packages/barbicanclient/base.py", line 48, in validate_ref_and_return_uuid
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall     raise ValueError('{0} incorrectly specified.'.format(entity))
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall ValueError: Container incorrectly specified.
2023-06-22 17:53:40.052 1 ERROR oslo.service.loopingcall

Will this also clean-up clusters that were affected by the issue in the first place? For example, I have several clusters that are in "CREATED_FAILED" state because of this bug, and a few that were in that state that we tried to delete and have been stuck in "DELETE_IN_PROGRESS". If this won't fix it, could you could include steps to fix those clusters?


Adding scrollbar to the right sidebar

Is your feature request related to a problem? Please describe.
The right sidebar content is not fully visible when the window size is set to normal dimensions. This causes frustration as users cannot access all the options and features available in the sidebar without resizing the window.
Describe the solution you'd like
Implement a scroll bar for the right sidebar to ensure that users can scroll through and access all the content, regardless of the window size.
Describe alternatives you've considered
An alternative solution could be to make the sidebar responsive and adjust its layout to fit the content dynamically. However, a scroll bar seems to be a more straightforward and user-friendly approach.
Additional context
This enhancement will improve the user experience by ensuring that all sidebar content is accessible at all times. Below is a screenshot of the current issue:

If the issue is approved, I would like to work on this.

go ahead @abhi9ab


docs(*) fips

Summary
Docs for Kong Gateway FIPS mode.
Reason
https://konghq.atlassian.net/browse/DOCU-2063
FT-1806.
Preview
https://deploy-preview-4306--kongdocs.netlify.app/gateway/latest/kong-enterprise/fips-support/
https://deploy-preview-4306--kongdocs.netlify.app/gateway/latest/kong-enterprise/#fips-support

@gszr  this LGTM. Can I merge this or do we need to wait for @fffonion

Adding the blocked label until legal review

All, I have merged all legal reviews and rebased onto latest release/gateway-3.0. Please give it a final look
(I messed up the rebase, had to use the git reflog to recover, so please bear with me 😬).


glib: Only allow canonical names in property and signal builders

Fixes #409
Panics if handed a non canonical name

Just waiting on @bilelmoussaoui now. :)


Use CFFI to Reuse Code

Fix  #2710, if it works...
This PR could be made tidier with numpy.ctypeslib.ndpointer too.

Codecov Report

Merging #2714 into master will increase coverage by 0.04%.
The diff coverage is 37.5%.

@@            Coverage Diff             @@
##           master    #2714      +/-   ##
==========================================
+ Coverage   86.21%   86.26%   +0.04%
==========================================
  Files         321      321
  Lines       66277    66247      -30
  Branches     7393     7378      -15
==========================================
+ Hits        57142    57145       +3
+ Misses       7951     7918      -33
  Partials     1184     1184

@sklam ah, that makes the logic much clearer!

Thanks for your patch!


Update StorageEvent interface

fixes https://github.com/Microsoft/TypeScript/issues/6295
spec https://www.w3.org/TR/webstorage/

Hi @falsandtru, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

:+1: Thanks!


How to load the Sciter static library in Windows?

I have purchased the license for Sciter and compiled the static library, but how does Sciter load the static library in Rust?

Isn't the static library written in C?
I don't know that you can statically link a C library with a Rust program.

@GirkovArpa You can: https://doc.rust-lang.org/nomicon/ffi.html

@CHORDTAAX You can try this one: https://github.com/sciter-sdk/rust-sciter/pull/124


Matlab Code Used for Evaluation Related Questions, parallel computing, gpu

Hi, the Matlab code is easy to use and it has been modified very soon to generate the evaluation result. However, the efficiency is still low because of using CPU only. So, how can I speed up it like using the GPU to process the images?

you can use parfor mode in Matlab

I will have a try, thank you a lot!


Add accept attribute to resume upload file input to steer users to upload PDFs

https://stackoverflow.com/a/23706177

Implemented in #1845


ENH: Adding in ignore_missing_samples parameter

Added ignore_missing_samples parameter to the plot, biplot and procrustes_plot, addressing #64
I've tested it out, it works - let me know if you have comments.  Thanks!

Can you clarify how the documentation should change? If you have the actual
docs trying, that would help streamline things
On Tue, Nov 6, 2018, 10:00 AM Yoshiki Vázquez Baeza <
<EMAIL_ADDRESS>wrote:

@ElDeveloper requested changes on this pull request.
Just a couple of changes, but overall this looks great! Thanks for putting
this in @mortonjt https://github.com/mortonjt !!! 🎆
In q2_emperor/plugin_setup.py
https://github.com/qiime2/q2-emperor/pull/71#discussion_r231228330:

PARAMETERS_DESC = {
'metadata': 'The sample metadata.',
'custom_axes': ('Numeric sample metadata columns that should be '

               'included as axes in the Emperor plot.')

               'included as axes in the Emperor plot.'),

'ignore_missing_samples': (

   'This will overpass the error raised when the coordinates file '

   'contains samples that are not present in the mapping file. '

   'Be aware that this is very misleading as the PCoA is accounting '

Minor correction. In QIME2 the samples are not removed from the PCoA (as
in QIIME1), instead the samples are left untouched but are added to the
metadata with all the fields marked as This sample has no metadata. Can
you change this documentation to match that?
In q2_emperor/plugin_setup.py
https://github.com/qiime2/q2-emperor/pull/71#discussion_r231228943:

@@ -73,6 +86,12 @@
'sample_metadata': 'The sample metadata',
'feature_metadata': 'The feature metadata (useful to manipulate the '
'arrows in the plot).',

   'ignore_missing_samples': (

I suggest referring to the parameter description above through the
dictionary i.e.
'ignore_missing_samples': PARAMETERS_DESC['ignore_missing_samples']),
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/qiime2/q2-emperor/pull/71#pullrequestreview-172152270,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_a3VjLBhFB48q38dmm0Nz3iOApcuzLks5usc4-gaJpZM4YPvaT
.

Can you clarify how the documentation should change? If you have the actual
docs trying, that would help streamline things

OK, what do you think about this:
'This will overpass the error raised when the coordinates file '
'contains samples that are not present in the mapping file. '
'Samples without metadata are included by setting all '
'metadata values to: "This sample has not metadata". This '
'flag is only honored if at least one sample is present in both '
'the coordinates file and the metadata'

Awesome! Thanks!
On Tue, Nov 6, 2018, 3:06 PM Yoshiki Vázquez Baeza<EMAIL_ADDRESS>wrote:

Merged #71 https://github.com/qiime2/q2-emperor/pull/71 into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/qiime2/q2-emperor/pull/71#event-1950341294, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD_a3ZInu7EavFvVZDIh2fYvJ_oX8XLOks5ushX6gaJpZM4YPvaT
.


update deployment plan link

please publish updated deployment plan link

@BarbaraSelden : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Bump version to 1.36.1 for April hotfix.

Bump version directly in the release branch for April hotfix.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 42.251%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
27684

Relevant Lines:
61258

💛  - Coveralls


Allow multiple, comma separated tabs to be opened in Arc

Description
Bit of a niche feature, but I thought it would be an handy addition for random use case
If you provide multiple urls that are command separated to the "New Tab" command, it will iterate through the list and open multiple tabs
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I can see it become handy at some point for me and it works as expected.
Does anyone of you @thomaspaulmann @pomdtr @zach-fuller @ankitchouhan1020 @pernielsentikaer @danpalmer @danulqua @rgrunberg @Visual-Studio-Coder have any feedback here?
The flow is not changed at all, just enhanced a bit


Installation fails

Hi
This node is failing during installation.
Using the recommended versions of NPM and Node-Red.
Anyone else have the same problem?
npm.txt
Thanks

Install also failing here (on OS X):
$ npm install node-red-contrib-freeboard

><EMAIL_ADDRESS>postinstall /Users/mvherweg/.node-red/node_modules/node-red-contrib-freeboard
> node rewritefiles.js

{ Error: ENOENT: no such file or directory, open 'node_modules/freeboard/index.html'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'node_modules/freeboard/index.html' }
{ Error: ENOENT: no such file or directory, open 'node_modules/freeboard/js/freeboard.js'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'node_modules/freeboard/js/freeboard.js' }
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open 'node_modules/freeboard/plugins/thirdparty/jquery.keyframes.min.js'
    at Error (native)

Me too; only 0.0.5 worked for me.

Me too, tried 2 different node-red installation servers -> fails the same way during install

The same here on Raspberry Pi on Raspbian.

Confirm.
Can be installed manually:
0) cd ~/.node-red

git clone https://github.com/Freeboard/freeboard.git
npm install freeboard
git clone https://github.com/urbiworx/node-red-contrib-freeboard.git
npm install

Looks like install rule for freeboard does not work
But "save" button silently does not work for me.
Tested on ubuntu/Mint x84_64 with "clean" nodejs 6.x and latest "clean" node-red installation

manual installation does not work for me. Steps complete fine, but the freenode node does not show up in the node list.

+1

This is the message i get from either manual or normal install:
npm WARN .node-red Invalid dependency: zeparser undefined
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! unexpected end of file

same issue here. (Ubuntu 16)
><EMAIL_ADDRESS>postinstall /usr/lib/node_modules/node-red-contrib-freeboard
> node rewritefiles.js

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: EACCES: permission denied, open 'node_modules/freeboard/plugins/thirdparty/jquery.keyframes.min.js'
    at Error (native)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node rewritefiles.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-07-17T19_20_04_459Z-debug.log

Wow, this is over a year old already and still not solved?

#27
Same here! I hope there is a fix soon, because i need it for lecture 7 on noderedguide.com :)

@vleud101, I guess there will be no fix.
Newer versions of NodeRed offer a dashboard toolkit that is capable to replace at least part of the functionality of FreeBoard, if not all:
https://flows.nodered.org/node/node-red-dashboard

Hi @jsilence  thanks for your comment so quickly, I did knwo there was a kind of that stuf but i hoped to learn it with the tuturiols : )  (http://noderedguide.com/lecture-7-node-red-dashboard-part1/)
Thanks again, I gonna take a look!

Yeah, node-red-dashboard is very nice to be honest. It is not a solution to this issue, but I am using it too in favor of freeboard. So I don't need freeboard.

I was having the same issue but it works if I do "npm install freeboard" and then "npm install node-red-contrib-freeboard".

I have the same problem with node v12.14.1, npm  v6.13.4 and the message : Error while executing:
undefined ls-remote -h -t git://github.com/freeboard/freeboard.git ???
Do you have an idea?
Thanks


react-router-config - You should not use  outside a  (it is inside a Router!)

Version
5.0.0
Steps to reproduce
Use react-router-config with a static routes map
Expected Behaviour
It should work the same as in version 4.3.0
Actual Behaviour
Uncaught Error: Invariant failed: You should not use <Switch> outside a <Router>
    in Switch
    in Router (created by MyRoutes)
    in Provider (created by MyRoutes)
    in MyRoutes```

Note from the component stack that my Switch is most definitely inside a Router.

I'm not sure if this issue may be specific to my use of `react-router-config` package, or that I'm wrapping the router in a redux Provider.

Also note that I have verified that no old instances of react-router 4.x are lingering around in my node_modules (I saw another issue suggesting that this might be causing this issue).

I just tried to reproduce this on code sandbox and it works fine. So I'll close the issue.
General comment though, is that this new usage of rollup cjs/esm bundles is a fairly large disaster for people trying to use react-router.
I'd strongly recommend not using that approach if you want to be developer friendly... :-/

I had the same issue. This worked in v4.x but surprisingly broke in v5. My fix was to make sure that I imported everything from 'react-router-dom'. Previously, I mixed between 'react-router' and 'react-router-dom'. According to this comment 'react-router-dom' re-exports stuff from 'react-router'. I think this deserves to be looked at more.

yeah, in my case it was related to the fact that I have a custom package that replaces react-router-config because they've been ignoring my PR for months, so I had to publish my fork to unblock.
Turns out I just had to fully publish my updated package and then it worked (after a couple of hours fighting to update my package to the new weird CJS vs ESM rollup builds).
I really wish they'd just keep the old-style es builds without all the rollup overhead, it'd be so much simpler...

I am getting the same issue was working fine on react router 4 , upgraded and it broke , however i only get this error when i build the app using webpack production mode  : ( ,

I was using react-router-redux which is deprecate. Switching to connected-react-router resolved this problem for me.

Use connected-react-route
and
"react-router": "^4.3.1"
"react-router-dom": "^4.3.1"

The same issue when using StaticRouter in SSR

@jovinbm It's good job.
Invariant failed: You should not use <Switch> outside a <Router>
Invariant failed: You should not use <Link> outside a <Router>

Having the same issue with StaticRouter in SSR. Reopen?

I had the same issue. I'd caused it myself, but here's an explanation in case someone else runs into the same problem.
We'd created a couple routes and published them internally in our package @org/components. Then, I tried to use these routes in @org/webapp. The versions for react-router and react-router-dom did not match exactly, so there were two different React.Context values: one for<EMAIL_ADDRESS>and one for<EMAIL_ADDRESS>The solution: make the following changes to the @org/components codebase

Move react-router-dom and react-router from dependencies to devDependencies
Copy react-router-dom and react-router into peerDependencies
Republish

Now, there's only a single routing context, meaning the <Route> components can find their parent <Router> as intended.

I'm having this exact issue and none of these solutions or workarounds did anything for my situation. My scenario is the same as the one @ryaninvents mentions, but that solution didn't work for me either. I cleaned both node_modules folders and reinstalled every dependency on both projects with special care to version numbers and nothing.
Is there any way to check where routing context is being lost?? Components work fine in the library, and router works fine in the app. But if I want to use a component in the library that uses Link, NavLink, or any other router component, from the app, it fails. Context is always lost, and I have no clue what else to do.

Btw, if someone else stumbles upon this very same strange issue, I got tired of searching for a solution. I downgraded both react-router and react-router-dom  to version 4.3.1 and now it works like a charm.
Don't bother losing time on this, and try again in a few months... or years.

@alerizzo Then you should stay on version 4.3.1 forever, because the way React Router uses the new context api is the way that React Context works: if you create two different context instances they will never be the same. The only thing we can do is, that we detect the parallel use of two different contexts and give a clearer notification about it.

@alerizzo are you using npm link? If so, even if the versions match you'll end up with two installations of react-router because dependencies are installed before the symlink is created.
If anyone else is using Yarn, has not linked their packages, and has this issue, it may be possible to fix this with the resolutions field. I'm not very familiar with Yarn though so can't be more specific in my advice.

@MeiKatz thanks! I used to have a similar issue with moment.js and with mobx, and I understand why this error happens. Maybe this is "not exactly the same use case" but, those two libraries solved the issue searching for an already created instance and use that instead.
@ryaninvents yep! I'm using npm link , but I don't understand why, because when I had this kind of issue with mobx or moment, it worked fine moving dependencies to peer and dev.
But, if that's the case.... how should I suppose to use any react router component inside my company's components library (without using npm link)?  Publishing every time I make a change during development doesn't sound very friendly...

@alerizzo I have the same question! To be clear, I'm not affiliated with the React Router project at all... I'm just a developer who has learned a few strange lessons, most of them the hard way.
I'm trying to figure out the same workflow myself, and am considering writing a utility once I figure out a workflow that isn't completely horrible. What I've got in my head so far:

Organize your package so that all published code is contained in a single directory, such as /lib. In other words, package.json should specify something like "main": "lib/index.js" instead of "main": "index.js".
Run the build step for @org/component.
Use npm pack to generate a tarball of @org/component, then install this tarball in @org/webapp.
Inside webapp/node_modules, delete the @org/component/lib directory, and instead symlink the lib directory under your "component" workdir where your build output goes.
Now, any time you make source changes, they should get picked up by the consuming package. Unfortunately, if you update your dependencies or anything else about package.json, you need to go through the whole tarball song and dance again.

This is just a plan; I haven't had the need to test it yet.

Also having this issue after trying to npm link a package of components with a peer dependency on react-router-dom into another application. Not sure if this is react-router, npm link, or issues with react's new context APIs. The same code works when publishing the component package to a registry an installing it from there.

Btw, if someone else stumbles upon this very same strange issue, I got tired of searching for a solution. I downgraded both react-router and react-router-dom to version 4.3.1 and now it works like a charm.
Don't bother losing time on this, and try again in a few months... or years.

May be you should update webpack to latest version ? It helps me.


🍒 Cherry pick PR #10113 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/10113 to staging 🍒

This pull request has merge conflicts and can not be automatically merged. :disappointed:
Please manually resolve the conflicts, push your changes, and then request another reviewer to review and merge.
Important: There may be conflicts that GitHub is not able to detect, so please carefully review this pull request before approving.

🚀 Cherry-picked to staging by @yuwenmemon in version: 1.1.86-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @yuwenmemon in version: 1.1.86-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fix t33 sizeof array div

Fic ticket #33 and some array initialization warnings.

Ok for me, except the comments:
Number of 32 bits words in array -> Number of 32 bit words (or Number of 32-bit words), same for 64.

Fixed


[controller] Update version status on parent

Previously version status on parent is always STARTED; this PR enabled parent controller to update version status properly when job polling function returns a terminal status for a batch push.
How was this PR tested?
Internal CI
Does this PR introduce any user-facing changes?
Yes, Nuage reads version status from Venice parent controller.
This PR will not be merged until the release with new version status is running stably for parent controllers and Nuage in production; otherwise, once we start writing the new status on ZK, we cannot rollback parent controller and Nuage anymore.
Is there any other application that reads version from parent controller?

This PR will not be merged until the release with new version status is running stably for parent controllers and Nuage in production

Do you recall what's the release number we are waiting for? Just want to make sure we still have traction on this PR in case we forget this completely.

This can't be merged until an upgrade in all Samza users.


Add links to rendered docs and  blog post in README

Thanks @willingc, good suggestions. Also added a link to CONTRIBUTING.md. I think more can be added later, the README is still a little short.


python312Packages.nbformat: 5.9.2 -> 5.10.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.nbformat is: The Jupyter Notebook format
meta.homepage for python312Packages.nbformat is: https://jupyter.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.10.3 with grep in /nix/store/pw5h7492f4xqk4jlqj873wd1sbd9qj47-python3.12-nbformat-5.10.3
found 5.10.3 in filename of file in /nix/store/pw5h7492f4xqk4jlqj873wd1sbd9qj47-python3.12-nbformat-5.10.3

Rebuild report (if merged into master) (click to expand)

238 total rebuild path(s)

238 package rebuild(s)

First fifty rebuilds by attrpath
cantor
deface
easyocr
ihaskell
jupyter
jupyter-all
labplot
libsForQt5.cantor
manim
nbqa
nbstripout
nitrokey-app2
opsdroid
plasma5Packages.cantor
pynitrokey
python311Packages.ansible-kernel
python311Packages.arviz
python311Packages.augmax
python311Packages.bambi
python311Packages.batchspawner
python311Packages.bqplot
python311Packages.bqscales
python311Packages.cirq
python311Packages.cirq-ft
python311Packages.dalle-mini
python311Packages.datashader
python311Packages.devito
python311Packages.distrax
python311Packages.dm-haiku
python311Packages.dockerspawner
python311Packages.easyocr
python311Packages.einops
python311Packages.elegy
python311Packages.encodec
python311Packages.experiment-utilities
python311Packages.fastai
python311Packages.fastembed
python311Packages.ffcv
python311Packages.flax
python311Packages.folium
python311Packages.insightface
python311Packages.ipydatawidgets
python311Packages.ipytablewidgets
python311Packages.ipyvuetify
python311Packages.jupyter
python311Packages.jupyter-book
python311Packages.jupyter-cache
python311Packages.jupyter-collaboration
python311Packages.jupyter-contrib-core
python311Packages.jupyter-contrib-nbextensions

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pw5h7492f4xqk4jlqj873wd1sbd9qj47-python3.12-nbformat-5.10.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.nbformat https://github.com/r-ryantm/nixpkgs/archive/42dfd927ff79b2c36fa5b427e443bcf0ae0d505c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/42dfd927ff79b2c36fa5b427e443bcf0ae0d505c#python312Packages.nbformat

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pw5h7492f4xqk4jlqj873wd1sbd9qj47-python3.12-nbformat-5.10.3
ls -la /nix/store/pw5h7492f4xqk4jlqj873wd1sbd9qj47-python3.12-nbformat-5.10.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 120m and timed out

Maintainer pings
cc @FRidh @globin for testing.

included in https://github.com/NixOS/nixpkgs/pull/297752


can't new an project

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 114, in _save
_write_file(fname)
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 110, in _write_file
with open(fname, 'w', encoding='utf-8') as configfile:
FileNotFoundError: [Errno 2] No such file or directory: '/media/ashley/My Passport/linux/xray/code/project/xray/.spyproject/workspace.ini'
Traceback (most recent call last):
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/plugins/projects.py", line 233, in _create_project
self.open_project(path=path)
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/plugins/projects.py", line 260, in open_project
self.set_project_filenames(self.editor.get_open_filenames())
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/plugins/projects.py", line 324, in set_project_filenames
self.current_active_project.set_recent_files(recent_files)
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/widgets/projects/type/init.py", line 74, in set_recent_files
list(OrderedDict.fromkeys(recent_files)))
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 448, in set
self._save()
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 124, in _save
raise(e)
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 120, in _save
_write_file(fname)
File "/home/ashley/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 110, in _write_file
with open(fname, 'w', encoding='utf-8') as configfile:
FileNotFoundError: [Errno 2] No such file or directory: '/media/ashley/My Passport/linux/xray/code/project/xray/.spyproject/workspace.ini'
Version and main components

Spyder Version: 3.2.3
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.6.4 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
psutil >=0.3     :  5.3.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.0 (OK)
cython >=0.21    :  0.25.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  5.3.0 (OK)
pylint >=0.25    :  1.7.4 (OK)

Thanks for reporting. This error appears to be a duplicate of #5765 , which is currently being looked at. If you have more details about the circumstances in which it occurs, it would be helpful to post that over there. If it is indeed a Spyder bug, it should hopefully get fixed soon, but in the meantime some workarounds for you to try:

Restarting Spyder
Trying to create the project somewhere else
spyder --reset at the terminal/command line
Clean uninstall and reinstall of Anaconda

Best of luck!


auto suggestion wrong webpack config

Do you want to request a feature or report a bug?
feature

What is the current behavior?
When I play with the webpack1, and input moduleDirectories carelessly rather than modulesDirectories, just missed one letter. It took me a lot of time to debug.
If the current behavior is a bug, please provide the steps to reproduce.
No

What is the expected behavior?
Would be awesome If webpack can figure out the most similar config, and give the suggestion like git.
When I type git pust, and the git gave me the suggestion:
Did you mean this? push
If this is a feature request, what is motivation or use case for changing the behavior?
It may be save someone's day.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
No
Thanks

webpack2 does this.

Thanks for your awesome work.


Sound Issues in Some Games

The sound gets very choppy/static-like while playing certain games. And I mean the sound in general. So even the notification sound can come through choppy/static-like. Crusaders Quest and Dragon Blaze are two games where I'm having this issue. Final Fantasy Record Keeper and Final Fantasy Brave Exvius are two games that do not seem to have this issue.

In addition to this, the sound issues can also be heard with games like Fantasy War Tactics and Nonstop Knight. I believe it may have something to do with over usage of computer resources, possibly the CPU, RAM or Graphics.

Thanks for the feedback. We noticed this issue and are investigating it.

I've this issue too when I play the game HIT。When severe, starved to crash the VM

Same issue with Deus Ex Go.

Sound issues with Bleach: brave souls (it has 2 songs running in background instead of just 1 also sometimes no music will be playing).
Might be related to issue #62


Feature 206 sechub analyzer cli

SecHub Analyzer CLI is command line tool, which searches for SecHub markers in files. The markers are:

Start: NOSECHUB
End: END-NOSECHUB

The Analyzer CLI markers are programming language agnostic.

Jeremias Eppler<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Implements: #206

Review has been done, PR will be merged

Albert Tregnaghi<EMAIL_ADDRESS>Daimler TSS GmbH, imprint


No lyrics in Full Screen

There is no lyrics in the fullscreen option no matter how much I configure it.
Screenshot

Did you follow this note?

Thank you, no I didn't. Sorry for the trouble!

No trouble :)


doc:adding doc for pocketlab

Adding documentation for pocketlab
Added pocketlab.rst ,pl_gui_views.rst
and pl_firmwaqre_architecture.rst.
Added Pocketlab section to IIO Tools section.

Hi all, are there any comments on this PR?

@D-Disha Can we also add proper commit and PR description ?

nit: Typo in commit description (spelling of pl_firmware)


Abnormal Turbo LED behaviour with PWM Player LEDs

LED Positive to 3.3v, LED Negative to GPIO:
Nothing set to turbo: LED off (expected)
Button set to turbo but not being pressed: LED off (unexpected, should be on with no blinking)
Button set to turbo and is pressed: LED blinks on and off (dim) (blinking expected, dimness unexpected)
LED Positive to GPIO Pin, LED Negative to GND:
Nothing set to turbo: LED on (bright) (unexpected, should be off)
Button set to turbo but not being pressed: LED on (bright) (expected)
Button set to turbo and is pressed: LED flashes on and off (bright) (expected)
Pins used:
Player LED 1 through 4 = GPIO 26 through 29
Turbo = GPIO 23
Turbo LED = GPIO 24

Through some chatting this only appears to be an issue when all 5 LEDs are connected (PLED 1-4 + Turbo).
Will test on my own unit and see if I can replicate when I have some time

We have tested this on the new v0.7.2 RC4 and cannot replicate the issue.  I am going to close for now and if you can still replicate please open a new issue and we can check it out in more depth.


[BUG] Can't clear DatePickerInput

When attempting to clear the datepickerinput by returning either "" or None does not actually clear the input. Setting a specific date works, but trying to return an empty string or None should clear the input but does not.

Seeing the same exact behavior as @olincb describes with NumberInput.
from dash import callback, Dash, html, Input, Output
import dash_mantine_components as dmc

app = Dash(__name__)
app.layout = html.Div([
        dmc.NumberInput(
            label="Enter a number",
            id="number"
        ),
        dmc.Button(
            children='clear inputs',
            id='clear',
            n_clicks=0
        ),
        html.Div(
            id="value"
        )
])

@callback(
    Output("number", "value"),
    Input("clear", "n_clicks"),
)
def update_value(n_clicks):
    if n_clicks == 0:
        return dash.no_update
    if n_clicks > 0:
        return None

@callback(
    Output('value', 'children'),
    Input("number", "value"),
)
def print_value(number):
    return html.P(f'NumberInput Value: {number}')

if __name__ == "__main__":
    app.run_server(debug=True)

Guys you can use the v 0.13.0a3 with mantine v6, I haven't experience any issue with Null or empty strings as value params for the component.

Please use the 0.14.
0.13 was an alpha series.


Adsk contrib - Built-in configurations

This PR covers the Built-in configuration feature (formerly Default configs).
I've included one CG config (cg-config-v0.1.0_aces-v1.3_ocio-v2.1.1.ocio) among the changes. In the future, more configurations and configuration types may be added.
With these modifications, the OCIO environment variable may now be set to the following values:
Using URI format:
OCIO=ocio://default
OCIO=ocio://cg-config-v0.1.0_aces-v1.3_ocio-v2.1.1
And as before the Built-in config feature:
OCIO=path/to/my/config/cg-config-v0.1.0_aces-v1.3_ocio-v2.1.1.ocio
Because the Configs Working Group is still working on the CG config, we will do a follow-up PR to replace it once the final version is ready.  However, once a Built-in config is included in an official release, the intent is to preserve it for backwards compatibility.  The implementation allows for multiple versions of a given config.

This PR is finished so I'll go ahead and merge it to allow people to experiment with the new feature.  But please take note that the current built-in is only for testing and we will remove it and replace it with the official version of the CG config (with a different name string), once it is released.


Paragraph style missing in contribution page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In the contribution page everything is center except paragraph(justified)

Steps To Reproduce
footer->contribute->see bug
Expected Behavior
We have to make it center

Screenshots
No response
Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
No

@Malavi1 shall I take this up if @tanmoysrt approves this.

I think we can keep this to assign to first time contributors, as it's a good first issue

@Malavi1 shall I take this up if @tanmoysrt approves this.

hello @Malavi1 can i work on this issue?

Hey @Malavi1 can i work on this issue??

hello @tanmoysrt @Malavi1 can i work on this issue?

Sure you can work on.

Hi, @foad-khan
Before making PR do follow the contribution guidelines. It's not good practice to make PR without assign
https://github.com/CircuitVerse/CircuitVerse/blob/master/CONTRIBUTING.md
Even if you raise PR definitively mentors won't consider. You did the same thing with this issue IG #4539
cc: @tanmoysrt

Hello @Malavi1
I am new in open source and very enthusiast about it, I was not much aware of guidelines, very sorry for this next onwards I will surely remember it
Thank you  🙏

That's fine @foad-khan 👍
It's all about learning

Sure! @Malavi1
Please assign me some issue on which I can work on.

hey @tanmoysrt  can you assign me some good first issue so that i became comfortable with CircuitVerse code base and to gain motivation to work forward in my open source journey.

hii @tanmoysrt ,is this issue still open ?

hii @tanmoysrt ,is this issue still open ?

no this issue is already assigned to @ManeetChhabra


Fix link in documentation

current error:
[check:html     ] public/camel-k/next/traits/resume.html
[check:html     ]   1:26860  error  For links within camel.apache.org use relative links, found: https://camel.apache.org/components/next/eips/resume-strategies.html  camel/relative-links
https://github.com/apache/camel-website/actions/runs/3044416569/jobs/4904782627#step:5:9
Can someone with either a camel-website configured correctly locally or know from the top of their head validate that i provided the correct syntax?
cc @tadayosi

Release Note
NONE

Can we disable the link temporary so the website can be updated.
How to link between sub projects is different than relative links within a single sub project.

And as Claus says, I think we can remove the link for the time being to make the website generated.

replaced by https://github.com/apache/camel-k/pull/3642 and reported https://github.com/apache/camel-k/issues/3643 to set back the link


Sonoff Mini devices stop responding in Home Assistant

Sonoff Mini devices stop responding in Home Assistant. I need to reboot the sonoff device to get it working in HA again. The device will still work in eWlink with no issue compared to HA where the device will show offline (greyed out). This happens randomly and is not device dependent  I have 9 sonoff mini's in my setup.

Please show your config

I have only one mini in DIY mode for testing. The rest is running normal in cloud mode. The issue will happen in DIY mode and in cloud mode. After a hard reset the device will work again for a day or two. Resetting HA will have no affect.
Unflashed SONOFF devices
sonoff:
username: ******
password: *******
mode: local
reload: always
sensors: temperature
devices:
1000e56bfe:
device_class: light
name: Sonoff Mini

The device was config to use DHCP. I have moved them over to a static IP profile. Will this make a difference?

My setup is a Raspberry Pi and make use of a docker system for HA.

Check docs about problems in local mode. Auto mode without DIY works best

Thanks I use now local and Cloud mode


Uncaught TypeError: this.registry.startIdForScope is not a function

[Enter steps to reproduce:]

...
...

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: this.registry.startIdForScope is not a function
At C:\Users\SCI01726\AppData\Local\atom\app-1.24.0\resources\app\node_modules\first-mate\lib\grammar.js:324

TypeError: this.registry.startIdForScope is not a function
    at Grammar.module.exports.Grammar.startIdForScope (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/first-mate/lib/grammar.js:324:34)
    at TextMateLanguageMode.tokenizedLineForRow (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-mate-language-mode.js:428:30)
    at TextMateHighlightIterator.seek (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-mate-language-mode.js:746:49)
    at ScreenLineBuilder.buildScreenLines (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/text-buffer/lib/screen-line-builder.js:83:58)
    at DisplayLayer.getScreenLines (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/text-buffer/lib/display-layer.js:643:41)
    at DisplayLayer.getScreenLine (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/text-buffer/lib/display-layer.js:639:60)
    at TextEditor.screenLineForScreenRow (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor.js:1243:36)
    at TextEditorComponent.requestHorizontalMeasurement (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor-component.js:2258:47)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor-component.js:372:18)
    at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor-component.js:274:16)
    at TextEditorComponent.didShow (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor-component.js:1457:18)
    at TextEditorComponent.didFocus (~/AppData/Local/atom/app-1.24.0/resources/app/src/text-editor-component.js:1481:35)
    at HTMLElement.addEventListener (/app.asar/src/text-editor-element.js:36:67)
    at HTMLElement.PaneElement.activeItemChanged (/app.asar/src/pane-element.js:170:25)
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Pane.setActiveItem (~/AppData/Local/atom/app-1.24.0/resources/app/src/pane.js:435:26)
    at Pane.activateItem (~/AppData/Local/atom/app-1.24.0/resources/app/src/pane.js:575:18)
    at TabBarView.module.exports.TabBarView.onClick (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/tabs/lib/tab-bar-view.js:721:25)

Commands
     -1:10 intentions:highlight (input.hidden-input)
     -1:09.9.0 core:undo (input.hidden-input)
     -0:40.4.0 intentions:highlight (input.hidden-input)
  3x -0:40.2.0 core:undo (input.hidden-input)
  5x -0:39.5.0 core:redo (input.hidden-input)
     -0:07.1.0 intentions:highlight (input.hidden-input)
     -0:07.0 core:paste (input.hidden-input)
     -0:05.6.0 intentions:highlight (input.hidden-input)

Non-Core Packages
atom-monokai 0.10.9
busy-signal 1.4.3
dark-flat-ui 1.2.4
file-icons 2.1.16
go-debug 1.6.0
go-plus 5.6.0
go-signature-statusbar 1.2.3
hyperclick 0.1.5
intentions 1.1.5
language-textile 0.2.0
linter 2.2.0
linter-ui-default 1.6.10
minimap 4.29.7
monokai 0.24.0
platformio-ide-terminal 2.8.0
pristine-ui 1.1.11
tasks 2.9.1

Seems like this only happens to me when I open an html file that doesn't have a <body> node.

@yuhei159 I don't know that this should be closed. I have several HTML fragment files that serve as templates. I can't open them in atom without the workaround above, or by renaming them to .txt while I edit them. I think this is still a bug.

@njakobsen Since they have tasks installed, I'm assuming their issue is a duplicate of #16741 and should stay closed. If you also have tasks installed updating to the latest version should fix this. If you don't have tasks installed and can reproduce this issue please file a new issue with how the Atom team can reproduce it so it can be looked into.

@Arcanemagus I don't have tasks installed so I've filed https://github.com/atom/atom/issues/16820


[Chore] Rename to Kanvas

Current Behavior

Desired Behavior

Screenshots / Mockups

Implementation

Acceptance Tests

Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

📚 See contributing instructions.
🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.

Join the Layer5 Community by submitting your community member form.

@vishalvivekm status?

I took care of this, @vishalvivekm


Improving API for unstable shouldUpdate and onUpdate

Addressing issue #8 . Thanks @gaearon for the reviews.
This only exposes:

a ref, same that would be provided by React when using ReactDOM.render(...) and refs in general;
a file name where that ref is defined.

Will this allow inspecting the ref to see what context names it's subscribed to? If not, that would be useful information to expose as well.

@wmertens is that information available in this.context within a React instance? If so, then yes, it has that as well as props, state and any instance properties. Otherwise, it might be available in this.constructor, which should also be available for class instances. You can check it out by executing ReactDOM.render(...) on a node that is subscribed to context names, and seeing if what's returned contains what you are looking for.

I am not sure, this is the approach I took before: https://github.com/gaearon/react-deep-force-update/pull/4/files#diff-1fdf421c05c1140f6d71444ea2b27638R25
Basically, if the contextName is a function on the class's contextTypes, that would be the correct test, but not sure if we can get at that information via ref?

@wmertens, I see from your code that you were using internalInstance._instance.context[contextName], and ref is in fact internalInstance._instance (on stack-based React), so the use case is definitely still possible.

Sounds good, will update soon.

This removes support for shouldUpdate and onUpdate for stack-based React. We should make sure to address #10.

@bfiss you should add test on Fiber if possible

Talked with @gaearon and we decided to upgrade React to 16. This will automatically get the tests on Fiber.

There's a new warning, but I guess it should be okay to ignore:

Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills

Thank you so much for your work 🙏
I really need to have this PR merged.
Any ETA?

I didn't follow it, @bfiss @gaearon any update?

@neoziro @chabou @gaearon this is being used extensively within Facebook, which is on Fiber. This was just waiting for the tests to actually run on Fiber, it should be good to go since the tests are running on Fiber now.

@gaearon @bfiss even I think we should document shouldUpdateClosestClassInstance and onUpdateClassInstance in the readme. Also it is a breaking change. We should release it under a v3 right?


[ChatVertexAI] 'ChatSession' object has no attribute '_history'

System Info
Linux-6.3.7-1-default-x86_64-with-glibc2.37
Python Version: 3.10.11
Langchain Version: 0.0.21

Who can help?
No response
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Input
from langchain.chat_models import ChatVertexAI
from langchain.schema import HumanMessage, SystemMessage, AIMessage
chat = ChatVertexAI(temperature=0.7,verbose=True)

chat(
    [
        SystemMessage(content="Assume you are an expert tour guide.Help the user and assist him in his travel"),
        HumanMessage(content="I like lush green valleys with cool weather. Where should I go?"),
        AIMessage(content="Switzerland is a nice place to visit"),
        HumanMessage(content="Name some of the popular places there to visit")

    ]
)

Response
File [~/gamedisk/PyTorch2.0_env/lib/python3.10/site-packages/langchain/chat_models/vertexai.py:136], in ChatVertexAI._generate(self, messages, stop, run_manager, **kwargs)
    134     chat = self.client.start_chat(**params)
    135 for pair in history.history:
--> 136     chat._history.append((pair.question.content, pair.answer.content))
    137 response = chat.send_message(question.content, **params)
    138 text = self._enforce_stop_words(response.text, stop)

AttributeError: 'ChatSession' object has no attribute '_history'

Expected behavior
It is expected to return an object similar to  this
AIMessage(content='Lauterbrunnen is a nice place to visit', additional_kwargs={}, example=False)

I'm experiencing this too in RetrievalQA.from_chain_type, depending on the chain_type

Google updated the ChatModelBase Class. It no longer has history attribute. Instead, it has an attribute called message_history. To get the code working, you can downgrade google-cloud-aiplatform to 1.26.0. I believe you are using 1.26.1.
https://github.com/googleapis/python-aiplatform/commit/bf0e20b497675125e0bc5abc10455b06f7a0c019

Yes, I am using google-cloud-aiplatform version 1.26.1. And downgrading to 1.26.0 makes the code work as expected. Thanks for your help.


help_text does not allow html even if mark_safe'd

While using a form both in django-bootstrap3 and django-bootstrap4, I came accross an inconsistency. The form looks like this:
class UserSignupForm(...):
    ...
    accept_terms = forms.BooleanField(
        required=True,
        label=_('I accept the user agreement')

The template looks like this:
{% load bootstrap3 %} {# or bootstrap4 #}
{% bootstrap_field form.accept_terms %}

django-tables3 renders it like this (like expected):

django-bootstrap4 on the other hand, renders it like this:

my bad, this actually works properly if mark_safe is applied.


Optimizing shell-out behavior in browser program

Hello, for years I've wanted an RSS reader that I described as "mutt for RSS." I'm so glad you're here!
One really cool feature on OSX's third-party terminal iTerm is that it supports a proprietary (boo, but here we are) escape code to render encoded base-64 data in-buffer. Otherwise said, iTerm can cat images (both from disk and from network). This is a very lightweight way to enjoy newsboat: open urls with imgcat. I've gotten an interface working, but I feel like I could be doing it better. Or maybe I'm not understanding the "shelling out" behavior to an external browser value.
Given:
:set browser="~/bin/imgcat -u %u"

If I use show-urls...

I can navigate to a (say) jpg, strike return, and there, in my shelled-out-to-shell, I can see an image:

This is so optimal for a mutt-as-rss reader: placeholder links that I can choose to fetch, quickly, without flipping contexts into another app (e.g. Firefox). Just gorgeous.
However, to signal done, return does not suffice. Instead I have to enter Ctrl+j, a pretty weird combo that emits, to the best of my research, the Linefeed flow control character. Nevertheless, this does send me back to newsboat and I am happy. With Twitter's ongoing...issues, using RSS to browser Mastodon is a real shiny use case for newsboat: instead of an infinite scroll that fills your life with noise and pain, why not use a light RSS reader to catch up and then be "done." Glorious, I say!
I'm wondering if anyone more familiar with the signal handling and shelling-out code might be able to see where I've misunderstood things. I know some allowances are made to support text versus graphic mode browsers and if a funny keycombo is required for this huge improvement to workflow, so be it.

Update: I had a chance to iterate on the solution:
macro i set browser "~/bin/imgcat -u %u && read derp"; open-in-browser; set  browser lynx

This works pretty well because now I can look at a post, use u to see  the URLs, navigate to the image, and then ,i to shell out to see the image. Ctrl+D closes input and brings me back to newsboat. That's a pretty good setup. Still open for improvement ideas.

Inspired by @sgharms, this is my solution. I would love to have an option to add an image viewer inline, but this works for now:
macro i set browser "ttab -d '' imgcat -u %u" ; open-in-browser ; set browser lynx

It opens a new tab (iTerm2) and displays the image. ttab can be installed as a single executable bash file (manual installation)


Choosing and setting up a monorepo tool

I come across a restriction that won’t let us use GitHub Packages for things that we planned to (like reusing common-files on other repos etc).

You can install any package that you have permission to view.

https://docs.github.com/en/packages/learn-github-packages/installing-a-package
Even when the package is public and you can see that on GitHub (example: https://github.com/pawelgrzybek/github-packages-monorepo-poc/pkgs/npm/github-packages-monorepo-poc-a), you can’t install it. You can do so only when you have a sufficient permission level (PAT - public access token) issued by the organisation (EYBlockchain in our case).
We have two options:

Use GitHub packages just to make our life easier on nightfall_3 repo. That will still simplify the way how we manage common-files and how we copy/paste directories accross Docker containers. It won’t help us a lot with importing that outside od nightfall_3 repo, like SKD
Move to npm registry


Minio S3 support request

Hello,
is there any plan to support minio s3 endpoints?
Thanks

Hey @alexbarta,
Thanks for bringing this up!
Adding support for minio is definitely something that can be done.
Would you like to get involved and try to take this on?

Thanks for the fast reply!
I was already looking into setting a custom s3 configuration like in this example but with a os.Getenv approach:
https://github.com/minio/cookbook/blob/master/docs/aws-sdk-for-go-with-minio.md
However I have problems compiling my own project fork.. I'll raise a separate issue for that.

Thanks for helping us improve skbn!
As a guideline, try to keep things as similar as you can to current implmentation.
For example, AWS has a credentials chain (there is a link in the README file). try to avoid using the credentials environment variables explicitly.
Another example would be to try and keep the usage of --dst like it is used today. I know that to use minio you will have to provide the URL where minio can be found, but maybe there is a way to provide that as an environment variable or as a separate flag.
If you need any help, let me know :)
Good luck!

I have assigned the issue to you to keep things visible :)

got it working with latest minio! see this commit (no command line impacted :) )
https://github.com/alexbarta/skbn/commit/cda0ae2a2bb3704dc4450932f034539ba7a83ab6
I have used the following envs:
export AWS_ACCESS_KEY_ID=minio
export AWS_SECRET_ACCESS_KEY=minio123
export AWS_S3_ENDPOINT=http://minio-svc.default.svc.cluster.local:9000
export AWS_S3_NO_SSL=true
export AWS_S3_FORCE_PATH_STYLE=true
skbn cp --src k8s://default/cassandra-0/cassandra/etc/cassandra/cassandra.yaml --dst s3://cassandra

Can you check on aws side if it is still working fine ?

Hey,
That's a very elegant solution!
I like it a lot.
It currently doesn't work for AWS S3. The problem is with the endpoint (shouldn't pass it if this is not minio).
Something along the lines of the following snippet should fix it for both cases:
        awsConfig := &aws.Config{}

        // ...

	if disSSL := os.Getenv("AWS_S3_NO_SSL"); disSSL != "" {
		disableSSL, err := strconv.ParseBool(disSSL)
                // handle error
		awsConfig.DisableSSL = aws.Bool(disableSSL)
	}

        // ...

Would you like to create a PR for this? :)
Plus, from the example you sent (with cassandra), I assume you are interested in this feature to use cain?
https://github.com/nuvo/cain

Glad you like it!
And yes, I have started digging into cain (a very needed project kudos!) before finding skbn :) . Since I work on a local k8s + cassandra installation, reaching aws s3 is a bit problematic.
Btw, I have created the pull request. I will add commits to include your suggestions.

How do you plan to handle the ParseBool error ?

Actually, since ParseBool returns false for every invalid input, i don't think that we need an error handle.
Would you like to add a section about minio support in the README?

Sure I will

That was some very good work, thanks a lot!
Would you like to follow up on this and update cain as well?

Thanks for merging the code !
Sure no problem, I just need a couple of hours to test cain first with the new skbn.


How to run this demo

I opened the playground, with top status bar shown as "Running EmojiIntelligence", nothing happened.

Install the new Xcode update. Sometimes you have to wait or please show me a current screenshot

Watch this video to see how to run a playground on macOS https://www.youtube.com/watch?v=zkUZ2D9sSqo


Web workers not working in a multiple project workspace

🐞 Bug report
Command (mark with an x)

[ ] new
[x ] build
[ ] serve
[ ] test
[ ] e2e
[x ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
I don't know
Description
Using: ng generate web-worker, not working in a multiple project workspace
🔬 Minimal Reproduction
ng new my-app --> create a new app
...
cd my-app
ng g application another-app --> create another project
cd projects/another-app --> go inside the new project
ng generate web-worker app --> generate a web worker and adds the configuration
ng build --> build the project
🔥 Exception or Error
The web worker bundle is not in the build for the project
🌍 Your Environment

Angular CLI: 12.0.3
Node: 14.15.5
Package Manager: npm 6.14.11
OS: win32 x64

Angular: 12.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.3
@angular-devkit/build-angular   12.0.3
@angular-devkit/core            12.0.3
@angular-devkit/schematics      12.0.3
@schematics/angular             12.0.3
rxjs                            6.6.7
typescript                      4.2.4

Anything else relevant?

Thank you very much, that worked. Closing the issue.


Custom shape

Hello, I wonder if it is possible for me to create and add new shape / component library?

Yes, the documentation for mxShape shows how:
https://jgraph.github.io/mxgraph/docs/js-api/files/shape/mxShape-js.html#mxShape
Here are the first few paragraphs of the documentation:

To extend from this class, the basic code looks as follows.  In the special case where the custom shape consists only of one filled region or one filled region and an additional stroke the mxActor and mxCylinder should be subclassed, respectively.
function CustomShape() { }

CustomShape.prototype = new mxShape();
CustomShape.prototype.constructor = CustomShape;

To register a custom shape in an existing graph instance, one must register the shape under a new name in the graph’s cell renderer as follows:
mxCellRenderer.registerShape('customShape', CustomShape);

The second argument is the name of the constructor.
In order to use the shape you can refer to the given name above in a stylesheet.  For example, to change the shape for the default vertex style, the following code is used:
var style = graph.getStylesheet().getDefaultVertexStyle();
style[mxConstants.STYLE_SHAPE] = 'customShape';


Issues around get and pointers

I use nlohmann json quite extensively to de-serialize many types from json conveniently. I've written from_json specializations for quite a few standard library types and third party types, and recently I've come across a very awkward situation.
I'm currently working with the Howard Hinnant date library, which is also slated for inclusion in C++20 IIRC. One of the aspects of this library is that it's not really possible to work directly with timezone objects. The timezone objects themselves are stored in a singleton that is typically constructed at initialization time from reading the OS IANA database. Instead, you call const date::timezone* date::locate_zone(string_view); that is in user code you mostly work with pointers to const timezones instead.
So, I write code like this:
template <>
struct adl_serializer<const date::time_zone *>
{
    static const date::time_zone * from_json(const json & j)
    {
        auto s = j.get<std::string>();
        return date::locate_zone(s);
    }
};

However, the problem is that when I call j.get<const date::time_zone*>, I get a compiler error for ambiguity, with candidates:
/n/nvme/nir/venv-mosaic/json/3.1.0/include/nlohmann/json.hpp:2513:15: note: candidate: ValueType nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::get() const [with ValueTypeCV = const date::time_zone*; ValueType = const date::time_zone*; typename std::enable_if<((! std::is_same<nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>, ValueType>::value) && nlohmann::detail::has_non_default_from_json<nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>, ValueType>::value), int>::type <anonymous> = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]
     ValueType get() const noexcept(noexcept(
               ^~~
/n/nvme/nir/venv-mosaic/json/3.1.0/include/nlohmann/json.hpp:2562:33: note: candidate: constexpr const PointerType nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::get() const [with PointerType = const date::time_zone*; typename std::enable_if<std::is_pointer<_Ptr>::value, int>::type <anonymous> = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]
     constexpr const PointerType get() const noexcept

One rather ugly workaround is to write my own type, TimeZone, that internally holds such a pointer. I consider this ugly because I would just have to do conversions back and forth to actually work with date code and it's just introducing a new type for no reason.
I was wondering if there is a better workaround that I could use, or if I'm misusing something?
Based on what I've seen, I think it is wrong that get has specializations that behave differently for pointer types; it seems like a convenience (kinda) that breaks generic code; this behavior should be saved for get_ptr. But perhaps I've misunderstood the situation.

I checked with version 3.6.1 as well, same issue.
Leaving aside for the moment the question of how you want get to behave in 4.0 (i.e. if you could make a breaking change), this problem may be solveable if these get overloads were sfinaed properly. The documentation for the get pointer overloads say:
pointer type; must be a pointer to array_t, object_t, string_t, boolean_t, number_integer_t, number_unsigned_t, or number_float_t.
Since this is a requirement that's already documented, it's not a breaking change to actually sfinae on this. Right now we have:
    template<typename PointerType, typename std::enable_if<
                 std::is_pointer<PointerType>::value, int>::type = 0>
    PointerType get() noexcept

If we change std::is_pointer to an appropriate trait (is_pointer_json_type) then I think things will work properly.

Indeed there seems to be too much magic in get to choose get_ptr when a pointer is given. If I remember correctly, this was added in times where we did not yet have the possibility to convert from/to arbitrary types. And until now, I have not heard of the situation in which a pointer was queried in a from_json function. Sorry about the inconvenience.
And you're right - adding a better type restriction should not only solve the issue, but would also not be a breaking change, as get_ptr was always documented to only work with library pointer types in the first place.
I'd be happy if you had a PR for this, but I can also fix this myself.

No worries, thanks for your response. Sure, happy to push a patch, hopefully tomorrow. How long do you think until you'll want to do a release (minor/patch) that incorporates this?

I'm planning to make the next release (this 3.7.0) some time in July.

I'm genuinely confused. Tried to add a unit test that shows the failure first, and i wasn't able to produce it. I tried adding the following to unit-udt.cpp:
namespace udt {
struct as_pointer
{
};

constexpr as_pointer global_udt;
}

namespace nlohmann {
template <>
struct adl_serializer<const udt::as_pointer*>
{
    static const udt::as_pointer* from_json(const json& j)
    {
        return &udt::global_udt;
    }
};
}

TEST_CASE("Issue #1238")
{
    json j;
    auto* p = j.get<const udt::as_pointer*>();
    CHECK(p == &udt::global_udt);
}

And everything compiles fine. I'm not quite sure what I'm missing... Will have to look at it again.

Based on my error message and looking at the upstream source, maybe this has already been solved, because the get function went from a regular return type to a trailing return type which might give further sfinae opportunities... I'll look at this again tomorrow.

Did you have the chance to have a look at this?

I think I was mistaken and this was fixed (indirectly) in later versions. From version 3.6.1, there is return type sfinae in these get functions which seems to solve the issue. The confusion was caused by my package manager using 3.1.0 even though I had selected 3.6.1 :-(. So I don't think any action is needed for now. In a 4.0 release though, I'd still suggest that get should not given any special treatment to pointers.

Is there a reason why get<int*> throws a compile exception, but get works?

The internal type of numbers is std::int64_t, std::uint64_t, or double. Therefore, you cannot ask for an int*.


E0001 Error transforming template: Unable to parse config file: C:\Users[user]/.aws/config

cfn-lint version: (0.29.5)
Description of issue.
I have cfn-lint installed, and tried to run:
cfn-lint template.yaml
It prompts the error:
E0001 Error transforming template: Unable to parse config file: C:\Users\fuj/.aws/config template.yaml:1:1
The specified file  C:\Users\fuj/.aws/config have the following content:
[default]
region = eu-central-1
output = json

[profile XXXXXX]
    output=json
    region = eu-central-1
    role_arn = arn:aws:iam::XXXXXXXX:role/XXXXX
    mfa_serial = arn:aws:iam::XXXXXXXX:mfa/XXXXX
    source_profile = default

Interesting.  I'll have to test a few things out there.  We don't require a config file but it looks like the SAM translator does.  I'm assuming this template is a SAM template?

No response and no other reports.  Closing this for now and we can re-open as needed.


Crashes with Lithium installed - Please Detail Fix in README

Please add the following to the README:
To prevent crashing with Lithium mod installed, Disable Lithium's Hopper optimizations by adding the following line to the instance's minecraft/config/lithium.properties file:
mixin.block.hopper=false

Please add the following to the README:
To prevent crashing with Lithium mod installed, Disable Lithium's Hopper optimizations by adding the following line to the instance's minecraft/config/lithium.properties file: mixin.block.hopper=false

Cannot reproduce. What version of Lithium are you using? Could you please upload the crash report and debug.log?

My Apologies... I should have said "Radium" (not "Lithium")... Radium adds/uses the "Lithium.properties" config file.
(I will correct my OP accordingly).
I'm using the latest release of Radium (radium-mc1.20.1-0.12.2+git.5f80f74.jar)
Crashes unless the above entry is made to the lithium.properties file.
Link to actual crash : https://mclo.gs/PbMxsLK
Debug Log: https://mclo.gs/q62ts12

Ok, I tried Canary and the issue didn't happen. I've added it to README.

Thanks for the quick response. I'm sure others had this problem as well, and were thrown off by the Lithium reference when Radium is present instead. ;)


:bug: Replace deprecated set-output with GITHUB_OUTPUT

What kind of change does this PR introduce?
Replace deprecated set-output with GITHUB_OUTPUT on workflows.

[x] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
Use set-output to set outputs in workflows.
What is the new behavior (if this is a feature change)?**
Use GITHUB_OUTPUT to set outputs in workflows.

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
Fixes https://github.com/ossf/scorecard/issues/2376
Special notes for your reviewer
I was not able to run E2E tests with make e2e-pat.
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)
NONE

Thanks! We need to test this before merging. Could you please post a link to the workflow on your fork?

No problem! Not sure which link do you mean tho.
Workflow file links
https://github.com/gabibguti/scorecard/blob/main/.github/workflows/slsa-goreleaser.yml
https://github.com/gabibguti/scorecard/blob/main/.github/workflows/goreleaser.yaml
Action links
https://github.com/gabibguti/scorecard/actions/workflows/goreleaser.yaml
https://github.com/gabibguti/scorecard/actions/workflows/slsa-goreleaser.yml

Action links

They both say This workflow has no runs yet.

https://github.com/gabibguti/scorecard/actions/workflows/goreleaser.yaml

You can trigger the goreleaser workflow by pushing a tag to your fork

https://github.com/gabibguti/scorecard/actions/workflows/slsa-goreleaser.yml

You can trigger the slsa-goreleaser manually by following this

Should I modify anything in these workflows to test? Like changing upload-assets: true to false in goreleaser?
https://github.com/gabibguti/scorecard/blob/main/.github/workflows/goreleaser.yaml#L85

Should I modify anything in these workflows to test? Like changing upload-assets: true to false in goreleaser? https://github.com/gabibguti/scorecard/blob/main/.github/workflows/goreleaser.yaml#L85

As far as I know, that just determines if a release gets updated to your fork which is fine https://github.com/gabibguti/scorecard/releases
I see the SLSA releaser failed, but the output value seems to have worked https://github.com/gabibguti/scorecard/actions/runs/3300430916/jobs/5444920630#step:1:29

Just for reference, I tested the goreleaser workflow and everything seems fine. Goreleaser failed 'cause I did not set a GPG key secret in my fork, but the version_ldflags output was set fine in the previous step. I tested echo-ing the version_ldflags output in a separate workflow.


Unable to run e2e tests on my own cluster with generate_e2e_yaml changes.

Describe the bug
Unable to run e2e tests on my own GKE cluster. I used to be able to run e2e on my own GKE cluster by following the instructions here. However, since we introduced generate_e2e_yaml and removed generate_yaml (maybe this PR #12076?, not sure) , it stopped working for me. It would work if I reverted back to a commit that had generate_yaml.
Expected behavior
Able to run e2e tests on my own GKE cluster.
Steps to reproduce the bug
Try running the e2e_pilot test with your own GKE cluster, be sure to set the --cluster_wide flag.

@howardjohn can you look into that, is it related to your change?

What error are you getting? When I run make e2e_pilot E2E_ARGS="--cluster_wide" it succeeds. I am running on GKE as well.

@howardjohn Thanks for looking into the issue, John. The issue seems to be my own Galley image did not start properly (similar to this #12246). When I reverted back to using generate_yaml, my own Galley worked just fine. generate_e2e_yaml worked if I used gcr.io/istio-release/galley:release-1.1-latest-daily. So I'm not sure if the issue is my Galley image or something else, though it worked with generate_yaml.

generate_yaml and generate_e2e_yaml should do the same thing, it was just a refactoring, so I don't think that is the issue. I suspect if you run the e2e tests from the head of release-1.1 with no current istio installation it would work fine.

@pitlv2109: Closing this issue.

In response to this:

Thank you @howardjohn for looking into the issue. I was able to run it with my custom images. We can close this now :)
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Unable to log into Pixiv via PKCE

I tried following these steps from the discord:
Open a new tab in grabber
Click on sources
Next to pixiv, there should be an options button
Go into login, click on the dropdown
Switch to PKCE
Click on "Test" (edited)
It'll open a browser window
Login as you would normally
Grabber will inject its hook into the url so that grabber opens when you do that
It'll grab the login tokens
It should show "success" on the left of that window
After logging into Pixiv I am treated with a blank white page in my chrome and Grabber displays an infinite "connection" status where success should be.

This login system is quite hacky as it works as if Grabber was Pixiv's mobile app. Sometimes it doesn't work, but restarting Grabber and retrying usually fixes it (and Grabber should only need it once). Have you tried restarting Grabber and retrying?

Having exactly same as steelchill described (firefox instead of chome). Restarting Grabber opens same browser tab on startup and still cant load anything from pixiv

+1, this is also happening to me.
-Latest Version, following the same steps as @steelchill
Firefox shows infinite reload, and a white page; while Grabber does this:

does not fill out the tokens, and is blank.
search does not work with pixiv either.
Only differences between @steelchill and I is I'm using firefox.
More info:
OS:
Version	21H2
Installed on	2021-09-08
OS build	19044.3086
Experience	Windows Feature Experience Pack 1000.19041.1000.0

Firefox: (taken from about:buildconfig)

Compiler
Version
Compiler flags

/builds/worker/fetches/clang/bin/clang-cl  -fms-compatibility-version=19.29 -Xclang -std=gnu99 -Xclang -ivfsoverlay  -Xclang /builds/worker/fetches/vs/overlay.yaml
16.0.4
-fcrash-diagnostics-dir=/builds/worker/artifacts -D_HAS_EXCEPTIONS=0 -Gy -Zc:inline -Gw

/builds/worker/fetches/clang/bin/clang-cl  -fms-compatibility-version=19.29 -Xclang -std=c++17 -Xclang -ivfsoverlay  -Xclang /builds/worker/fetches/vs/overlay.yaml
16.0.4
-fcrash-diagnostics-dir=/builds/worker/artifacts -TP  -Zc:sizedDealloc- -D_HAS_EXCEPTIONS=0 -Gy -Zc:inline -Gw  -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -GR- -Z7 -O2 -Oy

/builds/worker/fetches/rustc/bin/rustc
1.69.0

You're not supposed to remove the values from those two fields, that's why it doesn't work.


Consider grouping entities into a device for HA MQTT autodiscovery

Hi,
Thanks so much for this, it is working so well and is such a nice way to clean up and simplify the ener314rt intergration.
The recent addition off the HA autodiscovery for FSK devices is so nice and this is not really an issue, more a feature request.
Is it possible to expand the Home Assistant MQTT discovery code to group the related entities into a logical device?
Something like the following added/duplicated in the vairous payloads for the individual entities seems to be enough to let HA create all the logical aggrigation so you end up with a single device with all the entites grouped underneath.
"device": {
"identifiers": [
"ener314rt-xxxx"
],
"name": "ener314rt-xxxx",
"model": "Smart Plug+",
"manufacturer": "mqtt-energenie-ener314rt",
"sw_version": "0.0.1"
},
Not had a chance to tweak the code to test this for mqtt-energenie-ener314rt and it will be a few nights before I have time, so I thought I would ask here in case there is a very solid reason not to do it or ir was something already on your radar.
In a similar vien, if the TRV sensors got grouped up per device then would it make sense to use a climate sensor type for the TRV target temp so they can be used as direct climate devices. Actually, I suspect that may be a pain but i'll leave the idea lingering.
Thanks again,
John

Is it possible to expand the Home Assistant MQTT discovery code to group the related entities into a logical device?

Sounds like a good idea - I'm new to Home Assistant and I was wondering how do that kind of grouping!

In a similar vain, if the TRV sensors got grouped up per device then would it make sense to use a climate sensor type for the TRV target temp

How do you do this? Can you show an example?

Is this what you mean for standard grouping? (WIP)

Interestingly it drops the device name from the params, here is the real power config entry...
{
    "device": {
        "name": "Smart Plug+ 8294",
        "ids": [
            "ener314rt-8294"
        ],
        "mdl": "Smart Plug+",
        "mf": "energenie",
        "sw": "mqtt-ener314rt"
    },
    "uniq_id": "ener314rt-8294-REAL_POWER",
    "~": "energenie/",
    "name": "Smart Plug+ 8294 real_power",
    "dev_cla": "power",
    "unit_of_meas": "W",
    "stat_t": "~2/8294/REAL_POWER/state"
}

Fairly sure the change came in to HA a while back, yep, it removes the main device name string if you have other text in the entities names and view the entities in some of the UI (not all of them I seem to recall). Plenty of scope to get obsessive with nameing I guess.
That is just what I was thinking about with the device grouping.  Looks spot on 👍

Basic grouping has released to develop branch.  A new issue has been created for eTRV climate.
Will close on release to production


[Bugfix] - Changes in logic to delete share db

Feature or Bugfix

Bugfix

Detail

Additional locking when revoking a dataset with the same database shared across various datasets
Modifications in checks to see if the principal / database combo is still shared else where

Relates

Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)? N/A

Is the input sanitized?
What precautions are you taking before deserializing the data you consume? N/A
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization? N/A

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features? N/A

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?  N/A

Have you used the least-privilege principle? How?

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

Test cases:
Onboarded two dataset ( D1, D2 ) with the same common_db. Onboarded a consumption role ( C1 ). Environment has two roles ( Scientist, Engineers )
Scenerio 1:

Created a share S1 with table from C1 to D1 ✅  ( Checked if the tables are accessible via Athena )
Created a share S2 with table from C1 to D2 ✅  ( Checked if the tables are accessible via Athena )
Revoked share S2 and checked if the common_db_shared still exists in the account ✅
Queried tables from S1 to validate access and also checked if LF permissions for the principal exists ✅

Scenario 2:

Repeated steps 1 and 2.
Created another share S3 with D1 from environment role : Scientist
Checked if access to the table exists for this role ✅
Now revoked S1 and check if the access in S3 and S2 are intact ✅  ( Checked that the permission to the principals exists and Athena query works)
Revoked S3 and checked if the access to S2 is present ✅  ( Checked that the permission to the principals exists and Athena query works)
Revoked S2 and checked now that the shared database is deleted ✅

TODO
Scenario 3:

Repeat steps 1 and 2,
Onboard another dataset (D3) in another enviironment where the database name is the same i.e. common_db
Now make a share S1 from C1 to this dataset ( D3 )  and also make a share S2 with D2 or D1
Revoke share items in share S2 and check if the common_shared db is still present.


[NNVM] Fix GetReduceAxes

It's possible that GetReduceAxes accesses an array out of bounds. This PR fix it.

@tqchen @nhynes Would you review this?


Memory leak

Source code：
valueAnimator.cancel();
setValueAnimator(progress, 0, 0);
valueAnimator.start();
After execution, the animation has been running and has not stopped, causing memory to continue to grow，Debug The onAnimationUpdate monitor is being implemented.

Recycler Item How do I solve this problem when reusing?

Hi @zhangzhichaolove, do note that setValueAnimator(progress, 0, 0); is setting the valueAnimator to perform the last round of animation before finish. Hence it will only last 0.75 second. So the memory leak shouldn't happen.
As for using it in recyclerView, in your view holder, whenever you bind the view, you could call resetLoader() whenever you have a new view. But I suspect if you would to use RecyclerView, your data would have be in place, and the need of waiting to load the data everytime the viewholder is invalidated would not be needed.
I am closing this issue, unless you have further inquiry and evidence of leaks. Thanks.


ODBC connection failed : Version 4.0.1

I have always the same problème:

Thanks for help

Please post error stacktrace (you can get it in Error Log view)

The ErrorLog view is empty after the error

Ok.
Then check debug log for any related errors: https://github.com/serge-rider/dbeaver/wiki/Log-files
BTW what ODBC driver do you use?

Here the log file :
logfile.txt
And for the drivers:

This seems to be native ODBC driver issue. Something like this: https://community.oracle.com/thread/1344007
Make sure you use correct driver version (e.g. 64-bit ODBC driver can be used onyl from 64 bit DBeaver/Java, 32-bit driver only from 32-bit DBeaver).

All my connexion in ODBC worked before the upgrade to version 4.0.0 in my plugin in Eclipse.
I will try to make downgrade in my Eclipse...

I've just downgrade in my Eclipse to version 3.8.5 and it works fine...

Ok. What ODBC driver (what database) do you use?

Here the ODBC driver:

Ok, Version 4.0 doesn't change anything ODBC specific but maybe problem is in changed preferences defaults or in changed connection initialization procedure.
What happens if you open connection editor (of your ODBC connection) and press "Test connection"? Disconnect from all databases to make this test clean.

Do i have make this in newer version  of 3.8.5?
I am in a developpement phase and i can't upgrade for this moment, i need your great product in a good state.

In new version, as I understand 3.8.5 work fine. I just can't reproduce this problem so I need any hints.
Do it when you will have free time, thanks.

I've just installed the last version.
When i make a new ODBC connexion (and delete the old connexion), it works fine.
Thanks

Thanks for info.


Can't detect RPi Zero W in SmartStart32

Hi,
I tried to run your examples on my RPi-Zero W but they didn't work.
Since RPi Zero W uses GPIO for uart0 for communicating BT chip, Zero W is considered as not a RPi1 family in SmartStart32.S.
I have no idea how to detect Zero W correctly, so this is just a FYI.

It doesn't have the hardware I autodetect .. hmm I might change what I looking for need to go see what is common to all models.


Support for Minio

Is there any way to configure the S3 Host and the S3 Endpoint? We're giving a try with Minio (a storage service compatible with S3 clients - see https://minio.io) + Carrierwave, and using fog-aws we could configure Carrierwave to use our private service instead of Amazon S3: https://github.com/carrierwaveuploader/carrierwave/wiki/How-to:-Use-minio-with-Carrierwave
Is this possible with carrierwave-aws?

We rely entirely on aws-sdk-ruby to interface with S3. A quick search turned up these docs on using minio with aws-sdk: https://docs.minio.io/docs/how-to-use-aws-sdk-for-ruby-with-minio-server. It looks like you can set the endpoint with Aws.configure outside of the CarrierWave configuration block.
Hope that helps!


Responsive breaks after adding element

I am experience an issue where the responsive grid layout fails whenever I am adding a new element to this.state.layout.  I get the same issue in the demo example https://strml.github.io/react-grid-layout/examples/6-dynamic-add-remove.html.  The demo works on initial load, but the second I click the add button to add a new element and try to resize my browser window the responsive breaks.  Is this expected behavior or am I missing something on this example?

Definitely a bug. I'll look into it.

I did some research into this and it appears the issues might be related only to the demo and not RGL as a whole.  I made the following changes in the demo jsx file to allow the responsive grid to work when adding a new element.
items: {lg: [0, 1, 2, 3, 4].map(function(i, key, list) {             return {i: i.toString(), x: i * 2, y: 0, w: 2, h: 2, add: i === (list.length - 1).toString()};         })},
this was done in order to get the function findOrGenerateResponsiveLayout in responsiveUtils.js to work correctly for the responsiveness of the layout.  In doing this change I found that I needed to have the verticalCompact property set to true at all times so that the Y coordinate on the added element would be able to get changed from Infinity to a number.
These last two changes were done so that when the new element was added the y coordinate would be updated from Infinity to a number during the function getFirstCollision in utils.js
  onLayoutChange(layout, items) {     this.props.onLayoutChange(layout, items);   },
moved {...this.props} as the first attribute in ResponsiveReactGridLayout
<ResponsiveReactGridLayout {...this.props} onLayoutChange={this.onLayoutChange} onBreakpointChange={this.onBreakpointChange}  as it would seem that if this is not done onLayoutChange does not seem to trigger.
Let me know what your thoughts are on the changes if they seem viable or if im way off on this.  I've included the entire jsx demo code as it contains additional changes that were the result of one or some of the changes mentioned above.
dynamic-add-remove.txt

@mclarentgp if you feel comfortable with your changes, why not do a pull request? That way it is much easier to compare your changes.

It seems adding
verticalCompact: true
to defaultProps is the essential part. Adding that parameter solves the issue for me.


There should hieroglyphied version of hieroglyphy available for download

Just for convenience .

For your convenience, 3 years late. https://gist.github.com/kenzierocks/d8acced593d22915660f.


unserialize(): Error at offset 0 of 131 bytes

I've got this notice when I try to read data from cache using file cache adapter:
$this->cache->get('file_id');
Result :
Severity: Notice
Message: unserialize(): Error at offset 0 of 131 bytes
Filename: drivers/Cache_file.php
Line Number: 276

That means the data in the cache file is corrupted, but I don't see how this could be caused by CI.

the cache file was created by cache class $this->cache->save('file_id', $some_data); so it's related to CI

I'm not saying it's not related to CI, I'm saying I don't see how could it be caused by CI - that's a different thing. And not to be offensive, but please don't use such rhetorical arguments ... It's the same as saying "My car broke while it was on this road, therefore it's the road's fault".
There are a lot of things that you can do to corrupt a file and feel free to prove me wrong, but I just don't see how CI_Cache could've done that.


Use pip yolox instead of clone

Why this change?
Use pip yolox instead of clone
What does this PR include?

remove download_models.sh
use yolox==0.3.0 instead of cloning from source
download weight file when setting up detection (if file not already exists)
update README.md installation instructions.

User API changes
new installation steps:

setup environment

conda create -n vqpy python=3.8  # "vqpy" is conda environment name, you can use any name you like.
conda activate vqpy
pip install torch torchvision numpy==1.23.5 cython

install vqpy

git clone https://github.com/vqpy/vqpy.git
cd vqpy
pip install .

How did I test the PR?
existing unit tests
New dependencies included

[x] I have added the dependencies in setup.py, yolox==0.3.0

Could you also help test the installation on colab to ensure it works?

Could you also help test the installation on collab to ensure it works without conda environment?

pip install -e . does not work in colab. Changed to pip install .

Thanks for the great job!