text:
Try to allow usage of MainPage and IBlazorWebview in ElectronNET implementation

Try to allow usage of MainPage and IBlazorWebview in ElectronNET implementation.
In the current build (3.0.7-xxx) we can call and instanciate Electron from Startup.cs but we cannot execute the exact loading path in the Shared forms project , as IBlazorWebview does not have any implementation for this , and that we don't manage anything with MainPage being called.
A nice evolution would be to wrap the Electron instanciation into a IBlazorWebview component instead, and preventing the MainPage instanciation to fail in the fake Xamarin.Forms implementation.
This should prevent to use some code like BlazorDevice.IsElectronNET at App loading to prevent to load pure Xamarin.Forms part.
Btw, this is just a nice to have, and not something blocking in my opinion.

I think it's better to implement it now as we should be able to load the ElectronNET in the same way in Xamarin.Forms without change.
Done, closing, and will ship a new update and unlist previous.

repo: Daddoon/BlazorMobile


text:
System Admins only

Developers shouldn't be allowed to Sudo it should be only really for "System Admins" or someone besides developers. This is a huge security risk and can lead to abuse since they can give themselves more perms than before with an Admin role.

dont devs have perms to the repo? so technically they already have all the perms the bot had to offer. whcih includes the api keys for the panel.

dont devs have perms to the repo and eval? so technically they already have all the perms the bot had to offer. whcih includes the api keys for the panel.

The only Dev that has access to every repo is Freddie. The other devs only have access to a select few. I also think Dan should reset the keys in case a Developer Grabbed them.

you think dan would do that? lmao

Gunna approve this as it's a good point about security, Dan may choose to reverse it

dont devs have perms to the repo and eval? so technically they already have all the perms the bot had to offer. whcih includes the api keys for the panel.

Only people who have permission to grab keys is freddie i believe. Plus you since Dec 2021, you need to use the bots IP in order to access anything panel admin API related. As for general panel sided, Either have access to mine or freddies emails and ips.

Developers shouldn't be allowed to Sudo it should be only really for "System Admins" or someone besides developers. This is a huge security risk and can lead to abuse since they can give themselves more perms than before with an Admin role.

Not sure why it wasnt like this by default, Never made the command thonk

There are also other things in place that mean an API key on its own will not give you access to the panel

it doesn't matter if dev have access to sudo, since they already have eval. and it doesn't matter if the admin api has whitelisted ips that can access it, which it doesnt. they can eval and give themselves panel admin.

it doesn't matter if dev have access to sudo, since they already have eval. and it doesn't matter if the admin api has whitelisted ips that can access it, which it doesnt. they can eval and give themselves panel admin.

the entire argument is pathetic, in dbh which is not a company and doesn't have their "workers" under contracts. if you dont trust someone simply dont give them perms, its not as if theyre working on shit anyways since everyone on the dev team is straight up useless, and do nothing other than abuse their hosted status to advertise shit. now jamie claims that dan denies all the proposed ideas for the host, which is believable, but brings us back to the main point. if you dont trust them, and dont want them to improve and work on shit, just remove them.

it doesn't matter if dev have access to sudo, since they already have eval. and it doesn't matter if the admin api has whitelisted ips that can access it, which it doesnt. they can eval and give themselves panel admin.

panel admin area is whitelisted, having admin would do nothing at all. both admin area and admin API has ip whitelist enabled with CF access rules

it doesn't matter if dev have access to sudo, since they already have eval. and it doesn't matter if the admin api has whitelisted ips that can access it, which it doesnt. they can eval and give themselves panel admin.

the entire argument is pathetic, in dbh which doesn't have their "workers" under contracts. if you dont trust someone simply dont give them perms, its not as if theyre working on shit anyways since everyone on the dev team is straight up useless, and do nothing other than abuse their hosted status to advertise shit. now jamie claims that dan denies all the proposed ideas for the host, which is believable, but brings us back to the main point. if you dont trust them, and dont want them to improve and work on shit, just remove them.

Advertising on status's is something we have been looking into. Most devs dont do much currently if at all.
As for DBH workers. Legally they are classed as volunteers meaning we dont need to pay and they are free to leave at any time.

Also since this is not the place to talk, I will be locking this thread. Please use the discord or my dms

source: gharchive/pull-request

authors: Darker-Ink Hadimhz danielpmc freddierick

repo: DanBot-Hosting/DanBotHostingStats

license: MIT

license_type: permissive

license_source: github-api


text:
what's the role of "mask"  in train and test.

Hello,
I read your paper and test some image,  the result performs very good.   And I have a question when i prepare train my own model.
     What the effect of the "mask",  since the paper didn't mention about it, and i'm a little confuse about it.

     Another question is the model showed in paper is trained only by the 40 images?

    Thank you very much, wish to your replay.

Hi,

Since when our code was released, there was no implementation of 'subpixel upsampling layer' in caffe, so we used the nearest neighbor upsampling layer with a selective mask to do the job of subpixel upsampling.
Yes. Our training set only contains 40 selfies, for each style, we have 40 reference style images generated from Prisma.

Thanks for your reply.
And when i train the model use train_reshape.m,  it has 4000K iter  (pass=1:100, file = 1:40, batch=1:1000) , which is different from what the paper says(100K iterations with lr 10-8 and 10-9), the most i want to know is the how to set the lr , because it didn't match with the paper says.
thank you .

The lr and max_iter is defined in the solver file of the training dataset. The 40 files are actually a split of one giant training file (due to RAM limitation, we use 40 smaller files to split). Although it may seem like 4000K iterations, the actual number of iterations is 100K.

I know what you means, but it didn't stop since the “for  loop” is still run after 100K, although I didn't test the parameters of the network is still change or not. I will manual stop it when the iterations is 100K.
And why the lr is so small , because in my impression, the lr usually starts from 10e-3 or 10e-4 when do the task of detection or classification.  I have few experience in the area of Abstraction, could you tell me the reason why the lr set so small ?
sorry to bother you, thank you very much.

I am not sure in our previous experiment (with an older version of caffe) the 'didn't stop' problem emerged or not... But since the model size is very tiny (with little time per iteration), I guess the safest choice is to wait for the script to terminate. Of course, you can manually test it on 100K and see the results...
We choose this lr from many times of experiments. I believe you can increase it a little bit but the model tends to collapse for lr of 1e-3 or 1e-4. One possible reason for such is that the gradient domain is different from the RGB domain, with less stable high-dimensional geometry for optimization (it is like optimizing the second derivative of an image).

Thank you .   I trained with the network, and get good performance.
And to reduce the computation, I use the test image of 256256, but the result is not good as 512512,  So if i want to compute a video in real time , i need to change a small network and maybe use the v and h only in gray channel, any advice for the small net ?
I think it needn't use so much channel like 512, since in my understanding, you use 512 is to upsample with mask,  if i use pytorch which has the upsample layer, i can use only 32 channels before upsample, then upsample to same 32 channels,  it can save lots of computation，is this understanding right ?

Sure. Loading the mask matrix taking a fairly large amount of time in Matlab. Our paper is just a poof-of-concept and there are potentially many things to do for accelerating the model... I believe using the official subpixel layer would be much faster (I guess the performance would be close to 'real-time' for images of 512*512 in PyTorch).

source: gharchive/issue

authors: DandilionLau wadesunyang


text:
Veranstaltung melden

Bezieht sich Ihre Funktionsanfrage auf ein Problem? Bitte beschreiben.
Es könnten Veranstaltungen mit Fehlern oder anstößigen Inhalten eingestellt werden.
Beschreiben Sie die gewünschte Lösung
Es soll eine Möglichkeit geben, damit solche Veranstaltungen gemeldet werden können. Auch nicht registrierte Nutzer sollen Veranstaltungen melden können. Die Meldung soll an globale Admins und die Organisation, die die Veranstaltung eingestellt hat, per Email gesendet werden. Überall, wo eine Veranstaltung angezeigt wird, soll es einen Link geben, unter dem man die Veranstaltung melden kann.

Lösung

repo: DanielGrams/gsevpt


text:
Errors after installation

Appreciate your help :)
Package version: Latest
Angualr 9.1.2
MacOS
SCSS
https://i.imgur.com/nVK3nxS.png

@RonRofe ng9 is not supported. Please see my fork: https://github.com/danielmoncada/date-time-picker

authors: RonRofe danielmoncada

repo: DanielYKPan/date-time-picker

license: mit

license_source: bigquery


text:
What's the exactly formula of softmax_lse?

Hi @tridao
I want to use the value of softmax_lse. What's the exactly formula, $\log\sum\exp(x_i)$ or $\log\sum\exp(x_i - \max(x_i))$ ?

log sum exp(x_i). Note that softmax_lse is only meant to be used internally so e.g. the gradient of softmax_lse won't be taken into account during the backward pass.

Got it, thanks for reminding!

repo: Dao-AILab/flash-attention


text:
[可观测性]Instrumentation CR在insight v0.22.0之后与服务网格产品串联场景下如何修改CR

Describe the bug
A clear and concise description of what the bug is.
https://docs.daocloud.io/insight/quickstart/otel/operator.html#instrumentation-cr

从insight v0.22.0版本开始不需要用户手动安装 Instrumentation CR，但是与服务网格产品链路串联场景下如何配置？希望有单独详细的说明

需要手动在 "自定义资源"中 更新这个 CR。我更新一下 文档。

repo: DaoCloud/DaoCloud-docs


text:
pbogre/jetlog:latest

