Does not work with Steam games on Ubuntu 15.04 64bit

Hi,
I've recently compiled GLXOSD a number of times on Ubuntu 15.04, each time I try to get it to work with games on Steam via the glxosd --steam %command% Launch option. Nothing works, not even Source games are able to launch with it anymore. The only thing GLXOSD is able to inject into is glxgears.
Here's output from a Terminal when running GLXOSD directly from a Terminal now (Cities Skylines 64bit). I'm uncertain if I'm calling it correctly for Steam:
ismail@Intel-Ubuntu:~$ glxosd --steam steam://rungameid255710
/usr/local/bin/glxosd: line 70: steam://rungameid/255710: No such file or directory

However, changing it to this now at least gets the game running:
ismail@Intel-Ubuntu:~$ glxosd steam steam://rungameid/255710

It still seems to be unable to inject itself, and this is the output:
Running Steam on ubuntu 15.04 64-bit
STEAM_RUNTIME is enabled automatically
grep: /home/ismail/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local//lib/x86_64-linux-gnu//glxosd/libglxosd.so)
grep: /home/ismail/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local//lib/x86_64-linux-gnu//glxosd/libglxosd.so)
grep: /home/ismail/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local//lib/x86_64-linux-gnu//glxosd/libglxosd.so)
awk: /home/ismail/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local//lib/x86_64-linux-gnu//glxosd/libglxosd.so)
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ismail@Intel-Ubuntu:~$

I have libstdc++6, libstdc++6:i386, and libstdc++-4.9 which should fulfill the requirement but it still complains. A note, I previously had an issue after updating Ubuntu where GLXOSD spat out this error on compiling:
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by 'bin/libglxosd.so.2.3.3'.  Stop.
CMakeFiles/Makefile2:231: recipe for target 'src/glxosd/CMakeFiles/glxosd.dir/all' failed
make[1]: *** [src/glxosd/CMakeFiles/glxosd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error

Looks like somehow it forgot where to look for libGL, so running this in a Terminal seemed to fix it, but I'm unsure if this is also the root cause of my issue with GLXOSD:
sudo ln -s -f -i /usr/lib/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so

ldconfig is telling me that libGL.so.1 -> libGL.so.346.47 which means it is using my Nvidia driver's GL which is good. It is not using Nouveau.
I make sure to clean all my directories from GLXOSD and run ./clean, before compiling and running make install each time to ensure it's not storing any old or broken files. The directories I clean out are:
/etc/glxosd.conf
/usr/local/lib/x86_64-linux-gnu/glxosd
/usr/local/bin/glxosd
I've attempted to modify the version of C++ used when compiling and tried all three
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x")

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11")

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++14")

No difference.
I've also discovered that CMAKE will complain it cannot find pthread. So, I adjusted parts of CMakeLists.txt to look like this, and this seems to allow CMAKE to find pthread:
project (glxosd C CXX)
...
##### Compiler #####
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")

Any help is greatly appreciated.

Renaming libstdc++.so.6 in the Steam directory /home/ismail/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/ seems to stop it from complaining about GLIBCXX, since now it's forced to use the newer version available in Ubuntu instead of the one provided by Steam.

However, I have no clue how to fix this part:
ismail@Intel-Ubuntu:~$ glxosd steam steam://rungameid/255710
Running Steam on ubuntu 15.04 64-bit
STEAM_RUNTIME is enabled automatically
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ismail@Intel-Ubuntu:~$

Some ideas:

You need to start it:

glxosd --steam steam steam://rungameid/255710

as --steam is a glxosd parameter.

You need a GLXOSD version compatible with the game, say if it's a 32 bit game ( ldd game_exe  -> points at libs in lib32 or i386-gnu-linux ?) then you need the 32 bit version. It is safe to install both versions, as the game will eventually load the correct version on start.

Thank you for responding! I appreciate your assistance :)
Running it with your suggested command produced the following output:
Running Steam on ubuntu 15.04 64-bit
pid 31467 != 31373, skipping destruction (fork without exec?)
pid 31466 != 31373, skipping destruction (fork without exec?)
pid 31465 != 31373, skipping destruction (fork without exec?)
pid 31470 != 31373, skipping destruction (fork without exec?)
pid 31469 != 31373, skipping destruction (fork without exec?)
STEAM_RUNTIME is enabled automatically
pid 31473 != 31373, skipping destruction (fork without exec?)
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

Doesn't seem to be all that different from before. I've tried injecting 32bit and 64bit games from Steam, nothing works. I'm pretty certain this is because Steam itself is 32bit and GLXOSD is injecting Steam's overlay and not the actual game itself.
To that effect, like you say, I'll need a 32bit version of GLXOSD and this shouldn't be a problem, except I can't get the 32bit version to compile right! In CMakeLists.txt I added the line
##### Compiler #####
SET(CMAKE_CXX_FLAGS -m32)

It works in that it forces GLXOSD to begin compiling a 32bit version, but I cannot resolve the dependency issues:
from /home/ismail/Desktop/GLXOSD/src/glxosd/GLXOSD.cpp:10:
/usr/include/freetype2/config/ftheader.h:7:56: fatal error: i386-linux-gnu/freetype2/config/ftheader.h: No such file or directory
 #  include <i386-linux-gnu/freetype2/config/ftheader.h>
                                                        ^

If you have any idea on how I can proceed from this point, I am all ears sincerely! I'm in the middle of downloading the 32bit version of 15.04 to attempt compiling it from a LiveUSB but Canonical's latest release seems to be bogged down by many others downloading the same thing. It's going to take a day before I complete the download.

What 64-bit games did you try?
That error tells me that you only have the 64bit version of GLXOSD.
I'm not sure now how you enable multi-arch on Ubuntu, but it should be similar to Debian: https://wiki.debian.org/Multiarch/HOWTO
That's what I use, and I got the PPA (Ubuntu build DEBs) info from the home page here  https://nickguletskii.github.io/GLXOSD/install.html and installed both 32 and 64 bit versions by

apt-get packagename packagename:i386

where packagename will install 64bit version and packagename:i386 the 32 bit version.

I've tried Cities Skylines and XCOM, which are both 64bit executables. I only have 64bit GLXOSD, because I can't get the 32bit version to compile fully (hence the dependency problem).
Those packages you installed from the PPA are packaged for Utopic and Trusty (and the 64bit PPA contains both the 32bit and 64bit version of GLXOSD). I'm compiling from source because the PPA does not yet have support for Ubuntu 15.04, otherwise I would just use the PPA.
I have libfreetype6-dev installed, which contains the necessary things for compiling in both a 64bit and 32bit scenario, which is why it's baffling me so much that I can't get past the freetype i386 dependency during compile.

Installing those DEBs by dpkg does not work? (you'll have to track and install deps by hand too)

Alright, I hadn't thought about taking the individual .debs of the PPA and installing them manually. Thank you for that idea.
I installed the following manually, from here, one-by-one in the following order:
glxosd-data_2.3.3_all.deb
glxosd-libs-i386_2.3.3_i386.deb
glxosd-2.3.3_i386.deb
It finally works! It shows the GLXOSD fps numbers in Cities Skylines and XCOM: Enemy Unknown.

I noticed, this puts glxosd in usr/bin, compared to when compiling it puts glxosd in usr/local/bin.
I'd still like to learn how to compile the 32bit version of GLXOSD on a 64bit install, but I'm grateful. Thanks to your help licaon-kter I can now use GLXOSD as I need! I appreciate your help :)

The simplest solution ;)

Strange though, running it from a terminal, it still outputs the following error even though it works in Cities Skylines:
Running Steam on ubuntu 15.04 64-bit
pid 8327 != 8232, skipping destruction (fork without exec?)
pid 8326 != 8232, skipping destruction (fork without exec?)
pid 8325 != 8232, skipping destruction (fork without exec?)
pid 8330 != 8232, skipping destruction (fork without exec?)
pid 8329 != 8232, skipping destruction (fork without exec?)
STEAM_RUNTIME is enabled automatically
pid 8333 != 8232, skipping destruction (fork without exec?)
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ismail@Intel-Ubuntu:~$

More importantly though, is that I can't seem to get it to inject Counter Strike Source. Works on Cities Skylines, but not CSS. They both produce the same Terminal output. I wonder what the difference is.

The output just says that it tried the 64bit version and failed, the Steam Overlay has the same error BTW, you can ignore it since if you see GLXOSD on screen it means the 32bit libs got loaded afterwards anyway.
What does this do?

glxosd --steam steam steam://rungameid/240

(assuming I got the CSS ID right)

That is the correct CSS ID, and it produces the exact same error as above (wrong ELF class). It then simply closes. Very peculiar.

Unfortunately, fixing this issue permanently would require a rewrite, and I am kind of short on time at the moment, so don't expect a fix in the next month... I will try
https://github.com/nickguletskii/GLXOSD/issues/24

Thank you for your hardwork nick, and thank you for such a great piece of software. Keep up the good work, and don't stress yourself out :)


Updated readme.md with link to rna.usegalaxy and current paper references

Hi, I updated the readme regarding version 2 references. There is also still the open issues:
https://github.com/bgruening/galaxy-rna-workbench/issues/124
https://github.com/bgruening/galaxy-rna-workbench/issues/123

cool, danke!


Overrides/alias diff with git-diff

Hi, I was just using the diff utility in zsh in iterm (not having modified the zprezto configs at all) and I realized that

$ diff foo bar

actually invokes

$  git diff foo bar

This can be seen because the above commands actually produce the same output:
diff --git a/foo b/bar
index 8270dbc..1e988ad 100755
--- a/foo
+++ b/bar
@@ -13,5 +13,5 @@ different line
another different line
 done

I tested this by running a diff command in a bash shell and the output was different from both diff and git diff:
16c16
<
---
> different line
> another different line

I have searched through the prezto files by running all manner of grep -r 'git diff' .,grep -r 'alias diff' . commands and I have not been able to find where this is aliased.
Any help would be appreciated.

Disable diff color or install colordiff; see https://github.com/sorin-ionescu/prezto/blob/master/modules/utility/functions/diff.


Comment box does not clear when comment is added

Comment is added, however the comment text box is not cleared.

#9 depends on a bug that will be fixed in Elm 0.19; once that's out I'll merge the PR and this will be fixed!

@mandrolic This is not an issue with my app. The comment box is cleared and re-focused after adding a comment. See here (clear) and here (focus).


Support for SqlMagic.autopolars

Allows auto conversation of sql cells to polars Dataframes.
Closes #138

