[Bug report] Vite Error: Could not load @vuepress/plugin-palette/style

Bug report
Description

Running build with local theme that extends default-theme causes vite to throw error:
ENOENT: no such file or directory, open '@vuepress/plugin-palette/style

Console output:
><EMAIL_ADDRESS>docs:build
> vuepress build src --debug

info Initializing VuePress and preparing data...
⠋ Compiling with vitevite v2.7.13 building for production...
vite v2.7.13 building SSR bundle for production...
✓ 126 modules transformed.
[vite:vue] Could not load @vuepress/plugin-palette/style?vue&type=style&index=1&src=89f7fb6e&lang.scss (imported by src/.vuepress/theme/layouts/Layout.vue): ENOENT: no such file or directory, open '@vuepress/plugin-palette/style'
✖ Compiling with vite - failed
Error: Could not load @vuepress/plugin-palette/style?vue&type=style&index=1&src=89f7fb6e&lang.scss (imported by src/.vuepress/theme/layouts/Layout.vue): ENOENT: no such file or directory, open '@vuepress/plugin-palette/style'
    at Object.openSync (fs.js:497:3)
    at Object.readFileSync (fs.js:393:35)
    at Object.load (/Users/P2185561/code/vuepress-starter-kiteds/node_modules/@vitejs/plugin-vue/dist/index.js:4811:37)
    at /Users/P2185561/code/vuepress-starter-kiteds/node_modules/rollup/dist/shared/rollup.js:22815:37
...

Steps to reproduce

Create a local theme that extends default-theme: https://v2.vuepress.vuejs.org/reference/default-theme/extending.html#extending
Add palette support to local theme Layout.vue: https://v2.vuepress.vuejs.org/reference/plugin/palette.html#palette

// .vuepress/theme/layouts/Layout.vue

<template>
	<ParentLayout>
		<template #page-bottom>

This is my custom page footer

		</template>
	</ParentLayout>
</template>

Reproduction link / repo: n/a

Expected behavior

Project builds with no errors.

Environment info

Browser: not related
Output of vuepress info:

  System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 339.95 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
    Yarn: Not Found
    npm: 7.24.1 - ~/.nvm/versions/node/v14.18.0/bin/npm
  Utilities:
    Git: 2.31.0 - /usr/local/bin/git
  Browsers:
    Chrome: 97.0.4692.99
    Edge: 97.0.1072.76
    Firefox: 96.0.2
    Safari: 15.3
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.35
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.35
    @vuepress/client:  2.0.0-beta.35
    @vuepress/core:  2.0.0-beta.35
    @vuepress/markdown:  2.0.0-beta.35
    @vuepress/plugin-active-header-links:  2.0.0-beta.35
    @vuepress/plugin-back-to-top:  2.0.0-beta.35
    @vuepress/plugin-container:  2.0.0-beta.35
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.35
    @vuepress/plugin-git:  2.0.0-beta.35
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.35
    @vuepress/plugin-nprogress:  2.0.0-beta.35
    @vuepress/plugin-palette:  2.0.0-beta.35
    @vuepress/plugin-prismjs:  2.0.0-beta.35
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.35
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.35
    @vuepress/theme-default:  2.0.0-beta.35
    @vuepress/utils:  2.0.0-beta.35
    vue:  3.2.29
    vue-loader: Not Found
    vue-router:  4.0.12
    vuepress: ^2.0.0-beta.35 => 2.0.0-beta.35
    vuepress-vite:  2.0.0-beta.35
    vuepress-webpack: Not Found

The staleness bot is a bit aggressive I think...

Vite is a VERY SIMPLE tool, and as it's tarting great speeed, so it's very agressive
e.g: you are not allowed to use process.env. in strings.
Since Vite plugin vue doesn't tell you that alias work in style block, so probably it do not support it. And I am assuming you know that vuepress/plugin-palette/style is a alia.

Here is some recommandation:

Switch to bundler-webpack to see if the issue still exists, if not, try posting issue in Vite plugin Vue.
If so, welcome to feedback and we are happy to have another check.

Vite is a VERY SIMPLE tool, and as it's tarting great speeed, so it's very agressive
e.g: you are not allowed to use process.env. in strings.
Since Vite plugin vue doesn't tell you that alisas work in style block, so probably it do not support it. And I am assuming you know that vuepress/plugin-palette/style is a alisa.

Here is some recommandation:

Switch to bundler-webpack to see if the issue still exists, if not, try posting issue in Vite plugin Vue.
If so, welcome to feedback and we are happy to have another check.

@Mister-Hope -- I followed the documentation for @vuepress/plugin-palette here:
https://v2.vuepress.vuejs.org/reference/plugin/palette.html#usage
Why do you think this is an issue with the webpack/vite bundlers, and not the official @vuepress/plugin-palette?

So is webpack working?

So is webpack working?

I tried following the docs to switch to webpack
npm uninstall vuepress
npm install -D vuepress-webpack@next

... but I got a Error: Cannot find module 'vuepress' when I run npm run docs:build
So, I tried this, instead:
npm install -D vuepress@next
npm install -D vuepress-webpack@next

But, the npm run docs:build still was using vite, so I switched the npm script to use the vuepress-webpack package:
  "scripts": {
    "docs:dev": "vuepress-webpack dev src --debug",
    "docs:build": "vuepress-webpack build src --debug",

This gets the project to build with no warnings, so I assume (?) it compiled and the palette plugin is working as the examples.
Summary:

The Choose a Bundler docs don't work for a user who goes through the Getting Started steps first. (seems that npm i -D vuepress-webpack@next needs to install the vuepress module?)
The palette plugin Usage example doesn't work properly with vite (which is the default bundler).

@chris-dura Wierd, the vuepress-webpack package also provide a vuepress binary:
https://github.com/vuepress/vuepress-next/blob/73d297f321750de098c22c8c774dbe934475ddcb/packages/vuepress-webpack/package.json#L23-L26

@chris-dura Wierd, the vuepress-webpack package also provide a vuepress binary:
https://github.com/vuepress/vuepress-next/blob/73d297f321750de098c22c8c774dbe934475ddcb/packages/vuepress-webpack/package.json#L23-L26

I thought so too... I tried a "fresh" npm install, but I'm still getting the same error... 🤷
npm i -D vuepress-webpack@next
rm -rf package-lock.json
rm -rf node_modules/
npm install

npm run docs:build

><EMAIL_ADDRESS>docs:build
> vuepress build src --debug

Error: Cannot find module 'vuepress'
Require stack:
- /Users/P2185561/code/vuepress-starter/src/.vuepress/config.ts
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/Users/P2185561/code/vuepress-starter/src/.vuepress/config.ts:28:34)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.require.extensions..ts (/Users/P2185561/code/vuepress-starter/node_modules/@vuepress/cli/lib/utils/allowTs.js:11:11)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)


Error when loading mods

Upon running draftsman-update after copy-pasting the contents of my factorio mods folder into factorio-mods, I get the error draftsman.error.IncorrectModVersionError: 0.6.18 . Full traceback, verbose run and mod folder list (as generated by ls) in attached files.
mods-content.txt
traceback.txt

It seems that the version of angels-smelting in your mod list is version 0.6.8 when the minimum required version in Nullius itself is 0.6.18. Just for the record, can you confirm that Factorio itself loads properly with these mods? And if it does, can you send me a zip file of all the mods packaged together so I can test the exact files on my machine?

I've tested the Nullius modpack alone by downloading it from the in-game browser (no angels or anything else), and draftsman-update passes with no issues; It downloaded angels-smelting version 0.6.19. I haven't checked any of the prototypes to make sure they're loaded correctly, but the only problem seems to be the version of this mod in your specific case.

Thanks for looking at this. Factorio indeed loads correctly with those mods. My mod folder contained several mods with multiple versions. I removed all the outdated versions (so deleting angelssmelting_0.6.8 and leaving angelssmelting_0.6.19) and that fixed the IncorrectModVersionError.
However, when I ran draftsman-update again, I got a new error, which was lupa._lupa.LuaError: [string "<python>"]:183: bad argument #1 to 'for iterator' (table expected, got nil). Again, full mod list and verbose log/traceback included. Please let me know if you want a .zip of the contents of my factorio-mods folder.
[mods-content.txt](https://github.com/redruin1/factorio
traceback.txt
-draftsman/files/8858216/mods-content.txt)

Attached here is the Python script I used to delete all out-of-date mods, you might find it useful since it solved that issue without having to manually delete zip files.
remove_outdated_mods.txt

My mod folder contained several mods with multiple versions. I removed all the outdated versions (so deleting angelssmelting_0.6.8 and leaving angelssmelting_0.6.19) and that fixed the IncorrectModVersionError.

I feel a more elegant solution to this problem would be to automatically use the latest version of the mod if multiple versions of the same mod are present, as I think(?) this is how Factorio itself handles it. Because having multiples of the same mod is probably not intended however, it seems sensible to me to issue warnings if mods with the same name are detected during a single load cycle. This is how I've implemented it at the moment.

However, when I ran draftsman-update again, I got a new error, which was lupa._lupa.LuaError: [string ""]:183: bad argument #1 to 'for iterator' (table expected, got nil).

