Exception in thread "main" java.lang.NoClassDefFoundError: com/opencsv/CSVWriter

Hi Jazz Team,
I am getting this exception error while trying to generate a CSV export.
Could you please advise?
Thanks!

Hi Gabriel,

Your are missing the opencsv library from your class path during execution.  The instructions are in lib/ReadmeMe.txt which says:

WCL uses some libraries that don't ship with it to export and import.
To run the the work item exporter and importer

Download opencsv from
http://sourceforge.net/projects/opencsv/files/opencsv/3.7/
It is possible to use the latest version 4.3.2 from https://sourceforge.net/projects/opencsv/files/opencsv/
Rename the jar file e.g. opencsv-3.7.jar to opencsv.jar

1.a Copy the library file opencsv.jar into /com.ibm.js.team.workitem.commandline/lib to be able to run from Eclipse.
1.b Place the library opencsv.jar into the folder lib in the WCL folder (see /com.ibm.js.team.workitem.commandline/ReadMe - HowToRelease.txt).

Download apache commons-lang from
https://commons.apache.org/proper/commons-lang/download_lang.cgi
Version 3-3.1 works.

Rename the jar file e.g. commons-lang3-3.1.jar to commons-lang.jar
1.a Copy the library file commons-lang.jar into /com.ibm.js.team.workitem.commandline/lib to be able to run from Eclipse.
1.b Place the library commons-lang.jar into the folder lib in the WCL folder (see /com.ibm.js.team.workitem.commandline/ReadMe - HowToRelease.txt).

Kirk WoodsSenior Managing ConsultantCognitive Applications Expert Lab Services+1<PHONE_NUMBER> Mobile

----- Original message -----From: Gabriel Almeida<EMAIL_ADDRESS>jazz-community/work-item-command-line<EMAIL_ADDRESS>Subscribed<EMAIL_ADDRESS>[EXTERNAL] [jazz-community/work-item-command-line] Exception in thread "main" java.lang.NoClassDefFoundError: com/opencsv/CSVWriter (#25)Date: Thu, Apr 23, 2020 7:14 AM

Hi Ralph,
I am getting this exception error while trying to generate a CSV export.
Could you please advise?
Thanks!
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for the info @kirkwoods, but it looks my problem is associated with something else. I have the libs installed in the lib folder as explained in the manual.
See below the command I am executing on my side to export the csv (I think my command is wrong).
`"C:\Program Files\Java\jdk1.8.0_211\bin\java" -Djava.security.policy=rmi_no.policy -Djava.ext.dirs="./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6;C:\Program Files\Java\jdk1.8.0_211/jre/lib/ext" -cp "./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6" -jar wcl.jar "-exportworkitems" repository="https://alm.harman.com/ccm" user="XXX" password="XXX" projectArea="GTC Base Software (CCM)" query="[PQ] ELINA Capabilities or Solutions" [querysource="GTC Base Software (CCM)"] exportFile="export.csv" /allColumns  /disableAttachmentExport  [encoding="UTF_16LE"] [delimiter=","]
StartTime: Apr 24, 2020 8:07:01 AM
WorkItemCommandLine Version 5.0
Starting Team Platform ...
Executing command: exportworkitems
Exception in thread "main" java.lang.NoSuchMethodError: com.opencsv.CSVWriter.(Ljava/io/Writer;CC)V
at com.ibm.js.team.workitem.commandline.commands.ExportWorkItemsCommand.createWriter(ExportWorkItemsCommand.java:326)
at com.ibm.js.team.workitem.commandline.commands.ExportWorkItemsCommand.exportCSV(ExportWorkItemsCommand.java:290)
at com.ibm.js.team.workitem.commandline.commands.ExportWorkItemsCommand.process(ExportWorkItemsCommand.java:239)
at com.ibm.js.team.workitem.commandline.framework.AbstractTeamRepositoryCommand.execute(AbstractTeamRepositoryCommand.java:88)
at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.runCommands(WorkitemCommandLine.java:297)
at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.run(WorkitemCommandLine.java:231)
at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.main(WorkitemCommandLine.java:183)`
Thanks!

No, like Kirk suggests, the error you have seems to be related to the wrong or a missing version of the opencsv. I would recommend to read the readme for your version.

@rsjazz ,
I misunderstood the following statement and have downloaded the latest version, which is 5.1.

It is possible to use the latest version 4.3.2 from

Maybe you want to rephrase it to:

It is possible to use the later version 4.3.2 from

The command is running and I am waiting for the outputs. In case of any other issue, I will raise a separate ticket.
Thank you guys for your help! Your WCL will make my life much easier :)

Can you hint where the statement
It is possible to use the latest version 4.3.2
comes from? I am unable to find it atm.


Azure, make validate does not work from localbox

kubernetes-anywhere (master) $ make validate
KUBECONFIG="$(pwd)/phase1/$(jq -r '.phase1.cloud_provider' .config.json)/.tmp/kubeconfig.json" ./util/validate
Validation: Expected 5 healthy nodes; found        0. (10s elapsed)
Validation: Expected 5 healthy nodes; found        0. (20s elapsed)
Validation: Expected 5 healthy nodes; found        0. (30s elapsed)
Validation: Expected 5 healthy nodes; found        0. (40s elapsed)
Validation: Expected 5 healthy nodes; found        0. (50s elapsed)
Validation: Expected 5 healthy nodes; found        0. (60s elapsed)
Validation: Expected 5 healthy nodes; found        0. (70s elapsed)
make deploy creates the cluster. I can see into azure console, but I cannot run kubectl from local too. Is there any step I missed? or anything related to opening up port or something on azure side?

No, there shouldn't be any additional steps needed. How long did you wait? Can you give it another minute or two?
If it doesn't improve... If you're willing, can you ssh to your master node (the credentials are in <kube-anywhere>/.config.json) and see if you can diagnose anything?
If you can SSH to the master node, please execute:

sudo journalctl -u kubelet 2>&1 | nc termbin.com 9999
sudo cat /var/log/cloud-init-output.log | nc termbin.com 9999

Each of those will output a link, reply with them here and I can take a look.

Are you still experiencing issues here?

Hi, I have the exact same problem. make deploy went through but then it stalls:
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

smartkube-master-pip = [redacted]
make[1]: Leaving directory '/opt/kubernetes-anywhere'
KUBECONFIG="$(pwd)/phase1/$(jq -r '.phase1.cloud_provider' .config.json)/.tmp/kubeconfig.json" ./util/validate
Validation: Expected 5 healthy nodes; found 0. (10s elapsed)
Validation: Expected 5 healthy nodes; found 0. (20s elapsed)
Validation: Expected 5 healthy nodes; found 0. (30s elapsed)
Validation: Expected 5 healthy nodes; found 0. (40s elapsed)

I should mention that the output is from a consecutive run of make deploy. I can see that the Azure resource group contains a master and 4 node VMs, an availability set, nics and other stuff. The group had been up for several hours when I ran the command again.

If your ServicePrincipal credentials are wrong, the cluster won't come up properly. Did you specify them yourself or did you let it generate it for you?
If you're unsure, I'd recommend following the troubleshooting steps I listed just above.

I let it generate them.
In the meantime I removed the whole resource group. I tried it again from scratch and it seems to have worked this time.
For this run I used a ssh password without special characters and didn't change the VM sizes. Also I could complete everything in one go - didn't work the last time.
As a sidenote, one thing that kept me from being successful on my first attempt was that I didn't know the datacenter region codes of azure:
centralus,eastasia,southeastasia,eastus,eastus2,westus,westus2,northcentralus,southcentralus,westcentralus,northeurope,westeurope,japaneast,japanwest,brazilsouth,australiasoutheast,australiaeast,westindia,southindia,centralindia,canadacentral,canadaeast,uksouth,ukwest

I didn't find them on Google so I guessed, and of course guessed wrong. I corrected it later but maybe this broke it in the first place.

Any objections to closing this?

No objections from my side.


Add support for 4232HA

Fixes a few typos along the way as well. Fixes #76
Note: This does not add EEPROM support as there appears to be some missing types in the ffi crate, perhaps it needs a bump?

Thanks for adding this! Just a couple minor suggestions.

Thanks for this! I'll give this one last squash.

Would you like me to make a release after this is merged?

Please and thank you, although up to you to decide if you wanted to wait for the full implementation with the EEPROM stuff, but again I think that's something upstream that might take some time to look at. FWIW I tested this on hardware and everything seems to work.


Support (Arabic) language on badges #4140

Hi everyone!
Perhaps it would be worthwhile to add a feature to Shields ❤
Ref: #4140
before:
https://img.shields.io/static/v1?label=تسمية&message=الرسالة&color=green

https://img.shields.io/badge/يسار-يمين-green

after :
https://shields-test.herokuapp.com/static/v1?label=تسمية&message=الرسالة&color=green

https://shields-test.herokuapp.com/badge/يسار-يمين-green

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @Aissaoui-Ahmed!

  Generated by :no_entry_sign: dangerJS against 1772865f9709d3e9cee0c2f7bd670eb4f114a746

Hi! Thanks for this. I've been playing around a bit with this and continuing the discussion in #4140.
I started to suspect a browser bug could be part of the problem here, or at least browser differences. For the record, here are screen shots taken from the top post in Chrome OS X:

Firefox OS X:

Safari seems to be the same as Chrome.

The underlying problem here is complicated and difficult to solve correctly. See metabolize/anafanafo#114 and #4140 for more details.
While this doesn't make the Arabic badges look good, they clearly are a lot better than before!
The change from spacing to spacingAndGlyphs will have an effect on every badge where the spacing is a little off, e.g.
https://img.shields.io/badge/kerning-46-brightgreen

https://img.shields.io/badge/kerning-B---brightgreen

https://img.shields.io/badge/width-probably incorrect-brightgreen?style=social

That's of course not a complete list, just a few that come to mind.
They all look okay in Chrome, although none are "pixel perfect."
https://shields-staging-pr-4147.herokuapp.com/badge/kerning-46-brightgreen

