Steam: Hollow Knight freezes

Hello,
I'd like to play Hollow Knight, but that doesn't seem to work ..
The game just freezes in the menu after a few seconds after launch or right after pressing an arrow key (audio continues), without any log output.
The only error I could find happens when exiting the game before it freezes:
Feb 24 09:13:01 desktop kernel: hollow_knight.x[8481]: segfault at 7facbe9fbfe8 ip 00007fac7c074f04 sp 00007ffcbdd1fad0 error 4 in libsteam_api.so[7fac7c05f000+33000]
Feb 24 09:13:01 desktop xsession[1343]: Game removed: AppID 367520 "", ProcID 8481

I've tried the "-noheap" launch option and the beta branch, same problem.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
[2018-02-24 09:00:10] Startup - updater built Dec 15 2017 11:47:44
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2018-02-24 09:00:10] Checking for update on startup
[2018-02-24 09:00:10] Checking for available updates...
[2018-02-24 09:00:10] Download skipped: /client/steam_client_ubuntu12 version<PHONE_NUMBER>, installed version<PHONE_NUMBER>
[2018-02-24 09:00:10] Nothing to do
[2018-02-24 09:00:10] Verifying installation...
[2018-02-24 09:00:10] Performing checksum verification of executable files
[2018-02-24 09:00:11] Verification complete
assert_20180224090010_1.dmp[6019]: Uploading dump (out-of-process)
/tmp/dumps/assert_20180224090010_1.dmp
/home/user/.local/share/Steam/steam.sh: line 927:  5917 Aborted                 $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
assert_20180224090010_1.dmp[6019]: Finished uploading minidump (out-of-process): success = yes
assert_20180224090010_1.dmp[6019]: response: CrashID=bp-93539980-6b52-441a-b599-81e802180224
assert_20180224090010_1.dmp[6019]: file ''/tmp/dumps/assert_20180224090010_1.dmp'', upload yes: ''CrashID=bp-93539980-6b52-441a-b599-81e802180224''

Any ideas what else to try? A Confirmation that it works for someone on 17.09 would be helpful, too.
Technical details

