How could I style with tailwindCSS ?

Could you please give me a hint on how I could style all the blocks by using tailwindcss? Thank you!

Now the way to give custom styles is using the prop classNames, this prop give to the components the classes that represents it, like rnr-heading_2, rnr-paragraph. Complete explaination in README.
So i recommend use this prop and create your own index.css, configure tailwind for your react app and define the rules for this package classes using tailwind @apply.
For example:
.rnr-paragraph {
  @apply bg-black;
  @apply text-purple-600;
}

I've maded this ugly example repo: https://github.com/9gustin/tailwind-rnr-poc (when stackblitz start the app not are taking this styles, but locally works fine)
I know it is not the best way to use the tailwind, but now it is the best solution 🙂❤
@onlineworld69

Thank you so much for your timely response with details 🙏😇


Pancake Sort

Aim
Sort a disordered stack of N  pancakes in order of size with minimum number of flips when a spatula can be inserted at any point in the stack and used to flip all pancakes above it .
P.S. I'm working on it

Thank you 👍
Please ensure to follow the documentation standard and a generic structure for the code like this, for example

Hey, I and my team would also like to work on this issue. Can you please assign us this?? @kvedala @divyansh12323

@aashigupta19
You can work on this issue, or any issue as a matter of fact, no need to ask. Just look into the contribution guidelines to get going.

Heyy, actually we required some user acceptance tests for our ongoing project too, like what should be the exact required output, for utmost clarity of the issue, so can you provide the same if possible? Or shall we proceed with our own test cases?? @nikhilkala @divyansh12323 @kvedala

Hey , I was busy with my university exams and couldn't complete the issue but i had made significant progress so I would like to continue on this issue. Can you please assign this to me? @kvedala @nikhilkala

No need to assign. Feel free to contribute with a pull-request. But do ensure the following:

that the code does not already exist in the repo
review contribution guidelines for the repo
all automated checks must pass.


Can not get "Created" property's value which is "FtpListItem" class's property

**FTP Server OS: Windows
**FTP Server Type: Windows Server IIS
Client Computer OS: Windows
**FluentFTP Version:**46.0.2 ?
Framework: .NET Framework 4.8
Hi, I have a question.  I want to get the created time and modified time of files which are in ftp server. I can get modified time. but I can not get the Created time.  And throw "System.ArgumentOutOfRangeException: is not a valid Win32 FileTime"  So how to resolve the problem? Can you tell me. Thank you.
This is my code:
private void SetFileCreatedTimeAndModifiedTime(IEnumerable<FtpListItem> ftpListItems)
{
    try
    {
        foreach (FtpListItem item in ftpListItems)
        {
            DateTime created = item.Created;
            DateTime modified = item.Modified;

            string localFile = Path.Combine(_targetDir, item.Name);
            File.SetCreationTime(localFile, created);
            File.SetLastWriteTime(localFile, modified);
        }
    }
    catch (Exception e)
    {
        throw e;
    }
}

Hi Gandalf!
Need a log here, containing the results of the FEAT command and also the actual way the GetListing was performed and its output.
Modified time is not included in all file listing formats, so... without a log (sigh)... how can we know what is going on?


Borrow Element Limitation

Thank you for a very useful package.
We are having difficulties to run scripts in normal office hours, because someone always owns something in a large workshared model. we have successfully used the "Borrow Element" node, but since the model have more elements, this node has stopped working.
Are there any known limitations to how many elements that are allowed to borrow?
Are there any way to make Dynamo write information to all elements except those owned by others?

Hi,
I'm gald you found the Genius Loci package useful.
I didn't know there was an element limit for borrowing.
You can easily filter owned elements with the Get Element Worksharing Tooltip Info node.

Thank you, I'll try that.


Is this a fusion of MPC and RL?

Is this a fusion of MPC and RL?

是的，差不多。
Thank you for your reply.


Update README.md

Fixed some mistakes in the README

Thank you! @Aryan9592

@Aryan9592 - can you share your smr address? We'll reward you with 10 SOON for this small contribution. I know it might not be much but I want to show you that we appreciate every single one.

Well, thanks!!
Here's my smr address

Well, thanks!!
Here's my smr address

Can you copy and past actual address so I don't have to retype it? Thanks

Sure!! Here it is -> smr1qrzxsjqaw04xxwrf3cqlfpja9t4jtw3g4zz0a5yz0z6fetu3exdgky53ul7
Btw, QR Scan feature doesn't work?

Sent, thank you!


Background Changes

Might be nice to be able to change some of the looks of the toolbar. Background colour and text colour changes for example?
Thanks!

I agree it would be cool. I was thinking of doing something like this: http://viget.com/extend/sharing-data-between-sass-and-javascript-with-json Since colors need to be in JS and SCSS. This way anyone could create a custom build.

@okor Looks good!

Consolidating similar issues here: https://github.com/okor/justice/issues/28


Context stencil fix

Fixes https://github.com/AnalyticalGraphicsInc/cesium/issues/4771
@emackey thanks for noticing this.

Good eye, thanks @emackey @lilleyse!


[FeatureRequest] Potion Effect enchantments & Flight

As the title I think it'd be really awesome if there were enchantments for potion effects, helps a lot with prison servers that have dark mines so you can put night vision on a tool.
Another cool enchantments would be flight, you can flight when you have the tool equipped.

i think you found out but flight is already added
just asking, which potion effects do you want to see added? obviously i cant have half of the enchants page be potion effects ;)

Effects like haste, speed, jump boost, night vision would be awesome.

Added in 1.9r-15


Use become at a task level?

Hi,
I have a playbook that only uses become on specific tasks.
I'm I correct assuming that your role only works if the host uses become= true?
I got this error:
TASK [williamyeh.oracle-java : install JDK via RPM file with yum] **************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": true, "failed": true, "msg": "You need to be root to perform this command.\n", "rc": 1, "results": ["Loaded plugins: fastestmirror\n"]}

I managed to fix it using the following syntax:
roles:
- {role: williamyeh.oracle-java, become: true }


Ember UI iframe issues- local cluster system project view

Ember UI is being iframed into the vue ui.
These are issues found in the local cluster system project view. On Rancher master-head version c1151f6

The System text in the header is too difficult to read against a dark background.

The search text field looks disabled.

Scrolling down will bring the header down. The header is floating and text will scroll under it.

I cannot access the Load Balancing tab in the local cluster. Errors with Uncaught (in promise) Error: There is no route named  ingress. I can access the Load Balancing tab in a downstream cluster.

In the Service Discovery page, the Target column text is too small. It is difficult to read the small white text.

In the Volumes page, the banner does not extend all the way.
There is empty space below the Import YAML and Add Volume buttons.

When adding a volume, the Add Volume Claim view text is too close to the warning message.
If creation fails, the error message has no icon on the left.

Tested on Rancher master-head version 21ab02c
The above issues are not seen.


Forever loop when connecting for the first time

What

When I tried to connect I saw a forever progressing indicator. And no explicit way to stop it - had to use a back gesture.

Steps to reproduce the behavior

Downloaded app from Google Play.
Tried to put user/password
Forever progress, that lasted several minutes, until I stopped it (back gesture)
Looked ok though afterwards, as I was able to go to the "connected user only" pages

Expected behavior
We should not wait forever:

what went wrong?
is that something we could do at least partly in a background task?
should we use a time-out of 5 seconds and then try again?

Screenshot/Mockup/Before-After

Smartphone model

Device: Samsung A14 (I finally bought a new one)
OS: Android 13
App Version: Google Play

Additional context
I don't know if it's easy to reproduce or if it's just a "bad luck" issue.

I think I've seen this in a user review somewhere. Definitely for a timeout + exception when one occurs

Thinking again about it, I believe the problem is that:

we have this "like the app?" dialog - that I find particularly ugly, especially given that I happened to see a nicer "like the app?" widget (but could not find where)
the "forever loop" indicator is misleading - it's still running even if (I believe) the server has already answered and we're just sort of waiting for the dialog

The solution could be something like

explicit "calling the server" + cancel button dialog while calling the server, potentially with a forever loop indicator
and only then displaying the "like the app?" dialog (preferably the nice one), without forever loop underneath

My hunch seems correct.
About to PR.
    _loginResult = await userManagementProvider.login(
      User(
        userId: userIdController.text,
        password: passwordController.text,
      ),
    );

    if (_loginResult!.type == LoginResultType.successful) {
      AnalyticsHelper.trackEvent(AnalyticsEvent.loginAction);
      if (!mounted) {
        return;
      }

      await showInAppReviewIfNecessary(context);

      if (!mounted) {
        return;
      }
      Navigator.pop(context);
    } else {
      setState(() => _runningQuery = false); // Hey, we should do that earlier, not while opening a new dialog!
    }


Add webpack cache to reproduce a bug

#3
Just a webpack config with cache. Try to run tests two times. You will see, that there are some errors

Note that the CI is passing

@mcollina add two runs

issue is fixed! https://github.com/pinojs/pino-webpack-plugin/issues/3


Re-run command is backed up by one sequence with shell integration

Tested on MacOS
(Shell integration for Windows Python REPL users are still colorless so could not test for Windows)
With shell integration decoration enabled on Mac and Linux users using Python REPL, I found out pressing re-run via the decoration offered commandline that is one before the appropriate/target commandline.
For example, clicking on decoration on print('hello') should've offered print('hello') after "Do you want to run the command: ", but instead offered a command that is one before.

(When debugging after clicking decoration circle) command.command in the _getCommandAction function seemed to also command that is one before the appropriate/target command.

