CMS-1030: Scopes syntax

Updates the --scope= option to use standard comma separated syntax instead of requiring repeated declarations of --scope for each individual scope.

@kporras07 Good catch, updated.


Add ability to loop through posts in alphabetical title order

Presently {{foreach}} in a list template loops through posts in published order. Add a way to loop through them in title order.

Added in 5ac6add.
Just specify the sections to list alphabetically by title in the new config.toml alphabeticalSections array. by default sections are listed by publication date.


docs(config-file): update tip note about string replace

Description
in the documentation, guide developers about errors that may occur in certain use cases, referring to the vite configuration file
Additional context
reproducing:

start a new project with vite + vue + ts
insert console.log("import.meta.url") at the end of the vite.config.ts file
build the project

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[X] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

@jprando https://stackblitz.com/edit/vitejs-vite-bme6zd?file=vite.config.ts&terminal=dev
I was not able to reproduce it. Am i missing something?

@jprando https://stackblitz.com/edit/vitejs-vite-bme6zd?file=vite.config.ts&terminal=dev I was not able to reproduce it. Am i missing something?

forward this asciinema
https://asciinema.org/a/ps6ywAZOHktoOElYd37JVQR69
look for double quote in console.log

@jprando https://stackblitz.com/edit/vitejs-vite-bme6zd?file=vite.config.ts&terminal=dev I was not able to reproduce it. Am i missing something?

double quote here

I can reproduce it too with double quotes. On the other hand, I wonder if we should change the strategy to polyfill using globals instead 🤔
globalThis.import = { url: "bla" }
globalThis.__dirname = "bla"

Global variables or define cannot be used because the value differs among files.
For example,
// foo.js
export const myFile = __filename

// -----------
// vite.config.js
const { myFile: myFileFoo } = require('./foo.js')
const myFile = __filename

console.log(myFileFoo) // 'foo.js'
console.log(myFile) // 'vite.config.js'

That's true, maybe we can inject them at the top of the file as variables, but now I'm also leaning to not polyfilling them at all to keep it closer to specs. And with Vite 3 around the corner, we can group all config issues and make one breaking change 🤔


Beacon block request handler

Implements handling of and responding to beacon chain GetBeaconBlocks messages.
Cute Animal Picture

Note that in the last commit, I made a minor change to the BaseRequestServer: I changed the type hint for the peer pool from BaseChainPeerPool to BasePeerPool so that it works with the BCCPeerPool (which is not a BaseChainPeerPool because BCCPeer is not a BaseChainPeer because BaseChainPeer has some PoW specific details).

Also noticed there is no skip parameter for the GetBeaconBlocks command, nor a reverse. Is this intentional?

Yes, I'd like to keep everything as simple as possible for as long as possible, and neither reverse nor skip seem particular important for an MVP testnet. If it turns out that we need it, we can always add it later.

I would highly recommend adding a request_id parameter to any of the GetThing/Thing command pairs so that clients can have strong linkage between a request/response.

Basically left this out for simplicity as well. But I agree that request ids are most likely going to be quite helpful. So I'll probably going to add them in the course of beacon chain syncing which I'm going to work on next.


Suddenly disconnection

Hello,
I am trying to keep the script running for a long period, but I am getting disconnections. The disconnection usually happens after 1-2 dyas. I followed the advices from the other issue related with the raspberry. Here is the trace I am getting:
Error { type: 'WebSocketError', error: 'close code 1006' }
{ type: 'WebSocketError', error: 'close code 1006' }
Error { type: 'WebSocketError',
error: 'Unknown socket error: ENOTFOUND getaddrinfo' }
{ type: 'WebSocketError',
error: 'Unknown socket error: ENOTFOUND getaddrinfo' }
Many thanks!

Hi @Fernandez-Marquez
Is it eventually able to reconnect? Or do you need to restart the app?
It looks like it can't resolve the DNS to Pusher after a while. Is the machine still able to pint e.g. google.com ?


Do you use biT-flow in ttv?

Thank you for your great previous reply. I have suceessfully finetune your pretrained model. Do you use biT-flow in ttv?

Hi!
Glad to hear that :)
I have not used BiT-Flow yet in ttv.
Actually, I think that it could improve the performance like NaturalSpeech.
However, I do not have an exact alignment between text and speech so I do not use BiT-Flow in TTV.
If you can utilize an external aligner to get a duration before training, I recommend using BiT-Flow in TTV!
Thanks

I don't have a accurate aligner. the alignment of pretrained ttv is OK?

I don't recommend using the alignment of pretrained TTV. The alignment of MAS is not accurate.
An external aligner such as MFA is good for that.
However, if you hope to use the external aligner, you may need to change some modules in ttv.
In this case(when using an external aligner), I recommend using frame prior network of Period VITS with length regulator.
Period VITS: https://arxiv.org/pdf/2210.15964.pdf
Thanks


Revert "pydoc-markdown v4.3.0"

Reverts conda-forge/pydoc-markdown-feedstock#3

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add transform function after condition

The scheduler will trigger the _execute function every time, but the transform configuration will lost during the execution period.
All the custom operations will not be executed after condition executed.

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

Hey @stefli! Please sign the CLA.

@sergibondarenko
I have figured out what's wrong with my configuration.
According to code:
let resp;       if (task._source.wizard) {         resp = await watcherWizardHandler.execute(task);       } else {         resp = await watcherHandler.execute(task);       }
Only when wizard node exists in config, it will call watcherWizardHandler.execute(task). But there is no transform function in watcherWizardHandler.execute(task).
So, i checked all my configurations, and found all the configurations contain the wizard: {} node. That's why the transform function never been executed in scheduler mode.
You can ignore this pull request now.
But i still want to know why don't need the transform function in watcherWizardHandler.execute?

Ok, I close this PR for now.

So, i checked all my configurations, and found all the configurations contain the wizard: {} node.

@stefli did you create the advanced watcher? I don't see the wizard: {} when create a new advanced watcher, look at the screenshot below. Maybe the Sentinl version you installed has a bug. Please get a package you need from the latest releases https://github.com/sirensolutions/sentinl/releases


build dependency with -std=c++14

