text:
phpunit not found

Hi,
Thanks for this great plugin, I installed it but it didn't work and always gave me
PHPUnit: phpunit not found

and I don't know why!, so I traced plugin.py to figure out what happened, the composer variable always assigned to Null, so I knew it can't read the default plugin configurations.
def get_phpunit_executable(self, working_dir):
    composer = self.view.settings().get('phpunit.composer')

    return _get_phpunit_executable(working_dir, composer)

I moved phpunit.composer to my setting and the plugin works finally.
If you can please search why the function can't read the default plugin configurations that will be awesome.
Sorry I don't know Python I'm a PHP guy xD
Thanks again for your effort.

The default for the phpunit.composer setting should be true.
It's hard to know why the default is not being loaded. I can't reproduce the issue. I'd need a lot more information. For example, using the console Menu > View > Show Console, what do the following show:
>>> sublime.active_window().active_view().settings().get('phpunit.composer')
True
>>> sublime.load_settings('Preferences.sublime-settings').get('phpunit.composer')
True

If you've installed manually via git, edit the default settings file in PHPUnitKit/Preferences.sublime-settings and run the commands above to see that the value changes.
Usually the setting has been overridden somewhere but it could be something else too.

Hello,
I installed this package with PackageControl and ran into the same issue. If I execute the above commands from the console I don't see any results at all.
>>> sublime.active_window().active_view().settings().get('phpunit.composer')
>>> sublime.load_settings('Preferences.sublime-settings').get('phpunit.composer')

Adding phpunit.composer to my own settings file fixed the issue for me as well.

@gerardroche I'm sorry I was so busy in the last days, and even forgot the question :confused: , but as @matt-allan said it returns nothing. I don't know why, but when you move your configuration to your sublime setting it works.
Install it from PackageControl and try it, my OS is Ubuntu 19.04, and my Sublime version is 3.2.1.
I hope this helps.

Hmm. I can't reproduce the issue.
I've added extra logging in the latest release (it will be available from Package Control soon).
If it's possible try post some logging and maybe I can see something that may be causing it.
Show the Sublime Text console log: Menu > View > Show Console.
sublime.log_commands(True); sublime.log_input(True)

To enable plugin debugging on Unix:
$ SUBLIME_PHPUNIT_DEBUG=y subl

and on Windows:
> set SUBLIME_PHPUNIT_DEBUG=y& "C:\Program Files\Sublime Text 3\subl.exe"

startup, version: 3207 linux x64 channel: stable
executable: /home/code/sublime_text_3/sublime_text
working dir: /
packages path: /home/code/.config/sublime-text-3/Packages
state path: /home/code/.config/sublime-text-3/Local
zip path: /home/code/sublime_text_3/Packages
zip path: /home/code/.config/sublime-text-3/Installed Packages
ignored_packages: ["ColorSchemeUnit", "NeoVintageousTweaks", "Six", "ToggleNeoVintageous", "Vintage", "Vintageous", "Wrap Plus"]
pre session restore time: 0.171702
startup time: 0.286673
first paint time: 0.305784
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.15-coverage
reloading plugin 0_package_control_loader.50-pymdownx
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.55-jsonschema
reloading plugin AutomaticPackageReloader.package_reloader
reloading plugin Origami.origami
reloading plugin Sass.sass_completions
reloading plugin SublimeLinter-contrib-mypy.linter
reloading plugin SublimeLinter-flake8.linter
reloading plugin DocBlockr.plugin
reloading plugin Markdown Preview.markdown_settings
reloading plugin Markdown Preview.markdown_wrapper
reloading plugin Markdown Preview.MarkdownPreview
reloading plugin NeoVintageous.plugin
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PHP Completions Kit.plugin
reloading plugin PHPGrammar.plugin
reloading plugin PHPSnippets.plugin
reloading plugin PHPUnitKit.plugin
reloading plugin polyfill.preferences
reloading plugin polyfill.project
reloading plugin polyfill.toggles
reloading plugin polyfill.tree
reloading plugin polyfill.ui
reloading plugin Sesame.plugin
reloading plugin SublimeLinter.__init__
reloading plugin SublimeLinter.active_linters_view
reloading plugin SublimeLinter.busy_indicator_view
reloading plugin SublimeLinter.goto_commands
reloading plugin SublimeLinter.highlight_view
reloading plugin SublimeLinter.log_handler
reloading plugin SublimeLinter.message_view
reloading plugin SublimeLinter.panel_view
reloading plugin SublimeLinter.status_bar_view
reloading plugin SublimeLinter.sublime_linter
reloading plugin SublimeLinter-php.linter
reloading plugin SublimeLinter-php-cs-fixer.linter
reloading plugin Test.plugin
reloading plugin ToggleWords.ToggleWords
reloading plugin UnitTesting.ut
reloading plugin User.user_finders
reloading plugin User.user_git
reloading plugin User.user_man
reloading plugin User.user_neovintageous
reloading plugin User.user_open
reloading plugin User.user_phan
reloading plugin User.user_preferences
reloading plugin User.user_rulers
reloading plugin User.user_sandbox
reloading plugin User.user_scriptease
reloading plugin User.user_sublime_linter
reloading plugin User.user_syntastic
reloading plugin User.user_tasks
reloading plugin User.user_toggles
reloading plugin User.user_tree
plugins loaded
.neovintageousrc file loaded
PHPUnit: window 2 view 17 /home/code/projects/sandbox/sublime-phpunit-testing/test/File NameTest.php
PHPUnit: phpunit.run working_dir=None, file=/home/code/projects/sandbox/sublime-phpunit-testing/test/File NameTest.php, options={}
PHPUnit: find configuration for '/home/code/projects/sandbox/sublime-phpunit-testing/test/File NameTest.php'
PHPUnit: found 4 folders ['/home/code/projects/sublime-test/project1', '/home/code/projects/sublime-test/project2', '/home/code/projects/sublime-test/project2', '/home/code/projects/sandbox/sublime-phpunit-testing']
PHPUnit: found 4 ancestors ['/home/code/projects/sandbox/sublime-phpunit-testing/test', '/home/code/projects/sandbox/sublime-phpunit-testing', '/home/code/projects/sandbox', '/home/code/projects']
PHPUnit: candidate configuration files ['phpunit.xml', 'phpunit.xml.dist']
PHPUnit: found configuration '/home/code/projects/sandbox/sublime-phpunit-testing/phpunit.xml'
PHPUnit: working dir '/home/code/projects/sandbox/sublime-phpunit-testing'
PHPUnit: config phpunit.composer=True
PHPUnit: get_phpunit_executable() include_composer_vendor_dir True
PHPUnit: get_phpunit_executable() /home/code/projects/sandbox/sublime-phpunit-testing/vendor/bin/phpunit (unix)
PHPUnit: phpunit executable '/home/code/projects/sandbox/sublime-phpunit-testing/vendor/bin/phpunit'
PHPUnit: window options {'no-coverage': True}
PHPUnit: view options {'no-coverage': True}
PHPUnit: options {'no-coverage': True}
PHPUnit: env {}
PHPUnit: cmd ['/home/code/projects/sandbox/sublime-phpunit-testing/vendor/bin/phpunit', '--no-coverage', 'test/File NameTest.php']

Here's the output from my machine. Would it be helpful if I removed the user preference that fixes the issue before logging?

debug logging
startup, version: 3207 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
working dir: /
packages path: /home/matt/.config/sublime-text-3/Packages
state path: /home/matt/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages
zip path: /home/matt/.config/sublime-text-3/Installed Packages
ignored_packages: []
pre session restore time: 0.0918858
startup time: 0.149957
git: tracking working dir /home/matt/code/laravel-code-style
first paint time: 0.1772
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin Vintage.vintage
reloading plugin Vintage.vintage_commands
reloading plugin Vintage.vintage_motions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.10-golangconfig
reloading plugin 0_package_control_loader.10-shellenv
reloading plugin 0_package_control_loader.20-newterm
reloading plugin 0_package_control_loader.20-package_events
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-pymdownx
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin All Autocomplete.all_views_completions
reloading plugin Delete Current File.DeleteCurrentFile
reloading plugin DocBlockr.jsdocs
reloading plugin EditorConfig.EditorConfig
reloading plugin Golang Build.golang_build
reloading plugin LSP.boot
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PhpNamespace.classes
reloading plugin PhpNamespace.namespaces
reloading plugin PhpNamespace.PhpNamespaceCopy
reloading plugin PhpNamespace.utils
reloading plugin Quick File Creator.SublimeQuickFileCreator
reloading plugin Sass.sass_completions
reloading plugin SqlBeautifier.sqlbeautifier
reloading plugin PHPUnitKit.plugin
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin TypeScript.main
2019-09-29 22:24:32,534: 140496802927744: WARNING: TypeScript plugin initialized.
plugins loaded
lang_service_enabled: True
Path of tsserver.js: /home/matt/.config/sublime-text-3/Packages/TypeScript/tsserver/tsserver.js
Path of tsc.js: /home/matt/.config/sublime-text-3/Packages/TypeScript/tsserver/tsc.js
Trying to spawn node executable from: /usr/bin/node
ref view not found
Package Control: Skipping automatic upgrade, last run at 2019-09-29 21:53:29, next run at 2019-09-29 22:53:29 or after
>>> sublime.log_commands(True); sublime.log_input(True)
command: drag_select {"event": {"button": 1, "x": 676.1484375, "y": 346.552612305}}
key evt: shift+control+p
command: show_overlay {"overlay": "command_palette"}
chr evt: n (0x6e)
chr evt: e (0x65)
chr evt: a (0x61)
chr evt: r (0x72)
PHPUnit: window 2 view 14 /home/matt/code/laravel-code-style/tests/FormattingTest.php
PHPUnit: phpunit.run working_dir=None, file=/home/matt/code/laravel-code-style/tests/FormattingTest.php, options={'filter': '::(test_formatting_matches_laravel)( with data set .+)?$'}
PHPUnit: find configuration for '/home/matt/code/laravel-code-style/tests/FormattingTest.php'
PHPUnit: found 1 folders ['/home/matt/code/laravel-code-style']
PHPUnit: found 2 ancestors ['/home/matt/code/laravel-code-style/tests', '/home/matt/code/laravel-code-style']
PHPUnit: candidate configuration files ['phpunit.xml', 'phpunit.xml.dist']
PHPUnit: found configuration '/home/matt/code/laravel-code-style/phpunit.xml.dist'
PHPUnit: working dir '/home/matt/code/laravel-code-style'
PHPUnit: config phpunit.composer=True
PHPUnit: get_phpunit_executable() include_composer_vendor_dir True
PHPUnit: get_phpunit_executable() /home/matt/code/laravel-code-style/vendor/bin/phpunit (unix)
PHPUnit: phpunit executable '/home/matt/code/laravel-code-style/vendor/bin/phpunit'
PHPUnit: window options {}
PHPUnit: view options {}
PHPUnit: options {'filter': '::(test_formatting_matches_laravel)( with data set .+)?$'}
PHPUnit: env {}
PHPUnit: cmd ['/home/matt/code/laravel-code-style/vendor/bin/phpunit', '--filter', '::(test_formatting_matches_laravel)( with data set .+)?$', 'tests/FormattingTest.php']
command: show_panel {"panel": "console", "toggle": true}
command: paste_selection_clipboard {"event": {"button": 3, "x": 259.418457031, "y": 666.38684082}}
command: drag_select {"event": {"button": 1, "x": 301.184692383, "y": 655.846862793}}
key evt: control+a
command: select_all

