API Delete User

API Request
Story

As a developer
I need an API route to delete an individual user's information
So that I can remove it's individual information

Acceptance Criteria

Route /users/:id
Method: DELETE
Request Object: ~
Response

{
	definition from PR #16
}

written in a users-api/api/delete-user.js file
Include an users-api/api/delete-user.spec.js file with a supertest for the new endpoint

Approach

Since we have no database yet, just send back example data.

@KenjiShiguma Sprint 2

@raghunat Hi, I wanted to know if I can talk to you for around 5 minutes, class unrelated.

Please email me directly, and of course.
Stephen Raghunath
Sent from
https://polymail.io/?utm_source=polymail&utm_medium=referral&utm_campaign=signature
On Sat, Mar 04, 2017 at 11:55 AM Kermit Mitchell III
<
mailto:Kermit Mitchell III<EMAIL_ADDRESS>
wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
https://github.com/raghunat
Hi, I wanted to know if I can talk to you for around 5 minutes, class unrelated.
—
You are receiving this because you were mentioned.
Reply to this email directly,
https://github.com/raghunat/hotspot/issues/42#issuecomment-284164383
, or
https://github.com/notifications/unsubscribe-auth/AHaGQsPCOR6upt_7I7D_BYFdH9E6M908ks5riZdygaJpZM4MTEJV
.

@KenjiShiguma  Up

@KenjiShiguma up

@raghunat I have no idea what any of this means anymore to be honest. Is there another issue I can look at for reference?

How do I upload my answer?

@raghunat
// delete-users.js
module.exports = function () {
return function (req, res) {
res.send('USER DELETED!');
}
}

@raghunat
// delete-useers.spec.js
// supertest
const app = require('../app.js');
const should = require('should');
const supertest = require('supertest');
describe('DELETE /users/:id', () => {
it('SHOULD DELETE A USER!', done => {
supertest(app)
.delete('/users/666')
.end((err, res) => {
res.text.should.equal('USER DELETED!');
done();
});
});
});

@raghunat I cloned the repo and did some extra work as well, but now it won't let me pull up to the master; how do I do it? O_o


Accept input / output file names via command line

Now part of https://github.com/tedmiston/bog instead.


Is it necessary to have fnl/dotfiles?

Hey @Olical, I wondee if it possible to have different structure of files in fnl/. for example have all second level dir under dotfiles be under lua.
Thanks

It's possible to change Aniseed to do this, the reason I designed it this way was for simplicity and lack of decisions required.
So here's the entire source of the dotfiles module:
(module aniseed.dotfiles
  {require {nvim aniseed.nvim
            compile aniseed.compile}})

(def- config-dir (nvim.fn.stdpath :config))
(compile.add-path (.. config-dir "/?.fnl"))
(compile.glob "**/*.fnl" (.. config-dir "/fnl") (.. config-dir "/lua"))
(require :dotfiles.init)

So the entire fnl directory is compiled, or should be. It's just dotfiles.init that's important. Maybe this is all the info you need really?

Thank a lot, it is. I believe it would be better if aniseed compile all fnl dir default. This way it feels more like lua dir, or how it would be used normally by other configuring with lua.
Nonetheless, this just my opinion, as I like to have my own structure. If I want to group configuration under dotfiles names I should be able to do that, otherwise an fnl/init.fnl, (like nvim/init.vim & lua/init.lua) should be the entry point. Idk perhaps it would be better to have fnl dir complied by default.
Additionally, I want to ask if aniseed recompile everything when a a single file get changed?
Thanks @Olical