:books: Documentation preview :books:: https://jupysql--142.org.readthedocs.build/en/142/

From #138:

I think when calling autopandas, autopolars should be automatically turned off and vice-versa. we should also display a message letting the user know (i.e., something like "turned autopandas off since autopolars was turned on")

This is still missing from this PR. I looked into this but didn't find the right place to put this. I believe the setting of autopolars and autopandas are handled using some special under-the-hood logic of Configurable (which SqlMagic extends from).
https://github.com/ploomber/jupysql/blob/bf9a19501d6a282ffa6632e14a4af0f97116b063/src/sql/magic.py#L62
As such, I don't think there is a function in which I can put an if construct that checks whether either autopandas or autopolars is set and unset the other one (and print a message).
I think this might be possible using a class property setter for both autopandas and autopolars, but the implementation of those isn't very clean: https://stackoverflow.com/a/71740701/381010
This is a critical missing piece though, because in the current implementation autopandas will always take precedence over autopolars which is unexpected if autopolars is enabled after autopandas.
@edublancas, do you have any suggestions?
And of course, let me know if you have other feedback on the code too :-)

took a quick look at the code, looks good overall! I'll take another look once the missing parts are done.
so for setting the autopandas/autopolars exclusive logic:
IPython magics use the traitlets library, and there's an easy way to set an observer: https://traitlets.readthedocs.io/en/stable/using_traitlets.html
so something like this in magic.py:
from traitlets import observe

@magics_class
class SqlMagic(Magics, Configurable):
    @observe("autopandas")
    def _observe_bar(self, change):
        print(change["old"])
        print(change["new"])

with this, you can observe changes to autopandas and autopolars.
to switch values, I believe you can do self.autopandas = True - let's see if that works

Ok, that worked, thanks!
Should be ready for review now :-)

thank a lot! we'll release this shortly!


Defining tasks with description

I see gulp -T and gulp --tasks-simple provides list of tasks like the following
$ gulp --tasks-simple
clean
build:js
build:css
docs
watch
build
test

I wished that it looked like the following
$ gulp -T
clean      clear build directory
build:js   build minified javascript
build:css  build css from sass files
docs       generate documentation
watch      run monitoring tasks for .js and .sass
build      run all build tasks
test       run a test

From the API documentation, I see task "description" is not a part of gulp.task parameters since syntax is like this gulp.task(name[, deps], fn)
I googled around if defining description for gulp.task is possible, then find this help plugin that overwrites gulp.task and accepts description as help.
I think it is a good idea to accept description like the following and wished it was the core feature of gulp without using extra plugin.
gulp.task(name[, description, deps, fn, taskOptions])

Maybe
gulp.task('clean', function () {}, 'Clean this mess')

Argument after function and make it optional. Or it will be too hackish to parse so much args? This won't force using comments, but let add your own description.

Maybe having something more 'manual' like gulp.loadDescriptions, would simplify issues like #851.

No, if we support anything, it will be a description property on the task function.

Any progress on this?

@ilanbiala No need to keep adding "Any progress on this?" to every issue - the last response in this thread was 9 hrs ago saying there will be support for it. Please don't spam.

@contra sorry if it seems spammy, the most recent comment just seemed like he was still making a decision or had to discuss something so I wanted to see if anything final had been decided regarding the implementation. @phated can you clear up what the confusion might be if something like concat.description = 'concatenate JS' were to be implemented and used as a property of the given function?

With gulp 4 correctly, you could do something like:
function _(description, fn) {
  fn.description = description;
  return fn;
}

gulp.task(_('clean all the things', function clean(done) {
  done();
}));

gulp.task('build', _('build all the things',
  gulp.series('clean', function(done) {
    done();
  }
)));

gulp.task(_('show this help message', function help(done) {
  var tasks = gulp.registry().tasks();

  Object.keys(tasks).map(function(name) {
    console.log(name, gulp.get(name).description);
  });

  done();
}));

@phated Is this implemented in the CLI yet? Can I close this?

@contra no, this isn't in the CLI - I will open an issue there and redirect this one to that.  I feel like it is a good issue for a community member to pick up.

New issue opened at https://github.com/gulpjs/gulp-cli/issues/19

This just landed in the gulp-cli 4.0 branch

Check out gulp-help:
https://www.npmjs.com/package/gulp-help
That is exactly what you need


How to get da osiris.dll?

Having issues getting the osiris.dll.
Using the old dll, i now get a crash of CS:GO.
Please give me a full description.
I just downloaded old versions of Osiris, there the .dll was given.
In the newest one theres just a description how to get it.
Please help me and give me a better description or send me the right .dll

download new version, replace old files, recompile

just pull the most recent source code from the repo then compile

@NexSqaud
Bro, its not working any more.

Run this in cmd.exe
cd %appdata%/../../Desktop & git clone https://github.com/danielkrupinski/Osiris.git & cd Osiris & Osiris.sln
You will need git for windows and visual studio installed.
then at the top click Debug and select Release.
next use Ctrl + B
a DLL will be dropped into the Osiris folder on your desktop somewhere.


Can't ignore folders

Folder ignoring doesn’t work with custom files like .vhignore.
But you can use .gitignore to ignore folders (e.g. a line with directory/).

This was shipped in valohai-cli 0.19.0 today. :)


Persistent default on macOS

nvm allows to set the "default" version that persists after terminal, but the -Persist option in ps-nvmw currently doesn't seem to work on macOS (is that a bug in .NET core?).
Some options that make work:

Add to /etc/paths
Use launchctl to set a persistent PATH
Add to profile.ps1

I've thought it'd be better to move away from appending to $env:PATH and instead use the PowerShell profile so you're only setting in a PowerShell context, but that does admittedly make it a bit of a problem when you want a system-wide Node version (so that VS Code knows about it for example).

 And it should always be possible to have two shells side by side that run different node versions.

If you don't use the Persist flag you can set the version for the current shell.

Thanks a lot for making this module, and for making it mostly work on Mac :D
However it's a bit annoying/confusing to figure how to best set a default version.
I've gone with calling Set-NodeVersion <my default> in my pwsh profile, and if that's the recommended way to go, then it would be nice to add a note in the readme for Linux/Mac users.

The fact that it doesn't persist on MacOS is a bug, but I don't have access to a Mac to try and resolve it. If someone wants to jump in and try and fix that I'm accepting of PR's!

Ok @aaronpowell, I've had a look.
Generally when nvm-sh installs, it edits the profile script to execute itself. When executing itself it redefines the path.
I guess that's the approach.

I use ps-nvm on macOS and simply run Set-NodeVersion in my profile.ps1, or even in my prompt function to read the current dirs package.json. There might be a way to persist env vars on macOS but I don't think it's conventional for shell tools to hook into that.

PR done: default version is persisted and a call to Set-NodeVersion is added to the profile script.


Test: Flaky test

 =================================== FAILURES ===================================
________________ test_register_controller_on_different_routers _________________

controller = <class 'tests.e2e.test_router_registration.controller.<locals>.MyController'>

    def test_register_controller_on_different_routers(controller: Type[Controller]) -> None:
        first_router = Router(path="/first", route_handlers=[controller])
        second_router = Router(path="/second", route_handlers=[controller])
        third_router = Router(path="/third", route_handlers=[controller])

>       assert first_router.routes[0].route_handlers[0].owner.owner is first_router  # type: ignore
E       AttributeError: 'WebSocketRoute' object has no attribute 'route_handlers'

tests/e2e/test_router_registration.py:62: AttributeError

Can we aggregate all test issues into one?

Can we aggregate all test issues into one?

Why?

Why?

Because it's noise. Also why not?

I fixed this


add the base-context to errors.bed

currently the columns are:
chrom    start    end    bq_bin count

but then we don't know the sequence context
so we'll add an additional column: contexts
taht will be a comma-delimited list of e.g.
CA:2,CG:3

this is implemented


spelling mistake in MANIFEST

https://github.com/Ezhil-Language-Foundation/open-tamil/blob/main/MANIFEST.in#L3
(thank you to irfan for pointing this issue out)
Also, does it expect this folder /open-tamil/tamil-sandhi-checker/tamilsandhi
Related to https://github.com/Ezhil-Language-Foundation/open-tamil/issues/233

Resolved


⚠ Bofrost.de has degraded performance

In 4623f30, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1897 ms

Resolved: Bofrost.de performance has improved in 66d2816 after 8 minutes.


Bug Fixes

Fix #266 and #261 . This issue #252 was fixed in #254 Commit id 22336c7. But changes from half of this commit is missing in dev.
Closes #264
Closes #240

I still having issue with #266

Thanks. I have updated the fix. Please check it again.


Re-fix the recently broken INFO parsing, see #1018

The value part of the info line may contains : in many cases,
most importantly an IPv6 slave address, may cause the parser to crash.
see see #1018 for details

I don't like hardcoding key names, but I don't immediately see another way. Thanks.


Web Browser Documentation issues

Hello,
referring to: Web Browser

After run npm i I cannot find dist/lightning-wpe.js
If I run npm run build I can find dist/lightning.js, dist/lightning.min.js, dist/lightning.min.js.map but not lightning-web.js.
Are lightning-wpe.js and lightning-web.js two different files?
Where to create index.html?

Hey, at this moment we’re working on the next version of our SDK. You can find the blueprint for working with it here: https://github.com/WebPlatformForEmbedded/Lightning-SDK-blueprint/tree/next
I suggest trying it out

@MattiaPontonioKineton , I have replaced dist/lightning-web.js with dist/lightning.es5.js in the examples.
@erikhaandrikman, are you dropping the Lightning project in favor of 'Lightning-SDK-bluepring'?
Why is the development done separately from the main repo? It is really confusing.

@michal-krasowski-red the blueprint is deprecated in favour of the Lightning-CLI approach. See more details in the readme here: https://github.com/WebPlatformForEmbedded/Lightning-SDK-blueprint


Why don’t we allow shortcuts with Shift and Alt modifiers?

Recently I have found that MASShortcut doesn’t record shortcuts such as Shift-Alt-U. The reason is in the validation logic in MASShortcutValidator. I can understand why we disallow Alt-something, but shouldn’t Shift-Alt-something work? @shpakovski, do you have an idea why Shift-Alt-something is not considered valid? Thanks!

@zoul I did not want to encourage these shortcuts because Shift-Option works just like Option. For example, Shift-Option-K = .