Debugging with breakpoint on line 479 (https://github.com/microsoft/vscode/blob/eee233f1ed71b24e83acdb6ca499fc0d728d5aea/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts#L479) showed empty string for currentCommand.command.

Fixed by: https://github.com/microsoft/vscode-python/pull/23025

With shell integration decoration enabled on Mac and Linux users using Python REPL

How do I enable that? I don't see shell integration inside the repl

Oh, I do see it when I start the repl with the "Start REPL" command


Do not require hosts edit for running quarkus molecule suite locally

prepare playbook was failing for me when running quarkus suite locally (can't/won't edit my hosts file via sudo).
If it just for having curl in the verify playbook to succeed, this should be enough.
(didn't really understood what this HERA_HOME stuff is for)

sorry, exactly which ones?

set_facts in the prepare playbook should not have any effects outside the prepare playbook run - but maybe I am missing something
in the verify playbook I just moved them to accomodate ansible-lint checks

The set_fact in prepare.yml, please leave it alone


Update controler to 0.18.0

With 0.16.0 there are few errors like
resource mapping not found for name: "sealed-secrets-service-proxier" namespace: "kube-system" from "controller.yaml": no matches for kind "Role" in version "rbac.authorization.k8s.io/v1beta1" ensure CRDs are installed first
...
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This was done part of #1478


Gmail changed something and emptying Archive folder deleted all mail.

NOTE: I called out Gmail specificallly because a Yahoo account of mine didn't have this unexpected result.
Steps to reproduce

Open gmail account with rainloop in nextcloud interface.
Navigate to the Archive folder.
Click the link to clear the folder.

Expected behaviour
Items that were deleted but not expunged would become expunged.
Actual behaviour
All inbox and subfolders contents were permanently deleted. This was confirmed by opening the webmail interface with google.
Server configuration detail
Operating system: Linux 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64
Webserver: Apache/2.4.18 (cgi-fcgi)
Database: mysql 10.0.36
PHP version:
7.0.32-0ubuntu<IP_ADDRESS>
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 14.0.3 - <IP_ADDRESS>
Updated from an older Nextcloud/ownCloud or fresh install: Upgraded from 13
Where did you install Nextcloud from: Nextcloud site
Signing status
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => 70183f641f39fc5f43065aeb15b86ac99e86b82310d5467e1c4d935df30acc6155c0905f84f59616885275c19ffacea59e354a87a5c97c94f50d50d4eff0370e
[current] => e05ca07248d85fbaa8d0b033257dec1e62a1308462eba2e21a57eb574e2c4e41af3872d372f5d835f659f943010c4bceb7f3c8113b11eb65ff730e8a30f76a93
)
            )

    )

)

List of activated apps
Enabled:
 - accessibility: 1.0.1
 - activity: 2.7.0
 - admin_audit: 1.4.0
 - admin_notifications: 1.0.2
 - announcementcenter: 3.3.1
 - apporder: 0.5.0
 - audioplayer: 2.4.1
 - bruteforcesettings: 1.1.0
 - calendar: 1.6.3
 - carnet: 0.8.8
 - checksum: 0.4.1
 - cloud_federation_api: 0.0.1
 - cms_pico: 0.9.7
 - comments: 1.4.0
 - contacts: 2.1.6
 - data_request: 1.1.0
 - dav: 1.6.0
 - deck: 0.4.1
 - dicomviewer: 1.0.2
 - drawio: 0.9.1
 - drop_account: 0.0.12
 - event_update_notification: 0.3.0
 - federatedfilesharing: 1.4.0
 - federation: 1.4.0
 - files: 1.9.0
 - files_accesscontrol: 1.4.0
 - files_automatedtagging: 1.4.0
 - files_markdown: 2.0.4
 - files_pdfviewer: 1.3.2
 - files_retention: 1.3.0
 - files_sharing: 1.6.2
 - files_texteditor: 2.6.0
 - files_trashbin: 1.4.1
 - files_versions: 1.7.1
 - files_videoplayer: 1.3.0
 - firstrunwizard: 2.3.0
 - flowupload: 0.0.8
 - gallery: 18.1.0
 - gpxedit: 0.0.9
 - gpxmotion: 0.0.7
 - gpxpod: 2.3.1
 - groupfolders: 1.3.3
 - issuetemplate: 0.4.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.2.0
 - metadata: 0.7.0
 - mindmaps: 0.1.0
 - music: 0.9.2
 - nextcloud_announcements: 1.3.0
 - notes: 2.4.2
 - notifications: 2.2.1
 - oauth2: 1.2.1
 - ocsms: 1.13.1
 - password_policy: 1.4.0
 - phonetrack: 0.3.6
 - polls: 0.8.3
 - previewgenerator: 1.1.0
 - provisioning_api: 1.4.0
 - quota_warning: 1.3.0
 - radio: 0.6.3
 - rainloop: 6.0.1
 - ransomware_detection: 0.4.1
 - ransomware_protection: 1.2.0
 - registration: 0.4.5
 - richdocuments: 3.0.1
 - serverinfo: 1.4.0
 - sharebymail: 1.4.0
 - socialsharing_diaspora: 1.0.3
 - socialsharing_email: 1.0.4
 - socialsharing_facebook: 1.0.3
 - socialsharing_googleplus: 1.0.3
 - socialsharing_twitter: 1.0.3
 - spreed: 4.0.0
 - support: 1.0.0
 - survey_client: 1.2.0
 - systemtags: 1.4.0
 - tasks: 0.9.7
 - telephoneprovider: 1.0.1
 - terms_of_service: 1.0.1
 - theming: 1.5.0
 - theming_customcss: 1.1.0
 - twofactor_backupcodes: 1.3.1
 - updatenotification: 1.4.1
 - weather: 1.5.4
 - workflowengine: 1.4.0
Disabled:
 - bookmarks
 - circles
 - encryption
 - files_antivirus
 - files_downloadactivity
 - files_external
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.mydomain.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "<IP_ADDRESS>",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "theme": "",
    "loglevel": 0,
    "default_language": "en",
    "enable_previews": true,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "preview_max_scale_factor": 10,
    "preview_max_filesize_image": 50,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore --convert-to pdf --outdir ",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\SVG",
        "OC\\Preview\\TIFF",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\Font",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\Movie",
        "OC\\Preview\\MSOffice2003",
        "OC\\Preview\\MSOffice2007",
        "OC\\Preview\\MSOfficeDoc",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF",
        "OC\\Preview\\Postscript",
        "OC\\Preview\\StarOffice"
    ],
    "tempdirectory": "\/home\/adminuser\/domains\/cloud.mydomain.com\/tmp\/nextcloudtemp",
    "overwrite.cli.url": "https:\/\/cloud.mydomain.com\/"
}

Are you using external storage, if yes which one: no
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Operating system: Ubuntu workstation 18.04 LTS

Little update here, about a day after posting, gMail stopped connecting to Rainloop. It just started working again tonight. I connect with IMAP. The Archive folder is still doing its weird thing. It seems to be all folders except trash.


wip: feat(input[range]): support step

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feat
What is the current behavior? (You can also link to an open issue here)
Input range doesn't handle the step attribute wrt to validation and model updates
Does this PR introduce a breaking change?
No
TODO

[ ] Add tests for step + min + max
[ ] Add docs
[ ] Find out exactly what is broken in Chrome

Other information:
Wrt the Chrome bug mentioned in https://github.com/angular/angular.js/pull/14870#issuecomment-235829620, it looks like setting a number isn't the problem, but that Chrome has a bug when you change the step value multiple times. Not sure yet, though.

@gkalpak I can't replicate the bug you described in https://github.com/angular/angular.js/pull/14870#issuecomment-235829620. Here's my repro: http://plnkr.co/edit/cBc2YAySJzD8y0NukAEQ?p=preview
What happens instead is that Chrome sets the value to "60", which is also weird, as "40" (like Firefox sets it) is much closer to "45" (the previous value).
There's also another test case (fn angTestCase()) that shows how Chrome stops adjusting the element value based on the step when the value has been modified previously.
I think I'll raise both bugs in the Webkit tracker, but I'm totally prepared that this is following the spec in some obscure way ...

I can't reproduce it on Chrome v52 either. (I was on v51 when I reproduced it. It got probably fixed,  introducing another bug :wink:)

Reported as https://bugs.chromium.org/p/chromium/issues/detail?id=633075 (stops adjusting) and https://bugs.chromium.org/p/chromium/issues/detail?id=633074 (adjusts to wrong value)

One refactoring comment. Other than that LGTM

@petebacondarwin Sorry Pete, the current state of the PR is outdated :o I just pushed the updates.
It also included step support for input number.
The main difference for range to before is that we don't support ngStep, because the browser would still use the default step of 1, and we don't test the step change updates anymore, because not all browsers implement them.

I feel sad that we don't support ngStep for native range inputs. It feels confusing for the developer to have it but only for non-native ranges.

That's why I didn't document it at all. Because it's not really useful.

Landed as e1da4bed8e291003d485a8ad346ab80bed8ae2e3 and 9a8b8aaa9641bfc85d245c4355fa5481285b593f


Array elements are coerced before array constructor is run

Describe the bug
require 'dry-schema'
require 'json'

field_schema = Dry::Schema.define do
  required(:string_field).filled(:string)
end

array_type = Dry.Types().Array(field_schema).constructor do |input|
  p input
  input.map { |value| JSON.parse(value, {symbolize_names: true}) }
end

schema = Dry::Schema.define do
  required(:schema_field).filled(array_type)
end

p schema.call({ schema_field: [{ string_field: '1' }, { string_field: '2' }].map(&:to_json) })

To Reproduce
Run the example
[{}, {}]
#<Dry::Schema::Result{:schema_field=>[{}, {}]} errors={:schema_field=>{0=>{:string_field=>["is missing"]}, 1=>{:string_field=>["is missing"]}}}>

so strings from the input was coerced to empty hashes and array constructor is receiving this empty hashes instead of input strings.
Expected behavior
Input strings are passed to the constructor.
My environment

Affects my production application: NO
Ruby version: 3.0.1
OS: Linux x86_64

Yes I agree with Nikita. There are a lot of similarities and it's often tempting to reuse some abstraction but it's much more nuanced. I know you can have a very fluid DSL where you just chain things together freely (there are folks who implemented similar libs based on this idea) but it's not gonna work well for schema definitions. That's the main purpose here. Personally, I'm still not happy with how custom types are handled and to be honest, I don't know if I would like to use custom constructors with schemas anyway. For me transforming data input before schema can be applied is still an unsolved problem, even though you can already do it to a large extent using existing APIs. This stuff is hard 🙂 I will get back to this topic eventually, maybe during 2.0.0 work.


Failed to install

Brand new ATOM(never had it installed before), just installed particle-dev-complete and I'm receiving this error:
><EMAIL_ADDRESS>install /tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport
> node-pre-gyp install --fallback-to-build --runtime=atom-shell

make: Entering directory '/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build'
  CXX(target) Release/obj.target/serialport/src/serialport.o
