text:
CI/CD workflows for spec repositories

Proposal sketched up with @DylanVanAssche for CI/CD workflows for the spec repositories, to keep specs and ontology/shapes in line, and also do some automatic validations / generation where applicable.
shapes coverage test
Create a GitHub action to be used by all spec repo's that contains generic CI/CD functionality.
As input the action 0 or more other spec-repositories can be specified on which this spec-repo is dependent.
The action then collects the necessary artefacts from the repo's and executes the following steps:

Syntax-validation/parse ontologies (if error is encountered give clear msg with offending repo and file)
Validate / Test shapes
Validate examples

All spec repo's get the following directory structure
[spec-repo]
├── model/
│   ├── ontology/       # Ontology reflecting the spec ( this will be combined with rml-core and possibly other specs )
│   └── shapes/         # Shapes reflecting the spec
│       └── tests/      # Test cases which cover the shapes
└── examples/           # Examples used in the spec

Under model/shapes/tests we have test cases that cover the shapes reflecting the spec developed in the current repo.
This helps us ensure that our shapes and ontology are valid and stay up to date with the spec.
Under examples/ we have all examples that are used in the text of the spec. We place them in this standard location
so that they can also be validated against the shapes used in the previous step.
On each push to any branch, these tests will be run.
PR templates
We will introduce PR templates including a checklist which reminds us to:

make sure that the model is in sync with the spec.

Generate combined model
We can introduce a merge action which triggers a commit or PR to update the full model (in rml-core repo?)

Update: CI/CD is merged with SHACL shapes and test-cases so we're almost there for all specs.

authors: DylanVanAssche pmaria

repo: kg-construct/rml-core


text:
Sound FX for VC are playing without text

Playing in PUGs I often hear "Hold still, I've gotcha" and/or "Need a pickup!" playing over my speakers BUT no text appears in the chat nor does any order to the speaking pilot appear.
I'm frustrated because I'm being spammed by unknowns, and unknowns are frustrated because people aren't responding to pick them up/be picked up.
p.s. Once, when not many people were on, I managed to find out who it was and they told me they were using TE's chat pack - if I remember correctly.
Imported from trac ticket #85,  created by juckto on 05-03-2010 at 08:05, last modified: 11-22-2011 at 20:24

The need a pickup voicechat is a command, which is send to your local sector (cluster). These kind of commands don't appear on all chat, only on sector (cluster) chat. If you are not in the sector, you don't see that command.
You have to rewrite the command system, to make a exclusion for this case.
Trac comment by pkk on 11-22-2011 at 20:24

source: gharchive/issue

repo: kgersen/AllegianceTest

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 jellyfin 2 is down

In 1750cc4, jellyfin 2 (https://jellyfin2.hmuy.tech) was down:

HTTP code: 502
Response time: 695 ms

Resolved: jellyfin 2 is back up in 8ce98bf after 27 minutes.

repo: khanhmuy/webstatus


text:
EntityKind.INVOLVEMENT_KIND to ACTOR

#747

The database name is now a friendly name so a display name shouldn't be
required.  We could probably do with an icon for Actor I guess.  No usages
of it at present though except on the Admin screen.
Involvements are typically displayed as text, but I guess when we add
Regulator, Manual, Gateway etc some icons would go well.
On Fri, Oct 21, 2016 at 4:17 PM, David Watkins notifications@github.com
wrote:

@davidwatkins73 commented on this pull request.
Do we need to add to displaynames/icons ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/khartec/waltz/pull/797#pullrequestreview-5276929, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC452-QkIC_gr0FUo8IDNCfGpTCkSB-Hks5q2NeigaJpZM4KdVeb
.

--
Kamran Saleem
t  +44 (0) 7732 078654
e  kamran@thinkincode.co.uk
w thinkincode.co.uk

source: gharchive/pull-request

repo: khartec/waltz

license_source: bigquery


text:
added logo to the foodie navbar

in the navbar, I added the logo and made the cursor pointer
thank you for allowing me to contribute to your repository❤
please label gssoc and level

Mention issue.

remove or comment the previous logo.

fixes #665
please add label gssoc and the level @pa

See your changes.

 See your changes.

this one not

@khushi-joshi-05 will review this PR.


text:
re-enable ARM builds

We are having problems building ARM images. So for now, we disabled building and publishing ARM images. See: https://github.com/kiali/openshift-servicemesh-plugin/pull/191
We will want to eventually bring back ARM support. We need to investigate why building ARM images causes the workflow to fail. Once we fix that, we can revert that change and build ARM images again.
To do this, we simply need to revert this commit: https://github.com/kiali/openshift-servicemesh-plugin/commit/6eb797bda0a2727cef4f51b69990df03b65855c4

Currently running a test to build all 4 arches, including ARM. Looking at the GitHub Actions log output (I filtered out everything not related to arm64 builds):
...
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
#12 extracting sha256:c1ddcd7f6be533d87fded680297db55bfca9ab4b0626dbfa61e61c2a5156982e 13.8s done
#12 DONE 51.9s
#15 [linux/arm64 build 1/5] FROM registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08
#15 extracting sha256:bae651968e5a1ef6e42c5a55a5cdb70e2ae69c980eb522dd4630bcd01a1a3fe6 25.2s done
#15 DONE 61.3s
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 ...
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 ...
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 460.7
#22 460.7 added 1 package, and audited 2 packages in 6m
#22 461.1
#22 461.1 found 0 vulnerabilities
#22 461.3 npm notice
#22 461.4 npm notice New major version of npm available! 8.19.4 -> 9.8.1
#22 461.4 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#22 461.4 npm notice Run `npm install -g npm@9.8.1` to update!
#22 461.6 npm notice
#22 DONE 462.2s
#34 [linux/arm64 build 3/5] ADD . /usr/src/app
#34 DONE 0.6s
#35 [linux/arm64 build 4/5] WORKDIR /usr/src/app
#35 DONE 0.0s
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 120.6 yarn install v1.22.19
#36 185.3 [1/4] Resolving packages...
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 593.1 [2/4] Fetching packages...
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 1390.9 info There appears to be trouble with your network connection. Retrying...
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 4078.6 info There appears to be trouble with your network connection. Retrying...

With that last line repeating. This is currently still running, I'll see if this eventually gets all the dependencies (this is typical of the plugin build for some reason - it takes a very, very, very loooong time to do the yarn build; this isn't arm64 specific, we see this behavior for the other arches, too).

repo: kiali/openshift-servicemesh-plugin


text:
Improve documentation

[ ] README
[ ] Example Configuration
[ ] Advanced Configuration

Moving wiki improvements to separate issue https://github.com/kickstarter/rack-attack/issues/324

repo: kickstarter/rack-attack


text:
[Feature Request] Integration with Scene packer

Do you think it is possible a integration with the Scene Packer module for the creation of compendiums ?
If you can find useful here a macro from arcanists https://world-smiths.github.io/documentation/wiki/packing-a-world.html

I will have to look into that to see if it would work.


text:
Support for Intel Edison

Intel Edison
http://www.intel.com/content/www/us/en/do-it-yourself/edison.html
The Intel Edison module uses a 22-nm Intel® Atom™ SoC, formerly Silvermont, so maybe golang will be compiled very easy on x86. Must, just check Intel Edison + EMBD

We still don't have a device. Trying to see where we can get one sponsored.

Any news on this ?

I've got an Intel Edison (in the form of an Emlid Reach). Can't donate it quite yet but I can code in Go. I'll see what I can do to help.

Well I might be of help,
we might have a Skype conference

authors: abourget bzub kidoman riduino vaxXxa

repo: kidoman/embd

license: mit


text:
Kogito Bundle vscode extension scesim file can not parse dmn file: dmn file is invalid or not presented

The issue case is:
When I create a new dmn file with the extension and then create a test scenario file, after select the dmn file and click 'create', the error poped up saying 'dmn file is invalid or not presented'.
So after some work-out I find the first line which is "xml 1.0 version" line cause the case,  so if I delete the first line of the dmn file it works fine.
The extension version is v0.17.0

Hi @raphael-red, thank you for reporting this issue. Which is your OS?

Hi @raphael-red, thank you for reporting this issue. Which is your OS?

My OS is lastest updated Kubuntu 20.04 (amd64)

@yesamer @raphael-red hello, here is a quality engineer of DMN eidotr. unfortuantely. I am not able to reproduce the issue.
Using VS Code extension 0.17.0 I was able to:

Create a new dmn file. In my case containing just InputData node -> Decision node.
Create a scesim file for the previously created dmn file.

I did this in one of kogito-examples project. And even when I run mvn clean verify, the newly created scesim passed.

@yesamer @raphael-red hello, here is a quality engineer of DMN eidotr. unfortuantely. I am not able to reproduce the issue. Using VS Code extension 0.17.0 I was able to:
* Create a new dmn file. In my case containing just InputData node -> Decision node.

* Create a scesim file for the previously created dmn file.

I did this in one of kogito-examples project. And even when I run mvn clean verify, the newly created scesim passed.

Thank you for your effort, it is really weird, I will just delete the line manually for now.

@raphael-red would it be possible to share both dmn files?

created by tooling (that you can not create test scenario for)
adapted manually by you (that you can  create test scenario for)
?

@raphael-red would it be possible to share both dmn files?
* created by tooling (that you can not create test scenario for)

* adapted manually by you (that you can  create test scenario for)
  ?