Makes sense, thank you! (I will document the behaviour so that people know the thinking behind it.) I noticed the allowAny… switch, but I wasn’t sure what the exact deal was, what were the potential drawbacks, so I didn’t touch it. I’ll leave the issue open as a reminder to update the docs.

Cool, thanks!

that's really cool


Cookies frame

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Cookies frame does not disappear on accepting/rejecting. I would like to work on this issue.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

/assign

Assigned! @RishiMehtaa
Make sure to attach before & after screenshots in your PR and include the issue number.
i am the project mentor you can always reach out to me for any help!
Also, please star ⭐ the repo before working on it.
Happy open-source contributing! 😊


UI Size Setting

It looks like UI Size Setting (Small,Normal,Large) is not taken from my GW2 settings nor i can set it in Launcher Buddy itself but before reinstalling windows i had it set to Small which is not default setting so it must've been changed it somehow, anyone knows how would i change this setting? Same applies to sound and music settings.

Fix for it was to delete whole LauncherBuddy app data folder and re add accounts. All settings got inherited from game then.


Telegram media description is missing

Which version of matterbridge are you using?
Matterbridge v.1.7.1
Please describe the expected behavior.
I'm using MediaServer with Telegram↔XMPP and Telegram↔Mattermost bridges.
You can add text to uploaded media in Telegram, but it gets discarded by Matterbridge. You'd expect to get both link and description text, but only link is sent to bridged chats.
Any steps to reproduce the behavior?

Configure Telegram↔XMPP or Telegram↔Mattermost bridge with MediaServer (haven't tried without MediaServer)
Upload image to Telegram with description text
You get only the image to bridged chat, without description text

Here is Telegram API reply for that case:
{
  "ok": true,
  "result": [
    {
      "update_id": 796693268,
      "message": {
        "message_id": 3831,
        "from": {
          "id":<PHONE_NUMBER>45,
          "is_bot": false,
          "first_name": "Firstname",
          "last_name": "Lastname",
          "username": "username"
        },
        "chat": {
          "id": -123456789,
          "title": "Some title",
          "type": "supergroup"
        },
        "date":<PHONE_NUMBER>,
        "photo": [
          {
            "file_id": "idididididididididididididididididididididididididididid",
            "file_size": 1793,
            "width": 90,
            "height": 68
          },
          {
            "file_id": "idididididididididididididididididididididididididididid",
            "file_size": 27469,
            "width": 320,
            "height": 241
          },
          {
            "file_id": "idididididididididididididididididididididididididididid",
            "file_size": 85444,
            "width": 700,
            "height": 528
          }
        ],
        "caption": "This is the description"
      }
    }
  ]
}

oops build fixed.
Would you mind making a PR with the extra space?
off to bed now.

#360

That bug is still present when you use WebhookURL for name/icon spoofing on Discord

Oh hey, thanks @TomTheDragon! I don't use discord, but I think it's file upload is handled here:
https://github.com/42wim/matterbridge/blob/8522d8f29cf1625a0d31dab15428600133fe0dba/bridge/discord/discord.go#L287-L306
If you can spot this other bug, and have time to submit a quick PR, we'd be super-grateful :)


[Windows] Some plots don't render

This issue was being discussed in #260, but is separate from the original issue in that thread. So creating a new issue to track.
A user said that on the latest version of chrome, marimo 0.1.39, the only plot that shows up for the below code is seaborn. I am unable to repro.
import marimo

__generated_with = "0.1.38"
app = marimo.App()

@app.cell
def __(exp):
    exp
    return

@app.cell
def __(altp, exp, mo, mplplot, plotlyplot, snsplot):
    mo.vstack(
        [
            mo.md(f"$$y=x^{exp.value}$$"),
            mo.tabs(
                {
                    "altair": mo.vstack([altp, altp.value]),
                    "plotly": plotlyplot(exp.value),
                    "seaborn": snsplot(exp.value),
                    "matplotlib": mplplot(exp.value),
                }
            ),
        ]
    )
    return

@app.cell
def __():
    import marimo as mo
    from plotly import express as px
    import altair as alt
    import numpy as np
    import pandas as pd
    import seaborn as sns
    from matplotlib import pyplot as plt
    from functools import cache
    return alt, cache, mo, np, pd, plt, px, sns

@app.cell
def __(mo):
    exp = mo.ui.slider(1, 8, 1, label="exp: ")
    return exp,

@app.cell
def __(cache, np):
    @cache
    def prep_xy(exp):
        x = np.linspace(0, 5, 100)
        return x, x**exp
    return prep_xy,

@app.cell
def __(alt, cache, mo, pd, prep_xy):
    @cache
    def altplot(exp):
        x, y = prep_xy(exp)
        data = pd.DataFrame({"x": x, "y": y})
        return mo.ui.altair_chart(
            alt.Chart(data).mark_line().encode(x="x", y="y"),
            chart_selection="interval",
        )
    return altplot,

@app.cell
def __(cache, prep_xy, px):
    @cache
    def plotlyplot(exp):
        x, y = prep_xy(exp)
        return px.line(x=x, y=y)
    return plotlyplot,

@app.cell
def __(cache, prep_xy, sns):
    @cache
    def snsplot(exp):
        x, y = prep_xy(exp)
        return sns.lineplot(x=x, y=y)
    return snsplot,

@app.cell
def __(cache, mo, plt, prep_xy):
    @cache
    def mplplot(exp):
        x, y = prep_xy(exp)
        plt.plot(x, y)
        return mo.mpl.interactive(plt.gcf())
    return mplplot,

@app.cell
def __(altplot, exp):
    altp = altplot(exp.value)
    return altp,

if __name__ == "__main__":
    app.run()

@JVSigaud, I can help you debug.
Can you do the following?

Let me know what operating system you're using.
Upload a screenshot of the output of the cell rendering the plots.
If possible, run pip freeze > requirements.txt and upload requirements.txt here.

Thanks!

Im using windows 11.
requirements.txt

Thanks, this is very helpful. Likely this is a Windows-specific bug in our backend. I don't have immediate access to Windows right now, but should be able to get my hands on a Windows machine within a couple days.
@JVSigaud , I'll write back when I have a fix.
@mscolnick, FYI:

Plotly not rendering must be an issue with virtual files / shared memory. There must be something that's platform dependent in our implementation. I will debug.
the matplotlib interactive code path might be using socket features that are unsupported on Windows. I can debug that too.

@JVSigaud, FYI we just published marimo version 0.1.40, which should fix altair and plotly plots. We still need to fix mpl.interactive on Windows.

I ran into this, as well. In my case, I'm running marimo in WSL and viewing from a Windows browser on the same machine. The issue appears to be that the URL specified in the <iframe> element is not well-formed. In my case, I saw <iframe src="http://[::]:50751/" width="100%" height="550px">. If I simply edit the URL to http://localhost:50751/, then everything works as expected. I did a cursory search of the codebase, but it was not obvious to me where the URL generation happens.

I did some testing with tornado.netutil.bind_sockets() in the WSL instance, and it indeed returns the IPv6 "all" address of ::, which the marimo code wraps in square braces to give [::].
>>> sockets = tornado.netutil.bind_sockets(0, "")
>>> sockets
[<socket.socket fd=4, family=2, type=1, proto=6, laddr=('<IP_ADDRESS>', 51128)>, <socket.socket fd=5, family=10, type=1, proto=6, laddr=('::', 51128, 0, 0)>]

So, the issue is that tornado is returning a bound address (<IP_ADDRESS> and :: for IPv4 and IPv6, respectively) which is not the right way to reach localhost (e.g. <IP_ADDRESS> and ::1 for IPv4 and IPv6, respectively). I verified that editing the host in the iframe's URL (using the browser's inspector tool) to be [::1] instead of [::] also solves the issue.
I'm not a security expert, but it's probably not great to bind against all addresses. If it were up to me, I'd probably just bind to a loopback address and put that in the <iframe> src tag (though I'm sure that may break some particular workflow).

@bjmcculloch - we moved matplotlib interactive websockets to starlette as well as improved some performance there.
could you give it another try and see if it works now after that refactor?

@mscolnick Somewhat. The example in the first post of this issue now works as expected when initially run.
However, if you then edit and re-evaluate the cell containing the mo.tabs element, then the "matplotlib" tab then <div style="display: inline-block"> element grows vertically forever without the plot ever rendering.
This testing was conducted with the most recent checkout of main branch (commit 92abd0c4bea84a83814b1f04b155624c24c6f502) on Chrome v121 / Windows 10.

@bjmcculloch - it looks like its due to the @cache annotation on the function for mo.mpl.interactive. we likely tear down the mpl server, but the cache keeps the same output.
there is no reason to use @cache on marimo components (you can cache the args, but no need to cache the components)

@mscolnick I can confirm that upon removing @cache everything works as expected. Thank you very much!

@JVSigaud Hi! Just checking, is this defect still reproducible?


Ja

https://github.com/tree-sitter/tree-sitter/discussions/2269#discussioncomment-6231631

@Harrypotter19876 I have reported you to GitHub for spam. Consider this your final warning on this project. The next time you spam this project you will be blocked.


 We're getting closer, but you really just need one line to get the proper error messages passed on to the abapGit exception class:
https://github.com/mbtools/abapgit-test-exceptions/blob/master/src/ztest_exceptions_enh.prog.abap

Thanks for the detailed example. I think there are many places in AG that use this example to improve the messages provided.

yea, there are many places to improve
we should also add another utility method so,
zcx_abapgit_exception=>raise(
  iv_text = lx_enh_root->get_text( )
  ix_previous = lx_enh_root ).

can be done with
zcx_abapgit_exception=>raise_with_text( lx_enh_root ).

instead


Cache handleSubmitPassback function

The original writing will create a new function on every time ConnectedForm renders which leads shouldComponentUpdate not working.

Current coverage is 97.92%

Merging #763 into master will not affect coverage as of c12173d

@@            master    #763   diff @@
======================================
  Files           72      72
  Stmts         3657    3660     +3
  Branches       282     282
  Methods          0       0
======================================
+ Hit           3581    3584     +3
  Partial         33      33
  Missed          43      43

Review entire Coverage Diff as of c12173d

Powered by Codecov. Updated on successful CI builds.

Thanks!


ClrHost.dll build fails because of missing CoreClrHost.dll

