I encounter some bug when  run "python main.py"

1、syntax error in ENHANCEMENT.py in  line 28.  "self.dom_weight = args.dom_weight" .When I change to "  self.dom_weight =args.atten_weight",there is no error.
2、After fixed bug of question1,when I test use pre-trained LOL model,It seems no effect on image with light from LED data.Why this happens?Is this pre training model not the model in the paper？

1、syntax error in ENHANCEMENT.py in line 28. "self.dom_weight = args.dom_weight" .When I change to " self.dom_weight =args.atten_weight",there is no error. 2、After fixed bug of question1,when I test use pre-trained LOL model,It seems no effect on image with light from LED data.Why this happens?Is this pre training model not the model in the paper？

Hello, I see that you are also studying this aspect. I am also studying the topic in this direction recently. Can you add friends and discuss with each other?
My email is<EMAIL_ADDRESS>Please forgive me for interrupting

1、syntax error in ENHANCEMENT.py in line 28. "self.dom_weight = args.dom_weight" .When I change to " self.dom_weight =args.atten_weight",there is no error. 2、After fixed bug of question1,when I test use pre-trained LOL model,It seems no effect on image with light from LED data.Why this happens?Is this pre training model not the model in the paper？

a small and fixed bug
There are two tasks in our paper, one is the low-light enhancement (LOL), and another one is light-effects suppression (LED data), these two are different training data and checkpoints.

1、syntax error in ENHANCEMENT.py in line 28. "self.dom_weight = args.dom_weight" .When I change to " self.dom_weight =args.atten_weight",there is no error. 2、After fixed bug of question1,when I test use pre-trained LOL model,It seems no effect on image with light from LED data.Why this happens?Is this pre training model not the model in the paper？

a small and fixed bug
There are two tasks in our paper, one is the low-light enhancement (LOL), and another one is light-effects suppression (LED data), these two are different training data and checkpoints.

Thank you very much.As you said,When get Light-Effects Suppression Results,you should run "python demo.py",but  I find no demo.py.Is this file no upload?thanks

1、ENHANCEMENT.py第28行语法错误。“self.dom_weight = args.dom_weight”。当我改为“self.dom_weight =args.atten_weight”时，没有错误。2、修复问题1的bug后，当我使用预训练的LOL模型进行测试时，从LED数据来看，似乎对图像没有影响。为什么会出现这种情况？这个预训练模型不是论文中的模型吗？

一个小而固定的错误
我们的论文中有两个任务，一个是低光增强（LOL），另一个是光效抑制（LED数据），这两个是不同的训练数据和检查点。

Hello, I happened to see that you are also paying attention to some underlying image processing work such as light suppression. I am also studying this direction at present. Can I add a contact information to explore each other
My email is<EMAIL_ADDRESS>Please forgive me for interrupting.
I look forward to your reply


[proposal-options] Added CSS rules to make 'already voted' message match...

... voting buttons. Closes #191

We'll leave this approach for a future desing effort


Cannot zoom 100% vertically

You can easily zoom horizontally, but it's not possible to fill the screen vertically.

Hi @naftaly! This is by design -- can you explain what your use case is? You can zoom out the entire interface using browser zoom (switch to the URL bar and hit cmd/ctrl-+)

I’ll have to try the browser zoom with the tool. It just seems like I should be able to adjust the zoom rectangle in the track to show everything, no special use case other than simply using the tool and expecting to to be possible.

Gotcha -- I'm going to close this for now since this is expected behavior


feat(editor): open tooltip on hotkey ctrl+m

Pop tooltip for current source under cursor using ctrl/cmd+m. Hotkey chosen arbitrarily as one that didn't have a binding in Chrome.

Did you manage to fix the styling issue?

Yep. The hover tooltip was putting all of its tooltips in a container div while the regular tooltip does not. We just needed to change a class name to style the right div

bors r+


Disable URL caching to always get the latest data from GitHub (comments, statuses)

The default NSURLSession's configuration respects GitHub's response TTL, which is up to 60 seconds. However, if we want to sync more often (GitHub's authenticated rate limit is 5000 requests per hour, which is plenty to make Buildasaur very responsive to the team's workflow, when the sync interval is lower, cca 15sec), currently we get the same, cached response for ~4 more syncs, leading to duplicate comments etc. We need to disable the cache to always get the uncached state of the PR (status and comments, most importantly)

Fixed in 23d13de3a628ce465b19e3b5ccf44ce345863e06


Changing permissions on a file or folder does not work in orbstack docker

Describe the bug
Whenever I have code that runs chown against a file/folder that is in a volume mount, this doesn't do anything in Orbstack Docker, but in Docker Desktop, the file permissions in the container do change (the host ones do not, which is fine). This causes the Dokku Devcontainer setup to fail because we change permissions all over the place to ensure the correct user owns dokku-related files on disk.
To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/dokku/dokku
Open it in VSCode
Open the folder in a devcontainer
In a vscode terminal, run dokku apps:create test to see the failure

Alternatively:

Clone https://github.com/dokku/dokku
Open it in VSCode
Open the folder in a devcontainer
In a vscode terminal, run mkdir -p /var/lib/dokku/config/apps/test && chown dokku:dokku /var/lib/dokku/config/apps/test
Run ls -lah /var/lib/dokku/config/apps/test

Expected behavior
The command should succeed, but instead I get an error from the chown.
If you tried to create the folder manually and set perms, you'll see that the perms aren't dokku:dokku but root:root.
Screenshots
Logs
vmgr.log
Info report
OrbStack info:
  Version: 0.12.0 (120000)
  Commit: 6e3826111e0aedbe7f5b3b8a1a12c969ba087ccd (v0.12.0)

System info:
  macOS: 13.4 (22F66)
  CPU: arm64, 10 cores
  CPU model: Apple M1 Pro

Additional context
This works fine in Docker Desktop docker, though the permissions on the host stay the same as they do in orbstack.

Fixed for the next version. This generally works, but Dokku was triggering a race condition that caused it to fail.

Fix released in v0.14.0. Sorry, this release was in testing for much longer than expected and bug fixes also got held up.

I'm not sure if this is a regression or a new issue, however I'm seeing the same thing on the latest release
docker run -it -v $PWD:/app -w /app --entrypoint sh node:21-alpine
/app # mkdir temp
/app # chown -R node:node /app/temp
/app # ls -al
drwxr-xr-x    2 root     root            64 Mar 23 00:11 temp

@mattfysh OrbStack supports permissions but we've never supported setting owners. It will work with your real app because the owner always appears to be the user it's running as, i.e. node.


Rename this repo

I don't like the name. Especially since I think we should merge in the unit system stuff from galax.units.
Ideas:

jux
ujax
unitx
~unix~ (taken on PyPI)
...

Ping @adrn @jnibauer

What about "meaxure" ?


error Couldn't find package "@timer/detect-port" on the "npm" registry

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes
Many errors, especially related to "missing modules", are due to npm bugs.
If you're using Windows, follow these instructions to update npm.
If you're using OS X or Linux, run this to update npm:
npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Then try to reproduce the issue again.
Can you still reproduce it?
Yes
Description
create-react-app my-project
Creating a new React app in /Users/z013mrq/my-project.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.23.4
info No lockfile found.
[1/4] 🔍  Resolving packages...
error Couldn't find package "@timer/detect-port" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts has failed.

Deleting generated file... package.json
Deleting my-project / from /Users/z013mrq
Done.

What are you reporting?
Expected behavior
Tell us what you think should happen.
Actual behavior
Tell us what actually happens.
Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected):
node -v:
npm -v:

Then, specify:

Operating system:
Browser and version:

Reproducible Demo
Please take the time to create a new app that reproduces the issue.
Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.
(Accidentally, you might get to the root of your problem during that process.)
Push to GitHub and paste the link here.
By doing this, you're helping the Create React App contributors a big time!
Demonstrable issues gets fixed faster.

Are you using a registry mirror by chance?

@Timer we have a private npm registry as well. What do mean by registry mirror ? I have some entry in global .npmrc

Are you using sinopia? It seems they don't support scoped packages: https://github.com/rlidwka/sinopia/issues/278

Many ways you can solve this issue in your local machine.
One of the easy solution :
Problem here is create-reat-app is looking for package "@timer/detect-port" on the "npm" registry  but package doesn't exist.
when you do create-reat-app  my-project
yarn will go and search for packages from of npm registry (userconfig registry=xxxx)
First thing you should do is check which npm registry it points to
npm config list -l
There will be multiple registry at global level , user level etc ...
; userconfig xxx
registry = "https://registry.npmjs.org/"

; globalconfig xxxx
registry = "https://registry.npmjs.org/"

Now if user level registry point to your private npm registry make sure it contains dependency.
or you can change it to npm's default registry to https://registry.npmjs.org
I ran into this issue while playing with it today.
I use private npm registry so change it to default npm one and it resolved this particular issue.

@nikunjchapadia can you explain this,
Now if user level registry point to your private npm registry make sure it contains dependency

If you are using your private npm registry, it must contains "@timer/detect-port" package else it will not able to find there to download it.

I think this is duplicated with #2268

I run into the same problem here on windows.
Here is my configuration

windows7 64bit
nodejs 6.10.1
npm 3.10.10
registry in user/global config : npmjs

I initally had a private registry (nexus) configured that maybe led to this error. But i then modified my npm config to point to the npmjs registry, with no luck.

I'm closing because there's nothing actionable for us here. The problem is with the npm registry you are using (either a private registry or an unofficial mirror). Please make sure your npm registry supports scoped packages, or use the official npm registry.

Actually, like i explained i initially had a private registry configured, but then changed my config to npmjs, so i'm not sure this is only related to the fact that we use private registries...
Is there a way to keep the npm-debug.log file after create-react-app failed command ?

I had the same issue and fixed it by running npm install -g npm@latest and upgrading npm from 3.10.10 to 4.6.1. I'm on Ubuntu 16.04, but otherwise had the same configuration as @ricovitch.

Is there a way to keep the npm-debug.log file after create-react-app failed command ?

No but we’ll happily take a PR that implements it.

I am having same issue with nodejs: 0.10.25 with npm: 1.3.10.  I am actually new to React.

npm 1.x is not supported (this is a very old version).
Please update at least to npm 3.

Node 0.10 is not supported either. As the README mentions, Create React App works with Node 6 and higher.

Thanks @gaearon after upgrading nodejs 7.10.0 and npm 4.2.0 this issue got fixed.

I had the same problem today with node v6.10.2.
`npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "--save-exact" "react" "react-dom" "react-scripts"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! Invalid name: "@timer/detect-port"`
I can confirm that running npm install -g npm@latest fixes the problem.

thenks @kenmansour! thats exactly what I needed.

I am using a private npm registry and came across the same issue. I understand that this is not CRA issue.
My workaround is to bypass my private registry for this package alone.
npm config set @timer:registry https://registry.npmjs.org/
Hope this helps for others who have a similar issue.

