Status of nvs on (external) spi-flash (IDFGH-13530)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I am working on an application that would store time-series entries, that I would like to query (prompting from a web-based application) using a key, or index associated to the data I want to access. The data has to be persisted over a very long period (>10 years), and new entries would be generated every 30 minutes. My initial thoughts are, that using nvs to store this data would be ideal, but nvs is currently confined to internal flash. The latest documentation suggests that a future implementation of nvs may support writing to (external) spi-flash. What is the current status of this development?

Addition to @KonstantinKondrashov's comment:
You can follow the approach of ext_flash_fatfs example to connect the external flash and define a partition there:
https://github.com/espressif/esp-idf/blob/dbce23f8a449eb436b0b574726fe6ce9a6df67cc/examples/storage/ext_flash_fatfs/main/ext_flash_fatfs_example_main.c#L65-L73
Then, instead of mounting FATFS, you can initialize NVS in the partition you have defined, using nvs_open_from_partition function, similar to Konstantin's example above.

That being said, I think NVS is not going to work for this use case. If you store one key-value pair every 30 minutes, over 10 years you will generate around 175200 key-value pairs, or 1390 flash sectors, or around 5561 kB. Such a large NVS partition will require a lot of time to initialize. Additionally, according to this RAM usage estimate from the docs (Large Amount of Data in NVS,

For RAM usage estimation, please use the following approximate figures: each 1 MB of NVS flash partition consumes 22 KB of RAM and each 1000 keys consumes 5.5 KB of RAM.

Near the end of the 10 year period, the RAM usage of NVS may reach >100kB. Newer IDF versions have an option to allocate NVS cache in PSRAM, so this extra RAM usage may or may not be an issue, depending on whether you are using PSRAM or not. However, the initialization time of NVS for such a partition will still be quite long:

Initialization of NVS requires approximately 0.5 seconds per 1000 keys.

175200 * 0.5 / 1000 = 87.6 seconds.
Therefor I think for your use case a either conventional filesystem or a spec might be more suitable.

Thank you for the insights. Are you suggesting that I should rather use FATFS/LittleFS as it would work faster? I should be honest, I don't how file search works in filesystems (I know very little about filesystems, in fact).


Autoloading causes transactions to fail

My model has properties with indexes. When I load any model class within a transaction it hangs up for 60 seconds until the transaction expires.
>> Neo4j::Transaction.run do
  User.first
end
 CYPHER 11ms MATCH (n:`User`) RETURN n ORDER BY n.uuid LIMIT 1
Neo4j::Server::Resource::ServerException: Expected response code 200 Error for request http://localhost:7474/db/data/transaction/5?headers%5BAccept%5D=application%2Fjson&headers%5BContent-Type%5D=application%2Fjson&headers%5BUser-Agent%5D=neo4j+gem%2F4.0.0.rc.1+%28https%3A%2F%2Fgithub.com%2Fneo4jrb%2Fneo4j%29, 404, 404
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j-server/resource.rb:38:in `handle_response_error'
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j-server/resource.rb:42:in `expect_response_code'
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j-server/cypher_transaction.rb:50:in `_delete_tx'
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j/transaction.rb:57:in `close'
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j/transaction.rb:91:in `ensure in run'
	from /Users/dieter/.rvm/gems/ruby-2.1.5@8actions/gems/neo4j-core-3.1.0/lib/neo4j/transaction.rb:91:in `run'
	from (irb):1

The reason is that neo4j creates indexes on loading model class which doesn't work within a transaction. https://github.com/neo4jrb/neo4j/blob/master/lib/neo4j/shared/property.rb#L148
I must preload all models to avoid this issue. Is there any way to use transactions without preloading of models?

I was just bitten by this and worked around by requiring the nodes I was working with -- glad I found this issue! I'm wondering if it'd be useful to have this error + workaround listed in an FAQ or on a docs page about Transactions just to save others from digging around in the future.

Weird... I just got an E-Mail about your comment @jmdeldin ...  It happened with another issue.  Maybe GH is having some issues?
Yeah, I definitely think that you shouldn't need to reference the model before using it as this isn't necessary for ActiveRecord.
Created https://github.com/neo4jrb/neo4j/issues/972


feat: implement channels:create api adapter and command

Still TODO:

[x] ~Implement test~

Also a couple of notes left in and around the code, primarily surrounding one of:

File organization (e.g., should X object be put into its own file? Should X routine be part of another lifecycle method? etc.)
UX command lifecycle methods (e.g., changing output messages, tabular formats, etc.)

I did a follow-up review and added a couple of comments. One earlier comment was still not addressed.

All good and done.


build error: html files should be copied from their location instead of assuming they are in outDir

I get the following error: [vite-plugin-virtual-html] ENOENT: no such file or directory, copyfile 'C:\Users\zoran\src\enlearn\math\Projects\Activities\wwwroot\vite-pages\Activity.html' -> 'C:\Users\zoran\src\enlearn\math\Projects\Activities\wwwroot\Activity.html'
with vite build
to clarify base: '/'  outDir: "Projects/Activities/wwwroot" and pages have the structure Login: '/vite-pages/Login.html', meaning that vite-pages directory is in the base directory.
The plugin seems to assume that pages are also in the outDir.  My guess is that it should resolve the source path from the base directory not outDir.  But i'm not sure.  In any case, it should resolve the source pages the same way as vite dev does.

maybe fixed in 0.0.9. can you try update it?

I was running it on 0.9.  i think the issue is with this line https://github.com/WindsonFF/vite-plugin-virtual-html/blob/70c277e569b21fc69f8af268a3169be117b2870b/src/index.ts#L67
because that's not the location of the file.

i didn't reproduce this.
can u provide a little demo to test ?

yes, if outDir starts with a slash the copy error occurs, but not if path is relative (without slash).

so ,you change your config and it's worked?

still can't figure out the exact reason why it failed.  why was it failing for you on windows with  outDir: '/Projects/wwwRoot/www'

I got the same error on win7 and win10 when using vite build，but it doesn't happen every time.
I think the reason is in this line of code.
https://github.com/WindsonFF/vite-plugin-virtual-html/blob/70c277e569b21fc69f8af268a3169be117b2870b/src/index.ts#L67

I got the same error on win7 and win10 when using vite build，but it doesn't happen every time.
I think the reason is in this line of code.
https://github.com/WindsonFF/vite-plugin-virtual-html/blob/70c277e569b21fc69f8af268a3169be117b2870b/src/index.ts#L67

😂😂😂😂 i can't reproduce it....

i've remove this ./ from code and published 0.0.10. i maybe resolve this issue. pls try it.

$ yarn run build
yarn run v1.22.10
$ vite build
vite v2.3.7 building for production...
✓ 12 modules transformed.
[vite-plugin-virtual-html] ENOENT: no such file or directory, copyfile 'D:\publicGroup\rasfire\dist\vite\build\index.html' -> 'D:\publicGroup\rasfire\dist\index.html'
error during build:
Error: ENOENT: no such file or directory, copyfile 'D:\publicGroup\rasfire\dist\vite\build\index.html' -> 'D:\publicGroup\rasfire\dist\index.html'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

0.0.10 not working, the error still exist.

https://github.com/WindsonFF/vite-plugin-virtual-html/blob/70c277e569b21fc69f8af268a3169be117b2870b/src/index.ts#L62
It is strange that the closeBundle hook runs directly after the 'vite build' has been executed, rather than last.

😂😂😂😂😂

I think I have found the cause of the error.
If throw any error in hook of rollup server, the server would be closes and executes the closeBundle hook. And then, the error of  the fsp.copyFile function is thrown by Node, interrupting the vite execution and not thrown subsequent errors.

So, I added a few lines of code to check if the file exists.
https://github.com/WindsonFF/vite-plugin-virtual-html/blob/70c277e569b21fc69f8af268a3169be117b2870b/src/index.ts#L62
async closeBundle() {
    const pageKeys = Object.keys(pages);
    const pathToRemove = [];
    for (const pageKey of pageKeys) {
        // original build html path
        const src = path.resolve(process.cwd(), `./${outDir}/${pages[pageKey]}`);
        const pageArr = pages[pageKey].split('/');
        const pageName = pageArr[pageArr.length - 1];
        // dest html path
        const dest = path.resolve(process.cwd(), `./${outDir}/${pageName}`);

        // check
        try {
            await fsp.access(src);
            await fsp.copyFile(src, dest);
            pathToRemove.push(pageArr[1]);
        } catch {
            console.error('')
        }
    }
    // remove extra folder
    for (const toRemove of pathToRemove) {
        // catch rmdir's exception.
        // rmdir maybe remove a dir already remove.
        try {
            await fsp.rmdir(path.resolve(process.cwd(), `./${outDir}/${toRemove}`), { recursive: true });
        } catch (e) {}
    }
}

please submit a PR. I'll merge it.

did the latest changes to main that check for file before file operations get released?  I'm curious whether the issue is fixed with them.


Enroll in Classes

User Story: As a student, I want to be able to enroll into classes so that I can easily adjust my course schedule.

Not possible currently. Will need to wait for SSO release and then need to figure out how to integrate with WebReg.


Provide an option to avoid webhook injector to override the manual injected config

When people use kubectl to manually inject sidecar into deployment with a different config (e.g. during upgrade process), it will be overridden by webhook injector, which is problematic or at least confusing.
We should provide a option to disable that behavior. Unless the user explicitly change that option, the manual injected config should not be overridden.

Do we expect users to mix manual and automatic injection in the same namespace? How would that work when we start auto-upgrading proxies?

I think there might be some situation when people what to override the sidecar config for some specific deployment in the same namespace. For auto-upgrade, if the user only want to upgrade envoy proxy, they can skip the manual injection. But if the whole sidecar agent need to be upgraded, we still need to manually update the deployment.

Yes, absolutely - users can kube-inject or use their own custom sidecar configs.
But we do have a way to handle this - the annotation  to exclude the pod from auto-injection.
Can we just document it better ?
For auto-update: I assume it'll be an update of the binary (the docker), but any settings the
user has can be preserved ( for the release backward compat time).


is there a way to run the export action via a rake task?

i want to run the export task on a few models i have through a cron job and i want to know if anyone as found a way to do this? if not this a feature suggestion

That's not possible, and we have no plan to implement it.

i completely forgot about posting this, haha thanks anyway man 😄


"What do you want to do today?"

The first popup of the day should start at 9am. It should list:

what I accomplished yesterday
my goals for today

Look up Timer -- it should be able to handle the "9am" thing.

Moving all the way from MVP to Future. This is a great feature, but I want to focus first on polishing the basic time tracking and reporting.


issues with --doc and IMD image writer

Hi David. I just compiled the latest source codes from Github (on september 19th, 2022), and I saw so far two issues.
My configuration is Mac M1 macOS v12.6
The --doc option doesn't write anymore a documentation. It waits for ever without ending. Only pressing CTRL-C can return to terminal.
$ ./fluxengine read --doc
^C
$ ./fluxengine read amiga --doc
^C
$ ./fluxengine read amiga -o essai.adf --doc
^C

Reading from an IBM DD 3.5" disk, 720 KB formatted (one I just created with "fluxengine write ibm720", by the way), to an .IMD image doesn't seem to work as expected.
I tried:
$ ./fluxengine read ibm -o essai720.imd
Measuring rotational speed...       Using GreaseWeazle GW000F002A4E30501420343135 on /dev/cu.usbmodem1201
200.3ms (299.5rpm)
Error: LAYOUT: no sectors in sector definition!

then:

$ ./fluxengine read ibm720 -o essai720.imd
Measuring rotational speed...       Using GreaseWeazle GW000F002A4E30501420343135 on /dev/cu.usbmodem1201
200.3ms (299.5rpm)
 0.0: 240 ms in 66362 bytes
      39 raw records, 10 raw sectors; 2.00us clock (500kHz)
      sectors: 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8 0.0.9
      4608 bytes decoded
...

(all the disk is read, but, at the end, the file is 0 KB...)
...
Good sectors: 1440/1440 (100%)
Missing sectors: 0/1440 (0%)
Bad sectors: 0/1440 (0%)
      IMD: guessing data rate as RATE_DD
      IMD: guessing recording mode as RECMODE_MFM
Error: IMD: Can't write IMD files with this speed 2008, and modulation false. Try another format.

During building of the sources, I got this error:
lib/imagewriter/imdimagewriter.cc:228:14: warning: enumeration value 'ImdOutputProto_DataRate_RATE_GUESS' not handled in switch [-Wswitch]
                                        switch (dataRate)
                                                ^~~~~~~~
lib/imagewriter/imdimagewriter.cc:228:14: note: add missing switch cases
                                        switch (dataRate)
                                                ^

Re --doc: that sounds like a bug. I'll take a look.
Re ibm: that format is now write-only --- trying to autodetect disk formats is a mug's game and never works properly. I need to remove the encoder/imagereader configuration from it.
Re imd writing: also sounds like a bug; I'm guessing something got broken during the recent huge refactor.

I confirm the imd writing bug is gone after bug fix #600

Excellent. Thanks for testing it.


fix(test): Fix Jest config, by adding babel transform and config

@c3dr0x  : So I had a quick look, and fixed some stuff :

since @material is in node_modules, we need to add transformIgnorePatterns to transform it
you also need a babelrc conf, and add babel-jest for transform

The test still fails, but not because of the import in ES6 syntax.
I will try to do something better for testing this week-end, with our babel preset

Came across this :
https://github.com/FormidableLabs/enzyme-matchers/tree/master/packages/jest-enzyme
https://github.com/FormidableLabs/enzyme-matchers/tree/master/packages/jest-environment-enzyme#readme
Don't know if it can be useful or not.


Juneteenth Holiday Observed date

I noticed that there is no logic for the Juneteenth (Observed) date (i.e. June 20, 2022) and believe this needs to be updated

It looks like Juneteenth logic
https://github.com/dr-prodigy/python-holidays/blob/1a407bd970ded0966f8f9457e4e49563681dd2c7/holidays/countries/united_states.py#L382-L386
needs to be updated with observed logic, like West Virginia Day
https://github.com/dr-prodigy/python-holidays/blob/1a407bd970ded0966f8f9457e4e49563681dd2c7/holidays/countries/united_states.py#L390-L398

yes, according to this: https://www.federalreserve.gov/aboutthefed/k8.htm - 2021/06/18 and 2022/06/20 were the respective official holidays in '21 and '22, so the default python-holidays values seem incorrect.

@empgc02 this has been fixed by @khawley and then merged in beta.. thank you both! 👍
Cheers
dr-p


/query doesn't work

I try to initiate a query with someone so I go to a channel on the Slack network, and /query person - where person is tab completed.  and I get this error:
20:19:25     weechat     | python: stdout/stderr: Traceback (most recent call last):
20:19:25     weechat     | python: stdout/stderr:   File "/home/aeg/.weechat/python/autoload/wee_slack.py", line 933, in join_command_cb
20:19:25     weechat     | python: stdout/stderr:     if command_talk(current_buffer, args.split()[1]):
20:19:25     weechat     | python: stdout/stderr:   File "/home/aeg/.weechat/python/autoload/wee_slack.py", line 1001, in command_talk
20:19:25     weechat     | python: stdout/stderr:     w.buffer_set(channel.channel_buffer, "display", "1")
20:19:25     weechat     | python: stdout/stderr: AttributeError: 'NoneType' object has no attribute 'channel_buffer'
20:19:25     weechat =!= | python: error in function "join_command_cb"
20:19:25     weechat =!= | irc: command "query" must be executed on irc buffer (server or channel)

I had the same issue when I had a server_alias set. With the alias /query and /slack text would only work from the server's buffer.

Good catch, this does indeed seem related to server_alias, I have a proposed fix in PR #173.  Can you test and see if it resolves the problem for you?

Sorry for the delay. I can verify the issue has been resolved. I will use that branch for a few days and report any problems.


support s3 monitoring via accesskey/secrectkey

Summary

#8

i'm developing a separate probe for S3 with more standards client libs than gfal2/davix


Rendered manifests contain a resource that already exists. Unable to continue with install

I am trying to install prometheus-operator with fluxcd helm-operator, but it fails with the error:
ts=2020-03-20T17:14:14.437960577Z caller=release.go:216 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 error="Helm release failed" revision=8.12.3 err="failed to upgrade chart for release [prometheus-operator]: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: kind: PrometheusRule, namespace: monitoring, name: prometheus-operator-node-time"
ts=2020-03-20T17:14:14.438034394Z caller=release.go:221 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 info="uninstalling initial failed release so it can be retried"
ts=2020-03-20T17:14:14.448558466Z caller=release.go:227 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 error="Helm uninstall failed" err="failed to uninstall release 'prometheus-operator': uninstall: Release not loaded: prometheus-operator: release: not found"

Output of helm version:
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.7", GitCommit:"be3d344ed06bff7a4fc60656200a93c74f31f9a4", GitTreeState:"clean", BuildDate:"2020-02-11T19:24:46Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
OnPrem

transferring to helm/charts, as this appears to be a support question related to the prometheus-operator chart.

I'm getting a similar issue but with the Prometheus server.


Experimental or beta? README and official website conflicting

I followed the link in this repo's About section:
https://docs.solidjs.com/start/getting-started/what-is-solidstart

The info conflicts with each other so hope to see it clarified.
Cheers :)