The problem with a shallow tree like lua/init.lua is that it's a global module search path, any other file/module called init will collide with this, hence the enforced prefix and why all Aniseed plugins rename their dependencies to put their name in front of each module. (require :init) could mean the one in your dotfiles or the one in some other Lua plugin (which is bad on their part). You need to reach some level of specificity with Lua module naming or you'll collide with everything I'm afraid.
The entire fnl dir is compiled, so you can put other directories in there, just the entry point is dotfiles.init by convention, but that's all. Every other part of your code can be in ../dotfiles.
And no, there's no auto recompile yet, I recommend Conjure for all interactive work with Fennel/Aniseed. If you would like to recompile on save you'd need to hook up an autocmd that ran a similar glob call to what I showed above but then you have the issue of finding every changed Lua file and ensuring they're reloaded from disk. This is hard and easy to get wrong which would introduce very subtle but bad bugs, which is why I didn't attempt it.
If you meant does everything get recompiled when you re-open Neovim, that's a no too. Aniseed compiles each file on an individual basis and compares the modified time of the .fnl to the .lua, so it'll only recompile what changed. If you need to recompile everything you can delete your lua dir which is what I do when I sync my dotfiles across machines to ensure nothing desyncs in weird ways. (like deleting a .fnl will not delete the .lua which isn't normally a problem but can be in rare cases)

I understand why you went with dotfiles namespace. But usually lua/init.lua doesn't get referenced anywhere, only in init.vim, in which it get referred to by full path (i.e. luaf lua/init.lua).

The entire fnl dir is compiled, so you can put other directories in there, just the entry point is dotfiles.init by convention, but that's all. Every other part of your code can be in ../dotfiles

Nice, that just what I need. How about having aniseed/init.fnl or aniseed.fnl as entry point, much better than dotfiles 😬.

If you meant does everything get recompiled when you re-open Neovim, that's a no too.

Oh that great, sorry I doubt that anissed only compiles changed files. Nonetheless, I'm not sure if the current way of checking is efficient (not that I have a better way) due to a wired refresh of ui, less the split of second when re-opening neovim, I believe it might be something todo with checking mechanism￼.

So are you mostly concerned with dotfiles.* being the chosen prefix? I'm definitely open to that although it'd have to be backwards compatible which should be okay (for a while anyway until the old way can be phased out with a warning etc).
Maybe it could do with some benchmarking (I really want to add a time macro like Clojure's) but here's the code that compiles a file and checks if it should even do it.
(defn file [src dest opts]
  "Compile the source file into the destination file if the source file was
  modified more recently. Will create any required ancestor directories for the
  destination file to exist."
  (when (or (and (a.table? opts) (. opts :force))
            (> (nvim.fn.getftime src) (nvim.fn.getftime dest)))
    (let [code (a.slurp src)]
      (match (str code {:filename src})
        (false err) (nvim.err_writeln err)
        (true result) (do
                        (-> dest fs.basename fs.mkdirp)
                        (a.spit dest result))))))

Maybe glob could be altered so it filters out whole directories based on getftime :thinking: not sure if the directory modified time will be in line with the modified time of the newest file though.
(defn glob [src-expr src-dir dest-dir opts]
  "Match all files against the src-expr under the src-dir then compile them
  into the dest-dir as Lua."
  (let [src-dir-len (a.inc (string.len src-dir))
        src-paths (->> (nvim.fn.globpath src-dir src-expr true true)
                       (a.map (fn [path]
                                (string.sub path src-dir-len))))]
    (each [_ path (ipairs src-paths)]
      (when (or (a.get opts :include-macros-suffix?)
                (not (string.match path "macros.fnl$")))
        (file (.. src-dir path)
              (string.gsub
                (.. dest-dir path)
                ".fnl$" ".lua")
              opts)))))

But as you can see, there's not much code here, it shouldn't take long to run (especially in LuaJIT), so the slowness may lie elsewhere. Only benchmarking will tell I guess.

What do you think would be a better name for this concept, instead of dotfiles? Like aniseed.editor-config? I called it dotfiles because they reside under dot prefixed files and "dotfiles" is a common term for config you carry with you somehow.

Aniseed
After some thoughts, I come to the conclusion that perhaps there is a more simpler, less sophisticated strategy that doesn’t involve checking the file system and compere stuff, nor compiles during initialization. This strategy involves to autocmd, and two functions

On a nvim/fnl/* BufPostWrite event, a function get called that append the file path to a table of files to be recompiled.
On vim exist event, another function get called to read this table, delete duplicates, and create a background process to recompile the table’s files.

One drawback to this method is that changes won’t be reflected on new vim instance unless the current instance get closed. One solution to this is to provide the user with a command to call the exit event functions manually. A better one is perhaps to make the table persistent through saving/appending it to a lua file that returns the table when required; so that on new instance,  if that file is readable — which wouldn’t be the case if the other instance is closed — then our exit event function is then called.

What do you think would be a better name for this concept, instead of dotfiles? Like aniseed.editor-config? I called it dotfiles because they reside under dot prefixed files and "dotfiles" is a common term for config you carry with you somehow.

🤔 .... aniseed.env sounds right, after all dotfiles are what influence and shape our environment. But again I wish if you reconsider having init.fnl as the entry point 🙏

Maybe it could do with some benchmarking (I really want to add a time macro like Clojure's) but here's the code that compiles a file and checks if it should even do it.

Definitely, it is also extremely beneficial to compare a lua based and fnl based vim config. I could be your test subject.

I'm not sure if I'd consider that simpler or less sophisticated, I feel like that'll involve more mechanisms and branching conditions. My metric for simplicity is the amount of "if"s and "but"s I have to insert while explaining how it works :sweat_smile:

through saving/appending it to a lua file that returns the table when required

I'd like to avoid introducing anything stateful other than a single flow of derived state that can be reproduced in a "dumb" way, as soon as we're modifying files and building up something over time I'll end up losing a fair bit of sleep worrying about it.
I think the first step that we should take here is adding robust benchmarking tools to Aniseed and then benchmarking the various assumed pain points for your config as well as mine. Maybe we'll see interesting differences between our setups!
I'll consider renaming the config module too and putting a warning in the current one. Still not 100% on the name but env is a contender, and I still don't want to go with anything as short as init because I don't think require("init") is unique enough, I fear that it'll collide with something eventually. I could however make this configurable which would probably let you name it whatever you want while allowing me to set it to a default I feel comfortable with.

I think the first step that we should take here is adding robust benchmarking tools to Aniseed and then benchmarking the various assumed pain points for your config as well as mine. Maybe we'll see interesting differences between our setups!

Looking forward.

I'm not sure if I'd consider that simpler or less sophisticated, I feel like that'll involve more mechanisms and branching conditions. My metric for simplicity is the amount of "if"s and "but"s I have to insert while explaining how it works sweat_smile
Sucks that there isn't any workaround the flash screen on initializing vim, which I'm kinda sure is because work done on VimEnter by aniseed or perhaps the compiling part being at startup.

So perhaps either make files compile on save or find a way to NOT do anything remotely related to fnl -> lua VimEnter. Nonetheless I can open another issue for that when start testing and benchmarking.

I'll consider renaming the config module too and putting a warning in the current one. Still not 100% on the name but env is a contender, and I still don't want to go with anything as short as init because I don't think require("init") is unique enough, I fear that it'll collide with something eventually. I could however make this configurable which would probably let you name it whatever you want while allowing me to set it to a default I feel comfortable with.

Oh even better @Olical !! just let us worry about the naming aspect :D >> heads up I'm going with init :P.
Thanks a lot looking forward.

Hmm you're seeing a flash when you open Neovim? I'm not :thinking: maybe something else is at play... is it a flash of text / an error or just a blank screen for a split second while Neovim opens?
And I'm going to leave this open as a reminder and something for me to close as I get around to addressing it :smiley:

Oh sorry about that. Yes it is a flash of text. it fairly quick. And during developing with fennel I used to noticed it a lot. However, I think this should be skipped until we have benchmarking mechanism.

Yeah, I've never seen that text, that's not normal, if you could capture it with an https://asciinema.org/ or something that'd be great, it's probably a brief flash of an error?

The develop branch contains a deprecation warning for aniseed.dotfiles + help about aniseed.env and the new code. Let me know what you think :slightly_smiling_face:

Sure thing, I'm going to start migrating some stuff and testing stuff out starting tom, thanks a lot @Olical

I've added a timing macro and it takes 0.5ms to check if anything in my (fairly extensive) Fennel config needs compiling and then 21ms to load all of my config (ignoring regular viml plugins).
Which proves almost all of my startup time which is in the 100-300ms range is my viml plugins. Fun!

Closing since I've addressed all of this on develop and I'm going to release it. You can also base your Fennel source in your root Neovim config directory now, so you can remove the /fnl/ prefix if you really want to because someone asked for that.

The new changes brought a lot of flexibility 💪🏼. I’m still working with making on making my lua config more migratable and thus later comparable to fnl for testing performance difference with time macro you’ve created  . Thanks

@Olical I like the idea of this a lot
lua require('aniseed.env').init({ module = 'dotfiles.init' })

Could we use aniseed.env.init to conditionally load modules?
For example:
au! Colorscheme * lua require('aniseed.env').init({ module = 'global.theme' })

or
au! Filetype lua require('aniseed.env').init({ module = 'ft.lua' })

Thanks

I've added a timing macro and it takes 0.5ms to check if anything in my (fairly extensive) Fennel config needs compiling and then 21ms to load all of my config (ignoring regular viml plugins).

Hmm 🤔 that interesting, on my current fairly ludicrous setup when I do time nvim -c I get from 0.14 to 0.17. it bugs me a bit that I use to have 0.07 before.  Anyways, I’ll try the macro soon and report results

Could we use aniseed.env.init to conditionally load modules?

Yes, but every time you call init it'll check if it should compile the fennel again (which is sub millisecond fast, but still). You could just use a normal lua require like require('global.theme') under an if statement or autocmd etc. That'll work fine, you can rely on Aniseed to compile everything then conditionally require modules you need.


Added with_capacity() to VariableLengthSignal

From Issue #89

I've run cargo fmt and pushed the results. Is there anything else I needs to do for the workflow to accept it?

Maybe try cargo fmt --all?

LGTM, thanks!


Using http plugin to connect to Homeassistant API doesn't work

Describe the bug
As I do have some trouble if multiple devices connect to my inverter I want to consume the data from Homeassistant.
So basicly EVCC should connect over https to Homeassistant and get the data over the JSON API.
Basicly this works with curl if I use the following command:
curl --silent 'https://homeassistant-url.domain.com:8123/api/states' -H "Authorization: Bearer eyJ....Y" |  jq .[1].state
"-11.808"

This is the actual value of PV Power produced in kW.
As the connectivity is working fine if I exec into the docker container and use wget https://homeassistant-url.domain.com:8123/api/states --header 'Authorization: Bearer eyJ....Y' I assume that there is an issue with auth: bearer.
Steps to reproduce
Try to use HTTP plugin to access Homeassistant API with Bearer Token.
Configuration details
- name: fronius-ha
  type: custom
  power:
    source: http
    uri: 'https://homeassistant-url.domain.com:8123/api/states'
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: bearer
      password: eyJ....Y
    insecure: false
    jq: .[1].state
    scale: 0.001
    timeout: 5s

Log details
[site  ] ERROR 2023/06/26 17:22:55 pv 1 power: unexpected status: 401 (Unauthorized)

What type of operating system are you running?
HomeAssistant Add-on
Version
0.118.1
EDIT:
I'm not programmer so may I'm totally wrong. If I take a look at /provider/http.go -> https://github.com/evcc-io/evcc/blob/2ffb050fb440a28b8d58aaa701834008c0de1ad5/provider/http.go#L139
and
https://github.com/evcc-io/evcc/blob/2ffb050fb440a28b8d58aaa701834008c0de1ad5/util/transport/bearer.go#L8
There seems to be some kind of bearer auth.

Please run with --log error,http:trace --log-headers to see whats going on. Closing until log available.

@andig
I ran it with the --log error,http:trace --log-headers parameters. And I found the error. There was some issue with the Bearer token. It had a space in it. Why ever... most probably some copy&past issue with newline.
Anyway, we can leave it closed as it has been solved. Sorry and thanks a lot to point me to the right debug parameters.

just for information: i used this jq command, to select an entity instead an index.
      jq: '.[] | select(.entity_id=="sensor.p1_meter_power") | .state'

I ran into the same "401 (unauthorized)" error and it took me a while to get it working.
Just in case someone else needs a fix: set the the auth header manually in your configuration.
- name: fronius-ha
  type: custom
  power:
    source: http
    uri: 'https://homeassistant-url.domain.com:8123/api/states'
    method: GET
    headers:
      - content-type: application/json
      - Authorization: Bearer YOUR_BEARER_TOKEN
    insecure: false
    jq: .[1].state
    scale: 0.001
    timeout: 5s


Running Code but its not returning anything.

Running Code but its not returning anything. I am using an .png image. The image works if I manually go to the website and use it. The python scripts runs successfully with no errors but doesn't return the text of the image?

Please provide a little bit more info, or a code example. It worked for me just now (with helloworld API key):
Out[2]: '{"ParsedResults":[{"TextOverlay":{"Lines":[],"HasOverlay":false,"Message":"Text overlay is not provided as it is not requested"},"FileParseExitCode":1,"ParsedText":"Help people interested in this repository understand your project by adding a README. \\r\\nAdd a README \\r\\n","ErrorMessage":"","ErrorDetails":""}],"OCRExitCode":1,"IsErroredOnProcessing":false,"ErrorMessage":null,"ErrorDetails":null,"ProcessingTimeInMilliseconds":"3683","SearchablePDFURL":"Searchable PDF not generated as it was not requested."}'


Fixed description of the build-type property, default to debug

https://github.com/lf-lang/lingua-franca/pull/2008 changed the default behavior of the build-type property to Debug. This updates the documentation accordingly.

I was wondering about how we want to handle that. I can do it. Are there any pointers on how to do it, though?

Ok, found it.


Update IotSensorData

Description

-->

Converted from BAMM to SAMM
Changed from static to dynamic data attributes.

Ex. json:
{
  "sensorRuntimeData": [
    {
      "sensorData": [
        {
          "sensorValue": 32,
          "sensorUnit": "Celsius",
          "sensorType": "Temperature"
        }
      ],
      "sensorGeoLocation": {
        "altitude": 280.2,
        "geoDataTimestamp": "2023-02-04T14:48:54",
        "latitude": 40.20361,
        "longitude": 11.3102
      },
      "batteryLevel": 50,
      "timestamp": "2023-02-04T14:48:54",
      "transmissionMethod": "LoRaWAN"
    }
  ],
  "catenaXId": "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f"
}

Closes #427

MS2 Criteria
(to be filled out by PR reviewer)

[ ] the model validates with the SAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar samm-cli.jar aspect <path-to-aspect-model> validate ). The  SAMM CLI is available here and in GitHub
[ ] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[ ] the identifiers for all model elements start with a capital letter except for properties
[ ] the identifier for properties starts with a small letter
[ ] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[ ] Property and the referenced Characteristic should not have the same name
[ ] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[ ] use abbreviations only when necessary and if these are sufficiently common
[ ] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[ ] fields preferredName and description are not the same
[ ] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[ ] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[ ] units are referenced from the SAMM unit catalog whenever possible
[ ] use constraints to make known constraints from the use case explicit in the aspect model
[ ] when relying on external standards, they are referenced through a "see" element
[ ] all properties with an simple type have an example value
[ ] metadata.json exists with status "release"
[ ] generated json schema validates against example json payload
[ ] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[ ] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[ ] All required reviewers have approved this PR (see reviewers section)
[ ] The new aspect (version) will be implemented by at least one data provider
[ ] The new aspect (version) will be consumed by at least one data consumer
[ ] There exists valid test data
[ ] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[ ] The model has at least version '1.0.0'
[ ] If a previous model exists, model deprecation has been checked for previous model
[ ] The release date in the Release Note is set to the date of the MS3 approval

modeling_team


Declarative Incoming Call

What

Adds DeclarativeIncomingCall class
Manage declarative incoming call objects inside declarative callagent
Add a new method getIncomingCall in declarative call agent to allow contoso to obtain a declarative incoming call object using incoming call id.

Why
If Contoso is observing stateful clients state changes, they will get access to the incoming call id. To get the incoming call object, we need an additional method on the call agent.
How Tested
TBD
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

CallWithChat bundle size is increased❗.

Current size: 5093018
Base size: 5092004
Diff size: 1014

LGTM.

I like the overall implementations! I would like to bring one point up to discussion:

Do have incoming call plain object in our centralized state, and does that contains all information like call id and group id - is it possible to use callAgent.join function to join the imcoming call? I am thinking of a way that doesn't require an api change, it would be nice if we can treat incoming calls like normal call object
If we can't do #1, which means an api change is definitely required - let's do it on the top level, which means on callClient level - the principle here is we only add additional apis on the top level so we will never need to manipulate the returning type of its children - for example, here we don't have to add a different type for callAgent because we have everything in callClient - createView is a good example, that is something in call object, but we don't proxy that too deep inside of the api trees

Do have incoming call plain object in our centralized state, and does that contains all information like call id and group id - is it possible to use callAgent.join function to join the imcoming call? I am thinking of a way that doesn't require an api change, it would be nice if we can treat incoming calls like normal call object

For point 1, it's more like a sdk api problem - we now have 3+ way to join a call - callAgent.start, callAgent.join, incomingCall.accept... I hope there is a consistent way to do this(for this PR and all the future api from our SDK), but if we can't make this happen, this is the sdk's issue

I like the overall implementations! I would like to bring one point up to discussion:

Do have incoming call plain object in our centralized state, and does that contains all information like call id and group id - is it possible to use callAgent.join function to join the imcoming call? I am thinking of a way that doesn't require an api change, it would be nice if we can treat incoming calls like normal call object
If we can't do point 1, which means an api change is definitely required - let's do it on the top level, which means on callClient level - the principle here is we only add additional apis on the top level so we will never need to manipulate the returning type of its children - for example, here we don't have to add a different type for callAgent because we have everything in callClient - createView is a good example, that is something in call object, but we don't proxy that too deep inside of the api trees

Thanks for your feedback @PorterNan

Is not doable unfortunately, 1:1 calls are peer to peer calls and can not be joined like regular calls that have a groupId.
The concern I have with this approach is that it allows Contoso to use getIncomingCall even before initializing the callAgent. We would have to throw an error in that case which makes for a non-intuitive experience.

I like the overall implementations! I would like to bring one point up to discussion:

Do have incoming call plain object in our centralized state, and does that contains all information like call id and group id - is it possible to use callAgent.join function to join the imcoming call? I am thinking of a way that doesn't require an api change, it would be nice if we can treat incoming calls like normal call object
If we can't do point 1, which means an api change is definitely required - let's do it on the top level, which means on callClient level - the principle here is we only add additional apis on the top level so we will never need to manipulate the returning type of its children - for example, here we don't have to add a different type for callAgent because we have everything in callClient - createView is a good example, that is something in call object, but we don't proxy that too deep inside of the api trees

Thanks for your feedback @PorterNan

Is not doable unfortunately, 1:1 calls are peer to peer calls and can not be joined like regular calls that have a groupId.
The concern I have with this approach is that it allows Contoso to use getIncomingCall even before initializing the callAgent. We would have to throw an error in that case which makes for a non-intuitive experience.

Let's bring this up IRL with the team / or as a team thread for higher bandwidth discussion.
I am in favor of the approach in this PR. It doesn't not introduce a new way to join a call that departs from the headless layer. And it keeps the methods in the same layer as the headless API (does not hoist the method from call agent to client).


Prepopulate Questionnaire

As a user, I need my questionnaire to be pre-populated based on the existing data in the CDR, so that I don't have to enter that information manually.
Design:
Questionnaire module in the cql-evaluator that loads a questionnaire based on URL and given a subject Id for context, executes the relevant CQL for each questionnaire item and fills out the result.
Call this operation "$prepopulate"
Inputs:
Questionnaire URL OR the Questionnaire itself, subject context (patient Id)
This "$prepopulate" operation will be run as part of a PlanDefinition $apply.
$apply -> Task action -> $prepopulate -> returns questionnaire -> returns Task -> returns RequestGroup/CarePlan
The SMART-on-FHIR app that's running this workflow will be responsible for reconciling the questionnaire data.
See the DTR "persistence" spec: http://build.fhir.org/ig/HL7/davinci-dtr/specification__behaviors__persisting_application_state.html
See the DTR "prepopulation" spec: http://build.fhir.org/ig/HL7/davinci-dtr/specification__behaviors__persisting_application_state.html
Note: As specified the current operation returns a QuestionnaireResponse, and we actually need a Questionnaire.
The linked client has provided a set of sample content.
Acceptance Criteria:
When I first load a questionnaire, the fields that are possible to pre-populate are pre-populated

Depends on: https://github.com/DBCG/cql-evaluator/issues/214

Need to run by Bryn


How to set size of a widget according to the size of the window so that if I expand the screen then the widget also expand

How to set size of a widget according to the size of the window so that if I expand the screen then the widget also expand

How to set size of a widget according to the size of the window so that if I expand the screen then the widget also expand

Use size_hint property

Use size_hint property

Use size_hint property

I know but I want that when I expand the screen the size of the widget also increase and when I decrease the size the widget size also decreases
I don't want give a particular size. The size should be based on the screen


Missing files in style_selector example

When I went to run the makefile from the examples folder, I got the following error:
animation_curve/animation_curve.c:25:10: fatal error: ../style_selector/styles/style_cyber.h: No such file or directory
   25 | #include "../style_selector/styles/style_cyber.h" // raygui style: cyber
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

That's because the styles folder should be inside the style_selector directory.

reviewed!

Hmm, I have the same error (slightly different include) on the current master:
animation_curve/animation_curve.c:25:10: fatal error: ../../styles/cyber/cyber.h: No such file or directory
   25 | #include "../../styles/cyber/cyber.h"       // raygui style: cyber
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

@dimsuz thanks for reporting, reviewed!


Multiple File Storage Gateway URLs

we should implement ipfs fallback, i think cloudflare-ipfs added bot spam protection recently. as a result, our users aren't able to fetch json metadata reliably.
currently, our ipfsGatewayUrl only takes in one URL, we need to support taking in multiple urls.
error:
> curl -L https://cloudflare-ipfs.com/ipfs/bafkreidbeds2hiretzp53ktbpxhfanwwfztu4ffh3euf6upjtobr2htjwa
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>

<title>Please Wait... | Cloudflare</title>

<meta name="captcha-bypass" id="captcha-bypass" />

proposal:
{
  ipfsGatewayUrl: "",  // old deprecated gatewayUrl, fallback to `gatewayUrl`

  gatewayUrl: {
    ipfs: ["https://cloudflare-ipfs.com/ipfs/", "https://gateway.pinata.cloud/ipfs", "https://ipfs.io/ipfs"]
  }
}

gatewayUrl turning into a map to future proof support for arweave, etc that will be coming up very soon.

@jakeloo @atbe status on this one, are we still working on it?


[BACKLOG-37149] Added error message forJava 8 with Windows 11 when op…

…ening Spoon UI. Also Added Java 8 swt.jar to maintain Java 8 compatibility on Windows 10

:white_check_mark: Build finished in 2m 54s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/client,assemblies/core/client,assemblies/core/static,assemblies/static

:exclamation: No tests found!
:information_source:  This is an automatic message


1st batch of changes

added another page, might want to review this and then finish it, my edits can be sporadically timed and I wouldn't want conflicts to become an issue. Unless you think that won't be a problem

No worries, I'll merge this now and then make some corrections myself. Thanks!


Selection of TX variables via RegEx should not be case-sensitive

Description
Behaviour of ModSec 2.9 and 3.x differs with respect to selection of elements in the 'TX' collection with regular expressions. In 2.9, the RegEx matches without taking case into account, in 3.x the match is case-sensitive.
Logs and dumps
Output of the modsec regression test tool with the first test case in the file below as input:
ModSecurity 3.0.4 - tests
(options are not available -- missing GetOpt)
# File Name                                         Test Name                                                             Passed?
--- ---------                                         ---------                                                             -------
1 tx-regex-var.json                                 Testing regex selection from TX - case                                failed!
Test failed. From: tx-regex-var.json.
Test name: Testing regex selection from TX - case.
Reason:
HTTP code mismatch. expecting: 437 got: 200
Debug log:
[1587380363] [] [4] Initializing transaction
[1587380363] [] [4] Transaction context created.
[1587380363] [] [4] Starting phase CONNECTION. (SecRules 0)
[1587380363] [] [9] This phase consists of 0 rule(s).
[1587380363] [] [4] Starting phase URI. (SecRules 0 + 1/2)
[1587380363] [/] [4] Starting phase REQUEST_HEADERS.  (SecRules 1)
[1587380363] [/] [9] This phase consists of 1 rule(s).
[1587380363] [/] [4] (Rule: 0) Executing unconditional rule...
[1587380363] [/] [4] Running [independent] (non-disruptive) action: setvar
[1587380363] [/] [8] Saving variable: TX:restricted_headers with value: /name1/name2/
[1587380363] [/] [9] Appending request body: 0 bytes. Limit set to: 0.000000
[1587380363] [/] [4] Starting phase REQUEST_BODY. (SecRules 2)
[1587380363] [/] [9] This phase consists of 1 rule(s).
[1587380363] [/] [4] (Rule: 500065) Executing operator "Rx" with param "^.*$" against REQUEST_HEADERS_NAMES.
[1587380363] [/] [9]  T (0) t:lowercase: "host"
[1587380363] [/] [9] Target value: "host" (Variable: REQUEST_HEADERS_NAMES:Host)
[1587380363] [/] [7] Added regex subexpression TX.0: host
[1587380363] [/] [9] Matched vars updated.
[1587380363] [/] [4] Running [independent] (non-disruptive) action: setvar
[1587380363] [/] [8] Saving variable: TX:header_name_host with value: /host/
[1587380363] [/] [9] Saving msg: capture
[1587380363] [/] [9]  T (0) t:lowercase: "user-agent"
[1587380363] [/] [9] Target value: "user-agent" (Variable: REQUEST_HEADERS_NAMES:User-Agent)
[1587380363] [/] [7] Added regex subexpression TX.0: user-agent
[1587380363] [/] [9] Matched vars updated.
[1587380363] [/] [4] Running [independent] (non-disruptive) action: setvar
[1587380363] [/] [8] Saving variable: TX:header_name_user-agent with value: /user-agent/
[1587380363] [/] [9] Saving msg: capture
[1587380363] [/] [9]  T (0) t:lowercase: "name1"
[1587380363] [/] [9] Target value: "name1" (Variable: REQUEST_HEADERS_NAMES:name1)
[1587380363] [/] [7] Added regex subexpression TX.0: name1
[1587380363] [/] [9] Matched vars updated.
[1587380363] [/] [4] Running [independent] (non-disruptive) action: setvar
[1587380363] [/] [8] Saving variable: TX:header_name_name1 with value: /name1/
[1587380363] [/] [9] Saving msg: capture
[1587380363] [/] [4] Rule returned 1.
[1587380363] [/] [4] Executing chained rule.
[1587380363] [/] [4] (Rule: 0) Executing operator "Within" with param "/name1/name2/" Was: "" against TX:regex(^HEADER_NAME_).
[1587380363] [/] [4] Rule returned 0.
[1587380363] [/] [9] Matched vars cleaned.
[1587380363] [/] [4] Starting phase RESPONSE_HEADERS. (SecRules 3)
[1587380363] [/] [9] This phase consists of 0 rule(s).
[1587380363] [/] [9] Appending response body: 0 bytes. Limit set to: 0.000000
[1587380363] [/] [4] Starting phase RESPONSE_BODY. (SecRules 4)
[1587380363] [/] [4] Response body is disabled, returning... 2
[1587380363] [/] [4] Starting phase LOGGING. (SecRules 5)
[1587380363] [/] [9] This phase consists of 0 rule(s).
[1587380363] [/] [8] Checking if this request is suitable to be saved as an audit log.
[1587380363] [/] [8] Checking if this request is relevant to be part of the audit logs.
[1587380363] [/] [5] Audit log engine was not set.
[1587380363] [/] [8] Request was relevant to be saved.
To Reproduce
Steps to reproduce the behavior:
First test case in the following ModSecurity v3 test file (adapted from CRS rule 920450): Note that setvar uses tx.header_name_foo, but the variable in the chained rule is identified as TX/^HEADER_NAME_/
[
  {
    "enabled":1,
    "version_min":300000,
    "title":"Testing regex selection from TX - case",
    "expected":{
      "http_code": 437
    },
    "client":{
      "ip":"<IP_ADDRESS>",
      "port":123
    },
    "request":{
      "headers":{
        "Host":"localhost",
        "User-Agent":"curl/7.38.0",
        "name1": "value1"
      },
      "uri":"/",
      "method":"GET"
    },
    "server":{
      "ip":"<IP_ADDRESS>",
      "port":80
    },
    "rules":[
        "SecRuleEngine On",
        "SecAction \"phase:1,setvar:'TX.restricted_headers=/name1/name2/'\"",
        "SecRule REQUEST_HEADERS_NAMES \"^.*$\" \"phase:2,t:none,t:lowercase,setvar:'tx.header_name_%{tx.0}=/%{tx.0}/',deny,status:437,msg:'capture',capture,id:500065,chain\"\n",
        "SecRule TX:/^HEADER_NAME_/ \"@within %{tx.restricted_headers}\" \"setvar:'tx.matched=1'\""
    ]
  },
  {
    "enabled":1,
    "version_min":300000,
    "title":"Testing single element selection from TX - case",
    "expected":{
      "http_code": 437
    },
    "client":{
      "ip":"<IP_ADDRESS>",
      "port":123
    },
    "request":{
      "headers":{
        "Host":"localhost",
        "User-Agent":"curl/7.38.0",
        "name1": "value1"
      },
      "uri":"/file.ext2",
      "method":"GET"
    },
    "server":{
      "ip":"<IP_ADDRESS>",
      "port":80
    },
    "rules":[
        "SecRuleEngine On",
        "SecAction \"phase:1,setvar:'TX.restricted_extensions=/ext1/ext2/'\"",
        "SecRule REQUEST_BASENAME \"@rx \\.([^.]+)$\" \"phase:2,t:none,t:lowercase,setvar:'tx.extension=/%{tx.1}/',deny,status:437,msg:'capture',capture,id:500065,chain\"\n",
        "SecRule TX:EXTENSION \"@within %{tx.restricted_extensions}\" \"setvar:'tx.matched=1'\""
    ]
  }
]

Expected behavior
There are several collections in ModSec, and they differ regarding case-sensitivity:

TX should be case-insensitive as per legacy behaviour. Note that selection of an individual element is case-insensitive in modsec 3.x already, see second test case in the file, which passes.
REQUEST_HEADERS and RESPONSE_HEADERS are case-insensitive because that's what the  HTTP standard says (same for the corresponding NAMES collections).
ARGS is case-sensitive (same for ARGS_GET and ARGS_POST and for the corresponding NAMES collections)
COOKIES (and NAMES) are case-sensitive
FILES ?

Server:

ModSecurity v3.0.4 library, no connector needed
Ubuntu Linux 16.04.5 LTS

Rule Set:

See test file. No official set needed, but this affects all versions of CRS at least since 2017 because the chained rule handling restricted headers assumes the 2.9 behaviour.

Note, that fix exists.

Thanks @airween - do you know why it hasn't been merged? It seems to be marked as duplicate, but isn't as the other bug is about full variable name match, not regex match of the variable name.

@michaelgranzow-avi sorry, I have no idea :).
Also I don't know, what's the "other" issue, so why is this PR marked as duplicated.

The other issue is this:
https://github.com/SpiderLabs/ModSecurity/issues/1808


BBC iPlayer

Details

Service Name: BBC iPlayer
Service URL: https://www.bbc.co.uk/iplayer
Is it region-locked? If yes, to what region? Yes, UK
Does it have a free version / trial? Yes

Additional Information

I had a poke around. There's no obvious viewing history available for sync other than what the user is currently watching.
Perhaps https://github.com/get-iplayer could give some pointers.
https://www.bbc.co.uk/iplayer/watching
"items": [{
                    "type": "WATCHING",
                    "props": {
                        "title": "The Birth Of Israel",
                        "href": "/iplayer/episode/b00b91vj/the-birth-of-israel",
                        "imageTemplate": "https://ichef.bbci.co.uk/images/ic/{recipe}/p0gmhnkc.jpg",
                        "progressPercent": 76.986,
                        "durationSubLabel": "59 mins",
                        "secondarySubLabel": "Available for 11 months",
                        "showPlayIcon": "always"
                    },
                    "meta": {
                        "status": "current",
                        "remaining": 811.04,
                        "programmeId": "b00b91vj"
                    }
                }, {
                    "type": "WATCHING",
                    "props": {
                        "title": "QI",
                        "subtitle": "Series A: 2. Astronomy",
                        "href": "/iplayer/episode/b0074ph7/qi-series-a-2-astronomy",
                        "imageTemplate": "https://ichef.bbci.co.uk/images/ic/{recipe}/p0cb4xpj.jpg",
                        "durationSubLabel": "30 mins",
                        "secondarySubLabel": "Available for over a year",
                        "showPlayIcon": "hover"
                    },
                    "meta": {
                        "status": "next",
                        "programmeId": "b006ml0g",
                        "secondaryHref": "/iplayer/episodes/b006ml0g/qi"
                    }
                }, {
                    "type": "WATCHING",
                    "props": {
                        "title": "Celebrity MasterChef",
                        "subtitle": "Series 18: Episode 12",
                        "href": "/iplayer/episode/m001pwfp/celebrity-masterchef-series-18-episode-12",
                        "imageTemplate": "https://ichef.bbci.co.uk/images/ic/{recipe}/p0g768c4.jpg",
                        "durationSubLabel": "29 mins",
                        "secondarySubLabel": "Available for over a year",
                        "showPlayIcon": "hover"
                    },
                    "meta": {
                        "status": "next",
                        "programmeId": "b007mtf0",
                        "secondaryHref": "/iplayer/episodes/b007mtf0/celebrity-masterchef"
                    }
                }, {


Doc: Api-Reference - missing gems doc

Menu: API-Reference:
missing gem docs for:

rom-dm
rom-influxdb
rom-redis

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10334799-doc-api-reference-missing-gems?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github).

ok - there listet here with status unknown :(
http://rom-rb.org/status/

Ah it's because those gems are not released yet and we generate links to API docs of released gems :/


Ubuntu search by service error.

I tried search by service on mac and it works fine, but on an Ubuntu 22.04.2 LTS VPS, I initially got the error:The name org.freedesktop.secrets was not provided by any .service files, which was fixed by installing gnome-keyring, but then search returned NoResults error, even though using keyring to get secrets proves that the secrets for that service name exist.
Posting to see if this is a known issue and if there is a way to fix it?

@Nuhvi Thanks for bringing this to my attention. This is not a known issue as far as I know but will try to take a look at my earliest convenience. Can you post an example code snippet of the problem area? Also, was the secret created by the service or by keyring?

@wiimmers
Here is minimal example:
use keyring::Entry;
use keyring_search::Search;

const SERVICE_NAME: &str = "some_service";
const NAME: &str = "some_name";
const SECRET_KEY: [u8; 32] = [0_u8; 32];

fn main() {
    {
        let entry = Entry::new(SERVICE_NAME, NAME).expect("open entry");
        entry.set_secret(&SECRET_KEY).expect("failed to set secret");
    }

    {
        let entry = Entry::new(SERVICE_NAME, NAME).expect("open entry");
        let secret_key: [u8; 32] = entry
            .get_secret()
            .expect("secret not found")
            .as_slice()
            .try_into()
            .expect("Invalid secret_key");

        assert_eq!(secret_key, SECRET_KEY);
    }

    {
        Search::new()
            .expect("open search")
            .by_service(SERVICE_NAME)
            .expect("search by service");
    }
}

Before adding gnome-keyring I got this error:
search by service: The name org.freedesktop.secrets was not provided by any .service files

After adding gnome-keyring I get this instead:
search by service: NoResults


Fixes RenkoConsolidator for python

Description

Missing event keyword prevented pythonnet to recognize DataConsolidated as a event handler.
Adds python version of RenkoConsolidatorAlgorithm.

Related Issue
Closes #1742
Motivation and Context
It was not possible to attach events to renko consolidators.
Requires Documentation Change
No.
How Has This Been Tested?
Existing tests and new algorithm.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Great sutff @AlexCatarino  -- if you find yourself using that tryconvert pattern again with a default value, consider making a utility method, maybe something of the form:
public static ConvertToDelegate<T>(this PyObject pyObject, T defaultValue = null)
    where T : class
{
    if (pyObject == null)
    {
        return defaultValue;
    }

    T output;
    if (!pyObject.TryConvertToDelegate(out output)
    {
        return defaultValue;
    }

    return output;
}


Binary upload docs and example

Add nodejs example for binary upload handling. Add a block in the README.md with the binary upload code. Add commented project dependency in the grade app for easier development.
As a side note, feel free to edit the readme and the example before merge. It may be better for the example app to support only the multipart upload and have the binary upload method in it just for convenience.
Closes #50.

Thank you for the pull request! Merged and done some modifications in the README.md
I'll soon test everything and release version 1.4

Cool :+1:

version 1.4 just released :)


missing or bad price found

using this issue to log items discovered with no price set or an error in the price formula, this is specifically for the 1.19 worth.yml release milestone.  A new issue will be used afterwards

rooted dirt value changed from $0.00 to $0.50


GUI is bugged on Windows

Mouse input in the y direction is bugged due to https://github.com/ziglang/zig/issues/1481. Once Zig 0.10 is released and raylib-zig is updated, zig-kakuro will update as well and hopefully these issues will be resolved.

Fixed by https://github.com/schmee/zig-kakuro/commit/75c9e93abaf28beed03a43b250d5471476458e27.


python310Packages.ordereddict: drop

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I tested all packages and they all build or had already marked as broken dependencies somewhere in there dependency chain.

@ofborg eval

This looks fine for jira_cli

Its not building anyway since ‘python3.9-suds-jurko-0.6’ is marked broken.


Nanosecond data

Hi, there,
can n3-charts handle nanosecond data (x-axie)?
also, for the X axie label (time), I don't need nanosecond accuracy, second is good enough. could anyone give me an example of this?
many thanks,
Sam

It's perfectly doable, but not with the native date/time axis. You'll have to use a regular numerical axis, and use a custom formatter for the x-axis.

Thanks, Lorem!
Is there any sample, or documentation that I can refer to?

another comment, although Java 8 Date can provide nanosecond, however, previous of Java 8, the Date can only provide millisecond. also, how about javascript date, I believe it can only provide millisecond.
although java timestamp can provide nanosecond, I don't know if n3chart/d3 can accept timestamp, instead of date object.

there is a work around solution. I can use number in x-axis, for example,<PHONE_NUMBER>6 represents 9:30:15:123456 (nanosecond is 123456). My question is that how I can format the x-axis label, instead of  displaying as "93015123456", displaying as "9:30:15:123456" (which looks like time format).
Could anyone give me an example if it possible?
many thx!
Sam

Hi @samwzm
you can use a custom tick function (see tickFormat in the docs) to achieve this for the axis - and a tooltip hook for modifying the tooltip (here is an example http://codepen.io/chaosmail/pen/xZgPmp). You need some math - to extract the hours, minutes, seconds and nanoseconds from the timestamp - but this should be doable.
Best,
Christoph

thanks for the help! this has been done, although there is an issue about how to control automatically generated x-axis labels. I have created another ticket for the issue and will close this one.


App not opening.

Upon downloading and extracting this application, when double-clicking on the tool, nothing happens. The app doesn't load. Just nothing appears at all. I'm not sure if I'm doing anything wrong, and I've tried to place this Tools folder in my compiled games folder to see if anything would change, but no. Nothing changed.

Wait, that strange.
The app require Net Framework v4.8 or later to run. Try to install it (or reinstall it)
If this still doesn't work, try yo compile from sources with Visual Studio 2022 you need to install .Net Desktop environment with VS Installer if you don't have it installed. For other IDEs I don't know

I installed the .Net Desktop, but the app still doesn't open. I could try compiling it, but I wonder if that would even work, as the app doesn't want to run.

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0103	The name 'JsonSerializer' does not exist in the current context	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\Program.cs	115	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\Program.cs	6	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\CreateProject.cs	7	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\Home.cs	10	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SettingsManager.cs	2	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SetupWindows\AboutWindow.cs	6	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SetupWindows\CreateVersion.cs	9	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SetupWindows\CreateVersion.cs	10	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SetupWindows\MasterOption.cs	9	Active
Error	CS0234	The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\SetupWindows\ProjectSetup.cs	9	Active
Error	CS0103	The name 'JsonSerializer' does not exist in the current context	WiiUCafeSDKDeluxe	D:\WiiUCafeSDKDeluxe-main\WiiUCafeSDKDeluxe-main\src\WiiUCafeSDKDeluxe\WiiUCafeSDKDeluxe\Program.cs	168	Active
Warning		The referenced component 'System.Text.Json' could not be found.	WiiUCafeSDKDeluxe
I gave compiling a try. I didn't change anything, and it doesn't work.

After some more testing, the issue combines two issues. Not just the one issue I originally thought. The first issue is due to windows defender blocking the application from running because of the applications in the tools folder not being run yet. The second issue is that the app does not work on Windows 10; running it on my Windows 11 laptop shows it can run. The app can not find the Python and Java installations in the path variables. I guess I must set everything up on my Windows 11 laptop now.

I do hope you can add support for Windows 10, not sure why it's not working on Windows 10.

For the JSON related building issue(s) like "Error CS0103 The name 'JsonSerializer'"
you need to add "System.Text.Json.dll" as a dependency :

After you select "COM" or "Net Assemblies" (in any case an tab with a lot of .dll)

and search for System.Text.Json tick it and (normally) you are good.
I will give a try on Windows 10 today if I can or Monday, strange that don't work on it and works on Windows 11.
G
And thanks for "Windows Defender". Always check if something don't work
And did you think to install Java and Python on your Win10 laptop/PC ?
If you can run the app you can still setup manually the target to the Python and Java executables
(or if work open CMD, type "python", if you are in a python console/runner, you can simply type "python" as path. Same for Java)

For the JSON related building issue(s) like "Error CS0103 The name 'JsonSerializer'" you need to add "System.Text.Json.dll" as a dependency :
 After you select "COM" or "Net Assemblies" (in any case an tab with a lot of .dll)  and search for System.Text.Json tick it and (normally) you are good. I will give a try on Windows 10 today if I can or Monday, strange that don't work on it and works on Windows 11. G
And thanks for "Windows Defender". Always check if something don't work And did you think to install Java and Python on your Win10 laptop/PC ? If you can run the app you can still setup manually the target to the Python and Java executables (or if work open CMD, type "python", if you are in a python console/runner, you can simply type "python" as path. Same for Java) Keep me updated !

I do have Python installed, and I have the app seemingly nearly set up and working on my Windows 11 laptop, but the main issue I am facing right now is the app is failing to decrypt the game. I can't find a way to give the app a version number without it failing when it decrypts the game; without me messing with the version number, I can't install it on my Wii U. I don't think I will try to recompile WiiUCafeSDKDeluxe, but thanks for the tips it could help people in the future look at how to compile it properly.

Can you send me the logs ? (You can see them with the logs button from home page)
Did you install the required python module "pycryptodome"

Can you send me the logs ? (You can see them with the logs button from home page)
Did you install the required python module "pycryptodome"

I did install pycryptodome
I will try to send you some logs for it when I have the chance to

Can you send me the logs ? (You can see them with the logs button from home page)
Did you install the required python module "pycryptodome"

I did install pycryptodome I will try to send you some logs for it when I have the chance to

Are you sure you're using a binary release? To me, by looking at the stack trace, it looks like you are trying to run the source code directly from the main branch.
If you are indeed using a binary release, I had this same issue. What worked for me was using v1.1 instead of the latest version. This version somehow pops up an error code stating that it couldn't find java or python but still lets you keep the app open. Then what I did was create a random project, change the values of the java and python install/executable paths and restart app. These settings apply across new project as well, from my limited testing.

@one-and-only What issue you found in v1.2.0 ? I don't have it

@RetroAndDev if the user doesn't have the java and python versions you as the developer expect, the app will refuse to run at all (no window and no indication of loading). 1.1.0 warns you, but lets you continue.

Strange.
I have maybe removed it accidentally.
I will check.


Update the Artman pipelines for C#

Thanks - I ran the smoke test manually and it was fine. If you'd like me to send one PR for the commit update, and then do the others separately, that would be fine.


Batch Size Tuner is unable to free memory after OOM

🐛 Bug

When using the batch size tuner, torch.cuda.empty_cache() does not free the memory that pytorch tried to allocated before going OOM. This results in the batch size tuner leaving the device memory full.
Unfortunately, I have limited time and the Boring model would require too much work to replicate the bug with.
Environment

CUDA:

GPU:

GeForce GTX 1060 6GB

available:         True
version:           10.2

Packages:

numpy:             1.19.2
pyTorch_debug:     False
pyTorch_version:   1.8.1
pytorch-lightning: 1.2.8
tqdm:              4.55.1

System:

OS:                Linux
architecture:

64bit
ELF

processor:
python:            3.8.6
version:           #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020

PyTorch Version (e.g., 1.0): Also does not work with 1.7.1

@half-potato mind check our RC from yesterday? pip install pytorch-lightning==1.3.0rc0

Version: pytorch-lightning==1.3.2
Sure, it doesn't fail to allocate memory anymore, but it also doesn't actually tune the batch size. It doesn't ever run
trainer.reset_train_dataloader(model)

As a result, it never runs OOM. Putting this line back into _adjust_batch_size results in the same problem, where the memory isn't freed.
I found this issue on pytorch: https://github.com/pytorch/pytorch/issues/18853
It appears that it could be a driver issue.


Try to make/keep tech names as stated on wikipedia/other source?

rn most names are shortened or don't follow spaces and other stuff, but if needed i can make them look like they are pulled straight from wikipedia since i have nothing else to do and i ran out of technologies to detect

if needed i can make a list of changes before making a pr so collaborators can look through it and request any changes?


Calling #join on an invalid call URI on Asterisk results in Command Timeout

Logs here: https://gist.github.com/bklang/d7f8e97f0e8e7aee57cb
CrashyController:
class CrashyController < Adhearsion::CallController
  def run
    answer
    join 'abcd1234'
  end
end

It's also worth noting that the crash also prevents any later callbacks from being executed (such as on_unjoined or on_end). Also, Adhearsion is unable to shut down cleanly because the call still appears to be alive:
[2014-12-10 11:04:56.011] INFO  Adhearsion::Initializer: Received SIGINT. Shutting down.
[2014-12-10 11:04:56.011] INFO  Adhearsion::Process: Transitioning from rejecting to stopped with 1 active calls due to shutdown event.
[2014-12-10 11:04:56.011] INFO  Adhearsion::Process: Stop requested but we still have 1 active calls.

Fixed by https://github.com/adhearsion/punchblock/commit/2015d69e6926c0e567e24ee32658e458ea74d263


Task 1

To display the msg box

@anusha305
This pull request (PR) has conflicts; please refrain from merging it on GitHub and avoid accessing others folders unrelated to the changes. I'm unable to review and merge the PR at  time.
Task -1
Code verified. Default activity names


Improve performance in StandardComparisonStrategy#areEqual

While working on PR #2171 I noticed that the performance degradation with the changes in that PR + this change are way lower than the changes in that PR without this change here.
Did some JFR profiling and most of the time is spend in this method here. With this PR the idea is to avoid doing instanceof checks if the actual is not an array. I know that Objects#deepEquals is similar, but I cannot explain why the performance degrades so much in the AssertJ code (perhaps because I am using Long for the testing and the reference is the same.
I can add a different object type in the benchmark if you want

I definitely didn't see it coming and I also don't understand where the performance penalty is. Nice catch @filiphr!
Your changes look already good to me.
If you have time, you could try to see how the current implementation behaves with Object[] and boolean[]. You might put the Object[] check before the primitive types in your implementation to have the a similar flow like main.

I adapted the benchmark and I can now easily test with anything. I added tests for Object[] and boolean[] and the results are confusing to me.

Seems like the benchmark is slower with my changes from here. I really cannot explain it. It doesn't make much sense to me. I'll try running it with the other PR as well

OK I know what the problem was. I had typo in the setup of the benchmark so the long assert was actually the Object[] one. Running it now again 🤦

The new results are in and they are like I expected them:

The benchmark I used to get this is https://github.com/filiphr/assertj-benchmark/blob/main/src/main/java/org/assertj/benchmark/ObjectAssertBenchmark.java.

Merged, thanks @filiphr!


chore: dependabot security updates

#281  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jonathannorris and the rest of your teammates on  Graphite


Support Bitbucket

Proposed changes
Support Bitbucket in Pipeline

Types of changes
New feature

Linked Issues
https://github.com/rancher/rancher/issues/15700

Further comments

It is ready for review. We need to merge the backend PR and frontend PR together

@westlywright Thanks for the review!
Fixed and updated


Bug 2119328: ACM plugin custom extension for row action

Related to: Bug 2119328
ODF issue: https://issues.redhat.com/browse/RHSTOR-3486
Signed-off-by: Gowtham Shanmugasundaram<EMAIL_ADDRESS>

@KevinFCormier @fxiang1

@GowthamShanmugam Just wondering is this a sev 1 bug? We're at the end of the release so only taking in high severity bugs.
FYI @cbynum-redhat
FYI @thuyn-581 @asimbutt-redhat in case there's any QE concerns

@KevinFCormier @

@GowthamShanmugam Just wondering is this a sev 1 bug? We're at the end of the release so only taking in high severity bugs.
FYI @cbynum-redhat FYI @thuyn-581 @asimbutt-redhat in case there's any QE concerns

Kind of bug I displaying actions on the application list page but not on the details page. also fixed one minor bug with the loading modal.
I want these extension-related changes on ACM 2.6 is enough, ODF 4.12 is going to target ACM 2.6 only

@fxiang1 Can we take this for 2.6.Z stream, this is bug fix only?

@GowthamShanmugam Yes, so once 2.6 is GA @cbynum-redhat will open up the release-2.6 branch for 2.6.1. At that time you can deliver this into the 2.6.z stream. Just need to wait for the 2.6.z stream to be open.

@GowthamShanmugam Yes, so once 2.6 is GA @cbynum-redhat will open up the release-2.6 branch for 2.6.1. At that time you can deliver this into the 2.6.z stream. Just need to wait for the 2.6.z stream to be open.

Ack

Hi @fxiang1,
Is ACM 2.6 already GA?

@GowthamShanmugam No. Planned date is September 7.

@GowthamShanmugam No. Planned date is September 7.

@KevinFCormier @fxiang1 Since, ACM 2.6 is already GA, Kindly merge this PR for the Z-stream.

@GowthamShanmugam This PR is for main branch, so it will target 2.7. For 2.6.1, it will be a CVE only urgent fix, so please open a PR against release-2.6 for that, but it is still not open for general deliveries.

/cherry-pick release-2.6

/ok-to-test

/retest

/retest

/retest ci/prow/lint-check-unittests-sonarcloud

/retest lint-check-unittests-sonarcloud

/test lint-check-unittests-sonarcloud

/test lint-check-unittests-sonarcloud

/test lint-check-unittests-sonarcloud

@GowthamShanmugam Yesterday, 100% test coverage requirement was enabled for all ACM repos. lint-check-unittests-sonarcloud will not pass with 30.6% coverage.


Discovery on interaction between app and infrastructure components

Clarify the traffic flow of the interaction between the app and the infrastructure components.
What endpoints is the app talking to and what kind of data is being passed?
Also, is it bidirectional?
Where is the data generating from?
Does the app run on a device or a web server? (on the diagram, the zigzag line)
-single page app/portal
-where does the software run? -is there a server/web service that it will be running on?
-the azure active directory would connect more with the social care hub
top right needs to be more like browser on work station
need to put webservice in the top left
https://allianceofchicago.sharepoint.com/:b:/r/sites/ONC-LEAP/Shared Documents/General/External Stakeholder Files/Care Plan Development/MS Azure Health Data Service Data flow_NS072323.pdf?csf=1&web=1&e=2hJlj4

Private Zenhub Image

https://allianceofchicago.sharepoint.com/:p:/r/sites/ONC-LEAP/Shared Documents/General/External Stakeholder Files/Care Plan Development/eCare Plan Architecture AC LEAP v3.pptx?d=wbd6c00ea54df4916ad10324e678e3a68&csf=1&web=1&e=K0R8Jy


Have CMake generate pkg-config file for library.

/run azp DirectXTK-GitHub-CMake,DirectXTK-GitHub-CMake-Dev17

/azp run DirectXTK-GitHub-CMake,DirectXTK-GitHub-CMake-Dev17


Ability to change default z

Users should be able to select the default z value. This could be a button  alongside the current input that will save the currently selected z-index as default z.
TODO in RBK/GUDMAP servers: Visible columns annotation should be changed to include Default_Z in the entry context as well.

#86 added this feature.


Fix missing transport URL config

Recent amphora controller support changes were missing the init.sh and initcontainer changes required for configuring the rabbitmq transport_url.

/lgtm


pythonMinimal: don't include site-customise

Experimenting with patching the site-customize file causes mass
rebuilds for no reason.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Note this would break python.buildEnv / python.withPackages. I suppose that is fine for this Python because its not intended for use with packages anyway.

Maybe renaming pythonMinimal to bootstrappingPython would be better, to indicate it isn't just a regular python you should use?

I have every intention to use the minimal python with packages.
Me and @flokli spent a bit of time around last Nixcon experimenting with the Python test driver and pystemd.
I haven't touched this effort in a while but that's still something I'd like to accomplish.

Your intentions to use it may not match with the package maintainter's intentions in packaging it :P (so maybe there is a need for a minimal python, and a bootstrapping python, like @LnL7 was suggesting.)

@grahamc Well, I was the one who created python3Minimal for exactly that purpose.

Oh :upside_down_face:

I recall @LnL7 mentioning something about copying over/vendoring a bootstrappingPython, so the python.buildEnv changes don't affect the glibc build.

With @grahamc's change to the python3 expression I think we could add a bootstrapPython like this:
bootstrappingPython = python3Minimal.override { includeSiteCustomize = false; };

which still makes it possible to use python3Minimal with packages without causing spurious mass-rebuilds.
Obviously I'd like @LnL7 to chime in on this.

See https://github.com/NixOS/nixpkgs/pull/77610#discussion_r365928307.
For bootstrapping llvm I added a minimal python/boot.nix stripped as much as possible. Making the expression completely separate introduces a little bit of duplication but has the advantage that the regular expression, setup-hook, etc. can be changed freely without having to re-bootstrap.

Note I am looking into actually patching site.py instead of using sitecustomize.py because sitecustomize.py is loaded too late (https://github.com/NixOS/nixpkgs/issues/79702#issuecomment-598296978).

For now I would like to go ahead with it. If we find the need to build packages with it, we create a separate pythonBoot.


Put tinyXML documentation and examples in the repository

In my personal BrainGrid/software/braingrid/tinyxml directory.

Also include xmltest.cpp


metadata wiped out in some cases.

I am having an intermittent problem in a production environment, where my metadata is being cleared on submission - this is a huge problem because the metadata we pass in identifies the owner (not user, but "group") in a multi client system.
I did some tracing on the server with Kadira, in the onUploaded callback I get the following object:
{"_id":"DznTQp283RhBwALCQ",
"name":"SPECIAL vs TRIPS (COVER 8 CHECK) - Copy.png",
"extension":"png",
"path":"/tmp/DznTQp283RhBwALCQ.png",
"meta":{},
"type":"image/png",
"size":56438,
"userId":null,
"versions":(omitted of brevity),
"_downloadRoute":"/cdn/storage",
"_collectionName":"images",
"isVideo":false,
"isAudio":false,
"isImage":true,
"isText":false,
"isJSON":false,
"isPDF":false,
"_storagePath":"/tmp"}

My insert code looks like this:
      Images.insert({
        file: dataURL,
        meta: {
          teamId: methodToGetTeamId(),
          parentType: "a thing",
          parentId: "aThingsId",
          url: window.location.href //to aid debugging
        },
        isBase64: true,
        fileName: name + '.png',
        onUploaded(error, fileRef){
          if(error){
            Notifications.error("Couldn't save image", error.message);
          }
          else {
            ParentCollection.update({_id: "aThingsId"}, {$set: {imageId: fileRef._id}});
            Notifications.success("Saved!", "", {timeout: 1000});
          }
        }
      });

despite the userId: null logged - the user IS logged in, the ParentCollection.update code would fail otherwise, and it does not (I've triple checked this). The image is uploaded successfully and the parent is updated with the imageId, but the inserted image is missing its meta field - this happens intermittently, but frequently (around 50 times per day) but exclusively with this collection. The only difference between this insert call, and the other collections, is for the other collections we use an upload form, so we pass autostart: false to the insert method, and manually trigger .start() on the result, isBase64 isn't used and we also pass in
        streams: 'dynamic',
        chunkSize: 'dynamic',

I am unable to replicate this in our staging, or dev environments, so any assistance here would be great

Issue you have described is common for < v1.6.0, what Meteor-Files package and Meteor version you're on?
 We have a server side "clone" method that was calling Images.load without any metadata - sorry for wasting your time

@znewsham I'm glad we've found the truth.
Please, support this project by:

Star on GitHub
Star on Atmosphere
Check other packages we have made


Add rule loading from config file

Add support for rule loading from config file. We need to be able to change operation mode of travelgrunt without recompiling it :slightly_smiling_face:
Thank you!

Thanks for this submission! This looks like a good addition indeed


[BUG] [nightly] Personal Access Tokens don't work

Description
On the nightly build of gitea 1e1e8b5d43a36aa788ce0973fa57ac6df648cbd0, Generating Tokens no longer has scope option. As a result, the generated tokens are useless, and are not able to clone private repositories, etc.
Gitea Version
1e1e8b5d43a36aa788ce0973fa57ac6df648cbd0 (commit SHA)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://paste.evanferrao.win/raw/lh22z6t
Screenshots
I'm uploading a screen recording instead of a screenshot. It helps to understand way faster.
Gitea Token Scope missing.webm
Git Version
2.40.1, Wire Protocol Version 2 Enabled
Operating System
ZorinOS 16 based on ubuntu 20.04 LTS
How are you running Gitea?
I'm running gitea using docker-compose. I've attached it below.
version: "3"

networks:
  gitea:
    external: false

services:
  server:
    image: gitea/gitea:nightly
    container_name: gitea
    restart: always
    environment:
      - GITEA__log__MODE="console"
      - GITEA__log__ROUTER="console"
      - GITEA__log__LEVEL="debug"
      - GITEA__log__STACKTRACE_LEVEL="debug"
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - /home/git/.ssh/:/data/git/.ssh
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "<IP_ADDRESS>:3000:3000"
      - "<IP_ADDRESS>:2222:22"

Database
SQLite

Yes, that is intended.
We decided that the original design was not good enough and disabled the UI for it (#24527).
We plan to add a better implementation until the release of 1.20.0-rc0 (#24767)

If I'm not mistaken, it is still possible to create a token with scopes.
However, you need to create the request yourself using the browser console or something similar.


Site is down

http://www.apollostack.com/
Could you please restore it?

@DimitryDushkin seems to be up and working for me.

Yes, it is working now.


Restapi

I see something in my homemade java client for zulip:
This is a part of the response header from zulip server:
101 < X-Ratelimit-Limit: 100
101 < X-Ratelimit-Remaining: 0
101 < X-Ratelimit-Reset:<PHONE_NUMBER>

how can I tweak that for my personal usage?
and what is the representation of X-Ratelimit-Reset:<PHONE_NUMBER> in term of time?
https://<IP_ADDRESS>:4430/api/v1/events?queue_id=1493131750%3A21&last_event_id=-1
Sometimes, I've got a heartbeat in 10 sec sometimes, 1min, there is a rule for this behavior?
And the last question, it seems that I receive no message whereas I speak in the stream oO, I see when I connect but see nothing when I talk ....
{"msg":"","result":"success","handler_id":4447,"events":[{"id":0,"server_timestamp":1493287297.3648819923,"type":"presence","email":"romain.huneau@xxxxx.com","presence":{"website":{"status":"active","timestamp":1493287297,"client":"website","pushable":null}}}]}

I precise, my user is a bot.
Should I create a subscription for my bot ?

bot should manually add as subscriber, now it's work


2.0 Reference Models: NMT Model (TPU with dist strat and Keras)

Sequence-to-sequence (seq2seq) models (Sutskever et al., 2014, Cho et al., 2014) have enjoyed great success in a variety of tasks such as machine translation, speech recognition, and text summarization.
This model will give TF 2.0 end users a full understanding of seq2seq models and show them how to build a competitive seq2seq model from scratch. We focus on the task of Neural Machine Translation (NMT), which was the very first testbed for seq2seq models.
For the TensorFlow 1.x equivalent, please refer here.
The purpose of this issue is to migrate models into the TF 2.0 Keras API. Each migrated model must be eager and distribution compatible, with tests, and all associated engineering artifacts.

Any updates? I find that the keras high level API is not flexible enough compared to the old contrib.seq2seq.

Any updates? +1

We are revamping the official model garden: more details can be viewed in this RFC https://github.com/tensorflow/community/pull/130. We focus on supporting BERT and its variants for NLP tasks this quarter. We'd like to have NMT but don't have cycles now. Will try it include it in Q4.

Tensorflow v2.x supports Sequence-to-Sequence NMT with Attention Mechanism, for more information refer these links ref1 and ref2. Thank you!

Hi @dynamicwebpaige !
We are checking to see whether you still need help in this issue .
I think above  add on documentation are still not compatible with tpu /dist-strat/eager mode.
Tested with  nmt_with_attention  from Tensorflow/text.
Results are not convincing in 2.9 too.
Attached gist  for reference.
Thank you!

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


i18n(zh-tw): update basics/layouts.mdx

Description (required)
Update this because Lunaria marks this as completed in #9344.
Related issues & labels (optional)

Relates to: #8621, #8763, #9333, #9335, #9344
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-tw
basics/layouts.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Added filterWarnings option, fixes #85

For context https://github.com/sveltejs/svelte/issues/7240
I have no idea about TypeScript and why it thinks options could be undefined given this:
https://github.com/EMH333/esbuild-svelte/blob/589870f2144eb6c525aad8b96ac80150cfc8b7f4/index.ts#L88-L90
Anyway, if I disable the TypeScript checks then npm run build && npm test succeeds. Could you please clean this up (warnings.filter(options?.filterWarnings) doesn't look correct)? I need a way to filter out false positive warnings. I don't understand why Rollup uses a callback pattern. This PR solves my problem but might have some shortcoming? idk

This addition makes sense to me at first glance, thanks for the PR! I agree that onwarn from the Rollup plugin is a little odd and their implementation wouldn't be clean here. I'm going to try and look into that a little more to make sure I'm not missing something.
I'll do a review and get this merged this weekend


[e2e] Change tag for httpd image on openshift story

Fix #4089
Previously we were using latest tag for centos7-httpd image, that tag has been deleted from the registry, this commit change the tag to other tag referring to the same image.

/lgtm
/approve


Wallet stuck on "attempting to sync for multiple days

Steps to reproduce:

Open Cake Wallet on iOS 17.5.1 on iPhone 14.
Cake Wallet version 4.18.2.
Enter the correct PIN.
Open the primary account.
Wait for connection to sync.

Expected behavior:

Open Cake in device.
Enter PIN.
Cake connects.
Cake syncs with the server.
Cake updates with correct resource amounts.

Actual behavior:

Cake gets stuck on "attempting to sync" and never actually does. Has lasted for days.

Attempted troubleshooting:

Turning the device on and off.
Closing the app and it opening it again.
Ensuring it is up to date.
Reconnecting.
Rescanning from an earlier date.

Outcome:

Eternal "attempting to sync."

Hi, this is not the correct repository for bug reports, please post an issue here: https://github.com/cake-tech/cake_wallet/issues
And in that report, please add a couple other information like crypocurrency type you are attempting to sync, and the current node you are using and other nodes if you have tried

Thank you. I will do that.,
On Sun, Jul 7, 2024 at 4:40 PM tuxsudo @.***> wrote:

Hi, this is not the correct repository for bug reports, please post an
issue here: https://github.com/cake-tech/cake_wallet/issues
And in that report, please add a couple other information like
crypocurrency type you are attempting to sync, and the current node you are
using and other nodes if you have tried
—
Reply to this email directly, view it on GitHub
https://github.com/cake-tech/upptime-cakewallet/issues/1115#issuecomment-2212565209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEXX2SLHIZMTEFW2IEADJXTZLGRTTAVCNFSM6AAAAABKOVY2VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGU3DKMRQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Bug: No Bare URLs include period and parenthesis at the end of the sentence.

[x] I have verified that I am on the latest version of the Linter

Describe the Bug
Please see the example
How to Reproduce
Input
- https://theintercept.com/2023/05/23/henry-kissinger-cambodia-bombing-survivors/.
- https://www.gettyimages.com/detail/news-photo/617942032.

Current output
- <https://theintercept.com/2023/05/23/henry-kissinger-cambodia-bombing-survivors/.>
- <https://www.gettyimages.com/detail/news-photo/617942032.>

Expected Behavior
<> wrap only the URL and not the period at the end of the sentence as below
- <https://theintercept.com/2023/05/23/henry-kissinger-cambodia-bombing-survivors/>.
- <https://www.gettyimages.com/detail/news-photo/617942032>.

Device

[x] Desktop Windows 11. Obsidian 1.3.5.

Additional info
The parenthesis ) is included in similar behavior.

@nhan000 , I am not sure this is a bug. Can URLs end in a period? If so, this is expected behavior.

Thanks! I probably would like the period to not included in the links, but I'll keep that in mind and do it manually then.

I am still looking into this @nhan000 , so it may be that a period at the end of the URL is not valid. In the meantime I think we should keep this open until I can validate whether or not the period is considered valid as part of a URL.

I will have to take a closer look at this this evening.

If the URL contains a dot when user uses the "Copy link to highlight" feature in Chrome browser, such as https://www.energy.gov/science/doe-explainsrelativity#:~:text=Relativity%20is%20two%20related%20theories,these%20theories%20starting%20in%201905., the dot may be excluded unexpectedly.

Looks like I ran out of time to look at this. I will have to see about getting around to this.

Yeah take your time. As you've said, it's not a bug. Maybe change it to rule suggestion?

The plugin also includes parenthesis ) as well. So https://github.com) becomes <https://github.com/)>. I edited this issue to include the parenthesis.

Looks like a URL parser does remove any trailing periods from the URL. However trailing parentheses do not seem to be removed.

I may however be able to use https://github.com/spamscanner/url-regex-safe for the purposes of grabbing the urls.  I am not sure on a trailing parenthesis though.

It might just ignore trailing parens, but I need to do some testing to see if it works and is efficient. It may also help with the URI match as well.

Looks like the regex would handle these scenarios. I do need to test something to make sure it plays well with the two scenarios mentioned here.

Looks like it works for the scenarios in question. I am now checking that it identifies general URIs (this would be a nice plus) and that it does not stall out when certain regexes are are matched against.

Well. It may be that I cannot actually use that package, but I can likely use the regex it generates instead.

I seem to be hitting a bit of an issue with removing multiple angle brackets at the start or end of a URL, so I will need to go see what is going on there. Other than that, I need to add an option to enable no bare URIs as part of no bare URLs. Once those two things are knocked out. I feel comfortable merging the change.

I believe I ironed out the kinks I was seeing. The changes should be on master and go out in the next release. Please let us know if there is an issue with master or in the next release.


Main cleanup

Now that #5 is merged, I figure I may as well throw up this just to show you the couple of things I started afterwards. Very unfinished, but maybe you see the direction I was starting to go in..

Use """ instead of ''' for script blocks unless there's a very good reason

Usually ''' is only needed when using a command that has loads of environment variables with $ that you don't want to escape

Use simpler $params.foo instead of !{params.food} unless there's a good reason

Same as above. Also most code editor syntax highlighters ignore !{params.food} but flag $params.foo which makes the latter much easier to read.

Split commands to have one argument per line to make them easier to read

I tried to use a groovy linter / auto-formatter to clean up the indentation and standardise things like spaces around if statement brackets etc, etc. Some of the stuff is from that, but it didn't get very far sadly and I actually don't particularly like some of the stuff it did so slightly regret running that when I look at the diff here now (eg. switching " for ' around simple strings 👎🏻 ).
So I don't really expect this PR to be merged, but thought it might be sort of useful as an idea of the direction I was looking in when I first started poking around in main.nf.

Now that #5 is merged, I figure I may as well throw up this just to show you the couple of things I started afterwards. Very unfinished, but maybe you see the direction I was starting to go in..

Use """ instead of ''' for script blocks unless there's a very good reason

Usually ''' is only needed when using a command that has loads of environment variables with $ that you don't want to escape

Use simpler $params.foo instead of !{params.food} unless there's a good reason

Same as above. Also most code editor syntax highlighters ignore !{params.food} but flag $params.foo which makes the latter much easier to read.

Split commands to have one argument per line to make them easier to read

I tried to use a groovy linter / auto-formatter to clean up the indentation and standardise things like spaces around if statement brackets etc, etc. Some of the stuff is from that, but it didn't get very far sadly and I actually don't particularly like some of the stuff it did so slightly regret running that when I look at the diff here now (eg. switching " for ' around simple strings 👎🏻 ).
So I don't really expect this PR to be merged, but thought it might be sort of useful as an idea of the direction I was looking in when I first started poking around in main.nf.

I see your points. Unfortunately, using """ in some instances will fail. That's because I used '''. The same goes for the parameters. If I use ''', then I will have to use !{} ...
But thanks for the suggestions. I will have a look to see how much can be done.

This has been fixed. Thanks.


fix: Patch/dev tools 10 25 2024

Overview/Summary
Patch notes:
1_wara_collector.ps1

Fix duplicated "Microsoft." in resource type in output messages
Add RepoUrl parameter for custom ARPL repo (This is a temporary solution since the Japan team has a fork of the APRL repo to use Japanese characters in their artifacts. This will be addressed in the refactor through localization)
Fixed issue where too many lines between configuration sections would cause an error when capturing the correct items in the section.
Fixed issue where blank sections in the configuration file would cause the properties to be blank or incorrect.
Fixed issue where advisor recommendations object would be reset if more than one implicit subscriptionid was present.

2_wara_data_analyser.ps1

Fixed line-breaks in learnMoreLink URLs.

3_wara_reports_generator.ps1

Fixed full file name issues when specifying the location of the word or ppt templates.

Related Issues/Work Items
Fixes #295
As part of this pull request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[ ] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Ensured PR tests are passing
[ ] Performed testing and provided evidence (e.g. screenshot of output) for any changes associated to ARG queries
[ ] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

I thought it we fixed it in devtools? I’ll get it taken of.Sent from my iPhoneOn Oct 26, 2024, at 12:13 AM, Takeshi Katano @.***> wrote:
@tksh164 commented on this pull request.
Issue #295 is not yet fixed.
3_wara_reports_generator.ps1 has been updated, but the script version has not.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@kpoineal - Issue #295 is not yet fixed in devtools. I confirmed by checked out this branch (patch/dev-tools-10-25-2024) then run the scripts. Issue #295 is still existing.

@kpoineal - You intended #360? This issue was fixed on dev-tools branch and not yet merged into main. Also #360 is not mentioned in this PR's notes but included in this PR.

I thought I included it but I'll add it in.
The issue with #295 is because of a different bug that we just found with the path resolution using something like:
.\3_wara_reports_generator.ps1 -ExcelFile ".\WARA Action Plan.xlsx"

The script wouldn't find the action plan unless we used the full path. I've adjusted this so that it accepts short or long paths.
The third script only uses the excel com instance for copying the charts into the word/ppt files. It failed when passed a short name. It was working with a full name, so we've adjusted the script to compensate.


Disconnect user

Add deleteIcon to userList element with action of disconnect user

Disconnect functionality will be implemented in another way (through user info modal)
https://www.figma.com/file/u60uTtmLHXINZnY5QMKdbJ/ChaPy-Modals?type=design&node-id=13-30&mode=design&t=axGCKVIw3gOShfnY-4


[directxtk][directxtk12][directxtex][directxmesh] Update to latest version

https://github.com/microsoft/DirectXTK/releases/tag/jul2020
https://github.com/microsoft/DirectXTK12/releases/tag/jul2020
https://github.com/microsoft/DirectXTex/releases/tag/jul2020
https://github.com/microsoft/DirectXMesh/releases/tag/jul2020

Thanks for the update!


Reading Goal Modal

[x]  NICOLE fix styling
[ ] COLIN fix to work with current user not hardcode to zero

finished with the styling


tests: test that triggers a rule with established though 3whs missing

This creates a test for issue https://redmine.openinfosecfoundation.org/issues/2639 where the 3whs is missing but the rule with established keyword still triggers.

This test current fails. Does it depend on an issue being fixed?

Yes as described in the issue you don't want to have the alert

There is a typo in the directory name : estabilshed

Merged in #291, thanks!


txnbuild.DeleteOfferOp modifies assets in offer which is unexpected

What version are you using?
horizonclient v2.0.0
What did you do?
invoke the txnbuild.DeleteOfferOp method.
the function takes in only the offerID as an input param which is not enough input to construct the required output offer.
The function does not fetch the offer from horizon so it has no way to know the assets referenced by the offer.
Therefore it creates a FAKE:GBAQPADEYSKYMYXTMASBUIS5JI3LMOAWSTM2CHGDBJ3QDDPNCSO3DVAA asset and sets the amount to "0".
Mismatch Of Expectations
consumers are definitely not expecting the assets in the ManageSellOffer to be modified when attempting to convert the offer to a delete offer using the SDK.
Proposed Solution
The interface of the current txnbuild.DeleteOfferOp is wrong imho because it does not ask for enough information. We could update the implementation so that it fetches the offer from horizon before compiling the delete operation, but this will take an additional network request.
In addition, I think we should introduce a new method that takes in the full offer (and not just offerID) so the SDK has enough information to construct the delete operation correctly out of this. Here's the expected implementation of such a function:
//DeleteOfferOp returns a ManageSellOffer operation to delete an offer, by
// setting the Amount to "0". The sourceAccount is optional, and if not provided,
// will be that of the surrounding transaction.
func DeleteOfferOp(offer ManageSellOffer, sourceAccount ...Account) (ManageSellOffer, error) {
	if len(sourceAccount) > 1 {
		return ManageSellOffer{}, errors.New("offer can't have multiple source accounts")
	}

	newOffer := ManageSellOffer{
		Selling: offer.Selling,
		Buying:  offer.Buying,
		Amount:  "0",
		Price:   offer.Price,
		OfferID: offer.OfferID,
	}

	if len(sourceAccount) == 1 {
		newOffer.SourceAccount = sourceAccount[0]
	}

	return newOffer, nil
}

What did you expect to see?
that the SDK would not modify the assets in the offer.
What did you see instead?
the sdk modified the assets in the offer.

We discussed this and agreed that the current behaviour is bad for the edge case where the caller wants to keep the operation for reference, or mutate it before or after calling this. The side effect is hidden and undocumented.
The method was implemented this way with the expectation that a caller would "fire and forget" the operation. It's clearly inadequate for the usage above.
It's not desirable to add a call to Horizon here because the txnbuild library is agnostic to clients, and unaware of Horizon. The library only deals with operation and transaction construction.
We agreed that at the next major version we will make a breaking change to allow this method to take a full offer. It's open to the implementor to consider whether to allow the existing behaviour by making the offer optional, adding a SimpleOffer type as a placeholder, adding some other helper method to perform the current behaviour, or removing this interface altogether.


Write tests for collect_chain_hashes

In PR #1347, we implemented the FindBlocks and FindHeaders inbound peer requests.
Most of the code is quite simple. The only complex function is collect_chain_hashes.
We should test block_locator and collect_chain_hashes against each other using proptests.
Each proptest should make sure that collect_chain_hashes obeys the protocol rules.
(See the assertions in collect_chain_hashes for some of these rules.)
We might also want to add unit tests for protocol edge-cases.
I don't know if we'll have time to do these tests in the first alpha release.

We have good test coverage for this code.