container: memory_store: fix deadlock [rhel7-1.10.3]

Should fix https://bugzilla.redhat.com/show_bug.cgi?id=1341906
@rhatdan @mrunalp PTAL
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

Did we hear back from testing on openshift?
Sent from my iPhone

On Jun 7, 2016, at 12:15 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:
Should fix https://bugzilla.redhat.com/show_bug.cgi?id=1341906
@rhatdan @mrunalp PTAL
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>You can view, comment on, or merge this pull request online at:
https://github.com/projectatomic/docker/pull/161
Commit Summary
container: memory_store: fix deadlock
File Changes
M container/memory_store.go (40)
Patch Links:
https://github.com/projectatomic/docker/pull/161.patch
https://github.com/projectatomic/docker/pull/161.diff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mrunalp not yet, testing

LGTM. Not sure if we want to wait for testing results. Irrespective, the change makes sense as we don't need full locks for just read access.

@mrunalp
I believe first batch of tests (or half of them) ran just fine (fine as in no deadlock) with the previous patch /cc @stevekuznetsov
Lokesh is going to build a new docker with this patch applied to be tested one more time

4/100 extended test runs for Origin failed in the conformance suite, none of which exhibited the Docker daemon deadlock. Running another batch as ~40 test runs flakes in the setup steps

@rh-atomic-bot r+

On the second set of tests @runcom's first set of patches did not help, found one instance with the Docker daemon hang.

let's try with this patch - as I'm sure there's another deadlock in image deletion and this patch should address it


fix: Update to Auth/REST API datasource docs

Implements review feedback.
Review fixes

Updated intro to match previous rehaul work
removed empty 2nd level headings
updated REST API screenshot
clarified that "Params" are query params
Description of REST API Authentication tab describes the button and its action (create datasource)
removed REST API Settings tab
Added content for signature header and self-signed certificate sections
Moved query examples into params area
misc html fixes

Checklist
I have:

[x] run the content through Grammarly
[x] linked to sample apps when relevant
[x] added the meta description for each page in the PR
[x] minimized the callouts and added only when necessary
[x] added the queryString parameter to the Tabs (if used)
[x] masked PII in images. For example, login credentials, account details, and more
[x] added images only when necessary
[x] deleted the images that are no longer used for the updated pages in the PR
[x] followed the image file naming convention while renaming or adding new images. (Use lowercase letters, dashes between words, and be as descriptive as possible)
[x] used the <figure/> tag instead of a markdown representation for images
[x] added the <figcaption/> tag to add a caption to the image
[x] added the alt attribute in the <img/> tag
[x] verified and updated the cross-references or created redirect rules for the changed or removed content
[x] reviewed and applied the style changes for UI formatting. For example, Bold the UI elements(Buttons on screen) used in the doc.

@spark-c please resolve the merge conflicts

@danciaclara Resolved, thanks for bringing to my attn


High CPU usage on idle when using ProgressBar IsIndeterminate=True

I use ControlCatalog Pages for preview in the Theme Editor, when program is at idle the CPU usage is around 23% (4 core machine, so one core is almost 100%). When I switch tabs to simpler layout the CPU usage is almost 0%. Tested with software and hardware rendering (Skia, OpenGL, Win7 x64)  and difference is few percent only.

Repro: Just run the app and see CPU usage is task manager.
https://github.com/wieslawsoltes/Avalonia/tree/7b90780404aa178a1e728c0acf764a73acb2a6ba/samples/ThemeEditor

When you remove progress bar page ProgressBarPage.xaml usage comes down do 0%.
So this xaml is responsible for high cpu usage:
<UserControl xmlns="https://github.com/avaloniaui">
  <StackPanel Orientation="Vertical" Spacing="4">
    <TextBlock Classes="h1">ProgressBar</TextBlock>
    <TextBlock Classes="h2">A progress bar control</TextBlock>

    <StackPanel>
      <StackPanel Orientation="Horizontal"
                  Margin="0,16,0,0"
                  HorizontalAlignment="Center"
                  Spacing="16">
        <StackPanel Spacing="16">
          <ProgressBar Value="{Binding #hprogress.Value}" />
          <ProgressBar IsIndeterminate="True"/>
        </StackPanel>
        <ProgressBar Value="{Binding #vprogress.Value}" Orientation="Vertical" />
        <ProgressBar Orientation="Vertical" IsIndeterminate="True" />
      </StackPanel>
      <StackPanel Margin="16">
        <Slider Name="hprogress" Maximum="100" Value="40"/>
        <Slider Name="vprogress" Maximum="100" Value="60"/>
      </StackPanel>
    </StackPanel>
  </StackPanel>
</UserControl>

And FPS goes down from 60 to 50 FPS.

When I set IsIndeterminate="False" for both progress bars then CPU usage goes to 0%.

I noticed the progressbar IsIndeterminate=true continue to consume cpu even when IsVisible become false ; but there is the need that IsVisible was true for at least one time.

I'm unable to get an indeterminate progress bar to show any meaningful amount of CPU usage on my machine, but I can confirm that animation isn't stopped when the control is hidden. Will fix that at least.