The reason for this was because the entity_status table for defines was nil. Up to this point I've been using a patchwork replacement of Factorio's defines (https://lua-api.factorio.com/latest/defines.html), which worked for vanilla and a lot of modpacks, but clearly much more data is available to the mod at this point so a comprehensive solution is in order.
The problem, however, seems to be that (as far as I can tell) the values of this defines table doesn't seem to be anywhere in Wube's factorio-data... which means these values have to be extracted manually for every Factorio version. Fortunately thanks to this nice script I found this isn't too hard a task and is a tolerable-enough inconvenience for now. This file is called defines.lua and will be located under the compatibility folder.
Here's the updated output with the two problematic mods of your set that I can confirm works (also with some formatting updates). Note the warnings in the "Discovering mods" section: I added another duplicate version to show the different messages.
(factorio-draftsman) D:\SourceCode\repos\Python\factorio-draftsman>draftsman-update --verbose
Reading mods from: D:\SourceCode\repos\Python\factorio-draftsman\draftsman\factorio-mods

Discovering mods...

alien-biomes
angelspetrochem
angelsrefining
angelssmelting
WARNING: Duplicate of mod 'angelssmelting' found (0.6.19)
        Overwriting older version (0.6.11) with newer version (0.6.19)
WARNING: Duplicate of mod 'angelssmelting' found (0.6.8)
        Skipping older version (0.6.8) in favor of newer version (0.6.19)
boblibrary
boblogistics
Bottleneck
nullius

Determining dependency tree...

alien-biomes 0.6.7
archive? True
dependencies:
           base >= 1.1.0
         ? alien-biomes-hr-terrain >= 0.3.1
angelspetrochem 0.9.22
archive? True
dependencies:
           angelsrefining >= 0.12.1
         ? bobplates >= 0.18.8
         ? bobassembly >= 0.18.5
         ? bobrevamp >= 0.18.5
angelsrefining 0.12.2
archive? True
dependencies:
           base >= 1.1.43
         ? bobplates >= 0.18.8
         ? bobrevamp >= 0.18.5
         ? bobmodules >= 0.18.0
         ? boblogistics
         ? rso-mod >= 2.3.3
         ? Yuoki >= 0.4.0
         ? UraniumPower >= 0.6.4
         ? Nucular >= 0.2.0
angelssmelting 0.6.19
archive? True
dependencies:
           angelsrefining >= 0.12.1
           angelspetrochem >= 0.9.20
         ? bobplates >= 0.18.8
boblibrary 1.1.5
archive? True
dependencies:
           base >= 1.1.0
boblogistics 1.1.5
archive? True
dependencies:
           base >= 1.1.0
           boblibrary >= 1.1.0
         ? bobplates >= 1.1.0
         ? bobinserters >= 1.1.0
Bottleneck 0.11.7
archive? True
dependencies:
           base >= 1.0.0
nullius 1.4.8
archive? True
dependencies:
           base >= 1.1.39
         ? Transport_Drones >= 1.0.6
           alien-biomes >= 0.6.5
           angelssmelting >= 0.6.18
           boblogistics >= 1.1.3
         ? RecipeBook >= 2.7.1
         ? underground-pipe-pack >= 1.1.2
         ? RenaiTransportation >= 1.0.0
         ? boblibrary >= 1.1.4
         ?
Extracted entities...
Extracted instruments...
Extracted items...
Extracted modules...
Extracted recipes...
Extracted signals...
Extracted tiles...

Update finished.
hella slick; nothing broke!

Hopefully when I push this it will just werk. All of these changes will be in version 0.9.5.

Alright, try updating the package and see how that goes.


Cannot input 'Enter' key in markdown(.md) file after opening js file

Reproduction

Open IDE
Open js file (This opens a code editor)
Open md file (This opens a text editor)
Input 'Enter' key in the md file (This does not work. It remains nothing changed.)

'Enter' key works in an md file without opening code editor before (ie. after opening IDE without automatically opening any files)
It seems that emmet changes keyMap of codemirror when code editor is loaded and text editor is affected by the change.
This is a critical bug.

Any progress on this issue?


Playground website is broken / Run opens a blank page

http://www.typescriptlang.org/play/
If I click on Run it opens a white page - that's it. Tried it in Chrome and FF

? I'm able to open it in chrome (and edge) just fine. Maybe the CDN just had a hiccup?

It is working for me.  It does open a "white page" as in it simply injects whatever code you have in the editor into a new page after it has been transpiled to TypeScript.  So if your code does nothing from a UI perspective, you get a blank page.

For me it produce a printer dialog asking to save to PDF! It's hosed.

Probably because there's a global function named print that you're calling instead of console.log.


The /MP parameter

So what actually happens when I use /MP as a parameter with the LABEL command differently that if I don't.  So I have a usb drive with gParted Live on it, so windows can't read it, but it still shows USB Drive (F:) I want to change it to gParted
The text on the Help page merely states: /MP Specifies that the volume should be treated as a mount point or volume name.
I know this is petty, but I'd like to know what using or not using that /MP parameter impacts (or doesn't)
-Thanks: Steve
PS I just tried label /MP f:GPARTED as in the example and I got a Invalid drive specification. error, I then put a space between f: and GPARTED, which is different from the example on the Help Page where it shows label a:sales-july.  That got me past that error and now I get: The request is not supported.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f3adb2eb-3c9c-d811-6979-6c23f6712d67
Version Independent ID: bbf6f4f2-7238-04d9-488d-d3581f50d2a0
Content: label
Content Source: WindowsServerDocs/administration/windows-commands/label.md
Product: windows-server
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Add type hints to the compiler's test input data file.

Also auto-generated with the same process as #691.

Yes. Mypy isn't yet able to refine type hints based on use, so it requires
that empty dicts get explicit type hints. Otherwise it would have had to
infer Dict[Any, Any] here and that would stay the type of this variable
regardless of how it's used.
On Fri, Dec 6, 2019, 10:03 AM bojanserafimov<EMAIL_ADDRESS>wrote:

@bojanserafimov commented on this pull request.
In graphql_compiler/tests/test_input_data.py
https://github.com/kensho-technologies/graphql-compiler/pull/693#discussion_r354875005
:

@@ -29,7 +30,7 @@ def immediate_output():  # noqa: D103
expected_output_metadata = {
"animal_name": OutputMetadata(type=GraphQLString, optional=False),
}

expected_input_metadata = {}

expected_input_metadata: Dict[str, GraphQLSchemaFieldType] = {}

Not sure if this is adding to readability or anything. Was it necessary
for type checking to work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kensho-technologies/graphql-compiler/pull/693?email_source=notifications&email_token=AAR5MSS7IT7BSJJFIEI7DETQXJSUVA5CNFSM4JV5WFF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOINJCI#pullrequestreview-328258697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR5MSQMB6IHVV3MNA6J73LQXJSUVANCNFSM4JV5WFFQ
.


Creating custom macros?

I'm trying to create a custom macro for certain combinations of modifiers, rerolls, and limits, but I can't for the life of me find the correct keywords to get a nice skill card. I couldn't find the source code of the entire sheet either (otherwise I would've searched for it there), can someone help?
My main issue is with figuring out the dice rolls on the card.

You'll need to be more specific.
But my recommendation is to look at the macros in the official modules.
Programming lessons not included.

Is this roll20?

The repository for roll20 is here: https://github.com/Plushtoast/TDE-Roll20-Official/issues
But the 3d20 roll is very complicated and difficult to do in roll20. It works via sheetworkers, so macros are barely possible

Yes, although it is possible that it's a different sheet from the one you're working on here, I had just assumed it was the same one as your project here as the two have the same names, and when I was looking through the sources of that sheet i got lead to this github site..
Thanks, i'll see if i can find something more.
I'll try my best ^^'


feat(cardano-rte): Implement Cardano chain follower functions in Cardano Runtime Extension

Description
This PR implements most of the functionality of the Cardano Runtime Extension.
Description of Changes
The Cardano Runtime Extension maintains the state of each subscribed application module.
In order to execute the chain followers it spawns an OS thread to run a Tokio runtime in which the follower tasks are executed (because they need async to do work).
For now, the Cardano Runtime Extension spawns a follower for each subscription. As documented here this can be optimized in the future.
Future improvements

Better error descriptions and handling

Please confirm the following checks

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream module

Just a general question to be on the same page 😊. What is the difference between TokioRuntime and ChainFollowerRuntime ? Why do not combine them under the same abstractions ?

@Mr-Leshiy
There's 1 OS thread for running a Tokio runtime which is needed because the cardano-chain-follower crate uses async code. I'm using a channel here in the TokioRuntimeHandle to send commands to the OS thread running the Tokio runtime.
Then there is the same pattern for communicating with each running follower. For now, there's 1 handle per follower since we decided to not do any optimizations yet.
I don't think it makes sense to merge them into the same abstraction since they serve different purposes in the Cardano Runtime Extension.


GenStage throws an error on start

Anyone else experiencing this weird warning when starting Quantum:
warning: ConsumerSupervisor.init/1 expects a list with a single element
  (gen_stage) lib/consumer_supervisor.ex:307: ConsumerSupervisor.init/2
  (gen_stage) lib/consumer_supervisor.ex:324: ConsumerSupervisor.init/1
  (gen_stage) lib/gen_stage.ex:1834: GenStage.init/1
  (stdlib) gen_server.erl:365: :gen_server.init_it/2
  (stdlib) gen_server.erl:333: :gen_server.init_it/6

It seems that at some point a single item is passed to GenStage which throws an error. I briefly looked at the code but could not pin down the exact location where GenStage is initialized.

This is because of a change in gen_stage in v0.13. We can fix the warning, but not while staying compatible with v0.12.

At the point where we releasequantum v2.3.0, I'll fix the warning and restrict to gen_stage ~> 0.13. Until then my hands are tied.

Since there were more reports, we're working on a way to omit the warning. #309

Released in v2.2.5

I can still see the warning running 2.2.5.

Elixir 1.6.1

@benrom Can you please execute this in iex:
Quantum.Util.gen_stage_v12?()
Do you get true or false?

Quantum.Util.gen_stage_v12?()
false

Can you please mix deps.compile quantum --force? If you get false, then this should not happen.

When running mix test I still see the warning after running that command line (tested as well with MIX_ENV=test)

@benrom MIX_ENV=test mix deps.compile quantum --force does this solve it?

that's what I tested.
$> MIX_ENV=test mix deps.compile quantum --force
==> quantum
Compiling 20 files (.ex)
Generated quantum app

$> mix test
==> shared
warning: ConsumerSupervisor.init/1 expects a list with a single element
  (gen_stage) lib/consumer_supervisor.ex:307: ConsumerSupervisor.init/2
  (gen_stage) lib/consumer_supervisor.ex:324: ConsumerSupervisor.init/1
  (gen_stage) lib/gen_stage.ex:1834: GenStage.init/1
  (stdlib) gen_server.erl:365: :gen_server.init_it/2
  (stdlib) gen_server.erl:333: :gen_server.init_it/6

