ConPTY flush unknown CSI sequences too early

Windows Terminal version
Not installed
Windows build number
10.0.19045.2846
Other Software
.NET 7.0 x64
PowerShell 7.3.4
Steps to reproduce

Create ConPTY from dotnet (minimized version below, full working code here, based on samples/GUIConsole.ConPTY)
Run powershell.exe with next ps1 script:

[Console]::Write("Begin")
[Console]::Write("`e[1q")
[Console]::Write("IN_BETWEEN_1")
[Console]::Write("`e[1Q")
[Console]::Write("`e[2q")
[Console]::Write("IN_BETWEEN_2")
[Console]::Write("`e[2Q")
[Console]::Write("`e[3q")
[Console]::Write("IN_BETWEEN_3")
[Console]::Write("`e[3Q")
[Console]::Write("Some long string at the end of output: aaaaaaaaaaaaaaa")

Read charachters from PTY output

SafeFileHandle inputRead, inputWrite, outputRead, outputWrite;

CreatePseudoConsole(new COORD { X = 40, Y = 20 }, inputRead, outputWrite, 0, out IntPtr hPC);
ProcessFactory.Start("powershell.exe -File a.ps1", 0x00020016, hPC);

var reader = new StreamReader(new FileStream(outputRead, FileAccess.Read));

// Read output
var bytesRead = reader.ReadBlock(buf, 0, 140);
var output = new string(buf.Take(bytesRead).ToArray());
Console.Out.Write(output);