system: "x86_64-linux"
host os: Linux 4.15.0, NixOS, 17.09.3023.c882c4dd55e (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(user): ""
channels(root): "nixos-unstable-18.03pre127921.9b25b9347d9, nixos-17.09.3023.c882c4dd55e"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

I don't have the steam version but I suppose the linked libraries are the same.
In that case libvdpau.so.1 and libva-x11.so.1 are not needed by Hollow Knight. It has the usual dependecies of a Unity game:
libdl.so.2
libpthread.so.0
librt.so.1
libGL.so.1
libX11.so.6
libXcursor.so.1
libXrandr.so.2
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
/lib64/ld-linux-x86-64.so.2
libz.so.1
libexpat.so.1
libxcb-dri3.so.0
libxcb-xfixes.so.0
libxcb-present.so.0
libxcb-sync.so.1
libxshmfence.so.1
libglapi.so.0
libXdamage.so.1
libXfixes.so.3
libX11-xcb.so.1
libxcb-glx.so.0
libxcb-dri2.so.0
libXxf86vm.so.1
libXext.so.6
libxcb.so.1
libXau.so.6
libXdmcp.so.6
libdrm.so.2
libXrender.so.1

>ldd hollow_knight.x86_64
	linux-vdso.so.1 (0x00007ffd55bcf000)
	libdl.so.2 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libdl.so.2 (0x00007fdd17c69000)
	libpthread.so.0 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libpthread.so.0 (0x00007fdd17a4b000)
	librt.so.1 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/librt.so.1 (0x00007fdd17843000)
	libGL.so.1 => /run/opengl-driver/lib/libGL.so.1 (0x00007fdd175d1000)
	libX11.so.6 => not found
	libXcursor.so.1 => not found
	libXrandr.so.2 => not found
	libstdc++.so.6 => not found
	libm.so.6 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libm.so.6 (0x00007fdd172be000)
	libgcc_s.so.1 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libgcc_s.so.1 (0x00007fdd170a8000)
	libc.so.6 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libc.so.6 (0x00007fdd16d08000)
	/lib64/ld-linux-x86-64.so.2 => /nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib64/ld-linux-x86-64.so.2 (0x00007fdd17e6d000)
	libexpat.so.1 => /nix/store/0h1myzfdpl0c4wk2ri02imr588bhl1x3-expat-2.2.4/lib/libexpat.so.1 (0x00007fdd16add000)
	libxcb-dri3.so.0 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-dri3.so.0 (0x00007fdd168da000)
	libxcb-xfixes.so.0 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-xfixes.so.0 (0x00007fdd166d2000)
	libxcb-present.so.0 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-present.so.0 (0x00007fdd164cf000)
	libxcb-sync.so.1 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-sync.so.1 (0x00007fdd162c8000)
	libxshmfence.so.1 => /nix/store/d4wyqrv573ma62q34r8qq875g76d63ws-libxshmfence-1.2/lib/libxshmfence.so.1 (0x00007fdd160c5000)
	libglapi.so.0 => /run/opengl-driver/lib/libglapi.so.0 (0x00007fdd15e95000)
	libXdamage.so.1 => /nix/store/cwhmmif7y0gzbh7h49vhcc3n07jrx4ix-libXdamage-1.1.4/lib/libXdamage.so.1 (0x00007fdd15c92000)
	libXfixes.so.3 => /nix/store/vpfdh63rmra0b0s2k2wdyv7gcnj16a8n-libXfixes-5.0.2/lib/libXfixes.so.3 (0x00007fdd15a8c000)
	libX11-xcb.so.1 => /nix/store/1yd9g0wl9qgf2iysxizwxn7k936jv439-libX11-1.6.5/lib/libX11-xcb.so.1 (0x00007fdd1588a000)
	libxcb-glx.so.0 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-glx.so.0 (0x00007fdd1566f000)
	libxcb-dri2.so.0 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb-dri2.so.0 (0x00007fdd1546a000)
	libXxf86vm.so.1 => /nix/store/cnkaxmilx6kyff99n6fpz8gdzd4i7s5w-libXxf86vm-1.1.4/lib/libXxf86vm.so.1 (0x00007fdd15264000)
	libXext.so.6 => /nix/store/8gdmkr38zjc7vgcigh1laiq98a12cy3d-libXext-1.3.3/lib/libXext.so.6 (0x00007fdd15052000)
	libX11.so.6 => /nix/store/1yd9g0wl9qgf2iysxizwxn7k936jv439-libX11-1.6.5/lib/libX11.so.6 (0x00007fdd14d12000)
	libxcb.so.1 => /nix/store/xqxn4fnasach6dxb72331z206m134mm1-libxcb-1.12/lib/libxcb.so.1 (0x00007fdd14ae9000)
	libXau.so.6 => /nix/store/z7vj2hha5ikgcmf36y0vp65vqw6j4j82-libXau-1.0.8/lib/libXau.so.6 (0x00007fdd148e5000)
	libXdmcp.so.6 => /nix/store/dpi423sc05rzpa7l2h51mcahfkzr4v1z-libXdmcp-1.1.2/lib/libXdmcp.so.6 (0x00007fdd146df000)
	libdrm.so.2 => /nix/store/7zgz3gw1f2r9kbhxfm25rklg52f17q1m-libdrm-2.4.83/lib/libdrm.so.2 (0x00007fdd144cd000)

That looks quite different. Those two libs are required for launching Steam, which is then still broken. You gave me an idea though:
nix-shell -p "(pkgs.steam.override{nativeOnly=true;}).run" --run "steam-run ./hollow_knight.x86_64"

works! It isn't all that nice, but at least something. I just wonder where the actual problem lies ..

I've investigated this a bit; seems native-only Steam is broken now due to segfault inside our libdbus called by vendor-provided libSDL-2.0.so (which we cannot easily override). Your initial issue however is because of some problem with stock Steam Runtime. Given that most libraries there are unchanged it may be possible there's a bug in the game or it explicitly expects no Steam Runtime. Are there reports of successful Hollow Knight runs on Linux?

hollow knight just works under linux steam for me, but does suffer from the occasional freezing problem
[clever@amd-nixos:~]$ type steam
steam is /run/current-system/sw/bin/steam

[clever@amd-nixos:~]$ realpath  /run/current-system/sw/bin/steam
/nix/store/spqbkjhwz3vykp1calqyk09g1rd0k1cv-steam/bin/steam
[clever@amd-nixos:~]$ nixos-version
19.03pre158041.179b8146e66 (Koi)

Installed Hollow Knight on Ubuntu 18.04 about 5 months ago, played it for several days, no problem.  Now i'm getting this error.


generator: don't call stopDockerContainer directly

The withDockerContainer wrapper calls stopDockerContainer after the wrapped closure returns.    copyTargetSwiftFromDocker was updated to use this wrapper, but it still calls stopDockerContainer itself. This means that when withDockerContainer tries to clean up, the container is already gone so the stopDockerContainer call fails:
docker stop 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
docker stop 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
Error response from daemon: No such container: 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
docker stop 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
Error response from daemon: No such container: 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69
Error: nonZeroExitCode(1, SwiftSDKGenerator.CommandInfo(command: "docker stop 3c556c0bb3b401296312837ae15e3364f72b0f687cf516952ad80faa18071c69", currentDirectory: nil, file: ".../SwiftSDKGenerator.swift", line: 163))

@swift-ci test


TypeError: Object # has no method 'subscribe'

Node-RED version: v0.13.1
Node.js  version: v0.10.35
I'm trying to connect to my HM-CC-RT-DN but mqtt does not connect (though it is running).
Node-Red error log shows the following error:
2 Feb 22:56:01 - [info] Starting flows
createConnection() is deprecated, use http://npm.im/mqtt-connection instead
2 Feb 22:56:01 - [info] [homegear-mqtt in:Arbeitszimmer] subscribing to topic "homegear/1234-5678-9abc/event/1/#"
2 Feb 22:56:01 - [error] [homegear-mqtt in:dc02169c.23fde8] TypeError: Object #<MQTTBrokerNode> has no method 'subscribe'
2 Feb 22:56:01 - [info] Started flows

Looks like a change in nodered - I didn't have time to upgrade to 0.13 yet.
Thanks for reporting it - I'll try to provide a fix asap.

@TheKrauskopf I gave it a try an 0.13.1 and sadly I can't reproduce your errors..
The MQTTBrokerNode didn't change API in the new release and should still work as before.
The only difference I see here is that I'm running node 5.0.0 instead of 0.10.1 but AFAIK that shouldn't matter:
Welcome to Node-RED
===================

3 Feb 18:02:17 - [info] Node-RED version: v0.13.1
3 Feb 18:02:17 - [info] Node.js  version: v5.0.0
3 Feb 18:02:17 - [info] Loading palette nodes
3 Feb 18:02:17 - [info] Settings file  : /xxxxxx/.node-red/settings.js
3 Feb 18:02:17 - [info] User directory : /xxxxxx/.node-red
3 Feb 18:02:17 - [info] Flows file : /xxxxxx/.node-red/flows_xxxxxxx.json
3 Feb 18:02:17 - [info] Server now running at http://<IP_ADDRESS>:1880/
3 Feb 18:02:17 - [info] Starting flows
3 Feb 18:02:17 - [info] [homegear-mqtt in:7521e62b.8ade18] subscribing to topic "homegear/1234-5678-9abc/event/1/#"
3 Feb 18:02:17 - [info] [homegear-mqtt in:7521e62b.8ade18] subscribing to topic "homegear/1234-5678-9abc/rpcResult"
3 Feb 18:02:17 - [info] Started flows
3 Feb 18:02:17 - [info] [mqtt-broker:41f5a240.be0a5c] Connection failed to broker: mqtt://<IP_ADDRESS>:1883

What's also strange is that I'm not seeing the deprecation warning (note: I did an upgrade, not a fresh install).
Could you share a minimal flow that produces the problem?

@Shirk At first, thanks for your help and for your fast response!
The flow is really simple. Just the homegear node and a debug message. Please note, that the mqtt input node connects successfully.
[{"id":"9f20364e.60dfc8","type":"mqtt-broker","z":"","broker":"<IP_ADDRESS>","port":"1883","clientid":""},{"id":"7ccbb66c.833448","type":"debug","z":"a7c313d1.583cf","name":"","active":false,"console":"false","complete":"false","x":545,"y":327,"wires":[]},{"id":"dc02169c.23fde8","type":"homegear-mqtt in","z":"a7c313d1.583cf","broker":"9f20364e.60dfc8","homegearId":"1234-5678-9abc","peerId":1,"deviceType":"6:0","publishUpdates":true,"publishComplete":true,"name":"Arbeitszimmer","genName":"","x":259,"y":330,"wires":[["7ccbb66c.833448"]]},{"id":"2aa75693.d558aa","type":"mqtt in","z":"a7c313d1.583cf","name":"test","topic":"homegear/1234-5678-9abc/event/1/4/SET_TEMPERATURE","broker":"9f20364e.60dfc8","x":236,"y":394,"wires":[["567382ee.a98c7c"]]},{"id":"567382ee.a98c7c","type":"debug","z":"a7c313d1.583cf","name":"","active":true,"console":"false","complete":"false","x":554,"y":389,"wires":[]}]
Looks like dependencies are mixed up!?

@Shirk Sorry, I've found the error. Was not a bug in node-red-contrib-homegear-mqtt!
A few week ago I've upgraded from a Node-RED version previous to 0.10.4, where the user data storage changed from install directory to $HOME/.node-red.
Unfortunately I've not only copied the files in /node/addon, but also the files in /nodes/core which also contained the old MQTTBrokerNode. Looks like the old one was then used, instead of the new one in the node-red install dir. I've deleted $HOME/.node-red/nodes/core and everything is working fine now!
Again, thanks for your help and please keep up the good work. You node is really helpfull!

Glad it was only a dependency problem :smile:!
I'm going to continue work on the convert_hg_xml branch in the combing weeks. If you like to give it a try I could offer some pre-release versions (and would be glad for the feedback).
That branch includes support for all families (homematic bidcos & wired as well as hue, insteon, sonos and MAX!) as well as using device descriptions directly created from what homegear uses so compatibility should be greatly improved.

Yeah, absolutely. I'd be happy to be beta tester. Although I do only have 3 HM-CC-RT-DN devices to test at the moment. But I could try to connect my 7 hue lamps also via homegear.
Drop me a line as soon as you have a pre-release!


Support slack notification

I added a beta feature.
If we want to use feature, we need to add LAUNCHABLE_SLACK_NOTIFICATION env value when we execute the cli

It seems Code scanning got timed out. Please fix this.

@shibuiwilliam Please review again when you free


Spanish translation of tutorials

Following the instructions by @musicEnfanthen, I'm uploading the Spanish translations of the tutorials.

The beginners tutorials have been fully checked. In a next PR, I will be checking all the advanced tutorials with the same level of detail.

Thank you very much, @davidrizo, Alba Bedmar Osma, and @martha-thomae !


For French Machines, decimal is changing to comma in Open XML

If we change the machine configuration in English(US) (but the machine still in france) also the problem remains the same.
While writing the decimal data in the cell of open xml it convert the '.' dot to ',' comma automatically.

Cell Binding process

Thanks in Advance

@rah123mis can you provide a repro? The images are hard to see (and can't zoom in well). The following would be very helpful:
Information

.NET Target: (ie .NET Framework, .NET Core, UWP, Xamarin, etc)
DocumentFormat.OpenXml Version: (ie 2.7.2)

Repro
// Please add a self-contained, minimum viable repro of the issue.
// If you require external resources, please provide a gist or GitHub repro
// An Xunit style test is preferred, but a console application would work too.

Observed
Please add your observed behavior here
Expected
Please add your expected behavior here.

@rah123mis I'd say the Open XML SDK has (almost) nothing to do with your issue. It is your use of
number.ToString() instead of number.ToString(CultureInfo.InvariantCulture) that leads to the problem.
As a matter of fact, if you need to represent a decimal number as a string, e.g., in HTML, CSS, or Open XML for that matter, you need to provide it in a culture-invariant format. For example, 123,4 will have to be represented as 123.4. The problem is that ToString() will produce a culture-specific string, e.g., 123,4. Therefore, whenever you need to make sure the string will be formatted in a specific way, you must use ToString(CultureInfo.InvariantCulture).

Yeah, that sounds like a very plausible cause. @rah123mis I'm going to close this issue, but if you believe it is due to the SDK, please reopen with a repro.


Create Jenkinsfile for building docker images

We will use this job to build OE docker images and push them to the Azure private registry

bors r+

bors r+

bors r+

bors r-

bors r+

bors r-

bors r+


Can You Help me with this one thing

there's an error with quotly it wont work and if i want to change the image when the bot starts which file do i change in i cant find it

Quotly working fine for me, Check API URL and Key again.
If you want to change the image, edit 161 and 184 with your image link.

Quotly working fine for me, Check API URL and Key again.
If you want to change the image, edit 161 and 184 with your image link.

i changed those two but its still showing the same picture

Quotly working fine for me, Check API URL and Key again.
If you want to change the image, edit 161 and 184 with your image link.

I changed the image link but it's showing the same

Quotly working fine for me, Check API URL and Key again.
If you want to change the image, edit 161 and 184 with your image link.

I changed the image link but it's showing the same

Change Upstream_repo on config and change deploy link of heroku on README.md. :p


xFailOverCluster: Add VS Code workspace settings file with settings matching style guideline

Details of the scenario you tried and the problem that is occurring:
I suggest we add a VS Code workspace setting file with the following settings:
// Place your settings in this file to overwrite default and user settings.
{
    "powershell.codeFormatting.openBraceOnSameLine": false,
    "powershell.codeFormatting.newLineAfterOpenBrace": false,
    "powershell.codeFormatting.newLineAfterCloseBrace": true,
    "powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
    "powershell.codeFormatting.whitespaceBeforeOpenParen": true,
    "powershell.codeFormatting.whitespaceAroundOperator": true,
    "powershell.codeFormatting.whitespaceAfterSeparator": true,
    "powershell.codeFormatting.ignoreOneLineBlock": false,
    "files.trimTrailingWhitespace": true,
    "files.insertFinalNewline": true
}

This is discussed here https://github.com/PowerShell/DscResources/issues/284.
That will make it possible inside VS Code to press SHIFT+ALT+F or press F1 and choose 'Format document' in the list. The PowerShell code will then be formatted according to the Style Guideline (although maybe not complete, but would help a lot).
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System and PowerShell the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

Removed "powershell.codeFormatting.alignPropertyValuePairs": true from the comment above.


endponit/providers/kube: Adding the name of the endpoint provider to the log messages

Because these log messages may be emitted by a number of instances of the kubernetes endpoints provider, prepending the name of the particular provider would be helpful.
For some messages changing log level to Trace().
For the log statements that are emitted only on launch of the OSM Controller pod - changing from Debug to Info

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Codecov Report

Merging #1989 into main will increase coverage by 0.01%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##             main    #1989      +/-   ##
==========================================
+ Coverage   56.85%   56.86%   +0.01%
==========================================
  Files         138      138
  Lines        5570     5569       -1
==========================================
  Hits         3167     3167
+ Misses       2400     2399       -1
  Partials        3        3

Impacted Files
Coverage Δ

pkg/endpoint/providers/kube/client.go
83.62% <63.63%> (-0.14%)
:arrow_down:

pkg/envoy/route/config.go
96.03% <0.00%> (+0.79%)
:arrow_up:

Continue to review full report at Codecov.

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


Support for Weights and Biases logger (and possibly others) in Lightning CLI

🚀 Feature
Adding support for weights and biases logger in lightning CLI
Motivation
Currently, instantiating a weights and biases logger from lightning CLI is not supported, and causes an error:
trainer.py: error: Parser key “trainer.logger”: Value “{‘class_path’: ‘pytorch_lightning.loggers.WandbLogger’, ‘init_args’: {‘entity’: ‘gip’, ‘project’: ‘solver’, ‘notes’: ‘notes’}}” does not validate against any of the types in typing.Union[pytorch_lightning.loggers.base.LightningLoggerBase, typing.Iterable[pytorch_lightning.loggers.base.LightningLoggerBase], bool] :: Problem with given class_path “pytorch_lightning.loggers.WandbLogger” :: ‘Configuration check failed :: No action for key “entity” to check its value.’ :: Expected a List but got “{‘class_path’: ‘pytorch_lightning.loggers.WandbLogger’, ‘init_args’: {‘entity’: ‘gip’, ‘project’: ‘solver’, ‘notes’: ‘notes’}}” :: Expected a <class ‘bool’> but got “{‘class_path’: ‘pytorch_lightning.loggers.WandbLogger’, ‘init_args’: {‘entity’: ‘gip’, ‘project’: ‘solver’, ‘notes’: ‘notes’}}”
Pitch
I want to be able to initialize a WandbLogger from the yaml file, and also be able to run wandb sweeps.

@mauvilsa cc

From a quick look at this the problem seems to be only for the cases in which a WandbLogger is given values that should be given to its init **kwargs. I will look into this.

Maybe I am misunderstanding the question,
but for me using instantiating WandBLogger in the config with init_args in the field trainer: logger: class_path works fine.

@oplatek Did you try passing arguments to the wandb logger? For example, passing an 'entity' kwarg.

@ohayonguy oh... I see, I just used the name, save_dir.
Now, I understand the problem, sorry I misunderstand it.
I experienced this problem with LightningCLI too. I solved it by subclassing the parent and moving the argument from kwargs to regular argument in the inherited init function.

Ahh yup :) that's exactly what we did!
@oplatek

@oplatek We still have a very annoying problem though, when we have nested pl.module classes that takes nn.Module as arguments. These can't be instantiated :(

Well I think I solved this too.
See https://github.com/oplatek/pytorch-lightning/blob/d3c5dabd9766cd049f5d21bef7a8dc4845db3814/pl_examples/basic_examples/simple_image_classifier.yml#L3
and

when we have nested pl.module classes that takes nn.Module as arguments. These can't be instantiated :(

This is happening because some init arguments in nn.Module classes don't have type hints. Currently in LightningCLI it is implemented that arguments without a type get the Any type. However looking at this I have noticed that this option is not enabled for some cases. I know why this is and will implement it soon.

From a quick look at this the problem seems to be only for the cases in which a WandbLogger is given values that should go to its init **kwargs. I will look into this.

The issue is that WandbLogger receives **kwargs (wandb.py#L102) which is used for running wandb.init(). jsonargparse is not aware of the arguments that wandb.init() receives. The way jsonargparse works is via class inheritance. If the init of a class has **kwargs then it will look for more arguments in the next class it inherits from. If the following class also receives **kwargs it will continue looking in the next class and so on.
I would propose that we improve the implementation of WandbLogger such that it inherits from a class WandbInitOptions which would include all the arguments that can be accepted. This way the parser can be aware of them and validate against its types. The WandbInitOptions class would not be written manually. It would be a class dynamically generated using some function that inspects the signature of wandb.init(). This way if something changes in wandb it becomes automatically available in lightning.
Please analyze and comment to see if the idea makes sense and to figure out what other issues there could be.

@mauvilsa Your solution seems okay to me, although it's a "workaround". Is there a way to inherit form jsonargparse and change its behavior to our needs? I am not very familiar with it. Changing jsonargparse might be a better solution in the long term, and could give more flexibility (for example, instantiate nn.Modules in subclasses and stuff).

@ohayonguy the nn.Module instantiation is different. This a missing feature that will be implemented in jsonargparse except for maybe a minor modification in LightningCLI.
The proposal for **kwargs is not a workaround. Why do you say it is a workaround? jsonargparse needs to know what arguments it can accept and how to validate them. This is important so that when incorrect values are given it fails early and not after a whole lot of processing has been done. The way to tell jsonargparse what are valid arguments are with the type hints and in the case of classes possibly with class inheritance. This is a change that would be done in pytorch-lightning. From what I understand in the description this will fit your needs.


Improve plugin performance on pages with many tables

This plugin can become very slow on pages with a large number of tables, particularly on Firefox. This is caused by recalculating the height of the fixed header on every scroll event.
This PR addresses this by introducing a cacheHeaderHeight option, which, when set to true, will only calculate the height of the fixed header when the width of the page changes. The toggleHeaders, setPositionValues and updateWidth functions are also debounced to prevent excessive calculations.

Nice one! Thanks a million.


MetabolicPropertyMap mathematical operations

One MetabolicPropertyMap includes several attributes:
-> concentration,
-> t1
-> t2

How to combine this MetabolicPropertyMaps?
-> mul ?
t1 * t1
t2 * t2
concentration * concentration?

-> add ?

Other operations necessary?
for example sub ?

No, they should be separate. One MetabolicPropertyMap for one metabolite! --> see spectral spatial simulation


FC gives errors for edgelist with weights

fast_consensus.py gives errors and does not run when the weights are added to the edgelist text file.

Hi, can you give a sample code where it fails?


add visibility to analysis

Here I'm adding the main background functionality to generate the 2 list for public and not public analysis. These changes are based on the artifacts and study code. Note that generate_analysis_list is not actually used anywhere but it has tests and the plan is to have another PR which uses it to display all analysis.

Codecov Report

Merging #2404 into dev will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             dev    #2404      +/-   ##
=========================================
+ Coverage   93.8%   93.82%   +0.02%
=========================================
  Files        161      161
  Lines      18766    18822      +56
=========================================
+ Hits       17603    17660      +57
+ Misses      1163     1162       -1

Impacted Files
Coverage Δ

qiita_db/test/test_analysis.py
98.18% <100%> (+0.06%)
:arrow_up:

...ta_pet/handlers/artifact_handlers/base_handlers.py
93.86% <100%> (+0.53%)
:arrow_up:

qiita_db/analysis.py
96.65% <100%> (+0.19%)
:arrow_up:

qiita_db/util.py
96.66% <100%> (+0.12%)
:arrow_up:

qiita_db/test/test_util.py
99.64% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Scrolling Through REI Extremely Lag when Reach Forgero Item List

Do the icon high resolution or not compressed or something. REI lagged so much when looking at Forgero Item

The FPS return normal when scroll to another page that no Forgero item.
Lets say Forgero on page 18 and 19, whole FPS reduced to 7-9 FPS when on that page, but FPS return to normal if not in that page.

Yeah this is probably due to how Forgero items are rendered. It is not really optimized and not cached yet. Which specs are your pc? I don't think I have encountered to many performance issues because my development pc is a little overspecced. Might be a good idea for me to test performance on lower tier hardware.
This issue might take a while to fix as it requires me to rework parts of the modelling system, and the rendering pipeline. This also relates to #8. I know very little when it comes to rendering, so don't expect a lot of progress soon.

I have pretty old hardware i7-4790K + 980 TI (around 2015) using complementary shader with default option.

Alright, hardware seems decent enough. Looks like there is a severe lack of optimization present with Forgero tools.
BRRP should not affect performance, but it's nice info.

Looks like it's optimization time! I am currently focusing on the 0.10.0 update, but this is a serious bottleneck. If I can find a simple way to implement a fix for this, I'll implement it and release it as 0.9.3. I am not sure exactly when this will be ready, bit I am working on it.
Thanks for  highlighting the issue!

I did some testing, but I was not able to reproduce as severe of an issue as you reported. This most likely comes down to hardware. I was also only able to reproduce this issue on Windows. Linux does not seem to struggle with this at all. This makes it a little harder to debug as I am not able to see if any changes made impacts the issue. Older hardware will likely struggle with recreating Forgero tools from NBT data, so it seems like I'll have to implement caching in a variety of places.

I did some testing, but I was not able to reproduce as severe of an issue as you reported. This most likely comes down to hardware. I was also only able to reproduce this issue on Windows. Linux does not seem to struggle with this at all. This makes it a little harder to debug as I am not able to see if any changes made impacts the issue. Older hardware will likely struggle with recreating Forgero tools from NBT data, so it seems like I'll have to implement caching in a variety of places.

Or could be REI side problem or my huge modlist. Maybe you can try to run it in VM using vbox with lower spec configuration?

Definitely has something to do with a huge modlist, but that's hard to test. I could do testing in a VM, but honestly, that's way to much of a hassle.

I personally tested it with REI, both with a large modpack and small modpack but the significant performance drop is still there.
This noticeable performance drop even occurs when a couple of items of the mod are in a chest.
This ofcourse will be subjective to what specs someone is using so ill post mine for reference.
AMD Ryzen 5 1600
16GB RAM
AMD Radeon RX 6500 XT

**First off: Try enabling caching itemstack in REI. Hover over settings > Display settings > caching item entry. This improves the performance significantly, but disables some effects **
Okay, I finally had some time to do some testing. I know Forgero tools are not that efficient at rendering because they have to be constructed from data as opposed to loaded statically like every other Minecraft Item. But is also turns out that The Fabric Rendering API (FRAPI) also causes some slowdown. I dod some testing on my laptop where I was able so see some slowdown when viewing large pages with Forgero Items in REI. I tested some configurations to see where I could make some efficiency improvements.
Baseline: 25fps~
Baseline + remove a rendering mixin: 27fps~
Rendering nothing in place of a Forgero item: 34fps~
Guava cache: 29fps~
ConcurrentMap: 25fps~
What is really telling is the fact that the fps drops significantly even though I am not rendering anything at all, which leads me to believe that there is significant performance drawbacks to using FRAPI in the first place, but I kinda need to be able to render my items so that does not really help. I implemented some minor improvement using Guava's cache to help the situation. I'll be releasing it in the 0.9.4 update very soon. Unfortunately, it does not look like FRAPI is designed to work with rendering hundreds of custom models at the same time. I'll likely have to look at it some more, and maybe see if there is some optimization possible upstream in the Indigo library. I'll also have to look at optimization with caching for other situations, like the chest issue mentioned.
Thanks for taking the time to report the issue!

I have similiar mod that add item based on config and mod installed combination, it is Excavated Variant, they using are using Dynamic Asset Generator.

Yeah I am using a similar library, ARRP. But these libraries can't deal with rendering custom models based on ItemStack data. I'll see if I can create a native approach to rendering myself. Maybe it will get native compatability with Sodium as well.

Solved by using a native rendering approach and not relying on FRAPI to render custom Item models. I had a sneaking suspicion FRAPI was causing performance issues when rendering large amount of models. Was able to also resolve all other graphical incompatibilities related to sodium as well. This will be resolved when #196 is released. Wasn't able to test if FRAPI was causing the issue before I created a native renering implementation, and the native approach destroys the old rendering by a mile. I was probably not using frapi right, but in my opinion, the native rendering is a lot simpler as well. I would like verify this from other people as well, but I suppose that would be hard given how old this issue is.

I will mark this issue as closed now, as I believe it is fixed. Please open it again if the issue persists.


Example for fetching '(...)/todos/1' on main website not working.

The example shown on placeholder isn't working, it gives :
Uncaught SyntaxError: Invalid regular expression: missing / in the browser console.

@PiotrNap I have tried opening this website (directly as well as hitting as API in JS), both are working for me.
https://codesandbox.io/s/busy-jones-713bj

Let me know if I interpret the wrong way!.

Yes, it is working now. Could be an an issue due to changing the website design?


Are the examples in the docs supposed to work?

Hi there,
I'm confused how some of these examples are to work:
client.sayHello({ name: 'Bob' })
  .then(res => console.log(res))

I'm using gRPC with protoc, and each of the methods on the original generated client requires a specific message instance. So instead, I'd have to do something like:
const message = new HelloMessage();
message.setName('Bob');
client.sayHello(message)
  .then(res => console.log(res))

Are the examples just supposed to be pseudocode, or is there a way of enabling the nicer syntax that I'm not aware of? Thanks!

Hello, if you create the client dynamically then it will work as evident in the tests. If you use pre-generated grpc code to create the client, then you have to use the actual pregenerated Message classes. Example in tests.


Issues while setting Proxy using - eflowautodeply

Describe the Problem
We have VM behind corporate proxy for which we configured the httpProxy in the network section of "eflow-userconfig" file but it is not setting it properly and edge runtime is not connecting to Iot hub, we checked the config.toml and other settings but the configuration of proxy is not reflecting in the files. whereas output shows "EFLOW VM deployment successfull." with all DNS and proxy setting as good.
To Reproduce
Steps to reproduce the behavior:
Eflow deployment behind a proxy.
Expected behavior
After successful deployment edge modules loads successfully to Eflow
Screenshots

Windows Host OS (please complete the following information):

Edition: Windows Server 2019
Virtual Machine: Azure VM

Hi @srjhunjhunwalacorp,
Thanks for reaching out. I've confirmed that there's an issue with the current proxy configuration. We will fix this issue as soon as possible and will let you know.
Thanks,
Francisco

Hi @srjhunjhunwalacorp,
@parameshbabu  has fixed the proxy issue - Could you please check the new documentation and try again?
Thanks,
Francisco


Sh/sample change

What does this PR do?
What issues does this PR fix or reference?
#, @@
Functionality Before
<insert gif and/or summary>
Functionality After
<insert gif and/or summary>

Codecov Report

Merging #28 into develop will decrease coverage by 8.73%.
The diff coverage is 74.02%.

@@             Coverage Diff             @@
##           develop      #28      +/-   ##
===========================================
- Coverage    83.98%   75.24%   -8.74%
===========================================
  Files           69      264     +195
  Lines         3103     9917    +6814
  Branches       295     1132     +837
===========================================
+ Hits          2606     7462    +4856
- Misses         439     2143    +1704
- Partials        58      312     +254

Impacted Files
Coverage Δ

...vscode-core/src/commands/util/libraryCommandlet.ts
71.42% <0.00%> (ø)

...forcedx-vscode-core/src/orgBrowser/metadataType.ts
78.57% <ø> (ø)

...forcedx-vscode-core/src/util/metadataDictionary.ts
100.00% <ø> (ø)

...rc/testSupport/commands/forceLwcTestDebugAction.ts
95.12% <ø> (ø)

...ages/salesforcedx-vscode-soql/src/client/client.ts
0.00% <0.00%> (ø)

...rcedx-vscode-soql/src/editor/soqlEditorProvider.ts
0.00% <0.00%> (ø)

...forcedx-vscode-core/src/diagnostics/diagnostics.ts
43.54% <8.00%> (ø)

...cedx-vscode-core/src/commands/baseDeployCommand.ts
52.50% <20.00%> (ø)

...ges/salesforcedx-vscode-core/src/conflict/index.ts
48.38% <22.22%> (ø)

...rcedx-vscode-core/src/settings/sfdxCoreSettings.ts
45.45% <25.00%> (ø)

... and 252 more

Continue to review full report at Codecov.

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


"Chord only" mode issue for Smart Punctuatio.

Hello and thank you so much for developing this tool! I use it every day and really appreciate it.
As of 1.5.2, when Smart Punctuation is set to "chord only" mode, entering a punctuation character will also enter a backspace character if the cursor has been moved.
For example, if I type "foo bar", the resulting text is "foo bar". If I move my cursor back to the end of foo and type a period, the resulting text is "fo. bar".
As another exampl, if I type "Bob and Alice", go to another windo, come back, and enter a comma, the resulting text is "Bob and Alic,.
As a third example, if I type "Hello world", then type a bang, then a space, the resulting text is "Hello world! ". If I realize I also want to add a "?", I would try to do so by hitting backspace and then "?". I would expect the resulting text to be "Hello World!?" but it ends up actually being "Hello World?".

I'm thinking that changing consecutive to true on Interrupt is the issue. This works fine for the purposes of entering chords but it causes this issue when trying to use smart punctuation. From my perspective as a user, the expected behavior is that after an interrupt, chords are treated as consecutive but smart punctuation is not.

Thank you, Ellie!
I missed that my quick fix caused an issue with the punctuation.
I’ll have time to look at it tonight or tomorrow to fix this.
Thank you for the kind words and the detailed retro steps.
Best,
Pavel
On Oct 14, 2022, at 12:23 PM, Ellie Litwack @.***> wrote:

Hello and thank you so much for developing this tool! I use it every day and really appreciate it.
As of 1.5.2, when Smart Punctuation is set to "chord only" mode, entering a punctuation character will also enter a backspace character if the cursor has been moved.
For example, if I type "foo bar", the resulting text is "foo bar". If I move my cursor back to the end of foo and type a period, the resulting text is "fo. bar".
As another exampl, if I type "Bob and Alice", go to another windo, come back, and enter a comma, the resulting text is "Bob and Alic,.
As a third example, if I type "Hello world", then type a bang, then a space, the resulting text is "Hello world! ". If I realize I also want to add a "?", I would try to do so by hitting backspace and then "?". I would expect the resulting text to be "Hello World!?" but it ends up actually being "Hello World?".
—
Reply to this email directly, view it on GitHubhttps://github.com/psoukie/zipchord/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKFZSXE6BV6LP2BCI77YPIDWDGXMPANCNFSM6AAAAAARFQK5GE.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi Pavel! I just installed 1.6 and it works perfectly! Thank you so much for this software!


chore: tweak vector index info to string to quote string fields

We add quoting on the to VectorIndexInfo string fields on toString
for clarity.

:shipit:


Script failing while generating schema from nested Json Schema format

Hey guys,
I am trying to generate spark json schema for below format-
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"maintenanceWorkOrder": {
"type": "object",
"properties": {
"workOrderNumber": {
"type": "string"
},
"workOrderActivity": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"workOrderNumber": {
"type": "string"
},
"organization": {
"type": "string"
}
},
"required": [
"workOrderNumber",
"organization"
]
}
]
}
},
"required": [
"workOrderNumber",
"workOrderActivity"
]
}
},
"required": [
"maintenanceWorkOrder"
]
}
it looks very simple JSON schema, but gives me below error -
scala> val schema = SchemaConverter.convertContent(json_wo_lines)
play.api.libs.json.JsResultException: JsResultException(errors:List((,List(ValidationError(List(error.expected.jsobject),WrappedArray())))))
at play.api.libs.json.JsReadable$$anonfun$2.apply(JsReadable.scala:23)
at play.api.libs.json.JsReadable$$anonfun$2.apply(JsReadable.scala:23)
at play.api.libs.json.JsResult$class.fold(JsResult.scala:73)
at play.api.libs.json.JsError.fold(JsResult.scala:13)
at play.api.libs.json.JsReadable$class.as(JsReadable.scala:21)
at play.api.libs.json.JsDefined.as(JsLookup.scala:132)
at org.zalando.spark.jsonschema.SchemaConverter$.getFieldType(SchemaConverter.scala:184)
at org.zalando.spark.jsonschema.SchemaConverter$.addJsonField(SchemaConverter.scala:171)
at org.zalando.spark.jsonschema.SchemaConverter$.convertJsonStruct(SchemaConverter.scala:134)
at org.zalando.spark.jsonschema.SchemaConverter$.getDataType(SchemaConverter.scala:203)
at org.zalando.spark.jsonschema.SchemaConverter$.getFieldType(SchemaConverter.scala:190)
at org.zalando.spark.jsonschema.SchemaConverter$.addJsonField(SchemaConverter.scala:171)
at org.zalando.spark.jsonschema.SchemaConverter$.convertJsonStruct(SchemaConverter.scala:134)
at org.zalando.spark.jsonschema.SchemaConverter$.convert(SchemaConverter.scala:74)
at org.zalando.spark.jsonschema.SchemaConverter$.convertContent(SchemaConverter.scala:60)
... 49 elided
Let me know if someone has faced similar issue and have resolution.
Thanks,