That makes no sense at all :( I still believe that this has something to do with the already compiled code. Could you delete your _build directory on rebuild from scratch?

What I've just tested:
rm -rf _build/
rm -rf deps/
mix deps.get
mix test

and it's all ok now!
Weird. Thanks anyway!

@benrom I did some weird compile time stuff to get rid of this warning. Seems to be a bug with elixir I think. If more people have this problem, I'll file an issue with elixir.


"xiwi in a window" problem: mute/volume/brightness keys do not work after update to ChromeOS ver 61/62

Please paste the output of the following command here: sudo edit-chroot -all

name: min
encrypted: yes, unlocked
Entering /mnt/stateful_partition/crouton/chroots/min...
crouton: version 1-20170901092920~master:0216f9d1
release: buster
architecture: amd64
xmethod: xiwi
targets: xiwi,x11
host: version 9901.46.0 (Official Build) beta-channel cyan
kernel: Linux localhost 3.18.0-16036-g30f3f9ed6ff1 #1 SMP PREEMPT Thu Oct 12 22:02:10 PDT 2017 x86_64 GNU/Linux
freon: yes
Please describe your issue:
In brief. When one uses xiwi in a window, the special keys like volume/brightness control no longer work. (They worked fine with Chrome OS version 59 and possibly 60.) On the other hand these keys work with xiwi in a tab.
Specificially, if I run: 'sudo startxiwi -b -n min xterm', this opens a window. As long as focus is in this window, the volume/brightness keys don't work. The "expose" key (F5) works to close the window. After that the volume/brightness keys work (the xiwi window is not in focus.)
On the other hand, if I run: sudo startxiwi -T -b -n min xterm', this opens xiwi in a tab. Now the special keys work fine.
By keys "working", I mean that volume goes up/down, muting is toggled, brightness goes up/down and so on. On-screen display also works. Note that the "manual" host-dbus CLI method works in both cases.
If known, describe the steps to reproduce the issue:
I tried to test this in various ways:

Create a new chroot with Debian "stretch" (instead of "buster") containing a minimal installation for xiwi.

Powerwash and (1).

The same result as before. I have no way of going back to ChromeOS 59/60 to check that it works with that version. However, I recall that the keys worked before the most recent updates to 61/62.

@kapilhp,
Perhaps adding the 'keyboard' target will help:

DESCRIPTION='Adds support for Chromebook keyboard special keys.

It addresses the volume/brightness control keys and many others
Hope this helps,
-DennisL

Adding the 'keyboard' target did not do the trick. In fact, I suspected that it might not since it seems to "trap" the keys and send them to the crouton extension, whereas the behaviour that I expect (and
which was the default earlier) was that the keys were handled by ChromeOS.
As I said above, the keys work "like they should" (i.e. like they did earlier) when the XMETHOD is xiwi-tab. They don't work when the XMETHOD is xiwi-window.
So something seems to have changed (post version 61) in the way ChromeOS manages applications that run in their own window. The keys like volume up/down are sent to the application rather than handled by ChromeOS or perhaps extensions have to indicate to Chrome which way they want to go.
Kapil.

@kapilhp,

So something seems to have changed (post version 61) in the way ChromeOS manages applications that run in their own window.

You're probably right but I don't know what might have changed upstream, sorry.
Maybe someone else will have some ideas...
-DennisL

Turning on "debug" in the crouton extension shows that the volumeup key is not being passed to the extension if it is running in a tab. However, it is being passed to the extension if it is running in a window or fullscreen. In spite of that, running "xev" shows that the volumeup key does not generate an event in the latter case. So there is some mis-match between the configuration of the X server and the way the extension interacts with it.

Some more info via debug button in the crouton extension.
The BrightnessUp key produces the following:
Key DOWN: C:BrightnessUp,JSKC:d9=>KC:e9
On the other hand the VolumeUp key produces:
Key DOWN: C:AudioVolumeUp,JSKC:af=>KC:0(KEY UNKNOWN!)
This seems to indicate that the latter is not even being recorded by the X server as a proper key.
Also followed up DennisL's suggestion a bit further. If the keyboard target is installed and xbindkeys is run with a suitable binding, then the Search+BrightnessUp/Down keys do appear to do the right thing. Even in this case, the VolumeUp/Down/Mute do not seem to be recognised by xbindkeys (probably as made clear by the above "debug" run of the crouton extension).
Moreover, this action seems to be taken by the programs inside the chroot, whereas, I think that earlier they were handled by ChromeOS directly.


UI issues when placing new order while you have an active order

When you have an open order, and try to place another meanwhile, BUY and SELL buttons stay greyed out, only app restart fixes it.

hi @lilszi, thanks for your feedback
I just pushed some code to fix this on use-the-concept-of-orders-instead-of-swaps branch
please test and see if this issue persists
thanks


ws always disconnect

Git not  work ，  No source control providers

Always disconnect

Can you add a screenshot of the problem?

Can you add a screenshot of the problem

Repost using rinetd，

Can you add a screenshot of the problem?

Can you add a screenshot of the problem

Repost using rinetd，

Can you add a screenshot of the problem?

Error received from starting extension host

Closing as a duplicate of #2364


Can't delete Virtual Box via Control Center

Steps to reproduce:

Install CC's components
Try to delete Virtual Box

Result:
If you will try to delete, you will face error below:

Virtual Box's checkbox  will be  checked. You can uncheck it. It will occur when you try to delete second time.

VirtualBox_Uninstall.tool  file not uploaded to the Bazaar cdn.
Team infra will upload this file.

@kurmanbekova6 We uploaded the missing file(VirtualBox_Uninstall.tool). Can you check?

Successfully uninstalled and installed Virtual Box on MacOS and Debian.
Fixed in prod

Tested in prod.


Structuredregrid

Make sure to flip in the valid_nodes_index so it should be simple afterwards.

reviewed the changes. Looks good, you can merge


Error while running CQD model.

Could you offer a command to train and test CQD model?
I have tried to train CQD model with this command:
main.py --cuda --do_train --do_valid --do_test --data_path=data/FB15k-237-betae --print_on_screen --use-qa-iterator -n=128 -b=512 -d=800 -g=24 -lr=0.0001 --max_steps=450001 --cpu_num=1 --geo=cqd --valid_steps=15000 --tasks=1p

But it reported that RuntimeError: Adam does not support sparse gradients, please consider SparseAdam instead
Is this as expected? If it is, can I only replace Adam with SparseAdam?
Thanks~

It seems that I should set sparse=False in https://github.com/pminervini/KGReasoning/blob/main/cqd/base.py#L59 to train CQD model.

Sorry for the delay! Looking into this rn

You were right with your fix, thank you! Sorted!


[Books] Separate page/DB

I've discovered some excellent books and lecterns recently, and I believe Parsa__ has as well. Parsa also mentioned something about making a Tower or Library of Babel type thing, so I'm opening this issue as a reminder and discussion area for that.
My current idea is to add yet another db page to the site, focused entirely on books. NBT will be provided in Writable Book and Lectern formats, possibly Written Book format as well despite Writtens being disabled on TotalFreedom.

Meant to close this with d3e1c7712621cdeb5228d51277a4b5ecf2de78b5, but forgot. Oops.


cluster.train number

if i set：
cluster.train(dataRDD, 1) # 3488
then：
 with tf.train.MonitoredTrainingSession(master=server.target,
                                               is_chief=is_chief,
                                               checkpoint_dir=log_dir,
                                               hooks=hooks,
                                               save_checkpoint_secs=save_checkpoint_secs,
                                               config=set_config_proto()) as sess:
            tf_feed = TFNode.DataFeed(ctx.mgr, args.mode == "train")
            print(args.batch_size)  # 3488

            print("{0} start MonitoredTrainingSession".format(datetime.now().isoformat()))
            print(sess.should_stop(), tf_feed.should_stop())

            if args.mode == "train":
                batch_xs, batch_ys = feed_dict(tf_feed.next_batch(args.batch_size)) # 3488

            print(sess.should_stop(), tf_feed.should_stop())

            while not sess.should_stop() and not tf_feed.should_stop():

log:
2018-04-09 09:53:20,166 INFO (MainThread-11964) Connected to TFSparkNode.mgr on <IP_ADDRESS>, executor=1, state='running'
2018-04-09 09:53:20,171 INFO (MainThread-11964) mgr.state='running'
2018-04-09 09:53:20,171 INFO (MainThread-11964) Feeding partition <itertools.chain object at 0x7ff7fad2dfd0> into input queue <multiprocessing.queues.JoinableQueue object at 0x7ff7a49f0c88>
18/04/09 09:53:20 WARN DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
2018-04-09 09:53:21,478 INFO (MainThread-11873) Graph was finalized.
2018-04-09 09:53:21,602 INFO (MainThread-11873) Restoring parameters from hdfs://getui-bi-dev/user/chenyq/model/model.ckpt-2
2018-04-09 09:53:23.618460: I tensorflow/core/distributed_runtime/master_session.cc:1024] Start master session ddb6c865f2ba3b56 with config: intra_op_parallelism_threads: 1 inter_op_parallelism_threads: 1 gpu_options { allow_growth: true } allow_soft_placement: true
2018-04-09 09:53:26,105 INFO (MainThread-11873) Running local_init_op.
2018-04-09 09:53:26,110 INFO (MainThread-11873) Done running local_init_op.
3488
2018-04-09T09:53:26.140223 start MonitoredTrainingSession
False False
11111111--------------------------
False False
1 worker 0
(3488, 79)
2018-04-09 09:53:26,956 INFO (MainThread-11873) Saving checkpoints for 3 into hdfs://getui-bi-dev/user/chenyq/model/model.ckpt.
2018-04-09 09:53:27,425 INFO (MainThread-11964) Processed 3488 items in partition
18/04/09 09:53:27 INFO PythonRunner: Times: total = 7304, boot = -99, init = 134, finish = 7269
18/04/09 09:53:27 INFO Executor: Finished task 0.0 in stage 6.0 (TID 15). 2654 bytes result sent to driver
18/04/09 09:53:27 INFO CoarseGrainedExecutorBackend: Got assigned task 16
18/04/09 09:53:27 INFO Executor: Running task 0.0 in stage 7.0 (TID 16)
18/04/09 09:53:27 INFO TorrentBroadcast: Started reading broadcast variable 9
18/04/09 09:53:27 INFO MemoryStore: Block broadcast_9_piece0 stored as bytes in memory (estimated size 5.5 KB, free 2003.6 MB)
18/04/09 09:53:27 INFO TorrentBroadcast: Reading broadcast variable 9 took 6 ms
18/04/09 09:53:27 INFO MemoryStore: Block broadcast_9 stored as values in memory (estimated size 7.9 KB, free 2003.5 MB)
2018-04-09 09:53:27,555 INFO (MainThread-11967) Connected to TFSparkNode.mgr on <IP_ADDRESS>, executor=1, state='running'
2018-04-09 09:53:27,555 INFO (MainThread-11967) Stopping all queues
2018-04-09 09:53:27,557 INFO (MainThread-11967) Feeding None into input queue
2018-04-09 09:53:27,559 INFO (MainThread-11967) Feeding None into output queue
2018-04-09 09:53:27,561 INFO (MainThread-11967) Feeding None into error queue
2018-04-09 09:53:27,561 INFO (MainThread-11967) Setting mgr.state to 'stopped'

Why did i call a next_batch, and there were two Feeding actions that resulted in the second failure of the data to terminate the program?

if i set
cluster.train(dataRDD, 2)
it‘s ok

if set cluster.train(dataRDD, 1)
--num-executors 2  --executor-cores 1 --executor-memory 10G --driver-memory 8G
datasize <<<< 10G
it will finish by self ,no until my set conditions
18/04/09 22:21:15 INFO CoarseGrainedExecutorBackend: Driver commanded a shutdown
confusion_matrix : [[1555  189]
 [ 222 1522]]