workaround from @prasann works. Alternative solution is to create a .npmrc file in the projects root directory and add the following line:
@timer:registry https://registry.npmjs.org/
this way it will be available for all devs working on that project.

I agree that there is a workaround available. But the expectation with create-react-app is so high that any installation issue seems wrong to me. We should try to get rid of scoped packages at least at level 1

We'll get a fix out in a few days, but again, we're using a completely supported npm feature. It is your decision to use npm registries and proxies. I respect that you might need them, but please give us time to roll out an update that works around it.

Fixed in 1.0.8. Please verify.
https://github.com/facebookincubator/create-react-app/releases/tag/v1.0.8

npm logout helped

I am using a private npm registry and came across the same issue. I understand that this is not CRA issue.
My workaround is to bypass my private registry for this package alone.
npm config set @timer:registry https://registry.npmjs.org/
Hope this helps for others who have a similar issue.

Thanks much. This solved by problem


Back-off pulling image "registry.ci.openshift.org/origin/4.9-2022-02-17-165123@sha256:829abbb76b94c505fc22336f45f66d53d96d76c79a4c302290c87a6bf139396f"

I installed a cluster with the version 4.9-2022-02-17-165123 but now i'm getting a ton of these in the event logs for critical pods:
Back-off pulling image "registry.ci.openshift.org/origin/4.9-2022-02-17-165123@sha256:829abbb76b94c505fc22336f45f66d53d96d76c79a4c302290c87a6bf139396f"
Looking at the okd releases page, i dont even see this release in there anymore.
How can i get this cluster stable again?  Can i go back to the latest 4.9 stable that is still on the releases page (4.9.0-0.okd-2022-02-12-140851)?  Or would going backwards like that tragically break this cluster?
Would i just update the 'desired' image and version in ClusterVersion to the older release that still exists?
                "desired": {
                    "image": "registry.ci.openshift.org/origin/release@sha256:564d16aff06cb12d827cce6d0f08bdaa1a619316edfd6700b8ed989ebf6b3916",
                    "version": "4.9.0-0.okd-2022-02-17-165123"
                },
                "history": [
                    {
                        "completionTime": "2022-02-19T13:00:59Z",
                        "image": "registry.ci.openshift.org/origin/release@sha256:564d16aff06cb12d827cce6d0f08bdaa1a619316edfd6700b8ed989ebf6b3916",
                        "startedTime": "2022-02-19T12:33:23Z",
                        "state": "Completed",
                        "verified": false,
                        "version": "4.9.0-0.okd-2022-02-17-165123"
                    }
                ],

See https://github.com/openshift/okd#getting-started

Please note that each nightly release is pruned after 72 hours

In case anyone else runs into this (deployed a connected cluster on a nightly build and then the upstream image gets purged after 72 hours) you can run this command to shift the install to a GA release instead of the nightly (it performs an 'upgrade' to the GA release)
oc adm upgrade --allow-explicit-upgrade --to-image registry.ci.openshift.org/origin/release@sha256:72e4a15592c5e20c1a663ac6d633b218e14e232c5ee0200c7c9f5f1b8a15caf6


required key not provided @ data['availableServices']

Hi,
I had raised this in the other thread however that was probably a mistake as I think this is a new issue?
Please let me know what more information you need, as I'd really love to get this working again. Thanks.
2023-03-06 20:26:40.693 WARNING (SyncWorker_48) [pybotvac.robot] Invalid response from https://nucleo.ksecosys.com/vendors/vorwerk/robots/###########/messages: required key not provided @ data['availableServices']. Got: {'version': 1, 'reqId': '1', 'result': 'ko', 'error': 'ui_alert_invalid'}
I've a relatively up to date HASS Core version (2023.2.5) , and running Python 3.10 on Bullseye (under venv), however think it wasn't working a little before that, I've only just tried to get it going again after a while of previously working.
I've reloaded the integration 2 -3 times, no joy, and I removed the device from the App, and re-installed it there with a new name. redid the HASS integration and still get the same issue as above. So yes, sounds like the API has been changed,
I have a VR200, and whilst it gets status updates ok, like battery life, I can't issue commands, I get the error above.
Originally posted by @buzz-b in https://github.com/trunneml/homeassistant-vorwerk/issues/18#issuecomment-1456062783
same error as @bhuebschen, as noted in other issue on the 22nd Dec.

Sorry, I replaced my robot (VR200). So it is hard to help you. The integration worked for me without a problem until September.
What I can tell you for the error is that the integration could talk to the vorwerk api, but that API returned an error.


Enable profiling build

It would be nice to enable profiling, as it enables some useful features for debugging
With nix, it should be as easy as adding a boolean parameter to the build and setting up the environment if it's set to true. With stack, you can do stack build --profile, but It fails as the dependencies are not properly configured.

See Debugging In Haskell's wiki

You need to set up the dependencies correctly, that is not something I have control over.


[SAGE_1147] Creation Wizard Product Selection

Description
Adds the creation wizard to the mocks page and the product selection portion.
Screenshots

Testing in sage-lib

Navigate to http://localhost:4000/pages/mocks
Click on the creation wizard option
Verify product selection looks and works as expected.

Testing in kajabi-products
N/A
Related
https://github.com/Kajabi/sage-lib/issues/1147

Some notes for potential tasking/discussion:

@philschanely I don't believe any of these items should hold up this PR being merged? If possible, I'd like to get this one in so I can continue with the additional dropdowns. Let me know and I am happy to create any follow-up PRs as needed. Just let me know.
I'll also coordinate with Quinton as I know he would like to add to this mock as well.

@pixelflips Yes; but please add a comment in the custom styles noting that we expect some if not all of these to be incorporated into components for the final release as a heads up to any engineers who begin working on this. We should also probably duplicate this setup in React but that could be done in a follow up if you prefer so this is not holding back other mocks.

some if not all of these to be incorporated into components for the final release

@philschanely Sounds good. I'll add the notes within the stylesheet and I'll reach out regarding a follow-up for the react version. Appreciate all the direction and help!


Algebras should imply both left and right actions

TL;DR: we need an instance from Algebra R A to Module Rᵐᵒᵖ A, and it needs to not create diamonds.
The problem
Mathematically, an $R$-algebra $A$ ([CommSemiring R] [Semiring A] [Algebra R A]) has an obvious action by the commutative $R$. If pushed, we can say that it has obvious left- and right- actions, corresponding to $(r : A)a$ and $a(r : A)$.
However, we can't (and don't) implement things this way in Lean; if we do so, then we end up with instance diamonds, where r • a from some prexisting module structure is not equal to the one defined via the algebra as algebraMap R A r * a.
We've already solved this for left actions; we did this by:

Making Algebra extend SMul
Adding Algebra.smul_def to prove that these operations coincide propositionally.
Adding Algebra.toModule which provides the rest of the algebraic structure, but constructs no new data.

However, mathlib now also has various results about right actions (written Module Rᵐᵒᵖ A), specially left- and right- actions that are compatible in some way. One example is:
instance TrivSqZeroExt.monoid
  {R : Type u} {M : Type v}
  [Monoid R] [AddMonoid M]
  -- M is acted on by `R` on both the left and the right, and the actions associate:
  -- $(r_1 m) r_2 = r_1 (m r_2)$
  [DistribMulAction R M] [DistribMulAction Rᵐᵒᵖ M] [SMulCommClass R Rᵐᵒᵖ M] :
  Monoid (TrivSqZeroExt R M)

