broken link in source

Description
The link on the following page results in a 404
https://github.com/scicloj/scicloj.github.io/blob/master/content/en/pages/libraries.md

Many thanks, @lowecg! Pushed a fix.


Memory optimization

Reduces calls to clone and some other superfluous function calls or allocations.

Also, @encody change the base branch to the release/0.3.0 branch. Will merge it in there once change is made.


Us 1 horse

Awesome work James!

/paulo - can you please review this pull request?

/paulo - can you check now?


Whispering not working on Paymo app field

Here is the video with the problem https://vimeo.com/971408619/6434ecf20a?share=copy
https://app.paymoapp.com/
Windows 11, Latest chrome browser
Regards,
Guntis

Disabled extension for the bing website and all other websites except ChatGPT and Anthropic in #124 .
Extension is waiting for approval as we speak! Hope this helps and paymo app works soon after. In the meantime, feel free to disable the extension 🙏


How to do that with multi-processing

Hii
I try to understand how to do it parallel,
do you have any idea?

The trilateration itself is done by the Levenberg–Marquardt algorithm, which is a standard implementation. So calculating the result for a single problem in parallel is not simple and would lead you to implementing a new algorithm. Hence this is way out of scope.
You could of course just run the trilateration with multiple positions in parallel. E. g. using different threads or parllel streams..


Svelte Adapter

It would be really cool to see a Svelte adapter for this project. I have a few questions I'm unclear about that would need to be solved:

Packaging
Testing (Testing Library?)
Reactivity interop

Gabriel

Spoke with @GabrielModog in DMs - he's gonna try to tackle this work!

I guess is done. But I will add the tests yet.

I can't find a way to Svelte comunicate with the store when the state change.
I try a few things like derived state from svelte, but didn't work.

Gotcha. Reopening the issue for someone else to potentially help :)

