Epoch end checkpoint restarts previous epoch

🐛 Bug
If restarting the training and reloading the model, the epoch that the checkpoint had just completed is restarted rather than beginning the next.
Expected behavior
When a checkpoint upon epoch end is saved, restarting it should resume its state and start the next epoch.

https://github.com/PyTorchLightning/pytorch-lightning/blob/edd4a87fb0e976e004a82c7a3491598ab65cafbd/pytorch_lightning/trainer/training_io.py#L389
This seems as simple as replacing the line above with self.current_epoch = checkpoint['epoch'] + 1 since the checkpointers save at the end of validation and the main loop runs from the current epoch.
We should probably also increase the global step by 1 since this happens after saving the checkpoint.
https://github.com/PyTorchLightning/pytorch-lightning/blob/edd4a87fb0e976e004a82c7a3491598ab65cafbd/pytorch_lightning/trainer/training_io.py#L388
https://github.com/PyTorchLightning/pytorch-lightning/blob/edd4a87fb0e976e004a82c7a3491598ab65cafbd/pytorch_lightning/trainer/training_loop.py#L411
https://github.com/PyTorchLightning/pytorch-lightning/blob/edd4a87fb0e976e004a82c7a3491598ab65cafbd/pytorch_lightning/trainer/training_loop.py#L430
I'm not yet sure how early stopping would deal with this case though. If we resumed after the training was halted for early stopping, we might end up running more epochs.
@williamFalcon @Borda Any other thoughts if I put a PR in with this?

That works when saving at epoch end but there's many cases of saving during an epoch as well (e.g. for a very large dataset). Both the epoch number and the global step are technically correct upon saving mid or end epoch but when resuming, the loop starts at the beginning. The best solution is to make the resume reliably restart precisely where in the loop it left off. I'm not that familiar with this code but guess one should then also save the batch_idx.

I can think of at least one way to do it, although it's not ideal:

Store a batch number in the checkpoint as you suggest and when resuming, load this into a (hidden?) trainer variable which is checked every training batch.
Skip each batch until the batch number is above this saved variable, at which point we can set it to None or something.
Run batches as normal

Two Problems I see:

When the data set is shuffled there would be no guarantee of seeing only new samples after the reload without somehow 'resuming' the dataloaders.
Any calls that are usually made during the batch wouldn't happen. For example, the tqdm update calls would need to be faked so it didn't appear to end the epoch early in the progress bars.

Resuming mid-epoch does sound useful for big data sets, but I wonder if it is a new feature rather than a bug, maybe it's better in a new issue?

Currently I've put in a PR that deals with the off by one when loading a checkpoint from epoch end. I've added a warning when loading a mid-epoch checkpoint that says resuming training is not reliable and to consider loading an end of epoch checkpoint.
If it's preferable I can also rerun the previous epoch when we detect mid-epoch checkpoints, but this technically means you run for more epochs than you would expect/report, so I'm not sure if this is a good idea.
I'd suggest a new issue and discussion on how to resume mid epoch checkpoints, since we have no way of ensure data set states are preserved, and close this issue with the PR I have up.

Great, a good compromise for now


[ANCHOR-729]Include buy/sell delivery method in SEP-38 GET /quote response

Description
Included in Sep38QuoteResponse which is returned by  POST /quote and GET /quote
Also in GetQuoteResponse which is used when publish QUOTE_CREATED event
Testing

./gradlew test

Documentation
https://github.com/stellar/stellar-protocol/pull/1556

Can you add tests to the configuration and service classes?


Enable relative imports

Importing a module tre.tengo
fun := func(a) {
  return a
}

tre := {
  fun: fun
}
export tre

in another tengo script due.tengo (both files are in the same folder)
tre := import(`tre`)

funcy := func(a) {
  return tre.fun(a)
}

due := {
  funcy: funcy
}
export due

throws an error, when tengo is invoked as CLI from another directory, e.g. the parent folder :

Compile Error: module file read error: open tre.tengo: no such file or directory
at due.tengo:2:8

It works fine however when tengo is invoked from within the folder. This leads me to suspect the import is done relative to the working directory. Relative imports feel more intuitive though, or am I wrong. Is there already a way to import relative to another file?

In the current implementation, all import paths are determined based on the working directory (like bash). But I'm open to other options. @geseq @ozanh

I’m open to relative imports. I can imagine use cases were relative imports would be more suitable than what we have now.

While using bash, changing current working directory to call other scripts with relative imports make me frustrated. Python has sys.path to resolve imports, but it is a luxury for now. Default behavior can be setting tengo's working directory to script's dir within tengo executable for both run and compile only options.

Just to make sure I understand it correctly.
- dir1
  - file1.tengo
  - file2.tengo
  - dir2
    - file3.tengo
    - dir3
      - file4.tengo

dir1/file1.tengo:
import("file2") // or "./file2"

dir1/file2.tengo
import("dir2/dir3/file4") // or "./dir2/dir3/file4"

dir2/file4.tengo
import("../file3")

Running dir1/file1.tengo would import the other 3 files using such relative paths (file1 -> file2 -> file4 -> file3)?
A couple of things:

What if the first (root) script is not a physical Tengo file, but a Tengo code inside Go? Should we use the current working directory for import statements in that script?
We will have to normalize those paths so we can detect/prevent the cyclic imports correctly.

Hey thanks for your quick answers everyone!
@d5 I think the import you suggested is correct. That's how I would expect it. That would allow to write a form of package for the tengo code.
Regarding tengo in go: One could go for working directory relation or again relative relation to the calling go file I guess. there are benefits and disadvantages to both. However, in a go package id assume that 'relative to the working directory' is more consistent as the tengo code may then be sent around within Go pkgs without changing the context of the import.

Hi, I've worked a little, please check this patch
It resolves file import paths in Compiler and in non-file source modules you need to write import paths considering what is initially set with *Script.SetImportPath() and resolves relative import paths. In tengo executable it sets the executable's current working dir to script file's dir and then the rest is same.  Not a complete solution though! Please review it.

Haha. Why don't you create a PR? @ozanh

I need this function very much. I also meet this requirement when I write a lot of tengo modules

Hi, I think the fix didn't work. The error persists:
Both files (as they are in the initial post) are in the directory /home/michael/GitHub/tengo. Calling tengo from outside the folder gives:

tengo tengo/due.tengo
Compile Error: module file read error: open /home/michael/GitHub/tre.tengo: no such file or directory
at due.tengo:2:8

From inside the folder it works.

Hi @maichmueller , if you test new feature with tengo CLI  please check new command line flag -resolve. That enables relative imports. From Go, you should call Script.SetImportDir() with a path to enable it. If you do all these things and it still does not work, then we have a big problem.
In version 3, this feature will probably be the default behavior. Sorry it is not documented due to time constraints and urgent bugs.

Works fine with the flags. Thanks for the quick fixes and the great work!


chore(path): bump to latest version of path

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement renaming symbols via LSP and tsserver

LSP and tsserver support operations for renaming things, and ALE should support these operations.

I am interested in tackling this...

This would be super handy to have. Any plans still @w0rp ? I would prefer to just use ale than have another lang server plugin that supports this.

The plan is to just eventually implement it somehow.

I have an old commit that adds support for the lsp and tsserver renaming protocols.
I haven't added support for actually performing the rename in vim and probably won't have time to work on it for a while, but I have rebased my branch onto upstream so I could open a work in progress PR or someone is welcome to use my commit as a basis...

Thank you for sharing that. Someone might pick it up and finish the job. :+1:

I tried getting this to work a while back but it doesn't seem to rename anything:
https://github.com/Risto-Stevcev/ale/commit/a94bf9b095d8a542f17c9ceeece311d2ab283077
This is such a critical IDE feature, it would be nice to get this in

I made rename work for TypeScript by starting off of @mwilliammyers's commit (thanks!). It's on my fork on the feature/renaming-symbols branch. Here's the link to the main commit. I also merged upstream/master into it to keep it up to date.
Since I changed the message structure in ale#rename#HandleTSServerResponse (that eventually gets passed on to s:ApplyRenameEdits, it also needs to be changed in ale#rename#HandleLSPResponse.
Also, the way the buffer contents get replaced seems hackish as hell, so I'd love to hear about a better way to do it :)

:ALERename has been merged already now.


Failing testcase for prototype property named attributes