https://shields-staging-pr-4147.herokuapp.com/badge/kerning-B---brightgreen

https://shields-staging-pr-4147.herokuapp.com/badge/width-probably incorrect-brightgreen?style=social

The addition of spacing was to solve #746 and #848. I want to make sure this change doesn't regress that issue.
Apart from that, if the tests I briefly ran above hold up in other browsers, I think we should consider merging this as a better interim compromise until anyone wants to help solve the problem more carefully.

Thanks :heart: for your support
I really don't have enough experience to say PR is ready to merge but  If it does not pose any problems, why not

Just had a brief look at this PR, this is what I'm observing on my Windows machine:

Firefox (and similar with Edge):

Opera:

Definitely looks somewhat better and more readable, especially on Firefox/Edge.

lengthAdjust="spacingAndGlyphs" will distort the fonts on badges without Arabic text when the estimated and actual text lengths are wrong. Though the results on Windows for Arabic are better than before, I'd like to solve this problem with a solution that actually looks good, and the stretched glyphs do not look good. Let's continue the discussion back in #4140.


There is no activity log when dragging and dropping items into an anonymously attached blob container

Storage Explorer Version: 1.32.0-dev (93)
Build Number: 20230824.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.5 (Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: Exploratory testing
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Right click the blob container -> Click 'Set Public Access Level...'.
Select 'Public read access for container and blobs' -> Click 'Apply'.
Attach the blob container via anonymously.
Go to the attached blob container -> Drag and drop one item into the attached blob container explorer.
Check whether there is a failed activity log.

Expected Experience
There is a failed activity log.

Actual Experience
There is no activity log.
Additional Context
This issue doesn't reproduce for ADLS Gen2 blob containers.

We are now checking if the upload can execute and silently reject the operation. I think this is a good behavior change. I am going to won't fix this issue.


Update mpv propagatedBuildInputs

Description of changes
Move mpv deps libass. libarchive, libdvdnav, mujs, and lcms2 to propagatedBuildInputs

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Upstreaming changes as advised a while back in Matrix from my Nix config. These changes are currently employed in my system overlay. Some packages will require certain build inputs for mpv when it is used as a dependency. These are just a few of the common libraries that I've observed to be searched for.

Since there is an already running issue about mpv, I will link it here:
https://github.com/NixOS/nixpkgs/pull/304349

I think this can be merged first, #304349 has too much on its plate to be ready

And cause another mass rebuild? Not again.

These changes don't appear to be correct, and the errors can be ignored:
cat /nix/store/2h3mmcp67fwkcg09ckyn0mqwx6cdqwxh-mpv-0.38.0-dev/lib/pkgconfig/mpv.pc
prefix=/nix/store/9xvhp8a7512yypshn7gjcwxnip5iam18-mpv-0.38.0
includedir=/nix/store/2h3mmcp67fwkcg09ckyn0mqwx6cdqwxh-mpv-0.38.0-dev/include
libdir=${prefix}/lib

Name: mpv
Description: mpv media player client library
Version: 2.3.0
Requires.private: wayland-client >=  1.20.0, libass >=  0.12.2, libavcodec >=  58.134.100, libavfilter >=  7.110.100, libavformat >=  58.76.100, libavutil >=  56.70.100, libplacebo >= 6.338.2, libswresample >=  3.9.100, libswscale >=  5.9.100, dvdnav >=  4.2.0, dvdread >=  4.1.0, mujs >=  1.0.0, lcms2 >=  2.6, libarchive >=  3.4.0, libavdevice >=  58.13.100, libbluray >=  0.3.0, lua < 5.3.0, lua >= 5.1.0, rubberband >=  1.8.0, sdl2, uchardet, zimg >=  2.9, zlib, alsa >=  1.0.18, openal >=  1.13, libpipewire-0.3 >=  0.3.48, libpulse >=  1.0, caca >=  0.99.beta18, libdrm >=  2.4.105, gbm >=  17.1.0, libjpeg, wayland-cursor >=  1.20.0, wayland-protocols >=  1.25, xkbcommon >=  0.3.0, x11 >=  1.0.0, xscrnsaver >=  1.0.0, xext >=  1.0.0, xpresent >=  1.0.0, xrandr >=  1.4.0, xv, egl >=  1.4.0, wayland-egl >=  9.0.0, vulkan >=  1.1.70, ffnvcodec >=  <IP_ADDRESS>, libva-drm >=  1.1.0, libva-wayland >=  1.1.0, libva-x11 >=  1.1.0, libva >=  1.1.0, vdpau >=  0.2
Libs: -L${libdir} -lmpv
Libs.private: -latomic -pthread -lm -lrt
Cflags: -I${includedir}


Version 3.0.1 not tagged

I see I have version 3.0.1 installed, but can't find such a tag here in the repository.

Thanks for pointing this out! I forgot to push the commit where I changed the version to 3.0.1. Its been fixed: https://github.com/calebmer/postgraphql/commit/a98babb8d2b39e7b69152438e82fd41e4842eb77


Instaslice should select the container that needs GPU access

As of now, instaslice only supports one container per pod to request GPU access. However, from the code it appears that this one container also needs to be the first container in the list of containers in the pod. This seems rather restrictive and unnecessary. Instaslice should be able to go over the list of containers of the pod and select the one that is requesting the GPU access irrespective of the order it is declared in the pod definition.
/cc @rphillips

this issue is related #25


web-deploy not working:  Unable to resolve action<EMAIL_ADDRESS>unable to find version 1.0.0

The output of update main.yml:
Current runner version: '2.275.1'
Operating System
Ubuntu
18.04.5
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20201210.0
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201210.0/images/linux/Ubuntu1804-README.md
Prepare workflow directory
Prepare all required actions
Getting action download info
Failed to resolve action download info. Error: Unable to resolve action<EMAIL_ADDRESS>unable to find version 1.0.0
Retrying in 24.817 seconds
Failed to resolve action download info. Error: Unable to resolve action<EMAIL_ADDRESS>unable to find version 1.0.0
Retrying in 12.956 seconds
Error: Failed to resolve action download info.
Content of my main.yaml:
on: push
name: Publish Website
jobs:
web-deploy:
name: 🚀 Deploy website every commit
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses<EMAIL_ADDRESS>- name: 📂 Sync files
  uses<EMAIL_ADDRESS>  with:
    target-server: sftp.beautique-in.nl
    remote-user: 346741
    remote-key: ${{ secrets.ftp_password }}
    rsync-options: --dry-run --insecure

same here

same here

Sorry guys I haven't actually released this yet! To be honest I didn't expect anyone to find this.
I will add a note on the readme to make this obvious. Sorry for the confusion.

Sorry guys I haven't actually released this yet! To be honest I didn't expect anyone to find this.
I will add a note on the readme to make this obvious. Sorry for the confusion.

Sorry guys I haven't actually released this yet! To be honest I didn't expect anyone to find this.

We just love your FTP workflow so much we're waiting for your new SFTP/SSH action.

@rk50895  @dlbone @agloeckner I finished up this action & released it to the marketplace over the weekend and have it running on a few websites of mine. Should be in a usable state now. Readme needs some improvement still 😄


What is the needed extension for the abcd VHD File? abcd.vhd?

One more step how to rename the file for a Hyper-V import would be useful?
Is the extension .vhd?

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

ID: 218c3a24-424f-e928-d0c0-89c8b8349bc8
Version Independent ID: 0ba31a4b-94cf-2b4f-1fbc-29a92fe7d97a
Content: Download a Windows VHD from Azure
Content Source: articles/virtual-machines/windows/download-vhd.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Thanks for the feedback! We are currently investigating and will update you shortly.

@andrae  To help me understand, can you please elaborate a little more on your ask?
It looks like you got the answer to your initial question about the extension of abcd the file.
For the below statement, what is your question and which doc are you referring to? Thanks.

But in Hyper-V you have to use create new instead of import.

I found this blog on Uploading and creating a Custom Azure VM from .VHD but I couldn't find for your scenario.
@cynthn Are you aware of similar doc for Hyper-V? Thanks.

@andrae the only Hyper-V article I could find is this one: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines not sure if that is what you are looking for or not.

@andrae Any update? Did that help?

@andrae Did that doc shared above help?

We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Support for tables

Support for tables involves two aspects:

Support for rendering tables + more complex table properties like horizontal and vertical spans, alignments of content in cells, etc.

Support for actions to insert a table, add rows and column, join and split cells, table properties.

JATS uses the CALS table model so (1) could be done only via CSS, probably part of it already works.
(2) can be done via Java extensions (the ones in the DITA and Docbook frameworks could serve as a model.
This would imply about one or two weeks of work.

JATS provides for either OASIS/CALS or HTML tables (actually a subset), much like Docbook. I imagine a great deal of the oXygen/Docbook code for tables would simply port across. However, it remains to be determined what proportion of JATS users/projects actually use the CALS/OASIS -- one guesses most use HTML, but I have no numbers.

There's some indication of the use of CALS in this survey by Bruce Rosenblum from JATS-Con, 2010: Implementations of the NLM DTD within Inera’s eXtyles products for markup of full text content in journals, books, and newsletters

Wendell's idea about differentiating CALS and HTML tables:
In JATS, OASIS/CALS tables are assigned a namespace (with a hard-wired
prefix in the DTD), whereas HTML tables are in no namespace as are the
JATS elements.

It appears that in BITS 1.0 at least (as distributed with JATS 1.1d3), both OASIS tables (namespaced) and HTML tables (no namespace) may co-exist in a valid document. (Try DTD BITS-book-oasis1.dtd).
Given this, I think the choice is reasonably clear: either the framework supports only HTML tables (OASIS table users can extend for themselves), or it supports both together, with no fancy toggling. (Perhaps a paranoid Schematron could detect the OASIS tables and warn against them, at any rate if HTML tables also appear.)
If we put relevant tooling on separate toolbars, users can hide the toolbar for tables they don't want. (If only they would do that.)
Given that we already have the hard part done for OASIS tables (there is better XSLT now in place, plus oXygen code in other frameworks), I'd think supporting both kinds of tables would be worthwhile, albeit not the highest priority.

What we do for Docbook which also supports both:
The "Insert Table" dialog allows you to choose the table model to insert.
All other table-related actions operate on existing tables so they can detect what kind of table it is and act accordingly.
So there would be no need for two table toolbars.

If the code is all written for Docbook, fantastic. Less to adapt!
Given the potential complexity here -- depending on the DTD used, a document could permit either both tables, or only one or the other ... perhaps we should simply permit the user to insert either type of table with the Action -- even when they can't insert the wrong table via "Insert Elements" (which consults the schema). Then if an invalid table is used, there will be an error in validation.
This is probably better and simpler than trying to prevent invalid input in all cases -- assuming there is still no way an Action can consult a schema.

Oops!

An operation can also consult the schema. So if the schema allows only one of those table models at the same time we could show the Insert Table dialog without allowing any choice of table models, inserting the proper content. But that would need some Java customization, indeed copying the Java code which currently exists for Docbook would be  a start.

@wendellpiez  My colleague Bogdan added a pull request for table support in Jats, along with overall changes to the CSSs. Maybe you can look over it when you have the time:
https://github.com/wendellpiez/JATSKit/pull/44
The support is only for HTML-style tables but it's better than what we have now, it covers table insertion, operations to insert rows and columns, splits and joins.

@wendellpiez have you had time to look over the pull request?

@raducoravu please remind me again in a day or two I am presenting a paper at Balisage today!

@wendellpiez ping :)
By the way are the Balisage session recordings available somewhere?

We now have actions to insert HTML tables and to manipulate them by adding/removing rows/columns, splitting and joining cells. There is no CALS table support yet, we'll maybe do that on another issue if somebody asks for this.


support multiple headers with the same name

Joining the header values with a comma makes i.e. the set-cookie values invalid.
Iterating over headers that are returned as arrays and transforming their key name to its different case versions makes LAMBDA_PROXY return all of them.
Brilliant. Original credit goes to Gi60s

This is indeed brilliant. Thanks for the PR! Before I can merge this, please confirm this change is under Apache 2.0 license.

Living on the edge with no semicolons i see ;) There you go and indeed under Apache