Hey there,
is there still help needed for this issue?
I was looking into porting @tanstack/forms to Svelte and one of the first things I did was write the store adapter.
I got a working fork including tests and such (even tho I'm not 100% confident with the setup of the package).

@david-roeger yes! We'd love this! I've been hoping for a Svelte adapter to our Forms package 😄😄
Send a PR and let me know how I can help - even happy to set up a call if you'd like 😊

Hi @crutchcorn I opened the PR here. If you could have a look at the setup of the package that would be great.
Regarding the forms adapter. There are quite some footguns I'd be happy to talk ^^

Oh @david-roeger! I'm super sorry - I missed this!
Let's chat about what those footguns look like in our Discord](https://tlinz.com/discord) - there was another contributor that was potentially interested in making a Svelte adapter


[WFLY-5031] Upgrade wildfly-arquillian from 1.0.0.Final to 1.0.1.Final

Windows Build 2274 is now running using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce

Linux Build 7219 is now running using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce

Linux with security manager Build 2090 is now running using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce

Linux with security manager Build 2090 outcome was SUCCESS using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce
Summary: Tests passed: 879, ignored: 281 Build time: 0:06:29

Linux Build 7219 outcome was FAILURE using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce
Summary: Tests failed: 1 (1 new), passed: 2957, ignored: 354 Build time: 0:45:22
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.cdi.CdiFailoverTestCase(SYNC-tcp).testGracefulUndeployFailover: <no details avaliable>

Windows Build 2274 outcome was SUCCESS using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce
Summary: Tests passed: 2956, ignored: 355, muted: 1 Build time: 0:48:24

Linux Build 7222 is now running using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce

Linux Build 7222 outcome was SUCCESS using a merge of 3d2fb91edecabafa50c18936c91132e7476b54ce
Summary: Tests passed: 2958, ignored: 354 Build time: 0:44:44


TimePicker doesn't set value when clicking 'Ok' button when nzDefaultOpenValue is set

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-2acsc6
Steps to reproduce

Open the timepicker
Click the 'Ok' button without selecting another time

What is expected?
Since the defaultOpenValue looks selected in the timepicker, I would expect that value to be filled in on clicking 'Ok'. It is also not possible to select this time since clicking on the already selected date won't do anything.
What is actually happening?
The timepicker closes without setting a value

Environment
Info

ng-zorro-antd
10.1.2

Browser
Chrome

If this is by design, you should at least make it so you can just click the defaultOpenValue to set the field.

This got fixed by https://github.com/NG-ZORRO/ng-zorro-antd/pull/6941
I linked it but it looks like it didn't close automatically


Problem updating tables with binary data containing brackets.

ISSUES will not receive priority that do not follow this template or cannot be easily reproduced or diagnosed
Describe the bug
I am using the update command to set some Binary data to a field, and depending on the content, the update may fail. After debugging, it turned out that my binary data contained the { and } characters, and would trigger this regex value.toString().match(/\${.*?}|@{.*?}|{.*?}/)
To Reproduce
Steps to reproduce the behavior:
    const schema = {
      format: "onetable:1.1.0",
      version: "0.0.1",
      indexes: {
        primary: { hash: "pk", sort: "sk" },
      },
      models: {
        Test: {
          pk: { type: String, value: "test:" },
          sk: { type: String, value: "test:" },
          binaryData: { type: "binary" },
        },
      },
    };
    const table = new Table({
      client,
      name: "test",
      schema,
    });
    const Test = table.getModel("Test");
    Test.update({}, { set: { binaryData: Buffer.from(`‰PNG   IHDR  {}`) } });

UnhandledPromiseRejectionWarning: OneTableError: OneTable execute failed "update" for "Test. Invalid UpdateExpression: Syntax error; token: "‰", near: "= ‰PNG"

Expected behavior
The binary data should be send to DynamoDB.
Environment (please complete the following information):

OS - Windows
Node Version - 14.18.3
OneTable Version - 2.3.1

Sample fix
A simple fix would be to check for Buffers, or to change the regex.
if (!Buffer.isBuffer(value) && value.toString().match(/\${.*?}|@{.*?}|{.*?}/)) {

Here is a patch to correct. Can you please test if this fixes the issue for you?
diff --git a/src/Expression.js b/src/Expression.js
index bc35790..2e6437b 100644
--- a/src/Expression.js
+++ b/src/Expression.js
@@ -386,8 +386,7 @@ export class Expression {
                 }
                 this.already[key] = true
                 let target = this.makeTarget(fields, key)
-                //  If value is number of simple string then don't expand
-                if (value.toString().match(/\${.*?}|@{.*?}|{.*?}/)) {
+                if (typeof value == 'string' && value.match(/\${.*?}|@{.*?}|{.*?}/)) {
                     updates.set.push(`${target} = ${this.expand(value)}`)
                 } else {
                     updates.set.push(`${target} = :_${this.addValue(value)}`)

Thank you so much for the quick reply!
I just tested your patch, and it works perfectly. I like the typeof more than the isBuffer check.

That is now committed and will be released in 2.3.2 next week.


indoor Diffraction points not seen in Gv

in DLR2.ini the diffraction points are not correctly caught which leads to non correct Gi graph and crash in signatures

This was due to the non-convexity of cycles. fix 06a952f4911f5ae0eea619fd34b4c03fd10f5cd8


spinel: external headers should not be included by core spinel protocol

Embedded platforms may not have access to this header or the in6_addr structure included by spinel.h:
[spinel.h]
 #include <arpa/inet.h>
// ...
typedef struct in6_addr spinel_ipv6addr_t;

Perhaps moving over to using openthread-types.h would be more appropriate?
#include <openthread-types.h>
// ...
typedef otIp6Address spinel_ipv6addr_t;

Here is a somewhat related issue where ncp_base.cpp assumes being built by autotools, thus making the NCP code not portable across toolchains:
[ncp_base.cpp]
#include <openthread-config.h>
// ...
// line 908
        PACKAGE_NAME "/" PACKAGE_VERSION "; " __DATE__ " " __TIME__

Good catch. Will fix.

Will likely try to avoid using OpenThread types, so that the file can be used in other projects easily without depending on the rest of OpenThread.

Fixed in #133.


Intercept a normal domain name as a check for OnioNS

Currently the suggested approach to check for OnioNS functionality is to visit "example.tor" and confirm that a hidden service loads. However, if OnioNS is not running, that lookup will go through a Tor exit and will fail on the normal Internet DNS. Worse, this could leak the HS they were attempting to visit, similar to the .onion leaks reported in that paper. To counter this, an existing site, such as example.org or check.torproject.org, should be captured and rewritten to something that indicates that OnioNS is running. This way, when OnioNS is not running, we won't leak lookup failures all over the Internet DNS.

This interception doesn't work because the Stem script only intercepts .tor domain names. This needs to be fixed by changing the Stem script.

I can't rewrite check.torproject.org because HSTS is used. The client code seems stable enough, I think I can fall back to the old approach of checking example.tor


fix(gcc): locate source by goog.module

Source files were only being located by goog.provide statements. This also locates goog.module statements, which fixes source not being found in projects that are fully converted to modules.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Billing report needs a spinner/loader when pulling data from the server

Hey - for sure! Let me know if you need any help getting the environment up and running. I am working on the docs now

Here is an example of running the API server: https://github.com/akello-io/akello/tree/main/examples/foo-api. Unfortunately I don't have a. way to run aws cognito locally just yet, I will create a ticket for it.

Hi Vijay, I was trying to setup the env yesterday, was able to do it for client but the server was throwing some error. Let me check your example and get back to you if any help is needed.
Thanks

Sounds good @iDK-pseudo, I will keep this ticket assigned to you as you investigate it. Please let me know if you have any issues. If you don't have AWS I might need to figure out a way to get the AWS Cognito Auth working locally

I added an initial working version of a mock server to run the react apps. You can follow the instructions here to get started. I hope that works and gets you up and running!

Hi Vijay, tried setting up the mockserver as mentioned but I am getting CORS error in the network calls for the URL
I made one mockserver.properties file and that seems to be have resolved CORS error but now I am getting 404 not found on the same URL. Can you let me know what could be the reason ? Is the mockserver working fine for you ?

@iDK-pseudo sorry for the delay. We have a new way of setting up the local environment with AWS Cognito mocked along with AWS DynamoDB in a docker container. Let me know if you would still like to work on this


Link to the discord expired

I'd like to help and chat, but I can't because the link to the discord in the README is expired.

https://discord.gg/wkFKZXcf should work!


how should i build a web interface?

Is there anyway to provide a history of prompts (like chat-gpt4) and tell the llm-cli to return json?

Your best bet is to build your own server based around llm; llm-cli is basically just a demo application for llm.
You can see how this might be done in the now-closed PR #37.

it looks like that PR was closed and llm-http isn't actually a thing yet. I'm not good with rust, but I'm good with node. I can call out to llm-cli but was just curious if there's another way.
Do you know how I could track a history of prompts with llm-cli?

Have you tried using https://github.com/Atome-FE/llama-node? I think it has bindings to this library

This is a nodejs library for inferencing llama, rwkv or llama derived models. It was built on top of llama-rs, llama.cpp and rwkv.cpp. It uses napi-rs for channel messages between node.js and llama thread.

(this repo used to be called llama-rs until recently)

@ralyodio I'm going to close this Issue, but please feel free to reopen it or open a new one if you have more questions.


Custom keymaps being overwritten on setup

I'm having trouble setting up Rust-tools with LunarVim as it is changing some of my keymaps.
For instance, by default LunarVim sets up K (shift + k) to call vim.lsp.buf.hover(). After configuring rust-tools, K is calling man for the token under the cursor.
Obviously, this generates errors if I press K on a function name, for example:

Is there any way to make sure rust-tools does not configure any keymappings without explicit configuration on my part?

I have the same question

Same here - is there any workaround?


Update fabric-sdk-java to 2.2.6

Updates org.hyperledger.fabric-sdk-java:fabric-sdk-java from 2.2.5 to 2.2.6.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.hyperledger.fabric-sdk-java", artifactId = "fabric-sdk-java" } ]

labels: library-update, semver-patch

Superseded by #202.


[HANDS-ON BUG] Deep-Reinforcement-Learning-Leaderboard Runtime Error.

Hello! First of all, thanks for your amazing work. I found a bug: https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard returns runtime error.

Since this is running now, I' close the issue, thank you


Use Central Owl

Coverage decreased (-0.8%) to 69.307% when pulling 8ebd204557b436dafa0561774bec9345270f0e6b on use-central-owl into d9fff943f7c483fd0e749d8ec527aba3871a61b2 on main.


Preserve comments from .prisma in generated typescript code

It would be great to preserve comments made on .prisma models and model fields in generated Typescript code.
For example, if you have this in schema.prisma:
/// Comment of Account
model Account {
  /// Comment of ID field
  id   BigInt   @id @default(autoincrement())
}

As of now you get this in generated typescript:
/**
 * Model Account
 */
export type Account = {
  id: bigint
}

Instead I would like to see:
/**
 * Model Account
 *
 * Comment of Account
 */
export type Account = {
  /**
   * Comment of ID field
   */
  id: bigint
}

Hi,
Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of https://github.com/prisma/prisma/issues/5113


[Deps]: upgrade gulp and related packages to latest

Hey team! Please add your planning poker estimate with ZenHub @ariellalgilmore @emyarod @IgnacioBecerra @jeffchew


Add documentation on result quality and confidence scores

At the request of many users, this PR adds some information on confidence scores and other properties to help determine result quality.
A little bit of cleanup, especially in the organization of the table of contents, was done along the way.
Fixes https://github.com/pelias/documentation/issues/220

@orangejulius also wondering about the sentence that starts:
"For forward geocoding and autocomplete, it's based on several factors such as as whether the result type was as expected ... "
is this the same as saying:
"For forward geocoding and autocomplete, it's based on several factors including the match_type ..."?
(If not, what does it mean for the result type to be expected?)
Also wondering if it might be possible to add a table for forward geocoding and autocomplete to show progression of confidence scores, similar to what you have for reverse (realize this might be more challenging since there are multiple factors involved).

@ashleyholt yup, it's the same. I like your version better :)
A table would be harder for forward and autocomplete unfortunately.

@ashleyholt I reorganized the list of criteria to at least be a bulleted list, to better reflect that all of those considerations are weighted more or less equally. Let me know if that helps clear things up.


Add automatic choosing of sender's PGP key

Based on email/alias/folder. For accounts with many PGP keys. Please.

Folder? That seems like a very weird reason to want to pick a different key. Nor is it clear what folder we'd be basing it on.
Can you explain why #942 is not sufficient for your use case and justify why there is sufficient demand for it?

This is already being worked on, as part of #942. The granularity will be a key per sender address.

Folder? That seems like a very weird reason to want to pick a different key. Nor is it clear what folder we'd be basing it on.
In most cases email/alias autochoosing will be enough, this is just for completeness, i.e. Work1 forlder and Work2 folder, with automatic per-folder email address choosing first which allows automatic per-email choosing of PGP key next.
Sorry I miss #942
I agree that permanent (maybe per-folder) remembering always encrypt and only sign will be nice too.

It is bothering operation, and user always need to remember which key it must choose. Mistake probability here is high.

Wait, you mean it’s easier to remember in which folder to go than which identity to use? (After #942, identity=key)

Yes, I have several jobs and different PGP keys for each one.

Do you mean several PGP keys for the same identity? If not I still don’t see how this is an issue, I also have several PGP keys for different identities, and #942 solves the case where different identities are related to the same IMAP/POP.

@ache @Valodim want to keep #942 for PGP keys per identity, anything folder related should then be here. You can rename this one to “Add support for per folder identity/PGP key” and reopen it if you want, but it’s likely to be closed again because only #942 will probably be supported.

If you want this, the right solution is likely an issue called 'Auto-select identity based on current folder'. But it's likely to be very low priority I'd have thought given that it isn't a common workflow.

@ArchangeGabriel

Wait, you mean it’s easier to remember in which folder to go than which identity to use?

Yes, I use descriptive folder names.

Do you mean several PGP keys for the same identity?

No, the same mailbox (Gmail), but different addresses inside it (they can be added in the web Gmail UI) and different PGP keys for them.

You can rename this one to “Add support for per folder identity/PGP key” and reopen it if you want, but it’s likely to be closed again because only #942 will probably be supported.

I fully support per-email key choosing, but prefer general, much flexible approach, not only per-email but per-folder too.

OK, I can see a point of folder names being more descriptive than email addresses. But that’s still a very corner-case usage IMHO. Anyway, once #942 landed @philipwhiuk is right that this comes down to selecting the identity depending on the folder (and regarding PGP defaults w.r.t. encrypting/signing, setting it per identity should do it too).

@ArchangeGabriel
I am glad we come to terms.

and reopen it

I can't change Closed label((

If I understand correctly, this issue would allow to specify a default sender's identity based on the current folder ?
It would be very useful. In my case I have accumulated several emails which have been used to subscribed to different marketing services.
Today I would like to gather all these emails (through forwarding) to a single folder of my main email account<EMAIL_ADDRESS>and to reply to these emails with a single sender's alias/identity (marketing@example.com).
It is currently not possible with k9mail without selecting the identity manually each time.
So I would be very interested by this feature.
I think no other email app offer this possiblity ?

is there ANY traction yet on giving users a way to send/sign  email using different private PGP keys?  i have 7 sender identities, some are personal and some are business.
i should not be using my personal PGP key to sign email that is going out via my professional email address (which is a sender identity)
the old way was FAR superior... there was a "cryptography" setting for each the sender identity in the list.  now that's gone for reasons no one can really defend.  :-(


crucible does not build

Crucible does not build on ubuntu 18.04 neither for native nor cross compile for arm:
$ git clone https://github.com/inversepath/crucible
$ cd crucible

$ make
yaml.go:16:2: cannot find package "github.com/ghodss/yaml" in any of:
	/usr/lib/go-1.10/src/github.com/ghodss/yaml (from $GOROOT)
	/home/zaki/go/src/github.com/ghodss/yaml (from $GOPATH)
Makefile:24: recipe for targ

$ make crucible GOARCH=arm
crucible.go:27:2: cannot find package "github.com/inversepath/crucible/internal" in any of:
	/usr/lib/go-1.10/src/github.com/inversepath/crucible/internal (from $GOROOT)
	/home/zaki/Workspace/Playground/crucible/src/github.com/inversepath/crucible/internal (from $GOPATH)
Makefile:27: recipe for target 'crucible' failed
make: *** [crucible] Error 1

When using make you have to get dependencies manually first.
Try go get github.com/ghodss/yaml.
Otherwise I suggest simply installing with:
go get github.com/inversepath/crucible
Please also make sure to pull the latest version as I just commited an unrelated fix.

@abarisani
stiil got the same error!

Which go version are you using?

$ go version
go version go1.10.4 linux/amd64

Please use a more recent go version. Ideally from the go1.12 series. Thanks.


Touchpad stops working when tab key is held

Godot version:

https://github.com/godotengine/godot/commit/550f436f8fbea86984a845c821270fba78189143
OS/device including version:

Windows 10 - 1903 May Update
HP Probook 440 G4
Issue description:

Touchpad stops working when tab key is held. Mouse works fine though
Steps to reproduce:
Hold tab key when using Godot and try to use Laptop Touchpad.
Minimal reproduction project:

Not required. Happens in before opening a project too.

Never mind. The issue is universal. Happens everywhere(all softwares). But holding it usually does something whereas holding tab in Godot seems undefined behavior which does nothing and hence felt like mouse pointer was hijacked. Sorry for the trouble.


TMX export?

I was looking for a library for adding TMX export capabilities to an application.
Is TiledSharp capable of that? It doesn't seem to be, but I could be wrong.

So you mean, say, creating the TMX object in C# and then saving it as a .tmx file?
If that's the case, then no, there's no support for anything like that.  It could be done, but it would take some work.

Well, the application I plan to add TMX export support to works with binary files. It's a level editor for certain genesis games. I want to add TMX export functions to it because it works better as a level editor for these games than Tiled Map Editor would (and I'm already somewhat familiar with it anyway), but I need tmx files. It's the same reason why I'm not just writing a standalone converting application.
Think it may be easier for me to just use a regular XML parsing library in said application and use it to build .tmx files that way?


[Feat]: Create Issue forms and make the issue options more visually appealing

Currently, there is an issue template for this repo, but no issue form which will help users in contributing.

I will add Issue Forms to the respective issues to make it easier for the contributor to raise it.

Here is an example of how a Bug Issue Form will look like 👇

and issue templates:

I want to work on this issue. So, kindly assign this issue to me ( GSSOC'24 ).

hey @sk66641, I have raised a PR #349 related to this issue. Please check it out.


pJSDom[0].pJS.fn.vendors.start() will increase the move speed

Hello,
It seems that when I call pJSDom[0].pJS.fn.vendors.start(), all particles speed up with a certain ratio.
Normal?

Hi!
Yep, this method doesn't call cancelRequestAnimFrame.
If you want to refresh particles, you can do this: pJS.fn.particlesRefresh();
Details:
pJS.fn.particlesRefresh = function(){

    /* init all */
    cancelRequestAnimFrame(pJS.fn.checkAnimFrame);
    cancelRequestAnimFrame(pJS.fn.drawAnimFrame);
    pJS.tmp.source_svg = undefined;
    pJS.tmp.img_obj = undefined;
    pJS.tmp.count_svg = 0;
    pJS.fn.particlesEmpty();
    pJS.fn.canvasClear();

    /* restart */
    pJS.fn.vendors.start();

};

Hello,
Thank you for your reply!
I was intended to do a pause/resume, but well, a refresh will be fine.


Adding Best practices for building a large scale react application article resource

Aman's Best practices for building a large scale react application has been well received and helpful to many React developers.

Hi - just wanted to follow up on this.

Hello - who's the best person to have review this PR?  Cheers!

Hi @rachelnabors 👋  - who's the best person to take a look at this one? Would be much appreciated!


Bottleneck Delay

Bottleneck Delay: The delay is simply the sum of the individual PeMS segment delays for the entire duration and spatial extent of the bottleneck. The delay is calculated with respect to a threshold speed of 60 mph.
We then allow users to see summary tables of the top bottlenecks in a region sorted by the number of days activated, or any other available measure. In addition we allow users to see the bottlenecks on the maps.
@kengodleskidot says the final table would have the following columns: timestamp (5-min level), station id (the one at the start of the bottleneck), district, extent, all delay cols summed (35, 40, 45, 50, 55, 60)
Related to issue #186 and issue #255

@kengodleskidot can you clarify the scope of this metric a bit more.
My current understanding is that I would be summing the delay_60mph column over instances where the bottleneck_start and spatial_extent columns are true. Is that correct? Am I missing other variables?
What is unclear to @ian-r-rose is it says "for the entire duration and spatial extent of the bottleneck" – how do we identify a bottleneck through space and time.

@kengodleskidot says the final table would have the following columns: timestamp (5-min level), station id (the one at the start of the bottleneck), district, extent, all delay cols (35, 40, 45, 50, 55, 60)

Are we looking at an aggregation of delays per day @kengodleskidot?

@kengodleskidot Please add the delay metric into station aggregation five minutes level so I can calculate the delay in the bottleneck model.

This is currently blocked by #380


Develpment branch

I know you don't like multiple branches but since it's a very big change I thought it was best to keep it separated.
some notes:

I was having trouble with the changes you added and I had to remove them in order to get the math working properly  (sorry about that), now that the math is ok you can re-introduce your changes if you want
idk why but I can't get it to work with Kopernicus 1.2.2-5, I tried both standard kopernicus + kronometer, and standard kopernicus + kronometer + Kopernicus.Parser.dll (from kronometer, overwriting the standard kopernicus one), I also had a patch to make the kopernicus clock fail (I was setting Second/value to -1), but the plugins failed to load way before that... (see code snippet)

AssemblyLoader: Exception loading 'Kronometer': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
  at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0
Additional information about this exception:
 System.TypeLoadException: Could not load type 'Kronometer.ClockFormatter' from assembly 'Kronometer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
 System.TypeLoadException: Could not load type 'Kronometer.Date' from assembly 'Kronometer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

Everything else seems to work quite well, here's an example cfg you can use to see the result ingame. it will create a clock which has years that last 365.25 kerbin days (6hrs), and it has useLeapDays = true so you will get 3 years with 365 days and one year with 366. It also contains months, which means you get February 29th 😎

everything's fixed whoohoo


Xbox 360 Mappings for Mac

Don't have them yet.

I tried to get them to work via these drivers - http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller - to no avail.
I have more recently discovered better, newer drivers that will work with recent versions of OSX - https://github.com/360Controller/360Controller


[Feature] Add a way to navigate through the "events" slideshow (again)

Checklist

[X] I have already read docs/Tips.md, but my feature is not implemented.
[X] My suggested feature was not mentioned by others, and it is not a duplicate feature.

Summary
A few versions ago, I remember that you were able to navigate this "events" tab by either clicking on some bubbles that appear at the bottom right of the tab, and, if I remember correctly, left and right arrows so you can go back and forth.

This seems to have been removed and replaced with a number of the current tab you're on. It automatically moves to the next slide unless you hover over it, and you cannot go back to the start unless you switch games, i.e. from HSR to Genshin, or wait for it to reach the final slide.
Solution or Design
I suggest adding arrows that let you navigate to the next and previous tabs, or at least bring back the bubbles that let you pick which event tab you were on, from previous versions of the launcher.

Thanks for your feedback. I changed the style of banner because of:

The button disappeared slowly
Only 5 bubbles can be displayed at most

Now you could switch banner image by mouse wheel or swiping.


Invalid URL used in 'microk8s enable kubeflow': https://api.jujucharms.com/identity

Scenario:
While running 'microk8s enable kubeflow' the installation fails with the following error message:
cannot get discharge from "https://api.jujucharms.com/identity": cannot unmarshal wait error response: invalid character '<' looking for beginning of value
I do not feel the need for an inspection tarball since the above URL simply does not exist. (The 'invalid character' referred to originates from the response from the web server, which simply reports

<title>404 Not Found</title>

Not Found

The requested URL was not found on this server.

<address>Apache/2.4.29 (Ubuntu) Server at api.jujucharms.com Port 443</address>

I installed 'microk8s' with
sudo snap install microk8s --classic --channel=latest/edge
which installed version 1891.
I'm running Ubuntu 18.04.5 LTS Desktop on a Intel NUC 8i5BEC (Intel i5-8259U, 4+4 cores, 32GB RAM, 500GB .m2 SSD) wich attaches to a Nvidia GTX1080 via Thunderbolt. Nvidia Driver Version: 450.80.02.

@BionixAB: Can you paste the output from microk8s enable kubeflow --debug?

@BionixAB: Can you paste the output from microk8s enable kubeflow --debug?


fix index path typo

by default github uses src as the base path, but lib is used for this case.

LGTM - thanks for contributing!


styled-components

Type: Bug
auto suggestion doesnt work on 1.77 update
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

This issue is related to VS Code, please file it in  https://github.com/microsoft/vscode/issues


Revert "[WFLY-15426] Temporarily disabling WS RM test"

https://issues.redhat.com/browse/WFLY-15426
Reading the comment from @jimma at https://issues.redhat.com/browse/WFLY-15426?focusedId=22777343&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-22777343 I get the impression this ignored test might pass now, so, let's see what happens when the ignore is reverted.

/retest

@jimma Does this seem ok?

/retest

@bstansberry  This is good to merge after all tests are green.

Thanks @jimma -- I'd run CI 3 times and it always passed, so it seems good.


New version wanted

What's the plan around releasing a new version with validators support. Asking for us to know when we can expect it to finish https://github.com/theforeman/foreman-tasks/pull/212?

4.0.0 is now available with the validation feature.


chore: release main

:rocket: Automated Release
dev-dependencies-client: 7.0.3
7.0.3 (2024-12-23)
Bug Fixes

bump non-breaking dependencies to latest (#485) (c0fbf59)

Dependencies

The following workspace dependencies were updated

dependencies

@versini/dev-dependencies-common bumped to 5.0.2

dev-dependencies-common: 5.0.2
5.0.2 (2024-12-23)
Bug Fixes

bump non-breaking dependencies to latest (#485) (c0fbf59)

dev-dependencies-server: 6.0.3
6.0.3 (2024-12-23)
Dependencies

The following workspace dependencies were updated

dependencies

@versini/dev-dependencies-common bumped to 5.0.2

dev-dependencies-types: 3.0.1
3.0.1 (2024-12-23)
Bug Fixes

bump non-breaking dependencies to latest (#485) (c0fbf59)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

dev-dependencies-common-v5.0.2
dev-dependencies-client-v7.0.3
dev-dependencies-server-v6.0.3
dev-dependencies-types-v3.0.1
:sunflower:


add some data to applications

Add some data to applications.
https://discord.com/developers/docs/resources/application#application-object-application-structure

Merged in by 70e829694d9938f5c0fe87e05fad138ca6c408b0


Option to block link url preview

When Slack Python client posts messages, urls are automatically assigned a preview.
However this is very inconvenient in some cases, e.g. when a lot of messages are posted in a short time scale the channel becomes unreadable from the very large space taken by the previews.
If such a message is posted by a human he/she can dismiss it but there is no such option in the Python client.
The requested feature which solves this issue is an optional parameter in the post_message which works like this : post_message(channel, message, url_previews = False) and defaults to True.
If such an option already exists, this ticket can be used as a tracker for a better way to document it.
Note : Several workarounds exists : putting url in quotes, block preview from specific domains in workspace settings, etc. however these can only be used in specific circumstances or remove ability to use text formatting.
Category (place an x in each of the [ ])

[x] slack_sdk.web.WebClient (sync/async) (Web API client)
[ ] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
[ ] slack_sdk.models (UI component builders)
[ ] slack_sdk.oauth (OAuth Flow Utilities)
[ ] slack_sdk.socket_mode (Socket Mode client)
[ ] slack_sdk.audit_logs (Audit Logs API client)
[ ] slack_sdk.scim (SCIM API client)
[ ] slack_sdk.rtm (RTM client)
[ ] slack_sdk.signature (Request Signature Verifier)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hey @guigui8 👋 Link previews, or "unfurls", can currently be hidden with the unfurl_links option set to False:
client.chat_postMessage(channel="C0123456", text="https://example.com", unfurl_links=False)

These unfurls can certainly take up space when many links are posted together, so I hope you find this option helpful! And since this is already supported, just under a different name, I'll go ahead and close this issue but please feel free to follow up with anything else!


Add tests to the heartbeat plugin

Refactored the plugin to allow it to shutdown after count iterations.
Added unit tests
Bumped version number

Apologies for the whitespace pruning.  It's my new editor, Atom that's doing that.

Did a few minor comments but did not run the tests.

tests work for me. LGTM

Yay! thanks @untergeek for starting some test for that!


(1.19.2) QSL Makes Nether Woods Burnable

With QFAPI installed, Nether woods (ex. warped & crimson planks) are assigned the same furnace burn time as regular planks.
This does not occur with just the Quilt Loader installed or with Fabric + FAPI.

Uh this should not be happening. do you have any other mods or datapacks installed?

Nope, just Quilt and QFAPI in a fresh instance.

Alright thanks. Will look into this


Is green highlighting missing, or am I misunderstanding?

Thank you for this interesting tool. I'm having trouble interpreting the results and I'm not sure if it's because there's a bug or I'm misunderstanding something. Below is the output of difft on two small Haskell programs.

I had expected that test1.hs would consist of all grey and red numbered lines, and indeed it does. Correspondingly, I assumed that test2.hs would consist of all grey and green numbered lines, but it doesn't. I was expecting there to be an additional green numbered line as follows:
  2    print (if cond

Is it a bug that this line is missing, or am I supposed to interpret the diff in a different way, in order to know what the exact contents of test2.hs are? Thanks.
Command line
difft /tmp/test1.hs /tmp/test2.hs --display=inline

Version
Difftastic 0.53.1 (a67ad5b 2023-11-26)
test1.hs
example cond =
  print (if cond then 0 else 1,
         if cond then 2 else 3
        )

test2.hs
example cond =
  print (if cond
         then (0, 2)
         else (1, 3)
        )

Why would you expect line 2 to show as green? As far as I can see there are only removals on that line.

Hi Wilfred, thanks for your reply. Perhaps this is an XY problem so let me put it another way.
The standard diff tool on my system has the following property: from the content of test1.hs and the output of diff test1.hs test2.hs I can deduce the content of test2.hs. This seems to me to be the most essential property of a diff tool. Specifically, if test1.hs contains
example cond =
  print (if cond then 0 else 1,
         if cond then 2 else 3
        )

and the output of diff /tmp/test1.hs /tmp/test2.hs is
2,3c2,4
<   print (if cond then 0 else 1,
<          if cond then 2 else 3
---
>   print (if cond
>          then (0, 2)
>          else (1, 3)

then I can deduce the content of test2.hs by replacing test1.hs's lines 2 and 3 with the three lines in the second section of the diff output. However, I don't understand how the same deduction is possible using the output of difft. Perhaps I'm just unaware of the correct interpretation of the output format (or perhaps it's not supposed to be possible). Let's consider (for simplicity) the case without color, that is
difft --display=inline --color=never /tmp/test1.hs /tmp/test2.hs

The output is
/tmp/test2.hs --- Haskell
1    example cond =
2      print (if cond then 0 else 1,
3             if cond then 2 else 3
   3          then (0, 2)
   4          else (1, 3)
   5         )

How can I deduce the content of test2.hs knowing just the content of test1.hs and the output of difft? Put another way, if I were going to write the equivalent of patch for difft, what algorithm would I use to determine the effect of difft's output on the original file? The difficulty here is that I don't know how I could determine that line 2 of test2.hs is
  print (if cond

Difftastic does not aim to provide a valid patch. There's a brief discussion in non-goals here: https://github.com/Wilfred/difftastic#non-goals
Difftastic works out the the relationship between the two files, and highlights the parts of the AST that don't match. That's why it considers the following JSON files the same:
[100, 200, 300]

[100,
 200,
 300]

It might be interesting to add a mode that shows a traditional patch with the AST diff elements highlighted. This would be tricky because some line-based patches are not syntactic changes (like the example above).

Sure, I don't actually want to apply the output of difft as a patch. I'm clearly explaining myself poorly. The fact that equivalent ASTs compare as equal is important information for me to take into account, thanks. I'll try again.
I'm asking whether, in principle, knowing the content of test1.hs and the output of difft test1.hs test2.hs, I should be able to deduce the content of test2.hs, modulo equivalent ASTs? That seems to me to be an essential property of a diffing tool, but it seems to me that difft doesn't have that property (example given above).
If it is a goal, does difft actually satisfy it? If not, then presumably it's a bug. If so, then can you explain how? I don't understand how to deduce the contents of test2.hs in the example above.

Yep, you should be able deduce the content of the second file modulo AST equivalence.
The inline display is harder to read, and I rarely use it. This is one of the inline display failure cases: when the line-based diff and AST diffs consider the first change to be in different lines, it's hard to render in a comprehensible way.
Here's the default display:

From this, I can deduce that I can transform the first file into the second by opening a parenthesis before the 0, removing the else 1 to get me up to the comma, and so on.

I see, thanks. For me an inline view is essential so I guess difft won't be a good fit for me. Still, I'm happy to have tried it out. Thanks for writing it!


dclexperience: elevator at - 6, -2 doesn't always work in Alpha, while it always does in Explorer

Explorer Alpha build version:
Version 0.3.335-g8f637032-main
(windows))
Issue Description:
Elevator at - 6, -2 doesn't always work in Alpha, while it does always in Explorer
Explorer (it works):
https://github.com/decentraland/unity-explorer/assets/146749313/2d70731d-e992-431f-b52e-7a4d70567592
Alpha (it doesn't work):
https://github.com/decentraland/unity-explorer/assets/146749313/9b13a17b-d027-4f9c-8c6b-0f2081d0e4d8
Steps to reproduce:

Go to -6, -2
Try the elevator

Expected behaviour:
Elevator should work in Alpha
Current behaviour:
Elevator doesnt always work in Alpha
Reproduction rate:

[ ] < 10%
[ ]  < = 25%
[ ]  50%
[x ]  < = 75%
[ ]  100%

Severity:

[ ] Cosmetic
[ ] Minor
[ ] Medium
[x ] High
[ ] Critical
[ ] Blocker

Priority:

[x ] High
[ ] Medium
[ ] Low

Platforms / OS:

[x ] Windows 11
[ ] Windows 10
[ ] Mac Sonoma
[ ] Mac (specify the version on Additional Notes)

@m3taphysics
Issue still takes place on my end on 0.3.402-g7a23dc7e-main build:
https://github.com/decentraland/unity-explorer/assets/146749313/668c618c-9980-4192-be56-637cf0b36d13

@LucasLioyQA Could you check on latest build?

@aixaCode Even though the elevator works now, there are some issues when using the elevator to go back down again: elevator falls faster than the avatar and avatar ends up falling on the air:
https://github.com/decentraland/unity-explorer/assets/146749313/f5e5ce6f-b7b9-4f95-97a8-b2051ac6ec35

The issue above is unrelated


Differentiate playlist/segment http downloading

What version of Shaka Player are you using? latest

When overriding the httpPlugin, there is no easy way from within the plugin itself to know if the request is a playlist or a segment request.
It may be required to have different logic based on that info.
The two options are either to pass that info as a parameter to the plugin itself, or have two separate plugins (Which by default will use the same module), and then we will be able to override one or the other.

The two parameters to a networking plugin are uri and request.  We could easily add RequestType to the Request structure.
Then you could compare request.type to RequestType.SEGMENT or RequestType.MANIFEST in your plugin.  Would that help?

That would be perfect
On Tue, 29 Nov 2016 at 22:57 Joey Parrish<EMAIL_ADDRESS>wrote:

The two parameters to a networking plugin are uri and request
http://nightly.shaka-player-demo.appspot.com/docs/api/shaka.net.HttpPlugin.html.
We could easily add RequestType
http://nightly.shaka-player-demo.appspot.com/docs/api/shaka.net.NetworkingEngine.html#RequestType
to the Request
http://nightly.shaka-player-demo.appspot.com/docs/api/shakaExtern.html#Request
structure.
Then you could compare request.type to RequestType.SEGMENT or
RequestType.MANIFEST in your plugin. Would that help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/shaka-player/issues/602#issuecomment-263696297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKW9YGon4d1Er2rBcGrkfVX6I6P-gCnwks5rDJGegaJpZM4K3hrk
.

We're going to pass an additional argument to the plugins instead of adding type to the request structure.


Revert "[11.x] assertSee handle empty values"

Reverts laravel/framework#47597

I screw something up here?


Build error when WAMR_BUILD_JIT=1 (Linux x64)

AOT and interpreter build fine without JIT (default config). LLVM was built with build_llvm.py.
Am I doing something wrong?
-- Build Configurations:
     Build as target X86_64
     CMAKE_BUILD_TYPE Release
     WAMR Interpreter disabled
     WAMR AOT enabled
     WAMR LLVM Orc Lazy JIT enabled
     Libc builtin enabled
     Libc WASI disabled
     Fast interpreter disabled
     Multiple modules disabled
     Hardware boundary check disabled
     SIMD enabled
     Reference types disabled
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c: In function ‘wasm_interp_call_func_native’:
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:845:22: error: ‘WASMInterpFrame’ has no member named ‘operand’
  845 |     frame->lp = frame->operand;
      |                      ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:886:34: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
  886 |         prev_frame->lp[prev_frame->ret_offset] = argv_ret[0];
      |                                  ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:889:34: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
  889 |         prev_frame->lp[prev_frame->ret_offset] = argv_ret[0];
      |                                  ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:890:34: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
  890 |         prev_frame->lp[prev_frame->ret_offset + 1] = argv_ret[1];
      |                                  ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c: In function ‘wasm_interp_call_func_bytecode’:
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:1200:40: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
 1200 |                 ret_offset = prev_frame->ret_offset;
      |                                        ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3576:38: error: ‘WASMInterpFrame’ has no member named ‘operand’
 3576 |             outs_area->lp = outs_area->operand + cur_func->const_cell_num;
      |                                      ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3576:60: error: ‘WASMFunctionInstance’ has no member named ‘const_cell_num’; did you mean ‘ret_cell_num’?
 3576 |             outs_area->lp = outs_area->operand + cur_func->const_cell_num;
      |                                                            ^~~~~~~~~~~~~~
      |                                                            ret_cell_num
In file included from /mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_runtime.h:11,
                 from /mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:8:
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/../common/wasm_runtime_common.h:32:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   32 |         *(int64 *)(addr) = (int64)(value); \
      |          ^~~~~~~~~~~~~~~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3581:17: note: in expansion of macro ‘PUT_I64_TO_ADDR’
 3581 |                 PUT_I64_TO_ADDR(
      |                 ^~~~~~~~~~~~~~~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3585:31: error: assignment to expression with array type
 3585 |                 outs_area->lp += 2;
      |                               ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3590:30: error: lvalue required as increment operand
 3590 |                 outs_area->lp++;
      |                              ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3604:18: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
 3604 |             frame->ret_offset = GET_OFFSET();
      |                  ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3642:48: error: ‘WASMFunctionInstance’ has no member named ‘const_cell_num’; did you mean ‘ret_cell_num’?
 3642 |                            + (uint64)cur_func->const_cell_num
      |                                                ^~~~~~~~~~~~~~
      |                                                ret_cell_num
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3661:22: error: ‘WASMInterpFrame’ has no member named ‘operand’
 3661 |                 frame->operand + cur_wasm_func->const_cell_num;
      |                      ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3661:49: error: ‘WASMFunction’ has no member named ‘const_cell_num’; did you mean ‘ret_cell_num’?
 3661 |                 frame->operand + cur_wasm_func->const_cell_num;
      |                                                 ^~~~~~~~~~~~~~
      |                                                 ret_cell_num
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3664:28: error: ‘WASMInterpFrame’ has no member named ‘operand’
 3664 |             word_copy(frame->operand, (uint32 *)cur_wasm_func->consts,
      |                            ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3664:62: error: ‘WASMFunction’ has no member named ‘consts’
 3664 |             word_copy(frame->operand, (uint32 *)cur_wasm_func->consts,
      |                                                              ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3665:38: error: ‘WASMFunction’ has no member named ‘const_cell_num’; did you mean ‘ret_cell_num’?
 3665 |                       cur_wasm_func->const_cell_num);
      |                                      ^~~~~~~~~~~~~~
      |                                      ret_cell_num
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c: In function ‘wasm_interp_call_wasm’:
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3763:22: error: ‘WASMInterpFrame’ has no member named ‘operand’
 3763 |     frame->lp = frame->operand + 0;
      |                      ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3764:10: error: ‘WASMInterpFrame’ has no member named ‘ret_offset’
 3764 |     frame->ret_offset = 0;
      |          ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3767:28: error: ‘WASMInterpFrame’ has no member named ‘operand’
 3767 |         word_copy(outs_area->operand + function->const_cell_num, argv, argc);
      |                            ^~
/mnt/src_linux/hiphop/vendor/wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_fast.c:3767:50: error: ‘WASMFunctionInstance’ has no member named ‘const_cell_num’; did you mean ‘ret_cell_num’?
 3767 |         word_copy(outs_area->operand + function->const_cell_num, argv, argc);
      |                                                  ^~~~~~~~~~~~~~
      |                                                  ret_cell_num
gmake[4]: *** [CMakeFiles/iwasm_shared.dir/build.make:406: CMakeFiles/iwasm_shared.dir/core/iwasm/interpreter/wasm_interp_fast.c.o] Error 1
gmake[3]: *** [CMakeFiles/Makefile2:81: CMakeFiles/iwasm_shared.dir/all] Error 2
gmake[2]: *** [Makefile:130: all] Error 2
make[1]: *** [../../Makefile.plugins.mk:291: ../../vendor/wasm-micro-runtime/build/libvmlib.a] Error 2
make: *** [Makefile:6: examples] Error 2

Is it OK to assume the compile command includes:
$ cmake -DWAMR_BUILD_INTERP=0 -DWAMR_BUILD_JIT=1 ..

@lucianoiam Seems that you built WAMR with the command that @lum1n0us provides, in fact the interpreter must be enabled when building JIT, so normally we should not add -DWAMR_BUILD_INTERP=0 when -DWAMR_BUILD_JIT=1 is added. We submitted patch #1008 to fix the build error, please try again. Thanks.

@lum1n0us yes, effectively I had a meaningless combination:  -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_JIT=1  -DWAMR_BUILD_INTERP=0
@wenyongh #1008 correctly detects and automatically enables the interpreter to prevent this build error.
Thanks!


problems to get your config booting

hi,
i use ur config as a base. its pretty great compare to many other configs. very easy to understand.
i tried to make my system works but it doesn't boot (complaining about stage 1 and not be able to mount root)
any idea what I maybe did wrong?
https://github.com/luxus/dotfiles/blob/main/hosts/vanessa.nix

Hi, my configuration is fully based on digga's devos template. If you are looking for a template for your configuration, I believe devos should be a better choice.

thanks lin for taking time to answer.
i can understand that you don't have the time to support people that uses your config :D
i did choose your config because you had some nice solutions in your code that I liked.
my knowledge of nixlang is not that good I code everything by myself, it's easier to learn by reading your code and deleting stuff I don't need.
i added the drives manually to my https://github.com/luxus/dotfiles/blob/luxus/hosts/vanessa.nix
instead of the function and it worked.


[FEATURE] - toggle always viable on ComponentToggle

The toggle disappears when the dropdown is open, which causes a bit of a UX problem.

Suggestion: make the toggle always visible as default.

Added in ES UI components 1.5.1


Datamart Integration: I have to press ⌘ R to display yaml file for an annotated spreadsheet

Describe the bug
Uploading a valid annotated spreadsheet, while Datamart Integration is ON, should display the yaml file after Datamart API returns successfully
To Reproduce

Open T2WML: 2.4.1-Datamart (https://github.com/usc-isi-i2/t2wml/releases/tag/v2.4.1-Datamart)
Create a new project
Upload this file - https://github.com/usc-isi-i2/t2wml/blob/development/tutorial/Region_Tutorial/region.xlsx
The file is wikified,

But the yaml section has not been filled in
Press ⌘ R (on mac) or refresh application, yaml appears

Expected behavior
Yaml section should be filled without having to press  ⌘ R
Desktop (please complete the following information):

OS: MacOS
Version: 2.4.1-Datamart

should be fixed in 2.4.1


Bash Script for Different Full Installs

Context
While all the documentation about creating k8s clusters (via eksctl and gcloud) across cloud providers and installing different packages and controllers is useful it's NOT as useful as it could be to users. It's be more helpful if we had a single bash script with the proper switches to install what people want. Below are some ideas
AC:

[ ] include switches for GCP versus AWS
[ ] include switches to include JupyterHub install
[ ] include switches for default metrics server and prometheus
[ ] include swtiches grafana
[ ] include switches for argoworkflows

we should do what 2i2c does here instead and just use other helm charts that folks can cd into helm-chart/<name> and helm install


Infinite recursion crashes crystal

The following code crashes the crystal compiler (both master @ 8d28cbb1f and 0.25.1):
def foo
  foo
end

foo

Crash output:
.build/crystal run infinite_loop.cr
Invalid memory access (signal 11) at address 0x7ffedf89eff8
[0x10fb8890b] *CallStack::print_backtrace:Int32 +107
[0x10fb702a8] __crystal_sigfault_handler +72
[0x10fbc0123] sigfault_handler +35
[0x7fff59063f5a] _sigtramp +26
[0x10fb702e5] *foo:NoReturn +5
[0x10fb702e9] *foo:NoReturn +9 (524012 times)
[0x10fb61f8d] __crystal_main +1373
[0x10fbbe479] *Crystal::main_user_code<Int32, Pointer(Pointer(UInt8))>:Nil +9
[0x10fbbe350] *Crystal::main<Int32, Pointer(Pointer(UInt8))>:Int32 +48
[0x10fb6d059] main +9

While in the above example the infinite recursion is obvious it usually happens to me if I have a method that returns a local variable with the same name as the method and I comment out the code that initializes that variable.
I'm not sure what Crystal should do best in this case, but at least giving an error message instead of crashing would be helpful.

This is just a stack overflow, there's an open issue about this. This is a stack overflow in the compiler program, not in the compiler.

You can easily notice it with the  (524012 times) in the backtrace. Duplicate of https://github.com/crystal-lang/crystal/issues/271


Ledger issues with new Win 10 update.

Since a latest update for win10 in my computer I had issues to use the ledger.
Issue: https://www.loom.com/share/3317b753e9784f7594e7b46d9ab26691
In this test I had the ledger connected right away. Then I disconnected it and connected it again, and even when the system was able to connect it, the pop up that allows you to pick an account was not working (not showing any address)
my Win10 version:

@dasanra asked me to paste this link:
https://www.ledger.com/windows-10-update-sunsetting-u2f-tunnel-transport-for-ledger-devices
Also he asked me to test it in the desktop v2.14 to see if it is working fine and yes, it is working normally there, no issues with popUps or anything of the sort
EDIT: I was able to connect just fine, but every tx I try to sign is an "on-chain" type, even having 2 owners
Here I downloaded the v2.14 of the desktop app: https://github.com/gnosis/safe-react/releases/tag/v2.14.1

@francovenica I'm in Windows 10 Home inside a VM and I was able with my Ledger Nano X to successfully sign on and off chain. Which env did you test?

The environment was a PR in the taken from the dev env on Rinkby.
Also I have a Ledger Nano S

Okay, I'll try in a PR dev later today or Monday then. I have a Nano ledger S also.
Could you try to reproduce on Rinkeby prod when you get the chance? Just to double check if it appears for you there as well? :)

@francovenica I couldn't reproduce this one in my windows VM. Could you please try again and reopen in case it persists?


Set separate entry file when using custom server

I'm rendering through my own http server like in the examples and I get an error that I didn't export a router.  My Node entry in package.json is server.js.  My layout from create-ream-app is /src/router/index.js but the default in the newer docs looks for it in /index.js.  I'm confused if I should using a src/ style directory layout and if server.js should be at the root or in src.  Setting the entry in ream.config has no effect.

Can you give an example repo?

https://github.com/davidbwaters/dbw-ream-dos thanks here you go

I got it working by generating with create-ream-app express example and updating ream.

You should point entry https://github.com/davidbwaters/dbw-ream-dos/blob/master/ream.config.js#L2 to src/index.js, and export router store function instead of createRouter createStore

Closing due to inactivity, feel free to re-open this if it still doesn't work for you.


Ninja build edge dirty only when timestamp is newer leads to build not being triggered in some cases

We were experimenting with some changes in our CI build processes and we ran into situations where build was not correctly triggered even though files were changed since last time they were built. Investigating it, we tracked the issue down to the way ninja determines whether an output needs to be rebuilt by checking whether any input timestamp is newer than the output timestamp.
While I understand that this is not a typical scenario for developers modifying code, we found out that it can happen in some situations that might not be that uncommon. The two cases where we ran into it are:

Restoring files from backup by copying.
Configuring version control system (in our case subversion) to set time of last modification to time of last commit that changed the file.

Case 1. is default behavior of Windows copy and xcopy utilities. Based on my testing, unix cp requires --preserve=timestamps to result in the same behavior, but I have also noticed some Linux file managers that preserve timestamps when copying files by default.
Case 2. is maybe a little more unusual, but I feel like use-case described in https://github.com/ninja-build/ninja/issues/1459 (ie. switching to a branch and then back) actually benefits from this setting in version control system as well. Note that I didn't check whether VCS other than subversion support this behavior.
For this to work correctly, ninja would have to remember timestamp of each input when last output was produced, and check it against current timestamp of each input. It is definitely not enough to check most recent input timestamp against output timestamp and only triggering an edge if input is newer. I am not sure how much of the infrastructure is already in place to do this, so I can't really say how hard this will be to add or how much of a performance impact it would have.
I tried looking through open issues to see if this has already been brought up, but I didn't find it discussed like this anywhere. I apologize if I missed it.
Would this be a welcome change? To me it feels like a bug that a change in metadata and contents of a file does not trigger build of outputs that depend on it, but maybe there are some good reasons for not doing it.

The good reason is: Performance.
I think the only real and correct fix for this would be using hashes instead of timestamps. See #1459.

@jhasse

I think the only real and correct fix for this would be using hashes instead of timestamps.

I disagree. Content hashes are meant to prevent unnecessary rebuilds (at least that was my understanding of that discussion). In this case, ninja does not trigger build when it is necessary.
I agree that performance might be affected by this, but I wouldn't expect that to be anywhere near the impact of hashes (if at all measurable). ninja may already end up stating all input files to determine which one is the most recent, which is what I'd expect to be the most expensive part of the process. Looking at the deps log, it seems that last input timestamps are also already stored and loaded. So isn't the change just about switching the condition and checking all inputs instead of just the most recent one? Or am I missing something? (I admit, I didn't step through it, just read code in some functions)

Looking at the deps log, it seems that last input timestamps are also already stored and loaded.

Not necessarely, see https://github.com/ninja-build/ninja/issues/2465#issuecomment-2168109927

Hmm, I will have to look at restat in more detail.

Ninja does not store the timestamp of source files (i.e. inputs without a generating command/edge) at all. Both the deps and build logs only store timestamps related to outputs / generated files.
IMO, the feature you are asking goes against the core design of Ninja. Besides, this would require a brand new log file, additional logic to use it and more importantly heuristics to resolve conflicts when the log and file-system do not agree.
Note also that Ninja is already pretty flaky when the build plan changes between invocations (because the build/deps log corresponds to dependencies in the old build graph, not the newest one, and there are cases where this creates broken incremental builds). This change is likely to add even more sources of flakiness.

I see. Thank you for the explanation. That indeed sounds like a lot more complicated change than I thought at first, and one that doesn't fit into the big picture.

I still think that ninja could store input timestamps and compare them against the last timestamp for a file.   We also have artists and devs that drop say an old png into a folder, and ninja doesn't pick up on building it.  It's error prone to expect someone to touch a file to get a build system to pick up on the change.
Make didn't have any stored state, so had to stat(src) > stat(dst).   Ninja if it stored an input stat, could do stat(srcName) != savedStatSrc.find(srcName).  Further extension would be a content hash, but the modstamp should be enough to avoid that.


Reduce memory usage!

There are not so many machines that can handle all the data in memory. We need to find a way to deal with this issue. There are many materials online which show how it can be achieved in tensorflow (pipelines etc). The problem is that I still get out of memory issue (the process simply gets killed).

I should note that there are extra memory leaks when trying current tensorflow version (that is no longer tensorflow-gpu and that is installed with pip rather than conda)

Check for easy improvement when loading data, especially if we don't want to use the whole dataset

At the moment I create a separate dataset with cdo that's the subset, and everything works much faster. But I feel this is ad hoc. Alternatively we could always work with smaller datasets that are to be concatenated in Learn2_new.py if needed, but also a bit annoying

Yeah, indeed. I was planning to do line by line evaluation of the code monitoring the RAM to see exactly when we load the data into memory and if we can do something about it, but I cannot guarantee I'll have time for that

Found the reason: before the network had ~200.000 trainable parameters... now it has ~8 millions...

And that is because the MaxPool layers have disappeared

Although virtual memory normally doesn't matter.

I will re-implement the MaxPool for backward compatibility

My view is that we will need to implement tensorflow datasets. Operations such as shuffling (balancing) and train/validation have to be done virtually by permuting only indices. The dataset has to somehow know which portions of the full dataset it has to provide for the next(batch). In pytorch it is quite easy to control how data is extracted. I don't like that we have to copy paste data in memory. Normalization is another step, but it could be achieved by a layer implementation rather than doing it explicitly like we do?


[WFMP-154] Integrate Channels to provision WildFly

JIRA: https://issues.redhat.com/browse/WFMP-154

the JDK8 Jobs fails as the integrated wildfly-channel targets Java 11: https://github.com/wildfly-extras/wildfly-channel/blob/2e798760d37da1290eaa8a7d22526cdf1db5fb1a/pom.xml#L26

@jmesnil @jamezp , it would be nice to bump WildFly maven plugin to let's say a 4.0.0.Alpha1 built with JDK11 containing this feature.

@jfdenise I've released https://github.com/wildfly-extras/wildfly-channel/releases/tag/1.0.0.Alpha13 that incorporates your changes. I've updated this PR with this release (including the org.wildfly.channel.spi.ChannelResolvable marker interface). Could you please give it a second look?

Overall this looks fine to me. The only thing I'm not sure about is having the example in the same project. I've always preferred to have examples separate from the project source. I don't have a real strong opinion on it though.

@jamezp the main argument against having them in their repo is that the examples are not tied to the parent POM and they can get out of sync if we do not update the plugin version in their pom.xml. Having them outside of the project might make more sense but where could we host them? Do you mean creating  new repo `wildfly/wildfly-maven-plugin-examples?

@jamezp the main argument against having them in their repo is that the examples are not tied to the parent POM and they can get out of sync if we do not update the plugin version in their pom.xml. Having them outside of the project might make more sense but where could we host them? Do you mean creating new repo wildfly/wildfly-maven-plugin-examples?

Hi @jmesnil. One thing I personally do no like is having standalone projects/modules depend on a SNAPSHOT artifact. It just feels not very user friendly. However, I realize that's a perfect world scenario which we do not always live in :)
As for where it could live outside of the project. I would be fine with a new repository or using the quickstarts if we feel that is the appropriate place.

@jamezp As discussed, I've removed the examples from the plugin source code. The quickstarts will eventually be updated to use the plugin to deploy WildFly so that's where the users will actually see the usage of the plugin.


refactor: Expr::Exists to use a struct.

Which issue does this PR close?
Related to https://github.com/apache/arrow-datafusion/issues/2175 and https://github.com/apache/arrow-datafusion/issues/3807.
Rationale for this change

What changes are included in this PR?
Refactor Expr::Exists to a struct.
Are these changes tested?
Yes.

Are there any user-facing changes?

When I run cargo test, I met a question.
thread 'tpcds_logical_q64' has overflowed its stack
fatal runtime error: stack overflow
error: test failed, to rerun pass `-p datafusion --test tpcds_planning`

I found that this test used a lot of tables, Is this because the memory is not large enough?
my memory is 16g.

When I run cargo test, I met a question.
thread 'tpcds_logical_q64' has overflowed its stack
fatal runtime error: stack overflow
error: test failed, to rerun pass `-p datafusion --test tpcds_planning`

I found that this test used a lot of tables, and it says that stack overflow. How can I pass this test?

You can ignore it, it's a known issue #6277

Nice job, Thank you @QuenKar

I have resolved conflicts. Thanks @QuenKar 's contribution. LGTM

Thank you!


Remove duplicate case for CallFunction lifting

My bad, this one is on me! I forgot to clean up the previous CallFunction case when I pushed my spread element changes :(

Oh, nice catch! Maybe add a testcase:
    func testCallWithSpreadLifting(){
        let fuzzer = makeMockFuzzer()
        let b = fuzzer.makeBuilder()

        var initialValues = [Variable]()
        initialValues.append(b.loadInt(15))
        initialValues.append(b.loadInt(30))
        initialValues.append(b.loadString("Hello"))
        initialValues.append(b.loadString("World"))
        let v4 = b.createArray(with: initialValues)
        let v5 = b.loadFloat(13.37)

        let v6 = b.loadBuiltin("Array")
        let _ = b.call(v6, withArgs: [v4,v5], spreading: [true,false])

        let program = b.finalize()

        let lifted_program = fuzzer.lifter.lift(program)
        let expected_program = """
        const v4 = [15,30,"Hello","World"];
        const v7 = Array(...v4,13.37);

        """

        XCTAssertEqual(lifted_program,expected_program)
    }

as well. This should've caught this, shouldn't it?

Testcase added, the new one will catch this bug.

Great, thanks!


SSL reverse proxy support

With a web browser, if we try to access the web UI behind the Traefik reverse proxy on the testbed, we have a blank page because the webapp is not designed to work behind a reverse proxy. However, a reverse proxy is required for communication security, i.e. SSL/TLS protection. You can test it with an Apache or NGINX (with SSL enabled) instead of Traefik to reproduce the issue outside the testbed.

any progress on this?

In the homepage project, a reverse proxy has been setup, that resolves this problem. Still looking for a cleaner solution so keeping this one open.

Using Apache, NGINX and KeyCloak, a working version has been setup. Basically, it leaves the home page open but protects each link. E.g. you need to have tmt access in order to access the tmt.


Add ability to delete a conversation

For privacy reasons there should be the possibility to delete a conversation from the server.

great idea 👍

(need to QA this before closing)

(there were some issues with the PR above, need to fix some data issues before enabling this... e.g. db does not allow deleting certain resources due to current foreign key constraints)

done with https://github.com/papercups-io/papercups/pull/331 🎉


[Feature Request] Aliases for Private Electrum Servers in Server Preferences

Sparrow saves recent connections e.g. to a private electrum server in the preferences section under "Server".
URLs and hostnames are displayed in plain text. So if you have a electrum server at home and want to use a local connection, the preference section may save the IP of the server. If your away from your home network you might wanna connect to you server via its hidden service. Sparrow saves and displays the hostname.onion.
But if you want to change your server while being in a public place I don't want everybody to see my local servers IP (minor issue as home networks are generally shielded by a firewall) or my hostname.onion (slightly greater issue but hard for people to remember the long address).
Still, both would benefit if one could hide them behind a manually chosen alias which maps internally to a saved IP / hostname.
Further benefit: if you have multiple servers (say 1 electrs, 1 fulcrum, for both onion addresses & a couple of others from friends) you could identify them better with hostname aliases instead of remembering whose sever is reallylonghostname1.onion vs another saved reallylonghostname2.onion.
An easy switch or menu entry to rapidly change between different aliases (and therefore servers) would be another cool feature.
Think:
HOME -> elctrs IP <IP_ADDRESS> with ssl and its corresponding certificate
HIDDEN_ELECTRS -> electrs hostname.onion witout ssl
where the change server menu entry just displays HOME and HIDDEN_ELECTRS and once chosen the Sparrow server settings change to the underlying mapped preferences.

This is actually a duplicate of #462 (although better motivated here!).
Added in 1f676927. Sparrow now contains support for configuring server aliases (so that URLs are hidden in the interface), and switching servers via the Tools menu.

Awesome implementation, thank you!


[BUG] Because puppeteer dont support socks5 auth proxy

check this https://github.com/apify/proxy-chain
https://github.com/apify/proxy-chain/issues/69
i think you can fix issue with it
https://blog.apify.com/how-to-make-headless-chrome-and-puppeteer-use-a-proxy-server-with-authentication-249a21a79212

This issue is already fixed, see https://github.com/openbullet/OpenBullet2/commit/af06485d3829e4813ef41e57d8988214079cf28b

not work i test the new 0.1.2 relase
ERR_TUNNEL_CONNECTION_FAILED

We tested it ourselves with our own proxies and it worked. Please send me the proxy via PM on the forum and I'll check with your proxy to see what the issue is, otherwise I cannot replicate

ok

i send

when i try with domcontentloaded it work but Load not work
i send here Because cant send in forum
You’ve reached the maximum number of replies a new user can create on their first day. Please wait 5 hours before trying again.

it work but need 62711 ms
it very slow :D


How do you package an upgrade package

When I installed msi for the second time, the system said it could not be installed and asked me to uninstall the previous version first

I forgot to update the version

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Tests for correct submissions shouldn't console.log()

Recently, there's been a change to how the tests work or I am losing my mind. I don't remember in the basic bonfires section there being all of these console.logs automatically generated when I hit the Run Tests button to test code I'd written. Now that I'm in intermediate bonfires using console.log() to debug or watch for changes happening in real time, for example, putting a console.log() before and after an if or loop to see how things have changed, is much harder because all of the tests for each required case console.log on each submit.
For example, here is the web console for Diff Two Arrays. I currently have just one console.log() in the code:

Not sure if this is a bug or intended, but it makes the console harder to use to solve each test case rather than easier because it unintuitively does things behind the scenes that I did not direct it to in my code.

This is expected. If your code has a console.log it will execute that once for every time the code is run (or once for every test). In the specific case you are running into you may find a vast majority of these to be noise, but in the future or someone else doing this same bonfire may want to see every tests console.log. There is no programatic way to determine which console.log for which test will actually be helpful to the user, so there's really no option but to display them all.
Thanks and happy coding!


Can hide default inputs with mods

Allows optional hiding of certain default inputs by using mods:
const mods = { hiddenFormInputs: ['time', 'checkbox'] };

This will hide the time and checkbox inputs on the FormBuilder only.  They are not hidden on the Predefined Gallery, meaning that it is still possible to use them in definitions.
NOTE:
New cards seem to automatically get the "Short Answer" type (src/formBuilder/utils.js:907) meaning inconsistent behaviour if hiddenFormInputs contains 'shortAnswer'.  I can't see an easy way around this, but am very open to suggestions.

Hi @bradleymarques,
Just saw your other PR and I merged it in. I suggested changes to this one and wanted to confirm that you saw my suggestions.


Rename databases to be more generic

Rename baja_pet_rescue_* databases to something more generic like pet_rescue_*

I can take this one


Start work, abandon and reset timer buttons don't have the same width

Change a tag to button for reset timer button to make styling for all three buttons uniform

fixed 👍🏻


TypeError: Cannot use 'in' operator to search for 'x' in null

The test case of splitIntoSegments missed the value of null.
If using this array for makeValues, it could not remove the null value and the following TypeError occurs.
var values = makeValues([1,undefined,undefined,4,undefined,null]);

file:///path/chartist.js:678
    return typeof value === 'object' && ('x' in value || 'y' in value);
                                             ^

TypeError: Cannot use 'in' operator to search for 'x' in null
    at Object.Chartist.isMultiValue (file:///path/chartist.js:678:46)
    at Object.Chartist.getMultiValue (file:///path/chartist.js:691:17)
    at Object.Chartist.splitIntoSegments (file:///path/chartist.js:1140:19)

Hello @waitingcheung 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the issue is still relevant to you so we can further look into it!


iOS: DatePicker on Popup

Framework7 version: 5.7.8
Vue.js version: 2.6.11
Platform and Target: iOS 13.5.1 Cordova app
cordova-plugin-ionic-webview: ^4.1.3

Describe the bug
The first datePicker don't close on Popup page
Screenshots

Additional context
It can be solved partly by adding a backdrop
but the backdrop disappears on the repeated Popup starting

Try: routableModals => false in DatePicker

thanks @shastox
it's worked


"Ctrl I" Help Error

Description
What steps will reproduce the problem?

Press Control-I

**What is the expected output?
doc info
What do you see instead?**
Nothing or error message
Please provide any additional information below
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\editor.py", line 855, in inspect_current_object
self.introspector.show_object_info(position, auto=False)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 234, in show_object_info
info = self._get_code_info('info', position, auto=auto)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 216, in _get_code_info
**kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 75, in init
self._get_info()
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "C:\ProgramData\Anaconda3\lib\site-packages\pygments\lexers_init.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "C:\ProgramData\Anaconda3\lib\site-packages\pygments\lexers_init.py", line 168, in find_lexer_class_for_filename
for

Thanks for reporting. The error traceback that was posted is incomplete. However, it is very likely a duplicate of e.g. #5673 , an error that's been reported numerous times now. As the full error message states, Jedi is only compatible with parso 0.1.0, not 0.1.1. Therefore, you can update jedi to the latest version with conda update jedi (or with pip, if you use that instead); (you can also downgrade to parso 0.1.0 with e.g. conda install parso=0.1.0 ) and so this issue will be closed.


Improve handling of NotWorn with second guider (HorAngle or HDCZA)

Earlier this year in PR #1137 I added the option to specify HASPT.algo = c("NotWorn", "HDCZA") or HASPT.algo = c("NotWorn", "HorAngle"). If the window has more than 25% nonwear it will use NotWorn algorithm, alternatively it will fall back on the second guider.
In this PR I am making a number of additional updates:

The guider as used, which can differ from night to night, now correctly logged in csv reports (see changes to g.part4).
Nights for which NotWorn is used are now skipped in the csv part4_nightsummary_sleep_full.csv report  (see changes to g.report.part4).
HorAngle threshold increased to 60 as that seems more suitable. Additional updates may follow later this autumn but for now this seems a safer choice than 45. As a result I also had to update test_recordingEndSleepHour.
HASPT.ignore.invalid is now automatically set to NA when NotWorn guider is used. In that way user has freedom control it in relation to HDCZA or HorAngle, while sticking to NA for NotWorn.
Fix to g.part5.savetimeseries that failed to log the guider used when it includes +invalid in the name.
The selectdaysfile functionality, that got deprecated several years ago, was still present in the unit test, now removed.

Closes #1156

Checklist before merging:

[x] Existing tests still work (check by running the test suite, e.g. from RStudio).
[x] Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
[x] Clean code has been attempted, e.g. intuitive object names and no code redundancy.
[ ] Documentation updated:

[x] Function documentation
[x] Chapter vignettes for GitHub IO
[ ] Vignettes for CRAN

[x] Corresponding issue tagged in PR message. If no issue exist, please create an issue and tag it.
[x] Updated release notes in inst/NEWS.Rd with a user-readable summary. Please, include references to relevant issues or PR discussions.
[ ] Added your name to the contributors lists in the DESCRIPTION file, if you think you made a significant contribution.
[ ] GGIR parameters were added/removed.

Hi @jhmigueles When you are back from your summer break it would be good if you could have a look whether you are happy with this PR. It relates to the German project.

I am working on this today, running now on a large dataset, will inspect the output later today and get back before the end of the day.

You mean in the part4_nightsummary_sleep_cleaned.csv, right?

yes that is correct


[WIP] Kubernetes monitor

This PR introduces a Monitor for Kubernetes that will only send POD events upstream.
It also connects to Kubernetes API in order to complete and merge the tags.
It reuses the Docker Monitor as intermediate and filter its events.

Could we do that as just a metadataextractor rather than a new monitor? The main thing that it does is retrieve the metadata from the Kubernetes. Just a thought ...

I did it as an extractor initially, but after trying it I came to the conclusion that it is better to use it as a Monitor.
Here are the pros and cons:
DockerMonitor with Kubernetes metadata Extractor (similar to what we have today almost):

pro: Not a lot of changes
big CON: Every container event not relevant to Kubernetes is still sent up to the handler
big CON: Does not support explicit update of a PU from the metadataExtracotor. This is needed if a PU updates its tags.

KubernetesMonitor

Pro: the PU event that is sent up is tailored to a Pod from Kubernetes, and not to the Docker container
Pro: Will be more easily adapted to the eventual CRI-O (or other) container engine
Con: Relies on another monitor

The resync mechanism is very simple, it is simply calling the DockerMonitor resync which resends all the events to the Kubernetes monitor.
The Kubernetes Monitor is simply a passthrough monitor using the DockerMonitor and selecting which events should be sent upstream, also filtering and adding the tags.


Training Algorithm

Hello.
First of all, thanks for sharing, and congratulations for your work.
I want to use your model in my experiments related to object-centric Imitation Learning policy, however, I have some differences in the robot platform and simulation environment, so I need to train your model from scratch. Therefore, I have some high-level questions about your training loop.
In particular, starting from your example.py scripts, how you use history information is clear, but how did you build the batch during the training? Particularly, how did you fill the slot related to past action-token?
I appreciate your consideration.
Francesco Rosa.

Hi there,
Thanks for your interest in our work. During training, we assume the access to existing dataset consisting of observation-action trajectories. The models are then trained by casually predicting action tokens. In other words, when the model is asked to predict the action at timestep t, it can only see history up to that timestep. Hope this can help!

Thanks for your reply.
To clarify with an example, let's suppose that within the batch, we have a trajectory that goes from timestamp t to timestamp t+H. First, the model predicts the action token at timestamp t, without history, because it is the first frame. Then, the model predicts the action token for timestamp t+1, with the previously predicted action token that goes in input and so on. Obviously, at each timestamp, the loss is computed, which is then averaged over the entire trajectory.
Is it correct?

Yes, almost correct! The first action is predicted conditioning on first observation. Further, all actions are predicted also conditioning on prompts in our setting.

As always thanks for your reply, it is clear that you use in the history the predicted action token, but I have a two further questions:

During training, do you propagate in the history the predicted action token computed over the predicted action or the predicted action token computed over the target action?
How many past steps are included in the history?

Thanks.

During training, do you propagate in the history the predicted action token computed over the predicted action or the predicted action token computed over the target action?

Thanks for the followup questions. To answer them

During training, actions are predicted based on target (ground-truth) actions.
We feed entire history to the model during both training and test.


Bugfix/consensus

Fixed #594

Fixed missing blockTime param for executeMultiSetOperation()
Updated proposal tx to always be a SET operation (as opposed to SET_VALUE)

Fixed #595, #591

Added temporary env vars to set TARGET_NUM_OUTBOUND_CONNECTION and MAX_NUM_INBOUND_CONNECTION higher than MAX_NUM_VALIDATORS - 1 in consensus integration test
Updated to use is_final=true option for get apis for more stable results

Addressed all comments, PTAL @minsulee2 @platfowner

Thanks all for the fast review! Feels good to see all tests passing 😄 Now merging~


Demo: robyn_write() requires both OutputCollect and OutputModels

Since version <IP_ADDRESS>00 the function robyn_write() requires both OutputCollect and OutputModels arguments.
demo.R needs to be updated accordingly, otherwise it returns
ExportedModel <- robyn_write(InputCollect, OutputCollect, select_model, export = create_files)
Error in OutputModels$convergence :
  $ operator is invalid for atomic vectors

--
Robyn version <IP_ADDRESS>00

Hey @gufengzhou I noticed you changed something here. Would you mind checking this one? We probably don't need OutputModels given it's actually stored within OutputCollect.

Sorry my bad. Fixed it.


Time with offset constraint does not appear to be working correctly

Bug Report
When using an offset constraint with a non zero offset, datahelix incorrecly marks the profile as contradictory.
Steps to Reproduce:
run the profile
{
  "fields": [
    {
      "name": "time",
      "type": "time",
      "nullable": false
    },
    {
      "name": "anHourLater",
      "type": "time",
      "nullable": false
    }
  ],
      "constraints": [

        {
          "field": "anHourLater",
          "equalToField": "time",
          "offset": 1,
          "offsetUnit": "seconds"
        }
  ]
}

Expected Result:
times seperated by a second are produced.
Actual Result:
Generation started at: 10:55:19

Number of rows | Velocity (rows/sec) | Velocity trend
---------------+---------------------+---------------
* The provided profile is wholly contradictory!

Looks like there's some inversion happening, maybe here?
// FieldSpecGroupValueGenerator (createModifierForField lines 120-122)
if (!relation.main().equals(first)){
    relation = relation.inverse();
}

We end up with the offset being -1 so when the LinearRestrictions object is constructed, inclusiveMin is greater than inclusiveMax and the restriction is marked as contradictory.


Add a test that zypper up works in every container image

Why are we doing this? What about container without zypper? I don't think this makes sense for application containers

Why are we doing this?

This idea came up during our containers doc sync. A zypper -n ref && zypper -n up is a very common pattern in dockerfiles, so we should be testing that it actually works and isn't broken in some subtle way.

What about container without zypper?

This test only runs on all containers in the list CONTAINERS_WITH_ZYPPER.

I don't think this makes sense for application containers

I don't have an opinion on this tbh.


Fix typo

.Net -> .NET

@changeworld : Thanks for your contribution! The author, @aahill, has been notified to review your proposed change.

Verified editorial correction.


Create a script to collect repositories provided a given language

One feature I would really like to see is the ability to follow repos provided a given language. For example, the following script would follow as many repositories as possible that use the Java language:
python3 follow_repos_by_language.py Java

Lingering questions:

Because this can result in at least a thousand repos to be followed (I think that's what Github API returns to us, will need to double check), do we need to worry about throttling or forbidden responses after a certain number of requests? I don't have much experience running these scripts for LOTS of repositories so I don't have that answer.
Is this a worthwhile issue to resolve?

There's a difference between "give me 1k Java repos" and "give me 1k interesting Java repos". You can kinda use the trending API for this, but that's only what's getting the most stars over time. Maybe following the top 1k by star count would be useful?

There's a difference between "give me 1k Java repos" and "give me 1k interesting Java repos". You can kinda use the trending API for this, but that's only what's getting the most stars over time. Maybe following the top 1k by star count would be useful?

That could work. I'll see what else Github can offer to give us "interesting" repos.
I'm also curious if searching for repos via a keyword is worthwhile. For example, I have a query right now for codeql-go that looks for a misconfigured use of the jwt-go library. By searching for "jwt-go", I can get a list of repositories that potentially use "jwt-go". Considering my experience with codeql is limited at this time, I don't know if this specific search (looking for repos giving a keyword) is worth it but just thought to bring it up.

That could work. I'll see what else Github can offer to give us "interesting" repos.
I'm also curious if searching for repos via a keyword is worthwhile. For example, I have a query right now for codeql-go that looks for a misconfigured use of the jwt-go library. By searching for "jwt-go", I can get a list of repositories that potentially use "jwt-go". Considering my experience with codeql is limited at this time, I don't know if this specific search (looking for repos giving a keyword) is worth it but just thought to bring it up.

Having done some initial testing, I was able to add the top 1000 starred repositories for a specific language, in my case I choose the Go language. I'll pull a PR for this in the coming days and we can discuss it further.

Having done some initial testing, I was able to add the top 1000 starred repositories for a specific language, in my case I choose the Go language. I'll pull a PR for this in the coming days and we can discuss it further.

Sounds good to me!

Sounds good to me!


feat: add Transformer encoder, decoder, and decoder_layer;

What does this PR do?
Fixing #171
Before submitting

[x] Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have written necessary tests and already run them locally.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

57 of 90 (63.33%)  changed or added relevant lines in 2 files are covered.
10 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-1.0%) to 83.226%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pypots/modules/self_attention.py
38
71
53.52%

Files with Coverage Reduction
New Missed Lines
%

pypots/cli/env.py
1
67.35%

pypots/data/base.py
1
79.8%

pypots/modules/self_attention.py
1
73.85%

pypots/classification/base.py
2
76.92%

pypots/clustering/vader/model.py
2
87.26%

pypots/cli/doc.py
3
82.28%

Totals

Change from base Build<PHONE_NUMBER>:
-1.0%

Covered Lines:
3101

Relevant Lines:
3726

💛  - Coveralls


discord-interactions throws error 'Invalid signature'

When I send a POST request I get this error: [discord-interactions] Invalid signature
This is what I get on the console: [discord-interactions]: Invalid verifyKey parameters Error: Value is not a valid hex string
Here's the code:
const express = require('express');
const { InteractionType, InteractionResponseType, verifyKeyMiddleware } = require('discord-interactions');

const app = express();

app.post('/interactions', verifyKeyMiddleware('client-public-key-here'), (req, res) => {
  const interaction = req.body;
  if (interaction.type === InteractionType.APPLICATION_COMMAND) {
    res.send({
      type: InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE,
      data: {
        content: 'Hello world',
      },
    });
}

Are you using your discord bot token or the public key?
You are suppose to use the public key

Are you using your discord bot token or the public key? You are supposed to use the public key

Yes, I'm using my client public key.


TimestampParser doesn't support values under microseconds

Current implementation of TimestampParser doesn't support values under microseconds.
https://github.com/embulk/embulk/blob/master/embulk-core/src/main/java/org/embulk/spi/time/TimestampParser.java#L60
But in some cases these values are needed (for example, Oracle TIMESTAMP column can have 9 digits under seconds).

will be improved with #145

Thank you!


Manual initialization - instructions not clear

Hi, I use only dynamic slugs on my ssr project so the default pageViewEvent is not working for me.
I tried to use the Manual Initialization described in the readme but I don't understand how to set the page view event correctly.
After initializing the module via the plugin file do I keep some setting in nuxt.module like debug:true ? And how do I send page view event from there ? Is it from the plugin file using something like this.$router.afterEach ?
export default {
     modules: [   '@nuxtjs/gtm'  ],
     plugins: [   '~/plugins/gtm'  ]
 }

export default function({ $gtm, route }) {
  $gtm.init('GTM-XXXXXXX')
}

My bad the exemple provided in the repo was actually showing how to setup pageTracking with manual initialization. But I think the readme was confusing because the gtm settings are not showed so you are not sure if you have to remove them


changing manufacturer in the UsbDeviceBuilder

Hello,
I am building an app based on rust with a GUI in slint.
This app create dialog with a feather board (or equivalent).
I can't see the change of manufacturer with feather M4 and itsy bitsy on my app on my computer.
I've used serialPort for my app on my computer, and the UsbDeviceBuilder on my feather.
The manufacturer info is still showing "Microsoft", but the serial number  is changing depending on the value I use on the feather.
is this normal ?

It sounds like maybe it's using the microsoft usb-serial driver and showing that? But I'm only speculating

It seems to be a problem based on the Serialport library, that doesn't get the correct information.

If there's an issue with the way the manufacturer information is supplied over USB, it will probably be in either usbd-serial or usb-device which are used by our example code.  However, then it's up to the host computer to use the manufacturer info appropriately, and it sounds like in this case the Microsoft driver or the higher-level application might not be doing what is desired.
@charleselie - have you figured out the problem?  If not, I'm happy to help diagnose as I'm a bit involved in usb-device, but you'll probably need to help with a minimal reproduction and doing some testing since I don't have a real Windows computer.