How to modify entity preserving indexed/unindexed properties?

Getting the provided sample code for nodejs:

I'm trying to modify only one property ('done') of the entity Task in sample code tasks.markdone.js
What code you've already tried: tasks.add.js and tasks.markdone.js
Any error messages you're getting: no

I'm expecting the code in tasks.markdone.js should modify only one property -- done. But it actually modifies two properties: done (as expected) and description. Initially, description property in not indexed as it is created in tasks.add.js. But tasks.markdone.js makes it indexed, that is not expected and undesired.
For this particular case it's easy to fix:
transaction.save({
    key: taskKey,
    data: task,
    excludeFromIndexes: [
        "description"
    ]
});

But in real life fields that are excluded from indexes might be dynamic, so
The question is: What is the best way to get an entity preserving all it's indexed/unindexed fields, modify just one field and save it in the way not to change not touched indexes?

Can you confirm that the code you are using is https://github.com/googleapis/nodejs-datastore/blob/main/samples/tasks.add.js and https://github.com/googleapis/nodejs-datastore/blob/main/samples/tasks.markdone.js? Or are you using a tutorial on cloud.google.com? They should be the same but sometimes end up out of sync so trying to understand where the issue might be coming from.

Related request: https://github.com/googleapis/nodejs-datastore/issues/1111

Closing in favor of #1111.


Remove 2 unneeded imports.

Added to #221, please comment there or on IRC (#spongedev) for minor changes like this the next time.


Add PyQt Support to Travis CI

see:

https://github.com/spulec/zester/blob/master/.travis.yml
https://gist.github.com/KelSolaar/3739512
http://www.riverbankcomputing.com/software/pyqt/download

probably don't need to compile PyQt from scratch every time (at least if I only want to support Python 3.4).

This mostly works now, just trying to get PyQt5 to work. (may not be reasonable, since there are no Qt5 packages for Ubuntu Precise)

next time I'm gonna try to get these: https://launchpad.net/~beineri/+archive/ubuntu/opt-qt54
to work

Yeah. this works now. after much wailing and gnashing of teeth, but it works.


Non string enumerations

Resolves #1029
Permits generation of Int and Long enumerations. Round-trip tests need to be written, though it's reassuring that initial tests compile.

Hi, currently this works only for enum objects but does not work for anonymous non string enums. Is there plan to fix that? Thanks

@Peppi-Ressler No plan currently, would you be so kind as to open a related issue to this one with a reproducing test case?


Update to rest-assured v4.0.0

Companion to https://github.com/apache/incubator-openwhisk/pull/4500/files

@mhenke1, sorry didn't see this one.


Add VBA functions for regexes?

This looks like a good source.
Concerns:

Excel documents with macros are likely to be flagged as potential security risks.
VBA code is a binary blob, and we won't easily be able to maintain it.
Excel is proprietary: Shouldn't jump through hoops to work with it.

Other options:

Don't even try!
Add VBA to provide regex support in Excel.
Target Google Sheets, which provides a regex function out of the box.
Or target OpenOffice, where regexes can be turned on in the settings.


Squashfs compression

Signed-off-by: Itxaka<EMAIL_ADDRESS>

Not really happy with this. Its the most straightforward path, to allow a full dump of the options directly, but its kind of crappy. On the other hand I dont really want to introduce the 5 compressors + 9 different options divided by compressor in the flags as it will be a mess. Plus validation, usage, and so on.... not sure to be honest what to do with this.

I mean, look at this:
	lzo
	  -Xalgorithm <algorithm>
		Where <algorithm> is one of:
			lzo1x_1
			lzo1x_1_11
			lzo1x_1_12
			lzo1x_1_15
			lzo1x_999 (default)
	  -Xcompression-level <compression-level>
		<compression-level> should be 1 .. 9 (default 8)
		Only applies to lzo1x_999 algorithm

This means that in the case of lzo1x_999 suboption of the lzo compressor, Xcompression-level is valid and should be use....what a mess :/


Visible if for checkbox value

Are you requesting a feature, reporting a bug or ask a question?
Ask question or reporting a bug
What is the current behavior?
Example in checkbox has a, b, c, e options,
if comment box visible if e is elected.
Visible if only can be set if value=e, but it dosen't work with checkbox,
if e value a is checked and a is selected, comment box invisible.
What is the expected behavior?
From above, I would like to keep comment box visible dosen't matter if a, b, c has been selected.
How would you reproduce the current behavior (if this is a bug)?

Provide the test code and the tested page URL (if applicable)
Tested page URL:
http://plnkr.co/edit/cRG2Lu9NSWcZXpFJeAo7?p=preview

@xiuzhen1103 Please use contains operator: visibleIf: "{LR_15} contains 'Other' and {LR_14}='Yes'"
I have corrected the example: http://plnkr.co/edit/xkfaVERRr8CxCbRQW97D?p=preview
Thank you,
Andrew

This is fantastic! I couldn't find this in the documentation on the website, though...

@mellogarrett Here is the link: https://www.surveyjs.io/Documentation/LibraryParameter?id=QuestionBase&parameter=visibleIf
Thank you,
Andrew

How would I navigate to this without the link?

https://www.surveyjs.io/Documentation/Library/?id=questionbase#visibleIf
We will work on our docs usability and content. I know it sucks right now.
Thank you,
Andrew

:) thanks @andrewtelnov

Can you maybe improve docs visibility on these?

@StephanMeijer  I think the correct link now is https://www.surveyjs.io/Documentation/Library/?id=questionbase#visibility


Large patch sizes

Describe the bug
I have generated a Version 1 of a python application buddled with pyinstaller. This package contains images, libraries, the .exe and my .py files that have been converted to .pyd (binaries). One of those .pyd files states the version of the file. If only change the version of that .pyd file without running pyinstaller again to generate the second version of the bundle with tufup I get a file difference of 200MB, which is crazy if you take into account that the whole package is 340MB. The last modification date for these files are the same except the .pyd file file that states the version. Using the bsdiff4.file_diff() method between these two version produces the same result. I can provide both of these files If needed.
To Reproduce
Steps to reproduce the behavior:

Run cython and pyinstaller with .spec required to make the bundle.
Copy all files except 1 folder containing some images
Modify version.py file and re-run cython for that file to generate version.pyd and copy over the 1 folder mentioned above from the source (folder has not changed and copied with shutil.cptree() so the modification dates are the same)
When I run the  repo.add_bundle(new_bundle_dir=bundle_dir) method I get the filesize mentioned above for the patch

Expected behavior
A patch size that is less than 10 MB. On a previous run, I regenerated just the .exe (running pyinstaller and just copying the .exe and deleting everything else while I follow the steps mentioned above.) The .exe filesize is 17mb while the generated patch was 35MB for that run.
System info (please complete the following information):

OS: [Window 11]
Python version 3.9
Pyinstaller version 5.9.0
Tufup version 0.4.9
bsdiff4 version 1.2.3

@mchaniotakis Thanks for providing such a detailed report.
You are right, these excessively large patches for small changes are not very useful.
Tufup was created as a replacement for PyUpdater (because PyUpdater is no longer maintained). For this reason, the patch creation in tufup using bsdiff4 is basically a naive copy of PyUpdater's make_patch (see inputs here).
Although I did add some tests for basic patch functionality, I must admit, I haven't paid very much attention to the resulting file sizes.
The use of bsdiff4, in itself, does not seem to be a problem. Rather, the problem comes from the fact that we use it, naively, to create binary differences of .tar.gz archives.
It appears that binary diffs of either uncompressed .tar files or non-tar .gz files are okay, but binary diffs of .tar.gz files are troublesome (the diffs are correct, but very large).
There's probably a good explanation for this, so I'll have a closer look at it as soon as I have some free time.

As a temporary workaround, patches can be disabled using --skip-patches,  see PR #68.

Another problem (or perhaps the main problem?) may be the fact that pyinstaller builds are not reproducible by default, as explained in the docs:

In certain cases it is important that when you build the same application twice, using exactly the same set of dependencies, the two bundles should be exactly, bit-for-bit identical.
That is not the case normally. Python uses a random hash to make dicts and other hashed types, and this affects compiled byte-code as well as PyInstaller internal data structures. As a result, two builds may not produce bit-for-bit identical results even when all the components of the application bundle are the same and the two applications execute in identical ways.

but

You can ensure that a build will produce the same bits by setting the PYTHONHASHSEED environment variable to a known integer value before running PyInstaller. [...]

more useful information:

https://try.diffoscope.org
https://reproducible-builds.org/docs/archives/

Although we can now work around most of the issues with reproducibility with gzip, one risk remains:
The compressed output from gzip depends on the implementation, and there is no guarantee that identical input will lead to identical output between different implementations.
We assume that the tufup archives are created on the same OS that they are used on, and that the gzip implementation is sufficiently stable between versions of the same OS to guarantee byte-for-byte equality.
However, this may lead to trouble in the future. If it turns out that gzip output is unstable between different versions of the same OS, the python-tuf hash check would fail, preventing updates.
There are a few options to prevent this:

Implement support for OS versions in the archive filename, so we can add separate targets for different OSes (or OS versions). This is also in line with multi-platform support as in #79.
Register the .tar archives as targets, instead of .tar.gz archives. This would simplify our code, because we would no longer need to worry about gzip reproducibility. To save disk space on the client we could still keep a compressed archive there using the default gzip. Note that gzip compression could still be used for file transmission, e.g. using the Content-Encoding: gzip HTTP-header, but this would depend on the user's update-server configuration and would therefore be outside the scope of tufup (python-tuf automatically handles decompression if that HTTP-header is set).

After some more thought, here's another option:
We stick with compressed archives (.tar.gz) as our tuf repository targets.
This means the download verification process and the server configuration can remain unaltered.
However:

we take precautions to ensure that out (uncompressed) .tar archives are reproducible
we create a (monolithic) patch file using bsdiff4 from the (uncompressed) .tar archives
we include a file hash for the (uncompressed) destination .tar archive in the target metadata for the patch file, using a CUSTOM object
after reconstructing the destination archive from the patch, on the client side, we verify its integrity using the hash from the custom metadata object, before gzipping the archive (just to save storage space)