I use gcc version 4.8.5 because of my company requirement.
When I build using cmake and make, compiler throw this message.
c++: error: unrecognized command line option ‘-std=c++14’
CMakeFiles/g3logger.dir/build.make:62: recipe for target 'CMakeFiles/g3logger.dir/src/logworker.cpp.o' failed
make[2]: *** [CMakeFiles/g3logger.dir/src/logworker.cpp.o] Error 1
CMakeFiles/Makefile2:173: recipe for target 'CMakeFiles/g3logger.dir/all' failed
make[1]: *** [CMakeFiles/g3logger.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

I knew the function 'std::make_unique<>()' is in c++14. So, I replace it to my make_unique code, not std.  But It still throw same message.
I tried this log because only c++11 and no other dependency. Is it only c++11 right?
How can I solve this problem?

Hi
With your compiler version the c++14 option should be -std=c++1y
If that doesn’t work then a few pull requests ago I replaced the home made  std2::make_unique for std::make_unique
You can go back to the version before that pull request (see pull request history) and that should help you
I will tag that version later so it’s more obvious

Leaving it as opened until I’ve tagged the pre std::make_unique

The software is tagged for the last commit with c++11 support
https://github.com/KjellKod/g3log/releases/tag/1.3.1


That's did not mean i can't solve it

i'm editing in browser with my phone

There is no problem before, https://t.me/tgbot_chat/1741


Invalid context JSON causes bad state

Description
When editing and saving a nats context with invalid JSON (e.g. an extra comma "url": "nats://<IP_ADDRESS>:4222",,), the cli throws a very generic and unspecific error (e.g. nats: error: invalid character ',' looking for beginning of object key string). If one realizes that the issue is a typo in their <context>.json file, they are unable to fix it since running nats context edit on the affected context will throw the same error. The only solution is to navigate to the directory where the contexts are stored and edit them there, instead of accessing the .json config files through the CLI.
Is there a reason why the CLI is validating JSON before allowing the user to edit the context? Also, the resulting error that is thrown is not very descriptive/intuitive.
Steps to Reproduce
# Create a new context
❯ nats context save new_context

# Edit new context with invalid JSON
❯ nats context edit new_context
# ------ new_context.json ------ #
{
  "description": "",
  "url": "nats://<IP_ADDRESS>:4222",, # notice the extra comma
  "token": "",
  "user": "",
}
# ------------------------------- #

# Upon closing and saving your newly edited context, the following error is (expectedly) returned
nats: error: invalid character ',' looking for beginning of object key string

# When trying to reopen the .json file through the cli the same error is thrown
❯ nats context edit new_context
nats: error: invalid character ',' looking for beginning of object key string

# The only way to fix it is to open and edit the file without interacting with the cli
❯ vim ~/.config/nats/context/new_context.json

Local Environment
❯ nats --version
0.0.35

❯ system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 13.1 (22C65)
      Kernel Version: Darwin 22.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Chip: Apple M1 Pro
      Total Number of Cores: 8 (6 performance and 2 efficiency)
      Memory: 16 GB
      System Firmware Version: 8419.60.44
      OS Loader Version: 8419.60.44

There is a fix in the next release to validate before saving which should help

Should it still be validating before you nats context edit? What if you edit the context file with a typo through its file path? When you use the CLI to edit again it will throw the error instead of allowing you to edit.

Will make it not validate before edit

Beautiful! Thanks!


net/http: client fails when server closes connection before reading request body

What version of Go are you using (go version)?

$ go version
go version go1.17.6 linux/amd64

Does this issue reproduce with the latest release?
Yes (go1.18beta2)
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/dustin/.cache/go-build"
GOENV="/home/dustin/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/dustin/.gvm/pkgsets/go1.15.14/global/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/dustin/.gvm/pkgsets/go1.15.14/global"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/dustin/.gvm/gos/go1.15.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/dustin/.gvm/gos/go1.15.14/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/dustin/tmp/server/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build635155538=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://go.dev/play/p/QW2sddZp7XY
tl;dr: when a server sends a response and closes the connection before reading the request body, net/http fails with an error.  We've observed this behavior with haproxy, and it appears to be allowed by RFC 7230:

A server MUST read
the entire request message body or close the connection after sending
its response, since otherwise the remaining data on a persistent
connection would be misinterpreted as the next request.  Likewise, a
client MUST read the entire response message body if it intends to
reuse the same connection for a subsequent request.

and

A client sending a message body SHOULD monitor the network connection
for an error response while it is transmitting the request.  If the
client sees a response that indicates the server does not wish to
receive the message body and is closing the connection, the client
SHOULD immediately cease transmitting the body and close its side of
the connection.

What did you expect to see?
Successful HTTP response (307 Redirect)
The client should, on noting that it cannot write to the connection, check whether the data received on the connection constitutes a valid response, and if so return that response instead of an error.
What did you see instead?
2009/11/10 23:00:00 Post "http://<IP_ADDRESS>:8080": write tcp <IP_ADDRESS>:22845-><IP_ADDRESS>:8080: write: connection reset by peer

Looking at a packet dump of this behavior, it appears that when the server closes the socket, the client continues sending data, which generates RST frames from the server, which translate into the given error.  In fact, this all occurs before the server sends a FIN frame.

cc @neild


how to add an video and set a favicon?

I want to add an video into my blog and set a favicon but i don't know how, is there anyone could help me plz!

and @vjeantet how to make that effect at the bottom of your article ( read the next ), thanks

https://gohugo.io/content-management/shortcodes/#youtube

youtube is locked in china, but thank you though, I'll check the hugo guide. @tarpdalton

youtube is locked in China, but thank you though, I'll check the hugo guide. @tarpdalton


Change code according to firewall standard 2.0

This change is

Reviewed 15 of 15 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


🧺 pd: self-host complete web frontend

#3522 was an experiment in bundling the web frontend code in the fullnode. we would like to allow users who run pd nodes to self-host a complete Penumbra frontend as part of running pd start. this will include auto-https.
that experiment looked very desirable, so this is an issue to track reviving and landing that work.
NB: this can't be completed until #3627 is finished.

We'll probably need to rebuild #3522 anyways, so if we could clean up the auto-https support to get something that works directly with Axum first, we would have an easier time rebuilding that work.

- @hdevalence, here.
:link: related

#3522
#3119
#3627

#3522 addressed this!


GetNumVertices in StaticMesh is missing

Hi!
I need to get number of vertices from static mesh.
There is a C++ method called GetNumVertices. But I can't find it  in sm.functions()
I tried call it like sm.call_function('GetNumVertices', 0) but got an exception
"Exception: unable to find function"
Is there a way to call methods from C++ API that are not exposed?
Best regards

The same goes to UMaterial::GetUsedTextures
Is it possible to call it from Python without exposing it through C++ to Python manually?


Create manhuagui.com.js

漫畫櫃/manhuagui
Is it a good idea to show ranking by typing some keyword such as "hot?" in the search bar?

漫畫櫃/manhuagui Is it a good idea to show ranking by typing some keyword such as "hot?" in the search bar?

Yes, like new , hot or popular.


Layouts - Updating adjacent layout deletes sublayouts of another layout.

Create layout
Create sublayout inside of first layout
Create layout  below first layout
Edit 2nd layout.
It'll reset the first layout. - I don't expect the two should not be related in any way.

~~http://screencast.com/t/w43o5iRg~~
http://screencast.com/t/FmqZnBjVlKyZ

I don't understand the video you posted. The video looks like the proper
behavior in this situation. It doesn't really match up with the steps
you've provided
On Mon, Jul 6, 2015 at 2:50 PM, timdix<EMAIL_ADDRESS>wrote:

Create layout
Create sublayout inside of first layout
Create layout below first layout
Edit 2nd layout.
It'll reset the first layout. - I don't expect the two should not be
related in any way.

http://screencast.com/t/w43o5iRg
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/issues/2671.

I apologize, I somehow got my bug videos mixed up. Please see the correct one linked now that demonstrate the bug.


More documentation about how to install Google Optimize

Is your feature request related to a problem? Please describe.
It is unclear about what needs to be installed to get this library to work.
The docs mention

Using the useGoogleOptimize hook requires that you've installed Google Tag Manager and created Google Optimize test cases.

But clicking that link, there is note that says to use the Optimize js install:

We strongly recommend using the optimize.js installation method as it offers the best performance and is the easiest way to install Optimize.

So what do I need to install to get this to work? GTM or Optimize or both?
Describe the solution you'd like
Please update documentation on readme to describe how to get this working as it appear the linked documentation may have changed without knowing.
Describe alternatives you've considered
N/A
Additional context
N/A

Good question, I'm not sure anymore. This was accurate when I released it. Would happily accept a PR that clarifies.


Update version to 5.22.0

Nice job!

No problem. Sorry I forgot to update the readme.

No problem @mysmallidea thx!


Create documentation around how to maintain the Code to Condition table

Problem statement
There is currently not enough documentation around how engineers should handle updating the code to condition table in the UP.
What you need to know

Example: If we receive notification of a new code, or if the logs determine we have unmapped code/condition values, how do we (Engagement engineering team) go in to update the table to include those new values?
What should we be looking at in the logs to determine we are missing a mapping? Do messages need to be resent after adding new mapping?
How do we determine what condition a LOINC code maps to?
When a new sender is onboarded what's the process for getting their supported LOINC codes, checking if their LOINC codes are already mapped, mapping them to conditions and updating the table.

Acceptance criteria

[ ] Process for updating missing code-to-condition mappings is documented
[ ] Documentation for onboarding senders is updated with process on how to maintain their supported conditions
[ ] Present new processes to the team

To place in getting started-> SOP in github repo


preventDefault when clicking an element inside Dragdealer

Hi,
I am building a slider where there are clickable elements inside my Dreagdealer. I am using transform: scale() to achieve an effect. When clicking on my clickable elements the 'active' class still get's added (which in my case means my transform kicks in and I am not able to click the element due to resizing of my wrapper)
I am using the vanilla js version of you script. Is there a way to stop propagation (not adding the active class)
Additional information:

I am using the latest version of dragdealer
Chrome version  64.0.3282.186

Thank you and I hope you can help me!

Closing this issue


hot restart: start parent shutdown sequence after init complete

Previously it was possible to race with initialization.

@kyessenov this will fix your other issue. Please test.


Mark non available packages used as missing

If I use the code
\usepackage{X}
the package name X should be marked red, if the package X is not available.

This will require a LaTeX SDK system that we are planning on for the first 'official' release (v1.0). It will take a while until we are that far.


Move Arrow to exported icons directory

As a part of our Messages V1 updates, we want to render this arrow above our Alert component in a similar fashion to the tooltip. This PR simply exports the Arrow icon so that we can render it alongside the Alert.
This seemed a little bit more flexible than trying to extend the existing Alert component, but I'm open to other approaches if folks disagree.

Maybe the arrow could be included as an optional flag? Like add pointer and location top/bottom

Yeah, that could work, but we also need a way to adjust how far to the left or right the renders, which in our case will vary by the size of the display. For now, I think it's a little bit more flexible to just render the pointer separately. It will be easier to delete the implementation in PocketDerm and replace it with an implementation here than it will to try to rip that behavior out once we add it.


Form filed error on drivers.openstreetcam.org

I can't choose a Country when i'm trying to register. The only country available on the form is Malaysia. Could you fix that issue please?

I have no way to change the country field

@abdhessuk, drivers campaign are no longer available. Will update the website, thanks for highlighting this.


Bug: Cannot add new tags

Environment
Host

item
version

OS
mac

GROWI
5.0.11-RC.0

node.js
16.14.2

npm
8.5.0

yarn
1.22.18

Using Docker
yes

Using growi-docker-compose
no

(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)
(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)
How to reproduce? (再現手順)

Try to add new tags

What happens? (症状)

Cannot add new tags
Tags already saved are able to be added.

What is the expected result? (期待される動作)

Able to add new tags

Note
v5.0.9 work as expected

This bug has been fixed by the following PR
https://github.com/weseek/growi/pull/6022#discussion_r909433033


fix(create): flex wrap on server & network selection

Fix the flex overflow on the selection page when creating a new resource.
Before

After

Thanks for the PR. 🚀


Scala build fails

Hello,
Although I receive no errors when compiling for other languages including Java, when I try compiling for Scala I get the following error:
Error: No bin/java and no environment variable JAVA_HOME
--scala_out: protoc-gen-scala: Plugin failed with status code 1.

The script running the image is similar to the one posted here, but tweaked to only use the protoc-all image, like so:
docker run -v `pwd`:/defs namely/protoc-all -d . -l $lang

So in this case, lang=scala.

@pnadon Did you find a solution to this ?

We ended up using omniproto instead, which has worked quite well for us!


Add OpenFOAM text objects

Text objects for PR#2112 at nvim-treesitter

PR#2112 at nvim-treesitter was merged, so I'd like this to be merged in too


Allow ExtraObjects creation via structured data

Description
Allow Extra Objects to be created via structured data, preventing unstructured errors
Issues Resolved
#463
Check List

[X] Commits are signed per the DCO using --signoff

For any changes to files within Helm chart directories:

[X] Helm chart version bumped
[X] Helm chart CHANGELOG.md updated to reflect change

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I'm having an issue with getting this to work properly when using not using .Values.securityConfig.config.data and using .Values.securityConfig.config.securityConfigSecret instead. Still working on getting it to play nicely.

I'm having an issue with getting this to work properly when using not using .Values.securityConfig.config.data and using .Values.securityConfig.config.securityConfigSecret instead. Still working on getting it to play nicely.

This has been resolved, turned out to be an error on my end.

I ended up going a different route and pulling out the logic for what this PR was opened. Closing.


[IDEA] Use variables file

It would be nice to allow the use of variables files so the dobi.yml file can be reusable in other contexts (example the same application, but witn some personalizations)
As an analogy imagine an ansible playbook (have you used ansible?) I can have a certain playbook that does the same "recipe" but installs different package versions according to some variables, change the host name and so, install nginx an listen for a given domain (different for every deployec host).
Now my use case. We have a base application in python but every customer have a personalized set of modules, but the build, test and deploy steps are the same, the only thing that changes is the database name, the image, etc. I can put a dobi file in every repo, but imagine if I realize that there is a better way to do some steps (or you decide to change something in the file format) a change is needed in all the repos, but if we have a single file (or set of files) and a variables file in every repo it would be a lot better to handle and do something like:
$ dobi app -dobi-file=https://github.com/dnephin/dobi/blob/master/dobi.yaml -vars_file=this_repo_vars.yml

Or locally:
$ dobi app -dobi-file=/path/to/dobi.yaml -vars_file=this_repo_vars.yml

I can wrap it with a python script (sorry, I'm not a Go boy...yet), but I think this would be a nice feature to have. What do you think?

I think it would be good to support something like this. --dobi-file already exists as -f (--filename).
Many fields already support variables and others can be added. The only thing that is missing is loading variables from another file.
One way to do that would be to include another dobi config (meta.include). Currently the file must exist, but there is a proposal in https://github.com/dnephin/dobi/issues/22#issuecomment-257202850 to add more fields to support optional configs.
In the included file you could have an environment resource that references a file:
env=settings:
  files: [filename]

Does that work for the use case?
Note that right now caching is not optimal when env resources are used  (#74), which is a bug that needs to be fixed.


[Feature] Add nl2br to TextColumn

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks, but not going to merge it. We frequently get complaints about these sorts of formatStateUsing() aliases as they cant be combined. And this one can be easily implemented as a macro etc 👍


ReferenceError: jest is not defined

Describe the Bug
https://build.libelektra.org/blue/organizations/jenkins/PermaplanT/detail/PR-1143/7/pipeline
Steps to Reproduce the Problem
cd frontend && npm install && npm run test
Expected Result
success
Actual Result
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '^18.0.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v19.9.0', npm: '9.6.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '^18.0.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v19.9.0', npm: '9.6.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '^18.0.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v19.9.0', npm: '9.6.3' }
npm WARN EBADENGINE }

⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯

Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.

⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯

ReferenceError: jest is not defined

 ❯ node_modules/jest-canvas-mock/lib/mock/createImageBitmap.js node_modules/jest-canvas-mock/lib/mock/createImageBitmap.js:9:16
 ❯ __require node_modules/.vitest/deps/window-47HM6YMB.js:3:50
 ❯ node_modules/jest-canvas-mock/lib/window.js node_modules/jest-canvas-mock/lib/window.js:16:49
 ❯ __require node_modules/.vitest/deps/window-47HM6YMB.js:3:50
 ❯ node_modules/.vitest/deps/window-47HM6YMB.js:3613:16
 ❯ ModuleJob.run node:internal/modules/esm/module_job:218:25
 ❯ ModuleLoader.import node:internal/modules/esm/loader:329:24
 ❯ importMockWindow node_modules/vitest-canvas-mock/dist/index.js:16:27

This error originated in "src/features/map_planning/layers/base/util.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.

PermaplanT version
master
Operating System
Linux
Browser
tests
Versions of other relevant software/extensions
No response
Additional info/logs
When running again it succeeded.

Working on this. Was sick the last few days but I hope I can fix this today or tomorrow.

It is really strange because locally all the tests are running through.

@markus2330 Tests are now passing in #1141
It has to do with fake timers.

@markus2330
Sadly my solution in #1141 did not work. This is such a strange problem.
I decided to see if I can get it to work without the 'vitest-canvas-mock' package. The result is in #1149. I stumbled upon another issue, which made me remove some failing tests.

#1149 seems to get huge...

This is because it is based on #1141.

I didn't really find which commits in https://github.com/ElektraInitiative/PermaplanT/pull/1149 you refer to

This one 122d26e74e02a95a66f87bafe596deccd0e2bd13

LGTM. I assume you didn't skip the test so that we avoid the dep to the otherwise unused lib?

Didn't think about using skip. I just commended it out. But I like skip better, so will change it to that.


[IMP] add thumb up animation

:+1:
will be merged to https://github.com/it-projects-llc/pos-addons/pull/583


New version: MathieuF v0.1.2

Registering package: MathieuF
Repository: https://github.com/Lightup1/MathieuF.jl
Created by: @Lightup1
Version: v0.1.2
Commit: c7ffe8ed5a67cdc03e78039800d0e8dafa0cfea7
Reviewed by: @Lightup1
Reference: https://github.com/Lightup1/MathieuF.jl/issues/3#issuecomment-1702457502
Description: Julia package for Mathieu Functions with function forms similar to Mathieu related functions in Mathematica.

block


Anurag Chatterjee | factorial.cpp | added factorial using recursion c++ code

Hi @siddharth25pandey  ! I am participating in hacktoberfest 2021 and I want to contribute to your repository and so I have added a "factorial using recursion" c++ code inside the "Recursion" directory and have created a PR. I have added comments in every crucial section of the code for better understanding. Please review and merge my PR to your main repo if my code sounds good to you. Thank you!

Hi @siddharth25pandey  ! Yes yes I will do it right now :-) sorry for being late.


