🐛 | no input possibility in search field

Version
3.5.2
Branch
future3/main
OS
Raspbian GNU/Linux 11 (bullseye)
Pi model
3B+
Hardware
No response
What happened?

I cant add any text into serch field
Logs
No response
Configuration
No response
More info
No response

Could you add some logs after you tried to add some to the search field?
See here https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/future3/main/documentation/builders/troubleshooting.md#the-short-answer

errors.log
app.log
Sure.. Let me know if you need more information. Did it work for you?

This is on me. I know about the issue and it should be fixed! :-)

Great news! Can I update a file to make it to work, or do I need a complete reinstall?

Fixed

Great news! Can I update a file to make it to work, or do I need a complete reinstall?

Should be possible. Will follow up with a path forward.

Great news! Can I update a file to make it to work, or do I need a complete reinstall?

Here is a path forward -> https://github.com/MiczFlor/RPi-Jukebox-RFID/pull/2300/files


rename svcctrl to servicecontrol

What this PR does / why we need it: The name svcctrl is not a good golang package name for a variety of reasons, most significant of which is it's not obvious what this adapter is reading through the directories under //mixer/adapter. This PR renames it to use the full name.
Release note:

NONE

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

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
40a495179d6557a7fcd56cf3b07989c07fca3748
link
/test istio-presubmit

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

This stuff with the generated files breaking presubmit must be fixed, this is ridiculous.

Zack,
Let's try to provide actionable tasks. Everyone here knows things went
sideways. It's up to us to dig us out of this mess.
On Wed, Nov 29, 2017 at 12:50 PM Zack Butcher<EMAIL_ADDRESS>wrote:

This stuff with the generated files breaking presubmit must be fixed,
this is ridiculous.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1922#issuecomment-347991854, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGIxvjVSfIUcv8k4yoDBOrGsJPURsC4ks5s7cOEgaJpZM4Qviaw
.

I'd be happy to if I knew what was even generating the files. Unfortunately, I can't repro locally (you know, cause then this wouldn't be an issue, since the files would exist).

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

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
93039027809fa1ff73e0ab1ceec38721b51d4ecc
link
/test istio-presubmit

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

I'm more than happy to rip those checks out of the presubmit, but I think that'd wind up with us in an even worse spot.

This failure is due to https://github.com/istio/istio/pull/1882 and the fact that files persist across runs on our presubmit machines, which is why this was impossible to repro locally.

aha. bazel caching.  Should we just do bazel clean before doing anything to work around for now ?

that will disable any caching we had, and impact presubmit performance.
On Wed, Nov 29, 2017 at 1:51 PM Sunny Gupta<EMAIL_ADDRESS>wrote:

aha. bazel caching. Should we just do bazel clean before doing anything
to work around for now ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1922#issuecomment-348008389, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGIxijfZJqHZS_W78dZ_NPqDzcHtCOmks5s7dHXgaJpZM4Qviaw
.

Our presubmit pipeline being hermetic is significantly more important than them taking a few minutes longer to run. We need correctness first, then we can worry about performance.

Another alternative is when we check for dirty files and break the presubmit, we should skip all the generated file .gen.go and the .pb.go. WDYT @jmuk @ayj @ZackButcher @kyessenov

/retest

/lgtm

/lgtm

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

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f6ab8ae3f31776db4ba3934b280bb606a0f4dc47
link
/test istio-presubmit

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

/retest

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

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f6ab8ae3f31776db4ba3934b280bb606a0f4dc47
link
/test istio-presubmit

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

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

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
cd289810d5f55f3e016db46fae6281da82989890
link
/test istio-presubmit

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

PTAL

sorry was busy with a demo. I will take a look this afternoon.

/lgtm


[Question] remove newline in end of the version file by default?

Hi, @TriPSs, thanks for providing such a great action!
I have a question here: if it is true that CCA will remove newline in end of the version file by default? Please see https://github.com/opensumi/devtools/pull/4#discussion_r959542074.
My workflow is: https://github.com/opensumi/devtools/blob/d2984fc78f574bef7ad06188c1ef3ff9eee49efd/.github/workflows/release.yml#L20-L26

Hmm that is a good one, I indeed think that JSON.stringify does not add an empty line.
Maybe we can make it opt in/out.

That will be so nice!
In another case I use a pre-commit file to bump version manually, where the end of line is not affected.

I agree with this issue. Removing the newline is breaking my CI.
package.json shouldn't be modified at all outside of the version bump.

Think we can also make it auto detect by checking if the last line of the file is empty.


[PE-D][Tester D] Tags do not show up on the GUI in order of addition past 9 tags

Steps to reproduce:

Add a new person with no tags.
Add tags 1 by 1.
Past tag 9, the tags no longer get added in the GUI in the order you added them

Eg in the screenshot I added it in numerical order, but after tag 9 the latest tag is added to before tag 2.
This might not really affect the user as it only matters if the tags he adds should appear in a certain order (eg chronological)

Labels: severity.Low type.FunctionalityBug
original: jerrelllee/ped#4

Our reason is that the tags are sorted alphabetically for easier organisation, doesn't make sense to have it in order of addition as it could be messy and hard to find. The purpose of the tag list is to enable users to get a better idea of what tags are in the main contact list.


Error when image file is corrupted

Some images, especially from Bushnell cameras, are corrupted (there is missing data). An example is: Snapshot Serengeti\S1\I03\I03_R1\S1_I03_R1_PICT3967.JPG
The run_tf_detector_batch.py script crashes on those images. The only way to process the images is to open them in an image editor and save them again, replacing the bad data with some background value.
Adding the following code to run_tf_detector_batch.py will replace the bad data automatically and allows the batch detector to run over all images without an error;
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True

Can you get latest from master and try again?  I'm a little hesitant to run the detector on truncated images without more extensive processing to decide how truncated they are (given unpredictability of the detector on heavily-truncated images), so instead we wrapped this in a try/except and did something reasonable with failed images (warning generated, no output written).  Want to make sure we've at least prevented annoying crashes, let us know if this works for you.

The new code prints an error message and skips over corrupt images. That's perfect. Thanks for addressing this.


Ability to know the storagecluster from a volumeid

verification process is blocked because of https://github.com/g8os/grid/issues/112

verification process is blocked because of https://github.com/g8os/grid/issues/112

check this issue
https://github.com/g8os/grid/issues/137


python3Packages.ondilo: 0.2.0 -> 0.3.0

Motivation for this change
Update to latest upstream release 0.3.0
Change log: https://github.com/JeromeHXP/ondilo/releases/tag/0.3.0
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 121957 run on x86_64-linux 1

1 package failed to build:

home-assistant

2 packages built:

python38Packages.ondilo
python39Packages.ondilo

Same failure as in two other runs.
builder for '/nix/store/gyq16skp79m9q2v9jlzj0bc3aakjp3xi-homeassistant-2021.5.0.drv' failed with exit code 1; last 10 log lines:
      acc.async_stop()

  tests/components/hyperion/test_config_flow.py::test_auth_create_token_approval_declined_task_canceled[pyloop]
    /nix/store/2iw49sz25hwnxvhdhzljrgnacyhjzn1j-python3.8-aiohttp-3.7.4.post0/lib/python3.8/site-packages/aiohttp/test_utils.py:536: RuntimeWarning: coroutine 'ServiceRegistry.async_call' was never awaited
      gc.collect()

  -- Docs: https://docs.pytest.org/en/stable/warnings.html
  =========================== short test summary info ============================
  FAILED tests/components/mobile_app/test_webhook.py::test_webhook_handle_get_config[pyloop]
``

Result of nixpkgs-review pr 121957 at c9beab59 run on aarch64-linux 1

1 package failed to build:

home-assistant

2 packages built successfully:

python38Packages.ondilo
python39Packages.ondilo

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Result of nixpkgs-review pr 121957 run on x86_64-linux 1

3 packages built:

home-assistant
python38Packages.ondilo
python39Packages.ondilo


Missing daggers on the warrior sim for classic vanilla

all daggers seem to be missing from warrior sim
https://www.wowhead.com/classic/item=18805/core-hound-tooth
https://www.wowhead.com/classic/item=18816/perditions-blade
https://www.wowhead.com/classic/item=228757/felstriker
if you could please add daggers to war sim when you get a chance. thanks, glad the best sim is back

Daggers are present on the Warrior UI. Double check your filters, you may have them disabled.


Readme Improvement for Cartoonify Image folder

https://github.com/akshitagupta15june/Face-X/tree/master/Cartoonify Image

I would like to work on readme file as a gssoc participant can u also assign me with this task

Should I include the basic algorithm used in all the Cartoonify Technique in the readme


Support for angular 17

Core Library
MSAL.js v1 (@azure/msal or msal)
Wrapper Library
MSAL Angular (@azure/msal-angular), MSAL React (@azure/msal-react)
Public or Confidential Client?
Public
Documentation Location
None
Description
Please, I need to know: Does it support (MSAL Angular v3) angular 17 version?
Thanks in advance

This request for update has been pending for a while. https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/6719  Note that Jaime Still made some progress worth examining. https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/6719#issuecomment-1890233947  But I find Microsoft's lengthy delay on this is concerning. I wish more could be done to assure folks starting out with fresh modern Angular apps that MSAL/ADB2C will prove to be a solid bet.

Closing as a duplicate of #6719


Is it possible to add these 2 extra features ?

Thanks again for this plugin. I have been using it for the past days, and there is something that I think it would be great to have:

When you close terminal window, you can't reopen it unless you leave that vim instance.
Could it be a side effect from the first question, I was expecting to have different terminals for different vim tabs but it seems that for each vim instance, we can only have one kind of terminal ?

Hi psuanand,
Thank you for these suggestions. For the first suggestion, what do you mean exacly? If the terminal window is closed but the buffer still exists, you can access it via :b term<cr> or something similar, no?
You are correct about the second issue; at the moment, there can be only one terminal per vim instance. We could probably do 1 instance per filetype without too much difficulty? Would this solve your issues?

For the first issue, I already tried something. As long as I don't delete the buffer I can do something like :vert sb to deal with it. Sorry for this beginner's mistake. I didn't play with it long enough before I raised an issue.
One instance of terminal per filetype is great. Imagine if you split your workspace by the built-in tabs, the first tab is scala-spark to preprocess the data, and the second tab is python to do some analysis. I would say that the ability to run your code and get an instant feedback from repl is super useful, but other than that I might have the third tab writing some bash script and split another window to do something in shell without the need of this plugin.
What do you think ?

Hi psuanand,
Let's go for one instance per filetype, then. I'll probably have some time to work on this during the weekend — I'll keep you informed.

Hi psuanand,
I have started working on a tentative implementation here: https://github.com/urbainvaes/vim-ripple/commit/fd3942e156b033fe8a0535cdc424bfcccf716abd
I will merge it into master after I test it a bit more, probably this weekend, but feel free to try it already. :)