I am new to kogito and I just followed the official site doc guiding examples. The only thing I change is deleting the first line "" create by tooling. So the only difference between the two files is the first line ""
so the two files will be:
created by tooling (that you can not create test scenario for)
<?xml version="1.0" encoding="UTF-8"?> <dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_38315640-77B7-464E-9111-1EC1B2999D24" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_B76070BE-FE57-4466-8531-45236D4A4D1A" name="PersonDecisions" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_38315640-77B7-464E-9111-1EC1B2999D24">   <dmn:extensionElements/>   <dmn:itemDefinition id="_EAA2C173-649D-4C8F-BC3F-1C906F9C2B45" name="tPerson" isCollection="false">     <dmn:itemComponent id="_2A171125-7520-4F5A-8F2D-587423A2E7ED" name="Adult" isCollection="false">       <dmn:typeRef>boolean</dmn:typeRef>     </dmn:itemComponent>     <dmn:itemComponent id="_98415359-07E2-4984-B486-C2DDCFEFB565" name="Name" isCollection="false">       <dmn:typeRef>string</dmn:typeRef>     </dmn:itemComponent>     <dmn:itemComponent id="_9C9396C0-BCB0-4AA7-A0BC-B7BB5019884C" name="Age" isCollection="false">       <dmn:typeRef>number</dmn:typeRef>     </dmn:itemComponent>   </dmn:itemDefinition>   <dmn:inputData id="_645B6116-CE35-47A6-AD26-EA07BCB50551" name="Person">     <dmn:extensionElements/>     <dmn:variable id="_102AE8EB-1307-48C6-AD57-6674B8CDBEA5" name="Person" typeRef="tPerson"/>   </dmn:inputData>   <dmn:decision id="_5C5A7941-A330-46BE-B18A-107CDEB483C6" name="isAdult">     <dmn:extensionElements/>     <dmn:variable id="_4BCC422F-C468-4173-9AF2-03DFC0EBF64F" name="isAdult" typeRef="boolean"/>     <dmn:informationRequirement id="_E3FF87EE-F6FD-4B62-BEEE-524C39994197">       <dmn:requiredInput href="#_645B6116-CE35-47A6-AD26-EA07BCB50551"/>     </dmn:informationRequirement>     <dmn:decisionTable id="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row">       <dmn:input id="_A524ECE1-4A27-406C-9011-A75309BE0CE8">         <dmn:inputExpression id="_4E21B63F-B399-409D-92DD-E0545C02BD3C" typeRef="number">           <dmn:text>Person.Age</dmn:text>         </dmn:inputExpression>       </dmn:input>       <dmn:output id="_C1569E4F-B697-483D-A14C-0563B061DBC2"/>       <dmn:annotation name="annotation-1"/>       <dmn:rule id="_76851CF1-340B-4E3C-B932-DE5B2FEB63AF">         <dmn:inputEntry id="_C9ECFF4A-FE52-4C74-BD27-3862B0F5F968">           <dmn:text>> 18</dmn:text>         </dmn:inputEntry>         <dmn:outputEntry id="_AC875711-CE3C-4C0F-A25D-D771C3273BD6">           <dmn:text>true</dmn:text>         </dmn:outputEntry>         <dmn:annotationEntry>           <dmn:text/>         </dmn:annotationEntry>       </dmn:rule>       <dmn:rule id="_CF5D76E0-4579-41C3-AEED-900C5DB079F9">         <dmn:inputEntry id="_BC109749-ACBA-4D4E-A38D-755AFE5DE623">           <dmn:text><= 18</dmn:text>         </dmn:inputEntry>         <dmn:outputEntry id="_8CD0634E-E25B-4606-A058-CD729325CB12">           <dmn:text>false </dmn:text>         </dmn:outputEntry>         <dmn:annotationEntry>           <dmn:text/>         </dmn:annotationEntry>       </dmn:rule>     </dmn:decisionTable>   </dmn:decision>   <dmndi:DMNDI>     <dmndi:DMNDiagram id="_4EC7BB6B-5E5D-457E-BA9F-98E4DAED69BB" name="DRG">       <di:extension>         <kie:ComponentsWidthsExtension>           <kie:ComponentWidths dmnElementRef="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E"/>         </kie:ComponentsWidthsExtension>       </di:extension>       <dmndi:DMNShape id="dmnshape-drg-_645B6116-CE35-47A6-AD26-EA07BCB50551" dmnElementRef="_645B6116-CE35-47A6-AD26-EA07BCB50551" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="204" y="141" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>       <dmndi:DMNShape id="dmnshape-drg-_5C5A7941-A330-46BE-B18A-107CDEB483C6" dmnElementRef="_5C5A7941-A330-46BE-B18A-107CDEB483C6" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="457" y="141" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>       <dmndi:DMNEdge id="dmnedge-drg-_E3FF87EE-F6FD-4B62-BEEE-524C39994197" dmnElementRef="_E3FF87EE-F6FD-4B62-BEEE-524C39994197">         <di:waypoint x="254" y="166"/>         <di:waypoint x="457" y="166"/>       </dmndi:DMNEdge>     </dmndi:DMNDiagram>     <dmndi:DMNDiagram id="_B8AF2672-32A1-4B3E-982F-D41023B9E80A" name="new-diagram">       <di:extension>         <kie:ComponentsWidthsExtension>           <kie:ComponentWidths dmnElementRef="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E"/>         </kie:ComponentsWidthsExtension>       </di:extension>       <dmndi:DMNShape id="dmnshape-new-diagram-_5C5A7941-A330-46BE-B18A-107CDEB483C6" dmnElementRef="_5C5A7941-A330-46BE-B18A-107CDEB483C6" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="457" y="142" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>     </dmndi:DMNDiagram>   </dmndi:DMNDI> </dmn:definitions>
adapted manually by you (that you can  create test scenario for):
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_38315640-77B7-464E-9111-1EC1B2999D24" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_B76070BE-FE57-4466-8531-45236D4A4D1A" name="PersonDecisions" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_38315640-77B7-464E-9111-1EC1B2999D24">   <dmn:extensionElements/>   <dmn:itemDefinition id="_EAA2C173-649D-4C8F-BC3F-1C906F9C2B45" name="tPerson" isCollection="false">     <dmn:itemComponent id="_2A171125-7520-4F5A-8F2D-587423A2E7ED" name="Adult" isCollection="false">       <dmn:typeRef>boolean</dmn:typeRef>     </dmn:itemComponent>     <dmn:itemComponent id="_98415359-07E2-4984-B486-C2DDCFEFB565" name="Name" isCollection="false">       <dmn:typeRef>string</dmn:typeRef>     </dmn:itemComponent>     <dmn:itemComponent id="_9C9396C0-BCB0-4AA7-A0BC-B7BB5019884C" name="Age" isCollection="false">       <dmn:typeRef>number</dmn:typeRef>     </dmn:itemComponent>   </dmn:itemDefinition>   <dmn:inputData id="_645B6116-CE35-47A6-AD26-EA07BCB50551" name="Person">     <dmn:extensionElements/>     <dmn:variable id="_102AE8EB-1307-48C6-AD57-6674B8CDBEA5" name="Person" typeRef="tPerson"/>   </dmn:inputData>   <dmn:decision id="_5C5A7941-A330-46BE-B18A-107CDEB483C6" name="isAdult">     <dmn:extensionElements/>     <dmn:variable id="_4BCC422F-C468-4173-9AF2-03DFC0EBF64F" name="isAdult" typeRef="boolean"/>     <dmn:informationRequirement id="_E3FF87EE-F6FD-4B62-BEEE-524C39994197">       <dmn:requiredInput href="#_645B6116-CE35-47A6-AD26-EA07BCB50551"/>     </dmn:informationRequirement>     <dmn:decisionTable id="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row">       <dmn:input id="_A524ECE1-4A27-406C-9011-A75309BE0CE8">         <dmn:inputExpression id="_4E21B63F-B399-409D-92DD-E0545C02BD3C" typeRef="number">           <dmn:text>Person.Age</dmn:text>         </dmn:inputExpression>       </dmn:input>       <dmn:output id="_C1569E4F-B697-483D-A14C-0563B061DBC2"/>       <dmn:annotation name="annotation-1"/>       <dmn:rule id="_76851CF1-340B-4E3C-B932-DE5B2FEB63AF">         <dmn:inputEntry id="_C9ECFF4A-FE52-4C74-BD27-3862B0F5F968">           <dmn:text>> 18</dmn:text>         </dmn:inputEntry>         <dmn:outputEntry id="_AC875711-CE3C-4C0F-A25D-D771C3273BD6">           <dmn:text>true</dmn:text>         </dmn:outputEntry>         <dmn:annotationEntry>           <dmn:text/>         </dmn:annotationEntry>       </dmn:rule>       <dmn:rule id="_CF5D76E0-4579-41C3-AEED-900C5DB079F9">         <dmn:inputEntry id="_BC109749-ACBA-4D4E-A38D-755AFE5DE623">           <dmn:text><= 18</dmn:text>         </dmn:inputEntry>         <dmn:outputEntry id="_8CD0634E-E25B-4606-A058-CD729325CB12">           <dmn:text>false </dmn:text>         </dmn:outputEntry>         <dmn:annotationEntry>           <dmn:text/>         </dmn:annotationEntry>       </dmn:rule>     </dmn:decisionTable>   </dmn:decision>   <dmndi:DMNDI>     <dmndi:DMNDiagram id="_4EC7BB6B-5E5D-457E-BA9F-98E4DAED69BB" name="DRG">       <di:extension>         <kie:ComponentsWidthsExtension>           <kie:ComponentWidths dmnElementRef="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E"/>         </kie:ComponentsWidthsExtension>       </di:extension>       <dmndi:DMNShape id="dmnshape-drg-_645B6116-CE35-47A6-AD26-EA07BCB50551" dmnElementRef="_645B6116-CE35-47A6-AD26-EA07BCB50551" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="204" y="141" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>       <dmndi:DMNShape id="dmnshape-drg-_5C5A7941-A330-46BE-B18A-107CDEB483C6" dmnElementRef="_5C5A7941-A330-46BE-B18A-107CDEB483C6" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="457" y="141" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>       <dmndi:DMNEdge id="dmnedge-drg-_E3FF87EE-F6FD-4B62-BEEE-524C39994197" dmnElementRef="_E3FF87EE-F6FD-4B62-BEEE-524C39994197">         <di:waypoint x="254" y="166"/>         <di:waypoint x="457" y="166"/>       </dmndi:DMNEdge>     </dmndi:DMNDiagram>     <dmndi:DMNDiagram id="_B8AF2672-32A1-4B3E-982F-D41023B9E80A" name="new-diagram">       <di:extension>         <kie:ComponentsWidthsExtension>           <kie:ComponentWidths dmnElementRef="_27794F3F-B4D8-4F52-AB2D-8BAA4972C71E"/>         </kie:ComponentsWidthsExtension>       </di:extension>       <dmndi:DMNShape id="dmnshape-new-diagram-_5C5A7941-A330-46BE-B18A-107CDEB483C6" dmnElementRef="_5C5A7941-A330-46BE-B18A-107CDEB483C6" isCollapsed="false">         <dmndi:DMNStyle>           <dmndi:FillColor red="255" green="255" blue="255"/>           <dmndi:StrokeColor red="0" green="0" blue="0"/>           <dmndi:FontColor red="0" green="0" blue="0"/>         </dmndi:DMNStyle>         <dc:Bounds x="457" y="142" width="100" height="50"/>         <dmndi:DMNLabel/>       </dmndi:DMNShape>     </dmndi:DMNDiagram>   </dmndi:DMNDI> </dmn:definitions>