Yes please remove the fix and paste the log. The above log looks good I can see that the composer setting is set to true: config phpunit.composer=True and everything else looks ok.

Aswell as debug information, to see the state of of the phpunit.composer setting on the various objects try:
>>> sublime.active_window().settings().get('phpunit.composer')
>>> sublime.active_window().active_view().settings().get('phpunit.composer')
>>> sublime.load_settings('Preferences.sublime-settings').get('phpunit.composer')

Hi,
Thanks for this great plugin, I installed it but it didn't work and always gave me
PHPUnit: phpunit not found

and I don't know why!, so I traced plugin.py to figure out what happened, the composer variable always assigned to Null, so I knew it can't read the default plugin configurations.
def get_phpunit_executable(self, working_dir):
    composer = self.view.settings().get('phpunit.composer')

    return _get_phpunit_executable(working_dir, composer)

I moved phpunit.composer to my setting and the plugin works finally.
If you can please search why the function can't read the default plugin configurations that will be awesome.
Sorry I don't know Python I'm a PHP guy xD
Thanks again for your effort.

Thanks for this! recently updated to Sublime 4 and installed this package. It wasn't working. The default settings show that phpunit.composer is set to true but it didn't work until i copied that to my user settings. Thanks a lot!

Overriding in the user setting probably means that something is blocking or overriding the default setting. Sometimes this can happen if a settings file get corrupted, perhaps during an update. Again, clearing caches, or reinstalling the plugin and restarting can work.
These type of issues are incredibly difficult to reproduce. Until I can reproduce the issues I won't be able to find fix or workaround so closing for now, but if you encounter it again and can reproduce it let me know.

authors: TechhDan abdulrahman19 gerardroche matt-allan

repo: gerardroche/sublime-phpunit


text:
Change site layout and design

As of now the site is using just the default Svelte Kit skeleton project layout and design.
It would be nice to change the puzzle page layout so that the puzzle takes most of the page and the controls/navigation are somewhere in a top bar or a side bar. This would maximize available play area.
I'm lacking in design skills so glad to accept any help: ideas, references, examples of similar layouts elsewhere. Mockups or pull requests if you're feeling generous =).

I think the simple thing for the puzzle viewport to always take the full width or full height depending on aspect ratio.
Portrait, puzzle takes full width
grid-template-areas:
  "header"
  "puzzle"
  "footer"

Landscape, puzzle takes full height
grid-template-areas:
  "header puzzle footer"

The content inside the header/footer in landscape might need to scroll if there isn't enough space.

The layout at puzzles-mobile may be similar to what your thinking of.
Notable features:
hide-able top bar
Minimal settings which are visible all the time, plus an additional menu with more settings.
Ideally, there should be no scroll bar on the page which you actually play on, and information should be delegated to popup/modals, or another page.

source: gharchive/issue

authors: Jaybrainer Pyrolistical gereleth

repo: gereleth/hexapipes

license: MIT

license_type: permissive

license_source: github-api


text:
[Feature] Hande nostr: links

Feature description
Alby could add the functionality to hold links with the nostr: extension, this would make it possible to open nostr links in a simple way for all users who use alby for nostr.
Describe the solution
As in nos2x @fiatjaf extension you can customize the template to interpet this link format Screenshot of the feature
Describe alternatives
No response
Additional context
No response
Are you working on this?
None

Thanks for your feedback! This feature allows users to configure a default client to pick up nostr keys, right?
So whenever you would click a link starting with nostr: the content would be parsed and your tab would navigate to the configured web client with the parameters appended to the URL, right?
What is the use-case for that? Having a "Follow me on nostr" link on your website?
Can you maybe point me to some examples that currently do nostr: links?

https://fiatjaf.com, https://nostr.band

Your welcome, glad to contribute! yes, basically, there are more and more part of nostr ecosystem that use this format to link pubs or notes and at the moment there are not many interpreters for these links. For phone if you have any nostr app, in my case amethyst and nostros on android, it detects the link and can open them consequently. But on the desktop there is still no client that interprets this kind of links, only nos2x (if I am not mistaken).
The use case is more or less what you say, to configure a default client to interpret these links. In nos2x you can set the tamplate to choose which front end will open your link. So at the moment the most basic use case is to open nostr links properly, although who knows if with a bit more ingenuity you could have other use cases like 'follow me on nostr' or similar.
Here some examples of nostr links:
nostr:nevent1qqs2xj0lh37tsducmdtvq225gvklvy7cxssapytldw40xte6q08myeqpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqzjedf
nostr:note15dyll0ruhqme3k6kcq54gsed7cfasdpp6zgh76a27vhn5q70kfjqflvt2l
nostr:nprofile1qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgrsdcak
nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s

I just saw that snort.social is offering to register their web app as a protocol handler:
Wouldn't that be a more reliant way to approach this problem? 🤔 (and not having to rely on users having extensions installed that fix links for them?)

Not sure about how this would work together with mobile apps though. I think on Android apps could register to handle nostr: links as well as web+nostr:.

authors: fiatjaf gzuuus reneaaron

repo: getAlby/lightning-browser-extension


text:
Available for newer PyQt

renaming of icon variable makes possible to run launcher with newer PyQt
PyQt is printing warnings for AwesomeIcon with recommending but it's not crashing

Thanks @iLLiCiTiT, this looks good. Can you increment the version too? 1.0.1 should do, since it's a bugfix.

To make sure, in version.py change VERSION_PATCH to 1?

Yes, sorry. That's the one!

Great, thank you!

source: gharchive/pull-request

authors: iLLiCiTiT mottosso

repo: getavalon/launcher


text:
Add Dozer lambda runtime sample

Add Dozer lambda runtime sample - react room temp monitoring app with twilio SMS notification

Tested on Dozer release 0.1.19 and  pydozer_log version 0.1.19

repo: getdozer/dozer-samples


text:
Unable to start plugin html-report

Hi,
I am trying to run and debug our java project using gauge 0.9.0 with
-html-report[4.0.1],
-java [0.6.4],
-xml-report[0.2.0],
eclipse 2017.1.5 ,
java 8_131 .
I am facing a strange issue "Unable to start plugin html-report. Plugin html-report is not installed. To install, run gauge install html-report."
while running the spec files. Also, its skipping the spec file and exiting. I have uninstalled and reinstalled gauge. Its showing all the versions in command prompt successfully but not in intellijIdea. Kindly Help.

@shreyapandey : What version of Gauge-IntelliJ plugin are you using?

I am using gauge 0.9.0 with
-html-report[4.0.1],
-java [0.6.4],
-xml-report[0.2.0], , Operating system is windows 7 64 bit.

Are you able to execute the tests from the command line?
Gauge-IntelliJ version is available in IntelliJ

Please update the version in the issue

Yes I have updated the Gauge from intellij. Could you please tell me how to execute gauge from command line?
Thanks!

Hi,
I ran by command promtpt.Getting this error "Failed to start gauge API: Timed out connecting to [::]:57356"
Please help!

To help us understand the issue better. Please do the following steps

Create a new gauge java project
gauge init java
run the specs
gauge run specs

and share the console logs and the generated logs folder with us.

Hi,
Did 1.gauge --init java
2.went to the specs folder
3.gauge specs/

I am sorry I can't share log files due to my organisation's policy. Please help us!
Also, we are getting a strange error while debugging since a month.[Error running : Unable to open debugger port (localhost:60556): java.net.ConnectException "Connection refused: connect"] We have tried a 100 ways.Can you shed some light on it as well?

Hi,
Latest status is html-report error is gone but now its skipping the .spec files.
here is the message:
Successfully generated html-report to => reports\html-report
Specifications:	0 executed	0 passed	0 failed	1 skipped
Scenarios:	0 executed	0 passed	0 failed	1 skipped
Total time taken: 2.205s
Please help us so that
1.its able to find the spec files and run them
2."Unable to open debugger port (localhost:60556): java.net.ConnectException "Connection refused: connect"  and on this issue

gauge spec/abe.spec the folder name given is wrong
it should be specs
gauge specs/abe.spec
The newly created project is executing successfully on the command-line. Can you please check if you can run this from the IDE.

from IDE I am getting this
here is the message:
Successfully generated html-report to => reports\html-report
Specifications:	0 executed	0 passed	0 failed	1 skipped
Scenarios:	0 executed	0 passed	0 failed	1 skipped

A scenario/specification gets skipped if there are no implementations for any step in the scenario. You can use the alt-enter option on a step and create a default empty implementation for a step.
As you are not facing the issue unable to start html-report, I will close this issue. If you face any other issues please feel free to raise another issue or reach us at https://gitter.im/getgauge/chat

Thanks! Yes I will raise another issue!!
Thanks for your help :)

Hi @shreyapandey   @sguptatw  i am facing the same error ,is there any solution found for this,i hope i am not alone facing this.

authors: rav2607 sguptatw shreyapandey

repo: getgauge/gauge

license_source: bigquery


text:
Regression in text search / smart selectors