The only problem remaining now is that our uncompressed .tar archives can be two or three times the size of the corresponding .tar.gz files. This may cause trouble due to resource limitations, as bsdiff4 requires a lot of memory (and time).
In addition, we should implement some kind of failsafe, so that failed patches will be ignored on the next run, in favor of a full installation.

Tufup was created as a replacement for PyUpdater (because PyUpdater is no longer maintained). For this reason, the patch creation in tufup using bsdiff4 is basically a naive copy of PyUpdater's make_patch (see inputs here).
Although I did add some tests for basic patch functionality, I must admit, I haven't paid very much attention to the resulting file sizes.

For completeness, it turns out a similar issue also arose with pyupdater using .tar.gz, but not using .zip (default on windows): https://github.com/Digital-Sapphire/PyUpdater/issues/121


This fix checks if magento is installed before running sheep debug.

We install sheep-debug as part of our base install, which is all run through composer.
We're running into an issue where if you deploy a new project and try to access it before magento has been installed you get a 500 error instead of the web installer.
This is because replaceProfiler fetches the core_write connection and tries to replace the profiler without checking if magento is installed. This fix adds an extra check in isEnabled in the Data helper to ensure core_write is available.

Coverage decreased (-0.1%) to 91.53% when pulling b9093a01bfe879f145ce927925ad1443cb8b6bb0 on Tickles-BV:fix-database-handling into 547ef4747946706e16dab3a8f5a7a92645bc9e02 on madalinoprea:master.

Thanks for your contribution 👍


Clicking palette removes object parameters

Make an object of any kind
give it a property like texture and/or position (using the gear, then appropriate blocks)
View code shows the correct parameters and shape is textured when run
click the pallete
[Bug] parameters are entirely removed from previous code, though block is unchanged. Clicking gear icon reveals that those sub-blocks are gone and you have to re-add them. Also, duplicating the block replicates a blank block, not the one displayed.

@codestar12 this should get the bug label


Tray Icon notification is not shown

In our team some of users can see notification pop-up over tray icon but some of them can not.
On the other hand we tried to figure out the problem by debugging in Visual Studio Code. If you explain how to debug the app we can give you a better information about the reason of the problem.
Thank you.

Ah, I'm not using debugger in the main process, so I can't say any definite advises. In development mode, npm start merely executes electron command, so you would be able to refer Electron's document.
Wondering if you write about the application version and operating system? I can't even imagine what's happening.

Sorry for missing information. App version is 3.5.0 and we all use windows 7. Moreover when I set event from debug console I can see the notification on the tray.

We are running it on Ubuntu 14.04 and 16.04. In both versions when we upgraded the mattermost desktop app from v3.4.0 to v3.5.1 the tray icon is not being shown. Will there be a fix soon?

Hmm @yuya-oc @jnugh wondering if the tray icon is missing in Desktop App 3.5?

@prakashprabhakar could you please paste your ~/.config/mattermost/config.json file? I guess the tray icon theme might be missing.
Workaround would be in this case to open the settings and change the theme to dark/light (depends on what it was before), save the change, go back to settings, change it back, save again and restart the app.
I'm not sure what is causing this, I had the same problem but thought it was due to prior development in this area.
@yuya-oc are we running config upgrade scrips for 3.5 that might delete the theme information?

@jnugh It's working now... Don't ask me how :) ... I restarted my machine twice and it came ... One more person had the same problem, but he is not in today. I will check once he comes and provide you with the inputs you have asked for.
One thing I observed is that the parameter Icon was set to Mattermost and not /home/prakashp/mattermost/icon.png. The other 2 parameters were correct.
Path=/home/prakashp/mattermost
Exec=/home/prakashp/mattermost/mattermost-desktop
Setting this right made brought the Launcher Icon back.
I also copied this mattermost-desktop.desktop which was under ~/.local/share/applications/ to /usr/share/applications/. This needed sudo and if I am right allowed me to search the application in Ubuntu using 'Windows Key'.

@prakashprabhakar @jnugh It seems that the original problem of this issue is applicable only for Windows 7 and 8. Please create another issue.

Moreover when I set event from debug console I can see the notification on the tray.

@mehmetkemalbayer How did you set the event? There are some consoles in this app, so "how" is very helpful and actual test code would be appropriate.

@yuya-oc I send you 3 pictures.
First one shows my problem, there is no balloon.
Second one is the answer of your question. I open dev console of the desktop app. I run the command to send the event.
Last one is the picture showing that it works.
In short I think that my problem is not about balloon itself. My problem is app cannot get same event normally. By the way I can't understand how other friends can see the balloon. As you may guess they don't send it via console :)

@yuya-oc any updates?

@mehmetkemalbayer Sorry to not respond. The issue didn't reproduce for me. To make sure, would you check wheather you can get desktop notifications in Chrome?

Hey @mehmetkemalbayer, are you able to reproduce the issue on a browser as well?

Hi, @jasonblais, @yuya-oc
Sorry for delay. It is the same. I can see little asterisk beside favicon but no notification is shown.
I think the problem is about my companies network rules. The problem is why some of my colleagues can see the notification.

Thanks @mehmetkemalbayer for the reply,
Since it doesn't seem to be a defect with the desktop app itself, would you like to create a forum post in Mattermost Troubleshooting forums? There are more visitors on that page and you'll get a faster response.
[Here are a few tips on how to use the forum](https://forum.mattermost.org/t/how-to-use-the-troubleshooting-forum/150.

I'll close the issue for now since it's not specific to the desktop app
If you're still experiencing the same issue, I encourage you to post in our Mattermost Troubleshooting forums which has more visitors that can better help you with it

@jasonblais I solved the issue. The problem was corporate firewall. It was blocking some of the websocket packages. In short, there is no problem about application.

@mehmetkemalbayer I'm glad to hear your issue got resolved!


Option to change display name

I added another option, which support display property (like title) rather than the original note name:

For example:

This 2-Area.md note will display as its title:

@ahts4962 Hello! Sorry for the delay, I've recovered some lost codes and added a new mapping setting:

How it looks:

Here is a conclusion of what I added, in case you need to write update logs:

The navigation header now could also display notes from properties (refer to Property Mappings in the plugin settings).
Added support for using the middle mouse button to open links in a new tab.
Users can now select a property (e.g., title) to serve as the display name instead of the note's file name.
An option has been added to remove duplicate links in the navigation header.

When you have time, please take a look at these changes to see if they align with your thoughts. If you have any feedback or suggestions, please let me know, and I will make further adjustments.
If necessary, feel free to modify the code as you see fit!
Looking forward to those features being merged :)

If necessary, feel free to modify the code as you see fit!
Looking forward to those features being merged :)

Forgot to mention, the style in the screenshots is changed by my CSS snippet, I didn't change the style in the code : )

@Moyf I have confirmed that it works fine. I will release it after some minor work.
By the way, is it ok to remove the developer mode option? I don't think it's better to reveal it to users in the release version.

@Moyf I have confirmed that it works fine. I will release it after some minor work.
By the way, is it ok to remove the developer mode option? I don't think it's better to reveal it to users in the release version.

Yeah of course! Feel free to remove it  ; )

I have released these features in 1.1.0. Thanks for your contribution!

I have released these features in 1.1.0. Thanks for your contribution!

Great news! Thank you!! 😄


CUPS sending looping js to browsers adding, deleting or changing printers

ii  bluez-cups                                                  5.50-0ubuntu4                                   amd64        Bluetooth printer driver for CUPS
ii  cups                                                        2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                                                1.25.11-0ubuntu1                                amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                                                    2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                                 2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                                 2.2.12-2ubuntu1                                 all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                                           2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                                 2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                                                1.25.11-0ubuntu1                                amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                                   1.25.11-0ubuntu1                                amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                                              2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                                              0.2.6-1ubuntu3                                  amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                                                   2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                                          2.2.12-2ubuntu1                                 all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64                                              2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2:i386                                               2.2.12-2ubuntu1                                 i386         Common UNIX Printing System(tm) - Core library
ii  libcupsfilters1:amd64                                       1.25.11-0ubuntu1                                amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64                                         2.2.12-2ubuntu1                                 amd64        Common UNIX Printing System(tm) - Raster image library
ii  libfontembed1:amd64                                         1.25.11-0ubuntu1                                amd64        OpenPrinting CUPS Filters - Font Embed Shared library
ii  printer-driver-cups-pdf                                     3.0.1-5                                         amd64        printer driver for PDF writing via CUPS
ii  printer-driver-gutenprint                                   5.3.1-7build1                                   amd64        printer drivers for CUPS
ii  printer-driver-hpcups                                       3.19.6+dfsg0-1ubuntu1                           amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups                                                1.9.73-2build2                                  amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                                         1.5.11-4ubuntu1                                 all          Python utility modules around the CUPS printing system

Found with Ubuntu 19.10 "eoan ermine", debian testing, fedora (latest stable). Tried to compile cups-2.2.12 myself. Got the same result.
 But the changes will never be made then: no printer deleted, changed or added.

Are you using Kerberos?

Yes I am using kerberos
On Fri, Dec 13, 2019 at 4:50 PM Michael R Sweet<EMAIL_ADDRESS>wrote:

Are you using Kerberos?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apple/cups/issues/5703?email_source=notifications&email_token=AAFLNTAONTQB7Y4B4TH6P4LQYOVLXA5CNFSM4JZ7VVA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG2LUAY#issuecomment-565492227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFLNTCLMJ4GIEVGWO36R53QYOVLXANCNFSM4JZ7VVAQ
.

--
Thomas

OK, this is a dupe of issue #5596.


Keyerror when sending password reset email

When sending a password reset email, I'm getting an internal error
I'll just share the raven error - hopefully that doesn't review all of the site secrets (probably does)
https://app.getsentry.com/share/issue/37343334302e313233323439393235/

Hi @kutenai,
The error shown here seems to be a failure while rendering the 500 error template. I suspect what's happening here is:

an error is happening at the server level (e.g. unable to connect to the SMTP server) while sending the email
as part of the error handling, Django tries to render the 500.html template to send back to the user
500.html is extending your base template, which includes the {% wagtailuserbar %} tag
{% wagtailuserbar %} expects to find a request variable in the template context, but there isn't one (because this is an error response rather than a standard template response)
this error is the one that ends up being thrown, masking the root cause (i.e. the SMTP error)

We should fix the {% wagtailuserbar %} tag so that it gracefully handles the lack of a request variable, and simply does nothing in that case. However, as a general rule I'd recommend that you make your 500 error template a plain standalone HTML file, rather than extending the base template - if the thing triggering the 500 error is a general failure (such as your database being down), then your site may well be 'too dead' to perform the usual tasks involved in rendering the page furniture (e.g. retrieving the list of pages to go in the site navigation).

Thank you very much for the response. I can make a minimal base for errors.


Releases and Power Automate Solutions

I don't see any releases of the message center solution or managed solution files for the automate flows. Any way those can be made available for easy deployment?

Release created: https://github.com/spsprinkles/message-center/releases/tag/v0.0.2


lists the gem refills (>= 0) more than once

When I execute:
suspenders app --heroku true   --heroku-flags " --addons sendgrid,ssl"
all runs well except for this exception:
Your Gemfile lists the gem refills (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.

This has been fixed in https://github.com/thoughtbot/suspenders/commit/f292096cfe1c77eeb253156664bc27fbfaecbb0b, soon to be released. Thanks for reporting!


Support structs in the model

Originally asked for on CodePlex, we think this would be a good thing to enable in the new code base.

Closing this as a duplicate of #9906, since that issue has more information.


Proxy support?

Hi! I'm looking for a download manager that supports proxies to replace android's default one (mainly because it doesn't!).
I've been browsing through your library and it seems that this feature doesn't exist at the moment either. Is this something you plan on adding in the future?

@JusticeRage I am planning on providing proxy support in version 2.0. But that may take some time.

Is proxy support available now?

any update ?


Is input_shape on Dense for public use?

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Dense
https://www.tensorflow.org/tutorials/customization/custom_layers
Description of issue (what needs changing):
Clear description
The API documentation doesn't mention we can pass input_shape and input_dim to tf.keras.layers.Dense,  but various (official) resources use it, eg. https://www.tensorflow.org/tutorials/customization/custom_layers.
Since the official authoritive API documentation doesn't claim the existance of input_shape, readers get very confused why other resources make extensive use of input_shape.
I checked the source code, which indeed accesses input_shape.
https://github.com/tensorflow/tensorflow/blob/1987dba1a166d0336ccea8176dd2a16a65ddf19a/tensorflow/python/keras/engine/base_layer.py#L318-L339
Is input_shape a private parameter but setting it through user code is an acceptable exploit?
Or is it public and we just forget to add it on the documentation?

I think It Is implicit in the documentation: Inherits From: Layer, Module.
As you see the documented kwargs in the docs are passed to the parent init:
https://github.com/tensorflow/tensorflow/blob/fcc4b966f1265f466e82617020af93670141b009/tensorflow/python/keras/layers/core.py#L1143:L1144

@bhack the inheritance exists, but the constructors of the parent classes don't mention input_shape neither, though Layer.build accepts input_shape, not sure if they function the same.

You can see input_dim and input_shape for the parent at https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer

Also other then single line examples note that for real use cases some kwargs make sense for input layers:
https://github.com/tensorflow/tensorflow/blob/edc060801f9e049e67933a8fbf5059d4bced7f7a/tensorflow/python/keras/engine/base_layer.py#L326:L329

You can see input_dim and input_shape for the parent at https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer

That's exactly what I found "though Layer.build accepts input_shape, not sure if they function the same."

In that input_dim example it is not passed to the __init__ parent.
Here you can find the input_dim/input_shape handling in the parent https://github.com/tensorflow/tensorflow/blob/9697081dac25ef5c3e95b98b6e1113261611a4b9/tensorflow/python/keras/engine/base_layer.py#L418:L433

Thanks. Are we going to add information provided in https://github.com/tensorflow/tensorflow/blob/9697081dac25ef5c3e95b98b6e1113261611a4b9/tensorflow/python/keras/engine/base_layer.py#L418:L433 to documentation?

@gqqnbig Probably if you can open a PR It will be accepted but I am not sure about:

in this case we will later create an input layer to insert before the current layer

Are you interested to submit a Documentation PR?

The docs are now updated. Thanks!


Error with DNS challenge for OVH

Describe the bug
While trying to add SSL certificates using DNS and OVH it fails with message:
ERROR:certbot._internal.log:TypeError: create_record() got an unexpected keyword argument 'type'
A quick fix (saw in https://stackoverflow.com/questions/67536198/got-an-error-while-trying-to-create-ssl-certificate-on-ovh-vps-server) was to change "type" to "rtype" in the lines
self.provider.create_record(type='TXT', name=record_name, content=record_content)
and
self.provider.delete_record(type='TXT', name=record_name, content=record_content)
inside the file:
/opt/certbot/lib64/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py
inside the container.

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/1092. we'll have to wait for a new version of certbot. Then you'll have to either recreate the docker container or connect into it and manually update certbot.


Have you guys got a Swift tutorial as yet?

Have you been able to get this working with swift?

I was able to get it to work with swift using the bridging header, but not with cocoapod's use_frameworks! specifier

when i add #import <iOS-WebP/UIImage+WebP.h> header in bridge file but it show error file not found


Error: Cross origin http://localhost forbidden

ResponseError: Confluent_Schema_Registry - Error, status 400
Receiving this error while running Confluent stack on local and running Integration test cases to connect to the registry and perform Schema fetch/register actions.
How can this be resolved, as there is no way to pass CORS headers too.

This sounds like you are running in the browser. This library is intended to be used in NodeJS, and will not work in a browser.

Maybe this problem is actually in the schema registry. I was having this same problem trying to access the registry from a UI and what I did was set the property:
access.control.allow.origin=*
Maybe you need to configure the Schema Registry to allow CORS.

I had this error when running tests from Jest.
If this is when you are seeing the error, try setting
testEnvironment: 'node' in your jest config,

I had the same problem locally, and the concern was that I had accidentally deleted http:// from the local registry url of the schema
Hoping to help


create Lobby overview page

create the lobby overview page
create a lobby guard

Estimated time: 2h
This task is part of user story with issue number #4

59f9faf0460dfbf99b579fee1e30a4884925ba5d


Added fix for agent not deploying (#7449)

Pull request opened by the merge tool on behalf of #7449

Pull request rejected by merge tool. Multiple change entry files found:

changelogs/unreleased/1484-in_line_compile_listener.yml
changelogs/unreleased/1484-in_line_compile_listener_2.yml
changelogs/unreleased/7448-deploy-on-agent-update.yml

This may happen when a change entry was removed from the remote repository due to a reverted change. In that case, make sure the latest changes from origin/iso7 are merged into merge-tool/7449/iso7 before triggering merge bot.

Pull request rejected by merge tool. The tests for this branch did not succeed.

Merged into branches iso7 in dfb62fba2110e72064e9129c96d7795fd9d6cc93


Fails to commit with signing

Description
When committing using Neogit (cc) the commit fails when signing is enabled.
Still works:

Disabling commit signing with -S first.

Placing Neovim in the background with Ctrl+Z and committing from the shell.

Relevant Git config:
[user]
	signingkey = 2EA6F4AA110A1BF2227519A90443C69F6F022CDE

[commit]
	gpgsign = true

When committing in any working fashion, I'm not prompted for a password or anything as that is handled through my GPG agent. I somewhat suspect this might be the point where it fails, though. When Neogit is shelling out, is it maybe not using the same environment or shell as :set shell?
This used to work. It broke last week, or thereabouts, but I also don't bump Neovim plugins very often so the change can be older. Maximum of around 2 months.
How can I help in debugging this?
Neovim version
NVIM v0.9.0-dev-72-gc5347d47e1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions     -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security     -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/mange/.cache/paru/clone/neovim-git/src/build/cmake.config -I/home/mange/.cache/paru/clone/neovim-git/src/neovim-git/src -I/usr/include -I/home/mange/.cache/paru/clone/neovim-git/src/build/src/nvim/auto -I/home/mange/.cache/paru/clone/neovim-git/src/build/include

NOTE: This also happened on a nightly version pre-0.8 stable. Upgrading to latest stable was my first try to get this working.
Operating system and version
Linux socia 5.19.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:40 +0000 x86_64 GNU/Linux

Steps to reproduce
Make sure you have commit signing set up first. You should be able to sign using your local shell.

mkdir /tmp/git-test
cd /tmp/git-test
echo First > test.txt
git init && git add . && git commit -m "Initial commit"
Verify that the commit was signed. git show
nvim -nu /path/to/minimal.lua test.txt
Make a change.
:Neogit
cc
Write a message, and commit by saving and closing buffer.

Expected behavior
Commit is created and signed.
Actual behavior
Commit fails.
Command history after failed commit
  0 git --no-optional-locks ls-files --others --cached --modified --deleted --full-name .git/COMMIT_EDITMSG (0.004 ms) [stdout 0]
128 git --no-optional-locks commit (1.399 ms) [stderr 2]
  | error: gpg failed to sign the data
  | fatal: failed to write commit object
  0 git --no-optional-locks status --porcelain=2 -b -z (0.001 ms) [stdout 1]

Written commit message is lost if one tries to commit again, making this really annoying.
Minimal config
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])
local package_root = "/tmp/nvim/site/pack"
local install_path = package_root .. "/packer/start/packer.nvim"
local function load_plugins()
  require("packer").startup({
    {
      "wbthomason/packer.nvim",
      {
        "TimUntersberger/neogit",
        requires = {
          { "nvim-lua/plenary.nvim" },
        },
        config = function()
          print("loaded neogit")
          require("neogit").setup()
        end,
      },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. "/plugin/packer_compiled.lua",
      display = { non_interactive = true },
    },
  })
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing neogit and dependencies.")
  vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path })
end
load_plugins()
require("packer").sync()

This seems to have stopped happning for me now. I think it might be because I restarted the computer, but I'm not sure if that's the only thing that happened.
I'll close for now, but reopen if I manage to figure out what caused it.

