SvelteKit deployment issue w/ Swiper

Describe the bug
The project doesn't build and deploy on Vercel and CloudFlare, it does work on local.
Reproduction
https://github.com/onderbakirtas/upo
Logs
> Using @sveltejs/adapter-vercel
 > node_modules/swiper/svelte/swiper-svelte.js:14:24: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper-slide.svelte
    14 │ import SwiperSlide from './swiper-slide.svelte';
       ╵                         ~~~~~~~~~~~~~~~~~~~~~~~
 > node_modules/swiper/svelte/swiper-svelte.js:13:19: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper.svelte
    13 │ import Swiper from './swiper.svelte';
       ╵                    ~~~~~~~~~~~~~~~~~
> Build failed with 2 errors:
node_modules/swiper/svelte/swiper-svelte.js:13:19: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper.svelte
node_modules/swiper/svelte/swiper-svelte.js:14:24: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper-slide.svelte
Error: Build failed with 2 errors:
node_modules/swiper/svelte/swiper-svelte.js:13:19: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper.svelte
node_modules/swiper/svelte/swiper-svelte.js:14:24: error: No loader is configured for ".svelte" files: node_modules/swiper/svelte/swiper-slide.svelte
    at failureErrorWithLog (/vercel/path0/node_modules/esbuild/lib/main.js:1493:15)
    at /vercel/path0/node_modules/esbuild/lib/main.js:1151:28
    at runOnEndCallbacks (/vercel/path0/node_modules/esbuild/lib/main.js:1069:65)
    at buildResponseToResult (/vercel/path0/node_modules/esbuild/lib/main.js:1149:7)
    at /vercel/path0/node_modules/esbuild/lib/main.js:1258:14
    at /vercel/path0/node_modules/esbuild/lib/main.js:629:9
    at handleIncomingPacket (/vercel/path0/node_modules/esbuild/lib/main.js:726:9)
    at Socket.readFromStdout (/vercel/path0/node_modules/esbuild/lib/main.js:596:7)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1

System Info
System:
    OS: Windows 10 10.0.19043
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 6.90 GB / 15.30 GB
  Binaries:
    Node: 14.18.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.43)
    Internet Explorer: 11.0.19041.1202

Severity
blocking an upgrade
Additional Information
No response

I've created a repo that uses Svelte (not Svelte Kit) and it seems there are no issues there. It deploys fine.
Here is the repo link: https://github.com/onderbakirtas/swiper-test

Here is the error in the bash when being deployed to CloudFlare.
> Using @sveltejs/adapter-cloudflare
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /opt/buildhome/repo/node_modules/swiper/swiper.min.css
    at new NodeError (node:internal/errors:371:5)
    at Object.file: (node:internal/modules/esm/get_format:72:15)
    at defaultGetFormat (node:internal/modules/esm/get_format:85:38)
    at defaultLoad (node:internal/modules/esm/load:13:42)
    at ESMLoader.load (node:internal/modules/esm/loader:303:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:230:58)
    at new ModuleJob (node:internal/modules/esm/module_job:63:26)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:244:11)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:78:21)
    at async Promise.all (index 2)
> 500 /hi
Error: 500 /hi
    at file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/chunks/index4.js:86:11
    at visit (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/chunks/index4.js:222:5)
    at async prerender (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/chunks/index4.js:303:6)
    at async Object.prerender (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/chunks/index4.js:368:4)
    at async adapt (file:///opt/buildhome/repo/node_modules/@sveltejs/adapter-cloudflare/index.js:27:4)
    at async adapt (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/chunks/index4.js:393:2)
    at async file:///opt/buildhome/repo/node_modules/@sveltejs/kit/dist/cli.js:896:5
Failed: build command exited with code: 1

I think this is an issue in the library: https://github.com/nolimits4web/swiper/issues/5288#issuecomment-991260188
I sent a fix to the libraries. I'll close this issue since it's not clear there's anything else to do here


Implement async termination of blocking thread

send a signal whose handler is no-op to a blocking thread to wake up the blocking syscall
with either EINTR equivalent or partial success.
unlike the approach taken in the dev/interrupt_block_insn branch (that is, signal + longjmp similarly to OS_ENABLE_HW_BOUND_CHECK),
this PR does not use longjmp because:

longjmp from signal handler doesn't work on nuttx (https://github.com/apache/nuttx/issues/10326)
i'm afraid that the singal+longjmp approach is too difficult for average programmers who might implement host functions to deal with. especially when the longjmp can rewind a lot of functions, some of which are potentially user-supplied.

todo/known issues/limitations/open questions:

make the initialization independent from OS_ENABLE_HW_BOUND_CHECK
provide an api (or at least a build-time config) to specifiy a signal to use, instead of hardcoding SIGUSR1.
adapt operations other than fd_read

fd_close
fd_pread
fd_pwrite
fd_read
fd_write
path_open

i guess it can block on eg. fifo. i'm not sure if i want to fix it in this PR.

poll_oneoff

leave this for now as it's already fixed with a different approach: https://github.com/bytecodealliance/wasm-micro-runtime/pull/1951

sock_accept
sock_close (?) just ENOSYS
sock_connect
sock_recv just a wrapper of sock_recv_from
sock_recv_from
sock_send just a wrapper of sock_send_to
sock_send_to
sock_shutdown usually not block
sock_addr_resolve

this one is not a simple syscall. see the comment in blocking_op.c

memory.atomic.wait32/64

leave this for now as it's already fixed with a different approach: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2024

what to do for platforms other than posix?
what to do for other wasi implementation? (uvwasi)
document/comment
test

the relevant tests in wasi-threads repo passed on macOS and nuttx/esp32-devkitc

add an api to terminate an instance https://github.com/bytecodealliance/wasm-micro-runtime/pull/2538
add a sample https://github.com/bytecodealliance/wasm-micro-runtime/pull/2538
for simple blocking system call like readv, it's easy to wrap it with wasm_runtime_begin_blocking_op/wasm_runtime_end_blocking_op. but how about something more complex, like a call which possibly blocks deep inside an external library?

relevant issue: https://github.com/bytecodealliance/wasm-micro-runtime/issues/1910

the last push passes all test cases in wasi-threads repo on macOS.

@eloparco Could you help review the PR? It implements feature like dev/interrupt_block_insn in different manner.

@eloparco Could you help review the PR? It implements feature like dev/interrupt_block_insn in different manner.

Sure, I'll take a look in the next couple of days.

Took a look. This doesn't cover user-defined functions that could have been achieved with longjmp I think. But, as you said, the longjmp approach is probably too complicated.
We should be able to add these tests now, probably in a separate PR.

Took a look. This doesn't cover user-defined functions that could have been achieved with longjmp I think. But, as you said, the longjmp approach is probably too complicated.

user-defined functions should take care of it by itself, either using the api introduced by this PR or other approaches like https://github.com/bytecodealliance/wasm-micro-runtime/pull/1951. i guess in many cases it's simpler than preparing for signal+longjmp.

We should be able to add these tests now, probably in a separate PR.

yes. they all pass with this PR: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2516#issuecomment-1701890000

Took a look. This doesn't cover user-defined functions that could have been achieved with longjmp I think. But, as you said, the longjmp approach is probably too complicated.
We should be able to add these tests now, probably in a separate PR.

@eloparco so the PR is good to you, right? Shall we merge the PR?

@eloparco so the PR is good to you, right? Shall we merge the PR?

LGTM


Tests for full rings should cover test particles further from the closed orbit

In particular off-momentum cases should be better checked

obsolete


update name and mo labels

This PR changes the "name" label to be the actual resource name, instead of the managed object name.

Is mo a descriptive name in this context?

Looking at the vsphere docs, I should change this to moid to be consistent.


_module.specialArgs

Motivation
Fix an infinite recursion. https://github.com/NixOS/nixpkgs/issues/181009
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg test documentation simple

Is nixos/modules/misc/documentation/test-dummy.chapter.xml supposed to be empty?


Intel iwlwifi stopped working with kernel 4.13

Issue description
When booting with a 4.13 kernel, my wifi card (AC 8265, REV=0x230) fails to get its firmware loaded:
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-31.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-30.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-29.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-28.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-27.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-22.ucode failed with error -2
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: no suitable firmware found!
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: minimum version required: iwlwifi-8265-22
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-8265-33
Sep 26 14:26:54 lenix kernel: iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

With 4.12, the firmware load works:
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-30.ucode failed with error -2
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-29.ucode failed with error -2
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8265-28.ucode failed with error -2
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: capa flags index 3 larger than supported by driver
Sep 26 14:27:42 lenix kernel: iwlwifi 0000:03:00.0: loaded firmware version 27.541033.0 op_mode iwlmvm

@fpletz I appreciate your previous work on this. Do you think our build recipe (pkgs/os-specific/linux/firmware/firmware-linux-nonfree) could be changed to only depend on upstream sources + patches that we maintain within nixpkgs?

@bendlas I totally agree! I just continued making the repository available and merge the firmware repos together like wkennington did.
Do you want to work on this? We need this for 17.09 which we will release in the next few days. :)

I might give it a shot, but can you tell me a bit about it?

Does it need to be a merged repository?
i.e. could we also build firmware and iwlwifi separately?
Are there any patches in there, that are from neither upstream?

also calling on @wkennington in case you're still interested in helping with this ..

Should've explained what to do, sorry. :)
Only these tho repos are needed:

https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

These two shouldn't be needed to be built together, just linked togethe in one directory like we do with the hardware.firmware NixOS option. But at least for 17.09 we should install the contents of both repos with firmwareLinuxNonfree because that's what we've done before.
At some point we removed broken firmware but this was also removed upstream shortly after. So there should be no changes compared to the upstream repos.

I don't understand why firmware loading fails for you as we have the following firmware files in firmwareLinuxNonfree:
iwlwifi-8265-21.ucode
iwlwifi-8265-22.ucode
iwlwifi-8265-27.ucode
iwlwifi-8265-31.ucode

The revision 27 seems to be loaded by 4.12. There aren't any updates for iwlwifi-8265 in neither linux-firmware nor iwlwifi's linux-firmware. :cry:

I was thinking the same thing, but my hope was for the critical fix to not be in the ucode, but in the loading stub ...
I hope to be able to try this later in the evening

I am about to push the 4.13.4 kernel, it has a fix for something iwlwifi related, maybe that will fix this?!
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.4

