StackOutputs.stack_top() fails when stack <  STACK_TOP_SIZE

When StackOutputs.stack_top() is called on aStackOutput instance that has stack.len() < STACK_TOP_SIZE it results in the following error:
 panicked at 'failed to convert vector to array: [BaseElement(6029861533644216910), BaseElement(14833700114938183983), BaseElement(14237865717728717124), BaseElement(8307047245961902131), BaseElement(0), BaseElement(0), BaseElement(0), BaseElement(0)]', /Users/f/dev/miden/miden-vm/core/src/stack/outputs.rs:83:14

This is caused by the try_into() failing because the stack vector is too short.  This is causing problems when trying to verify a miden transaction.
https://github.com/0xPolygonMiden/miden-vm/blob/3022d257eec9cdeca2273b0b66b633bcb3552274/core/src/stack/outputs.rs#L75-L84
We could add a .resize(STACK_TOP_SIZE, ZERO) to resize and pad the stack but I'm not sure if this is the desired behaviour.

This is a bit strange because stack output should always have at least 16 items (i.e., STACK_TOP_SIZE) in it. This is because we build stack outputs from the stack here and the stack should always have at least 16 items.
So, the bug is either in the processor and for some reason stack depth drops to below 16 at some point, or we are initializing StackOutputs somewhere else - and that's causing the issue.
If it is the latter, we should do the following: in the constructors of StackOutput pad the input items with ZERO to ensure that StackOutputs always has at least 16 elements. One thing to pay attention to is the order of elements (I don't remember whether we'd need to pad from the front or from the back).

So, the bug is either in the processor and for some reason stack depth drops to below 16 at some point, or we are initializing StackOutputs somewhere else - and that's causing the issue.
If it is the latter, we should do the following: in the constructors of StackOutput pad the input items with ZERO to ensure that StackOutputs always has at least 16 elements. One thing to pay attention to is the order of elements (I don't remember whether we'd need to pad from the front or from the back).

Turns out the issue was related to construction of the StackOutputs struct. Padding appropriately and ordering fixed the issue.

Should we still update the StackOutputs constructor?

Should we still update the StackOutputs constructor?

Yes I think that makes sense. Removes a potential footgun.

Closed by #1010.


CPU full load for over 5 mins while replacing strings in multiple files

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:47:41.889Z)
OS Version: Darwin x64 17.0.0
Extensions:

Extension
Author (truncated)
Version

vscode-clock
Com
0.0.1

xml
Dot
1.9.2

beautify
Hoo
1.1.1

vscode-color
ans
0.4.5

gitignore
cod
0.5.0

githistory
don
0.2.3

python
don
0.7.0

gitlens
eam
5.7.1

vscode-html-css
ecm
0.1.8

code-runner
for
0.7.3

Angular2
joh
2.9.0

Go
luk
0.6.66

VS-code-vagrantfile
mar
0.0.7

graphql
mqu
0.1.2

mssql
ms-
1.2.0

cpptools
ms-
0.14.0

debugger-for-chrome
msj
3.4.0

Ruby
reb
0.15.0

java
red
0.12.0

vscode-icons
rob
7.15.0

sass-indented
rob
1.4.5

stylelint
shi
0.30.0

vscode-glide
vit
1.0.2

vscode-todo-highlight
way
0.5.11

Steps to Reproduce:

Open a project which has more than 500 files
Replace all exact occurrences of a given string with another one in all files in the project folder.

Reproduces without extensions: Yes/No

Which process is taking the CPU load? Is this an open source project that I can try? Are the matches in very long lines?

Sorry, I didn't make myself very clear. My computer model is MacBook Pro 15-inch, 2016 late. I Just open a project with more than 500+ files, and make a string replacement, then click the Close All Editors button on top right corner of the Open Editors window.
This operation will pop out a dialog to ask if I would like to save those changes. After click the save button, VSCode came to stuck, and used up all left CPU resources (memory that allocated to VSCode is also over 8GiB in the meantime). I guest there must be a buffer problem while doing such jobs.

I have the same situation here -- all 8 cores are loaded to max. This is: 1.15.1, Win64 bit build.
Yasterday I've installed this new build (before I had 32bit version. Also installed some extensions afterwards so I'm convinced some extension gone wild.
Using Code more than year - and due the project I'm working on I watch the CPU usage non stop and this is the first time I see this behavior.

tried with open/close
also when I clicked "reload" on a extension - it stopped for few seconds, so I'm sure it is some extension doing this.

@gorangrubic Your repro steps don't match @universonic, please open another issue, and show the command line args for the processes that are taking lots of CPU. Also 1.15 is a couple versions old, please update (and you could also try the Insiders build to try the latest changes).
@universonic I see, can you check the command line arguments of the process taking CPU, using ps aux?

As you can see, there are so many processes on my system (I have disabled buildOnSave and lintOnSave):
[universonic@KAMIKAZE kubernetes-client]$ ps aux
USER               PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
universonic       2593  59.9  1.3 558450504 219460   ??  R    11:45AM   0:05.93 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6335  30.8  0.3 558447600  55268   ??  R    11:47AM   0:00.51 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       2671  24.7  1.3 558450440 211664   ??  R    11:45AM   0:05.84 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       1378  23.7  0.2 558438436  34132   ??  R    11:45AM   0:06.66 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_2 -o /var/folde
universonic       2696  21.5  1.4 558451080 226940   ??  R    11:45AM   0:06.06 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6352  20.9  0.2 558446128  29080   ??  R    11:47AM   0:00.15 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6344  18.0  0.2 558446960  40284   ??  R    11:47AM   0:00.35 (compile)
universonic       1304  17.8  0.2 558438372  35208   ??  R    11:45AM   0:06.76 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_2 -o /var/folde
universonic       6333  15.4  0.3 558446512  54084   ??  R    11:47AM   0:00.44 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       2579  14.4  1.3 558450504 210924   ??  R    11:45AM   0:06.24 (compile)
universonic       6123  14.4  0.1 558437540  12088   ??  R    11:47AM   0:02.51 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_4 -o /var/folde
universonic       2646  14.1  1.4 558450568 229612   ??  R    11:45AM   0:06.25 (compile)
universonic       5947  13.9  0.9 558448896 154220   ??  R    11:47AM   0:03.31 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6167  13.9  0.1 558437028  11864   ??  R    11:47AM   0:02.28 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_4 -o /var/folde
universonic       6343  13.5  0.3 558446448  41952   ??  R    11:47AM   0:00.29 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6020  13.4  0.9 558448896 154924   ??  R    11:47AM   0:02.86 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6008  13.1  0.9 558448576 146780   ??  R    11:47AM   0:03.00 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       5989  12.8  0.3 558438628  49364   ??  R    11:47AM   0:02.95 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_2 -o /var/folde
universonic       6346  12.8  0.2 558445616  35140   ??  R    11:47AM   0:00.23 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6081  12.5  0.1 558437284  11832   ??  R    11:47AM   0:02.54 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_4 -o /var/folde
universonic       6342  12.4  0.2 558446448  40488   ??  R    11:47AM   0:00.31 (compile)
universonic       6360  12.3  0.0 558436900   3488   ??  R    11:47AM   0:00.04 (cover)
universonic        800  11.4  2.0  6386788 328884   ??  R    11:40AM   0:37.59 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Content
universonic       2722  11.1  1.3 558450952 211532   ??  R    11:45AM   0:05.98 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6121  10.9  0.1 558437540  12072   ??  R    11:47AM   0:02.57 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_4 -o /var/folde
universonic       6128  10.9  0.1 558437284  12172   ??  R    11:47AM   0:02.61 (cover)
universonic       2363  10.9  1.3 558450824 225772   ??  R    11:45AM   0:06.17 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6347  10.8  0.2 558446448  37280   ??  R    11:47AM   0:00.25 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6126  10.8  0.1 558437284  11824   ??  R    11:47AM   0:02.36 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_4 -o /var/folde
universonic       6328  10.7  0.3 558446576  54648   ??  R    11:47AM   0:00.60 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       1375  10.6  0.2 558438372  33744   ??  R    11:45AM   0:06.36 /usr/local/go/pkg/tool/darwin_amd64/cover -mode set -var GoCover_2 -o /var/folde
universonic       6345  10.3  0.2 558446192  37888   ??  R    11:47AM   0:00.22 /usr/local/go/pkg/tool/darwin_amd64/compile -o /var/folders/zz/sm1y6p5d5qg8cq249
universonic       6341  10.1  0.2 558446448  38032   ??  R    11:47AM   0:00.33 (compile)

This seems like it could be an issue with the vscode-go extension which I assume you're using. You could check whether it's set up to do something else on save, or file an issue on that repo.

@roblourens sorry, I'm noob in issue reporting on GitHub (and issue reporting at all).  However, this seems for me as the same issue - as the behavior is the same - if I would be the one that has to debug this I would assume that @universonic  just had a coincidence doing string replacement when this happen. But, as said, still have no experience in this.
Related to vscode-go: no, I don-t have it here. But, since my last comment it never repeated. And I just tried several string replacements (Replace All and single Replace) and nothing wrong about CPU.  If it does happen, where you want me to report it: on this thread or to create new issue?

No worries. Glad it stopped happening, but if it does, please open a new issue.


Replace endsWith(Stream) with endsWithIterable(Iterable)

Remove endsWith(Stream)
So we have just
endsWith(Iterable)
Do the same for startsWith(Stream), startsWith(Iterable)

Merged


Exception has occurred

I already know that the current project only supports Windows, Linux and MacOS and does not support mobile platforms.
However, because it has changed so much source code as below, the application cannot guarantee cross-platform capabilities.
import 'package:window_manager/window_manager.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  // Must add this line.
  await windowManager.ensureInitialized();

  WindowOptions windowOptions = const WindowOptions(
    size: Size(800, 600),
    center: true,
    backgroundColor: Colors.transparent,
    skipTaskbar: false,
    titleBarStyle: TitleBarStyle.hidden,
  );
  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
    await windowManager.setFullScreen(true);
  });

  runApp(const MyApp());
}