Expected behavior
Functions using text search and smart selectors, like click(), should find specified text
Actual behavior
click() using smart selectors does not find the text now, hence, can not click it
Steps to reproduce

https://google-gruyere.appspot.com/start
Click "Agree & start"
Go to Sign up (/newaccount.gtl)
Create a random account
Run taiko:

> openBrowser()
[PASS] Browser opened
> goto("https://google-gruyere.appspot.com/.../login")

Log in with the above account
At this point, you should be at Gruyere Home, where you can see some links at the top. For example, "New Snippet"
In Taiko:

> click("New Snippet")
[FAIL] Error: Element with text New Snippet not found, run `.trace` for more info.

This works well in 1.0.18 but 1.0.19 is breaking some of my tests. May be related to https://github.com/getgauge/taiko/pull/1429
Versions

node --version
v14.7.0
taiko --version
Version: 1.0.19 (Chromium: 86.0.4214.0) RELEASE

It's working now, thank you! Awesome resolution time :)

repo: getgauge/taiko


text:
Smart selectors fail to find search bar using text placeholder

Is your feature request related to a problem? Please describe.
Smart selectors do not work when deal with search bar placeholders using text inside the bar as target
Related to https://github.com/getgauge/taiko/issues/1625
So, if you go to https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_search_placeholder and then run: write("AAAA", textBox("Filter items")) - Taiko won't write into the search bar
Running: write("AAAA", textBox({placeholder: "Filter items"})) - it'll work
_In the best case, the functionality already exists but I'm missing something - if so, I'd appreciate some pointers :)
Describe the solution you'd like
To be able to interact with elements with placeholders visually available
Describe alternatives you've considered
write("AAAA", textBox("Filter items")) should work just like write("AAAA", textBox({placeholder: "Filter items"}))
Additional context
This is an example of the kind of input with placeholders:

Lookforward this feature!

@NivedhaSenthil  Currently, Taiko works only on label in textBox
https://github.com/getgauge/taiko/blob/480cb4726d8afa05d235695eed34db7d6b33cdc6/lib/elementWrapper/textBoxWrapper.js#L21
placeholder attribute would be present only on input tag. I'm thinking the current function https://github.com/getgauge/taiko/blob/480cb4726d8afa05d235695eed34db7d6b33cdc6/lib/elementWrapper/textBoxWrapper.js#L6
Will check with label and input tag for the given value. Thougts?

Will check with label and input tag for the given value. Thougts?

This makes sense, because the placeholder is mostly used like a label for text fields. In most cases the label is ommitted when there is a placeholder. In case there is a label with the same text Taiko should pick the placeholder.

Thank you @zabil @saikrishna321 - you rock!

authors: rmallof roughsoft saikrishna321 zabil


text:
1.7.19: 'bin/gpm index' empty list on PHP 7.4.11, throws exception on PHP 8.0.0

PHP 7.4.11

Clean install: composer create-project getgrav/grav ./
Grav v1.6.30
bin/gpm index --> correct list of plugins/themes
Upgrade Grav: bin/gpm selfupgrade
Grav v1.7.0-rc.19
bin/gpm index --> Plugins/themes are listed, but no info.PLUGINS [ 109 ]
------------------------------------------------------------------------
| Count | Name         | Slug               | Version  | Installed     |
========================================================================
| Array |
| Array |
...etc.

PHP 8.0.0

Clean install from zip
Grav v1.7.0-rc.19
bin/gpm index

GPM Releases Configuration: Testing

PLUGINS [ 337 ]
PHP Fatal error:  Uncaught TypeError: mb_strwidth(): Argument #1 ($string) must be of type string, array given in /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Helper/StringLength.php:36
Stack trace:
#0 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Helper/StringLength.php(36): mb_strwidth()
#1 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Helper/StringLength.php(64): League\CLImate\TerminalObject\Basic\Table->lengthWithoutTags()
#2 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Basic/Table.php(234): League\CLImate\TerminalObject\Basic\Table->pad()
#3 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Basic/Table.php(216): League\CLImate\TerminalObject\Basic\Table->buildCell()
#4 /path/to/grav-admin/system/src/Grav/Console/TerminalObjects/Table.php(23): League\CLImate\TerminalObject\Basic\Table->buildRow()
#5 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Router/BasicRouter.php(28): Grav\Console\TerminalObjects\Table->result()
#6 /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Router/Router.php(99): League\CLImate\TerminalObject\Router\BasicRouter->execute()
#7 /path/to/grav-admin/vendor/league/climate/src/CLImate.php(384): League\CLImate\TerminalObject\Router\Router->execute()
#8 /path/to/grav-admin/vendor/league/climate/src/CLImate.php(399): League\CLImate\CLImate->buildTerminalObject()
#9 /path/to/grav-admin/vendor/league/climate/src/CLImate.php(435): League\CLImate\CLImate->routeRemainingMethod()
#10 /path/to/grav-admin/system/src/Grav/Console/Gpm/IndexCommand.php(131): League\CLImate\CLImate->__call()
#11 /path/to/grav-admin/system/src/Grav/Console/ConsoleCommand.php(41): Grav\Console\Gpm\IndexCommand->serve()
#12 /path/to/grav-admin/vendor/symfony/console/Command/Command.php(255): Grav\Console\ConsoleCommand->execute()
#13 /path/to/grav-admin/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#14 /path/to/grav-admin/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#15 /path/to/grav-admin/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#16 /path/to/grav-admin/bin/gpm(79): Symfony\Component\Console\Application->run()
#17 {main}
  thrown in /path/to/grav-admin/vendor/league/climate/src/TerminalObject/Helper/StringLength.php on line 36

I can confirm that index is not displayed as intended.  It looks like something changed with CLImate library update.  It only seems to impact the 'visual' side of things, install and update worked fine for me.

Not sure what you mean by 'visual', but $ bin/gpm info <package> also works fine.

visual = only impacts the displaying of the package in the CLI, it's not an issue retrieving the data, just presenting.

Should be fixed now.

Test confirms issue has been resolved.

authors: mahagr pamtbaau rhukster

repo: getgrav/grav

license: mit


text:
Control how the CloudFront cache is invalidated

Start from the Use-case
I am running a single page react app. I have 10 different JS files (chunks) after I build my app.
It is normal that a user request 3-5 js files while they are using a part of the application. When they browse to another part they will download more files.
There is an issue if I decide to deploy a new version. Then the additional files are removed from the S3 and CDN. Now when the user asks for the additional files they get a 404.
I suggest to allow us to keep some files on S3 or CloudFront.
Of course I would be open for alternative solutions
Example Config
No response
Implementation Idea
No response

I wonder if we could (and if S3 allows it), instead of deleting "obsolete" files, set them to expire (be deleted) after 1 day 🤔 I haven't researched that at all but that would be a solution that we could apply by default for everyone?

Probably related to https://github.com/getlift/lift/issues/398

@mnapoli yep, I was researching on the very same right now. I wonder if we could tag all obsolete files and then use a lifecycle rule to delete these tagged files after a day. The question is whether there is an efficient way to compare and add those tags.

Why not, as long as it works

authors: Nyholm jaulz mnapoli

repo: getlift/lift


text:
Fix getlift/lift#208, allow for batchSize above 10

AWS allows for batchSize up to 10k for non-FIFO queues where you have also set a maxBatchWindow.

Hi @joawan, are you still up to update your PR with my recommendation :) ?
I can do the update myself, but you have the original idea and deserve the credit adding this feature to Lift ;)

No no, your code, you update :)

@mnapoli Any chance of getting this one in?

Let's get this shipped! Thanks for the PR!

authors: fredericbarthelet joawan mnapoli


text:
Why the v4.46 doesn't compiles on UE4.27?

The v4.26 of the plugin doesn't compiles and breaks the project on UE4.27?
Is 4.27 specific is required?

You may have better luck using the v2.0.0 from UE5.0 on 4.27. It's likely 4.27 had some api changes

Were you able to compile it for 4.27?

authors: Bardo91 OnlinePage getnamo

repo: getnamo/UDP-Unreal


text:
cli: Running the test suites locally fails because the tests can't find some files

I believe the restructuring of the codebase folders has affected the way some test files are written as I am getting the error: ModuleNotFoundError: No module named 'popper.commands'.

This error was caused by me. I wasn't using a virtual environment

repo: getpopper/popper


text:
Cannot read property 'type' of undefined

This happens when using handsontable library. When typing anything into a cell on each keystroke an exception gets thrown:
Uncaught TypeError: Cannot read property 'type' of undefined
    at before (raven.js:886)
    at wrapped (raven.js:270)

Raven version used: 3.9.0
Handsontable version used: "0.29.0"

Looks like this is happening here in raven-js; did you meant to open this here?

Yes. Sorry, even after double checking I posted in a wrong repo ;]

authors: LewisJEllis pbadenski

repo: getsentry/raven-node


text:
2.0.0 - New Event ID/UUID exceeds Sentry's maximum length

Not sure why Sentry/Ruby think UUIDs are different

@nateberkopec possible it has dashes in it?
>>> x = uuid.uuid4()
>>> str(x)
'f2d1b02c-85ae-41e2-9278-d7c8bc6d4df8'
>>> x.hex
'f2d1b02c85ae41e29278d7c8bc6d4df8'

Yeah that's it

authors: dcramer nateberkopec

repo: getsentry/raven-ruby


text:
Report PlatformExceptions with stacktraces from Dart and the native platform as 'chained exception'

PlatformExceptions can have a native stacktrace.
As per doc an event should be able to report a chained exception, see the examples.
Ideally this is done with https://github.com/getsentry/sentry-dart/issues/321
Java implementation for reference: https://github.com/getsentry/sentry-java/blob/a33afef96fc5d051b27ffc81f2bb429585b3488a/sentry/src/main/java/io/sentry/SentryEvent.java#L39

@ueman this sounds like a dup of https://github.com/getsentry/sentry-dart/issues/321 to me, or what would be the difference?

I understood #321 like the parsing step of it, appending the stacktrace and sending it as one stacktrace.
Also we need to add the possibility of having multiple exceptions/stacktraces at all.
Though I'm fine with closing this as a dupe.

@ueman ok got it, its a more specialized issue then, on what to do with the PlatformExceptions, that makes sense if a PlatformExceptions can hold another native stack trace, I'm fine, and they are linked already.