Thanks. Just waiting on internal approval process. I'll bump this to a new major version in case people are working with/around the current comma-separated approach.

Not only is this not backwards compatible but it's also not really valid HTTP - I mean, user agents are supposed to treat multiple headers the same semantically as comma separated, and HTTPbis calls out Set-Cookie as an exception, but I think it's more trouble than it's worth to do this for everything vs. just Set-Cookie. I will be only doing it for Set-Cookie in serverless-http

It fixes a real world issue that makes both of these libraries unusable for web services that rely on cookies. Putting this workaround in place only for set-cookie seems to be the logical solution here.

Yes I don't disagree with using it for set-cookie at all. I'd be concerned of more subtle bugs if duplicate headers that are usually comma separated (e.g. Allow) get dropped by intermediaries, or other web frameworks and http clients that use hash maps for storing headers have their own special handling for set cookie but nothing else..


Admins can't see team owner on team page when logged in

Logged out:

Logged in:

This was done in #3923, specifically here.
The idea was that for team owners, having an owned by isn't really necessary since they are well aware they own the team. But maybe it is necessary for admins. Do you something specific in mind about where to show it? Showing it beside those 5 options would look a bit clumsy imo.

It's helpful for admins when reviewing teams, since we usually look up the owner and then tag them on GitHub. Since only admins would see it, I wouldn't have a problem putting it beside those existing options for now in order to get the functionality back.
Might relate to https://github.com/gratipay/gratipay.com/issues/3852.

Alright! :)


Providing access to Session instance - mailer.getSession().setDebugOut(new PrintStream(new SMTPLogger()));

Providing access to Session instance for emergency fall-back scenario. Please let us know why you need it.

How can I set the debugOut other way ? Thank you !
mailer.getSession().setDebugOut(new PrintStream(new SMTPLogger()));

Thank you for reporting this. I saw your report a few days ago, but wasn't sure what to think about it. I'm still not sure, but at least now you know I'm still thinking about it :)


Harvest should support display metric names for arrays and histograms

[ ] Handle duplicate display names
See https://github.com/NetApp/harvest/blob/6b01afc69837a9b5cc27ba5441fc16d3c6233b2d/pkg/matrix/matrix.go#L166

We don't think this is needed


Add ObjectDocument#load implementation.

Allows loading data by either passing data to schema.buildDocument(someDataHere) or documentInstance.load(someDataHere).

These initial tests pass, and I'm working on a few additional scenarios (in follow up PR's).


Problem bullets and images

When you add a left alligned image and than add some bullets text to the right the bullets are not placed correct. See printscreen.

This is how it looks like for the learner.


Access phantom through casperjs ?

As you know we can access cli from phantom.cliArgs, but in casper Api we don't have free access to phantom.
Sometimes I need to access phantom because casper don't let me access to all phantom's properties or just I need to use some cools features of phantom like callbacks.
But I wonder if it's a good idea/practice to do it... for now I'm working on a forked repository where I've added this.phantom = phantom; in casper module.
What do you think @n1k0 @laurentj ?

is there any access to set  page.paperSize in casperjs?

@nigulasikk read my previous comment :)


Added basic inn names

Just a simple nameset addition.
It allows for inn names to be generated from a simple "The VERB-ing NOUN" or "The ADJECTIVE NOUN" combination

That's nice, I'm merging it in


feat(DOMRect): add rect for make rect obj

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Wasm] Dev console

The idea is to demonstrate the usage of Wasm + simplify adding mainnet tx to wallet core, current c++ walletconsole is not very flexible to modify and add new features (networking rpc etc)
TODO

[x] Wallet Core public API playground
[ ] Networking layer (leverage node packages)
[ ] Define blockchain RPC using Open API spec (we can do eth/bitcoin for example)
[ ] Fetch data from node and send tx (define interface for balance / tx signing)
[x] Web app / CLI interface
[x] Protobuf model showcase

Reference:

https://developer.trustwallet.com/wallet-core/newblockchain/rpc-requirements
https://github.com/OpenAPITools/openapi-generator

Closing this for now, we will create separate issues to follow up:

New landing page
Multiplatform RPC layer


Login return

I am trying to make an event after the login call, but it does not respond .success, .then. Can anyone help me?
Code:
function loginKeycloak () {
keycloak.login().success(() => {
console.log('here')
}).error(() => {
console.log('error')
})
}

Hi @vihpalca ,
As per Keycloak documentation (here) the login call does not return a Keycloak Promise so you cannot use it like that.
If you need to intercept a successful authentication event you need to attach an event listener and handle the event there.
onKeycloakEvent = (event, error) => {
  console.log('onKeycloakEvent', event, error);
  // Check for onAuthSuccess event
}
...
<KeycloakProvider onEvent={onKeycloakEvent}>
...
</KeycloakProvider>

Let me know if this helps you.


KAFKA-2999: Errors enum should be a 1 to 1 mapping of error codes and…

… exceptions

LGTM. The build failure is on unrelated issue.


Fix duckdb & sqlite character_length scalar unparsing

Which issue does this PR close?
N/A
Rationale for this change
When unparsing CharacterLengthFunc scalar function to DuckDB & SQLite syntax SQL query, the CharacterLengthFunc scalar function need to be unparsed to length, since length is the equivalence of CharacterLengthFunc in DuckDB & SQLite.
DuckDB length()
SQLite length()
What changes are included in this PR?

Add struct DuckDBDialect, which implements the Dialect trait
Add new method character_length_style for Dialect trait for determining the CharacterLengthStyle to use for a dialect
Add helper function character_length_to_sql, which unparses the CharacterLengthFunc to length or character_length based on  CharacterLengthStyle

Are these changes tested?
Yes
Are there any user-facing changes?
No

🚀


docs(getting_started): update the ways to install materialize

Proposed changes
fixes #178 and took that opportunity to update the whole page. Requesting reviews.

🆙 moved from bower:materialize to yarn:@materializecss/materialize (since bower is deprecated).
🗑 removed Meteor and Ember packages (since they are using 0.100)

Screenshots (if appropriate) or codepen:
Reading the diffs should do the job 😀.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).
[x] docs

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Requesting reviews for this PR to be merged.


App gets created with no volume class when there is no cluster/project default volume classes.

acorn version - acorn version v0.5.1-79-g84d2894c+84d2894c
Steps to reproduce the problem:
There is no default clustervolumeclass .
There is no default projectvolumeclass .
sangeethahariharan@Sangeethas-MBP volumes % acorn offerings volumeclass
NAME               DEFAULT   INACTIVE   STORAGE-CLASS      SIZE-RANGE     DEFAULT-SIZE   ACCESS-MODES      DESCRIPTION
cvclass3                                local-path-test4   5G-60G         50G            [readWriteMany]   my first volumeclass
cvclass1                                local-path-test4   5G-60G         5G             [readWriteOnce]   my first volumeclass
local-path-test4                        local-path-test4   Unrestricted                                    Acorn-generated volume class representing the storage class local-path-test4
local-path-test3                        local-path-test3   Unrestricted                                    Acorn-generated volume class representing the storage class local-path-test3
local-path-test2                        local-path-test2   Unrestricted                                    Acorn-generated volume class representing the storage class local-path-test2
ephemeral                                                  Unrestricted                                    Acorn-generated volume class representing ephemeral volumes not backed by a storage class
local-path-test                         local-path-test    Unrestricted                                    Acorn-generated volume class representing the storage class local-path-test