I'm getting this issue and I think it's because the required environment variables for gpg to prompt for a password are no longer passed to the commit command. If I commit manually in the terminal, enter my password, then commit via neogit afterwards, it works as the password is cached in the gpg-agent.

I think it might be weirder than that. It might be because my window manager had restarted in a way that may have lost some environment variables that got re-populated when I opened new terminals.
Then that it looked like ^Z in my editor terminal working might have been me not realizing that the agent was unlocked at that point.
I don't have password prompts anywhere, it's unlocked automatically by my wallet process. So it's not as simple as it not reading stdin; nothing is prompted. It just never asked the wallet properly, I think.

Okay, so I've tested this some more now.
For sure, the committing through Neogit directly breaks when the encryption keys are locked again, and fails to unlock. However, just doing !git commit -m "test" still works without prompting.
Right now ENV is reset and only a small subset is passed along:
https://github.com/xanderio/neogit/blob/463820a83f4ba387655f370a17c87dc3100cdf0d/lua/neogit/process.lua#L31-L37
I suggest we also pass along important variables like XAUTHORITY and DISPLAY (so password prompts and wallets work) and SSH_AUTH_SOCK so SSH agents also work.

It seems that you are using a fork of neogit.
All envs are now passed similar to :! as a few days ago just because of gpg issues and precommit requiring a modified path, such as python, go, or nixos

Oh, yeah. I accidentally linked to the permalink of a forked repo there. I was too quick with building the link for the comment. :upside_down_face:
Seems to be working now that I pulled the latest version. Thank you for letting me know! :heart:
(I was on the latest version as of the opening of this issue. The problem was fixed somewhere between 74c9e29..1acb13c if anyone else also wants to figure it out.)


Local objects storage framework

OoenAI DallE creates images that are not persisted, but the URL is only accessible for 1h. Unless we find other services, we need to host those.
Initial requirements:

[ ] store Generated images (DallE, no need for Prodia or yes?)
[ ] store attachments with a per-message and per-chat reference
[ ] note: references should be set properly for Garbage Collection. Very important.
[ ]

See the Big-AGI Shared conversation for implementation details around a idb (IndexedDB) based system for storing large objects.


Improve tests

Coverage remained the same at 100.0% when pulling 192d8abb22ca6adf03f9e8b2a4477984f8f0665d on improve/tests into 5cc1f6c45dbe746ae925d7f99a0fe63b55988f45 on master.

Coverage remained the same at 100.0% when pulling 192d8abb22ca6adf03f9e8b2a4477984f8f0665d on improve/tests into 5cc1f6c45dbe746ae925d7f99a0fe63b55988f45 on master.


[MNT] - try tests on 3.11

Codecov Report

Merging #148 (88730b6) into main (0f32f8e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #148   +/-   ##
=======================================
  Coverage   98.34%   98.34%
=======================================
  Files          94       94
  Lines        3074     3074
=======================================
  Hits         3023     3023
  Misses         51       51

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


Typing issue: Maximum conversion candidate results limit of 100 seems to hide conversion of given name 凱 (かい) (kai).

Category of the typing issue

Out-of-vocabulary (e.g. "凱" is not in the candidate list at all).