serialport.target.mk:90: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: Leaving directory '/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build'
Failed to execute 'node-gyp build --fallback-to-build --runtime=atom-shell --module=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64/serialport.node --module_name=serialport --module_path=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64' (1)

npm WARN deprecated<EMAIL_ADDRESS>Use particle-api-js instead
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN installMany node-pre-gyp was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany node-pre-gyp-github was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany nopt was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany npmlog was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany request was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany semver was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany tar was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany tar-pack was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany mkdirp was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany rc was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN installMany rimraf was bundled with<EMAIL_ADDRESS>but bundled package wasn't found in unpacked tree
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
In file included from ../src/serialport.h:5:0,
                 from ../src/serialport.cpp:3:
../node_modules/nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^
../node_modules/nan/nan.h:590:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^
../node_modules/nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^
../node_modules/nan/nan.h:596:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^
../node_modules/nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^
../node_modules/nan/nan.h:601:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^
../node_modules/nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^
../node_modules/nan/nan.h:607:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.4.0-34-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--runtime=atom-shell" "--module=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64/serialport.node" "--module_name=serialport" "--module_path=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64"
gyp ERR! cwd /tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp build --fallback-to-build --runtime=atom-shell --module=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64/serialport.node --module_name=serialport --module_path=/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/build/Release/electron-v0.37-linux-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack     at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System Linux 4.4.0-34-generic
node-pre-gyp ERR! command "node" "/tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--runtime=atom-shell"
node-pre-gyp ERR! cwd /tmp/apm-install-dir-116711-22741-s4iavd/node_modules/particle-dev/node_modules/serialport
node-pre-gyp ERR! node -v v0.10.40
node-pre-gyp ERR! node-pre-gyp -v v0.6.17
node-pre-gyp ERR! not ok
npm ERR! Linux 4.4.0-34-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/wsartori/.atom/.apm/.apmrc" "--userconfig" "/home/wsartori/.atom/.apmrc" "install" "/tmp/d-116711-22741-wly7m4/package.tgz" "--target=0.37.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build --runtime=atom-shell`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build --runtime=atom-shell'.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build --runtime=atom-shell
npm ERR! You can get their info via:
npm ERR!     npm owner ls serialport
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-116711-22741-s4iavd/npm-debug.log

Same as #152 closing... Sorry!


null pointer fix on champData arg

champData != null is failing for me on android API 21 JDK 1.8. Haven't been able to test this proposed fix because Android Studio is a piece of ****.
Manu

Thanks. I'll test and merge later tonight when I get to a computer to do so.

Okay, I don't know what method you were using, and what parameters, but this should fix the problem.
Tests -
api.getDataChampion(Region.NA, 1, null, null, false, ChampData.IMAGE, ChampData.LORE);
api.getDataChampion(Region.NA, 1, null, null, false, ChampData.IMAGE);
api.getDataChampion(Region.NA, 1, null, null, false, (ChampData) null);
api.getDataChampion(Region.NA, 1, null, null, false, (ChampData) null, null);
api.getDataChampion(Region.NA, 1, null, null, false, null, null);
api.getDataChampion(Region.NA, 1);
SUCCESSFUL

I have also added this change to the other Static Data methods that allow multiple parameters.
Thanks for the contribution, it is greatly appreciated. :)

yeah, sorry about the poor documentation, it was almost 2 am and I swear I was about to uninstall android studio xD
Anyway, it's working ok on my end, thanks for such a quick merge!

Hi again, this was nagging me, but the fix is not quite correct, because varargs are a bitch. regarding paramenter champData, what the method will see is a ChampData[]
1 If passed as null (no cast), the method will see null (as originally coded).
2 If passed as (ChampData) null, the method will see ChampData[] { null}, an array of size  0 with champData[0] = null (this is the intended fix)
3 If nothing is passed, the method will see Champdata[] {}, an array of length 0.
I believe the current check is problematic: it's not complete for case 2, since you might want to pass, {null, ChampData.IMAGE}, and this would not parse the IMAGE param. And also cases 1 and 3 would fail, with nullpointerexception and arrayindexoutofboundsexception respectively.
So, what should the test look like if we want to support developers  getthe 3 cases? I believe something like this:
if (champData == null || champData.length == 0 || ((champData.length ==1) && (champData[0] == null)) {
// do nothing
} else {
// do something
}
be aware that we need to test this way because we need operator shortcircuiting (test length only if champdata is not null, check first element  only if length is not zero).
as I said, varargs are a bitch.

 I came across this issue when fixing the initial problem.
I thought champData[0] != null would be good enough, because who is really going to pass in (null, ChampData.IMAGE......)?
I will update it to be 100% correct in the next release.


Added language detection by shebang functionality

Let's remove the duplicate templates in the test_files directory and always used the ones in assets. Do it in a separate PR after this.

@mcarmonaa has all the feedback been addressed by now and it's ready for a final review?

@bzz the PR is ready to be merged


Failure for role assignment during Deploy-Accelerator

Getting the error below for each role:
module.azure[0].azurerm_role_assignment.alz["apply-alz_subscription_owner-682b6e81-71c4-4e70-b27c-a2ff4f84880e"]: Creating...
module.azure[0].azurerm_role_assignment.alz["apply-alz_subscription_owner-a8731f51-d9fe-45e8-8c2b-cccee4a27190"]: Creating...
module.azure[0].azurerm_role_assignment.alz["apply-alz_subscription_owner-8da8d616-a90e-446a-9098-ad7381ce56a7"]: Creating...
module.azure[0].azurerm_role_assignment.alz["plan-alz_subscription_reader-682b6e81-71c4-4e70-b27c-a2ff4f84880e"]: Creating...
module.azure[0].azurerm_role_assignment.alz["plan-alz_subscription_reader-8da8d616-a90e-446a-9098-ad7381ce56a7"]: Creating...
module.azure[0].azurerm_role_assignment.alz["plan-alz_subscription_reader-a8731f51-d9fe-45e8-8c2b-cccee4a27190"]: Creating...

Error Output:
╷
│ Error: authorization.RoleAssignmentsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="RoleAssignmentScopeNotAssignableToRoleDefinition" Message="The role Azure Landing Zones Subscription Owner (alz-mgmt) is not available for assignment at the requested scope."
│
│   with module.azure[0].azurerm_role_assignment.alz["apply-alz_subscription_owner-a8731f51-d9fe-45e8-8c2b-cccee4a27190"],
│   on ..\..\modules\azure\role_assignments.tf line 27, in resource "azurerm_role_assignment" "alz":
│   27: resource "azurerm_role_assignment" "alz" {
│
╵

Steps to Reproduce

Trying to generate local file system using Bicep

input.yaml
# Basic Inputs
iac: "bicep"
bootstrap: "alz_local"
starter: "complete"

# Shared Interface Inputs
bootstrap_location: "australiaeast"
starter_location: "australiaeast"
root_parent_management_group_id: "contoso"
subscription_id_management: "8da8d616-a90e-446a-9098-ad7381ce56a7"
subscription_id_identity: "a8731f51-d9fe-45e8-8c2b-cccee4a27190"
subscription_id_connectivity: "682b6e81-71c4-4e70-b27c-a2ff4f84880e"

# Bootstrap Inputs
target_directory: ""
create_bootstrap_resources_in_azure: "true"
bootstrap_subscription_id: ""
service_name: "alz"
environment_name: "mgmt"
postfix_number: "1"

# Starter Module Specific Variables
Prefix: "alz"
Location: "australiaeast"
Environment: "live"
networkType: "vwanConnectivity"
SecurityContact: "removed"

I had this same issue yesterday. The issue was because my subscriptions were not under the root_parent_management_group_id that I had specified (which is where the custom role is created).
I manually moved the subscriptions to the root_parent_management_group_id, re-ran the pipeline, and then it was successful.

Thanks for sharing that insight @robpitcher! @anwather, to confirm, are your subscriptions also not in the root?
I will put a note in the doc to make sure they reside there before deploying the accelerator.

Mine definately weren't - haven't tested again but I think the fix above would make sense.

Closing for now, but can re-open if action is required.


Calculate eth1_data for a block to be proposed

Necessary reading: https://eth2book.info/capella/part2/deposits-withdrawals/deposit-processing/
Spec: https://github.com/lambdaclass/lambda_ethereum_consensus/blob/main/docs/specs/validator.md#eth1-data
This required communicating with the Execution Client to fetch the deposit root to cast an eth1_vote.
I suggest looking at other client implementations for ideas. This task is non-trivial and one thing that has to be taken into account is how to handle this while the execution client is not synced with the tip of the chain.
Potencially can be divided into further tasks.

Blocked by #949 and #950


Feat/literal improvement

This PR mainly contains:
Features
Hex / Octal / Binary number support
We can write hex number like 0xff(decimal 255), octal number like 0o73(decimal 59), binary number like 0b10(decimal 2), which are similar to JavaScript.
Since lexer does not support legacy octal number (which means prefixed by literal zero 0 but no lower case of O o right after, being dropped since this commit), transform.ml does not handle it too.
Constant folding support
In master branch.
const num1 = 1 + 2;

will be compiled to
LCValue num1;
num1 = LC_I32_PLUS(MK_I32(1), MK_I32(2));

now, it will be
LCValue num1;
num1 = MK_I32(3);

If you write code like:
const num1 = 1 + 2 + 3;

Before:
LCValue num1;
num1 = LC_I32_PLUS(LC_I32_PLUS(MK_I32(1), MK_I32(2)), MK_I32(3));

After:
LCValue num1;
num1 = MK_I32(6);

Furthermore, If it is string concatation like:
const str1 = "1" + "2" + "3";

Before:
LCValue t[4] = {0};
LCValue str1;
// ** pay attention to such a long long code line below **
str1 = lc_std_string_concat(rt, MK_NULL(), 2, (LCValue[]) {t[2] = lc_std_string_concat(rt, MK_NULL(), 2, (LCValue[]) {t[0] = LCNewStringFromCStringLen(rt, (const unsigned char*)"1", 1), t[1] = LCNewStringFromCStringLen(rt, (const unsigned char*)"2", 1)}), t[3] = LCNewStringFromCStringLen(rt, (const unsigned char*)"3", 1)});
LCRelease(rt, t[2]);
LCRelease(rt, t[0]);
LCRelease(rt, t[1]);
LCRelease(rt, t[3]);
LCRelease(rt, str1);

After:
LCValue t[1] = {0};
LCValue str1;
str1 = t[0] = LCNewStringFromCStringLen(rt, (const unsigned char*)"123", 3);
LCRelease(rt, str1);

Less code, less runtime overheads 🎉.
This optimization works in all binary operation between constant literals. Please see more in examples/constant_folding, and compare the differences between output of each branch.
Fixes
Just fix typos like enum_cotr_params_size -> enum_ctor_params_size, exponentialtion -> exponentiation. Nothing else special 😃.

Will be merged and released with 0.0.17


JAMES-3775 Fix typo RSpamD -> Rspamd

https://rspamd.com/doc/faq.html#how-is-rspamd-spelled-and-capitalized
Rspamd as a spam-filtering system or as a project is spelled with a capital R followed by a lower-case spamd, but when referring to the process or application it is not capitalized.

Needs a rebase

Needs an other rebase :)

I did the rebase, added the typo fix on new classes after lastest merges, also fixed some missing typos I still found in the module


Add opportunistic ephemeral authenticated encryption to Zcash protocol messages

Is your feature request related to a problem? Please describe.
If Zebra used encrypted connections, some active network protocol attacks would be harder, and it would be harder to passively monitor user activity.
Describe the solution you'd like
Design

[ ] choose an ephemeral authenticated encryption for Zebra's Zcash protocol messages
[ ] work out how to upgrade to encrypted connections, while resisting downgrade attacks

Specification

[ ] propose a ZIP
[ ] do a proof-of-concept implementation

Implementation

[ ] make the implementation robust and production-ready
[ ] get the spec and implementation audited for security

Testing

[ ] do cross-node testing with zcashd

Describe alternatives you've considered
We will explore alternatives as part of the design process.

This is a protocol upgrade idea.


added sanitiser https://github.com/theSmaw/Caja-HTML-Sanitizer

sanitizer/sanitizer.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/sanitizer
http://bower.io/search/?q=sanitizer
others?

[X] has a test file? (sanitizer/sanitizer-tests.ts or others)
[ ] pass the Travic-CI test?

@davetayls thanks mate!


Add SCIM2 support

SCIM stands for System for Cross-domain Identity Management: http://www.simplecloud.info/. It can be used to sync users (and groups) between different systems. In our case we would sync users from any Identitiy Management System to Monoskope.

Coverage decreased (-1.0%) to 57.738% when pulling 2dce33bdb69f44b8f8e200199f37fba80a94f9c3 on feature/scim-support into 00210ea4eb876ea7e35215ac32b4221eab650274 on main.


Documentation: IE11 is not Edge

In your howto you have "HTTP/2 is supported in Internet Explorer 11 (Edge) which ships with Windows10.", however Microsoft Edge is a different, independent product (though based on) Internet Explorer. While Edge is indeed shipped with Windows 10, IE11 had shipped with Windows 8.1.
So, IE11 is a different and separate project than Edge. Both support HTTP/2, but only on Windows 10.

Thanks for the notice. I admin, I am not very educated on microsoft product naming. I update the howto with the, hopefully, proper naming.

@icing should that be "admit" ?

...right. that is rect.


Legend: Save legend position for viewers in previously saved layout

Save legend position for viewers in previously saved layout
Layout template for SPGI dataset:
SPGI_v2 - legend position old.zip

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-17281


[ObjectFifo] Include arith.truncf/vector.transfer_read/write into core op

-- This commit includes arith.truncf, vector.transfer_read and vector.transfer_write into amdaie.core op.
-- This is required to make "Matmul + truncf" work with vectorization enabled for arith.truncf op.
Signed-off-by: Abhishek Varma<EMAIL_ADDRESS>

Could you add an e2e test?

This is the first PR in the series of PRs that need to go in before I can add an e2e test for "Matmul + truncf" with the vectorization enabled for elementwise.

As discussed offline with @jtuyls - I have push most of the changes required in the same PR.
Will be raising a separate PR for flattening arith.truncf and once that goes in I'll add an e2e test in this PR.
Will rename the PR title and description accordingly - so marking this as a draft.

Here's the short shaped Matmul + truncf e2e IR log that this PR currently enables (the bigger shapes need to be addressed incrementally who e2e IR, in case someone wants to take a look, is here) and the numerics were verified locally.
But for the e2e test via cpu_comparisons/run.py I get the following for the CPU run itself let alone AIE :-
iree/runtime/src/iree/tooling/numpy_io.c:419:
   UNIMPLEMENTED; unsupported data encoding; outputting results; processing function outputs;
   `sync func @matmul_truncf(%input0: tensor<32x32xbf16>, %input1: tensor<32x32xbf16>) -> (%output0: tensor<32x32xbf16>)`

The above is not a verification issue at the MLIR level, else it'd have bailed out earlier.
I checked the input MLIR file that's getting generated locally but see no issue with it :-
// input 32x32xbf16
// input 32x32xbf16

func.func @matmul_truncf(%arg0: tensor<32x32xbf16>, %arg1: tensor<32x32xbf16>) -> tensor<32x32xbf16>
{
  %cst = arith.constant 0.0 : f32
  %0 = tensor.empty() : tensor<32x32xf32>
  %1 = linalg.fill ins(%cst : f32) outs(%0 : tensor<32x32xf32>) -> tensor<32x32xf32>
  %2 = linalg.matmul ins(%arg0, %arg1 : tensor<32x32xbf16>, tensor<32x32xbf16>)
    outs(%1: tensor<32x32xf32>) -> tensor<32x32xf32>
  %3 = arith.truncf %2 : tensor<32x32xf32> to tensor<32x32xbf16>
  return %3: tensor<32x32xbf16>
}

Am I missing some other template to include?

Here's the short shaped Matmul + truncf e2e IR log that this PR currently enables (the bigger shapes need to be addressed incrementally who e2e IR, in case someone wants to take a look, is here) and the numerics were verified locally.
But for the e2e test via cpu_comparisons/run.py I get the following for the CPU run itself let alone AIE :-
iree/runtime/src/iree/tooling/numpy_io.c:419:
   UNIMPLEMENTED; unsupported data encoding; outputting results; processing function outputs;
   `sync func @matmul_truncf(%input0: tensor<32x32xbf16>, %input1: tensor<32x32xbf16>) -> (%output0: tensor<32x32xbf16>)`

The above is not a verification issue at the MLIR level, else it'd have bailed out earlier.
I checked the input MLIR file that's getting generated locally but see no issue with it :-
// input 32x32xbf16
// input 32x32xbf16

func.func @matmul_truncf(%arg0: tensor<32x32xbf16>, %arg1: tensor<32x32xbf16>) -> tensor<32x32xbf16>
{
  %cst = arith.constant 0.0 : f32
  %0 = tensor.empty() : tensor<32x32xf32>
  %1 = linalg.fill ins(%cst : f32) outs(%0 : tensor<32x32xf32>) -> tensor<32x32xf32>
  %2 = linalg.matmul ins(%arg0, %arg1 : tensor<32x32xbf16>, tensor<32x32xbf16>)
    outs(%1: tensor<32x32xf32>) -> tensor<32x32xf32>
  %3 = arith.truncf %2 : tensor<32x32xf32> to tensor<32x32xbf16>
  return %3: tensor<32x32xbf16>
}

Am I missing some other template to include?

No this is all correct. I think the issue is that iree-run-module doesn't support writing bfloat16 values. I'll investigate further.


[WIP] Preferences: Theme Pane implementation

Description
Implemented the new UI as described in #286. This is still work in progress.
The editor will not adapt to the themes yet since a new implementation of the editor is needed first.
Themes are saved in ~/.codeedit/themes/ as a json file. A default theme is provided in the app and gets saved the first time preferences are opened. A Template for themes can be found here but note that it is subject to change and might break in a future commit.
The preview icons in the left sidebar are adaptive to the theme it belongs to. No need for thumbnail images.
Releated Issue

#34
#286

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[ ] Review requested

Screenshots

https://user-images.githubusercontent.com/9460130/161055774-24ba70bb-ddf7-4748-b4e8-e958a2b6bc9e.mov

@lukepistrol : Great job, how come the Editor and Preview are empty and are there in the video?

@lukepistrol : Great job, how come the Editor and Preview are empty and are there in the video?

You need to select a theme.

@lukepistrol : From where?

Once the theme colors are changed, I can't reset them anymore, right?

Not yet.

The button is a theme background, it does not deactivate, is there a reason?

Not yet implemented. The whole thing is WIP!

@lukepistrol : If a theme is created in the ~/.codeedit/ directory, is it not automatically added to the available themes?

Downloaded themes will be installed to ~/.codeedit/themes/.
If the user changes a color in a theme, let's say they pick a black background under terminal, their override will be saved to ~/.codeedit/preferences.json which would look like this:
{
  "theme": {
    "id": "sourceCodeProDark", // the id of the current theme selected
    "customization": {
      "terminal": {
        "background": { "color": "#000000" }
      }
    }
  }
}

If I click revert theme, the preferences.json then reverts to this
{
  "theme": {
    "id": "sourceCodeProDark"
  }
}

If I want to override a particular setting across all themes, let's say no matter what theme I have selected, I always want the terminal black, I would write this in preferences.json.
{
  "theme": {
    "id": "sourceCodeProDark", // the id of the current theme selected
    "overrides": {
      "terminal": {
        "background": { "color": "#000000" }
      }
    }
  }
}

Then I can open preferences, select different themes and the terminal background will always be black regardless of the theme I choose. Under the theme preferences, under the terminal tab, if I look, the "Background" setting and color picker will be disabled with helper text that states that this value is disabled because it is overridden in my preferences file.

@austincondiff :  What I'm seeing at the moment is this:
{
  "textEditing" : {
    "defaultTabWidth" : 4
  },
  "general" : {
    "appAppearance" : "system",
    "fileIconStyle" : "color",
    "reopenBehavior" : "welcome"
  },
  "theme" : {
    "useThemeBackground" : false,
    "overrides" : {

    }
  },
  "terminal" : {
    "shell" : "system",
    "font" : {
      "customFont" : false,
      "size" : 11,
      "name" : "SF-MonoMedium"
    },
    "darkAppearance" : false
  }
}

@Angelk90 Yes, this is still a work in progress, so the API is still subject to change.
I am sorry, to answer your original question, the way I see it, if the user creates their own custom theme we can do either one of two things
Option A
Save a new theme file to ~/.codeedit/themes/
Option B
Save it all to ~/.codeedit/preferences.json under the themes object.
Personally I am leaning towards option A but I would like to get your thoughts.

@Angelk90 Yes, this is still a work in progress, so the API is still subject to change.
I am sorry, to answer your original question, the way I see it, if the user creates their own custom theme we can do either one of two things
Option A
Save a new theme file to ~/.codeedit/themes/
Option B
Save it all to ~/.codeedit/preferences.json under the themes object. Until exported or shared on the theme store.
Personally I am leaning towards option A but I would like to get your thoughts.

I’m for A.

https://github.com/CodeEditApp/CodeEdit/pull/343#issuecomment-1086230270 Is that JSON file generated? It has weird spacing.

@wdg I can confirm that is generated. A sample that @lukepistrol sent me yesterday ha the same spacing issues

@austincondiff : But in the demo still import doesn't work, right?

@Angelk90 should be fixed now. When there is only one theme available, it cannot be deleted. And the default theme now properly gets saved to disk.

@lukepistrol : You could post the themes you created anura or light.

@lukepistrol : You could post the themes you created anura or light.

Not in scope for this PR. But we will implement proper themes later on.

@lukepistrol : At the moment the following problem happens I change a theme color, for example invisible.
I close the settings, also the program and find that it has been saved.
But when I go to open the file, I can't find the change.

@lukepistrol : At the moment the following problem happens I change a theme color, for example invisible.
I close the settings, also the program and find that it has been saved.
But when I go to open the file, I can't find the change.

What do you mean by "open the file"? please be more specific!

@lukepistrol :  I open the json file.

@lukepistrol : I open the json file.

Which one??

@lukepistrol :

@Angelk90 please read the PR description...

@lukepistrol : Then overrides are done.

@lukepistrol : Ok, some considerations, not if they can be right at this stage.

As you can see from the video, when you switch from one theme to another a few times, there is a change of position between the themes inside overrides, it's not a problem but I point it out.

When a theme is deleted, overrides of the newly deleted theme remain, I don't know if it can be considered a problem.

https://user-images.githubusercontent.com/20476002/161394543-f9f6db30-9847-4ee7-bb57-d8a017354783.mov

As you can see from the video, when you switch from one theme to another a few times, there is a change of position between the themes inside overrides, it's not a problem but I point it out.

That's just in which order the json is created which is random and should not be a problem.

When a theme is deleted, overrides of the newly deleted theme remain, I don't know if it can be considered a problem.

Thanks for pointing this out. It indeed is a problem and I fixed it in the last commit.

@lukepistrol : Now it seems to work.


Hints about oled support

Hi! I'm using your firmware and it works correctly! I also made the oled work on the left side, but it doesn't update it's state.
It seems you need an special transport to achieve this on the slave side. Fortunately it seems Drasha already wrote it. I haven't been able to make it work yet. Maybe you'll be more lucky.
https://www.reddit.com/r/olkb/comments/m31hcx/how_to_display_led_state_on_oled_on_the_slave_side/

@Zeioth Did you get it working?

I'm afraid I didin't. I have no experience writing transports.

I just updated my qmk fork, the fix is now available.


feat: PSX parser

This is just a first naive iteration to experiment with goquery and to initiate discussion on how we want to continue forward.

@Mergifyio update

@Mergifyio update

@Mergifyio update


Use module ClassMethods instead of class_methods do to support Rails 4.0

This issue was introduced with<PHONE_NUMBER>0ede0620e4420cb5c553d503933186, released with 0.5.9.

Thanks!


yum_inject_repo: fails if packages are installed using a script

If packages are installed using a script, 'yum' isn't found in the Dockerfile and so the repo file is never added.

@goldmann

The approach I propose is to:

inspect the base image to understand what user is being inherited from there,
track changes made to that by USER instructions in the Dockerfile
finally, now we now which user was meant to be set, add USER root, RUN rm ..., and (if needed) USER theuser to restore it.

Fixed via #179.


Correct accept header set for registry requests.

Type: bug
Description:
A semicolon is required after media type in accept header when quality specification is made. Necessary for more pedantic servers such as JFrog's Artifactory.
Resolves #294

Thanks ¡

Included on v2.3.6


Blocking Screensaver

This app seems to block the Windows 10 screensaver.

Ensure the "Prevent your computer from sleeping" option is disabled 👍
Otherwise this is due to the reserved power thing that Chromium does sometimes that will be fixed in the next release.


Correct text in paraquiz is repeated

See example below. Even though the text is only present once, it appears twice.
Here is the code:
\case{(is 2143)}{T}
    \green{Korrekt!}

Using the definition
\newcommand{\green}[1]{\textcolor{green}{\textbf{#1}}}

OK, now I understand that this happens because the paraquiz environment automatically prints "Korrekt!" for a correct answer. But what if I want it in English instead of Danish?

This seems to hard coded in the module Interactive.py. It should be isolated in css.

Blast! Just found out that the entries of option as entry1 and entry2 in
<select id="A" name="B">
    <option>entry1</option>
    <option>entry2</option>
</select>

cannot be styled with css. This means that the css approach for controlling the language in formatquiz is doomed.


rgeos update breaks geojsonio install

Problem: the rgeos package updated this morning. geojsonio depends on regeos and is subsequently unable to see the install of regeos even when it is installed explicitly.
Solution: specify loading of version 0.5-8

After installing yesterday's version of rgeos, the problem is still not fixed. It might be an issue with geojsonio needing to update to reflect the changes in rgeos.
Proposed solution: wait a day or two to see if it gets fixed.


chore(release): release work - attempt 4

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Clarify Comments in ManyToMany example

Codecov Report

Merging #33 (18ef288) into main (9432034) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   91.04%   91.04%
=======================================
  Files          42       42
  Lines        1497     1497
=======================================
  Hits         1363     1363
  Misses        134      134

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9432034...18ef288. Read the comment docs.


DataFrame.discard/2 - don't raise for non existent column

closes #870

Sorry, should have asked before sending this pr.

Don't be sorry! Happy to have it :)


tests: export RUNTIMECLASS for all cases

Fixes: #158
Signed-Off-By: Ryan Savino<EMAIL_ADDRESS>

/test

/test

/test

/test

Looks like operator SEV job passed but it did not report it back correctly http://jenkins.katacontainers.io/job/confidential-containers-operator-main-ubuntu-20.04_sev-x86_64-containerd_kata-qemu-sev-PR/189/.

/test-kata-clh-tdx

I cannot easily retrigger the job, so I'll take the bullet and merge it as it's, rebase my PR and make sure to fix things up in case it ends up breaking something on the TDX side.


Cotopaxi module: add text output in PDF.

Print similar text results as the query module does.

If this means the text showing up in blocks to describe information on each polygon, then this is showing up already in the cotopaxi eruption scenarios module.

If this means the text showing up in blocks to describe information on each polygon, then this is showing up already in the cotopaxi eruption scenarios module.


ALVR kills 5g

I can't quite find this problem elsewhere, despite seeing vaguely similar things--clicking "Start Server" on ALVR completely kills my router's 5g (Netgear Nighthawk r7000) within about 20 seconds. I can actually run ALVR and Steam VR on the 2.4g just fine, except that (of course) it's nothing but a nightmare of screen tears and vomit comets, while if I rush, I can usually see about three seconds of the very nice SteamVR tutorial room before all connected devices lose their connection to the wifi (phones, tvs, anything else--it just drops dead for a good while). If I click "Start Server," it is inevitable that my wifi will drop dead, regardless as to what I do. I can almost immediately see the default steam space on my headset, but will quickly end up again in the AVLR "Connect" room because my connection will die. I can confirm this is ONLY after starting the server; ALVR can connect to my headset (Quest) and stay apparently connected indefinitely.
There's nothing I can see in my router settings that would relate to this, so far as I know. Firewall settings appear correct. I've tried a few other things I've seen in other threads as well (one was to lower Steam's ping rate from 5k to 150 / 250) but none of them have changed this; the internet instantly dies. I have gone backwards through several iterations of firmware for my router to make sure that isn't the problem.
My system specs are ludicrous, just got a new computer with a 2080. Looks beautiful for the three seconds I can see.

This looks like wifi issue (as traffic should not crash routers - especially around 30 Mbps traffic).
For Oculus Quest you can try JackD83's fork. It might recover better on packet loss and have additional improvements.


Add NumpyRandomSeedSetter

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3e51114) to head (5bb1162).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #526   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           63        64    +1
  Lines         1668      1683   +15
  Branches       196       196
=========================================
+ Hits          1668      1683   +15

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


Split Unmappable Transactions

Split transactions that can not be mapped to CashCtrl into multiple transactions that can be mapped to CashCtrl and lead in sum to the same account balance.
This PR introduces a series of transactions that can not be mapped to CashCtrl and then extends CashCtrlClient to split such transactions into collective or multiple transactions that can be mapped. The PR is best reviewed commit by commit.

0dc2720  Extend tests to cover FX gain/loss transactions that can not be mapped ATM (expected to fail)
0381bc2  Support FX gain/loss transactions (the test introduced above now passes)
1d5eba0  Split multi-currency transactions into multiple single-currency transactions
7c57683  Ensure integration tests catch approximate equality
e90655f  Extend tests to cover transactions requiring high precision FX rates (expected to fail)
82531a9  Support transactions requiring high precision FX rates (the test introduced above now passes)
f061a45   Avoid unneeded exceptions when transactions requiring high precision FX rates
3817155 _get_ledger_attachement does not raise error if file is located in the recycle bin.

I've pushed 2 commits:

bfad670 Added missing docstrings for the methods and rebased branch onto the main
08e0988 Fixes revealed tests failure in this action without setup transitory_account

Thanks for the docstrings. I have further clarified the description in aecc1731.
Ready for merging.


Add aarch64 architecture to installation script

Fixes #5
I tested in on Ubuntu aarch64 in AWS EC2 and it worked.

Thanks for testing it!


Build packages for versions 0.3.4

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@egallicc could you review?


fix: revert staging version step

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.637%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
5570

Relevant Lines:
6049

💛  - Coveralls


Error in  date_search with default end=None

File "caldav_demo.py", line 43, in <module>
     results = calendar.date_search( datetime(2010, 5, 1) )
File "caldav/objects.py", line 567, in date_search
    end = _fix_tz(end)
  File "caldav/objects.py", line 40, in _fix_tz
    return dt.replace(tzinfo=tzlocal.get_localzone())
AttributeError: 'NoneType' object has no attribute 'replace'

This is a really very bad bug, I think there are tests for this ... but I admit I rushed in some "obvious bugfixes" recently without bothering to run the tests.  Oups.  I suppose I will rush out a new bugfix release soon.
This bug seems related to the last comment in #52.
I should get #46 fixed so I can have github run tests for me.

I really should spend some more time researching this and other issues, but very much going on right now ... need to sleep.  Could you check if the last commit solves your issue?

Should be fixed with #59.

Closing this issue


Fix various string bugs

Proposed Changes

Ensure null terminator is appended to addstr in op_add() and multstr in op_mul() via strcpy() (fixes #49).
Fix a pair of memory leaks involving strings (Valgrind reports "All heap blocks were freed -- no leaks are possible" at the time of this commit).

:white_check_mark: Build concoct 0.1.112 completed (commit https://github.com/Concoctist/concoct/commit/f137f2a10a by @ldilley)

:white_check_mark: Build concoct 0.1.12 completed (commit https://github.com/Concoctist/concoct/commit/f137f2a10a by @ldilley)


Running on win10

Hello
Thanks a lot for this great repo
I'm trying to run the pretrained model of your work on win10 but I get multiple errors.
I wanted to know if it's even possible to run it on win10 or my machine has problems.
Thanks

I think the problem may cause by the following code
https://github.com/hzxie/GRNet/blob/406248a4d0a25f8591e092ae02b9661e7fbdd6d1/core/train.py#L51
Please change to:
 output_dir = os.path.join(cfg.DIR.OUT_PATH, '%s', datetime.now().isoformat().replace(":", "-"))

Because Windows does not support : in file name.

Please provide more information (e.g. error logs) if the above reply did not solve your problem.

Thanks for your fast response sir.
I'll try your solution and if it didn't solve the problem I'll ask again.
Good day


Added step about using Cassandra to usage section of README file.

Coverage remained the same at 99.867% when pulling 2955c70bd9c7e169fcc8ff56c29b5df0a43c3e93 on feature/cassandra_usage into ccedbffb664eb219a532c4d80573a1d21602fbb7 on develop.

Coverage remained the same at 99.867% when pulling 2955c70bd9c7e169fcc8ff56c29b5df0a43c3e93 on feature/cassandra_usage into ccedbffb664eb219a532c4d80573a1d21602fbb7 on develop.

Coverage remained the same at 99.867% when pulling 2955c70bd9c7e169fcc8ff56c29b5df0a43c3e93 on feature/cassandra_usage into ccedbffb664eb219a532c4d80573a1d21602fbb7 on develop.

Coverage remained the same at 99.867% when pulling 2955c70bd9c7e169fcc8ff56c29b5df0a43c3e93 on feature/cassandra_usage into ccedbffb664eb219a532c4d80573a1d21602fbb7 on develop.

Coverage remained the same at 99.867% when pulling<PHONE_NUMBER>14cb4dab38106931ed7a045ce25ee7 on feature/cassandra_usage into 713c9f32d889e63ddb6a649d4fc928b7bce71658 on develop.

Coverage remained the same at 99.867% when pulling<PHONE_NUMBER>14cb4dab38106931ed7a045ce25ee7 on feature/cassandra_usage into 713c9f32d889e63ddb6a649d4fc928b7bce71658 on develop.

Coverage remained the same at 99.867% when pulling<PHONE_NUMBER>14cb4dab38106931ed7a045ce25ee7 on feature/cassandra_usage into 713c9f32d889e63ddb6a649d4fc928b7bce71658 on develop.

Coverage remained the same at 99.867% when pulling<PHONE_NUMBER>14cb4dab38106931ed7a045ce25ee7 on feature/cassandra_usage into 713c9f32d889e63ddb6a649d4fc928b7bce71658 on develop.

Coverage remained the same at 99.867% when pulling<PHONE_NUMBER>14cb4dab38106931ed7a045ce25ee7 on feature/cassandra_usage into 713c9f32d889e63ddb6a649d4fc928b7bce71658 on develop.


Fails to build due to missing library linkage

Hi @alandefreitas.
I forgot to raise this issue. The program fails to build because it cannot link against the correct threading library. I tried this on 2 different machines. I am going to submit a PR with the fix.
The error message at linker stage is:
[build] [100%] Linking CXX executable clang-unformat
[build] /usr/bin/ld: CMakeFiles/clang-unformat.dir/standalone/main.cpp.o: undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
[build] /usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line
[build] collect2: error: ld returned 1 exit status
[build] make[2]: *** [CMakeFiles/clang-unformat.dir/build.make:101: clang-unformat] Error 1
[build] make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/clang-unformat.dir/all] Error 2
[build] make: *** [Makefile:91: all] Error 2
[build] Build finished with exit code 2

Oh... I forgot to find_package( Threads ) because GCC and Clang probably already add it by default now.


Add eval details template for Trusty rule

Summary
Add an evaluation details template for the Trusty ruletype.
This will be displayed on the UI to give the user a better understanding of why the rule failed.
Fixes https://github.com/stacklok/minder-stories/issues/38
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 53.303% (+0.008%) from 53.295%
when pulling 6be36b0f5f2225d1a9614099f0f9231653ab6db1 on eleftherias:trusty-eval-details-message
into 7a6cdc096d0dacf2d53bb7de72acb8761ec9918c on stacklok:main.


[BUG]:Drizzle ORM not working with view

What version of drizzle-orm are you using?
0.32.1
What version of drizzle-kit are you using?
0.23.1
Describe the Bug
I have an existing view in my PostgreSQL database and its very simple view. I am trying to query this view from my Nextjs app with drizzle orm but I am getting error.

Unhandled Runtime Error
Error: syntax error at or near "$1"

Here is how i am declaring and using it.
schema.ts

export const accountAddressView = pgView("acc_address_view",{
  id:serial("id"),
  accountId: integer("account_id"),
  name: text("name"),
  address: text("address"),
  city: text("city"),
}).existing();

action.ts
export async function getAccountInfo(){

     const data= await db.select().from(accountAddressView);
     return data;

}

when i run the app i am getting

I also checked Postgres log and this is what i see
2024-08-26 21:35:33.057 PDT [1860] STATEMENT:  select  from $1
2024-08-26 21:36:03.324 PDT [3744] ERROR:  syntax error at or near "$1" at character 14

I am able to query view in PgAdmin without any issue.
SELECT * FROM acc_address_view

Expected behavior
should return data from postgres view
Environment & setup
OS: windows 10 64 bit
Node Version: v20.11.1
NextJs version: 14.2.5

Seeing the same on drizzle-orm 0.33.0.
Looking at the PSQL logs the table name is replaced with $1. E.g. select  from $1 where "test_view"."user_id" = $2. Also note that my selection seems to have disappeared.

I spent 20 minutes on it. Placing
console.log('PG_VIEW_BASE', is(table, PgViewBase));

in the beginning of buildSelectQuery in dialect.js shows that as long as the query works (first load for me in Next.js), it returns true. On a reload it starts showing false and fails.
It only manifests for me in dev-mode. In release mode it runs fine. But having to restart in continuously in dev really hampers the flow...


Unable to copy text files with a .vhd extension

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
AzcopyVersion  10.16.0
Which platform are you using? (ex: Windows, Mac, Linux)
OS-Environment  windows
OS-Architecture  amd64
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy.exe copy "P:\STAGING\App 2020-12-05\vhd\test.vhd" 'https://appvaulttest.blob.core.windows.net/app?[...]' --recursive
What problem was encountered?
Get an UPLOADFAILED error:
2022/09/23 12:26:58 INFO: [P#0-T#0] Starting transfer: Source "\\\\?\\P:\\STAGING\\App 2020-12-05\\vhd\\test.vhd" Destination "https://appvaulttest.blob.core.windows.net/advitium/test.vhd?[...]". Specified chunk size 4194304
2022/09/23 12:26:59 ==> REQUEST/RESPONSE (Try=1/72.5306ms, OpTime=395.1439ms) -- RESPONSE STATUS CODE ERROR
   PUT https://appvaulttest.blob.core.windows.net/app/test.vhd?se=2022-09-30T04%3A40%3A38Z&sig=-REDACTED-&sp=racwdlmeop&spr=https&sr=c&st=2022-09-21T20%3A40%3A38Z&sv=2021-06-08&timeout=901
   Content-Length: [0]
   User-Agent: [AzCopy/10.16.0 Azure-Storage/0.15 (go1.17.9; Windows_NT)]
   X-Ms-Blob-Cache-Control: []
   X-Ms-Blob-Content-Disposition: []
   X-Ms-Blob-Content-Encoding: []
   X-Ms-Blob-Content-Language: []
   X-Ms-Blob-Content-Length: [6]
   X-Ms-Blob-Content-Type: [text/plain]
   X-Ms-Blob-Sequence-Number: [0]
   X-Ms-Blob-Type: [PageBlob]
   X-Ms-Client-Request-Id: [...]
   X-Ms-Version: [2020-10-02]
   --------------------------------------------------------------------------------
   RESPONSE Status: 400 The value for one of the HTTP headers is not in the correct format.
   Content-Length: [331]
   Content-Type: [application/xml]
   Date: [Fri, 23 Sep 2022 12:26:59 GMT]
   Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
   X-Ms-Client-Request-Id: [...]
   X-Ms-Error-Code: [InvalidHeaderValue]
   X-Ms-Request-Id: [...]
   X-Ms-Version: [2020-10-02]
Response Details: InvalidHeaderValue<Message>The value for one of the HTTP headers is not in the correct format. </Message><HeaderName>x-ms-blob-content-length</HeaderName><HeaderValue>6</HeaderValue>

2022/09/23 12:26:59 ERR: [P#0-T#0] UPLOADFAILED: \\?\P:\STAGING\App 2020-12-05\vhd\test.vhd : 400 : 400 The value for one of the HTTP headers is not in the correct format.. When Creating blob. X-Ms-Request-Id: [...]

How can we reproduce the problem in the simplest way?

Create a text file name test.vhd with a single text line with "Test".
Try to upload it by azcopy

Have you found a mitigation/solution?
Uploading from the web UI at portal.azure.com is working for these files.

.vhd files are transferred as PageBlobs by default. Use '--blob-type=BlockBlob'  in the command to override this.


mat: add error handling when asking to slice to 0

Addresses #551 .
WIP - needs tests and clarifications on any other edge cases I have missed from @kortschak. So far I have only one condition to check if i is relative to k and j is relative to l.
All tests pass and code is formatted.

I think it probably doesn't matter which we do first. What we could do, however, is keep the check as is, and then inside the if statement test for equality to throw the right panic. This way there is only one test for correct slice actions.

I'll do just that @btracey . I think @kortschak has an example in the issue #551 . I appreciate all of your feedback.

Can you please add back the final newline.


Add function to format DatePanel dates

Pass as prop a function to DatePanel plugin in order to format each item

Hi
Thank you for this PR.
Since all the dates in this package have a format method, instead of receiving the format function, we can take the format value and pass it as an argument to the format method of all the dates that are being rendered.
If your goal is the same as what I said, please modify that code and I will definitely merge it, otherwise please explain a bit about it.
Please read the comments I wrote with numbers 01 and 02:
import React from "react";
import DateObject from "react-date-object";
import getAllDatesInRange from "../../shared/getAllDatesInRange";
import isArray from "../../shared/isArray";
import getBorderClass from "../../shared/getBorderClass";
import getValidProps from "../../shared/getValidProps";
import getLocaleName from "../../shared/getLocaleName";
import "./date_panel.css";

export default function DatePanel({
  state,
  setState,
  position,
  nodes,
  handleChange,
  eachDaysInRange,
  sort,
  style = {},
  className = "",
  onClickDate,
  removeButton = true,
  header,
  markFocused,
  focusedClassName = "",
  handleFocusedDate,
  // 01- getting format value as a prop
  format = state.date._format,
  ...props
}) {
  let headers = { en: "Dates", fa: "تاریخ ها", ar: "تواریخ", hi: "खजूर" },
    dates = [],
    {
      multiple,
      range,
      inRangeDates,
      selectedDate,
      date: { locale },
    } = state,
    classNames = ["rmdp-panel", position, getBorderClass(position, nodes)];

  locale = locale.name.split("_")[1];

  if (multiple || (range && !eachDaysInRange)) {
    dates = (inRangeDates || selectedDate).map((date, index) => {
      return {
        date,
        format: date.format(),
        index,
      };
    });
  } else if (range && eachDaysInRange) {
    let allDates = getAllDatesInRange(inRangeDates || selectedDate);

    dates = allDates.map((date, index) => {
      return {
        //in range mode
        //To find out which date is between the start and end date
        //We change its value to undefined
        date: index === 0 || index === allDates.length - 1 ? date : undefined,
        format: date.format(),
        index,
      };
    });
  } else if (selectedDate && !isArray(selectedDate)) {
    dates = [
      {
        date: selectedDate,
        format: selectedDate.format(),
        index: 0,
      },
    ];
  }

  if (multiple && sort === "date") dates.sort((a, b) => a.date - b.date);

  if (
    multiple &&
    sort === "color" &&
    dates.every((object) => object.date.color)
  ) {
    dates.sort((a, b) => {
      if (a.date.color  b.date.color) return 1;

      return 0;
    });
  }

  if (["fa", "ar"].includes(getLocaleName(locale))) {
    classNames.push("rmdp-rtl");
  }

  return (
    <div
      className={`${classNames.join(" ")} ${className}`}
      style={{
        display: "grid",
        gridTemplateRows: "auto 1fr",
        ...style,
      }}
      {...getValidProps(props)}
    >

{header || headers[locale]}

          {isArray(dates) &&
            dates.map((object, index) => {
              return (
                <li
                  key={index}
                  className={`${
                    object.date?.color ? `bg-${object.date.color}` : ""
                  } ${
                    markFocused &&
                    object.date?.valueOf?.() === state.focused?.valueOf?.()
                      ? focusedClassName || "rmdp-focused"
                      : ""
                  }`}
                  onClick={() =>
                    !removeButton && selectDate(object.date, object.index)
                  }
                >

                      removeButton && selectDate(object.date, object.index)
                    }
                    style={{ cursor: object.date ? "pointer" : "default" }}
                  >
                    {/* 02- passing format value as an argument to the format method */}
                    {object.date?.format?.(format)}

                  {object.date && removeButton && (
                    <button
                      type="button"
                      className="b-deselect"
                      onClick={() => deSelect(object.index)}
                    >
                      +
                    </button>
                  )}

              );
            })}

  );

  function selectDate(date, index) {
    handleClick(date ? selectedDate[index] : undefined);

    if (!date) return;

    setState({
      ...state,
      date: new DateObject(date),
      focused: selectedDate[index],
    });

    handleFocusedDate(selectedDate[index]);
  }

  function deSelect(index) {
    let dates, focused;

    if (range || multiple) {
      dates = selectedDate.filter((d, i) => i !== index);
      focused = dates.find((d) => d.valueOf() === state.focused?.valueOf?.());
    } else {
      dates = null;
      focused = undefined;
    }

    handleChange(dates, {
      ...state,
      selectedDate: dates,
      focused,
    });

    handleClick();
    handleFocusedDate(focused);
  }

  function handleClick(date) {
    if (onClickDate instanceof Function) onClickDate(date);
  }
}

Hi. Thanks for your response.
My goal is to use any format function to convert the dates to different locale settings.. I don't know if your proposal would allow that. For example, I use date-fns functions to many things and it would be nice to use its format functiom with your calendar component, or specifically within the DatePanel plugin renderer


Add CUDA, HIP and DPCPP batch bicgstab kernels

This PR adds the batch bicgstab solver kernels for CUDA, HIP and DPCPP backends. Some additional single rhs vector kernels are also added into the batch multivector kernels.
TODO

[x] Add DPCPP kernels

format!

format!

format!

@yhmtsai , can you please have another look ? I think the test matrices were badly conditioned and BiCGSTAB was unable to solve them and hence we observed these failures, showing up mainly for float and with parallel reductions. The Intel2020 bug reported by @upsj was also fixed.

format!

format!

Turns out the no-circular-deps job is terribly slow. I verified (with the same config and flags as the job, inside the same image with a docker container) that it builds successfully with GINKGO_CHECK_CIRCULAR_DEPS=on, so I will go ahead and merge this.


Update health-notifications

Added an option to set re-notification timer
Allows users to choose how often a notification will fire for breaching a threshold

can you set the default to not spam, so that we don't have to get thousands of people asking why they suddenly have notifications going off every second.  The common behavior is 0 is equal to disabled for these style of config options

can you set the default to not spam, so that we don't have to get thousands of people asking why they suddenly have notifications going off every second. The common behavior is 0 is equal to disabled for these style of config options

This change comes after the plugin was "fixed" and we asked the dev to make it spam again (so I think the default behaviour on spam is ok, as it was how it worked before the last commit and how we've been using it.. This is important for HCs that may expect the spam to be there if they come back to the game)

I have used this plugin for a very long time and don't remember it spamming notifications by default. Regardless, we believe that would be a very poor UX to include by default.

I have used this plugin for a very long time and don't remember it spamming notifications by default. Regardless, we believe that would be a very poor UX to include by default.

That's so weird.. It always spammed in prayer for me, although not in hp (in fact, I thought HP was bugged because it didnt spam) and Ive confirmation most HCs in my clan used it this way

the original behavior is to notify when you drop below the threshold and to only enable notifications again when once again above, there was a bug where prayer reset when above the health threshold and not prayer which was recently fixed

Alexsuperfly is correct on the history, my only concern with not having spamming be the default now was that it might unintentionally cause some folks to miss notifications if they were relying on the broken behavior.
The concern around thousands of folks suddenly wondering why they're getting spammed is fair, that probably outweighs the reliance on the unintended behavior.
Curious if you think there's a middle ground on repeat notifications to meet in the middle of the different uses to balance the two cases.

Default behavior won't affect people who already have the plugin installed, just fresh installs, as far as I'm aware.

The broken behavior is already fixed, they can no longer be relying on it.  Just set the config to be disabled by default so that the current intended default behavior does not change, users can adjust it to whatever they want from there

Yeah, the plugin was broken, the point is that the broken behavior has persisted for at least a year, in which many people have used it considering normal behavior (as in an alarm that won't stop until you fix the "thing").
I myself almost died because I missed the first notification and it didn't keep spamming. While the broken behavior was fixed, I would like to postulate that the benefit of a single notification that can be achieved through other means, is not much... If you are on your pc or paying attention or whatever, a single notification (even more in a setting with many) wouldn't do much good besides what is done by other plugins.
This plugin specifically tints your screen permanently until you are above the threshold (which lends into the "hey, look, you are below x" and I think its usefulness as an alarm is paramount.
I don't think because the behavior has been fixed that they can no longer rely on it, it was "fixed" just for a little while, people do other things besides OSRS and they may come after a 2 week break and die because the expected behavior has changed.
Due to it being broken only with prayer, I would put only prayer on alarm by default. Anyone who had been using it is expecting that behavior, anyone who just installs it will see the config with spam set up, and can disable it.
I insist, even if it was a bug, it has become a feature and is what many are expecting of this, changing its default behavior will mess with a lot of people for no reason, and there is no "thousand" people who will come complaining about the spam, due to it being the behavior it had 2 weeks ago, from which point im pretty sure there wasn't a thousand users installing the plugin

and there is no "thousand" people who will come complaining about the spam, due to it being the behavior it had 2 weeks ago, from which point im pretty sure there wasn't a thousand users installing the plugin

We've already had to deal with this plugin adding on-by-default features, when the prayer notifier was added there was a sea of people in the discord confused why their screen was suddenly blue.

and there is no "thousand" people who will come complaining about the spam, due to it being the behavior it had 2 weeks ago, from which point im pretty sure there wasn't a thousand users installing the plugin

We've already had to deal with this plugin adding on-by-default features, when the prayer notifier was added there was a sea of people in the discord confused why their screen was suddenly blue.

Apologies, I wasn't aware of this. I'll be more mindful when updating that I don't change the existing behavior on folks.
I'm going to close this out and cut a new pull with changes to align with the expectations here.


Issues when setting date same as maxDate

The maxDate is inclusive, so you can still select it.
However only when the date is formatted as an ISO-date wit +HH:MM the setDate method seems to work. When using the ISO-date with a Z (for UTC) it doesn't work, and when using a Date Object, it doesn't seem to work either.
JSFiddle-demo

flatpickr version used: 4.2.4
Browser name and version: Firefox 58, Chrome 63, Safari 11
OS and version: MacOS 10.13.3

Hello,
See the console log at https://jsfiddle.net/Ls80skzL/ for why that is the case.
I'd suggest sticking to the same format (I recommend "Z") where possible to avoid issues like these.


Remove dependency on security package to simplify package structure

Contributes to #749
Resolves #681
Move ComboButton into our package (possible temporarily) pending outcome of the button patterns work -- we'll then work out what we need (ButtonMenu, ComboButton, others...?) going forward. In the mean time, this simplifies our structure by removing the complexity of the dependency on the security pkg.
How did you test and verify your work?
Ran build, tests, storybook. All seems unchanged. This shouldn't affect (or even be noticeable) to downstream users.

Should the component be canary and/or have the deprecate warning?

The ComboButton component has been in our package non-canary up until now. This probably should change -- in fact, there are a number of additional things that should be done to this component:

I think it should be canary, like other non-released public components.
The class prefix should be switched to $pkg.prefix rather than 'security'.
The file conventions should be brought into line with our code standards and practices.

However, I suggest these are done as follow-on updates, as they will affect downstream users. This PR is intended to be invisible to our downstream users, and just cleans up our package structure. It's simpler to check that we haven't broken anything if we take things step by step.


window.pre.readClipboard is not a function & xdg-open: no method available for opening

electerm-web Version and download file extension(electerm-web版本和下载文件后缀)
latest
Platform detail (平台详情)
x86_64 GNU/Linux
What steps will reproduce the bug?(重新问题的详细步骤)
open the file browser, select a file on right click error: window.pre.readClipboard is not a function & on double right click error: xdg-open: no method available for opening ///**(the file path)
What should have happened?(期望的结果)
I want to upload and download file on my server
Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)
yes
Additional information(其他任何相关信息)
No response

Can not see the screenshot you upload, can you provide more detail, how di you trigger file upload?

Can not see the screenshot you upload, can you provide more detail, how did you trigger file upload?

I got it, function readClipboard in version 2.38.8 was "readClipboard: ()=>window.et.clipboard || "";", but in version 2.38.65 it is changed into readClipboardSync , the navigitor.clickboard.readText() returns a Promise, so it will be error when it is called by r.split in electerm-2.38.65.js, if you can't get me well still, I'll update the screenshot as soon as possible. thank you so much!
, Cc = (r=_r())=>r.split(
`).reduce((e,t)=>e && (ep.test(t) || Ju.test(t)), !0)
, np = (r=_r())=>r.split(``

Got it, would fix in next release, thank you for the feedback

已更新，可以试试最新版


Release 0.4.1

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Coverage remained the same at 90.871% when pulling 0bf04a12ff1e18aeb477f223ba40dc5bc9009345 on develop into e2ac0fd1ff770a4949e78a5eb616d22901ed5770 on master.


added credit in footer

Fixes #249

Description:  I have added the credits in the footer of the website for website developer. Please have a look and please inform if change needed.
Checklist

[✔] I've followed the Contributing guidelines provided in the repository.
[✔] I've made the changes which were demanded in the linked issue.
[✔] I've tested my code on a Chromium based browser.
[✔] I've tested my code on Mozilla Firefox.
[✔] My code gave a clean console on debugging. (no warnings/errors)

Testimonial

I have made the suggested change kindly have a look
On Sat, 15 Jan, 2022, 7:16 pm Tushar Jain, @.***> wrote:

@.**** commented on this pull request.
In client/src/components/Footer/Footer.js
https://github.com/houseofgeeks/hg/pull/250#discussion_r785309619:

         The website was designed by{" "}

           {" "}

           @EricLiclair.

@ashwani3011 https://github.com/ashwani3011, thanks for your PR, can
you change the text to - This website is designed by @EricLiclair
https://github.com/EricLiclair.
—
Reply to this email directly, view it on GitHub
https://github.com/houseofgeeks/hg/pull/250#pullrequestreview-853549952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJNCE7TCBJTYEKU55JPYTDUWF3EFANCNFSM5MAXBXGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Great work @ashwani3011  ! Looking forward to seeing more contributions from you. 🙌🏻
Also, don't forget to star this repo if you think this is a great project. :star:
@all-contributors please add @abhishekrathi16 for code

@EmperorYP7, can you clear the cache and re-built the code on Netlify, the changes of the last two PRs are not visible in production.

Edit:
@all-contributors please add @ashwani3011  for code


Improve toolbar icon size

Improve toolbar icon size
Keep the icon size of number 1 and number 2 the same.

You should be able to find that the icon size of number 1 is obviously too large, and you need to further improve it to make the icon size reach an optimal and ideal state. 😜
environment
"window.zoomLevel": 2,
vscode 1.84.1
Windows 10 19044

@sandy081, is this something that you could take a look?

Number 1 is the activity bar and not the tool bar and has bigger icons as designed.

Appropriately reduce the size of icon No. 1, and the overall appearance will be better. You can think about it carefully. . .
It is recommended that the size of icon No. 1 be consistent with the size of icon No. 2 for better appearance.


Please clarify some text

This sentence is grammatically unclear: "Specify a VM that you want to be the NVA the next hop".
The role of "a VM" could be made clearer in this sentence: "Specify a VM and the IP address of the NVA".
"Connectivity Check": that pane does not exist. I assume it refers to the "Connection troubleshoot" pane

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

ID: b2c9c95a-dc93-3cc6-ecab-7d039c1b6bd8
Version Independent ID: ada881fd-3c3c-b3bc-1af0-daecd2b18349
Content: Troubleshooting network virtual appliance issues in Azure
Content Source: articles/virtual-network/virtual-network-troubleshoot-nva.md
Service: virtual-network
GitHub Login: @genlin
Microsoft Alias: genli

@algattik Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@algattik Thanks for submitting the issue.  I will update the article.

I submitted a pull request for updating the article.
This issue will be closed when the pull request is merged. Let me know if you have any other questions about this matter.


[DO] Update dataset storage types

Related to https://github.com/CartoDB/cartodb-central/issues/2608
:warning: Deploy after https://github.com/CartoDB/cartodb-central/pull/2645

Acceptance :green_apple:

retest this please


Is there a way to disable the inclusion of the source code?

Hi there,
I have a use case in which I can't expose the source code to the clients.
I was wondering if there is some way to not include the source files in the documentation. (basically remove the file folder that is part of the output)
If no, could it be achieved with a plugin?
Thanks!

@arielschiavoni Hi! Thanks for this issue!
I consider way to disable inclusion of the source code.

I published ESDoc v0.2.5. This version support config.includeSource.
You can config:
{
  ...,
  "includeSource": false
}

see https://esdoc.org/config.html for more information.

Wow that was fast :-) !
Thanks!