This presents a difficulty; this instance can't be applied when M is an Algebra, as there is no instance from Algebra R A to Module Rᵐᵒᵖ A.
Another notable example is Derivation, which if generalized in the same way (as in https://github.com/leanprover-community/mathlib/pull/18936) would cease to be usable on commutative rings.
The solution
A solution to this was attempted in Lean3 at https://github.com/leanprover-community/mathlib/pull/10716.
The summary is that Algebra needs to gain:

A SMul Rᵐᵒᵖ A field, to provide the new data needed to make things diamond free
An Algebra.op_smul_def' x r : op r • x = x * toFun r proof field that shows this is consistent with multiplication
Adding an instance Algebra.toOppositeModule which provides the rest of the algebraic structure, but constructs no new data.
Adding an instance Algebra.isCentralScalar : IsCentralScalar R A which follows trivially from Algebra.commutes

This unfortunately creates a new problem: for Algebra ℕ R over some ring, we now need a right-action of  ℕ on R, that is defeq to right-multiplication when R =  ℕ. Once again, we solved this for left-modules with the AddMonoid.nsmul field; we need to do the same for AddMonoid.op_nsmul. Overall, we will need to add:

AddMonoid.op_nsmul (and AddMonoid.op_nsmul_eq_nsmul)
SubtractionMonoid.op_zsmul (and SubtractionMonoid.op_zsmul_eq_zsmul)
DivisionRing.op_qsmul (and DivisionRing.op_qsmul_eq_qsmul)

Unfortunately, these first two need to match up with the additive versions; so we also need to add op_pow and op_zpow versions too!

What do you think about introducing
class RightAlgebra (R A) [CommSemiring R] [Semiring A] [Algebra R A] extends SMul Rᵐᵒᵖ A where
  op_smul_def' (x : A) (r : R) := op r • x = x * algebraMap R A r

and use it whenever we want to consider the right action of a base ring on an algebra? I always disliked mathlib's forgetful inheritance approach that bundle lots of stuff into classes (e.g. now MetricSpace includes UniformSpace and Bornology, and UniformSpace extends TopologicalSpace), which doesn't seem very scalable, and think we should extract compatibility classes out of them. Another example I have in mind is matroids, which has lots of equivalent definitions in terms of different data (the buzzword is "cryptomorphism"). Maybe we can start experimenting with an alternative approach in noncommutative algebra.


feat(go_indexer): optionally put builtins and stdlib items in main corpus

Enable with the --use_compilation_corpus_as_default flag
This feels a little messy as there are several places to thread the
parameter through to. Open to suggestions on refactoring.

Ok, finally getting back around to this PR...

I changed this around so that stdlib nodes continue to use the "golang.org" corpus throughout the indexer, but the corpus is rewritten right before sending VNames to the Sink. This seems a lot cleaner and is a much smaller change.


Missing headers in 0.7.1 and 0.8.0

For some legacy systems we still need to build libfranka versions 0.7.1 and 0.8.0. However, these releases no longer build out of the box with GCC. Specifically, there are two headers missing:
https://github.com/frankaemika/libfranka/blob/80197c6f57d87e4a4d0fe298e89107ab46543808/include/franka/control_tools.h#L6
is missing <string> and
https://github.com/frankaemika/libfranka/blob/80197c6f57d87e4a4d0fe298e89107ab46543808/src/control_types.cpp#L3
is missing <stdexcept>.
Maybe the include order changed with recent GCC versions or something and while it's an easy fix it prevents our CI from directly checking out those releases and building them (tested with Ubuntu 22.04 and manylinux2014). If you could bump those releases it would help me streamline the pipeline a bit, which would be greatly appreciated :)

Fixing old releases on newer operating systems is currently impossible due to resource limitations. Please either upgrade your Franka Emika robot or perhaps use a docker image with an older Ubuntu version.

@JeanElsner I was able to build this in Docker using sed to make the 2 required edits. Maybe that could be of help for you as well.

Hi @drewskoots ,
thank you for the workaround, I hope that helps @JeanElsner .
Cheers,
Andreas


Check for mislabeled platforms

Raises PalletLoadError when there are multiple pallets in one zip and when the platform is mislabeled on mod.io
Fixes #3

thank you very much, this seems good so far. only small nitpick i have is that I'm not a fan of the double ZipFile, line 95 and like 125.
will have a closer look after don't with work

Added new commit

thank you very much for this!


android java sdk repeat problem.

Describe the bug
The continuous recognize function only work first time.
To Reproduce
Steps to reproduce the behavior:
Using sample app,

Build and run the app.
On the main activity, click 'recognize continuously' and check it works.
Finish the main activity, re-start the main activity and click 'recognize continuously'. See the STT not work.

It doesn't work even in case of pressing the 'stop' button and finish the activity.
Expected behavior
The STT recognize the speech after restart activity when 'recognize continuously' clicked or
restart after 'stop' and 'recognize continuously' buttons clicked again.
Version of the Cognitive Services Speech SDK
1.20.0
Platform, Operating System, and Programming Language

OS: android 9.0
Hardware -  ARM
Programming language: Java

Additional context

@ScholesMoneybrain this is Darren from the Speech SDK team. Thank you for posting this. I will try later today to run this on my Android phone to confirm your observation. I'll post an update after I do that.

@dargilco Thanks for the response. I found that "microphoneStream.close()" made it work again when I finish using it.

@ScholesMoneybrain That's good news. If you have a fix for this sample, can you please create a pull request for this fix? I will test it and approve the fix.

@ScholesMoneybrain I run the sample app as-is on my Samsung Galaxy S10 phone running Android version 12. I'm able to do repeated continuous recognition sessions, so it seems to be work on my phone: I press "Recognize continuously", say a few utterances, then press "Stop". Then press "Recognize continuously" again, say a few utterances, then press "Stop" (repeat that a few times). In all cases I get recognition results. Is that the scenario that was not working for you? I could not understand what you meant by "Finish the main activity, re-start the main activity".
Perhaps something has changed in the Android audio APIs between version 9 and 12, as you say calling "microphoneStream.close()" fixed the problem for you, and this method only includes  Android AudioRecorder API calls:
public void close() {
this.recorder.release();
this.recorder = null;
}
Unfortunately I don't have a device with Android version 9 to test on.

"Recognize continuously" again, say a few utterances, then press "Stop" => This scenario also works for me.
"Close the app by pressing back button and restart app and try again" => didn't work for me.
Maybe it is audio api issue. And I just have a device running android 9.

Thanks for the clarification @ScholesMoneybrain . I start "Recognize continuously", it recognized my voice, then I press the Phone's back button, then I re-launch the app. I see that it continues to recognize my voice (I do not need to press anything). So it seems to be working for me.
If you show me where you added the call to "microphoneStream.close()", or send a PR yourself, I will consider adding it to our code even though I can't get a repo of this issue myself. Otherwise I'll close this issue. Thanks!

I called 'microphoneStream.close()' on 'onDestroy'. You can close this. Thanks!


[Feature Request] Attempt to format brace macros as Block

For instance,
wrapper! {
use std::  collections::HashMap;
pub fn the (a: sdf )
{
    ( )
}
}

Removing this conditional in rewrite_macro_inner gets most of the way there, but leaves things like Use statements unformatted:
wrapper! {
    use std::  collections::HashMap;
    pub fn the(a: sdf) {
        ()
    }
}

In the issue #3434, formatting of such macros is not wanted. Maybe there could be a configuration option to toggle formatting of brace macros.

Maybe there could be a configuration option to toggle formatting of brace macros.

A configuration option or an attribute to explicitly enable formatting the inside of a macro with a specific name would be incredibly useful :)

#[rustfmt::noskip]

perhaps?

Building DSL code requires macro block formatting ...

In the issue #3434, formatting of such macros is not wanted.

I think when rustfmt sees a macro block, it should check the contents to see if it's valid Rust syntax. If yes, format it as Rust code. If not, leave it alone (under the assumption that it's a different non-Rust language).
The HTML in #3434 is not valid Rust syntax, so it would not be changed. But most uses of macro blocks (the OP, thread_local! {}, etc) are valid Rust syntax, so they would be formatted.

Going to close this in an effort to consolidate duplicative threads.

I think when rustfmt sees a macro block, it should check the contents to see if it's valid Rust syntax. If yes, format it as Rust code. If not, leave it alone (under the assumption that it's a different non-Rust language).

The fundamental progress with this is that there's overlap between arg tokens that can be parsed as valid Rust syntax but actually are not, and applying the valid-Rust formatting rules to them can, and has, actually been a problem when using other call delims, with the only viable resolution being to either switch to the brace delim or adding the skip attribute on the call.
It's simply not possible for rustfmt to ever be able to safely make that assumption, which is why a categorical approach is not viable. Something like the more explicit opt-in approaches that have been discussed elsewhere is probably the best middle ground


Error message: This site can't be reached

I've tried this on a Pi B, that should work shouldn't it?
It was all going so well until the very last step ... IPaddress:11900 This site can't be reached.
port 11900 doesn't appear to be open.
Any ideas anyone?
Many thanks

+1 on this.
Followed all the steps to a T but not presented with the landing page when pointing to port 11900 in the browser.
Pi Zero W User

Can you post the logs?
cat ~/code/temperature-machine/temperature-machine.log
You followed the instructions from http://temperature-machine.com/docs/ ? Which method were you using?
How are you starting it up? Are you adding the start command to /etc/rc.local or running it directly from the shell? What output do you get when you run it from the shell? The start command should be something like /start-server.sh garage bedroom where garage and bedroom are the target RRDs.

Toby
Thanks for you help on this, it's a while since I set this up so I can't quite remember the details
I followed these instructions http://baddotrobot.com/blog/2016/03/23/homebrew-temperature-logger/
This is the message I get
pi@raspberrypi:~ $ cat ~/code/temperature-machine/temperature-machine.log
Error: Unable to access jarfile target/scala-2.12/temperature-machine-2.1.jar
Thanks again
CH

Ok, well there's some more up-to-date / canonical docs on the site I mentioned. If you'd had a go from the blog instructions, you'd tried to build from source. There's other options now (i.e. get a pre-installed distro). Re-read the instructions on Getting Starting > Building from source on the site in case anything changed.
I suspect the compile stage failed for you and you don't have the jar file it needs. Check with ls -la ~/code/temperature-machine/target/scala-2.12 and see if there's any JAR files there.
Anyway, stick with what you've got and do the following.
cd ~/code/temperature-machine
git pull
time sbt assembly

You might try adding -J-Xmx512m if you have memory problems.
SBT will fail a lot on the Pi, I think due to lack of resources so you may need to run it several times (2 usually works for me) to actually get it to generate the JAR file. Look for errors like #19 and terminated processes and don't continue until you have the JAR generated in the target folder. No JAR = No temperature-machine.

Hi Toby - I built from source from the blog and the new site you linked.
I found that I had to run sbt assembly twice but i can confirm i have the temperature-machine-2.1.jar file in the scala2.12 folder. @Cloudedhouse you may want to try this if you haven't already
I've added the output from the logs below:
pi@TempMonitor01:~/code/temperature-machine $ cat ~/code/temperature-machine/temperature-machine.log Starting temperature-machine (server mode)... RRD initialising for 'TempMonitor', 'TempMonitor' (with up to 5 sensors each)...Exception in thread "main" java.lang.IllegalArgumentException: Datasource already defined: DS:TempMonitor-sensor-1:GAUGE:35:U:U 	at org.rrd4j.core.RrdDef.addDatasource(RrdDef.java:219) 	at bad.robot.temperature.rrd.RrdFile.$anonfun$create$2(RrdFile.scala:38) 	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:156) 	at bad.robot.temperature.rrd.RrdFile.$anonfun$create$1(RrdFile.scala:37) 	at bad.robot.temperature.rrd.RrdFile.$anonfun$create$1$adapted(RrdFile.scala:37) 	at scala.collection.immutable.List.foreach(List.scala:389) 	at bad.robot.temperature.rrd.RrdFile.create(RrdFile.scala:37) 	at bad.robot.temperature.task.Tasks$.$anonfun$init$3(Tasks.scala:20) 	at bad.robot.temperature.task.Tasks$.$anonfun$init$3$adapted(Tasks.scala:19) 	at scalaz.concurrent.Task.$anonfun$map$3(Task.scala:42) 	at scalaz.concurrent.Task$.Try(Task.scala:457) 	at scalaz.concurrent.Task.$anonfun$map$2(Task.scala:42) 	at scalaz.$bslash$div.flatMap(Either.scala:135) 	at scalaz.concurrent.Task.$anonfun$map$1(Task.scala:42) 	at scala.Function1.$anonfun$andThen$1(Function1.scala:52) 	at scala.Function1.$anonfun$andThen$1(Function1.scala:52) 	at scalaz.concurrent.Future.$anonfun$flatMap$1(Future.scala:58) 	at scalaz.concurrent.Future.step(Future.scala:118) 	at scalaz.concurrent.Future.unsafePerformListen(Future.scala:75) 	at scalaz.concurrent.Future.unsafePerformAsync(Future.scala:159) 	at scalaz.concurrent.Future.unsafePerformSync(Future.scala:184) 	at scalaz.concurrent.Task.unsafePerformSync(Task.scala:99) 	at bad.robot.temperature.ds18b20.SensorFile$.findSensorsAndExecute(SensorFile.scala:28) 	at bad.robot.temperature.server.Server$.delayedEndpoint$bad$robot$temperature$server$Server$1(Server.scala:61) 	at bad.robot.temperature.server.Server$delayedInit$body.apply(Server.scala:13) 	at scala.Function0.apply$mcV$sp(Function0.scala:34) 	at scala.Function0.apply$mcV$sp$(Function0.scala:34) 	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) 	at scala.App.$anonfun$main$1$adapted(App.scala:76) 	at scala.collection.immutable.List.foreach(List.scala:389) 	at scala.App.main(App.scala:76) 	at scala.App.main$(App.scala:74) 	at bad.robot.temperature.server.Server$.main(Server.scala:13) 	at bad.robot.temperature.server.Server.main(Server.scala)
I ran the curl command and got nothing.
Thanks in advance.

@singh763173 it looks like you're trying to create two RRDs with the same name, TempMonitor.
Is that the name of your machine? Are you running just one machine? What's your start-up command? Have you got TempMonitor anywhere twice?
FYI curl will return nothing as the server isn't starting up. Good start verifying the JAR file actually exsits but you'll need to look for the following in the log file to verify the server has actually started. Once you see this, you should be good to go.
HTTP Server started on http://<IP_ADDRESS>:11900