Issues
Write issues to the following table. (It's in the markdown format)

input [e.g.ゆうひ]
expected [e.g. 夕日]
actual [e.g. ユウヒ]

kai -> かい
凱
limit of 100 results not including 凱

Version or commit-id
2.26.4632.102.g4d2e3bd-2

You can get the version string by converting "Version" or "ばーじょん".

Aside: This did not seem to be true, by the way.  I tried converting "Version" and it just gave me "Version" as the only conversion candidate.  ばーじょん also did not show the version number among its conversion candidates, even when typing "ba-jyonn" which was able to produce ばーじょん in hiragana before conversion.  I got the version number instead from querying my system package manager with pacman -Qi fcitx5-mozc.
Additional context
I am running Manjaro with the unstable branch and my system is up to date.
I looked through all 100 of the conversion results kanji that was displayed when typing かい, and did not find 凱, which is the name of a family member.  I am copy-pasting that character from Wikipedia to be able to type it.  I noticed there is a limit of 100 conversion candidates, so I have a feeling that the conversion candidate exists, but would only be visible if the limit of 100 conversion results was raised or removed entirely.  I did extensive research to try to find where to configure the limit of 100 conversion candidates and could not find anywhere that it could be configured.  If 凱 does exist as a conversion candidate for かい, then this issue report is focused primarily on raising or disabling the limit of 100 conversion candidates.

Is it really Mozc? I think it's likely that Mozc is just installed, but another engine is enabled.

I don't have any other Japanese engines installed.  Here's a screenshot of my Fcitx 5 menu showing only Mozc as an enabled engine.  I'm curious what makes you suspect it's a different engine.  Is some behavior I've described different from what you expected?  If so, what behavior is that?

It usually looks like this.

Also, the version of Mozc in the official Manjaro (Arch Linux) package is very old. Get the latest packages from AUR etc.

Hi AlexFolland,
We have the entry of "かい → 凱".
https://github.com/google/mozc/blob/master/src/data/single_kanji/single_kanji.tsv#L627
So the latest version should be able to type 凱 from かい as mikunimaru mentioned.
I close this issue. Please feel free to reopen or update it, if you keep having a trouble with the latest version.
Thanks,

I was able to update to the latest version of mozc from the AUR with the fcitx5-mozc-git by modifying the PKGBUILD file before installing the package and removing the "s" from the "https" sources for the 2 zip files from the OSDN server, working around their expired SSL certificate and allowing curl to download the files.
After the update and a reboot, this issue still manifests.  There is still a limit of 100 candidates, and 凱 was still not in that limited list of candidates.  I noticed I could work around the issue by typing "Kai" with an upper-case "K", but that was not explained anywhere and not expected.  I thought upper and lower case were not relevant to the sounds that are produced.
However, that does not solve the issue of the limit of 100 candidates, which I still don't see an issue ticket for anywhere.  How do I remove the limit of 100 candidates?  Nothing explains this limit anywhere on the internet, even after hours of researching.  Can any developer point me in the right direction toward removing that limit?  I am extremely confused as to why my copy of mozc has a limit of 100 candidates and the one in the screenshots shown by @mikunimaru does not.  Is this limit only applied on Linux and not on Windows or macOS, or something like that?  If so, how can I fix mozc or fcitx to not have that limit?

I wish to reopen this ticket since I was told to "please feel free to reopen or update it, if you keep having trouble with the latest version", and I still have trouble with the latest version, as described in my previous comment, but I don't see a way to reopen it.  Can someone please reopen it?

It is very likely that an IME engine other than mozc is enabled. It is possible that another IME engine, perhaps installed as a dependency of other Japanese-related software, is already enabled. For example, even if you uninstall Mozc, will Japanese input still be possible? In that case, it is confirmed that a Japanese input engine other than Mozc is enabled.
What DE are you using? The settings that can be advised vary depending on the type of DE.

No, Japanese input is not possible if I uninstall Mozc.  It is the only Japanese IME engine that is installed.  I do not have any other Japanese-related software installed.
When I switch input with the fcitx5 context menu, I am clicking specifically on a context menu list entry named "Mozc".  This causes text that says "あ (Hiragana)" to appear in a tooltip at the typing cursor location in the focused text box.
Additionally, I have had no ability to enter Japanese text before I installed Mozc with my package manager.
I am XFCE as my desktop environment, and I can change input sources with fcitx5 through its tray icon with either a left click on the icon or right-click on it and clicking "Mozc" in the list.  I can also press Alt+Space on my keyboard to switch to Japanese input, but to confirm that I am using only Mozc for these tests, I have made sure I am clicking the "Mozc" entry in the fcitx5 tray icon context menu.

I will install Manjaro in a virtual environment tomorrow and check it.
Can you install fcitx5-configtool and confirm that Mozc is included in the items?

I will install Manjaro in a virtual environment tomorrow and check it.

Thank you.  I expect this may help.

Can you install fcitx5-configtool and confirm that Mozc is included in the items?

Is that expected to show a different menu from the menu shown in the screenshot in my previous comment?  I ran fcitx5-configtool and I see the same configuration menu that's pictured in my screenshot, with the same list as in my screenshot.

There seems to be no problem with fcitx5 settings.  My current guess is that ibus or fcitx (not fcitx5) is being prioritized and working as the Japanese IME.  This is probably a bug that only occurs with the combination of Manjaro and xfce.

OK, I've checked both of those possibilities.  Ibus has no engines installed or set, and fcitx (not fcitx5) is not installed.  Here is terminal output which may serve to prove that.
[alex@alex-pc ~]$ ibus list-engine

(ibus list-engine:1290786): IBUS-WARNING **: 00:55:57.320: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.UnknownProperty: Unknown interface org.freedesktop.IBus or property Engines.
[alex@alex-pc ~]$ ibus engine

(process:1290811): IBUS-WARNING **: 00:56:03.427: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.UnknownProperty: Unknown interface org.freedesktop.IBus or property GlobalEngine.
No engine is set.
[ble: exit 1]
[alex@alex-pc ~]$ pacman -Q fcitx
error: package 'fcitx' was not found
[ble: exit 1]
[alex@alex-pc ~]$ pacman -Q fcitx5
fcitx5-git 5.1.5.r48.g322eed31-1
[alex@alex-pc ~]$

If you have more suggestions for ways to test hypotheses, I am willing to run them and show the output.

What are the environment variables for Japanese input?  I also suspect that Manjaro may have automatically generated the wrong environment variables.
https://fcitx-im.org/wiki/Setup_Fcitx_5#Environment_variables

Here is the output of env, which lists all environment variables and their values.
[alex@alex-pc ~]$ env
SHELL=/bin/bash
SESSION_MANAGER=local/alex-pc:@/tmp/.ICE-unix/2692,unix/alex-pc:/tmp/.ICE-unix/2692
WINDOWID=41418755
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg:/usr/share/manjaro-kde-settings/xdg:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_MENU_PREFIX=xfce-
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
LC_ADDRESS=en_CA.UTF-8
VDPAU_DRIVER=nvidia
LC_NAME=en_CA.UTF-8
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
GRADLE_HOME=/usr/share/java/gradle
LIBVA_DRIVER_NAME=nvidia
DESKTOP_SESSION=xfce
LC_MONETARY=en_CA.UTF-8
FLUTTER_HOME=/opt/flutter
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/alex
LOGNAME=alex
XDG_SESSION_DESKTOP=XFCE
QT_QPA_PLATFORMTHEME=qt5gtk2
XDG_SESSION_TYPE=x11
PANEL_GDK_CORE_DEVICE_EVENTS=0
XAUTHORITY=/tmp/xauth_EYyFsq
ftp_proxy=
MOTD_SHOWN=pam
HOME=/home/alex
MANGOHUD=1
LC_PAPER=en_CA.UTF-8
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=XFCE
VTE_VERSION=7402
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
https_proxy=
_ble_util_fd_zero=34
YAOURT_COLORS=nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35
socks_proxy=
MOZ_DISABLE_RDD_SANDBOX=1
_ble_util_fd_stdin=30
XDG_SESSION_CLASS=user
TERM=xterm-256color
LC_IDENTIFICATION=en_CA.UTF-8
USER=alex
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
DISPLAY=:0.0
SHLVL=1
_ble_util_fd_stderr=32
LC_TELEPHONE=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
XDG_VTNR=2
XDG_SESSION_ID=2
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
http_proxy=
EMSDK_NODE=/usr/lib/emsdk/node/15.14.0_64bit/bin/node
_ble_util_fd_null=33
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
LC_TIME=en_GB.UTF-8
GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module
XDG_DATA_DIRS=/home/alex/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PATH=/usr/lib/emsdk:/usr/lib/emsdk/upstream/emscripten:/home/alex/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/emscripten:/var/lib/flatpak/exports/bin:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl://home/alex/work/ecg/android-studio/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
HG=/usr/bin/hg
MAIL=/var/spool/mail/alex
EMSDK=/usr/lib/emsdk
LC_NUMERIC=en_CA.UTF-8
_ble_util_fd_stdout=31
_=/usr/bin/env
[alex@alex-pc ~]$

In order for fcitx5 to work, the following values are required for the environment variables.  XMODIFIERS=@im=fcitx GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx
There is a possibility that something other than fcitx5 is running with the current environment variables.

It's possibly a limitation of Fcitx.
Would you confirm whether the same issue happens with Ibus?

Let's also convert this to a discussion as this looks more like a Q&A topic on how to dig into a mysterious behavior.


Gravity generator can no longer be unscrewed

About the PR
title
Why / Balance

Changelog
:cl:

fix: Gravity generator can no longer be unscrewed

should be available to unanchor when not active

Now only an unpowered gravity generator can be unscrewed. This is a pretty quick patch, you need to do handling anchoring anyway

fix: Gravity generator can no longer be unscrewed

Update this to say active, and also wrench not screw


wrap import error of native addon with suggestion to install prerequisites

closes #287

Why only if windows?

Why only if windows?

I believe the message tested against is win32 API specific and figured if we're checking against it, we should restrict to windows only. But I'm open to removing the platform check and just attaching this message on all platforms when the addon fails to load.

possibly flaky tile admin test: https://github.com/iTwin/itwinjs-backlog/issues/753


pre-commit: PR118913

Link: https://github.com/llvm/llvm-project/pull/118913
Requested by: @nikic

/add-label reviewed
/close


fix(#6366): pageserver: incorrect log level for Tenant not found during basebackup

Before this patch, when requesting basebackup for a not-found tenant or timeline, we'd emit an ERROR-level log entry with a huge stack trace. See #6366 "Details" section for an example
With this patch, we log at INFO level and only a single line.
Example:
2024-01-19T14:16:11.479800Z  INFO page_service_conn_main{peer_addr=<IP_ADDRESS>:43448}: query handler for 'basebackup d69a536d529a68fcf85bc070030cdf4b 035484e9c28d8d0138a492caadd03ffd 0/2204340 --gzip' entity not found: Tenant d69a536d529a68fcf85bc070030cdf4b not found
2024-01-19T14:19:35.807819Z  INFO page_service_conn_main{peer_addr=<IP_ADDRESS>:48862}: query handler for 'basebackup d69a536d529a68fcf85bc070030cdf4a 035484e9c28d8d0138a492caadd03ffd 0/2204340 --gzip' entity not found: Timeline d69a536d529a68fcf85bc070030cdf4a/035484e9c28d8d0138a492caadd03ffd was not found

fixes https://github.com/neondatabase/neon/issues/6366
Changes

Change handle_basebackup_request to return a QueryError
The new impl From<WaitLsnError> for QueryError is needed so the ? at wait_lsn() call in handle_basebackup_request works again. It's duplicating impl From<WaitLsnError> for PageStreamError.
Remove hard-to-spot conversion of handle_basebackup_request return value to anyhow::Result (the place where I replaced anyhow::Ok with Result::<(), QueryError>::Ok(())
Add forgotten distinguished handling for "Tenant not found" case in impl From<GetActiveTenantError> for QueryError

This was not at all pleasant, and I find it very hard to follow the various error conversions.
It took me a while to spot the hard-to-spot anyhow::Ok thing above.
It would have been caught by the compiler if we weren't auto-converting anyhow::Error into QueryError::Other.
We should move away from that, in my opinion, instead forcing each .context() site to become .context().map_err(QueryError::Other).
But that's for a future PR.

We should move away from that, in my opinion, instead forcing each .context() site to become .context().map_err(QueryError::Other).

I agree.  I've preserved some of these while refactoring, to cut down on the size of changes, but ripping them out would certainly be an improvement.


About downloading .pkl file of dataset

Excuse me, in the section of 'Prepare Data', you say that
"You can download the .pkl files from OneDrive. They should be enough for training and testing."
However, the OneDrive link does not work. Could you please provide a valid dataset link of the NuScenes dataset similar to bevfusion's instruction?

Sorry, I have fixed it.
In case you find other broken links, please do not hesitate to let me know.


Properties to control axes' labels and lines and Bar width?

Is your feature request related to a problem? Please describe.
It's surprising to see there is no  option to display y-axis labels and lines on a bar chart. Also, there's no way to control bar width (the currently available Margin property is applying the margin on both horizontal and vertical directions which is strange and not sure how useful it'll be for anyone).
Describe the solution you'd like
A few more properties to control axes' labels and lines like YAxisLabelsVisible, YAxisLinesVisible, YAxisLinesColor, YAxisLinesWidth, XAxisLabelsVisible, XAxisLinesVisible, XAxisLineColor, XAxisLineWidth. Another required property for a bar-chart would be BarWidth.
Describe alternatives you've considered
Tried Margin property in place of missing BarWidth property, but it is applying the margin to both x and y axis direction. Also, thinking of customizing the Xamarin.Forms code to add above properties to control axes lines, labels and bar-width.
Additional context

The axis part (y) will come soon : #205

The code is in develop, I was going to wait to push it up but I think I might just pull the trigger and get it released

Looking forward to this, especially, for LineChart.

Can't wait to get some axis labels for those line chartt

Is this feature still in development? Really needing it :)

It should be in the preview release

It should be in the preview release

I am using the preview release, but still haven't found a way to customize the Y axes or labels

Did this ever make its way to master?


Renamed "unknown" monster parts

Added some strings in eng-us.xml file so the "Unknown" parts have an useful name.
MONSTER_PART_TAIL_TIP
MONSTER_PART_ANTLERS
MONSTER_PART_HORN
MONSTER_PART_REMOVABLE_HEAD_ROCK
MONSTER_PART_REMOVABLE_CHEST_ROCK
MONSTER_PART_BODY_LEGS
MONSTER_PART_SILVER_SPIKES_HEAD
MONSTER_PART_SILVER_SPIKES_LARM
MONSTER_PART_SILVER_SPIKES_RARM
MONSTER_PART_SILVER_SPIKES_LWING
MONSTER_PART_SILVER_SPIKES_RWING
MONSTER_PART_BIG_FLINCH
MONSTER_PART_RAGE
MONSTER_PART_COUNTERATTACK
MONSTER_PART_CHARGE
MONSTER_PART_THROAT
MONSTER_PART_INFLATED_TAIL
MONSTER_PART_SKY_FALL
MONSTER_PART_EMISSIONS
MONSTER_PART_GLOWING_HEAD
MONSTER_PART_GLOWING_TAIL
MONSTER_PART_EMERGE_SNOW_HEAD
MONSTER_PART_EMERGE_SNOW_BODY
MONSTER_PART_EMERGE_SNOW_TAIL
MONSTER_PART_SPIKES_HEAD
MONSTER_PART_SPIKES_LARM
MONSTER_PART_SPIKES_RARM
MONSTER_PART_SPIKES_LWING
MONSTER_PART_SPIKES_RWING
MONSTER_PART_SPIKES_TAIL

Also removed some unused strings.
MONSTER_PART_LHAND
MONSTER_PART_RHAND
MONSTER_PART_LFOOT
MONSTER_PART_RFOOT
MONSTER_PART_LHEAD
MONSTER_PART_RHEAD
MONSTER_JAGRAS_SUMMONER
MONSTER_PART_REMOVABLE_LANTLER
MONSTER_PART_REMOVABLE_RANTLER

Some parts were marked as "skippable", for future development. These parts are unknown, and they don't seem to change its HP value or do anything at all... (they are in Library Of Babel tho).
Monsters involved in this pull request:
Gold Rathian
Silver Rathalos
Kirin
Rajang
Furious Rajang
Deviljho
Savage Deviljho
Zinogre
Stygian Zinogre
Raging Brachydios
Glavenus
Acidic Glavenus
Anjanath
Fulgur Anjanath
Coral Pukei-Pukei
Nergigante
Ruiner Nergigante
Xeno'jiiva
Zorah Magdaros
Shrieking Legiana
Odogaron
Ebony Odogaron
Radobaan
Vaal Hazak
Blackveil Vaal Hazak
Seething Bazelgeuse
TziTzi-Ya-Ku
Beotodus
Banbaro
Velkhana
Shara Ishvalda
Leshen
Ancient Leshen

Known issues:

Nergigante and Ruiner Nergigante's black & white spikes act weird, sometimes they interfere with other "Removable Parts".
Velkhana according to Library of Babel has another removable part but I could not get a valid value for it.

Thanks for the PR, I'll merge it after I'm done with v<IP_ADDRESS> because I usually only touch localization files after an update is complete

Sure no problem!


development

Changes

...

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

why did you closed

Because there are many merges in your pull request, without any description of your intention. The only text in the title was in Turkish. Note that most of your changes were also outdated, as we run dependabot too.
As a maintainer it's very important to be able to read a clear description. Deducing intention from code is quite time consuming.


XAI Jupyterlab Feature List

As the app grows, the number of features we need to keep track on grows. In order to do proper testing and help future team members, I have listed down the current features that I know of and how to reproduce them. Feel free to add or correct the entries.
We should automate these tests in the future (or get a validation engineer to do it for us :D) but until then, we do these tests manually. In general I don't believe we have to test all our features for a simple pull request, but do perform the tests in the same category (ie, if you're dev-ing on a Traybar widget, ensure that all Traybar tests work). We definitely do need to test all features before we move to a major changelog version.

With PR https://github.com/XpressAI/xircuits/pull/107, we've officially added validation automation to our workflow. PR messages are also improved since https://github.com/XpressAI/xircuits/pull/76.
As the list of features and how to test it will be moved to xircuits.io, this issue will be closed.


Specify temperature using transformers library?

Hi, thank you for the great models.
In the readme, the only example which shows how to specify temperature is the one using vLLM. Is it possible to set it when using transformers, where processor.batch_decode is called?
Thank you!

you can set temperature to the generate func

Hi, so I actually tried this initially as it seemed like a logical place to add it. In my script I did a for loop like so:
if len(temperatures) > 1:
        outputs = []
        for temp in temperatures:
            # Inference: Generation of the output
            generated_ids = model.generate(**inputs, max_new_tokens=256, temperature=temp)
            generated_ids_trimmed = [
                out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
            ]
            output_text = processor.batch_decode(
                generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
            )
            outputs.append({'temperature': temp, 'output': output_text[0]})
        return jsonify({"response": outputs})

however, the responses were all identical, even with wildly different temperature settings (like temperatures = [1, 6, 9]), so it seemed to me that wasn't doing anything.

try this @forensicmike
generated_ids = model.generate(**inputs,
                                   max_new_tokens=512,
                                   temperature=0.8,  # Increased from 0.7
                                   top_k=50,         # Added top_k sampling
                                   top_p=0.95,       # Added nucleus sampling
                                   do_sample=True ,   # Enable sampling
                                   repetition_penalty=1.05,)


Angular: undefined ... Ivy Workspace:

Angular CLI: 11.0.5
Node: 15.5.0
OS: win32 x64
Angular: undefined
Why is something like this happening? and how can I fix it?
...
Ivy Workspace:
Package                      Version
@angular-devkit/architect    0.1100.5 (cli-only)
@angular-devkit/core         11.0.5 (cli-only)
@angular-devkit/schematics   11.0.5 (cli-only)
@schematics/angular          11.0.5 (cli-only)
@schematics/update           0.1100.5 (cli-only)

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


conda-forge outdated

Latest version in conda-forge repository is 0.9:
# Name                       Version           Build  Channel
dash-mantine-components           0.6.0    pyhd8ed1ab_0  conda-forge
dash-mantine-components           0.7.0    pyhd8ed1ab_0  conda-forge
dash-mantine-components           0.8.0    pyhd8ed1ab_0  conda-forge
dash-mantine-components           0.9.0    pyhd8ed1ab_0  conda-forge

Could you please update it?
Thanks in advance!

Sorry I can't maintain this entry in conda forge, but some one from the community is welcome to take charge of it.

@snehilvj
Isn't conda forge really low maintenance? Just need to merge the automatically generated PRs? I thought setting up the feedstock was by far the most work.
I'm happy to do it if  you can add me as a member to the project


index.lock file issues - can't checkout

I somehow got a .lock file put in my repo (something about a git crash?), but I can't checkout a different branch because of it.
I'm going to upload the directory with the repo in it to the google drive folder in case anyone needs it

It's in a folder called LockBugRepo

If you try to do this via command line, it says:
"fatal: Unable to create '.../index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue."
So Elegit not switching branches is correct, will update the error message.


"Saba TalentSpace" quick easy update for public documentation

In regards to the public KB article:
"Azure Active Directory integration with Halogen Software"
https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/halogen-software-tutorial
We did notice Azure recently is now requiring a third field in Basic SAML Configuration called "Reply URL (Assertion Consumer Service URL)".
So for section labeled: "Configure Azure AD single sign-on" can you please update it like the following:
Step 4.
On the Basic SAML Configuration section, perform the following steps:
a.
In the Identifier (Entity ID) text box, type a URL using the following pattern: https://global.hgncloud.com/[companyname]/saml/metadata
b.
In the Reply URL (Assertion Consumer Service URL) text box, type a URL using the following pattern:
https://global.hgncloud.com/[companyname]/saml/SSO
c.
In the Sign on URL text box, type a URL using the following pattern: https://global.hgncloud.com/[companyname]/saml/login
previous ticket:
https://github.com/MicrosoftDocs/azure-docs/issues/47074

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 36f9b6f2-d0c3-6c4c-db53-108b7818d2d0
Version Independent ID: 7de4ef7b-93bc-ac29-330e-aaebc4a788b2
Content: Tutorial: Azure Active Directory integration with Halogen Software
Content Source: articles/active-directory/saas-apps/halogen-software-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@beniluul Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@v-nagta @chetansriv @jeevansd
It's basically one more URL to add if you could make step 4 to look like that I would really appreciate it.
Also, let me know how I can reach the team that can update the Azure Enterprise Application still labelled as "Halogen Software" with the old logo:
https://ia601506.us.archive.org/34/items/enterpriseapp/enterprise app.png

@beniluul We updated the Reply URL in the article you can see the changes once the PR is signoff.
To update the logos, please mail to<EMAIL_ADDRESS>

Sure I will check to see the changes once it's signed off. Thank you kindly.
Do you see under Step 4 it says this note highlighted in purple:
Note:
These values are not real. Update these values with the actual Sign on URL and Identifier. Contact Saba TalentSpace Client support team to get these values. You can also refer to the patterns shown in the Basic SAML Configuration section in the Azure portal.
• The hyperlink when you click on "Contact Saba TalentSpace Client support team" can you change the hyperlink from https://support.halogensoftware.com/ to https://support.saba.com/ because it will not reroute the clients it will fail.

I've emailed<EMAIL_ADDRESS>but they haven't responded yet.

ok this KB Article is perfect now. Let me know if you can ping the SaaSApp team for me to let them know to update the app in the catalog because it still has the old name and old logo.

Only thing left is to have the Enterprise Application to be renamed to Saba TalentSpace and put the current logo:
https://dl.dropboxusercontent.com/s/23b83353azzct7k/EnterpriseApp.mp4?dl=0

@beniluul We have updated the name of the application. But can you please provide the new icons in these sizes? Please send the email to<EMAIL_ADDRESS>Application Small Icon (PNG file, 45px by 45px, solid background color):
Application Large Icon (PNG file, 215px by 215px, solid background color):
Application Logo (PNG file, 150px by 122px, transparent background color)

@jeevansd
These three requested icon sizes & formats have been sent by email to<EMAIL_ADDRESS>

@beniluul We have made all the changes in the article, please review. Icons will be be published separately in this week's release cycle on Friday

#please-close


Maybe templating shouldn't be supported

Because fastForEach doesn't use the native template binding internally for rendering templates, it can lead to several issues like

Won't get any fixes related to template binding.
Can't use any feature of template binding, like engines, etc.
If one overrides/customizes the template binding, he might expect that the fastForEach template syntax will make use of it, but counter-intuitively it won't

I suggest removing the templating options and syntaxes, and recommending using an inner template binding like this.
<div data-bind='fastForEach: items">
  <!-- ko template: 'my-name' -->
  <!-- /ko -->
</div>

Or the same with non-containerless version if one can allow it.
This is be a breaking change of course, and should be added only into the final version IMO.

Yeah, I think for TKO-alpha/beta this would be wise.

I don't know the native template's foreach option's implementation very well, but you should take that into account too, because that may interfere with fastForEach as well.

I actually just got around to testing this today, and this is literally the only way I use foreach.    So as of today, this doesn't seem to work for me.  I would prefer this syntax stick around personally, I find it graceful, useful, and extremely easy to come back to after months of not seeing the code.
If I had to switch to the template inside a foreach syntax, it wouldn't be the end of the world, but I'd prefer not to for sure.

@jlaustill I ment the fastForEach binding syntax which let's you pass a template name. I didn't mean to touch the template syntax with the foreach options, that's a different story.
However, if fastForEach gets into the knockout core and possibly replaces the original foreach, the template syntax you mentioned should be something to think about. But I think we could at least call fastForEach and template respectively under the hood, so that the syntax would remain the same.


[bug] Chrome version lower than v 111 does not support color mix syntax

Link to minimal reproducible example
https://web3modal-laboratory-v3.vercel.app/
Summary
Chrome version lower than v 111 does not support color mix syntax
Chrome 版本低于v111不支持 color-mix 语法
List of related npm package versions
Web3modal v3
Chrome v100

Chrome v111

Should be fixed in alpha.8, let me know if you are still seeing this issue (make sure to install dependencies fresh)


chore: utility methods for GasVector

This change is

Codecov Report
Attention: Patch coverage is 96.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 70.14%. Comparing base (6e817fe) to head (0cd2585).

Files
Patch %
Lines

crates/blockifier/src/fee/fee_checks.rs
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1613      +/-   ##
==========================================
- Coverage   70.16%   70.14%   -0.03%
==========================================
  Files          59       59
  Lines        8330     8324       -6
  Branches     8330     8324       -6
==========================================
- Hits         5845     5839       -6
  Misses       2012     2012
  Partials      473      473

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


Error running Recall Knowledge (Esoteric Lore) macro since pf2e 5.9.1

Error occurs when GM clicks the Roll button in form triggered by player.

commons.js:2536 Uncaught (in promise) TypeError: undefined. key.split is not a function or its return value is not iterable
[Detected 2 packages: system:pf2e, pf2e-thaum-vuln]
    at Object.getProperty (commons.js:2536:24)
    at Localization.localize (foundry.js:7585:27)
    at traitSlugToObject (pf2e.mjs:1:29782)
    at pf2e.mjs:61:1461
    at Array.map (<anonymous>)
    at #createTagFlavor (pf2e.mjs:61:1454)
    at pf2e.mjs:60:42709
    at async CheckPF2e.roll (pf2e.mjs:60:42499)
    at async Dialog.callback (socket.js:293:9)
getProperty @ commons.js:2536
localize @ foundry.js:7585
traitSlugToObject @ pf2e.mjs:1
(anonymous) @ pf2e.mjs:61
#createTagFlavor @ pf2e.mjs:61
(anonymous) @ pf2e.mjs:60
await in (anonymous) (async)
submit @ foundry.js:65212
_onClickButton @ foundry.js:65140
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2

Should be fixed on latest. Thanks for the report.

Just tested it, all working perfectly now. Thanks for the great module.


Update WebpackDevMiddlewareOptions.xml

The project path property must be specified as an absolute path.

Closing because merge conflicts.
f you want to resubmit this change again, I'll be sure to get it quickly reviewed. Sorry this has been sitting for so long.


Indoor location sdk update interval

Hi, i am using your indoor sdk, why in version proximiiolibrary:2.7.2 i am receiving locations update every 2 seconds, and in version proximiiolibrary:2.7.3 every 4 seconds?

We've done extensive trials internally as well as on customer sites regarding the optimal sampling interval and for now we've ended up using 4 seconds instead of the 2. With this you will get better accuracy even though the position update interval is a bit slower. We might re-evaluate this in the future releases but for now we will stick with this.


RuntimeError: [enforce fail at inline_container.cc:209] . file not found: best_model_50_torchscript/constants.pkl E Please feedback the detailed log file <log_feedback_to_the_rknn_toolkit_dev_team.log> to the RKNN Toolkit development team. E You can also check github issues: https://gith

RuntimeError: [enforce fail at inline_container.cc:209] . file not found: best_model_50_torchscript/constants.pkl
E Please feedback the detailed log file <log_feedback_to_the_rknn_toolkit_dev_team.log> to the RKNN Toolkit development team.
E You can also check github issues: https://gith

Torch model needed to be exported with torch.jit.trace API. Refer here  https://github.com/rockchip-linux/rknn-toolkit/blob/master/examples/pytorch/resnet18/test.py


chore[xinference]: support custom model directory

/cherry-pick release-0.9

/cherry-pick release-0.8


Add data directory to Local Links Manager releases

Create data directory on deploy in shared directory and then symlink into public/data inside the current release.
This is to hold the exported CSV containing local authority services links which will be used by data.gov.uk.

Trello card
Mobbed with @brenetic @issyl0

I was sure that Capistrano had functionality for doing this sort of thing directly.  It does in cap 3 (which we're not using): set(:linked_dirs) = fetch(:linked_dirs) + %(public/data).  It also does in cap 2.x (what we are using): as above but the variable is :shared_children - the problem is that it seems it has inconsistent behaviour across different 2.x versions, and might not even do anything in some early 2.x veresions.  Shame.  Note that our python and node apps have a separate recipe that defines explicitly what to do with shared_children and make it safe for use when deploying python and node apps - we've not done anything for ruby apps though.
In summary; this explicit approach is probably safest until we upgrade capistrano.  Merging.


OnRequestPermissionsResult

If you are using Xamarin.Essentials that they need to include "Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);" within the OnRequestPermissionsResult.
Example being:
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
{
Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
}

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 85d5d1c5-9b5b-0e6c-0ac2-0cc76dff410b
Version Independent ID: 21a07f8c-706c-e69e-43db-8f5c61dd6be1
Content: Permissions In Xamarin.Android - Xamarin
Content Source: docs/android/app-fundamentals/permissions.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @davidortinau
Microsoft Alias: daortin

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


Improve file open error when packaging crates

Be sure to point to the file in question.
Closes #2914

@alexcrichton: no appropriate reviewer found, use r? to override

r? @brson

@bors r+

:pushpin: Commit d136d39 has been approved by brson

:hourglass: Testing commit d136d39 with merge 746d953...

:broken_heart: Test failed - cargo-linux-32

@bors: r=brson

:pushpin: Commit 7781298 has been approved by brson

:hourglass: Testing commit 7781298 with merge ff7ca6b...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: brson
Pushing ff7ca6b413baed13b82f5c18ad92b0b9ca4749ce to master...


Fix 3D Biology page issues

https://franklin.moleculardevices.com/products/3d-biology

[x] Anchor links missing on the benefits titles
[ ] Fix all the h3 titles to 36px
[ ] "3D Biology: The paradigm shift...." section should have a black background with a 36px title font size
[x] Centre align "Proprietary assay-ready organoids....", add space above and below the title. Bold "Organoid line expansion service" bullet and remove the asterisk
[x] under the "Automated 3D bioprinting HCS solution" section, remove the white background from the image and left-align the text and button
[ ] On the press release carousel, the images should be in a circle

@MeghnaTewari could you clarify the last point? From what I see the carousel looks the same on both the franklin and the original site. (and it does go back to the beginning)

@alexcarol I mean the images in the carousel should be in a circle

Please check this screenshot from live


Overwriting tab widths etc.

Hey,
Thanks for taking the time to write a syntax highlighter for NFTables!
Would you consider not overwriting the tabstop, tab width and other related configurations in https://github.com/nfnty/vim-nftables/blob/master/ftplugin/nftables.vim, however. I don't think that's relevant for syntax highlighting.
Thanks!

@moll This repo seems pretty dead, but this have been done in someone's fork: https://github.com/Phenitei/vim-nftables
He asked for a PR 2 years ago https://github.com/nfnty/vim-nftables/pull/8


high level command may not very work

I have trained your implementation(29400 steps). And then i use this https://github.com/carla-simulator/imitation-learning to test in Carla. I set directions(high level command) as a constant,such as 4.0, it means the agent will turn right when it is in the intersection. However, it doesn't work. it can follow lane very well, but do not turn left or turn right following the command.
Do you know why this happened?
Very thanks

when i use this  https://github.com/carla-simulator/imitation-learning trained model, It can follow the command.

I think the branch heads are not defined in the same order, you'll have to modify the run_CIL code to respond to the order used by this repo.

@zhangjunwang
Hi,
Could you provide the implementation you used run the vehicle using the trained models inside the CARLA simulator.
Thanks


Modification of Karpenter Grafana dashboards capacity and performance

Fixes Karpenter 0.35.2 Grafana dashboards do not work properly #5934
Description

Capacity dashboard: removed deprecated metric "karpenter_deprovisioning_actions_performed" and provides new visualizations using metrics "karpenter_disruption_nodes_disrupted_total" and "karpenter_disruption_eligible_nodes"
Performance dashboard: filtered for job="karpenter" to avoid getting controllers from other scarep jobsof K8s components using controller-runtime metrics as well

How was this change tested?

Karpenter serviceMonitor object for kube-prometheus-stack created, which creates a scarep job "karpenter"
provisioned dashboards to local Grafana instance

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

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

@njtran I used metric karpenter_disruption_nodes_disrupted_total instead of metric karpenter_disruption_actions_performed_total.
Both provide drill-down by label disruption action, method, and consolidation type, but karpenter_disruption_nodes_disrupted_total gives these details even by NodePool, which I believe is a clear advantage over karpenter_disruption_actions_performed_total

Hey @youwalther65, the number of actions taken is different from the number of nodes disrupted. Actions taken can provide information on the number of batches of disruptions. Do you mind adding the number of disruption actions back in as well?

Hey @njtran , that's interesting, thank you. So it would look something like that:

with the other Visualizations from the originla still in place (and not visible in the screenshot I provided). If you like that I will go ahead and put it into my PR.

While disruption can be controlled at the nodepool level (TTLs, budgets, etc) the actual disruption actions are NodePool agnostic. For example, a single multi-node consolidation action could act upon nodes owned by multiple NodePools. We don't consider any action tied to a particular nodepool for that reason.

Sorry it took me a moment to get around to pulling this down and reviewed, overall really like the changes!
Some nits on the chart naming for consistency / spelling:

Nodes eligable for Disruptions -> Nodes Eligible for Disruption
Number of disruption actions performed -> Disruption Actions Performed
Node Disruptions -> Voluntary Node Disruptions

I was going to suggest "Nodes Disrupted" for the last one to be consistent with the other naming, but I realized that's really ambiguous since we also have "Nodes Terminated". Since these dashboards are really intended for newcomers to Karpenter, I don't think we want to rely on terminology that requires knowledge of Karpenter's node lifecycle to differentiate between. I think voluntary node disruptions hits the mark since it filters out involuntary disruptions which aren't driven by the disruption controller (e.g. spot interruption, kubectl delete node, etc). Definitely open to other ideas here though.
Some other nitty feedback:

IMO nodes eligible for disruption shouldn't be stacked since the same node can be counted in multiple categories. Maybe I'm wrong but I've always read stacked graphs as the different sections being mutually exclusive.
Now that we have multiple charts regarding disruption here, I'm wondering if it would be good to add a dashboard filter for the disruption method? Seems like it would be a nice addition if you're interested in adding it.

I did also notice some funky numbers for nodes eligible for disruption, turns out there's a bug in this metric that should be fixed with the following PR: https://github.com/kubernetes-sigs/karpenter/pull/1187.

@jmdeal Thank you for the feedback. I like the ideas and have incorporated all of them in a new version. Please check again, thx.

/unstale I'll try and take a look by the end of the day or tomorrow, I got caught up with some other tasks last week and this slipped through the cracks. Need to get the upstream metric fix in as well.

Sorry for the delays here, two last comments and this looks good to me:

Looks like there's still a typo in "Nodes Eligibale for Disruption" (should be Eligible)
We should probably copy these dashboards into the v0.35, v0.36, and preview doc folders as well. Shouldn't need any additional changes there, just copies.

@jmdeal Thx, will follow up after my vacation end of  May.

/remove-lifecycle stale

Done with the requested changes @jmdeal

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5547

Relevant Lines:
6722

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5554

Relevant Lines:
6733

💛  - Coveralls


Create All Blank Pages

User stories
As a Developer I want to have a blank page where I can implement my page in order to have a working navigation system
Dependencies
Depends on: nothing
Context
This issue is to give the navigation-system team the control how to manage the page-system
Acceptance criteria

[ ] Dashboard created
[ ] Search page created
[ ] Item view page created
[ ] Notification page created
[ ] My profile page created
[ ] Add item page created

We talked about this user story in our sprint planning meeting. We propose the following changes:

The item team bp-br creates the item scaffold
We create the rest of the pages that aren't created yet
We'll check in with bp renard to talk about this change


⚠ Bofrost.be has degraded performance

In 4396853, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2416 ms

Resolved: Bofrost.be performance has improved in 12ab123 after 1 hour, 11 minutes.


PivotTable with AngularJS

Here is a simple way of using this awesome pivot table with angular without building a directive.
HTML VIEW http://grab.by/A0FW
github did not allow me to paste html , so here is the image
ANGULAR CONTROLLER
'use strict';
(function () {
angular.module('app').controller('productPivot', productPivot);
function productPivot($scope, $http) {
$scope.products = [];
getProducts();
    function getProducts() {
        var entity = 'Product';
        var resource = 'getProducts';
        var url = 'http://' + window.location.host + '/api/' + entity + '/' + resource;
        return $http.get(url).
        success(function (data) {
            $scope.products = data;
            pivotUi();
        }).
        error(function (error) {
        });
    }

    function pivotUi() {
        var derivers = $.pivotUtilities.derivers;
        $("#productsPivotTableOutput").pivotUI($scope.products, {
            rows: ["Name"],
            cols: ["CanBeSold"],
            rendererName: "Table"
        });
    }
}

})();
you can also use d3
html http://grab.by/A0H8
js http://grab.by/A0H4
ui http://grab.by/A0Ha
and if you want to go "fully loaded" , by including Google Charts
on the index.html http://grab.by/A0IQ
on the view http://grab.by/A0IU
JS http://grab.by/A0J0
Thanks Nicolas, you rock

awsome

This is also related: #272

Reports an error when we use it the above example
TypeError: Cannot read property 'derivers' of undefined
This is for the line
var derivers = $.pivotUtilities.derivers;

@mreddimasi if you're seeing that error, it means you have not loaded the pivot.js file.

@nicolaskruchten Thanks you so much, pivot.js was not loaded indeed ( I had it in the wrong location, which was getting cleared when using through yeoman generators). Included pivot.js and pivot.css
Faced with new error
TypeError: undefined is not a function
at $.fn.pivotUI (pivot.js:1193)
at pivotUI (pivot.controller.js:28)
at Object.success (pivot.controller.js:18)
html is as below

line # 28 is
$("#pivotOutput").pivotUI($scope.data, {
in the code below
pivot.controller.js
'use strict';
(function() {
angular.module('analyticsApp').controller('PivotCtrl', PivotCtrl);
function PivotCtrl($scope, $http) {
$scope.data = [];
getData();
//  console.log("Inside PivotCtrl");
function getData() {
  //console.log("Inside getData");
  return $.getJSON("mps.json", function(mps) {
    console.log("Looks like we got mps data");
    $scope.data = mps;
  //  console.log($scope.data);
    pivotUI();
  }).fail(function() {
    console.log("Failed to load mps.json");
  });
  pivotUI();
}

function pivotUI() {
  var derivers = $.pivotUtilities.derivers;
  //console.log($scope.data);
  $("#pivotOutput").pivotUI($scope.data, {
    derviedAttributes : {
      "Age bin": derivers.bin("Age", 10),
      "Gender Imbalance": function(mp) {
        return mp["Gender"] == "Male" ? 1 : -1;
      }
    }
  });
}

}
})();

I'm not really well-positioned to support this AngularJS contribution, so I'll defer to the original author....

Hello
i am attaching a view and viewmodel of an old application i had that uses Pivot
i hope it helps

when you download the attachment, please rename the extension to be .zip

@OscarAgreda Thanks! Are you able to create a Gist at https://gist.github.com  with this instead of posting an attachment or screenshots of code? I think it would work better :)

yes, Thanks, here it is
https://gist.github.com/OscarAgreda/49b4e2ac3d7b22920311

@OscarAgreda @nicolaskruchten Thank you so much for the clarification and your help
The problem was with not importing the jquery-ui-plugin
Was able to display the UI, but all the styles are missing, I can see it as below. I've included the pivot.css. Not sure if the problem is with having bootstrap also (which could have css-reset), are we seeing a similar behavior. Will try disabling bootstrap and check

created a Gist for it https://gist.github.com/9376bf9320fa06d60837

Please ignore my comments, the problem was with improper import again
Changed

to

and it works. Thank you so much again

Glad it all worked out :)

pivot directive
use;

or

code:
https://gist.github.com/Angularjschile/1170ea3ba7d263b584e3

+1

I am using pivot.js with angularjs and loading all dependencies with Require.js.
I want to use Bar chart and Area chart, but I am getting error as "ReferenceError: c3 is not defined".
what is the meaning of this error. If possible post some sample code how to load dependencies (like c3.min.js, d3.min.js and so on...)
Can you plz help me?

You just need to load c3.min.js somewhere... The C3 example has that: http://nicolas.kruchten.com/pivottable/examples/c3.html

I was able to generate the chart without angularJS, but when I am trying to generate the chart with AngularJs I am getting error as  "ReferenceError: c3 is not defined".
I am unable to load c3.js using Require.JS.
Any thoughts on this?

Sorry, I have no idea how to deal with C3/Require/Angular integration issues, I just build the PivotTable :) Perhaps StackOverflow would be able to help you with this particular integration task.

Hello, yes StackOverflow is most likely when you can get it solved
Here is a piece of code , i used some time ago to load a huge/complex file (d3.js) with require.
I hope it helps
https://gist.github.com/OscarAgreda/6db6bd6e8a2bf99b611b
i removed all of my other javascript files from the gist, just left d3.js,  but you will get the idea by looking at the code.

As I am getting "ReferenceError: c3 is not defined" error, Can I pass C3 as input parameter to c3_renderers.js ?

Below is my sample code, is there any thing wrong
require(["d3", "c3",'jquery-ui.min','pivot','c3_renderers'], function(d3,c3) {
window.d3 = d3;
$scope.products = [];
getProducts();
			function getProducts() {

		        var url = 'http://localhost:8080/videos';
		        return $http.get(url).
		        success(function (data) {
		            $scope.products = data;
		            pivotUi();
		        }).
		        error(function (error) {
		        	alert('Error');
		        });
		    }

		    function pivotUi() {

		    	var derivers = $.pivotUtilities.derivers;
	            var renderers = $.extend($.pivotUtilities.renderers, $.pivotUtilities.c3_renderers);

	         alert('from sample');

		        $("#output").pivotUI($scope.products, {
		        	 renderers: renderers,
	                 cols: ["videoName"], rows: ["likeCount"],
	                 rendererName: "Area Chart"
		        });
		    }

		});

Issue got resolved. Below is the code.
require(["d3"], function(d3) {
require([ "c3",'jquery-ui.min','pivot','c3_renderers'], function(c3) {
window.c3 = c3;
......
});
});
Thanks for the information

so you just added "c3" in the same way I showed you how i add "d3",  right

Yes

If it helps anyone with a simlar need to my own, here is the i threw together based on the one @Angularjschile made that supports the ability to switch between pivot and pivotUI to allow for edit and display views.
https://gist.github.com/c0r3yz/8ba37a3009e2a719210c

Hi @OscarAgreda ,
Is there any way to implement paging for big amount of data.
Thanks,
Ashutosh

hi @sanskith
how about get data from url ?
use laravel

I am using angular (material ui), Now I am facing error $.fn.pivotUI@http://infinity.local.com/vendor/jquery-2.2.1.min.js line 2 > eval:1630:9
How I can resolve this issue.
Code :
var jsonData = [{"nsm": "NSM","rsm": "Central","asm": "Suraj","sr": "Sameer","outlet": "Outlet007","distributor": "Distributo","region": "Central","sku": "PET-1 Ltr","category": "TWP-PET","period": "Feb","qty": 5,"price": 100,"value": 500,"indicate": "S"}, {"nsm": "NSM","rsm": "Central","asm": "Suraj","sr": "Sameer","outlet": "Outlet004","distributor": "Distributo","region": "Central","sku": "EXOTIC 315 ML X 12 PCS","category": "EXOTIC","period": "Feb","qty": 2,"price": 120,"value": 240,"indicate": "S"}];

jQuery(function(){
           var derivers = jQuery.pivotUtilities.derivers;
           jQuery("#output").pivotUI(jsonData, {
               rows: ["sku"], cols: ["value"]
           });
       });

Does anyone on this thread want to help me build an "official" Angular connector for this library? I'm getting a lot of questions about it but I'm a React guy not an Angular guy so I'd need a bit of guidance :)

is there an example of project in angular 5 or 6 with pivottable.js

@nicolaskruchten please do let me know how I can help to port to Angular. Would be delighted to be part of this initiative.


rollback method requires a (sometimes) useless callback function

Assertion error when there is no callback function parameter in rollback method invocation, because of "assert(typeof cb === 'function');" in serial.js
There are some cases when there is nothing more to do after a rollback, so it makes sense to allow use of optional callback instead.
[ More over, in the readme, the example uses rollback() without callback ]

Thanks, I think you're right! I won't have to fix for a while—do you feel like submitting a PR?

Sure, done
2015-11-09 13:31 GMT+01:00 Marco Tabini<EMAIL_ADDRESS>
Thanks, I think you're right! I won't have to fix for a while—do you feel
like submitting a PR?
—
Reply to this email directly or view it on GitHub
https://github.com/mtabini/node-bemis/issues/1#issuecomment-155051494.