:(
Bug inspiration & the associated fix: https://github.com/documentationjs/documentation/pull/396

good old Object.create(null)

@tmcw Interesting phenomenon, that is.
This package needs to support Node 0.10 until we upgrade unpacker to v4, and it looks like 0.10 does not support the Object.create(null) behavior: http://node.green. Can try to accommodate another way, though ...

Object.create is ES5 it will work in Node 0.10.

Ah, I misread the limitation, which is more obscure than just Object.create(null) not doing what we want ...


extension child process exits with code 127

VSCode Version: 1.34.1
OS Version: Ubuntu 19.04

Steps to Reproduce:

add a worker process to an extension
Run the worker it will exit

Does this issue occur when all extensions are disabled?: Yes
However this used to work on code v1.30.2 on the december 2018 version. And after January the worker process exits with code 127. Any Help?

Know what the issue is @sandy081

@alexandrudima Know what the issue is?

Any progress @alexandrudima ?

Any updates? @alexandrudima

@Ayanrocks I don't understand your issue. What are the steps to reproduce?

Create an extension and create a child process from the main extension.ts
file. The worker will exit with code 127. This used to work before January
2019 version of vscode.
On Tue, Jul 30, 2019, 19:42 Alexandru Dima<EMAIL_ADDRESS>wrote:

@Ayanrocks https://github.com/Ayanrocks I don't understand your issue.
What are the steps to reproduce?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/73940?email_source=notifications&email_token=ACUEMHST5Q6WY3QETG25JRDQCBD5HA5CNFSM4HN2ML62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3EDADA#issuecomment-516435980,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUEMHRIJWNPADUHZPBKISLQCBD5HANCNFSM4HN2ML6Q
.

There are countless features in VS Code that depend on being able to spawn a process from an extension. Here is me selfhosting and seeing 4 processes spawned and working from extensions:

json language server
2 x typescript language servers
TS Lint server

Well I am trying to use solc compiler and it is not working on worker
process after January update. Any major changes there.
P.s which app screenshot is that to track processes?
On Tue, Jul 30, 2019, 20:10 Alexandru Dima<EMAIL_ADDRESS>wrote:

There are countless features in VS Code that depend on being able to spawn
a process from an extension. Here is me selfhosting and seeing 4 processes
spawned and working from extensions:

json language server
2 x typescript language servers
TS Lint server

[image: image]
https://user-images.githubusercontent.com/5047891/62138654-43bb0e80-b2e8-11e9-9129-4b8563f5cf32.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/73940?email_source=notifications&email_token=ACUEMHVMYMCQKJKY6IKA4JLQCBHGBA5CNFSM4HN2ML62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3EGA2A#issuecomment-516448360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUEMHXV2TGQI3PYZXM5LDDQCBHGBANCNFSM4HN2ML6Q
.

Yes, the January release contained an Electron update, which contained a nodejs upgrade. See https://code.visualstudio.com/updates/v1_31#_nodejs-update

See https://nodejs.org/en/blog/release/v10.0.0/#deprecations
Perhaps you were using some node API that was deprecated in node v10 ?


Autosave for singleplayer

Please add a autosave option to the patcher, maybe where you could set the autosave interval from e.g. 5 min up to 30 min.

I will look into it. This shouldnt be too hard, as Quicksave is already a thing.


OpenWRT OSx connection always fails

Whenever ttyd is started up, it always shows on Chrome "execvp: No such file or directory".
the server logs show that it constantly tries to connect, and never works
root@GL-AR750S:/etc/init.d# ttyd -p 420 -B bash
[2019/01/01 21:36:53:0055] NOTICE: ttyd 1.4.0 (libwebsockets 2.4.1)
[2019/01/01 21:36:53:0060] NOTICE: tty configuration:
[2019/01/01 21:36:53:0071] NOTICE:   start command: start
[2019/01/01 21:36:53:0079] NOTICE:   reconnect timeout: 10s
[2019/01/01 21:36:53:0089] NOTICE:   close signal: SIGHUP (1)
[2019/01/01 21:36:53:0104] NOTICE: Creating Vhost 'default' port 420, 2 protocols, IPv6 on
[2019/01/01 21:37:03:2167] NOTICE: HTTP / - <IP_ADDRESS> (NoamsMac.lan)
[2019/01/01 21:37:03:2220] ERR: ::ffff:<IP_ADDRESS> - - [01/Jan/2019:21:37:03 +0000] "GET / HTTP/1.1" 200 294094 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
[2019/01/01 21:37:03:4967] NOTICE: HTTP /auth_token.js - <IP_ADDRESS> (NoamsMac.lan)
[2019/01/01 21:37:03:4979] ERR: ::ffff:<IP_ADDRESS> - - [01/Jan/2019:21:37:03 +0000] "GET /auth_token.js HTTP/1.1" 200 118 "http://<IP_ADDRESS>:420/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
[2019/01/01 21:37:03:6243] NOTICE: WS   /ws - <IP_ADDRESS> (NoamsMac.lan), clients: 1
[2019/01/01 21:37:04:4013] NOTICE: started process, pid: 652
[2019/01/01 21:37:06:0004] NOTICE: sending SIGHUP (1) to process 652
[2019/01/01 21:37:06:0011] ERR: kill: 652, errno: 3 (No such process)
[2019/01/01 21:37:06:0017] NOTICE: process exited with code<PHONE_NUMBER>, pid: 652
[2019/01/01 21:37:06:0033] NOTICE: WS closed from <IP_ADDRESS> (NoamsMac.lan), clients: 0
[2019/01/01 21:37:16:0160] NOTICE: WS   /ws - <IP_ADDRESS> (NoamsMac.lan), clients: 1
[2019/01/01 21:37:16:0500] NOTICE: started process, pid: 723
[2019/01/01 21:37:18:0004] NOTICE: sending SIGHUP (1) to process 723
[2019/01/01 21:37:18:0011] ERR: kill: 723, errno: 3 (No such process)
[2019/01/01 21:37:18:0017] NOTICE: process exited with code<PHONE_NUMBER>, pid: 723
[2019/01/01 21:37:18:0026] NOTICE: WS closed from <IP_ADDRESS> (NoamsMac.lan), clients: 0
[2019/01/01 21:37:28:0573] NOTICE: WS   /ws - <IP_ADDRESS> (NoamsMac.lan), clients: 1
[2019/01/01 21:37:28:0887] NOTICE: started process, pid: 817
[2019/01/01 21:37:30:0004] NOTICE: sending SIGHUP (1) to process 817
[2019/01/01 21:37:30:0011] ERR: kill: 817, errno: 3 (No such process)
[2019/01/01 21:37:30:0017] NOTICE: process exited with code<PHONE_NUMBER>, pid: 817
[2019/01/01 21:37:30:0026] NOTICE: WS closed from <IP_ADDRESS> (NoamsMac.lan), clients: 0
^C[2019/01/01 21:37:35:3280] NOTICE: received signal: SIGINT (2), exiting...
[2019/01/01 21:37:35:3283] NOTICE: send ^C to force exit.

bash is not installed on openwrt by default, try:
ttyd -p 420 /bin/login

If you really want to use bash, install it with opkg opkg install bash.


UTF-8 decoding errors aren't handled properly

All implementations store incoming messages to a queue; then the application reads from this queue.
In the legacy asyncio, UTF-8 decoding happens in WebSocketCommonProtocol.read_message, before storing messages in the queue. As a consequence, if websockets receives a message containing invalid UTF-8 — which is vanishingly uncommon these days — a UnicodeDecodeError is raised and websockets immediately closes the connection with code 1002.
The new asyncio implementation stores messages as-is; UTF-8 decoding happens in Assembler.get. In case of invalid UTF-8, an UnicodeDecodeError is raised when the application calls recv; websockets keeps the connection open and continues happily, when it should close it.
The new implementation has two benefits and one downside:

lower memory use: UTF-8 decoding can increase memory usage, depending on the contents (no change for ASCII);
allows returning the bytestring: this saves a decoding-encoding round-trip when the application wants bytes;
increased latency: UTF-8 decoding happens only when the application fetches the message, while it could be done earlier; this makes a difference only when a message is already available before the application reads, which is the "run with buffers always full" mode — not a good idea.
Overall, it's a win, so let's keep it that way, detect decoding errors, and fail the connection in that case.

Also, while Frame.parse is documented to raise UnicodeDecodeError, it doesn't look like this can happen. Error handling in Protocol.parse is for the case when recv_frame raises UnicodeDecodeError.

Once this is fixed, cases 6.3 in the Autobahn test suite should result in code 1002 rather than 1000.

Aligning the behavior of the threading implementation to the asyncio implementation (which I wanted to do anyway) will make it easier to get this right for both implementations.


List installed themes

base16-manager list lists installed templates.
Is listing installed themes on the roadmap?
I am not familiar enough with the base16 tool chain to understand where we should source the list of themes from.
But if someone could allude to an implementation I can take a stab at a first PR.

Listing themes is a good one, actually. Listing themes is kind of tricky, because there is no defined list of base16 themes. In fact, Chris Kempson's base16 repository motivates people to create their own base16 themes.
What we could do, is to check what themes are installed per template, and list the unique ones.

Simple implementation suggestion in #6 . Not well versed in bash so please feel free to comment on style.

Resolved as of 037eefe.


Specification Validation Error: Invalid Test Result (Observation) value (

Bugs
Test results (Observation) value element must have a value of Quantity instead of CodeableConcept, and the value must be populated either (but not both)

as boolean in the Extension with url = "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ValueApproximation-1"
value  (and possible unit) element

Step to reproduce
Check: all screening messages
Expected behavior
The Observation Value must be a Quantity, with extension OR Quantity value

@Kusnaditjung for NHS004 messages a new RSL segment result code has been introduced - CV (coded value)
The RSL gives us then different type of information. Please check the https://gpitbjss.atlassian.net/wiki/spaces/GPITF/pages/1391133789/Screening+messaging and https://gpitbjss.atlassian.net/wiki/download/attachments/1391133789/Cancer Screening - eGP-Comms GP Software Supplier Requirements v4.1.doc?version=1&modificationDate=1520365800044&cacheVersion=1&api=v2 file

The Observation profile https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1 allows using valueCodeableConcept

HI @bartek-sarul I can be wrong,  my current understanding working previously with GPConnect specification which seems similar to pathology and screening is  CareConnect profile is built on the top of FHIR STU3 (or DSTU3), and on the top of that we have NHS pages specification which further constraint CareConnect profiles (this ideally should be made in profile or some modeling artifact, but at the moment they are just specified in the web pages so need to manually curate them, this is what we have done in GPConnect). I think the webpage clearly mentioning Quantity with extension (see below)

If we follow the spec, this may mean the codeable concept may need to translate to Quantity (and boolean extension).. which is not always possible (I think). Alternatively we can give a note in the adapter documentation about deviation from the specification, and draft our own implementation (e.g Value is "Quantity (extension) or Codeable concept" OR just "Codeable concept". That will be a call between Kainos and NHSD, I will follow what is the final decision (or you may other interpretation ??)

I'll confirm this with NHSD

NHS agrees with current approach - NHS004 can supply code instead of quantity, so the Observation.value can be valueCodeableConcept


Remove, or add documentation to, FeatureHierarchy

I stumbled across this today; what is it, why is it here? It appears unused.
I'm open to variations on what I imagine it is supposed to do, but it seems like it might have been an idea that was abandoned, in which case I'll remove it. Can anyone provide context?

CC @tdanford @laserson

I think this is a remnant of an early "feature" proposal that would provide familiar interfaces for Feature objects that were similar to their sources.  I don't think I've used it myself, and your reporting this issue is making me think it's not used anywhere in the codebase, so I'm fine with nixing it.

I would be +1 towards removing it.

Closed by #728.


Ravi/add view projects button

closes #372

Added View Projects button in the profile card.

Figure: Added View Projects button

Codecov Report

Merging #439 (5ee8e34) into main (be9bee0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   32.86%   32.86%
=======================================
  Files          76       76
  Lines        2127     2127
=======================================
  Hits          699      699
  Misses       1428     1428

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 be9bee0...5ee8e34. Read the comment docs.


failed to register layer: re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\Docker\windowsfilter\c98a4a608a96a3759805a416a5a132e0717dda610e2eaaa1f46294a4a15fbf6e: The system cannot find the path specified.

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing 😞


WaitForBackgroundThread crash some methods on Unity

Hi, i am migrating my project to version 13.0. I think this addition is generating some errors in unity, in functions that need the Main Thread.
WebSocket.cs, method Receive
await new WaitForBackgroundThread();
I got the error:

get_isPlaying can only be called from the main thread

and

UnityException: get_gameObject can only be called from the main thread.

after removing the line the errors simply stopped.

Interesting! Thanks for reporting back @MateusMendesSantana, do you have any thoughts @AJ92? 👀

yep interesting, i did not switch to the new version yet. @MateusMendesSantana, can you post the full callstack for the exception?

Hi. of course!
tracecode after being re-released on OnError:
0 get_gameObject can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
UnityEngine.Debug:LogError(Object)
BaseRoom`1:OnErrorHandler(Int32, String) (at Assets/Scripts/Rooms/BaseRoom.cs:85)
Colyseus.Room`1:<SetConnection>b__24_1(String) (at Assets/Plugins/Colyseus/Room.cs:88)
NativeWebSocket.<Connect>d__23:MoveNext() (at Assets/Plugins/WebSocket/WebSocket.cs:333)
UnityEngine.UnitySynchronizationContext:ExecuteTasks() (at C:/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:104)

Before:
at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
  at PlaceController.OnLeaveRoom () [0x00001] in D:\projects\smadol\smadol-client\Assets\Scripts\Controllers\PlaceController.cs:71
  at PlaceRoom.OnLeaveHandler (NativeWebSocket.WebSocketCloseCode code) [0x00019] in D:\projects\smadol\smadol-client\Assets\Scripts\Rooms\PlaceRoom.cs:65
  at (wrapper delegate-invoke) <Module>.invoke_void_WebSocketCloseCode(NativeWebSocket.WebSocketCloseCode)
  at Colyseus.Room`1[T].<SetConnection>b__24_0 (NativeWebSocket.WebSocketCloseCode code) [0x00000] in D:\projects\smadol\smadol-client\Assets\Plugins\Colyseus\Room.cs:83
  at (wrapper delegate-invoke) <Module>.invoke_void_WebSocketCloseCode(NativeWebSocket.WebSocketCloseCode)
  at NativeWebSocket.WebSocket+<Receive>d__33.MoveNext () [0x0036f] in D:\projects\smadol\smadol-client\Assets\Plugins\WebSocket\WebSocket.cs:543
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
  at NativeWebSocket.WebSocket+<Connect>d__23.MoveNext () [0x001a0] in D:\projects\smadol\smadol-client\Assets\Plugins\WebSocket\WebSocket.cs:329

Oops. I forgot to mention that this problem only occurs after leaving the room.

hehe, the last sentence is probably the most important here :)
i guess there are messages queued, that are processed after the client left the room. should be easy to fix 👍
could take a look at it tomorrow or so.

The Receive() Task runs in the background thread and invokes onClose which is calls unity functions and those should not be called from other threads. Maybe it is better to put the whole Receive function into a Thread and then just return the error code to invoke the onClose function.
I might raise a PR tomorrow.

https://github.com/colyseus/colyseus-unity3d/pull/119 should have fixed this! Please feel free to re-open this issue if the problem persists :pray:


Guide Book not working

when I right click the book its not opening (1.20.1) My patchouli version: Patchouli-1.20.1-81-FABRIC

That's prolly because of the new 1.20 patchouli update. The patchouli book resource location have changed from data to assets folder. This should just be an easy patch. Here's the upgrade guide. @decodinatorX
https://vazkiimods.github.io/Patchouli/docs/upgrading/upgrade-guide-120/

Ah hell, I will see to it Monday, I apologize for not seeing this sooner.

No worries. take your time! 😄

Fixed in dev build.


Add longPressDuration optional property that allows to control the duration LongPress gesture occurs.

Ref.

#1127
#1114

Everything looks great to me.
We only need to update the CHANGELOG.md and *TouchData section in our line_chart.md, bar_chart.md, pie_chart.md, scatter_chart.md, and radar_chart.md.
We described it in our CONTRIBUTING.md

@imaNNeoFighT
Thanks for your review.
And then, I updated changelog / documentations here.
https://github.com/imaNNeoFighT/fl_chart/pull/1128/commits/0db4adbe60f8d23bd0e0a94ac34307281b087884

Please rebase your branch.

@imaNNeoFighT
Resolved conflicts.
https://github.com/imaNNeoFighT/fl_chart/pull/1128/commits/779b0865f7522ad36fe1ab7ef2b68f84b9411697

Thank you. It's ready to merge.
BTW there is still an issue with the branch that I cannot merge it.
You need to rebase your branch with the master branch.

@imaNNeoFighT

BTW there is still an issue with the branch that I cannot merge it.

It seems that this branch has no conflicts. So, it's ready to merge, I think.
Could you check it again?

I know there is no problem with **merge**. But you need to **rebase** your branch.

@imaNNeoFighT

I know there is no problem with merge. But you need to rebase your branch.

Fixed it by rebase. How is it ?

Yay. It is fiexed now.


Ignore redundant connection request to peer

This PR solves the case where trying to connect to a peer that already have a pending connection request.
In that case the system would try to fulfill these two requests in parallel instead of just ignoring the later.
This fix the issue by returning early from the function, which I believe was the original intention of the author.

Although the comments indicate this was the intention I am not sure now about this fix.
Before the fix if there was a pending connection (might even be stuck on the backoff timeout) the "ConnectToPeer" gRPC request would have been gone through and attempt to connect in a forceful way.
After the fix it would be ignored, leaving the pending connection hang on its current backoff.
As it is useful to be able to force connect especially in mobile devices when the network status is varying, thinking maybe just to document this better?

I have updated the PR to maintain the old behavior of connecting anyway but to also cancel old pending requests.
The guidelines for this change are:

One of the connection attempts should be canceled, it is not good to have two connection attempts for the same peer in parallel.
It is better to let the user override pending requests, for example when some pending request is stuck on a long backoff retry.

I believe we would also need to mark peers as persistent within peer.Start if there are any active channels.

@roeierez what's the status of this PR?

@roeierez what's the status of this PR?

@halseth the problem was solved by merging https://github.com/btcsuite/btcd/pull/1330.
We can close this one for now.

@roeierez Thanks!


Use CalVer

The client currently (kinda) uses semantic versioning. This is good for APIs - which the client isn't. To the user, semantic versions don't mean much, and looking at a version number, he has no idea how current the version is.
Using CalVer, like e. g. IntelliJ does (e.g. 2020.1), versions would become a bit more user-friendly.
Opinions?

That does need code adjustments as well

I doubt the advantages justify the cost of change. Contributers/testers are used to the current schema.

The schema itself doesn't change: x.y[.z] and we could always go for an explicit x.y.z
It would simply be e.g. 2020.6.0 instead of 1.1.8

With the next release we will probably be switching to Calver as it helps to give a sense of how old any client is and the current versioning code supports it.
Having surveyed some of the devs there seemed to be no push back


remove handcoded json

Pull request checklist

[ ] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

closes #567
When looking at the store documentation i came across this section.

NOTE: If you are using structured database data types (e.g. PostgreSQL hstore/json, or MySQL 5.7+ json) there is no need for the serialization provided by .store. Simply use .store_accessor instead to generate the accessor methods. Be aware that these columns use a string keyed hash and do not allow access using a symbol.

Not sure if i got this right? so i think we can avoid custom coder and use store_accessor 🤔

Excellent and TIL! Thanks for your contribution.
Were you able to verify that existing data is still accessible after changing the code?

Am not sure if there's some seeds to metrics table.
I was using test to load the data.
➜  railsdevs.com git:(main) ✗ RAILS_ENV=test rails db:fixtures:load
➜  railsdevs.com git:(main) ✗ RAILS_ENV=test rails c
Loading test environment (Rails <IP_ADDRESS>)
[1] pry(main)> OpenStartup::Metric.first
  OpenStartup::Metric Load (0.5ms)  SELECT "open_startup_metrics".* FROM "open_startup_metrics" ORDER BY "open_startup_metrics"."id" ASC LIMIT $1  [["LIMIT", 1]]
=> #<OpenStartup::Metric:0x000000010bcfda30
 id: 980190962,
 occurred_on: Sat, 01 Jan 2022,
 legacy_data: {},
 created_at: Thu, 14 Jul 2022 17:29:01.782149000 UTC +00:00,
 updated_at: Thu, 14 Jul 2022 17:29:01.782149000 UTC +00:00,
 data: {"mrr"=>1000, "visitors"=>5000}>
[2] pry(main)> OpenStartup::Metric.first.mrr
  OpenStartup::Metric Load (1.2ms)  SELECT "open_startup_metrics".* FROM "open_startup_metrics" ORDER BY "open_startup_metrics"."id" ASC LIMIT $1  [["LIMIT", 1]]
=> 1000
[3] pry(main)> OpenStartup::Metric.first.visitors
  OpenStartup::Metric Load (2.2ms)  SELECT "open_startup_metrics".* FROM "open_startup_metrics" ORDER BY "open_startup_metrics"."id" ASC LIMIT $1  [["LIMIT", 1]]
=> 5000

Awesome, thanks! Merging now.

Thanks, that was smooth! 😄

Oh boy, looks like I jumped the gun. I don't think that converted correctly! I'm going to revert for now until we can figure out what is going on.

That's sad. can you able to see how the current data looks like in staging/production, maybe i can try reproducing locally.

I think checkout main, run the following code in the console, then make your changes.
Rerunning the second line should reproduce your issue.
OpenStartup::Metric.create!(mrr: 200, occurred_on: Date.today)
OpenStartup::Metric.last.mrr # => 200

Just seen it, it's no compatible with current data

@joemasilotti i think the only option we have to use this code is to covert the data back to hash instead of JSON string.

The test or the code in the model?

The actual data in the production/staging database .
Something like
OpenStartup::Metric.find_each { |metric| metric.update(data: JSON.parse(metric.data)) }

Currently we have a json string stored
  data: "{\"mrr\":200}"

The goal is to endup with a hash like
  data: {"mrr"=>400}

That feels like it goes against the purpose of the store/accessor, no?

I think it goes against the purpose of the coder, the coder is the one that converts it's to a string. i think the default json is stored as  a hash.

I'm going to close this for now as I don't think it's worth the trouble to remove from tests. If we add more JSON then we can revisit. Thanks for diving in, @gathuku!

@joemasilotti  if you would like to bring this back, i think this will be an elegant way to represent the json string data
one:
  occurred_on: 2022-01-01
  data: |
    {
     "mrr": 1000,
     "visitors": 5000
    }

Oooh, that does look much cleaner! Can you submit a PR to make sure the tests and data migration still work?


Add a database modules

Context
Having the BigQuery module to display analysis results requires few configuration, but make Heart really tightly coupled with the Google storage and visualization tools.
Objective
In order to make Heart more flexible into the storage module and a visualization tool, we need to create a new module that will store the data into different king of databases, and let the user choose the visualization tool he wants (Grafana, Google Looker Studio...) and let him plug into the chosen database.
Features

allows different kind of databases: at least MySql and PostgreSQL
use a connection URL format for the database setup as it a common environment variable whatever the database driver
the module must take advantage of database migration sto update the schema or the data

Having one single module for every storage type will be cumbersome:

the module will embed every database drivers which will result, at the installation time, in the download of code the user does not care about: in most case, by my experience, a single database will be used at a time
the user can store the results in 1 database of each type at a time: it should be enough in most cases, but there is no reason to limit such a use case


Enhancement: Self-signed certificate generation for CLI

Summary
This is along the lines what Flask (actually Werkzeug) and Django-extensions have. A new CLI option (or two) would be added to the run command

--ssl-certfile to specify the location of the certificate
--ssl-keyfile to specify the location of the keyfile
If only one of them is provided, the second file is assumed to be in the same directory
If the files are not found, they are automatically generated

The logic is taken from runserver_plus in Django Extensions and the names are taken from Uvicorn
The paths would be then forwarded to Uvicorn.
It would require the cryptography extras (which are already used for client sessions) and the cryptography module would be used to generate the self-signed certificates.
HERE is how Werkzeug handles the cert generation and HERE is how Django-Extensions handles the logic.
It is only meant to be used for development purposes on a HTTPS connection of course and would only generate a self-signed certificate.
Basic Example
litestar run --ssl-certfile=cert/server.crt  - looks for server.key inside of the cert/ directory
litestar run --ssl-keyfile=cert/server.key - looks for server.crt inside of the cert/ directory
litestar run --ssl-cerfile=cert/server.crt --ssl-keyfile=security/keys/server.key

if both files exist, use them
otherwise generate new ones using cryptography
if cryptography extras are not installed, terminate and inform user

Drawbacks and Impact
No response
Unresolved questions
The exact logic and option names are open for discussion.

Funding

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified

I like this idea, but I want to make on additional suggestion.
Even though we don't recommend it, I know people use this to deploy their apps, and we might want to "officially" support that option in the future. The presence of cert flags implies they might be used to deploy proper certs, so having them autogenerate certs if they're missing by default could lead to some serious issues.
To prevent this, we could add an additional flag --generate-dev-certs (or a better name) that enables this explicitly.

I like this idea, but I want to make on additional suggestion.
Even though we don't recommend it, I know people use this to deploy their apps, and we might want to "officially" support that option in the future. The presence of cert flags implies they might be used to deploy proper certs, so having them autogenerate certs if they're missing by default could lead to some serious issues.
To prevent this, we could add an additional flag --generate-dev-certs (or a better name) that enables this explicitly.
@litestar-org/maintainers?

Yeah - erring on the side of caution sounds reasonable to me.

I'd imagine there are few non-dev scenarios where having a self-signed cert might also be desirable (although I can't think of one right now).  I do agree that it needs to an extra flag to do this.
I can't think of anything better than --generate-dev-certs or --generate-self-signed-certs either, so no strong opinions on that one.

How about something like trustme instead?

How about something like trustme instead?

I like this approach as well.  @geeshta can you elaborate on your specific use case for self-signed certs?  Is it specifically for local development with SSL enabled?  Integration with trustme may be the easiest way to bake this functionality in.

How about something like trustme instead?

I like this approach as well.  @geeshta can you elaborate on your specific use case for self-signed certs?  Is it specifically for local development with SSL enabled?  Integration with trustme may be the easiest way to bake this functionality in.

Yeah it's just to enable serving with HTTPS during development (I use some client side JavaScript that requires HTTPS).
I haven't heard about trustme before but I really like how django-extensions handles that.

I personally never needed the certificate to be actually signed by a CA as trustme provides though and saw that Werkzeug uses cryptography to generate self-signed certs.


Updated version on crates.io

The bug fix for "set_thread_priority" that was implemented last year is not available through crates.io

Sorry :( will check and publish tomorrow!

Sorry for the delay, have just published 0.1.1 with the latest master state, should be fine now.


how to support NIOYE Mesh Downlight

NIOYE Mesh Downlight cannot work completely on this integration ,integration can search for every device include the light group  ,but can not control them in homeassistant . i make the light state changed in MiJia app ,and the homeassistant can sync state.
so ,how can i support them ,or support in integration ?

show device icon from mijia app. can't find nioye downlight.

light is made by nioye . add to mijia app should choose the "mijia led mesh light".  pid is 2351 .

lemesh.light.wy0c05

that's it, I was about to say

can the device be supported in the future?

Supported in latest version


Mousewithoutboarders produced an unexpected very large log file

Microsoft PowerToys version
0.75.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce

actually,the file which is found by Wiztree cannot be normally found by explorer,

i used cmd to find it

and remove than successfully so i am unable to provide logs

i don't know how to re produce this bug,because i have reinstalled powertoys

and it cannot be uninstalled completely
✔ Expected Behavior
do not generate so much logs
❌ Actual Behavior
generate a big log file
Other Software
No response

Thanks for the report! Can you please send a .zip with a sample of such a log file?
/bugreport

PowerToysReport_2023-12-07-08-04-14.zip

Thanks for the report! Can you please send a .zip with a sample of such a log file? /bugreport

sorry,i can just provide the log after i reinstall powertoys😂

I have the same problem. I use Treesize to find it.

same problem here


unable to install. unable to discover remote git server capabilities: ProtocolError

my build.zig.zon
.{
    .name = "combatrpg_server",
    .version = "0.0.0",
    .dependencies = .{
        .httpz = .{
            .url = "git+https://github.com/karlseguin/httpz.zig#master",
        },
    },
    .paths = .{""},
}

my build.zig
const std = @import("std");

pub fn build(b: *std.Build) void {
    const exe = b.addExecutable(.{
        .name = "combatrpg_server",
        .root_source_file = b.path("src/server.zig"),
        .target = b.host,
    });

    const httpz = b.dependency("httpz", .{
        .target = b.host,
        .optimize = b.standardOptimizeOption(.{}),
    });
    exe.root_module.addImport("httpz", httpz.module("httpz"));

    b.installArtifact(exe);
}

my error:
zig build --summary all
/Users/tenari/code/combatrpg/serverbuild.zig.zon:6:20: error: unable to discover remote git server capabilities: ProtocolError
            .url = "git+https://github.com/karlseguin/httpz.zig#master",
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I am new to zig, so sorry if I'm doing something simple/obvious wrong, but I think I followed the instructions in the README correctly.

It should be git+https://github.com/karlseguin/http.zig#master   (http.zig not httpz.zig). I fixed the readme. This happened a week or so ago when I [poorly] updated the readme.

@karlseguin this change fixed it for me, but I don't see the readme updated fyi


Utilize Google Workspace Admin API to check if user is within WPS

Google has an API for getting user metadata, including the organizations the user is in and their role within. Requires more research if we could use this.
Resource Model: https://developers.google.com/admin-sdk/directory/reference/rest/v1/users
GET Endpoint: https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/get
Scopes: https://developers.google.com/admin-sdk/directory/v1/guides/authorizing

tried this, was forbidden with the proper access credentials. we can just regex the email anyways.


Change protobuf impl to pure python implementation

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@damccorm this is a test PR. you don't need to review this

stop reviewer notifications

Run Python 3.10 PostCommit


The \ll and \gg symbol definitions should be swapped.

The \ll and \gg symbol definitions should be swapped.
(i.e., \ll should be unicode(0x226A) and \gg should be unicode(0x226B)).


feat/adding-hover-animation-internship-card

under gssoc'24
https://github.com/HimanshuNarware/CareerZunction_Intern/pull/367
#367 feat/adding-hover-animation-internship-card
feat #34 Adding hover animations


Something that might be good to highlight, as there are many examples online that use primaryControl.getFormContext()

Regarding:
function mySampleFunction(primaryControl) {
var formContext = primaryControl;
// Perform operations using the formContext object
}
I think its important to realize that one should not call primaryControl.getFormContext() (which is an example found all over the internet) and instead one should directly use the primaryControl as though it is the formContext. This is because, getFormContext is not defined for the UCI interface, but is available in the web-interface. So use the primaryControl as the formContext.

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

ID: 0f37c73e-34e8-549b-d768-c285d4722f59
Version Independent ID: 95971b3d-fb07-feea-4887-4deb1e81e66e
Content: Pass Customer Engagement data from a page as a parameter to Ribbon actions (Developer Guide for Dynamics 365 for Customer Engagement)
Content Source: ce/developer/customize-dev/pass-dynamics-365-data-page-parameter-ribbon-actions.md
Service: crm-online
GitHub Login: @JimDaly
Microsoft Alias: jdaly

@rajrao  Did you change you mind? You closed this issue, so no one will take action on it.
If you want to recommend a change, please re-open.


LICENSE AND LOGO

HI,
IF WE NEED TO ADD OUR LOGO FOR THE WIN INSTALLER AND AD YOUR NAME ON LICENSE CAN YOU DO THAT FOR US ? WE WANT TO ADD IT TO OUR WEBSITE FOR DJS

Hello, can you clarify the request? I'm not sure what you're asking.

I want you to compile the software with my logo . Is it possible ?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Anjok07 @.>
Sent: Monday, August 29, 2022 8:40:38 PM
To: Anjok07/ultimatevocalremovergui @.>
Cc: cybercina @.>; Author @.>
Subject: Re: [Anjok07/ultimatevocalremovergui] LICENSE AND LOGO (Issue #277)
Hello, can you clarify the request? I'm not sure what you're asking.
—
Reply to this email directly, view it on GitHubhttps://github.com/Anjok07/ultimatevocalremovergui/issues/277#issuecomment-1230779676, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGL3BPIHWCYLRFAEGW2WYLV3UG3NANCNFSM57SZ6K2Q.
You are receiving this because you authored the thread.Message ID: @.***>

What does the logo look like, and do you plan on distributing it commercially or for free?

Free ill send you the logo
Get Outlook for iOShttps://aka.ms/o0ukef

From: Anjok07 @.>
Sent: Thursday, September 1, 2022 7:52:48 AM
To: Anjok07/ultimatevocalremovergui @.>
Cc: cybercina @.>; Author @.>
Subject: Re: [Anjok07/ultimatevocalremovergui] LICENSE AND LOGO (Issue #277)
What does the logo look like, and do you plan on distributing it commercially or for free?
—
Reply to this email directly, view it on GitHubhttps://github.com/Anjok07/ultimatevocalremovergui/issues/277#issuecomment-1233824799, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGL3BIBXZG6KZZUT7ZOKSDV4BHEBANCNFSM57SZ6K2Q.
You are receiving this because you authored the thread.Message ID: @.***>


App Freez after coming from Background

I have using Apprtc in my app. after video i just go to background and come again app Freeze

When i run you demo and check above issue. I did not get it but when i will install Apprtc in project by cocoapods  and some methods for swap camera. this problem is begin.

This has todo with the sockets which do not stay online while going into background. This is not included in AppRTC yet. Did you solve the problem already? I have the same issue. We could work together on that and contributing it back to the project. What do you think?
I already made some research on that issue. feel free to dig through it, and let me know.
- network service types of nsurlrequest (for websockets using SocketRocket)
https://github.com/facebook/SocketRocket/pull/293
- example voip socket in background
https://www.raywenderlich.com/29948/backgrounding-for-ios
https://github.com/facebook/SocketRocket/issues/152
http://stackoverflow.com/questions/28619881/ios-voip-socket-does-not-work-in-background-until-handler-is-fired
http://stackoverflow.com/questions/5987495/how-to-maintain-voip-socket-connection-in-background
http://stackoverflow.com/questions/27631748/configuring-ios-voip-application-to-run-in-sleep-background-mode
http://stackoverflow.com/questions/12057151/voip-socket-on-ios-no-notifications-received
- https://developer.apple.com/library/content/documentation/iPhone/Conceptual/  iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH4-SW1
- https://github.com/facebook/SocketRocket/pull/275
- update socketrocket? https://cocoapods.org/?q=on%3Aios socketrocket

@prororgeek @inspiraluna I wonder if you guys have done anything to fix this?

If i run my app and go into background it does not freeze when coming back. Also I don't know if what I wrote up there was so important. Maybe just update webrtc api with the latest WebRTC pod.
Don't use a websocket to wake up the app. We use Apple pushkit now.


Synchronising css classes with ts.draw_svg()

I see that nodes have css classes in the d3js viz, and therefore presumably can be styled individually.
I wonder if it is worth figuring out if there is any way to align the terminology with the css classes described at https://tskit.dev/tutorials/viz.html#styling? The problem is that the tree-base visualizations have a nested structure that I think doesn't make sense for a graph-based viz, so it's not as simple as trying to make a draw_svg() stylesheet work seamlessly in the ARG visualizer.
FWIW, node symbols are labelled with the .sym class, node labels with the .lab class, and they are grouped into a higher-level node class, which has additional classes. The example given in the docs is a node group like this:
<g class="a10 i3 leaf m16 m17 node n7 p2 s15 s16 sample">

with the description:

The classes indicate that this is a sample node with an immediate ancestor (parent) node of ID 10 (a10), and that the node belongs to an individual with ID 3 (i3). The classes n7 and p2 tell us that the node ID is 7 and is is from the population with ID 2 (p2). Other ID classes on the node tell us about the mutations above that node, of which there are two in this case, with IDs 16 and 17 (m16, m17); those mutations are associated with site IDs 15 and 16 (s16, s17).

I think that's a great idea! Will require some reworking to get it structured in a similar way. I will look into this once I'm back from traveling (currently out of the country).

I need to be a bit more careful about how I go about synchronizing, as we may want different styles for different figures. For example, the scoping of the visualizer CSS is too broad which is affecting other figures on the tutorials document:

I'll plan to fix this particular styling in v0.0.2, but not going to add this to that milestone because I haven't really made much progress on this issue overall.

Yeah, it's a pain that stylesheets are not contained within a HTML doc. The normal SVGs have most of their content within a .tree-sequence class, so I guess you could have a similar .arg class.
Perhaps better would be to attach a class to the <svg> tag itself, e.g. tskit-tree-plot for the normal visualisations, and tskit-arg-plot for the canvas that contains your D3 plots?


Move install scripts and util.sh from openwhisk to openwhisk-catalog

@houshengbo
Uploading OpenWhisk-Repo-Proposal-2016-06-14 - Open Catalog only.pptx…
Note: This issue is pre-req for other issues for "move" of catalog.
Please note that other issues (e.g., Issue 2, Issue 3) which are moving "utils" and "samples" package actions to new locations (and adjusting namespaces) will be updating these files.  It may be a good idea to address (i.e., commit and merge) this issue before other issues titled "Move".
Please move the following files from the current repo. / directory  "openwhisk-openwhisk/catalog" to this repo. under "openwhisk-catalog/packages":

installCatalog.sh
installGit.sh
installSlack.sh
installSystem.sh
installWatson.sh
installWeather.sh
util.sh

Refer to the issue in openwhisk: https://github.com/openwhisk/openwhisk/issues/658
Refer to the issue in IBM internal bluewhisk: https://github.ibm.com/BlueMix-Fabric/bluewhisk/issues/2032

@mrutkows the link above to the proposal does not work (links back to the issue). I suggest converting the pptx to a pdf and relinking.

@rabbah I am not sure if you can access this link: https://ibm.app.box.com/files/0/f/7305217325/1/f_69910533013

Is that link accessible only to IBMers? Is not, great. If so, is there a way to share it more broadly?

For more information regarding the package movement, please refer to https://docs.google.com/presentation/d/15raKRwxspCnRxwUaGl5cYCFVeJR7m54pdpanYBB8lHc/edit?usp=sharing.


No code is generated

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I followed the getting started using console application with Strawberry Shake
After the build i do not get any generated files .
I m using the latest , and visual studio  2022 with .NET  6.0
There is definitely a bug in there .
The schema is generated just fine  , but there is no code generated .

Steps to reproduce

follow here
https://chillicream.com/docs/strawberryshake/get-started/console/#step-1-add-the-strawberry-shake-cli-tools

Relevant log output
No response
Additional Context?
No response
Product
Strawberry Shake
Version
12.7

How does you .graphqlrc.json look like? we are using source generators, so the code is not emited by default, but generated on build / development time

.graphqlrc.json
{
"schema": "schema.graphql",
"documents": "**/*.graphql",
"extensions": {
"strawberryShake": {
"name": "CitroneerGraphQlClient",
"namespace": "Demo.GraphQL",
"url": "https://citroneertest.fasolutions.com/graphql",
"dependencyInjection": true,
  "emitGeneratedCode": true,
  "razorComponents": false,
  "records": {
    "inputs": false,
    "entities": false
  },
  "transportProfiles": [
    {
      "default": "Http",
      "subscription": "WebSocket"
    }
  ]
}

}
}
schema.graphql  also looks really good .
yes i tried  to build from Visual studio and from the command line  .  None of them generated any folder called generated .  Looked in all subfolders too .
dotnet graphql init https://citroneertest.fasolutions.com/graphql  --clientName CitroneerGraphQlClient     --clientId xxxxxx  --clientSecret xxxxxxxxxxx   --tokenEndpoint https://xxxxxxl/openid-connect/token --Path C:\Code\Graph\Demo\Demo
I thought i check the analyzers node

The generator does not generate any files caught my attention . Not sure if that matters ?

@dotnetsqlcoder  Did you define a query file?

It doesnt look like there is any

i tried with and without

query contact_information($id:String){
contacts(contactId:$id){
contactId
name
taxCountry {
name
}
juridical {
name
}
classification {
name
}
identity {
name
}
type
profile {
attributes {
attributeKey
id
stringValue
}
}
portfolios {
id
name
shortName
accounts{
name
currency {
name
}
bic
}
portfolioReport{
accountBalance
portfolioReportItems {
securityName
exposure
marketValue
amount
valueChangeRelative
}
}
}
}
}

Can you push this project on github? Then we can have a look.

https://github.com/dotnetsqlcoder/mygraphql

Is there some setting in visual studio that needs to change in order for code generation to work  ?
I am using Visual Studio  2022 , updated today .

Made a PR to you repository.

Regarding https://github.com/dotnetsqlcoder/mygraphql/pull/1#commitcomment-71660207
Hmm it's weird that this even happend in the first place.
Does this awlays happen when you add a graphql file?

Just wanted to chime in that I am seeing this as well. Followed every step and tried with and without a query and I cannot get any code to generate.

did you check the PR? @mmccupp

My mistake, this is my first time using git issues and wasn't aware of the PR. My issue was the same, in that I created my graphql query inside my Visual Studio project and the .csproj automatically added an ItemGroup to remove the query file. Once I removed that from the .csproj, the rebuild successfully generated the code.
Thank you @PascalSenn for you help with this issue!


[THRIFT-3048] - Make TCompactProtocol always return an object for i64

This changes the TCompactProtocol to always return an Int64 object in the same way that TBinary and TJSON do.
This is definitely a breaking change and will likely cause application problems for many people using TCompact and i64 types.

 I was having trouble building the entire test suite on my distro. I should note that the NodeJS specific tests which run with npm test all passed after I patched them, so there must be some missing coverage in those. Thanks for finishing this up.


Create a "How To" section in the documentation

We should add a new section called "How To" to explain the deployment and the upgrade process of the Smart Contracts.
Some important aspects in this documentation are:

Enumerate the steps involving the upgradeability
Detailed explanation about "what are we doing  this"

Also, it would be a good idea to explain the proxy pattern we are using (openzeppeling) and how we  are using it in Alastria.

Minor update in README.md to explain upgradeability function.
Do not close this issue without running the commands and get captures from each step, and explain Proxy Pattern

The only comment we should make is that the change in line 47 in hardhat.config.js is to manually modify the EVM version for the deployment of SmartContracts in B or T.


Password grant fix for CakePHP 3

The component access has changed. Instead of accessing through components, the auth component can be addressed directly in the controller.

Thanks 👍


Add cmatrix

What does this project do?
Nothing interesting other than random green texts falling off your terminal.
Why is that entertaining?
You can either take the redpill and watch matrix effect in your terminal for the rest of your life or live a life of ignorance.
How hard did you laugh? Was it just a silent giggle or was it full blown laughing and howling and screaming "OH MY GOD! EVERYONE! OH MY GOD! THIS IS THE FUNNIEST THING EVER! YOU'VE GOT TO SEE THIS!!!"
Life decisions are no joke.

Solid!
Thanks for the contribution 🌟


Expand fix for ja era to handle months and days

Fixes #471
The previous fix only covered how the Calendar control handles years across era boundaries.  It turns out the calendar treats the boundary as a month boundary as well.  So if the transition across eras happens on the 15th of January, then it considers the 16th of January and the 14th of January to be in different months.
Description of the changes:

Uses the Gregorian calendar for all addition and subtraction of dates when in the Japanese era system.

How changes were validated:

Manually tested month and day subtraction across era boundaries not at the beginning or end of a month.

        break;

Can you check if months is also affected here?

Refers to: src/CalcViewModel/Common/DateCalculator.cpp:329 in a268148. [](commit_id = a2681484da1f9fb72c0699db9a8310ba25c05b45, deletion_comment = False)

        break;

Can you check if months is also affected here?
Refers to: src/CalcViewModel/Common/DateCalculator.cpp:329 in a268148. [](commit_id = a268148, deletion_comment = False)

Good catch.  Latest update fixes and tests that as well.  Thanks!


Merge helm-update-page-builder-api-1.0.1-TEST.ceffca1 into main

Created by Github action in refs/heads/release-7.2

No longer needed. Can reopen if this changes.


TF_SessionRun_wrapper: expected all values in input dict to be ndarray

I am using Tensorflow 1.13 in windows 10
I am converting image data into tf.records. I am using build_image_data.py in which i am getting below error.
TF_SessionRun_wrapper: expected all values in input dict to be ndarray SKIPPED: Unexpected error while decoding
Code section
def decode_jpeg(self, image_data):
print(type(image_data))
image = self._sess.run([self._decode_jpeg],
feed_dict={self._decode_jpeg_data: image_data})
assert len(image.shape) == 3
assert image.shape[2] == 3
return image
Please find below code snippet
-----------------------------------------------------------------START-------------------------------------------
"""Converts image data to TFRecords file format with Example protos.
The image data set is expected to reside in JPEG files located in the
following directory structure.
data_dir/label_0/image0.jpeg
data_dir/label_0/image1.jpg
...
data_dir/label_1/weird-image.jpeg
data_dir/label_1/my-image.jpeg
...
where the sub-directory is the unique label associated with these images.
This TensorFlow script converts the training and evaluation data into
a sharded data set consisting of TFRecord files
train_directory/train-00000-of-01024
train_directory/train-00001-of-01024
...
train_directory/train-00127-of-01024
and
test_directory/test-00000-of-00128
test_directory/test-00001-of-00128
...
test_directory/test-00127-of-00128
where we have selected 1024 and 128 shards for each data set. Each record
within the TFRecord file is a serialized Example proto. The Example proto
contains the following fields:
image/encoded: string containing JPEG encoded image in RGB colorspace
image/height: integer, image height in pixels
image/width: integer, image width in pixels
image/colorspace: string, specifying the colorspace, always 'RGB'
image/channels: integer, specifying the number of channels, always 3
image/format: string, specifying the format, always'JPEG'
image/filename: string containing the basename of the image file
e.g. 'n01440764_10026.JPEG' or 'ILSVRC2012_val_00000293.JPEG'
image/class/label: integer specifying the index in a classification layer.
The label ranges from [0, num_labels] where 0 is unused and left as
the background class.
image/class/text: string specifying the human-readable version of the label
e.g. 'dog'
If you data set involves bounding boxes, please look at build_imagenet_data.py.
"""
from future import absolute_import
from future import division
from future import print_function
from datetime import datetime
import os
import random
import sys
import threading
import numpy as np
import tensorflow as tf
from utils import constants
tf.app.flags.DEFINE_string('train_directory', constants.training_images_dir,
'Training data directory')
tf.app.flags.DEFINE_string('test_directory', constants.test_images_dir,
'Test data directory')
tf.app.flags.DEFINE_string('output_directory', constants.data_dir,
'Output data directory')
tf.app.flags.DEFINE_integer('train_shards', 3,
'Number of shards in training TFRecord files.')
tf.app.flags.DEFINE_integer('test_shards', 3,
'Number of shards in test TFRecord files.')
tf.app.flags.DEFINE_integer('num_threads', 3,
'Number of threads to preprocess the images.')
The labels file contains a list of valid labels are held in this file.
Assumes that the file contains entries as such:
dog
cat
flower
where each line corresponds to a label. We map each label contained in
the file to an integer corresponding to the line number starting from 0.
tf.app.flags.DEFINE_string('labels_file', constants.labels_file, 'Labels file')
FLAGS = tf.app.flags.FLAGS
def _int64_feature(value):
"""Wrapper for inserting int64 features into Example proto."""
if not isinstance(value, list):
value = [value]
return tf.train.Feature(int64_list=tf.train.Int64List(value=value))
def _bytes_feature(value):
"""Wrapper for inserting bytes features into Example proto."""
return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value]))
def _convert_to_example(filename, image_buffer, label, text, height, width):
"""Build an Example proto for an example.
Args:
  filename: string, path to an image file, e.g., '/path/to/example.JPG'
  image_buffer: string, JPEG encoding of RGB image
  label: integer, identifier for the ground truth for the network
  text: string, unique human-readable, e.g. 'dog'
  height: integer, image height in pixels
  width: integer, image width in pixels
Returns:
  Example proto
"""

colorspace = 'RGB'
channels = 3
image_format = 'JPEG'

example = tf.train.Example(features=tf.train.Features(feature={
    'height': _int64_feature(height),
    'width': _int64_feature(width),
    'label': _int64_feature(label),
    'image_raw': _bytes_feature(tf.compat.as_bytes(image_buffer))}))
return example

class ImageCoder(object):
"""Helper class that provides TensorFlow image coding utilities."""
def __init__(self):
    # Create a single Session to run all image coding calls.
    self._sess = tf.Session()

    # Initializes function that converts PNG to JPEG data.
    self._png_data = tf.placeholder(dtype=tf.string)
    image = tf.image.decode_png(self._png_data, channels=3)
    self._png_to_jpeg = tf.image.encode_jpeg(image, format='rgb', quality=100)

    # Initializes function that decodes RGB JPEG data.
    self._decode_jpeg_data = tf.placeholder(dtype=tf.string)
    self._decode_jpeg = tf.image.decode_jpeg(self._decode_jpeg_data, channels=3)

def png_to_jpeg(self, image_data):
    print(type(image_data))
    return self._sess.run([self._png_to_jpeg],
                          feed_dict={self._png_data: image_data})

def decode_jpeg(self, image_data):
    print(type(image_data))
    image = self._sess.run([self._decode_jpeg],
                           feed_dict={self._decode_jpeg_data: image_data})
    assert len(image.shape) == 3
    assert image.shape[2] == 3
    return image

def _is_png(filename):
"""Determine if a file contains a PNG format image.
Args:
  filename: string, path of the image file.

Returns:
  boolean indicating if the image is a PNG.
"""
return filename.endswith('.png')

def _process_image(filename, coder):
"""Process a single image file.
Args:
  filename: string, path to an image file e.g., '/path/to/example.JPG'.
  coder: instance of ImageCoder to provide TensorFlow image coding utils.
Returns:
  image_buffer: string, JPEG encoding of RGB image.
  height: integer, image height in pixels.
  width: integer, image width in pixels.
"""
# Read the image file.
with tf.gfile.FastGFile(filename, 'rb') as f:
    image_data = f.read()

# Convert any PNG to JPEG's for consistency.
if _is_png(filename):
    image_data = coder.png_to_jpeg(image_data)

# Decode the RGB JPEG
image = coder.decode_jpeg(image_data)
# Check that image converted to RGB
assert len(image.shape) == 3
height = image.shape[0]
width = image.shape[1]
assert image.shape[2] == 3

return image_data, height, width

def _process_image_files_batch(coder, thread_index, ranges, name, filenames,
texts, labels, num_shards):
"""Processes and saves list of images as TFRecord in 1 thread.
Args:
  coder: instance of ImageCoder to provide TensorFlow image coding utils.
  thread_index: integer, unique batch to run index is within [0, len(ranges)).
  ranges: list of pairs of integers specifying ranges of each batches to
    analyze in parallel.
  name: string, unique identifier specifying the data set
  filenames: list of strings; each string is a path to an image file
  texts: list of strings; each string is human readable, e.g. 'dog'
  labels: list of integer; each integer identifies the ground truth
  num_shards: integer number of shards for this data set.
"""
# Each thread produces N shards where N = int(num_shards / num_threads).
# For instance, if num_shards = 128, and the num_threads = 2, then the first
# thread would produce shards [0, 64).
num_threads = len(ranges)
assert not num_shards % num_threads
num_shards_per_batch = int(num_shards / num_threads)

shard_ranges = np.linspace(ranges[thread_index][0],
                           ranges[thread_index][1],
                           num_shards_per_batch + 1).astype(int)
num_files_in_thread = ranges[thread_index][1] - ranges[thread_index][0]

counter = 0
for s in range(num_shards_per_batch):
    # Generate a sharded version of the file name, e.g. 'train-00002-of-00010'
    shard = thread_index * num_shards_per_batch + s
    output_filename = '%s-%.5d-of-%.5d' % (name, shard, num_shards)
    output_file = os.path.join(FLAGS.output_directory, output_filename)
    writer = tf.python_io.TFRecordWriter(output_file)

    shard_counter = 0
    files_in_shard = np.arange(shard_ranges[s], shard_ranges[s + 1], dtype=int)
    for i in files_in_shard:
        filename = filenames[i]
        label = labels[i]
        text = texts[i]

        try:
            image_buffer, height, width = _process_image(filename, coder)
        except Exception as e:
            print(e)
            print('SKIPPED: Unexpected error while decoding %s.' % filename)
            continue

        example = _convert_to_example(filename, image_buffer, label,
                                      text, height, width)
        writer.write(example.SerializeToString())
        shard_counter += 1
        counter += 1

        if not counter % 1000:
            print('%s [thread %d]: Processed %d of %d images in thread batch.' %
                  (datetime.now(), thread_index, counter, num_files_in_thread))
            sys.stdout.flush()

    writer.close()
    print('%s [thread %d]: Wrote %d images to %s' %
          (datetime.now(), thread_index, shard_counter, output_file))
    sys.stdout.flush()
    shard_counter = 0
print('%s [thread %d]: Wrote %d images to %d shards.' %
      (datetime.now(), thread_index, counter, num_files_in_thread))
sys.stdout.flush()

def _process_image_files(name, filenames, texts, labels, num_shards):
"""Process and save list of images as TFRecord of Example protos.
Args:
  name: string, unique identifier specifying the data set
  filenames: list of strings; each string is a path to an image file
  texts: list of strings; each string is human readable, e.g. 'dog'
  labels: list of integer; each integer identifies the ground truth
  num_shards: integer number of shards for this data set.
"""
assert len(filenames) == len(texts)
assert len(filenames) == len(labels)

# Break all images into batches with a [ranges[i][0], ranges[i][1]].
spacing = np.linspace(0, len(filenames), FLAGS.num_threads + 1).astype(np.int)
ranges = []
for i in range(len(spacing) - 1):
    ranges.append([spacing[i], spacing[i + 1]])

# Launch a thread for each batch.
print('Launching %d threads for spacings: %s' % (FLAGS.num_threads, ranges))
sys.stdout.flush()

# Create a mechanism for monitoring when all threads are finished.
coord = tf.train.Coordinator()

# Create a generic TensorFlow-based utility for converting all image codings.
coder = ImageCoder()

threads = []
for thread_index in range(len(ranges)):
    args = (coder, thread_index, ranges, name, filenames,
            texts, labels, num_shards)
    t = threading.Thread(target=_process_image_files_batch, args=args)
    t.start()
    threads.append(t)

# Wait for all the threads to terminate.
coord.join(threads)
print('%s: Finished writing all %d images in data set.' %
      (datetime.now(), len(filenames)))
sys.stdout.flush()

def _find_image_files(data_dir, labels_file):
"""Build a list of all images files and labels in the data set.
Args:
  data_dir: string, path to the root directory of images.

    Assumes that the image data set resides in JPEG files located in
    the following directory structure.

      data_dir/dog/another-image.JPEG
      data_dir/dog/my-image.jpg

    where 'dog' is the label associated with these images.

  labels_file: string, path to the labels file.

    The list of valid labels are held in this file. Assumes that the file
    contains entries as such:
      dog
      cat
      flower
    where each line corresponds to a label. We map each label contained in
    the file to an integer starting with the integer 0 corresponding to the
    label contained in the first line.

Returns:
  filenames: list of strings; each string is a path to an image file.
  texts: list of strings; each string is the class, e.g. 'dog'
  labels: list of integer; each integer identifies the ground truth.
"""
print('Determining list of input files and labels from %s.' % data_dir)
unique_labels = [l.strip() for l in tf.gfile.FastGFile(
    labels_file, 'r').readlines()]

labels = []
filenames = []
texts = []

# Leave label index 0 empty as a background class.
label_index = 1

# Construct the list of JPEG files and labels.
for text in unique_labels:
    jpeg_file_path = '%s/%s/*' % (data_dir, text)
    matching_files = tf.gfile.Glob(jpeg_file_path)

    labels.extend([label_index] * len(matching_files))
    texts.extend([text] * len(matching_files))
    filenames.extend(matching_files)

    if not label_index % 100:
        print('Finished finding files in %d of %d classes.' % (
            label_index, len(labels)))
    label_index += 1

# Shuffle the ordering of all image files in order to guarantee
# random ordering of the images with respect to label in the
# saved TFRecord files. Make the randomization repeatable.
shuffled_index = list(range(len(filenames)))
random.seed(12345)
random.shuffle(shuffled_index)

filenames = [filenames[i] for i in shuffled_index]
texts = [texts[i] for i in shuffled_index]
labels = [labels[i] for i in shuffled_index]

print('Found %d JPEG files across %d labels inside %s.' %
      (len(filenames), len(unique_labels), data_dir))
return filenames, texts, labels

def _process_dataset(name, directory, num_shards, labels_file):
"""Process a complete data set and save it as a TFRecord.
Args:
name: string, unique identifier specifying the data set.
directory: string, root path to the data set.
num_shards: integer number of shards for this data set.
labels_file: string, path to the labels file.
"""
filenames, texts, labels = _find_image_files(directory, labels_file)
_process_image_files(name, filenames, texts, labels, num_shards)
def main(unused_argv):
assert not FLAGS.train_shards % FLAGS.num_threads, (
'Please make the FLAGS.num_threads commensurate with FLAGS.train_shards')
assert not FLAGS.test_shards % FLAGS.num_threads, (
'Please make the FLAGS.num_threads commensurate with '
'FLAGS.test_shards')
print('Saving results to %s' % FLAGS.output_directory)
# Run it!
_process_dataset('test', FLAGS.test_directory,
                 FLAGS.test_shards, FLAGS.labels_file)
_process_dataset('train', FLAGS.train_directory,
                 FLAGS.train_shards, FLAGS.labels_file)

if name == 'main':
tf.app.run()
-----------------------------------------------------------------END---------------------------------------------

I tried to convert data into ndarray still getting the same issue. Using below code
print(type(image_data))
image_data_ndarry = np.fromstring(image_data, dtype=np.uint8)
print(type(image_data_ndarry))
image = self._sess.run([self._decode_jpeg], feed_dict={self._decode_jpeg_data: image_data_ndarry})
When I print the type I am getting <class 'numpy.ndarray'> Still tf is not accepting the data in fee dictionary and raising same exception.
<class 'numpy.ndarray'> TF_SessionRun_wrapper: expected all values in input dict to be ndarray

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Change shortcuts

C-c is SIGKILL. So, it's better to change shortcuts.
Need to gather some idea. Like Vi? or Emacs? or something.

C-c is using in Emacs and somthing. So, disscuss someday.


IBMCloud:Adding IBM Cloud Service Endpoint overrides

Adding Service Endpoint override options for IBM Cloud.
Implements: https://issues.redhat.com/browse/SPLAT-1097

/retitle SPLAT-1097: IBMCloud: Override IBM Cloud Service Endpoints

@JoelSpeed Sorry for the delay, I made updates hopefully as you requested and dropped the Spec integration for now, hoping that is okay, in order to try to make 4.14 FF, along with all of the other components dependent on these API changes.

error: error creating buildah builder: reading signatures: downloading signatures for sha256:fcfa46caebab49014c87d2f08dfb8a1f60252496f427996a43f513e52df275ed in registry.build05.ci.openshift.org/ci/managed-clonerefs: received unexpected HTTP status: 504 Gateway Time-out

/retest-required

/retest-required

/retest-required

Working on resolving following failure in added integration tests (couldn't duplicate locally)
{the following fields were expected to match but did not:
[(status.cpuPartitioning/status.cpuPartitioning)]

@JoelSpeed We don't have any changes in 4.14 that require this. Our dependent work (using this) is targeted for 4.15, so while we hoped to get this in ASAP, I don't see a benefit to having it in 4.14, if nothing is using it until our 4.15 changes land.
Unless you can think of a reason to have this in one release early?

No, no point merging until 4.15 is open. Can you make sure the implementation PRs are linked, and when you think this is good to go, let me know and hopefully we can get the whole feature E2E/QE validated and merge in quick succession

@JoelSpeed The implementing code is in development ATM, mostly the installer changes require some significant refactoring and unit test changes to incorporate this new support.
I will try to get the installer PR open ASAP, and follow up on implementing component PR's (MAPI, Ingress, Image Registry, etc.) after that.
Would it be possible to get this merged before those PR's, since it is a required dependency for all related PR's?

Would it be possible to get this merged before those PR's, since it is a required dependency for all related PR's?

Yeah, happy to merge without implementation once the 4.15 branch is cut, that gives you the whole 4.15 release to get it working. Just remind me closer to the time

@JoelSpeed Following up on this PR, was it ready to merge, with the 4.15 branch of api available, and ci/nightly builds of 4.15 occurring now? Or was there another component we should wait on yet?

Nope, I think we are good to go now, not expecting any API blocks related to the K8s 1.28 bump so I think we can move ahead
/lgtm


Add stm32 bxCAN sleep/wakeup functionality

This builds upon #2850, adding in functionality for:

sleeping the bus
enabling/disabling automatic wakeup
manually waking the bus
checking if the bus is currently sleeping

Dario: I've looked over the changes, I didn't see any issues. Eric: Thanks!


vvvv.js-examples compatibility merge

Thanks for fixing the group bug.
Here comes a set of new shaders and nodes that is needed to run the examples
PCF Shader has definately just a twist in the matrixes because it works a little bit different in glsl then hlsl (row and columns are swapped -> math puzzle involving multiple possible combinations).

Hey @zauner
Bitte merge einfach mal alles rein, dann geht es mal wieder ein stück weiter
Biggest Changes:
glTF full specification (except character animation)
browser editor pimped up for higher DPI displays and better working comfort


np.prod(qid_shape) can overflow

Description of the issue
Now with state separation, large number of qubits are possible in simulators. However some checks use np.prod(qid_shape), which can now overflow.
How to reproduce the issue
Run a density matrix simulator on an empty circuit with 59 qubits (on Windows; varies by environment). This should complete, but overflow causes an error when validating the initial state: (assert initial_state < np.prod(qid_shape) --> assert 0 < -1)
The error is in https://github.com/quantumlib/Cirq/blob/master/cirq-core/cirq/qis/states.py, though similar code can be found elsewhere.
    circuit = cirq.Circuit()
    for i in range(59):
        circuit.append(cirq.measure(cirq.LineQubit(i)))
    cirq.DensityMatrixSimulator(split_untangled_states=False).simulate(circuit)

Note I haven't found anywhere yet that this is an urgent problem. So far the only times I've encountered it are when I'm testing without the split_untangled_states flag. And the only problem it actually causes is that it throws the overflow error before throwing the out-of-memory error my test was expecting.

@daxfohl says the solution is to use python bigints


Dir race detection

Build failed on push to gh-pages

Ah.  Re the gh-pages build failure...I have started splitting the docs build out from the ci build in my repos. I will do that here so that it clears the failure. Should be green soon.


Pex just doesnt work

I have followed many tutorials and ive copied it. Pex just doesnt load my permissions or prefixes. I need help. Im using the lastest version of pex for 1.11 It just doesnt work. I have everything correct it just doesnt read it. i have essentialsX and essentialsXchat but it doesnt work.
permissions.zip

You don't actually have a permissions.yml file.  Follow this example.

Be sure you have Vault installed.  EssentialsXChat requires it.

i cant install vault it doesnt let me its not a high enough version for my server

I have fixed all the backend and permissions problems. Now just my prefixs wont show up. I have installed vault and essentialsxchat and it wont work

Did you look at the example file I linked to you?  There is much, much more info in that file than in the permissions file you showed me.
PEX is disabled when there are problems in the permissions.yml file.  See my previous post about how to fix those.  The "config.yml" and "permissions.yml" files are both considered "config" files.  Since your permissions.yml file was missing the groups: section and schema-version: 1 line entirely, the file is invalid and PEX is disabled.
And it's important to know that Vault doesn't have version update requirements.  The version found online will work with all server versions.
Keep in mind, also, that if your server.properties file has `online-mode=false' in it, PEX will never function properly because PEX does not support hacked/illegal clients or servers (which require that setting).

Did you look at the example file I linked to you?  There is much, much more info in that file than in the permissions file you showed me.
PEX is disabled when there are problems in the permissions.yml file.  See my previous post about how to fix those.  The "config.yml" and "permissions.yml" files are both considered "config" files.  Since your permissions.yml file was missing the groups: section and schema-version: 1 line entirely, the file is invalid and PEX is disabled.
And it's important to know that Vault doesn't have version update requirements.  The version found online will work with all server versions.
Keep in mind, also, that if your server.properties file has `online-mode=false' in it, PEX will never function properly because PEX does not support hacked/illegal clients or servers (which require that setting).

Looks like this issue is closed.


⚠ Bofrost.lu has degraded performance

In 3ccf1ee, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1327 ms

Resolved: Bofrost.lu performance has improved in 8269e16 after 13 minutes.


Update Online Course.json

Added Dart - Beginners Course

New Contribution added to the repo to ensure new sources of learning.


IA-3762 Export Analysis Modal - Typescript and Unit Tests

IA-3762 Export Analysis Modal Typescript and Unit Tests

converted ExportAnalysisModal.js to Typescript
created AnalysisProvider and useExportAnalysisModalState hook to break out data and state concerns from AnalysisModal visual component.
implemented useMetrics helper hook to remove boiler-plate code from event logging and improve Typescript ergonomics.
extended useLoadedData helper hook to accept optional onError callback to ease scenarios like reportError().
added unit tests to all new/changed files.

@n8landolt The very minimal changes to workspace-utils LGTM. Did you want a review from me on anything beyond that?


Grammar pls

was fooled on last PR, set the wrong branch >.>
Minor text fixes.

If I could give you a eggplant with sweat, I would.

wew

To be honest, your commit merged without conflict, you could still use the previous PR. Also the branch's name doesn't impact the merge.

¯_(ツ)_/¯


New package: PowerLaws v1.0.0

Registering package: PowerLaws
Repository: https://github.com/kmarray98/DiscretePowerLawSamplers.jl
Created by: @kmarray98
Version: v1.0.0
Commit: 80171dfa12e800e140d8ececdc972a960a88c70a
Reviewed by: @kmarray98
Reference: https://github.com/kmarray98/DiscretePowerLawSamplers.jl/issues/1#issuecomment-1964713563

Closed for https://github.com/JuliaRegistries/General/pull/101725


fix(tree): fix allowsRepoSuperset to check node schema identifiers

AB#8357
When the allowed types at the root aren't defined, TreeTypeSet is supposed to encompass "every allowed type in the schema." Therefore, it is necessary to add a check to ensure that "every type allowed in argument 1 is a subset of those allowed in argument 2."
Reviewer Guidance
The review process is outlined on this wiki page.

The issue will be fixed in AB#10255


Inline demo templates not binding

I've been having issues with the inline demo and data-binding. I can't seem to get it to work.
What I've tried so far:

using <template> in the commented code section
using <template is="dom-bind"> in the commented code section
using a <template> inside the next code block

Live previews that are failing to bind but seem to work fine in the sidebar demos:

Presence-fire - code
json-box - code

So after a bit of digging, the issue is that <template is="dom-bind"> only works in body.
Workarounds include using <dom-bind> instead, inserting <body> before <template is="dom-bind">, or inserting another element which can't be used in <head>, such as a <div>.
I'll try think of ways to clarify this in the inline-demo creator.
Sorry this wasn't more obvious! Also thanks for reporting this.

Thanks for getting back to me!
I tried your 3 suggestions and they didn't work for me. Could you please take a look and let me know what I did wrong?

switch to <dom-bind> demo - code
prepend with <body> demo - code
prepend with <div> demo - code

For when you update the demo creator and code snippets: I'd recommend settling on one way of doing things and then adding that in the inline-demo-creator instead of giving folks multiple options. That should be less confusing and hopefully more consistent. In the future in case anything changes, you'd have everyone theoretically following the same demo structure.
I hope this helps.

Thanks for providing the code! Sorry I wasn't clear, here's what the source should be. You still need the outside template tag.
<custom-element-demo>
  <template>
    <link rel="import" href="../polymerfire/firebase-app.html">
    <link rel="import" href="../login-fire/social-login-fire.html">
    <link rel="import" href="../paper-button/paper-button.html">
    <link rel="import" href="../paper-input/paper-input.html">
    <link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
    <link rel="import" href="presence-fire.html">
    <dom-bind>
      <next-code-block></next-code-block>
    </dom-bind>
  </template>
</custom-element-demo>

Given that dom-bind is a Polymer construct, its a little hard to explain why this is happening. I'll do my best!

Still not working for me 😕

With parent <template is="dom-bind"> demo - code (I know you didn't say to do this, I accidentally forgot to remove the is="dom-bind" but figured it might be helpful for you to see anyway)
With parent <template> demo - code

Sorry to keep going back and forth.

Thanks @samuelli!
Based on your recommendation, this was the code block structure that got it to work:
<custom-element-demo>
    <template>
        <link rel="import" href="../other-element/other-element.html">
        <link rel="import" href="my-element.html">
        <div>
            <template is="dom-bind">
                <next-code-block></next-code-block>
            </template>
            <script>
// Scripts
            </script>
            <style>
// Styles
            </style>
          </div>
      </template>
</custom-element-demo>


Whisper microphone example outputs gibberish

I am trying to get the Candle Whisper microphone example to work but to no avail.
First, I encountered an issue related to the microphone being repeatedly reacquired, which causes pretty weird behavior on Linux. It turns out lavafroth on GitHub already submitted a PR (https://github.com/huggingface/candle/pull/1864).
However, even with those changes, I am getting gibberish out. For example, here's the output when I say, "Testing... One, two, three."
Perhaps the buffers are not managed correctly, but I don't understand the code enough (yet) to see what might be going on there.
Transcribing audio...
language_token: None
0.0s -- 3.3s:  you
1.0s -- 16.4s:  .
2.0s -- 38.3s:  S***
2.0s -- 38.3s:  you
3.0s -- 77.9s:  this this thing this thing this thing
3.0s -- 77.9s:  testing one two three
4.0s -- 131.2s:  this this thing this thing this thing
4.0s -- 131.2s:  testing 123 testing 123 123 testing 123 123 testing 123 123
4.0s -- 131.2s:  testing 1 2 3
5.0s -- 213.3s:  this this thing this thing this thing
5.0s -- 213.3s:  testing 123 testing 123 123 testing 123 123 testing 123 123
5.0s -- 213.3s:  Testing 123 123 Testing 123 123 Testing 123 123 Testing 123 123
5.0s -- 213.3s:  testing 123123
6.0s -- 298.7s:  1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1,
6.0s -- 298.7s:  testing 123 123 testing 123 123 testing 123 123
6.0s -- 298.7s:  Testing 123 123 Testing 123 123 Testing 123 123
6.0s -- 298.7s:  testing 123123 testing 123123
6.0s -- 298.7s:  testing 123 123 testing 123 123
6.0s -- 298.7s:  you
7.0s -- 570.1s:  testing 123123
7.0s -- 570.1s:  testing 123 123
7.0s -- 570.1s:  testing 123 123

same here

also i had to get rid of the quantized model which was taking 100% of my GPU constantly (macbook pro m3 max)
switching to normal model works well <30% GPU with continuous transcription

i think whisper output garbage by default for example when there is no speaking (no speech token does not seem enough?)
my code:
https://github.com/louis030195/screen-pipe/blob/main/screenpipe-audio/src/core.rs
it captures well voices (even shitty french accent)


494: Fixing payment consent tests to send a detached JWS signature

There was a bug in the payment consent related tests, which was causing a JWS with payload to be sent in the x-jws-signature header, when a detached JWS is required.
Refactored the code relating to creating detached JWS signatures and interacting with the Payment API. New PaymentApiClient should be used instead of the existing PaymentRS (which has been deprecated). Migrated payment consent tests to use the PaymentApiClient.
Additional cleanup related to getting access tokens has been made by shifting the logic shared by the AccountRS and PaymentRS into the Tpp class, so that there is one set of logic for getting client_credential based AccessTokens
Issue: https://github.com/securebankingaccesstoolkit/securebankingaccesstoolkit/issues/494

Also includes a minor performance optimisation, we were encoding our OB request objects to json twice per http operation. Once to compute the jws signature and again to produce the http request body, new PaymentApiClient will only encode the json once.


[1.10.2]Spawner keep amounts of items when swapping syringe

When you swap syringe in a Spawner,  the amount of items of each type stays,  so you can bypass the need of mob-specific items. For example,  if I place a Skeleton syringe, inject three bones, then swap the syringe with a Wither one,  the Spawner will have three nether stars stored for spawn.

I cannot reproduce this. How exactly are you doing this? How are you swapping the syringe?

Simply left clicking the current syringe with the new one in the spawner GUI.

Fixed next release


Problème ZWO Asi 120 mc

J'ai tout installer ça fonctionne bien avec ma 290 MM et impossible de faire fonctionner l'Asi 120 MC
Merci

@Michel85300   The README.md file on the main GitHub page has this note:
NOTE: Owners of USB2.0 cameras such as ASI120MC and ASI120MM may need to do a firmware upgrade. This changes the camera to use 512 byte packets instead of 1024 which makes it more compatible with most hardware.
Depending on what the issue is, this may fix your problem.  If not, please give us more information on exactly what problems you are having.  See the "Reporting Issues" Wiki page on how to do that.

@Michel85300    Any update?

Closing Issue. User has not responded in about a month.


mysql_set_charset | UTF8 | Russian language

Hello.
Could you help me, please.
Last year i used 'CP1251 General CI' charset.
Now i decide to try UTF8 general ci (i need it).
I starting my server - it's all rights in the beginning of server work.
It works 10, maybe 12 hours without restart and if i update something in my MySQL Database, my russian language can be - "?????".
I will repeat: "it will happen after some hours".
Nothing change with charset during server work.
Only on the starting server.
I think, that maybe i did some mistakes.
mysql_set_charset("utf8"); - don't work. I get - "????" all time.
mysql_query(MySQL, "SET NAMES utf8 COLLATE utf8_unicode_ci");  mysql_query(MySQL, "set character_set_connection=utf8"); - work good. But not very long time.

help me, please.

Setting the character set through a query will give you absolutely nothing if you're only using threaded/parallel queries. You have to use mysql_set_charset for it to work properly.

I just tried mysql_set_charset("utf8_general_ci");, but after 12 or more hours, SELECT and UPDATE table returned '??????' (not Russian Text). During first 12 or a bit more hours - it's ok.

Did you had any disconnects to your MySQL server? The character set obviously resets when (re-)connecting to the server.

No. No crashes, no disconnects.
I just look at my test server. It's 11 hours after my last post (i did restart 11 hours ago).
I enter into my game server account. And look at my name on Russian language. It's '??????'. It's after  'SELECT....' function(operator). (I don't know how to call it).
But if i restart my server now and update my name, and also reconnect to server, it will be ok. But only some hours.

Well, something has to cause this. Check the MySQL plugin log, check the MySQL server log. There has to be something hinting at the problem.

Oh. After i did, what you said with charset:
mysql_set_charset("utf8_general_ci");
I got this mistake:

[15:00:39] [ERROR] CMySQLConnection::SetCharset - error 2019: Can't initialize character set utf8_general_ci (path: /usr/share/mysql/charsets/)

But why? MySQL DataBase has this charset in all tables, settings.

That's because you're using the charset collation, not the actual charset, hence why it doesn't exist.
Just use mysql_set_charset("utf8");.

ok. I will try it now and write you later.
http://wiki.sa-mp.com/wiki/MySQL/R33#mysql_set_charset
Check it, please. Your example.

i tried it now, and another mistake.
When server is starting, it loads all pickups, words and etc from DataBase. Now after restart i have ??/????? and etc. It's on my screen.

And also my DataBase structure (this table).

Do you have any ideas?

Fixed the example in the wiki.
Are there still any errors in the MySQL plugin log?

No, nothing..(

I just check it on local MySQL server(my computer). The problem is the same.
mysql_set_charset("utf8");. doesn't work. It shows me information how on the picture.

Are you sure the string data in your table is actually saved as UTF8 text?

I think so, but i'm not sure.
Do you know, can i check it somehow? Or resave it quickly?

Try creating a new entry from within the gamemode with the charset set to UTF8 and check if it displays and/or loads correctly afterwards.

Maybe this is causing the problem? http://forum.sa-mp.com/showthread.php?p=3082072#post3082072

maddinat0r, i think that the problem was because tables and information maybe was created in CP1251. I think so, because i change it to CP1251 and it's all right.
Thank you for your help) I will close this issue.