Closing this one in favor of https://github.com/getsentry/sentry-dart/issues/321

authors: marandaneto ueman

repo: getsentry/sentry-dart


text:
flutter native ios

:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description

:bulb: Motivation and Context

:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Can we please fix the swift-lint errors and warnings or add a config file to ignore some of them, if we think they don't make sense. These lint issues make it super hard to take a look at the PR.

authors: philipphofmann rxlabz


text:
captureException not linking to trace

Summary
When creating a transaction and a trace and then doing sentry.CaptureException(err), the error is not linked to the trace properly.
Steps To Reproduce
func TestTracing(t *testing.T) {
	err := sentry.Init(sentry.ClientOptions{
		Dsn:              os.Getenv("SENTRY_DSN"), // test-project
		Debug:            true,
		TracesSampleRate: 1.0,
		Release:          "development",
	})
	if err != nil {
		t.Error(err)
	}
	ctx := context.Background()
	defer sentry.Flush(2 * time.Second)
	transaction := sentry.StartTransaction(ctx, "TestTracing", sentry.OpName("function"))
	defer transaction.Finish()
	span := transaction.StartChild("function")
	defer span.Finish()
	err = errors.New("this is an error")
	sentry.CaptureException(err)
}

Expected Behavior
When viewing the issue on sentry.io, the exception should have a link to the relevant trace. When viewing the trace, the exception should be shown in the trace view.
Screenshots

Sentry.io Event
Error Event: 120248f44d174a1a8d2a60073153e75a
Trace Event: 7b8eaba5361f4c698e79508fa6af68f4
Environment

SDK

sentry-go version: v0.15.0
Go version: 1.19.3
Using Go Modules? yes

Sentry

Using hosted Sentry in sentry.io? yes

Thanks for writing in.
I do confirm that the error event sent to Sentry does indeed not contain the missing contexts.trace values to make the link between the transaction and error work.
I'll take a look!

Thanks! Let me know if I can provide any more information to help

For clarification, this seems to work just fine
func TestTracing(t *testing.T) {
	err := sentry.Init(sentry.ClientOptions{
		Dsn:              "https://500ec0d1c287437da8165c0a4833054f@o4504167699382272.ingest.sentry.io/4504169589309440",
		Debug:            true,
		TracesSampleRate: 1.0,
		Release:          "development",
	})
	if err != nil {
		t.Error(err)
	}
	ctx := context.Background()
	defer sentry.Flush(2 * time.Second)
	span := sentry.StartSpan(ctx, "function", sentry.TransactionName("TestTracing"))
	defer span.Finish()
	childspan := sentry.StartSpan(span.Context(), "function")
	defer childspan.Finish()
	err = errors.New("this is an error")
	sentry.CaptureException(err)
}

@ImDevinC I opened a PR to get this fixed. This might take a while to get released, for the moment I suggest using StartSpan instead.

authors: ImDevinC cleptric

repo: getsentry/sentry-go


text:
[Python] Enhancements to Cache instrumentation

We want to improve our instrumentation of caches. For this we want to have the following spans created when caches are accessed:

For details about the data that should be added to those spans see the linked sub issues.
The also the mockups here: https://github.com/getsentry/sentry/discussions/68265

[x] https://github.com/getsentry/sentry-python/issues/2964
[x] https://github.com/getsentry/sentry-python/issues/2965
[ ] https://github.com/getsentry/sentry-python/issues/2966

The work has been done in the linked umbrella PRs (see the mentioned PRs in them to see the actual code changes)

repo: getsentry/sentry-python


text:
Listens on console.command to trigger client load

Closes #66.
This hook up forces the boot of the client to happen always when a command is triggered, which before only happened if an exception was thrown.
This should offer no BC issues and the only side effect is catching more notices then before as these may have been going unnoticed.

Thanks for the contribution @rdohms !! I'll try to release this in a patch ASAP.

@Jean85 I think that something weird happened, this commit is not part of v0.8.1: https://github.com/getsentry/sentry-symfony/commits/0.8.1

@lcobucci @rdohms my bad, I handled badly the fact that this PR was targeting master and not the 0.8.x branch. I've now cherrypicked the commit and tagged a 0.8.2 release wich should be fixed.

@Jean85 no worries, it happens. Thanks!

authors: Jean85 lcobucci rdohms

repo: getsentry/sentry-symfony


text:
MiDaS and ORB-SLAM calibration

Hi, thank you for sharing great work! I am doing similar project so I have some questions regarding depth calibration and control

Since ORB-SLAM can recognize obstacles, what is the reason for additionally using monocular depth estimation? As far as I know, Ego-planner needs pointcloud topic which can be generated with vslam.

MiDaS lacks scale, and monocular camera-based VSLAM also lacks scale. Did you control the Tello drone using relative position or velocity control rather than global position control?

I'm curious about how you calibrated MiDaS and VSLAM. If there is a paper about this project, I would appreciate it if you could share it.

Thank you for your time!

1.The point cloud obtained from ORB-SLAM is a sparse point cloud. In a single frame, you can typically track around 800 feature points and convert them into a sparse point cloud. Using such a sparse point cloud as input for the ego-planner for obstacle avoidance is challenging and does not yield satisfactory results.
2.The entire system operates based on the coordinate system of ORB-SLAM3. After computing the path, the drone's velocity is determined using PD control. We obtain altitude data once during takeoff and compare it with the altitude from ORB-SLAM3's coordinates to estimate an approximate scale, which is then incorporated into the PD control calculations. Since it's not possible to accurately obtain the scale between VSLAM and the real world, precise position control cannot be achieved.
3.Unfortunately, our university does not want us to publish our thesis online . However, the calibration process is not complicated. First, filter out the far-depth regions in the MiDaS depth map, then apply a least-squares method on the two sets of depth maps from the same frame to calculate the scale, and finally scale the MiDaS depth to fit the VSLAM coordinate system. You can find the presentation slides I used for the project in the README, or check the code at the following link: https://colab.research.google.com/drive/1DBsfeidmBSJjPWljxOosr8kUmDdkgCca?usp=sharing

Thank you so much for your kind response!👍
I can understand now😊

authors: geturin yeop-giraffe


text:
Create ZKEmail Recovery Extension

As a smart contract/ERC-4437 account owner
I would like to Allow a ZKEmail account to recover (rotate) a smart contract account
So I can Recovery my account if I lose my keys or they are compromised
Details
https://zkemail.gitbook.io/zk-email/email-wallet-extensions-sdk

Create ZKEmail extension that allows a ZKEmail account to recover/rotate the keys on another non-ZKEmail smart contract account
Likely can match existing Safe recovery plugin pattern
Try and stay within the ZKEmail extension spec to ensure maximum compatibility & minimal work

Closing in favor of direct recovery work

repo: getwax/wax


text:
Add support for custom themes season

Duck season

Flaky Test
Failure Summary
Logs

[chromium] should return list of users correctly.
The API call to get the list of users failed with a 404 Not Found error.
Logs ↗

[chromium] should display error message for invalid login correctly.
The expected HTTP status code 401 was not received, instead a function was returned.
Logs ↗

[chromium] should login with credentials correctly correctly.
The login request to the server failed with a 404 Not Found error.
Logs ↗

View Full Report ↗ ⋅ Docs


text:
[mtl] override argument buffer sets

Makes argument buffers compatible with push constants again. Also reduce the binding of argument buffers to only the affected stages.
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:
[ ] rustfmt run on changed code

I think this brings us to the end of the second push for argument buffers. They seem pretty solid and operational as of today, vkQuake is a good test case. There are serious limitations though that ask for big changes:

Storage images and dynamic-offset buffers can't be a part of the argument buffer - #2866 . This requires shader translation changes.
We need to know the dimensionality and msaa-ness of textures at the descriptor set layout creation time. This would mean another derivation from Vulkan proper.

Once we have these implemented, we'll be able to benchmark Dota and Dolphin again. But until then, argument buffer support will be kept as an experimental feature disabled by default.

bors r=grovesNL

bors retry

bors r=grovesNL

repo: gfx-rs/gfx


text:
Refactoring & adding SPARSE_BINDING to QueueType

We now have sparse binding thanks to #3521 but currently 'SPARSE_BINDING' is missing from 'QueueType'. This PR adds the 'SPARSE_BINDING' bit to QueueType by converting it from a enum to a bitflags struct.
Reference: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFlagBits.html
PR checklist:

[x] make succeeds (on *nix)
[ ] make reftests succeeds
[x] tested examples with the following backends: Metal, DX12, DX11, Vulkan

I agree that simply adding a supports_sparse_binding function could be easier. However this is a better match to the original Vulkan APIs. I'm not sure which one has a higher priority - API stability or matching Vulkan APIs?

I've opened another PR (#3667) that simply added supports_sparse_binding function to trait QueueFamily as suggested. Please merge that PR and close this one if preferred.

Thank you! This is very nice of you to provide the alternative. I'm not feeling strongly about this decision, but I merged #3667 as less of an intrusive solution.
Philosophically, we wanted to follow Vulkan were possible, so that we can get Vulkan Portability nicely, and it's easy to find answers about the guarantees by reading the Vulkan spec. In practice, both of these needs dim compared to the need to have wgpu to run efficiently on gfx, so some parts of gfx get slightly adjusted to make this path fast and efficient (like the swapchain API). So it's fine to have the queue types stay.

authors: Neo-Zhixing kvark


text:
⚠ Contemporanea Group has degraded performance

In e7521fb, Contemporanea Group ($SITE_CNTMG) experienced degraded performance:

HTTP code: 200
Response time: 10865 ms

Resolved: Contemporanea Group performance has improved in 34a3b7e.

repo: ggardin/uptime-monitor


text:
🛑 Life CRM is down

In 695513a, Life CRM ($SITE_LFCRM) was down:

HTTP code: 404
Response time: 186 ms

Resolved: Life CRM is back up in 46b3402.


text:
--print-long-lines is documented but not implemented

I believe that --print-long-lines is not actually implemented, despite being documented in ag --help and man ag. There's a TODO comment in options.h indicating that it's not implemented. Should either implement or undocument.
I'd find it useful (was getting annoying hits from minified js files that lack the .min.js extension).

I too would like to be able to either filter out really long lines or to have that be the default and to be able to include them again.