Ok, seems that the animation system just doesn't respect visibility, and it's going to need a pretty big refactor to work properly :(

@grokys thx, i just reported the behavior when not visible to help in identify possible causes, but of course these could not so obviously to fix.
More, the specific case atm I overcome using a textbook "loading...".

@devel0 no problem, thanks for reporting it! I'm not that familiar with the animation parts of our code so I didn't even know that we had that problem.

I build https://github.com/AvaloniaUI/XamlControlsGallery/commit/585f20f36560bf3ae955ae155009eb663b5ff206 and i got the same error.
On tab "Overview" CPU usage ~10-12% (intel i3-3240 @3.4Ghz, 2 cores, 4 threads), but on other tabs ~0.5-2%
If fast scrolling DatePicker , CPU usage ~6-9%
It looks like animations are taking up too many CPU resources
Пакет SDK для .NET (отражающий любой global.json):
 Version:   5.0.103
 Commit:    72dec52dbd

Среда выполнения:
 OS Name:     Windows
 OS Version:  10.0.19042
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.103\

Host (useful for support):
  Version: 5.0.3
  Commit:  c636bbdc8a

.NET SDKs installed:
  5.0.103 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

It doesn't seem to be a problem with composition renderer anymore.
While it still has potential for improvements, like replacing UI thread animation with render thread animation. But since it would reduce customizability of the control, I would leave as the last resort.


terminal.integrated.shellIntegration.decorationsEnabled does not disable decorations

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.69.0
OS Version: Fedora 36 through Remote-SSH on Windows 10

Steps to Reproduce:

Set terminal.integrated.shellIntegration.decorationsEnabled to false
Notice the sidebar decorations don't go away

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Messed up version initially and had 1.70.0...whoops

Controls the icon that will be used for each command in terminals with shell integration enabled that do not have an associated exit code. Set to '' to hide the icon or disable decorations with #terminal.integrated.shellIntegration.decorationsEnabled#

This tooltip suggests to change the value of the setting to invalid JSON by the way, while it also suggests the setting should work.

Controls the icon that will be used for each command in terminals with shell integration enabled that do not have an associated exit code. Set to '' to hide the icon or disable decorations with #terminal.integrated.shellIntegration.decorationsEnabled#

This tooltip suggests to change the value of the setting to invalid JSON by the way, while it also suggests the setting should work.

this is not invalid JSON.
https://github.com/microsoft/vscode/blob/690db68d5a90ab675cda5740ba40c56c69d4e95e/src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts#L109
setting it to the empty string will remove the decorations of that type and prevent them from showing up
https://user-images.githubusercontent.com/29464607/177897299-d17c4470-dd4a-4aaa-be12-e91fd1a96661.mov

disabling shell integration should also remove the decorations i think, correct @Tyriar ?

Right, but I want the shell integration. The issue here is that the setting mentioned in the issue does nothing.

Right, but I want the shell integration, just not the decorations because my PS1 has the error code from the previously run command already. The issue here is that the setting mentioned in the issue does nothing.

yep that part is a bug. the other part that you mentioned is working as designed

To clarify, the tooltip uses '' instead of "", which is not valid JSON and could trip somebody up. Setting the individual settings to an empty string does indeed work.

Thanks for clarifying. Will fix that

I stumbled over the same issue, thanks for working on it.
@meganrogge
The video in your PR #154430 shows that the decorations on the right are still visible, can they also be disabled?

I like the decorations on the right, but not the left. Would be nice if you could toggle one, but not the other.

For reference, here is my PS1 with the decorations enabled. The double circle is what is annoying me at the moment:

I think it makes sense to support that. @Tyriar thoughts?

what's the value of echo $PS1 and what program are you using for your prompt?

To clarify, the solid white circle is part of my prompt. My PS1 is generated by me in my .bashrc.
[0 0 18:47:58] [tpartin@campise] [hse] [tristan957/rest=]
● $ echo $PS1
\[\]\[\][$? \j \t] \[\][\u@\H] \[\][\W]$(__git_ps1 " \[$(tput setaf 39)\][%s]")$(__prompt_extras)\[\]\n\[\]● $ \[\]\[\]

@Tyriar hadn't really given that much thought to be honest. I was really just thinking keep my solid white circle at all times and remove the VSCode provided circular decorations since I have $? as part of my prompt already.
That TERM_PROGRAM env var is good to know though.

@meganrogge how about: decorationsEnabled: 'both' | 'gutter' | 'overviewRuler' | 'never'

Hello, tested the latest version of visual-studio-code-insiders.
Some feedback.
Setup

System info

❯ date +%d.%m.%y-%H:%M:%S:%Z
14.07.22-10:18:44:CEST
❯ code-insiders -v
1.70.0-insider
e0a65a97d4f349cf11a7cae804a5553ccb412528
x64

Extensions: none
visual-studio-code-insiders settings

{
    "workbench.colorTheme": "Default Light+",
    "terminal.integrated.shellIntegration.enabled": false
}

zsh setup romkatv/zsh4humans (v5)

Issue

I have set the option terminal.integrated.shellIntegration.enabled to false and restarted the application.
When I check the terminal, the gutter deco on the left side is still there.
When I run twice the Restart Active Terminal command, the deco seems to have disappeared, but it returns after I enter one command in the terminal.
See video below for more clarity.

When setting terminal.integrated.shellIntegration.decorationsEnabled to never it works, all decos are hidden.

One additional observations

After disabling my zsh setup (romkatv/zsh4humans (v5)) the decos work as expected. I have found no issues, so its a compatibility issue. I will not reopen the ticket. The work from @meganrogge and @Tyriar satisfy my needs. Thank you. See image below for more clarity.

@LangLangBart disabling shell integration and seeing default is actually by design, disabling shell integration only disables the injection of the script, not whether the decorations show.

Also with zsh4humans I'm assuming that uses powerlevel10k which will support some shell integration but I don't think it's released yet.


Update seed and hide logged user from user list

Since these commits are available on https://github.com/kuriakinzeng/logbook/pull/48, I'll close this one and review the other one.


Unexpected results for DDPM unlearning

Dear Authors,
Thanks for releasing the code. I got unexpected results when running the demo instructions for DDPM unlearning.
I ran following instructions in sequence:
(1) CUDA_VISIBLE_DEVICES="0,1" python train.py --config cifar10_train.yml --mode train
(2) CUDA_VISIBLE_DEVICES="0,1" python train.py --config cifar10_saliency_unlearn.yml --ckpt_folder results/cifar10/yyyy_mm_dd_hhmmss --label_to_forget 0 --mode generate_mask
(3) CUDA_VISIBLE_DEVICES="0,1" python train.py --config cifar10_saliency_unlearn.yml --ckpt_folder results/cifar10/yyyy_mm_dd_hhmmss --label_to_forget 0 --mode saliency_unlearn --mask_path results/cifar10/unlearn/mask/{mask_name} --alpha 0.0 --method rl
After running (3), I got the following folder:

However, the samples in the logs folder look like the following:

It looks like all classes are unlearned, which is not the expected result.
Can you please help to figure out the problem? Thanks.
Best,
Yuan Xun

Thank you for your appreciation and recognition of our work. I recommend setting the alpha in command 3 to 1e-3, as outlined in the paper's settings.
In the unlearning process, the hyperparameter α is used to balance the forgetting loss and remaining loss. A smaller α results in stronger forgetting effects. The image you provided shows signs of over-forgetting, where the model fails to generate all types of images. Therefore, it's necessary to increase α accordingly.
I've updated the relevant section in the README.md. If you have any further questions, please feel free to reach out.

Thank you. Problem solved.


support xlink attribute

Hi! 🐈
I got Error when I try it through choo 🚋  this below:
Uncaught NamespaceError: Uncaught NamespaceError: Failed to execute 'setAttributeNS' on 'Element': '' is an invalid namespace for attributes.

minimal case is:
bel`<use xlink:href="#test"></use>`

http://requirebin.com/?gist=46114442a147e543dc2ba48ead547fc6
To use xlink, we need to setAttributeNS('http://www.w3.org/1999/xlink', ...
Thanks:smile:

Thanks! I've been debating on whether we should detect : on attributes to set common namespaces correctly. I have decided whether it's common enough for the minor perf hit it will incur. I'll look into it more.
A workaround for now is explicitly setting a namespace for attributes:
bel`<use namespace="http://www.w3.org/1999/xlink" href="#test"></use>`

but I know it's kind of lame as it's non-standard and you only get 1 namespace for all attributes.

I see! indeed, element was created successfully:smile:
bel`<use namespace="http://www.w3.org/1999/xlink" href="#test"></use>`

Agree that you said It's something inconvenience but Using for now...

@shama bel currently overwrites props.namespace with the standard SVG namespace if the tag is a valid SVG tag, so your proposed workaround of setting the namespace property manually is ineffective.
if (SVG_TAGS.indexOf(tag) !== -1) {
    props.namespace = SVGNS
}

Chrome doesn't complain about usage of an un-namespaced href attribute on an <image> tag, but Firefox and Safari simply won't fetch the image addressed by the value.
Have you had any more thought about the trade-off between performance and supporting common namespaces? Anecdotally, this is the one missing feature that's stopping me from using bel (via choo) for a heap of SVG visualisation work.

Have you had any more thought about the trade-off between performance and supporting common namespaces?

+1 on this question. Just ran into the same issue of the workaround not helping with Firefox and Safari. Would love to see common namespaces supported if possible (coming from a designer's perspective, so can't judge the performance considerations).
Some background on my use case: I tried setting up an icon system (here). The icon system uses an SVG sprite and <use> element to reference icons (which is best practice for icon systems, because of its great accessibility benefits, styling options and developer convenience). I got it to work using the workaround described above, but only in Chrome.
Happy to provide more details if helpful!

+1  :)

So after playing around with this a bit, we may not even need to do createElementNS()... at least in chrome, createElement() will figure out the namespaces. Still need to test in all the other browsers but that would mean you could write it just like you would HTML:
var element = bel`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  <use xlink:href="#test"></use>
</svg>`

Give this branch a try: https://github.com/shama/bel/tree/no-namespaces
It seems like none of the browsers actually require createElementNS or setAttributeNS and will correct themselves but maybe I'm missing something?

@shama tried your branch and it got rid of the error, but the  tag didn't properly render in Chrome.
This branch works though with @tgfjt 's fixes. +1 to merging this .

Just ran into this issue myself. Would be nice to get this merged. 🙌

Hmm dang. Let me try a few other things and if doesn't work out I'll just merge this.
The reason I'm hesitant to merge is this PR hard codes the attribute xlink:href to that namespace. While it is the most common it is a big assumption, as this is also valid:
var element = bel`<svg what="http://www.w3.org/2000/svg" what:ever="http://www.w3.org/1999/xlink">
  <use ever:href="#test"></use>
</svg>`

So it would be nice to come up with a fix that works with the namespace spec.

ok @shama! that makes sense. Unfortunately this is a pretty big blocker for us, excited to see some patch soon! :)

@shama I hear you. I think you are on the correct path in removing all namespaces. It works for most browsers and if you aren't mucking with them in bel then users can add whatever namespace their browser needs on the element manually.

I agree: 😄 that @shama doesn't merge because of hard-coded xlink:href. It's good for us.:+1:
no-namespaces branch will break the blocker for us, so feedback time!

The no namespaces branch didn't work for us unfortunately!
El jueves, 22 de septiembre de 2016, Takashi Fujita <
<EMAIL_ADDRESS>escribió:

I agree: 😄 that @shama https://github.com/shama doesn't merge because
of hard-coded xlink:href. It's good for us.👍
no-namespaces branch will break the blocker for us, so feedback time!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shama/bel/pull/31#issuecomment-248792575, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAmotEItFw77cG1OFETiKoo__7-Zf_mzks5qseFxgaJpZM4I9cLe
.

--
Karissa McKelvey
http://karissa.github.io/
Dat Data
http://dat-data.com

Ah, @karissa is correct!
According to @dirkshulze ( SVG expert extrordinaire ) SVG elements are auto-namespaced in HTML5 and any children will be parsed correctly, unless it uses a differentiating namespace like xlink to differentiate from a html href etc. Makes perfect sense.

https://twitter.com/dam/status/779453898016698368

how's it going on this one?

I'm just trying now : https://github.com/shama/bel/tree/no-namespaces

@shama
document.createElement can not create use element which has #shadow-root, then xlink doesn't work correctly.
We should define namespaces, it is hard-coded though.

Thanks for all your patience! I'll publish this as 4.5.0 and keep working on supporting namespaces down the road.

:tada::beers:


Support wildcard expansion on Windows

On Windows, since the standard shell CMD.EXE and PowerShell do not expand arguments including wildcards, the some applications have to do instead of shells.
The package getwild expands wildcards just by importing it.
( The name "getwild" means the Japanese popular song. )
I made the patch using getwild for goawk . If my patch does not have problems , would you merge ?
Before:
$ goawk "FNR==1 { print FILENAME }" *.go
open *.go: The filename, directory name, or volume label syntax is incorrect.

After:
$ goawk "FNR==1 { print FILENAME }" *.go
goawk.go
goawk_test.go
goawk_windows.go

Thanks for the PR! I'm good with the idea, however, I don't want to add such a tiny dependency, and in addition, this change needs tests. I'll push a PR shortly that addresses these.

Thanks again for your contribution. PR #55 with this fixed is merged into master now.

Thank you for supporting wildcards.
I have understood your judgement that tiny dependency should not be add.
I am satisfied with this feature !

You're welcome. I also made it so wildcards work with the -f flag.


Need a static error codes for their identification

When throwing an exception, we need short and unchanging error codes. To be able to accurately identify the error without resorting to parsing the error message.
for example:
const { v1 as uuidv1 } = require('uuid');

const array = new Array(16);

try {
  uuidv1(null, array, 0);
} catch (err) {
  if (err.code === 'UUID_V1_RATE_LIMIT_PER_SEC') {
    // Do something
  }
}

I'm going to argue we not do this.
code isn't a standard Error property, it's merely a node.js convention and (I suspect) not particularly well adopted outside of the core node.js codebase.  While it does make identifying Errors easier... so what?   JS devs are used to dealing with Errors that don't have codes.  Prior to this issue, nobody has asked for them.  Thus, the utility does not seem particularly high. (Personally, I wasn't even aware node errors had codes until recently. 😊 )
Also, in the cases where I have seen err.code used, it's generally as a forwarding mechanism for codes that are an intrinsic part of underlying services of some sort.  E.g. modules that wrap HTTP or FTP interfaces, where status codes are an important part of the protocol.  We don't have that here.   The RFC does not specify any sort of error or status codes, so we would be inventing our own for this, which (imho) unnecessarily complicates things.
Finally, they're a bit of a pain to implement.  With the simplest ad-hoc approach, we end up with code like this:
if (condition) {
  throw new Error(...);
}