CoreClrHost.cpp is stored at ......\WebConnection\VisualStudio\C++\smtp\wwsmtp\CoreClrHost.cpp which is outside of the repository structure. The same is true for the CoreClrHost.h file. Building the project results in an
Error | C1083 | Cannot open source file: '......\WebConnection\VisualStudio\C++\smtp\wwsmtp\CoreClrHost.cpp': No such file or directory | ClrHost | E:\projects\github.cwollenhaupt.wwDotnetBridge\ClrHost\c1xx | 1 |
error message.

Ah sorry I'll take a look tonight. This was moved over from my Client Tools/Web Connection project so possible there are links to the original folders.
FWIW, if you're looking at the Core hosting stuff, be aware that this will change. Microsoft has come out with yet another hosting API that is supposed to surplant all the others. It's more complicated and apparently the samples I've tried don't actually work (yet), but the hosting works cross-platform with some minor tweaking (not that this matters for the FoxPro stuff).
There are problems with the current API - namely that you can't safely unload the runtime and a FoxPro RELEASE ALL will clear the references but not allow the AppDomain to be recreated. According to my sources the new API can handle that.
For now this stuff is experimental.

Thanks for the heads up! I've a modified version of wwDotNetBridge.dll that only subscribes to events that are implemented in the VFP class. Therefore I needed to rebuild the solution. Unloading the ClrHost project fixed this for me. But I'll keep these issues in mind if I start look into Core hosting.

Thanks, that worked. The only change I had to make was changing the target framework in the Tests project from 4.5 to 4.5.2


High Risk Security Issue Reported by Snyk

Node version: v20.10.0
Sails version (sails): 1.5.13
ORM hook version (sails-hook-orm): N/A
Sockets hook version (sails-hook-sockets): N/A
Organics hook version (sails-hook-organics): N/A
Grunt hook version (sails-hook-grunt): N/A
Uploads hook version (sails-hook-uploads): N/A
DB adapter & version (e.g. sails-mysql@5.55.5): N/A
Skipper adapter & version (e.g. skipper-s3@5.55.5): N/A
The dependency of  sails-generate, cross-spawn 4.0.2 has a High Vulnerability in Snyk which is fixed in 7.0.5.
We are using the latest version sails 1.5.13 and detected the issue after scanning with Snyk.
Summary of the vulnerability can be found here:
https://security.snyk.io/package/npm/cross-spawn

Is cross-spawn library still being used? I noticed that it is an unused dependency.

@maya-jonlarracas Thanks for reporting this. We'll publish an update for sails-generate.


$this->input->post() Broken Returned Data

I'm using codeigniter 3.0.4 . I've experienced a problem and created a test structure for describe it here like below:
function dene1(){
 $url = site_url('Giris/dene2');
 $myvars = '_search=true&nd=1453717819822&rows=42&page=1&sidx=&sord=asc&filters=%7B%22groupOp%22%3A%22AND%22%2C%22rules%22%3A%5B%7B%22field%22%3A%22HTH2%22%2C%22op%22%3A%22eq%22%2C%22data%22%3A%22%3E7.5%2B%3C10%22%7D%2C%7B%22field%22%3A%22ST1Y%22%2C%22op%22%3A%22cn%22%2C%22data%22%3A%22100%22%7D%2C%7B%22field%22%3A%22ST2Y%22%2C%22op%22%3A%22cn%22%2C%22data%22%3A%22%3E55%2B%3C100%22%7D%5D%7D';
 echo '
MYVAR ORIGINAL:
'.$myvars.'
';
 echo '
MYVAR URLDECODED:
'.urldecode($myvars).'
';

 $ch = curl_init( $url );
 curl_setopt( $ch, CURLOPT_POST, 1);
 curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
 curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1);
 curl_setopt( $ch, CURLOPT_HEADER, 0);
 curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1);

 $response = curl_exec( $ch );
 echo '
MYVAR $this->input->post() RESPONCE:
'.$response.'';
}

function dene2(){
 print_r($this->input->post());
}

This functions are in a controller.
When i visit site http://localhost:81/index.php/giris/dene1.html site; returned values like below:
MYVAR ORIGINAL:

_search=true&nd=1453717819822&rows=42&page=1&sidx=&sord=asc&filters=%7B%22groupOp%22%3A%22AND%22%2C%22rules%22%3A%5B%7B%22field%22%3A%22HTH2%22%2C%22op%22%3A%22eq%22%2C%22data%22%3A%22%3E7.5%2B%3C10%22%7D%2C%7B%22field%22%3A%22ST1Y%22%2C%22op%22%3A%22cn%22%2C%22data%22%3A%22100%22%7D%2C%7B%22field%22%3A%22ST2Y%22%2C%22op%22%3A%22cn%22%2C%22data%22%3A%22%3E55%2B%3C100%22%7D%5D%7D
MYVAR URLDECODED:

_search=true&nd=1453717819822&rows=42&page=1&sidx=&sord=asc&filters={"groupOp":"AND","rules":[{"field":"HTH2","op":"eq","data":">7.5+<10"},{"field":"ST1Y","op":"cn","data":"100"},{"field":"ST2Y","op":"cn","data":">55+<100"}]}
MYVAR $this->input->post() RESPONCE:

Array ( [_search] => true [nd] =><PHONE_NUMBER>822 [rows] => 42 [page] => 1 [sidx] => [sord] => asc [filters] => {"groupOp":"AND","rules":[{"field":"HTH2","op":"eq","data":">7.5+<10>55+<100"}]} )

I want to describe these structure. I have defined myvars string for post data to another controller function. I shown urldecoded style of myvars variable for simple understanding. And shown output of $this->input->post() .
As you can see; post() function is brakes HTH2 field and removes ST2Y field. (These are coming from jqgrid).
When i use
$input=file_get_contents('php://input');
$_GET = array();
parse_str($input, $_GET);

structure for gater input data, everything works well but $this->input->post() brakes data.

It's not broken. You're filtering the data for XSS, some of it is interpreted as HTML and xss_clean() strips invalid HTML attributes.
Turn of global_xss_filtering, it's deprecated.

Thank you. I found problem and when i write something about it; i see your description.
$this->input->post(null,false);
returns well.


MaterialSearchView not closing on back button press.

This is the code
@Override
public void onBackPressed() {
    DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
    if (drawer.isDrawerOpen(GravityCompat.START)) {
        drawer.closeDrawer(GravityCompat.START);
    } else {
        super.onBackPressed();
    }
    if (mMaterialSearchView.isSearchOpen()) {
        mMaterialSearchView.closeSearch();
        mMaterialSearchView.setVisibility(View.GONE);
    } else {
        super.onBackPressed();
        mMaterialSearchView.setVisibility(View.GONE);
    }
}

If i press the back button just the keyboard closes and the searchView remains open. If i press again the button the app closes.

This works for me
if(materialSearchView.isSearchOpen()) {
    materialSearchView.closeSearch();
}

Are you sure super.onBackPressed(); isn't being called in your first if/else statement before it gets to the next one?

Yes sorry it was a total overlook on my part.


refactor authentication - for integrating emergency kit

@tanlethanh please have a look at the conficts before I got this one merged.

@fluctlight-kayaba ready for merge and testing


javascript initialisation of variables

The following shows some unexpected results in javascript/blocks from a simple start of
let item = 9
and other let's

The writing of let with pauses still gives unnecessary warnings

with popups about not being able to run the program

However, this javascript is ok when switching blocks<->javascript
let b = 2
let a = 1
where switch adds
let b = 0
let a = 0
a = 1
b = 2

The microbit issues have moved to https://github.com/Microsoft/pxt-microbit repo.
If this is still an issue please open the issue in that repo or let us know, we will reopen in that repo.


Revert files that paint Jira tickets

Description
Both the dev and the prod version is broken for me. This change fixes this by reverting addJiraTicketsToDailySummary.js and addMostRelevantJiraTicket.js
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Chore: cleanup/renaming, etc
[ ] RFC

Notes
Watermelon on prod
https://user-images.githubusercontent.com/8325094/199203726-a99a85c8-cff4-4341-845f-4ecd4460ec4e.mov
Watermelon on this remote branch
https://user-images.githubusercontent.com/8325094/199203686-6a38ebf3-f110-4f7d-8b8c-3be30f18da33.mov
Acceptance

[x] I have read the Contributing guidelines
[x] I have read the Code of Conduct

Why not fix the error?
https://github.com/watermelontools/wm-extension/pull/434/commits/f1c97cde38d8e39088ff1e7a3c85eafe8f532993

Closing because I hadn't updated dev.


The 2nd argument 'home' of function 'strcpy()' is tained

in line 843:
https://github.com/google/google-authenticator-libpam/blob/842142d52328baa6076826428fe040db98aab82a/src/google-authenticator.c#L843
The 2nd argument 'home' of function 'strcpy()' is assigned in line 833:
const char *home = getenv("HOME");

So what? $HOME comes from the user, yes. So does -s.


Opcode 61 in Berlin is Push2

Dear @DavePearce,
thanks for sharing the Wrapped Ether,
the Opcode 61 in Berlin is Push2, but I found Push1:
https://github.com/Consensys/WrappedEther.dfy/blob/dc8a523ee57c0f3690dd17cdd3bf7d6967416e09/src/WrappedEtherBinary.dfy#L45