One way to get around this is something like ag '.csv' | awk '{ if (length($0) < 2028) print }', but it removes ag's nice formatting.

One reason why this behavior would be useful is that often, one is using the silver searcher to look through a project that contains minified js alongside readable code. The user would prefer to omit the terminal-filling block of unreadable js from the results so they can focus on the readable code alongside it.

I've submitted https://github.com/ggreer/the_silver_searcher/pull/707 to fix this.

Would it be possible to specify how many characters before and after the match? This is ideal for, as mentioned above, prose text. Otherwise, one gets huge chunks of results which makes it troublesome to read. Thanks!

authors: AtomicNess123 amfarrell dandavison


text:
Added ability to clear all subscriptions in a reactor

Ran into an issue where a hot subscription used in a reactor instance would not get disposed, and thus the state subscription would not shut down. Added a Reactor.clearSubscriptions() to handle this case.
Refactored ReactorView to be a bit simpler.

Coverage decreased (-5.2%) to 73.333% when pulling 173bf990cf2f99422095577bb1621989e27b7513 on add-clearsubscriptions into 77cd0034549220efa7aefd4920cc51b5123b9983 on master.

authors: coveralls ggrell

repo: ggrell/RxReactor


text:
Fix modelDescription.xml for an empty lists of outputs

Description
The generated modelDescription.xml was invalid in the case when the generated FMU had no outputs. This modest PR fixes this corner case.

Hi Mathias,
thanks for the pointer. Actually, from the standard specification and empty  tag is not invalid, but in fact, some FMI importing tools may have problems with it. Hence, your fix suggestions is good for compatibility improvement.
I'd implement it slightly different (mainly naming of the template vars) and commit this shortly. Hence, I close this pull request.

authors: MathiasMalandain ghorwin

repo: ghorwin/FMICodeGenerator


text:
Get deleted records

Is there a way to get deleted records? I tried to use the tag "ALL ROWS" in the query, but it didn't work...

Closed due to inactivity. Feel free to reopen it if needed.

authors: giacomelli patrickfaucher

repo: giacomelli/SalesforceSharp


text:
Handle missing values.schema.json in check_valuesschema workflow

As of https://github.com/giantswarm/devctl/pull/556/files, the "Align files" (aka Synchronize) automation in github.com/giantswarm/github executes a check (validate values.json against values schema) on every push event. Previously, this only ran on pull requests that modified either values.yaml or values.schema.json.
This change resulted in many failed workflow runs, which also cause email notifications to ArchitectBot (dev AT giantswarm.io).
Meanwhile, email notifications for failed workflow runs have been turned off in the AchitectBot settings.
However, where values.schema.json is missing, the check will still result in failed CI checks, causing extra effort or confusion in pull requests. Currently one mitigation would be to add a values.schema.json file where it's missing.
See also Slack: https://gigantic.slack.com/archives/CLPMFRVU6/p1683035968938029
Solution
Add check if values.schema.json is present. Exit with code zero if it does not exist.

As Team Rainbow is being dissolved, we are adding this to Honey Badger.

authors: marians mogottsch

repo: giantswarm/roadmap


text:
Add a log receiver on CAPI MCs to be able to receive teleport audit logs and send them to Loki and customers SIEMs

Towards https://github.com/giantswarm/roadmap/issues/3250
Motivation
As Giant Swarm employees will not be able to ssh onto nodes and clusters using bastions hosts but teleport, we need to be able to collect and store the teleport logs in Loki and potentiall in customer's SIEMs.
To that end and after some discussions with @giantswarm/team-bigmac https://github.com/giantswarm/roadmap/issues/3250#issuecomment-2007447350 we decided that we would add a fluent-bit log receiver on the Management clusters that would receive the teleport logs and send the data wheever is needed (loki and SIEM if needed)
Acceptance Criteria

[ ] Given input logs getting received by teleport, the logs are ingested in Loki

Dependencies
### Dependencies
- [ ] https://github.com/giantswarm/giantswarm/issues/29312 - I would like if we could do that before to know if would not prefer to deprecate the fluent-logshipping-app which is getter harder and harder to maintain in favor of something like the logging-operator

### Tasks
- [ ] Deploy a fluent-bit receiver
- [ ] Send logs to Loki

From @TheoBrigitte  in the epic level:
Regarding Teleport audit events, there is a way to export events from our Teleport cloud and ship then into Fluentd (or probably any other JSON compatible log ingester ... Alloy 👀), but exported events are from all installations and I haven't found a way to filter events from the teleport side.
I did follow the Export Events with Fluentd guide, and used the identity file from kg get secret abc-identity-output -oyaml|yq -r .data.identity|base64 -d> identity.
We use Teleport cloud, meaning our Auth service is hosted at teleport.giantswarm.io, so events are produced at the cloud level. The teleport-event-handler would then connect to the Auth service and retrieve the events it contains.
Useful links:
https://goteleport.com/docs/admin-guides/management/export-audit-events/fluentd/
https://goteleport.com/docs/reference/monitoring/audit/#events
https://goteleport.com/docs/reference/access-controls/roles/#filter-fields

We can already receive teleport audit logs with the log receiver we created, we just need to configure it
We can already send data to any customer SIEM that supports OLTP

So in the scope of this ticket what's missing is:

[ ] Ingest Teleport audit logs
Check with spyros he can help here :)

I have some concerns towards security regarding this, as the current solution would expose all Audit Events in our Teleport account to every installation, meaning that any customer could potentially get access to any other customer's Audit Events. The filtering we can do in fluentd, alloy, or whatever we use would happen to late and could easily be worked around to get access to all Audit Events.
I opened an issue at Teleport to see if they have an idea on this topic: https://github.com/gravitational/teleport/discussions/49582

@TheoBrigitte I think there's a confusion here. The goal of this story is to enable the log receiving endpoint, but the export to the correct installation (filtering of correct logs) will be done in the teleport cluster by @giantswarm/team-shield . We only need to provide a secure endpoint for access from the teleport cluster. This will most likely require cooperation from @ssyno as we should be able to restrict tihs ingress only to the teleport VNET?

The teleport event handler basically spits out JSON, anything that understand JSON should be able to ingest the data coming from the event handler.
I see this a bit differently, shield sets up the teleport event handler which then talk to "something" atlas provide which might be Alloy or Fluentd we have to verify this. So this would be
teleport event handler -> alloy or fluentd -> loki
I think the alloy/fluentd config is then on us (atlas).

Yes the event handler would communicate with the observability gateway, but the event handler does not support loki yet only fluentd and it should run on the teleport cluster to filter per installation

I think that we can skip the step of the teleport-event-handler, we should be able to scrape and ship logs directly from teleport-cluster with alloy or promtail and ship them to the right loki

Do you have the handler running on the teleport cluster yet?

nope, I think we should try doing it without the event-handler

Do you want us to have a quick meet on thursday to figure out what we can do?

@ssyno and I had a talk. We plan to:

Shield will output audit events / logs in a file on the teleport cluster
Shield will create a teleport VNET to open connection from teleport cluster to all observability gateways (certificate authentication is managed by teleport so we do not need api keys on loki)
Atlas will deploy alloy on the teleport cluster through terraform

Alloy will filter out logs per installation and send the logs to the endpoints based on the log content

Open questions:

How can we handle alloy config dynamically (loki.write section per MC). Do we add a proxy? Do we have a static list of MCs in the teleport cluster to use? What is the source of MCs in the teleport cluster?
~How can we access the teleport cluster?~ Yes we can
How do we handle monitoring of this?

Investigation:

Let's try to run this on golem (have audit events in a file and vnet) with a manual alloy deployment

@giantswarm/team-shield and @giantswarm/team-atlas what are your thoughts on this solution?

We were mostly concerned about private MCs when we talked about the vent and i'm not sure we could provide oidc for the log shipper without spire anyway :)
I'm considering whether our agent should not also use the vnet route but that's a whole other discussion
I'm totally aligned with your other points

authors: QuentinBisson Rotfuks TheoBrigitte ssyno


text:
🛑 giki.app/discover is down