pull request for e2e test at 11/28/2016 13:26:06

:white_check_mark: Validation status: passed
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.


[1.18.2] Shift-Right-Click Front Progresses Drawer Break

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE
-Is up to date.
Functional Storage Version:
-functionalstorage-1.18.2-1.1.3.jar
Titanium Version:
-titanium-1.18.2-3.5.8-40
Crashlog If Applicable (Upload to pastebin/gist):
-Not a crash.
-Whenever I Shift-Right-Click to get a full stack from a drawer,
I get one stack then the next hit causes damage(break % goes up.).
I would need to click off of the drawer to reset the % before getting
another stack.

Modpack: All the Mods 7 - To the Sky - atm7sky

Remove the squirt gun mod left click keybind

Such an easy fix. Thank you!
On Mon., Jul. 3, 2023, 4:23 a.m. Buuz135 @.***> wrote:

Closed #193 https://github.com/Buuz135/FunctionalStorage/issues/193 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/Buuz135/FunctionalStorage/issues/193#event-9707182998,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHI2H5PBRITR5SAC57CMLTXOKMRBANCNFSM6AAAAAAZ4HPA4U
.
You are receiving this because you authored the thread.Message ID:
@.***>


Obsolete?

Isn't this gem kind of obsolete since the addition of the comparison validator in Rails 7?
https://guides.rubyonrails.org/v7.0/active_record_validations.html#comparison

looks like obsolete, managed to replace everything related to this gem with active_record_validations comparison

Also see https://github.com/adzap/validates_timeliness/issues/233
This gem offers better international support by using timeliness as a parser. See https://github.com/adzap/validates_timeliness?tab=readme-ov-file#plugin-parser

@adzap can you help us here?

It's up to you all to decide if the gem is useful.


docs: add debugging with kubernetes instructions

This minimizes friction for running things on kubernetes.
I think that feature in our operator that does create CRDs never worked (did not worked for the OpenShift either).
Manually creating CRDS makes all work fine. Instruction is mostly dedicated for rapid testing and bugfixing of rhoas cli cluster commands.

FYI @secondsun @craicoverflow @rkpattnaik780

LGTM.


Does DontEatMyContent support Sideloading? [Error Problems?]

hello therealFoxstee! I recently tried using this for sideloading in my version of uYouPlus!(forked) but I had problems with it and tried building the ipa 8 times with it and all it says is this error from the tweak.
error: fell off the face of the planet when we found a '}'
I did try to fix it but removing a few bits of code will mess your wonderful tweak. I tried implementing it because my iPhone does play content in the notch.

and here’s the code I tried to implement. And it is a bit modified so it’ll work as a toggleable option in settings.
%group gDontEatMyContent
%hook YTPlayerViewController

- (void)viewDidAppear:(BOOL)animated {
    YTPlayerView *playerView = [self playerView];
    UIView *renderingViewContainer = MSHookIvar<UIView *>(playerView, "_renderingViewContainer");
    renderingView = [playerView renderingView];

    CGFloat constant = 23; // Make renderingView a bit larger since safe area has sizeable margins from the notch and side borders; tested on iPhone 13 mini

    widthConstraint = [renderingView.widthAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.widthAnchor constant:constant];
    heightConstraint = [renderingView.heightAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.heightAnchor constant:constant];
    centerXConstraint = [renderingView.centerXAnchor constraintEqualToAnchor:renderingViewContainer.centerXAnchor];
    centerYConstraint = [renderingView.centerYAnchor constraintEqualToAnchor:renderingViewContainer.centerYAnchor];

    // playerView.backgroundColor = [UIColor greenColor];
    // renderingViewContainer.backgroundColor = [UIColor redColor];
    // renderingView.backgroundColor = [UIColor blueColor];

    YTMainAppVideoPlayerOverlayViewController *activeVideoPlayerOverlay = [self activeVideoPlayerOverlay];

    // Must check class since YTInlineMutedPlaybackPlayerOverlayViewController doesn't have -(BOOL)isFullscreen
    if ([NSStringFromClass([activeVideoPlayerOverlay class]) isEqualToString:@"YTMainAppVideoPlayerOverlayViewController"] && [activeVideoPlayerOverlay isFullscreen]) {
        activate();
    } else {
        center();
    }
    %orig(animated);
}
- (void)didPressToggleFullscreen {
    YTMainAppVideoPlayerOverlayViewController *activeVideoPlayerOverlay = [self activeVideoPlayerOverlay];

    if (![activeVideoPlayerOverlay isFullscreen]) // Entering fullscreen
        activate();
    else // Exiting fullscreen
        deactivate();

    %orig;
}
- (void)didSwipeToEnterFullscreen {
    %orig; activate();
}
- (void)didSwipeToExitFullscreen {
    %orig; deactivate();
}
- (void)singleVideo:(id)arg1 aspectRatioDidChange:(CGFloat)arg2 {
    aspectRatio = arg2;
    if (aspectRatio == 0.0) {
        // App backgrounded
    } else if (aspectRatio < THRESHOLD) {
        deactivate();
    } else {
        activate();
    }
    %orig(arg1, arg2);
}
%end