Deploy an app with volume setting no class in Acorn file as follows:
volumes: {
  if !args.dev {
    "pgdatanew": {
    }
  }

}
```
When app gets deployed , volume gets created with no storage class resulting in PVC stuck in "pending" state.
```
nodefault1   ec1a86be6ce0   1/2       2            63s ago   http://app-nodefault1-e747a79a.local.on-acorn.io => app:5000   [containers: app pending create; db is not scheduled to a node] [volumes: waiting for volume pgdatanew to provision and bind]
```

```
kubectl describe pvc -n nodefault1-cf0bb9ab-6f3
Name:          pgdatanew
Namespace:     nodefault1-cf0bb9ab-6f3
StorageClass:
Status:        Pending
Volume:
Labels:        acorn.io/app-name=nodefault1
               acorn.io/app-namespace=p3
               acorn.io/managed=true
               acorn.io/volume-name=pgdatanew
               apply.acorn.io/hash=0467dea92df6a183bfe49073feffd2f748f9ebfb
               l1=v1
Annotations:   a1: v1
               apply.acorn.io/applied:
                 H4sIAAAAAAAA/3RRwW7VMBD8FbTnpCTN03uNJQ6cEEIICSFxQBzW9jqNcNbGXqegKv+OnPLUQvtuXs14dmb2HhYStCgI6h6QOQjKHDjvYw8K1h4awBj97ys0IfHVHF6HO6bUTusPUD...
               apply.acorn.io/owner-gvk: internal.acorn.io/v1, Kind=AppInstance
               apply.acorn.io/owner-name: nodefault1
               apply.acorn.io/owner-namespace: p3
               apply.acorn.io/owner-sub-context: acorn-controller
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Used By:       db-74dff584cf-5lkhc
Events:
  Type    Reason         Age                  From                         Message
  ----    ------         ----                 ----                         -------
  Normal  FailedBinding  8s (x19 over 4m27s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
```

@sangee2004 What is the expected behavior here?

@thedadams The expected behavior in this case would be for the app to error out forcing users to set a storage class for the  volume.

@sangee2004 I understand why this would be desirable, however, this is not consistent with the behavior in v0.5.1.
In v0.5.1, if a user doesn't chose a class for a volume, then the default storage class is used. If there is no default storage class, then the same behavior that you are seeing here will happen.
It would be very easy for us to error in this case like you are suggesting, but I explicitly allowed this because it was also allowed in v0.5.1. I will run this by the team to get their opinions as well.
Note that it is possible for a cluster to have a default storage class, but not a default volume class. I tested these scenarios in both v0.5.1 and with my latest changes and the behavior is consistent.

acorn version v0.6.0-rc1+f4c514dd
Apps do not get created when there is no default storage class set and there is no cluster/project default volumes.
Following error message is presented to the user:
✗  ERROR:  App.api.acorn.io "hello" is invalid: spec.image: Invalid value: "d3e1be84bdaf4ab8b833dffb930ed2b32758c5ef303d7912ae7d7d8ebd216418": no volume class found for pgdatanew


Issue with permissions

Hey!
I'm trying to give moderators of my server the permissions to set/remove parents to players. Actually, they can set parent to all players, except ranks higher theirs. The problem is that they can set Admin ranks to any other ranks, and I don't want to. I tried few permissions, and it didn't work.
I also asked for help on discord, and despite the help of several people, my problem persists.
argument-based-command-permissions is set to true in my config file, and here is the complete verbose content: https://media.discordapp.net/attachments/241667244927483904/648904464459235348/7e3f6331b0cf9aa93e42323d615a637f.png?width=747&height=702
Is there a way to solve my issue?
Thanks in advance for any reply.

Did you execute the commands the players should not be able to run while you had verbose enabled?

Try removing luckperms.user.parent.set

Did you execute the commands the players should not be able to run while you had verbose enabled?

Yes I did, and here is the verbose link

Try removing luckperms.user.parent.set

I tried, but if I remove this permission, the moderators can't define the rank of anybody.

Just to be sure, did you restart the server after enabling argument-based-permissions in the LP config? Not just a reload.
And what LP version are you using?

Just to be sure, did you restart the server after enabling argument-based-permissions in the LP config? Not just a reload.
And what LP version are you using?

I did, and i'm using the latest version (v5.0.8)

@lucko ya broke it!

Could you send a link to the actual verbose results instead of just a picture :)

Could you send a link to the actual verbose results instead of just a picture :)

I already sent a link before, but here it is: https://luckperms.net/verbose/#08vVhdKiVa

@lucko Did you mean results of the complete verbose (fithout filter)?

I meant a verbose showing the issue, i.e. them having access to set admin ranks

I meant a verbose showing the issue, i.e. them having access to set admin ranks

They don't have access to the admin ranks. They can't set their own role to admin, but they can change admin ranks to lower ranks like moderator, player, vip...
For the verbose, I'll send you one as soon as I get to my computer.

Here is the complete verbose https://luckperms.net/verbose/#HTSpr07jUt

It seems to be returning correctly?

@lucko It does, But as I said, the problem is that moderators can set parent for the administrators, whereas they shouldn't be able to.

On the screen under, you can see that I can set the default group as a moderator (Which is what I want), the problem is that I can set the default group to everyone, including administrators (While I should not be able to) I hope it's a little clearer (And btw, thanks for help 😃)

In short they have argument based perms enabled but none of them seem to be checked.

In short they have argument based perms enabled but none of them seem to be checked.

Argument based perms are enabled, and they are working, because I use permissions like luckperms.user.parent.set.admin which is set to false, so they can't use the command /lp user test parent set admin as example.
I don't know if this is useful, but here is my lp editor (Hope It could help you): https://editor.luckperms.net/eVrHo9vGgJ

So then doesn't that solve your initial issue then?
Because initally you said that exactly that isn't working.

So then doesn't that solve your initial issue then?
Because initally you said that exactly that isn't working.

I just noticed that I had not expressed myself well in my initial message, I just modified it.

So you want to prevent group a from being able to remove group b from people being in group c?

So you want to prevent group a from being able to remove group b from people being in group c?

Yep, that's it. Sorry if i'm not very clear 😅

Do all players in group c also have group b?

No they don't. Since group c has permission '*', I thought it wasn't necessary

Duplicate of #1512


Issue #785

Hi,
I've run the tests (assuming that it's done by doing 'make prepush'?) and they still pass, after updating the semver dependency. See Issue #785 for more info.

I've made a similar change off of the v2.8.5 tag in a fork, but am running into issues trying to create a pull request for that item. Would it be possible to create a branch off of the v2.8.5 tag in this repository so I can issue the pull request?

Fixed as part of 3.0.2 release

Thanks @yunong ! Is it possible to get a 2.8.6 release with the same version update as well?


Upgrade x509-parser

Reference issue: https://github.com/rusticata/x509-parser/issues/94

Done in https://github.com/libp2p/rust-libp2p/pull/2945


Error in Mono,"Cannot handle address family xxxxx"

Hi,
When (Ubuntu 14.04 + Mono4.0.1) run under Linux, when searching Url climbed some time will be reported the following error, such as "https://www.google.com".
How to solve? THX!

Cannot handle address family 53936
Stacktrace:
at  <0xffffffff>
at (wrapper managed-to-native) System.Net.Dns.GetHostByName_internal (string,string&,string[]&,string[]&) <0xffffffff>
at System.Net.Dns.GetHostByName (string) <0x0004d>
at System.Net.ServicePoint.get_HostEntry () <0x00223>
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest) <0x001d4>
at System.Net.WebConnection.InitConnection (object) <0x00312>
at System.Net.WebConnection.m__0 (object) <0x00024>
at (wrapper runtime-invoke) .runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
    mono() [0x4b8028]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f5534098340]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f5533cf9cc9]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f5533cfd0d8]
    mono() [0x62d029]
    mono() [0x62d22f]
    mono() [0x62d2d2]
    mono() [0x628aa5]
    mono() [0x57e74e]
    [0x408ba130]

Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Aborted

After testing, the bug only in the latest mono 4.0.1 appeared, with the old version 3.12.1, is not there, so I can go back to 3.12.1.
I have submitted this bug to mono team, hope they can repair strategy as soon as possible.
https://bugzilla.xamarin.com/show_bug.cgi?id=30018
THX!

Thanks for reporting this. I'll leave this issue open until it is resolved.


Php8.2

Codecov Report

Merging #3 (852867f) into main (0e4ad52) will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main       #3      +/-   ##
============================================
+ Coverage     82.65%   82.71%   +0.06%
+ Complexity     1271     1261      -10
============================================
  Files           145      145
  Lines          3124     3118       -6
============================================
- Hits           2582     2579       -3
+ Misses          542      539       -3

Flag
Coverage Δ

7.4
?

8.0
82.71% <ø> (ø)

8.1
?

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

Impacted Files
Coverage Δ

src/Context/ContextStorageNode.php
100.00% <0.00%> (ø)

src/Context/FiberBoundContextStorageScope.php
0.00% <0.00%> (ø)

src/Contrib/Context/Swoole/SwooleContextScope.php
0.00% <0.00%> (ø)

src/SDK/Common/Attribute/AttributesBuilder.php
84.84% <0.00%> (+1.51%)
:arrow_up:

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 0e4ad52...852867f. Read the comment docs.


Replace height intrinsic with is_smaller_than and make height a partial order

This pull request allows decreases that go through Seq, Map, FnSpec, and user-defined abstract datatypes.  For example:
        struct S {
            x: Seq<Box<S>>,
        }

        spec fn f(s: S) -> int
            decreases s
        {
            if s.x.len() > 0 {
                f(*s.x[0])
            } else {
                0
            }
        }

The new is_smaller_than(a, b) intrinsic expresses that b can decrease to a in a decreases clause:
#[verifier(external_body)]
#[verifier(broadcast_forall)]
pub proof fn axiom_seq_index_height<A>(s: Seq<A>, i: int)
    requires
        0 <= i < s.len(),
    ensures
        #[trigger] is_smaller_than(s[i], s),
{
}

is_smaller_than also works on lexicographic tuples, which can be useful for debugging termination failures:
assert(is_smaller_than((i, j - 1), (i, j)));

is_smaller_than replaces the previous height intrinsic.  height is still used in the SMT encoding, but heights are no longer integers, and are instead Z3 partial orders.  This allows the SMT encoding to express the heights of infinite maps and FnSpec functions.
Partial orders are a new feature in Z3, so this pull request requires upgrading to the latest Z3 release (4.12.2).

I'm a little confused about how tuples work. Is the lexicographic ordering of tuples consistent with the height-ordering of tuples?
If I write is_smaller_than((a, b), (c, d)) then it looks like rust_to_vir_expr lexicographic ordering, but we can also talk about the partial-order on tuple objects themselves:
let x = (a, b);
let y = (c, d);
is_smaller_than(x, y)

Is this equivalent to is_smaller_than((a, b), (c, d))?

It's not equivalent.  Maybe the larger question is what the syntax for is_smaller_than should be.  Right now, the tuples are just a way to transport the various expressions through Rust's syntax and type checker.  But we could have some dedicated syntax that doesn't overload tuples like this.  I'm not convinced that is_smaller_than is important enough to deserve its own operator in the Verus syntax macro (along the lines of F*'s << operator).  But would it be better to have an ordinary ! macro for it?  Like is_smaller_than!(a, b; c, d) or is_smaller_than!(a, b => c, d) or decreases_to!(c, d => a, b)?

Perhaps we should just have is_smaller_than and is_smaller_than_lexicographic (and the latter can just expect syntactic tuples)

FYI, I made this change to help smoothen the transition to z3 4.12.2 (and for future version updates), https://github.com/verus-lang/verus/commit/6f5342cc7e518fcd8b4147c6ddb134ea04450b9d

I added a restriction similar to https://github.com/FStarLang/FStar/pull/2954 .  I think this should be ready to merge into main now.


ENH: Add gated solution directives to support code-cells in solutions

This PR adds support for gated solution directives, which enables:

support for executable code (such as code-cell in myst-nb) to be used. As the code-cell is at the root level of the document it is executed by jupyter-cache and follows with jupyter-book methodology of supporting code-cell directives at the root level of the document in a linear fashion (which is 1-to-1 with jupyter)
supports any directives that may be used between solution-start and a solution-end directive.

Note: this PR only adds support for solution directives. Another PR will enable support for exercise directives (https://github.com/executablebooks/sphinx-exercise/issues/55)
Example

```{solution-start} exercise-1
:label: solution-gated-1
```

This is a solution to Exercise 1

```{code-cell} python3
import numpy as np
import matplotlib.pyplot as plt

# Fixing random state for reproducibility
np.random.seed(19680801)

dt = 0.01
t = np.arange(0, 30, dt)
nse1 = np.random.randn(len(t))                 # white noise 1
nse2 = np.random.randn(len(t))                 # white noise 2

# Two signals with a coherent part at 10Hz and a random part
s1 = np.sin(2 * np.pi * 10 * t) + nse1
s2 = np.sin(2 * np.pi * 10 * t) + nse2

fig, axs = plt.subplots(2, 1)
axs[0].plot(t, s1, t, s2)
axs[0].set_xlim(0, 2)
axs[0].set_xlabel('time')
axs[0].set_ylabel('s1 and s2')
axs[0].grid(True)

cxy, f = axs[1].cohere(s1, s2, 256, 1. / dt)
axs[1].set_ylabel('coherence')

fig.tight_layout()
plt.show()
```

With some follow up text to the solution

```{solution-end}
```

will be styled as a single solution in the output document

Discussions around Syntax
Pro:

This approach is independent of the current solution directive so doesn't change any existing behaviour
Looks quite clean from a syntax perspective (see example below)

Con:

Harder for highlighter tools to parse (i.e. vscode extension)
There are two directives that do a similar thing (solution and solution-start with solution-end). (@mmcky comment: Not sure this is a huge issue as I think users would typically use one or the other. I would probably start using the gated directives as I like how they look (rather than nested structures).

Technical Approach
This PR adds in two directives solution-start and solution-end which are then transformed during transform phase of sphinx to migrate any nodes between start and end to be wrapped in a standard solution node. Therefore there are no additional visit_ and depart_ methods required.

[x] solution-end can be simplified as it currently inherits from SolutionDirective and doesn't require all the additional logic of titles. It just needs to plan a solution-end node in the tree.

Codecov Report

Merging #45 (7f68aac) into master (9715a72) will increase coverage by 0.52%.
The diff coverage is 98.21%.

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   93.34%   93.87%   +0.52%
==========================================
  Files           6        7       +1
  Lines         436      490      +54
==========================================
+ Hits          407      460      +53
- Misses         29       30       +1

Flag
Coverage Δ

pytests
93.87% <98.21%> (+0.52%)
:arrow_up:

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

Impacted Files
Coverage Δ

sphinx_exercise/transforms.py
97.29% <97.29%> (ø)

sphinx_exercise/__init__.py
94.73% <100.00%> (+0.45%)
:arrow_up:

sphinx_exercise/directive.py
98.41% <100.00%> (+0.09%)
:arrow_up:

sphinx_exercise/nodes.py
90.00% <100.00%> (+0.46%)
:arrow_up:

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 9715a72...7f68aac. Read the comment docs.

This definitely works for me @mmcky .  Fits my simple uses cases and the syntax is clean and simple enough to easily remember.  Fully in favor :+1:

Thanks for comments @jstac @choldgraf (@chrisjsewell via slack). Appreciate it.
Next Steps:

[ ] do another round to improve robustness and write a more general tree parsing function for collecting relevant nodes between -start and -end.

There is the possibility to make this more general to extend any directives using {{directive}}-start and {{directive}}-end but won't put development time into this at the present time. Perhaps we could revisit that for an admonition factory type of project. I will document the general approach if others want to use this pattern in an extension.

@AakashGfude I just pushed some additional test cases error.md but with the current test setup using app.build() I don't see a way to save the errors and warnings to pass to an assert statement. Any ideas on this?

OK I think the only way to integrate proper error checking is to add a transform CheckGatedDirectives to run through the full structure of the document and build a registry to ensure the structure of gated directives is complete (i.e. matching -start and -end), non-nestedness etc. and raise Errors if the required structure is not adhered to.
then the current transform doesn't have to know the structure of the document and can focus on migrating the appropriate nodes into a unified solution note in the sphinx.ast

Regarding supporting code in exercise directives, this can be useful where some set up or initialisation code is required as part of the exercise set-up.
Generalising support for gated directives would seem to be a good way of doing this, not least because it then opens up a route for other extension developers to easily support high level blocks defined across multiple heterogenous cells.
Naively, I'm assuming that at some point the gated directives essentially gives you a

 block to put things in; as such, it would also be useful to allow the user to optionally set a CSS id for the block.

In a simple exercise solution, the dropdown class can be added to the solution to hide it.
For compound solutions between gated sections, it would be useful if the whole section could be collapsible, perhaps by the following:
```{solution-start} solution1
:class: dropdown

More generally, can a class be set in the `solution-start` block, eg `:class: orange` for custom styling, that is then automatically removed (by default, at least) by the matching `solution-end` block.

Thanks @psychemedia I think this is a good idea. The way solution-start is setup at the moment is it inherits the solution directive so all options available to solution nodes should transfer over to solution-start. Maybe I need to add a test case as I work through the gated nodes.

Regarding supporting code in exercise directives, this can be useful where some set up or initialisation code is required as part of the exercise set-up.

Support for exercise nodes will be next.

@chrisjsewell @AakashGfude I have setup the extension to make use of a CheckGatedDirectives transform before merging them in the sphinx.AST to check for various structural issues. I am not sure how to get this setup working in the test framework though -- Is it possible to catch a sphinx ExtensionError and keep executing the document.
I want sphinx to stop executing if any of these malformed gated directive conditions exist:

no matching -end
no matching -start
nested sequence of -start and -end

coupled with a useful error message.
Currently the make html presents a nice diagnostic message for tests/books/test-gateddirective/
(ebp) ➜  test-gateddirective git:(gated-directive) make html
Running Sphinx v4.4.0
myst v0.15.2: MdParserConfig(renderer='sphinx', commonmark_only=False, enable_extensions=['dollarmath'], dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', disable_syntax=[], url_schemes=['http', 'https', 'mailto', 'ftp'], heading_anchors=None, heading_slug_func=None, html_meta=[], footnote_transition=True, substitutions=[], sub_delimiters=['{', '}'], words_per_minute=200)
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 6 source files that are out of date
updating environment: [new config] 6 added, 0 changed, 0 removed
Executing: errors_1 in: /Users/mmcky/work/executablebooks/sphinx-exercise/tests/books/test-gateddirective
ERROR: [errors_1] is missing a solution-end directive:
  solution-start at line: 20

Extension error:
[sphinx-exercise] An error has occured when parsing gated directives.
Please check warning messages above
make: *** [html] Error 2

but I am not sure how to test against this condition and keep executing for errors_2 and errors_3 documents.
Should I run a sphinx.build() for each of the error pages and catch the exception?

OK I have just found https://github.com/executablebooks/sphinx-external-toc/blob/96c80db479b9cd926f2d4dad9cc43ee3c007fcb7/sphinx_external_toc/events.py#L69 so maybe that is tested in sphinx-external-toc. I'll look there.

Hi
I'm trying this from pip3 install --upgrade git+https://github.com/executablebooks/sphinx-exercise.git@gated-directive but I don't see the code cells being displayed? Is code cell inclusion between the gateposts supported yet?

Should the solution content blocks all be inside a solution-content div, which would then allow for collapsing the solution content?

Should the solution content blocks all be inside a solution-content div, which would then allow for collapsing the solution content?

thanks @psychemedia -- I will double check that html. Is this just for gated solutions?

Is this just for gated solutions?

Yes, that's where I spotted it. Inside a gated solution. I was expecting the content between the gateposts to be in the solution-content div. Also, looking at it now, is the id="solution-content" guaranteed unique? It looks more like a class than an id to me.

nicely spotted thanks @psychemedia the test fixture shows the same -- will fix that.

Solution to Exercise 1

This is a solution to Exercise 1

Presumably, the gated solutions will not be useful in JupyterLab / JupyerLab-MyST contest because of the inability to propagate metadata up the DOM  /  select parent HTML blocks that define cells; or, at least, not without some sort of extension support, or the availability of CSS has() selectors?

How easy is it to be able to parse a :class: dropdown on entering the gated section, and then add the dropdown button to the solution div?
More generally, can the recipe for gated sections be used to easily create other admonition types that also employ gated sections? Eg could gated blocks be easily added to exercise definitions, or other custom defined admonition blocks based on a similar pattern?

Presumably, the gated solutions will not be useful in JupyterLab / JupyerLab-MyST contest because of the inability to propagate metadata up the DOM / select parent HTML blocks that define cells; or, at least, not without some sort of extension support, or the availability of CSS has() selectors?

Sadly no - to my knowledge this will need extension support. There is some work going on at mystjs to bring rendering of MyST support for jupyter/jupyterlab.

OK so it looks like the xml tree is incorrect and the solution-content section should nest the content and it should be:

            <paragraph>
                This is a solution to Exercise 1
            <CellNode cell_type="code" classes="cell">
                <CellInputNode classes="cell_input">
                    <literal_block language="ipython3" xml:space="preserve">

[ ] work out how to best support error_1, error_2 and error_3 tests

@chrisjsewell @AakashGfude I think I figure out a reasonable solution in 701a398 for testing the Exception cases and checking warning messages

@choldgraf @psychemedia @AakashGfude this is working nicely for me now. I'll plan to merge this soon and start work on exercise directives.
@choldgraf this extension to the syntax is quite convenient (vs. nesting structures) -- it might be a nice enhancement proposal for any directive down the track.

I have now converted one of the QuantEcon lectures sites to use sphinx-exercise that makes use of both gated exercise and solution directives https://github.com/QuantEcon/lecture-python-programming.myst/pull/176
The preview is available here: https://6228365c7ce7b477e5575a73--epic-agnesi-957267.netlify.app/intro.html


Fix django test script

I think the django test script we've been using in CI has been giving us false positives. At least the tests are failing on my local machine. Just a minor improvements to how we detect success / failure.

Moving this to draft status because only unveils the existing problem. Test reporting is still broken. I think it makes the most sense to work on this with @christophertubbs once he is back.

The evaluationservice tests are passing now :tada:. However, the gui tests are still failing. Looks like ModelExecRequestClient, which no longer exists, is being imported in the DMODProxy module for use in the PostFormRequestClient class. The EditView module ends up importing something from DMODProxy and thus causes the error we are seeing in the tests:
https://github.com/NOAA-OWP/DMOD/actions/runs/8723927609/job/23933294022?pr=579#step:11:330
@robertbartel / @christophertubbs how should we remedy this?


Notebook title disappears from content list in any page but index

I added a notebook to my index.rst. The title and sections appears in my contents list, i am using sphinx_rtd_theme, but only when i am on index page, when i navigate to other pages the notebook title disappears from the contents list.

Did you re-build all pages?
If not, please try either using the -E flag or deleting the build directory before re-building.

I was able to fix it by changing 'collapse_navigation': False, on conf.py  theme options  from True to False.

Thanks for the update.
Please note that your specific change is not actually the immediate reason why it works now. Changing anything related to HTML output in conf.py will lead Sphinx to re-build all HTML pages, which is the actual reason why now all your pages are correct.
You don't have to use this specific option (but I personally like this option, so I recommend to keep it anyway).
I guess I can close this issue now.


No extension at snabbdom module exports

Framework7 version: 7.0.2
React.js version: 17.0.2
Platform and Target: Windows Chrome

Describe the bug
I am using custom webpack config and have faced typescript compile error:
ERROR in ./node_modules/framework7/modules/component/snabbdom/snabbdom.js 42:0-24

Module not found: Error: Can't resolve './h' in 'C:\dev8\quiz\node_modules\framework7\modules\component\snabbdom'
Did you mean 'h.js'?
BREAKING CHANGE: The request './h' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ./node_modules/framework7/modules/component/snabbdom/snabbdom.js 43:0-32

Module not found: Error: Can't resolve './thunk' in 'C:\dev8\quiz\node_modules\framework7\modules\component\snabbdom'
Did you mean 'thunk.js'?
BREAKING CHANGE: The request './thunk' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

I did fix this with adding rule to webpack config:
{
	test: /\.m?js$/,
	resolve: {
		fullySpecified: false
	},
},

But isn't this a bug? I've created pull request to fix export extension - https://github.com/framework7io/framework7/pull/4026

fixed by https://github.com/framework7io/framework7/pull/4026


Link to Dataquest NP cheatsheet broken

new link is... https://www.dataquest.io/blog/numpy-cheat-sheet/

Hmm, I'm hitting an error with both links now, perhaps I should remove it.


Fix to_ndarray_vlf

What happened?
The function to_ndarray_vlf uses location_forecasts[0].forecasts[0].features within the code to get the features. Similarly, the number of times is calculated as num_times = len(location_forecasts[0].forecasts). The problem with this approach is that it assumes that the properties of location_forecasts[0] are true for location_forecasts[i] for all other i too. This may not be always the case, especially for the historical data since for some periods certain features may be missing, while for other periods the features may be there.
Another problem is that the function assumes the order of the features is always the same.
What did you expect instead?
The function to_ndarray_vlf should be robust enough to handle cases when instances of location_forecasts are not uniform in their structure, e.g. missing data, different order.
Affected version(s)
No response
Affected part(s)
I don't know (part:❓)
Extra information
Also while the code is being fixed, can it be simplified too? Do we really need the following?
# pylint: disable=too-many-locals,too-many-branches,too-many-statements

Also, please, refactor the function as it is too long.

Perhaps another point to consider is if we need function to_ndarray_vlf at all given we an alternative function flatten which has a simpler implementation and potentially is also easier to use (?). If flatten is sufficient, we could just remove to_ndarray_vlf.

Might be fixed by #132. Needs to be tested against this case


feedback section:

Here are some issue titles focused on both the navbar and feedback section:
Improve Readability of Navbar and Feedback Section
Fix Navbar Layout and Feedback Section Alignment
Enhance Navbar Design and Feedback Section for Better Readability
Resolve Navbar and Feedback Section Display Issues
Optimize Navbar and Feedback Section for Better User Experience

before pr, can you share the screenshot of output so that i can review?

Share the screenshot??


⚠ Thumbnails API Endpoint has degraded performance

In 99517ce, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=1427869852&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 2135 ms

Resolved: Thumbnails API Endpoint performance has improved in 2c15304 after 10 minutes.


fix typo and wordsmith

Summary
Closes https://github.com/Qiskit/qiskit/issues/13471
Details and comments

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

0 of 0   changed or added relevant lines in 0 files are covered.
17 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 88.948%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/unitary_synthesis.rs
1
92.2%

crates/qasm2/src/lex.rs
4
92.48%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.01%

Covered Lines:
79424

Relevant Lines:
89293

💛  - Coveralls


[QMK Heatmap] Allow customization of the "fingertip size"

For big pictures, the heatmap circles are too small to overlay with each other and thus create a nice looking graph. Instead, they stay within the confines of a single keycap. It should be solvable by simply increasing the fingertip size aka the radius of the circles.
See https://www.patrick-wied.at/projects/heatmap-keyboard/ to understand what I mean by "fingertip size".

Solved in upcoming GUI project.


Support for 4 and 8 character hex colors in CreateMuiTheme

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

Summary 💡

Support for the color notations or #rrggbbaa and #rgba should be added as an input option in CreateMuiTheme.
While 4 and 8 digit hex notations are only supported in Chrome 62, and Firefox 49 and later, the format could be converted to the more standard rgba() before it is displayed.
Examples 🌈

primary: {
     light: "#616189", //works
     main:  rgba(18, 59, 18, 255), // works
     dark: "#0A0A3EFF" //does not work
},

Motivation 🔦

More options = better

Do we really want to support it? I'm not even sure our components can handle it. I suspect some don't. What about we close with "waiting for upvotes"?

Possibly not. I was thinking more about the colorManipulator.

I ran across this problem today. Suppose I create a theme like this:
const colorTheme = createTheme({
  palette: {
    primary: {
      main: '#009147',
      background: '#00914712',
    },

and then try to use it like so:
const NavButton = styled(Button)(({ theme }) => ({
  '&.MuiButton-root:hover': {
    backgroundColor: theme.palette.primary.navigationBackground,
  },

It produces no CSS.
But if you manually specify the color
const NavButton = styled(Button)(({ theme }) => ({
  '&.MuiButton-root:hover': {
    backgroundColor: 'rgba(0, 145, 71, 0.07)',
  },

It produces this as expected:
.css-aad5ge-MuiButtonBase-root-MuiButton-root.MuiButton-root:hover {
    background-color: rgba(0, 145, 71, 0.07);
}


tdexdconnect html page: infer the hostname

We can use external service to get this automatically
curl -4s https://ifconfig.io
b ut would still allow the user to override it via env var? @altafan

closing in favor of passing as ENV VAR #622


Update fr.json

Add some new translation (errors 403,404,426)

Could you send this Pull Request against the wip branch?

Already merged in wip #464


No REDline on picture related to "tromboning" effect.

"If the gateway remains on-premises (red line), a tromboning effect and higher latency are observed."
On this picture we dont see RED line.

Sebastian

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

ID: 3d874232-cc57-3e73-a8cf-cc3e2a79b573
Version Independent ID: 82c55557-483b-3f94-714b-f4ce5789b4af
Content: VMware HCX Mobility Optimized Networking (MON) guidance - Azure VMware Solution
Content Source: articles/azure-vmware/vmware-hcx-mon-guidance.md
Service: azure-vmware
GitHub Login: @suzizuber
Microsoft Alias: v-szuber

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

#assign: @rvandenbedem
Asking PM Rene van den Bedem to look into this. He or a member of his team will need to make the update as I don't have access to the original diagram.

@suzizuber - I will look into it, I do not know who has the original diagram, but I am making enquiries within the team.


Info button: faq thing

what do i do if my recipient requires more than 6 essays? no problem, make another entry for the rest

also add like no data saved and whatever

and also something that says that if all the events dont show up press agenda and then press calendar again to refresh and put all events there

add change name section too


sv_clipboard.lua:515: Tried to use invalid object (type IPhysicsObject)

After playing gmod for a while I'll get this error for all my dupes and needs a server restart to fix.
[AdvDupe2Notify]	addons/advdupe2/lua/advdupe2/sv_clipboard.lua:515: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of

For some reason it becomes impossible to spawn props from the prop menu when this occurs too.

Is there no more error than that? It seems to be cut off, which means there's no stack trace to go with it :(

Yeah the it showed the error as a hint which I guess has a maximum string length and it printed the same text to the console.

I think there's something going wrong in garrysmod that makes props unable to spawn for whatever reason and the advdupe2 doesn't handle the invalid physics objects that remain from the unspawned entities.

Looks like a missing IsValid() check. I have problems with it too. For me it is caused by an addon I am developing. It has scripted entities that spawns other entities. These are removed on duplication to prevent them from spawning twice and being broken. However I'm not able to fix that in my addon.
It's working fine on ADV Dupe.
The Error for me is slightly different: "lua/advdupe2/sv_clipboard.lua:515: Tried to use a NULL physics object!"
If you need more information I will give you more.

@Nebual As this is fixed now, it can closed too. :)


[Code change]Reports 10083 "Export Electronic Payments" and 11383 "ExportElecPayments - Word"

Request for both reports, to remove the currency code test:
    trigger OnPreReport()
    ...
        with BankAccount do begin
            Get("No.");
            TestField(Blocked, false);
            TestField("Currency Code", '');  // local currency only  //REMOVE THIS LINE
            TestField("Export Format");
            TestField("Last Remittance Advice No.");
        end;
    ...
    end;

This issue has no relation to the AL extensibility.
Please report this issue via the regular support system including the repro steps.


Adjust git paths for command capture, repo clone destinations

Also updates the expected artifact locations, relative to the workspace.

The latest iteration of the job finally produces compiler and linker artifacts for both CMake and Bazel, grouped by the runner OS. We could obtain the same order by setting build/${{ matrix.os }} as the build dir for CMake, but I'm fine with leaving as is.
Job and downloadable result artifacts: https://github.com/nicholasjng/nanobind-bazel/actions/runs/8248209027


Impossibleangle

From : https://github.com/osmlab/osmlint/issues/83
Time : 10 seg for Peru on my laptop.
@maning, could check the result? https://gist.github.com/anonymous/5fa5095d11c61bb3f1c2906ef4438d2f
@geohacker @batpad  can you take look on code, to merge in master?
cc. @aaronlidman @planemad

This looks good to me, @Rub21 ! Will see if @geohacker has any inputs, else I'm :+1: on merging.

Short description:
Impossible angle: Roads that bend in a very sharp angle.  The current threshold is <10 deg.
@Rub21, is this a better description.

@Rub21 just updated the readme based on what @maning suggested. This looks good! :tada:

@geohacker @maning , I've just merged.


Introduce floating point numbers

(+ 1 2.0)
3.0

(* 1 2.0)
2.0

(- 2.0 1)
1.0

From now on the reader component is able to handle floating point input


Check 'Maximum Order Quantity' update on Cart (OCC-183)

When I want to add a discounted product that has a 'Maximum Order Quantity' = 2 an set 3 items, I get the expected message:
The checkout quantity for Test Discounted Product is more than the maximum allowed.
But when I am on the cart page and change the number of items to a number > 3, there is no such message so I could order more than 'Maximum Order Quantity' limit that is set.
Jira issue

Sorry, I wasn't able to reproduce this. Can you send a step-by-step or screen recording?

Not OP, but I could reproduce by simply adding 1 Test Discounted Product to cart and then, within the cart, updating its quantity to 5, which shouldn't be possible as the max order quantity is set to 2.

That won't actually allow you to order more than the maximum though.

I haven't encountered any errors while checking out with these parameters, so it seems possible:
https://github.com/OrchardCMS/OrchardCore.Commerce/assets/51411356/12214475-aa08-4f78-b044-f163c81f7288

Additionally, if you check out with a quantity higher than the available inventory's value with back ordering disabled, you get a big friendly exception.

I think it just needs inventory checking added for the method that handles cart updating.


Adding quicksort algorithm in the sorting section

I have added the quicksort algorithm in the sorting folder. Please check the changes and merge the commit with your repo.

Not accepting CPP/C dsa codes
Alternative ->
1)Create a page using HTML & CSS Add dsa problem statement and solution in that
2)You can contribute in python and java OR
Ask for an issue assign


Select Image option takes lots of time when Security-Scan in enabled.

When security scan is enabled in any pipeline it takes lots of time to list out the built image.
Describe the bug
Expected behavior
It should list out the build image in a fraction of seconds.
Current behavior
Vulnerabilities scan results displayed on each material available in the DEPLOY drawer sends multiple queries and throttles Devtron postgres.
Screenshots
https://user-images.githubusercontent.com/85476803/166626014-34b728d4-2b5f-468b-8f8b-c0b04bc3c5fd.mov
Proposed Changes
The scan results should be pulled only when the user clicks on the SECURITY tab
AB#261

Resolved


Question - How do I re-encode a token?

Purpose/Scenario:
I'm just looking to create a small unit test that:

Creates a new JWT.
Verifies the JWT.
Decodes the JWT.
Edits the JWT (like adds "isAdmin" to the payload)
Encodes the JWT.
Verifies the JWT and expects the result to be false.

Issue/Question:
How do I properly re-encode the JWT object? There is no exported function for re-encoding a JWT in the jsonwebtoken library.  I've tried using other libraries like 'base64url' and appended the JSON.stringify() parts with periods, but I can't get a valid re-encoded token to verify.
Could we get a .encode() method exported?
Relevant Code:
The test case:
    it(`should not verify compromised token`, () => {
        // create our token
        const subject = `brandon`;
        const displayName = `Brandon`;
        const token = tokenService.createJwt(subject, { displayName });
        const jsonToken = tokenService.decodeToken(token);

        // edit it, like some hacker might try
        jsonToken.payload.isAdmin = true;
        const newToken = tokenService.encodeToken(jsonToken);

        // expect the verifyer to catch the edit
        const isValid = tokenService.verifyJwt(`brandon`, config.auth.audienceName, newToken);
        expect(isValid).toBeFalsy();
    });

How I'm signing my tokens:

export function createJwt(user: string, extraData:any): string {
    const privateKeyFile = `./signingkeys/${config.auth.privateSigningKey}`;
    const privateKey  = fs.readFileSync(privateKeyFile, 'utf8');
    const signOptions = {
        issuer:  config.auth.issuerName,
        subject:  user,
        audience:  config.auth.audienceName,
        expiresIn:  config.auth.expiresIn,
        algorithm:  config.auth.algorithm
    };

    const token = jwt.sign(extraData, privateKey, signOptions);
    return token;
}

I'm configured to use RSA512, if that helps at all.
Thanks

This is an interesting question! I would argue that the described test is attempting to test a 3rd party library (node-jsonwebtoken) which I've come to understand is generally not best practice. What's the intention behind the test? Maybe there is a slightly different way to structure it such that the test covers the logic in your code without relying on 3rd party libraries?

Absolutely.  Fully agree that it's testing a 3rd party library, but since this falls into the security category of my application I feel the test case is fully warranted.  As a user of the token validator, I really want to make sure the validation function works before relying on it to fully secure my system.
The main purpose/case here is to ensure the system catches any altered tokens, like some hacker might try (perhaps to add some claims/payload to elevate privileges).
I'm not sure exactly how I can re-order the code a bit, but am surely open to ideas! I really just need to know how to properly re-encode a valid token and run the verify against it and get that to pass.

The JWT spec defines how this works; it'd look something like this:
function manpulateToken(token) {
  const contents = jwt.decode(token)
  const parts = jwt.split('.');
  const manipulatedContents = { ...contents, madeUpValues: true };
  return [
    parts[0],
    base64Url(JSON.stringify(manipulatedContents)),
    parts[2]
  ].join('.');
}

@Ry7n Thanks! I'll give this a shot soon.  This looks pretty identical to what I tried previously, but I might have done something wrong.

I got it working.  (Thanks @Ry7n)
Here are the 2 relevant test cases:
    it(`should verify re-encoded token`, () => {
        const token = tokenService.createJwt(`brandon`, { displayName: `Brandon R` });
        const isValid = tokenService.verifyJwt(`brandon`, token);
        expect(isValid).toBeTruthy();

        // basically copy the token over and expect it to verify correctly.
        const newToken = tokenService.encodeToken(tokenService.decodeToken(token));
        const newIsValid = tokenService.verifyJwt(`brandon`, newToken);
        expect(newIsValid).toBeTruthy();
    });

    it(`should not verify compromised token`, () => {
        // create our token
        const subject = `brandon`;
        const displayName = `Brandon`;
        const token = tokenService.createJwt(subject, { displayName });
        const jsonToken = tokenService.decodeToken(token);

        // edit it, like some hacker might try
        jsonToken.payload.isAdmin = true;
        const newToken = tokenService.encodeToken(jsonToken);

        // expect the verifyer to catch the edit
        const isValid = tokenService.verifyJwt(`brandon`, newToken);
        expect(isValid).toBeFalsy();
    });

And here is the function to re-encode a token:
/**
 * just encodes json into a token
 * @param token the user's token
 */
export function encodeToken(tokenJson: any): string {
    return [
        base64url(JSON.stringify(tokenJson.header)),
        base64url(JSON.stringify(tokenJson.payload)),
        tokenJson.signature
    ].join('.');
}


⚠ Bofrost.com has degraded performance

In 0f8f0d3, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1893 ms

Resolved: Bofrost.com performance has improved in 6585aa6 after 9 minutes.


Incorrect calculation of (# of days).business_days.after(DATE)

Assuming that DATE is a SUNDAY.
Then:
1.business_days.after(DATE) should equal a MONDAY. Right now it gives back a Tuesday which is wrong.

PS:
This offset is happening only when DATE is a weekend, if it's a week day it works fine.

The way business time was designed is that 1 business day will go by. So Tuesday AM is the correct value. This ticket can be closed.


Clarification for identity/design_decisions.md doc.

Not everyone is familiar with the SOLID project. I guessed this. Some might know it adds to linked data and allows for Restful containers with some extensions to the LDP spec (https://www.w3.org/TR/ldp/ , https://github.com/solid/solid). LDP has other implementations such as Marmotta (https://marmotta.apache.org/) which might differ in their? Where did Hydra end up going with this? (https://github.com/HydraCG/Specifications/issues/36) I dunno. I could be missing something. I linked to the solid project.
I recalled that there was a list of DID methods. I linked to what I believed was an appropriate link.
I hope this is useful. It could be unnecessary noise.

It appears that github is merging my pull requests. I just changed a filename to get the verify_credential.md link to resolve on the main README.md . This is different than stuff about solid of did:method lists.

I resolved conflicts (my fault) and merged with that PR. We can close this now. Thanks @bshambaugh !


demo page notfound.

The demo page link of Readme.md is 404.
https://github.com/jsuzuki20120311/bell-tree-flux/issues

あざっす!
I fixed the problem.

Thank you.


apt update breaks firmware create script

The apt update placed on line 74 breaks the script if you are running the create firmware step.
Upon removing it, the system worked.
This should likely be removed because a user will manually run the update prior to running the script anyways.

Hello @eden-desta, can you try if this changes https://github.com/micro-ROS/micro_ros_setup/pull/172 fixes this issue?
I guess that you had troubles with apt update permissions right?

@pablogs9 you should not have to run it with sudo. If you remove that, the build works.

Yes, but have to be sure that apt is up-to-date. Do you propose any solution for automating this in the creation script?


Create parmacityschools.org.txt

@feszg Please rename lib/domains/org/parmacityschools.org.txt to lib/domains/org/parmacityschools.txt

@feszg Pull request merged.


Port to 1.8.9 error I mean 1.10.2

The performance for 1.8.9 is insane and with this mod possibilities are legit endles

There are no need for this now since there are just not so many mods on 1.8. But... maybe... sometime...

thank you :D I must have missed that!

let's keep this open @fewizz still might port this in future (but not soon).

Understood! :)

I would actually like to change the request to 1.10.2 since it has 100% stable shader-mod support

Maybe :s

thank you for considering it

Okay so your going to love this ... 1.10.2 has very mixed support in terms of mod upkeep and just like when 1.6.4 was discontinued we are losing hundreds of gem mods ...

Why are you not using the code of ExtendedMetadatas for helping you to update and improve NotEnoughID to 1.10.2 ? The author of ExtendedMetadatas have abandoned his mod and haven't more the time for continuing it. I suppose he wouldn't disagree that someone continue the mod at its place.

Port for 1.10.2 will be soon :3

Awesome new. <3

(Link)[https://drive.google.com/file/d/0BwY_2FEZWt8ddEdrNm5JSGpSUFU/view?usp=sharing] . Not tested with other mods.

It seems to work fine. Thanks a lot for the update, it's awesome. <3
Does it extend metadata item id limit ?

Only block ids.  Thanks.

I will try when I will have enough mod which exceed 4096 id limit. ;)

Ok :3

I will test it like crazy ; thank you fewizz!

Here is proof of no crash after a lot of ids are used.
https://www.dropbox.com/s/g6je1ashfinn1s1/Minecraft proof of a lot of ids used..PNG?dl=1

Okay I lied after reboot it seems to crash hard
Complete Log
https://gist.github.com/DPxKnightxZero/45fd0fc516e5985900753ced29a53419
Crash Log
https://gist.github.com/DPxKnightxZero/c4f2160fb27141f1acc3d4e72672a0a4

Like I told before, you should use the code of ExtendedMetadatas for helping you to update and improve NotEnoughID to 1.10.2. https://minecraft.curseforge.com/projects/extendedmetadata?gameCategorySlug=mc-mods&projectID=231466

There is no 1.10.2 release

DPxKnightxZero, skill be fixed.

lnk

@Hypsellis , needless, thanks.

Crashlog
https://gist.github.com/DPxKnightxZero/7f0acef84cadc0791daec3f4fd56b058
Full Log
https://gist.github.com/DPxKnightxZero/99efb0a35724965d3f3a3529ba3dea30

@DPxKnightxZero , can you give me your modpack?

Yes not a problem!

@DPxKnightxZero just mods and configs folder. If something won't work, i will fix probem myself. (Maybe I misunderstood the question xD (sorry for english))

@DPxKnightxZero ? ;3

Hey I have to rebuild a modpack I want to rework some things. Well at any rate I will make sure to give you a copy of everything just in case something goes wrong.

Okay; so after a long delay I can say I have a pack built. Here is the information. https://docs.google.com/document/d/1F0oKJpR1eMcafyi0VF2oYD6M0CBRbAEbJgz9iZgxreI/edit?usp=sharing

@DPxKnightxZero . ok, thanks.

https://github.com/P3rf3ctXZer0/DeathPlagueGaming

Hi,
I'm testing your mod too.
At first glance, I might say that there is a conflict with Chisel&bits (and Drawer&bits)
[14:18:03] [Server thread/ERROR] [FML/]: Caught exception from chiselsandbits
java.lang.ExceptionInInitializerError
at mod.chiselsandbits.core.ChiselsAndBits.clearCache(ChiselsAndBits.java:250) ~[ChiselsAndBits.class:?]
at mod.chiselsandbits.core.ChiselsAndBits.idsMapped(ChiselsAndBits.java:237) ~[ChiselsAndBits.class:?]

Okay after getting past 8000 blocks I noticed many weird duplication bugs. I also noticed that the idSort table is getting corrupted at random.

No more issues as of late


getUnderlyingDataAsync() and getSummaryData() returns all columns as string

When using getUnderlyingDataAsync in Tableau Desktop Beta build 17.0929.1346 the returned columns are always reported as having string dataType.
When testing with Superstore, calling (example code)
worksheet
    .getUnderlyingDataAsync({
        maxRows          : 0,
        includeAllColumns: true
     }).then( table => table.columns.forEach(c=>
         addToLog(`${c.name} : ${c.dataType}`)
     ));

results in:
...
Category : string
Order Date : string
Order Profitable? : string
...

Other Tableau workbooks also exhibit the same behaviour, as have previous versions of frelard.

@gyulalaszlo @tfoldi thanks for reporting this we will take a look

Yeap, this is definitely our bug, was able to reproduce with any sample.

any update guys?

This appears to still be present in build 2018.2 Beta 1

This has been fixed internally, and will be part of our our next release. Thanks!

Closing this as it was fixed in 2018.2. This is different from the bug with values being returned as strings which we will keep track of in #192.


dop

What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[ ] Documentation
[ ] Feature
[ ] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:

https://github.com/matrixorigin/mo-auto-test/actions/runs/11590714394

https://github.com/matrixorigin/mo-auto-test/actions/runs/11592364343

https://github.com/matrixorigin/mo-auto-test/actions/runs/11593477889


Add repo description to README

When creating a repository via the webservice, a README can be automatically added. The content of this README by default is the name of the repository as headline.
If provided by the user, also add the repository description as text to the README file.

This should happen already.  Are you seeing cases where it doesn't work?


IonBackButton problem with aria atribut and VoiceOver accessibility

Please add aria-hidden="true" on ionIcon in ionBackButton.
Actualy, VoiceOver display the icon name in aria-label.
Please add aria-hidden on ionIcon, or change value of aria-label with the text atribut value.

Thanks for the issue. Can you please describe the issue you are running into?

If I define the ionBackButton tag with the icon = "chevron-back-outline" and text = "Back" parameters, VoiceOver says "Chevron back outline back" when it navigates to the back button of the page.
In the generated html code, we can see that an aria-label attribute "is placed via the ionIcon tag, with the value of icon =" chevron-back-outline ". The aria-label attribute should contain the value of text = "XXX" and not icon = "XXX" or that the back button icon contains an aria-hidden = "true".
With this last option, VoiceOver will only see the value of the text = "" attribute.

Thanks for the follow up. I tested this out, and VoiceOver reads the icon name, the value of the text, and then indicates that it is a button. I am not able to reproduce the scenario where the text value is not read. The aria-label is used to describe a label that is not visible on the screen. In this case, we use aria-label to describe the ion-icon as that is not text. Since the button text is visible, the screen reader should pick that up automatically.
Is the issue you are describing that the icon name is being read in addition to the button text, or is the issue that the button text is not being read at all?

The name of the icon is read, that's precisely the problem.
You just need to put an aria-hidden on the icon, so that VoiceOver only reads the text.

Thanks for the follow up. Can you try the following dev build and let me know if it resolves the issue?
Ionic Angular
npm i<EMAIL_ADDRESS>Ionic React
npm i<EMAIL_ADDRESS>

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/21053, and a fix will be available in an upcoming release of Ionic Framework.


It simply hangs

Hello,
I just keep getting the messages:
[!!]Indexing page: 320
[%] Indexed 10 Images on Page 320.
Any solution?

can you please help us with the query


Fix call signature caching

Fixes #10697. Previously we used anySignature both as the signature for any objects and as a marker to indicate in-process resolution. This PR introduces a separate resolvingSignature for the latter case such that a result of anySignature is properly cached.

thank you.
when the fix will be available in dev build ?

:+1:
can we add original repro as a test case (at least we'll be aware that something is not right if execution time of tests will significantly increase)?

@vladima Sure, I'll add the original repro.


can i put on python as code???

I have not had enough Power Rangers in my life. Thank you for this.

i hate them too