... turning into this everywhere:
if (condition) {
  const err = new Error(...);
  err.code = SOME_ERROR_CODE;
  throw err;
}

Of course we could implement a helper function of some sort, but that's not exactly trivial (e.g. IE11 doesn't support the ... operator, so forwarding arguments to the Error constructor is somewhat problematic).
If you dig into nodejs to see what kind of "helper" they use, it's actually pretty impressive.  Errors are instantiated via the code, not the  class.  E.g. new ERR_FS_FILE_TOO_LARGE(size).  But the internal scaffolding needed to allow that is rather daunting.

@broofa you probably misunderstood me.
I would like to have error codes only for those exceptions that you throw yourself.
This does not require an operator .... You just need to add error codes.
It doesn't matter that the err.code is not standardized. It is much more important that the error code is a needful and useful property.
How could it be otherwise?
How do you suggest to handle the exceptions thrown by the library?

you probably misunderstood me

I think I do... I'm just not convinced differentiating  between errors at this level is a real problem for users of this module.
Please give me some real-world examples of why this is necessary and convince me otherwise.

How do you suggest to handle the exceptions thrown by the library?

The same as exceptions from any of the other 100,000's of modules that don't provide .codes.

@broofa hmm you are right.
I looked at the source code of the library again and saw that at most one exception is thrown in each individual function.
So I close the issue =)


Making compatible with CommonJS for browserify/webpack

This change checks to see if the module is getting loaded in a CommonJS environment (AKA browserify/webpack) and acts appropriately.
This is related to #231, though it only partially resolves the problem.
You still cannot load this module server-side due to the dependency on jquery.extend, as jquery doesn't load without a window object.

Thanks!  v1.4.2 is now released and published to npm.


Performance - Startup: Slow startup on Mac

Reported on twitter: https://twitter.com/Fenntasy/status/1158406575314354181
Some potential culprits:

Perhaps there is still some runtime-path-resolution happenign in libvim?
Perhaps there is some heavy file I/O going in when we are discovering extensions?
Is the initial file explorer population taking time?

It seems like there must be something specific in the environment, as the majority of reports on Mac have been that the startup is very fast.
Similiar to #523 , we should add some timestamped logging so it is easier to get a profile of where the bottleneck is on startup.

To illustrate, here is a screencast of startup with all my plugins and with my plugins tucked inside a if has('nvim')

The top is with plugins, as you can see, I can type at second 5 without plugins and 8 with plugins, so there's at least some things happenings.
For completeness here is my plugin list but I'll be happy to do some more tests if there is timestamped logging.
  Plug 'kana/vim-textobj-user'
  Plug 'andyl/vim-textobj-elixir'
  Plug 'chaoren/vim-wordmotion'
  Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
  Plug 'google/vim-jsonnet'
  Plug 'jeetsukumaran/vim-buffergator'
  Plug 'ctrlpvim/ctrlp.vim'
  Plug 'itchyny/vim-qfedit'
  Plug 'mileszs/ack.vim'
  Plug 'NLKNguyen/papercolor-theme'
  Plug 'ntpeters/vim-better-whitespace'
  Plug 'SirVer/ultisnips'
  Plug 'honza/vim-snippets'
  Plug 'sheerun/vim-polyglot'
  Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
  Plug 'tpope/vim-commentary'
  Plug 'tpope/vim-eunuch'
  Plug 'reedes/vim-litecorrect'
  Plug 'tpope/vim-repeat'
  Plug 'tpope/vim-sensible'
  Plug 'tpope/vim-surround'
  Plug 'tpope/vim-unimpaired'
  Plug 'w0rp/ale'
  Plug 'wellle/targets.vim'

Hi @Fenntasy ,
Sorry for the delayed response - thank you for the screencasts! It's very helpful, asI just checked this out, and I realized your screencasts are from our 'v1' (which is indeed much slower to  startup than our v2 in this repo!)
In fact, part of the reason we embarked on creating a new tech stack for our v2 was exactly due to this sort of slowness - you can read more about the motivation here in our original v2 design doc. Switching from Electron to a native solution has resulted in much improved startup performance.
I anticipate that the v2 should startup much faster - if you're up for trying it, you can build from source or pre-ordering and downloading at our early access portal
I'll close this out, since this is related to our v1 and not our v2. There are a few issues we're tracking related to startup perf for our v2 - most notably this one: https://github.com/onivim/oni2/issues/602 - but on the whole, reports have been that the v2 OSX application starts up very fast / almost instantly.

I can confirm, it's really fast with the 2 version. Sorry for the misunderstanding.
To avoid that in the future, is there a way to launch it via oni . in the console like the previous one ? I couldn't find it in the user manual :/


Performace wishlist: lazy, keyedElement

Lazy rendering to the Virtual Dom should be supported by the markup DSL.
Nice to have: enable markup DSL attributes and styles for the top element of keyedElement

Lazy2 and Lazy3 have been fixed by da037e6
The rest of this issue:  I think this should remain on the VirtualDom side

The markup functor may need a KeyedElementF primitive, than it should be possible to make a keyedElement function that is better integrated with the smolder DSL.
Lazy should work with Markup as well.
Also: mapMarkup helper - the Free monad is a monad/functor of the free type variable, so the message type can not be mapped.  We need to retain the monad behaviour for the do notation in the DSL.  But a mapMarkup helper would be useful to convert between message types.

Has been implemented in https://github.com/grmble/purescript-bonsai-html


Allow inclusion of variable template names

Hello,
I have two issues with this PR:

eval
AMD compiler - @hnrysmth you mentioned that this approach won't work for this compiler?

The quick hack from https://github.com/schmittjoh/twig.js/issues/77 used window[variable] but I could not get the integration test to work with that approach.

Argh so weird that the CI build is failing on this. It's passing locally for me! On the plus side I guess I have a bit of time in the next few weeks to look at this!!

Darn, did I miss something out of my commit for prod testing? Or maybe it's a dnode version issue?
Another way I thought about getting around using eval is to not define templates in global scope. Even if they were templates.<template_name> that'd be better. Would that be a massive undertaking? It'd also break BC so would need a major version bump too.

Relevant discussion about template variable names: https://github.com/schmittjoh/twig.js/issues/47 Calling it a BC break would definitely be the way to go, yeah. Best to be on the safe side.
I have absolutely no idea what Travis CI didn't like. My local build that passed was a completely clean setup. I even had to install composer before I could composer install. Definitely no lingering versions of things here. We'll figure it out eventually!

Thanks for linking that discussion. I'm tempted to create a new PR which adds templates to a new global variable and also allows for dynamic template names. No eval that way too.


Labeller: read from file

Implement a labeller that opens a database, reads a label from a (specified) column for the ID that the Recommender suggests.


Taproot is not supported

Recently I tried to create a new taproot address using Ledger Live but it's not working correctly. The account status show me empty although I've sent some satoshis to test it.

hi @bleiva this should now be fixed with 0.16.0, please give it a try and report back if nay issue. Thank you vm for your patience.


iteritems() is called on Python 3

In Python 3, iteritems() is removed, and items() returns an iterator.
Therefore, mux() does not work on Python 3.
I know that items() is slightly slow on Python 2, so it can't be replaced simply.
Traceback (most recent call last):
  File "./test.py", line 141, in <module>
    main()
  File "./test.py", line 120, in main
    new_video.mux(packet)
  File "av/container/output.pyx", line 194, in av.container.output.OutputContainer.mux (src/av/container/output.c:4058)
  File "av/container/output.pyx", line 200, in av.container.output.OutputContainer.mux_one (src/av/container/output.c:4288)
  File "av/container/output.pyx", line 161, in av.container.output.OutputContainer.start_encoding (src/av/container/output.c:3448)
AttributeError: 'Dictionary' object has no attribute 'iteritems'

Thanks for pointing that out. Fixed.


Can't execute code from the docs: No module named 'hdx.api'; 'hdx' is not a package

Hello!
I am trying to get access to HDX Datasets with the Python library. I am following this tutorial. I skipped the part with the API key, in the beginning, since I only wanted to read a dataset.
To set the stage, I create a virtual environment and install hdx-python-api with pip:
virtualenv venv
. venv/bin/activate
pip install hdx-python-api

These preparations finish successfully. But then I try to run the Python code from the next sections. So I launch python and enter the very first line from item 7. in the doc:
from hdx.utilities.easy_logging import setup_logging

And it ends up with an error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sergey/IoT-Pathway/experimental/sergey/mercy-corps/hdx.py", line 1, in <module>
    from hdx.api.configuration import Configuration
ModuleNotFoundError: No module named 'hdx.api'; 'hdx' is not a package

Could you please clarify how can I avoid it and download a dataset? The Python version is 3.11.9.

@zxqfd555-pw This may be because your filename hdx.py matches the module name in the library. Please can you try changing your filename and let me know if that helps.

Indeed it was connected with the files test script with the same name present in my test folder.
Thank you for your fast reply and sorry for the false alert!


java.lang.ClassNotFoundException: org.springframework.web.SpringServletContainerInitializer

This error happens because of:
https://github.com/in28minutes/SpringMvcStepByStep/blob/master/Step11.md
/pom.xml
4.2.2.RELEASE
just change it to
4.2.3.RELEASE
and it will work, no matter if you use Java 7 or Java 8
If you download project from GitHub, you can see that in Step11.zip there is version 4.2.3 while in Step07.zip there is version: 4.2.2
It would be great if this would be corrected in: https://github.com/in28minutes/SpringMvcStepByStep/blob/master/Step11.md
It took me some time to find cause of this error, might save time for some one else.