Hmm sorry, I tried also your file including "version" prolog. and created scesim without an issue.

Could you please clarify what bundle you have installed?

DMN Editor (redhat.vscode-extension-dmn-editor)
BPMN Editor (redhat.vscode-extension-bpmn-editor)
Red Hat Business Automation Bundle (redhat.vscode-extension-red-hat-business-automation-bundle)
Kogito Bundle (kie-group.vscode-extension-kogito-bundle)

Hmm sorry, I tried also your file including "version" prolog. and created scesim without an issue.

Could you please clarify what bundle you have installed?
* DMN Editor (redhat.vscode-extension-dmn-editor)

* BPMN Editor (redhat.vscode-extension-bpmn-editor)

* Red Hat Business Automation Bundle (redhat.vscode-extension-red-hat-business-automation-bundle)

* Kogito Bundle (kie-group.vscode-extension-kogito-bundle)

Hmm I tried it again, it worked well too. I am sorry for wasting your time. Though I was pretty sure I deleted the line to make it work but now the fact shows the other case. I feel embarrassed. Now I doubt that I edited file in the intellij idea too, may be the vscode is initializing so the classpath hasn't loaded yet. Which I am not sure.
Though I am sure that the "version" prolog in the scesim file will cause the test fail: [ERROR] testscenario.KogitoScenarioJunitActivatorTest  Time elapsed: 0.012 s  <<< ERROR! org.drools.scenariosimulation.backend.runner.ScenarioException: Issue on parsing file: /home/nd/Learning/sample-kogito-2/target/test-classes/PersonDecisionTest.scesim. I delete the "version" prolog in the scesim file in the target directory and rerun "mvn test" which will pass the test. Anyway it's another issue don't know if it's related to this repo.

Though I am sure that the "version" prolog in the scesim file will cause the test fail: [ERROR] testscenario.KogitoScenarioJunitActivatorTest Time elapsed: 0.012 s <<< ERROR! org.drools.scenariosimulation.backend.runner.ScenarioException: Issue on parsing file: /home/nd/Learning/sample-kogito-2/target/test-classes/PersonDecisionTest.scesim. I delete the "version" prolog in the scesim file in the target directory and rerun "mvn test" which will pass the test. Anyway it's another issue don't know if it's related to this repo.

@raphael-red Yes, that is a different issue we already aware of, It should be fixed with kogito runtime 1.18.0 version. Can you please update the version in your POM and try again?

@raphael-red  Can you please confirm updating to kogito-runtime version 1.18.0 solved the issue?

@raphael-red I'm closing this issue due to inactivity. If you still face this bug with the most recent version, feel free to reopen it.

authors: ederign jomarko raphael-red yesamer

repo: kiegroup/kie-tools


text:
[NOISSUE] Adds per editor CSS loading

This PR fixes Patternfly CSS loading for each editor, allowing a per editor CSS loading strategy so that different editors can manage their own styling.

SWF editors will probably need this fix too. Working on it

Feel free to skip the test I checked it is a random fail

Thanks @domhanak.
SWF Editors ares fixed :)

authors: domhanak thiagoelg


text:
[KOGITO-3793] Review OLM UI spec descriptors

Signed-off-by: Karel Suta ksuta@redhat.com
https://issues.redhat.com/browse/KOGITO-3793
Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've ran make before-pr and everything is working accordingly
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[x] You've added a RELEASE_NOTES.md entry regarding this change

Mostly formatting adjustments. I have applied specific descriptors for some fields, but for some reason it didn't reflect properly in OCP console as I would expect.

@ricardozanini @spolti PR adjusted. I figured out that I was still using old descriptors, now it should be correct.
However operator-sdk has a bug [1] preventing it from resolving descriptors from types defined in separate go file, so KogitoRuntime and supporting service fields are still without descriptors.
That will get fixed once we upgrade to operator-sdk > 1.2
[1] https://github.com/operator-framework/operator-sdk/pull/4507

Thanks, @sutaakar. I believe it's pretty important to upgrade the SDK since we are too behind. Do we have a JIRA to track it?

Thanks, @sutaakar. I believe it's pretty important to upgrade the SDK since we are too behind. Do we have a JIRA to track it?

@ricardozanini
I create below jira to upgrade operator-sdk version in kogito operator.
https://issues.redhat.com/browse/KOGITO-5760

I see that this PR was already merged. Were you guys able to reproduce the UI locally? It would be nice to document it with some screenshots (release notes would definitely be enhanced by them :)).

The most "interesting" parts are waiting for operator-sdk upgrade. What I reproduced was mostly "just" indentation adjustments and replacing checkboxes with toggles in some places.

Luckily there is something on KogitoBuild :)

@vaibhavjainwiz I believe that's pretty critical to have this update for 1.11.0 since it will be the productized version.

@vaibhavjainwiz I believe that's pretty critical to have this update for 1.11.0 since it will be the productized version.

Already on it. Will try to raise its PR by tomorrow.

authors: ricardozanini sutaakar vaibhavjainwiz

repo: kiegroup/kogito-operator


text:
KOGITO-5663 Improve path handling when Gradle runs the Quarkus extension

When the Quarkus extension runs through Gradle, resources cannot be detected because the paths assume a Maven directory layout. The task is to improve path handling so that resources can be found and built
I am adding a GRADLE, MAVEN enum so that a different prefix can be picked. I have currently tested this manually with Gradle using a BPMN file, but I can't give further assurance for DRL/DMN/PMML so far.
DMN is currently blocked by another classpath-related issue that I will investigate with the Quarkus team; see also https://issues.redhat.com/browse/KOGITO-5665
EDIT I am adding the exclusion to the BOM for the DMN issue, but that needs a fix on Quarkus side as well https://github.com/quarkusio/quarkus/pull/19307.
I am adding a gradle "integration test" by adding an almost empty module with a configured exec plugin. In the subdirectory of such module I am adding a Gradle project in a subdirectory, and running through the exec invocation.
The main issue is that the configuration parameters (version numbers) are hardcoded in gradle.properties and it would be better to read those from Maven properties. Maybe some src/main/resources filtering trickery could work?
Configuration parameters are read from Maven properties, and gradle.properties is generated from those, so this should be fine.
The test case currently is only making sure that the example builds successfully, we can improve this in the future.

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

I have narrowed down this issue to kogito-quarkus-decisions-extension
the problem is that somehow org.drools:drools-core-dynamic is being pulled although there is an explicit exclusion in the dependency chain
For some reason kogito-quarkus-rules-extension is not affected!
workaround for now, add this to build.gradle :
configurations.all {
    exclude group: 'org.drools', module:'drools-core-dynamic'
}

The other issue is that I am not 100% sure how we can test this. I am not a Gradle expert and we need to either
(1) figure out how to import the kogito BOM on a mismatching Quarkus platform
(2) generate an ad-hoc Quarkus Platform 999-SNAPSHOT for the main branch with Kogito 2.0.0-SNAPSHOT; to be updated to the "current" (Quarkus) release on stable when Quarkus platform is released

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

as detailed on Zulip, the Gradle version used there is whatever version is being shipped with quarkus create app --gradle my-app; OTOH, your particular issue may be addressed by simply skipping the build -- the global property is currently not being honored on main; see https://github.com/kiegroup/kogito-runtimes/pull/1535

authors: evacchi kie-ci

repo: kiegroup/kogito-runtimes


text:
BXMSPROD-1603 Composite actions centralized github actions

https://issues.redhat.com/browse/BXMSPROD-1603
Depends on https://github.com/kiegroup/kogito-pipelines/pull/345
Modified version to avoid build errors. See also https://github.com/kiegroup/kogito-runtimes/pull/1729

Testing runtimes with changes from https://github.com/kiegroup/kogito-pipelines/pull/345

@Ginxo all checks passed with https://github.com/kiegroup/kogito-pipelines/pull/345. Do you mind checking and approve/merge if ok ?

@radtriste is this ready for review?

@Ginxo it is now :)

authors: Ginxo radtriste


text:
Rate Limiting?

I've seen a HTTP 429 here and there. Could that be what the client registration is for?

It's just normal rate-limiting when sending too many consecutive requests.

repo: kiliankoe/EmealKit


text:
Hard to reproduce result

Hello,
I ran your baseline system with weight sharing and without discriminative loss, I only got BLEU-4 around 25.6 instead of 28.2 reported in the paper. May I ask you how many epochs did you train your model ? I trained it for 3-4 epochs and then it converges somehow.

It seems that you didn't do beam search? What's your command to run the code?
I tried it myself and it can reproduce the exact numbers.

Oh, I see ! I saw this score from printout information during training on the validation set, I didn't use reason_att_eval.lua to evaluate, I will try it out now.

authors: kimiyoung wenhuchen


text:
蛋白相似性检索

相似性蛋白的表单目前需要统一

Updated

authors: TIBseqlab kingstdio

repo: kingstdio/brem


text:
feat: Support Node.js Native ES Modules

Node.js has already supported ES Modules.
see https://nodejs.org/api/esm.html
However, Node.js ESM is still experimental.

@shisama
Why did you add examples/rest-api-client-demo/src/run-node.js and examples/rest-api-client-demo/src/run-node.mjs?

@koba04
I added them to check easily if rest-api-client can be used from CJS/ESM in Node.js environment.