Thanks so much. I will try it out too since with this feature there is no need to exit vim : )

Just FYI, I merged the feature in master. Many thanks again for your input!


(Read before posting) Project maintenance status / opening for adoption?

As per @nicolas-raoul's advice on #110, I'm opening this issue to clarify the project maintenance status.
Original comment:

@nicolas-raoul ping. Is this project still maintained or has it some fork? If not, I hope you don't mind me suggesting https://adoptoposs.org/ to avoid this cool project and its efforts to be wasted.

/cc @Neako @nymous @pyguerder @sylvainar

@ejmaes @nymous @pyguerder @sylvainar ping


Memory Leak / Infinite Recursion. TS hangs, TSC never finishes, VSCode and Intellisense dies.

🔎 Search Terms
Typescript Hangs, Memory Leak, VS Code, Prisma, React-Hook-Form,
🕗 Version & Regression Information

This is a crash

This is the behavior in every version I tried, and I reviewed the FAQ for entries about hanging.

Tested on latest 5.2.2 and 5.3.0-dev-20231012. typescript@next
⏯ Playground Link
https://codesandbox.io/p/sandbox/musing-turing-78vp6j?file=%2Fapp%2Fpage.tsx%3A6%2C33
💻 Code
import { useForm } from "react-hook-form";
import { Prisma } from "@prisma/client";