Expected Behavior
The entries in the output are in the same order, in which they were written
Begin←[1qIN_BETWEEN_1←[1Q←[2qIN_BETWEEN_2←[2Q←[3qIN_BETWEEN_3←[3Q
Actual Behavior
CSI sequences are printed before the text output
←[1q←[1Q←[2q←[2Q←[3q←[3QBeginIN_BETWEEN_1IN_BETWEEN_2IN_BETWEEN_3
I think it happens here
Don't you think that it's betteer to flush text buffer before flushing escape sequences?
And can you suggest some workaround? Can I flush text buffer manually from script?
Thanks

@zadjii-msft seems https://github.com/microsoft/terminal/issues/13710 relates to specific escape sequences, but my issue relates to any unknown (or not implemented) sequence
Let me please ask the question again: can I force buffer flushing somehow? To be sure that my output is synchronized. Probably it would be enough to solve my issue

Ah, sorry, I linked the issue but not the PR. #14677 should fix this by flushing the frame when we encounter an unexpected sequence, then write the sequence, then start a new frame and continue. I just need to do the diligence on my part to re-check out that branch and double check your repro is fixed too.
There was also another thread that felt similar. #13462? Hey maybe I can close that out, since #14677 feels better to me

FYI, I've tested PR #14677 with my test case from issue #8698, and it hasn't done anything to fix the order of operations there. The only thing I can see different when looking at the debug tap is that the DECTCEM (cursor show/hide) sequence appears in a slightly different position.
That said, from a visual standpoint it seems to be an improvement (at least for that particular test case), since I'm not seeing the red flash anymore. I'm not sure whether that's just a matter of lucky timing though. I suspect the position of the DECTCEM may be triggering a redraw in the renderer at a more appropriate time.
And with the test case in this issue, the ordering just seems random, both with and without PR #14677 applied. That suggests it's just dependent on when the render thread happens to trigger a flush.

@Mervap I'm not personally aware of any workaround. It's also worth mentioning that passing through unknown sequences will potentially end up failing anyway, even if they were in the correct order. It depends on what your sequences are intended to do, but anything that modifies the buffer is at risk of being overwritten by conpty at a later point in time.

I understand that unknown sequences may behave really differently
In my case, it would be enough to force text buffer flushing before the escape sequence emitting (on pwsh script side)
Like
[Console]::Flush()
[Console]::Write("`e[1q")

Okay yea, after caching this whole space back in, I'm gonna call this a /dupe of #8698. That's the more correct root issue here. Thanks again @j4james for the dilligence teasing them apart.
Right now, I'm not sure there's anything you could do to flush it manually on your side. ~maybe doing a `e[?1049h`e[?1049l to go into and out of the alt buffer, which would technically force a pair of frames, but also definitely horribly flicker.~ Yea definitely don't do that.

If you're building something on top of ConPTY, I might recommend upvoting #15065. Thats the thread we're using for "allow folks to use the most up-to-date conpty without relying on the OS version".


Consider making Streaming<T> Sync

Feature Request
Crates
Main Crate
Motivation
I'm trying to output a unidirectional tonic gRPC stream via SSE using warp. I'm using warp from https://github.com/seanmonstar/warp/pull/265 to be able to use it with async await. Changing warp to be compatible with async / await requires that all responses handed over to warp (and in turn handed over to hyper) to be Sync. However, the stream returned from a streaming gRPC response is not Sync.
Proposal
Rustc complains that the decoder specifically is the part that is not sync: https://github.com/hyperium/tonic/blob/5d0a7955541509d2dbfdb9b689fb57cd2b842172/tonic/src/codec/decode.rs#L22
As far as I can see, decoder is not accessible from the outside, and thus it should be safe to mark the whole Streaming struct as Sync. I would be happy to file a PR for that.
Alternatives
I don't see any, because AFAIK the Sync bound stems from a layer deep down inside hyper, and I guess it's unfeasible to change that somehow to remove it.

In case you accept this I have already filed PR #82 that applies the neccesary change. :)

@NeoLegends sorry for the delay, this should be done! Let me know if you run into any issues. I plan to get a new release out soon.

@LucioFranco This new trait bound broke my code because hyper::client:ResponseFuture is not Sync.
error[E0277]: `(dyn core::future::future::Future<Output = std::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely
   --> src/lib.rs:153:26
    |
153 |         Ok(Response::new(Box::pin(outbound)
    |                          ^^^^^^^^^^^^^^^^^^ `(dyn core::future::future::Future<Output = std::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely

Still looking into a way to resolve this... Does hyper need to be patched to add the trait bound to ResponseFuture? Or can I wrap this future in something to make it Sync, like futures::lock::Mutex? cc @seanmonstar Maybe you can help out here?

@parasyte maybe I'm missing something but what is the reason you are returning a future as the response type?

@LucioFranco Sorry for the confusion, I'm not returning Future as a response type at all. It will help to have a full example to the issue. I'll get to that for you soon.
The short description is that I'm calling the get method on a hyper::client::Client in an async_stream::try_stream! {} loop; the return type is a gRPC streaming response. E.g. Pin<Box<dyn Stream<Item = Result<Message, Status> + Send + Sync + 'static>>
Awaiting this non-Sync ResponseFuture from the hyper client (and adding the necessary Sync bound to my streaming response type) is what causes the compile error.

@parasyte you're right...I'm not sure how to move forward on this one @seanmonstar any ideas?

Hrm, is the problem that hyper::client::ResponseFuture has a Box<dyn Future + Send> inside it, and not Box<dyn Future + Send + Sync>?


Tags render in inline fields

What happened?
I'm using Minimal theme (by @kepano) which has some style definitions for a different render of the inline fields highlighting.
For example, if I use...
This is a test with an inline [field:: to] check an issue in (field:: dataview)

I have this in default theme

and this in Minimal theme

But if I use tags
This is a test with an inline [field:: #to] check an issue in (field:: #dataview)

I have this in default theme

and this in Minimal theme

... it renders a strange bubble before each tag.
At first I thought that the issue was related with Minimal theme, but then I found this curiosity in the inspector:

... each tag in inline fields have two elements, one of them empty. This doesn't happen with tags in full inline fields.
There's any reason for this duplication?
Thank you.
DQL
No response
JS
No response
Dataview Version
0.5.17
Obsidian Version
0.14.6
OS
MacOS

This seems to be the same like #1547. Maybe was introduced to the default theme with kepanos rework. Would you be so kind and check once if you now also have that issue in the default theme @mnvwvnm ?
If so, I'd close this issue in favor of #1547 since it's not minimal related then (anymore).

Hello,
I am closing this as a duplicate in favor of #1494. If you think it's worthwhile to keep this issue open, please write a comment so I can reopen it.
Have nice holidays!


README Needed

You need a readme with the intent of this repo. Otherwise what's the point?

Done. Although this readme could probably use edits/improvements.


Playground crashes when accessing variable assigned in the previous line in an assignment expression.

All three of these code snippits (and I'm assuming other similar ones) act as expected when run via crystal eval, but crash the playground with a similar exception to below.
Code
[1, 2, 3, 4] << (a = 5)
puts a

def func(a)
  a
end

func(a = 5)
puts a

a = (3 + (b = 2))
puts b

Exception
Error in line 4: instantiating 'Crystal::Playground::Agent#i(Int32)'

in line 4: instantiating 'Crystal::Playground::Agent#i(Int32)'

in line 5: undefined local variable or method 'a' (did you mean 'p'?)

There is another similar bug which I've just discovered. This seems to indicate that something is wrong with how the parentheses are handled, not specifically assignment expressions. Here's the new example.
begin
  ("not a number".to_i)
rescue e : Exception
  puts e.class
end

This throws this exception:
Error in line 5: instantiating 'Crystal::Playground::Agent#i(Int32)'
in line 5: instantiating 'Crystal::Playground::Agent#i(Int32)'
in line 6: read before assignment to local variable 'e'

Without the parentheses, this works fine. I.E:
begin
  "not a number".to_i
rescue e : Exception
  puts e.class
end

outputs "ArgumentError" as expected

Just coming across this again on playground, any sort of block will do this.
{ foo = 1 }
foo

I've recently closed two duplicates of this issue and try to summarise the reasons for this behaviour.
A minimal example for the typical failing case would be this:
p a = 1
a # Error: undefined local variable or method 'a' for top-level

Compiling such a program with a regular compiler (like crystal eval) would be no issue. The playground however applies instrumentation to the code before compiling it. Essentially, each line is wrapped in a block to capture its value so it can be displayed on the right column.
You can see the actual code being compiled when running the playground in verbose mode (-v):
# instrumented in playground
_p.i(1) do
  p(a = 1)
end
_p.i(2) do
  a
end

Since a = 1 is assigned in a block, it's scoped to that block and the local variable does not exist in top level scope.
This is only a problem when an assignment is used as a method argument (in this case, of method p). When the top expression of a line is an assignment, the playground takes care of this:
a = 1
a

# instrumented in playground
a = _p.i(1) do
  1
end
_p.i(2) do
  a
end

It could technically work to have the same behaviour with assignments as arguments, but it's not always correct. For example, assignments can be used as arguments to macros and then they don't mean an actual assignment to a local variable.
a = 0
record Foo, a = 1
p a # should be 0, not 1

It's impossible to tell from the syntactical code stage whether an assignment as call argument actually assigns to a local variable or not.
So this is hard to solve.
For the time being we must live with some limitations in the playground. An immediate improvement however would be to improve the error handling. When a "read before assignment to local variable" error occurs in the playground, it could at least suggest to make sure that any assignment is not in a call argument. With a little code analysis it could even be improved by pointing out the exact location where the instrumentation breaks the code.

Fair enough. That makes a lot of sense. I hope there's a solution someday but I understand the limitation as you've put it. However, that doesn't explain the latter error that I encountered.

@dscottboggs That seems to be a different issue. Parenthesis should have no effect there. I've created a new issue for this: #9607


Fix Polish locale

This mostly fixes spaces and sentence order. It still sounds stiff but it comprehensible.

Thanks @Quintasan
Will be present in a new version


Zerver publish

Made a server class that implement a pub server.

Coverage remained the same at 100.0% when pulling 370bf28833b34ee22f6d293a9cf9239d44d882c1 on zerver-publish into f4c0a70353b098dcf9d90a847c85faa65d1d2f96 on master.

Minor comment out of curiosity. The rest looks mergeable :+1:

Coverage remained the same at 100.0% when pulling b7cca7ee4e61665d222b9c29e268c3c8a575802e on zerver-publish into f4c0a70353b098dcf9d90a847c85faa65d1d2f96 on master.


Let people know the average price they bought in at

I think an additional piece of data would be useful in the holdings modal.  When you buy/sell shares, basically take the amount your cash decreased/increased by and divide by number of shares you bought/sold and that gives you the average price per share you bought/sold at.  Would be useful to have this stored in the holdings modal.

Added in AugurProject/augur.js@7ca2337e6a9d940ff684e7143e92400bf0d29e07 / ccf369688980fabf7d4dff8d09419271309f6560.


support express (and other libs?)

Do you plan to support regular node libs like express? I mean I'd love to write app in node and then "compile" it to an unikernel which could be then run in a cloud.
And just maybe if you want this too, is there any way I could help you? :)
Or at least a list/wiki of things which has to be done first?

So far I think it was planned to add a Node.js compatibility layer. Until that, you can use NodeOS, that recently added a way to work as a Single Process OS.
Disclaimer: I'm lead developer of NodeOS.

If it helps, I made a basic/ simpler express module that could help:
https://libraries.io/npm/iotjs-express
It was made for IoT.js (you may consider to rebase runtimejs on iotjs) but it works on nodes too.


test_efficientnet backbone test fail

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
I have read the FAQ documentation but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
Run efficientnet backbone test under tests/test_models/test_backbones.It failed with import EfficientNet.
Reproduction

What command or script did you run?

pytest test_efficientnet.py

Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
Traceback:
/usr/lib/python3.6/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_efficientnet.py:4: in <module>
    from mmdet.models.backbones import EfficientNet
E   ImportError: cannot import name 'EfficientNet'

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

@Alicture How was your mmdet installed?


Method names do not follow godot conventions

Actual:
ClassDB::bind_method(D_METHOD("createLobby", "lobby_type", "max_members"), &Steam::createLobby, DEFVAL(2));
Target:
ClassDB::bind_method(D_METHOD("create_lobby", "lobby_type", "max_members"), &Steam::create_lobby, DEFVAL(2));

While this is true, I intentionally kept the names as Steamworks has them; mostly to be 1-to-1 with the SDK and prevent any possibly name overlaps with Godot's ever-growing code base.   I am a fan of snake-case though!

The responsibility of this conversion for the user is of gdscript and is exactly that library.
My suggestion would be to at least change the bind method names.

Consider it considered!  A possible problem with taking this route is causing severe breakage for anyone already using GodotSteam and a ton of updating all over the place.

Consider it considered! A possible problem with taking this route is causing severe breakage for anyone already using GodotSteam and a ton of updating all over the place.

Perhaps the methods should still be there but marked depercated for a time with a warning.

All branches are getting some big patches soon but changing the naming convention won't be part of it.  We may revisit this when Godot 5 comes (which at the speed they're going might be next year); like how we considered breaking up different Steam classes when Godot 4 came.
I think at this point the changes are too big to make.  That being said, it is added the to-do list to re-examine when the time comes!


[Blockbench Plugin] Item display settings export doesn't works

Click File->Export -> Export Geckolib Display Settings, and there is no reaction. More specifically, there is no window popup.
Try reinstall plugin & blockbench also do not work.
Blockbench Version: 4.0.5
Plugin Version: 3.0.1
System: Win 10
GeckoLib Model Setting: Block/Item
Saving Model Project as: .bbmodel (converted)
Related with #196
Additional Info, console of blockbench app:

Maybe related with this line  at the plugin repo
Posible problems:

Fetching unexisting metadata from .bbmodel file

Export models as .geo.json works fine.

Solved at the geckolib Discord. Thanks

@D4RKAR117
thw link is down !


librewolf-bin: 129.0.2-1 -> 131.0.2-1

Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2024-51/#CVE-2024-9680 / CVE-2024-9680
See #347598

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This package doesn't exist in 24.05, disregard the message above ^^


Can't listen audio stream from icecast server

Hi. I'm using icecast to stream audio. I'm trying to create a bot to listen to this audio stream but i can't make it working. It's a normal http audio stream.... Can someone help me ?

I'm getting no match

putting aside the fact that the issues might not be the correct place to ask, can you post some more details? what's your code at the moment? can you provide an example URL? etc. etc.

Oh sorry, I missed to give the code.
File DiscordMusicManager.java :
`package fr.flashonfire.ldradiobotserver.music.discord;
import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager;
import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager;
import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.track.AudioPlaylist;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
import fr.flashonfire.ldradiobotserver.music.discord.objects.DiscordMusicPlayer;
public class DiscordMusicManager {
private final static AudioPlayerManager manager = new DefaultAudioPlayerManager();
private final static DiscordMusicPlayer player = new DiscordMusicPlayer(manager.createPlayer());

public DiscordMusicManager() {
	AudioSourceManagers.registerRemoteSources(manager);
	AudioSourceManagers.registerLocalSource(manager);
}

public synchronized static DiscordMusicPlayer getPlayer() {
	return player;
}

public static void addSource(String source) {
	manager.loadItemOrdered(player, source, new DiscordMusicManager.AudioLoad());
}

private static class AudioLoad implements AudioLoadResultHandler {

	@Override
	public void trackLoaded(AudioTrack audioTrack) {
		System.out.println("loaded");
		DiscordMusicManager.getPlayer().playTrack(audioTrack);
	}

	@Override
	public void playlistLoaded(AudioPlaylist audioPlaylist) {
	}

	@Override
	public void noMatches() {
		System.out.println("nomatch");
	}

	@Override
	public void loadFailed(FriendlyException e) {
		System.err.println("Impossible de jouer la piste (raison: " + e.getMessage() + ")");
	}
}

}
File DiscordMusicPlayer.java :package fr.flashonfire.ldradiobotserver.music.discord.objects;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
public class DiscordMusicPlayer {
private final AudioPlayer audioPlayer;
public DiscordMusicPlayer(AudioPlayer audioPlayer) {
	this.audioPlayer = audioPlayer;
}

public AudioPlayer getAudioPlayer() {
	return audioPlayer;
}

public AudioPlayerSendHandler getAudioSendHandler() {
	return new AudioPlayerSendHandler(audioPlayer);
}

public synchronized void playTrack(AudioTrack track) {
	audioPlayer.startTrack(track, false);
}

}
`
File AudioPlayerSendHandler.java :
`package fr.flashonfire.ldradiobotserver.music.discord.objects;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
public class DiscordMusicPlayer {
private final AudioPlayer audioPlayer;
public DiscordMusicPlayer(AudioPlayer audioPlayer) {
	this.audioPlayer = audioPlayer;
}

public AudioPlayer getAudioPlayer() {
	return audioPlayer;
}

public AudioPlayerSendHandler getAudioSendHandler() {
	return new AudioPlayerSendHandler(audioPlayer);
}

public synchronized void playTrack(AudioTrack track) {
	audioPlayer.startTrack(track, false);
}

}
`

I can't let the audio stream running now. I have to go, sorry

My browser can listen to the stream on this url. But when i use the same url with lavaplayer, I'm getting no match.

Oh, I found my error. I wasn't calling the constructor at any time so the sources weren't registered....
Anyway, thank you for your help ! :wink:


pyglet.gl.ContextException: Could not create GL context - when trying to create a window

Describe the bug
Hi, I'm coding on a remote computer and I have the following issue when I try to create a window in pyglet:
Traceback (most recent call last):
  File "main_pyglet.py", line 7, in <module>
    window = pyglet.window.Window()
             ^^^^^^^^^^^^^^^^^^^^
  File "/site-packages/pyglet/__init__.py", line 321, in __getattr__
    __import__(import_name)
  File "/site-packages/pyglet/window/__init__.py", line 1929, in <module>
    gl._create_shadow_window()
  File "/site-packages/pyglet/gl/__init__.py", line 165, in _create_shadow_window
    _shadow_window = ShadowWindow()
                     ^^^^^^^^^^^^^^
  File "/site-packages/pyglet/gl/__init__.py", line 159, in __init__
    super().__init__(width=1, height=1, visible=False)
  File "/site-packages/pyglet/window/xlib/__init__.py", line 138, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "/site-packages/pyglet/window/__init__.py", line 538, in __init__
    context = config.create_context(gl.current_context)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/site-packages/pyglet/gl/xlib.py", line 105, in create_context
    return XlibContext(self, share)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/site-packages/pyglet/gl/xlib.py", line 127, in __init__
    raise gl.ContextException('Could not create GL context')
pyglet.gl.ContextException: Could not create GL context

The code works in pyglet 1.5.28 but doesn't in 2.0.
I guess the code is not the problem (import pyglet; window = pyglet.window.Window() ). I'm using a remote computer which doesn't have a display, which may be the main issue. It works with a remote desktop software and I have a standard GUI (xfce), all usual programs work with no issue with their GUI on this setup. It's like streaming a virtual display.
Perhaps there is a specific way to call openGL in this situation?
It seems this issue already existed: https://github.com/mmatl/pyrender/issues/13 , but nothing in there worked for me.
System Information:
Ubuntu 20.04 / RTX 2070 Super

Platform
platform:  Linux-5.4.0-65-generic-x86_64-with-glibc2.31
release:   5.4.0-65-generic
machine:   x86_64
Python
implementation: CPython
sys.version: 3.12.1 | packaged by Anaconda, Inc. | (main, Jan 19 2024, 15:51:05) [GCC 11.2.0]
sys.maxint:<PHONE_NUMBER>854775807
pyglet
pyglet.version: 2.0.10
pyglet.compat_platform: linux
pyglet.file: pyglet/init.py
pyglet.options['audio'] = ('xaudio2', 'directsound', 'openal', 'pulse', 'silent')
pyglet.options['debug_font'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_gl_trace_args'] = False
pyglet.options['debug_gl_shaders'] = False
pyglet.options['debug_graphics_batch'] = False
pyglet.options['debug_lib'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_texture'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_trace_depth'] = 1
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_input'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['vsync'] = None
pyglet.options['xsync'] = True
pyglet.options['xlib_fullscreen_override_redirect'] = False
pyglet.options['search_local_libs'] = True
pyglet.options['win32_gdi_font'] = False
pyglet.options['headless'] = False
pyglet.options['headless_device'] = 0
pyglet.options['win32_disable_shaping'] = False
pyglet.options['dw_legacy_naming'] = False
pyglet.options['win32_disable_xinput'] = False
pyglet.options['com_mta'] = False
pyglet.options['osx_alt_loop'] = False

pyglet requires OpenGL 3.3+ since v2.0. You can check what's available in your remote context with: glxinfo | grep OpenGL.
If OpenGL 3.3+ is not available for your hardware, and you're using the MESA stack, you can force software rendering. For example:
LIBGL_ALWAYS_SOFTWARE=1 python -m pyglet.info

The output shows that you are already using the software renderer (llvmpipe). The latest versions of llvmpipe do support up to OpenGL 4.6, but I don't know about 21.2.6. It should support at least GL 3.3, but it doesn't appear to on your system.
Are you expecting your NVidia card to be used? If the glxinfo output is the same with or without the ALWAYS_SOFTWARE, then your NVidia driver isn't in use.
I'm not sure what to suggest at this point, but glxinfo is a good test point to see what drivers are being used.

The output is the same with and without the flag. The driver and the nvidia card are used and do work with pytorch for example. I can use nvidia-smi, see vram usage, launch jobs on gpus etc.
I guess I'm on a specific configuration, it's not easy to correctly install nvidia drivers for my needs (pytorch gpu, remote desktop, etc.) and for example "nvidia-settings" doesn't work in this situation so I guess it's a bit unstable. I know nvidia proprietary drivers can cause troubles in some situations but they are required for some of my work. I could try to update the driver but I can't do it just now. I can code with pyglet on another platform so it's not a big issue.
If pyglet requires opengl 3.3+ and I don't have it, it's on me! Thanks for the support!

Just to note, pyglet 2.x requires OpenGL 3.3+
Pyglet 1.5 can use the older OpenGL calls. Your best bet would be to try that.
I will close this for now, but if you have any questions, feel free to reach out.


Double ffmpeg process was being created when receiving multiple onDat…

Running in Windows I got 2 main task processes started as multiple onData calls were executed. This change makes sure that the main task only gets started once.

Is it possible to get this reviewed and merged? Thanks!

This issue still persists. The CLI runs ffmpeg twice.
CC @sidneys What's the status on this repository? Should it be archived?


Removes unwrap in epoch alignment

DateTime::UNIX_EPOCH gives us a certain result

Hey could you look into signing the commits?  I think most of us use gpg keys for signing: https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key
https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

Also you need to add this file to .github/workflows: https://github.com/frequenz-floss/frequenz-client-base-python/blob/v0.x.x/.github/workflows/release-notes-check.yml


fix: incorrect chunk splitting

get_chunk::ChunkSize::Bytes seems to be buggy 🤔
Switched to get_chunk::ChunkSize::Percent as workaround

@brainrepo get_chunck maintainer fixed the issue on the latest version https://github.com/m62624/get_chunk/commit/5b74223fc4d1b0793c1721e676f228109653ca54
Updating to 1.2.0 is enough.


Add markdown formatting to the Blog Description text area

This would allow for the inclusion of links and other general formatting.

Hey @auermi, thanks for your enthusiasm for making Ghost better. However, Github's not the place for feature requests - you're looking for the ideas page. We use Github exclusively for bug tracking and ongoing implementation work.


livereload

Hooks are already in place in html, should probably add to sheetify hooks to send a msg when updated

Whats involved in getting this in?

Hmm, goooood questiooooon. I believe we're already injecting the script into the html so what we'd need to do then is trigger the script each time CSS is updated. Something like that hmm
The fancier stuff would then be to also add hot reloading but that's just an extra plugin on top of this hmm

I didn't see the live reload script last night when I tried the example. (https://github.com/yoshuawuyts/bankai/pull/69 for some minor changes to that).
I could be trippin

Oh odd, seems it was removed in the latest patch. Ah well, could easily be restored C: https://github.com/yoshuawuyts/bankai/blob/0077f522b5d3ba0a1060c725c833f098e3749fbc/handler-html.js#L1

Actually the livereload script was never included. Is this worthwile given hmr could be implemented instead?

yeah guess we could add hmr for css at low cost too so that seems like the better way to go for sure

I would rather see live reload if it means seeing it sooner than an HMR solution.  I've not had great experiences with HMR in the past.  It requires that you modify code to work with it right?

@bcomnes nah in this case we would go for the naive option - save the state object globally; reload the <script> tag with the new script and reattach the state. Using SSE / WS it should be fairly straight forward. But as you say it could indeed lead to edge cases when modifying models so yeahhh. Overall I think it's useful in some cases for sure

What about people who want to use bankai for projects that don't have global state the same way choo/redux style apps do? Just browserify built apps. They'd probably need live reload.

Boils down to: What is this? A beefy/budo clone or something more specialized?
My view of bankai

tailored to "idiomatic" choo
batteries (hmr, css-in-js, index html, build) included
zero config
use budo if you need more flexibility

I think you're both right. The way I view bankai is probably somewhere in the middle:

library to hook into a streaming HTTP server to serve frontend bundles
CLI with sensible defaults for developing single state application (e.g. choo)
CLI with sensible defaults for creating production ready static files
flexible enough to be used with other frontend frameworks by toggling flags

Does that make sense?

closing in favor of #31


Real Time

Hi
Is there a implementation available to run this model real time on a video stream.
Thanks
Sieuwe

The ENet-SAD model can run in real-time but is different from the lanenet model. More details can be found here.

@sieuwe1 Not have tools to implement that yet:)

@MaybeShewill-CV  thanks for your reply. I did try to make it real time by adding a while loop that loops over the frames of a video and then runs your model on every frame. But this was really slow! Something like 1 frame per 5 seconds.
@cardwing  is there an python implementation for this model?
Greetings Sieuwe


Daily Limit Prompt - Fulfill Withdraw Request

Agent who tries to fulfill a  withdraw request above cUSD 1000 or equivalent and has a daily max limit of cUSD 1,000 gets this prompt

Figma link: https://www.figma.com/file/ERJ7bYyBWdqJw1ID9nZJ2N/Wakala?node-id=5945%3A10787

covered in design changes


Add cors

Codecov Report

Merging #4 (c66940d) into dev (fd65c8e) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##             dev      #4      +/-   ##
========================================
- Coverage   7.23%   7.08%   -0.15%
========================================
  Files         29      29
  Lines        525     536      +11
  Branches       6       6
========================================
  Hits          38      38
- Misses       487     498      +11

Impacted Files
Coverage Δ

src/Vulder.Admin.Api/Startup.cs
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


nits (duplicate for CI testing): sort imports, doc typos, minor cleanups

this is the same tree as #661, but broken out into finer-grained commits, partly to triage/debug the most recent CI failure

an innocuous change by black was breaking some codegen in the test harness https://github.com/Netflix/metaflow/pull/885#issuecomment-1007106077 closing


Visual Studio Code Windows version Issue

Type: Bug
When i opened vs code, it says vs code on windows 8 will stop receiving updates,consider upgrading your windows version, but i am having windows 11. Then why i am i being shown this notification. I even checked for updates but it says no updates available. Also i am not able to sync the settings despite being login in. Please look into this matter.
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 6.2.9200
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i3-1215U (8 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.68GB (2.00GB free)

Process Argv
--crash-reporter-id eb289106-11d2-40c7-8535-bb93afafe2ac

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

codesnap
adp
1.3.4

githistory
don
0.6.20

gitlens
eam
15.1.0

code-runner
for
0.12.2

git-graph
mhu
1.30.0

indent-rainbow
ode
8.3.1

java
red
1.32.0

errorlens
use
3.20.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-java-debug
vsc
0.58.0

vscode-java-dependency
vsc
0.23.7

vscode-java-pack
vsc
0.27.0

vscode-java-test
vsc
0.41.1

vscode-maven
vsc
0.44.0

vscode-icons
vsc
12.8.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyonecf:30548226
vscrpc:30673769
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
0ee40948:31013168
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
legacy_priority:31082724

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

Have you configured code.exe (or the Windows shortcut that you launch it from) to use Windows 8 Compatibility mode?

Have you configured code.exe (or the Windows shortcut that you launch it from) to use Windows 8 Compatibility mode?

No

The issue has been solved now.
Here's what I did: I uninstalled VS Code and then installed it again.
Note : I was still signed in.
After installing and opening Vs Code, it was running under administrator, i fixed this by going into the properties of Vs Code -> compatibility tab -> unchecked run this program as an administrator.
Again when i opened VS Code, the terminal was blank; it was not responding. I searched the web and found out a solution.
Again in the properties of VS Code, -> compatibility tab -> unchecked the compatibility mode i.e run this program in the compatibility mode.
Right now everything works fine.


Baseline Offset is dependent on Number of Spin Systems

Steps to reproduce:

Create a new document
Add BlochDecaySpectrum for 1H
Go to Methods tab and add Constant Baseline Offset of 1 under Signal Processing
Go to Spin Systems tab
Add new 1H spin system
Observe baseline on the spectrum
Repeat from step 5 for desired number of spin systems

Expected behavior:
The spectrum always shows a baseline at 1
Observed behavior:
The spectrum baseline is dependent on the number of spin systems. For n>1 spin systems and a defined baseline offset of b the observed offset is n*b

The issue stems from these lines of code
https://github.com/deepanshs/mrsimulator-app/blob/933f373696222eb9bf71aa1f89403ed8bf1fd5b3/app/sims/__init__.py#L172-L174
The individual spin systems have the signal processor operations applied before being combined into a spectrum. When each of n spin systems each have a baseline offset of b applied then adding them together will result in a spectrum baseline offset of n*b

Root of issue lies deeper within mrsimulator app. The fix in #21 is temporary. Further discussion on how to proceed is necessary. Also see #32


Break code into smaller files for easier maintenance

OpenTurbine's latest enhancements were done in a few files, which have now gotten rather long.  The task here is to improve maintainability by splitting the code into smaller chunks.

Code has been broken up into many small files, with the files related to the solver located in their own folder to hopefully improve organization.


Use Dependabot to check for GitHub Actions updates

Changes:

Use Dependabot to check for GitHub actions updates

Context:
This will help you keep your GitHub Actions up-to-date as well.

Wow, didn't know dependabot can do that! Thanks.

No problem, happy to help out with configuring Dependabot! :tada:
I hope you can get your kindlegen replacement project working, good luck with that! :smile: :+1:

As you may have seen, I am almost there. Only need to figure out why Kindle Previewer only shows KF7 even though KF8 is in file and why Calibre crashes when tries to open my files :) Though I hope this is a single problem. I'm not filling a lot of Mobi fields that seem to be optional, but possibly some of them is less optional than others.


Responsive items work incorrectly

Issue description:  Slider navcontainer doesn't display correct number of buttons when using responsive option "items".
This is basically the same issue that was reported here: https://github.com/ganlanyuan/tiny-slider/issues/91
I recorded video showing this issue on your own demonstration page https://ganlanyuan.github.io/tiny-slider/demo/ with "Responsive" example. Please see screen recording.
Demo link/slider setting:
responsive_items_issue.mov.zip
Tiny-slider version:  2.9.3
Browser name && version:  Google Chrome Version 89.0.4389.90 (Official Build) (x86_64)
OS name && version:   macOS Catalina Version 10.15.6

Looks like the bullets are related to the amount of pages, which seems to be right.

Oh, so that's the feature! I'm closing this issue then, but got a question: is there possibility to reflect number of total images as buttons? I.e. in video example that would be 6 buttons regardless of viewport width. Thanks!


Wild exception appeared with large area scans with many accounts (480)

Trying to map my whole city and a few other towns around it with about 57 square km.
I'm using 480 ptc accounts with this.
I can scan the whole region if i set this up in steps.
1 - scan a smaller region
2 - scan smaller region with more accounts
3 - scan bigger region
4 - scan bigger region with more accounts
etc till i've reached my whole region.
But after a while (say 30 mins) it tries to log them all in again and i'm getting a lot of exceptions.
The same happens if i mark my whole region and all those 480 ptc accounts for the first time.
Some exceptions are:
[2016-08-11 15:00:02,596][worker-128][   ERROR][L 125] A wild exception appeared!
Traceback (most recent call last):
  File "worker.py", line 103, in run
    password=config.ACCOUNTS[self.worker_no][1],
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 162, in login
    self.set_authentication(provider, username=username, password=password)
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 82, in set_authentication
    self._auth_provider.user_login(username, password)
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/auth_ptc.py", line 63, in user_login
    r = self._session.get(self.PTC_LOGIN_URL, headers=head)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 487, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 467, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='sso.pokemon.com', port=443): Max retries exceeded with url: /sso/login?service=https%3A%2F%2Fsso.pokemon.com%2Fsso%2Foauth2.0%2FcallbackAuthorize (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8464206950>: Failed to establish a new connection: [Errno 24] Too many open files',))

OR
[2016-08-11 15:00:02,347][worker-289][   ERROR][L 140] A wild exception appeared!
Traceback (most recent call last):
  File "worker.py", line 135, in run
    self.main()
  File "worker.py", line 177, in main
    map_objects = response_dict['responses'].get('GET_MAP_OBJECTS', {})
TypeError: 'NoneType' object has no attribute '__getitem__'
[2016-08-11 15:00:02,347][worker-184][    INFO][L 253] Server seems to be busy or offline - try again!
[2016-08-11 15:00:02,347][worker-184][    INFO][L 260] Cleanup of request!
[2016-08-11 15:00:02,347][worker-184][    INFO][L 147] Finished RPC login sequence (app simulation)

Or

[2016-08-11 15:01:30,938][ worker-99][   ERROR][L 125] A wild exception appeared!
Traceback (most recent call last):
  File "worker.py", line 103, in run
    password=config.ACCOUNTS[self.worker_no][1],
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 168, in login
    response = self.app_simulation_login()
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 145, in app_simulation_login
    response = request.call()
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 226, in call
    response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/rpc_api.py", line 131, in request
    response = self._make_rpc(endpoint, request_proto)
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/rpc_api.py", line 119, in _make_rpc
    http_response = self._session.post(endpoint, data=request_proto_serialized, timeout=30)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 518, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 403, in send
    timeout=timeout
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 578, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 354, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 324, in _raise_timeout
    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6
TypeError: __str__ returned non-string (type Error)

Any help would be useful!
EDIT
It seems that when i start with little workers (4,5) and then increase to use all my workers (20,24) it works but i have to kill the app in between :/
But once it decides to sleep and eventually kill the workers i have to stop the app to prevent exceptions (which will come in about 15 minutes)

My whole area scan is 33 km^2 and I'm using 50 workers and it's fine,  maybe you're using so many.

@DavidSelem i could do that but in the end i want to map whole the netherlands.
Which eventually will be needed like 3000 logins..
Running 50 accounts does indeed work but is way too slow to map a whole country or even a region.

Definitly too many workers - there is something about the workernumber in the readme. (unless you have a huge scan delay...)

Exceptions:

[Errno 24] Too many open files
There is a limit of open files your OS can have. You can look into increasing this if you really want to. Check ulimit as a keyword for linux
TypeError: 'NoneType' object has no attribute 'getitem'
Yeah there is a check missing - will look into this. This happens when the server says there is nothing to see.
Yes I'm getting this one myself too often but mapping the whole netherlands will definitly need proxys to get around the limits and in my opinion is over the top.
That one I have not seen yet. Maybe related to 1. But thats an error in the API

@Aiyubi I've check the ulimit. This is default set to 1024.
Furthermore the scanning just works fine when mapping a very big area.
Just when logging in it creates those exceptions.
Logging in 20 workers at the same time is peanuts.
After logging in those 20 workers i can log in all those others 460 accounts with no problem.
So it could be possible scanning the whole netherlands.
About sending too many requests from my ip i'm currently using just one proxy account which works great with these 480 accounts. Except from logging in. After they're logged in it crashes and results every worker to get the status exception or login fail.

just ran another test
It seems the proxy i was using was not that great.
I've entered a new proxy and i can easily log in those 480 accounts. I wonder what it does when it reaches the first sleeps/killing states (after 15 minutes) I'll keep ya guys updated

Just ran two tests.
One where i've upgraded my ulimit to 40.000 open files. This resulted in instant exceptions. When reverted back i've ran it again. Still getting exceptions after 10-15 minutes.
I can however log on to those 480 accounts the first time i run this script. It takes a while but it works

I'm also getting a lot of these errors:
Traceback (most recent call last):
  File "worker.py", line 103, in run
    password=config.ACCOUNTS[self.worker_no][1],
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 168, in login
    response = self.app_simulation_login()
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 145, in app_simulation_login
    response = request.call()
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/pgoapi.py", line 226, in call
    response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/rpc_api.py", line 131, in request
    response = self._make_rpc(endpoint, request_proto)
  File "/home/baklap4/pokeminer/src/pgoapi/pgoapi/rpc_api.py", line 119, in _make_rpc
    http_response = self._session.post(endpoint, data=request_proto_serialized, timeout=30)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 518, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 403, in send
    timeout=timeout
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 578, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 351, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 814, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py", line 289, in connect
    ssl_version=resolved_ssl_version)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 350, in ssl_wrap_socket
    rd, _, _ = select.select([sock], [], [], sock.gettimeout())
ValueError: filedescriptor out of range in select()

This has to do with more than the 1024 connections what are made with so many accounts.
According to this question: http://stackoverflow.com/questions/14250751/how-to-increase-filedescriptors-range-in-python-select
The way to go is using .poll() instead of select() as this does not suffer from it?

@Baklap4 there is an issue on pyOpenSSL pyopenssl/issues/168 shazow/urllib3/issues/589

@gunawanputra so is there a way to remove the timeout parameter? (to make the workaround work?)

Hmmm after starting my laptop today it does not fall into exceptions.
Yesterday i've upgraded my ulimit to 20480. Then did a restart (which was not needed they said.) Well right now it does not crash so i think it is "solved"?

Alright another update
I've stopped the worker.py script myself after 3 hours without exceptions.
Now i'm restarting it with no additions to the config or whatsoever. And i'm getting the same exceptions again as i was getting yesterday (shown above). The problem still persists :/

Alright i think i've figured out what the problem is.
There are more than 1024 outgoing connections if i have more than 500 accounts running.
Since linux can't have more than 1024 outgoing connections i'm stuck.
I've tried things like changing the port range and so it didn't work. Any other ideas?

Running the programs separate from each other works while exceeding the 1024 limit.

You really can run 3000 accounts at the same time? Wow... How do you not get banned when starting the workers up?
I can only safely use around 200 workers (mapping 2 small cities), everything above ~220 just throws LOGIN_FAILED or EXCEPTION. i then wait for a few minutes and reset my vpn service to get a new IP and everything works again - as long as i´m using less than 220-250 workers.
yesterday i tried to fire up 400 accounts, but not a single one logged in... do you use a mix of PTC and google accounts or just PTC?

I can safely run up to 480 acvounts on one instance.
The thing you see with 'login bad' or 'login failed' is just saying something went wrong during logging in. if you see 'exception' it could mean youve hit your max limit of open outgoing connections. In my case that would be 1024 per application.
With 480 accounts i reach around 900 'open' connections. Which is less than 1024 so not crashing into exceptions.
Im currently running 2 instances with 480 and 375 ptc accounts all coming from 1 ip address. Its been running fine for 12 hours straight now with a remote mysql database.
Im also noticing rhings with the upload speed.
Since my database is remote i have to upload data to the database. Im on a 2mbps uplink which is not much. Therefore i see sometimes an exception/loginfailure.

when i use 330 bots i get a temporary ip bann :O what did u do to not get banned ?


[WIP] Drop serverless.openshift.io/default-enable-http2 annotation

test only

The failure is expected. We still need the annotation.


Integration tests

A set of manual or automated tests to ensure we dont break things

Things We can test in browser
For Mobile and For Desktop Do the right wallets show up
Things that need network or mock
metamask Connection
wallet Connect
ledger connection


Transfer workspaces to other displays when the lid of the laptop is closed

Description
Explanation:
Currently if the user has a laptop connected to an external display and closes the lid of the laptop, the workspaces are still accessible in a "dead area".
This "dead area" under hyprland is still accessible. The user can move windows to that area and his mouse.
Typically most desktops auto disable that display not only under other Linux desktops but also other operating systems. You only find this odd behavior in old X11 based desktops like XFCE and MATE.
Solution:
I think hyprland should autodisable that display and let the workspace move to another active display. It don't really see a scenario where someone with a closed lid would want to continue working under a display that is turned off.
Additional information:
I do have a half baked workaround that kind of fixes the issue however the problem with this workaround is that it causes odd behavior that breaks hyprlock when the laptop is disconnected. Meaning the user needs to make sure to edit his config after disconnecting a laptop(a hassle).
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1, 1920x1080, 0x0, 1.2
monitor=HDMI-A-1, 1920x1080@60, -1920x-600, 1

# LAPTOP LID STUFF
bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1.2"

Alternative solution:
If the auto disabling display solution is not desirable, I will open an issue on Hyprlock in regards to the other issue that is caused by this, referencing this issue.

I'm not sure this is a firmware issue because as far as I can tell this issue seems to only happen on hyprland.
Do you happen to know what project is responsible for lid sensors? I might just contact them.

does it work in sway?
regarding lid sensors, that'd probably be in the kernel

i don't even consider sway as an option but now that you mention it no.
Reganding the lid sensors, it seems like they work fine

the manual method is the intended one.


Resource Service Instance - Missing field

The resource for service instances is missing the parameter --data-center as input parameter for the CREATE operation.
This should be added to enable the service instance creation in satellite DCs
See: https://help.sap.com/docs/btp/btp-cli-command-reference/btp-create-services-instance

@Thanhphan1147 first of all thanks for picking up this issue. I just checked the API (https://api.sap.com/api/APIServiceManagment/) and did not find this parameter. I will check with the BTP CLI team for a scenario where this parameter can be used


blurRadius Property like  Tag doesnot work in react-native-fast-image Library in android

Describe the bug
Blur Effect on FastImage doesnot doesnot Show, it can work on the Normal Image Tag in react-native
But doesnot work on This Package.
To Reproduce
Steps to reproduce the behavior if possible, or a link to a reproduction repo:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Dependency versions

React Native version: 0.60.4
React version: 16.8.6
React Native Fast Image version:7.0.2

Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

https://github.com/DylanVann/react-native-fast-image/pull/591


RLP-715/Possible fix LC-FN-LC Pay

This PR aims to solve the same hub LC to LC mediated payments.
Suposse the following topology:
LC1 --- FN --- LC2
A mediated transfer from LC1 to LC2 implies two payments, LT1 (LC1 to FN) and LT2 (FN to LC2)
The raiden protocol establsih that two LT that are part of the same mediated transfer have the same Payment_identifier, therefore the LT received by the hub acting as a target node will not be stored.
Why isnt stored? The msg existence query checks for:

same payment id (true)
same msg order (true, the msg order is 1 for LT)
same type (true, locked transfer)

Solution:
Check also for message_identifier to determine if it is the same msg or not.
Note: this happens only If LC1 and LC2 are registered on the same hub
There is also another modification needed:

message 5 (SecretRequest) and7 (RevealSecret)are msgs between the LC1 and LC2, therefore must be assigned to both light clients.

Check comments about handle_send_secret_reveal_light  and handle_inittarget_light on the code

putting this on hold since #145 might fix it

Solved on #145


Enhancement: Chrome DevToolsDriver should get chrome.exe location dynamically on Windows OS

I believe that previously, Chrome setup (default) was installing chrome.exe at C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe for Windows OS
New version of Chrome Setup (default 64-bit) is installing to default location C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe and Karate Chrome class has hard coded value set to C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
There is workaround to pass executable in configure driver and there is an another way to find location of chrome.exe dynamically by using following dependency and registry query.
        <dependency>
            <groupId>net.java.dev.jna</groupId>
            <artifactId>jna-platform</artifactId>
            <version>5.9.0</version>
            <scope>test</scope>
        </dependency>

Use following code snippet
String defaultChromePathWin;
try {
defaultChromePathWin = Advapi32Util.registryGetStringValue(WinReg.HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\chrome.exe", "Path")
} catch (Exception e){
defaultChromePathWin = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
}

@ptrthomas Your thoughts?? If you want then I can submit PR on this approach or else you can 👍 (extra error handling can be added to check if the file exists)

1.2.0 released


Feat:want to fix ui of frequntly Asked Question #1992

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1992
Description
fixed Ui of pyq Section
Before::

After:

Type of PR

[ ] Bug fix
[ y] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[y ] I have made this change from my own.
[ y] I have taken help from some online resources.
[ y] My code follows the style guidelines of this project.
[y ] I have performed a self-review of my own code.
[ y] I have commented my code, particularly in hard-to-understand areas.
[ y] I have made corresponding changes to the documentation.
[y ] My changes generate no new warnings.
[y ] I have tested the changes thoroughly before submitting this pull request.
[ y] I have provided relevant issue numbers and screenshots after making the changes.

Hey @huamanraj  as i can see you have not Assigned level to this please assign level to it

Hey @huamanraj  as i can see you have not Assigned level to this please assign level to it

Important Note:
This repository serves as a gateway for newcomers to explore open-source projects. To ensure fairness in learning, we're introducing a cap on the points awarded to individual contributors. Going forward, each contributor will be restricted to earning a maximum of 150 points. and there is no level for some too basic changes!!. This limitation specifically applies to the GSSOC project.
Thank you for your understanding and cooperation in maintaining an inclusive learning environment.


sinfo is showing incorrect cores and sockets

I have spun up a 8-node c5.4xlarge cluster. It has 16 vCPUs. However, sinfo shows 16 sockets.
sinfo -o '%9P %4c %8z %8X %8Y %8Z'
PARTITION CPUS S:C:T    SOCKETS  CORES    THREADS
compute*  16   16:1:1   16       1        1

Has something changed in slurm setup?
I have used the template directly.
Thanks
Santi

In 1.5.2 we added slot count to slurm: https://github.com/awslabs/cfncluster/releases/tag/v1.5.2

Thanks. Is there a plan to enable [sacct](https://slurm.schedmd.com/sacct.html) in any of the future releases?

Here's a blogpost on how to setup sacct.

Thanks Sean, seems like there is no open question here, I will go ahead and close this issue.
Feel free to re-open if there is any question!


In-Memory Export Parsing

This pull request adds two functions to DynamicInvoke -> Generic

GetLoadedModuleAddress: This function gets the base address of a module loaded by the current process. This avoids the use of LoadLibrary API variants but requires that the process already has the DLL loaded. The return value can be used in functions such as GetProcAddress / LdrGetProcedureAddress or for manual export parsing.
GetExportAddress: This function takes the base address of a loaded module and performs a manual search of the module export table to find a specific function pointer. This avoids the use of GetProcAddress API variants.

Missing a using System.Diagnostics;

Good catch, I was doing the dev in a harness and didn't copy that in. I also wrapped GetExportAddress in a try/catch in case the user doesn't check the base pointer before calling the function.

Thanks! Would you mind also updating the original GetLibraryAddress function to use your functions rather than LoadLibrary and GetProcAddress? That way everything that already uses DInvoke will now use your stuff.

Yep sounds good, the one caveat is that you can only get functions from modules that are loaded. I'll also add a wrapper function that allows you to GetExportAddress->ntdll!LdrGetDllHandle and then loads a DLL on demand if required.

Hmm. Maybe throw a FileNotFound exception when the module is not loaded successfully in LoadModuleFromDisk. Or maybe throw different types of exceptions based on the NTSTATUS error. Then you can catch that exception(s) and handle it in GetLibraryAddress. Or just not handle them and force the user to handle them whenever using GetLibraryAddress.

Other than that ^^, looks good! If you want, you can add an overload of GetLibraryAddress that takes a boolean variable on whether or not to load DLLs with LoadModuleFromDisk if they aren't already loaded. That way the user can choose whether to accept that risk.

Rgr that, leave it with me and I will make some Quality Of Service updates 👍

Thanks for the update! I'll add @cobbr as a reviewer and if he's good with a merge.
Something I'll bring up for everyone's input: Should we throw exceptions or return known-bad results when a handled error occurs?
My worry with returning false for DynamicAPIInvoke is that the user may be expecting to receive false from whatever API call they are invoking and are surprised when their results are not what they expected.
In GetLibraryAddress, maybe throw a System.DllNotFoundException exception when the module is not found and the user has not specified that we can load from disk? Could use the same in GetLoadedModuleAddress when the module has not been loaded. And, when they have specified we can load from disk, but the DLL is not found, we could throw a System.IO.FileNotFoundException. In GetExportAddress, maybe throw a System.MissingMethodException when the export is not found? Open to input on what exceptions to use and whether or not to use them.

Yep, I get your concern (when I write my functions I usually do struct based returns). Maybe we should define a set of custom exceptions, that could work. Let me know, I can write some more code on the pull request if needed 👍.

Talked it over with the SharpSploit team. Unfortunately we haven't been consistent about how to do error handling. The general principle we decided on, though, was to use standard library exceptions when they are relevant and then define custom exceptions when there are none that quite fit. I think some of the cases for DInvoke are covered by standard library exceptions, like those I mentioned in my previous comment. But some are.... not quite right.
In any case where there is ambiguity about what would be returned (especially in DInvoke), better to try to return exceptions. That way the user can handle as they want to. In other stuff, specific return values are fine.
Ultimately I think we'll leave it up to the best judgement of the contributor and rely on the PR review process to handle it on a case-by-case basis. But will plan to start being more consistent about error handling and other software engineering best practices.

Let me make some changes to the pull request.

I think that should do it.

Looks good to me!


Create the Divider primitive component

The Divider component will render an hr tag and should be able to be styled with variants or the sx prop. The default color of the divider line should be the muted property from the theme.
Divider should accept an orientation prop with the following accepted values: horizontal and vertical with horizontal as the default.
The component will live in the @kodiak-ui/primitives package and should have its own entry point just like the other primitive components.
Example usage
<Divider variants="md" />
<Divider sx={{ borderColor: 'primary' }} />

I can take this issue, please assign to me

Awesome, thanks @Shaun2D2. You've been assigned!


URL logged in the console is not fully clickable

Environment

Elixir & Erlang/OTP versions (elixir --version): v1.13.0
Operating system: Ubuntu 20.04.1
How have you started Livebook: Docker
Livebook Version: v0.5.2

Current behavior
When you run Livebook via Docker, it will print the URL in the console, but the URL is not fully clickable and you have to either copy-paste the token in the browser manually or copy-paste the full URL into the browser.
Expected behavior
It would be great if the full URL could be clickable.

Afaik this is not something we control. The terminal is the one that automatically recognizes the links and makes them clickable. For example, the link is clickable for me on iTerm if i hold the alt key (which is how it works on iTerm).

Actually we should be able to improve that, for me given http://localhost:8080?token=value the link stops at ?, however adding a slash as in http://localhost:8080/?token=value makes the whole URL clickable, so it shouldn't hurt to print that instead.

We always print the URL with slash though, don't we?

We always print the URL with slash though, don't we?

Nope. The URL is without the slash (i.e. http://localhost:8080?token=value)

Ah, it should add a URL but there is a bug in Elixir v1.13.0. Updating it to 1.13.2 fixes it.

Oh great, so we need to bump the Docker image then!


Export Scale task info

From Dataset or Slice, at either the item or scene level depending on the dataset.
See backend PR: https://github.com/scaleapi/scaleapi/pull/40840
Test Plan
Tested locally on prodclone with: scene dataset, scene slice, image dataset, image slice.
I don't think we can test this without linked tasks in Mongo :/ don't want to slow down our test suite by blocking on creating a linked task (e.g. send_to_labeling -> export_scale_task_info).
FWIW send_to_labeling tests are also disabled, and there are no tests for ingest_tasks :(

merging; ci failure was on a flake


Simplify parenthesized context manager parsing with LALRPOP conditions

LALRPOP is a bit more powerful than I realized. Its macros have a condition feature that let us easily create a subset of the expression grammar that doesn’t overlap with the with items grammar. Careful use of this feature lets us remove the cover grammar I added in #4329.
Now that the with.rs module is empty other than tests, maybe it makes sense to move the tests elsewhere? But I’ve left them as is for now.
(I’m feeling more confident that I understand LALRPOP’s limits, and I may have the beginning of a plan for correctly parsing match as a conditional keyword. I’ll try to get that working next.)
Cc @charliermarsh @youknowone

Amazing. match support would be incredible!


Add a small hook to check if opam metadata have been updated correctly

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:samoht/vpnkit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Seems to work:
ERROR: b05c13b405504c0930d5101d502cf2b007f919ef manually updates
opam/[darwin|win32]/packages/packages/upstream. Instead, please run:

    make -C opam

opam/check-upstream.sh returned exit code 1

Action failed: opam/check-upstream.sh

See https://github.com/docker/vpnkit/pull/47#issuecomment-224928308 for the rational

/cc @djs55 and @yomimono


brew how to support that the MacOS 12 installs graphviz

Provide a detailed description of the proposed feature
I want the MacOS 12 supports installing graphviz， now I don't have it,  brew function is ok, brew version
(
Homebrew 3.1.9-58-g7ae9cc3
Homebrew/homebrew-core (git revision 012ef36e5d; last commit 2021-05-28)
Homebrew/homebrew-cask (git revision 5c0e9f899d; last commit 2021-05-28)
)
What is the motivation for the feature?
The MacOS 12 supports installing graphviz
How will the feature be relevant to at least 90% of Homebrew users?
The MacOS 12 supports installing graphviz
What alternatives to the feature have been considered?
brew search graphviz, outout log
==> Formulae
graphviz
If you meant "graphviz" specifically:
It was migrated from homebrew/cask to homebrew/core.
brew install graphviz, after that, outout log:
Updating Homebrew...
Warning: You are using macOS 12.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.
Error: graphviz: no bottle available!
You can try to install from source with:
brew install --build-from-source graphviz
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.

 Do that, and all the error messages you posted should go away.

 Do that, and all the error messages you posted should go away.

Thank you, maybe the network and proxy are not better, afeter fixed, brew upgrade all, ok


fix: implement server-side redirect

What is accomplished by your PR?
Fix #194
Is there something controversial in your PR?
Not automatically testable as Cypress doesn't support assertion of HTTP status codes nor can you switch off JavaScript in the browser. We could add some tests on the Express level.
Link to the Issue
#194
Checklist
New Feature / Bug Fix

[x] Run unit tests to ensure all existing tests are still passing
[ ] Add new passing unit tests to cover the code introduced by your PR
[ ] Add new documentation for the code introduced by your PR

works as expected 👍 I really like it!

can I rename the commit message to feat: add server-side redirect?
I think a fix would be ok if we already had the functionality before but this is a new feature that I forgot to implement

Sure, you can also view it as a feature.


Fix for #262 - REPL does not start on windows

Fixes #262

Hi,
Thank you for solving that. REPL now works again.
Anyway, it seems #216 is still present (arrow keys not working in REPL, as before).
Kind regards


fix the rotation matrix of cell

Problem
During my use of this adapter, I noticed that when an MCNP cell has both fill=xxx and trcl=(xxx...), the adapter may write a wrong matrix to OpenMC geometry. Here is an example:
MCNP INPUT for rotation challenge
1 0       -10           IMP:N=1 *trcl=(0 0 0 45 45 90 135 45 90 90 90 0) fill=1
2 2 -1.0   1 2 -3 -4 #1 IMP:N=1
3 0       -1：-2:3:4    IMP:N=0
4 1 -10   -5            IMP:N=1 u=1
5 3 -1.1   5            IMP:N=1 u=1

1 px 0
2 py 0
3 px 20
4 py 20
5 py 0
10 sx 10 5

MODE N
KCODE  50000 1.0 100 600
KSRC  6 7 0
M1 92235.70c  0.03
   92238.70c  0.97
M2 1001.70c  2
   8016.70c  1
M3 1002.70c  2
   8016.70c  1

This is a sphere in a square and the sphere is split into halves by Surf 5. MCNP's plot is

After convertion by this adapter, the plot from OpenMC is:

The sphere was actually not cut by Surf 5.
Solution
If we transpose the rotation matrix (what I did in this PR), then the plot will be:

More
I have checked cells without universe filling, and the rotation works well. But I am not familar with OpenMC's rotation, maybe double check is required.

Checked with cells without filling, and the rotation did not work well. Example:
MCNP input (just remove Universe 1 in the example above)
MCNP INPUT for rotation challenge
1 1 -10.0 -10           IMP:N=1 *trcl=(0 0 0 45 45 90 135 45 90 90 90 0)
2 2 -1.0   1 2 -3 -4 #1 IMP:N=1
3 0       -1：-2:3:4    IMP:N=0

1 px 0
2 py 0
3 px 20
4 py 20
5 py 0
10 sx 10 5

MODE N
KCODE  50000 1.0 100 600
KSRC  6 7 0
M1 92235.70c  0.03
   92238.70c  0.97
M2 1001.70c  2
   8016.70c  1
M3 1002.70c  2
   8016.70c  1

mcnp plot:

OpenMC plot with current adapter

The rotation direction is opposite.
OpenMC plot with modified adapter (this PR)


Error with DateTime

Error: ColumnDecode { index: ""updated_at"", source: "mismatched types; Rust type core::option::Optionstd::time::SystemTime (as SQL type Timestamp) is not compatible with SQL type DateTime" }

We should use CurrentUtcDateTime() instead of CurrentUtcDate(), because DateTime is not compartible with Date.
And with rust type std::SystemTime you should use database type Timestamp.
That's how it works now. We need to think about it, maybe it's worth do it  other way.


Directories name don't show up

Description
Hello!
I just switched to this file browser but I'm having this issue with directories name not showing up.
I've already tried using older NeoVim versions
Neovim version
NVIM v0.8.0-dev+334-ge9803e1de
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Operating system and version
Arch Linux
Steps to reproduce
Run Telescope file_browser
Expected behavior
It should show directory names like in the screenshots of the repo
Actual behavior

As you can see directory names don't show up
Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
  require('packer').startup {
    {
      'wbthomason/packer.nvim',
      {
        'nvim-telescope/telescope.nvim',
        requires = {
          'nvim-lua/plenary.nvim',
          'nvim-telescope/telescope-file-browser.nvim',
        },
      },
      -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
      display = { non_interactive = true },
    },
  }
end
_G.load_config = function()
  require('telescope').setup()
  require('telescope').load_extension('file_browser')
  -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing Telescope and dependencies.")
  vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]

Huh, thanks for reporting. My very first hunch is that something about fd changed? That would be odd though, but I only noticed it myself too now.
For instance, forcing telescope-file-browser to use plenary.scandir via :Telescope file_browser grouped=true shows the directory names.
Looking into this right away!

I would have to check what exactly has caused this, but I've pushed a fix now via https://github.com/nvim-telescope/telescope-file-browser.nvim/commit/e84b24030c567e48acfe8a00aedee66f793c3f56
which fixes the problem for me for both plenary and fd file_browser finders. Please let me know whether the issue is resolved for you as well!

Wow that was fast!
Now it works like a charm, thanks a lot


How to upload dSYMs?

Hello everyone.
A few weeks ago they changed the way to upload dSMYs to firebase, I already updated crashlytics to version <IP_ADDRESS> iOS and configured in the .csproj of my project what it indicates in the readme file, but, it does not manage to upload the dSMYs. Someone has the same problem or someone is clear about the process, please I need to solve this problem since I have a published app and I cannot see the problems that are occurring.
I thank you in advance for your attention
Regards

I am currently using Crashlytics Version <IP_ADDRESS> and for me the Crashlytics dSym upload works.
<PackageReference Include="Xamarin.Firebase.iOS.Crashlytics" Version="<IP_ADDRESS>" />
I am building this on macOS if that helps. From the command-line this looks like this:
msbuild "/Users/xxx/projects/myApp/myApp/myApp.iOS/myApp.iOS.csproj" /t:"build" /p:Configuration="AppStore" /p:Platform="iPhone" /p:BuildIpa=true /p:FirebaseCrashlyticsUploadSymbolsEnabled=true
I then get a output like this:
[00:08:02]: ▸ _FirebaseCrashlyticsUploadDSymToFirebaseOnMac: [00:08:02]: ▸   Uploading dSYM to Firebase using Fabric upload-symbols script located at /Users/xxx/Library/Caches/XamarinBuildDownload/Fbrc-1.10.2 [00:08:02]: ▸   '/Users/xxxx/Library/Caches/XamarinBuildDownload/Fbrc-1.10.2/upload-symbols' -gsp '/Users/xxx/projects/myApp/myApp/myApp.iOS/GoogleService-Info.plist' -p ios 'bin/iPhone/AppStore/myApp.iOS.app.dSYM' [00:08:37]: ▸   Successfully submitted symbols for architecture arm64 with UUID xxxxxyyyyyzzzz in dSYM: /Users/xxx/projects/myApp/myApp/myApp.iOS/bin/iPhone/AppStore/myApp.iOS.app.dSYM [00:08:37]: ▸   Successfully uploaded Crashlytics symbols

@fabian1122 If you are on mac, another way to see if upload-symbols is doing its job is by opening the Console.app, search for upload-symbols and do a clean/build on Visual Studio. It will appear all the process of the upload-symbols there. Hope this helps.
If you see that it's not working, please provide a test case, please. Thanks in advance!

We are closing this issue since no response was received.  Please open a new issue referring to this one if you have more information.


SwaggerUI customization

I wanted to hide "Try it out!" button and remove some of Response Content Type"  combo-box values.
Is it possible to do that with Swashbuckle?
Is  "Resource Owner Password Credentials" grant type supported in UI?
Any help appropriated.

There's a whole section in the readme on "Customizing the swagger-ui"  (https://github.com/domaindrivendev/Swashbuckle#customizing-the-swagger-ui). Have you take a look at that?
You'll have to get creative for your particular goal, but I would suggest looking at the "InjectJavaScript" option - you could manipulate the DOM accordingly after the UI initially loads.
Another option would be to use your own version of index.html (also described in the docs) and try setting supportedSubmitMethods = [] (empty array). I think this will remove the "Try it out" button.
The described "Content-Types" are driven from the swagger.json API description that comes down from the server. It will create values according to the formatters that are configured in your WebApi.
However, if you like, you can override this by creating a custom IOperationFilter (also described in the docs) that updates the "produces" and "consumes" properties on each Operation description.

Thanks for your detailed response. Do you have any idea about my last question, UI support for OAUTH "Resource owner password credential" ?

But I got 404 for all lib/xxxxxx.js.


Correction

in
https://github.com/Ne0blast/cosmos/blob/master/js/window.js
variable dispo --> layout
Or you code in french ?

"Disposition" is the same in english :)
You can use "disposition" or "layout" but i prefer transparents words :D

Okay x)

Still thanks :)


MSID: 97256 Version: 2 DOI: 10.1101/2<IP_ADDRESS>8472

MSID: 97256
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8472
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=97256
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8472

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/97256v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8472
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/97256/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!


bin folder is not being displayed in the given github repo

Not able to run the given dockerfile, after cloning the repo as I am getting below error message.
"COPY failed: file not found in build context or excluded by .dockerignore: stat bin/linux-x64/cyclonedx: file does not exist"
It is clear that '/bin/linux-x64/cyclonedx' path or folders are not present in the repo. Do we have any work around for this?

You first need to build the binary locally.
This can be achieved by running
dotnet publish src/cyclonedx/cyclonedx.csproj -r linux-x64 --configuration Release --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesInSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --output bin/linux-x64
or downloading the Linux x64 binary of the latest release and saving it to that path.


[Feature Request] GLoRA - "One-for-All: Generalized LoRA for Parameter-Efficient Fine-tuning"

GLoRA is a generalization over LoRA and a few other techniques (RepAdaptor, FacT, SSF, AdaptFormer, VPT).

https://sites.google.com/view/generalized-lora
https://github.com/Arnav0400/ViT-Slim/tree/master/GLoRA
https://arxiv.org/abs/2306.07967

closing as duplicate of #600 . sorry, thought i searched!


[SPARK-31585][SQL] Introduce Z-order expression

What changes were proposed in this pull request?

This PR is to introduce a new expression in Spark - ZOrder. The motivation is Z-order enables to sort tuples in a way, to allow efficiently data skipping for columnar file format (Parquet and ORC).
For query with filter on combination of multiple columns, example:
SELECT *
FROM table
WHERE x = 0 OR y = 0

Parquet/ORC cannot skip file/row-groups efficiently when reading, even though the table is sorted (locally or globally) on any columns. However when table is Z-order sorted on multiple columns, Parquet/ORC can skip file/row-groups efficiently when reading. We should add the feature in Spark to allow OSS Spark users benefitted in running these queries.
With this PR, user can do Z-order sort when writing the table with followed syntax:
INSERT INTO t
SELECT ...
FROM ...
SORT BY ZORDER(x, y, ...)

or
INSERT INTO t
SELECT ...
FROM ...
ORDER BY ZORDER(x, y, ...)

Then when reading the table with filter on x and y, the performance can be improved by skipping more files and row-groups. More details below for micro benchmark.
This PR adds the support for Z-order on integer types (byte, short, int, and long). For other data types such as float and string will be added as followup. Code-gen support for expression will be also added later.
Why are the changes needed?

To improve the query performance when filtering on multiple columns. Seeing 1x-6x run-time improvement in micro benchmark below.
override def runBenchmarkSuite(mainArgs: Array[String]): Unit = {
    def prepareTable(dir: File, numRows: Int): Unit = {
      import spark.implicits._
      val df = spark.range(numRows).map(_ => (Random.nextLong, Random.nextLong))
        .toDF("x", "y")
      val zorderedDf = df.sort(Column(ZOrder(Seq($"x".expr, $"y".expr))))

      saveAsTable(df, dir, "")
      saveAsTable(zorderedDf, dir, "ZOrder")
    }

    def saveAsTable(df: DataFrame, dir: File, suffix: String): Unit = {
      val blockSize = org.apache.parquet.hadoop.ParquetWriter.DEFAULT_PAGE_SIZE
      val orcPath = dir.getCanonicalPath + "/orc" + suffix
      val parquetPath = dir.getCanonicalPath + "/parquet" + suffix

      df.write.mode("overwrite")
        .option("orc.dictionary.key.threshold", 0.8)
        .option("orc.compress.size", blockSize)
        .option("orc.stripe.size", blockSize).orc(orcPath)
      spark.read.orc(orcPath).createOrReplaceTempView("orcTable" + suffix)

      df.write.mode("overwrite")
        .option("parquet.block.size", blockSize).parquet(parquetPath)
      spark.read.parquet(parquetPath).createOrReplaceTempView("parquetTable" + suffix)
    }

    def withTempTable(tableNames: String*)(f: => Unit): Unit = {
      try f finally tableNames.foreach(spark.catalog.dropTempView)
    }

    runBenchmark(s"ZOrder") {
      withTempPath { dir =>
        withTempTable("orcTable", "parquetTable", "orcTableZOrder", "parquetTableZOrder") {
          prepareTable(dir, 1024 * 1024 * 15)
          val benchmark = new Benchmark("zorder", 1024 * 1024 * 15,
            minNumIters = 5, output = output)

          benchmark.addCase("Parquet no sort") { _ =>
            spark.sql(s"SELECT * FROM parquetTable WHERE x = 0 OR y = 0").noop()
          }

          benchmark.addCase("Parquet z-order sort on (x, y)") { _ =>
            spark.sql(s"SELECT * FROM parquetTableZOrder WHERE x = 0 OR y = 0").noop()
          }

          benchmark.addCase("ORC no sort") { _ =>
            spark.sql(s"SELECT * FROM orcTable WHERE x = 0 OR y = 0").noop()
          }

          benchmark.addCase("ORC z-order sort on (x, y)") { _ =>
            spark.sql(s"SELECT * FROM orcTableZOrder WHERE x = 0 OR y = 0").noop()
          }

          benchmark.run()
        }
      }
    }
  }

Compare the performance between reading table having no sort, and table having local Z-order sort on (x, y).
Seeing 6x run-time improvement for Parquet, and 1x for ORC:

Java HotSpot(TM) 64-Bit Server VM 1.8.0_181-b13 on Mac OS X 10.16
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
zorder:                                   Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------------------------------
Parquet no sort                                     274            287          11         57.5          17.4       1.0X
Parquet z-order sort on (x, y)                       37             41           2        420.2           2.4       7.3X
ORC no sort                                         674            754          47         23.3          42.8       0.4X
ORC z-order sort on (x, y)                          262            282          11         59.9          16.7       1.0X

Compare the performance between reading table having no sort, and table having local sort on (x, y).
No performance improvement as expected.

Java HotSpot(TM) 64-Bit Server VM 1.8.0_181-b13 on Mac OS X 10.16
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
zorder:                                   Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------------------------------
Parquet no sort                                     285            319          29         55.1          18.1       1.0X
Parquet sort on (x, y)                              278            290          10         56.5          17.7       1.0X
ORC no sort                                         823            842          21         19.1          52.4       0.3X
ORC sort on (x, y)                                  748            760          16         21.0          47.6       0.4X

Does this PR introduce any user-facing change?

Yes. The added expression can be used by user - zorder.
How was this patch tested?

Added unit test in ZOrderExpressionSuite.scala.

cc @cloud-fan and @wangyum could you help take a look when you have time? Thanks.
Looking forward to feedback.

Test build #145358 has started for PR 34640 at commit 783f0e6.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49829/

Just FYI some faster interleave bits approach from stanford

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49829/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49829/

Test build #145358 has finished for PR 34640 at commit 783f0e6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ZOrder(children: Seq[Expression])

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145358/

cc @RussellSpitzer too who's working on Z-ordering from Apache Iceberg side

Just FYI some faster interleave bits approach from stanford

@ulysses-you - thanks for pointing it out. I think this is good to add later, once community agrees we should have a Z-order expression supported in Spark natively. This PR is just bare minimum, and would like to make sure we want to move forward with this direction first.

Is there any query performance improvement report from your internal production usage? How about storage efficiency(any improvement on compression ratio)?

@advancedxy - we haven't rolled out this feature in our production yet, still testing so there should be quite some room for further optimization. For storage efficiency, I haven't checked, but assume it should help in some sense, as rows with same values are sorted to be adjacent to each other. So the Parquet & ORC output file should be encoded better and become smaller.

@advancedxy - we haven't rolled out this feature in our production yet, still testing so there should be quite some room for further optimization. For storage efficiency, I haven't checked, but assume it should help in some sense, as rows with same values are sorted to be adjacent to each other. So the Parquet & ORC output file should be encoded better and become smaller.

Looking forward to production usage report if that's possible. I also added zvalue support in our internal usage, it's quite useful for some query cases (1.5 ~ 2.x speedup for the corresponding scan stage)


I happend GC bug

<--- Last few GCs --->
[13813:0x3da5ad0]  8435791 ms: Scavenge 1145.1 (1436.1) -> 1136.1 (1439.6) MB, 27.5 / 0.0 ms  (average mu = 0.237, current mu = 0.223) allocation failure
[13813:0x3da5ad0]  8436053 ms: Scavenge 1148.5 (1439.6) -> 1139.5 (1442.6) MB, 16.1 / 0.0 ms  (average mu = 0.237, current mu = 0.223) allocation failure
[13813:0x3da5ad0]  8438758 ms: Mark-sweep 1151.9 (1442.6) -> 1141.4 (1441.6) MB, 2599.2 / 0.2 ms  (average mu = 0.218, current mu = 0.199) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x1f0f771041bd]

Security context: 0x3a986f31e589
1: parserOnHeadersComplete [0x1b28702e89b1] [_http_common.js:~64] [pc=0x1f0f78ed8ad6](this=0x2df58e587d81 ,versionMajor=1,versionMinor=1,headers=0xd78ab152aa1 <JSArray[10]>,method=0x9480a022e1 ,url=0x9480a022e1 ,statusCode=200,statusMessage=0xd78ab152ce9 <String[2]: OK>,upgrade=0x9480a023f1 ,s...
Prerequisites
Package version
"adonis-version": "4.1.0",
Node.js and npm version
node v10.4.1
npm 6.1.0
I need do what solve this problem? thanks!
Now, i can reload the server every hour!
start script:
sudo adonis serve

Dear @jhlovesky! 👋
Please, provide more context to your question and I way to reproduce your issue.

Closing since no response from the issue reporter and not actionable as well


Support JavaScript csv loader

Add support to fetch csv data from an url on JavaScript site as in pydeck.
See  https://loaders.gl
As requested in #99

thanks, this would be awesome!


Implement summaries csv pat

Changed the location of the download CSV report to the summaries (Danny).
Refactored the function download_csv_report. Spreadsheet now displays the total marks in the course with respect to their criterion weights.

One general comment is that because the routes have changed, you'll likely need to update some tests. Do a search through the test/ and spec/ directories to update the tests. You can use bundle exec rake test and bundle exec rspec to run the tests locally to make sure they all pass.


Percy: Images sometimes do not load

Sometimes the tests on Percy, https://percy.io/6faef5e0/prisma-docs, do not load images although they should, which leads to diffs to be accepted and checked.

I never has this issue before, maybe it's because of gatsby-image plugin, which adds multiple srcset variants, and Percy has problems with it? I think asking them directly from the intercom of the failed snapshot should help

But you can't do it in Safari 😄 it blocks segment, which loads Intercom

That's why I could ask them myself, at first I thought it's because of lack of permissions

Scratch it, seems like they completely removed realtime intercom support, and you have to submit tickets in https://www.browserstack.com/contact?ref=percy#technical-support 😕

I did send them a ticket now with a link to this issue. Let's see if they have an idea how to debug and resolve this.

@janpio any updates on this issue?

No, we made images invisible to Percy to avoid this.


Spread operator can break JS highlighting.

VSCode Version: 1.10.2
OS Version: 10.11.6

Steps to Reproduce:

Place this code in a JS file:
myFunc
(...argName)

function otherFunc() {} // <-- Not highlighted.

Remove the spread operator or the line break and the highlighting works again.
Why fix this?
The parser used by VSCode is plainly in error. And FWIW, stuff like this is useful when working with higher-order functions:

funcName
  (...someArgs)
  (someMore)
  (someMoreAgain)

This issue was moved to Microsoft/TypeScript-TmLanguage#431


Java out of memory using RANSAC aligner

Basic information

My operating system and version: Windows 10
My MZmine version: 3.4.27

What happened
When I try to align a large numbers of files (>2500) using the RANSAC aligner I am getting an error claiming the memory is full. Can this be fixed? My hard drive has over 1.4 Tb free...
Alex

It appears with the optimisations suggested in the help this is a lot better.