Hi Henry,
I'm not completely following what you are saying here?  If you look at the contract bytecode we see this:
const BYTECODE_0 : seq<u8> := [0x60, 0x60, 0x60, 0x40, 0x52, 0x60, 0x4, 0x36, 0x10, 0x60, 0xad ...

So, you can see the sequence 0x60 0xad which corresponds to Push1 0xad on line 45.  So, that look so to me as far as I can see.

Looking at the binary file from the main chain I have, the bytecode seems to be:
0x6060604052600436106100af

So, that suggests it should be Push2 0x00af.  My tool does often automatically optimise Push2 0x00XX to Push1 0xXX (for various reasons) so that might be why I ended up with a Push1.  Still, I'm not sure why its 0xad rather than 0xaf.
I guess this is what you're trying to point out?  I will look into it (next week).

UPDATE: having thought about it, I can probably guess what's happened now.  0x00af is a jump destination in the original contract.  So, when my tool optimises Push2 => Push1 then it automatically adjusts the jump destination accordingly.  However, I will still look into this as I wasn't expecting this optimisation to be applied.  I want an exact match of the original bytecode ...

Hi @DavePearce , thanks for the feedbacks, yes, I just thought that having exactly the binary code reflected into the dafny code would be the best scenario for formally verify it, as we know,  "early optimizations are the source of ..." .

I thought that having a mechanical code generator would be a great tool

Hmmmm, interesting.  Do you mean something which generates Dafny code from bytecode?  Yeah, this is basically what we are trying to do here.  But, there are challenges here.  Dafny struggles a lot with this low-level code, in particular the non-linear arithmetic which arises.  Did you see this recent talk by the Certora people?  Its great!

Ok, so I have investigated this issue now.  In fact, its really a versioning issue.  The contract code is generated from the DevmProofGen which, in turn, using the EvmIL tool for decoding / encoding bytecode.  EvmIL was updated in Apr to fix the issue around reproducing exact bytecode, but this was not yet released as a new version.  So, I have now released a new version and updated DevmProofGen.
However, this WrappedEth contract still remains with the slightly different bytecode.  Potentially, I can update that at some point ... though it requires a bit of faffing around.  I will raise a separate issue for that, and may process it at some point in the future.


page changed elsewhere, reloading in online mode

On a Synology NAS, single host, no backend sync or other processes - I keep getting the page changed elsewhere, reloading in online mode. Sync seems to be OK and I've set the PUID/PGID variables to 1026/1000 since the PGID for the admin group still results in errors on SB startup. 1026 is the correct owner of the folder where all the files are saved into. Any thoughts?

For what it's worth, the groupadd issue seems to be back in latest and edge docker images. Getting this error again:
groupadd: GID '101' already exists
groupadd: GID '101' already exists
Environment variables are:
- PUID=1026
- PGID=101

This is really strange. When you run in Sync mode, do you see (in the JavaScript developer console) that files are currently resyncing as well, or not? The only reason this may be happening that I can think of is that some your NAS doesn't reliably keep last modified timestamps for files. What filesystem do you use?

Synology BTRFS is the file system; sync mode seems to work ok for the most part though. The files do change properly and I can see the update on the server end in the .md files. There's just something funky with the PUID/PGID bit - like I can get it to run when I force PGID=1000, but no 1000 exists on the Synology. The admin group is 101 which has control over that directory, but when I use 101, the groupadd error comes into play and SB never starts.

The problem is that the docker container already has a group with GID 101: ssh...

That might do it - Synology uses 100 for users and 101 for admins by default with no way to change them

Yes I think I just fixed it. Could you try the zefhemel/silverbullet:edge image to verify?

Edge seems to be working! No startup issues... using the notes for work now :)


WIP: Drop custom vagrant setup

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
The vagrant tests are failing all over the place. This is an approach to fix that.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.85%. Comparing base (11d77f4) to head (3567717).
Report is 426 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2484      +/-   ##
==========================================
- Coverage   45.50%   41.85%   -3.65%
==========================================
  Files          79      109      +30
  Lines        7782    16013    +8231
==========================================
+ Hits         3541     6702    +3161
- Misses       4099     8814    +4715
- Partials      142      497     +355


Add Wax editor

This PR tracks the work on integrating the Wax editor. It is not 100% clear where/how it will be integrated and for now it is a feasibility study.
If you're interested in checking out what Wax can do, see the demo or the website.

This is outdated - Wax editor will still be implemented at some point :100:


Check out gnorm

Hi @tiger5226, I noticed you posting on xo's issues page.  XO is good software, but is not very actively maintained right now.  You should check out https://github.com/gnormal/gnorm - I wrote it after I got frustrated with xo's lack of progress and lack of flexibility.  There's docs at https://gnorm.org . It's under active development and we use it at Mattel.
Sorry, I know this is not the most appropriate place to put this, but I wasn't sure how else to contact you.

Entirely appropriate - thank you @natefinch!
I'll leave it to @tiger5226 to close this once he sees it.

Hi Nate, I actually do the same thing. It is the normal way to contact people when they don't have their email public. Personally I am not a fan of spam.
I actually did checkout gnorm. We currently use SQLBoiler, of which I am not too happy with, but it works, with a lot of work. My intention here is to develop a datastore interface, and I would like to support multiple backends. gnorm and sqlboiler, support the same amount of databases. I tried to checkout XO due to the number of supported databases. However, as you saw from the issue I posted, that was a big fail. So I just stopped in my tracks there.
GNORM is still at the top of my list. I wanted to get something working fast, so I went with what I knew and what others knew. There are a number of issues with SQLBoiler, but I also saw concerning things with GNORM that make it more complex ( like the comment that it is not expected to work out of the box ) than SQLBoiler. Even so, SQLBoiler, has basically not been touched much for quite some time, so I am still planning on checking out GNORM and will probably implement it here.


docker image build fail

Hello.  Seems like docker image is not buildable as of now:
cd ~/git/AFLplusplus
sudo docker build -t aflplusplus .

Relevant log part:
[*] Checking for the default compiler cc...
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[-] You seem to need to install the package python3-dev or python2-dev (and perhaps python[23]-apt), but it is optional so we continue
[+] Everything seems to be working, ready to compile.
gcc-9 -O3 -funroll-loops -march=native -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -fcommon src/afl-gcc.c -o afl-gcc -ldl
set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done
gcc-9 -O3 -funroll-loops -march=native -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-common.c -o src/afl-common.o
gcc-9 -O3 -funroll-loops -march=native -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o
gcc-9 -O3 -funroll-loops -march=native -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -fcommon -flto -c src/afl-forkserver.c -o src/afl-forkserver.o
gcc-9 -O3 -funroll-loops -march=native -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -Wno-unused-function -fcommon -flto src/afl-fuzz-misc.c src/afl-fuzz-extras.c src/afl-fuzz-queue.c src/afl-fuzz-cmplog.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-mutators.c src/afl-fuzz-stats.c src/afl-fuzz-init.c src/afl-fuzz-redqueen.c src/afl-fuzz.c src/afl-fuzz-bitmap.c src/afl-fuzz-run.c src/afl-fuzz-globals.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-fuzz  -ldl
src/afl-fuzz-mutators.c: In function 'load_custom_mutator_py':
src/afl-fuzz-mutators.c:286:7: error: 'py_functions' undeclared (first use in this function)
  286 |   if (py_functions[PY_FUNC_INIT])
      |       ^~~~~~~~~~~~
src/afl-fuzz-mutators.c:286:7: note: each undeclared identifier is reported only once for each function it appears in
src/afl-fuzz-mutators.c:286:20: error: 'PY_FUNC_INIT' undeclared (first use in this function)
  286 |   if (py_functions[PY_FUNC_INIT])
      |                    ^~~~~~~~~~~~
src/afl-fuzz-mutators.c:287:32: error: 'init_py' undeclared (first use in this function)
  287 |     mutator->afl_custom_init = init_py;
      |                                ^~~~~~~
src/afl-fuzz-mutators.c:291:30: error: 'fuzz_py' undeclared (first use in this function)
  291 |   mutator->afl_custom_fuzz = fuzz_py;
      |                              ^~~~~~~
src/afl-fuzz-mutators.c:293:20: error: 'PY_FUNC_PRE_SAVE' undeclared (first use in this function)
  293 |   if (py_functions[PY_FUNC_PRE_SAVE])
      |                    ^~~~~~~~~~~~~~~~
src/afl-fuzz-mutators.c:294:36: error: 'pre_save_py' undeclared (first use in this function)
  294 |     mutator->afl_custom_pre_save = pre_save_py;
      |                                    ^~~~~~~~~~~
src/afl-fuzz-mutators.c:296:20: error: 'PY_FUNC_INIT_TRIM' undeclared (first use in this function)
  296 |   if (py_functions[PY_FUNC_INIT_TRIM])
      |                    ^~~~~~~~~~~~~~~~~
src/afl-fuzz-mutators.c:297:37: error: 'init_trim_py' undeclared (first use in this function)
  297 |     mutator->afl_custom_init_trim = init_trim_py;
      |                                     ^~~~~~~~~~~~
src/afl-fuzz-mutators.c:299:20: error: 'PY_FUNC_POST_TRIM' undeclared (first use in this function)
  299 |   if (py_functions[PY_FUNC_POST_TRIM])
      |                    ^~~~~~~~~~~~~~~~~
src/afl-fuzz-mutators.c:300:37: error: 'post_trim_py' undeclared (first use in this function)
  300 |     mutator->afl_custom_post_trim = post_trim_py;
      |                                     ^~~~~~~~~~~~
src/afl-fuzz-mutators.c:302:20: error: 'PY_FUNC_TRIM' undeclared (first use in this function)
  302 |   if (py_functions[PY_FUNC_TRIM])
      |                    ^~~~~~~~~~~~
src/afl-fuzz-mutators.c:303:32: error: 'trim_py' undeclared (first use in this function)
  303 |     mutator->afl_custom_trim = trim_py;
      |                                ^~~~~~~
make: *** [Makefile:284: afl-fuzz] Error 1
The command '/bin/sh -c cd AFLplusplus && make clean && make distrib &&     make install && cd .. && rm -rf AFLplusplus' returned a non-zero code: 2

the custom mutator interface is currently rewritten hence this can fail for a while I guess.

Are you using the current git master?

I think @andreafioraldi has fixed this problem in the master branch, as I forgot to use USE_PYTHON to wrap up load_custom_mutator_py. That's why this error occurs while compiling without Python support.

Why don't we include python in the docker btw? Especially now that the mutators are more powerful

@domenukk python is in the Dockerfile :)
The dockerfile builds fine now. closing the issue. Thanks for reporting!


3.34

This question requires that you evaluate the underlined text to determine if it is correct.
If a resource group named RG1 has a delete lock, only a member of the global administrators
group can delete RG1.
Instructions: Review the underlined text. If it makes the statement correct,
select "No change is needed". If the statement is incorrect, select the answer choice that makes
the statement correct.
A. No change is needed
B. the delete lock must be removed before an administrator
C. an Azure policy must be modified before an administrator
D. an Azure tag must be added before an administrator

B


Migrate to the app router and simply our NextAuth API

📝 Changed routes:
1 deleted route:

/api/auth/[...nextauth]