export default function Home() {
  const form = useForm<Prisma.UserCreateInput>();
  ...

This will hang everything. Typescript won't tsc and intellisense will just sit with "loading" no matter what you hover.
meanwhile this works fine:
import { useForm } from "react-hook-form";
import { Prisma } from "@prisma/client";

export default function Home() {
  const form = useForm<>();
  ...

tsc --noEmit --extendedDiagnostics will complete in like 3 seconds with this.
🙁 Actual behavior
Typescript won't complete a tsc --noEmit and intellisense will just sit with "loading" no matter what you hover over. I have seen it once before just set everything to any
With the generated types in the first example - i let it run for 1 hour 59mins on a M1 mac and no output.
You can see the full code example with a minimal repro on the codesandbox link. It also hangs it's intellisense in CSB and won't tsc.
CPU also goes to 100% on both local and CSB
🙂 Expected behavior
Doesn't hang typescript, operates just like if you put any other type in there say
type SomeType = {name: string}
const form = useForm<SomeType>()

Additional information about the issue
Another report by someone else here:
https://stackoverflow.com/questions/76932600/high-cpu-usage-when-using-some-prisma-types-with-react-hook-form
It seems to be anything that comes off the Prisma.* types

I found the provided codesandbox unuseful. Not only was the generate prisma client not included, the repo was incomplete. A call to form.register is required for tsc to stall.
Here is a much smaller repo https://github.com/Pyrolistical/typescript-repo-56081
npm run build never completes.

Thanks, I was able to repro this. It does look like the prisma generated types have complex template strings so tsc is spending a lot of time in removeStringLiteralsMatchedByTemplateLiterals and GC. I'll take a look into if we can cut off computation earlier and/or make the checking smarter.

Repro without library dependencies (I think the react-hook-form types can be simplified more, but this is a good point for me to start investigating from). Prisma generates deeply nested types with a depth of 10+ and branching at each node from 0 to 6+ (not a balanced tree). Still, the type below roughly approximates that and has the same perf issue.
declare var check : Check<t7>;
check("x.y.z.x.y.z.42");

type rec<t> = t | { [K in 'x' | 'y' | 'z' ]? : t }

type t1 = number[]
type t2 = rec<t1>
type t3 = rec<t2>
type t4 = rec<t3>
type t5 = rec<t4>
type t6 = rec<t5>
type t7 = rec<t6>
type t8 = rec<t7>
type t9 = rec<t8>

// From npm package 'react-hook-form'
type Primitive = number;
type ArrayKey = number;
type IsEqual<T1, T2> = T1 extends T2 ? (<G>() => G extends T1 ? 1 : 2) extends <G>() => G extends T2 ? 1 : 2 ? true : false : false;
type AnyIsEqual<T1, T2> = T1 extends T2 ? IsEqual<T1, T2> extends true ? true : never : never;

type PathImpl<K extends string | number, V, TraversedTypes> = V extends Primitive ? `${K}` : true extends AnyIsEqual<TraversedTypes, V> ? `${K}` : `${K}` | `${K}.${PathInternal<V, TraversedTypes | V>}`;
type PathInternal<T, TraversedTypes = T> = T extends ReadonlyArray<infer V> ? PathImpl<ArrayKey, V, TraversedTypes> : {
    [K in keyof T]-?: PathImpl<K & string, T[K], TraversedTypes>;
}[keyof T];

type Path<T> = T extends any ? PathInternal<T> : never;
type FieldPath<TFieldValues extends FieldValues> = Path<TFieldValues>;
type FieldValues = Record<string, any>;
type Check<TFieldValues extends FieldValues> = <TFieldName extends FieldPath<TFieldValues>>(name: TFieldName) => any;

Some stats (for Check<t7>, Check<t8> and Check<t9> respectively):
> npx tsc
Types:                       2961
Instantiations:             14289
Memory used:               65308K
Check time:                 0.33s
Total time:                 0.71s
> npx tsc
Types:                       7666
Instantiations:             29755
Memory used:               79697K
Check time:                 2.12s
Total time:                 2.49s
> npx tsc
Types:                      21439
Instantiations:             63291
Memory used:               82899K
Check time:                20.45s
Total time:                20.83s

Does this bisect to #48044? (https://www.npmjs.com/package/every-ts may be helpful to check, too)

It's this PR which introduces string literal and template literal reduction in unions (every-ts did help 🙂): https://github.com/microsoft/TypeScript/pull/41276

Is there any movement on this by chance? I also manage to kill TS with react-hook-form and recursive type definitions

I'm facing a similar problem, using react-hook-form's useForm typed with some GraphQL-Codegen's generated mutation input types:
import { useForm } from "react-hook-form";
import { MyMutationInput } from "./graphql/__generated__";

export default function Home() {
  const form = useForm<MyMutationInput>();
  ...

Intellisense stops working and tsc hangs forever during compilation, as soon as I set the type of useForm.
Typescript version: 5.4.5
Platform: MacBook Pro (M3 Pro chip) - macOS Sonoma 14.5

I am facing this issue too with reac-hook-form.


ZEPPELIN-238: Remove unused swagger code

Looks good to me!

no use of swagger in the future also ?

We can add swagger back if and when it is required. Right now, this was just dead code.

I think having an updated Swagger information including swagger.json for swagger UI is a good thing for zeppelin as it allows developers to integrate with zeppelin through services.
I am in the process of writing more REST tests and documenting the use of REST API (per the community request) and having Swagger working could help me a lot :-)

@Leemoonsoo Why was swagger removed earlier? Do we want to document the REST API using swagger now? If not we can merge this. If we do want to document using swagger, we should file a JIRA to fix swagger and make it workable.

I think we need more rest apis for enterprise support. and then swagger will be useful soon.

@mindprince zeppelin-docs has old, outdated, documentation. With the preparation of moving to ASF, zeppelin-docs was removed (https://github.com/NFLabs/zeppelin/pull/289) while it's got some third-party dependencies. And that makes error on swagger, and swagger is disabled by https://github.com/NFLabs/zeppelin/pull/311 to remove the error.

One question. I think document for REST api will be more useful when it is published in the website.
Can swagger help it?

Yeah, I think we should rather have static documentation of REST API on the website. Something like https://spark.apache.org/docs/latest/monitoring.html#rest-api
Running a swagger servlet wherever you are running Zeppelin Server seems like an overkill to me.

I see that we merged https://github.com/apache/incubator-zeppelin/pull/256 which added REST API documentation to the website.
@eranwitkon @Leemoonsoo Do you think we can merge this now?

I think we should merge PR #266 which touches the same files and PR #268 which adds the REST API test and the re-base this one and merge.

@Leemoonsoo @eranwitkon I see that the PRs which you mentioned were merged into master. So, I have rebased my changes on top of the current master. Please take a look. Thanks!

+1 from me. merged, build and tested.
On Wed, Sep 9, 2015 at 9:11 AM Rohit Agarwal<EMAIL_ADDRESS>wrote:

@Leemoonsoo https://github.com/Leemoonsoo @eranwitkon
https://github.com/eranwitkon I see that the PRs which you mentioned
were merged into master. So, I have rebased my changes on top of the
current master. Please take a look. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-zeppelin/pull/226#issuecomment-138795929
.

--
Eran | "You don't need eyes to see, you need vision" (Faithless)

I'm merging if there're no more discussions


Can we remove file.clone()

@phated As well as https://github.com/hughsk/vinyl-buffer/pull/7.

probably. I don't have access to this module.  Maybe @hughsk would want to migrate some of the gulp/vinyl modules to https://github.com/gulp-community

ping @hughsk


Remove unnecessary pathlib2 dependency

We have pathlib2 and scandir as dependencies just because of the code here to construct a file:// URL:
/tools/documentation_crawler/documentation_crawler/spiders/check_documentation.py
(That's run as part of tools/test-documentation).  We should use some simpler mechanism in Python to do this and remove the unnecessary dependencies.

@rht FYI, this might be a good follow-up to your recent work.

One particular advantage of fixing this is that pathlib2 only depends on scandir for Python < 3.5.  Which means depending which Python version you run update-locked-requirements with, it may or may not be included as a listed dependency.  Since we support 3.4 and 3.5, we can defer dealing with the somewhat ugly work on having separate lock files for different Python versions if we just remove this.
Also worth noting that we'll eventually want separate lock files per-version, but it might be years before we actually need that, so I'd prefer to just remove the unnecessary dependency instead.


Patternfly styling cleanup1

Issue: #1574

removed absolute vertical positioning of toolbar drop downs
removed placeholder "status" area in header
removed show_page_content_background method and related css and image
removed legacy images

Before:

After:

@dclarizio Please review


Stuck with -a or -m commands

I tried the -a command, but got stuck here

And I tried again with the -m command, but still the same problem

I have tried many times, from reinstalling, checking the .conf file but still can't. Any help, or fix?

I think there is such a bug with the ImageMagick or some device, you can read this issue https://github.com/Awesomesh0t/awesomeshot/issues/16#issuecomment-1222491271
because in my case, I haven't found any bug like this before. Here my version uses

Package
Version

imagemagick
7.1.1-21 Q16-HDRI aarch64 21667

inotify-tools
<IP_ADDRESS>

bc
1.07.1

ncurses-utils
6.4.20231001

If you want to try if ImageMagick is working ok, you can put the code from one of the functions from binary Awesomeshot and then run it on your terminal, e.g., convertBorder function to add background:

Load the config

source ~/.config/awesomeshot/awesomeshot.conf

Try export variable file_name

export file_name="/some/location/ex-foo-bar.png"

Run the function

Note: This function you can find in $PREFIX/lib/awesomeshot/convertBackground.sh

convert "$file_name" -bordercolor "#FFFFFF" -border ${background_border_size} "$file_name"

Example Run

Result

Before Edited
After Edited

it's you use older version awesomeshot earlier then upgrade to the newer version?
if yes, what if you re-generate the new config of awesomeshot with this command:
awesomeshot -c

then press Y + ENTER
because if i'm not forgot the newer version have different config


Game engine and hot update and reflect

I think flutter can be a good 2D/3D(use raw texture in weight tree) game engine.
Skia is cross platforms 2d renderer.
So, I think there is some important important.
Hot update, I read the source code, in android, there is a view as flutter surface, it can load bytecode(jni) or machine code(aot) at run time. If it can set in api，that is perfect.
Dart is a good script, but there is not reflecting in flutter. I think ,if it can reflect, it can be edit game object in app. Just like this.

@wildfire810
Is https://github.com/flutter/flutter/issues/14330 what you want?

Hot-update is covered by #14330
Reflection is not planned. https://github.com/dart-lang/reflectable provides this functionality to some degree.


Translate the easy parts of the string validation code to C++

Anything involving UTF-8 and pattern matching is marked as unimplemented; everything else is done.

@rodaine


production miss attribute

rep: https://github.com/weishax/purecss
dev: right

production: miss 'bg-blue-500' and 'flex-1'

create a<EMAIL_ADDRESS>// tailwind.config.js
module.exports = {
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
purge: [
'components/**/*.vue',
'layouts/**/*.vue',
'view/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js'
],
theme: {
extend: {},
},
variants: {},
plugins: [],
}
why miss attribute?  it's random

Could you try with **/view/**/*.vue and see if it works?

i try, but not right

The same is happening to me. Is losing the bg-red-500 class in production.


About the accuracy

Hi，I used your code to train the P3D199 on UCF101，with the pretrained weight you supported. My experiment top-1 result is 81%, which is far from the paper 93%, could you support the details about your training? Mine:
Batch size:32
Learning rate: 0.001,  divided by 10 each 10 epoch
training data transformation：RandomResizeCrop(160), RandomHorizontalFlip(0.5), Totensor(), Normalize()
val data transformation: Resize(182,242), CenterCrop(160), Totensor(), Normalize()
Looking forward to your reply

Hi, @bbp94 , could you share your parameters about slow_rate, lr_mult and decay_mult in p3d_model.py? Thanks~

UPDATE: With pre-trained model, I can get 89.8@Top1, 98.26@Top5.
But I can not get such result from scratch. Can anyone share your parameters? THX.

@jinyu121 Some of my parameters:
self.optimizer = optim.SGD(params=params, lr=0.001, momentum=0.9, weight_decay=0.0001)
self.scheduler = torch.optim.lr_scheduler.StepLR(self.optimizer, step_size=20, gamma=0.1)
and I train the model with pre_trained weight. On training set, I got 90@Top1. On test set, got 81@Top1.

UPDATE: With pre-trained model, I can get 89.8@Top1, 98.26@Top5.
But I can not get such result from scratch. Can anyone share your parameters? THX.

Could you tell me whether your result 89.8@Top1 is on test set?

{
  "net": {
    "name": "p3d",
    "input_size": 160
  },
  "data": {
    "train": {
      "annotation": "data/ucf101-train.json", // Which is converted from trainlist01.txt by my video2frame tool
      "dataset": "data/ucf101-train",
      "n_frames": 16,
      "n_clips": 1,
      "flip": 0.5,
      "drop_last_iter": true
    },
    "val": {
      "annotation": "data/ucf101-test.json", // which is converted from test01.txt by the video2frame tool
      "dataset": "data/ucf101-test",
      "n_frames": 16,
      "n_clips": 20
    },
    "num_workers": 32
  },
  "train": {
    "pre_train": "data/p3d_rgb_199.checkpoint.pth.tar",
    "batch_size": 64,
    "epoch": 100,
    "learning_rate": 0.001,
    "decay": {
      "step": 40,
      "scale": 0.1
    },
    "momentum": 0.9,
    "weight_decay": 0.00001,
    "dropout": 0.5,
    "show_freq": 20
  },
  "val": {
    "batch_size": 1,
    "show_freq": 100,
    "val_freq": 10,
    "feature_mean": false // Which means we average the result after cls layer. If true, average the feature before the cls layer
  }
}

Under this setting, I got 89.8@Top1, 98.26@Top5 on validation set.

@jinyu121 Thank you for your help. But I can not achieve your result with your parameters, only got 82.7@Top1.
your data processing is still as follow?

Training: Resize(182,242)-> RandomCrop(160)->RandomHorizontalFlip(0.5)->ToTensor()
Test: Resize(182,242)-> CenterCrop(160)->ToTensor().
The repo you have provided is invalid，could you please provide new one? or provide your training log?

Due to some personal code are added, I have to make it personal. Sorry for that.
        train_transform = transforms.Compose([
            NumpyToFloat(),
            NumpyRandomCrop(self.cfg.net.input_size),
            NumpyRandomFlip(-2, self.cfg.data.train.flip),  # Random horizontal flip. -1 means vertical.
            NumpyImageNetNorm(),
            NumpyToTensor(is_copy=True)
        ])
        val_transform = transforms.Compose([
            NumpyToFloat(),
            NumpyCenterCrop(self.cfg.net.input_size),
            NumpyImageNetNorm(),
            NumpyToTensor(is_copy=True)
        ])

There are NO TRICKS in these transformers.
Log... Well, I didn't log them in files, just tensorboard record.
If you use the pre-trained model, the P3D net will raise its accuracy quickly. It will get ~80%@Top1 in just 5 epochs.
Good luck!

Why you summoned me? :D
Man I was confused about the Email for quite a while. Until I got the part with the @top1
@jinyu121

@jinyu121 Sorry for disturb you again. I used the default  slow_rate, lr_mult and decay_mult in p3d_model.py,  if you have changed they on UCF101 , can you please share the parameter？

@jinyu121 , can you give me the data transforms file ?


HBASE-22959 Add 2.1.6 to download page

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
75
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

+1
mvninstall
417
master passed

+1
mvnsite
1398
master passed

_ Patch Compile Tests _

+1
mvninstall
380
the patch passed

+1
mvnsite
1349
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
xml
2
The patch has no ill-formed XML file.

_ Other Tests _

+1
asflicense
22
The patch does not generate ASF License warnings.

3732

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-567/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/567

Optional Tests
dupname asflicense mvnsite xml

uname
Linux db0f31bdc8b0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-567/out/precommit/personality/provided.sh

git revision
master / 090c55f3ff

Max. process+thread count
96 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-567/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


Tests in CI

As a contributor, I want to make sure I'm running the tests correctly, as they seem to fail on main and on my own feature branches. Running tests in CI would let us confirm if they pass for each branch before it lands, and on the main branch after a merge.

Added in 8dbd2cc


feat(task): Record last success and failure run times in the Task

Part of https://github.com/influxdata/flux/issues/3080
We currently record the following "last run" information on the Task record:

LatestCompleted (time)
LatestScheduled (time)
LastRunStatus (string)
LastRunError (string)

This change introduces two new timestamps that reflect the last success and failure times of a Task (respectively):

LatestSuccess (time)
LatestFailure (time)

With these timestamps we will be able to compose new APIs for the Task system to make time-gap resilient (in the face of an arbitrary number of Task failures) easier to write. The next step will be to inject this information into Tasks as they get handed off to the Query layer to be run.

[ ] CHANGELOG.md updated with a link to the PR)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] Documentation updated or issue created (provide link to issue/pr)

Saw it got killed so I also restarted it, but same result.
ok  	github.com/influxdata/idpe/objectstore/metrics	1.030s
?   	github.com/influxdata/idpe/objectstore/mock	[no test files]
Killed
script returned exit code 137


How to run missing in the docs

As a rookie I have no idea how to run the hello world sample from the command line. Can you maybe add that to the docs? I suppose its a simple command

I found another readme under samples, sorry


Veteran Confirmation (Independent Publisher) issue

Api Name - shared_veteransaffairsip
Bug description - Documentation Link Inop for both MS and Git
Is this a security bug? (Y/N) N
What is the severity of this bug? Keeps me from using the connector :(

Hi Ed,
For the Independent Publisher connector, you will need to register for production access. I now realize this after submitting the connector as part of M365 Chicago. You can also download the Swagger from my repo and change the host to the sandbox, sandbox-api.va.gov, to test the service.


Toggle button states using disabled attribute instead of class

This seems to break the whole button enabling/disabling in pages mode and non-pages mode. I tried to fix but came across a situation where the property disabled is false and the disabled attribute was present. Then I got tired and started wondering if this is worth the effort...

Aagh, apologies!  Was the problem reproducible in the index.html demo page?
I will give it another go in the future.

No worries. Yes, it was reproducable in index.html.


better labels, cleanup, fix Com_sprintf

this fixes the shitty text that goes into the input after you send a command

Thank you so much for catching the missing va_end, that would explain as to why there is garbage text. I completely forgot to add that. I might change some of the types over to the more portable std::blah implementations. I will merge this, thank you again.


UWP - Initializing page

Development of the initializing page for the UWP client for signing into MSA, acquiring the user profile and loading cached data.

Completed the UI and logic for authentication & data caching.


add note about @types

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/referencing-the-javascript-api-for-office-library-from-its-cdn.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/referencing-the-javascript-api-for-office-library-from-its-cdn.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Create influx measurements and dynamic grafana dashboards for each fi…

…lesystem
Fixes #1111.
Each filesystem should have its own measurement in the influx db. When stratagem scans, the results should be written to the appropriate measurement within the db.
Signed-off-by: Will Johnson<EMAIL_ADDRESS>

Codecov Report

Merging #1158 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1158   +/-   ##
=======================================
  Coverage   95.39%   95.39%
=======================================
  Files           2        2
  Lines         152      152
=======================================
  Hits          145      145
  Misses          7        7

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 aeab881...4008ac4. Read the comment docs.

Filesystem 1:

Filesystem 2:


Daylight savings time?

Sorry to have opened an issue. Resolved

I thought the issue was resolved. No so.
Here is what's going on.
I go into the settings in the unit itself, I press the keys and set the time ahead one hour. I go back to the time by holding key2 in fir a moment. The time is then displayed correctly. After a few minutes or so, the time reverts back to before I made the changes on its own. I also turned off the beep due to it being annoying, and that as well reverted back to being on.
So my issue is that it won't permanently save my changes. Ideas?

Hi,
First a quesiton, when did the beep revert, was it after restarting the unit?
As for the time, there are a few issues here:

It needs to account for daylight savings. both of my clocks are wrong and my wife is gonna be complaining any time now.
When the time is manually adjusted the NTP synchronization needs to stop.
Guessing there needs to be a settings accessable way to turn NTP syncronization on / off.
There needs to be a way for the pico to save the user selected settings and read them on startup.

To work around the time you can turn off the NTP sync in the settings.toml file.

From: Steph1116 @.>
Sent: Sunday, March 12, 2023 9:56 AM
To: jake1164/Pico-RBG-Matrix-P3-64x32 @.>
Cc: Subscribed @.***>
Subject: Re: [jake1164/Pico-RBG-Matrix-P3-64x32] Daylight savings time? (Issue #2)
I thought the issue was resolved. No so.
Here is what's going on.
I go into the settings in the unit itself, I press the keys and set the time ahead one hour. I go back to the time by holding key2 in fir a moment. The time is then displayed correctly. After a few minutes or so, the time reverts back to before I made the changes on its own. I also turned off the beep due to it being annoying, and that as well reverted back to being on.
So my issue is that it won't permanently save my changes. Ideas?
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjake1164%2FPico-RBG-Matrix-P3-64x32%2Fissues%2F2%23issuecomment-1465206474&data=05|01||01e7d914093044f9cc5a08db230186bb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638142261674911679|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hKNoSQzKeHfOypx%2FklGgQCZeTrg4l%2FzUmdcp5uWXtqo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAN7MKYXDWZ53OHJY7XAF33W3XPYNANCNFSM6AAAAAAVYDAYKU&data=05|01||01e7d914093044f9cc5a08db230186bb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638142261674911679|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aBMKLb6kIxAuZDOwuusAUMnvJFuTf0FENR0psNuP%2B%2BQ%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

The beep reverted back on at the same time the time went back to before I adjusted it. It happens roughly 6 minutes after I adjust the time.

I think I'll just need to do the timeline offset

I do assume you are also using the https://github.com/jake1164/Pico-RGB-Matrix-Clock?
[https://opengraph.githubassets.com/f7a1a60bfb0b53642e37ea41f6b60d84232375c73b31d06b31ba9e072a0d041e/jake1164/Pico-RGB-Matrix-Clock]https://github.com/jake1164/Pico-RGB-Matrix-Clock
GitHub - jake1164/Pico-RGB-Matrix-Clock: An RGB Clock running on a Raspberry Pico W and a WaveShare Pico-RGB-Matrix-P3-64x32https://github.com/jake1164/Pico-RGB-Matrix-Clock
An RGB Clock running on a Raspberry Pico W and a WaveShare Pico-RGB-Matrix-P3-64x32 - GitHub - jake1164/Pico-RGB-Matrix-Clock: An RGB Clock running on a Raspberry Pico W and a WaveShare Pico-RGB-Ma...
github.com

From: Steph1116 @.>
Sent: Sunday, March 12, 2023 10:10 AM
To: jake1164/Pico-RBG-Matrix-P3-64x32 @.>
Cc: Jason Jackson @.>; Comment @.>
Subject: Re: [jake1164/Pico-RBG-Matrix-P3-64x32] Daylight savings time? (Issue #2)
The beep reverted back on at the same time the time went back to before I adjusted it. It happens roughly 6 minutes after I adjust the time.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjake1164%2FPico-RBG-Matrix-P3-64x32%2Fissues%2F2%23issuecomment-1465209856&data=05|01||088ce270cb114e15960c08db23038079|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638142270163994699|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=kXwIbpqVlnHf5ECPXq5Ju%2Fsw079Mk9k9QtPzg0iNMq8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAN7MK5EFQVS7VSYTHUQONLW3XRNNANCNFSM6AAAAAAVYDAYKU&data=05|01||088ce270cb114e15960c08db23038079|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638142270163994699|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p9ME0dGTSRO%2Bx01msZ7J8VNdHCT%2Bbyrm5u3dBBLTPHM%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

Fixed, adjusted the time zone offset to -4.

Outstanding, I will look at the beep when I have a chance.

Perfect, thanks!


Markdown preview fails

Type: Bug
To reproduce:

Open any markdown .md file.
Click on "Open Preview to the Side (Ctrl+K V)"
Preview doesn't open and you see a message "command 'markdown.showPreviewToSide' not found".

From Log (Extension Host):
[2022-07-09 21:36:32.364] [exthost] [error] Activating extension vscode.markdown-language-features failed due to an error:
[2022-07-09 21:36:32.364] [exthost] [error] Error: Cannot find module '/snap/code-insiders/1044/usr/share/code-insiders/resources/app/extensions/markdown-language-features/dist/extension.node'
Require stack:
- /snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/loader.js
- /snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/bootstrap-amd.js
- /snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/bootstrap-fork.js
-
	at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
	at Function.o._resolveFilename (node:electron/js2c/utility_node_init:17:876)
	at Module._load (node:internal/modules/cjs/loader:832:27)
	at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
	at Function.i._load (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:14538)
	at Function.v._load (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:62234)
	at Function.w._load (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:61602)
	at Module.require (node:internal/modules/cjs/loader:1059:19)
	at require (node:internal/modules/cjs/helpers:102:18)
	at Function.r [as __$__nodeRequire] (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/loader.js:5:101)
	at b._loadCommonJSModule (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:63692)
	at b._doActivateExtension (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:14752)
	at b._activateExtension (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:97:13700)
	at async w._activate (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8180)
	at async w._waitForDepsThenActivate (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8122)
	at async w._initialize (/snap/code-insiders/1044/usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:7486)

My vscode-insiders information:
Version: 1.70.0-insider
Commit: 3104db414c8fedcf6e4493f14da7df0b7413853a
Date: 2022-07-08T05:18:19.214Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-40-generic snap

VS Code version: Code - Insiders 1.70.0-insider (3104db414c8fedcf6e4493f14da7df0b7413853a, 2022-07-08T05:18:19.214Z)
OS version: Linux x64 5.15.0-40-generic snap
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz (20 x 1500)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
1, 1, 1

Memory (System)
62.71GB (54.58GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id 5e036db4-7975-4920-936d-345ce33b1cab

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (20)

Extension
Author (truncated)
Version

vscode-postgres
cko
1.4.0

gitlens-insiders
eam
2022.7.817

language-cython
guy
0.0.7

vscode-edit-csv
jan
0.7.1

vscode-docker
ms-
1.22.0

python
ms-
2022.11.11891004

vscode-pylance
ms-
2022.7.20

jupyter
ms-
2022.7.1001902022

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

remote-containers
ms-
0.242.0

remote-ssh
ms-
0.82.1

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.3

vscode-remote-extensionpack
ms-
0.21.0

autodocstring
njp
0.6.1

code-spell-checker
str
2.3.0

even-better-toml
tam
0.16.4

simple-rst
tro
1.5.2

zoombar-vscode
wra
1.4.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstarted:30449409
vscscmwlcmt:30465136
cppdebug:30492333
pylanb8912:30522163
vsclangdf:30492506

I found this is a duplicate issue.

Can you point us to the original?

https://github.com/microsoft/vscode/issues/154653
Fixed by
https://github.com/microsoft/vscode/pull/154656

https://github.com/microsoft/vscode/issues/154653
Fixed by
https://github.com/microsoft/vscode/pull/154656

Thank you so much.


Async Stream Genenerator?

Using Stream Generator Like Async Dynamic Generator for Concurrent Text Generation
Description:
Hello,
I have been working with the stream generator and I am wondering if there is a way to use it in a manner similar to the Async Dynamic generator to generate two texts simultaneously using the same model.
I've attempted the following approach with the example code, however the generation process keeps waiting for the completion of the first text before starting the next one:
async def start_myServer(self):
        ip = "<IP_ADDRESS>"
        port = 8765
        async with websockets.serve(self.handle_client,ip, port):
            print(f'Start Server -> {ip}:{port}')
            await asyncio.Future()  # Run forever

    async def handle_client(self, websocket, path):
        message = await websocket.recv()
        client_id = str(id(websocket))  # Unique identifier for each client
        self.user_prompts[client_id] = []
        self.responses_ids[client_id] = []
        await self.process_message(websocket, client_id,message)

    async def process_message(self, ws, client_id, message):
        self.user_prompts[client_id].append(message)

        async with self.model_lock:
            print(f'Start processing for: {client_id}')
            torch.cuda.empty_cache()
            max_len = self.model.config.max_seq_len - self.min_space_in_ctx
            a_ctx = self.get_tokenized_context(max_len, client_id)

            # Run the blocking code in a separate thread using asyncio.to_thread
            response_text = await asyncio.to_thread(self._generate_response, a_ctx, client_id)

            # Now handle the WebSocket communication asynchronously
            await ws.send(response_text)
            self.busy = False

    def _generate_response(self, a_ctx, client_id):
        self.generator.begin_stream_ex(a_ctx, self.sampler_Settings)

        response_tokens = 0
        response_text = ""
        self.responses_ids[client_id].append(torch.empty((1, 0), dtype=torch.long))

        while True:
            # Get response stream
            res = self.generator.stream_ex()
            chunk = res["chunk"]
            eos = res["eos"]
            tokens = res["chunk_token_ids"]

            if len(response_text) == 0:
                chunk = chunk.lstrip()
            response_text += chunk
            self.responses_ids[client_id][-1] = torch.cat([self.responses_ids[client_id][-1], tokens], dim=-1)

            if self.generator.full():
                active_context = self.get_tokenized_context(self.model.config.max_seq_len - self.min_space_in_ctx, model)
                self.generator.begin_stream(active_context, self.sampler_Settings)

            response_tokens += 1
            if response_tokens == self.max_response_tokens:
                if self.tokenizer.eos_token_id in self.generator.stop_tokens:
                    self.responses_ids[client_id][-1] = torch.cat([self.responses_ids[client_id][-1], self.tokenizer.single_token(self.tokenizer.eos_token_id)], dim=-1)

                print(f"\n!! Response exceeded {self.max_response_tokens} tokens and was cut short.")
                break

            if eos:
                break

        print(f'End processing for: {client_id}')
        return response_text

    def get_tokenized_context(self, max_len, client_id):
        print(f'Start CTX for: {client_id}')
        while True:
            ctx = torch.empty((1, 0), dtype=torch.long)

            for i in range(len(self.user_prompts[client_id])): #TODO emb fur jeden input brahct aber immer nur der neue
                up_text = self.format_promt(self.user_prompts[client_id][i], ctx.shape[-1] == 0)

                ids = self.tokenizer.encode(
                    up_text,
                    encode_special_tokens=True,
                    add_bos=True
                )
                ctx  = torch.cat((ctx,ids),dim=-1)

                if i < len(self.responses_ids[client_id]):
                    ctx = torch.cat([ctx, self.responses_ids[client_id][i]], dim=-1)

            if ctx.shape[-1] < max_len:
                print(f'End CTX for: {client_id}')
                return ctx

            # If the context is too long, remove the first Q/A pair and try again
            self.user_prompts[client_id] = self.user_prompts[client_id][1:]
            self.responses_ids[client_id] = self.responses_ids[client_id][1:]

    def format_promt(self,user_prompt,first):
        if first:
            return """<|start_header_id|>system<|end_header_id|>\n\n
                <|system_prompt|><|eot_id|>
                <|start_header_id|>user<|end_header_id|>\n\n
                <|user_prompt|><|eot_id|>
                <|start_header_id|>assistant<|end_header_id|>""".replace("<|system_prompt|>", self.system_prompt) .replace("<|user_prompt|>", user_prompt)
        else:
            return """<|eot_id|><|start_header_id|>user<|end_header_id|>\n\n
                <|user_prompt|><|eot_id|>
                <|start_header_id|>assistant<|end_header_id|>""".replace("<|user_prompt|>", user_prompt)

My Question:

Is it possible to use the stream generator like the Async Dynamic generator to generate two texts at the same time on the same model?
If yes, could you provide an help or guidance on how to implement this?

Any help or advice would be greatly appreciated!
Thank you for your time and assistance!

I am using the stream generator mainly because of the input_embedding implementation when starting a stream. If there is a way to recreate something like that with an asynchronous dynamic generator, that would be helpful too.
This is what i have for the Embedding in the StreamingGenerator and it works fine:
self.embedding_layer = next(m for m in model.modules if isinstance(m, ExLlamaV2Embedding))
self.emb = self.prepair_embedding_tensor(e_str)

def prepair_embedding_tensor(self,s:str) -> torch.tensor:
        s_tokens = self.tokenizer.encode(
            s,
            add_bos=True,
            encode_special_tokens=True
        )
        print("s_tokens Shape:", s_tokens.shape)
        embedding_tensor = self.embedding_layer.forward(hidden_states=s_tokens)
        print("Embedding Tensor Shape:", embedding_tensor.shape)
        return embedding_tensor

self.generator.begin_stream_ex(a_ctx, sampler_settings, input_embeddings=self.emb)

If something similar is possible with the async dynamic generator, please help.

The regular streaming generator doesn't support batching, let alone continuous batching like you'd want here. It would be much simpler to add indexed embeddings to the dynamic generator, which I suppose I do want to get to. The main challenge is that the indices would need to persist and be unique over the lifetime of the model to not cause errors with caching.
E.g. if a context starts with [EMBEDDING_INDEX + i for i in range(1024)] that will create four pages of keys/values that could persist indefinitely and end up being reused the next time you use those same indices, even if you want to use different underlying embeddings.
So I need to cook up some kind of system for creating indices and managing the lifetime of the corresponding embeddings.


RPGM MZ Games with additional battle stats do not show up in the cheat tool

Some newer RPGM MZ games have custom battle stats that would be useful to be able to change as well in the cheat tool
For example on screenshots this game (Tunnel Escape) has HP/SP/VP and screenshot showing cheat tool only showing HP and SP (treated as MP)
If you use recover all button it just sets all to 100 but the VP in this case is a loss condition so I want to be able to cheat it down to 0 during battle

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."


contribute/doc.md: new section on citations

Feel free to push edits!

I think there are complications with normalizing automatically, and I doubt anyone wants to go through the trouble of normalizing the current bib and updating all the references. So I propose we merge this as is, for now, and come back to this.


Remove AH tax of intermediate craft steps

Hi!
Thank you for the addon :)
I frequently chain-craft something, for example I buy reagents R1, R2, R3 and then

Craft R1 + R2 -> C1
Craft C1 + R3 -> C2
Sell C2 on AH

At this point, during 1nd step it calculates C1 profits as (sell price - 5% AH tax) - craft price, but during 2rd step calculations it takes C1 full price.
Lets assume that AH prices are
R1 = 1g
R2 = 1g
R3 = 1g
C1 = 3g
C2 = 6g
then for 1 cycle I spend R1 + R2 + R3 = 1 + 1 + 1 = 3g and sell C2 for 6 * .95 = 5g 70s`
but in the Craft result window (profits section) I'll see

C1 * .95 - (R1 + R2) = 3 * .95 - (1 + 1) = 0g 85s (Cumulative profits: 0g 85s)
C2 * .95 - (R3 + C1) = 6 * .95 - (1 + 3) = 1g 70s (Cumulative profits: 2g 55s)

While the real profits are C2 * .95 - (R1 + R2 + R3) = 6 * .95 - (1 + 1 + 1) = 2g 70s (because I wont sell C1 and buy C1 back).
Is it possible to subtract AH tax for reagents that I use during the same craft session?

Are u using the subrecipe optimization feature for that?
I think the craftresults do not yet check for that

I do, but I suspect that I might use it in a wrong way (?)
I just tested this case on Boundless Cipher
1 Boundless Cipher requires

Distilled Algari Freshwater x20
Arathor's Spear x5
Apricate Ink x2

1 Apricate Ink requires

Distilled Algari Freshwater x20
Luredrop Pigment x5
Nacreous Pigment x10

Prices:

Item
Default
Overriden
Subrecipe

Distilled Algari Freshwater
91c
—
—

Luredrop Pigment
23g 47s 0c
20g 60s
—

Nacreous Pigment
26g 43s 0c
23g 80s 0c
—

Apricate Ink
234g 0s 0c
—
191g 26s 61c[^1]

Arathor's Spear
19g 96s 0c
20g 0s 0c
—

Boundless Cipher
384g 87s 0c
—
—

What cumulative profit I can see in the result window:

Item
Profit
Cumulative profit
Calculations

Apricate Ink
-118g 88s 20c
-118g 88s 20c
as expected[^2]

Apricate Ink
-118g 88s 20c
-237g 76s 40c
as expected[^2]

Boundless Cipher
-202g 55s 55c
-440g 31s 95c
not expected[^3]

[^1]: Data from Sub Recipe Optimization window (**191g 26s 61c**)
[^2]:  (Apricate Ink - 5% AH) - Distilled Algari Freshwater * 20 + Luredrop Pigment * 5 + Nacreous Pigment * 10
= (234g 0s 0c * .95) - ([0g 0s 91c] * 20 + [20g 60s 0c] * 5 + [23g 80s 0c] * 10
[^3]: (Boundless Cipher - 5% AH) - Distilled Algari Freshwater * 20 + Apricate Ink * 2 + Arathor's Spear * 5
Expected: 384g 87s 0c - ([0g 0s 91c] * 20 + [**191g 26s 61c**][^1] * 2 + [20g 0s 0c] * 5) = -117g 08s 77c
Observed: 384g 87s 0c - ([0g 0s 91c] * 20 + [234g 0s 0c][^1] * 2 + [20g 0s 0c] * 5) = -202g 55s 55c

Oh, I see, seems like subrecipe db caching isn't being saved to a storage, so I just need to run recipe scanning each time I log in.

so does it work now for u?

Yes


Context vs RootValue

In graphqloptions, what is the difference between context and rootvalue?
When should I use one, and when should I use the other?
At the moment I'm attaching connectors and other sensitive data to the context, is this safe? Can the user read the context or the rootvalue of his queries?

Nope! the user can only read the fields you expose in the API, they can't see the context or rootValue directly.
Back in the day, context didn't exist, so rootValue was used for this stuff. These days, I think context is pretty much always the right thing to use.
Perhaps you could send a PR to the docs making this clearer!


Installation Script breaks while building qiskit-aer

ERROR: Failed building wheel for qiskit-aer
Failed to build qiskit-aer
ERROR: Could not build wheels for qiskit-aer, which is required to install pyproject.toml-based projects

Steps to reproduce:
run this in any of system
pip install qiskit-iqm

Which Python version are you using? We were able to reproduce the error on Python 3.12, which is not yet officially supported

Yes You are right @smite
I was able to install qiskit-iqm  with Python  3.11
but it would be nice if we make qiskit-iqm compatible with Python 3.12
This issue will now be open as feature request issue.

Thank you for pointing our attention to the desire for Python 3.12 support. It has been added to our backlog SW-385.

Seconding the request for Python 3.12 support. Is there any ETA as to when this will be incorporated?

Seconding the request for Python 3.12 support. Is there any ETA as to when this will be incorporated?

I've created the PR for this yesterday. We need to first update and merge the dependencies (this PR). We hope to get this done before the end of the year.

Great, thanks for the update, @Aerylia !


Node.focusable is a bit weird

Looks like it may have been refactored from something else.
First of all, everywhere the type is documented, it's noted as {boolean}. It only seems to be set to a value of null (the default), checked vs null (in invalidateAccessibleContent), or is evaluated for truthyness (with works, since null => false). Let's have this be a boolean, and assert out on it? (any missing typecheck assertions elsewhere might help too).
Second, it's quite unintuitive that "creating a peer while our tagName is for a form element sets the node permanently to focusable"... but technically only unless it was null first. For example (scenery playground):
var node = new scenery.Node( { tagName: 'button' } );
node.focusable; // null (ok I guess since we didn't set it)
scene.addChild( node ); // will create a peer now
node.focusable; // true (yikes!)
node.tagName = 'div';
node.focusable; // true (yikes!!)

Now my div is focusable, where I never set it to focusable (probably a bit of a weird example, and there's an off-chance we may, during initialization, change the tagName in some code).
Is it meant for focusable to be {boolean|null} where null indicates "It's focusable if it's a form tagName", true means "Focusable no matter what tagName", and false means "Not focusable no matter what tagName"? (If so, most checks for focusable don't believe so).
Alternatively, we could (for consistency) require setting focusable:true for buttons?
Thoughts? (And either way, get documentation to match the values).

Discussion notes:
isFocusable(): {
  if ( focusableOverride === null ) {
    return IS_FORM_ELEMENT;
  }
  else {
    return focusableOverride;
  }
}

{
    focusable: true // sets override
    focusable: false // sets override
    focusable: null // clears override, use the default "is it a form element"
}

so basically going with focusable: {boolean|null} as a SETTER, but the getter is always {boolean}. Similar to Node.setLocalBounds / Node.getLocalBounds.
Assigning @zepumph for implementation.

Implemented above. @jessegreenberg please take a look. The main piece to notice is that I redefined what a "default focusable" element is at it pertains to the focusable api. I found a nice list of types that I used (https://stackoverflow.com/questions/1599660/which-html-elements-can-receive-focus) to get a nice default. Please review.

Just curious, why the instanceof window[ ... ] checks (and the extra slow DOM operation) instead of checking the tagName? Are there inherited cases (I'm unaware of) where we need the instanceof? Also worth checking if those globals are defined on IE11.

When I committed last night, I thought things were working, but they are not, as seen by https://github.com/phetsims/scenery/issues/801, I'll keep looking at this.

Just curious, why the instanceof window[ ... ] checks (and the extra slow DOM operation)

I agree! I converted the types to text tag names, and I like the implementation better now, would you please review @jonathanolson at earliest convenience. Tests and fuzzes are now passing.

Oh sorry, I mean @jessegreenberg.


cpe_osquery && osquery.conf && scheduled queries

Update cpe_osquery to write osquery.conf files for scheduled queries, etc

This is done


Can't set clear background / background color when using projection globe

Environment

Mapbox (GL) implementation: v10
Mapbox (GL) version: 10.6.0
@rnmapbox/maps Version #main
Platform: iOS
React Native Version 0.69.0
Platform OS: iOS 15.5
Device: iPhone 13
Emulator/ Simulator: Sim
Dev OS: OSX 12.5

Standalone component to reproduce
The bugreport template link is invalid, but I've tried many variations so not sure which would be the one to test from, there's no way to get a transparent BG:

BackgroundLayer set's on the globe itself, not behind. style attribute doesn't do anything.

Seeing there's a SkyLayer, will test after I finish a new build..

Hey man, how did you set projection globe with react-native? I do not find the property about it.

Hola buenas, ahi alguna solucion para este problema?


Feature group list in Proteome Comparison-reference option not alphabetical, or in order of most recent

When you have a lot of feature groups, this makes it difficult to step through.

this seems duplicate of #1347 . Closing this and leaving the other open.


retrieving result file fail with workdir

Currently we retrieve result file as if it is from the current directory, but workdir will change the location of remote file and make retrieving result file not possible.

With #1417, the behavior is at least persistent. However, for
output: 'result1.txt'

task: workdir='/'
sh: expand=True
    echo Output: {_output} > {_output}
    echo PWD: `pwd` >> {_output}

we get the following with the docker VM
 sos run test -q docker -c ~/docker.yml -s force
INFO: Running default:
WARNING: Using absolute path as workdir is not portable.

ERROR: [default]: Failed to copy /root/vatlab/sos/test/result1.txt from docker using command "rsync -a --no-g -e 'ssh -o 'ControlMaster=auto' -o 'ControlPath=/Users/bpeng/.ssh/controlmasters/%r@%h:%p' -o 'ControlPersist=10m' -p 32794' root@localhost:/root/vatlab/sos/test/result1.txt "/Users/bpeng/vatlab/sos/test"": command return 23

because the _output is now generated in workdir.


Open VSX Registry: Awareness and Important Steps

@scsmash3r has published this extension in the Open VSX Registry.
The service was recently transferred to the Eclipse Foundation and we want to ensure a seamless transition for our users. To ensure uninterrupted service and more exposure for your extension, I recommend the following.
To the maintainers: If you would like to take over publishing to open-vsx.org, here’s how: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
To the current publisher: Please sign the Eclipse Publisher Agreement. The signing process is explained in the Wiki (steps 1 and 2).
Claiming ownership of the namespace for your extension(s). To find out how to do this, see:
https://github.com/eclipse/openvsx/wiki/Namespace-Access
As owner you can add more namespace members (including service accounts) yourself in https://open-vsx.org/user-settings/namespaces. Note that publishing can be done by any contributor to the extension, namely those you add as namespace members once they have signed the Publisher Agreement as well.
Useful links:
Eclipse Publisher Agreement
Eclipse Foundation Open VSX Registry Frequently Asked Questions (FAQ)
More details are in these recent blog posts:
https://blogs.eclipse.org/post/brian-king/open-vsx-registry-under-new-management
https://blogs.eclipse.org/post/brian-king/new-era-open-vsx-registry
Today, there’s growing momentum around open source tools and technologies that support Visual Studio (VS) Code extensions. Leading global organizations are adopting these tools and technologies. This momentum has spurred demand for a marketplace without restrictions and limitations. We hope you join us on this journey as we continue to build the Open VSX community.
We look forward to continued innovation from you in 2021!

@brianking
@be5invis
If any steps are required from my side, I'm always available for steps to be taken. For now I'm not claiming anything, nor signing any stuff, so it is up to the author of Nomo iconset to act (or leave it all as it is).
(just letting you know I'm there and available)

@brianking
@be5invis
If any steps are required from my side, I'm always available for steps to be taken. For now I'm not claiming anything, nor signing any stuff, so it is up to the author of Nomo iconset to act (or leave it all as it is).
(just letting you know I'm there and available)


SUP-820 Pull latest 1.4 version terraform from docker image

Update the terraform version used in CI to 1.4
This is implemented through multistage build for caching performance

@mcncl how do you think we should implement this? In the multistage build I've done now or using the existing method to download binary explicitly?
I think if we do it the multistage way, we could use the pull-through cache again. @yob could you weigh in as well?

I use TF 1+ for everything and never use this Dockerfile, so it's reasonably safe to assume we can bump this to the latest stable

I'm very surprised to see this works straight away. Maybe the other recent upgrades we've done has had an impact

@jradtilbrook it's always Just Worked™ with 1+ for me


Uncaught Error: UnknownSystemError: Unknown system error, fdatasync

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.19
System: Mac OS X 10.10.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: UnknownSystemError: Unknown system error, fdatasync
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:809

Error: UnknownSystemError: Unknown system error, fdatasync
  at Error (native)
  at Object.fs.fdatasyncSync (fs.js:773:18)
  at TextBuffer.module.exports.TextBuffer.backUpFileContentsBeforeWriting (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1103:10)
  at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1020:31)
  at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1004:19)
  at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:584:26)
  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:547:18)
  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:530:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:609:35)
  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:293:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:145:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:169:7)

Commands
     -0:33.2.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:33.2.0 editor:indent (atom-text-editor.editor.is-focused)
 13x -0:31.9.0 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:30 core:move-left (atom-text-editor.editor.is-focused)
  4x -0:29.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:28.1.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:28.1.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:28.1.0 editor:indent (atom-text-editor.editor.is-focused)
 13x -0:27.1.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:24.9.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:24.3.0 core:backspace (atom-text-editor.editor.is-focused)
 14x -0:23.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:20 core:backspace (atom-text-editor.editor.is-focused)
     -0:19.3.0 core:move-down (atom-text-editor.editor.is-focused)
  4x -0:18.8.0 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:17.4.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "projectHome": "/Volumes/Seagate Backup Plus Drive/web_dev",
    "themes": [
      "one-dark-ui",
      "base16-tomorrow-dark-theme"
    ]
  },
  "editor": {
    "invisibles": {},
    "backUpBeforeSaving": true
  }
}

Installed Packages
# User
No installed packages

# Dev
No dev packages

Looks like this error is coming either from https://github.com/atom/text-buffer/blob/0be2cc30fa0bd9d073b90251d74ecaae9af6693f/src/text-buffer.coffee#L1298 or https://github.com/atom/text-buffer/blob/0be2cc30fa0bd9d073b90251d74ecaae9af6693f/src/text-buffer.coffee#L1318.
/cc @nathansobo, @bronson

fdatasync flushes buffered file contents to disk so we're sure the backup is safe. Not sure what the system error could have been that prevented this. @justingrady were you able to subsequently save successfully. Was there anything interesting about the directory you were writing to permissions-wise?

Happens as well for me on OS X 10.11.3 only when the backup before saving option is enabled. The only other non-standard configuration on my system is, that my project folder is on a NTFS volume (read/write access with Paragon NTFS driver).

Having the same issue on OS X when trying to save a file on an NTFS drive with backup before saving enabled.

@as-cii can we drop this old backup approach now that you've added the recovery service?

@nathansobo, maybe I'm not understanding...  The recovery service is meant to reliably guard against out-of-disk-space errors?

Ah, you're talking about this feature: https://github.com/atom/atom/pull/11828  I thought you were talking about file restore.
Agreed, it does sound like it could replace backup files.  Sorry for the noise.

can we drop this old backup approach now that you've added the recovery service?

Yes, I believe so. I was thinking we might drop it in the next stable version before rolling the railcars after the current beta period in order to ensure everything works smoothly. Thoughts? 💭


ReferenceError: Buffer is not defined after updating to Angular 6

Hello,
I've updated my Angular application from Version 5.2 to 6.0.
After that, my application is crashing everytime I try to decode a base64url encoded string (like in a JWT payload).
Following error occurs in the browser console:
ERROR Error: Uncaught (in promise): ReferenceError: Buffer is not defined ReferenceError: Buffer is not defined     at Function.decode (b64u.m.js:27)
I've already done some research and other people also have this particular error after upgrading to Angular 6, but I couldn't find any reason why it is throwing the error. In Angular 5.2 everything worked fine.
A workaround I found is to insert the following line of code into your polyfills.ts:
global.Buffer = global.Buffer || require('buffer').Buffer;
Does anyone know what I need to do to get it work without the workaround above? Does this package need to be updated for Angular 6? I don't know what was changed in Angular 6.0 compared to Angular 5 so that this error is now thrown.
I appreciate any help or more information about this :)
Thanks and have a nice day!

How is the application being bundled?  I would assume that the switch from 5.2 to 6.0 could have dropped a polyfill, depending on the bundling config.  Webpack, etc, should be handling Buffer in the browser.


Inconsistent lifetime of arguments

I think, the lifetime of methods args actually should be less then 'env, because we no need to hold arguments after method called.
For example, currently one of Throwable constructor, which gets string, is defined as:
pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

It means that the lifetime of argument should be same as 'env, but actually no need to hold passed string object after method is called.
So, I assume, actually we need something like:
pub fn new_String<'env: 'arg, 'arg>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'arg String>>
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

Fix me if I mistake.

I believe you're correct.

I written simple helper which throws exception for null values:
pub fn throw_null<'env: 'val, 'val, Class: AsValidJObjectAndEnv>(env: &'env Env, value: Option<Local<'val, Class>>) -> Result<Local<'val, Class>, Local<'env, Throwable>> {
    value.ok_or_else(|| {
        let message = new_string(env, "Unexpected null value");
        Throwable::new_String(env, &*message).unwrap()
    })
}

But currently I cannot make things like that because I get an error:
error[E0515]: cannot return value referencing local variable `message`
   --> example.rs: 10:9
    |
105 |         Throwable::new_String(env, &*message).unwrap()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------
    |         |                            |
    |         |                            `message` is borrowed here

I don't quite familiar with java and jni, but I assume that we no need to hold a variable after it is passed as an argument.


Bug: right click on journal rolltable doesnt work

Currently on PF2E latest version, right clicking a rolltable link in a journal doesnt do anything, latest foundry and module version

adding to the bug:
Copying rolltable or duplicating a rolltable is also broken with the module active, it copies it with empty entries

DND 5e. It works from the roll table tab, but roll tables in compendiums it shows the "dice" but left click does nothing

For PF2E : That's quite f*cked up but actually it does not bug if the Default journal sheet is set to Default Text Editor.  if you change it to TinyMCE for example, RFS stop working properly.

Still happening when right-clicking from a journal. Throws this error:

Still happening with Twilight:2000.


I think the tabs on top should be posts and posts + replies

Hi,
I think the tabs on top should be posts and posts + replies. I always like to see posts + replies, but on Amethyst I need to switch tabs because I can only see posts or replies, not both.

Is that what the difference is between "New threads" and "Conversations"?

New threads are new posts by your follow list selected on the top bar.
Conversations are all of their replies and comments in chats, communities, etc.


fix(deps): update terraform ibm to latest for the da solution

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
minor
1.67.1 -> 1.68.0

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.68.0
Compare Source
Features

Support CBR

Datasources

ibm_cbr_zone_addresses

Resources

ibm_cbr_zone_addresses

Support CIS

Datasources

ibm_cis_origin_certificates

Resources

ibm_cis_advanced_certificate_pack_order
ibm_cis_origin_certificate_order

Support VPC

Resources

ibm_is_bare_metal_server_initialization

Enhancements

Add dhcp network support for stratos (5503)
IAM Policy Assignment: S2S Policy Assignments (5499)
Code Engine Provider and Documentation Update (5347)
move wait_till logic into function, integrate it into vpc_cluster datasource (5476)
Remove hardcoded values for private and direct cos config endpoint (5484)
feat(bm-dynamic-bandwidth): Support for bandwidth in bare metal (5493)
Doc update for ODF (5454)
feat(fs-cross-account): Support for file share cross account access (5510)
feat Bm firmware update (5519)
Changing the documentation for SCC (5456)
feat(lb-parameterized-redirect): Update doc to specify parameterized url redirect (5521)
chore(Cloud-Databases): Remove Datastax (5511)
feat(ResourceController): Added onetime_credentials to ResourceInstance and ResourceKey read schemas (5532)
Add PhysicalAddress and CapabilitiesManagedBySatellite to Terraform SatelliteLocation (5530)
Added support for bm reinitialization (5520)

BugFixes

fix(CIS): updating managed ruleset documents (5488)
fix(ins-keys): Make VSI keys optional (5518)
fix(is-volume): Set catalogoffering computed attribute empty list (5514)
add import_on_create param to ibm_container_vpc_worker_pool doc (5506)
[Doc]Update Doc for E1080 Support (5536)
Fix(iam-identity):trusted profile templates (5440)
S2S documentation note for ibm_kms_key and minor linting fixes (5529)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This issue has been resolved in version 1.11.3 :tada:
The release is available on:

GitHub release
v1.11.3

Your semantic-release bot :package::rocket:


Close up Objects in Context not detected

I tried running some tests
Here is what i found I am not sure whether this is an issue to be report or not but nevertheless I am reporting it assuming this might help you
The below code was used
`from imageai.Detection import ObjectDetection
import os
execution_path = os.getcwd()
detector = ObjectDetection()
detector.setModelTypeAsRetinaNet()
detector.setModelPath( os.path.join(execution_path , "resnet50_coco_best_v2.0.1.h5"))
detector.loadModel()
custom_objects = detector.CustomObjects(person=True, car=True)
detections = detector.detectCustomObjectsFromImage(input_image=os.path.join(execution_path , "img1.png"),
output_image_path=os.path.join(execution_path , "image1_new.png"),
custom_objects=custom_objects, minimum_percentage_probability=65)
for eachObject in detections:
print(eachObject["name"] + " : " + eachObject["percentage_probability"] )
print("--------------------------------")`
The output was not as expected. This may be problem with resnet also.

The problem is that the "minimum_percentage_probability" you stated (65) is too high. Try and keep it at 50. See below the result I obtained using the same image and a "minimum_percentage_probability" of 50.

Thank you very much. I am learning all these concepts recently. Sorry abt the wrong questions.

It's okay, and you are most welcome.


Add message pinning by voting with reactions

Type of pull request

[x] New feature
[ ] Bug fix
[ ] Refactoring
[ ] Feature update
[ ] Other

Describe your PR in detail

Feature adds option to pin messages by users themselves using the 📌 emoji reaction enough times.

/lgtm

What if maximum of pinned messages in the channel is reached? Maybe remove oldest pin, or additionally to console log, write out the error to the channel.

In commit 5e32261, the feature will remove the oldest pin if the PIN_LIMIT of 50 set by Discord is reached.


isFloat fails on non-integer values

https://github.com/dandean/express-form/blob/602899be11767f90559bc6beb20bf9a405695f4d/lib/field.js#L254
It seems that isFloat should have a valid response if the value is a numeric non-integer. For example: 4.5.
Perhaps the isFloat and isDecimal methods should be renamed to isInt.
If you'd like, I can propose a solution and submit a PR, but I'd like to know your thoughts about this.
Thank you.

The primary fork is now https://github.com/freewil/express-form


New ads and tracking sites

Sorry @anudeepND may I ask you to resubmit?  I merged dfd38474825b prior to seeing this.

@StevenBlack do I need to create another pull request.

After Steven merged https://github.com/StevenBlack/hosts/commit/dfd38474825beace702b64969d302b3bd7fa2c1b it created a conflict with your PR because it updated the same file, so now it includes things yours does not. If you are only using your current fork of this repo to submit PRs and don't have other branches you are working on personal projects with, the fastest thing to do would be to just delete your current fork and refork it again. Then add your changes to the fresh fork and submit a new PR.

@ScriptTiger Thanks for the info. I will create a new PR :)

@anudeepND and @ScriptTiger um, this is a lot quicker, and easier:
git rebase -i origin/master

@anudeepND and @ScriptTiger more info: How to Rebase a Pull Request

I know anudeepND had been using a mobile device for previous PRs, so that was just the mobile solution without having a physical local fork and using an actual git client.


2 way data binding for rating module

Hello,
There is no 2 way data binding for rating module, I think it will be very helpful if we can bind it.
Regards

@kacepe : Did you find any ways to do it. Because it will be really great full atleast if we can do it for [initialRating] attribute.

@kacepe : Did a little tweak in ng-semantic rating module. Not sure the right way to do it, but it works.
ngOnChanges(changes: SimpleChanges) {
    if(changes['initialRating'] != null){
        jQuery(this.rating.nativeElement)
            .rating({
                initialRating: changes['initialRating'].currentValue || 0,
                maxRating: this.maxRating || 5,
                onRate: (value: number) => {
                    this.onRate.emit(value);
                }
        });
    }
}


Issue deploying my own token

Hello,
I am having issues deploying my token based on your contracts.
(env) root@ip-172-31-52-247:/home/ubuntu/microraiden_final/microraiden/contracts# python deploy/deploy_testnet.py --chain kovan --owner  0x6017275B96140b2B8F30eD7d1785D31D26a8bF91 --token-name ERC223Token --token-decimals 18 --token-symbol TST
Make sure kovan chain is running, you can connect to it and it is synced, or you'll get timeout
Web3 provider is RPC connection http://<IP_ADDRESS>:8545
ERC223Token  address is 0xd1af2920b454dae0816214c6b564f8ea3c1e5e3c
Traceback (most recent call last):
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 389, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 309, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8545): Read timed out. (read timeout=180)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "deploy/deploy_testnet.py", line 179, in
print(getTokens())
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "deploy/deploy_testnet.py", line 131, in getTokens
txhash = channel_factory.deploy(args=[token_address, challenge_period])
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/web3/contract.py", line 310, in deploy
txn_hash = cls.web3.eth.sendTransaction(deploy_transaction)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/eth_utils/string.py", line 85, in inner
return force_obj_to_text(fn(*args, **kwargs))
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/web3/eth.py", line 249, in sendTransaction
[formatters.input_transaction_formatter(self, formatted_transaction)],
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/web3/providers/manager.py", line 27, in request_blocking
response_raw = self.provider.make_request(method, params)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/web3/providers/rpc.py", line 52, in make_request
**self.get_request_kwargs()
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/web3/utils/compat/compat_requests.py", line 21, in make_post_request
response = session.post(endpoint_uri, data=data, *args, **kwargs)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/requests/sessions.py", line 555, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/microraiden_final/microraiden/env/lib/python3.5/site-packages/requests/adapters.py", line 521, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=8545): Read timed out. (read timeout=180)
Kovan is synced and working correctly with Microraiden, although it gives me a read time out when trying to deploy.

Hi, what happens if you change the timeout value for kovan from 180 to something bigger - e.g. 360?
https://github.com/raiden-network/microraiden/blob/master/contracts/populus.json#L184

I think your account is locked. Check the commands for running the chains: https://github.com/raiden-network/microraiden/blob/master/contracts/README.md#chain-setup
especially:
--unlock 0x6017275B96140b2B8F30eD7d1785D31D26a8bF91 --password ~/password.txt

If this is the issue, please let me know. I would however keep this open - a check for the existence of the account & locked/unlocked state should be implemented.

Hello,
I am using parity with the account unlocked. I can use microraiden channels without any issue, just when I am trying to deploy the token I get the timeout.

Hello,
Problem solved.
I just had to edit the populus.json with the correct account :-)
Thank you


Godot 4 support

Are you considering support for Godot 4? Is it feasible in some godot4 dedicated branch, or do we need a brand new repository to submit the Godot 4 version to the official Asset Library?
I started working on a Godot 4 code upgrade, and it looks promising. Besides code syntax and naming changes, the biggest actual structural change is that animations are gathered into animation libraries, but even that didn't require too much change to adapt.
I will fork this repository and put my changes in some dedicated godot4 branch that I will refer to here, then you can decide if you want to merge them in a dedicated branch on this repository too; or possibly boot up a brand new repository just for Godot 4.

OK, you can check my work on Godot 4 update here: https://github.com/poohcom1/godot-animated-sprite-2-player/compare/master...hsandt:godot-animated-sprite-2-player:godot4
I also have a bonus commit to sanitize animation names if needed: https://github.com/hsandt/godot-animated-sprite-2-player/compare/godot4...hsandt:godot-animated-sprite-2-player:godot4-sanitize-animation-name
but technically it's not a thing to do with Godot 4 animation library, it's something we could have added back in Godot 3, so I put it in a separate branch.

@hsandt Looks great! I haven't thought about making a 4.0 because the games I've been using this for was in 3.x, so I really appreciate the help.
If you want, you can open up a pull request for both the 4.0 update and the sanitize name changes (I've just made a new branch for 3.x), and I'll upload a 4.0 version to the asset library.

OK I can do that, you mean both patches together or in 2 PRs?

Yeah, or you can combine the patches into one PR as well.
So something like:

godot4 + godot4-sanitize-animation-name -> master (4.x) branch
godot4-sanitize-animation-name -> 3.x branch (if you want)

@hsandt Alright, I've uploaded the 4.0 version to the asset library. It's under review, but it should be available soon. Thanks again for the help!

Thanks, I see it live! https://godotengine.org/asset-library/asset/1605
Maybe we could add the badge for v4.0 on the README too for completion?

Ah right, I forgot about the badge. I'll update that as well!

Not sure if I should reuse this ticket or open a new one (apparently I can't reopen this one), but I sent my PR for API update for beta 16 anyway.
I'll keep having an eye on every future beta snapshot and will update the API accordingly. I use a custom branch on my side, but I suppose you can just merge all the updates into your master to be up-to-date with the latest API.