@tobyweston bingo!
I had  su pi -c 'cd /home/pi/code/temperature-machine && ./start-server.sh TempMonitor01 TempMonitor02 &' in my rc.local file (i intended on having two devices but only one at the moment)
I've just removed the second hostname and it's now working!
Thank you for your help with getting this working - greatly appreciated!!
Probably for another ticket but is it straight forward to add a graph with a years view?

Great stuff! 🥇 👍
There is a character limit imposed by RRD which I think is 11 characters, that would mean your names got truncated to duplicates. If you add a machine later, you'll need a more unique name.
It's a good idea to put the RRDs in place now though. If you add study, garage, outside, bedroom whatever now but only use one, it'll mean you wont have to delete the RRD (basically the ~/.temperature folder in the future. If you don't and only setup one RRD now and then want to add another later, you'll have to blast the folder. It's a constraint on the RRD library I'm using I'm afraid :(

@singh763173 sounds like you're good to go, how about you @Cloudedhouse? Any joy?

No sorry Toby, SBT has failed for me probably 10 - 12 times. Pasted below is the last of 100's of error messages.
Perhaps a Pi B isn't man enough?
.........................................................................................................................................
[warn] Strategy 'discard' was applied to a file
[info] Assembly up to date: /home/pi/.sbt/0.13/staging/695479af9da4737401a3/temperature-machine/site/target/scala-2.10/site-assembly-0.1-SNAPSHOT.jar
[error] Error: Total 127, Failed 0, Errors 25, Passed 102
[error] Error during tests:
[error]         bad.robot.temperature.server.HttpServerTest
[error]         bad.robot.temperature.server.TemperatureEndpointTest
[error]         bad.robot.temperature.rrd.RrdDbOpsTest
[error]         bad.robot.temperature.server.EitherToResponseTest
[error]         bad.robot.temperature.ErrorOnTemperatureSpikeTest
[error]         bad.robot.temperature.rrd.XmlTest
[error]         bad.robot.temperature.rrd.HostTest
[error]         bad.robot.temperature.PercentageDifferenceTest
[error]         bad.robot.temperature.client.HttpUploadTest
[error]         bad.robot.temperature.ds18b20.SensorReaderTest
[error]         bad.robot.temperature.IpAddressTest
[error]         bad.robot.temperature.ds18b20.ParserTest
[error]         bad.robot.temperature.MeasurementTest
[error]         bad.robot.temperature.RecordTemperatureTest
[error]         bad.robot.temperature.IgnoreTemperatureSpikesTest
[error]         bad.robot.temperature.server.DiscoveryServerTest
[error]         bad.robot.temperature.task.SchedulerTest
[error]         bad.robot.temperature.rrd.ChartJsonTest
[error]         bad.robot.temperature.server.ConnectionsEndpointTest
[error]         bad.robot.temperature.SensorReadingTest
[error]         bad.robot.temperature.ds18b20.SensorFileTest
[error]         bad.robot.temperature.TemperatureTest
[error]         bad.robot.temperature.rrd.RpnGeneratorTest
[error]         bad.robot.temperature.rrd.SecondsTest
[error]         bad.robot.temperature.rrd.ArchiveTest
[error] (temperature-machine/test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 288 s, completed 31-Oct-2017 19:44:19
real    7m24.395s
user    6m25.270s
sys     0m23.100s

@Cloudedhouse this looks more fundamental than SBT just flaking out. Some actual tests are failing (presumably consistently). The JAR file won't build if there are failing tests.
You could try a couple of things.

Update to the latest source code with git pull and try again. You can run sbt test to just compile and run the tests and get an idea if they'll at least pass.

Build from source on another machine then manually copy the JAR file over to target/scala-2.12. I do this when i'm developing/testing. You can run a command like scp target/scala-2.12/temperature-machine-2.1.jar pi@YOUR_PI:/home/pi/code/temperature-machine/target/scala-2.12 once you've created the JAR locally.

Good new Toby, I started over again but with a Pi 3. Worked perfectly first time, so I think I've answered my own question, no it won't work on a Pi B.
Thanks for creating and sharing the temperature machine it's exactly what I have been looking for for a long time.


Load global config

This is a prerequisite to honoring the telemetry disable flag.

D'oh! I though we were honoring that already. Doesn't feel great to be misleading about that. Let's prioritize getting this fixed ASAP.

Thanks again for correcting this quickly!


Win10 LTSB links 404

Both link and mirror for the windows 10 enterprise ltsb 2016 are dead.
Apparently it's still available from archive.org, but haven't verified yet.

Thank you for letting me know, I'll get that updated in the next update!

I eventually found it again on the original website; the url was just slightly different.


Allow "from" operator to accept upstream input

At the time of the filing of this issue, Zed is at commit 2689e24.
This topic was recently highlighted thanks to a user that asked the following question in a community Slack thread:

is there a way to make get requests with an authentication header?
what I'm trying to do is take a CSV, take a specific column, input into an API request, and pick a field from the API response, and then merge that result into a new CSV

We ultimately helped the user by using proposing some shell glue with multiple invocations to zq. However, their experience exposed a limitation of the many input operators (from operator et al): They currently can only sit at the "head" of a Zed pipeline. However, in this case the user ultimately wanted to take information from upstream in the Zed pipeline and make it part of an HTTP request, e.g., their pseudocode:

What I'm trying to do is run something like this:
http https://company.clearbit.com/v1/domains/find name=="$COMPANY_NAME_FROM_ZED_ITERATION" --auth=key | jq .key
For each entry in an array from a zed expression

Thinking about this in a more general way, @nwt recognized that the input operators could be changed so that when data comes from upstream, the operator could run itself and everything downstream once per this value that comes from the upstream. This would enable things such as:

Populating headers/body/URLs/etc. of an HTTP request

That should hopefully cover his user's specific inquiry
FWIW, when I opened #4267, I envisioned something like this being a necessary building block

Sourcing input data from pools/filenames generated upstream

In a discussion of this topic, @nwt and @mccanne recognized that special care would need to be taken for the optimizer to remain effective despite this dynamic behavior.

Note to self: The API-enabling variant of this definitely seems worthy of a blog post once it's done.

We've been discussing this one as a team but have had consistent uncertainty about the correct design approach, so we're putting the topic back on ice for a bit while we focus on other priorities.

See https://github.com/brimdata/zed/issues/5324#issuecomment-2400804195 for a semi-related topic.

Verified in super commit f1213fa.
For a very simple example of from accepting upstream input, we'll start with these two data files.
$ cat a.json
{"hello": "world"}

$ cat b.json
{"goodbye": "everyone"}

Now we'll send an array of the filenames as input, and use the newly-added from eval(...) to iterate over the array and have input pulled from each referenced filename.
$ super -version
Version: v1.18.0-153-gf1213fa5

$ echo '["a.json", "b.json"]' | super -c 'from eval(this) | yield this' -
{hello:"world"}
{goodbye:"everyone"}

For a more sophisticated example that shows the API use case, the current README for the super project shows this. Just to capture the point-in-top description of what's it's doing in the event it continues to evolve over time:

Here's a SuperSQL query that fetches some data from GitHub Archive, computes the set of repos touched by each user, ranks them by number of repos, picks the top five, and joins each user with their original created_at time from the current GitHub API.

$ super -c "FROM 'https://data.gharchive.org/2015-01-01-15.json.gz'
| SELECT union(repo.name) AS repos, actor.login AS user
  GROUP BY user
  ORDER BY len(repos) DESC
  LIMIT 5
| FORK (
  => FROM eval(f'https://api.github.com/users/{user}')
   | SELECT VALUE {user:login,created_at:time(created_at)}
  => PASS
  )
| JOIN USING (user) repos"

{user:"ARoiD",created_at:2010-07-31T02:51:58Z,repos:|["Tox/toxic","cgeo/cgeo","sddm/sddm","Astonex/Docs","Tox/Tox-Docs","Tox/toxme.se","rsudev/Antox","schwabe/cgeo","Astonex/Antox","lodash/lodash","Astonex/ToxBox","Lineflyer/cgeo","bestiejs/json3","Astonex/Tox-STS","JFreegman/toxic","Tox/Tox-Website","jdalton/docdown","strycore/scripts","SteamedFish/vimrc","isohuntto/openbay","lifetyper/scripts","lodash/lodash-cli","polarssl/polarssl","SteamedFish/config","culmor30/cgeo-wear","samueltardieu/cgeo","iBeliever/cross-pkg","schwabe/ics-openvpn","bestiejs/platform.js","Ramblurr/Anki-Android","SteamedFish/gfwiplist","bestiejs/benchmark.js","quantum-os/qml-extras","quantum-os/quantum-os","quantum-os/sddm-theme","lifetyper/FreeRouter_V2","quantum-os/qml-material","cernekee/ics-openconnect","quantum-os/quantum-shell","rankjie/anyconnect-gfw-list"]|}
{user:"altmer",created_at:2023-08-04T07:10:49Z,repos:|["sass/sass","apache/cxf","hapijs/hapi","apache/camel","apache/log4j","apache/storm","apache/wss4j","google/guava","qos-ch/slf4j","apache/hadoop","apache/mahout","django/django","moment/moment","tj/git-extras","apache/xalan-j","gwtproject/gwt","less/less-docs","python/cpython","apache/activemq","tastejs/todomvc","apache/axis2-java","easymock/easymock","mwclient/mwclient","postgres/postgres","zzzeek/sqlalchemy","apache/lucene-solr","mariofusco/lambdaj","SeleniumHQ/selenium","apache/commons-lang","thymeleaf/thymeleaf","alexz-enwp/wikitools","sebastianbenz/Jnario","freemarker/freemarker","ehcache/ehcache-jcache","wikimedia/pywikibot-core","spring-projects/spring-ws","bouil/angular-google-chart","spring-projects/spring-amqp","spring-projects/spring-data","spring-projects/spring-batch","spring-projects/spring-social","spring-projects/spring-webflow","spring-projects/spring-integration"]|}
{user:"automatic-frog",created_at:2014-11-11T00:17:49Z,repos:|["osp/osp.work.annak","osp/osp.work.medor","osp/osp.foundry.dlf","osp/osp.work.bessst","osp/osp.foundry.mill","osp/osp.foundry.vj12","osp/osp.tools.fonzie","osp/osp.work.acsr-WP","osp/osp.foundry.reglo","osp/osp.foundry.crickx","osp/osp.foundry.polsku","osp/osp.tools.PDFutils","osp/osp.tools.strokify","osp/osp.work.medor.www","osp/osp.foundry.metadin","osp/osp.foundry.osp-din","osp/osp.foundry.stories","osp/osp.foundry.w-droge","osp/osp.tools.ethertoff","osp/osp.work.tuned-city","osp/osp.foundry.cimatics","osp/osp.foundry.logisoso","osp/osp.relearn.off-grid","osp/osp.tools.html2print","osp/osp.tools.screenshot","osp/osp.work.osp-website","osp/osp.foundry.alfphabet","osp/osp.foundry.limousine","osp/osp.foundry.philibert","osp/osp.work.cosic.rescue","osp/osp.work.oralsite.www","osp/osp.foundry.sans-guilt","osp/osp.foundry.libertinage","osp/osp.live.europe-refresh","osp/osp.work.maisons-phenix","osp/osp.work.splinterfields","osp/osp.foundry.ax-28-script","osp/osp.foundry.univers-else","osp/osp.tools.wordpress-theme","osp/osp.foundry.notcouriersans","osp/osp.work.multiple-art-days","osp/osp.live.hachures-tourneurs","osp/osp.relearn.gesturing-paths","osp/osp.work.maisons-phenix.www","osp/osp.foundry.le-patin-helvete","osp/osp.foundry.sans-guilt-wafer","osp/osp.work.balsamine.2014-2015","osp/osp.work.travelling-feministe","osp/osp.work.variable-publication","osp/osp.workshop.typojanchi-seoul","osp/osp.live.ethertoff-presentation","osp/osp.tools.collaboration-agreement","osp/osp.tools.mediawiki.skin.ustensile","osp/osp.workshop.self-conscious-design"]|}
{user:"guybedford",created_at:2011-02-03T14:55:09Z,repos:|["jspm/npm","jspm/nodelibs-fs","jspm/nodelibs-os","jspm/nodelibs-vm","jspm/nodelibs-dns","jspm/nodelibs-net","jspm/nodelibs-tls","jspm/nodelibs-tty","jspm/nodelibs-url","systemjs/systemjs","jspm/nodelibs-http","jspm/nodelibs-path","jspm/nodelibs-repl","jspm/nodelibs-util","jspm/nodelibs-zlib","jspm/nodelibs-dgram","jspm/nodelibs-https","jspm/nodelibs-assert","jspm/nodelibs-buffer","jspm/nodelibs-crypto","jspm/nodelibs-domain","jspm/nodelibs-events","jspm/nodelibs-stream","jspm/nodelibs-timers","jspm/nodelibs-cluster","jspm/nodelibs-console","jspm/nodelibs-process","jspm/nodelibs-punycode","jspm/nodelibs-readline","jspm/nodelibs-constants","jspm/nodelibs-querystring","jspm/nodelibs-child_process","jspm/nodelibs-string_decoder"]|}
{user:"opencm",created_at:2012-06-06T07:24:54Z,repos:|["GigaSpaces-QA/DevOps","cloudify-cosmo/repex","cloudify-cosmo/yo-ci","cloudify-cosmo/grafana","cloudify-cosmo/packman","cloudify-cosmo/cloudify-cli","cloudify-cosmo/version-tool","cloudify-cosmo/cloudify-manager","cloudify-cosmo/cloudify-packager","cloudify-cosmo/cloudify-dsl-parser","cloudify-cosmo/cloudify-bash-plugin","cloudify-cosmo/cloudify-chef-plugin","cloudify-cosmo/cloudify-rest-client","cloudify-cosmo/cloudify-cli-packager","cloudify-cosmo/cloudify-system-tests","cloudify-cosmo/cloudify-amqp-influxdb","cloudify-cosmo/cloudify-fabric-plugin","cloudify-cosmo/cloudify-puppet-plugin","cloudify-cosmo/cloudify-script-plugin","cloudify-cosmo/cloudify-agent-packager","cloudify-cosmo/cloudify-diamond-plugin","cloudify-cosmo/cloudify-plugins-common","cloudify-cosmo/cloudify-libcloud-plugin","cloudify-cosmo/cloudify-plugin-template","cloudify-cosmo/cloudify-openstack-plugin","cloudify-cosmo/cloudify-softlayer-plugin","cloudify-cosmo/cloudify-cloudstack-plugin","cloudify-cosmo/cloudify-libcloud-provider","cloudify-cosmo/cloudify-manager-blueprints","cloudify-cosmo/cloudify-nodecellar-example","cloudify-cosmo/cloudify-openstack-provider","cloudify-cosmo/cloudify-hello-world-example"]|}

Thanks @mccanne!


Update version of necolas' normalize to 7.0.0

Accident! 😨

:O @perry !

But good idea. @hippogriffic please review :D

reviewed
I give you the green tick of approval

👍

aww it's like a little reunion :D


new release v1.8.0

After merge it I'll make a tag

https://github.com/go-mysql-org/go-mysql/releases/tag/v1.8.0


Add minimum_fee_for_0conf

The example response for lsps1.create_order did not comply to the spec. It should be a Payment-object which requires the minimum_fee_for_0conf field to be present.

Noting this collides with the min_ renaming in https://github.com/BitcoinAndLightningLayerSpecs/lsp/pull/74

Merge decision made in todays meeting.


Translation always in nested format

Describe the bug

translation always in nested format instead of flat tho I configured keystyle with flat
Extension Version

i18n Ally 2.4.3
Framework/i18n package you are using

react-intl
To Reproduce
Steps to reproduce the behavior:

Go to vscode i18n-ally settings
set keystyle to flat
create en.json file with following content

{"app.login": "login", "app.welcome":"welcome!"}

save en.json
create empty zh.json file
go to I18n ally plugin Editor UI and translate
open zh.json file
can see nested

{
  "app": {
    "login": "登录",
    "welcome": "欢迎！"
  }
}

Device Infomation
Version: 1.50.0
Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3
Date: 2020-10-07T06:01:33.073Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.67-1-MANJARO
Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information
🈶 Activated, v2.4.3

――――――

💼 Workspace root changed to "/xxxxx/xxxxxxx"
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🌞 Enabled
🧩 Enabled frameworks: React
🧬 Enabled parsers: json, yaml, json5

🚀 Initializing loader "/xxxxx/xxxxxxx"
📂 Directory structure: file
🗃 Path Matcher Regex: /^(?<locale>[\w-_]+)\.(?<ext>json|ya?ml|json5)$/

📂 Loading locales under /xxxxx/xxxxxxx/src/i18n
	📑 Loading (en) en.json [1604690172071.9587]
	📑 Loading (zh) zh.json [1604690178225.3096]

👀 Watching change on /xxxxx/xxxxxxx/src/i18n
✅ Loading finished

――――――

🌍 Translating "app.login" (en->zh)
💾 Writing /xxxxx/xxxxxxx/src/i18n/zh.json
✅ Loading finished

🔄 File changed (change) zh.json
	📑 Loading (zh) zh.json [1604690202985.3804]
✅ Loading finished

🌍 Translating "app.welcome" (en->zh)
💾 Writing /xxxxx/xxxxxxx/src/i18n/zh.json
✅ Loading finished

🔄 File changed (change) zh.json
	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
🔄 File changed (change) zh.json
✅ Loading finished

	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
🔄 File changed (change) zh.json
✅ Loading finished

	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
🔄 File changed (change) zh.json
✅ Loading finished

	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
🔄 File changed (change) zh.json
✅ Loading finished

	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

🔄 File changed (change) en.json
	📑 Loading (en) en.json [1604690239788.8184]
🔄 File changed (change) zh.json
✅ Loading finished

	📑 Loading (zh) zh.json [1604690205405.3875]
✅ Loading finished

Screenshots

Can you share a minimal reproduction (with your vscode setting)? Thanks.

Sorry been busy af, I'll add a reprod once I'm free :)

This was also happening to me, but discovered that I had two different keystyle configurations set (flat on User and nested on Workspace). Make sure it's correct on both places

This was also happening to me, but discovered that I had two different keystyle configurations set (flat on User and nested on Workspace). Make sure it's correct on both places


data table - adding tool tips

please add tool tips to the relevant columns:

Liquidity depth - The value of tokens in the pool
Fee - The % deducted from each swap and re-deposited into the pool
Fees - The value of swap fees collected in the pool in the past 24h
1y fees - 24h fees annualized divided by liquidity in the pool

added tooltips.
We are running low on space, we have to many columns. How should we handle this @ashachaf


Update objects and media documentation

GitHub Issue: #1040
What does this Pull Request do?
Updates the objects and media documentation. Also updates references in context and collection to renamed files used in multiple places.
How should this be tested?
Preview the pages and look them over. Do they make sense and read well? Are there any typos or poor formatting?
Additional Notes:
There's no reviewer signed up yet, so whoever reviews, please grab the credit in that spreadsheet.
Interested parties
@Islandora/8-x-committers

Hi - both the Nodes and Media files look pretty good to me. I left a few comments for each file.

Thanks, @cderven! I've made a few updates. Please let me know if I need to make any other changes.

I've added more detail on using the Paged Content viewer, @cderven. Let me know how it goes.

@whikloj I made the two grammar changes. I then went and updated the collections page screenshots. I only took two new ones and the others I simply cropped out the Tools block as the rest of the image is mostly consistent between Carapace themes.

@whikloj, could you please re-review?


Initial commit for discussion re: gauge cleanup on actor lifecycle

Here's something to look at w.r.t. issue #69 - looking for feedback.
Will happily add more docs as we settle in on a solution.

Stackable trait turned out poorly due to class naming and "remove by class name" functionality.

I don't (want to) understand why Travis indicates a buffer overflow error when running on openjdk7 :(

But indeed @scullxbones , name based is probably not the right way. Lets see if its possible to do it reference based.
BTW, aren't you supposed to call super in the stackable trait pattern?

This morning I went on a journey to grab a reference to the Dropwizard Gauge so that it can be removed upon actor restart. And, wow, it was painful. I had to change so many things it was not nice at all.
So I restarted and considered two solutions:

unregister existing gauge before new gauge is registered
improve the unregistering by name

For 1. we could add the additional parameter replaceExisting to MetricBuilder, something like:
  def gauge[A](name: String, scope: String = null, replaceExisting: Boolean = false)(f: => A): Gauge[A] = ...

Solution 2 could look like the following (based on code in #69):
import nl.grons.metrics.scala.Implicits._
trait InstrumentedActor extends Actor with InstrumentedBuilder {
  @throws[Exception](classOf[Exception])
  override def preRestart(reason: Throwable, message: Option[Any]): Unit = {
    val metricBaseName = this.metrics.baseName.name + "."
    metricRegistry.removeMatching((name: String, metric: Metric) => metric.isInstanceOf[Gauge[_]] && name.startsWith(metricBaseName))
    super.preRestart(reason, message)
  }
}

@scullxbones, @mrmeyers99, what do you think?

But indeed @scullxbones , name based is probably not the right way. Lets see if its possible to do it reference based.

Name based is troublesome because the baseName, which is rooted in the class name, gets a mangled name (typically included anon etc) due to the way that stackable traits are mixed in.  This means that the class name of the fully mixed class is different from the class name that declares the gauge.  Not good.
My first attempt (which I did not push) was this approach, but it felt too heavyweight.  It linked gauge creation to actor preStart and destruction to preRestart, and required gauge factories to be registered in the constructor.  That's why I fell back to a simple trait to be mixed in to the actor, similar to your code above @erikvanoosten.

BTW, aren't you supposed to call super in the stackable trait pattern?

Yep, that was a bug - that's why I put the preRestart in the test case verification.

So I restarted and considered two solutions:

unregister existing gauge before new gauge is registered

Of the two, I like this one better as it's not coupled to actors.

I'm going to close this PR - I think @erikvanoosten has a better approach


fix(repo): Based Contestable Rollup - alpha-6/Katla

Apply fixes based on OZ's inspector reports
Grant securityCouncil the PROPOSER role
Use taikoL2's address as the treasury address in circuit
Use Bridge to send cross-chain owned contract transactions
Update and fix typescript-linting
Non-recursive abi.encode for Zk Verifier
Fix a security issue in bridge
Update the PlonkVerifier
Add improvements and fix bugs in bridge-ui-v2
Fix bridged token transfer check
Fix bug in L2 pre-deployment script to init immutable variable __self for all EssentialContracts (otherwise, L2 predeployed contracts cannot be upgraded)
Fixe duplicate hook issue and prover-fee payment bug
Restrict call to SgxVerifier to TaikoL1 and SgxAndPseVerifier.
Use EIP-712 style hashing in SgxVerifier
Optimize block proving code
Add strick price support to TimelockTokenPool

gg

It's good

please don't approve or spam our GitHub. thank you.


error in pip install -r requirements.txt

Hello Mathis,
this is the error code when "
pip install -r requirements.txt" , any suggest on this (this in OSX)
building 'SharedArray' extension
gcc -fno-strict-aliasing -I/Users/Daniel/anaconda2/envs/kaggle1/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/Daniel/anaconda2/envs/kaggle1/include/python2.7 -c /var/folders/x3/j4dr5xhx1sq08x5q4r8kzdyw0000gn/T/pip-1me7Jj-build/src/shared_array.c -o build/temp.macosx-10.5-x86_64-2.7/var/folders/x3/j4dr5xhx1sq08x5q4r8kzdyw0000gn/T/pip-1me7Jj-build/src/shared_array.o
/var/folders/x3/j4dr5xhx1sq08x5q4r8kzdyw0000gn/T/pip-1me7Jj-build/src/shared_array.c:24:10: fatal error: 'numpy/arrayobject.h' file not found
#include <numpy/arrayobject.h>
^
1 error generated.
error: command 'gcc' failed with exit status 1

Looks like some numpy files can't be found. You could try installing numpy first.
pip install numpy==1.9.2

then the other requirements
pip install -r requirements.txt

Hello Mattis:
tried many different ways including your suggestion, the only error still @ building sharedarray extention,
all other packages are all built without any errors.  Is there any go around without using 'import sharedarray as sa' in your code?

We have to write a different Iterator and it would slow things down considerably. I think it should be possible to build SharedArray though.
You could try building it manually.
git clone http://parad0x.org/git/python/shared-array
cd shared-array
git checkout 0.2
python setup.py build
python setup.py install

If the same error still occurs, maybe adding include_dirs=[numpy.get_include()] in setup.py it like in this SO post would help?

still could not install either sharedarray 0.2 or 0.3 in OSX; switched to Linux14.04LTS and used the pip install the packages(file attached) individually and able to proceed to the next step without env. setup issue.
Kagglepilot1.txt

still could not install either sharedarray 0.2 or 0.3 in OSX; switched to Linux14.04LTS and used the pip install the packages(file attached) individually and able to proceed to the next step without env. setup issue.
Kagglepilot1.txt


Fix K8s cron example to not run every minute

The minute field in the current K8s cron example is *, which means that it will run every minute (0-60) of every qualifying third hour (*/3).
Based on the documentation, I don't think that's the intention.

Thank you!


Should _M_ARM64 be also tested for ARM64 definition?

By looking at some Neon code, it looks like _M_ARM64 is also tested along with __aarch64__, see:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/eb0a024af2d84467b22484a89e98e25b3c38025a/simd/arm/jccolor-neon.c#L56
https://gist.github.com/shibayan/8839930e07898cae4de7be91bff9d5f6#file-libwebp_arm64-patch-L36
https://stackoverflow.com/a/66249936

Should this line be updated accordingly?
https://github.com/ermig1979/Simd/blob/74366a147d49a1346019a5ffc89ad14ab1ec42dc/src/Simd/SimdDefs.h#L196

Hi! This is correct note. Although this macro has to be defined in different line. I added it (see last commit).

Thanks :+1:


添加最新版手册

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

https://github.com/alibaba/p3c/commit/36b08754dbdae54768f78b01fcffc3137369c3bc
孤尽自己扔新版上来了2333。
可以close了。

谢谢大家的支持。


Add the rm function.

This adds a working (at least in my tests) rm function.

This should solve #20.

Looks good to me. @beckyjackson please review, and merge if you agree, or make changes as required.

Looks good - the only thing I think would be helpful is an error if you delete all sheets. gspread/Google will not let you delete the last remaining sheet from a spreadsheet, so this will throw an error.

I'll also update add to accept multiple paths, like rm does here. 😃

So what should we do if it is the last sheet? We just refuse to delete it?

I think we should check if they are deleting all sheets before doing
anything. For example, if there are 3 tracked sheets and they ask to remove
all 3, throw an error and don't delete any of them:
ERROR: unable to remove X tracked sheet(s) - the spreadsheet must have at
least one sheet
That way the user can choose which they want to keep, or add a new one and
delete the others... Hopefully that makes sense?
On Wed, Jul 1, 2020, 7:24 AM bjonnh<EMAIL_ADDRESS>wrote:

So what should we do if it is the last sheet? We just refuse to delete it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ontodev/cogs/pull/26#issuecomment-652450106, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7ZMRXMTR65WDTWCDXAJSTRZNBLNANCNFSM4OMV574Q
.

Ok fits what I just pushed, I will update the error message.

I didn't test this yet but the code looks fine and I don't want to block things.


Create LICENSE

Some people might want to know whether they can use it for commercial purposes. I would use the MIT license, but we need to check whether Torvik dataset has a similar license.

Fixed by 88c45cf727336cd4856efe0ef98f7d7dc1854301


Change the appearance of keyboard in ipad

Its possible to change the appearance of the key board from right side of the screen ipad

Hello there, what do you what to achieve exactly?

Hi I need to present the keyboard like the below attachment

Got it. Just add the keyboard to your view hierarchy and, optionally, adopt the  protocol to handle keystrokes.
You can adopt this protocol in your view controller for example. You can explicitly set the -keyInput property to your view controller if you don't want to make it the first responder.
Hope it helps!


Use Lonely Job with Resque Retry

I'm looking into using Lonely Job in conjunction with Resque Retry and have a couple questions thoughts:
I'm using "Option 3" from the Readme (as outlined here: https://www.bignerdranch.com/blog/never-use-resque-for-serial-jobs/) to preserve job ordering. This works great on its own however the argument stored in the Resque queue is no longer the actual argument required to perform the job; instead its the mutex used to pop the correct argument off a separate list.
If the job fails, Resque Retry will store the mutex argument and schedule a retry. This results in the wrong job being performed: the next job on the list will be performed, not the one that should be retried. In fact, the one to be retried doesn't actually get stored anywhere.
Has anyone run into a similar issue before?

I haven't used resque retry in conjunction with lonely job. Did you find a resolution to this issue?


Issue with object insertion after update

❓ Questions and Help
Hi, i recently (less than 2 weeks ago) cloned the newest stable version and now tried to insert objects as before (i am using the banana object that is provided). In the new version instead of the banana (and other objects) a cone is inserted, in my old backup it works fine. I have not found a similar issue here and i hesitate to report it as a bug since i have not exactly tested it extensively. I have checked the object files in blender and they look fine. Below are image examples of the insertion working in the old version and not working in the new version. Maybe the insertion procedure changed and this is some sort of placeholder object ?

Hey @ronjamoller, looks like you may be using hard-coded object template ids to add your object (e.g. add_object(0) ). Recent updates to habitat-sim have introduced primitive objects which may be placed into the library automatically before file-loaded objects.
You can instead add your objects by string key and query object template keys via substring  instead for more precise object instancing scripts.
Note that the API for loading/managing object templates is in active development, so expect more changes and improvements in the near future. We'll also add some tutorials to clarify this process on the Habitat-sim docs site in the coming weeks. 😀

thank you! that makes it a lot easier.

The insertion now works with this tactic:
handle = env._sim._sim.get_template_handles('keyword')         object_id = env._sim._sim.add_object_by_handle(handle[0])
Unfortunately the object seems to be rotated by 90 degrees in case someone does not have primitive shapes like spheres it will show, I guess i will keep pulling the newest changes and see how everything develops and keep checking - very curious to see where the development goes :)


AWQ broken when trying to add Mistral

I am getting illegal memory access after building from main. I am not sure if this is because of the cast from torch.bfloat16 to torch.float16 or if it is something else. Llama models still work without any problem.
I simply added MistralForCausalLM here since the model definition is exactly the same as Llama and just works:
https://github.com/vllm-project/vllm/blob/0967102c6de874902d973f0bcb98d48149a8eb49/vllm/model_executor/model_loader.py#L36-L38
Testing with an example:
CUDA_LAUNCH_BLOCKING=1 python examples/llm_engine_example.py --model TheBloke/Mistral-7B-Instruct-v0.1-AWQ --quantization awq --dtype half

Traceback:
root@d185de394aeb:/workspace/vllm# CUDA_LAUNCH_BLOCKING=1 python examples/llm_engine_example.py --model TheBloke/Mistral-7B-Instruct-v0.1-AWQ --quantization awq --dtype half
WARNING 09-30 19:56:00 config.py:341] Casting torch.bfloat16 to torch.float16.
INFO 09-30 19:56:00 llm_engine.py:72] Initializing an LLM engine with config: model='TheBloke/Mistral-7B-Instruct-v0.1-AWQ', tokenizer='TheBloke/Mistral-7B-Instruct-v0.1-AWQ', tokenizer_mode=auto, revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, quantization=awq, seed=0)
Traceback (most recent call last):
  File "/workspace/vllm/examples/llm_engine_example.py", line 51, in <module>
    main(args)
  File "/workspace/vllm/examples/llm_engine_example.py", line 9, in main
    engine = LLMEngine.from_engine_args(engine_args)
  File "/workspace/vllm/vllm/engine/llm_engine.py", line 229, in from_engine_args
    engine = cls(*engine_configs,
  File "/workspace/vllm/vllm/engine/llm_engine.py", line 111, in __init__
    self._init_cache()
  File "/workspace/vllm/vllm/engine/llm_engine.py", line 191, in _init_cache
    num_blocks = self._run_workers(
  File "/workspace/vllm/vllm/engine/llm_engine.py", line 692, in _run_workers
    output = executor(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/workspace/vllm/vllm/worker/worker.py", line 109, in profile_num_available_blocks
    self.model(
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/workspace/vllm/vllm/model_executor/models/mistral.py", line 290, in forward
    hidden_states = self.model(input_ids, positions, kv_caches,
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/workspace/vllm/vllm/model_executor/models/mistral.py", line 250, in forward
    hidden_states = layer(
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/workspace/vllm/vllm/model_executor/models/mistral.py", line 209, in forward
    hidden_states = self.mlp(hidden_states)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/workspace/vllm/vllm/model_executor/models/mistral.py", line 81, in forward
    gate_up, _ = self.gate_up_proj(x)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/workspace/vllm/vllm/model_executor/parallel_utils/tensor_parallel/layers.py", line 238, in forward
    output_parallel = self.apply_weights(input_parallel, bias)
  File "/workspace/vllm/vllm/model_executor/layers/quantized_linear/awq.py", line 55, in apply_weights
    out = quantization_ops.awq_gemm(reshaped_x, self.qweight, self.scales,
RuntimeError: CUDA error: an illegal memory access was encountered
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

I am not an expert, but from the error message you can see that the issue lies with the Cuda kernels ins https://github.com/vllm-project/vllm/blob/main/csrc/quantization/awq/gemm_kernels.cu
I guess there is some architecture difference between Mistral and Llama that needs to be reflected in the cuda kernel implementation.

@mapa17 This can happen for many reasons and is not an expression of the kernel being the culprit but rather the operations taking place before the AWQ kernel executes

I can see the max_sequence is initialized to 32K, not sure but can this be the culprit? I will try to decrease it and let you know.

@WoosukKwon It may be worthwhile to explore why there are multiple bugs. Some are getting OOM issues on 7B models that should not be happening - others are getting this error explained in this issue. I believe it is currently the rotary_embedding causing this issue.
This code was used to solve this issue in AutoAWQ back when we used the CUDA kernel. Essentially, as long as the shapes were incorrect, rotary embedding would run fine but then the AWQ GEMM kernel would silently fail afterward for no apparent reason. There may be some niche interaction that I do not understand yet, but here is the code that was used to solve my issue if it is of any help to you:
# [num_tokens, num_heads * head_size]
query_batch_size, query_len, _ = query.shape
query = query.view(query_len*query_batch_size, self.num_heads * self.head_dim)

# [num_tokens, num_kv_heads * head_size]
key_batch_size, key_len, _ = key.shape
key = key.view(key_len*key_batch_size, self.num_kv_heads * self.head_dim)

# [num_tokens]
positions = position_ids.view(-1).to(query.device)

query, key = self.rotary_emb(query, key, positions)

I used the rotary embedding implementation from Huggingface to figure out that the AWQ GEMM kernel actually ran fine when the CUDA kernel from vLLM was not used until I fixed it. Here is my old reference implementation: https://github.com/casper-hansen/AutoAWQ/blob/562c0d52b465aaee5a03ebbf84483f1907233457/awq/modules/fused_attn.py

Hi @casper-hansen Thanks for the advice.
I've run CUDA_LAUNCH_BLOCKING=1 python examples/llm_engine_example.py --model TheBloke/Mistral-7B-Instruct-v0.1-AWQ --quantization awq --dtype half after commenting out this line.
https://github.com/vllm-project/vllm/blob/ebe4d1db3a42096cebcc2b2d289143bc0ef02d3d/vllm/model_executor/layers/attention.py#L333
However, I got the same CUDA illegal memory access error.

I am a bit puzzled on this one. When I get the time, I will try to backtrack this. I had one user report to me that AWQ was working on the Mistral PR itself, so that’s a starting point.

I can see the max_sequence is initialized to 32K, not sure but can this be the culprit? I will try to decrease it and let you know.

I tried with lower "max_model_len" and it loaded successfully. This is what I used as config:
MODEL_ID = "casperhansen/mistral-7b-instruct-v0.1-awq"
llm = LLM(
model=MODEL_ID,
dtype="half",
quantization="awq",
max_model_len=8096
)

@hverma-forrester Thanks for discovering this. I can see your generation works just fine here. Did you compile from main?

@hverma-forrester Thanks for discovering this. I can see your generation works just fine here. Did you compile from main?

Yes, I did and I am using Sagemaker with this config:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02    Driver Version: 470.57.02    CUDA Version: 11.8     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA A10G         Off  | 00000000:00:1E.0 Off |                    0 |
|  0%   29C    P0    57W / 300W |  16996MiB / 22731MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

After debugging a bit, I found the cutoff where the error is triggered.
No error: 10696 or below
Error: 10697 or above
MODEL_ID = "casperhansen/mistral-7b-instruct-v0.1-awq"

llm = LLM(
    model=MODEL_ID,
    dtype="half",
    quantization="awq",
    max_model_len=10696 # 10697 triggers error
)

I can get this same error to trigger on a Llama model:
MODEL_ID = "TheBloke/Llama-2-7B-32K-Instruct-AWQ"

llm = LLM(
    model=MODEL_ID,
    dtype="half",
    quantization="awq",
    max_model_len=13928 # 13929 triggers error
)

Yes, I got same issue with CodeLlama-13B, which has 16K context length.

Fixed by #1295 thanks to @chu-tianxiang

@WoosukKwon
I guess this fix is included in the latest 0.2.1.post1 version?
I'm using 0.2.1.post1 and still cannot launch
CUDA_LAUNCH_BLOCKING=1 python examples/llm_engine_example.py --download-dir ./data --model TheBloke/Mistral-7B-Instruct-v0.1-AWQ --quantization awq --dtype

beacause of ```Compile with `TORCH_USE_CUDA_DSA```` error


[apptools] Nominate CI tests for apptools

Impacted tests(approved): new 0, update 52, delete 0
Unit test platform: [Android]
Unit test result summary: pass 47, fail 5, block 0

LGTM


feat: Synchronize initial skeleton trainee profile

When the Person table is being updated a skeleton profile should be
created if one does not already exist. This allows other
synchronizations, which depend on a trainee having a TISSS record, to
find the profile to add further details to.
TISNEW-3833

Not merged it as it looks coupled to the trainee-details service


Twitter's use of finagle-postgres

Twitter has relatively recently begun work on an internal project that will be using the PostgreSQL wire protocol, and are hoping to use finagle-postgres for that since it's a great project.  Obviously, @vkostyukov (and more recently @steveniemitz and I suspect others) from Twitter have been contributing to the project, but we're interested in upping our involvement a bit.
The first question, mostly for @leonmaia but really any interested contributor or user of the project, is whether you're open to us stepping in to help with the maintenance of the project more.  And then related to that, we wanted to propose the idea of promoting finagle-postgres to being a core part of the finagle project alongside finagle-mysql, finagle-redis, etc.  That would allow the CSL team inside of Twitter to more easily maintain it with the rest of Finagle to keep it in sync with any changes, etc.
Anyway, we really like the project and are excited about using it, and would love to help however we can.  🎉

@jeremyrsmith @leonmaia One extra thing we probably want to do before moving stuff around is to uncouple finagle-postgres-shapeless and move it under its own repo (within the Finagle Org as well). Since our goal is to move finagle-postgres under twitter/finagle, having a bonus shapeless dependency is probably something we'd like to avoid.
What are your thoughts on this?

Hi @willnorris and @vkostyukov!
I can't speak for any other contributors, but in my current role I don't use either finagle nor postgres. And I've got my OSS-hands rather full (so to speak). But, I'm happy to answer any questions that I can (though it's been a while since I've done much of anything on this project).
@vkostyukov I don't see any problem with separating the repositories, assuming it wouldn't affect the artifact org/name.

Thanks, @jeremyrsmith! Yea I think we should keep the artifacts publishing (and their location) unchanged. The finagle-postgres artifacts, however, would be published with the rest of Finagle projects so under com.twitter.finagle vs. io.twitter.finagle).

Hey @leonmaia! We're going to start working on this pretty soon-ish. We'll start with splitting the shapeless bits out into their own repo.
Again, please let us know your thoughts and feelings on this!


Shouldn't depend on 'linter'

While this package does provide a "linter" service, 'linter' is not actually a dependency of this package. Because of that dependency, installing 'atom-typescript' also installs 'linter' even if you don't want that functionality.
The 'package-deps' section could be removed.

@ssorallen I think keeping the automatic installation is a good experience, users are easily confused otherwise. The linter is a common UI to interact with too. You can always disable the linter if you don't want to use it.

I had the opposite experience where a user didn't notice 'linter' had even been installed and hadn't wanted it. I can understand wanting to avoid a poor experience where someone wants a linting experience, but that can be shown in documentation at the top of the README.
Right now if you install atom-typescript and then uninstall linter, Atom reinstalls the linter even if you don't want it and even though it's not a real dependency.

I would open an issue under https://github.com/steelbrain/package-deps for the unable to uninstall, it isn't maintaining any kind of state which remembers what's previously been installed. If you want to disable it, there's a disable button for packages - that should work for you. May I ask what they were using atom-typescript for instead of linting?
Anyway, I'm sure it can be added to the README that it'll be installed.

Most of the features don't have to do with linting do they? Autocomplete, snippets, format code, etc.
The nuclide-diagnostics package can also consume linter/provideLinter providers, so we didn't want 'linter' installed.

No, it doesn't, but having information about your code is the biggest draw to me (yes, autocompletion and such is cool, personal biggest feature is obviously the type safety). I was just looking at that package too, it's awesome if it's supporting linter providers - I'm tempted to use it now :+1:

Edit: Fragmentation is a PITA too here

Agreed! But the beauty of just going through providedServices is there can be many implementations that consume the service.
Since it has no actual hard dependency, I'd still remove it. However, I can see some value in forcibly installing one consumer I suppose though if there's no easy way to inform someone they need to install 'linter' or another consumer separately.


upgrade to latest go-tools image

Signed-off-by: Kent Rancourt<EMAIL_ADDRESS>

@vdice approved this in https://github.com/brigadecore/brigade/pull/1800


Hydration mismatch warning when using a rich-text renderer

Environment
Nuxt project info:

Operating System: Linux
Node Version:     v16.17.0
Nuxt Version:     3.2.2
Nitro Version:    2.2.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://codesandbox.io/p/sandbox/dreamy-mcclintock-3j327f
Describe the bug
Using a rich-text renderer causes an hydration mismatch in nuxt3. It did not happen in nuxt2.
Looking at the source code of the library, shows that it does nothing special, just renders a series of elements. But the output that the server throws is a mismatch with the one that the client throws. Seems like the server only renders the first child?
Do you have any hints to what I should investigate?
Additional context
No response
Logs
Vue warn]: Hydration text mismatch:
- Client: "When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an engineering-first approach to solving some of the most complex challenges. Today, we are the preferred financial technology platform of many of the world's leading brands. We did this by working with exceptional talent, prioritizing success over ego, and having fun along the way."
- Server: "When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an engineering-first approach to solving some of the most complex challenges. "
  at <RichText document= Objectcontent: Array(2)0: {data: {…}, content: Array(6), nodeType: 'paragraph'}content: (6) [{…}, {…}, {…}, {…}, {…}, {…}]data: {}nodeType: "paragraph"[[Prototype]]: Object1: {data: {…}, content: Array(1), nodeType: 'paragraph'}length: 2[[Prototype]]: Array(0)data: {}nodeType: "document"[[Prototype]]: Object >
  at <RichText>
  at <App key=2 >
  at <NuxtRoot>
warn2 @ chunk-Q53DPCWL.js:1381

It seems there is a mismatch 🤔
Server result:

When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an
          engineering-first approach to solving some of the most complex challenges. Today, we are the preferred
          financial technology platform of many of the world's leading brands. We did this by working with
          exceptional talent, prioritizing success over ego, and having fun along the way.

To continue driving towards our long-term ambitions, we’re looking for innovative problem solvers, strategic
          thinkers, and colleagues we can count on.

Client:

When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an
          engineering-first approach to solving some of the most complex challenges. Today, we are the preferred
          financial technology platform of many of the world's leading brands. We did this by working with
          exceptional talent, prioritizing success over ego, and having fun along the way.

To continue driving towards our long-term ambitions, we’re looking for innovative problem solvers, strategic
          thinkers, and colleagues we can count on.

          ```

(On the train so only limited debugging capabilities due to wifi)

Hmmm, I cannot pinpoint what could cause the mismatch as it is the same data. And same code executed.
In your example I see the the world's vs  the world's, although in the warning message it seemed like it was missing a whole block:

Client: "When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an engineering-first approach to solving some of the most complex challenges. Today, we are the preferred financial technology platform of many of the world's leading brands. We did this by working with exceptional talent, prioritizing success over ego, and having fun along the way."

Server: "When we launched in 2006, our ambition was simple: help businesses grow. We started with payments, taking an engineering-first approach to solving some of the most complex challenges. "

Only reason that I can think, is that now it uses import { h } from 'vue' instead of the createElement function that was passed before.

Neither of these is a Nuxt issue, from what I can tell. Check if you can reproduce with https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter. This may be a difference with how Vue 3 handles whitespace.

@danielroe Correct, it does also throw the error in the vue3-ssr-starter https://stackblitz.com/edit/github-6za3kr?file=src%2Fpages%2FHome.vue
Where should I report it?

Thanks for opening that issue. ❤ I'm going to close it here as it's not an issue with Nuxt.

I am not sure its same issue but I think but when we use textarea to save text it throw same mismatch issue
here is example can be reproduce

 Some text without any new line or spaces

works find but when we do

 Some text with new line and space
 Some text with new line and space

Some text with new line and space
Some text with new line and space

Some text with new line and space

Now it throw error hydration mismatch issue


Windows port forwarding enable in case of disable

The service iphlpsvc is needed for creating routing policies with the netsh module.
The pull request added the simple check and enable for the service start.

This is wrapped up into #270 , correct? I'm going to close this PR and we will examine #270 going forward.


Automatically export offers for Linux VMs

As PR #1701 calls out. We will need to get a list of offers for Linux VMs to better scope/ configure some Linux specific rules.
Let's look for ways to include update of offers as a CI process, similar to what we do with provider data.
https://github.com/Azure/PSRule.Rules.Azure/blob/main/scripts/providers.psm1
https://github.com/Azure/PSRule.Rules.Azure/blob/main/.github/workflows/providers.yml

In case it helps, this is the messy script I used for the current version:
az login

$linuxOfferingsFilePath = "LinuxOfferings.ps1"
New-Item $linuxOfferingsFilePath

$allOfferingsRaw = Get-Content "allOfferings.txt" # Info obtained with: az vm image list --all (takes a while)
$allOfferings = $allOfferingsRaw | ConvertFrom-Json

$processedOffers = New-Object System.Collections.Generic.HashSet[string]

Add-Content $linuxOfferingsFilePath "`$global:LinuxOffers = @("

foreach ($offering in $allOfferings)
{
    $newOffer = "(`"$($offering.publisher)`", `"$($offering.offer)`"),"

    if (!$processedOffers.Contains($newOffer)) {
        $processedOffers.Add($newOffer)

        $offeringInfo = $(az vm image show --urn $offering.urn) | ConvertFrom-Json

        if($offeringInfo.osDiskImage.operatingSystem -eq "Linux") {
            Add-Content $linuxOfferingsFilePath $newOffer
        }
    }
}

Add-Content $linuxOfferingsFilePath "(`"`",`"`"))"


Confusing docs about User Assigned MI

Is it user name, user id ?? or object id?? that should be used in the connection string?
'For a user-assigned managed identity, username must be provided.'
Then in code sample:
/ For user-assigned managed identity
// Use your own server, database, and user ID.
string ConnectionString1 = @"Server=demo.database.windows.net; Authentication=Active Directory Managed Identity; User Id=ObjectIdOfManagedIdentity; Database=testdb";
using (SqlConnection conn = new SqlConnection(ConnectionString1)) {
conn.Open();
}
string ConnectionString2 = @"Server=demo.database.windows.net; Authentication=Active Directory MSI; User Id=ObjectIdOfManagedIdentity; Database=testdb";
using (SqlConnection conn = new SqlConnection(ConnectionString2)) {
conn.Open();
}

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

ID: 947b6a2f-66c5-821d-8c58-8798a48a9f3f
Version Independent ID: 35874772-4b2c-7679-7fa3-57e77e02fbb0
Content: Using Azure Active Directory authentication with SqlClient - SQL Server
Content Source: docs/connect/ado-net/sql/azure-active-directory-authentication.md
Product: sql
Technology: connectivity
GitHub Login: @karinazhou
Microsoft Alias: v-jizho2

@cheenamalhotra ?

As of v2.1, If you want to use User-Assigned Managed Identity, you need to provide it's Object Id to the driver.
"Object Id of the managed Identity"

The driver accepts this Guid value in "User Id" connection property, which is synonymous to "UID", "user" keywords.
Exactly as in example:
User Id = ObjectIdOfManagedIdentity;

@cheenamalhotra Thanks, I realize that, will do a PR to make it clearer.

PR created: https://github.com/MicrosoftDocs/sql-docs/pull/6230


Fixed a link (for real this time)

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav-app/LocalFunctionality/Spain/how-to-pay-vendors-by-using-electronic-payments.md
:white_check_mark:Succeeded

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


images: Run as non-root

The pod was already enforcing the container to run as non-root, but the
container itself was still run as the root user (with uid 0). Now the
containers are explicitly run with a different user id, which meets the
pod's security constrtaints.
Fixes #389
Signed-off-by: Fabian Deutsch<EMAIL_ADDRESS>

Tests pass:
Ran 26 of 31 Specs in 166.052 seconds
SUCCESS! -- 26 Passed | 0 Failed | 0 Pending | 5 Skipped PASS
ok  	kubevirt.io/kubevirt/tests	166.124s


Xterm integration

Description

Related Issues

Solution and Design

Test Plan

Type of change

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

Checklist

[ ] My pull request is atomic and focuses on a single change.
[ ] I have documented my changes clearly and comprehensively.
[ ] I have added the required tests.

Looks identical to existing PR https://github.com/TransformerOptimus/SuperCoder/pull/80


DeviceIoControl failed on SendFirmware

I tried to flash the custom FW(injected) and the dumped one - everytime resulting in this error:
c:\Users\-\Desktop\Psychson-master\tools>DriveCom.exe /drive=D /action=SendFirmw
are /burner=BN03V117M.BIN /firmware=fw.bin
Action specified: SendFirmware
Gathering information...
Reported chip type: 2303
Reported chip ID: 98-DE-98-92-72-D7
Reported firmware version: 1.07.53
Mode: Firmware
Switching to boot mode...
FATAL: System.InvalidOperationException: DeviceIoControl failed: 0079
   at DriveCom.PhisonDevice._SendCommand(SafeFileHandle handle, Byte[] cmd, Byte
[] data, Int32 bytesExpected) in c:\Users\-\Desktop\Psychson-master\DriveCom\Dri
veCom\PhisonDevice.cs:line 365
   at DriveCom.PhisonDevice.SendCommand(Byte[] cmd, Byte[] data) in c:\Users\-\D
esktop\Psychson-master\DriveCom\DriveCom\PhisonDevice.cs:line 314
   at DriveCom.PhisonDevice.SendCommand(Byte[] cmd) in c:\Users\-\Desktop\Psychs
on-master\DriveCom\DriveCom\PhisonDevice.cs:line 304
   at DriveCom.PhisonDevice.JumpToPRAM() in c:\Users\-\Desktop\Psychson-master\D
riveCom\DriveCom\PhisonDevice.cs:line 228
   at DriveCom.Startup._ExecuteImage(String fileName) in c:\Users\-\Desktop\Psyc
hson-master\DriveCom\DriveCom\Startup.cs:line 404
   at DriveCom.Startup._SendFirmware() in c:\Users\-\Desktop\Psychson-master\Dri
veCom\DriveCom\Startup.cs:line 375
   at DriveCom.Startup.Main(String[] args) in c:\Users\-\Desktop\Psychson-master
\DriveCom\DriveCom\Startup.cs:line 114

After this error, the drive is getting disconnected and needs to be replugged to work again.
Any ideas?

C/S: PS2251-03
F/W: 1.12.10
After first successful flash of hello world payload. I get the same error. Using GetInfo_v<IP_ADDRESS>0 to try to read the chip i get this read out:
Volume: E:
Controller: Unknown
Possible Memory Chip(s): Not available
VID: 13FE
PID: 5201
Query Vendor ID:
Query Product ID:
Query Product Revision:
Physical Disk Capacity: 0 Bytes
Windows Disk Capacity:  0 Bytes
Internal Tags: AAAB-QAH8
ContMeas ID: 4F3C-01-00
Microsoft Windows 7
going to try to find MPALL for PS2251-03 to try to reflash/format chip without shorting pins..Has this issue been solved yet?

It's works for me!
I only need shortcut the 2nd. and 3rd. pins according this image: https://github.com/adamcaudill/Psychson/blob/master/docs/PinsToShortUponPlugInForBootMode.jpg
My device is the Patriot Xpress 8GB with 2303 chipset.

From where can I get the image burner for Patroit Supersonic Xpress 8GB?
Is this BN03V104M.BIN?


Add a 1.25X playback rate option

YouTube supports this playback rate, and it seems like it works
much better than 1.5X when listening to someone speak, in that at
1.5X, what they are saying starts to get hard to understand in a
lot of cases.

Is there any reason to keep the 2x rate? If 1.5 is even too much, 2x must be nuts.

Is there any reason to keep the 2x rate? If 1.5 is even too much, 2x must be nuts.

Agreed, see #488.