Commit 73a167d7c9a4db51402360d500b85fb426e30a64 (https://explore-data-visualization-with-nextjs-azpiesqq4-therobbrennan.vercel.app).


Allow key re-binding

I cannot tell you how many times I opened split-screen mode today instead of undoing my last action, which was my intent. Something about my connection means that if I'm not hitting the Ctl+Z keys at the exact same time, it'll only send one through. I'm not sure whether that is a bug or not, but in either case, I'd love to be able to make the split-screen something else so it was less easily hit.

That makes totally sense and it is on the roadmap.
For now, I have mapped both "Z" and "Ctrl-Z" to undo (Split-Screen has moved to "N")
It will be included in the next release. If you can't wait, you can use the DEV version on https://www.stef.be/dpaint/dev/ where this is already updated.
Full adjustable keyboard shortcuts will be part of a future release.


chore(deps): update dependencies

close #301 and #302

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.455%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
962

Relevant Lines:
1100

💛  - Coveralls


OAuth2 can't work with Spring Cloud gateway

Cloud we add support for spring cloud gateway?
it means that spring cloud security needs to support reactive feature and netty container.
you can this https://github.com/spring-cloud/spring-cloud-gateway/issues/478.
Notes:
When the gateway runs standalone, it starts netty, works well.
When my oauth runs standalone,it starts tomcat, works well.
but it can't work when integrationg spring cloud gateway with OAuth.

Duplicates #141


Link behind "learning about prototypal inheritance" is broken

http://ericleads.com/2013/02/fluent-javascript-three-different-kinds-of-prototypal-oo/ currently unavailable.

Oops. Yeah, that's not coming back. We'll need to replace it. =)

PR is welcome.

Done. =)


Syntax Highlighting Stops Working After First Session After Install

VSC-Prolog Version: 0.4.7
No other steps were done prior to this to configure the extension.

Install the VSC-Prolog Extension
Open a Prolog source file
Notice that the syntax highlighting works as intended.
Close VSC
Relaunch VSC
You should see the previously opened Prolog source file; notice that the syntax highlighting no longer works.

Uninstalling the extension, reloading VSC and reinstalling the extension will restore the syntax highlighting.
I have repeated this 3/3 times.
OS: Windows 10

Thank you for your information, but I'm sorry that VSC-Prolog is developed and tested in Debian operating system, not tested under other environments.
This is noticed in the first paragraph of the README.md:
Note before installation
This extension can be installed via extensions viewlet of VS Code or 'Extensions: install extension' command from the command palette. The author notices that it is developed and tested in SWI-Prolog 7.4.2, ECLiPSe 6.1 and VS Code 1.15on Debian 9.0 (stretch). It's not yet tested under other environments.
Please update to 7.5.13 of swipl if you want to use 'Show all references' feature.
I'm not sure when I would have time to port the extension to Windows os. Sorry for that again.
Arthur Wang

I have made this extension cross-plateform and tested on Windows 10. Have a try please.

Alright, I'll give it a shot by tomorrow. Thank you.
On 1 Nov 2017 12:14, "Arthur Wang"<EMAIL_ADDRESS>wrote:

I have made this extension cross-plateform and tested on Windows 10. Have
a try please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arthwang/vsc-prolog/issues/1#issuecomment-341155184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADfspV6Q7WJ7CXNTMoEnrguge0JNq4yQks5syJjpgaJpZM4PfiUw
.

Seems like syntax highlighting now works all the time. Thank you for fixing
it.
On Wed, Nov 1, 2017 at 2:27 PM, David Delisle-Lalancette <
<EMAIL_ADDRESS>wrote:

Alright, I'll give it a shot by tomorrow. Thank you.
On 1 Nov 2017 12:14, "Arthur Wang"<EMAIL_ADDRESS>wrote:

I have made this extension cross-plateform and tested on Windows 10. Have
a try please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arthwang/vsc-prolog/issues/1#issuecomment-341155184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADfspV6Q7WJ7CXNTMoEnrguge0JNq4yQks5syJjpgaJpZM4PfiUw
.


Tables example displays a mismatch result compared to code output

Link to the Page
https://www.skeleton.dev/components/tables
Describe the Issue (screenshots encouraged!)
Table is giving a different output compared to the compiled result