Armstrong numbers

Kindly accept this PR and add hacktoberfest accepted tag.

Kindly follow rules to contribute, enter your github username as well and Don't upload empty files!!!


in file null error

Hi, i'm having another problem that seems to be at least partly related to atom-sc. This code: https://github.com/tatecarson/Clarinet/blob/d66d9d1fcdc454c194bd23f7d2ad6a1ca61f7779/newcompexper.scd will evaluate in the IDE, but only if the text is selected, it doesn't evaluate if parens are selected. In atom this doesn't evaluate either way. With parens selected i get an in file null error and without i get:
unexpected $end, expecting ELLIPSIS9:30:04.443 buf=0, rate=1, spos=0, freq=440, rq=1, bpfmi
The problem started with the addition of
SynthDef(\automaticRecorder, {|thresh= 0.09, time= 0.2, amp= 1|         var src= SoundIn.ar*amp;         //var src= BPF.ar(SoundIn.ar*amp, 150, 1); //variant with bandpass filter         var off= DetectSilence.ar(src, thresh, time);         var on= 1-off;      //invert         on.poll;         RecordBuf.ar(src, ~buffer, loop:0, trigger: on);     }).add;
and the buffer allocation. So I think it has something to do with that.
I realize it's a lot of code and would take some time to go through but i'm at a loss for what the problem could be and i've already asked the facebook group to no avail. The code works for them in the IDE. Whenever you have time let me know if you can find any problems with it.
thanks!

There are a few strange things going on there. Thanks for the file, I will play with it and see if I can isolate something.
The error is some kind of trailing parse error from something earlier.
It gets lost for me at 258, but it's from something earlier that isn't completed.

Having a similar issue. When evaluating the same selection, I get either:
null in file null
or
unexpected $end, expecting '}' sig = LeakDC.a
Please advise.

I still occasionally have this problem but circumvent it by saving code in separate files and then executing them all from one master file. I think in that instance I moved all the synthdefs into one file and it worked fine.

That's what I figured I'd have to do. Thanks!

I'm having the same problem.
Is this really related to the amount of code in one file?
Why is there this restriction?
Thank you

Ok, that's a pitty.
Funny enough everything works when using
thisProcess.interpreter.executeFile("file.scd");
Even if the code in that file is really big and not working when evaluating in that code. So you don't even really need to separate your file in pieces, just call it externally.


[Bug] The undo/redo alert should have width based on the content

Currently, the width of alert that we show in undo/redo feature has a fixed width which looks odd.

Ideally, the width of the alert should be same as the width of the content instead of a fixed width like the image below:

Is anyone working on this? If not, can I work on this?

@nishihere19 thanks for showing interest, This issue is not up for grabs, Please search for issues under hacktoberfest. Happy hacking :)


MS: "code admin" role for Suraj

I think it's time for Suraj to get access to blacklisting commands etc.
12.8k rep on Stack Overflow, 646 helpful flags, 2463 feedbacks (!) of which 4 invalidated (0.16%)

Done on pullaprove and on MS; also for some reason Suraj didn't have the core role yet so I added that as well (better late than never :)