Hi @3mlabs and thanks for reporting this.
The issue is with defining the workOrderActivity array field.
Arrays in JSON Schema models two distinct concepts lists and tuples. Our library supports list-validated arrays, but we do not currently support tuple-validated arrays. (more details on the difference here)
If your intention is to make workOrderActivity an array of coherent objects like the example below, you can simply change the definition for workOrderActivity.items from an array of object to a single object.
If this meets your requirement:
{
  "maintenanceWorkOrder": {
    "workOrderNumber": "123",
    "workOrderActivity": [
      {
        "workOrderNumber": "order_001",
        "organization": "org_A"
      },
      {
        "workOrderNumber": "order_002",
        "organization": "org_B"
      }
    ]
  }
}

This definition would be more correct (and would work with our library):
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "maintenanceWorkOrder": {
      "type": "object",
      "properties": {
        "workOrderNumber": {
          "type": "string"
        },
        "workOrderActivity": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "workOrderNumber": {
                "type": "string"
              },
              "organization": {
                "type": "string"
              }
            },
            "required": [
              "workOrderNumber",
              "organization"
            ]
          }
        }
      },
      "required": [
        "workOrderNumber",
        "workOrderActivity"
      ]
    }
  },
  "required": [
    "maintenanceWorkOrder"
  ]
}