白名单级别
只需要这一个镜像 (如 docker.io/library/busybox)
镜像仓库地址
https://registry.hub.docker.com/r/pbogre/jetlog/
这是镜像仓库官方认证过的么?
不是 - 请补充下面的信息
项目源码地址 或 组织地址
No response
官网 或 文档 或 项目源码 中哪提及对应的镜像的地址 (需要证明这个镜像和源码有实际关联)
No response
补充说明
No response

不符合 #2328 要求推荐使用其他其他镜像源

authors: wzshiming xfwanglxf

repo: DaoCloud/public-image-mirror


text:
Cannot download any content

Whenever I attempt to download something, I just see the blue bar going from left to right then back again, with no percentage, no matter how long I wait. Can this be fixed? I use a Galaxy Tab S6 and am currently on app version 2.7.2

I also have a similar issue. However, my case, when I downloaded two pages from my favorites list, it only stops downloading at specific ones. What I do is cancel the download of the one that froze, force stop the app and clear cache (though I don't know if that's necessary), then continue the rest.
I have three that halts the download. 2 stays at 0% and the other always stops at 33%.

authors: FriedLuther Javonski


text:
إضافة اللغة العربية - Added Arabic Language

please tell me that the name/class of the strings in the "strings.xml" from "values-ar-rSA" is the same in the main english "strings.xml"

Yeah, they are the same. So the translation file is correct


text:
Portrait images is always in 1:1 aspect ratio instead of being responsive

Describe the bug
Image editor container should have proper scaling support for both landscape and portrait images, Portrait images and some times landscape images looks like scaled in a square layout.
Editor should adapt to the dimension with respect to the image's dimenstion.
To Reproduce
Steps to reproduce the behavior:
add a portrait image to the editor, it will be scaled to a squared image
When i tried to add this image to the editor: Image
https://github.com/Darginec05/Yopta-Editor/assets/24489435/299fd1c9-ace9-4035-a616-d7b6d8dc7b8f
Expected behavior
The resizer should be responsive to all image dimensions.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 11 22621.1702
Browser: Chrome 113.0.5672.93
Version :
"@stripe/stripe-js": "^1.52.1",
"@yoopta/action-menu-list": "^1.9.5-rc",
"@yoopta/blockquote": "^1.9.6-rc",
"@yoopta/callout": "^1.9.5-rc",
"@yoopta/code": "^1.9.5-rc",
"@yoopta/editor": "1.9.9-rc",
"@yoopta/embed": "^1.9.5-rc",
"@yoopta/headings": "^1.9.5-rc",
"@yoopta/image": "^1.9.5-rc",
"@yoopta/link": "^1.9.5-rc",
"@yoopta/lists": "^1.9.5-rc",
"@yoopta/marks": "^1.9.5-rc",
"@yoopta/paragraph": "^1.9.7-rc",
"@yoopta/renderer": "^1.9.5-rc",
"@yoopta/toolbar": "^1.9.5-rc",
"@yoopta/video": "^1.9.5-rc",

This task is done in @v4.0.0
I have done options for Image plugin to control image view
Check demos:

https://yoopta-editor.vercel.app/examples/withBaseFullSetup


text:
As a admin, I want to hide the reported reviews/comments from a management page that can only accessed by admin

User story
As an admin, I want to hide the reported reviews/comments from a management page that can only be accessed by the admin.
The definition of hidding means that the inappropriate reviews/comments would be hidden from users (except for the review/comment authors)
To those specific authors, all the hidden reviews/comments would be carrying a hidden tag (notifying them the content is inappropriate)
Acceptance criteria
After the reviews and comments being hidden by the admin, the reviews/comments owner can see a tag notifying them the content is inappropriate. Meanwhile, other users could not see the hidden reviews/comments.
Definition of Done
In a production instance, when a review/comment was hidden by the admin, the review/comment author can see the hidden tag but other users couldn't see it.
Frontend:
Backend:

Complete BE hidding function, currently writing tests for it


text:
Overlay new coadds to check astrometry

New coadds are at: bullet0002.slac.stanford.edu:/lustre/ki/pfs/fermi_scratch/Twinkles/2.

Hey @jbkalmbach  - anything to report on the registration problem from these new coadds?

No, sorry. But is this maybe duplicating in part @SimonKrughoff's work in #175 based upon what we heard today?

I think so - let's discreetly close this away :-)

authors: drphilmarshall jbkalmbach

repo: DarkEnergyScienceCollaboration/Twinkles


text:
Simulating MonoCam with PhoSim

@DarkEnergyScienceCollaboration/twinkles
Did you all see this email, to the SSim list, from @johnrpeterson ? Looks interesting, and we may be able to both contribute and learn something :-)

On Thursday at 4 pm ET, we’ll be discussing simulating monocam with phosim.  Anyone is welcome.  Andrei will give an intro to monocam, and then we’ll informally think through some projects.

Meeting info:
————————
PhoSim - MonoCam discussion meeting
Thursday June 9th at 4 pm ET

Thinking about this a little more: the big challenge with PhoSimulating MonoCam will be the telescope model, I guess. What we can maybe offer (already, and then again in the fall via Run 3), is MonoCam-like data, which may still be of interest to the SAWG group looking to compare real MonoCam images with simulated ones. Our DM Level 2 pipeline should be of interest to the MonoCam group too.

The MonoCam confluence pages are extensive, and give a good overview of what they are doing; I found this page to be most closely connected to Twinkles, because it describes the DM processing they have carried out. The MonoCam team take 300s exposures on a 1.5m telescope, so the atmosphere properties are different from LSST's, as well as the telescope properties. One of John's group is going to work on the PhoSim simulations. Our main contribution could be in helping further the DM pipeline; it's not clear that comparing MonoCam data with Twinkles data is interesting to the MonoCam team. Regarding the DM analysis, I left a comment for Simon and Merlin on the confluence page I just linked to, asking to see the code/recipe they have been following, and pointing them at our DM Level 2 recipe. Hopefully this will help connect us to the group!

Here we go, Merlin replied: the DM code the MonoCam team is using is in
https://github.com/lsst/obs_monocam/tree/tickets/DM-5988


text:
`bin_path': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)

Hello.
I'm using overmind 1.0.8.2 and I'm running into the following issue (whereas hivemind works fine):
$ overmind s
system  | Listening at /Users/nick/foo/.overmind.sock
system  | Tmux session ID: overmind-foo-g3jF6FDXO09mWh6GsNV2UyIZQ1TQu5Km
webpack | Started with pid 26093...
rails   | Started with pid 26096...
rails   | /Users/agis/.rubies/ruby-2.3.3/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
rails   |       from /Users/agis/.gem/ruby/2.3.3/bin/bundle:22:in `<main>'
rails   |
rails   | Exited
webpack | Interrupting...
webpack |
webpack | Exited

I'm using ruby 2.3 with chruby along with the relevant activation steps in my ~/.bash_profile, notably:
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
chruby 2.3.3

I'm doing this from within an existing tmux session. However I also tried outside of a tmux session.

2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin15]
tmux 2.5
macOS 10.12.16
overmind 1.0.8.2 (installed with brew)
iTerm2 3.1.2

Again, hivemind works fine.
Thanks in advance!

After some digging around, it seems that commands spawned via launch do not inherit the environment of the process that spawned them (start in this case).

Hi! It definitely should inherit the environment of the parent process. My teammates use different ruby version managers (rbenv, RVM, chruby), but no one has faced an issue like yours.
Could you check if the command works well when launched inside of tmux like that tmux new your_command?
Also, could you give me the output of gem env inside and outside of overmind?

I had the same problems with gem_home. I migrate from gem_home (long time awaited) to direnv. That way every new shell exports right paths.

Apologies for the late reply.
gem env outside of overmind:
RubyGems Environment:
  - RUBYGEMS VERSION: 2.5.2
  - RUBY VERSION: 2.3.3 (2016-11-21 patchlevel 222) [x86_64-darwin15]
  - INSTALLATION DIRECTORY: /Users/agis/.gem/ruby/2.3.3
  - USER INSTALLATION DIRECTORY: /Users/agis/.gem/ruby/2.3.0
  - RUBY EXECUTABLE: /Users/agis/.rubies/ruby-2.3.3/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/agis/.gem/ruby/2.3.3/bin
  - SPEC CACHE DIRECTORY: /Users/agis/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/agis/.rubies/ruby-2.3.3/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-15
  - GEM PATHS:
     - /Users/agis/.gem/ruby/2.3.3
     - /Users/agis/.rubies/ruby-2.3.3/lib/ruby/gems/2.3.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["https://rubygems.org/"]
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/agis/.gem/ruby/2.3.3/bin
     - /Users/agis/.rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/bin
     - /Users/agis/.rubies/ruby-2.3.3/bin
     - /Users/agis/dev/go/bin
     - /Applications/Postgres.app/Contents/MacOS/bin
     - /usr/local/Cellar/gettext/0.18.3.2/bin
     - /usr/local/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /opt/X11/bin

gem env inside overmind:
RubyGems Environment:
  - RUBYGEMS VERSION: 2.5.2
  - RUBY VERSION: 2.3.3 (2016-11-21 patchlevel 222) [x86_64-darwin15]
  - INSTALLATION DIRECTORY: /Users/agis/.gem/ruby/2.3.3
  - USER INSTALLATION DIRECTORY: /Users/agis/.gem/ruby/2.3.0
  - RUBY EXECUTABLE: /Users/agis/.rubies/ruby-2.3.3/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/agis/.gem/ruby/2.3.3/bin
  - SPEC CACHE DIRECTORY: /Users/agis/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/agis/.rubies/ruby-2.3.3/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-15
  - GEM PATHS:
     - /Users/agis/.gem/ruby/2.3.3
     - /Users/agis/.rubies/ruby-2.3.3/lib/ruby/gems/2.3.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["https://rubygems.org/"]
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/agis/.gem/ruby/2.3.3/bin
     - /Users/agis/.rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/bin
     - /Users/agis/.rubies/ruby-2.3.3/bin
     - /Users/agis/dev/go/bin
     - /Applications/Postgres.app/Contents/MacOS/bin
     - /usr/local/Cellar/gettext/0.18.3.2/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /opt/X11/bin