Try with ab3ff4af9fb3a32888730496a1561290a2621433

I finally got my wifi card working again, after the iwl release yesterday. Strange thing is: I had to enable hardware.enableRedistributableFirmware, for the updated firmwareLinuxNonfree package to even be built. I definitely haven't had to do this before. And I'm still not sure, if I even need the updated release. Did the default for this change, somehow?
What's the best course forward? Should we enable redistributable firmware by default?

This may have caused #31548 (QCA9882 firmware crashes).


Dataset Viewer issue for claritylab/UTCD

Link
https://huggingface.co/datasets/claritylab/UTCD
Description
The dataset viewer is not working for dataset claritylab/UTCD.
Error details:
Error code:   TooManyColumnsError

I'm having trouble to get dataset viewer to work.
I did a bit of research:

https://discuss.huggingface.co/t/the-dataset-preview-has-been-disabled-on-this-dataset/21339/3
https://discuss.huggingface.co/t/dataset-preview-not-showing-for-uploaded-datasetdict/12603/4

and looks like the only way to get data viewer to work is to call push_to_hub s.t. there are .parquet versions of my dataset in the ref/convert/parquet branch.
But I already had my dataset loading script with json in-place. I think I can both 1) keep the existing dataset loading script, and 2) add the parquet version of my datasets to the branch, as I think squad_v2 is an example for that.
So I created a branch and pushed my dataset again via python:
from huggingface_hub import create_branch
create_branch('claritylab/utcd', repo_type='dataset', branch='ref/convert/parquet')

dataset = load_dataset('claritylab/utcd', name='in-domain')
dataset.push_to_hub('claritylab/utcd', branch='ref/convert/parquet')

the code executed fine with no error and the output message below:
Downloading readme: 100%|██████████| 8.40k/8.40k [00:00<00:00, 1.41MB/s]
Found cached dataset utcd (/Users/stefanhg/.cache/huggingface/datasets/claritylab___utcd/aspect-normalized-in-domain/0.0.1/fe244a6f1dd95dfe9df993724e1b1ddb699c1900c2edb11a3380c7a2f6b78beb)
100%|██████████| 3/3 [00:00<00:00, 191.17it/s]
Pushing split train to the Hub.
Pushing dataset shards to the dataset hub:   0%|          | 0/1 [00:00<?, ?it/s]
Creating parquet from Arrow format:   0%|          | 0/116 [00:00<?, ?ba/s]
Creating parquet from Arrow format:  35%|███▌      | 41/116 [00:00<00:00, 376.94ba/s]
Creating parquet from Arrow format: 100%|██████████| 116/116 [00:00<00:00, 316.08ba/s]

Upload 1 LFS files:   0%|          | 0/1 [00:00<?, ?it/s]
Upload 1 LFS files: 100%|██████████| 1/1 [00:11<00:00, 11.18s/it]
Pushing dataset shards to the dataset hub: 100%|██████████| 1/1 [00:12<00:00, 12.06s/it]
Pushing split validation to the Hub.
Pushing dataset shards to the dataset hub:   0%|          | 0/1 [00:00<?, ?it/s]
Creating parquet from Arrow format: 100%|██████████| 13/13 [00:00<00:00, 469.34ba/s]

Upload 1 LFS files:   0%|          | 0/1 [00:00<?, ?it/s]
Upload 1 LFS files: 100%|██████████| 1/1 [00:01<00:00,  1.42s/it]
Pushing dataset shards to the dataset hub: 100%|██████████| 1/1 [00:01<00:00,  1.85s/it]
Pushing split test to the Hub.
Pushing dataset shards to the dataset hub:   0%|          | 0/1 [00:00<?, ?it/s]
Creating parquet from Arrow format:   0%|          | 0/169 [00:00<?, ?ba/s]
Creating parquet from Arrow format:  27%|██▋       | 45/169 [00:00<00:00, 449.16ba/s]
Creating parquet from Arrow format:  53%|█████▎    | 90/169 [00:00<00:00, 429.39ba/s]
Creating parquet from Arrow format: 100%|██████████| 169/169 [00:00<00:00, 530.78ba/s]

Upload 1 LFS files:   0%|          | 0/1 [00:00<?, ?it/s]
Upload 1 LFS files: 100%|██████████| 1/1 [00:13<00:00, 13.75s/it]
Pushing dataset shards to the dataset hub: 100%|██████████| 1/1 [00:14<00:00, 14.59s/it]

but I  don't see any difference on my dataset repository website: branch named ref/convert/parquet available, and thus nothing in the branch.
Please help. Thank you!

Thanks for reporting, @StefanHeng.
Please note that the ref/convert/parquet branch is an internal branch that our datasets server created automatically from the content in your main branch. You should not try to modify it because our datasets server will rewrite over it.


Improve default display logic

If no upper limit of normal is provided, don't show edish
If no baseline specification is provided, don't show mdish
If neither is provided, throw an error.

Relates to #207 and makes #228 a lot easier.


Remove bluebird

Closes #390

@mtrezza should be good for review

🎉 This change has been released in version 1.2.0


File Sharing

How easy would it be to add file transfer to this?

Thanks. I think the first option would be the easiest for me. I have a normal server so I will need to find a way of doing it without using AS3 .

Put this in the Roadmap, feel free to send a Pull Request if you want to do it!


Test PR workflow

Task/Issue URL: https://app.asana.com/0/0/1202798538526951/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2175   👈

This comment was auto-generated by Graphite.


User adjustable SCAN_INTERVAL_MINUTES?

Hey!
Would it be possible to set SCAN_INTERVAL_MINUTES in System options-window? One can always set this manually by editing const.py but for the convenience this would be nice to have this in GUI.

I'll look into it, should be possible. At least during initial setup if not possible dynamically afterwards.

This should be good now, default is still 1 minute, but you can increase it up to 30min


Show now indicator only for the corresponding day

I think that the current approach where the indicator is shown across the whole week is confusing. There is not strong enough indication of the current day so I have to scan the grid where the now indicator is actually applied. Take a look at other calendar applications, like Sunrise:

and Google Calendar:

Notice also that the indicator has a very contrasting colour and the current day is additionally highlighted. With this approach, you don't even need to display what the closest course is, since it is more obvious, and you won't have problems like this:

I think that the current approach where the indicator is shown across the whole week is confusing.

I disagree with that.
Take a look at Calendar app from OS X:

The Now indicator is across all week as in @MMajko’s original design. The current day is highlighted with a background colour (purple) and there’s also a dot in the intersection. So the current day and time is clearly visible, much better than in Sunrise or Google Calendar. It works as a graph, well known and recognizable (design) pattern (especially in our target group).

Yes, but again, the current day is highlighted in the Calendar app, isn't it? Let me finish my original quote:

There is not strong enough indication of the current day so I have to scan the grid where the now indicator is actually applied.

So the root of our problem is indication of the current day. One way to improve it is through the now indicator for the current day. Other way is to really visibly highlight the current day as suggested in #63. I shouldn’t have jumped to one partial solution but state the problem more broadly.
I'm impartial what the final solution will be as long as it is really usable and does not rely only on our gut feeling (not to mention 2 out of 3 of us won't be using Fittable on a daily basis).


Failed to create react-typescript-electron project

Unable to create typescript-webpack project using the
https://www.electronforge.io/templates/typescript-+-webpack-template
yarn create electron-app my-new-app --template=typescript-webpack

An unhandled rejection has occurred inside Forge:
TypeError: Cannot destructure property 'copyCIFiles' of 'undefined' as it is undefined.
    at TypeScriptWebpackTemplate.initializeTemplate (/Users/jega/.config/yarn/global/node_modules/@electron-forge/template-base/src/BaseTemplate.ts:15:56)
    at TypeScriptWebpackTemplate.initializeTemplate (/Users/jega/.config/yarn/global/node_modules/@electron-forge/template-typescript-webpack/src/TypeScriptWebpackTemplate.ts:25:17)
    at _default (/Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/core/src/api/init-scripts/init-custom.ts:55:42)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at _default (/Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/core/src/api/init.ts:51:5)
    at /Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/cli/src/electron-forge-init.ts:29:3

Electron Forge was terminated. Location:
{}
error Command failed.

Any update on how to get around this? Thanks!

Having the same issue, I think the problem is that ts-webpack template was added in beta.46 (or 47), but 'npx create-electron-app my-new-app --template=typescript-webpack' uses beta.45