In 9c75b11, giki.app/discover (https://giki.app/discover) was down:

HTTP code: 0
Response time: 0 ms

Resolved: giki.app/discover is back up in b9e4d4b.

repo: gikiapp/status


text:
Styled components

https://styled-components.com

The problem is that their logo uses an emoji that is raster image and not easy to vector

Cleanup

authors: gilbarbara sergeysova

repo: gilbarbara/logos


text:
Fix: refactor code to be pythonic

Fala @gildasio, beleza? Primeiramente parabéns pela lib, gostei da proposta. Eu li os guidelines que você escreveu sobre como contribuir para o projeto e percebi que podia ajudar em deixar o seu código mais pythonico.
O que eu fiz:

Troquei tudo que estava cammel case para snake case. Python segue o padrão snake case (exceto para classes, mixins e outras peculiaridades).
Troquei aspas duplas por aspas simples pois você estava misturando os dois estilos.

Gostaria de propor outras melhorias, se você permitir.
A gente vai conversando.
Abraços.

Massa, @victormartinez !! Vlw mesmo!
Oxe, com certeza pode vir com mais melhorias. Prefere mandar junto nesse PR, em outro ou conversarmos (via Telegram por exemplo)?

IMHO, é melhor dar merge neste PR pra não ter muitas alterações indo de uma vez só para a master. Minhas sugestões de melhoria:

Adicionar testes
Acho que tem uma lib python que printa no terminal o logo do projeto (isso reduziria a quantidade de código)
Tornar esse projeto uma lib que possa ser instalada via pip

Como entro em contato contigo? Manda um email pra mim com seu telegram: vcrmartinez [at] gmail [dot] com
Aí a gente troca uma ideia.

Show, meu velho! Bala que pelo menos o item 1 e 3 estava já mapeado por aqui :P
Vou fazer o merge e conversamos.

authors: gildasio victormartinez


text:
Fixup MachO custom relocations when necessary

I approximated the fixup amount as the relocation size.
It doesn't seem to be possible to do this fixup at the user end.

Why can't the user pass in an addend of 0?

Passing 0 as addend indeed worked. Thanks!

repo: gimli-rs/object


text:
rmt_memory_rw_rst

Hello. Error of compilation. Help me fix this:
Problems: 'esp_err_t rmt_memory_rw_rst(rmt_channel_t)' is deprecated: use rmt_tx_memory_reset or rmt_rx_memory_reset instead [-Wdeprecated-declarations]/
Platformio, Arduino framework, FastAccelStepper ver.0.30.4
`.pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR_esp32_rmt.cpp: In member function 'void StepperQueue::startQueue_rmt()':
.pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR_esp32_rmt.cpp:409:28: warning: 'esp_err_t rmt_memory_rw_rst(rmt_channel_t)' is deprecated: use rmt_tx_memory_reset or rmt_rx_memory_reset instead [-Wdeprecated-declarations]
rmt_memory_rw_rst(channel);
^
In file included from .pio/libdeps/esp32dev/FastAccelStepper/src/common.h:116,
from .pio/libdeps/esp32dev/FastAccelStepper/src/FastAccelStepper.h:5,
from .pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR.h:3,
from .pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR_esp32_rmt.cpp:1:
C:/Users/User/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:898:11: note: declared here
esp_err_t rmt_memory_rw_rst(rmt_channel_t channel)
^~~~~~~~~~~~~Archiving .pio\build\esp32dev\libda7\libFastAccelStepper.a
.pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR_esp32_rmt.cpp:409:28: warning: 'esp_err_t rmt_memory_rw_rst(rmt_channel_t)' is deprecated: use rmt_tx_memory_reset or rmt_rx_memory_reset instead [-Wdeprecated-declarations]
   rmt_memory_rw_rst(channel);
                            ^
In file included from .pio/libdeps/esp32dev/FastAccelStepper/src/common.h:116,
Compiling .pio\build\esp32dev\FrameworkArduino\FirmwareMSC.cpp.o
                 from .pio/libdeps/esp32dev/FastAccelStepper/src/FastAccelStepper.h:5,
                 from .pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR.h:3,
                 from .pio/libdeps/esp32dev/FastAccelStepper/src/StepperISR_esp32_rmt.cpp:1:
C:/Users/User/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/rmt.h:898:11: note: declared here
 esp_err_t rmt_memory_rw_rst(rmt_channel_t channel)
           ^~~~~~~~~~~~~~~Compiling .pio\build\esp32dev\FrameworkArduino\FunctionalInterrupt.cpp.o`

which espressif sdk version do you use?

Espressif 32  6.3.1, Platformio,
Boards: Espressif ESP32 Dev Module
Platformio.ini:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
gin66/FastAccelStepper@^0.30.4
gyverlibs/EncButton@^2.0

I found the reason for the error: the error occurs if there is an output to the port in the code:
Serial.begin(9600) and Serial.println("click") .  The port contacts are free in my project.
On the arduino Leonardo board, this problem does not arise.

Good, that you have found a solution. Even though, the Serial should be not related to that error.
Every build is tested by github actions using this definition for esp32:
[env:esp32]
platform    = espressif32
board       = esp32dev
framework   = arduino
build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types
board_build.f_cpu = 240000000L
lib_extra_dirs = ../../..

And platformio packages are:
Resolving esp32 dependencies...
Platform espressif32 @ 2023.4.2 (required: espressif32)
├── framework-arduinoespressif32 @ 2.0.8 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32.zip)
├── framework-espidf @ 3.40404.20230310 (required: https://github.com/tasmota/esp-idf/releases/download/v4.4.4.20230310/esp-idf-v4.4.4.zip)
├── tool-cmake @ 3.21.3 (required: platformio/tool-cmake @ ~3.21.0)
├── tool-esptoolpy @ 1.40501.0 (required: https://github.com/tasmota/esptool/releases/download/v4.5.1/esptool-4.5.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5)

Resolving esp32arduinolatest dependencies...
Platform espressif32 @ 2023.4.2 (required: espressif32)
├── framework-arduinoespressif32 @ 2.0.8 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32.zip)
├── framework-espidf @ 3.40404.20230310 (required: https://github.com/tasmota/esp-idf/releases/download/v4.4.4.20230310/esp-idf-v4.4.4.zip)
├── tool-cmake @ 3.21.3 (required: platformio/tool-cmake @ ~3.21.0)
├── tool-esptoolpy @ 1.40501.0 (required: https://github.com/tasmota/esptool/releases/download/v4.5.1/esptool-4.5.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5)

Resolving esp32arduinoV340 dependencies...
Platform espressif32 @ 3.4.0 (required: espressif32 @ 3.4.0)
├── framework-arduinoespressif32 @ 3.10006.210326 (required: platformio/framework-arduinoespressif32 @ ~3.10006.0)
├── tool-esptoolpy @ 1.30100.210531 (required: platformio/tool-esptoolpy @ ~1.30100.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
└── toolchain-xtensa32 @ 2.50200.97 (required: platformio/toolchain-xtensa32 @ ~2.50200.0)

Resolving esp32idf dependencies...
Platform espressif32 @ 2023.4.2 (required: espressif32)
├── framework-arduinoespressif32 @ 2.0.8 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32.zip)
├── framework-espidf @ 3.40404.20230310 (required: https://github.com/tasmota/esp-idf/releases/download/v4.4.4.20230310/esp-idf-v4.4.4.zip)
├── tool-cmake @ 3.21.3 (required: platformio/tool-cmake @ ~3.21.0)
├── tool-esptoolpy @ 1.40501.0 (required: https://github.com/tasmota/esptool/releases/download/v4.5.1/esptool-4.5.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5)

Resolving esp32s2 dependencies...
Platform espressif32 @ 2023.4.2 (required: https://github.com/tasmota/platform-espressif32/releases/download/2023.04.02/platform-espressif32.zip)
├── framework-arduinoespressif32 @ 2.0.8 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32.zip)
├── framework-espidf @ 3.40404.20230310 (required: https://github.com/tasmota/esp-idf/releases/download/v4.4.4.20230310/esp-idf-v4.4.4.zip)
├── tool-cmake @ 3.21.3 (required: platformio/tool-cmake @ ~3.21.0)
├── tool-esptoolpy @ 1.40501.0 (required: https://github.com/tasmota/esptool/releases/download/v4.5.1/esptool-4.5.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5)

Resolving esp32s3 dependencies...
Platform espressif32 @ 2023.2.0 (required: https://github.com/tasmota/platform-espressif32/releases/download/2023.02.00/platform-espressif32.zip)
├── framework-arduinoespressif32 @ 2.0.7 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.7/framework-arduinoespressif32.zip)
├── tool-cmake @ 3.21.3 (required: platformio/tool-cmake @ ~3.21.0)
├── tool-esptoolpy @ 1.40501.0 (required: https://github.com/tasmota/esptool/releases/download/v4.5.1/esptool-4.5.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5)

Resolving esp32c3 dependencies...
Platform espressif32 @ 2.0.3 (required: https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip)
├── framework-arduinoespressif32 @ 2.0.3 (required: https://github.com/tasmota/arduino-esp32/releases/download/2.0.3/framework-arduinoespressif32-203.tar.gz)
├── tool-esptoolpy @ 1.40001.220524 (required: https://github.com/tasmota/esptool/releases/download/v4.0.1/esptool-4.0.1.zip)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.7.1 (required: platformio/tool-ninja @ ^1.7.0)
└── toolchain-riscv32-esp @ 8.4.0+2021r2-patch3 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3)

Thank you for your help. So, my Platfomio.ini :
[env:esp32dev] platform = espressif32 board = esp32dev framework = arduino lib_deps =  	gin66/FastAccelStepper@^0.30.4 	gyverlibs/EncButton@^2.0 upload_speed =  115200 monitor_speed = 115200 build_flags = -Werror -Wall -Wno-deprecated-declarations -Wno-error=incompatible-pointer-types board_build.f_cpu = 240000000L
Result : the problem has disappeared

But, the problem remained in the Arduino IDE ver.2.1.0 :
`c:\Users\User\Documents\Arduino\libraries\FastAccelStepper\src\StepperISR_esp32_rmt.cpp: In member function 'void StepperQueue::init_rmt(uint8_t, uint8_t)':
c:\Users\User\Documents\Arduino\libraries\FastAccelStepper\src\StepperISR_esp32_rmt.cpp:302:30: error: 'rmt_tx_memory_reset' was not declared in this scope
rmt_tx_memory_reset(channel);
^
exit status 1
Compilation error: exit status 1

`

The arduino library manager is completely broken since weeks and fixing the issue is slow. Moreover I do not use the Arduino IDE, because it cannot be automated in github actions AFAIK. So continuous testing every release is impossible and would require manual work, which I do not plan to spend/waste.
Consequently, it is hard to fix an error, which cannot be reproduced and perhaps is caused by poor and intransparent library handling. Even so the fix may be quite simple.
I can only recommend everyone to use platformio, eventually combined with Visual Studio Code.

Ok, thank you.


text:
Hyb core

it is hybrid format core. close #4
add partition method

automatically: percent 80 now
percent: take the number which at least *{percent} number of nnz per row is below.
columns: take ${columns} as ell columns

There is no way to get back a different format from a matrix stored in HYB - correct? Not sure this may be needed at some point...

Yes, there is no function to handle it.
I think HYB <-> DENSE will be implemented in HYB reference part.
I considered whether just use the ell and coo matrix as hyb public members.
If we do this, we do not need to add functions to handle two format public functions in core/matrix/hyb.hpp such that call hyb.coo.get_values() not hyb.get_coo_values().
However, it may have some troubles when users to use some operations (transpose) on only one part.

Sounds good to me!

I dont know why but #57 was added to the CI pipeline on the mirrored gitlab repository but this PR was not added.

And actually, #57 is also not in CI.

#57 is, I think. It passed as well. https://gitlab.com/ginkgo-project/ginkgo-public-ci/pipelines/22486157

@yhmtsai  yes, you got it right
@pratikvn CI for #57  wasn't done automatically, someone (maybe even I did) manually created the pr/75 branch from the pull request, and that's why the CI was run. You can see that the commits are not up to date with the request.

@yhmtsai would you mind updating this with the new changes from the develop branch? Currently this PR doesn't include the fix in the build system for CUDA 9.2 which is causing the pipelines to fail on GitLab.

No problem. I have done it.
However, there is a compile problem after merging develop.
gcc-5.5 is failed for this PR and original repo.
gcc-7.3 is successful for this PR and original repo.

@yhmtsai what's the error you're getting with gcc-5.5?
@ginkgo-project/developers does anyone else have access to GCC 5.5 or similar who can confirm this problem?

authors: gflegar hartwiganzt pratikvn yhmtsai

repo: ginkgo-project/ginkgo


text:
Bullets stripped from lists in Projects and Posts

Good morning! When I put a  in a project, the bullets are stripped out of the list items:
http://move.engineering.asu.edu/project/shane-underwood/
Is the list style defined by the theme? Or is this some WP oddity?

Looks like a Divi Builder oddity?
From inspecting the element, I can see that there are two styles that are setting the list-style to none:

I'm not sure that the best solution for this would be. Is there a way to change this behavior in Divi?

Thank you! Should have taken that step myself! I'll look into it. I'm trying out the Divi builder on some pages with this theme, because we have lots of sites built in Divi, and the non-coders who edit their own pages are very familiar with it, and are not really able to edit straight html effectively, so we want to introduce some consistency when people go to edit their sites. Thanks!

authors: bergeson idmontie


text:
[Change Request] Add auto-confirmation setting for incident query modal

Summary
https://github.com/giranm/pd-live-react/pull/132 introduced a change to hardcode a maximum limit of 200 incidents retrieved by the UI.
For some users, changing the query and accepting the modal each time can be very tiresome.
Proposed Changes

Add boolean setting under User Profile to auto-accept incidents over MAX_INCIDENTS_LIMIT
Update validateIncidentQueryImpl to dispatch CONFIRM_INCIDENT_QUERY_REQUESTED conditional on above setting
https://github.com/giranm/pd-live-react/blob/a8c2f41fb6457edf9e8b0d1ee18ece0e24d14b9a/src/redux/query_settings/sagas.js#L219

Merged #198 into develop - closing.

repo: giranm/pd-live-react


text:
Specify tile size?

Is there a way to specify the tile size? currently, they are 256x256 but could I use 512x512?

The python API lets you specify tile size in the tileIterator.  The default getTile returns the size that is stored in the file (assuming that it is vaguely sensible) or, if a tile source doesn't report a desired tile size, it defaults to 256.
For the GDAL and OpenJPEG sources, this would be an easy thing to expose and change, at least for powers of 2 (though there should probably still be limits).  For other sources, this is more complicated (but still shouldn't be very hard).
Generally, I think this would add two more optional parameters when opening a tile source (tileWidth and tileHeight).  Initially, we could implement this for just specific sources with whatever requirements those source deem appropriate (e.g., powers of two).  One other possible route to this generalizing feature is if we make a "multi source" (#680), then the specification of that could include tile size in an easy generic way.

As of #764, you can have an extra yaml file that changes how tiles are stored (though this doesn't yet support geospatial sources).  This could be done via:
tileWidth: 512
tileHeight: 512
sources:
  - path: <file>

authors: banesullivan manthey


text:
Python strings , Lists , Tuples and Dictionaries

Description
in this issue we have to discuss about strings , tuples , lists and dictionaries of python that how they are written , what is the syntax and how they work .
Domain
Python_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@prathimacode-hub mam i created this issue and i want to work on this one . so kindly assign this issue to me so that i can work on this accordingly .
thank you !!

/assign document

Do you want to work on this? I guess already an issue is assigned to you. @roopali-1

Please let me work on this. I haven't worked on a single issue

Now 1 issue got assigned to me .. if someone is not worked in this then i
will ..
As of now i am already working on 1 issue..
On Sat, 2 Oct 2021, 12:52 pm Prathima Kadari, @.***>
wrote:

Do you want to work on this? I guess already an issue is assigned to you.
@roopali-1 https://github.com/roopali-1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/issues/3902#issuecomment-932700192,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARUNII432AR3TMK2UYNA6ALUE2XLRANCNFSM5FFI4KLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@prathimacode-hub I am already working on creating documentation for dictionaries in python. Here is the issue that I created 2 days ago-  #3700. I created this after getting a go-ahead from Randrita and then assigned it to myself. I assume that the issue creator somehow didn't check whether an issue like this already exists or not. Kindly close this issue.

repo: girlscript/winter-of-contributing


text:
CSS pagination

Description
In this issue, I will provide audio explaining everything about CSS pagination in great detail.
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Audio
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


text:
Number Theory : Sieve Of Eratosthenes

Description
How to find Prime number efficiently in competitive programming.
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


text:
routingpy ipykernel update

Is it possible to update routingpy per this documentation? https://github.com/giswqs/geospatial/issues/16

@ArterialMapping It appears that routingpy requires ipykernel >=5.3.4,<6, which was released over a year ago. Many packages in the geospatial stack require a much newer version of ipykernel. routingpy needs to bring ipykernel up to date before it can be added to geospatial.
https://github.com/conda-forge/routingpy-feedstock/blob/c32ee1d1500c3f6bbda723b342886b9b45488513/recipe/meta.yaml#L30
[

problem is that we didn't even know that routingpy is on conda-forge. it's a separate repo, they didn't even tell us it exists or ask for upstream support, and now it's stale, because they didn't touch it in 1 year. either someone steps up and includes a direct conda-forge support in routingpy (this repo) or they'll be better following upstream releases or we'll remove routingpy entirely from conda.
this is the repo, I already opened an issue, let's see what they say: https://github.com/conda-forge/routingpy-feedstock

authors: ArterialMapping nilsnolde

repo: gis-ops/routing-py


text:
Association and crud Operations: ⚙

IN This PR I present Association and crud Operations: ⚙ :
Below are some of my implementations as well as going over the project requirements 🤝 .
Requirements

All linters 🔍 should pass.
use GitFlow 🌊.
Create model classes for all entities as shown in the ERD diagram.
Set up associations between models.
Use models to insert data
Create custom methods for all models

Achievements

Setup ruby workflow and linters 🔍. ✅
use GitFlow 🌊.✅
Create model classes for all entities as shown in the ERD diagram. ✅
Set up associations between models. ✅
Use models to insert data. ✅
Create custom methods for all models. ✅

Conclusion
We are looking forward to hearing 👂  from you Our CR in terms of what can be better implemented 👨💻  for the project thankyou!. And we look forward to hearing from you soon.  🙇

Thank you very much @brainconnect93 for the great review.

repo: gisachris/blogTastic


text:
Move admin api from /admin/{collection} to /collections/{collection}

In gitlab by @sfalquier on Apr 19, 2017, 10:32

In gitlab by @sfalquier on Apr 19, 2017, 10:58
created branch 10-move-admin-api-from-admin-collection-to-collections-collection

In gitlab by @sfalquier on Apr 19, 2017, 11:30
mentioned in merge request !9

In gitlab by @MohamedHamouGisaia on Apr 19, 2017, 13:52
closed via merge request !9

In gitlab by @MohamedHamouGisaia on Apr 19, 2017, 14:02
mentioned in commit b3a3a73f79c37db3f7cd687bd8694b5f7e3472b9

repo: gisaia/ARLAS-server


text:
Refactor basemap module on top of xyzservices

The xyzservices package provides a unified place for XYZ tile management. It would be beneficial to refactor the basemap module based on xyzservies.
References:

https://github.com/geopandas/xyzservices
https://github.com/jupyter-widgets/ipyleaflet/issues/854
https://github.com/geopandas/xyzservices/issues/49

This feature has been implemented. See notebook example https://leafmap.org/notebooks/27_basemap_gallery
Try it out: https://gishub.org/leafmap-demo
https://user-images.githubusercontent.com/5016453/128418610-320f09c1-4624-4c2c-8b04-1a11dcf32041.mp4
https://user-images.githubusercontent.com/5016453/128418642-4de85f36-910b-44e4-8c82-d9a62ae5c73d.mp4

repo: giswqs/leafmap


text:
Policy: Internal error in Work Items. Error loading the Work Items policy

I have following issue trying to use git-tfs and the checkin command:
[ERROR] Policy: Internal error in Work Items. Error loading the Work Items policy (The policy assembly 'Microsoft.TeamFoundation.VersionControl.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions:
I managed to get it to work by using the GUI-tool and overwriting the warning. Strangely enough the same errors then shows up in the Visual Studio 2019 Team Foundation Window when checking out the particular changeset. But outside of that neither I nor anyone else here has ever seen it.
I've already tried executing the .bat and also loading and unloading the privateregistry.bin into the hive, but I think this isn't even talking about the same issue? My company is pretty hard-set on continuing to using TFVC and as someone who uses git in private it can be really infuriating sometimes. I'm also not that knowledgeable about what to do where, so any help would be really appreciated!

Details please. What command did you run? Which git-tfs version? Which Studio version?
And what do you mean by loading/unloading privateregistry.bin?

At first, your issue seem the same thing I recently battled with, but then... you fixed it with gui-tool? which one? some UI from git, or the commit ui from TFS? did you mean "override" instead of "overwrite"?
That error you pasted typically shows up in two places, when your company TFS has some "checking policies" activated and on your side your TFS client is unable to execute those policies:

it can show up in VS, as a clear error message, when you tried to commit changes
it can show up in git-tfs Console, as clear red error message (if you have colors in console), when you tried pushing commits to TFS via i.e. git tfs rcheckin or git tfs checkin

If you managed to get past that by "overridding" the policies in TFS commit window, you could do the same from git-tfs, just add a switch -f or --force=[[someinfo]] to the checkin command. But it's kinda ugly - it effectively TURNS OFF the policies. It's nice it worked for you, but your company may revoke you the permission to do so, so that's also brittle.
If you cannot commit to TFS via integrated VS client and you see this error, then it most probably means that and your VS/TFS installation is broken, update/repair/reinstall the VS and it should be fine. I don't really know, I didn't have this case.
If you can commit to TFS in VS, and if that error shows up when you try to push the changes by git-tfs, then see #1499, I've had it recently and managed to get it working with some manual 'hacks'
In no case loading and unloading the privateregistry.bin does any observable thing. At all. It only lets you peek the checkin-policies configuration that your VisualStudio got from TFS server. You can peek the names of rules and names assemblies it think the rules reside it. Sometimes paths. You could edit this i.e. to change the assembly names or paths, but I guess it could later be overwritten again by VS when it syncs with TFS or when the cfg is changed on TFS server and VS pulls an update. The only use I can see for it is to peek the names/locations and use that to try to provide these paths/names locally so it gets what it wants in the place it expects. Just like I 'faked' the directories for v14.0 in #1499 - but to be honest - that had nothing to do with registry, main nor private. My registry&private didn't indicate that path at all. It only contained names of rules, and short version-less names of assemblies.
tl;dr: try git tfs rcheckin with no -f. If it works and pushes the commit. You're all good. If it shows up error about policies - try doing what I did in #1499. If that doesn't help, I probably don't have any other insights than written there,

authors: Skyswimsky quetzalcoatl siprbaum

repo: git-tfs/git-tfs


text:
🛑 invidious.lidarshield.cloud is down

In e832071, invidious.lidarshield.cloud (https://invidious.lidarshield.cloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invidious.lidarshield.cloud is back up in fccaab7 after 21 minutes.

repo: gitetsu/invidious-instances-upptime


text:
🛑 search.mascotboi.xyz is down

In aaca174, search.mascotboi.xyz (https://search.mascotboi.xyz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: search.mascotboi.xyz is back up in 2fb6b1f after 55 minutes.

repo: gitetsu/librex-instances-upptime


text:
🛑 lx.sesu.cc is down

In 237f007, lx.sesu.cc (https://lx.sesu.cc/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lx.sesu.cc is back up in ea79222.


text:
🛑 search.sethforprivacy.com is down

In 552e8f8, search.sethforprivacy.com (https://search.sethforprivacy.com) was down:

HTTP code: 404
Response time: 360 ms

Resolved: search.sethforprivacy.com is back up in 1688af6 after 10 minutes.

repo: gitetsu/whoogle-instances-upptime


text:
Add Noir

Description

Adding the Noir programming language.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.nr+%2F^\s*fn[+\t]%2B[^\(\s].*%3F\(%2F

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

array.nr MIT/APACHE
voting.nr MIT
roff1.nr - license in comments
roff.nr - copyright

[x] I have included a syntax highlighting grammar: https://github.com/noir-lang/vscode-noir

[x] I have added a color

Hex value: #2f1f49
Rationale: This color is used in the Noir branding color palate.

[x] I have updated the heuristics to distinguish my language from others using the same extension.

Not sure what is going on with search, but there are fewer files found today than yesterday. There should be more--I pushed a public repo and I know for a fact at least 3 other people did as well.

I am wondering how to best track popularity. When I first drafted this search query, there were 376 files. Now its only showing 358. I know more people have been pushing public repos, so it doesn't seem to be picking up on them for some reason.

There's only search, which is expected to fluctuate as people add and remove repos and files. This is only really noticeable as there are so few files. When things reach close to our requirements, a deviation of 18 files is trivial and not really an issue.

I think you might have put the samples/Noir/roff.nr sample in the wrong directory or accidentally added it as it looks more like Roff than Noir to my naïve eye.
The same applies for the samples/Noir/roff1.nr sample which is also massive and waaay bigger than we need. ProTip: if the diff suppresses the content, the file is too big.

Do you need examples of Roff, since it has the same extension as Noir? Should I add them to samples/Roff/roff.nr?

I am wondering how to best track popularity. When I first drafted this search query, there were 376 files. Now its only showing 358. I know more people have been pushing public repos, so it doesn't seem to be picking up on them for some reason.

There's only search, which is expected to fluctuate as people add and remove repos and files. This is only really noticeable as there are so few files. When things reach close to our requirements, a deviation of 18 files is trivial and not really an issue.

Just curious, how do you assess when things reach close to your requirements, since the search doesn't return the number of repos?

Do you need examples of Roff, since it has the same extension as Noir? Should I add them to samples/Roff/roff.nr? Or since there is already a samples/Roff/trekmanual.nr, can I delete them?

Noir and Roff are very different so the classifier shouldn't have problems distinguishing between the two. That said, there's no harm adding one (the smaller) to the Roff samples directory. As we'll then have two for each language, the "Classifier cross-validation (pull_request)" test will then start to test the classifier for the .nr extension.

Just curious, how do you assess when things reach close to your requirements, since the search doesn't return the number of repos?

See https://github.com/github-linguist/linguist/issues/5756 (this is referenced in the docs too). I'm slowly reassessing this now the new search is open for all and we can get better results. When I've come up with a good reliable strategy, I'll update the docs and close that issue.

Thanks for your help with this! Let me know if I need to make any more updates.

I've fixed the errors I can, however I can't fix the issue with your grammar. I've removed the submodule and then attempted to re-add it and it fails with:
$ script/grammar-compiler add https://github.com/noir-lang/vscode-noir
latest: Pulling from linguist/grammar-compiler
Digest: sha256:fcaf08a6e27d3d88212d9ca8aceee30d4089499a77bb05307871febd8073790f
Status: Image is up to date for linguist/grammar-compiler:latest
docker.io/linguist/grammar-compiler:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
1 errors found in new grammar 'repository `https://github.com/noir-lang/vscode-noir`':
- Grammar conversion failed. File `vscode-noir` failed to parse: grammars: unsupported extension ''

Compilation failed. Aborting
$

This is because your grammar doesn't have files as expected by TextMate and similar editors.
We expect the certain extensions in specific directories:
https://github.com/github-linguist/linguist/blob/8a2415b96ad796af16e853ddb091521af919c486/tools/grammars/compiler/loader.go#L119-L129
The src/noir.tmLanguage.json file in the repo doesn't match any of these.
You'll need to get the grammar maintainers to restructure their repo or find another grammar.
When you come to add the grammar again, you can run script/add-grammar and then change the tm_scope line in languages.yml to the scope name from the grammar.

The vscode-noir repo has been updated to put the file at syntaxes/noir.tmLanguage.json, but I am still seeing this error when running script/grammar-compiler add https://github.com/noir-lang/vscode-noir.
- Grammar conversion failed. File `vscode-noir` failed to parse: grammars: unsupported extension ''

Works for me if I use the documented command 😉 (on a clean branch):
➜ script/add-grammar https://github.com/noir-lang/vscode-noir.git
Checking Docker is installed and running
Registering new submodule: https://github.com/noir-lang/vscode-noir.git
Cloning into '/workspaces/linguist/vendor/grammars/vscode-noir'...
remote: Enumerating objects: 156, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 156 (delta 28), reused 25 (delta 15), pack-reused 106
Receiving objects: 100% (156/156), 159.46 KiB | 3.13 MiB/s, done.
Resolving deltas: 100% (63/63), done.
latest: Pulling from linguist/grammar-compiler
32fb02163b6b: Pull complete
[...]
e2fa649b33f6: Pull complete
Digest: sha256:fcaf08a6e27d3d88212d9ca8aceee30d4089499a77bb05307871febd8073790f
Status: Downloaded newer image for linguist/grammar-compiler:latest
docker.io/linguist/grammar-compiler:latest
OK! added grammar source 'vendor/grammars/vscode-noir'
        new scope: source.nr
Caching grammar license
Caching dependency records for linguist
  git_submodule
    Using AL (2d704ea4d7e8aa32fc4b415f61d29412ed9e7fcf)
[...]
  * 443 git_submodule dependencies
Updating grammar documentation in vendor/README.md
➜
➜ git st
## master...origin/master
MM .gitmodules
 M grammars.yml
A  vendor/grammars/vscode-noir
?? vendor/licenses/git_submodule/vscode-noir.dep.yml
➜

:face-palm: got it, thank you :pray:

Thanks a lot for the help and reviews @lildude & @Alhadis!
Any further changes we could help address to get this ready for a re-review?

Error updating vendor/grammars/vscode-noir
error: pathspec 'vendor/grammars/vscode-noir' did not match any file(s) known to git

You forgot to commit the vendor/grammars/vscode-noir directory after running script/add-grammar:
➜ git st
## master...origin/master
MM .gitmodules
 M grammars.yml
A  vendor/grammars/vscode-noir    <----- THIS ONE
?? vendor/licenses/git_submodule/vscode-noir.dep.yml
➜

I ran it again and it looks like I was missing an update to vendor/README.md and the license file (vscode-noir.dep.yml) as well, so I pushed those too.

Looking good from a quick look and the tests are all passing 🎉. I'll make a final review when the popularity has reached our documented levels.

Wouldn't it be better to use the tree-sitter plugin rather than the vscode grammar?

Wouldn't it be better to use the tree-sitter plugin rather than the vscode grammar?

Nope because Linguist has no control over the choice of tree-sitter grammars used (we don’t accept them in this repo) and Noir is also not a very popular language so wouldn’t be considered by the grammar engine team. The VSCode grammar is the best and quickest way to get syntax highlighting once Noir is popular enough for inclusion.

@lildude what do you think, are we getting close to mergability?
We have many repos with only one .nr file and some with many and we are about halfway between the 200-2000 range. I've been checking this recently and the number has been fluctuating quite a bit, the other week it was over 1k.

We've just made some changes to the Noir grammar which this PR points to.
@critesjosh can you update the git submodule to the latest commit please?

Our query is hitting 2k! Can we merge this now?

The submodule could probably do with a bump btw @critesjosh. We've made some changes to the highlighting recently.

@lildude how are we doing with this integration? There are more and more people exploring zero-knowledge proofs so it would be really cool to have support 😊

Still got failing tests. Run this cmd to fix. I'll re-evaluate popularity when I come to make the next release which will in the next two weeks, assuming the failures have been addressed by then.

Thanks! Just ran the command and pushed changes

Things don't look popular enough once we exclude the AztecProtocol user that is responsible for nearly 650 of the found files.

Huh, I only see a difference of ~200 files (1.9k vs 1.7k), but I guess we can wait a few more weeks. :slightly_smiling_face:

Hitting 1.8k again, when is a new release planned @lildude ?

Same as usual... approx 3-4 months after the last one.

1.8k now (with both AztecProtocol and noir-lang excluded):

2.1k 🚀 @lildude curious if that's sufficient popularity?

@lildude I vouch this PR as a user :)
(don't know if it makes a difference but would appreciate this, lol)

Wonder if we're all set to remove the Pending Popularity label?

Thanks! @lildude would be grateful for your re-review.

Thank you all on behalf of the Noir community for the help along the way ❤

authors: Savio-Sou TomAFrench aguzmant103 critesjosh hhamud lildude signorecello

repo: github-linguist/linguist