%hook YTVideoZoomOverlayView
- (void)didRecognizePinch:(UIPinchGestureRecognizer *)pinchGestureRecognizer {
    // %log((CGFloat) [pinchGestureRecognizer scale], (CGFloat) [pinchGestureRecognizer velocity]);
    if ([pinchGestureRecognizer velocity] <= 0.0) { // >>Zoom out<<
        zoomedToFill = false;
        activate();
    } else if ([pinchGestureRecognizer velocity] > 0.0) { // <<Zoom in>>
        zoomedToFill = true;
        deactivate();
    }

    %orig(pinchGestureRecognizer);
}
- (void)flashAndHideSnapIndicator {}

// https://github.com/lgariv/UniZoom/blob/master/Tweak.xm
- (void)setSnapIndicatorVisible:(bool)arg1 {
    %orig(NO);
}
%end
%end

The error is indicating that an extra close curly bracket ("}") was found. I just looked at your uYouPlus.xm file and there seems to be a missing open curly bracket ("{") on line 1158:
if (dontEatMyContent) {.
Adding it should resolve the issue. Let me know if you're still having problems!

I might’ve forgot to add that, I sometimes forget the code at the bottom but at the moment I am having errors because your tweak uses a lot of unused YouTubeHeaders in uYouPlus and I’m currently trying to sort it out rn

My function and interface declarations are in the Tweak.h file. I could and should have put them in proper individual header files but I didn't :P. Make sure you have those in your header file as well.

Alright I’ll see if adding of these should work, I tell you when it works (or a chance of it not working)

I’m back. I did fix a lot of errors with the YouTubeHeaders but after 2 hours of fixing I still get the unsuccessful action build error but yeah since I’m not a full-on expert on coding I always fail on doing something successful.
https://github.com/arichorn/uYouPlusExtra/actions/runs/3116229693/jobs/5053874968

It seems like the functions hasn't been declared. If you're including the YouTube header files manually, you must also include all of their superclasses' header files as well (the superclasses will have the required function declarations), which would require a lot of work. Your best bet, like I said, would be to copy the interface and function declarations from my Tweak.h file to your header file.

Hey I’m back! And good news! It built the app without any consequences! I was happy when it successfully builded the ipa. If you go to my uYouPlus fork, then the branch with all those commits will be resettled.
but overrall it worked!
here’s the ipa if you want to see! https://github.com/arichorn/uYouPlusExtra/releases/download/v17.37.3-2.1-(207)/uYouPlusExtra_17.37.3_2.1_F4.ipa

Also my iPhone doesn’t show the option so I gotta say nice job on adding the unsupported device feature!

Which iPhone do you have?

I can see the option now, the reason why it was invisible was because me not including the tweak in the NSMutableArray but since I added it, it is visible.

Which iPhone do you have?

My model is the iPhone 11 (Non-Pro)

That's a bit strange, because the tweak should not run on your device. It only supports iPhone 12 mini, iPhone 13 series and newer. You don't need the tweak anyway, since the notch doesn't cut into 2:1 videos on your device.

That's a bit strange, because the tweak should not run on your device. It only supports iPhone 12 mini, iPhone 13 series and newer. You don't need the tweak anyway, since the notch doesn't cut into 2:1 videos on your device.

yep, but I didn’t just add this tweak for me, I added it to my repository for everyone else that uses iPhone 12 Mini and newer. So definitely did something helpful for ya ✌

I see. It's still weird that it shows up on your device. Hopefully it doesn't act up or do something weird (it shouldn't in most cases).


What to use to edit bold percentage?

Hi, the font works great straight off the Github download, I'm using it on my Kobo as-is. However I have a problem with the instructions. I want to increase the percentage of bold used, and you have written exactly "what" to change, but the problem is I can't find a program or website that can actually edit OpenType font features in the first place to implement these changes. Please add information for what site/program we can use to edit the percentage, thanks!

Hi,
sorry for the late reply and thank you for testing the font on Kobo!
I used the software "FontLab" to develop the font.
But there are plenty of others available. Just search for OpenType Font Editor.
One tool that is really helpful, if you want to dive into OpenType features is "OTLfiddle".
It is like a playground for fonts and open source ;-)
Regarding the bold rules, I used a simple table to calculate how many characters should be formatted bold.
The formula calculates, for example, how many characters are 40% of the word length, rounded to a full number afterwards.
(Please be aware that I used the 40% rule starting with 5 character long words. For all shorter words I just defined the number of characters without any calculation)

As a result you can see, that some word-lenghts result in the same number of characters formatted bold.
Thats why certain word-lengths are combined to one ruleset in the OpenType program code.
The ignore line specifies what to not replace.
The sub line specifies which characters to replace as bold.
To change the formattign rules just change the position of the @az' command within each feature rule.
In this way you can format more or fewer characters per word-lenght bold.
And of course it is possible to define much more rules. For instance one separate rule for each word lenght, without a combination like I did.
I hope that explanation helps you to play around with the font.
Have fun ;-)


Fix typo in README

Please fix that typo too

I will change it in next commit. You don't need to PR for all kinds of typos.


Importing a node_module with imports in JS