(False, False)
(1, 'worker', 0)
(3488, 79)
18/04/09 22:21:15 INFO MemoryStore: MemoryStore cleared
18/04/09 22:21:15 INFO BlockManager: BlockManager stopped
18/04/09 22:21:15 INFO ShutdownHookManager: Shutdown hook called

18/04/09 22:21:10 INFO PythonRunner: Times: total = 11725, boot = -158, init = 1231, finish = 10652
18/04/09 22:21:10 INFO Executor: Finished task 0.0 in stage 3.0 (TID 5). 2102 bytes result sent to driver
18/04/09 22:21:15 INFO CoarseGrainedExecutorBackend: Driver commanded a shutdown
18/04/09 22:21:15 INFO MemoryStore: MemoryStore cleared
18/04/09 22:21:15 INFO BlockManager: BlockManager stopped
18/04/09 22:21:15 INFO ShutdownHookManager: Shutdown hook called

18/04/09 22:21:10 INFO DAGScheduler: ResultStage 3 (foreachPartition at /usr/lib/python2.7/site-packages/tensorflowonspark/TFCluster.py:271) finished in 11.758 s
18/04/09 22:21:10 INFO DAGScheduler: Job 3 finished: foreachPartition at /usr/lib/python2.7/site-packages/tensorflowonspark/TFCluster.py:271, took 11.766133 s
18/04/09 22:21:15 INFO ApplicationMaster: Final app status: SUCCEEDED, exitCode: 0
18/04/09 22:21:15 INFO SparkContext: Invoking stop() from shutdown hook
18/04/09 22:21:15 INFO SparkUI: Stopped Spark web UI at http://172.****.109:17048
18/04/09 22:21:15 INFO YarnAllocator: Driver requested a total number of 0 executor(s).
18/04/09 22:21:15 INFO YarnClusterSchedulerBackend: Shutting down all executors
18/04/09 22:21:15 INFO YarnSchedulerBackend$YarnDriverEndpoint: Asking each executor to shut down
18/04/09 22:21:15 INFO SchedulerExtensionServices: Stopping SchedulerExtensionServices
(serviceOption=None,
 services=List(),
 started=false)
18/04/09 22:21:15 INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped!
18/04/09 22:21:15 INFO MemoryStore: MemoryStore cleared
18/04/09 22:21:15 INFO BlockManager: BlockManager stopped
18/04/09 22:21:15 INFO BlockManagerMaster: BlockManagerMaster stopped
18/04/09 22:21:15 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped!
18/04/09 22:21:15 INFO SparkContext: Successfully stopped SparkContext
18/04/09 22:21:15 INFO ApplicationMaster: Unregistering ApplicationMaster with SUCCEEDED
18/04/09 22:21:15 INFO AMRMClientImpl: Waiting for application to be successfully unregistered.
18/04/09 22:21:15 INFO ApplicationMaster: Deleting staging directory hdfs://getui-bi-dev/user/chenyq/.sparkStaging/application_1522787775586_0645
18/04/09 22:21:15 INFO ShutdownHookManager: Shutdown hook called

some one can help?

@cyqluowang again, it's hard to tell what your issue is.  From what I can tell, you have a dataset of 3488 examples in a single partition, and you're also setting your batch_size to exactly 3488, so you're essentially only training one step.  So, are you saying that you are expecting tf_feed.should_stop() to be True on the second call?

yes, tf_feed only call ones ,Call outside of the loop statements.
batch_xs, batch_ys = feed_dict(tf_feed.next_batch(args.batch_size))
while not sess.should_stop() and not tf_feed.should_stop():

If you want to control the termination conditions on the TF side, you probably want to switch to using InputMode.TENSORFLOW.   For the SPARK mode, the termination generally occurs when the data feeding job completes.

Closing due to inactivity.  Feel free to reopen if still an issue.


config the 'theme.less' file with the 'rem' unit lead to a unexpected result

Reproduction link
sorry, i can't provide a link because this bug need compile
Steps to reproduce
config the 'theme.less' file with the 'rem' unit，like
@font-size-base : 0.14rem;

then config
@font-size-lg : @font-size-base + 0.02rem;   //this result is 0.16rem

in theme.less file it use code behind this as default
@btn-font-size-lg : @font-size-lg;

then compile button component，like：
<button nz-button nzType="primary" nzSize="large" nzShape="round">test</button>

view the computed font-size in Chrome Develop Tool is 2.16rem；    //I found the reason and write at the last
the result lead to a super big button text when root element's font-size is big(like 100px)
What is expected?
the right font-size
What is actually happening?
a super big button text

Environment
Info

ng-zorro-antd
7.2.0

Browser
chrome  73.0.3683.103   x64

after my work，i found this behind in ng-zorro-antd/button/style/mixin.less，line 224-236
.btn-round(@btnClassName: btn) {
  .button-size(@btn-circle-size; 0 @btn-circle-size / 2; @font-size-base + 2px; @btn-circle-size);
  &.@{btnClassName}-lg {
    .button-size(
      @btn-circle-size-lg; 0 @btn-circle-size-lg / 2; @btn-font-size-lg + 2px; @btn-circle-size-lg
    );
  }
  &.@{btnClassName}-sm {
    .button-size(
      @btn-circle-size-sm; 0 @btn-circle-size-sm / 2; @font-size-base; @btn-circle-size-sm
    );
  }
}

the code use a variable to add with a 'px' unit value, like
@font-size-base + 2px   //   in less   0.16rem + 2px = 2.16rem

this caused the bug when different css size unit compute in less
I suggest you use 'calc()'  to refactoring the relative code in the whole ng-zorro

@afc163 plz check this

@hsuanxyz Is this similar to a problem that you fixed earlier?

hey guys,
I'm using the 10.0.2 version and have the same issue
are there any ways or workarounds to use rem as units for all the dimensions?

Hi guy,
The same with version 11.1.0. I love bootstrap but our design team wants to use and. and now I have to use the pixel unit to set font size =))

Hi guy,
The same with version 11.1.0. I love bootstrap but our design team wants to use and. and now I have to use the pixel unit to set font size =))


Add no notice support of Composite types

Describe this PR
We're adding a notice that Composite types are not supported in Studio, Data Browser and Query Console. If a user tries to open a model with composite types, Studio and Data Browser will crash with an error.
As such, a first disclaimer is to let people know of this behavior, before we proceed to fix or suppress the actual issues.
Changes
Added the notification:

Composite types or embedded documents are not supported in Prisma Studio, the Data Browser or the Query Console.
in the following places:

Getting Started > Set up Prisma > Add to existing project > MongoDB > Next Steps
Getting Started > Set up Prisma > Start from scratch > MongoDB > Next Steps
Concepts > Database connectors > MongoDB#Known Limitations

Here's what it looks like:

Thanks @martzoukos for creating this PR; this is important information, for sure!
I think the places you have it are good, but I am thinking we might want also need it in some even more obvious places:

The start of the Getting Started docs:

https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/mongodb-typescript-mongodb
https://www.prisma.io/docs/getting-started/setup-prisma/add-to-existing-project/mongodb-typescript-mongodb

The new Using Prisma with MongoDB guide that Lucy is writing

The docs about Studio: https://www.prisma.io/docs/concepts/components/prisma-studio

The PDP docs: https://www.prisma.io/docs/concepts/data-platform/about-platform

The Concepts doc about composite types: https://www.prisma.io/docs/concepts/components/prisma-client/composite-types

Or is that too wide a net?

Quick note: We might actually get composite type "support" until next week in Studio, so do not spend to much more time on finding ways how to tell people that this is not supported.

I think we can close this? https://prisma-company.slack.com/archives/C013RMLGE72/p1648832839575889

Yes, the change in Studio does make this notice obsolete.


review and clean up write middleware

Address comments in  #24348
@fiyazbinhasan can you take this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 13e2d968-17a6-1a50-53cd-1d6b9ad0276d
Version Independent ID: cd22a135-4446-79f5-89db-b741bd44a720
Content: Write custom ASP.NET Core middleware
Content Source: aspnetcore/fundamentals/middleware/write.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Taking a look :)

::: moniker range=">= aspnetcore-6.0"

By Fiyaz Hasan, Rick Anderson and Steve Smith

That should be
By Fiyaz Hasan, Rick Anderson***,*** and Steve Smith

Just noticed you added my name as well! 😃


PR: Improve UX/UI of the FindReplace widget

Description of Changes

Don't use background colors to signal that a search was unsuccessful or the used regular expression has errors. Instead, use an action and tooltips for that.
Warning

Error

Remove text labels from replace buttons and make find and replace line edit widths to match.

Fix margins around Find/replace widget for all plugins that rely on it. Also fix button margins around them.
Before

After

Add a clear button to all PatternCombobox and don't clear search results in the editor if text has changed on it and update total number of matches.

Add a Material Design icon for the "Whole words" button.

Improve tooltips for all buttons.

Improve FindReplace tests and add several new ones.

Issue(s) Resolved

Fixes #7247
Supersedes #10894
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

@jitseniesen, I improved all the Find button tooltips, as discussed in our last developer meeting. Could you take a look at them and let me know what you think? Thanks!

Thanks @dalthviz for your review. My comments:

The replace button is now selected if using the replace shortcut (Ctrl + R) but not unselected if using the find shortcut (Ctrl + F)

Fixed.

The matches text x of y can change size so maybe that info should be also painted inside the combobox/lineedit as done with the warning/error icon?

I tried to do that but you have to do very ugly hacks in Qt to implement it and it doesn't look that good. To avoid that the size of that label affects the size of the find/replace line edits, I decided to set a max width for them and move the matches label to the far right:

I took this idea from Firefox:

That way, in wide enough screens the line edits won't change in size.

Before, you could click the combobox/lineedit to remove with a click all the text in it, but testing seems like that functionality was removed here?

I guess you refer to clicking on this button, right?

Well, I had to remove it to show the new messages label. Besides, we can't control the appearance of that button so it appears almost invisible in dark backgrounds:

Thanks for the changes @ccordoba12 !
Checked locally and the fixes are working :+1: However seems like the fixed max-with for the inputs can leave a lot of space on the right side:

And it also can end with a kind of weird layout if you reduce the Editor width (probably the buttons should collapse into a ... button or something instead of the input fields width being changed to be that small?):

Also, since this removes functionality (removes the button to erase the input content with one mouse click) maybe it could be better to leave it for Spyder 6? What do you think?

Thanks for the review @dalthviz! About your comments:

However seems like the fixed max-with for the inputs can leave a lot of space on the right side

Ok, I changed the code so that the minimum width of the line edits is half of the available space:

Also, I increased their default width to 400px:

And it also can end with a kind of weird layout if you reduce the Editor width (probably the buttons should collapse into a ... button or something instead of the input fields width being changed to be that small?)

That would be nice to have but it requires to add all search buttons to a QToolbar and then adjust its style to show the ellipsis. So, I think it's a bit out of the scope of this pull request.

Also, since this removes functionality (removes the button to erase the input content with one mouse click) maybe it could be better to leave it for Spyder 6? What do you think?

I restored that button and made it use the right color for our interface theme.

@dalthviz, while reviewing old PRs, I found a couple of interesting ideas in #10894, which I decided to include here.
So, now we don't clear the found results if the FindReplace widget is visible and users change text in the editor (which is really useful). And we update the total number of matches if that's the case:

Could be possible to check if there is actual text to remove in the field before showing the remove text action? Currently the action is always shown regardless of the field content.

Great idea @dalthviz! I implemented that in my second to last two commit, and in my last commit I added a test for it.

Is there a way to change the placeholder color for the Replace field to grey?

This is actually a bug in the Qt package provided by Conda-forge. If you use the PyQt pip packages, you'll see that that placeholder text is show in grey, as expected:

Merging this to update the translations strings. If there are any further comments about this let us know @jitseniesen @CAM-Gerlach to revisit them in a follow up PR :+1:

I did have some feedback to @ccordoba12 regarding the icons, but it seems I never submitted my draft comment here, only the one I made over DM directly to Carlos, sorry.

@CAM-Gerlach, please open a new issue with your suggestions (which are really valuable) or post them here, and I'll address them in a follow-up PR, as @dalthviz suggested.

Thanks, opened as issue #20255


Ordering of projects across the site

Make the order consistent on /projects, /data, /documentation, /developers and the footer
Projects
Tangram
Mapzen Search
Mapzen Turn-by-Turn
Vector Tile Service
Data
Metro Extracts
Borders
Transitland
Who's On First

Looks like this was done in the blog repo.


README: Update examples and status

updating some of nimibook examples.
Also updating the status, it was referring to 2023 target issues, I think this reflects more the current status, right @HugoGranstrom ?
(made this into a PR mostly because of this last point)

Looks good to me :D Seems like we will have to update the netlify CI task... I'll have a look at that next week


Log Viewer Fix

This is a fix to display execution error details in the log viewer header.
Updated execution log viewer to use Execution details that have already been loaded. These details used to come from log service, but not since the changes were made to support elasticSearch logging. The data is already on $scope so no additional data loads were necessary.

LGTM

For a failed execution, the panel that shows the error detail is not full-width like the log output.  Did we keep it skinnier to enhance readability for the error message?  If so, should the whole modal dialog be skinnier?

Fixed the log viewer size.

I reformatted the way the status descriptions are displayed within the modal.  Thoughts?

Looks good to me. Merging this one.


Building EOS on Windows using ubuntu

I've having an issue with installing EOS blockchain on the system. So I've done ./eosio_build.sh which returns this error:
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file):
file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
Unable to find the requested Boost libraries.
Boost version: 0.0.0
Boost include path: /home/catley/opt/boost_1_66_0/include
Detected version of Boost is too old.  Requested version was 1.57 (or
newer).
Call Stack (most recent call first):
libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)
-- Configuring ChainBase on Linux
-- Using custom FindBoost.cmake
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file):
file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
libraries/appbase/CMakeLists.txt:22 (find_package)
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
Unable to find the requested Boost libraries.
Boost version: 0.0.0
Boost include path: /home/catley/opt/boost_1_66_0/include
Detected version of Boost is too old.  Requested version was 1.60 (or
newer).

See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeError.log".
    >>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

CMakeError.log
Also attached the CMakeError log.
Any ideas?

Update: I'm trying this ticket's solution: https://github.com/EOSIO/eos/issues/3345
I'll update if it works or not.

cp -R /home/catley/boost_1_67_0/ /home/catley/boost_1_66_0/ and relaunch eosio_build

@Catley94 @maxb14 run the following commands (capture stdout and paste it here if you run into any further issues)
rm -rf ${HOME}/opt/boost*
cd /path/to/eos
rm -rf build/
git pull
git submodule update --init --recursive
./eosio_build.sh

How do I capture stdout?

use "tee" or just redirect as usual...
./eosio_build.sh 2>&1 > build.log

Had the same problem and it was because my local was corrupted, so i did git reset to master head and it compiled.
git checkout master
git reset --hard
./eosio_build.sh


Composer prevents loss from converging when using DecoupledAdamW

** Environment **

OS: Ubuntu 22.04 LTS
GPU:

  *-display
       description: VGA compatible controller
       product: GP102 [GeForce GTX 1080 Ti]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:58 memory:fa000000-faffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff
  *-graphics
       product: EFI VGA
       physical id: 2
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1024,768

Cuda: 11.7
Composer: 0.8.2

I'm trying to implement a paper in Pytorch, using composer for my training loop.
See here: https://github.com/vedantroy/improved-ddpm-pytorch/commit/24909c064953bf54bf3a50c64923fdfef714f3cc
Composer is breaking stuff in at least 2 different ways:

If I replace this line with composer's DecoupledAdamW then the loss goes from 1.0 => 0.6 but not much further down
https://github.com/vedantroy/improved-ddpm-pytorch/blob/24909c064953bf54bf3a50c64923fdfef714f3cc/openai_iddpm.py#L103
~If I use the OpenAIIDDPM model instead of the manual_train function, the loss does not go down from around 1.0 at all
https://github.com/vedantroy/improved-ddpm-pytorch/blob/24909c064953bf54bf3a50c64923fdfef714f3cc/openai_iddpm.py#L72~

I think only the 1st thing was a bug b/c once I switched to torch's AdamW and removed the warmup, the learning rate progressed as normal

I've uploaded the data here, so you can reproduce it: https://drive.google.com/drive/folders/1zK-3SkGOETGFajIBSXbEPqPSRdwqajUq?usp=sharing
It's just the CelebHQ dataset in 64x64 resolution, stored as parquet. Any image dataset should work and you can probably swap out my torch data based dataloader for something more standard.

Hey, thank you for raising this issue!
I think this is a bug on our side where we copied over torch's AdamW defaults, in particular the weight_decay=1e-2.
Since our decoupled optimizers implement the original paper and completely separate lr and weight_decay, the default of 1e-2 is much too high, and would decay your weights by 1/100th every batch! This is likely what was causing the poor convergence. I think our internal benchmarks that used DecoupledAdamW always set weight_decay explicitly which is why we missed this bug :(
I will update the default value to weight_decay=1e-5, which should be close if not identical to the behavior of torch's AdamW which has defaults lr=1e-3 and weight_decay=1e-2.


new join config issue

What did you do?
https://github.com/pion/ion-sdk-go/blob/master/example/ion-sfu-load-tool/main.go#L46
if do a sub only, its doesn't receive any data. i.e its not subscribing
if i pass do
c.Join(new_session, nil)

it works

pls try new version.


README: replace outdated claim about lacking git blame support

Addresses https://github.com/jj-vcs/jj/issues/5191
Checklist
If applicable:

[ ] I have updated CHANGELOG.md
[x] I have updated the documentation (README.md, docs/, demos/)
[ ] I have updated the config schema (cli/src/config-schema.json)
[ ] I have added tests to cover my changes

^ re CLA see https://github.com/jj-vcs/jj/discussions/4849

Whoops, just signed it. Any thoughts on the new wording I used?

Oh something looks off about the commit, I think my auto formatter for Markdown kicked in


Migrate to pytest

I would like to contribute an (ibis) test to hvplot. When I look at testnetworkx.py I can see this framework is using unittest!
Everyone uses pytest these days and have been for a long time. It would make it so much easier for contributors if hvplot was using pytest.
Please convert this project to pytest. Thanks.

The test suite is actually being executed by pytest so contributors are free and encouraged to write pytest-flavored tests. Migrating the test suite to pytest would be a good thing for contributors, as it's likely they're used to it.

Everyone uses pytest these days and have been for a long time.

For what it's worth I know at least two projects that don't use pytest but unittest. There's Numba, and CPython itself!
@MarcSkovMadsen please do not assign milestones directly on hvPlot, I prefer to do that manually to keep track of that.


Dragging doesn't work on Microsoft Edge, IE11, IE10

Tested simplified example https://output.jsbin.com/qacoluk/quiet on Windows 10 machine.
Sortable.create(foo);

Failed on Microsoft Edge, IE11, IE10 without any exception, works fine on IE9, Chrome and Firefox.

I am having problems with IE11 as well.

its due to how events are handled i have yet to find a solution even after reading the docs

Anyone find a solution for getting dragging to work on Edge.  Mine works on IE 10/11.

http://handjs.codeplex.com/ seems to apply the new PointerEvents api maybe it could help to add the feature to all browsers becuse from what i read all browsers will be applying a PointerEvent api so u can do seperate actions based on what your using as a pointing device like so
if (event.pointerType) {
        switch (event.pointerType) {
            case "touch":
                // A touchscreen was used
                break;
            case "pen":
                // A pen was used
                break;
            case "mouse":
                // A mouse was used
                break;
        }
    }

Any update on this?

Same issue here !
It appears that the library doesn't support Pointer Events from Internet Explorer 10 & 11 ! So it doesnt work for theses browsers on touch devices ...
Is anyone knows a solution ??
This is pretty annoying to use it in a production project even if it's a good library !
Thanks,
Best regards.

jquery.fn.sortable.js.tar.gz
You can find here a version of the library (with jQuery compatibility) which works on IE 10 & 11 and Edge on Tablet devices !

Enjoy ;)

@BenMantalo how to include library in the project? Thanks in advance!

@kodamirmo you have to include JQuery and the file jquery.fn.sortable.js
And now you can use the library like this :
$("#list").sortable({ /* options */ }); // init
$("#list").sortable("widget"); // get Sortable instance
$("#list").sortable("destroy"); // destroy Sortable instance
$("#list").sortable("{method-name}"); // call an instance method
$("#list").sortable("{method-name}", "foo", "bar"); // call an instance method with parameters

Read the documentation  for the options.
Best regards

Any news on inclusion of this to the main project?  People shouldn't be using this if it doesn't support IE latest, as that's still a decent % of people

IMO, the main issue is the lack of support for Edge since Microsoft is investing a lot in it.

@RubaXa Any plans on this?
We like your sortable component but can not use it on Edge (Surface).

It's indeed not working on Microsoft Edge, @RubaXa
When I start dragging in Edge, I can the see the rows getting the class "sortable-chosen" and the attribute "draggable" is getting set to "true", yet it doesn't work.
Fyi, im draggin a table row withing a table body