Running the command with tmux exits immediately, not sure if that should be the case:
$ tmux new-session bundle exec rails c
[exited]

Note that the command works when I'm already inside a tmux session (ie. tmux new and then bundle exec rails s).

Apparently my ~/.bash_profile (or ~/.bashrc even) aren't sourced with overmind. Changing the Procfile to do rails: source ~/.bash_profile && bundle exec rails s is a working workaround, but unfortunately not a real solution.

@agis my first thought when seeing that is that tmux isn't starting a login shell (which, iirc, doesn't source those files normally).  It may be possible to work around this by forcing tmux to use a login shell.

Hello people , i'm having the same error, but i think it's caused by something else.
When i try to start my rails server , i get this :
 /Users/user/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems.rb:271:in
  `find_spec_for_exe': can't find gem railties (>= 0.a) (Gem::GemNotFoundException)
  from /Users/user/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems.rb:299:in `activate_bin_path'
  from /Users/user/.rvm/gems/ruby-2.4.0/bin/rails:23:in `<main>'
  from /Users/user/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
  from /Users/user/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'

I thought it is because some wrong paths.When i call $PATH , it returns me:
/Users/user/.rvm/gems/ruby-2.4.0/bin:/Users/user/.rvm/gems/ruby-2.4.0@global/bin:/Users/user/.rvm/rubies/ruby-2.4.0/bin:/Users/user/.rvm/bin:/usr/local/bin:/.rvm/ruby-2.4.0/lib/ruby/2.4.0:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

when i check which ruby , it displays " /Users/user/.rvm/rubies/ruby-2.4.0/bin/ruby"
This is my GEM ENV paths, i hope some of them could help for the finding of a solution for the problem.
RubyGems Environment:
  - RUBYGEMS VERSION: 2.6.13
  - RUBY VERSION: 2.4.0 (2016-12-24 patchlevel 0) [x86_64-darwin16]
  - INSTALLATION DIRECTORY: /Users/user/.rvm/gems/ruby-2.4.0
  - USER INSTALLATION DIRECTORY: /Users/user/.gem/ruby/2.4.0
  - RUBY EXECUTABLE: /Users/user/.rvm/rubies/ruby-2.4.0/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/user/.rvm/gems/ruby-2.4.0/bin
  - SPEC CACHE DIRECTORY: /Users/user/.rvm/gems/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/user/.rvm/rubies/ruby-2.4.0/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-16
  - GEM PATHS:
     - /Users/user/.rvm/gems/ruby-2.4.0
     - /Users/user/.rvm/gems/ruby-2.4.0@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/user/.rvm/gems/ruby-2.4.0/bin
     - /Users/user/.rvm/gems/ruby-2.4.0@global/bin
     - /Users/user/.rvm/rubies/ruby-2.4.0/bin
     - /Users/user/.rvm/bin
     - /usr/local/bin
     - /.rvm/ruby-2.4.0/lib/ruby/2.4.0
     - /usr/local/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin

I looked through every article i find in stackoverflow and there is nothing i could find to remove my problem...
I use macOS Sierra 10.12
P.S Sorry for my bad formatting of the code.

#127 seems related to this issue!

authors: DarthSim agis chall8908 kaloyanxoxo mhenrixon onemanstartup

repo: DarthSim/overmind


text:
Updating the branch trigger to master branch

main branch got renamed to master. Hence updating the CodeQL trigger to master branch.

We've renamed the local master branch to main, so this change should no longer be necessary.

authors: EricMountain ganeshkumarsv

repo: DataDog/containerd


text:
Unable to detect the kubelet URL automatically after k8s upgrade to 1.16.x

Describe what happened:
I upgraded my AKS cluster from 1.15.10 to 1.16.10 and I don't see any logs in DD anymore. The DD agents are giving the following error:
2020-07-10 07:34:58 UTC | CORE | ERROR | (pkg/collector/runner/runner.go:292 in work) | Error running check kubelet: [{"message": "Unable to detect the kubelet URL automatically.", "traceback": "Traceback (most recent call last):\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 822, in run\n    self.check(instance)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kubelet/kubelet.py\", line 297, in check\n    raise CheckException(\"Unable to detect the kubelet URL automatically.\")\ndatadog_checks.base.errors.CheckException: Unable to detect the kubelet URL automatically.\n"}]
2020-07-10 07:35:04 UTC | CORE | ERROR | (pkg/autodiscovery/config_poller.go:123 in collect) | Unable to collect configurations from provider kubernetes: temporary failure in kubeutil, will retry later: try delay not elapsed yet
2020-07-10 07:35:13 UTC | CORE | ERROR | (pkg/collector/python/kubeutil.go:38 in getConnections) | connection to kubelet failed: temporary failure in kubeutil, will retry later: try delay not elapsed yet
2020-07-10 07:35:13 UTC | CORE | ERROR | (pkg/collector/runner/runner.go:292 in work) | Error running check kubelet: [{"message": "Unable to detect the kubelet URL automatically.", "traceback": "Traceback (most recent call last):\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 822, in run\n    self.check(instance)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kubelet/kubelet.py\", line 297, in check\n    raise CheckException(\"Unable to detect the kubelet URL automatically.\")\ndatadog_checks.base.errors.CheckException: Unable to detect the kubelet URL automatically.\n"}]
2020-07-10 07:35:14 UTC | CORE | ERROR | (pkg/autodiscovery/config_poller.go:123 in collect) | Unable to collect configurations from provider kubernetes: temporary failure in kubeutil, will retry later: try delay not elapsed yet
2020-07-10 07:35:14 UTC | CORE | INFO | (pkg/autodiscovery/autoconfig.go:357 in initListenerCandidates) | kubelet listener cannot start, will retry: temporary failure in kubeutil, will retry later: try delay not elapsed yet

Describe what you expected:
To see my logs in DD
Steps to reproduce the issue:
Upgrade cluster from 1.15.10 to 1.16.10
Additional environment details (Operating System, Cloud provider, etc):
I also upgraded the kube-state-metrics from 1.8.0 to 1.9.7. Logs of the state metrics looks fine:
kubectl -n kube-system logs -f kube-state-metrics-6d7449fc78-hsjzw
I0710 07:13:01.539587       1 main.go:86] Using default collectors
I0710 07:13:01.539645       1 main.go:98] Using all namespace
I0710 07:13:01.539659       1 main.go:139] metric white-blacklisting: blacklisting the following items:
W0710 07:13:01.539680       1 client_config.go:543] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0710 07:13:01.541039       1 main.go:184] Testing communication with server
I0710 07:13:01.599744       1 main.go:189] Running with Kubernetes cluster version: v1.16. git version: v1.16.10. git tree state: clean. commit: 89d8075525967c7a619641fabcb267358d28bf08. platform: linux/amd64
I0710 07:13:01.599769       1 main.go:191] Communication with server successful
I0710 07:13:01.599883       1 main.go:225] Starting metrics server: 0.0.0.0:8080
I0710 07:13:01.599923       1 main.go:200] Starting kube-state-metrics self metrics server: 0.0.0.0:8081
I0710 07:13:01.600026       1 metrics_handler.go:96] Autosharding disabled
I0710 07:13:01.600990       1 builder.go:146] Active collectors: certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments

kubelet (4.1.0)
    ---------------
      Instance ID: kubelet:d884b5186b651429 [ERROR]
      Configuration Source: file:/etc/datadog-agent/conf.d/kubelet.d/conf.yaml.default
      Total Runs: 120
      Metric Samples: Last Run: 0, Total: 0
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
      Last Execution Date : 2020-07-10 09:38:35.000000 UTC
      Last Successful Execution Date : Never
      Error: Unable to detect the kubelet URL automatically.
      Traceback (most recent call last):
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 822, in run
          self.check(instance)
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/kubelet/kubelet.py", line 297, in check
          raise CheckException("Unable to detect the kubelet URL automatically.")
      datadog_checks.base.errors.CheckException: Unable to detect the kubelet URL automatically.

Apparently the location of the kubelet ca cert changed in AKS 1.16.x and higher.
Added the following volume and volumemount:
  volumes:     - name: k8s-certs       hostPath:         path: /etc/kubernetes/certs         type: ''   volumeMounts:     - name: k8s-certs       readOnly: true       mountPath: /etc/kubernetes/certs
And this extra ENV
  env:     - name: DD_KUBELET_CLIENT_CA       value: /etc/kubernetes/certs/kubeletserver.crt

ation of the kubelet ca cert changed in AKS 1.16.x and higher.
Added the following volume and volumemoun

Better formatted version:
agents:
  containers:
    agent:
      env:
      - name: DD_KUBELET_CLIENT_CA
        value: /etc/kubernetes/certs/kubeletserver.crt
  volumes:
    - name: k8s-certs
      hostPath:
        path: /etc/kubernetes/certs
        type: ''
  volumeMounts:
    - name: k8s-certs
      readOnly: true
      mountPath: /etc/kubernetes/certs

authors: bramvdklinkenberg picardsrcd

repo: DataDog/datadog-agent


text:
[CWS] groundwork of removing SYSCALL_KPROBE[^0] where possible

What does this PR do?
The goal of this PR is to ease the possible transition to fentry/fexit hook types instead of kprobes (on supported kernels). We hit some issues trying to query the args syscalls when in fentry hooks and when the syscall wrapper is enabled.
One easy solution to help with this is to move some hook points to non-syscall functions, this is what this PR is doing.
TODO (priority):

[x] chmod (0)
[x] chown (0)
[ ] execve (0)
[ ] creat/openat2 (0)
[ ] unlinkat (0)
[ ] setxattr (0)
[ ] bind (1)
[ ] bpf (1)
[ ] mkdir (1)
[ ] delete_module (1)
[ ] unshare (1)
[ ] ptrace (1)
[ ] kill (1)

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.


text:
[USM] enable_http_incomplete_buffer config

What does this PR do?
As discussed offline, incomplete buffer as implemented today doesn't associate the corresponding requests and responses so create request/response with high latency
This will reduced the accuracy as there will be less requests/responses hit but reduce the max latency of some endpoints
But the current implementation could wrongly associate response to other endpoint/resource.
This PR add a configuration flag enable_http_incomplete_buffer disabled by default
service_monitoring_config.enable_http_incomplete_buffer = false
EnableHTTPIncompleteBuffer specifies if the HTTP incomplete buffer need to be enable to associate orphan requests and responses due to NAT

Without post /api/v2/series endpoint

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Let's wait for the RFC to have a complete solution for that area

We can enable by default if you prefer (as it's running today)
Today we don't have a way to disable it without drawback (telemetry.dropped++)
The RFC will point the issues and possible solutions, but as discuss offline it would not be an easy/quick fix

As the impact of disabling the incomplete buffer is harming the accuracy, i don't want to have the option to disable it, until we figure out the correct solution for the actual issue

authors: guyarb nplanel


text:
release.json: update latest stable version

What does this PR do?
Update the latest stable version

Motivation
We want the checks targeting the latest release to actually target it

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

This needs to be part of a script / invoke task which runs at every release so that we stop forgetting to update the values

Strongly agree !

authors: amenasria chouquette


text:
provide initialize secrets component to flare

What does this PR do?
Declare the secrets component as a dependency.
Why?
To fix a panic in main
./bin/agent/agent flare -l -c dev/dist/datadog.yaml
Please enter your email:
gustavo.caso@datadoghq.com
Initiating flare locally.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x30 pc=0x103fa00d8]

goroutine 1 [running]:
github.com/DataDog/datadog-agent/pkg/autodiscovery.decryptConfig({{0x14000c9b5f0, 0x7}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/secrets.go:26 +0x108
github.com/DataDog/datadog-agent/pkg/autodiscovery.(*reconcilingConfigManager).processNewConfig(_, {{0x14000c9b5f0, 0x7}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, ...}, ...})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/configmgr.go:214 +0x250
github.com/DataDog/datadog-agent/pkg/autodiscovery.(*AutoConfig).processNewConfig(_, {{0x14000c9b5f0, 0x7}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, ...}, ...})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/autoconfig.go:259 +0x1d4
github.com/DataDog/datadog-agent/pkg/autodiscovery.(*configPoller).collectOnce(0x14000c11740, {0x1071e4450?, 0x109941580?}, {0x111d18438?, 0x140000b1e38?}, 0x14000b2b0e0)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/config_poller.go:195 +0x270
github.com/DataDog/datadog-agent/pkg/autodiscovery.(*configPoller).start(0x14000c11740, {0x1071e4450, 0x109941580}, 0x14000b2b0e0)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/config_poller.go:68 +0x1a4
github.com/DataDog/datadog-agent/pkg/autodiscovery.(*AutoConfig).LoadAndRun(0x14000b2b0e0, {0x1071e4450, 0x109941580})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/autodiscovery/autoconfig.go:196 +0x74
github.com/DataDog/datadog-agent/pkg/diagnose.diagnoseChecksInCLIProcess({0x1, 0x1, 0x0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {0x1071a2fc0?, ...}, ...)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/check.go:103 +0x220
github.com/DataDog/datadog-agent/pkg/diagnose.getDiagnose({0x1, 0x1, 0x0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {0x111b3d818?, ...}, ...)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/check.go:32 +0xe8
github.com/DataDog/datadog-agent/pkg/diagnose.getSuites.func1()
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/runner.go:429 +0x5c
github.com/DataDog/datadog-agent/pkg/diagnose.getSuiteDiagnoses({{0x1050b7fa5?, 0x0?}, 0x140007a6400?})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/runner.go:223 +0x3c
github.com/DataDog/datadog-agent/pkg/diagnose.getDiagnosesFromCurrentProcess({0x1, 0x1, 0x0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {0x1400017d6e0?, ...})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/runner.go:285 +0xf0
github.com/DataDog/datadog-agent/pkg/diagnose.Run({0x1, 0x1, 0x0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {{0x111b3d818, ...}, ...})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/runner.go:349 +0xe0
github.com/DataDog/datadog-agent/pkg/diagnose.RunStdOut({0x1071a1568?, 0x14000eb29c0}, {0x1, 0x1, 0x0, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}}, ...)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/diagnose/runner.go:368 +0xf0
github.com/DataDog/datadog-agent/pkg/flare.CompleteFlare.getDiagnoses.func5({0x1071a1568?, 0x14000eb29c0?})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/flare/archive.go:284 +0x94
github.com/DataDog/datadog-agent/pkg/flare.functionOutputToBytes(0x14000e6fae0)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/flare/archive.go:419 +0xd0
github.com/DataDog/datadog-agent/pkg/flare.CompleteFlare.getDiagnoses.func6()
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/flare/archive.go:287 +0x20
github.com/DataDog/datadog-agent/comp/core/flare/helpers.(*builder).AddFileFromFunc(0x10517e237?, {0x1050b2be2, 0xc}, 0x1?)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/comp/core/flare/helpers/builder.go:181 +0x30
github.com/DataDog/datadog-agent/pkg/flare.CompleteFlare({0x1071fe5b0, 0x14000cffd00}, {{0x111b3d818, 0x14000c7dea0}, {{0x0, 0x0}, 0x0}, {0x0, 0x0}})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/flare/archive.go:88 +0x4c8
github.com/DataDog/datadog-agent/comp/core/flare.(*flare).Create.func1({0x1071fe5b0?, 0x14000cffd00?})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/comp/core/flare/flare.go:124 +0x6c
github.com/DataDog/datadog-agent/comp/core/flare.(*flare).Create(0x14000e8c8f0, 0x140000b0030?, {0x0?, 0x0})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/comp/core/flare/flare.go:131 +0x384
github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare.createArchive({0x1071b6050, 0x14000e8c8f0}, 0x0?, {0x0, 0x0})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare/command.go:365 +0xa0
github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare.makeFlare({0x1071b6050, 0x14000e8c8f0}, {0x14000b9eae8?, 0x1021e7a24?}, {0x1072146d0?, 0x14000d16858?}, {0x8?, 0x0?}, 0x140004efc20, {{0x0?, ...}, ...}, ...)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare/command.go:293 +0x2dc
reflect.Value.call({0x106c2bf40?, 0x10718c878?, 0x14000b9f198?}, {0x105095a1e, 0x4}, {0x14000b66580, 0x7, 0x1025a89f8?})
        /usr/local/go/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x106c2bf40?, 0x10718c878?, 0x1071e4450?}, {0x14000b66580?, 0x0?, 0x0?})
        /usr/local/go/src/reflect/value.go:380 +0x94
github.com/DataDog/datadog-agent/pkg/util/fxutil.(*delayedFxInvocation).call(0x14000b17e10?)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/util/fxutil/args.go:72 +0x98
github.com/DataDog/datadog-agent/pkg/util/fxutil.OneShot({0x106c2bf40?, 0x10718c878?}, {0x14000338fc0, 0x11, 0x11})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/pkg/util/fxutil/oneshot.go:54 +0x26c
github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare.Commands.func1(0x1400039f400?, {0x140005e3c80?, 0x4?, 0x1050959da?})
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare/command.go:90 +0xd18
github.com/spf13/cobra.(*Command).execute(0x14000b10c00, {0x140005e3c20, 0x3, 0x3})
        /Users/gustavo.caso/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x14000bb8900)
        /Users/gustavo.caso/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/gustavo.caso/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/DataDog/datadog-agent/cmd/internal/runcmd.Run(0x14000bb8900)
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/cmd/internal/runcmd/runcmd.go:27 +0x2c
main.main()
        /Users/gustavo.caso/go/src/github.com/DataDog/datadog-agent/cmd/agent/main.go:66 +0xfc

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Ensure that any flavor of the agent can generate a flare without panics

How was this not caught by any e2e test ?

How was this not caught by any e2e test ?

The issue happens for local flare. The e2e test do not cover local flares 😢
@louis-cqrl is working on fixing that https://github.com/DataDog/datadog-agent/pull/23490

/merge

authors: GustavoCaso paulcacheux


text:
[CWS] remove stresstests

What does this PR do?
This PR removes the stress testing code that had not been used for a long time (manual kitchen job that was rarely used, we decided to not migrate it to KMT).
We are working on better solutions to measure and benchmark this code.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


text:
Move WebView tracking into a separated feature package

What does this PR do?
Im just cleaning up some things in this PR and basically I am moving the WebView tracking classes into a separated WebView tracking feature dedicated package.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #779 (0449683) into feature/hybrid-application (069bcd3) will increase coverage by 0.06%.
The diff coverage is n/a.

@@                       Coverage Diff                        @@
##             feature/hybrid-application     #779      +/-   ##
================================================================
+ Coverage                         89.21%   89.28%   +0.06%
  Complexity                         1846     1846
================================================================
  Files                               202      202
  Lines                              6332     6332
  Branches                            719      719
================================================================
+ Hits                               5649     5653       +4
- Misses                              447      452       +5
+ Partials                            236      227       -9

Impacted Files
Coverage Δ

.../com/datadog/android/webview/DatadogEventBridge.kt
100.00% <ø> (ø)

...tadog/android/webview/internal/WebEventConsumer.kt
100.00% <ø> (ø)

...og/android/webview/internal/WebLogEventConsumer.kt
96.55% <ø> (ø)

...og/android/webview/internal/WebRumEventConsumer.kt
95.59% <ø> (ø)

...oid/webview/internal/WebRumEventContextProvider.kt
100.00% <ø> (ø)

...adog/android/webview/internal/WebRumEventMapper.kt
100.00% <ø> (ø)

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
74.10% <0.00%> (-5.42%)
:arrow_down:

...droid/rum/tracking/FragmentViewTrackingStrategy.kt
80.43% <0.00%> (-4.35%)
:arrow_down:

.../android/error/internal/DatadogExceptionHandler.kt
93.55% <0.00%> (-3.23%)
:arrow_down:

...ore/internal/constraints/DatadogDataConstraints.kt
93.24% <0.00%> (-1.35%)
:arrow_down:

... and 9 more

repo: DataDog/dd-sdk-android


text:
💚 Fix flake on integration tests caused by Flutter 3.10

What and why?
It looks like the new Impeller renderer for Flutter can occasionally fail decoding images, especially in CI tests. Disabling Impeller for now to fix the flake.
See https://github.com/flutter/flutter/issues/126768
Review checklist

[ ] This pull request has appropriate unit and / or integration tests
[ ] This pull request references a Github or JIRA issue

CI Configuration (optional)

[x] Run unit tests
[x] Run integration tests

Apparently this is the wrong way to do this for tests...

repo: DataDog/dd-sdk-flutter


text:
@datadog/mobile-react-native-webview - Cant pass through ref to WebView

Describe what happened
I'm trying to swap out the react-native-webview to use the DataDog mobile-react-native-webview but unfortunately I've come across an issue that breaks our existing views. We use the injectJavaScript method to run JS in the web view but this requires us to add a ref to the web view component. See the docs here for an example of using this.
Currently with the DataDog webview I get the following: Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? and our injected JS doesn't run.
Steps to reproduce the issue:
Add a ref to the web view and run some JS using the injectJavaScript method on the ref, as detailed in this example.
Describe what you expected:
I can add a ref and the injected JS is run as it is when using the react-native-webview.
It looks like you might just need to wrap your WebView component inside forwardRef and then pass the ref into the WebView component.
Something like this seems to work
export const WebView = forwardRef((props: Props, ref: ForwardedRef<RNWebView | null>) => {
.....
return (
    <RNWebView
        ref={ref}

Additional context
"@datadog/mobile-react-native": "^1.7.1",
"@datadog/mobile-react-native-webview": "^1.7.1",
"@datadog/mobile-react-navigation": "^1.7.1"

Hi @danbatsb, thanks for reaching out!
This is indeed something we need to address, we'll tackle it very soon.
I'll let you know once this is released.

Hi @danbatsb,
The fix has been released under 1.8.0-rc1.
You can use it as such:
import React from 'react';
import WebView from '@datadog/mobile-react-native-webview';
import {WebView as RNWebView} from 'react-native-webview';

export const WebviewSite = () => {
  const ref = React.useRef<RNWebView>(null);

  return (
    <WebView
      source={{uri: 'https://my-site.com'}}
      allowedHosts={['my-site.com']}
      ref={ref}
    />
  );
};

Few caveats:

the initial value in useRef should be null, not empty
if you use typescript, the type of the ref has to be WebView from react-native-webview to ensure you the type matches your version of react-native-webview.

If that duplicated import is too much of a hassle for you let us know and we'll look into removing it :)

@louiszawadzki thats brilliant, thanks for getting this fixed so quickly.

authors: danbatsb louiszawadzki

repo: DataDog/dd-sdk-reactnative


text:
Fix resolution of lib/register.js when using multiple loaders

This PR fixes the issue that's been described at length in the following issues:

https://github.com/getsentry/sentry-javascript/issues/12011
https://github.com/nodejs/node/issues/52987

To summarize, import-in-the-middle can cause problems in the following situation:

A Node core module (node:*) is imported
Another loader is added before import-in-the-middle
That loader tries to resolve files that don't exist on disk

In practice, this occurs when using import-in-the-middle with code that's being executed with tsx. tsx will try to resolve .js files by also looking for the same file path but with a .ts extension. In many cases, including the synthetic code that import-in-the-middle generates to import lib/register.js, such a corresponding .ts file does not exist.
The actual error arises from Node, which assumes that parentURL will always be a file:// URL when constructing an ERR_MODULE_NOT_FOUND error; see the linked issue above. In the above scenario, the .ts file that is being resolved does not exist, so such an error is created, and parentURL === 'node:*', so the failing case is triggered. It seems like Node is receptive to changing that behavior, but in the meantime, I was hoping to land this patch so that one doesn't have to wait for and upgrade to a new version of Node.
The fix works by short-circuiting the resolution of lib/register.js so that the other loader (that tries to resolve non-existent paths) is never tried.

@nwalters512 This LGTM but there are now conflicts. Can you rebase plz?

@bengl done ✅

repo: DataDog/import-in-the-middle


text:
Add support for monitoring Redis stream keys

This uses XLEN to get the length of a stream.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[X] PR title must be written as a CHANGELOG entry (see why)
[X] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

@ChristineTChen that sounds easy enough, let me give it a try.

Looks like Redis is quite old in those test:
ResponseError: unknown command 'XADD'

@jd I was trying out the stream length monitoring, and I was wondering why it was always reporting 1 for every key. At first I thought I had made a mistake, but after a closer look I think it's already broken in this PR. If I read the code correctly, the stream length is discarded and the count is always set to 1:
https://github.com/DataDog/integrations-core/blob/9a77a08d51a468ec31e88c3be04e2bea31de8f39/redisdb/datadog_checks/redisdb/redisdb.py#L381-L384
The tests don't complain, because it only tests a stream of length 1:
https://github.com/DataDog/integrations-core/blob/9a77a08d51a468ec31e88c3be04e2bea31de8f39/redisdb/tests/test_default.py#L91-L94
Am I interpreting the situation correctly, and is this currently really not working? I figured it might be better to check with the author before filing an issue, as I can't rule out I messed up here (note: I tried verifying this for myself, but I'm not a Python dev and I couldn't get ddev up and running quickly)

@jd I was trying out the stream length monitoring, and I was wondering why it was always reporting 1 for every key. At first I thought I had made a mistake, but after a closer look I think it's already broken in this PR. If I read the code correctly, the stream length is discarded and the count is always set to 1:
https://github.com/DataDog/integrations-core/blob/9a77a08d51a468ec31e88c3be04e2bea31de8f39/redisdb/datadog_checks/redisdb/redisdb.py#L381-L384
The tests don't complain, because it only tests a stream of length 1:
https://github.com/DataDog/integrations-core/blob/9a77a08d51a468ec31e88c3be04e2bea31de8f39/redisdb/tests/test_default.py#L91-L94
Am I interpreting the situation correctly, and is this currently really not working? I figured it might be better to check with the author before filing an issue, as I can't rule out I messed up here (note: I tried verifying this for myself, but I'm not a Python dev and I couldn't get ddev up and running quickly)

authors: jd koenkivits

repo: DataDog/integrations-core


text:
remove_ascii_art option doesn't work

https://github.com/DataDog/mkdocs-click/blob/a8742d9afc6bfd0ce70e048383a623fc218625f8/README.md?plain=1#L137
docs/index.md:
    :remove_ascii_art: True

Docstring:
    """
    Replace titles names from anidb.
    The result will be copied to the clipboard.

    \b
    >>> 1 	The Prince`s New Clothes
    <<< e1: EP1 «The Prince`s New Clothes»
    """

Result:

With that docstring doesn't work either.
    """
    \b
    >>> 1 	The Prince`s New Clothes
    <<< e1: EP1 «The Prince`s New Clothes»

    Replace titles names from anidb.
    The result will be copied to the clipboard.
    """

repo: DataDog/mkdocs-click


text:
Add instance selection feature

VenvInstances now have a hashcode generated with is printed with riot list. This hashcode can be used to run specific test with riot run <hashcode>.
Along with #89, resolves #24

Codecov Report

Merging #98 (32ca8a2) into master (27fd17d) will decrease coverage by 0.04%.
The diff coverage is 97.77%.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   95.37%   95.33%   -0.05%
==========================================
  Files           7        7
  Lines         584      600      +16
==========================================
+ Hits          557      572      +15
- Misses         27       28       +1

Impacted Files
Coverage Δ

riot/cli.py
95.00% <ø> (ø)

riot/riot.py
91.44% <97.22%> (-0.09%)
:arrow_down:

tests/test_unit.py
100.00% <100.00%> (ø)

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 27fd17d...32ca8a2. Read the comment docs.

It enables the running of a specific instance. eg:
riot:instnames* λ riot list
b150 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.6' 'pytest' 'pytest-cov' 'mock'
a25e test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.7' 'pytest' 'pytest-cov' 'mock'
9951 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/shims/python3.8' 'pytest' 'pytest-cov' 'mock'
a251 test LC_ALL=C.UTF-8 LANG=C.UTF-8 '/home/kyle/.pyenv/versions/3.9.0/bin/python3.9' 'pytest' 'pytest-cov' 'mock'
173b check_format  '/home/kyle/.pyenv/shims/python3.8' 'black==20.8b1'
6f3f flake8  '/home/kyle/.pyenv/shims/python3.8' 'flake8' 'flake8-blind-except' 'flake8-builtins' 'flake8-docstrings' 'flake8-import-order' 'flake8-logging-format' 'flake8-rst-docstrings' 'pygments'
ecc9 typing  '/home/kyle/.pyenv/shims/python3.8' 'mypy' 'pytest'
a3d2 codecov  '/home/kyle/.pyenv/shims/python3.6' 'coverage'
92d3 codecov  '/home/kyle/.pyenv/shims/python3.7' 'coverage'
2bd1 codecov  '/home/kyle/.pyenv/shims/python3.8' 'coverage'
3384 codecov  '/home/kyle/.pyenv/versions/3.9.0/bin/python3.9' 'coverage'
dcbb codecov  '/usr/bin/pypy3' 'coverage'
3ac2 docs  '/home/kyle/.pyenv/shims/python3.8' 'sphinx==3.3' 'sphinx-rtd-theme==0.5.0' 'sphinx-click==2.5.0' 'reno'

riot:instnames* λ riot run 9951
============================================================================== test session starts ===============================================================================
platform linux -- Python 3.8.6, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
rootdir: /home/kyle/dev/riot, configfile: setup.cfg, testpaths: tests, riot
plugins: cov-2.10.1
collected 45 items

tests/test_cli.py ..........................                                                                                [ 57%]
tests/test_unit.py .............                                                                                [ 86%]
riot/riot.py ......                                                                                [100%]

=============================================================================== 45 passed in 7.37s ===============================================================================

-------------------summary-------------------
✔  <test 9951: LC_ALL=C.UTF-8 LANG=C.UTF-8 pytest pytest-cov mock '/home/kyle/.pyenv/shims/python3.8'> pytest

This is useful where there may be many instances sharing the same name (eg. django in ddtrace) and you want to debug an issue affecting only python 3.9, django==2.1, redis==..., and you don't want to have to run all the tests for the name over and over.

I understood that but I'm not sure the usability here, since it sounds like you can't run a single env (no pattern) without having the name.
Also, what happens on hash conflict? (I'm too lazy to read the code 😉 )

This will probably be added to #147 and has too many conflicts to be mergeable now

authors: Kyle-Verhoog codecov-io jd

repo: DataDog/riot


text:
Run DB startup in parallel

Motivation

Changes

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

replaced by #2732

repo: DataDog/system-tests


text:
🛑 DaTA is down

In d28003d, DaTA (https://data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DaTA is back up in 9d2fc82 after 12 minutes.

repo: DataEnsta/upptime


text:
🛑 Markdown is down

In 2f154e6, Markdown (https://markdown.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Markdown is back up in 4b0f7cc after 9 minutes.


text:
🛑 Markdown is down

In a921bab, Markdown (https://markdown.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Markdown is back up in 27a5fa7 after 15 minutes.


text:
Fix infinite loop and use faster size computation

@vrozov Please take a look
Fixed infinite loop for large size arguments, added checks for unreasonable arguments, used faster method to compute buffer size, added unit tests.

@vrozov Travis is happy; please merge

repo: DataTorrent/Netlet


text:
Drag and Drop of gadgets onto a dashboard widget

Hello,
I am integrating your dashboard widgets framework into my application, and creating a drag and drop feature which will trigger a new dashboard widget. This will replace the bootstrap dropdown menu which allows a user to add a new widget.
It's this section here which I'd like to remove :

{{widget.name}}

and move the call to addWidgetInternal() into my controller code (specifically in my drop event) like this :
 (function () {
'use strict';
angular.module('rage')
    .controller('MainCtrl',
        ['$scope', '$interval', '$window', 'widgetDefinitions',
        'defaultWidgets', 'gadgetInitService', initOptions]);

function initOptions($scope, widgetDefinitions, defaultWidgets, gadgetInitService) {
     $scope.dashboardOptions = {
        widgetButtons: false,   // 'false' makes it a dropdown of options
        widgetDefinitions: widgetDefinitions,   // see factory.js
        defaultWidgets: defaultWidgets,
        storage: $window.localStorage,
        storageId: 'rage.ui',
        hideWidgetSettings: false
    };

    // DRAG AND DROP EVENTS
    $scope.handleDrop = function () {
        //alert('Dropped !');
        $scope.addWidgetInternal();
    }
}

})();
My problem is that I can't figure out how to call $scope.addWidgetInternal() from a controller. Is this possible ?
thank you in advance,
Bob

I figured it out folks. I ended up creating an ondrop event on the dashboard directive :
 link: function (scope, element) {

          // handle drop event from the gadgets drag-drop operation (see gadgets-include.html)
          var el = element[0];
          el.ondrop = function (e) {
              e.dataTransfer.dropEffect = 'move';
              var item = document.getElementById(e.dataTransfer.getData('text'));
              //this.appendChild(item.cloneNode(true));  // image gets dropped on div
              var newWidget = _.findWhere(scope.widgetDefs, { name: item.id });
              // This will add the new widget div to the dashboard
              scope.addWidgetInternal(e, newWidget);
          };

and my main view contains both droppable and dashboard directives, but on two different divs :+1:

Very cool! Perhaps we could make this an opt-in feature.

@robertmazzo Hey man i having the same issue, but i went further i changed the whole drag and drop system of the dashboard and that didnt work out, then i saw this thread, can u elaborate on how you configured the widget definitions container (the replace of the dropdown), cause i kind of did it with ui-sortable, but i cant drag my widgets any where i want,
i apprecite you could help me with this

@JloraMedsis If you can create a test page for us to review and debug, we'd be happy to assist with this.

hi @wvary, im gonna setup a test enviroment for you to look at it, give me 30 mins to spin up a VM and install everything... how can i let you know im ready ?

@JloraMedsis, please update this issue with the url and I'll take a look.

@wvary Hey this is the test page is was telling you about, http://35.185.9.107/#/.... click the upper right corner icon to bring the widgets and the drag a widget from there to the dashboard, but try to add it somewhere between first and second widget, it will add it but at the end.. ill be here if u dont understand what in trying to explain

@JloraMedsis I'm looking at the code right now, but it would be helpful if you don't use minified js files.

@wvary files are not minified now, please check it out now, and thanks!

@JloraMedsis - I could grab the code at home and get you more details, but in the meantime see my post above where I mentioned that I figured it out.
I actually added a link: function to the original Malhar dashboard directive.
and my main view decorated with both droppable and dashboard directives,

But I didn't change the whole ui-sortable thing. I just wanted to drag an image from the left nav menu in my application, and drop it onto the main dashboard. That's where the el.drop event above made it happen.
Keep in touch.
Bob

I rolledback my drag changes and used ui-sortable again, i used everything
You said but the el.drop its doesnt get triggered... If You can check the
URL i provided with the example and wacth the code and perhaps tell me what
am i missing
Thanks for all
El 19 ene. 2017 18:02, "Bob Mazzo" notifications@github.com escribió:

@JloraMedsis https://github.com/JloraMedsis - I could grab the code at
home and get you more details, but in the meantime see my post above where
I mentioned that I figured it out.
I actually added a link: function to the original Malhar dashboard
directive.
and my main view decorated with both droppable and dashboard directives,
But I didn't change the whole ui-sortable thing. I just wanted to drag an
image from the left nav menu in my application, and drop it onto the main
dashboard. That's where the el.drop event above made it happen.
Keep in touch.
Bob
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataTorrent/malhar-angular-dashboard/issues/104#issuecomment-273926513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVAjTq8Y12MdeAYQ1zpdS33t6pELU7eNks5rT-uMgaJpZM4DO_oB
.

@JloraMedsis Menu is not working anymore.

Menu is working ok, that implementation is configured with sessionStorage
maybe clean it ir something, maybe tell me what is not working
Thanks in advance
El 19 ene. 2017 18:18, "Willet Vary" notifications@github.com escribió:

@JloraMedsis https://github.com/JloraMedsis Menu is not working anymore.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataTorrent/malhar-angular-dashboard/issues/104#issuecomment-273929724,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVAjTlarpaxxo04APBnIhMdsSNmMPtluks5rT-9UgaJpZM4DO_oB
.

@JloraMedsis working now, maybe it was in the middle of a release.  I also tried in incognito mode.

Glad to hear that
El 19 ene. 2017 19:00, "Willet Vary" notifications@github.com escribió:

@JloraMedsis https://github.com/JloraMedsis working now, maybe it was
in the middle of a release. I also tried in incognito mode.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataTorrent/malhar-angular-dashboard/issues/104#issuecomment-273937501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVAjTjqwtmKVpWZZTTkpGYrpA_b34h7oks5rT_k2gaJpZM4DO_oB
.

@wvary Did you find anything?

Well guys i kinda of found a solution to my problem, i reordered the widget array and thats all....

authors: JloraMedsis andyperlitch robertmazzo wvary

repo: DataTorrent/malhar-angular-dashboard


text:
Add SQLServerAdapter with view_cache override method

Copied from https://github.com/DatabaseCleaner/database_cleaner/pull/578
I created a SQLServerAdapter to so I could override the implementation of the database_cleaner_view_cache method since sql server.
The other option was to change the underlying implementation of https://github.com/DatabaseCleaner/database_cleaner/blame/master/lib/database_cleaner/active_record/truncation.rb#L25
I'm not sure why this is part of the base implementation?
 where table_schema = '#{current_database}'

@ablignaut Now that we have restored dependency sanity and can test against real implementations, I'd like to get a failing test that this PR fixes, before merging it in.
Admittedly, this is kind of a yak shave, because there's doesn't seem to be a directly supported way to test with SqlServer on Travis. I've been looking at https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/master/.travis.yml and it looks like its possible, though. Would you be interested in taking a crack at this? If not, I'll get around to it at some point.

@botandrose Sorry for the delay. It seems that there are conflicts in the PR. Could you please look into it?
Thanks!

Closing this due to inactivity. If you want to re-open it later, go for it. ❤

authors: botandrose etagwerker


text:
DEV-14582 - Security group refactor

https://datatamr.atlassian.net/browse/DEV-14582

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: souza-dan tamr-github-integrator

repo: Datatamer/terraform-aws-es


text:
Xcode8/Swift 2.3 dual-build

With these changes, the XCGLogger framework and sample projects build with either Xcode 7.3 or Xcode 8, using Swift 2.3. This is an interim step we needed for testing with iOS 10 devices.

Thanks for the PR. Making a compatibility branch for Swift 2.3

Thanks for the merge, @DaveWoodCom , and thanks again for a great tool!

authors: DaveWoodCom dpassage

repo: DaveWoodCom/XCGLogger


text:
[SMT32F446] Compile broken

stm32f4re446 does not compile anymore,
in particular, there are no registers in PAC that and with _3.
for example:
error[E0599]: no method named `oc1m_3` found for mutable reference `&mut stm32f4::stm32f446::tim1::ccmr1_output::W` in the current scope
    --> stm32-hal/src/timer.rs:1074:31
     |
1074 |                             w.oc1m_3().bit((mode as u8) >> 3!= 0)
     |                               ^^^^^^ help: there is an associated function with a similar name: `oc1m`

Yep. All non-DMAMUX variants (F3, F4, L4) are currently broken on the repo. I made an internal refactor to simplify code across most of the modules regarding DMA channel selection, but it caused this. The most recent release is pre this. I may have to just revert to the old (working, verbose) style.

*Oh wait actually this is something different I just introduced. Leaving the above comment in since lol since it's also true.

Fixed

authors: David-OConnor gfabiano


text:
MD046 mistakenly flags list item continuation as an indented code block

MD046 mistakenly flags the continuation of the list item in the following example as an indented code block.
Example
Source
1. Simple item.
2. Item with code fence and continuation.

    ```shell
    git --version
    ```

    Continuation.

Rendered

Simple item.

Item with code fence and continuation.
git --version

Continuation.

I do not see this with your example, can you please check?
https://dlaa.me/markdownlint/#%25m%23 Issue 509

1. Simple item.
2. Item with code fence and continuation.

    ```shell
    git --version
    ```

    Continuation.

You are right, markdownlint works as intended here.
The problem was that the rest of the document (where I observed this) used indentation for code exclusively, and after adding this one code fence at the beginning, it was actually reporting all following indented code blocks.
We could have avoided this situation somewhat ourselves by specifying the desired code block format in a markdownlint config. 🤷

authors: DavidAnson caugner

repo: DavidAnson/markdownlint


text:
Updating docs and NavBar

This PR has documentation updates and a new NavBar, which I moved to the client so that we can update it based on the user being logged in.

Thank you, Brandon.

authors: GeorgeRay brandinonian


text:
add 'refresh' functionality to app-db

I'm proposing to refresh app-db re-frisk view (either when tab gets focus - so clicking off and then back to the app-db view would refresh it) or add a button to force read.
Sometimes, when developing/debugging, I may set a value in the app-db directly via the repl
(assoc  @re-frame.db/app-db :name "value-2")
When I do this, the web page will update the new value, but the app-db screen in re-frame-10x tools does not update (in this case; when I navigate to diff page)
issue recreated on new project created using lein new re-frame first-proj +10x +re-frisk +test +handler +routes
& then
lein figwheel dev
screenshot of inconsistency:

@sloxy the way we capture app-db information is by instrumenting the before and after of app-db when a handler is run. If you manually modify app-db outside of the re-frame event cycle then we won't be able to capture the information.
An alternative approach to this would be for you to manually dispatch events from the REPL to move your app-db into the desired state. These would be captured and would update app-db. Another option would be for you to make a no-op event that you dispatch after updating app-db, that should then get access to your manually updated app-db state.
I'll consider this feature request, but due to the way re-frame-10x is architected to instrument a running re-frame system, it wouldn't be trivial to implement. If this turns out to be a really common use case then we may consider adding it (readers: add a 👍 on the original post if this would be useful for you).

I'm still not really sold on this idea, and implementing it would also be really hairy/impossible to do with the current tracing architecture.
Instead, for now I'd recommend you create an identity event that you can call when you want to 'refresh' app-db. This event handler would take and return app-db unmodified which would then trigger the rest of 10x to update the GUI.
Going to close this for now. If someone is really keen on this then I maybe would consider a PR, but please get in touch first with your plans before you write too much code.

authors: danielcompton sloxy


text:
revamp: auth ui

For: #23
Done: UI change, passwordless email auth
Note: @Nasfame  I have updated and checked the client id's I'll DM them to you

No merge conflicts 💯

Web3 testnet, they have 2 testnets one is named sapphire

Fix #23

Resolved #23


text:
#1852 QA - DEX - faq

Related: #1852
Acceptance criteria: Verify DEX FAQ content
Android:

[x] Settings > About > Knowledge base > DEX
[x] Translation (EN)
[ ] Translation (ZHS)
[ ] Translation (ZHT)
[x] Translation (DE)

iOS:

[x] Settings > About > Knowledge base > DEX
[x] Translation (EN)
[ ] Translation (ZHS)
[ ] Translation (ZHT)
[x] Translation (DE)

English translation reference:
# Decentralized Exchange

The decentralized exchange function will allow users of DeFiChain to swap cryptocurrencies in a peer-to-peer fashion. The decentralized exchange function matches people for trading directly, without the need to buy and sell currency through an exchange.

## Transaction fees

Each transaction will be subject to a small amount of fees. The amount may vary depending on the network's congestion.

## What is slippage tolerance?

Due to the dynamic nature of the blockchain, prices on the DEX change every block. This results in **slippage**, which is the difference between the final transaction price and the price displayed on the app before transaction confirmation. The slippage tolerance feature allows you to indicate the maximum slippage you are willing to accept in a transaction. If the slippage for your transaction is higher than your slippage tolerance, the transaction will not be completed and the original amount will be returned to your wallet.

• Translation (ZHS)

• Translation (ZHT)

Actual:
Android & iOS

[ ] Translation (ZHS)
[ ] Translation (ZHT)

Word(s) 滑价 has ** ** wrapping it

Expected:
• To remove ** **, or if it's meant to be bold; bold it
How to reproduce:
• Balances > Settings > About > Knowledge base > DEX

repo: DeFiCh/wallet


text:
The python wrapper is not building the tool in release mode

download_and_build is not using -O3 to build the instrumenter

it actually does


text:
🛑 Fedi is down

In 8631aed, Fedi (https://fedi.vale.rocks) was down:

HTTP code: 500
Response time: 23704 ms

Resolved: Fedi is back up in 663c582 after 56 minutes.

repo: DeclanChidlow/status


text:
lh.white not created

Hello,
I am trying to use Fastsurfer as a faster alternative to Freesurfer, but (at the very least) my lh.white and rh.white seems to be missing in all subjects I run?
I use WSL 2 (Ubuntu 22.04.2 LTS), and singularity container (ver 3.11.4-jammy). The command I use is:
singularity exec --nv -B /mnt/c/Users/sttan/Desktop/cortical_thickness/:/data
-B /mnt/d/PGS/fastsurfer:/output
-B /usr/local/freesurfer/7.4.1:/fs_license
./fastsurfer-gpu.sif
/fastsurfer/run_fastsurfer.sh
--fs_license /fs_license/license.txt
--t1 /data/RBDNORMA01/1/t1.nii.gz
--sid RBDNORMA01 --sd /output
--parallel
I am attaching files that may be relevant.
Best regards,
Stan

recon-all-status.log
recon-all.log
recon-all.done.txt

Hi Stan,
we do not have much experience with WSL, but those files should be there. can you add the recon-surf.log file thanks.

Sure, here it is
recon-surf.log

Hmm it fails here:
mris_sample_parc -ct /opt/freesurfer/average/colortable_desikan_killiany.txt \
     -file /fastsurfer/recon_surf/rh.DKTatlaslookup.txt -projmm 0.6 -f 5  -surf white.preaparc \
     RBDNORMA01 rh aparc.DKTatlas+aseg.orig.mgz aparc.DKTatlas.mapped.prefix.annot

Command terminated by signal 9

This is the step where we map the deep learning-based segmentation to the white.preaparc surface. It does not give more details. Ways to debug this:

try on a linux system with docker or singularity to make sure it is not a WSL thing (like limited memory etc).
visually inspect the white.preaparc surface and the segmentations to make sure inputs are not already corrupted. Sometimes errors occur earlier in the stream silently.
start the container interactively , change to that directory, setup SUBJECTS_DIR and FREESURFER_HOME env variables and run the command directly, maybe it gives more detailed error messages on the screen (although I doubt that).

If all else fails, we could try to replicate the issue on our side, but would need the input image.

I will look into it write back. Thank you!

dmesg | grep -i 'killed process' showed, that the process was killed because of insufficient memory. I had to allocate more memory to WSL 2 and it now it works. Thank you for your help!

authors: m-reuter stanmarecek

repo: Deep-MI/FastSurfer


text:
Images not captured

In file France / FRA_A27_Unit.html 3 images are provided after the table for the BottomLayer, through their top values cosmetically put them before the table:

But, they don't get picked up at all by the parser:

Fixed in #553.

authors: IanMayo robintw

repo: DeepBlueCLtd/LegacyMan


text:
How can I load pretrained weights from checkpoint to go on pretraining?

Hello! Thx for your great work!
For some reasons, I couldn't run the whole training loop in your pretraining scripts. But I got some checkpoints like "model_epoch_25.pth". The question is, how can I load this checkpoint and go on finishining my pretraining?
Looking forward to your reply!

Hi! I haven't provided an interface for passing checkpoints for pretraining. But you can make a small change on the script to achieve this.
When runing downstream tasks, we provide the interface to pass the solver checkpoint or model checkpoint. By setting the model_checkpoint, you can pass the pretrained model checkpoint. By setting the checkpoint, you can pass both the models, mlps and optimizer into the solver.
https://github.com/DeepGraphLearning/GearNet/blob/932e7e3ac56c733f31231e1e0cdd03c158c7ab96/util.py#L128-L136
For your case, if you want to continue pretraining with some checkpoints. You need to first change the save function in pretrain.py, since the current one only saves the model and discards the mlp and optimizer. Then, you need to add the interface checkpoint in build_pretrain_solver  for passing the solver checkpoint, which should be similar to the build_downstream_solver shown above. Finally, you need to change the config files to add the checkpoint argument and provide the path to your checkpoint.
Nevertheless, I believe that even only pretraining the model for 25 epochs, you can still get a very strong model.

OK! Thank you for so detailed answer! I'd try it later!

repo: DeepGraphLearning/GearNet


text:
make error: An implementation of BLAS is required but none was found.

hi!
When I was trying to install it from source I got error when make
make
The error message is as follow:
checking if sgemm_ is being linked in already... no checking for sgemm_ in -lmkl_intel_lp64... no checking for sgemm_ in -lmkl... no checking for sgemm_ in -lopenblas... no checking for ATL_xerbla in -latlas... no checking for sgemm_ in -lblas... no checking for sgemm_ in -framework vecLib... no checking for sgemm_ in -lcxml... no checking for sgemm_ in -ldxml... no checking for sgemm_ in -lscs... no checking for sgemm_ in -lcomplib.sgimath... no checking for sgemm_ in -lblas... (cached) no checking for sgemm_ in -lblas... (cached) no configure: error: An implementation of BLAS is required but none was found. make[2]: *** [faiss/src/faiss-stamp/faiss-configure] Error 1 make[1]: *** [CMakeFiles/faiss.dir/all] Error 2 make: *** [all] Error 2
Any idea why this is happening? How can I get around this problem?

Duplicate of #17
It's because faiss can't find the dependency. I am not sure how to solve that, since I never meet this in my environment. A workaround is to comment out all faiss related lines in CMakeLists.txt, if you don't need to use the visualization. Otherwise please refer to the above issue.

Thank for you reply!Please forgive me for being busy with other things and not replying to you.
I have solved this problem according to your method.
manually install OpenBLAS compile faiss from source compile graphvite with cmake .. -DFAISS_PATH=/path/to/faiss/ && make
But I have a new problem.When I was trying to install it from source I got error when executing
python setup.py install
I found that other people have encountered this problem.(#34)
Your suggestion is  thart export the paths of gflags and glog into LD_LIBRARY_PATH.
But I did not solve this problem according to your suggestion.
My configuration：
Centos 7 python 3.7 conda install glog and gflags CUDA 10.0
I am looking forward to your reply!Thanks!

authors: KiddoZhu shiqiaodeng

repo: DeepGraphLearning/graphvite


text:
++[(LIVE.FREE)TV] Crown Jewel 2024 Live Streams Free WWE On Tv Channel 2 NOV 2024

WWE returns to Saudi Arabia for Crown Jewel, where the first men's and women's Crown Jewel Champion will be crowned.
Here’s how you can watch WWE Crown Jewel 2024, including streaming options, start time and more.
Where to watch WWE Crown Jewel 2024
Streaming: Peacock (U.S), WWE Network (Globally)
WWE's PLE events are available on Peacock. You can also watch past events in WWE history on Peacock. From WrestleMania 1 to last year's event. Old WCW matches and ECW pay-per-views, Peacock has it all.
MORE: Watch WWE Bad Blood 2024 live on Peacock
Wrestling fans can sign up for a Peacock Premium plan at $7.99 a month or $79.99 per year. For fans looking for all of WWE's content with almost no ads, Peacock Premium Plus for an additional $6.00 a month or an additional $60.00 per year.
WWE Crown Jewel 2024 start time
Date: Saturday, November 2
Time: 1 p.m. ET | 10 a.m. PT
Location: Mohammed Abdo Arena - Riyadh, Saudi Arabia
WWE Crown Jewel begins at 1 p.m. ET on November 2. It is in the Mohammed Abdo Arena in Riyadh, Saudi Arabia. The arena can hold up to 22,000 people.
WWE Crown Jewel 2024 fight card
Gunther vs. Cody Rhodes for the WWE Crown Jewel Title
Liv Morgan vs. Nia Jax for the WWE Women's Crown Jewel Title
LA Knight (c) vs. Andrade vs. Carmelo Hayes for the WWE United States Title
Jade Cargill and Bianca Belair (c) vs. Damage CTRL (Kairi Sane and Iyo Sky) vs. Meta-Four (Lash Legend and Jakara Jackson) vs. Chelsea Green and Piper Niven for the WWE Women's Tag Team Titles
Roman Reigns and The Usos (Jey Uso and Jimmy Uso) vs. The Bloodline (Solo Sikoa, Tama Tonga, Tonga Loa, and/or Jacob Fatu)
Seth "Freakin" Rollins vs. Bronson Reed
Randy Orton vs. Kevin Owens
At the last WWE PLE, Bad Blood, chief content officer Paul "Triple H" Levesque announced two matches where the reigning WWE Champion faces the reigning WWE World Champion, for both men and women. The main belts are not on the line. The winner would become the first WWE Crown Jewel Champion.
Cody Rhodes, the Undisputed WWE Champion, will face World Heavyweight Champion Gunther. Meanwhile, on the women's side, Women's World Champion Liv Morgan will face WWE Women's Champion Nia Jax.
Also on the card, Seth "Freakin" Rollins and Bronson Reed face off in a grudge match. Reed kept Rollins out of the ring following multiple Tsunami attacks. Returning to action, Rollins is looking for a measure of revenge.
Meanwhile, the war between Roman Reigns and the new Bloodline rages on. The reunited Usos team with Reigns to take on Solo Sikoa, and two members of The Bloodline

vbvbvb

Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/
Watch Live STREAM Here: https://stream247.online/

authors: drrazukhan raasheed774 thdhakhan

repo: DeepSourceCorp/good-first-issue


text:
CLI Install Options

Need to revisit the install options for the CLI and decide what's best:

npm / npx
pip
nix
etc.

Duplicate of #38

repo: DefangLabs/defang


text:
Adding Location and Line Number using CSV Imports

Issue Type

[X] Enhancement

Description
When uploading findings using CSV files I cannot get DefectDojo to import Location or Line Number. I tried different column headers in an attempt to get it to automatically populate. Some of the column headers I tried were: URL, Location, Files, File, and Line Number. I can edit the finding after I import findings to manually add the Location and Line Number but I would prefer to be able to import that information automatically from a CSV file. The scan type I am using is Generic Findings Import.
Install

[X] setup.bash

DefectDojo Version
1.5.2

@JohnWickAppSec that won't be a problem to add. Just curious, what scanner findings are you importing?

Thank you for responded so quickly! It would be great if you could add that functionality. It would save us a lot of time from manually adding the location and Line Number to each finding. Can you give me any estimate on when it would be added? Since the scanning tool we use is not supported by DefectDojo I was just trying to upload the scan findings in a CSV file using the column headers that are listed in the documentation.
Another thing I have noticed is that the column header Url does not seem to populate any field in DefectDojo. Url is listed as a supported header in the documentation but I have been unable to see where the information listed in that column header goes in DefectDojo.

authors: JohnWickAppSec aaronweaver

repo: DefectDojo/django-DefectDojo


text:
add watson middleware for more efficient search index updates

During (re-)import findings are updated multiple times, triggering multiple updates of the watson search index (via post_save) signals.
Turns out django-watson provides a middleware to help with this. All updates to model instances are grouped / deduplicated and executed at the end of the request.
This saves 3 database queries per (created/updated) finding in an import.

seems awesome; have you been able to measure the gain or see any difference by tracking the sql requests issued?

Yes, using django-debug-toolbar. If only the auditlog had the same feature 😩

authors: ptrovatelli valentijnscholten


text:
revert https://github.com/DefenSec/dssp2-standard/commit/b34f5a1f098748f9e4e778205587b48a3fb46089

https://bugzilla.redhat.com/show_bug.cgi?id=1661822

also remove dac_override dac_read_search from:
https://github.com/DefenSec/dssp2-standard/commit/79889f2265c527c1d624e7d0460e38f040a6c6c9

license: unlicense


text:
Support for sending menu to direct message

Would you consider adding support for sending the menu to a direct message? One of my users seems to have attempted that, and if there's interest in using that way I'd like to support that if possible. Currently reactionmenu receives a None type for guild when a user invokes it via direct message, which causes an error.

I've thought about doing it, but never really thought of a use case for it. I suppose I don't really see a reason for it to not work in DM's though. I'll do some testing with it and if there aren't any big issues with implementing it, I'll add support for it.

Ig the send_to feature for the Users Dm with id is not documented well. If its implemented, can I know the function usage of it.

Would it also be possible to implement sent_to can be used to adda discord.User or discord.Member?
The paginator would get sent in the user dm`s and can use the paginator there.
Usecase:
Created a normal message command that can be used in a server, the information given in the sent message should be kept private in direct messages.

authors: Defxult called2voyage martinbndr vichubenzene

repo: Defxult/reactionmenu