Hi there, note that the Docs URL you visited is actually not our official documentation release. The language here is geared towards a future release. There's conflicting messaging because we're in the process of working on everything. I'll close out the issue for now, but thanks for bringing this to our attention. I've asked the docs team to post a msg on the platform identifying they are alpha docs.


[ZEPPELIN-5227] User can choose whether add empty paragraph when calling create note http api

What is this PR for?
When I call create note http api on zeppelin-0.9.0, a empty note without any paragraph was created, but I can't add paragraph on the note with zeppelin ui(https://issues.apache.org/jira/browse/ZEPPELIN-5227), so I put the "addingEmptyParagraph" parameter to the api message, user can add a empty paragraph when call create note http api, and won't add a empty paragraph for default.
What type of PR is it?
Improvement
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5227
How should this be tested?
CI
Unit Test
Screenshots (if appropriate)
Questions:

Does the licenses files need update? NO
Is there breaking changes for older versions? NO
Does this needs documentation? NO

@Bowen0729 Could you rebase the PR and rerun the CI ?

@Bowen0729 Could you rebase the PR and rerun the CI ?

sure,  on my way

@Bowen0729 CI is passed, PR title is not completed, could you update it ?

@Bowen0729 CI is passed, PR title is not completed, could you update it ?

how about now

LGTM

LGTM

Thanks a lot


fix: graphback/core - objectId scalar hex string check

Types of changes
What types of changes does your code introduce to Graphback?

[x] Bugfix (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 not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Other (please specify)

Checklist

[x] I have read the CONTRIBUTING document.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Verification

Two tests to check in scalars.test.ts;

should validate objectId as hex string
should not validate objectId as hex string

Further comments
Good day.
I would like to add additional objectId scalar check for hex string representation.
why: in some cases we can send ObjectId as hex string representation.
In such cases Graphback will fall as it will trying to check object but not string
This fix will add additional check for it.
Thank you for review!

@Arenukvern This have been open for long time. We could not merge it because this blocked our integration tests.

@Arenukvern This have been open for long time. We could not merge it because this blocked our integration tests.

Hi @wtrocki yes, sorry for long time.. Unfortunately cannot make integration test for this.
The initial reason of this PR was to try run GraphBack on frontend with Dexie as database instead of Offix, but unfortunately, because new versions of GraphqlRunner has some specific backend code, I was not able to run it at all:(

Thank you!


[BUG] Console errors when loading module

Setup

OS: Windows
Browser: Brave (Chromium)
Module version: 1.1.1
Foundry version: 10.285
Gaming system & version: PF2 4.0.4
Any other modules enabled: no

Console Log
tokenLayer.js:95 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'id')
[Detected 2 packages: SharedVision, monks-tokenbar]
at updateToken (tokenLayer.js:95:72)
at updateAllTokens (tokenLayer.js:120:9)
at initializeSources (misc.js:81:3)
at onCanvasReady (sharedvision.js:118:5)
at Object.fn (sharedvision.js:21:75)
at #call (foundry.js:688:20)
at Hooks.call (foundry.js:670:38)
at Canvas.draw (foundry.js:23578:13)
at async ScenePF2e.view (foundry.js:20803:7)
at async ScenePF2e.sceneView (monks-tokenbar.js:128:20)
at async Game.initializeCanvas (foundry.js:7966:20)
at async Game.setupGame (foundry.js:7804:5)
at async Game._initializeGameView (foundry.js:8877:5)
at async Game.initialize (foundry.js:7687:5)
updateToken @ tokenLayer.js:95
updateAllTokens @ tokenLayer.js:120
initializeSources @ misc.js:81
onCanvasReady @ sharedvision.js:118
(anonymous) @ sharedvision.js:21
#call @ foundry.js:688
call @ foundry.js:670
draw @ foundry.js:23578
await in draw (async)
view @ foundry.js:20803
🎁call_wrapped @ libWrapper-wrapper.js:511
sceneView @ monks-tokenbar.js:128
🎁call_wrapper @ libWrapper-wrapper.js:620
🎁Scene.prototype.view#0 @ libWrapper-wrapper.js:189
initializeCanvas @ foundry.js:7966
await in initializeCanvas (async)
setupGame @ foundry.js:7798
await in setupGame (async)
_initializeGameView @ foundry.js:8877
_initializeView @ foundry.js:8853
initialize @ foundry.js:7687
await in initialize (async)
🎁call_wrapped @ libWrapper-wrapper.js:511
🎁libWrapperInit @ libWrapper-api.js:805
await in 🎁libWrapperInit (async)
🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:187
window.addEventListener.once @ foundry.js:78804
tokenLayer.js:95 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'id')
[Detected 1 package: SharedVision]
at updateToken (tokenLayer.js:95:72)
at updateAllTokens (tokenLayer.js:120:9)
at initializeSources (misc.js:81:3)
at onReady (sharedvision.js:86:5)
at Object.fn (sharedvision.js:18:75)
at #call (foundry.js:688:20)
at Hooks.callAll (foundry.js:645:17)
at Game.setupGame (foundry.js:7826:11)
at async Game._initializeGameView (foundry.js:8877:5)
at async Game.initialize (foundry.js:7687:5)