Try this guys:
Add this to options for Microsoft Edge
forceFallback: false,

Version 1.5rc with forceFallback: true works great on Edge/Windows 10 Mobile. Big THANKS to the sortable owner!

jquery.fn.sortable.js.tar.gz You can find here a version of the library (with jQuery compatibility) which works on IE 10 & 11 and Edge on Tablet devices !
Enjoy ;)

Amazing this version also works in Microsoft WebBrowser Controls, unlike the current 1.14.0
I was almost giving up..

I managed to get drag and drop to work in a MS WebBrowser control (IE11 mode) by passing the option supportPointer: false , i.e. instructing Sortable to explicitly not use pointerevents.
Apparently the WebBrowser control doesn't fire the pointer events, although the feature detection in SortableJS 'PointerEvent' in window suggests otherwise. This has been reported by others on stackoverflow as well:
https://stackoverflow.com/questions/23749238/browser-embedded-in-wpf-not-handling-pointer-events
For the record, the WebBrowser control reported document.documentMode=11 and document.compatMode =CSS1Compat and I am using SortableJS v1.15.0


bug: "Failed to Load avante_repo_map"

Describe the bug
Error executing vim.schedule lua callback: ...ocal/share/nvim/lazy/avante.nvim/lua/avante/repo_map.lua:22: Failed to load avante_repo_map
stack traceback:
	[C]: in function 'error'
	...ocal/share/nvim/lazy/avante.nvim/lua/avante/repo_map.lua:22: in function ''
	vim/_editor.lua: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

When an avante update becomes available, then this shows up Not an editor command: AvanteBuild:
    ● avante.nvim 15.32ms  VeryLazy
        ...hare/nvim/lazy/lazy.nvim/lua/lazy/manage/task/plugin.lua:25: Error while parsing command line: E492: Not an editor command: AvanteBuild

It worked fine before, it stopped working out of nowhere.
I tried uninstalling and installing Avante again with no result, and then removing nvim from share and state, but it didn't fix it either.
To reproduce
No response
Expected behavior
Not get a warning.
Installation method
Astronvim:
community.lua:
{ import = "astrocommunity.completion.avante-nvim" },
{
"yetone/avante.nvim",
event = "VeryLazy",
opts = {
{
windows = {
---@type "right" | "left" | "top" | "bottom"
position = "right", -- the position of the sidebar
wrap = true, -- similar to vim.o.wrap
width = 40, -- default % based on available width
sidebar_header = {
align = "center", -- left, center, right for title
rounded = true,
},
},
},
},
},
Environment
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382
MacOS Sequoia
Repro
No response

Hey @aarnphm it seems like the AvanteBuild command was removed in 4c7ce2, was that intentional?

Oops this is my bad. let me revert it

I revert the change
probably want to stream the logs from stdout somehow with AvanteBuild

Thank you!

I am getting this error while using avante


Add backticks and quotes where appropriate in README.md

@NodeRedis/contributors please weight in for this.

It's a stylistic issue. We should be consistent in use of backticks when documentation, but I doubt that it creates any confusion as-is. I'm not crazy about using backticks in headings - it makes for strange reading.
The connection events section needs better documentation in general (something I've been thinking about tackling). Perhaps moving to the table style documentation for the client connection section (as we just did for the options object.

@jonathanp I agree with @stockholmux that the backticks in headings make it more difficult to read and that table style would likely be the best to go for. Would you be up to change this accordingly? :smiley:


Storage Explorer not working for uploads

Storage Explorer Version:
Build Number:
Platform/OS:
Architecture:
Regression From:
Bug Description

Steps to Reproduce

Expected Experience

Actual Experience

Additional Context

Hi @DavidASmithOTPP ,
Could please provide more information about your issue? What type of upload are you performing (e.g. blob upload, fileshare upload, etc.) ? Does Storage Explorer show any message in the Activity tab for the upload? Are you uploading from a local directory or some special directory (e.g. OneDrive)?
Thanks.

Closing due to lack of response.


set properly cargo:rustc-link-lib for mariadb

I run in an issue due mariadb recently, which inclusive a workaround is described on stackoverflow.
This patch of build.rs would solve my issue, but maybe approach of PR #2 is worthwhile.
diff --git a/build.rs b/build.rs
index 6b573bd..10f893e 100644
--- a/build.rs
+++ b/build.rs
@@ -24,13 +24,24 @@ fn main() {
     } else if cfg!(all(windows, target_env="msvc")) {
         println!("cargo:rustc-link-lib=static=mysqlclient");
     } else {
-        println!("cargo:rustc-link-lib=mysqlclient");
+        match mysql_config("--libs") {
+            Some(v) => {
+                if v.contains(" -lmariadb") {
+                    println!("cargo:rustc-link-lib=mariadb");
+                } else {
+                    println!("cargo:rustc-link-lib=mysqlclient");
+                }
+            },
+            None   => println!("nothing")
+        }
+
     }
 }