Nevertheless, we'll work on addressing tuple-validated arrays.
I hope this solves your issue, at least for now.


[ALLUXIO-3370] Client metrics fixes

https://alluxio.atlassian.net/browse/ALLUXIO-3370
Cherry-picked from https://github.com/Alluxio/alluxio/pull/8177

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1135/
Test PASSed.


added gatsby-image

This is a pruposal of using gatsby-image in this template.

Hey @wysher thanks for doing this just one question, does it have a fallback for gifs?

Hey @v4iv, sorry for not answering. Gifs wont work. Via docs:
Gifs can’t be resized the same way as pngs and jpegs, unfortunately—if you try to use a gif with gatsby-image, it won’t work. For now, the best workaround is to import the gif directly.


Updated all components patch version for lockfiles

Realized we should have bumped all the components because each got their own lockfile.
Additions

Changelog entries

Review

@anselmbradford
@contolini

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

tyty


Added event_detail and write_log methods

I recently needed to add the below methods to add and retrieve event log entries. Wondered if they might be useful for others.

I never got notified of this PR. Sorry about that. Merging now.


App prelaunch not passing WACK

I try to upload my app to the store, but it seems there is a nasty bug inside Template10 because it keeps failing on these two points:
App prelaunch
Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 29745Code-Inside.ExpensiveMeeting_<IP_ADDRESS>_x64__5mgty9mmywh40.
Crashes and hangs
Error Found: The crashes and hangs test detected the following errors:◦Executable C:\Program Files\WindowsApps\29745Code-Inside.ExpensiveMeeting_<IP_ADDRESS>_x64__5mgty9mmywh40\WindowsApp1.exe was detected by Windows Error Reporting and experienced a crash or hang.
◦Application 29745Code-Inside.ExpensiveMeeting_<IP_ADDRESS>_x64__5mgty9mmywh40 was detected by Windows Error Reporting and experienced a crash or hang.
◦Crash dump file C:\Users\muehsig\AppData\Local\Microsoft\AppCertKit\WindowsApp1.exe.24688.dmp was created by Windows Error Reporting and provides additional information.
There is an older issue about that, but I created a brand new "Hamburger (Template 10)" project and updated to the most recent 1.1.2 Template10 NuGet package and it keeps failing.
I have no idea why it crashs - it never happens during debugging or actual running.
When I create a new "Default" UWP app, WACK has no problems (besides the logo stuff).