The error message on Android:
Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method ensureInitialized on channel window_manager))

If I want to use the mobile application then I have to clone the source code project and remove the windows_manager package.
This takes away the cross-platform capabilities of the Flutter app.

This is the answer

You can check the defaultTargetPlatform from Flutter and just wrap that code in an if block.
We've been doing this for a long time in one of our apps that's running on mobile and desktop and it has worked flawlessly.


We have to replace the html css

We have to replace the html css of revolt with the attached zip file

Simple Energy.pdf


I have a problem with chatgpt text translation

if I ask Vpet to write in English, then everything works well, but if in Russian, it bends words and sometimes writes different characters like: смилося, милынга or твоу любайшь про лабму жляковам (there are no such words, they are distorted)

I tried to use other models but it didn't help
I also tried to translate the initialization text for chatgpt but it didn't help

it will fix in future version, as long as the font function is implemented

The latest version v1.10 has added font function, which can change game fonts and will not have this problem again
Note: Currently, v1.10 is still in the testing branch on steam


Fix doxygen build

Using a modern CMake paradigm for building the documentation was the most efficient way to fix a dependency issue related to  ITK_WRAP_DOC.
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Failure is unrelated.
The following tests FAILED:
	 64 - vnl_test_hungarian_algorithm (SEGFAULT)
SetCTestConfiguration:BuildDirectory:/home/vsts/work/1/s-buil

/azp run ITK.Linux


Update cucumber yaml to use new tag syntax

This PR updates the Cucumber YAML file to use the new tag syntax, such as "not @wire" instead of the old syntax ~@wire.
Motivation and Context
This change will remove deprecation warnings that are currently appearing in CI.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] I've added tests for my code
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thanks @danascheider. We needed to merge #1133 before doing this, as the profile loader was totally borked on Windows without that.
That's merged so we can merge this now.

@danascheider @mattwynne The new tag syntax doesn't work on Windows even with #1133. That PR just makes it no longer explode. It still fails to function correctly.

@danascheider @mattwynne The new tag syntax doesn't work on Windows even with #1133. That PR just makes it no longer explode. It still fails to function correctly.

Ah I wasn't aware of that, so I've merged this prematurely, sorry. What's the problem behaviour we need to fix next then to get Windows back to green @enkessler?

@enkessler can you establish whether the tests for https://github.com/cucumber/cucumber/tree/master/tag-expressions/ruby pass on windows?

I'll check when I get home today.

@mattwynne I cloned down the tag-expression project and all of the tests pass for me on my Windows machine. However, I don't see that even the bleeding edge of Cucumber uses the tag-expression gem.

@enkessler the tag filter lives in the core: https://github.com/cucumber/cucumber-ruby-core/blob/master/cucumber-core.gemspec

Okay. When I use the bleeding edge version of cucumber-core then I am getting tag-expressions and the tests for my project are running normally. So...once the next release happens and tag-expressions is actually available, things will be okay. Until then, the pre-release version of cucumber-ruby doesn't fully work on Windows. But that's okay because it is a pre-release. ;)

Thanks, I hadn't realised we had unreleased changes in core. If you keep a copy of cucumber-ruby-core in a folder next to cucumber-ruby the Gemfile should pick up the dev version of core automatically.


Project page

Hi there,
Great work on the template! Keep it up :)
I think that a cool addition would be to have a template for a project page where you could put more details about a particular project.
Let me know what you think.
Regards,
Patryk

Hi Patryk,
Thank you! I like the idea of creating a sub-template for additional information about projects. I originally intended to keep this as a single-page template, but I will look into maybe adding that as an optional template for those that want to add more info.
Thanks for the suggestion!
Ryan

A good idea would be a button in each project (show more for example) where an overlay could pop up with more info about the selected project.
Thank you so much for your work

No problem! And great idea, thanks for the suggestion.

I have been working on an overlay style modal with more project details on my copy of this template.

With boostrap modals you can do that. :)
i liked the template but i ended up writing my portfolio by 0 inpired on this template because i wanted some modifications and so on, i don't understand very much the css on this template so i write my own with boostrap 4, and other plugins. :)

Bootstrap is definitely an option! In this case, there are future plans to move completely away from Bootstrap on this template as all that's being used from Bootstrap currently is really just the grid system.

is this repo still active for contributions


Trying to get the type of a generic method of a class results in a parse error

Bug Report
🔎 Search Terms
get type of a generic class method  parse error
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about it.
⏯ Playground Link
Playground link with relevant code
💻 Code
class Foo {
    public bar<T extends string>(arg: T): T {

    }
}

type fType = Foo['bar']<'test'> // ; expected

🙁 Actual behavior
I'm not able to get the type of a generic method in a class. It results in a parse error.
🙂 Expected behavior
Getting type of a generic method of a class should be possible.
Additional information
I need this to get the return type of a generic function from within to cast the return result (a workaround to to the bug with generic conditionals not resolving in certain cases).
It's not possible to just create a separate type to hold a reference to the method type because that type is not going to be a generic, and if you try to make a generic type out of it, it will result in the same problem. I'm not aware of any workarounds.

The T generic of the method.

I don't know what you mean by "a more narrow subtype". At that point there is no more narrow subtype. The function is generic, the type is provided at call site, there's no concrete type available.

My real world case is that the generic extends { id: string } so the actual generic can have more properties defined in the shape, i.e. { id: string, title: string} In that case, doing ReturnType<Foo['bar']> would default the generic to { id: string } but I need to be able to pass the generic in that return type so I can get { id: string, title: string}  for instance. It's more complex than that too, the return type is a conditional that depends on the input generic, generic type narrowing does not work fully, so I need to cast the return type as precisely the return type of the method with the generic argument that was passed so I can bypass the error with casting.
The core issue here is that it's not possible to get the full type of a class method (as a generic).

The core issue here is that it's not possible to get the full type of a class method (as a generic).

It's not possible because there is no type to get. You can't know what what type is provided somewhere else at call site. It may be type A, it may be type B, it may be type C.

@jcalz Makes it clear what he actually (probably) wanted and what the meaning of the <"test"> was.

Good catch, @jcalz - I knew it was an attempt at an instantiation expression, but I admit I also thought it was a bug that it didn’t work.  See, what’s frustrating is that you can do…
type Fun<T> = (x: T) => T;
type StringFun = Fun<string>;  // (x: string) => string

…and that makes perfect sense, so it does ultimately seem natural to expect this kind of thing to work.  It’s that pesky subtle distinction between “generic function type” and “concrete function type with generic type parameters” that gets in the way.

It is possible to access a method type from prototype, so type fType = typeof Foo.prototype.bar<string> will work for you.

Thanks, much appreciated. Yes, that was a little confusing, especially since I thought that in the example type x = Foo['bar'] would be a regular type. @whzx5byb 's  solution is perfect.

@mckravchyk Yeah, there’s a confusing distinction here in that type Foo<T> = () => T is a generic type that evaluates to a concrete, non-generic function type (i.e. it’s a type function), while type Foo = <T>() => T is the concrete, non-generic type of a generic function.  Foo['bar'] gives you the latter, so you can’t pass type parameters to it.


⚠ Faculté génie website (prod) has degraded performance