Example code:
// Source data doesn't have a Number field, only weight rather.
const sourceData = [
	{ position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' },
	{ position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' },
	{ position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li' },
	{ position: 4, name: 'Beryllium', weight: 9.0122, symbol: 'Be' },
	{ position: 5, name: 'Boron', weight: 10.811, symbol: 'B' },
];
const tableSimple: TableSource = {
	// A list of heading labels.
	head: ['Name', 'Symbol', 'Weight'],
	// The data visibly shown in your table body UI.
	body: tableMapperValues(sourceData, ['name', 'symbol', 'weight']),
	// Optional: The data returned when interactive is enabled and a row is clicked.
	meta: tableMapperValues(sourceData, ['position', 'name', 'symbol', 'weight']),
	// Optional: A list of footer labels.
	foot: ['Total', '', '5']
};

This is something I can take and solve quite easily 😄 but, rather get the nod first.

@phamduylong yup please go ahead and create the PR 👍


Reset Opening Files

I've used the opening files feature, which works great. I tested different code editors that needed to delete the registry each time, so I wrote a reset PML function.It can delete registry items.Type in Commond Window.
Usage:
!!resetopeningfiles()

You could also change the editor in the settings dialog ;-)
Maybe I should explain this in the README...

I found the Settings, because I only updated the DLL file before, but not the UIC, so I did not saw it.


Combobox: accessibility issue

Thank you for filing an issue!
Please review the frequently asked questions such as:

Why do my icons not show up in IE11?
Why aren't my ES6 imports, icons, styles, or fonts working in Create React App?

Please include in your issue:

If you are working on the problem. Issues may be closed within 30 days if no one is assigned. Maintainers work on this project 20-30 hours per week and have their own prioritized backlog.
How to duplicate a bug. Line numbers or code to paste into the documentation site examples is helpful.
If you are a Salesforce employee. You should also create a duplicate work item in your internal ticket system and link to this issue.
If you plan to work on a new component. Please propose props after reviewing at newly written components and docs/codebase-overview.md.

For Salesforce platform questions, please visit https://success.salesforce.com, https://partners.salesforce.com, or https://salesforce.stackexchange.com
This project uses SLDS markup, but you should submit HTML/CSS issues to https://github.com/salesforce-ux/design-system.

issue in


Include tags for errors logged with server.log() or request.log()

When request.log() or server.log() is used to log an error object, the event tags are now included as part of the log.
Solves #150

Coverage increased (+0.01%) to 98.99% when pulling 06f5bf03ad7ad764496c2dab70432f9f1a56489e on jonathansamines:feature/log-error-tags into 204c96e0a248c899147243b7a22414eb02edf943 on pinojs:master.


Highlight empty lines in neovim

Highlight empty lines are maybe a greatly desired option.
In neovim, you can highlight empty lines by using nvim_buf_set_virtual_text, can't you?

Is this something that's going to get implemented?
It seems like something that should exist

I was thinking the same and wanted to experiment stuff but it seems not possible currently: https://github.com/neovim/neovim/blob/master/runtime/doc/api.txt#L2016
                 By default (and currently the only option) the text will be
                 placed after the buffer text. Virtual text will never cause

i didn't even see this issue, but i was trying to do the same thing as well.
I came up with this
let g:pretty_indent_namespace = nvim_create_namespace('pretty_indent')

function! PrettyIndent()
    let l:view=winsaveview()
    call cursor(1, 1)
    call nvim_buf_clear_namespace(0, g:pretty_indent_namespace, 1, -1)
    while 1
        let l:match = search('^$', 'W')
        if l:match ==# 0
            break
        endif
        let l:indent = cindent(l:match)
        if l:indent > 0
            call nvim_buf_set_virtual_text(
            \   0,
            \   g:pretty_indent_namespace,
            \   l:match - 1,
            \   [[repeat(repeat(' ', &shiftwidth - 1) . '│', l:indent / &shiftwidth), 'IndentGuide']],
            \   {}
            \)
        endif
    endwhile
    call winrestview(l:view)
endfunction

augroup PrettyIndent
    autocmd!
    autocmd TextChanged * call PrettyIndent()
    autocmd BufEnter * call PrettyIndent()
    autocmd InsertLeave * call PrettyIndent()
augroup END

There are probably edgecases
It doesn't work for wrapped lines, thats a limitation of virtual text
It only works if cindent is working properly.

I've been playing with this a bit more
I can get solid results with the indentexpr, but its too slow to run synchronously.
I have a working prototype to run it in an embedded neovim instance, but its a bit hacky. It just opens the file again and sends results back.
Maybe its possible to use nvim_buf_attach, but i'm not sure how.
Also its a bit ridiculous to run a new neovim instance just to fill in blank line indentation, but :man_shrugging:
Are you interested to integrate this here? If not i'll make it a standalone plugin

I made it a new standalone plugin for now
https://github.com/lukas-reineke/indent-blankline.nvim

I didnt had the need to use the plugin , just enter space and save the file :D

I made it a new standalone plugin for now
https://github.com/lukas-reineke/indent-blankline.nvim

Is this going to be implemented in indentline? For now I'll use yours


Add Author and reminder_time field to the Assignment model

Add owner and reminder time to assignment module.
PR Type

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Others. (Please describe)

PR Info.
Changes

Remove Social Object
Add reminder_time to assignment model

Codecov Report

Merging #23 (c1d80ef) into iteration2 (ab0f3cb) will increase coverage by 0.96%.
The diff coverage is 98.61%.

@@              Coverage Diff               @@
##           iteration2      #23      +/-   ##
==============================================
+ Coverage       89.13%   90.09%   +0.96%
==============================================
  Files              33       38       +5
  Lines             451      505      +54
  Branches           14       14
==============================================
+ Hits              402      455      +53
- Misses             43       44       +1
  Partials            6        6

Impacted Files
Coverage Δ

garnbarn_api/tests/test_serializer.py
100.00% <ø> (ø)

garnbarn_api/models.py
95.34% <90.00%> (-2.02%)
:arrow_down:

garnbarn_api/admin.py
100.00% <100.00%> (ø)

garnbarn_api/migrations/0017_assignment_owner.py
100.00% <100.00%> (ø)

...nbarn_api/migrations/0018_alter_customuser_line.py
100.00% <100.00%> (ø)

garnbarn_api/migrations/0019_auto_20211031_0049.py
100.00% <100.00%> (ø)

...migrations/0020_remove_assignment_reminder_time.py
100.00% <100.00%> (ø)

...rn_api/migrations/0021_assignment_reminder_time.py
100.00% <100.00%> (ø)

.../migrations/0022_rename_owner_assignment_author.py
100.00% <100.00%> (ø)

garnbarn_api/serializer.py
81.15% <100.00%> (+6.64%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Plasma 5.20.4: bluetooth audio not realiable

Describe the bug
Bluetooth audio not working with recent version of plasma5
To Reproduce
Steps to reproduce the behavior:

login to plasma5 session
connect bluetooth headset
Bluetooth audio is not working

Expected behavior
Bluetooth audio should work
Logs
Jan 10 13:44:40 nixos-mainframe pulseaudio[2172]: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink/SBC
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink/AAC
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink/VENDOR/APTX
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink/VENDOR/APTXHD
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/SBC
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/AAC
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/VENDOR/APTX
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/VENDOR/APTXHD
Jan 10 13:44:40 nixos-mainframe bluetoothd[1210]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/VENDOR/LDAC
Jan 10 13:44:40 nixos-mainframe systemd[2077]: Started Sound Service.

Jan 10 14:02:21 nixos-mainframe kernel: input: HD 450BT (AVRCP) as /devices/virtual/input/input35
Jan 10 14:02:21 nixos-mainframe systemd-logind[1102]: Watching system buttons on /dev/input/event28 (HD 450BT (AVRCP))
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (II) config/udev: Adding input device HD 450BT (AVRCP) (/dev/input/event28)
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) HD 450BT (AVRCP): Applying InputClass "Keyboard catchall"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) HD 450BT (AVRCP): Applying InputClass "evdev keyboard catchall"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (II) Using input driver 'evdev' for 'HD 450BT (AVRCP)'
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) HD 450BT (AVRCP): always reports core events
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) evdev: HD 450BT (AVRCP): Device: "/dev/input/event28"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (--) evdev: HD 450BT (AVRCP): Vendor 0xa Product 0x161
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (--) evdev: HD 450BT (AVRCP): Found keys
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (II) evdev: HD 450BT (AVRCP): Configuring as keyboard
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) Option "config_info" "udev:/sys/devices/virtual/input/input35/event28"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (II) XINPUT: Adding extended input device "HD 450BT (AVRCP)" (type: KEYBOARD, id 20)
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) Option "xkb_rules" "evdev"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) Option "xkb_model" "pc104"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) Option "xkb_layout" "us,cz"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (WW) Option "xkb_variant" requires a string value
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[1254]: (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[6234]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[6234]: > Warning:          Unsupported high keycode 372 for name <I372> ignored
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[6234]: >                   X11 cannot support keycodes above 255.
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[6234]: >                   This warning only shows for the first high keycode.
Jan 10 14:02:21 nixos-mainframe xserver-wrapper[6234]: Errors from xkbcomp are not fatal to the X server

Additional Info.
When I log into none/xmonad session I'm able to use bluetoothctl to connect devices with working audio this is why I think the problem is KDE specific.
$ plasmashell --version
plasmashell 5.20.4

Notify maintainers
@NixOS/qt-kde
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.87, NixOS, 21.03pre262347.257cbbcd3ab (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(marek): `"nixos-21.03pre262020.f211631c1cb"`
 - channels(root): `"nixos-21.03pre262347.257cbbcd3ab, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I'm still experiencing this problem even with the newer plasma version:
plasmashell --version
plasmashell 5.20.5

Seems I managed to fixed by switching to the profile in System Settings:

It seems that for some reason the detection of profile under plasma selected the wrong one.

Ok so it turned up this is not the root of the problem. It seems that for some reason under the plasma switching application output to device is simply not reliable. It gets into some sort of super position where it's not possible to play audio from applications to some output device and switching this using pavucontrol or system settings or using stops working. I was unable to identify why exactly or find any reliable workaround other than use other desktop environment. I'm not sure if this is nixpkgs specific or upstream problem so I'm going to reopen this issue for now.

In this instance I managed to fixed it by togging audio devices in configuration

It seems to me that this is some state synchronization issue. I'm not sure if it's specific to how plasma is configured under nixos or not though.

Still happening to me with plasmashell 5.21.5 and


I failed to execute 'mvnd -version' on my MAC

when I execute 'mvnd -version', the error is
mvnd native client 0.7.1-darwin-amd64 (97c587c11383a67b5bd0ff8388bd94c694b91c1e)Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.osx.OsXNativePty
java.lang.NullPointerException: null

Please run rm -Rf ~/.m2/mvnd/registry/0.7.1, run mvnd -X -version, report the output and report the content of the log files in the ~/.m2/mvnd/registry/0.7.1 directory.

very thankful


React-Native “scrollTo” behave differently on Android and iOS when ScrollView height is small

Description
Please consider this example on iOS: https://snack.expo.io/H1AeNGx4W

On iOS, clicking on the text will but the text to the top because scrollTo({ y: 250 }) scrolls even if end of scrollView is reached.
On Android, the text doesn't move.

Reproduction
https://snack.expo.io/H1AeNGx4W
Solution
No cool solution yet https://stackoverflow.com/questions/44795520/how-to-make-react-native-scrollto-behave-identically-on-android-than-on-ios-wh
Additional Information

React Native version: 0.45.0
Platform: iOS
Operating System: MacOS
Dev tools: Xcode

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

Reproduced this in react-native v0.50.3.


Update dependencies to latest

Thank you for the PR. Please rebase from master.

@kazegusuri

Thank you for the PR. Please rebase from master.

sorry for late response, I have rebased this pull request.

@kazegusuri I'have rebased it, thanks

thank you!


Unroll SHA1 loop

It improves throughput about 3 times.

@homu r+

:pushpin: Commit 8711efb has been approved by hauleth

:zap: Test exempted - status


Dedicated documentation on how to add or a remove a node properly

Pitch
A user informed themselves about CrateDB and now wants to set up a test cluster, however, they need an entry point on how to add and remove nodes for their highly scalable use case.
ACs:

[ ] a new chapter about adding/removing nodes is added to the documentation
[ ] users who have a technical understanding but are new to CrateDB are able to follow it
[ ] it gives a basic overview but provides links to in-depth content
[ ] the first draft is written (Elias)

Partially addressed with https://community.crate.io/t/how-to-add-new-nodes-to-an-existing-cluster/1546


Change badge to v2

Why are we using the v2 badge in the v3 branch ?

Why are we using the v2 badge in the v3 branch ?

Because the workflow we use also still uses v2 (https://github.com/ewjoachim/python-coverage-comment-action/blob/v3/.github/workflows/ci.yml#L46). I can also create a PR to update the workflow to v3, but I thought you might want us to keep v2 for this repo, because you haven't updated the workflow with the PR that created v3.


Prevent panic when passing nil object

Sometimes it occurred that hab object was nil, and that triggered a
panic. We now check for nil and return instead.
Fixes https://github.com/kinvolk/habitat-operator/issues/131.

@asymmetric sounds right but I think it'd be nice to have this guard anyway.

I agree with @zeenix on this one, I don't think it hurts having it in that place, unless I am missing something?

What I meant in https://github.com/kinvolk/habitat-operator/issues/131 was actually that hc.enqueue() should be called outside the clause if err != nil { }. Then we could avoid the panic gracefully. Obviously we would then need to change error handling again, etc.
So I think this PR is not bad, because it's simple and handling nil case inside enqueue does not hurt.

@asymmetric @zeenix @dongsupark I adjusted the PR to include the returning on all errors, instead of enqueuing. I also left the check for nil. PTALA, thanks!


Reduce solar panel output during rain, fog, different seasons, increase turbine output during storms.

Not only because it makes sense, but because it balances out the other power consumption changes.
The numbers I propose are relatively mild:

90% solar power for fog.
60% solar power for thunderstorms.
15% solar power for eclipses. Because they are not a total blackout.
97.5/100/97.5/95% solar power for Spring/Summer/Autumn/Winter.
Random fluctuations of +/-3% solar power thorough the day.
133% turbine power for thunderstorms.

Wind turbines are already affected by storms in the default code and will put out up to 150% power (3000W vs the 2000W "normal" max).
As to the solar, that sounds like something for a separate mod than CCL.  CCL isn't about making core changes so much as providing tools for modders to do common tasks in a "standard" way.  That being said, I would love to see a mod which does such a thing.  :)

It SHOULD be a CCL Tweaks thing, because it contains power consumption changes that make power management trivial compared to vanilla.

I agree with E that this isn't really in the remit of CCL. Closing for now, might get back to doing this in a separate mod at a later date.


Indicate successful check

Summary
This implements outputting a message to stdout when a check is run and errors do not occur and fixes are not made. This is done only for when watch mode is not enabled; running via watch mode will continue to not output anything when errors do not occur and fixes are not made.
See https://github.com/astral-sh/ruff/issues/8553 for more information.
Test Plan
Snapshot tests.

This is my first time attempting to contribute to the Ruff codebase, so please let me know if my logic is misdirected, e.g. at the incorrect abstraction levels.
I'm really trying to familiarize myself with the codebase so any direction or guidance is greatly appreciated!

https://github.com/astral-sh/ruff/pull/8631 does seem more appropriate, we'll try to get that one merged.
Thank you for contributing though! I'm interested in adding those file counts 👀


Crash with too big data

Include the version of json2csv used.
4.5.2

Include your node version/browser vendor and version.
v10.13.0

Include the command or code you used.
json2csv.parse(dbQueryResult, {delimiter: '\t', header: false, fields: tableColumns});

Include a sample dataset that we can test against.
My dataset has 22 objects, and for this case it crashed when the query returned 881950 elements

[
{data1: 1, data2: 2, data3: 3, data4: 4, data5: 5, data6: 6..... (till 22)},
{data1: 1, data2: 2, data3: 3, data4: 4, data5: 5, data6: 6..... (till 22)}
...(till 881950)
]

Include your output/error.
<--- Last few GCs --->

[8416:000001AA50C92E70]   441325 ms: Mark-sweep 1393.4 (1425.5) -> 1393.1 (1426.0) MB, 1497.7 / 0.0 ms  (average mu = 0.093, current mu = 0.002) allocation failure scavenge might not succeed
[8416:000001AA50C92E70]   442625 ms: Mark-sweep 1393.8 (1426.0) -> 1393.5 (1426.5) MB, 1297.1 / 0.0 ms  (average mu = 0.048, current mu = 0.002) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0000019AD07DC5C1]
1: StubFrame [pc: 0000019AD07DDB86]

Security context: 0x03d44ba931e1
2: processCell [000003C0E785B589] [{my directory}\node_modules\json2csv\dist\json2csv.cjs.js:~1298] [pc=0000019AD0B3A3F8](this=0x030015b2e0f9 ,row=0x02fd1fdb65f9 ,fieldInfo=0x01b1c8dcff51 <Object map = ...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

The issue you're experiencing is due to pulling all of the data into memory. Most database libraries/orms have a streaming feature which should be used instead. Have a look at the streaming API docs here: https://github.com/zemirco/json2csv#json2csv-async-parser-streaming-api

What he said ^
And feel free to ask here with more details of what you are trying to do if you need help.

Thanks for the quick support guys! It worked perfectly :) Closing


Duplicate file "nostalgy-autocomplete.js"

Since #74, there are two nostalgy-autocomplete.js files:

chrome/components/nostalgy-autocomplete.js (History)
components/nostalgy-autocomplete.js (History)

Both files are mostly identical except for these two added lines in chrome/components/nostalgy-autocomplete.js:
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome/components/nostalgy-autocomplete.js#L4
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome/components/nostalgy-autocomplete.js#L6

@opto

Can you confirm that the components/nostalgy-autocomplete.js is no longer needed?
Do you remember why you imported Services? (It doesn't seem to be used in that file.)

I have checked myself and it's the other way around: components/nostalgy-autocomplete.js is referenced in the chrome.manifest and therefore the other file should be removed:
https://github.com/nostalgy/nostalgy/blob/7dc4f78de515cf8dbb58306585a17356603e5fa0/chrome.manifest#L6

did you try whether it works without it? I may remember that I tried to remove one and that had impact on functionality. But maybe I tried to remove the wrong one?

#86  removes it and it works for me.


nmap: duplicated entries detected that I cannot explain

Hi
First thanks for this module, it is really helpful.
I am running it using an nmap ouput, but almost all the entries are detected as 'duplicated' even if I don't have any entry in Netbox before trying to import them.
So are there some cache mechanisms somewhere, or something I should make sure to check to identify the reasons of those duplicates?
Here is the output:
started: 24 hosts created: <IP_ADDRESS>/32 "_gateway" created: <IP_ADDRESS>/32 "autodiscovered:netbox-scanner" duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 duplicated: <IP_ADDRESS>/32 finished: .0 +2 ~0 -0 !22
Another question, is that nmap retrieves a lot more info than only IP/hostname, and it seems that the script does take into acccount those extra information. Are there any plan to create automatically the 'vendors', etc ... or would you recommend using another tool, and which one?
thanks.

get a newer version of netbox fixed the issue.

Good to know the new version have solved your problem. Since Nmap brings too much data, it can be used to compose some kind of device description, but I could not find a way to systematically process such data to create comprehensive descriptors. Let me know if you have any ideas.

I guess I will adapt your script to my needs and see what is useful as a PR.
Thanks
Le jeu. 2 juil. 2020 à 20:58, José Lopes<EMAIL_ADDRESS>a
écrit :

Good to know the new version have solved your problem. Since Nmap brings
too much data, it can be used to compose some kind of device description,
but I could not find a way to systematically process such data to create
comprehensive descriptors. Let me know if you have any ideas.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/lopes/netbox-scanner/issues/19#issuecomment-653171203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM6DU2YKT3BLXCRTYC6QELRZTKEJANCNFSM4ONPY5TQ
.


feat: Drawer component

Summary
Drawer component
ADO Story or GitHub Issue Link
https://dev.azure.com/Kyndryl/Shidoka - Bridge Design System/_workitems/edit/1589760
Note

give slide in slide out animation using allow-discrete property of animation

Checklist

[x] Used Conventional Commit messages as outlined in the contributing guide.

[x] Noted breaking changes (if any).

[x] Documented/updated all props, events, slots, parts, etc with JSDoc.

[x] Ran the analyze command to update Storybook docs.

[x] Added/updated Stories with controls to cover all variants.
[x] Added/updated a basic unit test, at least, for each component.
[x] Added/updated the Figma link for the Story's Design tab.
[x] Added any new component exports to the src/index.ts file

Looks pretty good. Just need to update the animations and remove some extraneous controls from the story.
Also, double-check the positioning of the X in the upper right with the designer. It seems inconsistent with Modal.

Did check X position with Chandan Bhat its as per mock / UX.

I had one final thought actually. You may want destructive property like Modal has.

Looks good!


Add feature: show progress bar when downloading

update mega.py to show progress bar when downloading with tqdm

Why would you not add it to upload() as well?

Well, I only need the download function. I can do the upload one as well, but it seems like they did not maintain this repository for almost a year.

I copied the same code into upload and it works perfectly, it's too bad the maintainer isn't merging the PR's, but ty for the code anyways.

That's great. You're welcome.


When Streams are dropped, close Connection (#221)

When all Streams are dropped / finished, the Connection was held
open until the peer hangs up. Instead, the Connection should hang up
once it knows that nothing more will be sent.
To fix this, we notify the Connection when a stream is no longer
referenced. On the Connection poll(), we check that there are no
active, held, reset streams or any references to the Streams
and transition to sending a GOAWAY if that is case.
These changes cause the example to work as expected (exiting when finished getting the response), but break other tests that are not expecting the connection to hang out.

The PR looks good at a glance, but there is a complication.
Re the tests, I pushed a commit (7613406d1dd84d0f2c69511687efd35a423b707c) that includes a fix for some of the tests. The issue with the client tests is that they drop the SendRequest handle early which causes the GO_AWAY frame to be sent. The fix is to hold on to the handle until the end of the test. Hopefully the commit I pushed illustrates that well enough.
Now, the complication.
It turns out that the server half uses the Connection to accept new streams, so it should be fine to hold on to the server connection without any outstanding refs.
I think what will need to happen is the logic to actually call transition_to_go_away is moved to server::Connection and client::Connection. On the client side, the same logic that you has applies. However, on the server side, the transition to go away will need to be an explicit call on Connection.
This relates to #69

Thanks for the examples on how to fix the tests, I pushed a commit fixing the rest of the tests as well as splitting the logic between server / client such that client closes connection automatically and server has a close_connection() call that transitions the server to the GOAWAY state.
Let me know what you think!

Are there any other changes required?

Yikes, I forgot about this, sorry! I'll take a look again.

LGTM, I haven't noticed anything besides what @seanmonstar has called out.

CI passed 🎊


Only publish ES modules in compiled @guardian packages

What are you changing?

removes CommonJS modules from our compiled package output

this doesn’t affect packages that are not compiled, e.g. @guardian/prettier

also makes Node 16 the minimum supported version for compiled packages, since all Node 16 versions support ES modules
adds @csnx/npm-package:verify which runs publint against the built output
releases new versions of affected packages

Why?
Our current packages are incorrectly configured. Fixing this is quite tricky, and publishing CommonJS and ESM together exposes us to the dual package hazard https://nodejs.org/api/packages.html#dual-package-hazard.
We only publish CommonJS because we needed to support old versions of Node. But all current Node versions support ES modules now.
Also, @guardian/* packages are expected to be transpiled by consumers, so this should not affect us.

I've done some experimenting and I think DCR and AR will both build ok with this change 👍

I've done some experimenting using guardian/libs and I think DCR and AR will both build ok with this change 👍

nice one @JamieB-gu


Make Envoy::Server::Options argument to Envoy::Server::InstanceImpl const

Description: Make Envoy::Server::Options argument to Envoy::Server::InstanceImpl const
Risk Level: Low: Just altering argument qualifiers.  Problems would show in compilation.
Testing: Existing tests.
Docs Changes: None.
Fixes #5792

/assign curiouserrandy


Json buffer

@SantiM1 the added code I think should take care of the comma but needs to be tested to make sure.

@SantiM1 you can go ahead a review again had to pull some stuff from main after that we should be able to merge with main and test it out.


Timeout?

Is there a way to set (or add) a timeout on a connection? We are sending a few emails via MailGun in the span of a few minutes and occasionally our message pump hangs in the call to message.create(). It just throws a timeout error :/.
I can add the property of headers and add the keep alive header, but this is kinda messy, but I guess it works fine 🤷
const mailgun = mg.client({
    username: 'api',
    key: '123',
    headers: {Connection: "Keep-Alive", "Keep-Alive": "timeout=5, max=1000"}
  });

While this is fine, I think a timeout property would be a lot cleaner for us API users.
If additional assistance is needed let me know and I can help create an MR for this new feature.
Thanks!

I went ahead and made an PR to support this.

The PR is merged and will be published soon.


MM-13198 Add placeholder when loading images

This is to fix the aspect ratio of images in the RHS and on small screens while still using the image dimensions to lay out the post before an image is loaded.
The reason this ends up being so complicated is because HTML only supports resizing an image and maintaining its aspect ratio if and only if the image has no explicit width or height set, but without a width or height set, the image will pop in and cause the post layout to change. To solve this, we generate a blank image of the correct dimensions (createPlaceholderImage in utils/image_utils.jsx) and render that while the actual image loads in the background (loadImage in utils/image_utils.jsx).
I tested this on all 5 browsers, and with metadata enabled, I did see some pop in with Firefox on the first page load, but that's fine for now since that's experimental.
Ticket Link
https://mattermost.atlassian.net/browse/MM-13198
Checklist

Added or updated unit tests (required for all new features)

Spintmint test server creation failed. See the logs for more information.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

@hmhealey This needs to be done for the large image instance in  webhook attachment as well.

Alright, I made that use the same SizeAwareImage component (previously called MarkdownImage) as well so we can go back to setting the width of that to 100% instead of calculating the dimensions manually

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0dc7110be6ba32a8c.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0dc7110be6ba32a8c

@cpanato Files are broken on this spinmint for some reason. It seems like it can't write to disk since when I try to upload a file, I get this error:

@hmhealey let me check the server

@hmhealey try again

Thanks!
@DHaussermann You're good to test now

Tested Tall and wide images in main and RHS thread
Tested in markdown as well as webhook post
@hmhealey I'm not sure on the scope of this task. I found no issues in the RHS but webhook posts in the main thread that are very tall will have an issue with aspect ratio. Please advise if this must also be changed in this PR.

@DHaussermann I think I've fixed it, and I've tested with both wide images

and tall ones

Spinmint test running for more than 7 days. This test server was terminated.

@DHaussermann This is ready for QA review again unless you're willing to take my screenshots as proof that it's fixed :P

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-00b2d764f9a60f7e8.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-00b2d764f9a60f7e8

@hmhealey is this for 5.7

@sudheerDev No, if it still goes into 5.7, there'll be a lighter version of it that only fixes the dimensions without post metadata


BlobNode backups

What it says on the tin.

Flush pending store.
Make hardlinks for all stores in a "backup tag" directory on  main thread.
Optionally perform low prio compaction job on those stores.
Notify application that backup is completed.