I think this is related to https://github.com/Windows-XAML/Template10/issues/595 & https://github.com/Windows-XAML/Template10/issues/612

Just to make sure it's not just a "empty project problem". This issue is currently a show stopper for my store submission :( @JerryNixon

@robertmuehsig in #540 I commented some lines of code in InternalLaunchAsync that made my app pass WACK. It is just a hack/workaround but it worked for me since I needed to push an update to my app ASAP.

Seems to be fixed in 1.1.3 - thanks!

Upgraded my project to 1.1.3 but I'm still running into the issue. Were there any additional steps that needed to be taken to get around it?

Nope - just updated the NuGet package and done. With 1.1.2 I could reproduce it with a fresh project - maybe something during the NuGet update failed?
Just try to create a new project - is it still failing?

No, it's fine in a fresh project, but my existing one still has the problem


ClientHandle, EntitySet and UpdateIter not included in grammers_client.

I'm trying to reproduce the echo.rs example, and when I import it I get the following issue:
https://imgur.com/a/nIB4eMf
I've cleaned and rebuilt the project, but this didn't help with the issue..
This is my cargo.toml:
[package]
name = "foo"
version = "0.1.0"
authors = ["bar<EMAIL_ADDRESS>edition = "2018"

[dependencies]
dotenv = "0.15.0"
grammers = "0.1.0"
grammers-client = "0.2.0"
grammers-crypto = "0.2.0"
grammers-mtproto = "0.2.0"
grammers-mtsender = "0.2.0"
grammers-session = "0.2.0"
grammers-tl-gen = "0.2.0"
grammers-tl-parser = "1.0.0"
grammers-tl-types = "0.2.0"
tokio = { version = "0.3", features = ["full"] }

Could you help me resolve this?

What to expose from the -client so that no other libraries are needed is a work in progress until the public API is fleshed out (we chatted in Telegram but just for the sake of recording this in the issue too).

As of 0.3, ClientHandle is gone, I removed UpdateIter recently, and the EntitySet will be handled transparently by the library (so it won't be exposed to end users at all).


export blog

Hi,
I get an error when I try to export. Manage > export and the link form Download BlogML File
is not well configured:
https://www.domain.dot/Blog/ctl/Manage/mid/[object Object]
or
http://www.domain.dot/Blog/ctl/Manage/mid/[object Object]
I need this along a question: is possible to move the blog to a different instance portal? I know that are some dependencies with the users ...
thank you

Will be fixed in next release


Final changes for implementation of prow

@sdake: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-lint.sh
702a3aceb6512d0590cf335d762ededeceddcbec
link
/test operator-lint-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/assign @ostromart


Add crate docs

Added doc strings for crate.
Included a link to official google polyline algorithm, this way the landing page of the crate docs seems a bit nicer.

🍻


Cannot use plot_rotor() on idle

Hello.
I am doing a first trial using ROSS by replicating one of the examples provided. Attached the example I am replicating, line by line.
Once I finish and try to plot using    .plot_rotor()     command in IDLE, I can see a yellow box which says 'Squeezed text (1004 line).'
As far as I know, what I should obtain is a visualization of the model. It is explained on the website, that 'ROSS uses PLOTLY as main plotting library', which in fact is included in the lib packages on my PC. I attach an image of the yellow box I obtain, and the code when clicking on the box.
I would really appreciate if someone could help me with the visualization. THANK YOU IN ADVANCE
SqueezedOutputViewer.txt
Example.txt

!

Thank you very much for your support @raphaeltimbo !


How to push refspec with *?

Pushing a refspec like +refs/heads/*:refs/heads/* or +refs/heads/* as in the following returns an error:
push.push(&["+refs/heads/*"], Some(&mut push_options))?;

The error is: '[3/-1] not a valid reference 'refs/heads/*'''
How do I make git2 push as if it were using a push/fetch refspec as in a repository? It appears glob syntax is not obeyed as it is in the git command line.

Heh I've always been sort of confused with how refspecs work in libgit2 as well... I sort of just randomly apply options until it works, so I'm not sure myself :(
Once figured out, though, it'd be great to include this in the docs!

It's not clear to me, because I feel like I should be able to push using a refspec like +refs/heads/*:refs/heads/*, to override the destination's heads (which I think is equivalent to a git push --all. But it doesn't seem to work that way?

I think that libgit2 has a gitter/slack, and maybe it'd be good to ask there?

The gitter has had two posts since October of 2016, we will see.

This is pretty old and is probably best for libgit2 rather than here, so I'm going to close.


CI/CD: Fixed incorrect path in the HTML tests report

This is a part of a change done in CE: https://github.com/Jahia/content-editor/commit/bec3ef0225c61b9832f73aa1366b1648461d9ebe#diff-c7273ca77f452520adba2dfb738cd146b83110e7faa7b861318e89b2b56b5d56
As-is, the videos can't load because the path is incorrect

Actually, fixing is slightly more complicated than I first thought.
For some reason, Cypress is not saving the file in a subfolder of the same name than the subfolder containing the spec. The reporter is following the correct pattern, but cannot find the video.


Shimmeron + crit chance mod

The wand, Shimmeron, does not have the +0.3% Critical Strike Chance per Power Charge mod on the item.

I already have a fix for this issue coming in the next update (1.4.71).


feat: Attempt to resolve nested tags

Closes: https://github.com/argoproj/argo/issues/3319

Could we use the new expr library for this?

Could we use the new expr library for this?

No, this is unrelated to expression evaluation

my thought is that perhaps using expr might be better as it would be better compatible with Helm, it would not have {{ or }}:
    steps:
    - - name: parallel-worker
        template: seq-worker
        arguments:
          parameters:
          - name: seq-list
            valueFrom
              expression: inputs.parameters["seq-list"]

That would be a significant overhaul of the Argo Variable system that could produce many breaking changes and bugs.
 Because it is impossible to have two open curly brackets ({{) in valid JSON, this serves as a guarantee that whenever we encounter them in the string it is an Argo variable that needs resolution.
If we were to use expr for variable resolution, we couldn't make use of this strategy (which I think is fairly efficient), and could introduce bugs and breaking changes for virtually no benefit.

Another key point is that Argo variables may be found anywhere in the template definition, not necessarily in dedicated fields such as valueFrom.expression.

Regardless, that change would be out of scope for this PR

I tried and failed to get something useful working with expr because our templating is deeply entrenched in the code base and is just more flexible.
What about allowing different start ({{) and end tags (}}) based on annotation or similar?

What about allowing different start ({{) and end tags (}}) based on annotation or similar?

See https://github.com/argoproj/argo/issues/2430#issuecomment-632862338

@alexec Please review when convenient


HDDS-11733. Remove okio versioning and unused okhttp dependency

What changes were proposed in this pull request?

okio is transitive-only, versioning is not needed
okhttp 2.7.5 is not required by Ozone or any dependencies, can be removed

https://issues.apache.org/jira/browse/HDDS-11733
How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/11868908490

The LICENSE.txt under hadoop-ozone/dist/src/main/license/bin mentioned these two package. Shall we manually remove them from the LICENSE.txt?

The LICENSE.txt under hadoop-ozone/dist/src/main/license/bin mentioned these two package.

Thanks @ChenSammi for checking.
   com.squareup.okhttp3:okhttp
   com.squareup.okio:okio

We still need these entries (note that okhttp is the v3 one), since they are part of the binary distribution:
share/ozone/lib/okhttp.jar
share/ozone/lib/okio.jar

But while verifying, I just noticed that some items introduced by okio upgrade in #5063 are missing from the LICENSE.  Updated now in 4ff2214da279481c6c91864823247188e030f954.

Thanks @ChenSammi for the review.


Allow "super" power users to fix issues

One idea is to make it easier to find kata waiting for issues to be fixed along with a reward for fixing the kata. The main issue there is how much of a rabbit hole would it be to reward power users for fixing a kata and do it in a way where they can't just close an issue and get points without actually doing the work.
https://github.com/Codewars/codewars.com/issues/997#issuecomment-308932665 by @jhoffner

I think many power users will fix the kata without any rewards. Power users already help authors fix issues without any rewards in terms of Codewars points. Sometimes a power user does more work than the author :|
So I don't think this main issue is an issue. I'd suggest starting from simply allowing certain power users (maybe ~13k+ honor points, top 50) to fix them without rewards. Maybe require at least another power user to check the work before applying the fix to existing kata.
We can discuss about rewarding the power users if this fails.

@jhoffner, @Voileexperiments, @10XL, @DonaldKellett, @dinglemouse2250

I think the activity of the Kata author needs to be taken into account somehow.

If the author is not active for some time (eg 2+ weeks) then sure, somebody else should be able to step in and fix things.

But if the author is active, then I really would not want for some overly eager power user to jump in and fix my problem while I was sleeping and already planning to fix it the next day!

This should now be implemented, if anyone wants to test. If an author has been inactive for more than 7 days, and there are active issues, then any user with the ability to coauthor a challenge can edit a published challenge.

Niiiiiice!
Fixing all the katas I listed on #940 now.

I just accidentally resolved all the issues before I managed to actually re-submit the kata (you know, those goddamn publish timeout!), and now I can't get the edit to open anymore :(
Is it intended? Are there any ways to make it open for edit again?

Are there any ways to make it open for edit again?

How about creating an issue? 😄

How about creating an issue? :smile:

I tried, but it didn't work.
I even tried using my alt account to create an issue, and that didn't work either :V

I think the edit requirement is broken:

If an author has been inactive for more than 7 days, and there are active issues, then any user with the ability to coauthor a challenge can edit a published challenge.

But this kata has no issues and the author is very active (it's g964 after all), and yet I can still edit it without problems. Seems like some katas turn out false negatives while some katas turn out false positives.

I meant to say if the author has been inactive on that issue. Basically if the oldest issue on the challenge is older than 7 days then edits are allowed.


Is it possible to run custom code in run/runAsync?

Hi,
Mostly, in the docs here as a consequent to a rule, I see console.log and assert() with some occasional other calls.
In a custom application using rules it is necessary to invoke other objects and fire events to allow business logic to react to the rule.
This, to me, would be the whole purpose of a rules engine. To trigger real business logic.
Is this possible? So far, I cannot make calls to in scope objects in a consequent.
Is this by design? Why is this? thank you

may be this project closed.

I made my own rules engine on github. Called inferencegraph
Does what I need


Correction for raw affiliation UMR AGAP Institut, Univ Montpellier, CIRAD, INRAE, Institut Agro, Montpellier

Correction needed for raw affiliation UMR AGAP Institut, Univ Montpellier, CIRAD, INRAE, Institut Agro, Montpellier
raw_affiliation_name: UMR AGAP Institut, Univ Montpellier, CIRAD, INRAE, Institut Agro, Montpellier
new_rors: 051escj72;05kpkpg04;03rnk6m14;003vg9w96;02w4exq36
previous_rors: 051escj72;05kpkpg04;03rnk6m14;003vg9w96
works_examples: W4298109292
contact: b70afc7e48642c4b2aea95a77d341631:0094dbe043a2f19741ab700f49aaf2911926 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Add support to base_url to client cli and gui

What this Pull Request (PR) does

Add double quotes to values inside .env
Add option of baseurl for openai to client cli and gui
Add Feature to cli gui to copy the user query to a tag keeping last query before deleting the query form control
Add option to read files from argument instead of stdin

Related issues
Add basic support to redirect OpenAI api to use alternative BaseURL #194
Screenshots

Love this. Going to add via a related PR. Please check that one out and see if it does what you need.


Does PEFT support translation models such as M2M100?

I'm tring to applied LoRA to M2M100.
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import get_peft_config, get_peft_model, LoraConfig, TaskType

peft_config = LoraConfig(task_type = TaskType.SEQ_2_SEQ_LM, inference_mode = False, target_modules=["q_proj", "v_proj"], r = 16, lora_alpha = 32, lora_dropout = 0.1)

model_repo = 'facebook/m2m100_418M'
model = AutoModelForSeq2SeqLM.from_pretrained(model_repo, proxies=proxies)
tokenizer = AutoTokenizer.from_pretrained(model_repo, proxies=proxies)

model = get_peft_model(model, peft_config)
model.print_trainable_parameter()

...

peft_model_id="results"
model.save_pretrained(peft_model_id)
tokenizer.save_pretrained(peft_model_id)
torch.save(model.state_dict(), path)

But I got below error message.
AttributeError: 'M2M100ForConditionalGeneration' object has no attribute 'print_trainable_parameter'

If comment out 'print_trainable_parameter()', it runs without error, but I can't be sure if it goes right.
Please let me know how to solve it? and if it supports other models not specified in models-support-matrix.
Thank you!

the function is print_trainable_parameters and not print_trainable_parameter

Thank you for confirming that it is applicable to other models.
Also about print_trainable_parameter,  sorry for bothering you with a minor mistake.


User Attributes feature.

Purpose
This PR allows users inserting arbitrary instances in such way they become available to custom constructs (Sinks, Sources, etc...) through SiddhiAppContext.
Goals
Shared application (host) state can be seen by custom components or extensions, avoiding the use of global or singleton objects.
Approach
User-defined data can be set at SiddhiManager level, where user can inject any information that is relevant to custom extensions during initialization time.  SiddhiManager delegates to SiddhiContext the actual storage of the user-defined data.  SiddhiAppContext offers user-defined data by delegating to the content shared by SiddhiContext.
This approach allows multiple managers to inject different contextual information and instances without introducing global variables or singleton objects that are difficult to maintain and test.
User-defined data is located by UserAttributeKey instances, which carry type information with them, making the extraction and insertion of user-defined data a little bit more intuitive and less verbose.
Release note
SiddhiManager permits user-defined data to be propagated throughout the stack.
Documentation
N/A
Automation tests
Self-contained tests are found in io.siddhi.core.attributes.UserAttributesTestCase
Security checks
No sensitive information in this pr
Samples
UserAttribute<MyData> key = new UserAttribute("myDataKey");
SiddhiManager manager = new SiddhiManager();
// Since key carries type information, only compatible types can be associated
// with this key.
manager.getUserData().put(key, new MyData());

// ...
// Casting and types are inferred since key is defined with <MyData>.  A
// similar method to extract data is found at `SiddhiAppContext`.
MyData info = manager.getUserData.get(key);

Related PRs
None
Test environment
JDK 8 - Linux.  No platform-specific code introduced.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Justo Ruiz Ferrer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1406 into master will decrease coverage by 0.06%.
The diff coverage is 19.23%.

@@             Coverage Diff              @@
##             master    #1406      +/-   ##
============================================
- Coverage     65.34%   65.27%   -0.07%
  Complexity       37       37
============================================
  Files           632      635       +3
  Lines         26662    26688      +26
  Branches       4214     4215       +1
============================================
- Hits          17422    17421       -1
- Misses         7791     7815      +24
- Partials       1449     1452       +3

Impacted Files
Coverage Δ
Complexity Δ

...re/src/main/java/io/siddhi/core/SiddhiManager.java
50% <0%> (-0.8%)
0 <0> (ø)

...n/java/io/siddhi/core/config/SiddhiAppContext.java
83.83% <0%> (-0.86%)
0 <0> (ø)

...java/io/siddhi/core/attributes/UserAttributes.java
0% <0%> (ø)
0 <0> (?)

...src/main/java/io/siddhi/core/SiddhiAppRuntime.java
61.8% <0%> (-0.16%)
0 <0> (ø)

...va/io/siddhi/core/attributes/UserAttributeKey.java
0% <0%> (ø)
0 <0> (?)

...ddhi/core/attributes/ConcurrentUserAttributes.java
30% <30%> (ø)
0 <0> (?)

...main/java/io/siddhi/core/config/SiddhiContext.java
52.45% <66.66%> (+0.73%)
0 <0> (ø)
:arrow_down:

.../siddhi/core/util/event/handler/StreamHandler.java
62% <0%> (-12%)
0% <0%> (ø)

...ore/util/persistence/InMemoryPersistenceStore.java
53.84% <0%> (-5.13%)
0% <0%> (ø)

...o/siddhi/core/aggregation/IncrementalExecutor.java
80.31% <0%> (-0.79%)
0% <0%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


ref(renderer): rename renderer options & add clone

Rename renderer options to avoid future name collisions
Add a Clone() function that copies styles and respects Renderer

I wonder if something along the lines of AttachRenderer() better describes Clone() so that there's no ambiguity between Clone and Copy.

👍 to renaming Clone() to AttachRenderer(), another option would be to have WithRenderer (on the style)
func (s Style) WithRenderer(r Renderer) {
  // ...
}

another option would be to have WithRenderer (on the style)

@aymanbagabas, correct me if I'm wrong, but I believe the use case here is actually to associate styles with a specific renderer, or to change the renderer on a style.
style := lipgloss.NewStyle().Reverse()

r := lipgloss.NewRenderer()
style = style.AttachRenderer(r)

I agree that a different name might be better suited here. My only gripe would be that the imperative Attach as the function name's prefix suggests it's changing the renderer on the style, instead of returning a new copy.

Just to close the loop here, let’s go with Renderer for consistency with the rest of the API.
s := lipgloss.NewStyle()
r := lipgloss.NewRenderer()
s = s.Bold(true).Underline(true).Renderer(r)


Update Readme

Added a Polars Cheat Sheet
What does this PR do?

Requirements for your Awesome item list

[x] Only has awesome items. Awesome lists are curations of the best, not everything.
[x] Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
[x] Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
[x] Has consistent formatting and proper spelling/grammar.
- The link and description are separated by a dash.
Example: - [AVA](…) - JavaScript test runner.
- The description starts with an uppercase character and ends with a period.
- Consistent and correct naming. For example, Node.js, not NodeJS or node.js.
[x] Doesn't use hard-wrapping.
[x] Your item(s) fit into an existing sections. (if you think a new section is needed, please explain why your item does not fit into an existing one and what would be the interest of your new section.
[x] Add your new item to the bottom of the list in a section.
[x] If a duplicate item exists, discuss why the new item should replace it.
[x] Check your spelling & grammar.
[x] The item must follow this format:- [item name](https link) - Description beginning with capital, ending in period.

[x] Be sure to have read the contributing guidelines.

I think that the cheat sheet does not fit in any of the existing sections. I think it's a very nice help for people getting to know Polars

:heart_eyes: This cheat sheet looks amazing ! Thanks @marcosdetry !


Time Study tree import modal is broken

The modal says no Time Studies will be purchased, regardless of the inputted tree and Time Theorem amount.

huh, never thought this will break
let me have a look

it decides whether it is empty by if there is a cost, but as this mod states there is no cost. lol


Update Bower with latest commit?

First of all, thank you for updating to 0.12!
New to Bower here, but do you need to update the bower repository with the latest commit(6bbda  i.e. Merge pull request #90 from adamczykm/bower-deps-fix).
Otherwise, following the README and doing just a bower install purescript-express does not work for me. To build successfully, I had to manually do
bower install purescript-aff
bower install purescript-test-unit

basically, the commit by adamczykm

There needs to be a new release; so a new tag.

bower removed


[SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

What changes were proposed in this pull request?

Added the description of ALTER DATABASE SET LOCATION command in sql-ref-syntax-ddl-alter-database.md
Why are the changes needed?

This command can be used but not documented anywhere.
Does this PR introduce any user-facing change?

Yes, docs changes.
How was this patch tested?

SKIP_API=1 bundle exec jekyll build

Test build #145647 has started for PR 34718 at commit a5a23a1.

Test build #145647 has finished for PR 34718 at commit a5a23a1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145647/

cc: @imback82

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50118/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50118/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50118/

cc @cloud-fan

Test build #145786 has started for PR 34718 at commit 6bf5660.

Test build #145786 has finished for PR 34718 at commit 6bf5660.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145786/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50259/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50259/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50259/

Test build #145811 has started for PR 34718 at commit 7cd9956.

Test build #145811 has finished for PR 34718 at commit 7cd9956.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145811/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50285/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50285/

thanks, merging to master!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50285/


Gem fails to bundle, unitilized constant in .gemspec

Current Behavior
latest version of fuubar throws an uninitialized constant error when either running bundle install within the gem directory or when included in a gemfile.
[!] There was an error parsing `Gemfile`:
[!] There was an error while loading `fuubar.gemspec`: uninitialized constant Fuubar. Bundler cannot continue.

 #  from /Users/james.buckley/dev/test/fuubar/fuubar.gemspec:25
 #  -------------------------------------------
 #      'changelog_uri'     => 'https://github.com/thekompanee/fuubar/blob/master/CHANGELOG.md',
 >      'documentation_uri' => "https://github.com/thekompanee/fuubar/tree/releases/v#{Fuubar::VERSION}",
 #      'homepage_uri'      => 'https://github.com/thekompanee/fuubar',
 #  -------------------------------------------
. Bundler cannot continue.

 #  from /Users/james.buckley/dev/test/fuubar/Gemfile:10
 #  -------------------------------------------
 #  # Specify your gem's dependencies in fuubar.gemspec
 >  gemspec
 #  -------------------------------------------

If I remove the call to Fuubar::Version I get another error;
The gemspec at /Users/james.buckley/dev/test/fuubar/fuubar.gemspec is not valid. Please fix this gemspec.
The validation error was 'metadata values must be a String'

Which appears to come from this line: fuubar.gemspec:22:
'allowed_push_host' => nil,

Steps to Reproduce

check out gem
run bundle install from within that directory

OR

add gem to your gemfile
run bundle install for your project

Expected Behavior
I'd expect that the gem would build correctly.
Environment

Device: Macbook Pro

Bundler: tried with Bundler version 1.16.2, and 1.17.2

OS:

[ ] Windows
[X] macOS
[ ] iOS
[ ] Android
[ ] Linux
[ ] Other

OS Version: 10.14.5

@donquxiote I find it odd that you're getting this error and no one else is.

that's fair! I'll try it on a separate machine later this week, it could be an environmental thing. I wanted to document it as I found it though. I'm guessing you have metrics showing folks are using the latest version? I had imagined a possibility (incredibly slim though,) that the last version was locked in by Gemfile.lock files so no one got the update

@donquxiote I'm super curious where that's even coming from because that isn't even remotely what the current gemspec looks like.
https://github.com/thekompanee/fuubar/blob/master/fuubar.gemspec

@donquxiote releasing a new version now and yanking 2.4.0.  Just in case anyone else is running into this.  Better safe than sorry.  I'll reopen if 2.4.1 doesn't fix it for ya.

Sorry about the unnecessary issue. It looks like when I was trying to merge in the latest to my fork I overwrote or lost some changes on the gemspec file. That's how I got those weird lines that didn't exist in the master branch. My mistake was assuming that my merge had gone cleanly and the master branches were the same between forks without checking. Thanks for the quick replies though!

@donquxiote ugh.    I yanked the 2.4.0 version of the gem and made a lot of people very unhappy.  I won't be doing that again in the future.  :/


Calendar Css Broken

Is there any suggestion, why the css is broken
This is has been used in following way

            <%= f.label :validTill, :class => 'form-label' %>

              <%= text_field :validTill, nil, class: 'form-control', data: { date_format: 'YYYY/MM/DD' }%>

            <%= @job_detail.errors[:validTill].join(", ") %>

What about looking at the z-index of your div, the one with "For Candidates"?

I have not set any z-index to any of the div element and apparently I am getting this issue on every where I am trying to use datepicker.

Hey Sorry for disturbing you. The error was in the css of bootstrap datepicker css from
https://github.com/Eonasdan/bootstrap-datetimepicker/
.bootstrap-datetimepicker-widget.dropdown-menu {
margin: 2px 0;
padding: 4px;
width: 19em;
}
19em is too small and the other width was 39 em. So as i increase the width from 19 to 25. This got fixed,
Thanks a million for this gem. It is really a nice one.


Add title version to CIA information.

Reads the "Ticket title version" field 10 bytes after the title ID. I'm not very familiar with your codebase, so if I missed a few necessary code additions, let me know.

@Steveice10 Last time I poked through here, that field was less reliable than scraping a version out of the filename or url. Have things improved since then? Locating and paring the TMD itself seemed to be the only realistic way to get a version that worked for most of the .cia files around.
I'll give it a try anyway though.

According to 3dbrew, it generally matches the TMD value. At the very least, anything made with makerom should have the correct value, as it assigns the same to both.

Any updates on the status of this PR?

@ksanislo Have you gotten around to trying this out?

@ksanislo Any updates on this PR ?


Support for 1.2.x Opensearch versions

Grafana version: 8.3.3
DS version:1.1.2
Opensearch version: 1.2.0
There are new versions of Opensearch available:
https://opensearch.org/docs/latest/version-history/
The currently latest version of this plugin supports 1.0.x however there are already 1.2.x and 1.3.x versions. We need to integrate a 1.2.0 instance. The support for this enhancement / update would be really appreciated.
Thanks
Currently supported versions:

1.0 is almost 1 year old, I also have issue because of this.

This is indeed an important lack of possibilities.

Would also like to see this. Graylog 4.3 now supports OpenSearch 1.1, 1.2, and 1.3, but Grafana only supports 1.0. Because of this, I'm sticking to Grafana 8.5.6.

Yeah... would be nice to get latest OpenSearch versions supported.
Any chance for it?

We need to decide the next steps for this one @grafana/observability-logs

Do we know that the existing version of the plugin is wholly incompatible with versions greater than 1.0.x? Is there a breaking change to the API?

Graylog 5.0 is in beta and is adding support for OpenSearch up to 2.3. It would be nice to have support for newer OpenSearch versions.
https://www.graylog.org/post/announcing-graylog-5-0-beta-1/
Also, do the versions of this datasource (e.g., v1 vs v2) track versions of OpenSearch?
https://github.com/grafana/opensearch-datasource/releases

Status on this?

the current situation is not ideal, but as long as you choose the "opensearch 1.0.x" option, you can just use it with any opensearch version. the plugin does not validate the real version of the opensearch database.
we will improve this functionality in the future, but for now this can be used as a workaround.

notes: we currently see the following possible approaches:

change opensearch 1.0.x to opensearch 1.x and add the opensearch 2.x  (and also always add one for all supported opensearch major versions)
change opensearch 1.0.x to opensearch, and use some form of version-detection when it becomes necessary to differentiate (for example, if the next major version of opensearch is not compatible with the previous versions)

Was using:

grafana/grafana-oss:8.5.20 Docker image
OpenSearch Grafana plugin 1.2.4
OpenSearch 1.3.8

Upgraded Grafana, which also upgraded the OpenSearch plugin. I had to change all of my visualizations because I was changing from the ElasticSearch datasource to OpenSearch.

grafana/grafana-oss:9.3.2 Docker image
OpenSearch Grafana plugin 2.0.5
OpenSearch 1.3.8 (this did not change)

Then, upgraded OpenSearch to 2.5.0. All of my visualizations still worked.

grafana/grafana-oss:9.3.2 Docker image (this did not change)
OpenSearch Grafana plugin 2.0.5 (this did not change)
OpenSearch 2.5.0

@gabor - I think you should go with option 2 and change opensearch 1.0.x to opensearch. The current wording is misleading, everyone in this thread thought that the OpenSearch datasource plugin didn't work with anything other than 1.0.x.

Addressed this in https://github.com/grafana/opensearch-datasource/pull/153


Provide bc_route_next to discard current route.

This can be used for implementing catch-all (/Variable) routes with conditional handling.

This is now built into arouter 1.1.1. Will mention in routing guide.


Unnecessary logprob computation in actor.forward

Hi dev, thanks for your great work. After reading the codes carefully, I think there are some unecessary computation in https://github.com/OpenRLHF/OpenRLHF/blob/main/openrlhf/models/actor.py function forward.
In specific, the log_probs is computed over all tokens, but only that of the response tokens are used when self.packing_samples are not set.
log_probs = log_probs_from_logits(output["logits"][:, :-1, :], sequences[:, 1:])

if not self.packing_samples:
    action_log_probs = log_probs[:, -num_actions:]
else:
    ...
if return_output:
    return (action_log_probs, output)
else:
    return action_log_probs

I think this is equivalent to picking the used indices before computing log_softmax:
action_log_probs = log_probs_from_logits(output["logits"][:, -num_actions - 1:-1, :], sequences[:, -num_actions:])

By doing so, some flops and cuda memory may be saved, especially when the portion of prompt tokens are large.

correction:
action_log_probs = log_probs_from_logits(output["logits"][:, :-1, :][:, -num_actions:], sequences[:, 1:][:, -num_actions:])

or
action_log_probs = log_probs_from_logits(output["logits"][:, -num_actions - 1:-1, :], sequences[:, -num_actions:])

Hi, is there any update on this issue?


save() for GoogleSpreadsheetCell.js does not work

Following error when calling save() for GoogleSpreadsheetCell.
I think there is typo in that line (it should be saveCells, not updateCells)
TypeError: this._sheet.updateCells is not a function
at GoogleSpreadsheetCell.save (/app/node_modules/google-spreadsheet/lib/GoogleSpreadsheetCell.js:173:23)

fixed, deploying shortly. Thanks!


iOS Binary framework is missing bitcode

iOS

When I use library with CocoaPods its connecting just binary framework which I can not archive instead of whole app

How can I archive app with this binary ?

Hey @Swiftocrat thanks for the report. Can you give me a little more detail about what you're trying to do? It sounds like you have an app that includes the TangramMap framework via CocoaPods and you're getting this failure when you try to use Xcode's Archive process - is that correct?

Yes, that's correct

Ok, I can reproduce the issue you've described on my own machine. The framework should include bitcode. The enable bitcode option is on in the build configuration and I can verify that the -fembed-bitcode flag is used in both the compile and linking commands. I'll keep investigating.

Can I found somewhere non-bitcode version of this lib ? Because I even don't see Tangram as target in Pods project and I can do nothing with its settings.

You can check out the project repository and build the framework yourself using the instructions here: https://github.com/tangrams/tangram-es/tree/master/platforms/ios
It's not quite as simple as using it from cocoapods but I think we've made it pretty easy to run builds yourself.

tl;dr: Missing bitcode is an actual problem and I know how to fix it now
I've finally seen this problem for myself in our Swift sample app for Tangram ES https://github.com/tangrams/tangram-swift-sample. Trying to archive that app produces the same error about being "built without full bitcode". It took a while to figure out what was going on, but I've determined now that our release builds are indeed missing full bitcode support.
The thing that made this tricky to diagnose is that there isn't a great way to check whether a framework has bitcode or not. The best/only way I've seen is to check whether the library contains segments named __LLVM:
otool -l build/ios/Release-iphoneos/TangramMap.framework/TangramMap | grep __LLVM

I built framework binaries for iphoneos and iphonesimulator targets and saw that both of those had __LLVM segments. Then I checked our cocoapods universal binary and saw the output was empty! We use the lipo tool to create the universal binaries, maybe that's the issue? Well no, turns out I just needed to give otool a specific arch to inspect.
otool -l -arch arm64 build/ios/Release-universal/TangramMap.framework/TangramMap | grep __LLVM

Now I could see that the universal binary had __LLVM segments too. But it was clearly not satisfying Xcode! I checked a bit around the segment markers in the binary:
Section
  sectname __bundle
   segname __LLVM
      addr 0x00328000
      size 0x00000001
    offset 3194880
     align 2^0 (1)

The segment size is .. definitely too small. The bitcode isn't actually there, it's just a placeholder of some kind. Frustrating! But now I know that we need to change some build settings and I know what change to look for.
After reading around on similar projects it sounds like BITCODE_GENERATION_MODE=bitcode is the Xcode variable that we're missing. I ran a new universal build with that assignment appended to the xcodebuild command and checked the binary again:
Section
  sectname __bundle
   segname __LLVM
      addr 0x0032c000
      size 0x00e839bc
    offset 3211264
     align 2^0 (1)

Much more reasonable size! I was then able to drop the new framework into the Swift sample app and run an Xcode Archive - now it's working!
So to fix this for downstream consumers I need to figure out the best place to inject this property into our iOS builds and then make a release so that the Cocoapods binary gets updated.

I have a déjà vu  reading this, wasn't that type of issue fixed by https://github.com/tangrams/tangram-es/pull/1217/commits/bff940fe70c425630c5293d28be607a41be2af88 for https://github.com/tangrams/tangram-es/issues/1147. This commit might need to be partially reintroduced.

Yeah, I thought this sounded kinda familiar too! Looks like we had a working bitcode configuration at some point, then it must have regressed and we never noticed because we don't check for bitcode regularly. We can re-introduce this variable like in that commit and I'd also like to add some automated check so that we don't regress on this again.


Create a test that checks that a substate that was previously DOWNed cannot be used as an input

Closed in #798


Catch "closed network" error with errors.Is

Replaces checking error body with errors.Is to handle the case when connection is closed.
Fixes a small typo in docs.

You'll need to show how you tested this and raise an issue to link to us Pr demonstrating the bug that you're fixing. Thanks


Issues with the list of contributors for a library

This was reported on the ML, but here's the problem report.
https://www.boost.io/library/1.87.0/filesystem/
The "This Release" tile contains people who didn't contribute to the 1.87.0 release, namely Beman Dawes. I think, this tile should only list people who actually contributed to the library release.
In the "All Time", library authors are titled as "Contributor". I think, they should be titled as "Author" (and listed first), as in "This Release".
Furthermore, I think the "This Release" tile should be moved to just above the "All Time" tile to group all contributor info together and bring library description higher. Library description is more important to users, and IMO should be provided first. Also, it would make sense to rename "This Release" -> "Contributors To This Release" and "All Time" -> "All Time Contributors".

This issue has been added to #1274 for consideration as part of the library detail page redesign.

Re. type Feature, I consider the fact that "This Release" contains people who didn't contribute as a bug.


"Server: block does not exist kbfs" on specific folder for all devices

I am getting this error on all of my devices and when I enable sync, kb sync is always loading/downloading stuff (never ends) and it hogs RAM. It's been a couple of months now, I've done several restarts, even formats (not to solve the issue, just regular usage).
The problem arose when I first cancelled uploading stuff cause it was too many (I removed the folder from fuse). My completely blind guess would be a majestic race condition.
my log id: c82491f4f31011e9c559621c

Hi @dzervas sorry for the bad experience.  If this has been happening for months, it's probably a result of a long-ago bug that's been fixed, probably a race condition as you guessed, triggered when you did that folder removal.  And yeah, this kind of bug would indeed keep the sync from finishing.
It looks like you can find the problematic folder with this command:
keybase fs debug deobfuscate /keybase/private/dzervas/idle-poverty/idle-poverty

Take a look at that directory, and see if it's important or if there's anything in there you'd like to restore.  If not, you might be able to just rmdir the directory to force it to be removed.  Let me know how that goes.

When I try to run the command I get ▶ ERROR Only remote paths are supported for this operation. I tried the command on the real path as well (I don't know if idle-poverty is some kind of magic path) and I got the same response.

@dzervas sorry for not being clear.  The idle-poverty/idle-poverty path is an "obfuscated" path that appears in your log files that were sent to us -- for privacy reasons, we don't know the actual names within your KBFS folders.  So the deobfuscate command (which must be run using the /keybase/ path prefix as you discovered) was intended to get the real path name for you, in case you didn't know it.
If you already know it, maybe that's not necessary.  Maybe the parent directory (just idle-poverty) is the problematic one?
Note I said to use rmdir, not rm.  It's an important distinction.

$ keybase fs debug deobfuscate /keybase/private/dzervas/idle-poverty/idle-poverty
▶ ERROR Found no matching paths
``` :cry:

In any case, that is not the folder. I ran `keybase fs debug obfuscate <actual problematic path>` and I got a different result. Can you check again?

@strib do we have any news on this issue?


NOT ABLE TO RUN APP.PY

model = pickle.load(open('model.pkl', 'rb'))
ModuleNotFoundError: No module named 'sklearn.svm.classes'

what is the python version you are using

just import sklearn library or use anaconda environment so you don't get any error

This error usually occurs when there is a mismatch between the versions of scikit-learn ( sklearn ) used during training and the version installed in your current environment.
Here are a few steps you can take to resolve this problem:
Check scikit-learn version : Ensure that you have scikit-learn installed and that it is up to date. You can use the following command to upgrade scikit-learn:
pip install --upgrade scikit-learn

Check pickle file compatibility: Verify that the 'model.pkl' file was created using a compatible version of scikit-learn. If the file was created with an older version, there might be compatibility issues. In this case, you may need to retrain the model using the current scikit-learn version and save it again.
Import the necessary modules explicitly: Instead of relying on the automatic import through the pickle file, you can explicitly import the required modules in your 'app.py' file. Add the following import statement before loading the pickled model:
from sklearn import svm

model = pickle.load(open('model.pkl', 'rb'), encoding='latin1')

i aam unable to run.please help


Possible to display/edit explicit many-to-many relations in Admin?

I have a few explicit many-to-many relationships in my application, so that I can eventually store details about the relationship. Currently this doesn't seem supported in "Admin" is that correct?

0 results are shown when viewing /admin/models/JobsOnSections

# simplified schema.prisma

model Dashboard {
    id        Int                    @id @default(autoincrement())
    name      String                 @unique
    sections  SectionsOnDashboards[]
}

model SectionsOnDashboards {
    dashboard   Dashboard @relation(fields: [dashboardId], references: [id])
    dashboardId Int
    section     Section   @relation(fields: [sectionId], references: [id])
    sectionId   Int
    order       Int?
    alias       String?
    @@id([sectionId, dashboardId])
}

model Section {
    id        Int      @id @default(autoincrement())
    name      String   @unique
    published Boolean  @default(false)
    dashboards SectionsOnDashboards[]
    jobs       JobsOnSections[]
}

Image 1) Dashboard => Sections => Section exists

Image 2) 0 rows displayed in Admin

Could it be that the singular/plural form of Section/s can't be used on the same model?
Thanks.

Sorry @willwillis, until now any model did not have @id  in one field will be excluded from admin generated schema

will support many-to-many but this table will just have read and add you can't update or delete

with the new release v2.0.1, you can now list many-to-many relation table


Add problem difficulty level to the problems (Crowd-source or add a classfier)

In the case of codechef, difficulty can be directly added for the practice problems page
For contest submissions, we can search for the problem code in practice section pages.

Hey @aakash2007 ,
Adding difficulty by going to the problem page is something that is not desired for StopStalk. We have the submissions for each problem of users and the accuracy of those submissions is pretty decent measure of assigning difficulty level to the problem. (Undesirable because of extra and unnecessary network requests).


Feature Request : Containment Zone information across India and State wise

Do you have a datasource for this?

I did not realize there were different projects for UI and Datasource.
Source: https://www.news18.com/news/india/standalone-shops-including-those-selling-liquor-to-be-allowed-in-orange-green-zones-sources-2601535.html
Attached TXT is district-wise zones in CSV format : 20200501-india-covid-zones.txt

http://api.covid19india.org/zones.json

What is the frequency of updates for the Zones data?


mermaid in nextra

Can I use mermaid with nextra?
Something like in docusaurus?

Will be available soon

In the meantime, would there be any workaround to be able to use it?

Any Mermaid lib for React or MDX can be used in Nextra.

You could also just use a remark plugin such as this one: https://github.com/temando/remark-mermaid
I did the same for plantUML: https://github.com/akebifiky/remark-simple-plantuml
And then just add it in the next config: https://github.com/LuciferUchiha/nextra-garden/blob/main/next.config.mjs#L14

Any updates? It would be nice to have a working mermaid out of the box. I was not able to configure it with any available remark plugins. Except for https://github.com/remcohaszing/remark-mermaidjs but I don´t like Puppeteer dependency :(

You can create one on https://mermaid.live/ and export it with an svg uri. then embed it in image markdown.

@Songkeys that is a good solution for some cases but for many people it won't work because we are hoping to have the source code of the diagram to be the source of the truth and have the rendering be a function of that source code. That way the two are always in sync. When relying on a manual copy-pasting process either the original source code is lost (if you just paste in the SVG) or you paste both into the document but then there is a risk of the two going out of sync if you ever forget the manual step. An ideal solution would be for Nextra to render Mermaid automatically.

@TomasHubelbauer

When relying on manual copy-pasting, there is a risk of losing the original source code (if you just paste in the SVG).

Fortunately, https://mermaid.live has an action section that allows you to copy and paste the markdown URL for SVG or PNG. For example, the SVG markdown looks like this:
[![](https://mermaid.ink/img/pako:eNpVjstqw0AMRX9FaNVC_ANeFBq7zSbQQrPzZCFsOTMk80CWCcH2v3ccb1qtxD3nCk3Yxo6xxP4W760lUTjVJkCe96ay4gb1NJyhKN7mAyv4GPgxw_7lEGGwMSUXLq-bv18lqKbjqjGodeG6bKh69r8Cz1A3R0oa0_kvOd3jDB-N-7b5_H9ihXPrs-mp7KloSaAieSq4Q8_iyXX5_WlNDKplzwbLvHYkV4MmLNmjUePPI7RYqoy8wzF1pFw7ugj5LVx-AfLqVWg?type=png)](https://mermaid.live/edit#pako:eNpVjstqw0AMRX9FaNVC_ANeFBq7zSbQQrPzZCFsOTMk80CWCcH2v3ccb1qtxD3nCk3Yxo6xxP4W760lUTjVJkCe96ay4gb1NJyhKN7mAyv4GPgxw_7lEGGwMSUXLq-bv18lqKbjqjGodeG6bKh69r8Cz1A3R0oa0_kvOd3jDB-N-7b5_H9ihXPrs-mp7KloSaAieSq4Q8_iyXX5_WlNDKplzwbLvHYkV4MmLNmjUePPI7RYqoy8wzF1pFw7ugj5LVx-AfLqVWg)
The image also has an edit link attached, so you can click it and make changes if needed. After editing, you can copy and paste the markdown again.
If you lose the https://mermaid.live edit link, don't worry - you can simply change mermaid.ink/img/ to mermaid.live/edit to edit it.
I'm providing this solution because I know how difficult it can be to find a library and struggle to integrate it when the framework doesn't support something natively. Additionally, you risk migrating the document to other frameworks and losing the rendering again. So, this "external support" solution is the best option for me. It makes my life easier.
However, it's important to keep in mind that the website could potentially go down someday. To avoid the risk of losing your work, you might consider self-hosting the solution (it's open-source), or, yes, finding a library to render it.

I strongly believe this should be a built-in feature of Nextra seeing how vastly supported Mermaid is (e.g. GitHub supports it natively in Markdown), but in the meanwhile before this hopefully ships out of the box, check out @mariansimecek's package here:
https://github.com/mariansimecek/remark-mermaid-nextra
I've tested it and it works great.