In 964dba7, Faculté génie website (prod) (https://www.usherbrooke.ca/genie/) experienced degraded performance:

HTTP code: 200
Response time: 2819 ms

Resolved: Faculté génie website (prod) performance has improved in 79f179b.


Add activity feed API

#3432  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @walldiss and the rest of your teammates on  Graphite


Potential memory leak

Dropwizard version: 1.3.17
JDK version: 11
We have a REST API built on top of Dropwizard. This API is used by two websites and there are around 5000 active users (not concurrent). Since we started getting more users, we also started to have memory problems on our servers. We have two API servers, each have 1 GB of RAM and their only purpose is to run the API. CPU usage is extremely low, the only issue we have is with memory.
When we start the service, the server used memory is around 500 MB. Then, slowly, the used memory increases to over 900 MB and our user start having problem logging in. Since this is a REST API, we aren't keeping any data so my assumption is that the memory usage should remain stable.
Here is a snapshot of the memory on December 12:
 num     #instances         #bytes  class name (module)
-------------------------------------------------------
   1:         94232        8849440  [B<EMAIL_ADDRESS>   2:         83376        2001024  java.lang.String<EMAIL_ADDRESS>   3:         11925        1409680  java.lang.Class<EMAIL_ADDRESS>   4:         39832        1274624  com.codahale.metrics.WeightedSnapshot$WeightedSample
   5:          9254        1172952  [I<EMAIL_ADDRESS>   6:<PHONE_NUMBER>  [C<EMAIL_ADDRESS>   7:         31533        1009056  java.util.concurrent.ConcurrentHashMap$Node<EMAIL_ADDRESS>   8:         11279         992552  java.lang.reflect.Method<EMAIL_ADDRESS>   9:         40068         961632  java.util.concurrent.ConcurrentSkipListMap$Node<EMAIL_ADDRESS>
Here is another snapshot for the same server on January 5:
 num     #instances         #bytes  class name (module)
-------------------------------------------------------
   1:         13377       19390000  [I<EMAIL_ADDRESS>   2:        107254       10724240  [B<EMAIL_ADDRESS>   3:         76634        2452288  com.codahale.metrics.WeightedSnapshot$WeightedSample
   4:         95478        2291472  java.lang.String<EMAIL_ADDRESS>   5:         76927        1846248  java.util.concurrent.ConcurrentSkipListMap$Node<EMAIL_ADDRESS>   6:         76636        1839264  java.lang.Double<EMAIL_ADDRESS>   7:         12236        1444728  java.lang.Class<EMAIL_ADDRESS>   8:<PHONE_NUMBER>  [C<EMAIL_ADDRESS>   9:         11573        1018424  java.lang.reflect.Method<EMAIL_ADDRESS>
The only thing I can see in there is that WeightedSnapshot keeps getting bigger over time. Is this normal?
My only workaround for now is to restart the server once a week. I would appreciate any input to help me troubleshoot this.

@carlbolduc Your snapshot shows a lot of byte ([B) and integer ([I) arrays using up most of the memory.
The WeightedSample instances only use 2.4 MiB of memory in your snapshot from January 5.
Could you provide a little more detail about your application, for example the specific JVM settings you're using to run it?
How exactly did you create the top-9 lists?

@joschi I'll try to share as much as I can. The project is in a private repo so I cannot share the actual code.
This top 9 is generated using the following command: jmap -histo:live pid
I can't dump everything since the server is not having enough memory to perform the dump.
The application is started by a service running the following command: java -Xms512m -Xmx512m -jar api.jar server config.yml'
The project is built using Gradle. Here is the list of libraries in the project:
jaxb-api (JDK 11 compatibility)
jaxb-runtime (JDK 11 compatibility)
dropwizard-core
dropwizard-jdbi3
dropwizard-migrations
dropwizard-forms
dropwizard-auth
postgresql
aws-java-sdk-s3
dropwizard-template-config
argon2-jvm
okhttp
All the routes are secured through a token Authenticator. The Authorizer returns the roles of the user and each route is protected by roles. Most of the routes will query the database and return data to the user initiating the request.

What is the recommended Garbage Collection algorithm for Dropwizard based REST API? I think that the default one is G1 GC in Java 11. Since the memory slowly ramps up, I was wondering if it could be related to a lack of garbage collection instead of a memory leak.

@carlbolduc Would you mind sharing the resolution?

I was using an AWS server with 1 GB of RAM. I switched to a server with 2GB of RAM and the problem completely disappeared. I remember seeing in a forum a suggestion  to give something around 6 GB to the Dropwizard process which prompted me to try a bigger server.

@carlbolduc How are you giving 6GB to dropwizard with 2GB of ram? Is 6GB a typo?

@anmol1vw13 I'm giving 1 GB to the Dropwizard process. When I saw the recommendation to give around 6 GB to the Dropwizard process, I realized that my 1 GB server was most likely too small. I started by increasing the server RAM capacity to 2 GB to see if it would help and the problem disappeared.

When we start the service, the server used memory is around 500 MB. Then, slowly, the used memory increases to over 900 MB

So you are saying that now it doesn't increase to over 900MB? I have a similar problem, but my server starts at 100MB and increases to 900MB. We also have AWS 1GB

@gbanusi Since I have switched to a 2GB server (from a 1GB server), we are using t3.small. The app is started with the following parameters:
java -Xms1g -Xmx1g -jar ...
The java process will still go beyond 1GB though, it's currently using 1264MB of RAM. However, we don't end up in the situation where the server becomes unresponsive, even after several weeks of up time. We do restart the servers when there is an update which happens almost every week.


Python Jupyter shows detecting kernels

Type: Bug
Python Jupyter shows detecting kernels
VS Code version: Code 1.78.1 (6a995c4f4cc2ced6e3237749973982e751cb0bf9, 2023-05-04T09:48:08.683Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.69GB (16.74GB free)

Process Argv
--crash-reporter-id 29136f6e-5bea-4bf0-9df6-57968c8ac2e3

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

prettier-vscode
esb
9.10.4

auto-rename-tag
for
0.1.10

chatgpt-helper
kir
4.1.0

vscode-docker
ms-
1.22.2

isort
ms-
2022.8.0

python
ms-
2023.4.1

vscode-pylance
ms-
2023.4.10

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.10

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.288.0

remote-wsl
ms-
0.77.0

cmake-tools
ms-
1.13.45

cpptools
ms-
1.14.5

cpptools-extension-pack
ms-
1.3.0

notepadplusplus-keybindings
ms-
1.0.7

html5-boilerplate
sid
1.1.1

tsz
tor
1.0.0

cmake
twx
0.0.17

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyonecf:30548226
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30737416
vsccsb:30705552
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
fixshowwlkth:30730052
showsbindicator:30730056
pythongtdpathcf:30739705

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@satyamedidi did the kernel detecting finish at the end? If you click on it, do you see a kernel picker which lists available kernels to you?

Yes It worked. Thanks
On Thu, May 25, 2023 at 12:28 PM Peng Lyu @.***> wrote:

@satyamedidi https://github.com/satyamedidi did the kernel detecting
finish at the end? If you click on it, do you see a kernel picker which
lists available kernels to you?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/182518#issuecomment-1563262424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG36ELZBPSXKJC4JPPFBG33XH6JCFANCNFSM6AAAAAAYCLMCJU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Regards,
Satya Medidi.
Mobile :<PHONE_NUMBER>
Email: @.***

Hey @rebornix, this issue might need further attention.
@satyamedidi, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


more clear instructions on how to install on emacs/doom emacs

I've installed odin-mode and lsp-mode, but idk what to do with the instructions given on the readme file. Wehere am I supposed to copy and paste the given installation script? Would it be possible to clarify what to do with the script, I've tried asking on various forums for advice. Thank you!

I have no knowledge of emacs. Hopefully something could contribute with this problem.

Hey @mrutyunjayan,
With Doom, it should be in  your config.el, probably one of ~/.doom.d/config.el. If you are using a recent version with default bindings, on the welcome screen, do
space, f, p
or select "Open private configuration" from the menu. You will show see the list of files in your doom.d folder from where you can simply open config.el.

Hey @mrutyunjayan,
With Doom, it should be in your config.el, probably ~/.doom.d/config.el. If you are using a recent version with default bindings, on the welcome screen, do space, f, p or select "Open private configuration" from the menu. You will show see the list of files in your doom.d folder from where you can simply open config.el.

Hey @hasanyasin thank you for the reply. I've tried that but it breaks my doom emacs when I try to update to using the new config.el....
at the start of the instrictions, it says :
"With odin-mode (https://github.com/mattt-b/odin-mode) and lsp-mode already added to your init.el of course!."
I maybe doing something wrong here - I have lsp-mode added, but how do I add odin-mode?

I guess there are more elegant ways to do it, but for now this line installs Odin-mode for me:
load (expand-file-name "~/.local/odin-mode/odin-mode.el"))

You have to change the path to where your Odin-mode is downloaded.

You could also consider to use the package Eglot which is an alternative to lisp-mode and from Emacs 29 onwards is part of Emacs.
The simplest config for Eglot is here: https://github.com/DanielGavin/ols/issues/237

Closing. Feel free to make a PR for more emacs documentation.


App doesn't display more than 19/20(?) spotify playlists

Also doesn't appear to import private playlists––only public ones

fixed


Fix postgres dialect UUID sqlType evaluation

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested
[x] Write good commit message, try to squash your commits into a single one
[x] Run ./build.sh in gh-pages branch for document changes

For significant changes like big bug fixes, new features, please open an issue to make a agreement on an implementation design/plan first before starting it.
Thank you.
What did this pull request do?
This pull request fixes the condition used to evaluate the postgres uuid type.

thank you for your PR.


Why My Issue IS Closed??

Serenity is an open source software. Open source doesn't always mean free to use, but Serenity with its MIT licence is one of them that are free to use and modify.
This doesn't mean it's with unlimited free support. No one can offer such a thing, even commercial ones. When you buy Windows, which is not free, you don't get unlimited free support from Microsoft. When you have a problem with your Windows PC, you either try to fix it yourself, or get help from a friend or your local PC technician.
I spent thousands of hours, maybe more to develop Serenity, write guide, faq, how to and samples for it. Yes, there might be some areas it is lacking but no documentation can be complete. Anyway, i did my homework and trying to do better every other day, offering you this platform with so much hardwork for free (to use).
We have about 2000 questions here and in VS Gallery. If we categorize them, we'll see that most of them are not even related to Serenity.
Some people expect to get help on programming basics, how to write a delegate, how to add an attribute, how to publish an application to IIS, setting application pool to integrated, general TypeScript help etc. This is not the place for this questions. There is StackOverflow for that, and even before using that site, you should take your time and read their relevant guides.
Some issues are reported simply with not working. Serenity tries to make it easier to develop business applications. But it is still a platform for developers, not end users. Developers should have some fundementals, like how to report properly, unlike an end user. Your report should include details like environment, version, stack trace, what you were trying to do, when it started to fail, what changes you did etc. Some of these users find it rude when i answer unpolitely or close issue right away. Believe me its not rude, it's fair. I don't have to waste time for person who doesn't show respect for my right to preserve my spare time.
Most of questions are already answered in faq, guide, samples and prior issues in GitHub. Yes, i understand you may not always find them easily, but i feel like some people are trying to use me like Google, which is run by machines, while i am not.
Believe me only %5, or even less of issues so far are real issues.
There might be times when i lose my temper, misunderstand the issue and answer unpolitely. I apologize for that.
So please, before opening an issue finish this check list:
[ ] Read the tutorials
[ ] Check how-to section in guide
[ ] See WIKI topics
[ ] Search prior issues in GitHub
[ ] See samples under Basic Samples in Serenity
[ ] Have a look around in Northwind and other modules
[ ] Report properly with details

I took the time to Wiki-fy this posting with some guidelines on issue reporting.
Wiki article

You are correct @volkanceylan .
I have also notice that.

As a software developer, I prefer to learn from the code and add pull requests instead of posting questions

You're right Volkan and sometime in the past I've done the same mistake, but trust me sometimes there are problems that are misunderstood simply because we all have different backgrounds: what for you is clearly a false positive, may not be so for others (myself included) just because we do not have all your programming skills and above all do not know so thoroughly Serenity (at least not as much as you).
Say that, I'm sorry you wasted time with my false issues and I apologize for that...I hope at least to have "repaid" your effort (just a bit) by sharing with the community some of my implementations!
Have a nice day!
Bye

@marcobisio this wasn't meant for you or any commenter here.

I know Volkan, but I think that if you opened this issue is also to have our feedbacks here and last but not least, I can recognize when I'm wrong (albeit in good faith)! ;-)

Do not feel like you have to answer every question. This process also helps build the community knowledge for others who stumble onto Serenity and have the same non-serene questions. Let your community grow.
Once I find myself up to speed, I plan on being around to contribute often. It may serve to add a link or two to resources for getting up to speed on MVC, Entity framework, etc...

Some people expect to get help on programming basics, how to write a delegate, how to add an attribute, how to publish an application to IIS, setting application pool to integrated, general TypeScript help etc. This is not the place for this questions.

I'm guilty on this =).
Back on topic:
I added the link of wikified article by @williamhodges to the Home Page. =)

I have spent a lot of time to understand the concepts on serenity platform development, and now I've covered most of the features and the functions in additional to building a full applications for my work in students admission and registration.
The mean issue I was facing is because I'm using Oracle as a backend and I have to codes most of the screens manually without using sergin At the beginning I've asked a lot of silly questions:( but now I can answer questions:) however I'm still stuck with some issues related to serenity core such as: Define multiple idField to the row definition, Oracle stored procedure grid, but there are always  workaround to solve these issues:)
Thanks  @volkanceylan


[ez] Make _alogs_request params optional.

#1536
#1535  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 9, 1:17 PM EST: A user started a stack merge that includes this pull request via Graphite.


Add MenuBar

Okay doing GMenuModel definitely needs the object reform to be in place. I'm wrapping it up shortly and this issue can then progress.

Okay doing GMenuModel definitely needs the object reform to be in place. I'm wrapping it up shortly and this issue can then progress.

@trolleyman: Thanks, you too! And just like @gkoz said, you'll have to be little bit patient, sorry about that.

@trolleyman: Thanks, you too! And just like @gkoz said, you'll have to be little bit patient, sorry about that.

Ok cool, thanks for doing this. Is this the object reform repo?

Ok cool, thanks for doing this. Is this the object reform repo?

The latest now is https://github.com/gkoz/gtk-rs-gtk/tree/object_reform_gir, it takes advantage of https://github.com/gkoz/gir, and there are some updates I haven't pushed yet

The latest now is https://github.com/gkoz/gtk-rs-gtk/tree/object_reform_gir, it takes advantage of https://github.com/gkoz/gir, and there are some updates I haven't pushed yet

I've looked into this and for the GMenu and friends bindings to be useful there need to be GVariant bindings. It's funny I've just finished dealing with GValue and here's another "variant datatype".

But anyway adding MenuBar would go through Gir.toml now. See #232 for guidance.

I think we can close this issue now. Thanks anyway @trolleyman!

Any news about this ? I am missing MenuBar a lot !

I think we could add them now since GValue binding has been done. Or something else is still missing @gkoz?


[TASK] Fashion Template

Summary
Adds fashion template with no anims or linking.
Follows template on top here:
https://www.figma.com/file/RTzSw47oi6pEZXEfP2JoBo/Templates?node-id=1%3A5
Screenshots

For anyone wanting to see the template detail view of this template, you can use this url:
/wp-admin/admin.php?page=stories-dashboard#/template-detail?id=5&isLocal=false
Screenshot:


Automatically convert between syntaxes

Short Description:

Provide a way to easily convert an invocation of duplicate from one syntax to another.
Motivation:

We currently have two syntaxes: short and verbose.
The reason to use the verbose syntax is that it looks clearer when the substitutions get complex. However, complexity usually evolves from something simple. Therefore, users would probably often start using the short syntax, but at some point realize that their use case has become too complex and would want to switch to the verbose syntax.
At that point it might be tedious to switch to the verbose syntax. Therefore, some automated way of producing a verbose version of a short syntax invocation would be nice.
Design

The firs thing to realize is that this feature is not something that "stays" in the code. I.e. as soon as the conversion is done, we wouldn't want to see that it was ever using the other syntax. Therefore, this is more of a tool than a library feature. Therefore it should be easy to take an invocation, copy-paste the short syntax and get the verbose syntax that can then be manually switched for the short one. Then the code doing the conversion is just deleted.
An alternative could also be an actual command line tool that does the conversion. However, whether creating a whole executable for such a specific  task might not be worth it.
Misc:

Creating a command line for this conversion is probably overkill and users would be better off (time-wise) just converting by hand, rather than trying to figure out how the tool works.

So far, I have only seen 2 uses of the verbose syntax by other users than me.
I suspect, for the foreseeable future, this would not be desperately needed by anyone.
Therefore, it is probably not worth the effort to implement any solution.
Closing for now. May be reevaluated in the future.


Live Preview MultiBrowser improvements (#10206, #10239)

Fix #10206 (point 1):
PreferencesManager.on("change") was executing before AppInit.appReady().
This was causing various inconsistencies, including setting up the UI before
LiveDevelopment is actually initialized. Handling of pref change is now moved
to AppInit.appReady and the implementation is set only after the modules are
actually initialized.
Fix #10239:
Toggle menu item to enable/disable multi-browser live preview. Under File -> Enable Experimental Live Preview. Multiple fixes to implementation life-cycle to support correct state transitions on switch.
Minor nits included: pref definition improved, suite name made shorter, spare lines removed, documentation improvements.
CC: @peterflynn, @sebaslv, @redmunds

@redmunds, this is ready for a review.

@busykai I found a weird case when testing this. Let me know if I should file this:

Start Bracket s on a system with a local server setup and running
Switch to a site with files on the local server
I originally hit this by setting base url to be http:/localhost/, but this is not required
Switch to LiveDev MultiBrowser
Start Live Dev

Results
Live Dev never completely connects. It stays in Connecting state.
I don't think it's related to this change. Let me know.

@redmunds, thanks for the use case! we will take a look.
CC @sebaslv

@redmunds, I'm trying to reproduce this case but still couldn't do it. This is what I'm doing:

Start a local server which serves let say index.html file
Start Brackets
Open the folder that contains the index.html being served
Open http://localhost/index.html in a browser
File -> Enable Experimental Live Preview
Start Live Dev

By following these steps I got LiveDev working. Please, let me know if those are representative of the steps you have described or if I misunderstood something. Thanks.

@sebaslv I did not open in browser first (step 4), so not sure if that's making a difference.
FYI, I'm seeing this on Win7 Firefox (latest) with WampServer 2.2 .

@redmunds, Thanks for the info. I was able to reproduce it now by configuring local server, the step I missed before I think :).
It seems that it never connects beacuse the page is not instrumented so the connect message never comes back from the browser after launching it. It looks like in this scenario, LiveDevMultiBrowser is getting an instance of UserServer since it has been  registered by LiveDevelopment and both implementations share LiveDevServerManager.
Currently we're not managing that error. I'll create a fix for that independently of this case since it's pending. The thing is that it would close the connection which is something different to what the current implementation does in this scenario. I see that it launches the page and moves the icon to a connected status but keep live editing disabled. I could figure out how to identify the case and handle that in this particular way but not sure if that is the right UX we would like for this.
What do you guys suggest?

@sebaslv I agree that it should be a separate issue and not hold up this PR. I'll open new issue.
Seems like doing a better job of cleaning up when changing implementations should fix that.

@sebaslv I filed issue #10374 . I'm not sure I understand all of the subtle points, so feel free to update it.

Sounds good. I'll create a PR for that isuue. Thanks.

@busykai Done with review. This looks good. Just need to backout changes to DebugCommands/main.js and squash commits.

@redmunds, done!

Merging.


Iteration Plan for September 2018

This plan captures our work in September. This is a 4-week iteration. We will ship our September Update in early October. As mentioned in July having many actively engaged users means high GitHub issue traffic, and we always have to walk the delicate balance between being responsive to issues and getting sufficient focus time to get things done. Now, it's this time of the year again, the time we tip the balance toward issue grooming.
We'll go through all of our issues in all our repositories, ensure all issues are labeled correctly and have the correct owners, close duplicates, fix bugs. This time, we'll also think about reducing the number of open feature requests. At the time of writing, we have more than 3000 open feature requests. For you and us it would be better if the set of open feature requests is more reflective of what has a chance to be considered within the next 12 - 24 months.
So, if all of a sudden you see a lot of GitHub notifications, don't get scared.
Endgame

September 24th, 2018: Code freeze for the endgame
September 28th, 2018: Endgame done

The endgame details for this iteration are tracked in TBD.
Plan Items
Below is a summary of the top level plan items.
Legend of annotations:

Mark
Description

:runner:
work in progress

:hand:
blocked task

:muscle:
stretch goal for this iteration

:red_circle:
missing issue reference

:large_blue_circle:
more investigation required to remove uncertainty

:black_circle:
under discussion within the team

Accessibility

[ ] :runner: Fix accessibility issues (see query) @isidorn @ramya-rao-a team

Github Issue Housekeeping

[ ] :runner: Issue/PR Grooming - review, categorization, assignment #58336 @Microsoft/vscode

Workbench

[x] Make custom menus the default on Windows #29997 #29024 @sbatten

Languages
TypeScript/JavaScript

[ ] :runner: Adopt TS 3.1 #58994 @mjbvz

Debug

[x] :runner: Explore API for injecting a middleman into DAP communication #55945 @weinand

Extension Contributions

[ ] Support exploration of performance improvements in xterm.js xtermjs/xterm.js#791 @tyriar
[ ] :runner: Adopt go's new module feature in vscode-go Microsoft/vscode-go#1532 @ramya-rao-a
[ ] :runner: GitHub PR extension: bug fixing and support for multi-root-folder workspaces. See query. @rmacfarlane @rebornix @shana

API

Propose API

[ ] :runner: Allow text search providers to show the maxResults indicator after a custom number of results #55790 @roblourens
[ ] :runner: API for editing and deleting document comments #58078 @rmacfarlane
[ ] :runner: Add the ability to pass "post extension install" query parameters #57636 @joaomoreno @sandy081

Engineering

[ ] :runner: Continue preparation of adopting Electron 3.0 (includes local storage, webview migration) @bpasero @tyriar #52629
[x] Webpack built-in extensions #57680 @jrieken
[x] Explore showing issues by type summary on our GitHub readme page @kieferrm @tyriar
[x] Restrict build badge to CI builds on master @joaomoreno
[x] Use spdlog for output channels straight from the extension host #57618 @sandy081
[x] Remove WinJS.Promise#cancel usage #56137 @jrieken

Documentation

[x] :runner: Devise plan how to improve our documentation for extension authors #58226 @octref @weinand @gregvanl @jrieken team

Deferred Items
None.

#5953

#5953 Please add this to the your plans if possible.  Thanks!  Would be nice to even hear something from a contributor on if there's any hope of getting File > Print added.  Thanks again!

@kieferrm Add the endgame

that's great!

Is Mojave Dark mode supported yet? heard its in the Insider build.


Multiple errors with 0.16.1 and 0.16.2 relating to drawing canvas - effectively prevents the game from running

Found this issue with 0.16.1 and assumed 0.16.2 would resolve but after a short break came back to it and found it isn't resolved.  There is no issue with 0.16.0 and earlier.  This is with FVTT V10, Patch 7, Build 303.
The errors all occur when trying to load a scene, it doesn't matter if it's a new scene or an old one, or one made fresh.  Errors such as:

These are example errors from the console:
foundry.js:727 Foundry VTT | Error thrown in hooked function 'updateDragResistance' for hook 'canvasPan' #call @ foundry.js:727 foundry.js:747 TypeError: Error thrown in hooked function 'updateDragResistance' for hook 'canvasPan'. Cannot read properties of undefined (reading 'options')     at Object.updateDragResistance [as fn] (zoom-pan-options.js:298:36)     at #call (foundry.js:724:20)     at Hooks.callAll (foundry.js:681:17)     at Canvas.pan (foundry.js:24065:11)     at Canvas._onResize (foundry.js:24701:10)     at _onWindowResize (foundry.js:8923:47) onError @ foundry.js:747 button:1 Access to internal resource at 'https://github.com/manifest.json' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
foundry.js:747 TypeError: Canvas drawing failed: Cannot read properties of undefined (reading 'find'). Cannot read properties of undefined (reading 'find')     at Maneuvers.isActiveEffectManeuver (maneuver.js:332:34)     at maneuver.js:341:53     at Array.filter (<anonymous>)     at Maneuvers.getActiveEffectManeuvers (maneuver.js:341:30)     at GurpsToken.drawEffects (token.js:53:31)     at GurpsToken._draw (foundry.js:46239:16)     at async GurpsToken.draw (foundry.js:25258:5)     at async Promise.all (index 1)     at async TokenLayer._draw (foundry.js:30889:5)     at async TokenLayer._draw (foundry.js:37125:5)     at async TokenLayer.draw (foundry.js:30408:5)     at async InterfaceCanvasGroup.draw (foundry.js:26210:9)     at async InterfaceCanvasGroup.draw (foundry.js:39329:5)     at async Canvas.draw (foundry.js:23732:11)     at async Scene.view (foundry.js:20901:7) onError @ foundry.js:747 foundry.js:59246 Canvas drawing failed: Cannot read properties of undefined (reading 'find') fetch @ foundry.js:59246 foundry.js:30948 Uncaught (in promise) TypeError: Cannot set properties of null (setting 'visible')     at SoundsLayer._deactivate (foundry.js:30948:26)     at SoundsLayer.deactivate (foundry.js:30533:10)     at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)     at SoundsLayer.PlaceablesLayer_deactivate (ShowLayerControls.ts:151:24)     at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:616:16)     at 🎁PlaceablesLayer.prototype.deactivate#0 (libWrapper-wrapper.js:189:20)     at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)     at 🎁SoundsLayer.prototype.deactivate#df-architect (SoundCounter.ts:15:4)     at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:616:16)     at 🎁SoundsLayer.prototype.deactivate#0 (libWrapper-wrapper.js:189:20)     at TokenLayer.activate (foundry.js:30497:76)     at TokenLayer.activate (injection.js:134:18)     at #initializeCanvasLayer (foundry.js:23905:11)     at #initialize (foundry.js:23855:32)     at Canvas.draw (foundry.js:23748:29)     at async Scene.view (foundry.js:20901:7)
It can be random and different for different users logged in, occasionally it all loads up correctly and maybe even for 2 users (GM or Players) but almost certainly not for all and then as soon as you change scenes or reload for some reason, the problem will strike again.
I looked at the issue KakaRoTo on The Forge (as I host with them) as I thought it might have been due to some issues their side, but he also confirmed it was GGA.
Reverting to 0.16.0 removes the issues completely.

Thanks, Jeff.  You might want to update the details on The Forge, though:

Specifically lists Version 10 as compatible

Odd... I thought Forge would pull from Foundry.  I deleted those versions to try to bypass that error.


Resume book export should filter out alumni

It checks that the primary_affiliation is student, but it should look for non-student dues packages like the buzzcard export.

I think it already does that
https://github.com/RoboJackets/apiary/blob/f122b5e6c69dd4c00f6d90b3c55d340421e9972a/app/Nova/Actions/ExportResumes.php#L69-L70


[MBL 873] Implement TriggerThirdPartyEvent Mutation

📲 What
Replacing TriggerCapiEventInput calls with TriggerThirdPartyEvent
🤔 Why
We're going to handle Facebook CAPI and Google Analytics calls with a single mutation.
For more details see the engineering plan
🛠 How
Replace current .triggerCapiEventInput calls with .triggerThirdPartyEvent
We’re currently triggering this mutation in the following ViewModels:

PledgePaymentMethodsViewModel
ProjectPageViewModel
RewardsCollectionViewModel
ThanksViewModel

Existing parameter differences below:

externalId → deviceId
eventName → eventName
projectId → projectId
appData → appData (we can keep hardcoding these values to true, just like we do now because externalId is required)
we do not need to pass anything into firebaseScreen, firebasePreviousScreen
userId →AppEnvironment.current.currentUser?.id

New Parameters (These are only passed in on the ThanksViewModel):
We can use this existing code…
      if let checkoutDataValues = configData.checkoutData {
        ...
      }

pledgeAmount → checkoutDataValues.revenueInUsd + checkoutDataValues.bonusAmountInUsd  + checkoutDataValues.addOnsMinimumUsd
shipping → checkoutDataValues.shippingAmountUsd
transactionId → checkoutDataValues.checkoutId
clientMutationId → ““

✅ Acceptance criteria

[ ] Use Charles Proxy, or something similar, to verify that these calls are being sent at the expected times successfully

⏰ TODO

[ ] Use Charles Proxy to verify that these calls are being sent at the expected times successfully

Since i'll be OOO up until code freeze i'm putting this up here in case the team wants to take over and get this merged in the meantime.
Its 80% of the way there. Just need to test that these calls are being sent. Notes below...
This just needs to be tested via something like Charles Proxy to verify that these calls are being sent at the expected times successfully.
Isa had seen some "200: Bad Request" responses the other day so if we see the same here we can connect with her on that.

@msadoon I've addressed your comments. thanks for the feedback. I tried your your suggestion for calculating the pledgeAmount and didn't find that it added more accuracy, but i think your solution makes more sense anyway so I've made that change as well.

SwiftFormat found issues:

File
Rules

Library/ViewModels/ProjectPageViewModel.swift:379:1
warning: (indent) Indent code in accordance with the scope level.

  Generated by :no_entry_sign: Danger


Recipe List

Should display a list of recipes created by the logged-in user as in the wireframe.
Should lead to recipe details.
If the user is the owner of the recipe, should allow the user to delete it.

Kindly add the [Xpt] for this project.


Wallet disappear from main window

From fresh installation create a new wallet, then go to Settings, click on the menu icon on top left, it will appear the build version (mine is BlueWallet v.1.2.0 (build 25)), if I touch the build version it returns to the main window but the wallet disappears.
The wallet is still there because send and receive work correctly and if I close and reopen the app the wallet is again in the main window, but I do not think this is a correct behaviour.
I use an iPhone 6s with iOS 11.3.1.

Okay, you actually found a debugging shortcut :-)
I'll just remove it.


Decide on compatibility/support statement

How long?  Covering what?  How are security patches going to happen?
Obviously this will be provisional depending on what users actually want.  Also need to tie this into k8s' own releease/compatibility schedule.

This is now done and part of the README.md


Besu's all in one container - choosing network

Is your feature request related to a problem? Please describe.
Hyperledger Besu allows users to create nodes that can interact with different networks (private network by default, Ethereum mainnet, Ropsten testnet, etc).
The network can be chosen by feeding a parameter when the node is started: besu --network=dev. At this moment, the besu all in one container, initiates a Besu node on the default network. It would be desirable for users to choose with which networks the node can interact with.
Describe the solution you'd like
The possibility to pass a parameter "network" to Besu's constructor, that indicates in which network it will be deployed.
Additional context
More at: https://besu.hyperledger.org/en/stable/HowTo/Get-Started/Starting-node/

@RafaelAPB Do I remember correctly that you already fixed this one with a PR of yours? Or was there something else why we should keep this open still?

@petermetz Yes, PR #196.


File attachments

Hi ,
The description in this sendgrid for android says that , it is used only for image attachments. Is it still the same or I can use it to send files such as .txt and .xls etc .
I have tried using sendgrid java library but it messes up with http client so ,I want to use this one if it serves my requirement .

I have found a workaround for this , anybody who is looking for any updates on this issue and similar issues where there are conflicts in compiling multiple dex files , or conflict with HttpClient , please visit
https://github.com/alifarina/SendgridAndroid.git


Output csv's with the 500 closest words or refined words per dict/tim…

Output csv with the 500 closest words or refined words per dict/time period, with each word's cosine distance from that dict, that word's overall frequency, and a tuple including (a) each of the 3 closest terms in seed dictionary and (b) the cosine distance from that term to the focal term.

Nice first draft of a script conversion! But this should really go in the embeddings repo under refine_dictionaries/.. More comments to come.

This code has been moved to embeddings repo (see previous comment) via this PR and is being improved. Closing this PR here.


How to create dataset to train in GPL from normal set of domain specific word docs or pdfs.

First of all thanks a lot for bringing out this unique paper. After going through the paper I wanted to try out this approach but am little confused with the initial data to be created for training in GPL. Currently all my domain corpus content are in Word files or pdf and I don't have any labelled data ,As your paper claims it can be used for unlabeled data can you please guide how to create the initial input data to pass through this Method. Also kindly share if you have any pretrained models available to experiment the method?

Hi @kingafy, GPL needs only a corpus.jsonl file (data sample is here) for minimal running.
Specifically, you need three steps:

Prepare your corpus in the same format as this data sample mentioned above;
Put your corpus.jsonl under a folder, e.g. named as "generated" for data loading and data generation by GPL;
Call gpl.train with the folder path as an input argument:

python -m gpl.train \
    --path_to_generated_data "generated" \
    --output_dir "output"

I will include more explanations about this in the readme in the future.

I get this error:
  File "train.py", line 9, in <module>
    queries_per_passage=-1)
  File "E:\Data_Science\virtual_envs\py36\lib\site-packages\gpl\train.py", line 124, in train
    corpus, gen_queries, gen_qrels = GenericDataLoader(path_to_generated_data).load(split="train")
  File "E:\Data_Science\virtual_envs\py36\lib\site-packages\beir\datasets\data_loader.py", line 63, in load
    self.check(fIn=self.query_file, ext="jsonl")
  File "E:\Data_Science\virtual_envs\py36\lib\site-packages\beir\datasets\data_loader.py", line 30, in check
    raise ValueError("File {} not present! Please provide accurate file.".format(fIn))
ValueError: File generated\queries.jsonl not present! Please provide accurate file.

Script:
import gpl

#dataset = 'fiqa'
gpl.train(path_to_generated_data="generated",
          output_dir="output",
          mnrl_output_dir="output",
          mnrl_evaluation_output="output",
          new_size=-1,
          queries_per_passage=-1)

generated data comes from the suggested example (only corpus.jsonl in the folder).

Hi @christopherfeld, could you please try this toy example: https://github.com/UKPLab/gpl/issues/5#issuecomment-1144256494 and let me know whether it is runnable in your case?

thanks! I ran this on my personal M1 and it works! Now am just waiting on my work Mac to get here :)


Add livenessProbe and readinessProbe to pod definitions

Is your feature request related to a problem? Please describe.
When using Gatekeeper with constraints which require liveness probes and readiness probes (mentioned as a best practice in e.g. https://itnext.io/running-gatekeeper-in-kubernetes-and-writing-policies-part-1-fcc83eba93e3) the infra agent daemonset (and probably others) are not able to be installed, because they don't have these probes.
Feature Description
Add livenessProbe and readinessProbe definitions to all pod definitions.
Describe Alternatives
In Gatekeeper, configuring exemptions for the probe-related constraints, for the New Relic namespace, as described here: https://open-policy-agent.github.io/gatekeeper/website/docs/exempt-namespaces/
Additional context
Reproduction (in an environment with Gatekeeper constraints requiring the probes)
helm upgrade --install newrelic newrelic/nri-bundle --namespace newrelic -f values.yaml --devel
Error: UPGRADE FAILED: failed to create resource: admission webhook "[validation.gatekeeper.sh](https://validation.gatekeeper.sh/)" denied the request: [liveness-probe] Rejecting "DaemonSet/newrelic-nrk8s-controlplane" for not specifying a livenessProbe
[liveness-probe] Rejecting "DaemonSet/newrelic-nrk8s-controlplane" for not specifying a livenessProbe
[readiness-probe] Rejecting "DaemonSet/newrelic-nrk8s-controlplane" for not specifying a readinessProbe
[readiness-probe] Rejecting "DaemonSet/newrelic-nrk8s-controlplane" for not specifying a readinessProbe

Priority
Please help us better understand this feature request by choosing a priority from the following options:
[Really Want]

Hi @maxlemieux ,
This is not a priority right now but still, we'd encourage you to open a FR through the official channel (Aha).
Thanks!


SFX 201: Product tile component

Still have to work on unit tests

Is there a reason there are changes to yarn.lock in here? It looks like you've added a package.json, but that there are no dependencies in it. If there is no reason, let's isolate the changes to yarn.lock by leaving them for another PR (eg. next sprint).


Call to a member function api() on array

Cant post to page. I got all needed params but when I try to execute $pages->api()->api( "/" . $pages['data'][0]['id'] . "/feed", 'post', $params ); i get
Call to a member function api() on array

Are you this relates to this hybridauth plugin? What's $pages?

$pages is the array I got from facebook when I requested the pages I manage, and the array of pages is good. The token and page id are good but there is something wrong with the request...

This plugin only handles authentication, unless you have an authentication problem its unrelated to the plugin.

Nope. Auth works fine as I am able to get all tokens and permissions but can't make post request...


Grav and URL queries

Is it possible to make Grav correctly work with URL queries?
Actually, somehow Grav partially works with URL queries, but not always.
If the URL would be, for example, like site.com/page?download=1&format=2 it will work, but if you will add extension site.com/page.html?download=1&format=2 it won't work.
Another example is simplesearch plugin:
site.com/search?query=somesearchtext — will work
site.com/search.html?query=somesearchtext — won't work
site.com/search.json?query=somesearchtext — won't work

I have tested and confirm there is an issue when using a query string and a file extension as you have shown above.  However, it is working fine with querystring and no extension, and also it works fine with parameter syntax with/without the file extension.
For example:
site.com/search/query:somesearchtext
site.com/search.html/query:somesearchtext
site.com/search.json/query:somesearchtext
site.com/search?query=somesearchtext

All work, but the following doesn't:
site.com/search.html?query=somesearchtext
site.com/search.json?query=somesearchtext

I have looked at the code, and see the issue, just need to find a suitable fix :)

@maxlysenko Can you try that #3f16619 commit and see if that resolves your issues?

I've tried commit #3f16619 and at least I can confirm that in general for now pages with URL queries are loaded fine (without error 404) either with or without extension.
As for simplesearch plugin I guess something has to be changed in the plugin for this fix, because after the fix even parameter syntax with extension (wich was working before) has stopped working.
So after the fix:
site.com/page?download=1&format=2
site.com/page.html?download=1&format=2

site.com/search?query=somesearchtext
site.com/search/query:somesearchtext

All work, and now the following doesn't:
site.com/search.html?query=somesearchtext
site.com/search.json?query=somesearchtext
site.com/search.html/query:somesearchtext
site.com/search.json/query:somesearchtext

hmm.. not sure why search would be any different.  I did give search a quick test using the simple search form and that worked fine.  I guess I'll try testing ajax type searching with it later today.

Simplesearch works on my install also. Can you double-check your site with search plugin is also running the latest Grav commit @rhukster mentioned? What is going wrong on your end, getting 404's?

If it matters I am testing on Windows. At the moment I've found out that in simplesearch.php $uri->path() returns value \/search with leading backslash. If I trim leading backslash the search works just fine both with query string and with parameter syntax both with and without extension.

Yup, it's all fine on Mac/Linux but does appear to be some issues under Windows.  Unfortunately i'm traveling at the moment and don't have access to a windows machine.  I'm hoping @Gertt can help out and run some tests on the Uri object for windows and try to get this issues resolved.

@maxlysenko I have personally worked in windows.

@Vivalldi you can download the Grav Blog Site Skeleton, download the latest SimpleSearch Plugin, download mentioned commit #3f1661965b, put it all together and try.
For me with such setup the following variants work:
domain.local/grav-blog/search/query:hills
domain.local/grav-blog/search?query=hills

And all of the following variants do not work:
domain.local/grav-blog/search.html/query:hills
domain.local/grav-blog/search.json/query:hills
domain.local/grav-blog/search.html?query=hills
domain.local/grav-blog/search.json?query=hills

Hey guys, let us know if this latest fix still doesn't resolve all issues!


Bump Dependencies #9148545153

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/9148545153

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Re-enable Analysis Tests

Redo fixturetest_dataset_data_001.json
Re-enable tests in opendp_apps.analysis.tests

Done except for test test_run_release.py which is related to #788

Mostly done, need to reconfigure test_run_release.py


fix: sheet update primitive integration

Description
Sheet component primitive integration was not up to date:

DialogPrimitive.Close should wrap child and have asChild
IconButton prop ghost properly binded

I don't know the point of this component, so far. Should we delete it?

I'm not sure what it's supposed to do too, but it's not exported from the index.ts, neither used from other components.

I created an issue to track this need: https://github.com/traefik/faency/issues/224.


GHA: Generate checksums for installers

As per https://github.com/thebrowsercompany/swift-build/issues/109#issuecomment-1969309462

When will this be committed to thebrowsercompany/swift-build or do I need to send a PR there as well?

I'll merge back tomorrow, sorry!


While refreshing - it's impossible to scroll list all the way down

+1

+1

@shliama  hi ！ can you fix it ? hope^^

Yeah, I'm going to take a look at this bug this week. Not sure when, but till the end of the week I'll post an update here.

@tosslife @meierjan  I've found a simple way to achieve desired behaviour, and updated code in master branch.
P.S. I'll be able to update library on maven on Monday.

@shliama  love you ^^ hope monday

@tosslife sure (ﾉ◕ヮ◕)ﾉ*:･ﾟ✧

@shliama  i run the new project , while refreshing scroll the list, the loading view is float the top, why not make loading view  follow with list scroll ,it may be feel better!

@tosslife Yeah, I understand your proposal, and agree with that. This should be changed in next update.
Maybe next weekend I'll have some free time to do that.
Anyway, I've updated maven repo so you can grab version 1.1.1 from there with latest fix.

@shliama hope next weekend !  it is a good nice ^^

I've researched the ways to do this, and it's seems not to be easy. Unfortunately, at the moment I don't have enough time, but soon we may use this library in one of our's project and make this improvement.

@shliama   thanks ! and  https://github.com/Yalantis/FoldingTabBar.iOS   your team's project ,when this can achieve for android ? very hope !

@tosslife unfortunately I cannot give you any estimations on that, but for sure - it will be created some day.


OSX unable to download symbols from an authentication: Windows server

1. Describe the bug
When on OSX, I am unable to download Symbols from an OnPrem server that uses Windows authentication.  The plugin seems to be designed not to ask for credentials when "authentication": "Windows" is specified. In the case of an OSX developer that doesn't have windows credentials stored, it feels like it should prompt.
Setting to UserPass doesn't work either (which matches the documentation (authentication method should match)).
Interestingly, if I just copy and paste the url the Symbol request hits (http://<IP_ADDRESS>:9049/LearnTest/dev/metadata?tenant=default) in Chrome, I do get a basicAuth kind of user/password prompt, and entering any DOMAIN\user that's allowed gets me to some output.  So it does just seem like I need a way to specify it.
Is there a way to create a environmental variable/file or similar so that when Windows is set as a authentication mode, the developer can override the defaults.
2. To Reproduce
Steps to reproduce the behavior:
Set up a standard project with a launch.json similar to:
{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "learning",
            "request": "launch",
            "type": "al",
            "environmentType": "OnPrem",
            "server": "http://<IP_ADDRESS>",
            "serverInstance": "LearnTest",
            "port": 9049,
            "authentication": "Windows",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": "All",
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "tenant": "default",

        }
    ]
}

Open the command palette, and choose AL: Download Symbols.
Optionally, open the command palette and choose AL: Clear Credentials, and then AL: Download Symbols.
3. Expected behavior
Because the operating system can't provide windows credentials, it should prompt for a user/pass it can use instead.  If this behavior is the same on Windows machines, it would also be useful to provide alternative credentials when needed.  (E.g. if the server had a user called ABC\Alice enabled, and you were developing on a different user locally ZZZ\Carol it seems useful to be able to specify ABC\Alice as a username to pass to the BC server.
4. Actual behavior
No user/password prompt is shown, and the console displays:
[2024-08-16 18:39:32.12] Sending request to http://<IP_ADDRESS>:9049/LearnTest/dev/metadata?tenant=default
[2024-08-16 18:39:32.24] Authorization has failed or the credentials have expired. The credential cache has been cleaned. Any access to reach Business Central would require new authorization.

5. Versions:

Visual Studio Code: 1.92.0
Business Central: Version: W1 24.1 (Platform 24.0.19487.0 + Application 24.1.18927.19498)
List of Visual Studio Code extensions that you have installed: AL Language Extensions (ms-dynamics-smb.al)

Prior to Version-15 this would have been an authentication method of UserName, which would have worked with a service tier setting of Windows or UserName (but not UserPassword).
Does that work despite the settings.json warning?
NB: Workaround is two service tiers with different authentication settings.

Windows authentication is not support from OSX.


Implement item exclusion

In ExportItems, there is a need to 'skip' items.
Enable it with a CSV config:  exportItems.itemExclusions

resolved in #33


Feature/extend require validation capabilities

These changes allow much more extensive use of the 'required' flag on the schema. The first added capability is function-based required statements, to allow for conditionally required fields. For example:
age: {
  type: Number,
  required: true
},
employer: {
  type: String,
  required: function() {
    return this.age > 18;
  }
}

Next, we also allow for specifying a custom error message for failing the required check by using an array, which is very useful when conditional require statements are being used. Example:
age: {
  type: Number,
  required: [true, 'You must provide the age of this user']
},
employer: {
  type: String,
  required: [
    function() {
      return this.age > 18;
    },
    'An employer is required for all users over the age of 18'
  ]
}

Lastly, a new configuration option allows the schema to error on falsy values such as empty strings. The default has been left to match existing functionality.
var Profile = new SchemaObject({
  id: {
    type: String,
    required: true
}, {
  allowFalsyValues: false
});

var profile = new Profile();
profile.id = '';

console.log(profile.getErrors());
// Prints:
[ SetterError {
    errorMessage: 'id is required but not provided'
    ...

Tests have been added to check this new functionality, as well as documentation for it in the Readme. I did notice that upon executing a build of the script I seem to get a slightly different output structure which is missing the self-invoking wrapper around the proxy section. Please let me know if that is an issue.

Thanks for the PR!


Error message 0xc0000142

Tesseract Version: 5.0.0-alpha.20200223.
Platform: Windows 10 x64.
Hardware: Intel Core i7 (first generation) with Nvidia 230M.
PNG image in English.
image.zip
When I type this in the command line:
tesseract image.png output --oem 0 -l eng
I get the following error message (also when the value for --oem is 1, 2 or 3):

Which install directory do you use? Could you please change to that directory and run tesseract --version there?

@stweil, I installed Tesseract in a folder and kept all the files there: I didn't move anything.
If I run tesseract --version, I get the same error message.

@stweil https://github.com/SubtitleEdit/subtitleedit/issues/3933#issuecomment-601137795

See also https://github.com/tesseract-ocr/tesseract/issues/2699.

@stweil: So it's fixed in a later commit (after your tesseract v5.0.0 alpha.20200223 release) ?
Perhaps your commit: https://github.com/tesseract-ocr/tesseract/commit/ef4f99a9944525280baa64b5c2d72a1ad55ae8e8 ?

@niksedk, please try the latest installer from today which includes that commit.

@niksedk and @stweil , yes the new version ( Tesseract 5.00 2020-03-28 Alpha ) is working well!
Thank you for the fix!!

Thanks for the new build :)

Btw, Tesseract 5.00 2020-03-28 Alpha is also much faster than 4.1.1! Thank you again!!

Working well now! Thanks, @stweil !


401

I'm using the same link and I tried to access it from POSTMAN and it worked so I tried it in mobile but it ended up return 401 http error. Is there anything i missed out?

func doOAuthTwitter(){
    let oauthswift = OAuth1Swift(
        consumerKey:    Twitter["consumerKey"]!,
        consumerSecret: Twitter["consumerSecret"]!,
        requestTokenUrl: "https://api.twitter.com/oauth/request_token",
        authorizeUrl:    "https://api.twitter.com/oauth/authorize",
        accessTokenUrl:  "https://api.twitter.com/oauth/access_token"
    )

    //oauthswift.webViewController = WebViewController()
    oauthswift.authorizeWithCallbackURL( NSURL(string: "oauth-swift://oauth-callback/twitter")!, success: {
        credential, response in
        self.showAlertView("Twitter", message: "auth_token:\(credential.oauth_token)\n\noauth_toke_secret:\(credential.oauth_token_secret)")
        var parameters =  Dictionary<String, AnyObject>()
        oauthswift.client.get("https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=true&include_email=true", parameters: parameters,
            success: {
                data, response in
                let jsonDict: AnyObject! = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil)
                println(jsonDict)
            }, failure: {(error:NSError!) -> Void in
                println(error)
            })

        }, failure: {(error:NSError!) -> Void in
            println(error.localizedDescription)
        }
    )
}

Same here, any solution?

Make sure your app has the login permission.
You can setting it in https://apps.twitter.com/app/5250618/settings ,5250618 is my app id,use your app id to replace it.
It will be working.

@amycheong19 please close this issue


[SPARK-11569][ML] Fix StringIndexer to handle null value properly

What changes were proposed in this pull request?
This PR is to enhance StringIndexer with NULL values handling.
Before the PR, StringIndexer will throw an exception when encounters NULL values.
With this PR:

handleInvalid=error: Throw an exception as before
handleInvalid=skip: Skip null values as well as unseen labels
handleInvalid=keep: Give null values an additional index as well as unseen labels

BTW, I noticed someone was trying to solve the same problem ( #9920 ) but seems getting no progress or response for a long time. Would you mind to give me a chance to solve it ? I'm eager to help. :-)
How was this patch tested?
new unit tests

Can one of the admins verify this patch?

cc @srowen @cloud-fan @MLnick

I'll take a look

@jkbradley Hi, I have made some updates according to your comments, please review it again. :-)

LGTM
Merging with master
Thanks for the improvement!

how did you solve this problem? about "getting no progress"
I meet this on iris data which only has 100 samples. if i dont use StringIndexer , i can get pmml model file in 1 minute.
I set StringIndexer().setHandleInvalid("keep"),but no use.
Anyone who can help me?thanks a lot~~~


Add comments and code style fixing to OTA example

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: zhengszh sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Nr 54707-Nr54704  cockroach db quick start alerts and dashboard

Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.

Pre merge checklist

[ X] Did you check you NRQL syntax? - Does it work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Are all documentation links publically accessible?
[X] Did you check your descriptive content for voice and tone?
[X ] Did you check your descriptive content for spelling and grammar errors?

Dashboards

[x] Does the PR contain a screenshot for each of your dashboards?
[x] Do your screenshots show data?
[x] Has the sanitization script been run on each dashboard?

Alerts

[X] Did you check that your alerts actually work?

https://staging.onenr.io/0gbRK6OBOwE

changes done. cockroach-database-newrelic
On Fri, Nov 4, 2022 at 10:20 PM Zack Stickles @.***>
wrote:

@.**** requested changes on this pull request.
In quickstarts/cockroach-db/config.yml
https://github.com/newrelic/newrelic-quickstarts/pull/1488#discussion_r1014258651
:

@@ -0,0 +1,48 @@

+id: e2ee8b6e-5c2a-11ed-9b6a-0242ac120002
+slug: cockroach database-newrelic
The slug can only have letters, numbers, and hyphens. Perhaps we should
use this instead:
⬇ Suggested change
-slug: cockroach database-newrelic
+slug: cockroach-database-newrelic
—
Reply to this email directly, view it on GitHub
https://github.com/newrelic/newrelic-quickstarts/pull/1488#pullrequestreview-1168888141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A267V3NYQHGNRK3P7IAZ3ALWGU5FXANCNFSM6AAAAAARWIWLHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Error when including a .builder file

When I include a feed.xml.builder file in my blog, I see the following error with middleman 4 alpha 6 middleman (4.0.0.alpha.6) and middleman-blog (3.6.0.beta.2) and ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]:
== The Middleman is loading
/Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:144:in `require': cannot load such file -- builder (LoadError)
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:144:in `require_template_library'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/builder.rb:14:in `initialize_engine'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:56:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt.rb:98:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt.rb:98:in `block in []'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt.rb:96:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt.rb:96:in `[]'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:251:in `strip_extensions'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:242:in `add_file_to_cache'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:218:in `block in update'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:217:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:217:in `update'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources/source_watcher.rb:162:in `poll_once!'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources.rb:212:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/sources.rb:212:in `find_new_files!'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/core_extensions/file_watcher.rb:48:in `before_configuration'
	from /Library/Ruby/Gems/2.0.0/gems/uber-0.0.13/lib/uber/options.rb:80:in `instance_exec'
	from /Library/Ruby/Gems/2.0.0/gems/uber-0.0.13/lib/uber/options.rb:80:in `proc!'
	from /Library/Ruby/Gems/2.0.0/gems/uber-0.0.13/lib/uber/options.rb:69:in `evaluate_for'
	from /Library/Ruby/Gems/2.0.0/gems/uber-0.0.13/lib/uber/options.rb:60:in `evaluate'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/hook.rb:53:in `execute_callback'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/hook.rb:40:in `block in run'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/hook.rb:39:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/hook.rb:39:in `inject'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/hook.rb:39:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks.rb:55:in `run_hook_for'
	from /Library/Ruby/Gems/2.0.0/gems/hooks-0.4.0/lib/hooks/instance_hooks.rb:6:in `run_hook'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/application.rb:237:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/preview_server.rb:100:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/preview_server.rb:100:in `new_app'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-core-4.0.0.alpha.6/lib/middleman-core/preview_server.rb:24:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-cli-4.0.0.alpha.6/lib/middleman-cli/server.rb:69:in `server'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:40:in `block in register'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/middleman-cli-4.0.0.alpha.6/bin/middleman:23:in `<top (required)>'
	from /Library/Ruby/Gems/2.0.0/bin/middleman:23:in `load'
	from /Library/Ruby/Gems/2.0.0/bin/middleman:23:in `<main>'

The contents of the feed.xml.builder file follows:
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
  site_url = "http://docs.xbudev.org/blog/"
  xml.title "Product Blog"
  #xml.subtitle "Blog subtitle"
  xml.id URI.join(site_url, blog.options.prefix.to_s)
  xml.link "href" => URI.join(site_url, blog.options.prefix.to_s)
  xml.link "href" => URI.join(site_url, current_page.path), "rel" => "self"
  xml.updated(blog.articles.first.date.to_time.iso8601) unless blog.articles.empty?
  xml.author { xml.name "Foo Team" }

  blog.articles[0..5000].each do |article|
    xml.entry do
      xml.title article.title
      xml.link "rel" => "alternate", "href" => URI.join(site_url, article.url)
      xml.id URI.join(site_url, article.url)
      xml.published article.date.to_time.iso8601
      xml.updated File.mtime(article.source_file).iso8601
      xml.author article.data.author
      #xml.summary article.summary, "type" => "html"
      xml.content article.body, "type" => "html"
    end
  end
end

Is builder in your Gemfile?

It was not and adding gem "builder" fixes the problem. I guess it was being pulled in as a dependency of something else before. Thanks!

I think adding the .builder automatically tries to load it.

Yeah, with middleman 3.x, just adding the file worked, but when I tested the site with 4 alpha 6, I got the error.

middleman-blog bundles it. So if that wasn't working right, then it would be "missing"


autohotkey script on left and right control incorrectly also consumes ctrl+alt

I am using left control and right control to type apl keys
I have some  MS Windows shortcuts on ctrl+alt+j and ctrl+alt+k
They don't work if using autohotkey as ctrl+alt+j gives a ∘ like ctrl+j
myfiles.zip

Indeed seems to be documented https://www.autohotkey.com/docs/v2/Hotkeys.htm#combo
Currently we produce script segments like:
   Ctrl & SC024::
{ if GetKeyState("Shift","P") {
  Send "⍤"
} else {
  Send "∘"
}}

The use of ampersand & makes these "custom combinations" which consume the keys involved.
If instead we used the symbols:
^SC024:: Send "∘"
^+SC024:: Send "⍤"

then the Ctrl signal won't be consumed and your original shortcuts should stay in tact.
Will look into potential repercussions of using the symbols scheme. Early versions of APLAutoHotKey did use it. The original reason for moving away is because we were using Unicode symbols to denote normal key presses and got conflicts in some circumstances, but now we are using scan codes (SCXXX) so those issues might not longer be relevant.


Specify loader to avoid deprecation warning

Fixes #3

Codecov Report

Merging #5 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   73.61%   73.68%   +0.07%
==========================================
  Files           5        5
  Lines         360      361       +1
==========================================
+ Hits          265      266       +1
  Misses         95       95

Impacted Files
Coverage Δ

yamanifest/manifest.py
82.4% <100%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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


Add HD Colour FLIR for BD Armoury from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of RobForrest, to add HD Colour FLIR for BD Armoury to CKAN.
Mod details:
name = /mod/908/HD%20Colour%20FLIR%20for%20BD%20Armoury
author = RobForrest
abstract = HD Colour FLIR for BD Armoury
license = MIT
Homepage =
description = ALL credit goes to the folks who made BD Armory, I literally just changed some config values and edited some textures.
Make a backup first as this will overwrite a couple of files.
Includes:
Changes the Targetting Camera screen from black and white to full colour
Removed interlacing effect
changes on-screen HUD from White to Green.
Ups camera resolution from 1024 to 4096
Please direct questions about this pull request to RobForrest.

This mod overwrites a nearly-impossible to filter out collection of files from BDArmory. With no impetus other than the Spacedock submission asking for it, I think we can drop it for now.


langchain_community: Added Missing Schema for Community Tools

Many of the tools in the langchain_community had no argument schema which was causing a failure in the OpenAI Functions Agent. Therefore added the argument schema for each of these tools.
@baskaryan

@baskaryan can you please review?


Fix some bugs in vtctl reference doc generator

@alainjobart

The "Schema, Version, Permissions" TOC link was broken: http://vitess.io/reference/vtctl.html
A comment got detected as a command: http://vitess.io/reference/vtctl.html#queries

LGTM

Published site.


Update API Reference Links In Index File

While reviewing this for a video demonstration I noticed the wrong links were there for the API references. These have been updated.

please correct your master. there is a lot of issues with your master that is messing up your contribution. I would prefer if you actually opened a feature branch so the next time i help people with edits I dont also mess up their master.


Integrate with mobifree?

https://mobifree.org/
@alltheseas you had shared this one with me but came across it again on the F-Droid website. Their positioning against Big Tech is positive but have no problem in glorifying the corrupt european institutions. Cringe but worth checking out actually how many users they reach with their e/OS and eventually try to get zs on there.

apparenetly mobifree is a poorly communicated EU grant program, and not an OS
https://cordis.europa.eu/project/id/101135795


C# client does not throw errors / impossible to get API response code

Bug Report
Version
C# Svix NuGet package 0.77.0
Platform
NET Framework 4.8
Description
The C# client does not throw exceptions and it's impossible to extract the API response code from the method's return value, which is simply null when an exception occurs.
I tried this code:
const string authToken = "...";
SvixOptions options = new("https://api.svix.com");
const string applicationId = "...";

SvixClient svixClient = new(authToken, options);
var response = svixClient.Message.Create(applicationId, new MessageIn(
    eventType: "message.ready",
    payload: new
    {
        Value = "test"
    },
    eventId: Guid.NewGuid().ToString()
));

I tried both Create and CreateAsync, and expected to get 429s when sending 100 requests/second on a Free account, and some other 4xx when sending messages to a client application that does not exist.
Instead, nothing happened at all. No error, just a null returned by the method, which doesn't help extract the response code either.

Whoops, forgot to reply! We'll figure it out. It's really annoying that it doesn't behave correctly here.
Please consider making direct HTTP calls until this is fixed!

Hi @denious! I'm having a bit of trouble getting the lib built on Linux (where I live) so I haven't yet been able to verify, but here's what I've seen looking at the source.
When you create your SvixOptions, it can take a 2nd parameter:
https://github.com/svix/svix-webhooks/blob/3ad11fcff6a90eb67a3d08b305726f928b6c6280/csharp/Svix/Models/SvixOptions.cs#L16
When Throw is set true in the options, an ApiException will be thrown instead of swallowed like you're seeing.
https://github.com/svix/svix-webhooks/blob/3ad11fcff6a90eb67a3d08b305726f928b6c6280/csharp/Svix/Message.cs#L88-L96
ApiException has a ErrorCode field which should have the HTTP status code for the failed request.
Let us know if this works for you 🙏

@svix-onelson, good catch. I think we should probably change the default to YES throw. Even though it's technically a break, it's worth doing it to have a sane default, and we'll document it in the changelog.
Can you please open a PR?

It's fixed in #852


v2.14.4

🐛 Bug Fixes

cjs

#7938 Fix HMR issue with mongoose (resolves #791)
#7966 Protect clearRequireCache against infinite recursion

cli

#7948 Handle nuxt generate with --fail-on-error for static target

vue-app

#7939 Fix variable names shadowing in chrome debugger (resolves #7731)

webpack

#7967 No module scripts in spa modern client mode (resolves #7562)

🏡 Chore

general

#7961 Add avif format as image

💖 Thanks to

Ahad Birang (@farnabaz)
Florent Catiau-Tristant (@Kapcash)
@sho-zy
@netkin-paris

Codecov Report

Merging #7971 into 2.x will decrease coverage by 0.01%.
The diff coverage is 10.71%.

@@            Coverage Diff             @@
##              2.x    #7971      +/-   ##
==========================================
- Coverage   68.92%   68.91%   -0.02%
==========================================
  Files          91       91
  Lines        3846     3847       +1
  Branches     1041     1042       +1
==========================================
  Hits         2651     2651
  Misses        971      971
- Partials      224      225       +1

Flag
Coverage Δ

#unittests
68.91% <10.71%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/cli/src/utils/generate.js
0.00% <0.00%> (ø)

packages/vue-renderer/src/renderers/spa.js
0.00% <0.00%> (ø)

packages/webpack/src/config/base.js
64.63% <ø> (ø)

packages/webpack/src/plugins/vue/modern.js
3.70% <10.00%> (+0.19%)
:arrow_up:

packages/utils/src/cjs.js
65.71% <25.00%> (-3.99%)
:arrow_down:

Continue to review full report at Codecov.

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