This did not happen for quite some time and I forgot about it. Thanks for getting back to me/it, though. I posted that I had no other modules enabled and I would assume that I tested this using Find the Culprit back then. But the error I posted here includes Monk's Tokenbar, so maybe I botched that part back then?!

Yeah, the mention of Monk's Tokenbar is a bit suspect :p. In any case, if it only happens when loading the module I don't expect that this error should cause any real issues.
I'll close this for now, if it pops up again feel free to reopen this issue or create a new one.


Fix ECS tag collector lifecycle issue causing missing tags

What does this PR do?
The ECS tag collector only collects tags for containers it has not parsed yet, in order to reduce CPU usage. Combined to the tagstore's asynchronous behaviour, this is prone to a race condition where a container might have empty ECS tasks:

Containers A and B are running
User class retrieves tags for A
The tagstore does not have tags for A yet -> cache miss -> call to ECSCollector.Fetch
ECSCollector.parseTasks parses both A and B as new containers
ECSCollector.Fetch sends both A and B's tags to the tagstore's intake channel
before the tags for B are ingested by the tagstore, user class retrieves tags for B
cache miss -> ECSCollector.Fetch -> ECSCollector.parseTasks ignores B as it has already been parsed -> empty tags

The fix is to make parseTasks always parse the container Fetch is asked for, in order to ensure tags are returned for containers.
Same lifecycle issue as https://github.com/DataDog/datadog-agent/pull/2102 (Fargate tagging)

Hi!  We're exploring fargate and believe that we're running into this issue.
We have the following env var configured on the datadog/agent container:
DD_DOCKER_LABELS_AS_TAGS | {"com.nerdwallet.app": "app", "com.nerdwallet.cluster": "cluster", "com.nerdwallet.ecs_cluster": "ecs_cluster", "com.nerdwallet.region": "region", "com.nerdwallet.version": "version"}

And the following docker labels on the datadog/agent container:
Key | Value
-- | --
com.nerdwallet.version | 2.0.57
com.nerdwallet.region | us-east-1
com.nerdwallet.ecs_cluster | apps
com.nerdwallet.app | yak
com.nerdwallet.cluster | stage

Yet, none of the metrics emitted via the agent have these tags.
Is there any ETA on when a release will be pushed to docker hub with this fix included?

@borgstrom This PR is currently merged and slated for the 6.5.x release window.  We generally release the agent on a 6 week cycle, with the next release being targeted for early to mid September.  I see you filed a support ticket as well.  Let me chat with the team and get back to you on timelines.


Extend /var/lib/grafana/plugins/oci-datasource/dist/constants.js with all regions

Please extend these lines here in file  /var/lib/grafana/plugins/oci-datasource/dist/constants.js with all regions:
_export('regions', regions = ['ca-toronto-1', 'eu-frankfurt-1', 'uk-london-1', 'us-ashburn-1', 'us-phoenix-1'])
Thanks.

Hi @martinberger-ch,
Closing this issue since the oci-grafana-metrics plugin has been updated to include a much more complete list of regions in the referenced source code file as part of the 2.2.4 and 3.0.5 versions of the plugin.
Please try the updated oci-grafana-metrics plugin to determine if your issue was addressed to your satisfaction. Let us know if you believe the issue is still not addressed. If no response is received within 30 days, this issue will be closed.
Thanks


JBoss installation instructions

Codecov Report

Merging #488 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #488   +/-   ##
=========================================
  Coverage     64.32%   64.32%
  Complexity       68       68
=========================================
  Files           164      164
  Lines          6197     6197
  Branches        716      716
=========================================
  Hits           3986     3986
  Misses         1965     1965
  Partials        246      246

Continue to review full report at Codecov.

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


Error while installing unmanaged package

Facing below error while installing a package in sandbox but working fine in tailhaed playground org(T_C_FunctionalFlow__c-Framework Flow Layout) The ActionId specified was invalid for ActionType QuickAction.

Chatter and Notes are also enabled.


Submission folder has all black images

In the individual model output folders, I'm getting the correct outputs, i.e. there are buildings having different colors associated with their damage values.
But the submissions folder being created has all black images. I tried reading them using cv2 and all pixel values are indeed 0. Not sure how to proceed.

Hi, Please ready contest description carefully. For final submission used only 0-4 byte values - of course they are black/dark in image viewer. You can increase contrast or use another viewer.

you literally cannot increase the contrast if all of the pixel values are zero


Fix bug in parse_descriptive_date method in ach_file.rb

ACH::Data.parse does not exist updated it to Date.parse
tested out the functionality of the method locally and seems to work at parsing dates from ach files - would originally be something like - "240108" into Mon, 08 Jan 2024 (when using Date.parse)
This seems to be a typo - before it was ACH::Data.parse it was Data.parse (should have probably been Date.parse)

Hi @henriquegasques our team noticed this bug in the ach gem and are looking to contribute to it, please let me know if there is anything else you need from our end 🙏🏼

@henriquegasques just wanted to bump this in case you have not seen it yet 🙏🏼

@jkaufman638 Thanks for the contribution! I'll release a new patch


Updated authors to link to GitHub users and removed inaccurate publish…

… dates

@ardalis @Rickandmsft @MikeWasson  Please review.

@DamianEdwards

:shipit:

:shipit:


fix optional test locations

move format tests to their own directory, for consistency
move non-format tests out of the format directory that were put there by mistake

These kinds of changes are backwards incompatible and intrusive, so we should be careful with them, but I've been aware of the need for this particular one since the folder structure was added to later drafts (truthfully it was probably best in retrospect to not have done that, but too late)...
Will review this carefully but yeah we should be careful with this kind of change in general.

This is mostly to fix a mistake I made a few weeks ago in #365 - not all the tests were "format"-related, doh!

Sorry -- I clicked the button a bit too quick there -- I'd rather not split up the ecmascript-regex tests -- they all should live in one place I think. It's one unit of functionality (whether an implementation supports or doesn't support an ECMA regex engine). It's true something can support that but not support format, but that's exceedingly unlikely I think.
So would rather we move the entirety of that file back where it was before, including the format-relevant pieces, so that it's all in once spot. Thoughts welcome though.

I have no strong feelings either way. Do you want them all under format/, or outside of it?
I'm not even sure if those ECMA 262 tests are accurate -- @ChALkeR had something to say about that recently.

I'd prefer outside it I think, just by a bit (since that's how it was "before").
And yes merging this will conflict with @ChALkeR's PR but they'll forgive us :) we can fix the merge conflict if need be, before or after review.

ok, done. I'll clean up the commits and rebase to master when it's approved.


Added primitive collision elements to Jaco arm.

I had some time, so I did the cherry-picking mentioned in https://github.com/Kinovarobotics/jaco-ros/issues/46 for you.

Thanks, I will soon look at it.


Feature - Scorecard identify Expression injection in Actions

Is your feature request related to a problem? Please describe.
Scorecard should identify Expression injection in Actions https://github.com/github/codeql/blob/main/javascript/ql/src/experimental/Security/CWE-094/ExpressionInjection.ql
This is already handled by this go library which we could use https://github.com/rhysd/actionlint/blob/f05f9da49f93decc2ac8e61b1f951ed19b7303a7/expr_insecure.go#L96
Related to #989

@laurentsimon FYI...

We have this issue https://github.com/ossf/scorecard/issues/426 that suggest writing a more comprehensive number of checks for GH workflows. Let me close this one and link to it in the other one.

I think @asraa has implemented this now. Can we close this?

Yep, looks like it's covered from untrusted code checkout.


doc: improved usage documentation

added minimal usage example in README
added availability data

@aclima93 any thoughts?

Phenomenal!


titleize() works unexpectedly on strings with all caps

I was expecting the titilize method to return "Title Case" for the string "TITLE CASE".  Instead, it stayed all caps.  I had to call toLower, then titleize to get the desired result.