I made this to draft because I am wondering whether I should use rollup or add index.mjs using `module.createRequire for Node.js native ESM.

repo: kintone/js-sdk


text:
Not able to create user via Ignition

I am trying this. And passing Ignition in user data while launching AWS EC2 instance
But, not able to ssh in the instance.

The shell is nologin, you won't be able to ssh into the instance.

I am trying to login with core user

Are you passing in the ssh key via ignition?

No no,
ssh key is being passed via AWS UI while launching the instance.
If I remove this user creation part from Ignition, it works fine.
Is this part correct?

Sorry, I'm not familiar with AWS yet - @pothos do the two methods of passing ssh keys interfere?

Can we have a screen share session to see the issue?

I think you can't log in because the Ignition config is incorrect.
With the following passed as ./flatcar_production_qemu.sh -i ignition.json it bootloops because the user creation fails.
{
  "ignition": {
    "config": {},
    "security": {
      "tls": {}
    },
    "timeouts": {},
    "version": "2.3.0"
  },
  "networkd": {},
  "passwd": {
    "groups": [
      {
        "gid": 396,
        "name": "splunk"
      }
    ],
    "users": [
      {
        "groups": [
          "splunk"
        ],
        "name": "splunk",
        "shell": "/sbin/nologin",
        "system": true,
        "uid": 396
      }
    ]
  }
}

I'll have a look which part is missing in the config.

The groups field is for secondary groups, you can use the primary_group field in CLC (primaryGroup in Ignition JSON) to specify the group:
passwd:
  groups:
    - name: splunk
      gid: 396
  users:
    - name: splunk
      uid: 396
      primary_group: splunk
      shell: /sbin/nologin
      system: true

User is created

Group is also created

But I can not see user mentioned in group

The 4th field in the first picture shows the primary group id, and matches the id in the picture. You can check with id:
core@localhost ~ $ id splunk
uid=396(splunk) gid=396(splunk) groups=396(splunk)

yes, but why user splunk is not there in groups list in /etc/group file?

Seem only users having the group as a secondary group show up in /etc/group. I assure you that the configuration is correct now.
Or try the following ignition config:
passwd:
  groups:
    - name: splunk
      gid: 396
  users:
    - name: splunk
      uid: 396
      primary_group: splunk
      groups:
        - splunk
      shell: /sbin/nologin
      system: true

Then /etc/group looks the way you want.

As @jepio said, the configuration without the secondary group entry is enough. You can compare it to your login on other machines: cat /etc/group | grep ^$USER doesn't need to repeat the name again because the user is added directly to the group in the /etc/passwd file.

Thank you for the help.
Really appreciate it.

authors: alpana17 jepio pothos till

repo: kinvolk/Flatcar


text:
test/components/prometheus-operator: reduce test timeout

As global 'go test' timeout is 10 minutes, having 10 minutes here as
well results in triggering the panic caused by global timeout.
Signed-off-by: Mateusz Gozdek mateusz@kinvolk.io

Forgot to include the link to the failing job, but I don't remember now where I've seen it :smile:

repo: kinvolk/lokomotive


text:
lara_cms.sql is incomplete

After loading lara_cms.sql file into the lara_cms database, an error showed about table products not having the tags fields. I added the tags fields as varchar(255), but the following error showed:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lara_cms.orders' doesn't exist (SQL: SELECT YEAR(FROM_UNIXTIME(UNIX_TIMESTAMP(time_created))) as year, MONTH(FROM_UNIXTIME(UNIX_TIMESTAMP(time_created))) as month, COUNT(id) as num FROM orders GROUP BY YEAR(FROM_UNIXTIME(UNIX_TIMESTAMP(time_created))), MONTH(FROM_UNIXTIME(UNIX_TIMESTAMP(time_created))) ASC )
So far I found that the orders table, as well as the carousel and carousel_translations are none existent.

Sorry. I forget to update database file.... It is fixed with commit - https://github.com/kirilkirkov/Shopping-Cart-Solution-Laravel/commit/a1073cd304cde60908ac270b6c8144a7d6120458  @robernet

authors: kirilkirkov robernet


text:
Error in algorithm DynBetweenness

Algorithm DynBetweenness returns wrong results. Minimal example:
Directed Graph with nodes {0, 1, 2} and edges {(0, 1), (1, 2)}. When edge (2, 0) is inserted, the aforementioned algorithm returns that the betweenness of node 0 is 0, and it should be 1.

Hi, dynamic algorithms do not update the ranking automatically, you should use the update method as reported here. The update method gets a GraphEvent as input, for example:
g = Graph(3, False, True)
g.addEdge(0, 1)
g.addEdge(1, 2)

db = centrality.DynBetweenness(g)
db.run()
print(db.ranking()) # [(1, 1.0), (0, 0.0), (2, 0.0)]

g.addEdge(2,0) # Add new edge (2, 0)
# Update the ranking
db.update(dynamic.GraphEvent(dynamic.GraphEvent.EDGE_ADDITION, 2, 0, 1))
print(db.ranking()) # [(0, 1.0), (1, 1.0), (2, 1.0)]

To do multiple updates at once, use updateBatch, more about it here.

Thank you for your response, I forgot to say, I am using the library from c++, and the master branch. This is my code:
auto d = DynBetweenness(g);
d.run();
auto e = GraphEvent(GraphEvent::EDGE_ADDITION, edge.first, edge.second);
d.update(e);
d.scores();

Which branch did you test?

I tested the Dev branch, but the implementation of DynBetweenness should be the same in both branches.
As you wrote, you should insert the edge (2, 0) to the graph (i.e., run g.addEdge(2,0)) before doing the update. By design, all NetworKit classes implementing algorithms (like DynBetweenness) are not allowed to make changes to the input graphs; otherwise, if you had another dynamic algorithm class working on the same graph g, they would have added the same edge twice.
A working example in C++ would be:
#include <networkit/centrality/DynBetweenness.hpp>
#include <networkit/dynamics/GraphEvent.hpp>
#include <networkit/graph/Graph.hpp>
#include <networkit/auxiliary/Log.hpp>

using namespace NetworKit;
int main(int argc, const char *argv[]) {
    Graph G(3, false, true);
    G.addEdge(0, 1);
    G.addEdge(1, 2);

    DynBetweenness dynB(G);
    dynB.run();
    INFO(dynB.ranking());

    G.addEdge(2, 0);
    GraphEvent ge(GraphEvent::EDGE_ADDITION, 2, 0);
    dynB.update(ge);
    INFO(dynB.ranking());
    return 0;
}

Output:
[INFO ]: [(1, 1), (0, 0), (2, 0)]
[INFO ]: Diameter: 2
[INFO ]: Entering update
[INFO ]: Old distance: 1.79769e+308
[INFO ]: Phase 1. distances[2][0] = 1.79769e+308, and G.weight2, 0 = 1
[INFO ]: Entering bfs
[INFO ]: [(0, 1), (1, 1), (2, 1)]

That's indeed a bug, thank you for finding this issue, we will fix that.

Well, as the issue is not yet closed, I want to pinpoint another (potential) error.
#include <networkit/centrality/DynBetweenness.hpp>
#include <networkit/dynamics/GraphEvent.hpp>
#include <networkit/graph/Graph.hpp>
#include <networkit/auxiliary/Log.hpp>

using namespace NetworKit;
int main(int argc, const char *argv[]) {
    Graph G(3, false, true);
    G.addEdge(2, 1);

    DynBetweenness dynB(G);
    dynB.run();
    INFO(dynB.ranking());

    G.addEdge(2, 0);
    GraphEvent ge(GraphEvent::EDGE_ADDITION, 2, 0);
    dynB.update(ge);
    INFO(dynB.ranking());
    return 0;
}

A slight modification in your example above, gives an undefined result:
[INFO ]: [(0, 0), (1, 0), (2, 0)]
[INFO ]: Diameter: 1
[INFO ]: Entering update
[INFO ]: Old distance: 1.79769e+308
[INFO ]: Phase 1. distances[2][0] = 1.79769e+308, and G.weight2, 0 = 1
[INFO ]: Entering bfs
[INFO ]: [(0, 0), (1, -nan), (2, 0)]

Thank you for solving this issue, it would be nice if you open a new PR so you can get the credit you deserve for this fix.

Thank you for solving this issue, it would be nice if you open a new PR so you can get the credit you deserve for this fix.

Done #352

repo: kit-parco/networkit


text:
Keys may not preserve order

You noted in the README that keys may not preserve order when encoded. I don't really understand the point of this note since lua tables are also not preserve any order:
for k, v in pairs { h = "H", e = "E", l = "L", p = "L", o = "O" } do print(k, v) end

Output:
l       L
p       L
o       O
h       H
e       E

When you deserialize a TOML document in Lua and then serialize it back into TOML, you can get a document with a different key order
Like this:
local doc, err = toml.decode[=[
title = "Example"
working = true
]=]

local src = toml.encode(doc)
print(src)
--[[
working = true
title = "Example"
--]]

Of course! Because you store it in the lua-table (the doc variable in your example) but lua-tables never keeps key order. This is not a TOML-related issue, but a basic lua-tables nature. TOML actually should preserve it.
I think, toml.decode should return a third table where keys are order numbers and values are keys from doc to make possible to handle it correctly.

authors: kithf lua-rocks

repo: kithf/tomlua


text:
🛑 Quasar API is down

In a666cb1, Quasar API (https://quasar-api.kitkat.zone/cosmos/auth/v1beta1/params) was down:

HTTP code: 502
Response time: 306 ms

Resolved: Quasar API is back up in b8a83a8 after 54 minutes.


text:
Settings dont persist on alpha branch

Version Check

[X] I have updated to v2.0.0-beta.7 or later.
[X] I have updated to the nightly build from last night (or latest one available).
[ ] I have tested with the latest source code from main as of today.

What browser are you using?
Firefox
How are you loading Kitten Scientists?
Userscript Manager (Tampermonkey)
Describe the Bug
Script settings dont persist through reloads on alpha branch.
Your Savegame
No response
To Reproduce

Open alpha branch
Change some KS settings
Save
Reload

Screenshots
No response

Thanks for updating 😀

repo: kitten-science/kitten-scientists


text:
Need fromPromise

An essential feature is being able to convert promises to streams.

That’s implemented in the wonkaJS part of the library 🙌 https://github.com/kitten/wonka/blob/master/src/wonkaJs.re#L58

authors: bsommardahl kitten

repo: kitten/wonka


text:
Externalize multipart/form-data builder or make source optional

I want to POST only parameters as a multipart-ed source. I'm forced to provide some dummy file.

With 1.6.0, you can use sources and pass empty list like this.
manager.upload("/post", param = listOf("foo" to "bar"))
   .sources { request, url -> listOf() }
   .name { "file-name" }
   .responseString { req, res, result -> }

authors: babedev o-nix

repo: kittinunf/Fuel


text:
Can't run container with parameters

Hi! i tried building and running the container, but, no matter what I try, I keep failing at running it with parameters (I'm using windows). The only output I get is the following:

i tried several strategies, such as adding:
ENTRYPOINT ["python", "./main.py"] CMD ["-i ../input_video.mp4 -o output_video.mp4"]
in the DockerFile and then rebuilding, but I end up with the same results. It's as if the scripts ends automatically after the pygame output. Do you have any clue?
NOTE: I successfully manage to run the script without containers involved

Hi! I use a Linux machine and I am not very familiar with how docker works on Windows. So, unfortunately I don't know what might be the problem. I tried this command on Linux, and it works for me:
docker run --rm -it -v "${PWD}":/home \
                    --device /dev/snd \
                    jumpcutter python main.py -i input_video.mp4 -o output_video.mp4

authors: RikuTheFuffs kivancyuksel

repo: kivancyuksel/jumpcutter


text:
Make EventDispatcher forward kwargs when it doesn't use it.

Fixes #3036 and reverts kivy/kivy#3094. This reverts the revert...

Can i merge and revert this?

We basically need to make sure in every place not to call super.__init__(**kw) if kw contains non-prop keywords because they should have been eaten.
E.g.
    def __init__(self, **kw):
        super(Animation, self).__init__(**kw)

        # Initialize
        self._clock_installed = False
        self._duration = kw.get('d', kw.get('duration', 1.))
        self._transition = kw.get('t', kw.get('transition', 'linear'))
        self._step = kw.get('s', kw.get('step', 1. / 60.))

should be
    def __init__(self, duration=1., transition='linear', step=1. / 60., **kw):
        super(Animation, self).__init__(**kw)

        # Initialize
        self._clock_installed = False
        self._duration = kw.pop('d', duration)
        self._transition = kw.pop('t', transition)
        self._step = kw.pop('s', step)

This is something we'll have to fix everywhere because we have not been doing that correctly.

Fixes Fixes #3036.

@matham nice job!

This still occurs when calling Popup().open(). With absolutely no arguments passed into the Popup at all.
File "C:/Users/Tomisin-PC/Desktop/CodeLexis/Services/Trail/Android/Trail_Android/test191.py", line 129, in
Popup()
File "C:\Python34\lib\site-packages\kivy\uix\modalview.py", line 152, in init
super(ModalView, self).init(**kwargs)
File "C:\Python34\lib\site-packages\kivy\uix\anchorlayout.py", line 68, in init
super(AnchorLayout, self).init(**kwargs)
File "C:\Python34\lib\site-packages\kivy\uix\layout.py", line 72, in init
super(Layout, self).init(**kwargs)
File "C:\Python34\lib\site-packages\kivy\uix\widget.py", line 324, in init
Builder.apply(self, ignored_consts=self._kwargs_applied_init)
File "C:\Python34\lib\site-packages\kivy\lang.py", line 1970, in apply
self._apply_rule(widget, rule, rule, ignored_consts=ignored_consts)
File "C:\Python34\lib\site-packages\kivy\lang.py", line 2082, in _apply_rule
child = cls(__no_builder=True)
File "C:\Python34\lib\site-packages\kivy\uix\gridlayout.py", line 248, in init
super(GridLayout, self).init(**kwargs)
File "C:\Python34\lib\site-packages\kivy\uix\layout.py", line 72, in init
super(Layout, self).init(**kwargs)
File "C:\Python34\lib\site-packages\kivy\uix\widget.py", line 298, in init
super(Widget, self).init(**kwargs)
File "kivy_event.pyx", line 254, in kivy._event.EventDispatcher.init (kivy_event.c:4895)
TypeError: object.init() takes no parameters

authors: MoniaDev akshayaurora dessant matham

repo: kivy/kivy


text:
H Mengniang's picture shows that there is a problem and the problem of Google Translate Caton.

Dear developer, hello, there is a problem with H Mengniang's picture display, the user avatar is not displayed, even if it is reinstalled, it cannot be restored, and the Google translation website will be abnormally stuck after entering (especially after using it for a period of time), I hope It can be fixed, thank you.

Website: 1. H Moegirl https://hmoegirl.com/丧男
2. Google Translate
https://translate.google.cn

操作系统
Android 10; SEA-AL10 Build/HUAWEISEA-AL10

Browser version:
Kiwi Browser - Fast & Quiet
99.0.4844.66

It's same in Chrome as well... So i think its not browser's bug

在Chrome中也是如此...所以我认为它不是浏览器的错误
Well, it may be a problem with the web page, and there is also this problem in Microsoft's edge.


text:
When I use orbit TextField, the layout will be push up

When I use orbit TextField, the layout will be push up, However, When I use Material TextField, it's will be fine.
here is the screenshot with closing the keyboard

here is the screenshot with opening the keyboard in orbit TextFiled

here is the screenshot with opening the keyboard in Material TextFiled

And I notice a intersting thing, when I remove WindowCompat.setDecorFitsSystemWindows(window, false) it's all right, but the Immersive status bar will be invalid
Codes like this

Try to remove the first padding (16.dp), and keep only the second padding (it),

I have removed it, but it not be sloved

@YOUSSEFELJAYAD I have removed it, but it not be sloved

device-2022-11-11-200328.mp4

https://user-images.githubusercontent.com/48435089/201336817-89602361-c12d-4308-8ae2-f40d1ce218e7.mp4

The video is that I remove the topAppbar

What is the ProvideWindowInsets - is that the accompanist version? That should not be needed since Compose 1.2, if I'm not mistaken.

@hrach Yeah, I have removed it, I used it about 3 months ago,.But, When I removed it, The issue didn't be sloved

Here is the Theme File

not sure it is the problem but the setDecor should be called outside compose in onCreate.

When I move the setDecor outside compose in onCreate, It does work

Try to see this ,
https://google.github.io/accompanist/insets/

yes, it shouldn't be set so "late" 👍 . so closing here.

authors: YOUSSEFELJAYAD hrach srcenchen

repo: kiwicom/orbit-compose


text:
Add pull request template

See: https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/

Please test these changes in Expo after build has finished:

repo: kiwicom/react-native-app


text:
Add total running time to the CLI output

Resolves #181

Codecov Report

Merging #230 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #230      +/-   ##
=========================================
+ Coverage    99.9%   99.9%   +<.01%
=========================================
  Files          19      19
  Lines        1031    1036       +5
  Branches      156     157       +1
=========================================
+ Hits         1030    1035       +5
  Partials        1       1

Flag
Coverage Δ

#unittests
99.9% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/schemathesis/runner/__init__.py
100% <100%> (ø)
:arrow_up:

src/schemathesis/cli/output.py
99.39% <100%> (ø)
:arrow_up:

src/schemathesis/runner/events.py
100% <100%> (ø)
: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 36c6e46...e2446d6. Read the comment docs.

repo: kiwicom/schemathesis


text:
Search results limited to a single FAQ structure

When searching for a term in Smart FAQ, the results should be always limited for a single structure - one of these:
BEFORE_BOOKING - for not logged in user
BOOKING - for user with booking with departure in more than 48 hours
BOOKING_URGENT - for a user with booking with departure in less than 48 hours and before final arrival
PAST_BOOKING - for a user with past booking
For example, I should not be able to display article with contacts via search if I have no booking.

I think this should be first implemented in backend Knowledgebase API, so we can send two parameters, search term and state of client's booking.
I think currently we could whitelist articles by category in frontend but we wouldn't be able to be fully synchronised with content guys if they create new articles or they change and article from some category to another.
opinions? what do you think? @jaroslav-kubicek @kantord @dinodsaurus

yes, not possible now

authors: MRTNKCR jalbertsr jaroslav-kubicek

repo: kiwicom/smart-faq


text:
Consider reusing TLS crypto libraries for SHA2

I noticed that you added a dependency on the sha2 crate, which added a few transitive dependencies. It would be nice to use the crypto libraries (either ring or aws-lc-rs, which have very similar APIs) that rustls already depends on, instead.

Sounds reasonable.

authors: djc kixelated

repo: kixelated/web-transport-rs


text:
Unable to download project

Unable to add to android project. Followed README but keep running into this issue during gradle sync. Any suggestions?
LOG
Failed to resolve: com.github.kizitonwose:CalendarView:1.0.0

build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    ext.kotlin_version = '1.4.20'
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        def nav_version = "2.3.0"
        classpath 'com.android.tools.build:gradle:4.1.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

build.gradle (app)
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: "androidx.navigation.safeargs.kotlin"

android {
    compileSdkVersion 29

    defaultConfig {
        applicationId "com.surreal.interactive.sikhLife"
        minSdkVersion 21
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

        Properties properties = new Properties()
        if (rootProject.file("local.properties").exists()) {
            properties.load(rootProject.file("local.properties").newDataInputStream())
        }
        // Inject the Maps API key into the manifest
        manifestPlaceholders = [ mapsApiKey : properties.getProperty("MAPS_API_KEY", "") ]
    }

    buildFeatures {
        dataBinding = true
        viewBinding true
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

    compileOptions {
        coreLibraryDesugaringEnabled true
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8.toString()
    }
}

ext {
    googlePlayVersion = "17.0.0"
}

dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    implementation 'androidx.core:core-ktx:1.3.2'
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
    implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation "androidx.viewpager2:viewpager2:1.0.0"

    implementation "com.google.android.gms:play-services-maps:$googlePlayVersion"
    implementation "com.google.android.gms:play-services-location:$googlePlayVersion"
    implementation 'com.google.android.libraries.places:places:2.4.0'
    implementation 'com.google.android.material:material:1.2.1'
    implementation 'com.google.code.gson:gson:2.8.6'

    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
    implementation 'com.github.kizitonwose:CalendarView:1.0.0'
    implementation 'com.jakewharton.timber:timber:4.7.1'
    implementation 'com.github.applikeysolutions:cosmocalendar:1.0.4'

    testImplementation 'junit:junit:4.13.1'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}

Try moving the maven { url "https://jitpack.io" } from the buildscript repositories section into the allprojects repositories section.
allprojects {
 repositories {
    google()
    jcenter()
    maven { url "https://jitpack.io" }
 }
}

I assume this is fixed.

not working after jcenter is end of life

For me, solution was to add maven { url "https://jitpack.io" } inside settings.gradle file

This worked on my end. Great help

authors: MoustafaElsaghier kizitonwose missphyrgames ngangavic sp71

repo: kizitonwose/CalendarView


text:
🐛 Django Postgres ACA test fails when trying to access database

To Reproduce:

Create new Django project via cookiecutter with all defaults
cd into built project and open in devcontainer/codespace
run python -m pytest

Fixed, twas due to using live server, DB was getting cleared:
https://pytest-django.readthedocs.io/en/latest/database.html#populate-the-test-database-if-you-use-transactional-or-live-server
Has to be a function-scope fixture when using live server.

authors: kjaymiller pamelafox

repo: kjaymiller/cookiecutter-relecloud


text:
Anysoft Dutch dictionary autocomplete not working anymore??

Anysoft Dutch dictionary autocomplete not working anymore?
Please make Dutch dictionary or fix for Anysoft please?
Regards Jeroen

Would like to see this fixed also

authors: DutchITSoftware RPDiep

repo: klausw/hackerskeyboard


text:
features

Is your request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

all transaction succesfull and very fast respon on wallet. Maybe add theme dark on website

@AxLiv Thank you for your testing and we hope to continue delivering high quality features and improvements!

authors: AxLiv Homer-Klaytn

repo: klaytn/klaytn-dex-frontend


text:
caver.ipfs.add(). Buffer as parameter

Proposed changes
When we use caver.ipfs.add(string | Buffer | ArrayBuffer) and want to pass file contents as buffer,  please use this pattern :     caver.ipfs.add( Buffer.from('xxxxx').buffer )
Types of changes
Please put an x in the boxes related to your change.

[x] Minor Issues and Typos
[ ] Major Content Contribution
[ ] Others

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to reach out. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING GUIDELINES
[x] I have signed the CLA
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Related issues

None

Further comments

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@jimni1222 Please take a look.

@jing-klaytn Hi, thank you for contribution.
But caver.ipfs.add should accept both Buffer and ArrayBuffer type.
If you want to add an example for ArrayBuffer, please add separate.

@jimni1222
@jing-klaytn said that caver.ipfs.add(Buffer.from()) does not work. I'm not sure this is true or not. Could you please check it again?

@kjhman21 I checked yesterday, and that worked.
@jing-klaytn Can you share the example code, and please let me know caver-js and Node.js version also. Thanks.

@jimni1222 Then, it would be good to close this issue. Thanks.

repo: klaytn/klaytn-docs


text:
Run some snippet code after search functionality

Hi,
we are using the @klevu-core for the project, developed using Next Js and we want to run some snippet code after search functionality which is available in klevu documentation, I referred to the functionality of SearchResultPage.tsx from GitHub pages. Also, I used the same functionality from Klevu Documentation but render it multiple times like 3 to 4 times. So is there any solution for running snippet code after the search functionality and a solution to prevent multiple renders in use callback function? We refer below documentation for our Project.
const initialFetch = useCallback(async () => {
const modifiers = [
listFilters({
include: ["color", "", "size", "designer"],
rangeFilterSettings: [
{
key: "klevu_price",
minMax: true,
},
],
filterManager: manager,
}),
applyFilterWithManager(manager),
sendSearchEvent(),
]
if (props.personlisationEnabled) {
  modifiers.push(personalisation())
}

const functions = [
  search(
    query.get("q"),
    {
      id: "search",
      limit: 36,
      sort: sorting,
    },
    ...modifiers
  ),
]
const res = await KlevuFetch(...functions)

const searchResult = res.queriesById("search")
if (!searchResult) {
  return
}

nextFunc = searchResult.next

clickManager = searchResult.getSearchClickSendEvent()

setShowMore(Boolean(searchResult.next))
setOptions(manager.options)
setSliders(manager.sliders)
setProducts(searchResult.records ?? [])

}, [sorting, query])
const fetchMore = async () => {
const nextRes = await nextFunc({
filterManager: manager,
})
const searchResult = nextRes.queriesById("search")

setProducts([...products, ...(searchResult?.records ?? [])])
nextFunc = searchResult.next
setShowMore(Boolean(searchResult.next))

}
const handleFilterUpdate = () => {
setOptions(manager.options)
setSliders(manager.sliders)
initialFetch()
}
React.useEffect(() => {
const stop = KlevuListenDomEvent(
KlevuDomEvents.FilterSelectionUpdate,
handleFilterUpdate
)
// cleanup this component
return () => {
  stop()
}

}, [location.pathname, query, sorting])
useEffect(() => {
initialFetch()
}, [sorting, query, location.pathname])

Thanks for the information. We should work on our React example a little bit more and remove extra rendering in some cases.

authors: Kevinvasoya rallu

repo: klevultd/frontend-sdk


text:
Revert "Replace existing Nix code with a Nix flake"

Reverts kmonad/kmonad#549

D'oh, I should merge things without testing or before coffee

repo: kmonad/kmonad


text:
[main] Update community files

Cron -knative-prow-robot
/cc knative-sandbox/source-wg-leads
/assign knative-sandbox/source-wg-leads
Produced by: knative-sandbox/knobots/actions/update-community
Details:

/verify-owners

authors: knative-automation matzew


text:
use the new hack repo for scripts

Proposed Changes

test-infra/scripts -> hack

ref: https://github.com/knative/hack/pull/2

/lgtm

repo: knative-sandbox/eventing-redis


text:
Update CODEOWNERS

Changes

/kind

Fixes #

Release Note

Docs

/lgtm
/approve

authors: navidshaikh rhuss

repo: knative-sandbox/kn-plugin-admin


text:
fix: workaround for missing func.yaml on tekton step result

Changes

:bug: Workaround for missing func.yaml on tekton step result of task buildpack

/kind bug

/approve

authors: jrangelramos lance

repo: knative-sandbox/kn-plugin-func


text:
[main] Update actions

Cron -knative-prow-robot
/cc knative-sandbox/client-writers
/assign $knative-sandbox/client-writers
Produced by: knative-sandbox/knobots/actions/update-actions
Details:

Hey @evankanderson how would I get this automation set for a sandbox repo that was created before this? Essentially how to grandfather a repo into this robot's list? Not urgent, when you have a second. Thanks Evan!

Add the repo to the config in https://github.com/knative-sandbox/knobots

repo: knative-sandbox/kn-plugin-migration


text:
Drop manually updating observed generation

As per title, our reconcilers do this after reconcilation automatically.
/assign @ZhiminXiang @nak3

/lgtm
/approve

authors: ZhiminXiang markusthoemmes

repo: knative-sandbox/net-istio


text:
cron job timings modified for ppc64le jobs

Signed-off-by: Valen Mascarenhas Valen.Mascarenhas@ibm.com
Which issue(s) this PR fixes:
Fixes
cron job timings modified for ppc64le jobs

/ok-to-test

repo: knative/infra


text:
Make SECURITY.md consistent

We're missing these across a lot of Knative repos, this is copied/improved from the 3 that existed.

/approved

/approve

authors: davidhadas evankanderson

repo: knative/release


text:
Transactions hanging in AWS Lambda

Environment
AWS Lambda NodeJS 5.6 with AWS RDS
Knex version: 0.14.2
Database + version: MySQL 5.7.19
OS: Linux
Bug
Currently any query being made inside knex.transaction does not get executed, waiting to fail in timeout. In the example below, logs show WITH KNEX TRANSACTION but not KNEX TRANSACTION BEGIN. If knex.transaction is removed, code works as expected, writing into the application table. Am I missing something?
const knex = require('knex')({
  client: 'mysql',
  connection: {
    host: process.env.DB_HOST,
    port: process.env.DB_PORT,
    user: process.env.DB_USER,
    password: process.env.DB_PASSWORD,
    database: process.env.DB_NAME,
    ssl: 'Amazon RDS',
    charset: 'utf8mb4'
  },
  pool: false,
  debug: true
});

exports.handler = (event, context, callback) => {
  console.log('WITH KNEX TRANSACTION');

  knex.transaction((trx) => {
    console.log('KNEX TRANSACTION BEGIN');
    return knex('application').transacting(trx).insert({
      name: 'Hello World', user_id: 4, client_id: 'abcknex', client_secret: 'truknex', created: '2017-01-01'
    })
      .then(trx.commit)
      .catch(trx.rollback);
  })
    .then((resp) => {
      console.log('Transaction complete.');
      callback(null, 'Some success message');
    })
    .catch((err) => {
      console.error(err);
    });
};

There are two ways of using transactions:

using trx as "query builder" (return trx - commit/rollback is handled by knex)
using trx as "transaction object" (use transactiong(trx) in queries -app code must commit/rollback)

Both code snipets above use the second form, but in the last snipet commit is not called and therefore no write to the database occurs.
The first snippet is correct according to the documentation, but in reality the knex.transaction do not return the result of the operation. Looking at the code, this makes sense - there could be multiple operations using transactiong(trx) and it is not clear what should be returned.
What worked for me was wrapping the knex.transaction inside a promise that was settled after the transaction block. To obtain the result of the operation, i have defined variables on the scope above the transaction block that are set after the operation executes.
In this case this does not make much difference, since you are not using the result and just calling the callback. And I should point out that I did not run this code on aws lambda.
exports.handler = (event, context, callback) => {
console.log('WITH KNEX TRANSACTION');
return new Promise((resolve, reject) => {
let result;
knex.transaction((trx) => {
console.log('KNEX TRANSACTION BEGIN');
return knex('application').transacting(trx).insert({
name: 'Hello World', user_id: 4, client_id: 'abcknex', client_secret: 'truknex', created: '2017-01-01'
})
.then((resp) => {
trx.commit();
result = resp;
})
.catch((err) => {
trx.rollback();
throw err;
});
})
.then(() => {
resolve(result);
console.log('Transaction complete.');
callback(null, 'Some success message');
})
.catch((err) => {
reject(err)
console.error(err);
});
}
};

@okada I believe you are mistaken. There is absolutely no need to explicitly call commit / rollback even if using .transacting() instead of directly going via trx as queryBuilder.
knex.transaction((trx) => {
	return knex('table')
		.select()
		.transacting(trx);
})
	.then((rows) => {
	})
	.catch((error) => {
	});

knex:tx trx1: Starting top level transaction +0ms
knex:client acquired connection from pool: __knexUid2 +0ms
knex:query BEGIN; +0ms
knex:bindings undefined +0ms
trx started
knex:query select * from "table" +15ms
knex:bindings [] +15ms
knex:query COMMIT; +0ms
knex:bindings undefined +0ms
knex:tx trx1: releasing connection +62ms
knex:client releasing connection to pool: __knexUid2 +15ms

I'm willing to bet this is an error strictly in AWS Lambda, somehow.. What does DEBUG=knex:* log when running the above examples?

@wubzz Yes, I you are right. I tested the example code from the docs and it works just fine. Thanks for correcting me. Will cleanup my code.

@samin Did you ever figure out a way to make this work? I've encountered the same issue. Specifically in a Lambda environment the transaction emits BEGIN but never moves beyond that.

@JQuezada0 not yet

This is somewhat old conversation, but maybe this helps someone else. I too got stuck with lambda timing out on acquiring a connection, but only when using transactions. I had configured knex pool with only one connection (min=max=1) as recommended when used with Lambda. I looked up some knex transaction handling code, and started to suspect transactions might require a separate connection. I am not sure why it couldn't reuse the existing connection but all my troubles went away when I tried running my code with pool config min: 1, max: 2. Maybe give it a try. I think max: 1 is enough when you don't use transactions.

authors: JQuezada0 jussikari okada samin wubzz

repo: knex/knex


text:
How can I use query without from clause

Environment
Knex version: 0.21.19
Database + version:
OS: Postgresql 12.6
Select applicable template from below.
If issue is about oracledb support, tag @ atiertant. For MSSql tag @ smorey2.
Rest of dialects don't need tags.
If issue is about TypeScript definitions, tag @ lorefnon.
Questions about how to use knex
Hello,
I use knex to develop my service
I have a question during using this.
The query that I hope to use is without from clause like below.
select nextval('sequenceName')
How can I use?
Thank you.

knex.select(knex.raw('nextval(??)', ['sequenceName']))

authors: elhigu elluard


text:
Review phase should show better message

Describe the bug
Here while waiting for review data, it should show a message like Loading review data... instead of No data found, because the data is already there.
To Reproduce
Steps to reproduce the behavior:

Go to demo
Start the import
Complete the Upload and Mapping step
See the review

Expected behavior
The table should show the proper message
Screenshots

Desktop

Browser - chrome

We can remove the No Data Found text, because either there will be data, data will be loading or if invalid data is empty, user will be redirected to the next phase.


text:
5.0.1 release

Wanted to just get a sense of the timeline for the 5.0.1 release of this

5.0.1 has just been released

authors: earce timmolter

repo: knowm/XChange


text:
[Deribit] future_combo and options_combo breaking init

fix in 1 PR

I think that the indent level is different with the original one.

ah, thank you. I hope that this PR is merged asap :)


text:
migrate away from gulp-util

gulp-util is deprecated:
gulp-spawn-mocha > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

As this module only used gulputil.PluginError, I migrated it as described here: https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

Coverage remained the same at 100.0% when pulling 1af74a9475e48d75ec3687b74870ebc9d3e77309 on leipert:master into 385f1672d6d765441aa49be156a19bcde5ccf9a9 on knpwrs:master.

Coverage remained the same at 100.0% when pulling 1af74a9475e48d75ec3687b74870ebc9d3e77309 on leipert:master into 385f1672d6d765441aa49be156a19bcde5ccf9a9 on knpwrs:master.

ping @knpwrs

Why do I feel like I've already merged this? Must have been another gulp plugin. ¯_(ツ)_/¯

Published as v5.0.1. Thanks!

authors: coveralls knpwrs leipert

repo: knpwrs/gulp-spawn-mocha


text:
Implement o200k_base encoding

It has been just added for the new gpt-4o model:
https://github.com/openai/tiktoken/commit/9d01e5670ff50eb74cdb96406c7f3d9add0ae2f8

I implemented GPT4o based on custom registration, and here's how to do it:
`Map<byte[], Integer> encoder = loadFromFile("/jtokkit/o200k_base.tiktoken");
Map<String, Integer> specialTokensEncoder = new HashMap<>();
specialTokensEncoder.put("<|endoftext|>",199999);
specialTokensEncoder.put("<|endofprompt|>",200018);
GptBytePairEncodingParams params = new GptBytePairEncodingParams(
"o200k_base",
Pattern.compile("[^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}][\p{Ll}\p{Lm}\p{Lo}\p{M}]+(?i:'s|'t|'re|'ve|'m|'ll|'d)?|[^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]+[\p{Ll}\p{Lm}\p{Lo}\p{M}](?i:'s|'t|'re|'ve|'m|'ll|'d)?|\p{N}{1,3}| ?[^\s\p{L}\p{N}]+[\r\n/]|\s[\r\n]+|\s+(?!\S)|\s+"),
encoder,
specialTokensEncoder
);
registry.registerGptBytePairEncoding(params);
Encoding gpt4oEncoding = registry.getEncoding("o200k_base").get();`
o200k_base.tiktoken download from this address:https://openaipublic.blob.core.windows.net/encodings/o200k_base.tiktoken
loadFromFile() reference EncodingFactory.loadMergeableRanks()

Yes, please please please! :-)

When can this be release in maven central? :)

Is released now with version 1.1.0

authors: 8796123 Plexcalibur nayavu stefanos-kalantzis stoerr

repo: knuddelsgmbh/jtokkit


text:
Is this correct?

Hi,
Why are you converting a Dictionary to a List this way? This way only the first token is returned even when you add like 10 tokens
    #region . ToList .
    /// <summary>
    /// Converts the dictionary to a <see cref="List{T}"/>.
    /// </summary>
    /// <returns>A string list object.</returns>
    public virtual List<string> ToList() {
        var toList = new List<string>();
        var e = GetEnumerator();

        while (e.MoveNext()) {
            toList.Add(e.Current.Tokens[0]);
        }

        return toList;
    }
    #endregion

Would it not be better to do this instead?
        while (e.MoveNext()) {
            toList.AddRange(e.Current.Tokens);

It's a good question, I just ported the original java class and original code has the same behaviour.
Usually abbreviations word that has "significance" is only the first, but do not believe it is applicable to all cases.

I also extended the SentenceDetectorME class
    public SentenceDetectorME(SentenceModel sentenceModel) {
        model = sentenceModel.MaxentModel;
        cgen = sentenceModel.Factory.GetContextGenerator();
        scanner = sentenceModel.Factory.GetEndOfSentenceScanner();
        useTokenEnd = sentenceModel.UseTokenEnd;
        _abbriviations = sentenceModel.Abbreviations;
    }

And changed this method so that the abbriviation list works.. the training seemed to ignore the abbriviation list.
    protected virtual bool IsAcceptableBreak(String s, int fromIndex, int candidateIndex)
    {
        if (_abbriviations == null)
            return true;

        foreach (var abbriviation in _abbriviations)
        {
            var token = abbriviation.Tokens[0];
            var tokenLength = token.Length;

            var tokenPosition = s.IndexOf(token, fromIndex, StringComparison.InvariantCultureIgnoreCase);
            if (tokenPosition + tokenLength < candidateIndex || tokenPosition > candidateIndex) continue;
            return false;
        }

        return true;
    }
    #endregion

Theoretically well-trained models should deal very well with abbreviations, but I agree with your change in the default behaviour. Thanks!

repo: knuppe/SharpNL


text:
Add option to print timestamp or use a custom format for println

Until #765 the timestamp of println!() calls were printed. This was a useful feature. Why was it removed?

Closing as obsolete.

repo: knurling-rs/defmt


text:
[Feature] 로그인 구현

google 로그인
facebook 로그인
이메일 로그인

https://velog.io/@swchoi0329/스프링-시큐리티와-OAuth-2.0으로-로그인-기능-구현

https://brunch.co.kr/@second-space/5

Firebase

장점 : https://brunch.co.kr/@second-space/5
android에서 세팅 방법 : https://prince-mint.tistory.com/8

결론

가이드 : https://firebase.google.com/docs/admin/setup?hl=ko#java

https://todaycode.tistory.com/16

https://www.kejisen.com/ko/article/205535421.html

[  ] : swagger ui에서 request header에 token 넣을 수 있게 설정하기
[  ] : admin sdk 연결해서 token 유효성 확인하기

조회(좋아요 여부 확인)
좋아요 등록/취소
리뷰 등록, 삭제
마이페이지

apikeys vs basic auth vs oauth

user 삭제 시

review 삭제
좋아요 수 변경

repo: ko-salaam/ko-salaam-api


text:
Drops calendar - Lower ETH price is shown as zero price

I added few base projects to our calendar. The problem? Its showing the price 0 even though I added proper price in the cloudfare.
Concrete - 0.001
Festa - 0.0005
I think it's may be rounding, and it's rounding too low.

is there a calculator for this @Jarsen136? so in the future I know how to calculate it 😄

is there a calculator for this @Jarsen136? so in the future I know how to calculate it 😄

I can't find a suitable tool or website for now : )
So we have to calculate it manually.
DOT:  1 dot = 10000000000   (tokenDecimals: 10)
KSM: 1 ksm = 1000000000000 (tokenDecimals: 12)
ETH: 1 eth = 1000000000000000000 (tokenDecimals: 18)

repo: kodadot/nft-gallery


text:
bugfix and refactor: History tab at Profile

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

[x] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #2997
[x] refactor something from PR: https://github.com/kodadot/nft-gallery/pull/2973

Fix naming from profil to profile
delete some unused functions and variables

Before submitting Pull Request, please make sure:

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

Optional

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

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

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

walk through any page index without error

pay 50

😍 Perfect, I’ve sent the payout
💵 $50 @ 65.14 USD/KSM ~ 0.768 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xee20372ccb970c786e7daad877ff73dd4e62ab052a8f656f211d3eb541570dd3
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

cg to # 3k ! :D

authors: Jarsen136 kkukelka yangwao


text:
examples: state explicitly what is required to use Kontrol API

I do every process in tutorial.
But it raises "No kontrol URL given in config"
What should I do to figure it out?

@Takeoffyoung In order to use Kontrol API you need to configure its endpoint first, e.g.
k := kite.New("name", "1.0.0")
k.Config.KontrolURL = "http://example.com/kontrol/kite"

Next problem you may encounter is that you'd need to provide also (*Config).KiteKey in order to authenticate to Kontrol.
Looking at the examples I agree it is not clear, they assume (*config.Config).KontrolURL is either read from ~/.kite/kite.key or from environment. In case both places do not have it set, you can get an error as the one you're getting.
This needs to be improved.

Year, I've configure the environment variables like KONTROL_USERNAME, KONTROL_URL...
And do kontrol -initial, get right result of kitectl showkey.
But in server endpoint, k.Config.KontrolURL is empty
Could you tell me why?
Which step makes it wrong?

@Takeoffyoung Can you show me your code just to confirm?

package main
import (
    "github.com/koding/kite"
    "net/url"
    "fmt"
)

func main() {
    k := kite.New("first", "1.0.0")
    k.Config.Port = 6000
    fmt.Println(k.Config.KontrolURL)

    k.HandleFunc("square", func(r *kite.Request) (interface{}, error) {
        a := r.Args.One().MustFloat64()
        return a * a, nil
    })

    k.Register(&url.URL{Scheme: "http", Host: "localhost:6000/kite"})
    k.Run()
}

It does not read configuration from neither environment variables nor ~/kite/kite.key .
Above all.

@Takeoffyoung kite.New() uses default configuration, it does not read kite.key nor environment.
You needs config.Get() or config.MustGet() for that, like this:
https://github.com/koding/kite/blob/master/examples/math-register/math-register.go#L29

Oh.... Thx very much.
huh... Maybe I've figured it out, but I am trapped in another trouble.
I am trying it solve it by myself. Thank you.

authors: Takeoffyoung rjeczalik

repo: koding/kite


text:
'kwmc help' - no output

kwm: 4.0.5
ProductName:	Mac OS X
ProductVersion:	10.12.3
BuildVersion:	16D32

Installed as per README, copied default config via  cp /usr/local/opt/kwm/kwmrc ~/.kwm/kwmrc and started kwm via brew services start kwm
$ kwmc help yields no output.
kwm does tile my windows though.

kwmc help is not a thing. see doc linked in config section of the readme

I had the impression that it was a thing though, you seem to have removed it.
While it eludes me right now why one would want to remove any helpful messages, I'm sure you have historical reasons for that decision.

there used to be the help command, a man file and the website for kwmc and a readme in the github repo. when a syntax change was made  or new commands were added, i  had to update 4 files,  and i just could not be bothered at some point. The one official page i update is the one i linked above

authors: jottr koekeishiya

repo: koekeishiya/kwm


text:
Nginx Proxy Manager Blocking Loading mixed active content

I can't seem to get koel to work with Nginx Proxy Manager, getting mixed content in console
Blocked loading mixed active content “http://website.com/build/assets/Btn.3e44deb8.css”
[website.com](https://website.com/)
Blocked loading mixed active content “http://website.com/build/assets/app.fcf8132a.css”
[website.com](https://website.com/)
Blocked loading mixed active content “http://website.com/build/assets/app.e36b1e06.js”
[website.com](https://website.com/)
Loading failed for the module with source “http://website.com/build/assets/app.e36b1e06.js”. [website.com:30:808](https://website.com/)
Loading mixed (insecure) display content “http://website.com/img/icon.png” on a secure page
[FaviconLoader.sys.mjs:176:19](resource:///modules/FaviconLoader.sys.mjs)
Loading mixed (insecure) display content “http://website.com/img/favicon.ico” on a secure page

Solved the problem by creating a .env file from the example FORCE_HTTPS=true and then mount the file to the container.
- ./.env:/var/www/html/.env

repo: koel/docker


text:
Visual Glitch on Web UI for Distributed Queries with Large Column Values

If you run a distributed query that has a column with large values returned, the UI doesn't handle it well.
You're unable to scroll to the right and see all the columns. For example, this query returned 20-some columns, but only two are visible in the web UI.

I can repro this with select * from apps

Confirmed here on Docker image: kolide/fleet:latest

authors: djm300 zbuc zwass

repo: kolide/fleet


text:
1414841886

1414841886, Can you please make IHG Livery of HNA 787-9 (谢谢) Thanks a lot!!

hmm,you can @me....

where are you form?china?you love hainan airlines so much

兄弟我明天做完

你不早说你是中国人=-=

我得在机身下面加一下我的水印=-=，

欢迎b站来关注我[doge]

目前的进度，很快就完成，但是现在我要睡觉了

@1414841886 谢谢, 之前内一个没看到

之前厦航底下的的水印看见了,你的涂装做的蛮好的

问题关闭吧


text:
LIVERY REQUEST FOR BOEING 777-300ER: Garuda Indonesia

Hey @kolos26 Can You Make This Please Thanks!


text:
Error 403

Hi,
sorry if i disturb again with a new problem. (thank you for the previous issue @kolsrud )
In my program i have a list of object that contains info about an app (id,name,streamid,streamname) called appData.
it begin with making a copy of the app then it moves the app in another stream.
my code is this -->
  public static void CopyApp (AppData appdata, string nameNewApp,string newStream)
        {
          //connection
            var senseServerUrl = domain;
            var uri = new Uri(senseServerUrl);
            var restClient = new RestClient(senseServerUrl);
            var networkCredentials = new NetworkCredential(user, password, userDomain);
            restClient.AsNtlmUserViaProxy(networkCredentials, certificateValidation:false);
          //restClient.ConnectAsQmc();

         //copying the app
          JObject temp  = restClient.Post<JObject>(string.Format("/qrs/app/{0}/copy?name={1}", appdata.Id, NameNewApp), "");

       //get new id from the app copied
         string idnewapp = temp.First.First.ToString();

       //publishing in new stream
         restClient.Put(string.Format("/qrs/app/{0}/publish?stream={1}", idnewapp , newStream), "");
}

When i use this method on one or two apps it works but when i select more (or sometimes only one) it gaves me this error when it arrives on the copying part.

I though that maybe was an app that doesn't have data or is a default app from Monitoring apps stream but it gives me error on apps that on a second run will move into the new stream.

Hi! As the message indicates, the first request you send to Qlik Sense needs to be a GET request if you use NTLM authentication. That's because the GET request will trigger a redirect flow that gets you authenticated. The RestClient class should take care of that automatically though, so I'm a little surprised to see you get that error. I'll try and see if I can reproduce it, but you can try to add a dummy GET request first as a work-around. Something like this for instance:
restClient.Get("/qrs/about");
restClient.Put(string.Format("/qrs/app/{0}/publish?stream={1}", idnewapp , newStream), "");

I'm afraid I haven't been able to reproduce the issue. Every call to the initial POST that performs the copy is preceded by a call to "GET /qrs/about" under the hood as expected. You'll see this if you enable a debug console, just add "var x = new RestClientDebugConsole(); to the start of you're program to do this. You should see this line just before the copy call:
var x = new RestClientDebugConsole();
But one thing I can recommend is to not create a new RestClient instance each time you copy. Instead, you can create one RestClient, set up the authentication, and pass it as an argument to CopyApp. That way you won't have to reauthenticate every time you call CopyApp. Like this:
public static void CopyApp (IRestClient restClient, AppData appdata, string nameNewApp,string newStream)
{
    //copying the app
    JObject temp  = restClient.Post<JObject>(string.Format("/qrs/app/{0}/copy?name={1}", appdata.Id, NameNewApp), "");

    //get new id from the app copied
    string idnewapp = temp.First.First.ToString();

    //publishing in new stream
    restClient.Put(string.Format("/qrs/app/{0}/publish?stream={1}", idnewapp , newStream), "");
}

I haven't heard anything for quite a while here. I'll close this ticket for now.


text:
Real password in console

If we use --forcePrompts=true param to force the params in console, it shows the real password. It is not a good solution. Somebody can stay behind and catch by password by eye

Thanks! I'll take a look into this.

This is fixed now.
Please try uninstalling and installing nuget.
As the fix is related to Node.js dependency SPAuthN nuget version stays the same.

authors: koltyakov sergeisnitko

repo: koltyakov/SPAuthN


text:
add server timing

https://github.com/mitchellh/go-server-timing
https://www.w3.org/TR/server-timing/
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing

This sounds like something application developers(those using ong) would do in their app, rather than been something to add to ong.

This sounds like something application developers(those using ong) would do in their app, rather than been something to add to ong.

repo: komuw/ong


text:
Loading progress bar on sessions list

ref. https://github.com/konifar/droidkaigi2016/issues/199

LGTM!

authors: KeithYokoma hotchemi


text:
url for colony api key is still pointing to kubefirst.com

What type of suggestions?
Wrong Information
What page is concerned?
https://colony.konstruct.io/docs/#colony-api-key
What version of the docs?
0.1
What is the issue?
the link is incorrect for getting a colony api key
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The new URL is https://colony.konstruct.io

Fixed commit to match convention. This issue was resolved.

authors: fharper jarededwards konstructcarrie

repo: konstructio/colony-docs


text:
merge from template-node-app

package.json

chore(deps): add ^12.0.1 remove ^12.0.0 (devDependencies.@semantic-release/release-notes-generator)

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

npm package (@latest dist-tag)
v6.4.6
GitHub release

Your semantic-release bot :package::rocket:

repo: konsumation/konsum


text:
Validate tls-sni domain authorization linked service port

Fixes #3128

And technically you could also be exposing the TLS service on a different non-443 port, if you have some external loadbalancer that's mapping it to port :443.
Dunno if this needs some kind of override flag for the validation check?

Maybe a better way to validate this would be in the GridCertificates::RequestCertificate, similarly to how it's done for dns-01 challenges: have the server connect to the authorized domain on port :443

@jnummelin PTAL

Maybe a better way to validate this would be in the GridCertificates::RequestCertificate, similarly to how it's done for dns-01 challenges: have the server connect to the authorized domain on port :443

I can also take a go at implementing this method of external validation... the only issue would be if the server is unable to connect to the external domain for whatever reason.

I can also take a go at implementing this method of external validation... the only issue would be if the server is unable to connect to the external domain for whatever reason.

I don't think we can ever make it 100% reliable given how external things can influence, so maybe some override/force flag would make sense.

Maybe a better way to validate this would be in the GridCertificates::RequestCertificate, similarly to how it's done for dns-01 challenges: have the server connect to the authorized domain on port :443

I can also take a go at implementing this method of external validation... the only issue would be if the server is unable to connect to the external domain for whatever reason.

Implemented in #3152... OTOH that might be a useless approach, because the ACME API will already return similar errors... they're maybe just a bit terse.

@SpComb is this still going to 1.4.3?

Bumping from 1.4.3 to 1.5.0 unless someone convinces me that we can't release 1.4.3 without this.
I haven't had a chance to actually test the validation here yet.

authors: SpComb jakolehm jnummelin kke

repo: kontena/kontena