Thanks.. I've made the fix. Its great to have students like you.

Thanks, You've fixed it in snippet but in ##Useful Snippets pom.xml but it is still 4.2.2 in Files List /pom.xml


Look into statistical data mismatch in Scholars' Bank

John reported that some statistics don’t add up.
Some snapshot data from the previous version, are not showing the same numbers on the new version. It seems like the cumulative numbers are much lower than they should be.
Acceptance criteria:

[ ] Look into the statistical data mismatches and document findings
[ ] Write any needed follow up stories

This story is on hold until we get all of the previous data from SOLR loaded into production.


E (66829) esp_image: invalid segment length 0xffffffff

Dear fbiego
thanks for this great ota example
When I try the "esp32_ble_ota" example I get the error below.
I made sure to have fully erased the flash on my esp32 dev kit c board before uploading the binaries from the Arduino IDE.
Sequence is this:

erase flash on esp32 target
open "esp32_ble_ota" in Arduino IDE, verify and upload it.
open "BLE_OTA_Python-main" in Visual Studio code
python .\ota.py "3C:61:05:3E:C6:2A" "firmware.bin"

Please see the traces below.
Any help to resolve this issue is much appreciated.
thanks
Marko

trace on terminal:
(penv) PS C:\Users\me\Documents\ISE\sensor-devices\esp32\BLE_OTA_Python-main> python .\ota.py "3C:61:05:3E:C6:2A" "firmware.bin"
------------------------BLE OTA update---------------------
Arduino code @ https://github.com/fbiego/ESP32_BLE_OTA_Arduino
#####################################################################
Trying to start OTA update
Reading from:  firmware.bin
Transfer mode: 0
Installing firmware██████████████████████████████████████----| 92.3% Complete
Progress: |██████████████████████████████████████████████████| 100.0% Complete
OTA result:  Written : 160000/160000 [100%]
Error #: 9
Waiting for disconnect... : Device disconnected
-----------Complete--------------
trace on COM from esp32
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Starting BLE OTA sketch
Characteristic defined! Now you can read it in your phone!
TX  AA 00
TX  F1 00 01
TX  F1 00 02
TX  F1 00 03
TX  F1 00 04
TX  F1 00 05
TX  F1 00 06
TX  F1 00 07
TX  F1 00 08
TX  F1 00 09
TX  F1 00 0A
TX  F1 00 0B
TX  F1 00 0C
TX  F2 00 0D
Trying to start update
Written : 160000 successfully
E (66829) esp_image: invalid segment length 0xffffffff
Error Occurred. Error #: 9
TX  0F 57 72 69 74 74 65 6E 20 3A 20 31 36 30 30 30 30 2F 31 36 30 30 30 30 20 5B 31 30 30 25 5D 20 0A 45 72 72 6F 72 20 23 3A 20 39
Removing update file
Rebooting to complete OTA update
ets Jun  8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Starting BLE OTA sketch
Characteristic defined! Now you can read it in your phone!

160000? looks like the last part was not written to the file. This usually happens when using SPIFFS.
A delay before installing the update may resolve the issue

I am getting the same error when I am following your tutorial carefully and setting the partition table to "minimal SPIFFS".
I am working with platform.io plugin on VSCode. There I added board_build.partitions = min_spiffs.csv to the platformio.ini file and added this csv partition table to the root in the filesystem.
But! everything works when I disregard your advice to set that minimal spiffs partition table. platformio uses the default partition table which works fine for me.
Sadly, I dont know why it works, because I am new to this and I have to get more knowledge about how those partition stuff works and why I even have to alter it.
ps: fbiego, thanks for the nice tutorial and codes. Really appreciate it because it accelerates my project on OTA over BLE.

Hello @Fabchick,
here is a brief description.
app0 stores the uploaded code via serial and the esp will boot from that by default.
When the OTA file is transferred via BLE it will be stored in spiffs temporarily.
The installation process involves transferring the update file from spiffs to app1, if successful esp will set a flag to boot from app1 which now contains the new firmware.
So app0 and app1 must be greater than your compiled code, your spiffs must also be large unless you're using external storage such as an SD card to store the file temporarily

This was an awesome and on-point explanation of it. Thank you! ☺
Also I have to excuse myself. I have messed up by thinking that you have written this similar tutorial.
back to topic:
So If you do not have an SD card, you have to ensure that app0, app1 and spiffs is greater than the compiled code.
The "minimum spiffs table" I pointed out earlier has a size of 0x30000 - which is much smaller than app0 and app1.
Could this have been the problem I have got the #9 error?
Also: I just successfully flashed an 725KB binary file via your app to my ESP32. How is this possible when the default partition options give app0 and app1 a size of 0x140000? 0x140000 < 725KB binary file, right? Or is the size of the binary file much bigger than the actual size of code transfered?

Yeah,  app0, app1 & spiffs must be greater.
0x30000 (hex) translates to 196,608 bytes, which was not enough to store the update file
0x140000 is 1,310,720 bytes

Oh, I did not know the hex number is given in bytes. I thought I must divide it by 8 to get the bytes. 😣
You helped me a lot bro!
Also - I like your projects, keep it up.


Incorrect tuple equality behavior

This expression currently returns false:
define Test1: Tuple { Id : 1, Name : 'John' } = Tuple { Id : 2, Name : null }

But tuples have no implied ordering, so this should be null
Test cases for this (and other tuple equality testing) are being considered for the cql-tests repository here:
https://github.com/cqframework/cql-tests/pull/3
When those tests are agreed and approved, they should be used as the source for the test for this issue

Are you certain this should be null? My reading of the spec here is that it would return false:

For tuple types, this means that equality returns true if and only if the tuples are of the same type, and the values for all elements that have values, by name, are equal.

No mention of "null". The discussion for Codes and Concepts says it uses "tuple semantics" and the example shown implies it would be false, not null.

The equal (=) operator for Codes and Concepts uses tuple equality semantics. This means that the operator will return true if and only if the values for each element by name are equal.

If either argument is null, or has different components specified, the result is null.

define "Code1": Code { system: 'http://loinc.org', code: '8480-6', version: '1.0', display: 'Systolic blood pressure' }
define "Concept1": Concept { codes: { Code1 }, display: 'Concepts' }
define "Concept2": Concept { codes: { Code1 }, display: 'More Concepts' }
define "EqualIsTrue": Code1 = Code1
define "EqualIsFalse": Concept1 = Concept2

Notice how Concept1 and Concept2 vary only by the value of display. In the example you posted the only difference is value of Name. I suppose Name may also vary by type, since it's System.Any in the latter.


Deleting an org avatar breaks the image

Gitea version (or commit ref): 1.1.2
Git version: n/a
Operating system: docker
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL): https://try.gitea.io/foobar
[ ] No
[ ] Not relevant

Log gist: n/a

Description
I have uploaded a custom avatar for my organization, afterwards I have deleted it again and than the org avatar is broken. No page is loading any avatar anymore. I would expect that I get an auto-generated Gravatar image again.
Screenshots

This bug maybe reproduced on master?

Also, after the avatar breaks, the GET /orgs/:orgname API endpoint for the organization gives a 500.

@lunny try.gitea.io is based on master.

So let's mark it as v1.2 and back port to v1.1.3

@tboerger @lunny Fixed? (see https://try.gitea.io/foobar)

@ethantkoenig @tboerger seems yes.

@ethantkoenig please backport to v1.1

closed by #2083


Added “permit eligibility requirements” to list about what to include…

… on a start page on the Parking Permits index page.

Fixes #30


 update qos ingress_policing_burst

Ovs document suggest set ingress_policing_burst  at least as large as 80% of  ingress_policing_rate, this helps TCP come closer to achieving the full rate.

Thanks! @feixiang43


[Blob][BlobTier]Add BlobTier Support For CopyBlob/PutBlob/PutBlockList

Add BlobTier Support For CopyBlob/PutBlob/PutBlockList related APIs.
So when users want to create or copy blobs, they could put the blob
on the tier they want by specifying standard_blob_tier parameter.

Codecov Report

Merging #599 into dev will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #599      +/-   ##
==========================================
- Coverage   86.96%   86.94%   -0.03%
==========================================
  Files          52       52
  Lines        4895     4895
  Branches      525      525
==========================================
- Hits         4257     4256       -1
  Misses        469      469
- Partials      169      170       +1

Impacted Files
Coverage Δ

...torage-blob/azure/storage/blob/blockblobservice.py
91.8% <ø> (ø)
:arrow_up:

...storage-blob/azure/storage/blob/baseblobservice.py
92.96% <ø> (ø)
:arrow_up:

...torage-blob/azure/storage/blob/_upload_chunking.py
71.96% <0%> (-0.38%)
:arrow_down:

Continue to review full report at Codecov.

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


webview_flutter unable to trigger long press touchstart click event

I have deleted onLongPress function in webview_android.dart,but i find my touchstart event can't work

Hi @cj123195
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

caojun@caojundeiMac zhaoguyikuang % flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E266, locale zh-Hans-CN)
• Flutter version 1.12.13+hotfix.9 at /Users/caojun/Develop/flutter
• Framework revision f139b11009 (4 weeks ago), 2020-03-30 13:57:30 -0700
• Engine revision af51afceb8
• Dart version 2.7.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/caojun/Develop/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/caojun/Develop/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4.1, Build version 11E503a
• CocoaPods version 1.9.1
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 45.1.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.1
[✓] Connected device (2 available)
• BND TL10  • JQK4C18111009341          • android-arm64 • Android 9 (API 28)