Thanks for pointing that out! Looking at the rails titleize source, your expected behavior is correct, since underscore converts to lower case:
# File activesupport/lib/active_support/inflector/methods.rb, line 133
def titleize(word)
  humanize(underscore(word)).gsub(/\b(?<!['â`])[a-z]/) { $&.capitalize }
end

Would you like for me to create a pull request? I've never done it before but I'm not opposed to trying.

I'm actually not sure where I stand on this change, to be honest. I kinda like that:
'i like to watch DVDs at home' => 'I Like to Watch DVDs at Home'
// Rather than
=> 'I Like to Watch dvds at Home'

@stevenmusumeche I'm thinking this should be fixed to be inline with other libraries. However, while it's a bug, it may be a breaking change requiring a new major version to maintain semver.

Understood. Would you like me to create a PR now?

If you'd like to! Otherwise I'll be working on it today or tomorrow. Please target the 2.0.0 branch if you decide to, as it's a breaking change.

Fixed in https://github.com/danielstjules/Stringy/commit/fa22b94abfb9ef2fab829d874183257ab9d8c553
Thanks again!

:+1:


IgnoreCase NameMatchingStrategy

It looks like there's no functionality to map differently cased fields with without underscores.
For example, using the Flexible strategy, FOOBAR will map to Foobar, but not FooBar. This is due to it being treated as one word for PascalCase matching. Not sure if it was intentionally excluded or is already possible somehow, but it would be useful IMO to have an IgnoreCase matching strategy, which would match FOOBAR to FooBar, fOObAR, foobar etc.
I've implemented this on my build, and it seems to be a fairly simple addition. However, I'm unaware of how it might affect performance, other than OrdinalIgnoreCase giving a faster string comparison.
In NameMatchingStrategy.cs, add an IgnoreCase property:
public bool? IgnoreCase { get; set; }

public void Apply(NameMatchingStrategy other)
{
    if (this.SourceMemberNameConverter == null)
        this.SourceMemberNameConverter = other.SourceMemberNameConverter;
    if (this.DestinationMemberNameConverter == null)
        this.DestinationMemberNameConverter = other.DestinationMemberNameConverter;
    if (this.IgnoreCase == null)
        this.IgnoreCase = other.IgnoreCase;
}

public static readonly NameMatchingStrategy Exact = new NameMatchingStrategy(Identity, Identity);
public static readonly NameMatchingStrategy Flexible = new NameMatchingStrategy(PascalCase, PascalCase);
public static readonly NameMatchingStrategy ToCamelCase = new NameMatchingStrategy(CamelCase, Identity);
public static readonly NameMatchingStrategy FromCamelCase = new NameMatchingStrategy(Identity, CamelCase);
public static readonly NameMatchingStrategy Caseless = new NameMatchingStrategy(Identity, Identity, true);

public NameMatchingStrategy(Func<string, string> sourceMemberNameConverter, Func<string, string> destinationMemberNameConverter, bool ignoreCase = false)
{
    SourceMemberNameConverter = sourceMemberNameConverter;
    DestinationMemberNameConverter = destinationMemberNameConverter;
    IgnoreCase = ignoreCase;
}

public NameMatchingStrategy()
{
}

I also added a constructor here to allow the IgnoreCase property to be specified independently of the templates.
In ValueAccessingStrategy.cs, PropertyOrFieldFn, use .Equals() with StringComparison instead of ==:
return members.Where(member => strategy.SourceMemberNameConverter(member.Name).Equals(destinationMemberName,
    strategy.IgnoreCase == true ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal))
    .Select(member => member.GetExpression(source))
    .FirstOrDefault();

GetMethodFn and DictionaryFn would also require this.
When setting the NameMatchingStrategy (using GlobalSettings, for example) you can then do something like this:
TypeAdapterConfig.GlobalSettings.Default.NameMatchingStrategy(
    new NameMatchingStrategy(NameMatchingStrategy.Identity, NameMatchingStrategy.Identity, true));

Thanks for the codes, I can add supports for ignore case later.
For now, could you do something like
Func<string, string> toLower = s => s.ToLower();
TypeAdapterConfig.GlobalSettings.Default.NameMatchingStrategy(
    new NameMatchingStrategy {
        SourceMemberNameConverter = toLower,
        DestinationMemberNameConverter = toLower
    });


Change the object with Owned Entities. properties replacement.

EntityFramework changes the properties of the new Owned object to the properties of the old object in the "Add" operation. The same thing happens with "Attach" action.
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;

namespace UnitTest.OwnedEntities
{
    public class Book
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public Author Author { get; set; }
    }

    [Owned]
    public class Author
    {
        public string Name { get; set; }

        public string Description { get; set; }
    }

    public class OwnedEntitiesDemoContext : DbContext
    {
        public OwnedEntitiesDemoContext(DbContextOptions options) : base(options) { }

        public DbSet<Book> Books { get; set; }
    }

    [TestClass]
    public class OwnedEntitiesTest
    {
        public static DbContextOptions<OwnedEntitiesDemoContext>
            CreateNewContextOptions(string databaseName)
        {
            var serviceProvider = new ServiceCollection()
                .AddEntityFrameworkInMemoryDatabase()
                .BuildServiceProvider();

            var builder = new DbContextOptionsBuilder<OwnedEntitiesDemoContext>();
            builder.UseInMemoryDatabase(databaseName)
                .UseInternalServiceProvider(serviceProvider);

            return builder.Options;
        }

        [TestMethod]
        public void Owned_Entities_Update()
        {
            var options = CreateNewContextOptions("Owned_Entities_Update");
            using (var context = new OwnedEntitiesDemoContext(options))
            {
                var book = new Book
                {
                    Name = "The Sun also Rises",
                    Author = new Author
                    {
                        Name = "Ernest Hemingway",
                        Description = "Poor Faulkner. Does he really think big emotions come from big words?",
                    }
                };

                context.Books.Add(book);
                context.SaveChanges();
            }

            using (var context = new OwnedEntitiesDemoContext(options))
            {
                var oldBook = context.Books.FirstOrDefault();
                //context.Entry(oldBook).State = EntityState.Detached;
                context.Books.Remove(oldBook);

                // change book
                var newBook = new Book
                {
                    Id = oldBook.Id,
                    Name = "Alice's Adventures in Wonderland",
                    Author = new Author
                    {
                        Name = "Lewis Carroll",
                        Description = null
                    }
                };

                Assert.AreEqual("Alice's Adventures in Wonderland", newBook.Name);
                Assert.AreEqual("Lewis Carroll", newBook.Author.Name);
                Assert.IsNull(newBook.Author.Description);

                //context.Books.Attach(newBook);
                context.Books.Add(newBook);

                Assert.AreEqual("Alice's Adventures in Wonderland", newBook.Name);
                Assert.AreEqual("Lewis Carroll", newBook.Author.Name); // <-- error
                Assert.IsNull(newBook.Author.Description); // <-- error

                context.SaveChanges();
            }
        }
    }
}

Further technical details
EF Core version: Version="2.1.1"
Database Provider:
"Microsoft.EntityFrameworkCore.InMemory" Version="2.1.1"
"Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.1"
Operating system: Windows
IDE:  Visual Studio 2017 15.7

Аfter the actions "Add" and "Attach" Owned Entities of the new object are replaced with Owned Entities of the old object.

Duplicate of #12118


[BUG]

Describe the bug
Firefox doesn’t open when I click on links even though I have Firefox as my default browser.
To Reproduce
Steps to reproduce the behavior:

Make Firefox your default browser
Click on a link

Expected behavior
When I click on a link it should open Firefox, not Safari
Screenshots

Extra Info

Device model: iPhone XS
iOS version: 13.5
Evil Scheme version: 0.1.0

Thanks for the bug report. Just to clarify, have you applied your settings by pressing the Save button on the top right corner of the primary preference pane?

I’m pretty sure but I’ll try again.
On Tue, Jun 2, 2020 at 10:46 AM Lorenzo<EMAIL_ADDRESS>wrote:

Thanks for the bug report. Just to clarify, have you applied your settings
by pressing the Save button on the top right corner of the primary
preference pane?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LorenzoPane/EvilScheme/issues/7#issuecomment-637590439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC56UMQL7SSHVT4TQF3ERZ3RUUGDTANCNFSM4NQNVBUA
.

So aparently I didn’t, clicked save and it started working. However, upon
clicking links in gmail it opens up the browser inside gmail (safari), is
there a way to open up Firefox instead?
On Tue, Jun 2, 2020 at 12:22 PM HYPExMon5ter<EMAIL_ADDRESS>wrote:

I’m pretty sure but I’ll try again.
On Tue, Jun 2, 2020 at 10:46 AM Lorenzo<EMAIL_ADDRESS>wrote:

Thanks for the bug report. Just to clarify, have you applied your
settings by pressing the Save button on the top right corner of the
primary preference pane?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LorenzoPane/EvilScheme/issues/7#issuecomment-637590439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC56UMQL7SSHVT4TQF3ERZ3RUUGDTANCNFSM4NQNVBUA
.

The correct browser should be opened when you tap the safari icon in the bottom right corner of internal browsers.


[tts] add a close button to disable tts from the notification

An easier way to disable TTS would be nice. The difficulty with this feature is that there seems to be a bug in audio_service where the notification doesn't get dismissed when playing is set to false.
This issue is therefore probably quite difficult but would be a great way to learn about how flutter plugins are written.

Obsolete


Top button tooltips get stuck

The big blue buttons at the top can end up with their tooltips stuck open. This seems to happen because the keyboard focus and the mouse hover seem to be handled independently. If a button is selected (not activated) with the keyboard by pressing the tab key, the tooltip will pop up. Then if the focus is moved elsewhere by clicking the mouse, the tooltip will stay open.
This seems to particularly be an issue when using the settings menu. When the setting drawer closes, the settings button is focused. If focus is not redirected elsewhere quickly enough, the tooltip will open. Then when focus is redirected elsewhere with the mouse, the tooltip stays open.

https://github.com/palantir/blueprint/issues/4503

https://github.com/palantir/blueprint/issues/4503


fix error during provisioning - Unexpected templating type error

Don't know how to remove those two files, so I will do the change directly in the code and close this pull request.


Problems with power light and shutdown

Using a brand new Pi4 (1GB) + Retropie fresh install:
1. When safe shutdown is turned off

Power button works as it should, on turns on, light stays lit, off turns off, light goes off

2. When safe shutdown is turned on + script is installed

Power button turns on unit okay
Power light works for about 5 seconds... then stops working...
Power light turns off
Power button no longer does anything

What can I do to debug this more for you all? I'd like to troubleshoot my issue but I'm not sure where to start.

There are at least two issues nowadays when this script is used with Bookworm (or does Retropie not use that?):

/boot/config.txt has been moved to /boot/firmware/config.txt nowadays.
RPi.GPIO doesn't work correctly no longer, but a drop-in rpi-lgpio replacement has issues too. This script likely needs moving to gpiozero.

I don't use Retropie anymore, but those are the issues I encountered on the latest Raspberry Pi OS.


ui of admin page

some stuff to add later:
dialog pop outs for when you reject

Fix merge conflict

fixed the merge conflict

my fellow developers discussed and decided that Cali Jamail @https://github.com/MantokKa will add the dialog pop out for the reject button. this is the only change that will be made to the ui of the admin page. after that, we'll add the functionalities as posted by PO @aisha-abdulmanan (but the requirements were given on Thursday, so maybe next Sprint?)


System.Exception : 'Unexpectedly reached end of string' and System.Exception: Expected colon at index

I get the error when transforming the JSON returned from GetObjectHF to Object with fastJSON, but I think the error is related to raptorDB.
Here's the stack trace :
   System.Exception: Unexpectedly reached end of string
   à fastJSON.JsonParser.ParseString(Char* p, Boolean val)
   à fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
   à fastJSON.JsonParser.ParseObject(Char* p)
   à fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
   à fastJSON.JsonParser.ParseArray(Char* p)
   à fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
   à fastJSON.JsonParser.Decode()
   à fastJSON.deserializer.ToObject(String json, Type type)
   à fastJSON.deserializer.ToObject[T](String json)
   à fastJSON.JSON.ToObject[T](String json)

Here's my code:
    public class BaseRepository<T>
    {
        protected IRaptorDB DB;

        public BaseRepository(IRaptorDB DB)
        {
            this.DB = DB ?? throw new ArgumentNullException(nameof(DB));
        }

        protected virtual string Key { get; }

        public T GetObjectFromKeyStore()
        {
            IKeyStoreHF keystore = this.DB.GetKVHF();
            object o;
            if (keystore == null)
                return default(T);

            o = keystore.GetObjectHF(Key);
            if (o == null)
                return default(T);

            return fastJSON.JSON.ToObject<T>(o.ToString());
        }

        public bool SetObjectToKeyStore(T obj)
        {
            IKeyStoreHF keystore = this.DB.GetKVHF();

            return keystore.SetObjectHF(Key, fastJSON.JSON.ToJSON(obj));
        }
    }

It happens randomly and re-writing the document without changing the JSON or deleting the DB folder and starting fresh fixes the issue, but it's not a solution.
What makes me think the problem is with RaptorDB and not fastJSON is that to me it's seems that the string returned by GetObjectHF is badly formatted.
Here's an example of a string that gives this error:
"[{"$type":"domaine.Engin, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null",
"XXXFIELD":"XXXX\\483deeab-1ce8-4c79-b45f-588785e0e1e4","Codes":"S50","Nom":"XNON  ","CodeDepot":null,"Marqueurs":"",
"Description":"S50 - MINIPELLE CATERPILLAR PAYEN  ","Code":"S50","RessourceOid":1139,"PlanningXXXFIELD":null},{"$type":"domaine.Engin, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=nu潬祲itaux ","Adresse":""},
{"$type":"1","XXXFIELD":"XXXX\\f704e193-95b5-4bc2-b427-115dbf5affac","Code":"530007","Nom":"530007 Chantiers \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
There are many more \0\0 in the end, I excluded to make it more readable.
System.Exception: Expected colon at index 29340
   à fastJSON.JsonParser.ParseObject(Char* p)
   à fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
   à fastJSON.JsonParser.ParseArray(Char* p)
   à fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
   à fastJSON.JsonParser.Decode()
   à fastJSON.deserializer.ToObject(String json, Type type)
   à fastJSON.deserializer.ToObject[T](String json)
   à fastJSON.JSON.ToObject[T](String json)

This is a related error that happens randomly but again, the JSON returned seems to be badly formatted.
"[{"$type":"domaine.Engin, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","XXXField":"XXXXX\\483deeab-1ce8-4c79-b45f-588785e0e1e4","Codes":"S50","Nom":"MINIPELLE CATERPILLAR PublicKeyToken=null","XXXField":"XXXXX\\49b3598a-fca5-43df-b262-7bc4eb9fb120","C"
I'd love some help.
Thank you in advance.

How big is the json object string?

I have 3 documents and the error has occurred on the 3 at different times:

"[{"$type":"domaine.Collaborateur, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null",
Around 12k characters

"[{"$types":{"domaine.Chantier, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null":"1"},"$type":"1","
Around 30k characters

"[{"$type":"domaine.Engin, domaine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
Around 28k characters

I'm using version 4.0.9 from nuget and my project compiles to netstandard and netframework
<PropertyGroup>
    <TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
</PropertyGroup>

And is your db shutting down properly after saves?

I use DB.Shutdown() when app is closed.

Is the problem time or number of inserts based?

I will write a test to insert and read multiple large objects to the HF store and let you know.

I haven't found a relation to when the problem happens.
I write the documents in the beggining of the day and only read them througout the day.
At some point, I get the error when reading the DB, but I haven't changed it.
I'll start fresh today and send logs later on if/when the problem happens.
Thank you very much for your help, I really appreciate it.

And if you need any other information, please let me know.

... ok, so you write the all the docs at the start, and only read docs until failure? absolutely no more writes during the day?

Not absolutely, it can happen here and there, but it's mainly reading to these documents.
I do writes though on another view, using DB.Save().

Ok, the problem is in reading multiple HF pages (invalid refs somehow), the cause could be when flushing free page list to disk, or page ref mangling...
Hopefully the test will show.

Here's how I set it up:
            Global.RequirePrimaryView = false;
            local.RegisterView(new ChantierView());
            local.RegisterView(new CollaborateurView());
            local.RegisterView(new EnginView());
            local.RegisterView(new MouvementView())

The HF storage file is independent to the view storage.

Have you tried:
return keystore.SetObjectHF(Key, obj); //fastJSON.JSON.ToJSON(obj));

Just tried but couldn't easily convert the object returned from GetObjectHF, since I'm using generics.
If you think it could solve the problem I can try refactoring to use it this way.

Ah I see.
My test is running until it breaks...

Is your app running in IIS?

No, it's an winform app, but I recover the data I insert in the documents from a WebService running on IIS.

Strange thing happened.
App was running with no issues.
You've talked about IIS, so I did what I do a couple of times a day, I restarted IIS with a new version of the webservice and then I got the error.
RaptorDB log is on pastebin : https://pastebin.com/MQnLzi3T
Tried to reproduce but couldn't.

It seems RaptorDB is not shutting down properly.

I can't reproduce the problem so far with the following code:
private void HFTest()
{
    var hf = rap.GetKVHF();
    var r = new Random();

    if (hf.CountHF() == 0)
    {
        hf.SetObjectHF("1", Faker.TextFaker.Sentences(r.Next(200) + 10) + "1");
        hf.SetObjectHF("2", Faker.TextFaker.Sentences(r.Next(200) + 10) + "2");
        hf.SetObjectHF("3", Faker.TextFaker.Sentences(r.Next(200) + 10) + "3");
        hf.SetObjectHF("4", Faker.TextFaker.Sentences(r.Next(200) + 10) + "4");
    }

    int j = 0;
    while (j++ < 10000)
    {
        //rap.FreeMemory();
        var k = (r.Next(3) + 1).ToString();
        if (j % 10 == 0)
        {
            hf.SetObjectHF(k, Faker.TextFaker.Sentences(r.Next(200) + 200) + k);
        }
        k = (r.Next(3) + 1).ToString();
        var o = hf.GetObjectHF(k);
        if ((o as string).EndsWith(k) == false)
            throw new Exception("invalid data");
        stsError.Text = "j = " + j;
        Application.DoEvents();
        Thread.Sleep(1000);
    }
    //
}

Ok, I've changed the way I shutdown the DB.
I'll see if there are any changes.

How you doing?

Got stucked with other stuff and couldn't test the app today. Should get back full time to it Monday or Tuesday and let you know.


Old documentation wiki

Would it be possible to activate the old wiki pages with the examples till the final release 1.0 is out. I think many are using the old api and do still need some documentation. Thanks for considering it.

The old documentation has been moved to http://jamesarmes.com/php-ews/0.1/. However, I would highly recommend updating to the latest beta as many issues have been resolved.

Saw that link already, but missed the select box on the side.


Force sending join/prune when there are no neighbors?

I have a PIM setup that runs over a one-way GRE tunnel with a static RP configured.  As far as I know, everything should work, except that pimd never sees Hello from the other end because the tunnel only carries outgoing traffic.
Can pimd be taught to send multicast join/prune messages even though it doesn't see any neighbors?

As far as I know, no. The multicast messages passed between the routers is there to figure out what to forward between them ... you also need the unicast routes setup, e.g. with OSPF or similar.

This would only work in the case where no one's actually sending encapsulated data.
In any event, it turns out that I tweaked my tunnel config, and all is well.  I'll close this.


Cleanup SMIRNOFF_simulation example

This PR should have Travis tests passing. It might require a few tweakings to the doctests still, but the example tests should run fine.

Codecov Report

:exclamation: No coverage uploaded for pull request base (topology@80c13fe). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             topology     #232   +/-   ##
===========================================
  Coverage            ?   73.16%
===========================================
  Files               ?       17
  Lines               ?     5139
  Branches            ?        0
===========================================
  Hits                ?     3760
  Misses              ?     1379
  Partials            ?        0

Continue to review full report at Codecov.

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


Nasty LICENSE

Now the project inherits GPL-3.0 License from PWC which prevents adaptation of the library for some use-cases.
Probably will have to drop PWC support to make it MIT 😞

no longer an issue #112 ❤


Added verbosity

Adds a couple of progress messages, and make capitalization of such messages consistently lowercase.

Why was this closed it not merged?

On March 7, 2015, at 9:54 PM, Jeff Frost<EMAIL_ADDRESS>wrote:

Why was this closed it not merged?

Because that pull request was stale; it went unmerged for a while, and master got ahead of it. I just finished a proper merge of the latest master into added-verbosity. I'm going to submit a new pull request now.
--
Quinn Weaver
PostgreSQL Experts, Inc.
http://pgexperts.com/ http://pgexperts.com/
1-888-743-9778 (my extension: 510)


portus: added Docker secrets support

See SUSE/Portus#1700
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

Tested locally


Dataset access?

Hello,
Could you please share the dataset used to train the models, or let me know how I can obtain it?
(I have written to the address in the readme and gotten no response.)
Thank you.

Can you send a follow-up email to the email in the README (webdipmod (at) gmail.com) and add me in cc (pcpaquette (at) gmail.com). We are all quite busy, so it might have fell between the cracks.

Can you send a follow-up email to the email in the README (webdipmod (at) gmail.com) and add me in cc (pcpaquette (at) gmail.com). We are all quite busy, so it might have fell between the cracks.

I will do this. Thank you for your help.

I will do this. Thank you for your help.


[CCXDEV-12001] Update builder image

Same as https://github.com/RedHatInsights/insights-results-smart-proxy/pull/1223 but using ubi9.

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

Comparison is base (b97e723) 71.20% compared to head (9bea5de) 71.20%.

:exclamation: Current head 9bea5de differs from pull request most recent head bb1c376. Consider uploading reports for the commit bb1c376 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1229   +/-   ##
=======================================
  Coverage   71.20%   71.20%
=======================================
  Files          25       25
  Lines        3963     3963
=======================================
  Hits         2822     2822
  Misses        860      860
  Partials      281      281

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


tMovie 0.2

tMovie - Video Tweet
0.1 basic support
0.2 split added
Usage: tMovie <filename> <"tweet text">
bash script to automate twurl usage creating tweets with video on simple base.
note: jq require. tested with bash-ubuntu

This might make more sense as an example?
We also probably don't want to create a dependency on jq even with the hack for 64-bit ints in place. Twitter is about to finish it's migration of all major objects to 64-bit integer based identifiers and jq will become pretty much unusable until they address the issue (currently not on the roadmap at all).

@VitaliyKulikov here's a modified version built on yours that splits and chunks correctly for APPEND calls.
https://gist.github.com/brandonblack/bb3feaff9f0a2cad2d74

@brandonblack patched.
agreed - this script can be as example)


Add tests to package

Description
The library currently lacks tests to ensure its functionality and reliability. It would be beneficial to add tests to the package, covering important functionalities and components.
Suggested Steps

Write unit tests for reducers, state store, and other components.
Write UI tests and integration tests combining main components
Add instructions to the README.md file on how to run the tests

Let me know if there's anything I left out!

Done


Add environment variable ICICLE_CC_OPTIONS

This will allow us to have warnings as errors on our dev boxes (read: with clang), even though we want icicle to be more forgiving when used with gcc.
For example:
export ICICLE_CC_OPTIONS="-Werror -Weverything"

Should we set default options to -Werror, and just change the env variable when building on boxes? I'd like Werror to be on whenever possible...
Alternative detect if CC is GCC and print "lol" (savages).

Hmm I'm really not sure, probably hard to build without warnings across all random C compilers, not sure though, I could be convinced

Perhaps just Werror for clang? It's useful when running tests that generate C

Yeah definitely, that's really why I added this in the first place, although I'm hoping we can use it for stuff like turning on ASAN or extra debug info which we've #defined out too

For reference
ASAN_OPTIONS="symbolize=1:color=always" ICICLE_CC_OPTIONS="-fsanitize=address -fno-omit-frame-pointer" lldb ./dist/build/test/test
(lldb) run
... busy ...
... stops ...
(lldb) continue

when ASAN option is used, actually run ice in lldb and send it commands?

fantastic :+1:


Optimizing the virtual scrolling problem of data source detail list

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

close #3753


False positive: C402 Unnecessary generator - rewrite as a dict comprehension.

test.py
s = 'a=1,b=2,c=3'
d = dict(pair.split('=') for pair in s.split(','))
print(d)

(venv) $ flake8 test.py
test.py:2:5: C402 Unnecessary generator - rewrite as a dict comprehension.

Expected no warnings or errors.
This can't be conveniently rewritten as dict comprehension becuase pair.split('=') is an expression, not a simple value. In some cases the expression may be expensive and unwise to execute and index twice.
Discovered by running against the Django code base:
https://github.com/django/django/blob/f3427ccb25806bb062becad0d6a0904930b36635/django/contrib/auth/hashers.py#L381

Aha, I'm sure we can just tighten C402 to look for a two-tuple as the part of the generator before recommending a dict comprehension

There was another line discovered in the Django code by this package that wasn't exactly a 2-tuple, but was easy to convert to dict comprehension. So I hope a fix for this doesn't create a new false negative.
From Django:
old_options = dict(
    option for option in old_model_state.options.items()
    if option[0] in AlterModelOptions.ALTER_OPTION_KEYS
)

Can be rewritten as dict comprehension:
old_options = {
    key: value for key, value in old_model_state.options.items()
    if key in AlterModelOptions.ALTER_OPTION_KEYS
}

As I wrote in review of #53 and have followed up on in #54, we can't in general convert non-2-tuple generators to dict comprehensions. The example you found there is easier to leave as a false negative, which I think is preferable to leaving the plugin open to more false positives. The exact example could theoretically be spotted with a rule to match .items() and then spotting the items themselves are being yielded from the generator untouched, but it's quite complicated.


CH56x_uart.h: add missing include of CH56xSFR.h

This is needed if user uses UART0_RecvByte macro for instance.

Thanks for your contribution


AuthenticationHelper should use async version of AcquireToken

The AuthenticationHelper in this sample is using AcquireToken instead of AcquireTokenAsync. This is not a high priority issue but given that this is a sample that many people use as reference I believe it's worth fixing.
I'm planning to submit a pull request with a proposed fix soon.

Close this since equivalent changes have already been made on the sample (PR #37)


Enable HIDE_SYMBOLS_BY_DEFAULT + patches

🎉 New feature
Part of https://github.com/gazebosim/gz-cmake/pull/392 and https://github.com/gazebosim/gz-cmake/issues/166.
Summary
The PR enables the HIDE_SYMBOLS_BY_DEFAULT option and patch the failures found during the build on Linux.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

it looks like https://github.com/gazebosim/gz-sensors/commit/fbdc8874ee7457a4a9463e08880de34f6d05e3bd already got pushed to main?
the changes look fine to me

it looks like https://github.com/gazebosim/gz-sensors/commit/fbdc8874ee7457a4a9463e08880de34f6d05e3bd already got pushed to main?

Yep, maybe an accidental push to main?  Changes look fine, I'm closing this out.


Modify one unit test code and the whole project source code are recompiled

Originally reported on Google Code with ID 66
What steps will reproduce the problem?
1. Add one unit test: SampleUnitTest.java to one sample project and run 'mvn test -Dtest=SampleUnitTest'
2. Revise one unit test source code: SampleUnitTest by adding some spaces or cartiridge
return.
3. Run 'mvn test -Dtest=SampleUnitTest' again

What is the expected output? What do you see instead?

The expected output is that only the revised code: SampleUnitTest.java is recompiled.
What I saw is: 37 scala code and 337 java sources are recompiles just by this minor
change.

What version of the product are you using? On what operating system?

I am using 1.0.0-alpha8 for play2.plugin and 1.0.0-beta4 for sbt-compiler.plugin The
operating system is: window 2008 server.

Please provide any additional information below.

Reported by dongyu1 on 2015-04-13 18:19:08

User was using maven-antrun-plugin to run Ebean enhancement using com.avaje.ebean.enhance.ant.AntEnhanceTask. After this enhancements all model classes were changed, but there was no information about this in incremental compilation cache file ('target\cache\compile') because Ant task knows nothing about it.
The solution is to use play2:ebean-enhance goal. It properly updates incremental compilation cache file.


license

What is the license of the project ?

Apache 2.0, now we updated the license. Thank you for reaching out.


error : Retention policy not found: default

Directions
I want to write test by connecting the influxdb and telegraf.
The installation influxdb, telegraf was completed, However, when start the program, receive the error message
Bug report
OS : Ubuntu 14.04
InfluxDB  : v 1.0
telegraf  : v 0.13

InfluxDB installation (v 1.0)
Telegraf installation (v 0.13)
Configure telegraf.conf file (input : StatsD, output : influxDB)
(configure it to use input StatsD and output Influxdb (etc/telegraf/telegraf.conf))

 [[inputs.statsd]]
#   ## Address and port to host UDP listener on
    service_address = ":8125"
#   ## Delete gauges every interval (default=false)
    delete_gauges = true
#   ## Delete counters every interval (default=false)
    delete_counters = true
#   ## Delete sets every interval (default=false)
    delete_sets = false
#   ## Delete timings & histograms every interval (default=true)
    delete_timings = true
#   ## Percentiles to calculate for timing & histogram stats
    percentiles = [90]
#
#   ## separator to use between elements of a statsd metric
   metric_separator = "_"
#
#   ## Parses tags in the datadog statsd format
#   ## http://docs.datadoghq.com/guides/dogstatsd/
   parse_data_dog_tags = false

#   ## Statsd data translation templates, more info can be read here:
#   ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md#graphite
   templates = [
        "* measurement.field"
   ]
#
#   ## Number of UDP messages allowed to queue up, once filled,
#   ## the statsd server will start dropping packets
    allowed_pending_messages = 10000
#
#   ## Number of timing/histogram values to track per-measurement in the
#   ## calculation of percentiles. Raising this limit increases the accuracy
#   ## of percentiles but also increases the memory usage and cpu time.
    percentile_limit = 1000

4. Execute influxdb and telegraf , The error is occured
1) telegraf status
2016/08/30 22:27:50 ERROR: {"error":"retention policy not found: default"}
2016/08/30 22:27:50 Error writing to output [influxdb]: Could not write to any InfluxDB server in cluster
2016/08/30 22:28:00 Output [influxdb] buffer fullness: 6945 / 10000 metrics. Total gathered metrics: 6945. Total dropped metrics: 0.
2016/08/30 22:28:00 ERROR: {"error":"retention policy not found: default"}
2016/08/30 22:28:00 Error writing to output [influxdb]: Could not write to any InfluxDB server in cluster
2016/08/30 22:28:10 Output [influxdb] buffer fullness: 6986 / 10000 metrics. Total gathered metrics: 6986. Total dropped metrics: 0.
2016/08/30 22:28:10 ERROR: {"error":"retention policy not found: default"}
2016/08/30 22:28:10 Error writing to output [influxdb]: Could not write to any InfluxDB server in cluster

2) influxdb status
[httpd] ::1 - - [30/Aug/2016:22:27:50 +0900] "POST /write?consistency=any&db=telegraf_database_v10&precision=s&rp=default HTTP/1.1" 500 72 "-" "InfluxDBClient" 8c388a01-6eb5-11e6-81c7-000000000000 8570
[httpd] ::1 - - [30/Aug/2016:22:28:00 +0900] "POST /write?consistency=any&db=telegraf_database_v10&precision=s&rp=default HTTP/1.1" 500 72 "-" "InfluxDBClient" 922eb8fd-6eb5-11e6-81c8-000000000000 7224
[httpd] ::1 - - [30/Aug/2016:22:28:10 +0900] "POST /write?consistency=any&db=telegraf_database_v10&precision=s&rp=default HTTP/1.1" 500 72 "-" "InfluxDBClient" 9824a048-6eb5-11e6-81c9-000000000000 5867