Maybe this can be a problem
create-electron-app wants to install custom template @electron-forge-template-typescript-webpack
but on npm and in package.json of a template is called @electron-forge**/**template-typescript-webpack
There is a - instead of /

You probably have an old version of @electron-forge/cli installed globally. Check via npm list --global @electron-forge/cli.

@malept Tried checking if @electron-forge/cli is installed globally (with npm list --global @electron-forge/cli), but got (empty)
But I've checked issue #1009 and found an issue and solution.
Version of create-electron-app was 6.0.0-beta.45
By using this command npx --no-install --ignore-existing create-electron-app my-app --template=typescript-webpack I've managed to finaly create a template.

@malept Tried checking if @electron-forge/cli is installed globally (with npm list --global @electron-forge/cli), but got (empty)
But I've checked issue #1009 and found an issue and solution.
Version of create-electron-app was 6.0.0-beta.45
By using this command npx --no-install --ignore-existing create-electron-app my-app --template=typescript-webpack I've managed to finaly create a template.

Thanks the above command works fine.

You probably have an old version of @electron-forge/cli installed globally. Check via npm list --global @electron-forge/cli.

Thanks it's working .
I have uninstall the old version "
yarn global remove create-electron-app


Update etelemetry reference for lincbrain

Resolves error identified by @kabilar in https://github.com/lincbrain/linc-cli/issues/58

@kabilar -- actually going to close this PR and include in changes in https://github.com/lincbrain/linc-cli/pull/60

Thanks Aaron.


[bug]fix bug of duplicate rows in UnivocityCsvParser

When input data file contain some characters which consist of  one more bytes, the UnivocityCsvParser will read duplicate rows from next data block.
Root cause:
The block length in class BlockDetails is the number of bytes in the data block. But UnivocityCsvParser use a buffer stream of char, and set the limit of this char stream with the number of bytes.
Solution:
change CustomReader to byte array reader(CustomDataStream).  Then we wrap an char array reader on CustomDataStream

@QiangCai can u add the test case for the failure scenario. I want to see whether we can fix in older code or not

retest this please

@QiangCai @kumarvishal09 The way SparkCSV does is not so efficient, even I have compared the performance between SparkCSV and our code but it is not effective. Here there is duplicate string to char conversion is happening, that could be avoided by using the current code approach.
And when come to the defect, we have mistakenly taken the CustomReader with char array, but it could be simply avoided by taking CustomDataStream extends InputStream and wrap it with reader. I have verified by taking this approach and it works as well.

ok, I change to implement CustomDataStream

@ravipesala @kumarvishal09  please review.  I have simplified the modification.

Modification:

Change CustomReader( char array reader) to CustomDataReader(byte array reader)
startOffset does not need to go back one byte.  we also does not need to check the end byte of block. We always read one extra line from next block.

@QiangCai LGTM except one comment please check

@QiangCai it seems there is an issue in the code, please try with 10 million in your test code, it gives extra rows.

I tested with 1million oscon data it is ok

retest this please.

retest this please

@QiangCai Issue is with offset handling in read method of CustomDataStream .Please use as follows.
public int read(byte[] buffer, int offset, int length) throws IOException {
    if (this.remaining == 0) {
      return -1;
    } else {
      if (this.remaining < length) {
        length = (int) this.remaining;
      }

      length = this.stream.read(buffer, offset, length);
      if (length >= 0) {
        this.remaining -= length;
        if (this.remaining == 0 && !endOfLineFound) {
          if (buffer[length - 1] != END_OF_LINE_BYTE_VALUE) {
            endOfLineFound = true;
            this.remaining += NUMBER_OF_EXTRA_CHARACTER_TO_READ;
          }
        } else if (endOfLineFound) {
          for (int i = offset; i < length; i++) {
            if (buffer[i] == END_OF_LINE_BYTE_VALUE) {
              this.remaining = 0;
              return (i - offset) + 1;
            }
          }
          this.remaining += NUMBER_OF_EXTRA_CHARACTER_TO_READ;
        }
      }
      return length;
    }
  }

int end = offset + length;
for (int i = offset; i < end; i++) {

@ravipesala   10 million dataloading success, record count is right.

@David what is the issue?

FileFooter.read  throw TTransportException.

@QiangCai That is the issue with local file block split. That issue has been fixed in apache github. Please use hdfs to verify the issue.

LGTM.

Please use 1 million in test case, otherwise it takes long time for PR builder. I will merge this PR.

done

U can set fs.local.block.size property for above issue

@kumarvishal09 it is about our fact files are getting splitted when we local store path instead of hdfs, we should not do that. Any way that is a different issue and our users don't use local storage so it would not be any issue.  This issue has been handled in apache github.

LGTM


unable to use in virtualbox

I want to use mkcert generated certificates into the ubuntu virtual machine inside the VirtualBox.
I try but no success
Chrome(on Windows 10) Error: windows does not have enough information to verify certificates
note - I installed mkcert using choco in windows 10 and generate certificates and then import them into vm.
info ---
Host: Windows 10
guest: ubuntu 18.04 Linux virtual machine in VirtualBox.
server software: apache2

Remember that your Virtualbox VM is a "different system" than your host. So your host's browser is not going to trust a cert that you generate inside the Virtualbox VM. So Installing the CA on different systems is the answer to your problem.

@rfay
i didn't genrate it inside vm, i genrated it inside windows 10 and then imported in vm.


GOOGLE CLONE

@Anjuli08 i have made google clone dummy using html and css

@Anjuli08 kindly review my PR #83

It's Nice! thanks for contributing


/forcepromote: Prevent from promoting to Global Room Owner

"/forcepromote [user], #" would promote someone to Global Room Owner otherwise. Works with Player as well

Thanks!


Evaluate the cost of a circuit

Write down a function which evaluates the cost of a circuit. Each gate can have some sort of a cost associated with it and the total cost is just a measure of how low the fidelity is.

Done


perf(occupancy_grid_map_outlier_filter): improve performance

Signed-off-by: Taiga Takano<EMAIL_ADDRESS>Description
This PR improves performance with the following major changes:

Elimination of unnecessary conversions between PCL and ROS Messages.
Changing the function used for filtering from radiusSearch to nearestKSearch.
Reducing computational load by revising point cloud processing.

Measurement
With this PR, the node (measurement is the overall latency of the callback) will be approximately more than twice as fast.

PERCENTILE
Before [ms]
After [ms]
Improvement Factor

99%
13.0
6.2
2.1 times

90%
10.5
4.4
2.4 times

50%
0.7
0.4
1.8 times

If possible, .size() should not be used to many times.
This is because .size() 's complexity depends on its data structure (eg. vector is O(1) but linked list is O(N)) and the internal implementation is usually hidden in libraries.

@veqcc Is this PR ready for merge?

@YoshiRi
The PR has been revised to address certain points that were raised, and is now in a state where it can be merged. As for the changes made to the filter part (changes to the nearestKSearch function), these have been reverted.

I measured the latency in the subscriber function onOccupancyGridMapAndPointCloud2 and mainly improved the latency in splitPointCloudFrontBack. The changes made the other day have not improved the speed as initially anticipated.

@TakanoTaiga
Thank you for measuring the performance after improvements!
It looks the first figure indicates that the latency becomes worse, right?

@TakanoTaiga
You mean the onOccupancy... function slightly improved, while the splitPoint... function got worse, right?
Your improvements are implemented only in splitPoint..., so it sounds strange for me.
Could you give me more detailed explanation?

まず、splitPoint... 関数が onOccupancy... 関数内で呼び出されていることに注意する必要があります。そして、onOccupancy... 関数はこのノードのメインのコールバックであるため、それを測定します。
メインのコールバックの改善グラフを単に表示するだけでは違いが明確には表示されないかもしれないと考え、改善された splitPoint... 関数も表示して、改善をより理解しやすくしました。

@veqcc
First, it should be noted that the splitPoint... function is called within the onOccupancy... function. And since the onOccupancy... function is the main callback for this node, it measures it.
I thought that simply displaying the improvement graph of the main callback might not clearly show the difference, so I also displayed the improved splitPoint... function to make the improvement more understandable.

@TakanoTaiga
Thank you! I understand the point.
My question here is "Why splitPoint... latency got larger?".

@veqcc
I'm sorry. I misunderstood the graph. Tomorrow, I will check if the numbers are incorrect. It seems that I might have confused "before" and "after."

@veqcc
As a result of measuring performance to verify once again based on the feedback, performance improvements were observed in both the splitPoint... function and the onOccupancy... function.

onOccupancyGridMapAndPointCloud2

before[ms]
after[ms]

99%
26.98
24.60

90%
21.29
18.98

50%
13.88
12.77

splitPointCloudFrontBack

before[ms]
after[ms]

99%
2.20
1.02

90%
1.58
0.63

50%
1.07
0.38


Because langchain depends on langchain, version solving failed.

System Info
flutter --version
Flutter 3.13.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2f708eb839 (2 weeks ago) • 2023-10-09 09:58:08 -0500
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
Related Components

[ ] doc-loaders
[ ] doc-transformers
[ ] prompts
[ ] llms
[ ] chat-models
[ ] output-parsers
[ ] chains
[ ] memory
[ ] stores
[ ] embeddings
[ ] retrievers
[ ] agents

Reproduction
flutter pub add langchain
Expected behavior
Package install

hello @alfmirbel,
Can you post the whole error message? Which dependency is conflicting? Thanks.

Hi!
That´s the all the message after execute the instalation command
PS E:\langchain> flutter pub add langchain
Because langchain depends on langchain, version solving failed.
PS E:\langchain>

These are the dependenciaes that I got:
PS E:\langchain> flutter pub get langchain --directory
Resolving dependencies... (4.0s)
collection 1.17.2 (1.18.0 available)
flutter_lints 2.0.3 (3.0.0 available)
lints 2.1.1 (3.0.0 available)
material_color_utilities 0.5.0 (0.8.0 available)
meta 1.9.1 (1.11.0 available)
stack_trace 1.11.0 (1.11.1 available)
stream_channel 2.1.1 (2.1.2 available)
test_api 0.6.0 (0.6.1 available)
web 0.1.4-beta (0.3.0 available)
Got dependencies!

More info:
PS E:\langchain> flutter pub upgrade langchain
Resolving dependencies...
async 2.11.0
boolean_selector 2.1.1
characters 1.3.0
clock 1.1.1
collection 1.17.2 (1.18.0 available)
cupertino_icons 1.0.6
fake_async 1.3.1
flutter 0.0.0 from sdk flutter
flutter_lints 2.0.3 (3.0.0 available)
flutter_test 0.0.0 from sdk flutter
lints 2.1.1 (3.0.0 available)
matcher 0.12.16
material_color_utilities 0.5.0 (0.8.0 available)
meta 1.9.1 (1.11.0 available)
path 1.8.3
sky_engine 0.0.99 from sdk flutter
source_span 1.10.0
stack_trace 1.11.0 (1.11.1 available)
stream_channel 2.1.1 (2.1.2 available)
string_scanner 1.2.0
term_glyph 1.2.1
test_api 0.6.0 (0.6.1 available)
vector_math 2.1.4
web 0.1.4-beta (0.3.0 available)
No dependencies changed.
9 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.

PS E:\langchain> flutter pub outdated
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name   Current  Upgradable  Resolvable  Latest
direct dependencies: all up-to-date.
dev_dependencies:
flutter_lints  *2.0.3   *2.0.3      3.0.0       3.0.0
1 dependency is constrained to a version that is older than a resolvable version.
To update it

PS E:\langchain> flutter pub upgrade --major-versions
Resolving dependencies...
async 2.11.0
boolean_selector 2.1.1
characters 1.3.0
clock 1.1.1
collection 1.17.2 (1.18.0 available)
cupertino_icons 1.0.6
fake_async 1.3.1
flutter 0.0.0 from sdk flutter

flutter_lints 3.0.0 (was 2.0.3)
flutter_test 0.0.0 from sdk flutter
lints 3.0.0 (was 2.1.1)
matcher 0.12.16
material_color_utilities 0.5.0 (0.8.0 available)
meta 1.9.1 (1.11.0 available)
path 1.8.3
sky_engine 0.0.99 from sdk flutter
source_span 1.10.0
stack_trace 1.11.0 (1.11.1 available)
stream_channel 2.1.1 (2.1.2 available)
string_scanner 1.2.0
term_glyph 1.2.1
test_api 0.6.0 (0.6.1 available)
vector_math 2.1.4
web 0.1.4-beta (0.3.0 available)
Changed 2 dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.

Changed 1 constraint in pubspec.yaml:
flutter_lints: ^2.0.0 -> ^3.0.0
PS E:\langchain>

I cannot reproduce it.
Can you manually add the langchain dependencies to your pubspec.yaml:
dependencies:
  #  Your other dependencies...
  langchain: 0.0.13
  langchain_openai: 0.0.13

and run `flutter pub get`?

That should give you an error message indicating the dependency that is causing issues.

Yes. This is the resulting message:
[langchain] flutter pub get --no-example
Resolving dependencies...
Error on line 38, column 3 of pubspec.yaml: A package may not list itself as a dependency.
╷
38 │   langchain: 0.0.13
│   ^^^^^^^^^
╵
exit code 65

There you have the error: "A package may not list itself as a dependency". Your project cannot have the same name as some of its dependencies. Use a different project name.
Check this video: https://www.youtube.com/watch?v=fr05X33GVhE

Thanks a lot!!
Thanks for your time!!
El mié, 25 oct 2023 a las 13:23, David Miguel Lozano (<
@.***>) escribió:

There you have the error: "A package may not list itself as a dependency".
Your project cannot have the same name as some of its dependencies. Use a
different project name.
Check this video: https://www.youtube.com/watch?v=fr05X33GVhE
—
Reply to this email directly, view it on GitHub
https://github.com/davidmigloz/langchain_dart/issues/177#issuecomment-1779910157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAID64WB7RZV5OF5FTS5IN3YBFRLPAVCNFSM6AAAAAA6N6U5WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZHEYTAMJVG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Star chart mastery is incorrect

There are a total of 36 mastery points missing in the star chart, somewhere. I'm not sure where it is but here's a screenshot of my completed FrameHub, and a screenshot of my own mastery:

It looks like one mission is probably missing on both the regular star chart and Steel Path, probably the same one, worth 18 XP.

I did add a new node that gives 18 XP last week... 1d129aab114abfc895bbd5b3f6b4b46f4ceba15c
Make sure Tyana Pass, Mars is marked?

Interesting, for some reason that was not showing up for me despite multiple browser restarts and reboots since then. Clearing the cache fixed it though. Carry on!

Yep, being a single page app Framehub doesn't update until the cache is cleared or invalidated, something that we should work on solving


Unable to download pretrained models

First of all thanks for making this repo! However, when I try to download a pre-trained model, the download quits halfway since the connection to the server is lost. Could you maybe host them somewhere else? Thanks!

Sorry for late reply.
Since it is difficult for us to pay the bill for cloud services out of China like AWS, we host our model on a Chinese cloud service. Unfortunately, it seems this solution is not so stable.
I've uploaded some of the models onto my google drive and I accepted the request for a certain language (like Spanish mentioned above). The link is here: https://drive.google.com/open?id=1-MIo4Myz3oeP9q8lEsXQZl7UcAiTfJA8
If you're interested in the model for some specific language, please comment on this issue.
My google drive cannot host all the models. So if you would like to help us out, please also comment on this issue 😀

I would like to download the Dutch model.

@stefanknegt Dutch model has been uploaded. Please check.

Thanks, I got it.

I need the Turkish model, thanks in advance.

@KeremZaman Turkish is ready, please check.

Thanks

colleagues,
would you be interested in injecting these models into our on-line repository at
http://vectors.nlpl.eu/repository/
the repository is hosted by the norwegian national HPC services and has a long-term commitment to accessibility.
if this were an interesting option, we would need to arrange for us to retrieve all of the files once and collaborate on creating at least the minimum metadata required for inclusion in the NLPL repository.
best, oe

Dear Prof @oepen,
Thank you so much! That's a great option! We would definitely like to inject our models on your repository. The whole repo for models will take 18G disk space. Each one is about 400M. If it's OK, please let me know what we can help.
Best regards
Yijia

great; thanks for supporting this!  what will be the best way for us to obtain the files?  i tried downloading via the links on the GitHub page, but no success.  if you emailed me<EMAIL_ADDRESS>your google account name, i could probably share sufficient drive space with you.  would you be able to upload the files then?  could you also provide the full names and email addresses of everyone who should be named in the ‘creator’ field of our metadata?

Thanks to Prof @oepen and other colleagues, now the models were moved to  NLPL Vectors Repository. I believe the downloading problem is solved now, so I will close this issue.

Hi @Oneplus . I want to download the Simple Chinese model, but found that the Simple Chinese model is not on NLPL Vectors Repository. And the link in README of the Simple Chinese model is still old and broken. Can you provide the Simple Chinese model? Thank you so much!

:) @Oneplus . I want to download the simplified-Chinese model, but two links are useless. Can you update the link ? Thanks a lot.


Nested oneof fields?

Hi Oleg,
Thanks for creating the proto converter! :)
I have three proto files:
File 1:
message P2PEvent {
oneof event {
FutureEvent future_event = 1;
ImmediateEvent immediate_event = 2;
}
}
File 2:
message FutureEvent {
oneof event {
...
}
}
File 3:
message ImmediateEvent {
oneof event {
...
}
}
I get errors when compile the parent file (File 1), I wonder if this case is supported?

Parsing:
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/P2PEvent.proto: parsing.
UNRELEASED desc_package: 1, nesting: 0
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/FutureEvent.proto: parsing.
UNRELEASED desc_package: 1, nesting: 0
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/ImmediateEvent.proto: parsing.
UNRELEASED desc_package: 1, nesting: 0

Parsing completed successfully. *

Semantic analysis:
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/P2PEvent.proto: analysis.
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/FutureEvent.proto: analysis.
D:/Projects/Owlies_Project/BouncingDefender/BouncingDefender/GodotProject/Proto/ImmediateEvent.proto: analysis.

Semantic analysis completed successfully. *

Output file creating:
Perform full semantic analysis.
Perform translation.
res://addons/protobuf/parser.gd:1766 - Invalid get index '14' (on base: 'Array').
res://addons/protobuf/parser.gd:1816 - Invalid operands 'String' and 'Nil' in operator '+'.
res://addons/protobuf/parser.gd:1943 - Invalid operands 'String' and 'Nil' in operator '+'.
res://addons/protobuf/parser.gd:2033 - Invalid operands 'String' and 'Nil' in operator '+'.

Appreciate the help!

I’ll check, but I don’t promise that quickly.

This is a bug. It appears when importing a oneof from another file. I will think how to fix it...
So far, you can not use imports oneof in your project, but combine everything in one file.
Nested oneof are supported.
Packages are not supported, I see you use them:
UNRELEASED desc_package: 1, nesting: 0

Fixed in master branch.
Please check and write to me.

Thanks for the quick fix! :)


Formatted organizations to show missing fields and added Resource Quota flag

Changed

Added missing fields in presenting organizations
Added fetchSkus flag to get resource quota for the organization

Tested

fetchSkus should return resource quota list for the organization
Missing fields should be displayed in the organization

LGTM


Add command palette item to restart the window

Description of the new feature/enhancement
A simple option to reload configuration variables (e.g. PATH), or to restart the window. It can save us a few clicks if we can refresh the terminal when installing a new app, for example, from Winget. The issue is that when installing new apps, the PATH is not updated for the application so refreshing the environment variables could be useful.

Proposed technical implementation details (optional)
Add a command in the palette for restarting the window, and add a command for refreshing the environment variables so that newly installed binaries work directly.

#1125 Seems like it'd be more straightforward - just reload the env vars for new tabs, etc.
There's also #3726, which is per pane (not per-window), but is probably good enough here, yea/?


Enhancement: Support user-provided annotations for generated types and functions

It is possible that users may want to define types that need to be annotated in some way, such as with @frozen or @available. This can be useful in cases where a library is built in unusual modes.
There are a few ways we can do this: we can extend the proto file option syntax, with things like option swift_annotate = "@frozen". Or we can pass flags to the protoc compiler. For some cases it's possible that a tree of structs will all need to be serialized and have these annotations applied, and passing a flag addresses that issue.
I would be interested in adding a "sledgehammer" flag to the protoc compiler to simply whack an attribute everywhere. This doesn't address the full suite of problems long term, but does give us an out for some basic cases now.
Does anyone have thoughts on whether this is a good idea?

Don't both flags imply some contracts around ABI/API stability?  i.e. - we'd have to ensure we never change anything about how we generate these files at any given time, i.e. - we could change the logic around us of the backing Storage.  We couldn't reorder properties to try and get better packing.  So far we've said the runtime support also doesn't support API evolution, so it seems like we'd be signing up for lots of things to do this, no?

Yes, the examples do, though there are many attributes floating around, not all of which do. Regardless, we can always consider whether giving a space to apply attributes implies that we support all arbitrary attributes, or whether they are caveat user.


Merge pull request #6 from DriverCity/driver-app

Driver app

These branches are not used anymore, we are not going to modify them.


Insert .idea/ in file .gitignore

Ignore folder .idea/ when open project Prometheus with
IntelliJ IDEA.
Signed-off-by: Nguyen Hai Truong<EMAIL_ADDRESS>

Thanks for your PR. Our policy is that such things belong in your global gitignore, rather than us ending up either all possible editors listed in these files.


Unknow references to LVGL

Hi.
It's the firts time I use a LVGL, and I try to compile a simple example with the sample gift, but I have a compiler problems.
I use a ESP32, and I put the library inside the "components" folder of  "esp-idf".
I need to put the library on another path?
In file included from ../main/main.c:6:
../esp-idf/components/lv_lib_gif/lv_gif.h:33:5: error: unknown type name 'lv_img_t'
     lv_img_t img;
     ^~~~~~~~
../esp-idf/components/lv_lib_gif/lv_gif.h:35:5: error: unknown type name 'lv_timer_t'
     lv_timer_t * timer;
     ^~~~~~~~~~
../esp-idf/components/lv_lib_gif/lv_gif.h:40:14: error: unknown type name 'lv_obj_class_t'
 extern const lv_obj_class_t lv_gif_class;
              ^~~~~~~~~~~~~~
../main/main.c: In function 'main_task':
../main/main.c:75:13: warning: unused variable 'img' [-Wunused-variable]
  lv_obj_t * img = lv_gif_create_from_data(lv_scr_act(), example_gif_map);

Hi,
Be sure to use the release/v7 branch of this repo if you use LVGL v7.

Hi kisvegabor.
I checkout to "release/v7" and now compile, but I get this error on a Linker.
c:/users/paloky/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(main.c.obj):(.literal.main_task+0x10): undefined reference to lv_gif_create_from_data'`

Maybe you need a components.mk? I don't know ESP in details, but it should be something related to it.


”Mihai Bravu” is listed in the drop-down menu

Description:
"Mihai Bravu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Mihai Bravu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Mihai Bravu, GIURGIU".


api-kit lacks support for moonbeam

Description
I can't find a moonbeam transaction service URL anywhere. Is there one available? If not, could you please create one?

Safe is not providing services for the Moonbeam chain. The infra is run by the Moonbeam team.
https://transaction.multisig.moonbeam.network/


Make breadcrumb links without href not have hover styles

Breadcrumb items do not necessarily have an href, but they always change color when the user hovers over them. The hover styles give the impression that the breadcrumb item is a clickable link even if this is not the case.
This can be seen in the Redux documentation — neither "Tutorials" nor "Redux Essentials" are links, yet they have hover styles.
This PR uses the :link pseudoselector to fix this.
Edit: Signed the CLA.

Thanks for the feedback. I switched to :any-link and added an example.

breadcrumb items might be simple  instead of  when we don't have a link

True, but I assume you would not want hover styles if the breadcrumb item is a <span>, correct?

  diff --git a/packages/core/dist/css/default/default.css b/packages/core/dist-branch/css/default/default.css
  index 95fc6e3..f258e29 100644
  --- a/packages/core/dist/css/default/default.css
  +++ b/packages/core/dist-branch/css/default/default.css
  @@ -1233,[7](https://github.com/facebookincubator/infima/runs/7197269101?check_suite_focus=true#step:4:7) +1233,25 @@ a {
     transition: color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
   }

  -a:hover {
  +a:link:hover, a:visited:hover {
  +    color: var(--ifm-link-hover-color);
  +    /* autoprefixer: ignore next */
  +    text-decoration: var(--ifm-link-hover-decoration);
  +  }
  +
  +a:-webkit-any-link:hover {
  +    color: var(--ifm-link-hover-color);
  +    /* autoprefixer: ignore next */
  +    text-decoration: var(--ifm-link-hover-decoration);
  +  }
  +
  +a:-moz-any-link:hover {
  +    color: var(--ifm-link-hover-color);
  +    /* autoprefixer: ignore next */
  +    text-decoration: var(--ifm-link-hover-decoration);
  +  }
  +
  +a:any-link:hover {
       color: var(--ifm-link-hover-color);
       /* autoprefixer: ignore next */
       text-decoration: var(--ifm-link-hover-decoration);
  @@ -172[8](https://github.com/facebookincubator/infima/runs/7197269101?check_suite_focus=true#step:4:8),7 +1746,22 @@ hr {
       transition-timing-function: var(--ifm-transition-timing-default);
     }

  -.breadcrumbs__link:hover {
  +.breadcrumbs__link:link:hover, .breadcrumbs__link:visited:hover, area.breadcrumbs__link[href]:hover {
  +      background: var(--ifm-breadcrumb-item-background-active);
  +      text-decoration: none;
  +    }
  +
  +.breadcrumbs__link:-webkit-any-link:hover {
  +      background: var(--ifm-breadcrumb-item-background-active);
  +      text-decoration: none;
  +    }
  +
  +.breadcrumbs__link:-moz-any-link:hover {
  +      background: var(--ifm-breadcrumb-item-background-active);
  +      text-decoration: none;
  +    }
  +
  +.breadcrumbs__link:any-link:hover {
         background: var(--ifm-breadcrumb-item-background-active);
         text-decoration: none;
       }

@Josh-Cena Why are those changes necessary? I tested in Chrome, Safari, and Firefox and the vendor prefixes were not necessary.

Ah, no, that's the "post diff comment" workflow's result 😄 It can't be posted on PRs created from forks, so I manually post it so we know how the distributed CSS has changed. See https://github.com/facebookincubator/infima/pull/255#issuecomment-1120486531 for example.

Ooooohhhhh, OK. Do I need to do anything to get that workflow to pass?

No, it's a problem with our workflow plus some permission quirks. It's mostly okay this way.

LGTM thanks 👍


[transaction builder generator] improve CLI

Motivation
Simplify user experience by removing the need for cargo install serde-generate. Instead, one just needs to pass an additional option --with-libra-types path/to/libra.yaml.
This also means the versioning of serde-generate is handled by libra.git alone.
Test Plan
# DEST = some target path
cargo run -p transaction-builder-generator -- --language python3 --module-name stdlib --with-libra-types \
testsuite/generate-format/tests/staged/libra.yaml --serde-package-name pylibra --libra-package-name pylibra \
--target-source-dir "$DEST" language/stdlib/compiled/transaction_scripts/abi

@matbd Can we have a README.md for transaction-builder-generator. It will be really helpful for DDs to have a README which explains the flags, gives an example of how to use the cli for various languages (since not all flags seem to be relevant for all languages) and a maybe a short hello world example for each language similar to the C++ code that you illustrated here : https://github.com/libra/libra/pull/4703

@ankushagarwal Totally. Do you have any particular location in mind or should I just create language/transaction-builder-generator/README.md?

language/transaction-builder-generator/README.md makes perfect sense

language/transaction-builder-generator/README.md makes perfect sense

@ankushagarwal Added a first README file to this PR. Feedback welcome

I probably won't get time till tomorrow to take a look. Feel free to land it in the meanwhile.

@bors-libra r=thefallentree

:pushpin: Commit 1965eb9 has been approved by thefallentree

:hourglass: Testing commit 1965eb93c2f0c1941caed033479b02beda150525 with merge 455a295815b3d9f16c91f16e69c8b217245fef38...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: thefallentree
Pushing 455a295815b3d9f16c91f16e69c8b217245fef38 to master...


Shortened station names

Motivation
In certain places, we need shorter station names. This is a first draft on some of these names.
Changes
added "short" field to stations.json
added short field for red, orange, and blue lines

We probably should update the Station ts type to have an optional short


Add regexp/letter-case/unicorn/escape-case conflict resolution to the doc

Information:

ESLint version: 8.57.0
eslint-plugin-regexp version: 2.6.0

Description
With this rule elabled:
"regexp/letter-case" : "error"

The following code:
const REG = /\u036F/;

is reported as error:

error  '\u036F' is not in lowercase               regexp/letter-case

but should be automatically fixed to:
- const REG = /\u036F/;
+ const REG = /\u036f/;

Same problem with the u flag /\u036F/u
Note that the rule doc specifies that:

🔧 This rule is automatically fixable by the --fix CLI option.

Ok I find out that there is a conflict between the regexp/letter-case default options: https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html#options
{
  "regexp/letter-case": ["error", {
    "unicodeEscape": "lowercase"
  }]
}

And the recommended unicorn/escape-case rule: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/escape-case.md

Enforces defining escape sequence values with uppercase characters rather than lowercase ones. This promotes readability by making the escaped value more distinguishable from the identifier.

As an example let's see how core-js is doing: https://github.com/zloirock/core-js/blob/f1303f38bd80474f950cadb3e802db1c2618a2c5/tests/eslint/eslint.config.js#L705-L707C21
  // require escape sequences to use uppercase values
  'unicorn/escape-case': ERROR,

  'regexp/letter-case': [ERROR, {
    caseInsensitive: 'lowercase',
    unicodeEscape: 'uppercase',
  }],

Maybe we could explain that conflict in the doc? Because eslint-plugin-unicorn is super widely used.

I welcome pull requests to add notes.


Detect NuGet publishing in appveyor.yml and suggest modifications for Source Link

When using AppVeyor, some additional steps need to be taken in order to upload .snupkg to NuGet.
I suggest the logic should be as follows:

[ ] Detect an appveyor.yml file in the repo's root folder, which controls some or all of the CI configuration
[ ] Parse the file using a YAML parser
[ ] If under the build section, publish_nuget: true, and there is no publish_nuget_symbols,

[ ] recommend the following addition to the build section:
publish_nuget_symbols: true
use_snupkg_format: true

as described in the documentation.

[ ] If under the deploy section, there are one or more sections with the provider key of NuGet:

[ ] is there an artifact regex?

[ ] if yes, does it exclude .snupkg (see here for an example of someone who had this issue)

If you decide that the generated PR should include this, I suggest the changes which are made to appveyor.yml be in a separate commit.
Alternatively, you could just detect the appveyor.yml file, and provide a description like the above of the necessary steps, together with accompanying links.

Very cool, thank you for detailed steps


Update 01-rest.md

Adding more examples from the https://github.com/prisma/prisma-examples repo to the table listing all examples.

This doc now lists, in the table at the bottom, all of the examples for REST, both Typescript and JavaScript. I am not sure if it is right to mix the "backend only" API examples with the Fullstack, application examples... thoughts? The topic is about Rest APIs...
Each example is not yet linked... if we decide this is how we want to document each example, I can add links later. :-)


A small typo in README

There is a small typo in README.md:

this will change the class to 'production' only when de 'dist' build is executed

thanks for your contribution!


Button more missing in first time running application

Thank's your pod is very help me to make first application. But in xcode 8.3.3, ios 10.3, running in simulator Iphone SE found bug. Button more missing in first time application running but if click in area more can see all text. after click less, in second it's display more appear. Hope this bug can clear in next push.
Success!

Hi,
Same issue, is there a workaround?
Thanks

@mariokovacevic i use this code and this issue is done.
let readMoreTextAttributes:[String: Any] = [
NSForegroundColorAttributeName: view.tintColor,
NSFontAttributeName: UIFont.boldSystemFont(ofSize: 15)
]
hope help you.

you probably have a mismatch between font or frame width used when view is created and a final font


Unreal engine stops running after click play button. [holodeck-engine]

Describe the bug
A clear and concise description of what the bug is.
Unreal engine stops running after click play button.
No response and no clicks.
To Reproduce
Please provide sample code to reproduce the bug.

Set up holodeck-engine followed by README.md.
git lfs pull at holodeck-engine directory.
Open Holodeck.uproject.
Play.
Then the editor stops.

Expected behavior
A clear and concise description of what you expected to happen.
I expect editor to load level and run just normally.
I guessed some python module could stop the editor,
so tried to play editor with other map(empty level),
but it still stops.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Information:

OS: [e.g. iOS]
Version [e.g. 22]
Holodeck Version
World/Scenario version

UE4 4.22
Additional context
Add any other context about the problem here.

The editor locks up because it is waiting to communicate with a python client.
See here, particularly the section Main Synchronization Semaphores
We have more documentation on how to use the editor and attach a process to it forthcoming, check Onboarding.
This is assuming that you want to develop the engine. If you just want to use holodeck, you just need to pip install it.
Related to #18 and #223.

Thank you for the answer.
I saw the link you gave to me, but I could not find the concrete way to attach an instance to running editor. There is no link for it.


Option to merge .pot files

Is there any way to merge or specify several .pot files before extracting them to .po files?
This would be really handy when extracting from several sources, or when we need to add additional custom keys (for example to translate dynamic text coming from an external source) which just get removed from the .pot and .po files otherwise when running the extract command.
I believe the original xgettext program from GNU gettext utilities (https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html) allows to specify several input files and concatenate them into one as suggested in the answers here: https://stackoverflow.com/questions/4052736/how-can-i-merge-2-pot-files-translation-files
Another option could be using the merge option and/or dgettext domains as suggested in this elixir implementation https://stackoverflow.com/questions/37411810/add-gettext-translation-keys-manually (which is basically what I was trying to do)

@Ninowis
I do not plan to personally implement this. I think specialized use-cases like this can be handled in userland, but you are free to open a PR.
We had a similar case in one of our projects. This is not a guide, just an example of how somehting like this could be handled.
The way we dealt with it is by having two .pot separate .pot files (each .pot has their own translated .po files) and then merging the compiled json files.
All you need for this is to have separate gettext configs that point to the different paths of your .pots and then call vue-gettext-compile for each config/.pot:
vue-gettext-compile --config=gettext.backend.config.js
And then deep-merge the jsons:
import backendTranslations from "./backend/translations.json";
import frontendTranslations from "./frontend/translations.json";
import { merge } from "lodash";
import { createGettext, normalizeTranslations } from "vue3-gettext";

const translations = merge(
  normalizeTranslations(backendTranslations),
  normalizeTranslations(frontendTranslations)
);

createGettext({
  translations,
  ...
});

normalizeTranslations is undocumented, it has not been battle-tested.


Pending open

Introduces Open files in pending state config.
Please refer to the description of the config for why I want to introduce this:
https://github.com/JunoLab/atom-julia-client/pull/579/files#diff-5655a196ecf76f9731b64509e8b7676aR141-147
The corresponding PR on atom-ink is: https://github.com/JunoLab/atom-ink/pull/208

I think we should just reuse atom.config.get('core.allowPendingPaneItems') instead of introducing our own config option.

Sounds good. Is it okay that it would change the file-opening behaviour implicitly from the an user's veiw point ?

IMHO we have too many options as is.

Totally agree. This is just a talk of appearance, but how about collapsing all the top level config like this ?

This would make config appear more structured and may navigate an user better.

Sounds good. But is it okay that it would change the file-opening behaviour implicitly from the an user's veiw point ?

Should be ok, imho, especially since the core setting doesn't precisesly specify when it is used.

This is just a talk of appearance, but how about collapsing all the top level config like this ?

Sure, sounds good.

Addressed in the commits above 👍

@pfitzseb Please merge this first before #573


[stable/prometheus-operator] Lock kube-state-metrics to newest version

Signed-off-by: Bart Verwilst<EMAIL_ADDRESS>What this PR does / why we need it:
New version of kube-state-metrics needed for enabled rbac support. Otherwise PSP-enabled clusters won't install this chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign davidkarlsen

/ok-to-test
/assign

@verwilst have you checked if all dashboards and alerts are compatible with this version?

/lgtm


Making it easier for unexperienced npm users

Hello,
maybe I'm not the only one who is coming from a pure .NET background, is unexperienced with npm and would like to start using it more with one of your templates. My suggestion would be to add a section at the bottom with some npm related notes.
For example:

How to install npm
My npm version is outdated. How do I upgrade it?
How to update packages
How to disable the progress bar (perf)
I get connection errors? How can I set the npm registry to http? (perf)

Thanks for the suggestion! I'll monitor other feedback and we will certainly look into this if it becomes a common request.


refactor(runtime-dom): patch attr should ignore store value

In Vue 2 these attributes are rendered. It's best to keep the behavior consistent. Users can also potentially bind a custom attribute with these names.


Fix tqdm display problem in windows

This is a compromise solution because this problem is caused by windows its own.
You can see this problem in here.
The problem picture:

Hello？

Anybody here？

Merged


UNet Model

I noticed that you are using the UNet of Stable Diffusion. It seems that you remove the attention in the original model. Could I know the reason behind this? In addition, did you compare the model size of yours and the MAGViT-v2?

Hi, Thanks for your interest. We believe it can be attributed to two factors. 1. We follow the design of MAGVIT-v2. 2. The replacement of the attention allows us to enlarge the same size of the tokenizer with MAGVIT-v2.


Install error for OpenAPI package

When I run the installation command, the following error appears in the terminal:

I tried to install manually using pnpm, and it still does not work.
Actually when I do that, the provider is not recognized in the adonisrc.ts file, so I looked at the node_modules and there is no build folder in it.

Hey, it seems that there was an issue with the changeset action, this has been fixed!


Flight Import Causes Exception (Failed Airport Lookup)

When importing flights via csv, if the airport code used in the file is wrong or it is not found by lookup below exception is returned
[ Side Issue: VA Central database needs to be updated, it misses some latest changes and new airports ]
[2022-02-23 19:48:16] prod.ERROR: VaCentral\Exceptions\HttpException: Client error: `GET https://api.vacentral.net/api/airports/UAIT` resulted in a `404 Not Found` response:
{"error":{"message":"Airport not found"}}
 in /vendor/nabeel/vacentral/src/VaCentral.php:180

[2022-02-23 19:48:16] prod.ERROR: App\Services\ImportExport\FlightImporter::processAirport(): Return value must be of type App\Models\Airport, null returned {"userId":3,"exception":"[object] (TypeError(code: 0): App\\Services\\ImportExport\\FlightImporter::processAirport(): Return value must be of type App\\Models\\Airport, null returned at /app/Services/ImportExport/FlightImporter.php:203)

Version
Version 7.0.0-dev+220222.219a7c
To Reproduce

Export your current flights
Edit the csv, make a mistake in one of the airports
Or use a newly opened airport code (like UAIT or ZMCK)
Start the import with that file
Check your error logs to see error details

Expected behavior
If the airport is not found or the code is really wrong, import should continue without errors and inform the admin about skipped lines with something like Imported 127 flights, skipped 3 due to errors

Hi,
This is not the place for your problem,  techically this topic is for a
problem within phpvms (completely different)
What you describe is a vmsAcars scanning problem and it is already known.
For two weeks or so regular alpha versions going out to test it before
release.
Safe flights
Sent from mobile device / Mobil cihaz ile gönderildi
13 Haz 2022 Pzt 18:49 tarihinde Cristiano Casella @.***>
şunu yazdı:

Hello everyone, just to let you know that we are experiencing this problem
really often in our VA.
From some tests that I performed, comparing the same version of Flight
Simulator, without any 3rd parties addition, the number of airports
reported is quite different, and sometimes really "unreal".
The only workaround that is always working that I found is to use MakeRwys
from FSUIPC to generate the files containing all the airport data and let
the ACARS reading that file.
Being this setup not supported for MSFS2020 I have to select MSFSX first,
when the ACARS return the error at that time I select MSFS2020, the airport
list is not refreshed and it works.
A short fix could be also to allow the usage of MakeRwys for any simulator
so that in case of failure we can use this path.
Let me know if I can help with additional information
—
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1414#issuecomment-1154089761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMKMTAORY6KQSOPGX7TVO5KANANCNFSM5PFNE6VA
.
You are receiving this because you authored the thread.Message ID:
@.***>

my apologies for the noise, thanks for the feedback

#1487


Ctrl+A can't select all entities in the new table explorer

Storage Explorer Version: 1.29.0-dev
Build Number: 20230224.3
Branch: feature/table-explorer-react
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.28.0)
Steps to Reproduce

Expand one storage account -> Tables.
Right click one table -> Click '[2] Open'.
Add two entities -> Select one entity.
Press 'Ctrl + A'.
Check whether the two entities are selected.

Expected Experience
The two entities are selected.
Actual Experience
The selected entity and strings in the explorer are selected.

Additional Context
N/A

Verified this issue on the build 20230330.2. Fixed.


feat(core): support inbound and outbound Via header

Summary

According to RFC7230 and RFC9110 gateway MUST append protocol, version and host (or pseudonym) information when forwarding HTTP messages from clients to upstreams. Currently, Kong just ignores this part.
And optionally append the information when forwarding messages in the reverse direction, depending on the headers configuration. Currently, Kong blindly overrides the response Via header.
This PR will append inbound info like HTTP/1.1 kong/3.8.0, and outbound info like 1.1 kong/3.8.0 (scheme is optional).
This is scheduled for 3.8.0.
Checklist

[x] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #FTI-5807

Will add tests to spec/02-integration/05-proxy/03-upstream_headers_spec.lua

Latest RFC: https://datatracker.ietf.org/doc/html/rfc9110#name-via

Please hold this PR. We are waiting for customer response.

This is for 3.8.0. Please do not merge it until 3.7.0 GA.

This is for 3.8.0 as Paypal (customer candidate) may have further requirements.

Just did a rebase and waiting for CI.

A couple of comments:

I would love to see tests added where we have 2.0 as protocol version in incoming (http2/grpc) and 2.0 on upstream when doing grpc_pass.
this has long been how Kong does it, so it has kinda become a "feature", thus fixing it according to RFC may cause breakage in customers systems, e.g. those that expect these headers to only ever have single value. so just as a not, not sure if that is enough to post-pone this to 4.0 (perhaps product can answer).

@outsinre also things like these:
https://github.com/Kong/kong/blob/master/kong/plugins/aws-lambda/handler.lua#L240-L242

The tests errors if fixed already locally. Would push soon.
I am currently checking compatibility with gRPC.


Add Dice Seed Words templates

Some of the text in the README depends on #175 or similar being merged.

@brandonblack can you include the pip3 install steps or dependencies to use chisq.py? I haven't tried it yet, but looking at the imports on the top of the script I think it has a few outside dependencies.

@newtonick just scipy -- I tried to keep it as close to simple python as reasonably practicable. Removed one unused import, and added a note on how to run it.

My statistics are wrong, standby.

A couple minor notes:

I wouldn't call the PDFs "templates" as that implies something to be filled out. They're really more like look-up tables, reference tables, etc.

The PDFs need some UI help. Once I stared at them a while I understood how they were meant to be used, but I'd find the process pretty mentally taxing. Not that it's difficult, exactly, it's more that for something really important you want it to be dead-simple to use so that it ideally adds zero mental load. Mental load == anxiety.

Maybe if more room was used to make the guide numbers more clear? I think it's fine if the PDFs end up taking up more pages. Like maybe prefix with the roll/step number:
        R2:1   R2:2   R2:3  . . .
R1:1
R1:2
R1:3
 .
 .
 .

Or labeling the roll steps with ABCD?
        B:1   B:2   B:3  . . .
A:1
A:2
A:3
 .
 .
 .

(I realize there may be complications when dealing with the different die possibilities)
Or in the worst case, just resort to an inefficient list of roll sequences:
4-1-5: foo
4-1-6: bar
4-2-1: meh
4-2-2: glorp

However they end up listed, I'd bias in favor of mental efficiency vs space/layout efficiency.

True. I think there's probably no ideal UI solution, just a set of tough tradeoffs to try to balance just right.
I'm also starting to think that this is best presented in a separate repo/website/blog post since it's not directly integrated into anything on the SeedSigner side. The only update here would be in a README that points to your published resource as a better way to pick words (I will never cut out 2048 pieces of paper!).
If we eventually implemented your lookup tables within the SeedSigner UI, then obv that would be a different story (though it would probably make more sense to just implement the generalized dice roller UI we talked about at the conference: # of dice, min/max values of each one, we calc number of roll sets required).

Yeah, I wasn't sure if you'd want these in the SeedSigner repo. I'll set something up.


Card.throwIn() Error

Hello,
I try to throwIn() a Card, but I get the following Error-Message:
Error in v-on handler: "TypeError: Cannot read property 'childNodes' of null"
I want a return Button like on Tinder, so on swipe left or right, I safe the current Card and when i click on the return button I call this.prevCard.throwIn(0,0)
When I console.log(this.prevCard) the card is not empty, so it's a real card object..

@mathishuettl Did you solved this problem? I have same error.


[Feature] Add Pagination to the Resources Cards

Description

Pagination could look better on the resources' cards.
We could show no more than 9 cards on the page and load the others when user wants to switch it.
Pagination could make it more professional and user friendly.

Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@siddarthdayala Sounds cool, you may start working on this. Assigning to you!

Sure !

Hey @rupali-codes could you review this design?
I'll make a PR once you review this

@chris-nowicki and I are going to work on this


Team Page data addition

We would like to data for the new batch into the team page.

There are some issues with the cards and the position of images within the cards, should I address them too.

Can you please elaborate what the issue is?

The image is not properly enclosed within the card body. They protrude out of the card body. Similar case for the footer. I can try and modify the card element so as to make them fit properly.

Ok go ahead. Add description of what you have done. It will help me understand. Thanks!

Where can I get the updated data and images for the team members.
Also

This is how the page now looks. I need the final design so as to fix the colours


Problems with tests/subsys/pm and native_sim

Describe the bug
I did a clean checkout of Zephyr on a Debian rodete 20240525.01.00RL system using the Zephyr getting started guide. I have no local changes to zephyr at all.
But there are some tests under tests/subsys/pm that work fine with native_posix, but fail to build with native_sim.
To Reproduce
host toolchain fails on native_sim, passes on native_posix
(.venv) jbettis@jbettis13:~/zephyrproject/zephyr$ ZEPHYR_TOOLCHAIN_VARIANT=host west twister -p native_sim -p native_posix -s tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime
Renaming output directory to /home/jbettis/zephyrproject/zephyr/twister-out.8
INFO    - Using Ninja..
INFO    - Zephyr version: v3.6.0-6330-gfe05606630f8
INFO    - Using 'host' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/testplan.json
INFO    - JOBS: 8
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
ERROR   - native_sim                tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime  ERROR : Build failure
ERROR   - see: /home/jbettis/zephyrproject/zephyr/twister-out/native_sim/tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime/build.log
INFO    - Total complete:    2/   2  100%  skipped:    0, failed:    0, error:    1
INFO    - 1 test scenarios (2 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO    - 1 of 2 test configurations passed (50.00%), 0 failed, 1 errored, 0 skipped with 0 warnings in 8.93 seconds
INFO    - In total 2 test cases were executed, 0 skipped on 2 out of total 4 platforms (50.00%)
INFO    - 1 test configurations executed on platforms, 1 test configurations were only built.
INFO    - Saving reports...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/twister.json
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister.xml...
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister_report.xml...
INFO    - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO    - The following issues were found (showing the top 10 items):
INFO    - 1) tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime on native_sim error (Build failure)
INFO    -
INFO    - To rerun the tests, call twister using the following commandline:
INFO    - west twister -p <PLATFORM> -s <TEST ID>, for example:
INFO    -
INFO    - west twister -p native_sim -s tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime
INFO    - or with west:
INFO    - west build -p -b native_sim tests/subsys/pm/device_driver_init -T pm.device_driver_init.pm_device_runtime
INFO    - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO    - Run completed

llvm toolchain passes on both
(.venv) jbettis@jbettis13:~/zephyrproject/zephyr$ ZEPHYR_TOOLCHAIN_VARIANT=llvm west twister -p native_sim -p native_posix -s tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime
Renaming output directory to /home/jbettis/zephyrproject/zephyr/twister-out.9
INFO    - Using Ninja..
INFO    - Zephyr version: v3.6.0-6330-gfe05606630f8
INFO    - Using 'llvm' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/testplan.json
INFO    - JOBS: 8
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
INFO    - Total complete:    2/   2  100%  skipped:    0, failed:    0, error:    0
INFO    - 1 test scenarios (2 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO    - 2 of 2 test configurations passed (100.00%), 0 failed, 0 errored, 0 skipped with 0 warnings in 10.29 seconds
INFO    - In total 2 test cases were executed, 0 skipped on 2 out of total 4 platforms (50.00%)
INFO    - 2 test configurations executed on platforms, 0 test configurations were only built.
INFO    - Saving reports...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/twister.json
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister.xml...
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister_report.xml...
INFO    - Run completed

zephyr toolchain fails on native_sim
(.venv) jbettis@jbettis13:~/zephyrproject/zephyr$ ZEPHYR_TOOLCHAIN_VARIANT=zephyr west twister -p native_sim -p native_posix -s tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime
Renaming output directory to /home/jbettis/zephyrproject/zephyr/twister-out.10
INFO    - Using Ninja..
INFO    - Zephyr version: v3.6.0-6330-gfe05606630f8
INFO    - Using 'zephyr' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/testplan.json
INFO    - JOBS: 8
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
ERROR   - native_sim                tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime  ERROR : Build failure
ERROR   - see: /home/jbettis/zephyrproject/zephyr/twister-out/native_sim/tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime/build.log
INFO    - Total complete:    2/   2  100%  skipped:    0, failed:    0, error:    1
INFO    - 1 test scenarios (2 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO    - 1 of 2 test configurations passed (50.00%), 0 failed, 1 errored, 0 skipped with 0 warnings in 8.91 seconds
INFO    - In total 2 test cases were executed, 0 skipped on 2 out of total 4 platforms (50.00%)
INFO    - 1 test configurations executed on platforms, 1 test configurations were only built.
INFO    - Saving reports...
INFO    - Writing JSON report /home/jbettis/zephyrproject/zephyr/twister-out/twister.json
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister.xml...
INFO    - Writing xunit report /home/jbettis/zephyrproject/zephyr/twister-out/twister_report.xml...
INFO    - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO    - The following issues were found (showing the top 10 items):
INFO    - 1) tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime on native_sim error (Build failure)
INFO    -
INFO    - To rerun the tests, call twister using the following commandline:
INFO    - west twister -p <PLATFORM> -s <TEST ID>, for example:
INFO    -
INFO    - west twister -p native_sim -s tests/subsys/pm/device_driver_init/pm.device_driver_init.pm_device_runtime
INFO    - or with west:
INFO    - west build -p -b native_sim tests/subsys/pm/device_driver_init -T pm.device_driver_init.pm_device_runtime
INFO    - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO    - Run completed

zephyr_build.log
host_build.log

Seems related to DEVICE_DEPS:
$ west build -p -b native_sim samples/hello_world
-- Zephyr version: 3.6.99 (/home/fabiobaltieri/zephyrproject/zephyr), build: v3.6.0-6330-gfe05606630f8
[82/84] Linking C executable zephyr/zephyr.elf
Generating files from /home/fabiobaltieri/zephyrproject/zephyr/build/zephyr/zephyr.elf for board: native_sim
[84/84] Running utility command for native_runner_executable

$ west build -p -b native_sim samples/hello_world/ -DCONFIG_DEVICE_DEPS=y
...
-- Zephyr version: 3.6.99 (/home/fabiobaltieri/zephyrproject/zephyr), build: v3.6.0-6330-gfe05606630f8
[83/89] Linking C executable zephyr/zephyr_pre0.elf
/usr/bin/ld.bfd: warning: zephyr/zephyr_pre0.elf has a LOAD segment with RWX permissions
[87/89] Linking C executable zephyr/zephyr.elf
Generating files from /home/fabiobaltieri/zephyrproject/zephyr/build/zephyr/zephyr.elf for board: native_sim
[89/89] Running utility command for native_runner_executable

it's enabled indirectly in those samples

As a note w gcc 12.3.0 it builds fine.
This is ld version dependent (the report is made with gcc 13.2.0)

Summary: the linker is just warning us about a potentially exploitable situation in the elf (executable code being in the same segment as write data). This in itself is not much of a real problem for the native targets as they are test targets you build with whatever you want and run on your own.
But the warning is the issue, as native builds would produce it at "random" resulting in twister failures in whichever sample/test.
The issue is not due to one particular sample or another, but due to the luck of how the linker splits the elf in segments and what collection ends up in one or another.
One option is just to disable the warning (--no-warn-rwx-segments if the linker supports it).
But given that a simple enough solution seems to be to change where we place things in the linker script for the native (posix arch) targets, I just sent a PR with that change instead.


Client Disconnect option

case "close":
Methods.ClientExit();
Environment.Exit(0); -> Process Exit

Execute payload from memory
When you exit the program, the process is terminated
If normal process is terminated, anti  virus detection or The target process is suspect

This is a suggestion from now on
System Control -> Client Control -> TCP Connect ALL Close Menu Function
I want to initialize only the network disconnect, mutex termination, and object in memory.
The process must not be terminated (since it was executed from memory)
No need to kill the process if running in memory
This leads to better persistence and concealment

i think you are using something like runpe or other way to inject into other process.
the inject behavior is very easy to be detected.
even than process exit
why not try other way but not inject ？
---Original---
From: @.>
Date: Sat, Apr 17, 2021 16:23 PM
To: @.>;
Cc: @.***>;
Subject: [qwqdanchun/DcRat] Client Disconnect option (#14)
case "close":
Methods.ClientExit();
Environment.Exit(0); -> Process Exit
Execute payload from memory
When you exit the program, the process is terminated
If normal process is terminated, anti  virus detection or The target process is suspect
This is a suggestion from now on
System Control -> Client Control -> TCP ALL Close Menu Function
I want to initialize only the network disconnect, mutex termination, and object in memory.
The process must not be terminated (since it was executed from memory)
No need to kill the process if running in memory
This leads to better persistence and concealment
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

When the injected web browser is terminated, an error in the process
By injecting into a normal web browser(chrome,ie,etc)
If you use runpe, even if you close normal chrome, the runpe chrome is still there.
kill the process yes but
I only want to disconnect the client server network and remove the mutex


Fix lowest deps

I don't understand this error: https://travis-ci.org/hautelook/AliceBundle/jobs/96001329#L232
Can't reproduce it on local.

Oh, I can reproduce it after deleting the whole vendor folder.
But I still don't understand why. :-)

er, can't really too actually. Is it coming from us or from composer?

Don't know, but we haven't this error on 1.x: https://travis-ci.org/hautelook/AliceBundle/jobs/96002182#L205

I don't have the issue if I remove the conflicts key. Will open an issue.

See https://github.com/composer/composer/issues/4687.

No error to report anymore on this side so closing it.

I don't think this PR should be closed. We have lower dependencies to fix anyway, like doctrine/phpcr-odm.

Fair


[Crash] StackOverflowError Crash

Hello!
I briefly spoke to Coded about an issue the other day in regards to this crash report.

Report: https://gist.github.com/artdude543/154b84c2ccf859970c9ff75dffe52c78

As the saplings provided from this mod are listed. (When removing the other mod listing) another crash occurred with the same crash and only listing your saplings. Today another issue was filed with SevTech Ages with another OverFlow error with your doors this time around.

Our Linked Isssue: https://github.com/Darkosto/SevTech-Ages/issues/2162
Report: https://pastebin.com/sDHtiDvz

Just wondering what the issue here, as I've had 4 reports now from people with the error and only the blocks listed from this mod appearing in the reports. It could be a coincidence that your stuff is showing here. But as one of the makers for SevTech Ages, I need to find the cause of this issue as losing servers worlds is not ideal and starting again in this pack is not amazing xD
Any help or insight into the issue would be amazing to let the world owners know how to handle this and to possibly revive their world.
Versioning Information:

Traverse: 1.12.2-1.3.1 & 1.12.2-1.5.2-54
Forge: <IP_ADDRESS>51 & <IP_ADDRESS>75

(Two versions as some are from the 3.0.6 version of the pack and the new beta version)

This doesn't make any sense to me at all, sounds like someone made a shitty coremod that's modifying something it shouldn't.


My Server seems very slow in serving tiles,pls explain how to add tilequeue for buffering

Hi ,
Thank a lot for providing such an awesome opensource ... you guys are awesome ..
I configured everything as per tutorial,but my server seems very slow in delivering tiles.Pls help us to make it smooth..

Can somebody pls help me to resolve this issue,
when i run server (2TB SSD + m4.Large) , response is very slow and its stuck normally ,also am getting this error too ..
Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 209, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 200, in execute
write(data)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 181, in write
self.wfile.write(data)
IOError: [Errno 32] Broken pipe

Some tiles are expected to be slow, and it tends to be zoom level and area dependent. As you suggested in the issue title, you can look into pre-generating tiles to help, which is what using tilequeue will allow you to do. You can also cache tiles for extended periods of time. To get started with tilequeue, I'd suggest going through the README and the sample configuration. Generally you want to first "seed" tiles to add them to a work queue, and then "process" them which pulls them from the queue and generates tiles.
If that's the whole stack trace, then I expect it's ok. It looks like it's just that clients timed out waiting for a response, and when the server tried to send the response the socket was closed.

hi @rmarianski , thankyou for reply.
actually i have gone through README and conf.yaml.sample a lot but coulnd't find any info to properly run tilequeue and cache to manage this issues.Saw buffer {} but no more samples to get through.It will be greatfull if you can give me a sample of tilequeue running command.
also redis is installed on server and uncommented redis option in config, but doesnt seem its connecting to redis for caching..
thank you in advance

I'm guessing the confusion is coming from the fact that tilequeue doesn't generate artifacts that tileserver can directly consume. In our production environment, tileserver was only meant to handle requests for tiles that weren't pre-generated. In other words, if the tile was generated, it wouldn't even see the request.
There was a separate component that was responsible for satisfying those requests, tapalcatl. tilequeue would write tiles to s3, and then tapalcatl would read from that s3 location to try and satisfy those requests. We also had a cache sitting in front of everything that would manage the communication, which was to try tapalcatl, and if it got a 404 then it would send the request to tileserver.
The easiest bit to set up would be the redis cache for tileserver. The code that sets that up is here: https://github.com/tilezen/tileserver/blob/a8be93ea911ef5b6a9511e482af687971d18e6c6/tileserver/init.py#L367-L387. I'd suggest ensuring the redis path gets triggered on startup, and if not figuring out why that is. I'd expect this config to work:
cache:
  type: redis
  redis:
    url: redis://localhost:6379
    options:
      # prefix added onto saved keys for namespace purposes
      key_prefix: tiles
      # time in seconds to keep key in cache
      expires: 900

By the way, in case you happen to be interested and haven't seen this: https://mapzen.com/blog/long-term-support-mapzen-maps/

Hey ... very much thankyou for the info ... i was looking for the exact info..


Add plugin expand-aliases

I've created a plugin expand-aliases, which does what it says :) More information in the README.
Since I'm not sure how should I do a pull request for a plugin, then I've made a separate repo here:
https://github.com/jarmo/expand-aliases-oh-my-zsh

Yes Please!

Closing as per https://github.com/robbyrussell/oh-my-zsh/pull/5597#issuecomment-257819411.


View syntax errors in tests

Is it possible to view errors from test in the console?
I just spend an hour chasing the problem and found out that I had a syntax error in my test and cucumber was failing silently (don't mind the test, it makes no sense):
// Steps definition file
    this.Given(/"([^"]*)" has logged in/, function(email, callback) {

      // 1. create a user
      var user = {
        email: email,
        password: '123456'
      };

      var login = function(done) {
        Meteor.loginWithPassword(userData.email, userData.password, function(err, res) { //!!! Here I was using userData and not user
          done();
        })
      };

      this.client
      .executeAsync(login, function (err, res) {
        //assert.equal(res.value, 'yes');
        callback();
      });
    });

are you tailing the cucumber.log?

Yes I am. For some reason the syntax error is not appearing :/

I guess this relates to this ... not even "console.log" is displayed here.
Would be very useful.

I correct my statement. Syntax errors are displayed in the console, but only those that are detected during compilation. Once a syntax error or null reference error happens during (e.g. async) execution, I am not able to see this. But I will close this issue.

 Those console logs happen in the browser, since you're executing async.
Could be a cool idea to capture console outputs from the browser back to the main process I guess as output.. hmmm!


Scripts about generating the keypoint, densepose and foreground segmentation of the human

Hi, thanks for your great job!
Could you share the scripts about generating the keypoint, densepose and foreground segmentation of the human?
It could be helpful if you share more guidance about details and data formats.

Thanks for your attention to our work.
The generation of keypoints, densepose needs the package of Openpose and Densepose. They require a lot of dependencies and their installation may vary for different systems.  You may use the docker to install them and it would avoid plenty of dependency issues.
I perform foreground segmentation by the commercial system in Huya. I am not authorized to release it.
The data format of the keypoints follows the format of Openpose. The "image_list.txt" contains only the filename without suffix, i.e. do not include "jpg" or "png" in the image_list.txt. You may find details for data processing in line 86-95 in DataSet.py.

Thanks for your guidance!
Another request is that, could you share the pre-trained deeplabv3 model for segmentation? Because the download link in Human Segmentation Repo is broken and their authors don't reply.  My email is<EMAIL_ADDRESS>Thanks!


msgid >= 77 characters produces incorrect output

var gettextParser = require('gettext-parser');
var data = {
    "translations": {
        "": {
            "dfkjdfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljdsfff": {
                "msgid": "dfkjdfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljdsfff",
                "msgstr": []
            }
        }
    }
};

console.log(gettextParser.po.compile(data).toString());

Results in
msgid ""
msgstr "Content-Type: text/plain;\n"

msgid ""
"dfkjdfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljdsdf"
"kjdfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljdsdfkj"
"dfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljds"
msgstr ""

The issue will not occure with 76 characters.

Why do you think this is incorrect? AFAIK this is the expected behavior. Consequent string blocks are automatically merged.

I can't confirm this either. The output sure does look fishy as the msgid in the code and in the output do not match but when I run the sample code myself I get this output which is correct
msgid ""
msgstr "Content-Type: text/plain;\n"

msgid ""
"dfkjdfkljdfkljdskljdfklsjsdfkljdfsklsdjfklsdfjkldsfjdsflkjsdfkldsfjdskljdsff"
"f"
msgstr ""

I know that the string is folded kind of strangely but this is because the string is one long word. If it would contain spaces or punctuation marks, the folding would look lot nicer.

Ah, well I'm sorry, I didn't realize that msgid could span multiple lines like that (looks kind of odd).  Sorry for the false alarm!