-fn mysql_config_variable(var_name: &str) -> Option<String> {
+fn mysql_config(option: &str) -> Option<String> {
+    println!("mysql_config {}", option);
     Command::new("mysql_config")
-        .arg(format!("--variable={}", var_name))
+        .arg(option)
         .output()
         .into_iter()
         .filter(|output| output.status.success())
@@ -39,6 +50,10 @@ fn mysql_config_variable(var_name: &str) -> Option<String> {
         .next()
 }

+fn mysql_config_variable(var_name: &str) -> Option<String> {
+    mysql_config(format!("--variable={}", var_name).as_str())
+}
+
 #[cfg(target_env = "msvc")]
 fn try_vcpkg() -> bool {
     vcpkg::find_package("libmysql").is_ok()

full output of mysql_config:
mysql_config
Usage: /nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/bin/mysql_config [OPTIONS]
Options:
        --cflags         [-I/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/include/mysql -I/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/include/mysql/mysql]
        --include        [-I/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/include/mysql -I/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/include/mysql/mysql]
        --libs           [-L/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/ -lmariadb]
        --libs_r         [-L/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/ -lmariadb]
        --plugindir      [/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/mysql/plugin]
        --socket         [/run/mysqld/mysqld.sock]
        --port           [3306]
        --version        [10.3.18]
        --libmysqld-libs [-L/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/mysql  -lmysqld]
        --variable=VAR   VAR is one of:
                pkgincludedir [/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/include/mysql]
                pkglibdir     [/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/mysql]
                plugindir     [/nix/store/p9qk6grnkmg96bvhyxix70wcb6bak7xx-mariadb-server-10.3.18-dev/lib/mysql/plugin]

For isntance to compile following C code I've to run gcc -Wall mysql-connect.c -lmariadb. Otherwise I get same exception I've faced with Rust.
#include "mysql/mysql.h"
#include "stdio.h"

#define DB_HOST         NULL
#define DB_USER        "root"
#define DB_PASSW       "test"
#define DB_NAME        "test"
#define DB_PORT        0
#define DB_UNIX_SOCKET NULL

int main( void ) {
   MYSQL mysql;
   mysql_init(&mysql);
   if (!mysql_real_connect(&mysql, NULL, DB_USER, DB_PASSW, DB_NAME, DB_PORT, DB_UNIX_SOCKET, 0)) {
      printf("Error: %s\n", mysql_error(&mysql));
   } else {
      printf("Connected to the server: %s\n", mysql_get_server_info(&mysql));
      mysql_close(&mysql);
   }
}

I'm not sure if it's the right way to allow linking against another library that is not libmysqlclient here, as the mariadb library will probably evolve into a different direction in the future. From that point of view it is probably a better solution to have a distinct crate for mariadb bindings (and also a distinct Connection type in diesel).

@weiznich, according to official MariaDB versus MySQL: Compatibility

MariaDB's client protocol is binary compatible with MySQL's client protocol.

That's the reason more and more Linux/Unix distributions going to replace mysql by mariadb. I hope mysqlclient-sys crate can support both back ends. At least for time being.

To be a bit overcautious here: Stating that the client protocol is binary compatible with the MySQL client protocol does not necessarily mean that API provided by the library implementing the client protocol is compatible. For example the changes mentioned in https://github.com/diesel-rs/diesel/issues/2373 are not available in the mariadb API yet as far as I'm aware. (That doesn't necessarily make the mariadb client lib incompatible with the mysqlclient lib, just to point out that there are differences.)
(That all does not necessarily mean we should not do this change, only that we should think about potential breakage.)
That said: I think something diesel should focus on after releasing 2.0 is replacing libpq (the postgres client lib) and libmysqlclient with native rust implementation as this would remove much of the linking issues that are constantly brought up at the issue tracker. (For the postgres side there is already https://github.com/diesel-rs/diesel/pull/2257, I think a similar implementation is also possible for mysql based on the mysql crate.

Implemented in #40


Optimizations to 'generator' and 'message'

This patch drops expensive work from 'render', and removes code from production builds that appears to only be needed in development.

Overall, very good change to process everything in setup on componentWillMount and componentWillReceiveProps instead of every render. Reviewing...

Great variable names and other improvements too.

@necolas I have left two comments, otherwise this change looks great!! Thank you

OK I've updated the patch to fix those issues. And I changed the formatMessage tests to run across both environments.

:+1: LGTM thanks @necolas

I plan to publish this as a patch release (no new functionality, but internal improvements). If you think this deserves a minor (perhaps due to substantial new improvements introduced within the internal code) let me know.

Patch sounds good. Thank you :)

LGTM too. Thanks @necolas!

This was applied in 1a9765f8ccdb9b0d871cd4189de79814da4d31c6 and 52b94232a0319f5f75bfe5abcbff8e91d693f507


Add support for the signal encryption protocol.

Is your feature request related to a problem? Please describe.
I use openPGP so now and then, but it is very cumbersome to use, since you need to share your public key with every person you want to be in contact with (and vica-versa).
That makes people not wanting to put the effort in it, to properly secure their private e-mails. Since it takes away too much time to exchange each others public keys.
The signal encryption protocol takes away this inconvenience, because it uses a more practical form of end-2-end encryption.
Describe the solution you'd like
I really love to see the signal encryption protocol being added to the application.
Describe alternatives you've considered
There are not very much alternatives, that take away the inconveniences that openPGP causes, while keeping the data secure.
Since the Signal encryption protocol is open source, very secure, and very easy to use; I think that every e-mail software should have this built in by default.
Have a nice day!
Dave

Email isn't really suited for the Signal protocol. It's not impossible to use the Signal protocol with email as transport, but it's certainly a lot of work.
I'm not convinced this is a good idea. Someone should build a prototype to find out. But K-9 Mail isn't a great platform to build such a prototype. And there are far more important things that will occupy our time in the foreseeable future.
While I'm not generally opposed to adding such a feature should it prove to be viable, I don't see any value in keeping this issue open.

I'd also say that Autocrypt pretty much targets this use-case already...


after display pdf in canvas, problem converting it to image

Hi. I want to convert, client-side, a pdf into a img. I show pdf into a canvas with pdf.js  Then, i convert canvas into image, with
var myimage = new Image();
myimage.src = canvas.toDataURL("img/png");
window.open(myimage.src);

but it creates only a full-white page. Don't write the canvas content.
But if i use same code to convert into a image a canvas not created by pdf.js  it works. So, i think the problem is related to canvas created by pdf.js
Have you any idea?
Thank you

img/png is not a valid MIME-type, try image/png instead. Also, how are you using PDF.js, in which browser, and using which PDF file?

Closing as incomplete. Adjust the MIME type first and then check whether you convert the canvas to an image strictly after it has been rendered, otherwise the canvas will be white. Since this does not appear to be a problem with PDF.js, but rather with a custom implementation, please use the mailing list for these types of issues instead unless you are certain that it is a problem in the PDF.js library.

Hi. I want to convert, client-side, a pdf into a img. I show pdf into a canvas with pdf.js Then, i convert canvas into image, with
var myimage = new Image();
myimage.src = canvas.toDataURL("img/png");
window.open(myimage.src);

but it creates only a full-white page. Don't write the canvas content.
But if i use same code to convert into a image a canvas not created by pdf.js it works. So, i think the problem is related to canvas created by pdf.js
Have you any idea?
Thank you

Hi bro, I got this requirement too, did you do it well?, I want to get the pdf into img src, so How can i get the data url,
or does the page.render has hooks to detect when to finished render?

Closing as incomplete. Adjust the MIME type first and then check whether you convert the canvas to an image strictly after it has been rendered, otherwise the canvas will be white. Since this does not appear to be a problem with PDF.js, but rather with a custom implementation, please use the mailing list for these types of issues instead unless you are certain that it is a problem in the PDF.js library.

Hi bro, is there any way to direct get the pdf data url into img src to render?
Until now, I can get the page, if render canvas to dataURL is unnecessary to me,
How can i get the data url
    const pdf = await pdfjs.getDocument(pdfFile).promise;     const page = await pdf.getPage(1);


DPI scaling is incorrectly determined on X11 Linux

This happens because it uses GLFW and GLFW currently retrieves content scale via "folklore heuristics" (their words) which do not really work: https://github.com/glfw/glfw/blob/b35641f4a3c62aa86a0b3c983d163bc0fe36026d/src/x11_init.c#L990-L1023
On X11 there's no unified way to do this. The best you could do in a fully arch-independent manner is to query RandR display DPI, but that's kind of a pain to do. An alternative is to look at GDK/Qt environment variables.

I've submitted https://github.com/ngscopeclient/scopehal-apps/pull/725 as an example of how to make DPI scaling determination work pretty okay on X11 Linux, but it still needs to be tested on Wayland Linux, Windows, and macOS.

Scaling also seems to be completely broken on Wayland.
I am not sure if cause is also GLFW

I have a hack (temporary "solution")  that might help some people.
It does seem to at least fix cursor alignment to buttons and to render with reasonable resolution
gamescope -W 1440 -H 900 -r 60 -- ngscopeclient

I have the same issue on wayland (sway).
gamescope also does not work because of an issue with my intel integrated GPU.
As a workaround I use Xwayland using XDG_SESSION_TYPE=x11.
This works fine for me but I am using the default scale of 1 / DPI of 96.


Improve JTAG software (UrJTAG, openFPGAloader) documentation

Added references to both UrJTAG and openFPGAloader in the README
Added a page for openFPGAloader
Updated UrJTAG page

I think you made a mistake in thé openfpgaloader release version, using v1.0 or v0.1.

Good catch! Fixed.


Completion of error handling

Would you like to add more error handling for return values from functions like the following?

malloc ⇒ read_from_file
strdup ⇒ sidmat_init

Fixed, thank you.
BTW, due to overcommit in Linux checking result of *alloc() functions is almost useless. More likely you will get segfault when accessing "succesfully" allocated memory.
I'm not advocating my inaccurate code, of course


Error message on install

I get the following error on install. Is this something to worry about as it does say Dependencies updated!
Adding packages: erin-dalzell/mailchimp
Please wait while dependencies are updated via Composer. This may take a while.
The command "php composer.phar update erin-dalzell/mailchimp --prefer-dist --no-dev --optimize-autoloader" failed.
Exit Code: 137(Kill (terminate immediately))
Output:
Error Output:
Loading composer repositories with package information
Updating dependencies
Killed
Dependencies updated!

What's the error?

The command "php composer.phar update erin-dalzell/mailchimp --prefer-dist --no-dev --optimize-autoloader" failed.
Exit Code: 137(Kill (terminate immediately))

The command "php composer.phar update erin-dalzell/mailchimp --prefer-dist --no-dev --optimize-autoloader" failed.
Exit Code: 137(Kill (terminate immediately))

Ya that's not to do with me. Are you trying that on production, or is this locally?

Thanks. It was some issue on the production server. Was in the process of moving servers and works fine on the new forge server, so i don't know what the problem was on the old server.


Uncaught TypeError: Cannot read property 'dataTransfer' of undefined

Hi, i have this error in Chrome.
Can u help me?

I also meet this issue, what is happen on this issue? but the offlical ui demo don't have this issue.

I copy this http://logicbomb.github.io/ng-directives/script/lvl-drag-drop.js code and run it my local enviroment and it is Okey.


Updated README.md for the latest version of Fiji

Updated the README file with instructions regarding how to open the Labkit plugin for Fiji

Thanks for the PR!


Several small fixes

With these changes the first 7 Souffle tests pass when bundled together as modules.

@mbudiu-vmw, I am still seeing a conflict. Please merge this if you are able to.


220721 add select to insert path

Codecov Report

Merging #57 (d1dfe55) into version/0.14.0 (0fe2f9e) will decrease coverage by 0.19%.
The diff coverage is 94.33%.

@@                Coverage Diff                 @@
##           version/0.14.0      #57      +/-   ##
==================================================
- Coverage           95.70%   95.50%   -0.20%
==================================================
  Files                  33       32       -1
  Lines                3051     3205     +154
  Branches              689      710      +21
==================================================
+ Hits                 2920     3061     +141
- Misses                129      142      +13
  Partials                2        2

Impacted Files
Coverage Δ

src/steps/OnStep.ts
97.77% <75.00%> (-2.23%)
:arrow_down:

src/steps/SelectWhereStep.ts
97.14% <87.50%> (-2.86%)
:arrow_down:

src/singletoneConstants.ts
93.10% <91.66%> (-0.55%)
:arrow_down:

src/steps/Step.ts
98.41% <93.33%> (-0.56%)
:arrow_down:

src/steps/BaseStep.ts
96.90% <95.34%> (-1.33%)
:arrow_down:

src/builder.ts
100.00% <100.00%> (ø)

src/columns.ts
96.37% <100.00%> (+0.03%)
:arrow_up:

src/errors.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

src/steps/IntoStep.ts
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Issue while saving model for Entity Embedding Initialization

Hello.. I was trying to run your repository for UMLS.
I am facing few issues:

I had you git cloned 3 weeks back and the entity embedding part was fine and the I tried to execute Entity Prediction but I has issue for tex_d missing from convert_examples_to_features function.  From the reading https://github.com/zjunlp/Relphormer/issues/5 I thought of updating the repo on my end.
Now I have updated I am not able to save the model in Entity Embedding Initialization where bash scripts/pretrain_umls.sh is not saming the best model. The variable path desn't have the location to save.
Also when I found the three files features_train.txt features_tvalid.txt and features_test.txt empty for me during this experiment with umls.

Can you please help me with the it and let me know the best way to run your repo for UMLS. My goal is to try it for link prediction for UMLS. Thank you for your repo.

Hi Bhardwaj, sorry for the convenience. We have noticed this problem, it was by caused by the data module in the pre-training project. We will fix this problem and upload a new version soon.

Hi, we have also released the new version, have a try.

Thank you, I will re-load the new version and try to run it. :)

Hello @bizhen46766  thank you for your quick responce and helped me to re-run it end to end.
I am now planning to re-run it on a new knowledge graph.


Resolve and compile refs when inventory is cached

Signed-off-by: Trevor Wood<EMAIL_ADDRESS>Fixes issue #341.
Proposed Changes

Resolves and compiles all refs when the inventory is cached rather than doing a find and replace in the final compiled files.

@googlebot I signed it!

I realized this change would not work in all use cases, e.g., when compiling only a specific of targets for which you have access to decrypt the secrets. I'll push the necessary changes to fix this use case soon.

I tested this branch locally with some templates/inventory we use internally for infrastructure. I just run kapitan compile and it fails to resolve the following from a class in the inventory:
.....
  some_secret: ?{gpg:common/some_key}
.....

I get Could not find ref: ?{gpg:common/some_key} as the only output.
Is it maybe unable to find a cached version of the reference?

I also tested just revealing an existing secret:
~/code/kapitan/bin/kapitan refs --reveal -f ./compiled/my_target_name/manifests/my_component_configmap.yml
Traceback (most recent call last):
  File "~/code/kapitan/kapitan/cli.py", line 539, in ref_reveal
    for rev_obj in revealer.reveal_path(file_name):
  File "~/code/kapitan/kapitan/refs/base.py", line 170, in reveal_path
    content, content_type = self._reveal_file(path)
  File "~/code/kapitan/kapitan/refs/base.py", line 194, in _reveal_file
    rev_obj = self.reveal_obj(obj)
  File "~/code/kapitan/kapitan/refs/base.py", line 332, in reveal_obj
    obj = [self.reveal_obj(item) for item in obj]
  File "~/code/kapitan/kapitan/refs/base.py", line 332, in <listcomp>
    obj = [self.reveal_obj(item) for item in obj]
  File "~/code/kapitan/kapitan/refs/base.py", line 330, in reveal_obj
    obj[k] = self.reveal_obj(v)
  File "~/code/kapitan/kapitan/refs/base.py", line 330, in reveal_obj
    obj[k] = self.reveal_obj(v)
  File "~/code/kapitan/kapitan/refs/base.py", line 334, in reveal_obj
    obj = self.regex.sub(self._reveal_replace_match, obj)
  File "~/code/kapitan/kapitan/refs/base.py", line 239, in _reveal_replace_match
    return self._reveal_tag_without_subvar(tag)
  File "~/code/kapitan/kapitan/refs/base.py", line 258, in _reveal_tag_without_subvar
    ref = self.ref_controller[tag_without_subvar]
  File "~/code/kapitan/kapitan/refs/base.py", line 491, in __getitem__
    ref = self._get_from_token(token)
  File "~/code/kapitan/kapitan/refs/base.py", line 445, in _get_from_token
    ref = backend[path]
  File "~/code/kapitan/kapitan/refs/base.py", line 128, in __getitem__
    raise KeyError(ref_path)
KeyError: 'targets/my_target_name/my_component/some_secret'

I also tested on a target with only one secret in a template (jinja2) and just re-compiled that target without changing anything else and after this PR, it removed the hash from the secret in the output files.
compiled line before:
`+export SOMETHING="$(echo -n '?{gkms:common/some_secret:41452404}' | kapitan secrets --reveal -f -)"
compiled line after:
`+export SOMETHING="$(echo -n '?{gkms:common/some_secret}' | kapitan secrets --reveal -f -)"

I hope these outputs help in debugging this a bit. :+1:

Thank you for testing! I had been basing most of my assumptions on the functionality of the changes that the tests were passing without any modifications. I'll do some additional "real world" testing myself over the weekend to try and hammer out any remaining bugs. I'll also try and see if we can further harden the test suite to detect drifts in functionality better going forward.

I've tried to recreate the errors @uberspot, but unfortunately I am unable to do so. I was only able to recreate the error when the refs directory did not exist. Otherwise, I always experience the expected behavior, i.e., the refs are either compiled or revealed.

Could it be due to caching? When i tried i hadn't compiled that project before so it could be related(?). Could you try in a container or another machine in case it's that?

@uberspot I've rebased the change with the latest upstream changes. However, I still have yet to reproduce the error you posted and have been using the changes internally for several weeks now without issue.

@uberspot I've rebased the change with the latest upstream changes. However, I still have yet to reproduce the error you posted and have been using the changes internally for several weeks now without issue.

Have you been using GKMS when testing?
I checked out this branch again, ran it in our repo and it worked.
Then I deleted one of the refs for a target, which should re-generate the ref when compiling.
I ran ~/my_kapitan_dir/kapitan/bin/kapitan compile -t <my_target> and got Could not create GoogleKMSSecret: target_name missing
I also tested with two different targets and fails the same way.


Fix skeleton_role tasks to use fqcn debug module

Tasks in skeleton_role contains debug module action. To fix ansible-lint fqcn violation change debug action to fqcn module.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/approve
/lgtm


Fedora IoT 39 iso installation error: boot loader install failed

Describe the bug
boot loader install failed while trying to install Fedora-IoT-ostree-x86_64-39-20231026.0.iso using GNOME Boxes.
To Reproduce

Download Fedora-IoT-ostree-x86_64-39-20231026.0.iso
Select the iso in Boxes
Add user, select disk (default), and after the installation starts the error will show up.

Expected behavior
Fedora is installed
Screenshots

OS version:
Not applicable.
Additional context
Add any other context about the problem here.

If you select to ignore the error and continue with the installation, it installs the image, asks for a reboot and then it hangs in the following screen:

You'll need to break into one of the  terminals during the initial install via Ctrl+Alt+F2 and grab some logs from /tmp
Not sure exactly which logs have the error...


01b Tokens

Categorising tokens
We have a list of tokens, each represented as a string. This is a start, but it won't be very much help to us in the next phase of massaging meaning out of this string of tokens.
For a start, what is a DECLARE? What is i? What does the \n do? It's hard to know when we treat all tokens as being the same.
Let's categorise our tokens. Instead of a simple string, let's add some categorical information about each token. For a start, let's:

identify whether it is a keyword (including symbols), integer, string, or name
if it's an integer or string, convert it to an appropriate Python value for easier use later.

Token types [aa5af6309778059bd7350fccf88a04cbf93214b0]
Make a list of valid tokens to check against.

Representing tokens
We'll store each token as a Python dict, to hold this information. Each token will have the following keys:

'type': represents the token's type (keyword, integer, string, name, eol)
'word': represents how the token is represented in the source code. (This is what we scanned earlier.)
'value': An appropriate Python representation of the token, if it is of integer or string type.

This looks potentially repetitive, so let's make a helper function: [701e5a6a8138a1a694c2de89abeccd0c6c9c7e47]

Using makeToken()
Update scan() to use the helper function and represent tokens as dicts: [7b7928da5e674eff904b347722d6663be0bf63e1]

Custom errors: ParseError
It is good practice when writing your own programs to include your own custom errors. The usefulness of this will become clearer once we "graduate" from scanning and parsing, to writing the entire program.
We make our own ParseError:
https://github.com/nyjc-computing/pseudo/blob/11e11dc1211c33a49ec8898ea4061d8b86ffa40a/scanner.py#L3
And then raise it when we find an unrecognised character:
https://github.com/nyjc-computing/pseudo/blob/11e11dc1211c33a49ec8898ea4061d8b86ffa40a/scanner.py#L108-L109


Bump Chromedriver Version

Bump Chromedriver version '98.0.4758.102' -> '99.0.4844.51'.

Codecov Report

Merging #31 (e510596) into main (f687b9b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           80        80
  Branches         6         6
=========================================
  Hits            80        80

Continue to review full report at Codecov.

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


the screen intermittently freezes for 3-20 sec about half a dozen times a day

It's hard to say what exactly triggers the freezes, it appears to be random.
By deleting apps one by one I've determined skhd to be the culprit. Any idea what can cause this?

No clue, sorry. I've been using skhd (and other software using the same APIs) for like 4years and never seen this.

Thanks for your reply. It started freezing when skhd is not running, something else must be going on :(


[Royce] Add SystemTests for Event methods

Coverage remained the same at 81.538% when pulling c826f487bca8972810828ab42927023cc1be4d55 on royceljh:EventSystemTest into 3feb9f92c906c0ec59bc848cebeda1c929e30d3d on CS2103AUG2017-T11-B1:master.


The react/hook-use-state is not published

Whilst updating my lint rules I keep getting:
1:1  error  Definition for rule 'react/hook-use-state' was not found  react/hook-use-state

After a little debugging, I couldn't find the rule in my node_modules in either lib/rules or in index.js.
You can checkout the issue on RunKit: https://npm.runkit.com/eslint-plugin-react/index.js?t=1642168840850. Notice that hook-use-state cannot be found.
UPDATE: I cloned the repo and yarn pack seems fine.

Oh ok, it seems that it is intentionally not released yet: https://github.com/yannickcr/eslint-plugin-react/blob/4f541088c0910a7093b85d565fa28debeea48169/CHANGELOG.md
I'm not sure if this is a common occurrence but either excluding the rule in the README or adding a flag/comment could be nice.


[WFCORE-6310] Upgrade Byteman to 4.0.21

https://issues.redhat.com/browse/WFCORE-6310

Thanks @ropalka


Service doesn't register to etcd when recovered from network problem or restarting etcd.

使用etcd作为注册中心时,如果中间出现网络问题(或者etcd重启)，服务不能重新注册到注册中心

What's the version of you go-zero?
We've done the fault drill with service discovery. And please check if your ETCD is fully recovered.


Update konar-milestone-reminder - WGS masters fix again

is there potential for an infinite loop here if the user sets chatMessageText such that it matches streakPattern: https://github.com/michael-gutman/konar-milestone-reminder/blob/414d30ee6cf44ef6fb7855d7bcbf7f7bec08f50a/src/main/java/com/konarreminder/KonarReminderPlugin.java#L251

is there potential for an infinite loop here if the user sets chatMessageText such that it matches streakPattern: https://github.com/michael-gutman/konar-milestone-reminder/blob/414d30ee6cf44ef6fb7855d7bcbf7f7bec08f50a/src/main/java/com/konarreminder/KonarReminderPlugin.java#L251

Great catch, thank you!


app.js not found

Bug report

Describe the bug
app.js not found on production, works just fine on locally machine. Very weird.
To Reproduce
Steps to reproduce the behavior:

Go to TOP-5.IN

System information

Version of Next.js: 2.4.0

Version of Next.js: 2.4.0

The latest version of Next.js is 6.0.3. Any issues you're having on 2.4.0 will be fixed in the latest version of Next.js.


Errors importing data from a csv file with Unicode decoding: Any Ideas?

Hey everyone, so I finally have gotten past some erros encoding my data in a csv to Unicode so that my data can be scored. I am using the score-texts-emoji file in examples to try and attempt this.
Now I am getting problems decoding bytes within my file and I was wondering what the soution might be for this and if anyone has run into this problem. Here is what my code looks like :
TEST_SENTENCES = []
with open('Cleaned_Data3.csv', 'rU') as csvfile:
    reader = csv.DictReader(csvfile)
    for row in reader:
        TEST_SENTENCES.append(row["Tweet"])
    try:
        [x.encode('utf-8') for x in TEST_SENTENCES]
    except:
        for rows in TEST_SENTENCES: #attempt to fix the problem
            str=unicode(str, errors='replace')

Damn, that's really frustrating. Unicode can sadly be a mess and I might not the best to guide you on that.
One solution is to use something like unidecode on each of the sentences and then remove sentences that are empty (make sure you use .strip() to disregard whitespace). Once you have this cleaned set of sentences without any unicode, you should be able to use DeepMoji without any issues!

Please feel free to reopen the issue if you're still having problems.


docs(README): add instructions for debugging

Signed-off-by: Aman Sharma<EMAIL_ADDRESS>@DianaLease or @irmerk , could anyone of you please add instructions for debugging on Mac?

I'm not finding much useful information on a developer tool path aside from the built in Visual Basic one in Word, @DianaLease?

@irmerk @algomaster99 This link worked for me to use the Safari console for debugging.

@DianaLease maybe you could add the Mac specific content? I can't get that guide to work.

@DianaLease maybe you could add the Mac specific content? I can't get that guide to work.

Sure, let's merge this and then I'll put in a separate PR


dif/2 incomplete

?- A=A*[],B=C*[],C=C*a,dif(A,B).
   false, unexpected, incomplete.

unsigned g_max_depth = 6000;

What does this mean? Does it mean that you are not going to detect cycles that are larger?

It's default C call stack depth. On Linux systems it typically comes out
somewhat above 6K. The code in unify.c needs working on sometime.
On Thu, Nov 30, 2023 at 9:05 PM UWN @.***> wrote:

unsigned g_max_depth = 6000;
What does this mean? Does it mean that you are not going to detect cycles
that are larger?
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/410#issuecomment-1833542809,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSER6ZXHWMEUECTMOWATYHBR77AVCNFSM6AAAAABAA3VP7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGU2DEOBQHE
.
You are receiving this because you commented.Message ID:
@.***>

But if you reach such a limit you should produce a clean resource error, I did not see such code at least in proximity of the diff.