caojun@caojundeiMac zhaoguyikuang % flutter run --verbose
[  +23 ms] executing: [/Users/caojun/Develop/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +74 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[        ] executing: [/Users/caojun/Develop/flutter/] git describe --match v*.. --first-parent --long --tags
[   +6 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.12.13+hotfix.9-0-gf139b1100
[   +5 ms] executing: [/Users/caojun/Develop/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/caojun/Develop/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +41 ms] executing: [/Users/caojun/Develop/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +12 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +11 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +11 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E266
[  +23 ms] executing: /usr/bin/xcode-select --print-path
[   +6 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[+1138 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +2 ms] Xcode 11.4.1
Build version 11E503a
[  +51 ms] executing: /Users/caojun/Develop/Android/sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /Users/caojun/Develop/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
JQK4C18111009341       device usb:339738624X product:BND-TL10 model:BND_TL10 device:HWBND-H transport_id:3
[  +15 ms] executing: /Users/caojun/Develop/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[ +201 ms] /usr/bin/xcrun simctl list --json devices
[  +89 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[   +4 ms] /Users/caojun/Develop/Android/sdk/platform-tools/adb -s JQK4C18111009341 shell getprop
[  +64 ms] ro.hardware = hi6250
[        ] ro.build.characteristics = default
[   +3 ms] BND TL10  • JQK4C18111009341          • android-arm64 • Android 9 (API 28)
[        ] 曹骏的iphone • 00008020-001A30D21138003A • ios           • iOS 13.3.1
[   +9 ms] "flutter run" took 1,666ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:289:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:515:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run. (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.. (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run. (package:flutter_tools/runner.dart:61:18)

#30     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///Users/weiting/development/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Here is my click event, touchstart can't work but touchend work well
<Btn
v-else
size="mini"
round
plain
theme="white"
@touchstart.native="onRecordStart"
@touchend.native="onRecordEnd"
>按住 说话

Hi @cj123195
touchstart in this example is working
<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

click

Can you please provide example like this from you code?
Thank you
Could related to 47196

OK, I will try it, if it work, I will close the issues.


Formatting issue on Page FAQ

Some part of the document has been mistakenly used example format. This happens from the question:
Why do my queries return no data or partial data?
Point 4.
Relevant URLs

https://docs.influxdata.com/influxdb/v1.7/troubleshooting/frequently-asked-questions/
Provide other relevant URLs (project issues, community threads, etc.)

Thanks @XiaozhanYang! Just pushed a fix for this and it will be live in the next few minutes.


Bug: UG formatting for date is inconsistent with current implementation.

The UG mentioned that dates for sessions should follow the format d/dd-MM-yyyy. However, the actual implementation uses d/yyyy-MM-dd.

Issue resolved in another PR.


can unlock graphics?

i have try to force close pubg and graphics still not unlocked

Try restarting system UI or phone

i have try to force close pubg and graphics still not unlocked

Which PUBG? Give me the package id

i have try to force close pubg and graphics still not unlocked

Which PUBG? Give me the package id

com.tencent.ig

Can you go download any of the debug apps listed in the readme and testing if it's spoofing correctly

Hello, when charging a PUBG account via the Huawei application, there is a chargeable ban for some workers. Is it possible to bypass this ban?

Currently no


2.5 error for no method 'parse'

I just recently upgraded to 2.5.0 and when i try to run the tests i get an error:
TypeError: Object # has no method 'parse'
at Function.ConfigParser.resolveFilePatterns (/usr/lib/node_modules/protractor/lib/configParser.js:102:29)
at new TaskScheduler (/usr/lib/node_modules/protractor/lib/taskScheduler.js:31:31)
at /usr/lib/node_modules/protractor/lib/launcher.js:180:21
at _fulfilled (/usr/lib/node_modules/protractor/node_modules/q/q.js:797:54)
at self.promiseDispatch.done (/usr/lib/node_modules/protractor/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/protractor/node_modules/q/q.js:759:13)
at /usr/lib/node_modules/protractor/node_modules/q/q.js:573:44
at flush (/usr/lib/node_modules/protractor/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:442:13)
at Function.Module.runMain (module.js:499:11)

This is covered in 2558 and fixed in 2591. For a stopgap fix, you can downgrade your version of protractor.

Ok great thanks. Seems like i can also upgrade my node since i just checked and we are currently on 0.10 due to restrictions from other applications but seems we might be able to upgrade that now.

Closing as dupe


Validator voting power remains after unbonding

If a validator is fully undelegated, the voting power doesn't reset to 0 and status keeps active. Unbonding validators should not be shown as active record miss block.

https://github.com/forbole/big_dipper/commit/d68bc1ccc9930649aa033ea29aadb87c9113419b#diff-cde1506c7965dcf09ab180c8da631843R389


logger: Fix logging of non-string types

The logger was not correctly converting the values to log into strings
prior to quoting leading to garbled log entries for non-string log
fields.
Added new unit test to ensure correct behaviour.
Fixes #786.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

Coveralls is stuck again. Report: https://coveralls.io/jobs/30833528
merging...


Add s390x build status in README

We have setup a job for building Envoy-static on s390x in OSU infra: https://ibmz-ci.osuosl.org/job/Envoy_IBMZ_CI/
And similar to ppc , we are looking forward to add s390x build badge to README.
Currently we are running the job daily, would you be willing to provide a build hook for regular triggers on merge?
I can raise a PR to update README, could you please your thoughts.

cc @phlax @alyssawilk

SGTM, feel free to raise a PR. I'd suggest if you want it listed you include a point of contact and/or link to the build, that way if folks hit trouble they have a point of contact and if they get no response we know it's no longer supported

Thank you @alyssawilk
I will add link to the build and we will be monitoring the CI closely for any failures.

hi @namrata-ibm - re the event hook, we have an existing bot setup that triggers builds/sync/etc in other repos, so if its in a github repo this might be useful, otherwise lmk and i can help set up any required auth etc

hi @phlax Jobs are currently setup on Jenkins : https://ibmz-ci.osuosl.org/job/Envoy_IBMZ_CI
If you could help in adding webhook in Envoy Github repo for above Jenkins, builds should be automatically triggered whenever new commits are merged.
We can discuss more over email if required.
Thank you for your support!

are you on the envoy slack? feel free to DM me there (@phlax)


It seems that all the image urls  unable to link the server。Is it my network problem？

Please complete the following information:

Library Version [e.g. v1.0.0]
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]

Describe the Bug:
Add a clear description about the problem.
Expected Behavior:
A clear description of what you expected to happen.

2021-08-18 15:15:06.096 4570-4570/com.skydoves.pokedexar W/Glide: Load failed for https://pokeres.bastionbot.org/images/pokemon/39.png with size [420x420]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
com.bumptech.glide.load.HttpException(Failed to connect or obtain data, status code: -1)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, REMOTE
There was 1 root cause:
com.bumptech.glide.load.HttpException(Failed to connect or obtain data, status code: -1)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetch failed
There was 1 root cause:
com.bumptech.glide.load.HttpException(Failed to connect or obtain data, status code: -1)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.HttpException: Failed to connect or obtain data, status code: -1
2021-08-18 15:15:06.096 4570-4570/com.skydoves.pokedexar I/Glide: Root cause (1 of 1)


Add animation start and stop notification

Add notification protocols to arc animation start and stop

Notified the user for arc animation start and stop.


Move post deployment action to the client

See also zalando/lizzy#108 and zalando/lizzy#118.
This PR also includes some changes to make lizzy-client's output closer to senza's.

Coverage decreased (-0.2%) to 94.76% when pulling 9afe5975bbb63174bb4ff29d26c20b16c585636b on local-deployed into 145c2dc821e35ad420516d28793e7d48cb52ec56 on release2.0.

👍

Coverage increased (+0.2%) to 95.197% when pulling 3cc8bf7f158fad5e6467d788c2f8c9af145dc875 on local-deployed into 145c2dc821e35ad420516d28793e7d48cb52ec56 on release2.0.

👍


Can this be published to PowerShell Gallery?

It would be nice to have this published to PowerShell Gallery.

Will do, but I'll be renaming the module so as not to conflict with another project by the same name

Thanks a lot! Appreciate it. 👍


[MB-8335] upload admended orders part2 (API changes)

Description
Making a lot of changes to https://github.com/transcom/mymove/pull/6870 and want to make sure I'm going in the right direction so I created a new branch and PR to review this work.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
this article explains more about the approach used.

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Messages

:book:
:link: MB-8335

  Generated by :no_entry_sign: dangerJS against 638adb91fc06e9783ea35d9b0146356b7aed8b47

Can confirm I was able to upload amended orders and the TOO was alerted and asked to acknowledge them. 🎉
@mboren Do you know the plan for the move status being changed from approved to approvals requested in the interim?  That's the one issue I had with editing the orders as the TOO is the status still being in Approved.  I could loosen the restriction if we can't fit that work in.  I know Hanna's implementation was around the customer submitting the move again not just saving the uploaded orders.  Happy to follow up with Pamplemoose if that is their concern now.

@duncan-truss Moose is working on changing the move status over in this PR: https://github.com/transcom/mymove/pull/6897/


Is this project not continuing to be developed?

https://github.com/Yelp/elastalert/issues/3210

Not maintained anymore!

elastalert is not maintained. Please use elastalert2.
https://github.com/jertel/elastalert2


Custom region label

version: 1.13.1
problem: In labeling interface, label region is shown with {id}:{label}, which is crowded when label rectangle is small. As a result, I can't see what label I use for this region.
request: Support option to hide id and display like 1.13.0

Hi @DoctorReid, could you screenshot the difference you're referring to?


Feature: Dropping duplicate css when chaining prop's

When using multiple props they will override the main style ones leaving them in the outputted code.
It would be great if they could be stripped out as this would potentially save additional class weight for components with many props/overrides.

💖

Hmm, I don't think that really matters. The amount of CSS you inject is pretty irrelevant, while there is a "maximum" it's so huge that you should never be able to reach that point.
I can see us removing duplicate properties like so through https://github.com/styled-components/babel-plugin-styled-components:
const div = styled.div`
  padding: 0;
  padding: 1em;
`

but I think it's a pretty small enhancement that will require a lot of work and be very finnicky to be honest 😊


[Documentation] Add Contributing.md & Code of Conduct.md from contributors repo.

Fixes #1318. I'm targeting master as we want these by default (I will rebase 10.0.0-dev afterwards).

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1322   +/-   ##
======================================
  Coverage      83%     83%
======================================
  Files          24      24
  Lines         753     753
======================================
  Hits          625     625
  Misses        128     128

Continue to review full report at Codecov.

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


Add com.fulcrologic.statecharts.util/*java-clock* that allows for a…

… java.time.Clock to be bound

Useful for testing

I don't really want to do this this way.  Fulcro spec has when-mocking which leverages Clojure's low-level with-redefs to do exactly this sort of thing for testing (other for other reasons).  Peppering dyn vars around for testing purposes is not their intended use, and IMO is actually a very poor practice.


Repository list is limited to 1000 repositories.

Summary
When quering repositories, tabia only shows the first 1000 repositories.
Example
./bin/tabia github -t <token> repositories -O philips-internal -F templated -T tabia-repository.tmpl > repositories.txt

We are using the Graphql paging.
https://github.com/philips-labs/tabia/blob/develop/lib/github/repositories.go#L68
Might be caused by api rate limits or some other sort of bug.


Created using Colaboratory

pull req test

Aaron,
Great work yesterday! You nailed the PR. Also, your github is very well organized which I appreciate. You successfully loaded in a dataset and viewed it. Keep up the good work!


why is there code on gitlab?

why is there code on gitlab?

is it still there?

Gitlab was to avoid the high github costs for hosting images on the CI/CD flow. None of the code is actually on gitlab, only some built images that are built from the code that is on github. Github was charging high costs if we wanted to do this all on github. For local builds gitlab isn't needed but config will need to be a bit different ofcourse. And can easily be done on github but take into account the higher costs then.

how can someone build themselves?


styled-components with Babel plugin results in className mismatch on Next.js 5

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
styled-components should not result in the className mismatch warning from React.
Current Behavior
Warning: Prop `className` did not match. Server: "Header-johx6c-0 bHIeEO" Client: "Header___default-johx6c-0 gGUBlx"

I'm exporting the header component like so:
export default styled(Header)`
  text-align: center;
`;

Notice that styled-components uses the name Header on the server and Header__default on the client. This doesn't happen with Next.js 4, so I assume it has something to do with the way modules are built with the new Universal Webpack setup.
Steps to Reproduce (for bugs)

Use styled-components with next v5.
Use babel-plugin-styled-components with the default displayName setting.
Render a component exported like: export default styled(Component)

(It doesn't matter what the Babel plugin's ssr setting is, nor if the server stylesheet is set up in _document.js. Same thing in every combination.)
Your Environment

Tech
Version

next
v5.0.0

node
v8.9.4

OS
macOS

browser
Chrome

bump.
It only happens in dev for me though.

Tim knows this and said its on their list of things todo very soon!

I got the same problem with a simple h1 component:
`const Headline = styled.h1`...`;

Warning: Prop `className` did not match. Server: "pages__Headline-te1id5-0 bqAPoZ" Client: "pages__Headline-te1id5-0 cIpCqj"

Also only for dev...
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Tim knows this and said its on their list of things todo very soon!

I haven't said anything like this at any point 🤔
Maybe @kitten knows what's going on.

I suppose this is a side effect of using ES module exports for the client and CJS for the server, correct?
I thought we used to have a fix for this in place but apparently we don’t. I’m not sure how safe it’d be to filter out component names that are exposed as “default” but that’d be a solution.
Please note that I would not recommend the “export default styled.div” pattern. I’d guess this is what causes this.
As the result you’d get when applying the above to arrow functions, similarly for our Babel plugin this would mean that your StyledComponent technically doesn’t have a name. So simply writing “const X = ...; export default X” might help here if I’m not mistaken. Even if for “Header” you’d name that variable “Header” or “Container”, for debugging in general this would be more explicit.

Finally got a fix for this issue. You need to specify for each environment how babel handles styled-components:
this is my .babelrc file, I have other stuff going on in here but look specifically at "Development". Adding the development under env should fix the error completely.
{
  "env": {
    "test": {
      "presets": [
        [
          "env",
          {
            "modules": "commonjs"
          }
        ],
        "next/babel"
      ]
    },
    "development": {
      "plugins": [
        [
          "styled-components",
          {
            "ssr": true,
            "displayName": true
          }
        ]
      ],
      "presets": "next/babel"
    },
    "production": {
      "presets": "next/babel"
    },
    "server": {
      "presets": [
        [
          "env",
          {
            "modules": "commonjs"
          }
        ],
        "next/babel"
      ]
    }
  },
  "plugins": [
    [
      "styled-components",
      {
        "ssr": true,
        "displayName": true
      }
    ],
    [
      "inline-react-svg"
    ],
    [
      "transform-flow-strip-types"
    ]
  ],
  "retainLines": true
}

@spencersmb alright, this indicates that the recommended next.js usage of the plugin is out of date. We've got a note on why this matters in our docs https://www.styled-components.com/docs/tooling#usage
Quote:

The plugin call order in your .babelrc file matters. If you're using the env property in your babel configuration, then putting this plugin into the plugins array won't suffice. Instead it needs to be put into each env's plugins array to maintain it being executed first. See this for more information.

With this issue linked there: https://github.com/styled-components/babel-plugin-styled-components/issues/78
The next.js example needs an update then, if I'm not mistaken? :smile:

@kitten makes sense. The example is actually fine since it doesn't use "env" maybe this should be documented in the example readme though 🤔
https://github.com/zeit/next.js/blob/canary/examples/with-styled-components/
https://github.com/zeit/next.js/blob/canary/examples/with-styled-components/.babelrc

Hmmm, I don't use different envs in my .baberc (actually it looks like the one Tim referenced) and I don't export the styled component. I just use it in the same file:
const Test = styled.div`
 color: red;
`;

export default () => (
    <>
        ...
            <Test>XXX</Test>
        ...
    </>
);

Strangely enough it happens only on my index page and not on every page load...

I'm getting the same error on yarn dev only. Styles also appear to not be loaded the first time and only appear upon refresh - the className mismatch error also starts appearing after the refresh. I am not using any envs in my babelrc so I'm not quite sure how to fix this. Oddly, using next.js 7 with no file changes does fix the issue but I have to use 6 until 7 is officially released. Any ideas?
{
    "presets": [
        "next/babel",
        "@zeit/next-typescript/babel"
    ],
    "plugins": [
        ["babel-plugin-styled-components", { "ssr": true, "displayName": true, "preprocess": false } ]
    ]
}

Hiya, I am also getting Warning: Prop className did not match. Server: "sc-ifAKCX jWHVsk" Client: "sc-bdVaJa ebJbtP"
I was npm link components into my nextJS project and this was causing the issue I think. When I bring the component into the project without linking it works, I still get the render flash though.
Also the issue seems to be on a full refresh - when I edit the page the element renders correctly, on full refresh I get the error above again
Hope this helps to dive a little deeper
Babelrc
{
  "plugins": [
    [ "styled-components", { "ssr": true, "displayName": true, "preprocess": false } ],
  ],
  "presets": ["next/babel"]
}

I use style inline method
    const Button = styled.button`
      border: none;
      border-radius: 5rem;
      color: white;
      cursor: pointer;
      display: inline-block;
      font-size: 1rem;
    `

I'm assuming this doesn't happen anymore with latest styled-components.

@timneutkens Actually it still happens. Is it just me or do you guys also still have this warning popping up?
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Any update on this issue ? Seems annoying to everyone using in dev mode.

@exogen  I'm using "babel-plugin-macros": "^2.4.2", , with antd and always got this warning.
The magic is Why client-side still generates their own IDs , because as i see, the only place to generate IDs is in _document.js, which only happens on server side though.

These are my versions:
next 7.0.2
babel-plugin-styled-components 1.1.5
styled-components 4.1.3
...and I'm still having this issue intermittently. Any suggestions?

I found this to work. Make sure you have babel-plugin-styled-components in your dependencies. The following can go in .babelrc or in package.json
"babel": {
		"env": {
			"development": {
				"presets": [
					"next/babel"
				],
				"plugins": [
					[
						"styled-components",
						{
							"ssr": true,
							"displayName": true
						}
					]
				]
			},
			"production": {
				"presets": [
					"next/babel"
				],
				"plugins": [
					[
						"styled-components",
						{
							"ssr": true,
							"displayName": true
						}
					]
				]
			},
			"test": {
				"presets": [
					[
						"next/babel",
						{
							"preset-env": {
								"modules": "commonjs"
							}
						}
					]
				],
				"plugins": [
					[
						"styled-components",
						{
							"ssr": true,
							"displayName": true
						}
					]
				]
			}
		}
	}

Issue also occurs with react-jss, where no babel plugin is required.
When the server starts everything works fine, then …randomly… if I refresh the page or hot-reloading does it, client rendered className (example: Comp-el-0-1-3) is higher of server rendered className (example: Comp-el-0-1-1). 🤷♂
next: 8.0.3
react-jss: 8.6.1
@babel/core: 7.3.3

For me everything is fine in production but I get a warning for className mismatch in development. I quickly solved the issue by disabling stylesheets server-side rendering in development.
Here is my _document
class MyDocument extends Document {
  static async getInitialProps(ctx) {
    const sheet = new ServerStyleSheet();
    const originalRenderPage = ctx.renderPage;

    try {
      const initialProps = await Document.getInitialProps(ctx);

      // prevent stylesheets server-side rendering
      // in case we are not in production
      if (!process.env.NODE_ENV !== 'production') {
        return initialProps;
      }

      ctx.renderPage = () =>
        originalRenderPage({
          enhanceApp: App => props => sheet.collectStyles(<App {...props} />),
        });

      return {
        ...initialProps,
        styles: (
          <React.Fragment>
            {initialProps.styles}
            {sheet.getStyleElement()}
          </React.Fragment>
        ),
      };
    } finally {
      sheet.seal();
    }
  }
}

Then you just to have to edit your babel config to disable the ssr option in development (note that if you're using a .babelrc file to manage babel's config you'll have to convert it to a .babelrc.js file)
const dev = process.env.NODE_ENV !== 'production';

module.exports = {
  presets: ['next/babel'],
  plugins: [
    ['styled-components', { ssr: !dev, displayName: dev }],
  ],
};


:sparkles: feat(bundler): Add more etherscan links

Description
Add etherscan links for most major networks and testnets including Optimism, Arbitrum, ZKSync, Base Goerli, BSC, and more
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #249   👈

This comment was auto-generated by Graphite.


"fake_useragent " occurred a error which cause "requests-html" can not work.

requests-html occurred a timeout error  ，the specific error information  as follows .
Error occurred during loading data. Trying to use cache server http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.10.json

In this case ， “fake_useragent”  can not  request "http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.10.json"  in "fake_useragent.settings.py"

Same problem for me: if fake_userangent is unable to load the json data (usually for network problems), the line 22 of file requests_html.py:
useragent = UserAgent()
throw an exception (urllib.error.URLError: <urlopen error timed out>) and the import of the entire requests_html module fails.
Maybe there should be a way to initialize the useragent global variable manually (not at module load time).
But unfortunately fake_userangent currently seems not to support full offline initialization: https://github.com/hellysmile/fake-useragent/issues/58


[ALLUXIO-2713]Specify null variable in WorkerNetAddress.java precondition check

https://alluxio.atlassian.net/browse/ALLUXIO-2713

https://alluxio.atlassian.net/browse/ALLUXIO-2713

alluxio-bot, check this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14637/
Test PASSed.

Hey @Foxssss, do you mind signing the CLA? You can sign it here: http://cla.alluxio.org/


Add new job-related and UK company decided investment fields

Add the following fields:

some_new_jobs
will_new_jobs_last_two_years
uk_company_decided

Codecov Report

Merging #331 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #331   +/-   ##
========================================
  Coverage    92.88%   92.88%
========================================
  Files           72       72
  Lines         2613     2613
  Branches       234      234
========================================
  Hits          2427     2427
  Misses         153      153
  Partials        33       33

Impacted Files
Coverage Δ

datahub/investment/serializers.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Please invite me to the GitHub Community Organization

Name
jMax
Discord Username (if applicable)
jMax
Additional Context
Please Invite me to the GitHub Community Organization

You are already part of eddiehub 🚀


Otera, a Better name than jinja..

Um... It's barely to talk about the misunderstanding of 神社 ( じんじゃ, jinja ) while jinja already become a popular package.
However, otera (お寺, おてら) may be the proper name according to the FAQ (https://jinja.palletsprojects.com/en/3.0.x/faq/#why-is-it-called-jinja)...
ref: https://www.blogblog.life/entry/differencebetweenshrineandtemple30

we're not going to rename jinja... so I'm not sure what the point of even opening this issue is.


How to use SQLitePCLRaw.lib.sqlcipher.windows.1.1.2 nuget package?

I'm trying to use SQLitePCL with sqlcipher in VS2015 C++ on Windows desktop.
I have installed SQLitePCLRaw.lib.sqlcipher.windows.1.1.2.
There's no header files in the package folder.

./build
./build/SQLitePCLRaw.lib.sqlcipher.windows.targets
./runtimes
./runtimes/win7-x64
./runtimes/win7-x64/native
./runtimes/win7-x64/native/sqlcipher.dll
./runtimes/win7-x86
./runtimes/win7-x86/native
./runtimes/win7-x86/native/sqlcipher.dll
./SQLitePCLRaw.lib.sqlcipher.windows.1.1.2.nupkg

What did I miss? What to do next?
=========================================
Just found this description on Nuget:

To use this, you need SQLitePCLRaw.core as well as SQLitePCLRaw.provider.sqlcipher.net45 or similar. Convenience packages are named SQLitePCLRaw.bundle_*

So, is there a package for VC++ 2015?

SQLitePCL.raw is designed for use with managed code, not C++. If you just need a SQLCipher build for Windows, I would go to Zetetic.  Or you could get the same build I bundle from
https://github.com/couchbaselabs/couchbase-lite-libsqlcipher


Library Does Not Work with Unity 2019.1.6f1

By following the steps described in the "How to use" section, I have successfully created an app using Unity 2018.2.2f1. Using the exact same process, but with Unity 2019.1.6f1, XCode fails to build.

During the Unity export, I did notice a difference in the files added to the pbx file.
Unity 2018.2.2f1

Unity 2019.1.6f1

Has anyone been successful creating an iOS app using this library and a version of Unity 2019? If so, can you specify the version of Unity 2019 that works?

I'm using 2019.1.0.f2 and it works properly

@octopus8 Any chance you explored and resolved this?

@octopus8
Unity reset my rendering settings, which was causing this error. Try following the step again to set OpenGLES2.

IOS Platform:
Other Settings find the Rendering part, uncheck the Auto Graphics API and select only OpenGLES2.


POST Query subs by org

💡 Summary
Add new REST endpoints that mirror existing sql queries and replace existing sql query with REST
Specifically: Convert "query_subs()" TSQL query to an API endpoint
Motivation and context
There are two major reasons to use endpoints in place of sql queries.

Replace the need to know t-sql
Off load data aggregation to fastapi parallel workers

Implementation notes

Gather existing queries from code.
Create new endpoints at fastapi.
Secure new endpoints in same fashion as existing endpoint.

Acceptance criteria

[X] home/models.py model created
[X] dataAPI/schemas.py schema created
[X] dataAPI/views.py functions created
[X] dataAPI/tasks.py function created
[X] Verified endpoint is working
[X] Code review and push changes

Endpoint finished and pushed to the CD-pe-reports-api-extended branch


[servicing/1.0.x] Use roslyn-tools technique to skip test restore

This is a patch for removing test dependencies from source-build: https://github.com/dotnet/source-build/pull/847.
I copied the approach RepoToolset takes: the same build command still runs (which I believe uses the solution file), but test project restore/build targets are overridden with blank ones.
@natemcmaster, I'm not very sure about submitting this to this branch, since it's a year old. If it doesn't make sense to take this PR, it can be closed--we'd carry the patch in source-build until ASP.NET Core gets more generally buildable from source or we figure out where the submodule should really be building this package (Microsoft.Extensions.CommandLineUtils.1.0.1) from for ongoing 2.1 builds.

The servicing branch is dead from a functional perspective. It only exists to support source-build and the NuGet client's dependency on Microsoft.Extensions.CommandLineUtils 1.x. We don't plan to ship updates to Microsoft.Extensions.CommandLineUtils.

Cool, to strictly get rid of the patch (as a dev flow inconvenience), I think we should merge, then.

An alternative solution, which I highly recommend, is to copy the sources of Microsoft.Extensions.CommandLineUtils into NuGet.

Just to make sure I'm following, this is because NuGet is the only one referencing it? (Or at least, it's supposed to be, from source-build's understanding of the graph.)
This would let us drop the whole repo (for now) so I like it. I'll file a source-build issue to discuss/do.

This would let us drop the whole repo (for now) so I like it. I'll file a source-build issue to discuss/do.

👍 cool. Yes, if I remember right, NuGet was the only reason this repo ended up in source build. And even then, it only builds the CommandLineUtils projects. Could be good to drop this if we can.

Heh, just realized I completely skipped the "It only exists to support source-build" sentence when I was reading--it was already clear, sorry about that. 😄
Filed https://github.com/dotnet/source-build/issues/849 for the move.


Add configuration to set specific RKE2 version

ATM, as far as I know - one is unable to set a specific RKE2 version to be installed.

You can set a specific version if you use the tarball install method. The playbook will use this if you drop in the tar files of the version you want. In my automation flow, I'm doing something like this before running the site.yml playbook to achieve this:
rke2_install_version="v1.26.7+rke2r1"
git clone https://github.com/rancherfederal/rke2-ansible.git
cd rke2-ansible/tarball_install
export V=$( echo "$rke2_install_version" | sed 's/\+/%2B/' )
echo "Downloading $rke2_install_version install files"
wget -q https://github.com/rancher/rke2/releases/download/${V}/rke2.linux-amd64.tar.gz
wget -q https://github.com/rancher/rke2/releases/download/${V}/rke2-images.linux-amd64.tar.zst

On RHEL you can install a specific version using this var:
install_rke2_version: "v1.26.8+rke2r1"
However, be aware that doing a yum update or dnf update will update the rpm to the latest patch version, which may not be what you want. Disabling the rke2 repos in /etc/yum.repos.d can prevent that behavior.


TREZOR 1.4.0 fails on Windows

After upgrading to TREZOR firmware 1.4.0, multibit is not able to communicate with the device.
At first, multibit wasn't able to detect the device. It was due to the issue described at: https://www.reddit.com/r/TREZOR/comments/52tcff/mytrezor_not_working_with_new_firmware/d7ncnqs. After applying the fix, the device was detected, but multibit was still unable to talk to the device. The error that is:
Requesting TREZOR Unlock
Failed to communicate with TREZOR device
Firmware version 1.3.6 works as expected on all platforms. Firmware version 1.4.0 works as expected on Mac osx.
Very little troubleshooting has been done so there may be a simple fix. This possibly includes:

Rebooting the machine
Looking at the logs for any clues
Rebuilding with the most recent .proto files.
Wiping the device and trying again.

We are shipping with this bug in Multibit release 0.4.1 and will get trezor 1.4.0 working in a future release (hopefully within the next 2 weeks).
@jhoenicke Any ideas about other things we should look for?

The main difference of 1.4.0 is a second hid interface for u2f functionality.  The first HID interface enumerated should be the usual Trezor link, the second interface is u2f.  You have to make sure to send the commands to the first interface.
Preferred way to distinguish these is by the HID usage page: ff00 for Trezor and f1d0 for u2f. This is sometimes given when enumerating the interfaces, or you can query the report descriptor. You can also use the endpoint (1 vs 3), but boot loader uses different endpoint so this is not reliable.

@jhoenicke Thanks for explaining. That information will be very helping in getting 1.4.0 working.

Windows (and OS X) HID drivers report usage_page, so that should be the preferred method. Only problem is in Linux/libusb where usage_page is empty and one has to use interface_number (which is empty on Windows/OS X).


test: add tests for the todo application

[x] Unit tests
[x] Figure out how we would want to teach widget tests
[x] Figure out how we would want to teach integration tests
[x] CI automations
[ ] coverage check?

@RobertBrunhage, the CI didn't work because it says it didn't find a matching device. I didn't change anything related to the device


[WIP] Set payment voucher in RPC method request headers

Part of Support running go-nitro node in/out of process in ipld-eth-server

Closed by https://github.com/cerc-io/ponder/pull/12


M96S's Zoom and Toggle Zoom swapping places upon unholstering.

Description
The M96S integrated scope's zoom and toggle zoom abilities will swap places with each other when holstering and unholstering.
Reproduction
Simply holster and unholster the M96S.
Screenshots

I had a lowpop round(#1155) where this bug somehow fixed itself. I didn’t realize the bug went away until near the end of the round.
I think it was after being screeched by the queen in close proximity which resulted in me dropping the M96S. I’m not entirely certain, but it seems like dropping the weapon and picking it back up is what fixed it.

Dropping the weapon and picking it up does not fix it. I've tested everything I could think of. The two abilities will always swap places every time the M96S gets placed in the hand.

Found a temporary fix for this bug.

Unholster the M96S into either hand.
Swap hands (X)
Click the weapon to swap it to the other hand.
Swap hands again (X) then attach a Bipod to the weapon.

This should fix the bug for the rest of the round as long as you don't remove the Bipod.

This temporary fix is sort of no longer working? I got it to work again after putting the sniper on the backpack slot and equipping it from there.
This bug makes no sense and makes me wanna pull my hair out.

I’m not sure if this bug is still happening(WS gambling lol), but you can simply use key binds to operate the scope and bipod. Circumventing this specific problem entirely.
I’ve been playing rmc14 for a while now and only just recently learned about attachment key binds. 🤦♂


Watch11 classic layout

Hi!!
Can you add the Watch11 classic layout which was a watchpage layout that youtube used from June 2021 up until May 2022 here are the different versions shown in this video:https://m.youtube.com/watch?v=84eafpC16XQ

If I add a 2022 layout, it will have the May 2022 version of Watch11. That said, I can't say when I will add it, since Classic Watch11 will be harder to recreate than any other Watch layout I've recreated so far.

Okay


Add deploy to Itch.io

Hello @aBARICHELLO
This is not an issue, but a feature request. I'm submitting this especially because your docker image is so popular among all the Godot docker images available. And for a good reason, it provides excellent documentation. Thanks a lot for that.
Since you already have all these excellent examples on how to deploy the HTML5 game to Git(hub|lab) Pages. Adding deployment to Itch.io would complete this set as it's one of the most popular platform for Windows, Linux and Mac indie games.
Itch.io Butler needs to be available in the docker image. Here is some inspiration on how to add it ;)
And the user would need to provide his/her own Itch.io API key.
Let me know what you think.

Thanks for the feedback, I'll look into the butler documentation.


Will poethepoet delete the virtual environment in poetry?

I installed Poe the Poet into my poetry project.
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.22.1"

before run poe command, env information is as follows:
 > poetry env list
chat-action-server-Jyf8p_KH-py3.9 (Activated)

and run poe commnd
>poetry run poe dev

then print the  env information,there is nothing output.
poetry env list

Hi @lfygh, this is surprising, since poe does not have any capabilities for directly managing the virtualenv. Are you sure that's what happened?
If you can give more information about the context and how to reproduce this issue I'll try work out what's going on.

I'm going to close this issue now because it's unclear if there's really an issue to be addressed here.


add windows-2022 to gh regression tests

As discussed in other PRs a windows regression test would be helpful for the future.
For now the tests will fail, as several other PRs must be merged first and go-ftw must be updated to the latest version (my PR was just merged at go-ftw that fixed the windows issues there). I suggest to keep this PR open and retry it after other PRs are merged.

I pushed this branch to origin so all your other PRs can be built on top of this branch.


ol/sourec/VectorTile#getFeaturesInExtent missing

Describe the bug
The @api  method ol/sourec/VectorTile#getFeaturesInExtent has been removed, but no mention anywhere.
Assuming it was an accident.
ol/source/VectorTile getFeaturesInExtent removed:
https://github.com/openlayers/openlayers/commit/01702e09af859904dac845245b5d5c90fff97e7f#diff-0fbd98d084623d42529972aee3467ed5148d999b1ed748a579dc6a168a5f58aeL174-L218
empty ol/layer/VectorTile getFeaturesInExtent added:
https://github.com/openlayers/openlayers/commit/b4cf22f4f2da0ac7ac28976274283422dec09c02#diff-8a7439796df6dff9652e3571b44e43ab1d608fb2495eb00ffdca1dde07ba184cR190-R191
and changed in typescript tests:
https://github.com/openlayers/openlayers/commit/b4cf22f4f2da0ac7ac28976274283422dec09c02#diff-b1298f99049b1adb4683dac2e68abf20d75bcf26d8be53f3e0c98c65c4dfa719L15-R15
These tests pass because this getFeaturesInExtent has no type annotations and returns any type.
Expected behavior

working typescript tests
either a breaking changelog or add the method back if it was an accident
remove or implement ol/layer/VectorTile getFeaturesInExtent

Thanks for the pointer, @MoonE. This was indeed an oversight on my part. The idea was to move the method to ol/layer/VectorTile and make a note in the changelog.

Working on this now.


HHH-17053-fix(hibernate-orm): joda-money cannot mapping with compositeType

This PR produces a compile error. Apart from that, you do not use a proper embeddable projection in the CompositeUserType. We have a few examples in the test suite that show how you can implement a custom composite type for monetary amounts. We even have a section in the documentation that goes into that topic in-depth: https://docs.jboss.org/hibernate/orm/6.2/userguide/html_single/Hibernate_User_Guide.html#embeddable-mapping-custom
Apart from the compile errors, I can immediately see that you are not considering the fact that Hibernate orders attributes by attribute name in alphabetical order, which means that amount = 0 and currency = 1. If you fix that, your problem will probably go away, but please consider asking questions on our Discourse forum first before creating a JIRA issue straight ahead.

@beikov

Apart from the compile errors, I can immediately see that you are not considering the fact that Hibernate orders attributes by attribute name in alphabetical order,

Ugh, but wait, that's a bit broken, isn't it? How can I ever write a correct composite user type if I can't know what order the columns are going to be resorted into?
The column names are not know by the composite user type itself, they are defined by the use site.

Oh, wait, by attribute name, not by column name. Excuse me, I misread.
I guess that's OK then, though I still don't love it.

Read carefully, attribute names. The names are controlled by the author of the composite user type as the names are defined in the embeddable projection type.

Yeah sure, my bad. The signature of this method is still kinda fragile though:
Object getPropertyValue(J component, int property)

It would be better to identify the property in a more typesafe way.

Indeed, the javadoc is incorrect. Would you be so kind and create a PR for fixing the javadoc please?


Metadata: ProtonTechnologies.ProtonVPN version 1.16.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Ok

Please look this PR also.

If it is failing, the manifest should be removed from the repo.


Safe code can implement Message and therefore Object traits for any type to invoke undefined behavior

Implementing Message doesn't require actually implementing anything, and then implementing INSObject doesn't require any unsafe code. Safe code therefore can implement INSObject for types that it shouldn't and invoke undefined behavior by calling the INSObject methods.
impl Message for uint { }

impl INSObject for uint {
    fn class_name() -> ClassName<uint> {
        ClassName("uint")
    }
}

fn main() {
    let x = 0u;
    let hash_code = x.hash_code();
}

Message was made unsafe in 776486e; the object traits may need to be marked unsafe as well, but that isn't as pressing because invoking an unsupported selector on an object in Objective-C is defined behavior.


Deis doesn't actually stop containers upon scale down & destroy

Hi,
I didn't take the time to document anything meticulously, but here's the story:

had an app on Deis with ~10 web containers, ~3 celery workers
decided to migrate the app off of Deis
scaled all processes down to 0 containers
ran deis destroy -a my_app

Deis reported everything as destroyed and scaled down, app is no longer accessible via HTTP.
But.
Emails from the app keep rolling in with the deis fqdn. Apparently Celery is still processing tasks on behalf of the deis app. I log into a deis node and, indeed, not only does docker ps reveal still-running containers, but when I kill those containers they respawn. Eventually I tracked down the systemd conf file for the service which, to my dismay, was still loaded in the systemd daemon.
In order to actually stop my app on deis, I had to log into each host and

remove the related systemd .service file
sudo systemctl daemon-reload
and finally docker rm all matching containers.

:sob:

this sounds like a scary bug

Can you check and confirm that fleet received a delete request from the controller? I know there have been a few cases where fleet has received requests and ignored them.

Related: https://github.com/deis/deis/issues/4909

@olalonde thanks for the pointer.

closing this issue due to inactivity (and the fact that deis v2 has been announced), but please re-open if you find any more information from fleet on why this occurred.