Try upgrading your Telegraf version. We updated the name of the default retention policy and Telegraf needed to be updated so it didn't hard code default as the retention policy.

Closing this since it seems to be an issue with using an old version of Telegraf.

Thank you @jsternberg  I solved the problem!

Had this same error recently running Influxdb 1.2.2 after upgrading my Logstash output plugins. Added the retention_policy => "default" line in my logstash pipeline which fixed the issue. See my pipeline below
filter {
metrics {
meter => "events"
add_tag => "metric"
}
}
output {
# only emit events with the 'metric' tag
if "metric" in [tags] {
file {
path => "/var/log/logstash/metrics.log"
codec => line {
format => "1m rate: %{[events][rate_1m]} ( %{[events][count]} )"
}
}
influxdb {
coerce_values => { '1m' => 'float'
'5m' => 'float'
'15m' => 'float'
'count' => 'integer' }
data_points => { "hostname" => "hostname"
"nodetype" => "ingest"
"1m" => "%{[events][rate_1m]}"
"5m" =>"%{[events][rate_5m]}"
"15m" => "%{[events][rate_15m]}"
"count" => "%{[events][count]}" }
send_as_tags => [ "hostname", "nodetype" ]
host => "hostname"
retention_policy => "default"
}
}


Steps to run it

Please mention the steps to run it as there are some dependencies which are not working

Please mention the steps to run it as there are some dependencies which are not working

Ok give me time I'll do it.

Where is
decrypt_functionality.py
where is
frontend to be imported
etc


fix: Windows platform worker group does not find an AMI

…ecause the local will never resolve a windows AMI from the linux platform.
PR o'clock
Description
Set a windows platform on the worker groups fails, unable to set an AMI. This is due to a windows lookup from a linux map.
Checklist

[ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

I think you're changing the default behavior of the module. The default platform is Linux. To deploy windows box, you have set platform=windows in the corresponding worker group right ?

I think I understand your issue now. The PR breaks workloads where uses changed the default plateform value.
Am I correct ?

I think I understand your issue now. The PR breaks workloads where uses changed the default plateform value.
Am I correct ?

@barryib - yes. If defaults are used, or the worker group platform is set to "linux", it works. however, if this is overridden to "windows", then it fails, because a windows ami lookup never gives a result, due to looking for a windows AMI in a linux AMI map.
I tested locally: a linux deployment works, and overriding to windows results in:
aws_launch_configuration.workers[0]: Creation complete after 5s [id=REDACTED]

@barryib - an example of where this is breaking is that Windows platform EKS deployments with spotinst are not possible - https://github.com/spotinst/terraform-spotinst-ocean-eks. We reference this module which has some version pinning in it (~> 16.0) and our EKS deployments are blocked because of this until this fix is in.
This is the value that is passed through to the module:

variable "workers_group_defaults" {
  type = map

  default = {
    platform             = "windows"
    root_volume_type     = "gp2"
  }
}

Replaced by https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1413


Basic E2E Test to make usre pages load

Via Playwright

Added playwright. Will be doing full basic tour tests.

Completed in 0827d3


Editor not saving?

Not sure if this is just me, but files in editor aren't saving at all. No errors are outputed in json console or in the server cmdline window.
On a similar note, "Editor Save" says the control is "Cmd-S", even though I'm on a linux box. I'm guessing "Cmd/Ctrl" should be changed based on keyboard layout or OS?

Hi @metaperture, I apologize for the delay.  I can confirm that files in the editor are saving for me, using the top level menu and the Cmd-S shortcut on OSX.  I'm not sure why it is rending as Cmd-S, the shortcut is defined as Accel-S, which should use Cmd on OSX and Ctrl on Windows/Linux.
Are you able to save files using the text editor in jupyter notebook?

Hi all, I came across a similar issue where the save didn't work. I was editing a markdown file while simultaneously viewing it it in rendered format. In fact once I got into this state I couldn't save any of the files I create. There were no errors in the terminal window. The key mappings was correct though.
Restarting the lab solves the issue. Notebook works fine.
Platform: Ubuntu 16.04

@shekkizh - Restarting the lab and trying to do what you were doing (editing and previewing the file side by side) worked?

@jasongrout The issue didn't occur again after restarting and redoing what I was doing earlier.

Closing for now. Please let us know if anyone runs into this issue again and we can re-open this.


Datepicker - form is invalid with Long or String values

After setting a Long or String value to the ng-model of a datepicker, the form $invalid value is set to 'true'. Please see this Plunkr for a demo of this behaviour: http://plnkr.co/edit/L4MpJxYB0OYkn80FB9hw
I'm not sure if this is the intended behaviour, but it seems rather odd that the input text value is formatted correctly to a Date, but the form is set to invalid.
Any thoughts? Thanks!
P.S. It's funny that the only time when the form seems to be valid is when the 'dd.MM.yyyy' formatting is not applied, when setting the Date value.

I think this issue is related to this pull request.

I believe this issue is currently fixed in master - see the forked version of that Plunker based on current master here.
Let us know if this is still an issue.

Hi @wesleycho, thanks for your input.
In your new plunkr, the date input is no longer formatted when String and Long values are set. Also, the  openStartDate($event) button on the right does not work anymore. When running the plunkr, the JS console is throwing an error: "TypeError: Cannot read property 'initDate' of undefined"
Is this expected behaviour? I see that ui-bootstrap.js version is 0.13.1-SNAPSHOT, so I'm guessing not all issues have been ironed out?
In conclusion, what I'd like to know is if I can expect the datepicker to accept the String and Long values as valid values, and if the validity will be reflected by the form $invalid value.
Thanks a lot!

Hmm, so it looks like

I will take a look at that today then.

I updated the Plunker and removed the datepicker-options attribute there, since it was set to undefined. It appears that the formatting works, but the validation is not right when the number is set to a string representation. This would be buggy behavior here still and is a legitimate issue.

I'm thinking we should consider dropping support for any input type that can't be parsed using the date format available described in https://docs.angularjs.org/api/ng/filter/date .
The reason for this is that this violates the idea of the date format. The format can't be used for parsing and if it's used for output, it makes the output/input asymmetric (input is number, output is string). That's quite confusing because then it's hard to define what's the output of the directive. It also violates the principle of least surprise (you put a number in the model, and applying a directive makes it into a string after modification of the field, try that on the Plunker here).
Adding a custom format string for unix timestamps is one way to do this. However, I think Unix timestamp support should be handled separately as a separate directive, via a parser/formatter.

As we dropped date support that is not parsed by the dateparser, this ticket is now resolved as far as this particular request goes.
On the TODO list is to allow users to use their own model for dates, which is encapsulated by #4093.


$ref escape characters do not work as per the openapi spec when resolving

Detailed description
This appears to be a bug in the resolve function.
As per the docs here:
https://swagger.io/docs/specification/using-ref/
the only 2 things that should be escaped in a $ref are "~" and "/".  When I execute a resolve paths that include path params escape the curly braces as well and I end up with refs that looks like :
- $ref: "#/paths/~1blah~1%7BblahId%7D/put/parameters/1"
- $ref: "#/paths/~1blah~1%7BblahId%7D/put/parameters/2"
Note the %7B and %7D in the paths which should still be "{" and "}" respectively
Context
Why is this change important to you? How would you use it?
This is a bug and causes imports into other utilities of the fully resolved yaml to fail (postman specifically)
How can it benefit other users?
Possible implementation
N/A
Your environment
Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

Node Version:
Operating system and version (e.g. Ubuntu 16.04, Windows 7):
Link to your project:
...
...

This is not a bug in oas-kit (Speccy's resolver). See https://github.com/OAI/OpenAPI-Specification/issues/1677

Thanks for the update @MikeRalphson.  It looks like Postman does not handle this correctly and I have opened an issue with them referencing OAI/OpenAPI-Specification#1677.  Based on what you point to here this can probably be closed out as speccy is functioning consistent with the spec.

Thanks.


recent versions are missing

Hello.
my mirror is running but users are not getting lastest versions.

Using local-npm 2.2.2
npm --version   =>  3.10.10
node --version  =>  v6.12.0

For exemple on "bytes"
Last version is 3.0.0 (on https://www.npmjs.com/package/bytes, https://github.com/visionmedia/bytes.js)
But local-npm is only serving 2.5.0

I suppose that if package.json requests a latter version of a package, local-npm should fetch and cache it. I see some activity of refresh every second in the log.
On the developer side, if node_modules is rm, already cached packages are loaded OK until requesting some recent version.
On the developer side, if we npm set registry https://registry.npmjs.org, all dependencies are normaly fetched. (including bytes 3.0.0)
Am i missing something ?
Thx for your application.

Looks like this is a bug, it should be fetching the version you are asking for. If you specify 3.0.0 in the npm install it should go and fetch the new version even if it has a cached version.

We are having the same problem!! the local-npm stop fetching from the remote registry just show the last version it fetch. Ex:  browserslist 4.7.3 when the newest version is 4.8.0


Applying force to views

Hi, i found your great Project and was amazed how quick this leads to cool looking results. After fiddling around a bit i was wondering how to apply a force to views. I want them to "fall" into the middle of the screen like there is the center of a huge mass. I'm trying to misuse the gravity property to simulate a force, but it would be nice to have an interface to the "bodys" of the box2d entitys.
Thanks for you work :)

Sry, i didn't really investigated your code. Clearly there is a simple way to do this
final Body viewBody1 = physicsRelativeLayout.getPhysics().findBodyById(R.id.view1);
viewBody1.applyForce(new Vec2(1000.4f, 1000.4f), new Vec2(0f, 0f));

sry for making the noise ;)

You got it! I am glad you found that, not sure if many people have found/used that. I wish the call could be a bit shorter, but alas, the price you pay for allowing the physics to be applied to any custom view :)


Production

Please check if the PR fulfills these requirements

[ ] It's submitted to right branch according to our branching model
[ ] It's right issue type on title
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has description for the breaking change

Description

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

Can one of the admins verify this patch?

I'm closing this PR because I don't know what this PR is meant to do. We don't merge production files into master branch. Please leave a comment if this PR has any other purpose.


bug report

 <!--
Have you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/atom/.github/blob/master/CODE_OF_CONDUCT.md
Do you want to ask a question? Are you looking for support? The Atom message board is the best place for getting support: https://discuss.atom.io
-->
Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Reproduces how often:

Versions

Additional Information

Big report

Big report

https://github.com/atom/atom/commit/3e156435ec1a9051b257dfa1ae2159f4f4071ab3?branch=3e156435ec1a9051b257dfa1ae2159f4f4071ab3&diff=split#commitcomment-46130327

https://github.com/atom/atom/commit/3e156435ec1a9051b257dfa1ae2159f4f4071ab3?branch=3e156435ec1a9051b257dfa1ae2159f4f4071ab3&diff=split#commitcomment-46130327

Closed #21878 https://github.com/atom/atom/issues/21878.
On Wed, 20 Jan 2021, 4:07 am Godson-debug<EMAIL_ADDRESS>wrote:

Closed #21878 https://github.com/atom/atom/issues/21878.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/21878#event-4224983997, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APN5ZUEL5UZW2A3LDHZHY2TS2YCTNANCNFSM4WJT6QYA
.

Closed #21878 https://github.com/atom/atom/issues/21878.
On Wed, 20 Jan 2021, 4:07 am Godson-debug<EMAIL_ADDRESS>wrote:

Closed #21878 https://github.com/atom/atom/issues/21878.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/21878#event-4224983997, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APN5ZUEL5UZW2A3LDHZHY2TS2YCTNANCNFSM4WJT6QYA
.


:completion vertico improvements

minor code reorganization
which-key embark indicator improvements
+vertico/search-symbol-at-point preview fix
bump packages
add consult-dir

@iyefrat There has been a change in vertico-repeat. The package does not activate itself anymore automatically:
https://github.com/minad/vertico/commit/ff63d353bef62a7c66834200a564a00d1a92c833#diff-42d2775dfb0ba97a32545981ad1df8d637721deb57d035f65bd5e56ed20b7725

@minad thanks. What was the reason for this change? Also, is vertico-repeat purposely not autoloaded now or is that a mistake?

It is better style this way, since the package does not autoactivate itself by only installing it.
I could also add an autoload to vertico-repeat, however the first time you run vertico-repeat without having started a vertico session before you will only get an error message.

See https://github.com/minad/vertico/commit/665660f91004e4c6aad1e18b9cdc256607228c42

Also I pushed a formatting commit, a function was changed a while back but the formatting slipped by.

LGTM. Thanks again for your help!


[BUG] Wallet balance does not change in real-time

Overview
In the current tangle-dapp's staking implementation, when a user successfully bonds some tokens, the wallet balance is not updated in real-time. The user has to reconnect the wallet to the dapp to see the balance change. This is a major UX issue and needs to be addressed.
Screen Recording
https://github.com/webb-tools/webb-dapp/assets/53374218/843186c1-920d-4d74-a473-28792640e7b0

After Nomination flow complete, the UI is also not updated

The Nominate button still appear
There is no filter for the Nominations table


Add an "About DAISY Pipeline" panel

It could contain:

Version of Pipeline
Address of the web server: host, port and path (/ws)

This would also allow simplifying the "Engine is running on port x" item in the tray menu to just "Engine is running". The about panel provides the same information and more. Users who need the information will know where to find it (and will be able to easily copy it from there), users are not interested in this information are not bothered with it.

Also consider adding information about DAISY (although it is quite long so consider a separate "About DAISY" panel:
The DAISY Consortium is the not-for-profit global authority on publishing and reading for people with blindness, low vision, and other print disabilities. Our members around the world have decades of experience producing accessible publications. Our team of international experts develops standards, tools, and best practices that are embraced by leading technology companies, publishers and library services.
Using the standards and tools developed by DAISY, our members and friends have produced millions of books, journals, newspapers and documents that can be read by people with disabilities in a way that works for them. Whether someone needs to read through enlarged text, audio, or braille, on whatever continent and in whatever language, there are technologies and standards developed by the DAISY Consortium that can make that information accessible to everyone, irrespective of disability. DAISY Consortium members and friends have made education and reading accessible to millions of people with disabilities, we invite you to join our mission!
daisy.org/join

One more thing:
On about page, I think you may have already thought of providing link to official pipeline webpage on daisy.org. It will also help people in discovering if there is a new release on the webpage.

@avneeshsingh what is the official pipeline webpage URL that we would want for an About page?
The candidates I have are:

from @ways2read , daisy.org/pipelineapphelp, redirected to wherever we want;
or I could use daisy.org/pipeline, which seems like a good simple candidate, but that currently redirects to pipeline-1, and I don't know where all it's in use already.
Or I could instead use daisy.org/activities/software/pipeline-2/ but it feels a bit fragile as a link.

The other links in the application menus are:

"Learn more" goes to DAISY Pipeline 2 on Github IO
"User guide" goes to DAISY Pipeline 2, Getting Help on Github IO

Are these links correct?
I would expect a simpler structure overall, e.g. project homepage is at daisy.org/pipeline and the help entry point is daisy.org/pipeline/help (whether the contents ultimately lives on daisy.org or at github.io, we can have links that go out from that /help landing page).
I don't like the /pipelineapphelp fixed link that gets redirected because what about sub-pages, like above where I have /pipeline and also /pipeline/help. It feels too complicated to maintain a separate structure of "short" links.

The entry point for the Pipeline project is daisy.org/pipelinehttps://daisy.org/pipeline. The Pipeline app will feature prominently and early on, but we also want to have information about the other Pipeline activities, including Pipeline 1 so that invested organisations don’t get the impression we’ve switched focus onto only the app.
From the app, I guess people will be looking for about and help related to the app, rather than the wider project. We could have daisy.org/pipelineapphttps://daisy.org/pipeline as the short(ish) URL to give on slides for example. daisy.org/pipelineapphelphttps://daisy.org/pipeline is a redirect to include in the code, I don’t know that humans would need to know it exists even.
Let’s try to avoid links in the menu going to the Github IO since this is information written for the developers and IT departments. Is Learn more going to the About information, and User guide going to the Information and Help pages? That feels right, but the way you wrote this they sound additional.
Richard
From: Marisa DeMeglio @.>
Sent: 13 March 2023 14:32
To: daisy/pipeline-ui @.>
Cc: Richard Orme @.>; Mention @.>
Subject: Re: [daisy/pipeline-ui] Add an "About DAISY Pipeline" panel (Issue #84)
@avneeshsinghhttps://github.com/avneeshsingh what is the official pipeline webpage URL that we would want for an About page?
The candidates I have are:

from @ways2readhttps://github.com/ways2read , daisy.org/pipelineapphelphttps://daisy.org/pipelineapphelp, redirected to wherever we want;
or I could use daisy.org/pipelinehttps://daisy.org/pipeline, which seems like a good simple candidate, but that currently redirects to pipeline-1, and I don't know where all it's in use already.
Or I could instead use daisy.org/activities/software/pipeline-2/https://daisy.org/activities/software/pipeline-2/ but it feels a bit fragile as a link.

The other links in the application menus are:

"Learn more" goes to DAISY Pipeline 2 on Github IOhttps://daisy.github.io/pipeline/
"User guide" goes to DAISY Pipeline 2, Getting Help on Github IOhttps://daisy.github.io/pipeline/Get-Help/

Are these links correct?
I would expect a simpler structure overall, e.g. project homepage is at daisy.org/pipeline and the help entry point is daisy.org/pipeline/help (whether the contents ultimately lives on daisy.org or at github.io, we can have links that go out from that /help landing page).
I don't like the /pipelineapphelp fixed link that gets redirected because what about sub-pages, like above where I have /pipeline and also /pipeline/help. It feels too complicated to maintain a separate structure of "short" links.
—
Reply to this email directly, view it on GitHubhttps://github.com/daisy/pipeline-ui/issues/84#issuecomment-1466991679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFL565MJRTMYB6CADROBULW36G3HANCNFSM6AAAAAAVJSC67I.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Let’s try to avoid links in the menu going to the Github IO since this is information written for the developers and IT departments.

The difference between daisy.org and daisy.github.io is not that the former is for users and the latter for developers. The difference is that

daisy.github.io contains all the documentation, daisy.org doesn't
daisy.github.io was written by developers
we (the developer team) do not maintain daisy.org

We think (and have always said) that daisy.github.io should be integrated in daisy.org. It should be co-maintained by the communication, documentation and developer teams. It should be one and the same site, without HTTP redirects.
I agree that daisy.org/pipeline should be the entry point for the whole project including Pipeline 1.

Here is an about box from the about-box branch. It might make it into this release?

Nice.


test_max_rss fails on armhf architectures

Hi @Koed00 !
I packaged django-q 1.3.9-2 in Debian, and realized that text_max_rss consistently fails in armhf architectures:
_________________________________ test_max_rss _________________________________

broker = <django_q.brokers.redis_broker.Redis object at 0xf44d7b20>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf44d7f28>

    @pytest.mark.django_db
    def test_max_rss(broker, monkeypatch):
        # set up the Sentinel
        broker.list_key = "test_max_rss_test:q"
        async_task("django_q.tests.tasks.multiply", 2, 2, broker=broker)
        start_event = Event()
        stop_event = Event()
        cluster_id = uuidlib.uuid4()
        # override settings
        monkeypatch.setattr(Conf, "MAX_RSS", 40000)
        monkeypatch.setattr(Conf, "WORKERS", 1)
        # set a timer to stop the Sentinel
        threading.Timer(3, stop_event.set).start()
        s = Sentinel(stop_event, start_event, cluster_id=cluster_id, broker=broker)
        assert start_event.is_set()
        assert s.status() == Conf.STOPPED
>       assert s.reincarnations == 1
E       assert 0 == 1
E        +  where 0 = <django_q.cluster.Sentinel object at 0xf568e640>.reincarnations

tests/test_cluster.py:424: AssertionError
----------------------------- Captured stderr call -----------------------------
02:12:56 [Q] INFO Enqueued 1
02:12:56 [Q] DEBUG Pushed ('eight-louisiana-pasta-summer', '8aef005e7ce344a6845dacd8b847476e')
02:12:56 [Q] INFO Process-1305 ready for work at 3677
02:12:56 [Q] INFO Process-1306 monitoring at 3678
02:12:56 [Q] INFO MainProcess guarding cluster winter-wisconsin-oscar-one
02:12:56 [Q] INFO Process-1307 pushing tasks at 3679
02:12:56 [Q] INFO Q Cluster winter-wisconsin-oscar-one running.
02:12:56 [Q] DEBUG queueing from test_max_rss_test:q
02:12:56 [Q] INFO Process-1305 processing [eight-louisiana-pasta-summer]
02:12:56 [Q] INFO Processed [eight-louisiana-pasta-summer]
02:12:59 [Q] INFO MainProcess stopping cluster processes
02:13:00 [Q] INFO Process-1307 stopped pushing tasks
02:13:00 [Q] INFO Process-1305 stopped doing work
02:13:00 [Q] INFO Process-1306 stopped monitoring results
02:13:00 [Q] INFO MainProcess waiting for the monitor.

Could it be a problem with redis behaviour? Or something time-based that doesn't work?
What's supposed to increment s.reincarnations in this specific test?
Thanks in advance!
Cheers!

Ok, I found the issue.
It lies in the fact that armhf is consuming far less resources for a process to run and therefore the MAXRSS set in your test is too high.
I recommend a value of 20000 that should always lead to a recycling.


Implement new simplified channel parameters

Apply the changes introduced by https://github.com/asyncapi/spec/pull/935
Regarding the changes in Parser-JS, we don’t really need to do it because we can keep the current API -> schema(): Schema | undefined
In that way, we don’t need to add a breaking change in the parser-api. Internally, we can create a new object called simplifiedSchema or similar, that inherits the behaviour from the Schema object, but only “allowing” the enum, default, and examples methods, logging a warning message when using the others.
Remember that including any non-supported field in the parameter will make any ASyncAPI v3 document to become invalid, so it is not expected developers call any other method from the schema (but still, logging a warning message its a good idea)

I am gonna start working on this 🙂

Done @smoya can you close this?

Done @smoya can you close this?

Yup 👍


test: Validate html and css

Tested links and checked html and css in https://validator.w3.org/ and
https://jigsaw.w3.org/css-validator/

Project ready for go-live


Bluetooth: Mesh: Implement Bridge Config Client

Implements the Bridge Configuration Client model.
Adds opcodes for all Bridge messages to foundation.h. Adds client-side support for these messages.
Adds a new Kconfig option for the Bridge Configuration Client model to configure the waiting time for respones for acked messages.

Found a bug in the bridging table status struct, the status type should be status codes from section 4.3.14 of MshPRT, not the enum. Added the commit fixing it here.