To explain the issue, I've created a repository with an example package that causes the issue at:
https://github.com/Inlustra/fusebox-ionic-import-bug-test
The issue:
Importing the @ionic-native/facebook module causes an Uncaught SyntaxError: Unexpected token import when using it in the browser.
The cause for this is that the module itself imports other files:
FuseBox.pkg("@ionic-native/facebook", {}, function(___scope___){
___scope___.file("index.js", function(exports, require, module, __filename, __dirname){

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';  <---------- This import is not replaced.
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
/**

How do you get around this?

@Inlustra , that is because the code above is not transpiled :)

you need to use Typescript or babel plugins to compile your code to es5
http://fuse-box.org/plugins/babelplugin or
http://fuse-box.org/page/typescript

@devmondo Thanks for the swift response!
For context, this using ionic, Webpack was handling the compilation automatically and I guess I haven't really understood how to easily do this with fuse-box.
Is it safe to say then that I would need to compile the modules manually using typescript before going through fusebox?

@Inlustra , u r welcome :) all bundlers need to transpile something, in your case, it is really simple, you have es5 code that browser don't understand (import statement) so u need to plug in a transpiler.
i it is really simple, check our ionic seed https://github.com/fuse-box/fuse-box-ionic2-seed

oh, and just to make sure, i was clear, fusebox has typescript support built in, you just need to set your typescript config if you want :)

by the way, your fuse.js looks fine, try to clear .fusebox cache folder and rebundle.

also, just so you would know, we are going to auto transpile import statements in the near future for you, stay tuned for awesome new enhancements coming to a cinema near you :)

@devmondo Hmm, I've tried removing the .fusebox folder to no avail. Is there a way I can get more detailed logging of the typescript output other than: http://fuse-box.org/page/configuration#debug-and-log ?
The output was:
app ->

  → Typescript config:  /tsconfig.json
└── default (1 files,  495 Bytes)
      main.js
└── fusebox-hot-reload (1 files) 1.8 kB
└── fusebox-websocket (1 files) 2.9 kB
└── events (1 files) 9.8 kB
└── @ionic-native/facebook (1 files) 14.4 kB

    Size: 29.3 kB in 344ms

Again thanks for taking the time!
As for the new features; awesome, I look forward to ditching Webpack!

@Inlustra, please don't give up, we will help you till it works :)
i downloaded your sample and found out many issues

Your tsconfig is not set to  "module": "commonjs", and "target": "es6"
The @ionic-native/facebook has es6 code inside of it!!! and Typescript won't reach it, this is why we add babel plugin like this to fix it BabelPlugin({limit2project: false})
you don't have any of the following  required libs installed

"@angular/core": "^4.1.2",
    "@ionic-native/core": "^3.8.0",
    "@ionic-native/facebook": "^3.8.0",
    "rxjs": "^5.4.0"

you have some syntax errors in your fuse.js

after fixing all of those, I ran the bundling and all passed :)
here is a zip file containing the result just do npm install then  node fuse.js and all will work fine
https://ufile.io/pu0w6

@devmondo You put me to shame!
I purposefully didn't add the required libs rather to just demonstrate the lack of transpilation :)
Perhaps this is something that could be added to the https://github.com/fuse-box/fuse-box-ionic2-seed ?
I think all of the @ionic-native packages will likely have the same issue, when I get a moment I could possibly put in a pull-request even if it's just to add it to the readme :)
Awesome thanks so much, looking forward to seeing the potential in fuse-box! :)

@Inlustra  awesome man:) we are soo happy that u r feeling better with fuse.
please don't shy from doing your PR we need your help :)


How to plot efficient frontier with constraints

I understand that the EfficientFrontier class does not support plotting and I have to use CLA. However, my understanding is that with CLA you cannot add extra constraints and also it does not support the efficient_risk() method, i.e. it does not return the optimal portfolio for a given target risk (it only supports minimum vol and max sharpe). So how do I go about it if I want to plot the whole frontier AND return optimal portfolios for various risk levels AND add extra constraints ? Any help is appreciated.

@hnicks13
If you want to return optimal portfolios and visualise the constrained efficient frontier, you will have to generate the plot manually. This is an example of how to do it:
rets = []
stds = []
for risk_aversion in np.arange(0, 2, 0.05):
    ef = EfficientFrontier(mu, S)
    ef.add_constraints(...)
    ef.max_quadratic_utility(risk_aversion)
    ret, sigma, _ = ef.portfolio_performance()
    rets.append(ret)
    std.append(sigma)

plt.plot(stds, rets)

I am currently trying to think of a way to implement this in the plotting module. Hope this helps!
Robert

@robertmartin8 Great, I'll give that a go! Many thanks for your help!

Just to confirm that this works fine. Thanks for the code!

Cheers for letting me know!
I'll keep the issue up because it's something that I want to provide by
default in future.
On Tue, 9 Jun 2020, 16:57 hnicks13<EMAIL_ADDRESS>wrote:

Just to confirm that this works fine. Thanks for the code!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robertmartin8/PyPortfolioOpt/issues/135#issuecomment-641138901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZ7ECMIRGZ7BD72NCG4CUDRVX2RJANCNFSM4NSBDHWQ
.

This has been implemented in v1.3.1 🚀
See docs for an example :)

This has been implemented in v1.3.1 🚀
See docs for an example :)


Value of existingConfigMap is ignored and static string risingwave-configuration is used instead to assign ConfigMap to PODs

Context
There is helm value existingConfigMap, that is annotated  as
## @param existingConfigMap Name of existing ConfigMap containing RisingWave configuration.
## The ConfigMap must contain a key named `risingwave.toml`. If set, `configuration` will be ignored.
##

Expectation
I would therefore expect, that configmap, that is created (and whose name is then assigned to value of existingConfigMap ) would be used by RisingWave (and the .toml file included in CM will be used)
Observation
If existingConfigMap is not empty, then disregard of actual value, pod start to look for configmap with name risingwave-configuration
Workaround
Add custom .toml configuration into ConfigMap named risingwave-configuration
Investigation
In configmap.yaml, there is logic, that creates CM with name of  risingwave.configurationConfigMapName  in case .Values.existingConfigMap is not empty
{{- if empty .Values.existingConfigMap }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "risingwave.configurationConfigMapName" . }}
  labels:
      {{- include "risingwave.labels" . | nindent 4 }}
  {{- $annotations := (include "risingwave.annotations" . ) | trim }}
  {{- if $annotations }}
  annotations:
    {{ nindent 4 $annotations }}
  {{- end }}
data:
  risingwave.toml: |
    {{ .Values.configuration | nindent 4 }}
{{- end }}

In other files (e.g. compactor-deploy.yaml) only value of configurationConfigMapName is used (ignoring .Values.existingConfigMap)

Thanks! This is a real bug! Good catch!


Find out how to debug code in cgx files

I don't yet know how, but at least this does not work:

I imagine the AST parsing just removes it entirely


More "OpenAI Blog Post" Training | Depth 32 | Heads 8 | LR 5e-4

Edit: Moved to discussions: https://github.com/lucidrains/DALLE-pytorch/discussions/106
Hey, all. Some of you might know I'm practicing and learning about machine learning with dalle-pytorch and a dataset consisting of the images OpenAI presented in the DALLE blog post.  I honestly dont have the money to train this whole dataset,
edit: this is no longer true. Using the 1024 VQGAN from the "Taming Transformers" research, it's now quite possible to train a full dataset of 1,000,000 image-text pairs and i'm doing just that. I hope to have it finished in about a week. I assume someone else will release a dalle-pytorch trained properly on COCO and other image sets before then, but if they dont, check here for updates.
Anway, it ran for ~36000 steps. As you can see it...still really likes mannequins. I'm considering removing them from the dataset. But also, you'll notice that the network has actually got a decent idea of the sort of general colors that belong in types of prompts.
Some Samples from Near the End of Training

Every Text-Image Reconstruction
https://wandb.ai/afiaka87/dalle_pytorch_live_training/reports/dalle-pytorch-Test-Run-2--Vmlldzo1MzM5MjQ
Deliverables (my train_dalle.py)
https://gist.github.com/afiaka87/850fb3cc48edde8a7ed4cb1ce53b6bd2
This has some code in it that actually manages to deal with truncated images via Try Catch.  PIL's imverify() function doesnt catch all of them. Python's built in imghdr library doesn't catch all of them either. So you just sort of catch OSError and return an item further along. Works well enough.
Parameters
SHUFFLE = True
EPOCHS = 28 # This wound up being less than a single epoch, of course.
BATCH_SIZE = 16
LEARNING_RATE = 0.0005 # I found this learning rate to be more suitable than 0.0003 in my hyperparameter sweep post
GRAD_CLIP_NORM = 0.5
DEPTH = 32
HEADS = 8
MODEL_DIM = 512
TEXT_SEQ_LEN = 256
DIM_HEAD = 64
REVERSIBLE = True,
ATTN_TYPES = ('full')

Dataset Description
https://github.com/lucidrains/DALLE-pytorch/issues/61#issuecomment-796663342

Just for more info on the dataset itself, it is roughly 1,100,000 256x256 image-text pairs that were generated by OpenAI's DALL-E. They presented roughly ~30k unique text prompts of which they posted the top 32 of 512 generations on https://openai.com/blog/dall-e/. Many images were corrupt, and not every prompt has a full 32 examples, but the total number of images winds up being about 1.1 million. If you look at many of the examples on that page, you'll see that DALL-E (in that form at least), can and will make mistakes. These mistakes are also in this dataset. Anyway I'm just messing around having fun training and what not. This is definitely not going to produce a good model or anything.
There are also a large number of images in the dataset which are intended to be used with the "mask" feature. I don't know if that's possible yet in DALLE-pytorch though. Anyway, that can't be helping much.

This is the dataset's description btw:
https://github.com/lucidrains/DALLE-pytorch/issues/61#issuecomment-796663342

@lucidrains btw, i've been going through the wandb.ai docs and found some nice extras you can add to train_dalle.py that will give you live updates on the transformer itself:
config = wandb.config
config.depth = DEPTH
config.heads = HEADS
config.dim_head = DIM_HEAD
config.learning_rate = LEARNING_RATE
config.shuffle = SHUFFLE
config.resume = RESUME
config.batch_size = BATCH_SIZE
config.grad_clip_norm = GRAD_CLIP_NORM
config.reversible = REVERSIBLE
config.model_dim = MODEL_DIM
config.attn_types = ATTN_TYPES

wandb.init(project = PROJECT_NAME, resume = RESUME)

wandb.watch(dalle)

In particular, that very last line is actually all you need to add. But attaching all the parameters in the way I did also allows it to track those better and you can more easily create hyperparameter sweeps from existing projects when you do.

@afiaka87 ohh got it! i'm circling back to DALL-E this week for some final instrumentations :) i'll be sure to add that! 🙏

Awesome, looking forward to it! Thanks for patching up big-sleep/deep-daze btw. I tried but I'm so distracted with this project now lol.

@afiaka87 yess, one of us just has to train and release one model, and the internet will be changed forever

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

thanks for doing this! it demonstrates that reversibility does work :)

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

For sure! I'm trying to be as open about my training, code, results, etc. but I'm not seeing much else of that here. I'm aware it's prohibitively expensive for most though and I'm privileged to be able to run Depth=32 without reversible for a day or two.  At any rate, looking forward to 1024 token model from Germany! I know it's in there currently but I'm still having some trouble with it last I checked. All in due time.

thanks for doing this! it demonstrates that reversibility does work :)

There should be system usage info in the graphs on wandb.ai, but yeah it does what it says on the label, lol. You definitely trade time for space. But, that whole training session never went above 16 GiB of VRAM. So at least people can use colab!

@afiaka87 great to know! also, do log the issue with the VQ-GAN VAE and i'll be sure to fix it this week. It seems to be working on my end, but I haven't tried testing it from a fresh install

@lucidrains one last thing, but the "image masking" feature is used pretty thoroughly in this dataset and they even have the image used for the mask and everything. Let me know as soon as that feature is implemented as I would love to use those as a baseline for that.

@afiaka87 is that the feature where they have half an image and have it complete the other half?

@lucidrains Yes. "The exact same cat on the top {insert style qualifer here} on the bottom." style ones. They're passing the top half in, as well as a prompt that acknowledges both pictures and presumable forcing the top half to stay the same while it transforms.

@afiaka87 yup, i can build that :)

Great let me know asap. The zero-shot style transfer stuff is so cool to me.

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

@lucidrains For sure! I'm trying to be as open about my training, code, results, etc. but I'm not seeing much else of that here. I'm aware it's prohibitively expensive for most though and I'm privileged to be able to run Depth=32 for a day or two. At any rate, looking forward to 1024 token model from Germany! I know it's in there currently but I'm still having some trouble with it last I checked. All in due time.

Agree! Really awesome work of lucidrains for trying to replicate such an awesome tool like DALL-E! If we only could collaborate in a more efficient way - somehow like in the blockchain, where a few people improve the DALL-E and the best get chosen after 2 days, gets distributed again and a new search for better optimization begins... I think your hyperparameter session is a great step forward @afiaka87 ! I will have my big system running in a week, so i hope to contribute then in a more significant way!
By the way, the open images V6 dataset (https://storage.googleapis.com/openimages/web/download.html) has "localized" narratives, which might fit perfectly for the Dall-E for training! Maybe I will generate a downsampled version (256x256px) with captions like in the DALL-E format required, that would speed up search for training dataset and could improve collaborations.

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

@lucidrains For sure! I'm trying to be as open about my training, code, results, etc. but I'm not seeing much else of that here. I'm aware it's prohibitively expensive for most though and I'm privileged to be able to run Depth=32 for a day or two. At any rate, looking forward to 1024 token model from Germany! I know it's in there currently but I'm still having some trouble with it last I checked. All in due time.

Agree! Really awesome work of lucidrains for trying to replicate such an awesome tool like DALL-E! If we only could collaborate in a more efficient way - somehow like in the blockchain, where a few people improve the DALL-E and the best get chosen after 2 days, gets distributed again and a new search for better optimization begins... I think your hyperparameter session is a great step forward @afiaka87 ! I will have my big system running in a week, so i hope to contribute then in a more significant way!
By the way, the open images V6 dataset (https://storage.googleapis.com/openimages/web/download.html) has "localized" narratives, which might fit perfectly for the Dall-E for training! Maybe I will generate a downsampled version (256x256px) with captions like in the DALL-E format required, that would speed up search for training dataset and could improve collaborations.

@robvanvolt Yep that's a perfect dataset. I found this dataloader here.
https://github.com/google/localized-narratives/blob/master/localized_narratives.py
And the downloader for the images:
https://raw.githubusercontent.com/openimages/dataset/master/downloader.py
You should be able to modify the DataLoader to load the correct image for the given localized narrative somewhat easily. This would also lend itself well to Weights and Biases artifacts (you just map urls to things and it downloads and caches them for you, pinning versions if things change).
Let me know if you get started on this and need any help. I think this would produce a great result!

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

@lucidrains For sure! I'm trying to be as open about my training, code, results, etc. but I'm not seeing much else of that here. I'm aware it's prohibitively expensive for most though and I'm privileged to be able to run Depth=32 for a day or two. At any rate, looking forward to 1024 token model from Germany! I know it's in there currently but I'm still having some trouble with it last I checked. All in due time.

Agree! Really awesome work of lucidrains for trying to replicate such an awesome tool like DALL-E! If we only could collaborate in a more efficient way - somehow like in the blockchain, where a few people improve the DALL-E and the best get chosen after 2 days, gets distributed again and a new search for better optimization begins... I think your hyperparameter session is a great step forward @afiaka87 ! I will have my big system running in a week, so i hope to contribute then in a more significant way!
By the way, the open images V6 dataset (https://storage.googleapis.com/openimages/web/download.html) has "localized" narratives, which might fit perfectly for the Dall-E for training! Maybe I will generate a downsampled version (256x256px) with captions like in the DALL-E format required, that would speed up search for training dataset and could improve collaborations.

I went ahead and did downloaded all 500,000 of all of their images with "localized annotations". I'm training currently! The download is not for the faint of heart though. Winds up being 169 GiB of data. Anyway, I can at least share the proper structure for the "*.txt" files as well as the "file_ids.txt" list of of image ids to download.
wget https://www.dropbox.com/s/3s0saz480hlg651/ids_to_download.txt
wget https://www.dropbox.com/s/ni95in1k7wpetso/captions.tar.gz # contains structure for localized annotations. Plop this folder next to the folder you put your images in.
tar -cf captions.tar.gz --directory=~/project_name/captions .

@afiaka87 yes, arguably getting a DALL-E model trained and released would be bigger than either big sleep or deep daze!

@lucidrains For sure! I'm trying to be as open about my training, code, results, etc. but I'm not seeing much else of that here. I'm aware it's prohibitively expensive for most though and I'm privileged to be able to run Depth=32 for a day or two. At any rate, looking forward to 1024 token model from Germany! I know it's in there currently but I'm still having some trouble with it last I checked. All in due time.

Agree! Really awesome work of lucidrains for trying to replicate such an awesome tool like DALL-E! If we only could collaborate in a more efficient way - somehow like in the blockchain, where a few people improve the DALL-E and the best get chosen after 2 days, gets distributed again and a new search for better optimization begins... I think your hyperparameter session is a great step forward @afiaka87 ! I will have my big system running in a week, so i hope to contribute then in a more significant way!
By the way, the open images V6 dataset (https://storage.googleapis.com/openimages/web/download.html) has "localized" narratives, which might fit perfectly for the Dall-E for training! Maybe I will generate a downsampled version (256x256px) with captions like in the DALL-E format required, that would speed up search for training dataset and could improve collaborations.

I went ahead and downloaded all 500,000 of all of their images with "localized annotations". I'm training currently! The download is not for the faint of heart though. Winds up being 169 GiB of data. Anyway, I can at least share the proper structure for the "*.txt" files as well as the "file_ids.txt" list of of image ids to download.
wget https://www.dropbox.com/s/3s0saz480hlg651/ids_to_download.txt
wget https://www.dropbox.com/s/ni95in1k7wpetso/captions.tar.gz # contains structure for localized annotations. Plop this folder next to the folder you put your images in.
tar -cf captions.tar.gz --directory=~/project_name/captions .

Thanks a lot! However, I could not download the captions.tar.gz from your dropbox (maybe the link is broken, since ids_to_download.txt is fine to download). I wonder how you reorganized the captions from the annotations. Did you use classname as the caption of the image? Thanks again!

@Jinglei5 Hm, I'll see if I can fix that. Unfortunately my internet has just gone out halfway through training 🙄. On my phone till it's back up so it may be a bit.

Hm, dropbox is insisting that I've set that file to be publically shared. Wouldy ou mind trying again with this?
wget https://www.dropbox.com/s/ni95in1k7wpetso/captions.tar.gz?dl=0
You'll have to rename the file as it will include the ?dl=0 bit, but that's the only thing I can think of. If that still doesnt work, i'll host it elsewhere.
@Jinglei5 as for how i reorganized the captions, the current DataLoader literally just expects every single unique png in your folder to have a respectively named txt that contains its text descriptions. If you go to the "localized annotations" page, you'll find a .jsonl file containing a mapping of each text phrase to image ids. The rest is just some python scripting to create a bunch of files with the same names as your images and fill them with the correct text descriptions.
Here's my copy of the .jsonl file https://www.dropbox.com/s/9g6hbnyc1pek462/open_images_train_v6_captions.tar.xz?dl=0
Probably best to find the original again though. I'll be back with an edit.

Just a general heads up though - these captions aren't great. Due to the ability to use a mouse to "tell the dataset" where in the image they were referring to, they often leave out explicit directions knowing that the information will be in there.
For instance:

"in this image there is a depiction in the bottom of this image and there are two persons standing on the right side to this , and there are some shelters in the background , and there are some trees as we can see in the bottom of this image , and there is a sky on the top of this image ."

or

"in the down side it is water . in the long back side there are trees and big buildings"

The captions not only contain pretty glaring grammar mistakes but the information about the location is also missing from these prompts because the annotater (labeler? what do we call that?) knows that the computer is getting that info from their mouse.

Hm, dropbox is insisting that I've set that file to be publically shared. Wouldy ou mind trying again with this?
wget https://www.dropbox.com/s/ni95in1k7wpetso/captions.tar.gz?dl=0
You'll have to rename the file as it will include the ?dl=0 bit, but that's the only thing I can think of. If that still doesnt work, i'll host it elsewhere.
@Jinglei5 as for how i reorganized the captions, the current DataLoader literally just expects every single unique png in your folder to have a respectively named txt that contains its text descriptions. If you go to the "localized annotations" page, you'll find a .jsonl file containing a mapping of each text phrase to image ids. The rest is just some python scripting to create a bunch of files with the same names as your images and fill them with the correct text descriptions.
Here's my copy of the .jsonl file https://www.dropbox.com/s/9g6hbnyc1pek462/open_images_train_v6_captions.tar.xz?dl=0
Probably best to find the original again though. I'll be back with an edit.

It works this time!  Thanks!
True, in captions, there are phrases like 'In front of the picture' and 'we see'. Not sure whether they are useful or having side-effect for the model.

@Jinglei5 I'm gonna try mixing it with COCO2018 to see if it can at least get an idea of what a regular prompt might look like.

@Jinglei5 also currently in the (very lengthy) process of converting all of these to 256px jpegs so I can actually move them around a bit. Do you have an existing workflow for that? Right now I'm just using imagemagick convert in a for loop.

Hm the annotations looked pretty solid in the first place, but we will se how the grammar mistakes and the bad orientation get handeled...
Three other interesting points:
Dall-E was trained with redundancy, e.g.

a  neon  sign  that  reads“backprop”.  a neon sign thatreads  “backprop”.   backpropneon sign

So this shouldn't be a problem,  as i previously thought.

64 16 GB NVIDIA V100 GPUs, with a per-GPU batch sizeof8, resulting in a total batch size of 512

Incredible computation power was used by Open-AI - this will be tough to optimize to get near the results of Open-AI...

we created a dataset of a similar scale to JFT-300M by collecting 250 million text-image pairs from the internet.

Also, the dataset collected is insane - 250 million!

his dataset incorporates Conceptual Captions,the text-image pairs from Wikipedia, and a filtered subset of YFCC100M.

Wikipedia might be another solid source for text-image pairs.
Also, we might need to establish a better filter that we all use for training:

These filters include discarding instances whose captions are too short, are classified as non-English by the Python package cld3, or that consist primarily of boilerplate phrases such as “photographed on ”, where  matches various formats for dates that we found in the data.

And finally:

We also discard instances whose images have aspect ratios not in[1/2,2]. If we were to use to very tall or wide images, thenthe square crops used during training would likely exclude objects mentioned in the caption.

This might also be important, as i've seen a lot of images in different aspect ratios.

@Jinglei5 also currently in the (very lengthy) process of converting all of these to 256px jpegs so I can actually move them around a bit. Do you have an existing workflow for that? Right now I'm just using imagemagick convert in a for loop.

Sorry, I don't have the workflow. I just sampled 10,000 of them to feed the model directly for a trial right now. ><

On the other hand, we might have a better / faster transformer with 1024 VQGAN, which might speed up things a little bit.

@robvanvolt Here's some early results from training on that dataset by the way. I think we should definitely clean it up with the info from OpenAI.
https://wandb.ai/afiaka87/OpenImagesV6/reports/dalle-pytorch-OpenImagesV6-With-Localized-Annotations---Vmlldzo1MzgyMTU
@lucidrains @Jinglei5

I'll probably make another post once I'm finished training. I think i'm ultimately gonna go with a combination of all three datasets I've accrued so far: COCO2018, OpenImagesV6 and the ~1 million images from the OpenAI blog post. The size of openai's dataset is definitely discouraging though.
@robvanvolt I'm assuming there's a relatively easy way to get captioned images from wikipedia, no?  That's what I'm after next.

@Jinglei5 also currently in the (very lengthy) process of converting all of these to 256px jpegs so I can actually move them around a bit. Do you have an existing workflow for that? Right now I'm just using imagemagick convert in a for loop.

Sorry, I don't have the workflow. I just sampled 10,000 of them to feed the model directly for a trial right now. ><

Ha I do that as well. It is insane to me the number of things that just straight up break when you're dealing with lots of files.
It's all good though, I managed to figure it out:
find . -type f -name "*.jpg" | parallel mogrify -resize 256x {}

I'll probably make another post once I'm finished training. I think i'm ultimately gonna go with a combination of all three datasets I've accrued so far: COCO2018, OpenImagesV6 and the ~1 million images from the OpenAI blog post. The size of openai's dataset is definitely discouraging though.
@robvanvolt I'm assuming there's a relatively easy way to get captioned images from wikipedia, no? That's what I'm after next.

Yes, it seems that on the 20th of March, 2021, there might be a solution which fits exactly our needs:

Wikipedia-based Image Text (WIT) Dataset is a large multimodal multilingual dataset. WIT is composed of a curated set of 37.6 million entity rich image-text examples with 11.5 million unique images across 108 Wikipedia languages. Its size enables WIT to be used as a pretraining dataset for multimodal machine learning models. [...] We are hoping to make the WIT dataset available for download by March 20th, 2021. (tentatively).

https://github.com/google-research-datasets/wit

Moving these to discussions.

I'll probably make another post once I'm finished training. I think i'm ultimately gonna go with a combination of all three datasets I've accrued so far: COCO2018, OpenImagesV6 and the ~1 million images from the OpenAI blog post. The size of openai's dataset is definitely discouraging though.
@robvanvolt I'm assuming there's a relatively easy way to get captioned images from wikipedia, no? That's what I'm after next.

Yes, it seems that on the 20th of March, 2021, there might be a solution which fits exactly our needs:

Wikipedia-based Image Text (WIT) Dataset is a large multimodal multilingual dataset. WIT is composed of a curated set of 37.6 million entity rich image-text examples with 11.5 million unique images across 108 Wikipedia languages. Its size enables WIT to be used as a pretraining dataset for multimodal machine learning models. [...] We are hoping to make the WIT dataset available for download by March 20th, 2021. (tentatively).

https://github.com/google-research-datasets/wit

funny how fast things change, eh?


Adapt to the changed package for Buffer API

Motivation:

Buffer API package was changed from io.netty5.buffer.api to io.netty5.buffer https://github.com/netty/netty/pull/12792

Modification:

Adapt to the changed package for Buffer API

Result:
Project build is green again

@chrisvest @normanmaurer PTAL


feat(auto): reference own type in type declaration

Suggestion
Similarly to C++, having an auto type that would infer the type of a variable and that would be usable in its type declaration.
🔍 Search Terms
auto in type declaration
✅ Viability Checklist

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Currently, there isn't a really neat and simple way of catching the type of a variable in its type declaration, which can be quite annoying when we want that variable to have other allowed types alongside with its original type, without needing to declare it as any or typing explicitely its type.
📃💻 Example and use cases
Let's say you're working with a library that deals with a lot of types

In this example I'm using mongoose, and as you can see, certain type declarations don't even fit on my screen!
Now, let's say that you want to call one of the methods in this screenshot and register its value in a variable, but allow another type to go along with it, like for eg. a string, or to allow it to also be null?
The only 3 ways you could do this right now in typescript is to either;

Declare your variable as of the any type, which isn't really safe
Using the ReturnType generic to get the return type of the method you're calling, but which wouldn't even work out of the box because in this example the method we're calling is async and we're awaiting it, which returns the non promised type but... ReturnType gives us back a promise
Copy the entirety of the type declaration (disastrous)

Oh and this example is only for when dealing with functions, what would you do if you were dealing with an object? You can't use ReturnType so you'd have to either copy it's type name or define it as any
On top of that, writing Awaited<ReturnType<typeof fn>> is much more longer than just using auto, and readability and clarity take a hit
// can be confusing and still brings up the concern of having
// long type names
// repeated code, we would need to change typeof bar and awaited if we
// were to call another function
let foo: Awaited<ReturnType<typeof bar>> | null = await bar();
// vs
let foo: auto | null = await bar();

Introducing auto would allow us to catch the type name of our variable and be able to mess with its type declaration
// Right now, the only way we can allow our variable x
// to be either a number or a string is
let x: number | string = 5;
// We can't guess our type and do conditional typing at the same time
// In this example, it's not that big of a deal because we're dealing with a primite type but what if we were dealing
// with something with a large type name, or something that has multiple types?

// We could just do
let x: auto | string = 5;
// Which would also apply to our mongoose usecase
let x = auto | null = someMongooseFunctionThatReturnsA2kmWideTypeName();

For the record:

Using the ReturnType generic to get the return type of the method you're calling, but which wouldn't even work out of the box because in this example the method we're calling is async and we're awaiting it, which returns the non promised type but... ReturnType gives us back a promise

Awaited<ReturnType<typeof fn>>

For the record:

Using the ReturnType generic to get the return type of the method you're calling, but which wouldn't even work out of the box because in this example the method we're calling is async and we're awaiting it, which returns the non promised type but... ReturnType gives us back a promise

Awaited<ReturnType<typeof fn>>

Fair enough, it still applies to the other reasons I've mentionned though. On top of that, Awaited<ReturnType<typeof fn>> writing is much more longer than just using auto and readability and clarity takes a hit

Duplicate of #36450.

Not an exact duplicate of #36450 - that issue just wants an explicit keyword for type inference (i.e. not a new feature), this asks to be able to combine the auto-inferred type with other types via union, which AFAIK isn’t currently possible without writing a constrained identity function.

That's true, but I see no way to support this feature without such a keyword and without adding some really weird special syntax for a corner-case.
And I've just realized that this is valid syntax: const t: | number = 12
While less nice, you can get the desired feature by using a function:
function nullify<T>(val: T): T | null { return val; }
const foo = nullify(await bar());

Indeed, nullify is the kind of thing I was referring to with “constrained identity function”.  It’s a very common pattern when you need to constrain a type while still allowing for type inference at the same time.

On that note, this is probably similar in spirit to what https://github.com/microsoft/TypeScript/issues/47920 aims to enable.

This is super fraught since the contextual type of a variable's initializer is the type annotation itself. Ex:
declare function fn<T>(cb: (arg: T) => void): T;

// s: string
const a: string = fn(s => s);

If you wrote
const a: auto | string = fn(s => s);

then I'm not even sure what should happen, and you could probably construct "unsolvable" setups with this.
Another potential solution is explicit type inference (#26242), where you could (presumably?) write
type Nullable<T> = T | null;
const m: Nullable<infer> = expr;

FWIW I don't think satisfies is capable of fixing this.
The use case here makes way more sense than #36450 so I'll refrain from duping to that.

Huh, I would have expected const a: string = fn(s => s) to be either an implicit-any error or else to instantiate fn<unknown>.  But instead TS is instantiating a generic function based on how its return value is used to, which never happens anywhere else AFAIK (e.g. overload resolution doesn't care about the return type).
Nullable<infer>  seems like it should have the exact same pitfalls as just writing infer | null inline (i.e. this proposal)?

I think this is a duplicate of https://github.com/microsoft/TypeScript/issues/33480? (And I still think this might be a viable way to implement it.)


Toggle options at runtime

Even though this project runs pytest automagically, I still need to cancel and re-run pretty often, because I like to run it with different flags.
E.g.: I like to increase / decrease verbosity or toggle pdb.
I think it would be nice to do this while pytest-watch is running using keyboard shortcuts. For example:
Pressing P could toggle pdb.
Pressing V (verbose) or Q (quiet) could switch between -q,  ,-vand-vv.

Makes total sense to me - thought so myself already.

Excellent!
I miss some Re-Run tests shortcut. By example, pressing R, tests re-run the same way when a file change event happens.

Honestly for a while I was a little skeptical of officially adding support for this, since doing so turns the the current non-interactive tool (meaning no dependency on stdin or the terminal that hosts the app) into an interactive one.
Seems there's some interest though, so perhaps it'd be worth the extra complexity. We could add stdin or keyboard event monitoring to the main watch loop.
In theory this should be easy, like how adding a keyboard handler in the main loop of a game. From working on py-getch, I can say, there's a chance keyboard monitoring (e.g. tty / stdin in "raw mode" / etc) won't be so straightforward unfortunately. Pytest-watch is cross platform, so this feature should be too.
Curious, can anyone point to other test runners that do this so we can draw inspiration about how to design the UI and keyboard-monitoring technique?

Just came across pynput. That could help with cross-platform keyboard monitoring.
Looks like setting up a monitor will run a callback, which is similar to how we handle file events today.


hello？bro

Why can only a maximum of ten devices stay online with a single account? I have 50 proxies, but no matter what I try, it only keeps ten devices online at once.

Coz nodepay  limited to 10 IPs per 1 account
You can't add more


Remaining clan dungeon items

Adds all the untradable clan dungeon items that were missing from tracking
I also added commented out code for the haunted sorority house and elf alley if those ever become available again.

I don't really want uncle hobo or sorority house on here, I don't see the
purpose of being reminded that you do or don't have something you couldn't
possibly collect. I'd probably hide extinct iotms if it didn't make the
iotm page look so weird
On Fri, 24 Nov 2023, 22:13 Joe Kirchoff, @.***> wrote:

Adds all the untradable clan dungeon items that were missing from tracking
as well as the haunted sorority house
You can view, comment on, or merge this pull request online at:
https://github.com/loathers/greenbox/pull/74
Commit Summary

e8e658c
https://github.com/loathers/greenbox/pull/74/commits/e8e658c109bfe6a4d5683c425d260031b7e0b3e2
clan dungeon boxen
83e5027
https://github.com/loathers/greenbox/pull/74/commits/83e5027e65b68f503dcdaba94535903fcab6710a
yarn build script
632ca37
https://github.com/loathers/greenbox/pull/74/commits/632ca377147c1c2b17a589db099c681b4fe5f962
uncle hobo
dd3bc61
https://github.com/loathers/greenbox/pull/74/commits/dd3bc61bce3920f69d2720e9ecf6814b2139be4c
slime before dread
0dc1782
https://github.com/loathers/greenbox/pull/74/commits/0dc1782999497ebbc740f515005d1f3bd17ee91f
format
ae0cb62
https://github.com/loathers/greenbox/pull/74/commits/ae0cb629b0293e54c082086ac02b1a5da04ec1af
The Haunted Sorority House

File Changes
(8 files https://github.com/loathers/greenbox/pull/74/files)

M package.json
https://github.com/loathers/greenbox/pull/74/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
(1)
M packages/greenbox-data/data/iotms.ts
https://github.com/loathers/greenbox/pull/74/files#diff-79f30e873bcf13e561f0224feea67918933aaa207cbfbaa19b593489de6f9ac1
(2)
M packages/greenbox-data/data/items.ts
https://github.com/loathers/greenbox/pull/74/files#diff-52a430a7182870340ce8b11adaab34562f249d1e0c22a26bc265a7becec7086c
(122)
M packages/greenbox-web/src/components/ClanDungeons.tsx
https://github.com/loathers/greenbox/pull/74/files#diff-6122f8ea7896f43fc89f2dd87b99b71074e47b6a5eb2df21022f6030da8bee54
(4)
M packages/greenbox-web/src/components/DreadsylvaniaSection.tsx
https://github.com/loathers/greenbox/pull/74/files#diff-e682d6d9cdc853539c459e5545960171e9965e64d809b9ee745b80e9ec0f31b8
(147)
A
packages/greenbox-web/src/components/HauntedSororityHouseSection.tsx
https://github.com/loathers/greenbox/pull/74/files#diff-c8820bc67ec5bc59c6b3f63b3b1cea2019c931df437a08573bd77f18c460cdc6
(48)
M packages/greenbox-web/src/components/HobopolisSection.tsx
https://github.com/loathers/greenbox/pull/74/files#diff-0566b4773442a740327c326b0df94403e0cc574334daa1da44d8af169f81ba3b
(54)
M packages/greenbox-web/src/components/SlimeTubeSection.tsx
https://github.com/loathers/greenbox/pull/74/files#diff-93f9d8075af211d69a847036d8024ba1ac130771211d6e8e54f3e85b1d4f835e
(54)

Patch Links:

https://github.com/loathers/greenbox/pull/74.patch
https://github.com/loathers/greenbox/pull/74.diff

—
Reply to this email directly, view it on GitHub
https://github.com/loathers/greenbox/pull/74, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABL4LTKZ5PNDEL5ARIVZ4TYGELYTAVCNFSM6AAAAAA7ZTO3CGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTAMRVGQ2TKOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I don't really want uncle hobo or sorority house on here, I don't see the purpose of being reminded that you do or don't have something you couldn't possibly collect. I'd probably hide extinct iotms if it didn't make the iotm page look so weird

done


[doc] Include inconclusive tests and optimizations for Huggingface

Checklist

[ ] Closing issues: #issue
[x] Mark this if you consider it ready to merge
[ ] I've added tests (optional)
[ ] I wrote some documentation

Description
Minor tweaks on the huggingface side as discussed in https://github.com/radareorg/r2ai/pull/65#issuecomment-2407254830, valuable as "documentation" in-code so that folks realise how bad huggingface models/inference is for this task at this point in time and current training/fine tuning.

Dont do merge commits, fix the conflicts

can we close this pr?


Update on the mozilla add-on store?

Installing the extension from the mozilla add-on store will install version 0.2.0 instead of the latest 0.2.1
https://addons.mozilla.org/en-US/firefox/addon/org-capture/

I have updated the extension now, on both stores. Sorry for the very long delay!


Add link-outs for CHEBI and CL terms

Examples:
https://www.pombase.org/gene/SPCC18B5.01c
should have an external link for CHEBI:48080
https://www.pombase.org/gene/SPAC1296.03c
should have an external link for CL:0002674

I went ahead and implemented that.
All CHEBI and CL terms are now external links.  It's configurable so we can add others when needed.
At the moment the only other CV I could find in the extensions that might make sense as external links is PATO.  There aren't many examples:
https://www.pombase.org/term/FYPO:0000741
But the go-xrefs files doesn't provide a URL template for linking to PATO terms so it will need to stay as is.

I think we do eventually want pages for terms in extensions:
https://github.com/pombase/website/issues/473
(at least for CHEBI, SO and phase terms)
I don't think it is worth linking to PATO for this edge case. I don't think anybody needs an explainer for 'colour'


Image is not displayed on KryptonButton

Hello everyone,
I use Visual Studio 2019 on Win 10 and I'm developing in VB.Net.
I set an Image (32px x 32 px) under Values in a KryptonButton. The image is correctly displayed on the editor but when I debug, it is not displayed at all. What can I do?
Thank you all

On editor

While debugging

Hi @admin-pcngroup
Have you added the image to your projects' resources file?

Hello, yes, of course. I can view them also when I type My.Resources. ... thank to IntelliSense. Thank you for your answer(s). Sent from my Huawei phone-------- Original message --------From: Peter Wagner<EMAIL_ADDRESS>Fri, 17 Apr 2020, 19:21To: ComponentFactory/Krypton<EMAIL_ADDRESS>admin-pcngroup<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Re: [ComponentFactory/Krypton] Image is not displayed on KryptonButton (#205)
Hi @admin-pcngroup
Have you added the image to your projects' resources file?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Hello, yes, of course. I can view them also when I type My.Resources. ... thank to IntelliSense. Thank you for your answer(s).

@admin-pcngroup Is it working now?

Unfortunately, it isn't

@admin-pcngroup You may want to try to make the button bigger. I think it's seeing it as a 16 x 16 image, or resize the image.

Thank you. I've tried both. It works like a charm!!

@admin-pcngroup Glad to help!


Webpack 2 support?

Could you add support for Webpack 2?

I’m not sure that we can just add support. I’m afraid it would be Webpack 1 or Webpack 2. Any help and research is very appreciated because I don’t have any experience with Webpack 2 so far.

What’s involved here?

it does work just fine on webpack 2 in most common cases for me

@bulaj Great to hear it! Any issues or tips that we can include to the docs?

Well, not really, it just works as intended out of box, no workaround was needed to setup.
We dont do anything fancy with it though, just basic styleguide, so dunno if there are any problems deeper.

Unfortunately it doesn't work with webpack 2.1.0-beta.20. It worked fine with no workarounds until beta.19.


building Pepr with rbac mode set to scoped should consider whether the module author is using finalizers

Describe what should be investigated or refactored
Generating a build with RBAC mode set to scoped will give you just enough permissions to run your Pepr module based on the bindings (Watch/Reconcile).
We came out with a new binding Finalize(), which requires RBAC to remove a finalizer from a Kubernetes resource. We need to include this in the generated RBAC

will be addressed in https://github.com/defenseunicorns/pepr/pull/1251


search / provide results by semantic classification

Allow the user to take advantage of the existing semantic classifications to find words that are semantically related to the one they're searching for.
Possible implementations:

Amazon.com-style suggestions: "You might also be interested in..."
Advanced search features for power users, ex: meaning:furniture

An alternative, or parallel functionality would be to provide a browsing feature, where one peruse the contents of the dictionary either alphabetically or according to semantic classes, perhaps making use of the hierarchical organization of both WN and RW.
Beside search, we would want to make the semantic classes visible for the results of any regular dictionary search.

I like the idea of related words! Very useful. Perhaps if we have some sort of word vectors, this would be more-or-less straightforward to implement.


Missing closing expression brace results in obscure error.

{
  bikeshed/modules/foo/bar
    "hi"
    "bye"

Produces:
Building site...Projector build errors:
Parse error:
  Unexpected end of input
  Expected one of: [hole, variable, list, case, lambda]

(This may be part Loom, part Projector.)

This is bound to stay messy indefinitely because of the way the layout pass is implemented, it injects a bunch of parentheses that muddle up error reporting. at least it's an error!


Fixed subprocess in setup.py. It was causing setup to fail.

To prevent timeouts of hefty subprocess calls, redirect subprocess's output to DEVNULL.

[x] Have you provided a meaningful PR description?
[x] Have you added a test, reproducer or referred to an issue with a reproducer?
N/A
[x] Have you tested your changes locally for CPU and GPU devices?
[x] Have you made sure that new changes do not introduce compiler warnings?
[x] If this PR is a work in progress, are you filing the PR as a draft?

I have not been able to replicate the issue for a while. I am closing the PR for now. We can revisit if the issue crops back.


Scam

this transition is scam activitie:
0x1f07dc2e6cfe2129cb14e207a7e4f592c246df28aae3e596f1a6449c8f20854c.
This wallet is Scam activitie: SPCP3WTTCRYQ1YFZXNHP3SH61G980674Z5PBAKD3
I lost my all STX token

This isn't an Explorer issue.
Please ask for community support on the #support channel in Discord.


add trigger environment variable

When the Promote event is triggered, it is expected that the trigger person can be obtained for further judgment

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

@bradrydzewski

environment variables are set using the github.com/drone/runner-go library.  The code in this pull request is actually deprecated and will be removed, so there is no need to update.  I see you already made a pr to runner-go.  We will move the discussion to https://github.com/drone/runner-go/pull/4.


Add many spites -> scrollbar not working

When adding multiple sprites on one page a scrollbar appears in het sprite list. But that bar doesn't work, so it isn't possible to scroll up and edit the first added sprites.
Workaround: after adding too many sprites, press the home-button and reopen the project. After that the scrollbar still doesn't work, but you can scroll with the up- and down-keys.

Can you comment whether this was windows or mac?  Was the app fullscreened?
I saw the scrollbar working with a student the other day.

This was on Windows. Not sure if the app was fullscreened (it's been 3 months ago when I've noticed this and since then I didn't use the app myself).

Righto.  I will put it on the list!  Thanks for your quick reply!
JFo

I confirm that this bug occurs on Windows 10. I had it with the window maximized, but I'm not sure this is the cause. By following @sdmeijer workaround to reopen project, I managed to circumvent it. But this workaround is not obvious for children.
@jfo8000, thank you very much for this project! Its's much nicer to use ScratchJr on a big screen of a laptop.

Just adding that this bug also applies on the Mac version.

I meet same problem in macOS version.