The output on the console panel shows  messy code, why?

Can you show a code snippet of how you called the fit or train_on_batch method? If you are not doing that inside a for loop, while calling print, I'd say you may be missing a font.

Thanks. @EderSantana
model.compile(loss='binary_crossentropy', optimizer='rmsprop', class_mode="binary")
model.fit(X_train, y_train, batch_size=batch_size, nb_epoch=nb_epoch,show_accuracy=True, validation_data=(X_test, y_test))
I have used more python compilers, all like this problem. How can I do? Thanks very much.

It's basically an encoding problem. You might be able to configure your terminal to solve it (look for a "character encoding" option and select "utf-8").
I see you're on windows. I wonder if other windows users have had the same issue. Or maybe it's the combination of your locale + using windows that results in a non-standard default encoding.


Editable should prevent edit but not selection

From mouse.ts,
mind.map.addEventListener('click', e => {
   // if (dragMoveHelper.afterMoving) return
   // e.preventDefault() // can cause <a /> tags don't work
   const target = e.target as any
   if (target.tagName === 'ME-EPD') {
     mind.expandNode((target as Expander).previousSibling)
   } else if (!mind.editable) {
     return
   } else if (isTopic(target)) {
     mind.selectNode(target as Topic, false, e)
   } ...

    mind.map.addEventListener('dblclick', e => {
   e.preventDefault()
   if (!mind.editable) return
   const target = e.target as HTMLElement
   if (isTopic(target)) {
     mind.beginEdit(target as Topic)
   }
 })

Preventing dblclick makes sense but preventing selection itself does not make sense I think. I have a teacher, student use case where students can't edit a node but should be able to select the node and use focus. I currently cannot do this because setting editable = false is making the mindmap readonly with no interactions. Focus or select or unselect are all passive operations and shouldn't be considered for mind.editable
Does anyone have a suggestion on how I can get selection to work without allowing dblclick?

Currently if editable is set to false then the map mind is a totally readonly version (without any interaction)

Yes. I'm proposing that this should be changed to prevent dblclick only and not prevent selection. Allowing select allows us to implement plugins but as it is implemented now, we implement anything since the node cannot be selected in editable=false condition.


Upgrade to latest package fails

Summary
I attempted to upgrade the package and received a "this package does not share a common ancestor" error.
App Version
Host app version (see bottom of host game page):
2.2.0
Player app version (see bottom of player registration page):
2.0.0
Steps To Reproduce:

Click the link to install v2.5 package into an org with v2.2
Wait and see the error

Expected result
I expected 2.2 to be upgraded to 2.5 If this doesn't upgrade easily, it defeats the purpose of using a package.
Actual result
Received an error.
Additional information
Let me know if I am doing something wrong.

Thanks for reporting this Marc.
I messed up when I released the package versions: I didn't specify package ancestors (I thought that it was automated).
Unfortunately there's nothing I can do to fix previously released versions (<IP_ADDRESS> and older) but I'll make sure that future versions have ancestors. I'll keep this issue open as a reminder until I release a new version.

Thanks @pozil, appreciate it. Is the best thing to do to uninstall the previous version completely?

Unfortunately, yes. Make sure to export your questions before uninstalling.

Oh don't worry, I already have!

Will be addressed in #84 Spring '21 release (v2.6.0).
Versions from 2.5.0 and onward will be upgradeable.

Just released the new version.


Add Firefox yml

I tried to add a Firefox yml to test the new system.
From the extracted tarfile there's one file missing, libnss3.so.
This file is in the archive, so I assume it's removed somewhere in the Recipe file (could this be?)

From the extracted tarfile there's one file missing, libnss3.so.
This file is in the archive, so I assume it's removed somewhere in the Recipe file (could this be?)

Yes, it's on the list of libraries that should not go into AppImages.

The regular firefox AppImage includes it. Without it it won't start

This would be one way of doing it:
app: Firefox

ingredients:
  script:
    - DLD=$(wget -q "https://www.mozilla.org/en-US/firefox/all/" -O - | grep -E "os=linux64&lang=en-US" | cut -d'"' -f2)
    - wget -c $DLD --trust-server-names
    - echo $DLD | cut -d- -f2 > VERSION
    - tar xf firefox*.tar.bz2

script:
  - cp -r ../firefox/* usr/bin/
  - find . -name mozicon128.png -exec cp {} firefox.png \;
  - # Workaround for:
  - # https://bugzilla.mozilla.org/show_bug.cgi?id=296568
  - cat > firefox.desktop <<EOF
  - [Desktop Entry]
  - Type=Application
  - Name=Firefox
  - Icon=firefox
  - Exec=firefox %u
  - Categories=GNOME;GTK;Network;WebBrowser;
  - MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  - StartupNotify=true
  - EOF

post:
  - cp ../firefox/libnss3.so usr/bin # Override excludelist

libsoftokn3.so seems to be required also for other AppImages, so removing it from the blacklist for now.


Typo - wrong class name

Refactor the code under test
"First, define two constants for the error messages at class scope. Put these in the class under test (Bank):"
This should be BankAccount

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

ID: b98c1d2a-1393-21d2-58c1-ff01d9aec0be
Version Independent ID: e109ff12-0172-f3ee-c10d-2e2e8a7aa699
Content: Create and run unit tests for managed code - Visual Studio
Content Source: docs/test/walkthrough-creating-and-running-unit-tests-for-managed-code.md
Service: unspecified
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

@Stanley-G Thank you for pointing this out. I'm fixing it today.


tree error

When using  the example file as input:
phabox2 --task tree  --dbdir '/home/berntm/projects/mb-galaxy-tools/tools/phabox/test-data/phabox_db_v2/' --outpth output/ --contigs '/tmp/tmpuhc8pmij/files/9/c/c/dataset_9cc27734-e974-4541-8983-ddf07902b6bd.dat' --midfolder intermediate/ --len 3000 --threads "${GALAXY_SLOTS:-1}"   --marker portal terl --mcov 50.0 --mpident 25.0 --msa Y --tree Y
PhaBOX2 is running with: 1 threads!
Running program: marker gene searching
[1/5]filtering the length of contigs...
[2/5] calling genes with prodigal...
[3/5] running marker:
Current marker: portal...
Current marker: terl...
[4/5] Running the msa...
Running msa: portal...This may take a long time...
Command 'mafft --auto --quiet --thread 1 output//intermediate//marker/portal_conbined_db.fa > output//intermediate//msa/portal.aln' failed with exit code 1

If I remove --quiet  from the mafft call I see
nthread = 1
nthreadpair = 1
nthreadtb = 1
ppenalty_ex = 0
stacksize: 8192 kb
generating a scoring matrix for nucleotide (dist=200) ... done
Gap Penalty = -1.53, +0.00, +0.00
=========================================================================
=========================================================================
===
=== Alphabet 'q' is unknown.
=== Please check site 3 in sequence 108.
===
=== To make an alignment that has unusual characters (U, @, #, etc), try
=== % mafft --anysymbol input > output
===
=========================================================================
=========================================================================
Illegal character q

To me it seems that portal_conbined_db.fa contains nucleotide as well as protein sequences.

That is strange. I have tested the tree task but it works without any errors.
Would you mind providing the test sample? or the portal_conbined_db.fa?

I'm using example_contigs.fa from your tutorial.
I renamed to txt for upload: portal_conbined_db.txt

Thanks a lot for checking and for letting me know.

phabox webserver does not have the msa and fasttree function.

What is the output then. The docs in the wiki seem to list only two outputs, or?

final_prediction
├── combined_marker.msa (if msa =='Y')    || concatenate the MSA between different marker
├── combined.tree (if tree == 'Y')        || phylogenetic tree based on FastTree
└── tree_supplementary
    └── finded_marker_xxx_combined_db.fa  || the fined marker and database marker

The webserver version will only output the markers in the supplementary.
The local version (This GitHub and the receipts for the BioConda) will additionally output the msa and tree file.
Since I am new to GitHub Action function, I am using the Department's HPC for testing. Will try it after the new release.
Best,
Jiayu

Seems the test for the tree task still needs some time to proceed. I have to check the results tomorrow morning.
If all the local tests are passed. I will upload the release and update the bioconda receipts.
Best,
Jiayu

All my local tests are passed. I updated the release and the bioconda receipt accordingly.
Best,
Jiayu


[bug]: Shortcut Key Issue

Description
The shortcut key triggering is not precise enough, and it may become unresponsive after not being used for a long time. Additionally, the shortcuts/timing for closing frequently fail. For example, pressing a non-modifier key can cause the shortcut to become invalid, preventing the window from automatically closing, which then has to be done manually.
Suggestion: The imprecision of the shortcut keys makes the software difficult to use. It would be better if users could customize the shortcut keys for enabling/disabling functions.
see also #81
Expected behavior
No response
App version
0.26
macOS version
12.7.5
Installation method
Manual (dmg/zip)
Checklist before submitting a bug

[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Hey qxxiao,
Thanks for reporting the issue. I was unable to replicate it during my investigation. I've addressed a memory issue in the latest release, which should significantly improve app performance. Can you please check if you're still experiencing any issues with the latest version?

I've also noticed that in my setup pressing command key + (2x enter) makes the shortcuts appear. I don't know if it's related to the described bug neither if it's intermittent, but seems to be an inconsistence on the way it operates.
This is my configuration:

Hey LeonardoRick,
Thank you for the details! Just to clarify, could you explain a bit more about how you’re pressing the keys? Are you pressing command key twice, or are you pressing command + enter twice? The shortcuts are designed to appear when command key is pressed twice and hold (according to your settings), so understanding exactly how you’re interacting with it will help me identify if there's a bug or any unexpected behavior. Thanks for your help!

Im pressing a single command and enter twice. Thats why it's weird! Hope it helps

Which app are you using when this happens, and what is bound to the Cmd + Enter hotkey (if any)?


ofono consumes too much power/CPU

As the title suggests. I don't know what triggers it exactly but i've seen it more than a few times. Also no idea if this is a port or SFOS bug.

Question: how was it measured or observed?

I use top in the terminal. And the phone is a bit warm when this happens.

One observation -regarding triggering it- is that it happens when i am in the car. Traveling "long" distances. Might not be the actual cause but i have to report it.

Let's see if you will observe it on 4.3. as well. I haven't seen this with ofono - would be hard to do anything about it.

Just want to report that it happens with 4.3 as well. Without me traveling distances. No idea if its related to some ofono related  messages i saw during the update.

I don't think it is related to update messages - I had them as well. And still no issue with ofono for me. I suspect you have to file an issue somewhere in the forum and ask for help. Seems to be more related to your network/device interaction than to the port specifically. But we cannot be sure in that either.

Closing this as it is mentioned in the official release notes that the issue has been fixed.


rds-data-api.json does not show up in windows instance of VS Code

I can run this extension just fine on a Mac machine, but it fails quietly on windows. I configure it identical on both machines, run the same sql script, and no results file, rds-data-api.json, shows up.
In the extension area of the VS code under runtime status I see this error:
Uncaught Errors (1)
ENOENT: no such file or directory, open '/tmp/rds-data-api.json'
Attached is a screenshot. It seems like the windows version of the VS Code is trying to use unix style directory structure.

https://github.com/indexsoftware/vscode-rds-data-api/blob/af5e388d46a3bf8cd2129f7d2c195f964a9d894f/src/providers/OutputProvider.ts#L5

Hi @bvesperman, you're right, I never tested it on windows while building. I'll take a look at it in the following days.

@bvesperman just now, I have released a new version with a fix for Windows compatability.
I did a test on the Windows version of vscode and can confirm it's working.


Bootstrap v5: disabled select not grayed out (regression)

Describe the bug
When I disable a tom-select element, I expect it would be grayed-out. See the example in the Bootstrap-documentation: https://getbootstrap.com/docs/5.2/forms/select/#disabled. This was reported and fixed earlier: #86, however it now occurs again with Bootstrap 5.2.0 and tom-select 2.1.0.
To Reproduce
Steps to reproduce the behavior:

Create a disabled tom-select (either by using the disabled-attribute or disable() in the Javascript API)
The select is not grayed out.

Expected behavior
I would expect that it looks grayed out.
Additional context
Add any other context about the problem here.

OS: Windows  10.0.22621.232
Browser: Chrome
Version: 103.0.5060.134
Device: Desktop
Bootstrap: 5.2.0
Tom-select: 2.1.0

That's annoying, any idea what changed?

Hi @oyejorge. I'm not sure if it was ever fixed: https://codepen.io/joostdeb/pen/wvmqbQm (Bootstrap 5.0.1 - same version as in previous issue with TomSelect 1.7.1 which was the fixed version for issue #89). The weird thing is: in the slow rendering of Codepen the input looks disabled for a while, but later it looks enabled again (while its actually disabled).
I'm not sure now, but I thought I saw it was solved after using 1.7.1, but I can't reproduce that.

Looks like the difference is the form-select class. <select class=""  works but  <select class="form-select"  does not

Thanks for fixing, @oyejorge 😄


[mars] Refactor default version identifier and default library setting

No behaviour change should happen here (at least that's the spirit), just breaking down code into functions.

Please break this up into smaller PRs rather than one giant one. I harangue everyone about this. Giant PRs:

are much much harder to review
are "take it or leave it" in their entirety, when some aspects may be good and others not
large diffs going over many, many pages make github in a browser very ssssllllllooooowwww, making them unpleasant and difficult
if the PR introduces a regression, it makes it much harder to identify where it went wrong
PRs should be narrowly focused, global kitchen sinks
just make each of your 5 commits its own PR

I've been repeating this point many times over the last few months, so I wrote this:
http://wiki.dlang.org/Starting_as_a_Contributor#Characteristics_of_a_Good_Pull_Request

Can we please stop to scare away contributors w/ pointless bureaucracy. Those are easy to review refactorings of a very specific code area, the commits follow each other, just like it happens when you refractor sth. and see an opportunity for more improvements.
And after all you're living in different timezones, so while a single trivial PR already takes at least 0.5 or 1.5 (with review comment) days to merge, 5 unrelated, artificially splitted PRs will take 4.5 to 9.5 days.
It took me 30 minutes to review this on my tablet (no major problem to load the diff).

Auto-merge toggled on


[Site] Mailing Lists: Add mailing list sign up to site

Current State of the service-mesh-performance site
SMP's mailing list and newsletter is not publicly available.
Desired State of the service-mesh-performance site
Similar to the Meshery site, the smp-spec.io site should have a newsletter sign-up and  the following mailing lists:

<EMAIL_ADDRESS>- a form-based sign-up; open for anyone to signup for news / update on the project and service mesh topics in general.
<EMAIL_ADDRESS>- a link to the google group; open for anyone to join.
<EMAIL_ADDRESS>- a link to the email address; open for anyone to send an email to.

@Neilblaze or @NikhilSharma03, would either of you like to take this one?

@leecalcote Just to get a clear understanding of the issue:
The desired output should be something like.
Newsletter sign up
The current page has this signup form

Mailing List
As in the meshery

** We can add three buttons **

Community - which links to<EMAIL_ADDRESS>User Group - which links to<EMAIL_ADDRESS>Maintainer - which links to<EMAIL_ADDRESS>

@NikhilSharma03 close<EMAIL_ADDRESS>- should be a link to the google group;

@NikhilSharma03 @Jashpatel1, it seems that I have neglected to include links to the google groups themselves.

https://groups.google.com/a/smp-spec.io/g/community
https://groups.google.com/a/smp-spec.io/g/user-group
https://groups.google.com/a/smp-spec.io/g/maintainers


Unable to successfully stop tomcat server

if i had execute the method of amqpTemplate.convertAndSend, when i stop the tomcat server,I will find the exception a thread named [pool-3-thread-1] has failed to stop it, but i cannot find which thread pool own it，this is my amqp configurations and used demo

You need to consider to add a ThreadPoolTaskExecutor @Bean and inject it into the ConnectionFactory bean.
The Tomcat is very sensitive to the threads which are not closed properly during application shutdown.

If the ApplicationContext is close() d properly, these threads will terminate, This should happen automatically if the context is managed by the web container and properly configured.

I have found, if I had set the property publisherConfirms be true, when execute the method doCreateBareChannel will encapsulation the channel to be PublisherCallbackChannelImpl,if we not add ThreadPoolTaskExecutor into CachingConnectionFactory the SingleThreadExecutor in PublisherCallbackChannelImpl will not shutdown properly, Can we shutdown it properly in the destroy phase?

Yes; we should shut that one down (or use a daemon thread).

I'll take it.


Finalise kit structure

This has dependencies on #1163 and terracotta-oss/terracotta-core#213
Placeholder issue for now - discussions are still ongoing.

One thing that can be added is the generated Ehcache documentation found in ehcache-<version>-docs.zip.

Work has been done for README, legal, documentation.
One last step is javadoc - currently will be including the two ehcache javadoc jars matching the binaries included in client/ehcache


Dumpdata saves the verbose name of the Workflow State

It should save the value's key

solved in 468dc40ad1c2d5dd746321e941e5ee18d1234f97


kotlin2cpg: move file to different namespace

request from @mpollmeier for scala3 migration

🙇🏻

??????

"thank you"

"with pleasure"


[REQUEST] TinyS3

Name of Board
TinyS3 - ESP32-S3 Development Board by Unexpected Maker
Board Architecture (i.e: SAMD51, ESP32-S2, ESP32, ...)
ESP32-S3
Hardware URL
https://www.adafruit.com/product/5398
Pinout URL
A link to a pinout image, or the board's pin definitions
Additional context
Add any other context about the board request here.

This issue is marked for Hacktoberfest 2022. If you are participating in Hacktoberfest and want to take on this issue, please first fully read through the guide for adding a new board to Adafruit IO WipperSnapper.
First, make sure you have the required hardware.
Next, for this issue, you must add both the board definition and update WipperSnapper firmware to support this new board.
If you have any questions, comments, or concerns, please feel free to tag me in the comments here, or in your pull request for review.
Happy Hackin'!


Move interface from HTTP to JavaScript

In short: I propose we move much of mapeo-map-server’s API from HTTP to JS. I made a draft PR to move one of the routes. It might be a bad idea!
Currently, mapeo-map-server exposes all its functionality over HTTP, except for starting the server: that's a regular JavaScript function call to createMapServer().
In other words, there are two interfaces: an HTTP API (where most stuff happens) and a JavaScript API (where you start the server).
This document proposes moving most of the HTTP API to the JavaScript API.
Instead of making an HTTP POST to /tilesets/import, you'd call something like importTileset(). Some routes, such as GET /tilesets/:tilesetId/:zoom/:x/:y, would be unaffected, as they are needed for the map renderer.
Here’s a draft PR that moves one of the routes: #110
This might be a bad idea!
What?
Conceptually, I see the current system like this:
CoMapeo function call → HTTP request → Route handler → Internal API

I see the new system like this:
CoMapeo function call → External API

Some routes, such as GET /tilesets/:tilesetId/:zoom/:x/:y, would be unaffected, as they are needed for the map renderer. In other words, there would still be an HTTP server.
Roughly, I imagine an interface like this:
import MapServer from '@mapeo/map-server'

// Create the server instance. Doesn't do much.
const server = new MapServer({
  database: new Database('./example.db'),
})

// Start the server.
await server.listen(3000)

// Start an import.
// You could fetch this import later with `server.getImport(importId)`.
const mbtileImport = server.importMbtiles('/path/to/mbtiles_file')
mbtileImport.on('progress', ({ soFar, total }) => {
  const ratio = soFar / total
  const percent = Math.round(ratio * 100)
  console.log(`Imported ${percent}%`)
})
await mbtileImport.completion()

// Get a list of all the styles.
const styles = server.getStyles()

// Stop the server.
await server.close()

Again, this is a rough sketch; please ignore the specifics.
Why?
I think this idea provides several advantages:

Less code. We could remove most of our route handlers. CoMapeo wouldn't need HTTP wrapper functions. Our server-side events code could be removed, as could many of our parameter validations.

Better performance. Though HTTP requests incur minimal overhead, in-process function calls should incur even less.

Easier type checking. Adding an HTTP boundary means that we either need to validate arguments and return values at runtime; not so with regular function calls.

Improved security. You could imagine a malicious web app making HTTP requests to the server and performing various undesirable operations. If the server were read-only, that would be less of a threat.

Simpler ergonomics for the consumer (and our tests). It's usually easier to call a function than to make an HTTP request. For example, you currently create an import and then request its status. What if this was a single function call?

Easier documentation. Many editors let you hover over a function and see its JSDoc information, but few do the same for HTTP endpoints.

I'm not aware of any significant downsides to this, but (1) I may be overconfident in my idea (2) I don't know the map server very well!
How?
Currently, we have a component called ApiPlugin, which handles most of the business logic. I suspect we could remove most routes and expose this plugin's functionality.
I think this can be done piecemeal. For example, we could migrate a single route in the first PR, like #110.

Heads up for @rudokemper and @luandro in case you have any thoughts on what's being proposed here. Gregor and I had conversations related to doing this prior to Evan making a more structured proposal for it, as it would make the maintenance more straightforward and the usage less opinionated.

Some routes, such as GET /tilesets/:tilesetId/:zoom/:x/:y, would be unaffected, as they are needed for the map renderer. In other words, there would still be an HTTP server.

Maybe I'm forgetting something, I don't think it would be necessary to keep this. I would lean towards exposing a method like getTile(...) that takes the relevant params as an argument, and then this can be used by an end-user that decides to set up that route.
Basically, I don't really see any reason for the library to include it's own server instance of any kind as part of the main implementation. This also means no inclusion of a listen() method or anything similar as a result. Thoughts?

I think this makes a lot of sense. If there's not much overhead added, I like the idea of exposing at least the GET for tilesets, which could be consumed by other applications in the future.

If there's not much overhead added, I like the idea of exposing at least the GET for tilesets, which could be consumed by other applications in the future.

The way I'm imagining this is that there would be a method that we expose e.g. getTilesets() and we'd leave it up to an application developer to wrap that with their own HTTP implementation (whether it's Express, Fastify, raw Node HTTP, etc). think we'd have a Fastify plugin for sure out of those options, but the other options are viable and will be left for the application developer to implement

To be honest, I'm not super up to date with the anatomy of mapeo-map-server and whether the current API routes could be leveraged in an environment that isn't CoMapeo, but one advantage of an HTTP API is that it is language-agnostic and so Python (or other) tooling could seamlessly work with the API without the need for any bridging. If the idea behind mapeo-map-server is to be modular, interoperable, and easily plugged into other toolchains (regardless of language), that might be a consideration. But even so there are workarounds and based on reading the thread, it definitely seems like a parsimonious solution for CoMapeo.

To be honest, I'm not super up to date with the anatomy of mapeo-map-server and whether the current API routes could be leveraged in an environment that isn't CoMapeo, but one advantage of an HTTP API is that it is language-agnostic and so Python (or other) tooling could seamlessly work with the API without the need for any bridging. If the idea behind mapeo-map-server is to be modular, interoperable, and easily plugged into other toolchains (regardless of language), that might be a consideration. But even so there are workarounds and based on reading the thread, it definitely seems like a parsimonious solution for CoMapeo.

Good point.
Currently, you need to use Node to start the server and set up the database, so it wouldn't currently work with Python (or other).
We could address this by making this repo a standalone executable with its own HTTP server and database, but that would make things a bit harder for CoMapeo.
Instead, I think the ideal design (in the short term) is to use regular JavaScript function calls in this module. In the future, one could easily wrap these functions with an HTTP server, or a Python bridge, or FIFOs, or whatever is needed by the consumer.

Given the discussion here, I'm going to get started on this. Merged the first patch in f374a649e77caee7a5d404b035da9c6c798a3f58.
I'm not going to completely remove the HTTP server as part of this work, but I'll plan to move the rest.


Deadlock in publshing message to PriorityQueue in multi-threaded environment

I have multiple worker threads publishing message to a Redis priority Queue. I'm observing that all worker threads are waiting to acquire a semaphore  (0x000000008b0e8800) as shown in below thread dump. I'm using Redisson client.  3.22.0.
My thread dump do now show any thread already acquired the same semaphore.
"worker-817435795" #48 prio=5 os_prio=0 cpu=4635.96ms elapsed=250263.14s tid=0x00007f87966b1740 nid=0x40 waiting on condition  [0x00007f87692fd000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000008b0e8800> (a java.util.concurrent.Semaphore$NonfairSync)
	at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.5/LockSupport.java:252)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@17.0.5/AbstractQueuedSynchronizer.java:717)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(java.base@17.0.5/AbstractQueuedSynchronizer.java:1074)
	at java.util.concurrent.Semaphore.tryAcquire(java.base@17.0.5/Semaphore.java:415)
	at org.redisson.RedissonLock.lock(RedissonLock.java:121)
	at org.redisson.RedissonLock.lock(RedissonLock.java:67)
	at org.redisson.RedissonPriorityQueue.add(RedissonPriorityQueue.java:151)
	at com.qualcomm.microservice.positioning.services.messaging.rds.RedissonMessagingMgr.publishQueue(RedissonMessagingMgr.java:67)
	at com.qualcomm.microservice.positioning.common.Worker.getUserRequestObjFromRedisAndProcess(Worker.java:91)
	at com.qualcomm.microservice.positioning.common.Worker.run(Worker.java:175)
	at java.lang.Thread.run(java.base@17.0.5/Thread.java:833)

"worker-661775617" #49 prio=5 os_prio=0 cpu=5197.28ms elapsed=250263.14s tid=0x00007f87966b21d0 nid=0x41 waiting on condition  [0x00007f86f45c7000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000008b0e8800> (a java.util.concurrent.Semaphore$NonfairSync)
	at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.5/LockSupport.java:252)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@17.0.5/AbstractQueuedSynchronizer.java:717)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(java.base@17.0.5/AbstractQueuedSynchronizer.java:1074)
	at java.util.concurrent.Semaphore.tryAcquire(java.base@17.0.5/Semaphore.java:415)
	at org.redisson.RedissonLock.lock(RedissonLock.java:121)
	at org.redisson.RedissonLock.lock(RedissonLock.java:67)
	at org.redisson.RedissonPriorityQueue.add(RedissonPriorityQueue.java:151)
	at com.qualcomm.microservice.positioning.services.messaging.rds.RedissonMessagingMgr.publishQueue(RedissonMessagingMgr.java:67)
	at com.qualcomm.microservice.positioning.common.Worker.getUserRequestObjFromRedisAndProcess(Worker.java:108)
	at com.qualcomm.microservice.positioning.common.Worker.run(Worker.java:175)

Thanks,
Nishi

I'm encountering the same issue with a deadlock on version 3.17.3

I too have run across this issue in 1.21.3 version of redis.  Multiple threads waiting for common semaphore, but apparently no other thread has obtained the semaphore.

I too have run across this issue in 3.21.3 version of redis. Multiple threads waiting for common semaphore, but apparently no other thread has obtained the semaphore.

I am trying an approach where I have a singleton instance of the priority blocking queue.  Before, I was invoking add on a new instance of the queue. I think it may be related to that.  Also, the code at RedissonLock.java:121 is a wait to acquire the semaphore for a TTL.  If that times out, the flow is in a forever loop to try again.  Not sure why that is just now, since apparently the semaphore can never be acquired.  I do think its related to calling new for each queue, which creates a new local semaphore.

Just a note that we have successfully worked around this issue by wrapping access to the priority queue with our own semaphore.

Just a note that we have successfully worked around this issue by wrapping access to the priority queue with our own semaphore.

did you extend RedissonLock with your own implementation?

I have implemented my own priorityqueue without a redisson lock as a workaround.  I tried to restrict the PriorityQueue to a singleton instance, but I still see threads waiting on the same semaphore.
I think this line is suspect, where the release is dependent upon the queue size.  What if the queue size is 0?
        value.getLatch().release(value.getLatch().getQueueLength());

Can anyone try the attached version?
redisson-3.25.1-SNAPSHOT.jar.zip

A new update.
redisson-3.25.1-SNAPSHOT.jar.zip

Can anyone try the attached version?
redisson-3.25.1-SNAPSHOT.jar.zip

Hi @mrniko, is there a commit that fixes this?  I couldn't see from master branch what would fix this.

@mmerrill3
Here it is https://github.com/redisson/redisson/commit/825d23ed1167683e0f1189e7cc8ce97ff0063574

I didn't get a chance to test this out, but I'll plan on trying out the latest version in the coming weeks.


Inspector Panel

I'm done dealing with codacy's bullshit. there is literally no other solution I know of to do what I'm trying to do. strncpy is going to be there. deal with it. I check the lengths and I know that getName will never be null without other errors getting in the way (no uuid would be the cause)
I'm ignoring that error.

I have left the runner test disabled for now because it's untested and very scuffed (also only works on windows)

a huge part of the editor involves the whole scene saving and loading which does also involve some rework in how the engine handles everything. My solution was to load games as dll files and use a runner to launch the engine ala source. the engine is it's own library separate from the runner

I love how git refused to let me revert the commits properly that's so cool :+1:


Public recipes

Changes:
Add pages with dummy data:

public_recipes
private_recipes
show
shopping_list

Controller and Routing changes

Good job


PLGN-82 and PLGN-87

The purpose of this PR is to fix below issues:

PLGN-82: Magento Cardknox plugin compatible with php 8.2 and magento v 2.4.6
PLGN-87: Cardknox key being exposed for Apple pay
Update iFields latest version 2.15.2302.0801

@pritesh-lr yes, can you try another branch name. I will see if we can have run on forked masters

You can close this PR-47 and do not merge it into the master branch.
I created a new PR with a separate branch instead of a master.
Please see this PR, and you can merge it into master: https://github.com/cardknox/magento2_cardknox/pull/49
Thanks


🐛 Fix the CAMP3 api version in the e2e test framework

What this PR does / why we need it:
This PR fixes the issue that the e2e test framework uses a deprecated CAMP3 api version.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/test-integration
/assign @furkatgofurov7
/cc @smoshiur1237

/test-v1a5-e2e

/cc @Xenwar @jan-est


haskellPackages.tensorflow-mnist-input-data: fetch

Motivation for this change
Prefetch data so that the package doesn't try to connect to the internet.
See https://github.com/NixOS/nixpkgs/issues/46029
nix-build -A haskellPackages.tensorflow-mnist ~/nixpkgs still fails though because of
Setup: Encountered missing dependencies:
tensorflow-mnist-input-data -any

definition of the package tensorflow-mnist seems
       broken = true;
     }) {tensorflow-mnist-input-data = null;};

@peti git blame says that code is generated. Anyway to not set tensorflow-mnist-input-data to null ?
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/fp6v86qrabyin8lrxm8zcrpdzvsbf1p1-tensorflow-mnist-input-data-<IP_ADDRESS>-data
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/fp6v86qrabyin8lrxm8zcrpdzvsbf1p1-tensorflow-mnist-input-data-<IP_ADDRESS>-data
checking for references to /build in /nix/store/fp6v86qrabyin8lrxm8zcrpdzvsbf1p1-tensorflow-mnist-input-data-<IP_ADDRESS>-data...
shrinking RPATHs of ELF executables and libraries in /nix/store/7b13qcpm3sf87jz5g8cixykkk78hgl1z-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/7b13qcpm3sf87jz5g8cixykkk78hgl1z-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
checking for references to /build in /nix/store/7b13qcpm3sf87jz5g8cixykkk78hgl1z-tensorflow-mnist-input-data-<IP_ADDRESS>-doc...
/nix/store/a53hbml3pfp0qjsb73m6n16ylajw8jx4-tensorflow-mnist-input-data-<IP_ADDRESS>

I've no idea where the broken = true and the tensorflow-mnist-input-data = null override in:
"tensorflow-mnist" =
  ...
       broken = true;
     }) {tensorflow-mnist-input-data = null;};

are coming from. tensorflow-mnist is not mentioned in configuration-hackage2nix.yaml nor in cabal2nix.

After reading the source I understand that packages are marked broken when they have missing dependencies.  The tensorflow-mnist-input-data dependency of tensorflow-mnist is probably considered missing since it's not published on Hackage.
The best solution is to have an override for tensorflow-mnist where we get rid of the broken = True flag and point tensorflow-mnist-input-data to the actual package.
We should also report an issue at https://github.com/tensorflow/haskell/issues to publish tensorflow-mnist-input-data to Hackage.

I've now made these changes in this PR. I also reverted my libtensorflow: 1.9 -> 1.10 upgrade since that broke the Haskell tensorflow packages and libtensorflow is only used by the Haskell packages so this revert doesn't break anything else.
I also removed the tensorflow packages from dont-distribute-packages so they will be build on Hydra again after the next hackage2nix run.
@GrahamcOfBorg build haskellPackages.tensorflow-mnist

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.tensorflow-mnist
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data
checking for references to /build in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data...
shrinking RPATHs of ELF executables and libraries in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
checking for references to /build in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc...
/nix/store/jag6yf2x30x2j5kmljk4xsm2d83brig0-tensorflow-mnist-input-data-<IP_ADDRESS>

Success on x86_64-linux (full log)
Attempted: haskellPackages.tensorflow-mnist
Partial log (click to expand)
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/pxjiq3v71n6bzrgjr9xrp9228303xb8f-tensorflow-mnist-<IP_ADDRESS>-data
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/pxjiq3v71n6bzrgjr9xrp9228303xb8f-tensorflow-mnist-<IP_ADDRESS>-data
checking for references to /build in /nix/store/pxjiq3v71n6bzrgjr9xrp9228303xb8f-tensorflow-mnist-<IP_ADDRESS>-data...
shrinking RPATHs of ELF executables and libraries in /nix/store/fjglc800w2gcchald3q5wsmrnv3i33kz-tensorflow-mnist-<IP_ADDRESS>-doc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/fjglc800w2gcchald3q5wsmrnv3i33kz-tensorflow-mnist-<IP_ADDRESS>-doc
checking for references to /build in /nix/store/fjglc800w2gcchald3q5wsmrnv3i33kz-tensorflow-mnist-<IP_ADDRESS>-doc...
/nix/store/bp3zq3vj9a6jj9y45pcgi3j0f79w9a89-tensorflow-mnist-<IP_ADDRESS>

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: haskellPackages.tensorflow-mnist-input-data
Partial log (click to expand)
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data
checking for references to /build in /nix/store/7dhijl4mh1b5rnbvdn9s2lxxqp1ifkq9-tensorflow-mnist-input-data-<IP_ADDRESS>-data...
shrinking RPATHs of ELF executables and libraries in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc
checking for references to /build in /nix/store/h711g6cmliz4qvwx32i4gpdlfl3sdai2-tensorflow-mnist-input-data-<IP_ADDRESS>-doc...
/nix/store/jag6yf2x30x2j5kmljk4xsm2d83brig0-tensorflow-mnist-input-data-<IP_ADDRESS>

wow that's super cool !! thanks.


Peer to peer code review

##Team's observations:
Great job working with capstone project @abiola-arobieke, your code looks clean and it is easy to read. You follow good HTML and CSS practices. The design of the homepage looks great keep up the good work. 😄 💯

Thanks, Melanie. Missing you already. I wish you a speedy recovery.


Doc: Misleading text in Browser Flow Auth

The doc at https://docs.cloudfoundry.org/api/uaa/#browser-flow contains the following text for response_type:
either code for requesting an authorization code for an access token, as per OAuth spec
The 'either' implies that there is another choice, but no detail is given.

Closing this as the strange wording was changed as part of this story.
There are other values that may be passed to the authorize endpoint, but for the specific example linked in this issue (an authcode flow example) it only makes sense to use response_type=code. The other valid values (token and id_token) are used in the implicit grant flow.


Chore/style cleanup utility functions

Summary
This PR focuses on stylistic improvements and cleanup of utility functions.
Goal
Ensure better package maintainability, scalability, and ease of contribution for new developers.
Code Style Adjustments

Refactored variable names and formatting to improve readability.
Improved indentation, spacing, and overall syntax compliance with PEP8.

Utility Function Cleanup

Introduced @assign_algorithms decorator to dynamically assign algorithms to BackendInterface, reducing manual updates and boilerplate.
Simplified BackendInterface by replacing explicit algorithm declarations with automatic mapping from the ALGORITHMS list.

Even ALGORITHMS could be obviated by dynamically retrieving algorithm names directly from the modules using introspection (__str__, dir(), or __dict__), which might be too "auto-magical" for now but worth considering for a future PR.

Improved ParallelGraph's readability and consistency.
Reduced documentation and maintenance overhead through a more scalable, dynamic approach to algorithm registration.
Minor logic refactoring for efficiency.
Fixed bug in chunking:

Removal of Unused Imports/Code

Eliminated unused imports, reducing code complexity and improving load time.

@dpys

@Schefflera-Arboricola -- all type annotations have now been removed. If there are no other issues, then it might be helpful for us to get this merged sooner rather than later so that I can begin working on some of the other features that we discussed. WDYT?

I don't feel strongly about any of these comments, but these are some suggestions for choices during the style cleanup.

Thank you so much for the review! I've committed your formatting suggestions (though it appears now the linter test is failing?) and agree with all of your comments. It seems like the only thing that might warrant further discussion is the use of enums.

What is the program that is creating the .history files?  :)

I think we're getting bogged down here in linting land... :( Can we change the .gitignore file in a separate PR?
Yes, happy to revert the .gitignore to main :) We can address this on a separate PR as well once this PR gets over the finish line.

What is the program that is creating the .history files? :)

The Local History extension of VScode creates .history folders to store automatic backups of your files so you can revert to previous versions, similar to how PyCharm's Local History works.

@MridulS -- it seems like removing the ruff dependency with that direct push to main is causing the style / format check to unconditionally fail for all PR's? Was that something that you were planning to revert?

@MridulS -- it seems like removing the ruff dependency with that direct push to main is causing the style / format check to unconditionally fail for all PR's? Was that something that you were planning to revert?

Can you try moving the update-get-info precommit hook at the end in .pre-commit-config.yaml file, because that hook internally runs a ruff command and @MridulS removed the ruff dependency. But, I think if we run the ruff hook before update-get-info hook then ruff would be installed in the pre-commit environment for the update-get-info hook to use. I think this should resolve the failing style test. Also, I did the same thing in the PR that @MridulS made but that PR is made from the main branch of nx-parallel so i think that's the reason the style test is passing for the push but not for the pull_request. (PR https://github.com/networkx/nx-parallel/pull/84)


enabling SegmentedControl in XAML Previewer

Testing 4.1.1-beta1 in XAML Previewer in Visual Studio on iOS project and am getting this error:

Looking for how to actually get the text of that error -- not possible to select and copy in that display.
I'll make a separate repo with just the code for testing the segmented button if that is helpful.
Am developing a cross-platform app on MacOS and Windows. Will test on Windows next.
Will put more details from Visual Studio in comments.
This is what the control looks like running on the iOS emulator:

This is what it looks like in the XAML Previewer:

Code running on Android emulator:

Visual Studio MacOS details:
Visual Studio Community 2019 for Mac
Version 8.1.5 (build 9)
Installation UUID: 2c4085a8-b67f-4467-9e4b-af2eea36766b
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac <IP_ADDRESS> (d16-0 / 50f75273)

	Package version: 518010028

Mono Framework MDK
Runtime:
	Mono <IP_ADDRESS> (2018-08/223ea7ef92e) (64-bit)
	Package version: 518010028

NuGet
Version: <IP_ADDRESS>88

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	2.1.11
	2.1.9
	2.1.2
SDK: /usr/local/share/dotnet/sdk/2.1.700/Sdks
SDK Versions:
	2.1.700
	2.1.505
	2.1.302
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/Current/bin/Sdks

Xamarin.Profiler
Version: 1.6.10
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater
Version: 11

Apple Developer Tools
Xcode 10.2.1 (14490.122)
Build 10E1001

Xamarin.Mac
Version: <IP_ADDRESS> (Visual Studio Community)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:48-0400

Xamarin.iOS
Version: <IP_ADDRESS> (Visual Studio Community)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:47-0400

Xamarin Designer
Version: <IP_ADDRESS>7
Hash: f1657e133
Branch: remotes/origin/d16-1-new-document-model
Build date: 2019-06-18 21:57:42 UTC

Xamarin.Android
Version: <IP_ADDRESS> (Visual Studio Community)
Commit: HEAD/d0b48056f
Android SDK: /Users/stephen/Library/Android/sdk
	Supported Android versions:
		5.0 (API level 21)
		5.1 (API level 22)
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)
		8.0 (API level 26)
		8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 29.0.1
SDK Build Tools Version: 28.0.3

Build Information:
Mono: mono/mono/2018-08@3a07bd426d3
Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
LibZipSharp: grendello/LibZipSharp/d16-1@44de300
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26

Microsoft Mobile OpenJDK
Java SDK: /Users/stephen/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_<IP_ADDRESS>
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Android Device Manager
Version: <IP_ADDRESS>
Hash: aac645b
Branch: remotes/origin/d16-1
Build date: 2019-05-29 19:55:24 UTC

Xamarin Inspector
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1

Build Information
Release ID: 801050009
Git revision: bd0ab28ba941b19b39322247db020dcd0fb305d0
Build date: 2019-07-03 17:15:21+00
Build branch: release-8.1
Xamarin extensions: 8cc25b5cb090e6c23b62a7901000c299977eb08d

Operating System
Mac OS X 10.14.5
Darwin 18.6.0 Darwin Kernel Version 18.6.0
    Thu Apr 25 23:16:27 PDT 2019
    root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

Enabled user installed extensions
AddinMaker 1.6.0
Cake Task Runner 0.1
Grunt Task Runner 0.1
Gulp Task Runner 0.1
MSBuild Editor 2.3.1
NPM Task Runner 1.4
Task Runner Explorer 0.1.2
Task Runners Bundle 0.1
TypeScript Task Runner 0.1


NullReferenceException when Pinning Rule refers to a static html

Steps to reproduce

Create a pinning rule that has its Pin URI set to a static html file (can be /Website/templates/DefaultTemplate.html)
Go to a URL that uses this rule

Expected result
It would be enough if an informative error would be displayed. Example:

Pinning Rules have to refer to a URL resolving to a Json. URL "/Website/templates/DefaultTemplate.html" does not load a Json instance. If you want to have a Pinning Rule with a static HTML consider using the Content app.

It would probably be even better to automatically wrap static HTMLs with Json instance (new Json {"Html"= htmlUrl})
Actual result
System.NullReferenceException: Object reference not set to an instance of an object.
   at WebsiteProvider.ContentHandlers.UpdateTemplateSections(String requestUri, Response response, WebTemplatePage content, WebUrl url) in C:\Users\joozek\dev\website\src\WebsiteProvider\Api\ContentHandlers.cs:line 186
   at WebsiteProvider.ContentHandlers.<Register>b__3_2(String requestUri) in C:\Users\joozek\dev\website\src\WebsiteProvider\Api\ContentHandlers.cs:line 102
   at lambda_method(Closure , Request , IntPtr , IntPtr )
   at Starcounter.Rest.UserHandlerInfo.RunUserDelegate(Request req, IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Rest\UriHandlersManager.cs:line 341
   at Starcounter.Internal.Web.AppRestServer.RunDelegateAndProcessResponse(IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack, Request req) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Apps.JsonPatch\AppRestServer.cs:line 98
   at Starcounter.Rest.UriManagedHandlersCodegen.RunUriMatcherAndCallHandler(String methodSpaceUriSpace, String methodSpaceUriSpaceLower, Request req, UInt16 portNumber, Response& resp) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Rest\UriManagedHandlersCodegen.cs:line 1133
   at Starcounter.Self.DoSelfCall(UInt16 portNumber, String method, String relativeUri, Dictionary`2 headersDictionary, String body, Byte[] bodyBytes, HandlerOptions handlerOptions, Request req) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Internal\Rest\Self.cs:line 397
   at Starcounter.Self.GET(String uri) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Internal\Rest\Self.cs:line 74
   at WebsiteProvider.ContentHandlers.<RegisterFilter>b__6_1(Request request, Response response) in C:\Users\joozek\dev\website\src\WebsiteProvider\Api\ContentHandlers.cs:line 138
   at Starcounter.Handle.RunResponseFilters(Request req, Response resp) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Internal\Handle.cs:line 560
   at Starcounter.Request.SendResponse(Response resp, Byte[] serializationBuf) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Internal\Http\Request.cs:line 1211
   at Starcounter.Internal.AppsBootstrapper.ProcessExternalRequest(Request req) in C:\TeamCity\BuildAgent\work\sc-3291\Level1\src\Starcounter.Apps.JsonPatch\AppsBootstrapper.cs:line 811
HResult=-2147467261

More information about this error may be available in the server error log.

Technical information
Starcounter version
<IP_ADDRESS>51
Involved apps' version
StarcounterApps/Website@0b1fa612cb1445d27f072a874b07b573fd9f2e16

Closing since exception no longer occurs. Right now if static html path URI or any wrong uri is provided there is simply just no response for that and nothing is displayed.
Discussed with @joozek78


gherkin: Fix build on go 1.8

The build passes on Go versions up to 1.7 but fails on 1.8  (and tip).

will be resolved by #145

💯
https://travis-ci.org/cucumber/gherkin-go/builds/213031829


TS-4825: Add the TSVConnInternalSet() API.

If you have a protocol plugin that generates HTTP requests, you
typically want those to be treated as external client requests not
as internal requests.
The TSVConnInternalSet() allows a plugin to mark a TSVConn as either
internal or external. It should be called immediately after the
TSVConn is created in order to avoid any race conditions with
any consumers.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/736/ for details.

[approve ci]

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/737/ for details.

Abandoning this PR in light of the dev@ list discussion (see references on TS-4825).


How can I send events to two different projects from my python code

Currently, I write error events from my python component to a sentry project.
The way I do this is by adding to logger a handler which writes to sentry.
The code is along those lines:
   class _SentryioHandler(logging.Handler):
        def emit(self, record):
            sentry_sdk.capture_message(self.format(record))
...
    def initialize_logger():
       sentry_sdk.init(dsn=SENTRY_URL,
                            release=f"{env}@{release_major_version}",
                            environment=env,
                            integrations=[SqlalchemyIntegration(), TornadoIntegration(), AioHttpIntegration()])
       with sentry_sdk.configure_scope() as scope:
                scope.set_tag("release-version", release_version)
                scope.set_tag("backend-version", backend_version)

        handler_sentryio = self._SentryioHandler()
        handler_sentryio.setLevel(logging.ERROR)

        self.default_logger = logging.getLogger("default_logger")
        self.default_logger.addHandler(handler_sentryio)

Now I'd like to send some events to a different project, depending on some condition (In my case, one of the event sources sends a lot of events and I want to separate them for clarity, but it can be any condition).
Is there a recommended/supported way to do this?
because the way I use it right now, I call sentry_sdk.initjust once with the project URL, and then use sentry_sdk.capture_message to send it.
I saw this issue, but I'm not sure whether the ways suggested there are officially supported? Also, they rely quite a bit on the current implementation. Is there a recommended way to achieve this?
Thanks

both the solution by saifelse and the one I posted should work. We don't have a recommended way to do this, but are working on serverside solutions to throttle traffic based on conditions at the moment.
Aside I would use our own log handlers instead of writing your own.


fix: inconsistent email provider

Fix: https://github.com/casdoor/casdoor/issues/859

@Kalinin-Andrey plz review


RN-428 Drawer panResponder offset

Summary
Sometimes trying to tap on the hamburger Icon or on the plus sign to attach files the drawer takes the responder making it impossible to respond to the taps.
With this PR we are creating an offset in the top and bottom so the swiping is below the navbar and above the postTextbox
Ticket Link
https://mattermost.atlassian.net/browse/RN-428
https://github.com/mattermost/mattermost-mobile/issues/983

@enahum Looks like you've got some stuff to clean up with the PR? You're disabling eslint, there's a commented out defaultProps block, and you've got a big TODO comment there

@hmhealey that code was a copy paste from the base drawer, but anyway I did a clean up


buildstream hangs forever if fuse device is not present

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Feb 23, 2018, 16:54
Example https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/9069

In GitLab by [Gitlab user @richardmaw-codethink] on Feb 23, 2018, 17:00
It looks like it's looping forever in buildstream._fuse.mount.Mount.mount.
Given the error it should be possible to check whether the process terminated after the sleep rather than looping forever.

In GitLab by [Gitlab user @juergbi] on Sep 4, 2018, 09:05
mentioned in merge request !726

In GitLab by [Gitlab user @juergbi] on Sep 27, 2018, 16:16
Fixed in !726.

In GitLab by [Gitlab user @juergbi] on Sep 27, 2018, 16:16
closed


Add a static text in a middle of my form

Hello,
I want to write some text in the middle of my form, how can i do that?  My form looks like :
form :html => { :enctype => "multipart/form-data" } do |f|
  f.inputs "Details" do
    f.input :civility
    f.input :society
    f.input :last_name
    f.input :address
    f.input :postal_code
    f.input :country, :as => :string
    f.input :email
    f.input :reduction_code
    f.input :message
    f.input :total
    f.input :city
  end
  f.buttons
end

What kind of text? How much? Where?
Justin
On 08/02/2012, at 10:31 PM<EMAIL_ADDRESS>wrote:

Hello,
I want to write some text in the middle of my form, how can i do that?  My form looks like :
form :html => { :enctype => "multipart/form-data" } do |f|
f.inputs "Details" do
f.input :civility
f.input :society
f.input :last_name
f.input :address
f.input :postal_code
f.input :country, :as => :string
f.input :email
f.input :reduction_code
f.input :message
f.input :total
f.input :city
end
f.buttons
end

Reply to this email directly or view it on GitHub:
https://github.com/justinfrench/formtastic/issues/795

I want to put a div with text (300 characters) between :email and :reduction_code.

There's a few options:

If the text is semantically unrelated to either the email or reduction code inputs, you can break the feildset into two fieldset by ending the first inputs block after email, and starting another before reduction code. This would make it valid to use a DIV (or anything else) in this place, because you've broken up the list. Since you seem to be using ActiveAdmin, you might need to make this a partial with ERB instead (so that you can make a DIV), or maybe some of the Rails HTML helpers will work, Iike content_tag or f.template.content_tag.

If the text is related to the email input, perhaps you can use the existing :hint option which adds a paragraph of text to the bottom of the input.

If the text is related to the reduction code, maybe you could use the legend of the fieldset (assuming you've done step one) like you have with "Details" above), but I doubt it.

If you want to keep the single fieldset and the text is related to either the email or reduction input, consider subclassing the closest relevant input and just putting the text in there as part of a custom input. Then you can use :as => :email_with_blah_text for example, and have the text be automatically included.

Those are about all the options that will work and give you valid HTML. I'm sketchy on the ActiveAdmin details, but they can help you with that once you know how you're going to approach this. If you can show me a mockup or the actual text, I'd love to learn more about the use case, because I have some ideas for making this easier in future versions with new features.
Closing for now.

just posted another option here -- https://github.com/justinfrench/formtastic/issues/794

why not just use:
f.form_buffers.last << "

#{f.object.your_custom_text}
".html_safe

in the context of your form:
form :html => { :enctype => "multipart/form-data" } do |f|
  f.inputs "Details" do
    f.input :civility
    f.input :society
    f.input :last_name
    f.input :address
    f.input :postal_code
    f.input :country, :as => :string
    f.input :email
    f.form_buffers.last << "

#{f.object.your_custom_text}

".html_safe
    f.input :reduction_code
    f.input :message
    f.input :total
    f.input :city
  end
  f.buttons
end

Taken fom here:
http://stackoverflow.com/questions/10524012/insert-a-non-input-row-into-a-formtasic-form

this works
  f.li "Name#{f.object.name || '-'}".html_safe

f.template.concat "
Your Ad Here
".html_safe

The same as https://github.com/justinfrench/formtastic/issues/794#issuecomment-347145680.
Since Rails 3 each input is supposed to be outputted to the template. http://timelessrepo.com/block-helpers-in-rails3


[Fix] Fix flakiness in PluginParamsTransferTest

Purpose of the pull request
The test PluginParamsTransferTest#testGetParamsJson is flaky. It tries to compare a Json file with a hardcoded string. Parsing Json is not order-consistent and it will result flakiness.
While trying to fix the problem, PluginParamsTransfer.transferJsonToParamsList() in the same file become interesting. It is supposed to parse the Json to in to PluginParams type, but the type is polymorphic, and the function does not deal with its property due to the incorrect implementation in PluginParams.
This PR sets the parent type PluginParams as abstract type, and utilizes PluginParamsTransfer.transferJsonToParamsList() to check the Json content.
Brief change log

Make PluginParams abstract.
Adjust the subclass of PluginParams according to the abstract property of the parent class.
Override equals method of ParamsOptions
Use PluginParamsTransfer.transferJsonToParamsList() to check Json content instead of comparing with a hardcoded string
Change the order of 2 tests in PluginParamsTransferTest so ideally it will first testPluginParamsTransfer.transferJsonToParamsList()

Verify this pull request
This change modifies one test:
PluginParamsTransferTest#testGetParamsJson

Manually verified the change by testing locally.
The flakiness test command is mvn -pl dolphinscheduler-spi edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=org.apache.dolphinscheduler.spi.params.PluginParamsTransferTest#testGetParamsJson

This change is partially covered by existing test:
PluginParamsTransferTest#testGetPluginParams

Codecov Report

Merging #6773 (3c98e66) into dev (9113817) will increase coverage by 0.02%.
The diff coverage is 27.77%.

@@             Coverage Diff              @@
##                dev    #6773      +/-   ##
============================================
+ Coverage     41.83%   41.86%   +0.02%
- Complexity     3618     3623       +5
============================================
  Files           641      641
  Lines         25895    25929      +34
  Branches       2795     2799       +4
============================================
+ Hits          10833    10855      +22
- Misses        14081    14090       +9
- Partials        981      984       +3

Impacted Files
Coverage Δ

...dolphinscheduler/spi/params/base/PluginParams.java
96.00% <ø> (-0.08%)
:arrow_down:

...inscheduler/spi/params/checkbox/CheckboxParam.java
0.00% <0.00%> (ø)

...lphinscheduler/spi/params/fswitch/SwitchParam.java
0.00% <0.00%> (ø)

...uler/spi/params/input/number/InputNumberParam.java
0.00% <0.00%> (ø)

...olphinscheduler/spi/params/select/SelectParam.java
0.00% <0.00%> (ø)

...olphinscheduler/spi/params/base/ParamsOptions.java
38.46% <23.07%> (-18.69%)
:arrow_down:

.../dolphinscheduler/spi/params/input/InputParam.java
58.82% <100.00%> (+3.98%)
:arrow_up:

.../dolphinscheduler/spi/params/radio/RadioParam.java
58.97% <100.00%> (+4.68%)
:arrow_up:

...org/apache/dolphinscheduler/remote/utils/Host.java
37.77% <0.00%> (-2.23%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
52.11% <0.00%> (-1.41%)
:arrow_down:

... and 4 more

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 9113817...3c98e66. Read the comment docs.


Schema 1.1.2

Changes to be consistent with 1.1.2 version of the schema. Keeping draft until the schema is finalized.

@mcarans ready for review now, thanks!


Issue/23

Fixes #23

Hi @swatij-ibm @dvaccarosenna ,
Please assign reviewers for this PR
Build Report :

Cluster Installation Report  :


eliminate unused HDF5_CONVERT and related code in nc4hdf5.c

In nc4hdf5.c we have some code like this:
#ifndef HDF5_CONVERT
   int need_to_convert = 0;
   size_t len = 1;
#endif
#ifdef HDF5_CONVERT
   hid_t mem_typeid = 0;
#endif

This occurs with a lot of code in nc4hdf5.c, but no where else.
The HDF5_CONVERT macro is never set anywhere.
At first I wrote the netccdf-4 code so that HDF5 did data conversions on reads/writes. But it was impossible to get HDF5 to follow the exact rules of netCDF with regard to some of the corner cases. So I re-wrote the netcdf-4 code to convert the data as needed.
The HDF5 team told me they would put in fixes so that HDF5 could correctly handle the corner cases. Then I could remove the conversion code in netCDF-4. But that went the way of most good intentions.
So for all this time, we have been converting the data, and I guess we are going to continue to do so. The HDF5_CONVERT code does not even compile at this point. I will take it all out and clean up the code.

I have a vague recollection that this was a Quincy operation. He proposed we use
the HDF5 converters. But it looks like he (or whoever) never completed the conversion.

Here's a sad little note in the code I am removing:
* @note I should be able to take this out when HDF5 does the right thing
 * with data type conversion. Ed Hartnett, 11/15/3

15 years ago! What an optimistic young programmer I was.


Settings-Password-Admin-App - Sprint 1

Description:

Build the Screen using the style guide.
Integrate Screen with the Backend

I will take this


Contradicting info on the page

There are two lines on this page that show opposite information:
1: The DCE does not need to be in the same region as the Log Analytics workspace where the data will be sent or the data collection rule being used.
2: Provide a name for the DCE and ensure that it's in the same region as your workspace. Select Create to create the DCE.
So, according to the first line the DCE can be in a different region then the Log Analytics workspace, but the 2nd line says I have to ensure they are in the same region.

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

ID: f1962f4b-74fb-74cf-fbbe-3a15ef34d3ea
Version Independent ID: d3123a85-673c-e31f-4e28-e4f44ae9e7a2
Content: Tutorial: Send data to Azure Monitor Logs with Logs ingestion API (Azure portal) - Azure Monitor
Content Source: articles/azure-monitor/logs/tutorial-logs-ingestion-portal.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @bwren
Microsoft Alias: bwren

@tokesr, thank you for bringing it to our attention. I will review them and get back to you soon.

@tokesr, thank you for bringing it to our attention. As verified in the portal, for this particular tutorial where a custom table is being added, the DCR and DCE need be in the same region.
For other scenarios where you do not need custom table (forward logs from VM), DCR & DCE can be in a different region than that of LA workspace. However, the DCR and DCE always remain in the same region.


Updated Transformer model to use callable.

I have to use .call explicitly for callable with inout. Once "Static callable does not support inout" (https://bugs.swift.org/browse/TF-443) get fixed, we can simply remove .call in the code.

Upstream: apple/swift#24157.

apple/swift#24157 has been merged. If you could update it to the callable syntax for the call sites that take an inout, that'd be great!

Thanks Leo!


remove unused header files

Scope & Purpose
Remove 2 now unused header files

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] The behavior change can be verified via automatic tests

Testing & Verification
Test plan: compilation of arangod should still succeed
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9127/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9130/

Tests blue except unrelated hot_backup failure.

@dothebart @ObiWahn : would you mind reviewing?

@dothebart @ObiWahn : would you mind reviewing?

@dothebart @ObiWahn : would you mind reviewing?

@dothebart @ObiWahn : would you mind reviewing?


fix: made styling hovering buttons consistent with theme

Current dependencies on/for this PR:

main

PR #176   👈

This comment was auto-generated by Graphite.


Updating default values in gatling.conf

Closes #205

@kami619 - it would be great is you could give it a short review; I tested one scenario locally (the Authorization Code Scenario) and it worked as before - the Gatling run went ok, and the metrics still showed up in the Grafana dashboard for the Gatling run.
Thanks!

sure thing, I will test this on my local as well to be extra careful !

alright works on my local as well. lgtm


:bug: message.channel.send is broken within on_message

Describe the bug
message.channel.send is broken within on_message
Steps to Reproduce
@Client.event
    async def on_message(self, message: UserMessage):
        await message.channel.send("Hello world")

Relevant console output
Traceback (most recent call last):
  File "/home/sigmanificient/dev/pincer/bot/pincer_bot/cogs/info.py", line 125, in on_message
    await message.channel.send(Embed(description=f"[{content}]({url})"))
  File "/home/sigmanificient/dev/pincer/bot/venv/lib/python3.10/site-packages/pincer/utils/api_object.py", line 323, in channel
    return self._client.channels[self.channel_id]
KeyError:<PHONE_NUMBER>31609886

Pincer Version used
0.15.1

This will be fixed when I finish implementing caching

Closed due to depreciation, thank you for your effort ♥


In README, rename "Usage" section to "Installation"

It's a trivial thing, but whenever I look for installation instructions in the README, I have to scroll around a little because there is no section for it. Instead, there is a "Usage" section that actually contains installation instructions and not usage information.

Hi @stevecj Thanks so much for feedback. I have updated it.


Capacitor banks lose their energy when wrenched and Waila not updating

I updated to the latest 341 build of EnderIO and now if I wrench capacitorbanks to move them, they lose their stored energy. Build 340 was fine.
And this is on a server enviroment.
And in build 340 or might have been couple builds earlier, the RF counter in Waila doesn't update the stored energy until I open the GUI of the capacitor bank.
In all cases the scenario has been that I am using a tier 1 capacitorbank to power a Progressive Automation miner.

Half fixed via https://github.com/CrazyPants/EnderIO/commit/10af591ceeea80b992bc590c975c0363697098b0

And fixed

Thanks and keep up the good work


Rotate North. Keep arrow up. Optional secondary arrow.

Is your feature request related to a problem? Please describe.
Used as a compass for a car, boat, or any moving vehicle.
Describe the solution you'd like
I would like to have a arrow pointing up, instead of the north, a north rotating, and if possible a second arrow pointing to the wind
Describe alternatives you've considered
I have tried to mess with the offset option, but couldn't make it work. Offset only allows values, not sensors, and I am neither sure if this would fix it.
Additional context
I have a wind direction sensor, a boat course, and a boat speed sensor, three sensors.
I would like to have it behave (Not look) like the two following:

Or if possible like this (arrow up, wind arrow, north rotating):

TOM! Thanks for considering the feature,
I am not in a hurry, so I'll wait until v1.2
Thanks a lot!

In v1.2.0 the background and e/s/w indicators are added. The dynamic N (and the other new ones ofc) will have to wait till v1.3.0

Don't worry tom!
I'll try it, but looking forward for 1.3.0,
I am a fan of your work!
Thanks

Hi!
Can I take a little of your time? To not make new thread. Can you make offset option more friendly with direction?
Now it's looks like picture (my windows facing to south)

Is your feature request related to a problem? Please describe. Used as a compass for a car, boat, or any moving vehicle.
Describe the solution you'd like I would like to have a arrow pointing up, instead of the north, a north rotating, and if possible a second arrow pointing to the wind
Describe alternatives you've considered I have tried to mess with the offset option, but couldn't make it work. Offset only allows values, not sensors, and I am neither sure if this would fix it.
Additional context I have a wind direction sensor, a boat course, and a boat speed sensor, three sensors. I would like to have it behave (Not look) like the two following:

Or if possible like this (arrow up, wind arrow, north rotating):

ah yes, maybe it's easy-to-use flexible horseshoe card integration to make last compas?

Hi! Can I take a little of your time? To not make new thread. Can you make offset option more friendly with direction? Now it's looks like picture (my windows facing to south)

Good point! Looks like a lazy implementation from my side ;-)

Unfortunately not het, thanks for asking and reminding me ;-)

Heya! Wonder if you ever got to dynamic rotation (for boat heading)
Thanks for your efforts - love your work!

I'm halfway there, but time is slipping through my fingers lately.

i also look forward to have that nice feature :-)

Hello!  I want wind direction (arrow inward) and sun (when above horizon), with values of wind speed and azimuth, and house outline behind. So far I managed only wind and wind speed.
Thank you in advance and for the awesome instrument!

Hello!  I want wind direction (arrow inward) and sun (when above horizon), with values of wind speed and azimuth, and house outline behind. So far I managed only wind and wind speed. Thank you in advance and for the awesome instrument!

With a config something like this
type: 'custom:compass-card'
indicator_sensors:
  - sensor: sensor.wind
    indicator:
      type: inward
  - sensor: sensor.sun
    indicator:
      type: circle

I'm halfway there, but time is slipping through my fingers lately.

Hi,
any progress on this? I'd love to have this feature on my smart boat dashboard.


Godot 3.5 update

Since method signatures for call_signal and call_deferred got changed, most of the existing plugins stopped working. Well.
Here's an updated version if anyone's interested: https://github.com/rzuf79/godot-ios-plugins/releases/tag/3.5.0

hey @rzuf79
do you have an updated FB plugin also for android?
the link points only to ios.
thanks!

hi @yan88a
No, I never did any serious updating, but I did change the android/facebook/gradle.conf file to make it work at all. Here's how it looks for me:
[buildscript_repositories]

[buildscript_dependencies]

[allprojects_repositories]

[dependencies]
implementation 'com.facebook.android:facebook-android-sdk:5.15.3'
implementation 'com.google.android.gms:play-services-ads:16.0.0'

[android_defaultconfig]

[global]

I wonder if it will be enough to just change the Facebook SDK version number. Probably not but maybe it's worth trying. 😅

Hello is there any updates ?


[WIP]bump openssl to whatever nodejs is using

Pretty sure this won't work in Windows.

Why won't it work in windows?

OpenSSL is a requirement for libssh which is a requirement for libgit2 on any operating system. We definitely use and build it in Windows. We include it as a vendor dependency for that very reason.

Although I think I'm misunderstanding the purpose of this PR. Are you simply bumping it to the version Node uses? I can't get the diff to load right now without crashing my tab.

Yes, updating to the latest version of openssl so that we can use the gyp file for it. There's an issue with compilation with nodegit and electron that is solved with this gyp file / copy of openssl.


NextCloud helm chart redeployment can't use created username

Describe the bug
A clear and concise description of what the bug is.
After redeployment using NextCloud Helm chart or recreating a pod, NextCloud can't access the user, provided in the configuration
starting nextcloud installation
The username is already being used
retrying install

Issue is also open in NextCloud's helm repo
To Reproduce
Steps to reproduce the behavior:

Redeploy nextcloud instance / kill and recreate nextcloud-web pod
Get error

Expected behavior
A clear and concise description of what you expected to happen.
Proceed without installation
Server (please complete the following information):

OS: [e.g. iOS] Ubuntu Cloud-init 22.04
Version of NextCloud helm chart: 4.6.2
Version of k3s: v1.28.6+k3s2

Possible fix
Using install env in nextcloud entrypoint.sh set to false after the init installation.
if [ "$install" = true ]; then
                        run_path pre-installation

                        echo "Starting nextcloud installation"
                        max_retries=10
                        try=0

doodoo issue, #readthedocs
fixed with:
postgresql:
  ...
  primary:
    persistence:
      enabled: true
...

persistence:
  enabled: true


[Task]: Migrate user flags to LaunchDarkly

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

[ ] Update Appsmith app to talk to Launch Darkly instead of Flagsmith with the exact same functionality that we have today on the self serve app https://github.com/appsmithorg/appsmith/issues/28442
[x] #29097
[ ] #29098

This is completed for the staging environment.

There are other priority items and hence the appsmith app wasn't taken on priority. appsmith app will be looked after we have some bandwidth. As the migration has completed closing this task


list download broken

[+] : Logged in successfully.
Traceback (most recent call last):on ..
File "lynda-dl.py", line 395, in
main()
File "lynda-dl.py", line 301, in main
lynda.course_download(path=options.output, quality=options.quality)
File "lynda-dl.py", line 162, in course_download
course = lynda.course(url=self.url, username=self.username, password=self.password, organization=self.organization, cookies=self.cookies)
File "C:\Users\x\Documents\portable_apps\lynda-dl-master\lynda_lynda.py", line 38, in course
return Lynda(url, username, password, organization, cookies, basic, callback)
File "C:\Users\x\Documents\portable_apps\lynda-dl-master\lynda_internal.py", line 43, in init
super(InternLyndaCourse, self).init(*args, **kwargs)
File "C:\Users\x\Documents\portable_apps\lynda-dl-master\lynda_shared.py", line 65, in init
self._fetch_course()
File "C:\Users\x\Documents\portable_apps\lynda-dl-master\lynda_internal.py", line 55, in _fetch_course
self._info              =       self._real_extract(self._url)
File "C:\Users\x\Documents\portable_apps\lynda-dl-master\lynda_extract.py", line 242, in _real_extract
response = self._session.get(url)
File "C:\Users\x\Documents\portable_apps\WPy-3670\python-3.6.7\lib\site-packages\requests\sessions.py", line 537, in get
return self.request('GET', url, **kwargs)
File "C:\Users\x\Documents\portable_apps\WPy-3670\python-3.6.7\lib\site-packages\requests\sessions.py", line 510, in request
prep = self.prepare_request(req)
File "C:\Users\x\Documents\portable_apps\WPy-3670\python-3.6.7\lib\site-packages\requests\sessions.py", line 453, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "C:\Users\x\Documents\portable_apps\WPy-3670\python-3.6.7\lib\site-packages\requests\models.py", line 313, in prepare
self.prepare_url(url, params)
File "C:\Users\x\Documents\portable_apps\WPy-3670\python-3.6.7\lib\site-packages\requests\models.py", line 387, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'requests[security]': No schema supplied. Perhaps you meant http://requests[security]?

@manu212 list download is not broken, you might have done something wrong while providing list of urls. the error clearly says that your provided url is invalid or broken. its a human error.

@manu212 Based on the error, it looks like you may have forgotten the "https://" from your URLs.

ubfortunately not, i tried with one URL with https, without, etc. can you provide me an example file with three URLs which i can access with lynda-dl?
Thanks a lot.
I followed your Diskussion in the issues and README: URLs separeted by New lines in a text file. My URLs work as a download parameter, but not in a text file list

courses.txt

i found the issue: the url-download works with: https://www.lynda.com/Developer-tutorials/Python-Projects/604246-2.html, but list download requires the full url like your example. nevertheless the list download works with organizational login only once. the second url gives a "JSONDecodeError : it seems your cookies got expired, provide again.". This is because of auto logging out through lynda-dl. THen the cookie is invalid. Login with username and password s not possible, since authentication is made through the organisation portal...
Is this a known bug?

i found the issue: the url-download works with: https://www.lynda.com/Developer-tutorials/Python-Projects/604246-2.html, but list download requires the full url like your example. nevertheless the list download works with organizational login only once. the second url gives a "JSONDecodeError : it seems your cookies got expired, provide again.". This is because of auto logging out through lynda-dl. THen the cookie is invalid. Login with username and password s not possible, since authentication is made through the organisation portal...
Is this a known bug?

no its not a bug, this tool don't support SSO based logins, so if your cookies got expired you have to provide again.
i have tested with the courses links, for me it works fine it does not matter if you provide all the junk in front of that course url the tool work just with the url looks like the above one.

@r0oth3x49  thanks for your imemdiate feedback. Since I have only a SSO based login, I didn't know that. Thanks for explaining this.

@r0oth3x49 thanks for your imemdiate feedback. Since I have only a SSO based login, I didn't know that. Thanks for explaining this.

I'm using Library Account, facing the same "cookies" issue with you, do you have any solution?


No plots produced, query fails

I have installed obsmon v. 4.3.2 (e27e705) on a fresh server running ubuntu 22.04 with ansible.
Obsmon is running and I have some sqlite files holding both ecma and ccma, eg. on the path /obsmondata/dini/ecma/2022070512/ecma.db
I run obsmon through a shiny-server. From these log files I see the error preformQuery: could not find function "partial".
Full log file is below.
I guess that the error probably comes from src/sqlite/sqlite_wrappers.R but I don't know where the ´partial´ function is defined.
Any suggestions will be very much appreciated.
 If set, will appear in the GUI and logs.
    logLevel = "DEBUG"
    cacheDir = ".Rcache"
    sessionTimeout = 1800 # In seconds. Optional.
    appTimeout = 5 # In seconds. Optional.
    multiPlotsEnableInteractivity = true # The default value is false

[domain]
    nlon = 90
    nlat = 96
    lonc = 16.763011639
    latc = 63.489212956
    lon0 = 15.0
    lat0 = 63.0
    gsize = 25000
    lmrt = false

[[experiments]]
    displayName = "DINI"
    path = "/obsmondata/dini/"

[[experiments]]
    displayName = "IG"
    path = "/obsmondata/ig/"

[[multiPlots]]
    displayName = "DINI: ecma NObs for all obs but satem"
    experiment = "DINI"
    plotType = "Number of Observations"
    database = "ecma"
    startDate = -30
    excludeObs = ["satem"]
    [multiPlots.levels.aircraft]
        t = 100000
        u = [27500, 45000]
    [multiPlots.levels]
        synop = 0
        pilot = [1500, 4000, 8500, 45000]
    [multiPlots.excludeLevels]
      pilot = [8500, 100000]
    [multiPlots.excludeLevels.aircraft]
      v = [2500, 8500, 60000, 1500]
    [multiPlots.batchMode]
        parentDir = "batch_mode_plots"

[[multiPlots]]
    displayName = "IG"
    experiment = "IG"
    plotType = "Number of Observations"
    database = "ecma_sfc"
    startDate = -30
    [multiPlots.obs]
        synop=["t2m","rh2m", "snow"]
        aircraft=["t"]
    batchMode = true

[[multiPlots]]
    displayName = "A multiPlot with station choices"
    experiment = "IG"
    plotType = "Observation Usage"
    database = "ecma"
    startDate = "2022-05-19"
    endDate = "2022-05-19"
    cycles = "00"
    [multiPlots.stations]
        synop = ["01158", "01226"]
        aircraft = ["2BTQVXZA"]

[[multiPlots]]
    displayName = "A multiPlot with satem observations"
    experiment = "DINI"
    plotType = "First Guess and Analysis Departure"
    database = "ecma"
    startDate = "2022-05-19"
    nDays = 1 # To include only the startDate
    cycles = ["00", "09"] # Specifying multiple cycles
    [multiPlots.obs]
        synop=["z"]
    [[multiPlots.obs.satem]]
        sensor="amsua"
        satellite="metop1"
        channels=[1, 3, 5, 7]
    [[multiPlots.obs.satem]]
        sensor="iasi"
        satellite="metop2"
        channels=[38, 167, 236]

[[multiPlots]]
    displayName = "A multiPlot with more specific obs removed"
    experiment = "IG"
    plotType = "Observation Usage"
    database = "ecma"
    startDate = "2018-11-19"
    cycles = "00"
    [multiPlots.excludeObs]
        ship=["apd", "snow"]
        aircraft=["all"]
        [[multiPlots.excludeObs.satem]]
            sensor="amsua"
            satellite="metop1"
            channels=[1, 3, 5, 7]
        [[multiPlots.excludeObs.satem]]
            sensor="amsub"
            satellite="noaa16"

The shiny-server log file:
==================================================
   ____  _
  / __ \| |
 | |  | | |__  ___ _ __ ___   ___  _ __
 | |  | | '_ \/ __| '_ ` _ \ / _ \| '_ \
 | |__| | |_) \__ \ | | | | | (_) | | | |
  \____/|_.__/|___/_| |_| |_|\___/|_| |_|

                  v4.3.2

Branch: Unknown
Tag: Unknown
Commit: Unknown
Commit date: Unknown
==================================================

Warning: replacing previous import 'lifecycle::last_warnings' by 'rlang::last_warnings' when loading 'tibble'
Warning: replacing previous import 'lifecycle::last_warnings' by 'rlang::last_warnings' when loading 'pillar'
Warning in createCacheDir(config, verbose = TRUE) :
  Cannot write to cacheDir /srv/checkout/.Rcache/obsmon_v4.3  !!!!!
 Please specify a valid cacheDir value under the
 "[general]" section in your config file.
 >> Caching will not work!!!!

DEBUG [2022-07-07 07:29:11] Temp dir for session: /tmp/RtmpFE9fBV

INFO [2022-07-07 07:29:11] Config name found: "UWC-West Obsmon"

DEBUG [2022-07-07 07:29:12] Config file contains user-defined multiPlots. Validating.
DEBUG [2022-07-07 07:29:12] Finished validation of user-defined multiPlots.

Listening on http://<IP_ADDRESS>:41723
INFO [2022-07-07 07:29:13] New session started. Session token: e2fe3e13e2aa772fccca35d9234314fd
DEBUG [2022-07-07 07:29:13] Error: invalid assignment for reference class field 'center_lonlat', should be from class "numeric" or a subclass (was class "logical")

DEBUG [2022-07-07 07:29:15] Getting ecma DTGs for DINI
DEBUG [2022-07-07 07:29:15] Done getting ecma DTGs for DINI

DEBUG [2022-07-07 07:29:17] Killing jobs with PID(s) 741713
ERROR [2022-07-07 07:29:21] preformQuery: could not find function "partial"
DEBUG [2022-07-07 07:29:21] preformQuery: Split 1 queries into 1 processes.
   > Total elapsed time: 0.009 sec. Avg time per query: 0.009 sec.
DEBUG [2022-07-07 07:29:22] Killing jobs with PID(s) 741716
DEBUG [2022-07-07 07:29:22] Killing jobs with PID(s) 741719

Hi @khintz
I think the partial function comes with purrr which is a dependency of dplyr - I think. On my PC (CentOS8, R==4.0) I can see both installed in /home/ewhelan/R/x86_64-redhat-linux-gnu-library/4.0. Can you explore your ubuntu installation in the same way?
Eoin

Great! Progress. Don't know enough about R or Obsmon to point the finger of blame here.

The packages are also in .installer_local_R-libs/R-libs/dplyr/ (see .Rprofile).
For now, I add the require('purrr'), but waiting to hear if @paulovcmedeiros has any suggestions for a real fix.

Hi again,
Can you try reinstalling obsmon using the version in the devel branch? I've made some changes to the install script. Btw, take a look at the new "Advanced install options" section of the PDF doc file. It should now be easier to install selected versions of R-packages, or install the latest versions of all packages from CRAN.
Let me know how it goes. I won't merge this into master until the install works correctly.

Hi @paulovcmedeiros,
The only things I changed was changing version of many packages, as reported in the first comment in this issue, and I had to add require("purrr") in src/sqlite/sqlite_wrappers.R
The repo is cloned so everything is brought over, also .git and .Rcache.
Now I tried using your devel branch, and it worked out-of-the-box... No changes to the code at all from my side.
I have tried loading data from an experiment and it works as expected (after creating a config.toml file)
For reference, I put my ansible pipeline related to obsmon below, so you can see all the steps I did on an Ubuntu 22.04 VM.
---
- name: Write ansible log
  shell: date "+{{ ansible_log_date_format }} - DMI helper scripts" >> "{{ ansible_log_file }}"
  changed_when: False

#####################
# Include vars
#####################
- name: Include role environment variables
  include_vars:
    dir: "vars"
    extensions:
      - "yml"

#####################
# Install and configure required packages
#####################

- name: Update apt cache and install dependencies
  apt:
    name:
      - build-essential
      - git
      - dirmngr
      - gnupg
      - apt-transport-https
      - ca-certificates
      - software-properties-common
      - gdebi-core
      - libopenblas-base
      - libudunits2-dev
      - libcairo2-dev
      - libxt-dev
      - libgdal-dev
      - libgeos-dev
      - libv8-dev
      - libgeos++-dev
      - libproj-dev
      - sqlite3
      - libsqlite3-dev
      - libharfbuzz-dev
      - libfribidi-dev
    state: latest
    update_cache: yes

- name: Install CRAN devtools dependencies
  apt:
    name:
      - libxml2-dev
      - libssl-dev
      - libcurl4-openssl-dev
    state: latest
    update_cache: yes

- name: Add key for CRAN-R repository
  apt_key:
    url: https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc
    state: present

- name: Add CRAN-R repository
  apt_repository:
    repo: "deb https://cloud.r-project.org/bin/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }}-cran40/"
    state: present
    update_cache: yes

- name: Install r-base
  apt:
    name:
      - r-base #=4.2.1-1.2204.0
    state: present
    update_cache: yes

- name: Install the necessary CRAN devtools package
  shell: R -e "install.packages('devtools', repos='http://cran.rstudio.com/')"
  args:
    warn: yes

- name: Install shiny
  shell: R -e "require(devtools); install_version('shiny', version = '1.7.1', repos = 'http://cran.us.r-project.org')"
  args:
    warn: yes

- name: Get and install shiny-server
  shell: |
    wget https://download3.rstudio.org/ubuntu-18.04/x86_64/shiny-server-<IP_ADDRESS>7-amd64.deb
    gdebi --non-interactive shiny-server-<IP_ADDRESS>7-amd64.deb
    ufw allow 3838
  args:
    warn: yes

- name: Install rmarkdown
  shell: R -e "require(devtools); install_version('rmarkdown', version = '2.14', repos = 'http://cran.us.r-project.org')"
  args:
    warn: yes

- name: Install tidyverse required by obsmon
  shell: R -e "require(devtools); install_version('tidyverse', version = '1.3.1', repos = 'http://cran.us.r-project.org')"
  args:
    warn: yes

#####################
# Replace Nginx role default configuration
#####################

- name: Default webpage content
  copy:
    src: "var/www/default/{{ item }}"
    dest: "/var/www/{{ hostname }}.{{ domain }}/"
    owner: "root"
    group: "root"
  with_items:
    - 'index.html'
    - 'uwc.png'

- name: Redirect obsmon to shiny by overwriting default nginx configuration
  copy:
    src: "etc/nginx/sites-enabled/{{ hostname }}.{{ domain }}"
    dest: "/etc/nginx/sites-enabled/{{ hostname }}.{{ domain }}"
    owner: "root"
    group: "root"

- name: Overwrite default shiny server sample apps location
  copy:
    src: "etc/shiny-server/shiny-server.conf"
    dest: "/etc/shiny-server/shiny-server.conf"
    owner: "root"
    group: "root"

- name: Reload Nginx configuration for obsmon
  service:
    name: "nginx"
    state: "reloaded"

- name: Reload shiny-server configuration for obsmon
  service:
    name: "shiny-server"
    state: "reloaded"

- name: Create data directories for obsmon
  shell: |
    mkdir -p /obsmondata/dini/
    mkdir -p /obsmondata/ig/
  args:
    warn: yes

#####################
# Fetch and install obsmon
#####################

- name: Git checkout obsmon
  git:
    repo: "https://github.com/Hirlam/obsmon.git"
    dest: /srv/checkout
    version: "devel"

- name: Make sure to start from a fresh obsmon installation
  shell: cd /srv/checkout/ && ./install clean all
  args:
    warn: yes

- name: Install obsmon frontend
  shell: cd /srv/checkout/ && ./install
  args:
    warn: yes

Hi @khintz ,
Great that the version on devel works! I will merge it into master and wrap up a new release soon then.
Thank you very much indeed for the ansible pipeline! This is very useful, I may even include it in a future release as a reference for those interested.


TFW: Action for copyright tag in Testify source files

Action will check for copyright tag with current year.
If tag exists:

Will carry on
Else:
Will add tag in automatically

Tag will not be added automatically instead it will fail the action if there is a source file within the Testify repo that does not have the correct tag with the current year


[#3699] Nio|EpollEventLoopGroup.shutdownGracefully() needs to gracefully...

... close connections.
Motivation:
Currently when calling Nio|EpollEventLoopGroup.shutdownGracefully() all active Channels will be closed right away. This is not what should happen for a graceful shutdown.
Modifications:
Only close Channels after quite period is complete.
Result:
Correct behavior when call shutdownGracefully()

@trustin please check

@Scottmitch also please check

TL;DR - We don't need to fix this because it is working as intended.
The intention of closeAll() is to make sure to close all channels when an event loop is shutting down so that the channels do not produce new events anymore.  If we move closeAll() after confirmShutdown() returns true, the channel events related with the closure may not be processed correctly (e.g. rejected) because an event loop will not accept new tasks once confirmShutdown() returns true.
#3699 says the connections are closed before in-flight messages are handled.  Actually, that's an intended behavior.  Why?  If we waited until all incoming messages are handled, it will always take as much time as the grace period, and we will still not be able to ensure all messages are handled. i.e. we solved nothing really.
I think it's better for a user to communicate with the remote peers to schedule the shutdown and call shutdownGracefully() when it's ready to terminate the event loop.
/cc @fantayeneh

@trustin true ... let me close as won't fix...

@trustin I am still confused about shutdownGracefully() documentation then. Can you please shed some light on the purpose of quietPeriod param.  If the closeAll() happens right away why the need for the quite period.
The current doc says as follows.
Unlike shutdown(), graceful shutdown ensures that no tasks are submitted for 'the quiet period'
(usually a couple seconds) before it shuts itself down.
If a task is submitted during the quiet period, it is guaranteed to be accepted and the quiet
period will start over.

Thanks

Following-up here in case someone lands here. It seems that the best way to approach this is to keep track of connections with a ChannelGroup (by adding another ChannelHandler to the pipeline which acts during channelActive and channelInactive). After closing the listening channel, ChannelGroup::newCloseFuture can be called and waited upon, once realized, the rest of the shutdown procedure can be carried through.


Remove "completed" glitch

Remove console log "completed" in scaffolding

Thanks y'all for the reviews!