AttributeError: 'module' object has no attribute 'TemporaryDirectory'

$ python /Users/mu/Desktop/frida-ipa-dump-master/dump.py com.laiwang.DingTalk
Traceback (most recent call last):
File "/Users/mu/Desktop/frida-ipa-dump-master/dump.py", line 215, in
main()
File "/Users/mu/Desktop/frida-ipa-dump-master/dump.py", line 212, in main
task.run()
File "/Users/mu/Desktop/frida-ipa-dump-master/dump.py", line 175, in run
with tempfile.TemporaryDirectory() as tempdir:
AttributeError: 'module' object has no attribute 'TemporaryDirectory'
可以连上手机：
$ python /opt/dump/frida-ipa-dump-master/dump.py 钉钉
/opt/dump/frida-ipa-dump-master/dump.py:37: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
app_name_or_id == app.identifier or
/opt/dump/frida-ipa-dump-master/dump.py:38: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
app_name_or_id == app.name)
app "钉钉" not found
installed app:
家庭 (com.apple.Home)
播客 (com.apple.podcasts)
通讯录 (com.apple.MobileAddressBook)

Only python3 is supported


Fix memory bugs in libAtomVM

Adds missing checks for NULL after memory allocations, and fix potential memory leaks in libAtomVM.
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Some valgrind statistics to demonstrate the effects of fixing the memory leaks...
Test Used: valgrind ./tests/test-erlang -s prime_smp
master:
==889847== HEAP SUMMARY:
==889847==     in use at exit: 4,007,276 bytes in 38,972 blocks
==889847==   total heap usage: 435,266 allocs, 396,294 frees, 690,093,218 bytes allocated
==889847==
==889847== LEAK SUMMARY:
==889847==    definitely lost: 102,913 bytes in 2,786 blocks
==889847==    indirectly lost: 3,758,363 bytes in 34,361 blocks
==889847==      possibly lost: 146,000 bytes in 1,825 blocks
==889847==    still reachable: 0 bytes in 0 blocks
==889847==         suppressed: 0 bytes in 0 blocks
==889847== Rerun with --leak-check=full to see details of leaked memory
==889847==
==889847== For lists of detected and suppressed errors, rerun with: -s
==889847== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

commit 82a19bab804b3947be5597fb7846e8141ef77849:
==989725== HEAP SUMMARY:
==989725==     in use at exit: 4,002,492 bytes in 38,952 blocks
==989725==   total heap usage: 435,299 allocs, 396,347 frees, 692,269,913 bytes allocated
==989725==
==989725== LEAK SUMMARY:
==989725==    definitely lost: 99,673 bytes in 2,782 blocks
==989725==    indirectly lost: 3,902,819 bytes in 36,170 blocks
==989725==      possibly lost: 0 bytes in 0 blocks
==989725==    still reachable: 0 bytes in 0 blocks
==989725==         suppressed: 0 bytes in 0 blocks
==989725== Rerun with --leak-check=full to see details of leaked memory
==989725==
==989725== For lists of detected and suppressed errors, rerun with: -s
==989725== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

commit e9dab879dbce246192506d540f43d2d66ed1fa49:
==1087301== HEAP SUMMARY:
==1087301==     in use at exit: 3,980,852 bytes in 38,587 blocks
==1087301==   total heap usage: 435,328 allocs, 396,741 frees, 691,072,722 bytes allocated
==1087301==
==1087301== LEAK SUMMARY:
==1087301==    definitely lost: 74,719 bytes in 2,405 blocks
==1087301==    indirectly lost: 3,906,133 bytes in 36,182 blocks
==1087301==      possibly lost: 0 bytes in 0 blocks
==1087301==    still reachable: 0 bytes in 0 blocks
==1087301==         suppressed: 0 bytes in 0 blocks
==1087301== Rerun with --leak-check=full to see details of leaked memory
==1087301==
==1087301== For lists of detected and suppressed errors, rerun with: -s
==1087301== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

with combined changes:

==1183376== HEAP SUMMARY:
==1183376==     in use at exit: 3,971,796 bytes in 38,565 blocks
==1183376==   total heap usage: 435,268 allocs, 396,703 frees, 690,026,858 bytes allocated
==1183376==
==1183376== LEAK SUMMARY:
==1183376==    definitely lost: 74,511 bytes in 2,406 blocks
==1183376==    indirectly lost: 3,897,285 bytes in 36,159 blocks
==1183376==      possibly lost: 0 bytes in 0 blocks
==1183376==    still reachable: 0 bytes in 0 blocks
==1183376==         suppressed: 0 bytes in 0 blocks
==1183376== Rerun with --leak-check=full to see details of leaked memory
==1183376==
==1183376== For lists of detected and suppressed errors, rerun with: -s
==1183376== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Some valgrind statistics to demonstrate the effects of fixing the memory leaks...
Test Used: valgrind ./tests/test-erlang -s prime_smp
master:
==889847== HEAP SUMMARY:
==889847==     in use at exit: 4,007,276 bytes in 38,972 blocks
==889847==   total heap usage: 435,266 allocs, 396,294 frees, 690,093,218 bytes allocated
==889847==
==889847== LEAK SUMMARY:
==889847==    definitely lost: 102,913 bytes in 2,786 blocks
==889847==    indirectly lost: 3,758,363 bytes in 34,361 blocks
==889847==      possibly lost: 146,000 bytes in 1,825 blocks
==889847==    still reachable: 0 bytes in 0 blocks
==889847==         suppressed: 0 bytes in 0 blocks
==889847== Rerun with --leak-check=full to see details of leaked memory
==889847==
==889847== For lists of detected and suppressed errors, rerun with: -s
==889847== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

commit 82a19bab804b3947be5597fb7846e8141ef77849:
==989725== HEAP SUMMARY:
==989725==     in use at exit: 4,002,492 bytes in 38,952 blocks
==989725==   total heap usage: 435,299 allocs, 396,347 frees, 692,269,913 bytes allocated
==989725==
==989725== LEAK SUMMARY:
==989725==    definitely lost: 99,673 bytes in 2,782 blocks
==989725==    indirectly lost: 3,902,819 bytes in 36,170 blocks
==989725==      possibly lost: 0 bytes in 0 blocks
==989725==    still reachable: 0 bytes in 0 blocks
==989725==         suppressed: 0 bytes in 0 blocks
==989725== Rerun with --leak-check=full to see details of leaked memory
==989725==
==989725== For lists of detected and suppressed errors, rerun with: -s
==989725== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

commit e9dab879dbce246192506d540f43d2d66ed1fa49:
==1087301== HEAP SUMMARY:
==1087301==     in use at exit: 3,980,852 bytes in 38,587 blocks
==1087301==   total heap usage: 435,328 allocs, 396,741 frees, 691,072,722 bytes allocated
==1087301==
==1087301== LEAK SUMMARY:
==1087301==    definitely lost: 74,719 bytes in 2,405 blocks
==1087301==    indirectly lost: 3,906,133 bytes in 36,182 blocks
==1087301==      possibly lost: 0 bytes in 0 blocks
==1087301==    still reachable: 0 bytes in 0 blocks
==1087301==         suppressed: 0 bytes in 0 blocks
==1087301== Rerun with --leak-check=full to see details of leaked memory
==1087301==
==1087301== For lists of detected and suppressed errors, rerun with: -s
==1087301== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

with combined changes:

==1183376== HEAP SUMMARY:
==1183376==     in use at exit: 3,971,796 bytes in 38,565 blocks
==1183376==   total heap usage: 435,268 allocs, 396,703 frees, 690,026,858 bytes allocated
==1183376==
==1183376== LEAK SUMMARY:
==1183376==    definitely lost: 74,511 bytes in 2,406 blocks
==1183376==    indirectly lost: 3,897,285 bytes in 36,159 blocks
==1183376==      possibly lost: 0 bytes in 0 blocks
==1183376==    still reachable: 0 bytes in 0 blocks
==1183376==         suppressed: 0 bytes in 0 blocks
==1183376== Rerun with --leak-check=full to see details of leaked memory
==1183376==
==1183376== For lists of detected and suppressed errors, rerun with: -s
==1183376== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


Large files won't transfer

Files or images over roughly ~1mb don't seem to be able to send over chat

Any news on this?

https://dev.guardianproject.info/issues/6524


[GIE Compiler] Introduce cypher service to accept queries from neo4j ecosystem

What do these changes do?

introdure GraphServer which wrappers IrGremlinServer (gremlin service) and CommunityBootstrapper (cypher service)
remove cypher service from gremlin stack
add document of neo4j ecosystem

Related issue number

Fixes

Codecov Report

Merging #2848 (5f2af6d) into main (434acdf) will increase coverage by 0.14%.
The diff coverage is 88.88%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2848      +/-   ##
==========================================
+ Coverage   42.44%   42.59%   +0.14%
==========================================
  Files          99       99
  Lines       10654    10657       +3
==========================================
+ Hits         4522     4539      +17
+ Misses       6132     6118      -14

Impacted Files
Coverage Δ

python/graphscope/client/session.py
66.77% <66.66%> (+0.16%)
:arrow_up:

python/graphscope/framework/app.py
70.77% <100.00%> (+0.91%)
:arrow_up:

python/graphscope/framework/context.py
45.19% <100.00%> (+0.56%)
:arrow_up:

python/graphscope/framework/graph.py
69.71% <100.00%> (ø)

... and 4 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


JSInteropt calls of byte[]'s result in string conversion

Describe the bug
As written in https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interop?view=aspnetcore-3.0#invoke-javascript-functions-from-net-methods it should be clear that it is possible to transfer arrays of numbers from c# client code to a js method. This does not seem to work with arrays of bytes. When calling a js function with an int[] the method will receive an object and with the constructor of UInt8Array() it is possible to use the int[]. When calling the same function from c# with an byte[], the same js function will receive an string that is formatted in an unkown way.
To Reproduce
Assume this js method:
function TestArray(arrayFromCs) {
	console.log(typeof arrayFromCs);
	console.log(arrayFromCs);
}

and These calls:
public static ValueTask CallJs(this IJSRuntime js, byte[] data)
{
	return js.InvokeVoidAsync(
		"TestArray",
		data);
}
public static ValueTask CallJs(this IJSRuntime js, int[] data)
{
	return js.InvokeVoidAsync(
		"TestArray",
		data);
}

public static async Task TestCalls(this IJSRuntime js)
{
	var testArray = new byte[]
	{
		1, 2, 3, 4, 5
	};
	Console.WriteLine("Write INT Array");
	await js.CallJs(testArray.Select(f => (int)f).ToArray());
	Console.WriteLine("Write BYTE Array");
	await js.CallJs(testArray);
}

Output:
cw: WASM: Write INT Array
cw: object
cw: (5) [1, 2, 3, 4, 5]
cw: Write BYTE Array
cw: string
cw: AQIDBAU=

Expected Behavior:
When submitting an byte[] to an js function it should be handled just as an other array of numbers and should not be converted into a string or it should be stated on the documentation how this string is created and what it represents.
Further technical details

ASP.NET Core version
3.0.0-preview9.19465.2
Include the output of dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100
Commit:    04339c3a26

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit:  7d57652f33
.NET Core SDKs installed:
2.1.700 [C:\Program Files\dotnet\sdk]
2.1.701 [C:\Program Files\dotnet\sdk]
2.1.802 [C:\Program Files\dotnet\sdk]
2.2.401 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

The IDE (VS / VS Code/ VS4Mac) you're running on, and it's version
VS2019 latest (19.3.9)

@JPVenson thanks for contacting us.
I believe this is the expected behavior as we are using system.text.json and it will base64 encode byte arrays during serialization. It is likely that you need to use atob or a similar method to transform it back.

@javiercn you are right with the base64 stuff i checked it myself:
public static ValueTask CallJs(this IJSRuntime js, byte[] data)
{
	return js.InvokeVoidAsync(
		"TestArray",
		data);
}

public static ValueTask CallJsWithBase64(this IJSRuntime js, byte[] data)
{
	return js.InvokeVoidAsync(
		"TestArray",
		Convert.ToBase64String(data));
}
public static ValueTask CallJs(this IJSRuntime js, int[] data)
{
	return js.InvokeVoidAsync(
		"TestArray",
		data);
}

public static async Task TestCalls(this IJSRuntime js)
{
	var testArray = new byte[]
	{
		1, 2, 3, 4, 5
	};
	Console.WriteLine("Write INT Array");
	await js.CallJs(testArray.Select(f => (int)f).ToArray());
	Console.WriteLine("Write BYTE Array");
	await js.CallJs(testArray);
	Console.WriteLine("Write BYTE Array as BASE64");
	await js.CallJsWithBase64(testArray);
}

Results in:
WASM: Write INT Array
cw: object
cw: [1, 2, 3, 4, 5]
cw: Found a BeatSaberSongProvider
cw: Write BYTE Array
cw: string
cw: AQIDBAU=
cw: Found a Playlist Provider
cw: Write BYTE Array as BASE64
cw: string
cw: AQIDBAU=

still fmpov this is not exactly the expected behavior.

There's planned work for System.Text.Json to add support for serialization formats other than base64 encoded strings for byte arrays - https://github.com/dotnet/corefx/issues/39961. This should allow byte[] to be transferred more efficiently when using IJSRuntime . However at this point it's not very clear how we would enable breaking changes to IJSRuntime's serialization settings.

I'm closing this issue as this is not something we can do anything about in the near future and is not a bug, but a behavior by design.
@pranavkm It might be worth to check with the corefx folks to allow configuring this behavior on a per-property basis.


Using github api to pull software from github

Using Github API, let me know if you want different fields.
The yellow text in each row is a link eg. name, owner.

Looks great!
Is there a way to filter this software? Also thinking about including software from other students.

There is, I use algolia for that which has a free plan, but after 10k searches a month it's 1$ per $1k requests.
Yeah dude, do you want to include other student's software or specific repos?


Question: How to Integrate Modernizer

Hello, I was wondering what the best approach, or how you might integrate Modernizer into this example. I have used modernizr-webpack-plugin and was able to generate the bundle, but not sure how to get the script loaded into the template since the template is pretty much generated on the fly.. It appears server.js creates the <html tag and the app.js fills in the rest.
Thanks for any pointers.

@tzarger I require js in client.js like this:
...
import getRoutes from './routes';
import jQuery from 'jquery';
window.jQuery = window.$ = jQuery;
require('jquery.easing');
require('owl.carousel');
require('./lib/jquery.waypoints.min');
require('./lib/jquery.keyboard');

const client = new ApiClient();
....

It works fine for me.

@tearsofphoenix Thanks for the tip, that worked for me as well. Thanks again.


no work

it' doesn't set in .emacs?
how to preview in emacs eww?

My markdown-preview-eww command doesn't work, either. It seems to have done nothing. I checked the Messages buffer and found nothing.
Btw, I've already installed redcarpet.


Added More Status Items to Display

Per a request for enhancement, added more information for status to the display.  The display is extensible in that it can take more than just the temperature data, so that future devices can provide a more rich status.  The current SSD1306 display will now display status for the Fan (picture of a fan in the upper left), Igniter (picture of a flame in the middle left), Notifications (picture of a bell in the upper right), and Auger (picture of arrows in the middle right).  Also, the bottom of the screen displays the current mode in plain text.

Updated and tested.  Looks like the display does inform the user of the status, but it's indicated by the letters F, I, and A instead of icons.  Also, it looks like the mode status overlaps the temperature at least on my screen.

Oh no!  Something weird happened in my merge and all the changes were lost.  :(  Let me try that again.

OK, pushed the update.  I think what happened was that it I accidentally moved to the main branch, and GitKraken automatically stashed my changes.  Anyway, it should be fixed now.  Give it another go.

Success!  Icons are there now, but looks like we'll still need to make some adjustments to placement.  At the moment the only icons that are visible are the fan and fire.

Success!  Looks good.

Woohoo!!  I think it's looking pretty good, but given that this is just the initial attempt, could use a bit of tweaking.
That said, I've ordered a new display from Amazon (https://www.amazon.com/gp/product/B07KPDVY6T) that I might add to the project at a later date and these changes will definitely help with providing more options for display status.  Looking at adding a new module to support the new display.


"Create dispatch model" question: Do I have the actual authoring key?

[Enter feedback here]
Hello!
I am trying to create the dispatch model, but my terminal is stuck. I'm thinking that I may have the wrong Authoring key, since the directions for where to find the key do not follow on the Luis portal. The instructions say, "From the 'Key and Endpoints' page, record the values Authoring Key as "your-luis-authoring-key" and Region as "your-region". However, there is no Key and Endpoints page on the Luis portal, and nothing in the settings section specifically identifies an authoring key.
This is what I put into my terminal:
dispatch init -n main.dispatch --luisAuthoringKey "my-luis-primary-key" --luisAuthoringRegion westus
Thanks!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f68e3448-ea66-7aab-26d2-37de5f44527c
Version Independent ID: 30c9096c-926c-3b92-6ab0-cc49edf63842
Content: Use multiple LUIS and QnA models - Bot Service - Bot Service
Content Source: articles/v4sdk/bot-builder-tutorial-dispatch.md
Service: bot-service
GitHub Login: @diberry
Microsoft Alias: diberry

I'll take a look and update the article to match the latest iteration of the LUIS portal.

The updated topic should be live today or tomorrow. Please let me know if you need more help accessing LUIS from a bot.

Do you think it will be up soon? I see it has not been updated yet.

I updated the LUIS article and failed to get the changes into the Dispatch article. Sorry about that. I'll update the Dispatch one this week.

The Dispatch article has been updated internally. The content should go live in a few days.

The changes should show up on the live today, once the server cache updates.


"Lock wallet" In the "settings" dropdown menu on the GUI not working.

This issue tracker is only for technical issues related to ion-core.
General ion questions and/or support requests and are best directed to the IonTalk Forums or Slack.
For reporting security issues, please email<EMAIL_ADDRESS>Describe the issue
When unlocking the GUI QT everything works as normal. The issue is if the "FOR STAKING ONLY" box is checked which it is by default I believe, the wallet will not lock back up when selecting "UNLOCK WALLET" from the dropdown menu. When I do the same process without the for staking only box checked the wallet will lock and unlock as normal and behave as it should.Its only an issue when you need to send a transaction eventually you have to shut the wallet down and restart it to either send before unlocking or unlock with the box for staking not checked.
Can you reliably reproduce the issue?yes
If so, please list the steps to reproduce below:
1.choose "for staking only"box when unlocking
2.In the settings dropdown "LOCK WALLET"
3.
Expected behaviour
Tell us what should happen
The wallet should lock itself back up
Actual behaviour
Tell us what happens instead
Nothing happens and when trying to send a transaction you get an error that the wallet is locked
Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
What version of ion-core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.
v <IP_ADDRESS>-61402
Machine specs:

OS:windows
CPU:intel
RAM:4 gb
Disk size:
Disk Type (HD/SDD):

Any extra information that might be useful in the debugging process.
This is normally the contents of a debug.log or config.log file. Raw text or a link to a pastebin type site are preferred.

Thank you for your issue report, much appreciated.
Could you try to reproduce the issue with the latest binary, <IP_ADDRESS>?
Also: what Windows version are you using? Is it 32 bit or 64 bit?
Can you run the Qt with debug=all and share the debug.log? Feel free to dm me the log on discord if you prefer.


Edit tabular metadata (Feature request)

The name of the plugin and the readme suggest that layer.metadata could be edited. In fact this would be a super cool feature. Having an editable table where people can add/enter/remove metadata entries into their image data and then store them together with the data. This is similar to the efforts undertaken in this napari plugin

Duplicate of:

https://github.com/napari/napari/issues/4765


How to Install

Tell us how to setup this master piece of software

Easy
On Aug 22, 2016 23:31, "Flash819"<EMAIL_ADDRESS>wrote:

Tell us how to setup this master piece of software
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Leurak/TrollRAT/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQyJl6sgm85NIoMIH8bQ-dVQgZz-x_FUks5qihUcgaJpZM4JqU9X
.

Run:
pip install gitsome

And you are done.

@Nikitaw99
in linux
in mac os x
in git terminal windows
in command prompt
in ms-dos
in WHAT?!

@Nikitaw99 Can you explain where, a bit better?

Compile it in Visual Studio 2015 (don't forget to enable C++ support while installing it, it isn't enabled by default). Use the Release Configuration and then you can see an Output folder in the project directory. Copy that folder to the VM of your choice (XP works the best), .NET 4.0 needs to be installed on it. Set the Networking Mode of the VM to Bridged and run TrollRAT. Nothing should happen except that the process runs in the task manager. Now get the local IP of the VM (using ipconfig) and open this IP with port 1337 on a webbrowser on another machine in the network.

Woops, I think I thought this is some other repo. Sorry!

@Leurak I do this but i seem to get this error.

Can anyone help me?

Fix:
In Visual studio when opening the .sln file , Once loaded on the sidebar "TrollRAT Native" Should say next to it "Unloaded" right click it and choose the option beginning with "Install" Run through the installer then re-compile TrollRAT in Visual Studio.

@ThaCrazyCoderYT there isn't an option that begins with install. Can you post a screenshot?

Does it say "Unloaded" anywhere on the sidebar?

@Leurak What model of Visual Studio 2015 do I need

I installed it and i bridged the vm but i cant access the web gui

@ubscal What is the problem, exactly?

trollrat.exe crashes instantly helppppppppppp

I AM ABSOLUTELY STUCK, SCREENSHOT NECESSARY.

after i launch the .exe, what do i do?

Saving everyone the trouble: https://github.com/trollbreeder/TrollRAT-Executable

@Leurak I installed it and i bridged the VM but i can't access the web GUI


Fix flake8 warnings

Currently 121 warnings, mostly about missing docstrings

Add config, shutting up missing doc errors


how differs from lsd?

hi! congo on reaching top on yc/hn show.
i would have shared the link to page, but i dot know how to get it

It differs from eza or lsd in that it has a slightly different feature set, and makes some different choices about various aspects.

i have recently settled on lsd, and that seem to be fairly well rounded package, and fairly open to feature requests. did u try reaching them?

This is the main reason I started working on this. ls -l is often too much info.

true, lsd has --blocks{=| }... option for that, so like lsd --blocks date,size,name, but yeah, having a different preset of blocks at disposal would be nice too 😇
https://github.com/lsd-rs/lsd/issues/96

lsd -l --header is suuuuuper awesome too, i wish i had that soooo much when i was starting out with gnu utils/bash

"human-readable" file sizes by default

same as lsd. also, which base? 10^{3n} SI (K kilo, ...) or 2^{10n} binary (Ki kibi, ...)?
the ls seems to be using worst of both worlds: uses K but means Ki

several things are intereating here:

-g and -o for -l without group or owner

yeah, in an env where lsd was not available, i defaulted to using ls -go to save space and clutter lol

Anyway, use -l twice for more details:

this feels similar to eza's -aa for (almost-)all vs all

-m for CSV-y "Stream output format"

how about using min 2 spaces as column separator by default? it makes parsing of output a breeze as ssv

-c uses create ("birth") time, rather than ctime  (which is usually identical to mtime, and is rarely useful for display or sorting).

yeah, this is pain to understand and get the wanted output i guess on lsd too.

-k to set the blocksize to 1024 is not implemented as POSIX blocksize semantics are stupid.
-s uses the filesystem's block size rather than 512 or 1024 bytes.

Good questions @goyalyashpal
I'm also lsd and eza user.
I like what  elles provides.
I agree with @arp242 status about lsd and eza.
But, I agree with @goyalyashpal, maybe opening issues on these repositories to try to address the issues @arp242 reported.
But, I'm following this project anyway.

I don't know Rust, so I can't contribute to lsd without learning Rust first. Learning Rust might not be a bad idea in general, but I also have other stuff to do. It was certainly faster to write this from scratch in a language I know.
I'm not going to open tons of issues for ideas that may or may not work well in the hopes that someday someone may or may not implement it. Here too it's faster and easier for everyone to just write something from scratch in a language I know.
lsd and elles can peacefully co-exist.

-m for CSV-y "Stream output format"

how about using min 2 spaces as column separator by default? it makes parsing of output a breeze as ssv

What if a filename has two spaces? And shell scripts can't split on "two spaces" either (well, not POSIX sh AFAIK, although e.g. zsh can).
Does anyone use "ls -m"? I've never seen it and didn't even know it existed. In general "don't parse ls output" has been the advice for as long as I can remember.
There's the -json flag for all of this. Or use shell globs, find, etc.

the ls seems to be using worst of both worlds: uses K but means Ki

This is what pretty much any ls implementation does on "-h". This is actually what almost anything does in the context of filesizes (and computers in general), where suffixes like "K", "M", etc. almost always mean base-1024.
The main exception are hard disk manufacturers and "but akshually" pedantics, both of whom have massively complicated the issue for no good reason at all.

-k to set the blocksize to 1024 is not implemented as POSIX blocksize semantics are stupid.
-s uses the filesystem's block size rather than 512 or 1024 bytes.

The original ls was a simple assembler program, and to print the "file size" it just printed the number of allocated filesystem blocks, which were always 512 bytes. That was a fine decision for a small research OS in 1971 with one filesystem and handful of users all in one office.
This convention stuck around, "for compatibility" or whatever. POSIX copied that because it's mostly a "document what implementations are doing"-type specification, rather than "prescribe what implementations should be doing".
BSD ls uses POSIX behaviour, but GNU ls ignores POSIX on this by default, but you can set "POSIXLY_CORRECT" to get POSIX behaviour.

Or let me put it this way:
I do almost everything from the CLI. Have done for the last 20 years or so. This works well for me.
I must run "ls" dozens of times every day.
It seems to me that it makes sense to spend some time to make sure it works exactly like I want. Of course I don't need to, but it would be nice. I have some ideas but I'm not yet 100% sure what will work well. The -w flag to set the maximum column width seems very useful for example and I added -w60 in my default alias.
Will I like that? Maybe I need to do something else? I don't know until I've tried it for a while.
I went back and forth on adding those borders for a long time. ls doesn't have them so I wasn't used to it, but eventually I liked it, as it "guides" the eyes and makes it quicker to scan things. It took me a while of actually using it and playing around with different options to discover this.
You can't get this sort of thing by "sending feature requests".
And in the end: there's always something to do different. Not "better", just "different". People could have said "but ls already exists!" when they started working on exa or lsd. Just a quick look at the defaults show that ls, lsd, eza, and elles all make very different choices:

This is actually what almost anything does in the context of filesizes (and computers in general), where suffixes like "K", "M", etc. almost always mean base-1024.
- @ arp242 at https://github.com/arp242/elles/issues/1#issuecomment-2168466859

well, at least on windows i can confirm thats not the case; the browser says smth different when downloading smth, aria2c said smth else, dont remember if doublecmd and win-exploroer tallied in their listing too.

Windows Explorer uses base-1024. Always has as far as I know. If you open file properties it shows you both the abbreviated "human" size and byte size.
I don't know about aria2c or doublecmd, I never heard of those. I'm sure there are some programs where "K" means "base 1000", but it's not the default for the vast majority of programs.
Regardless of what Windows or some random programs do, this is how all /bin/ls implementations with a -h flag have behaved for decades. As do /bin/du, /bin/df, etc. etc. GNU ls has a --si option to change this, but most don't even have that.


Why I don’t jailbreak?

I can't jailbreak the ios12 iphone6. I've always tried using unc0ver in beta38 but still can't.
Plese help me...

I guess you should delete your OTA file, as the error suggests.
https://www.theiphonewiki.com/wiki/OTA_Updates

Looked at the logs and it looks like your RootfS is 12.1.4 which is not what it’s suppose to be. Since you’re not jailbroken yet. You can safely do a reset alll content and settings and this will not boot loop your devix
Apparently, you let the update download but now it’s pending and no longer in storage. Backup your device before doing this

@kubmin I no have OTA on storage.
@CoolPersonMaam What should I do?
Can you explain more thoroughly?

To keep it simple:
Your current RootFS is 12.1.4
You cannot fix this by doing a restore RootFS
Therefore you will have to back up your device and do a restore content and settings DO NOT RESTORE VIA ITUNES it will upgrade to 12.1.4

@CoolPerMaam Is there any way to fix RootFS
Help me plese. I am beginner

Update to uc0ver 3.0.0~b43
https://twitter.com/jakeashacks/status/1103747007745835011?s=21

Thx @coenkcore I will try doing it.

Ok that’s work thank you very much.


Integration test for Multisig actor

:link: zboto Link

We need to create a multisig actor, as it is not a singleton on the system. It works as Miner actor works. We should create a multisig actor first in order to be able to test its methods.

Multisig actor is not a singleton, so this issue is not necessary anymore. #76 creates a multisig actor and make use of it.


Classifiers set as private by default, and cannot be made public using UI

Steps to reproduce:

Login as administrator and create a classifier.

Note: There is no option to make the classifier public in the UI

Logout
Have a look at the list of classifiers as a public user

Current behavior:
As a public user, user cannot see the classifier created at step 1.
If there is a model classified using this new classifier, user may be able to see the classifier on the data model, but if he/she clicks on it, the requestor is sent to the Mauro main page.
Expected results:
My assumption on the expected result:
Admin user shall be able to set whether classifiers is public or not, similar to the data model.
Notes:
There is a configuration in one of the screenshots, where classifier can be made public or private, similar to the data model, but cannot see that option in the latest release.
https://maurodatamapper.github.io/glossary/classification/classification/

Managed to update a classifier to be visible by public users via API.
https://maurodatamapper.github.io/rest-api/resources/classifier/#security
Release details:
UI: 6.6.0
CORE:  4.10

@jelenadreskai  this seems like a ui issue. Everything is always private by default as this is the security design, and we would not want to change that functionality, however we definitely want to allow the ui to alter the readability of the classifiers


ziti-edge-tunnel should honor command line options with higher precedence than /var/lib/ziti/config.json

I found /var/lib/ziti/config.json verbose property to have higher precedence than the command-line option --verbose=i

Following up in Discourse topic https://openziti.discourse.group/t/what-is-the-function-of-the-tunneler-config-file/781


Sort array pipe

Created the sort-array pipe, examples, and unit tests.
This work is in preparation for the pin feature of list. It will allow specific items to be sorted and pinned to the top of the list component.
Also fixed the broken search-highlight pipe example and cleaned up the truncate pipe.
Example:
https://rawgit.com/dlabrecq/patternfly-ng/sort-array-pipe-dist/dist-demo/#/sortArray

Note that the underlying sort is quicksort, which appears to be performant for our needs. If we must support large data sets, we can swap the sort algorithm. However, I believe that using the default will be more readable and error resistant.
Looked at various JavaScript sort algorithms (selection sort, insertion sort, bubble sort, heapsort, mergesort, quicksort, the default sort) with 10k items and results are similar. At 250k items, the mergesort and heapsort perform better with heapsort performing best with 500k items or more.


Request: Add start_time and end_time in page.meta

Hello,
I'm developing a mkdocs site for my teaching materials and I want to post an exam in the site, using this plugin to password protect it.
It works great so far, and I have been able to customize it nicely but, I would love to be able to set a start_time and end_time in page.meta so the decryption only works in that time range for a specific page.
I am trying things in my fork, but I would like to know what would be your approach to this.
For now, I've thought of storing those values somewhere in the page HTML and then, check if the current time is between both values in javascript. I know this is not a secure way to prevent decryption outside this time range, since it could be easily hacked on the console, but I can't think of anything else.
If Issues is not a good place to place this request, maybe Dicussions could be enabled on the repository.
Thanks in advance!

Hi,
first I'd suggest to look into mix-encrypted-and-normal-content, If you haven't already. It allows us to execute some javascript in the "teaser" div, like fill in username/password for us and press enter to decrypt (delete "teaser" and show "protected") the content on certain conditions.
Or you modified one of the templates to do similar things. Which is, as you already mentioned, not a very secure way, because everyone who can view the page source and knows some basic javascript could check the conditions and easily modify system date and time to fulfill the conditions. One could try to obfuscate the page source by minifying, but there are pretty good automatic formatters out there, which makes this useless.
We need to find a way to derive a constant password from the start_time and end_time and the current time without telling the start and end time...
Lucky for you, I'm currently working on a program that derives a password from GPS coordinates (without revealing latitude and longitude). I want the page to be only able to decrypt, when the user is at a certain location (+/-25 m). So we could use a similar method here.
//generate password from time range

//get timestamps (seconds since 1970-01-01)
//Note: I think all timestamps are in UTC!
let start_time = Math.floor(Date.parse('2024-09-25 13:05:23') / 1000);
let end_time = Math.floor(Date.parse('2024-09-29 06:05:23') / 1000);
let now_time = Math.floor(Date.now() / 1000);
//duration is used to quantisize
let duration = end_time - start_time;
//we divide the now_time by the duration
let qtime = Math.floor(now_time / duration);
//and see where we land
let now_time_q = qtime * duration;
//calculate the correction
let ctime = start_time - now_time_q;
console.log('duration: '+duration);
console.log('time correction: '+ctime);
console.log('secret password (now): '+qtime);

We use duration and ctime as constants in our decryption page, they cannot be used to recalculate start_time and end_time. But we need them in order to produce the same password in that time range.
//now we test if we get the same password
qtime = Math.floor((start_time-ctime) / duration);
console.log('secret password (start_time): '+qtime);
qtime = Math.floor((end_time-1-ctime) / duration); //had to substact 1 second to cheat
console.log('secret password (end_time): '+qtime);

the output is as follows:
duration: 320400
time correction: -14077
secret password (now): 5391
secret password (start_time): 5391
secret password (end_time): 5391

But, to be clear, this sadly doesn't lead to a high entropy password and could easily brute forced. Even if you add a longer fixed password to the generated one and run a hash algorithm over it, it wouldn't help that much. You could, however, increase the kdf_pow, but some browsers might deny decryption if it takes too much cpu usage.
But if one of your students goes the extra mile to reverse engineer all this successfully he might deserve a bonus grade...
I don't think this can be added as a feature for the plugin, as there exists no 100% watertight solution to the problem. But I hope these thoughts and example program will help you.

But I'm thinking of adding a couple of custom snippets and hacks to the project (like the fixes folder). So If you found a solution, just post it here and I'll add it.

I'm trying to understand this, but my knowledge on encryption and generating passwords is very limited.

We need to find a way to derive a constant password from the start_time and end_time and the current time without telling the start and end time...

I don't get this. The students know the start_time and end_time, I just want to configure the plugin so it won't decrypt the content if outside that time range.

I tried to describe a way to form a password from a time range without exposing the start and stop time (only the duration), but as stated, the entropy we get from this is very low.
But if the time range is known to the user, then I'd suggest to modify the html template like this:

Add one or two custom hidden input fields with start and stop time as inline html to the Markdown page. Follow the guide to Mix encrypted and normal content
Modify the html template and set visibility of password field and button to false.
Add custom Javascript to the html template and read the hidden input fields and change visibility if in range.

You may close the issue and start a discussion thread (I've just enabled it).


lowercase file extension before validation

valid extensions are already being loaded as lower case added test for capitalised extension
I want to merge this change because resolves https://github.com/saleor/saleor/issues/15033

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation:

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases
[ ] All new fields/inputs/mutations have proper labels added (ADDED_IN_X, PREVIEW_FEATURE, etc.)
[ ] All migrations have proper dependencies
[ ] All indexes are added concurrently in migrations
[ ] All RunSql and RunPython migrations have revert option defined

@timuric Please review.

Thank you for the contribution @raghu777 ✨


Hover: Don't wrap in the middle of words

From #35147:

Ideally, line wrapping should happen at word boundaries.

Unfortunately this is a double edged sword. More often than not, there are huge words in that widget. Like thisMethodIsSoLargeBecauseICantFindAShorterWayToWriteIt. And because of that, we wrap on characters: any other alternative would look much worse than the current one, most of the time.

Hmm, would it be possible to let a language server pass along a flag in the Diagnostic object that tells VSCode to wrap the message at word boundaries?
For example, my parser returns a diagnostic object that may contain message arguments (i.e. text replacements). This means that the language server could let VSCode know if mySuperLongMethodOrVariableName was inserted into a diagnostic message or if the message did not contain any replacements and should be wrapped at word boundaries.


Longhorm volumes

I have a rancher cluster with rke2 and longhorm installed. I'm trying to deploy elastic cloud and the volumes are being attached and unattached all the time and eck isn't quite ready. In the logs I see the following:
Warning  FailedAttachVolume  10s   attachdetach-controller  AttachVolume.Attach failed for volume "pvc-70a16c86-2e98-4a7e-a306-ef7238969f85" : rpc error: code = DeadlineExceeded desc = vol

Hi @Mafalda22

Could you please describe your more details about rancher, rke2, and longhorn environments?
Do you have all requirements https://longhorn.io/docs/1.3.0/deploy/install/#installation-requirements ?
Did you see any error or warning logs in longhorn-manager, instance-mananger or other longhorn pods?
That would be good if you could provide the support bundle for us.

Hi @mantissahz I have an rke2 development cluster with 6 nodes, three workers and three nodes. Then three servers for rancher. I have installed longhorm in a development cluster namespace and when I create pods with volumes they attach and detach constantly.
I have reviewed the requirements, I have installed open-iscsi and NFSv4 client. The check script tells me that everything is ok.
the csi attacher logs show this I don't know if it's an error
I0629 15:52:01.387767       1 main.go:96] Version: v3.2.1
I0629 15:52:01.398587       1 common.go:111] Probing CSI driver for readiness
I0629 15:52:01.402469       1 main.go:152] CSI driver name: "driver.longhorn.io"
I0629 15:52:01.413416       1 main.go:208] CSI driver supports ControllerPublishUnpublish, using real CSI handler
I0629 15:52:01.418338       1 leaderelection.go:243] attempting to acquire leader lease longhorn-system/external-attacher-leader-driver-longhorn-io...

@Mafalda22 Could you provide the support bundle for us to find out what happened? You could generate the support bundle on Longhorn UI.

@Mafalda22 Do you still have issue here?
@mantissahz Could you please put the slack link here? Thank you

Sure, here it is https://rancher-users.slack.com/archives/CC2UQM49Y/p1657740361696769
and it hit this issue https://github.com/longhorn/longhorn/issues/2319.
@Mafalda22 I think the issue had bean solved, WDYT?


Cypress test fails for PEI link in glossary

Where to find the issue

https://www.coronawarn.app/en/faq/#glossary_rapid_antigen_test "Glossary - Rapid Antigen Test"
https://www.coronawarn.app/de/faq/#glossary_rapid_antigen_test "Glossar - Antigen-Schnelltest"

Describe the issue
The Glossary entry https://www.coronawarn.app/en/faq/#glossary_rapid_antigen_test "Rapid Antigen Test" links to https://www.pei.de/SharedDocs/Downloads/DE/newsroom/dossiers/mindestkriterien-sars-cov-2-antigentests-01-12-2020.pdf?__blob=publicationFile&v=7
This produces a 404 error in the Cypress test suite and when manually accessed, the website says: "Unsere Web-Adressen haben sich geändert."
This is in the paragraph:
"Not all rapid antigen tests are similarly reliable. For this reason, the Paul Ehrlich Institute has published so-called minimum criteria for rapid antigen tests: Link to minimum criteria.
Suggested change
Change the link to https://www.pei.de/SharedDocs/Downloads/DE/newsroom/dossiers/mindestkriterien-sars-cov-2-antigentests.pdf?__blob=publicationFile&v=9
which points to a document "Stand: 15.03.2022".

PR #2558 submitted

This issue was resolved by PR #2558.

Checked manually and with npm test.

The PR #2434 which restructured the FAQs has reintroduced this issue.

PR #2616 fixed this issue.

The links in the Glossary entries are now working again:

https://www.coronawarn.app/en/faq/#glossary_rapid_antigen_test "Glossary - Rapid Antigen Test"
https://www.coronawarn.app/de/faq/#glossary_rapid_antigen_test "Glossar - Antigen-Schnelltest"


gps: source cache: protobuf integration

What does this do / why do we need it?
This change replaces most of the custom bolt cache encoding with Protocol Buffers, and includes some other optimizations as well (smaller and re-usable constant keys, smaller 'set' keys, Batch updates to bolt).
What should your reviewer look out for in this PR?
Optimizations. Correctness.
Which issue(s) does this PR fix?
Follow up from #1098 in the series towards #431

Codeclimate does not like protobuf

Checks are blocked by https://github.com/golang/go/issues/21804 right now, but we can likely work around it by redefining some methods as functions, if we need to.

CI checks are blocked by golang/go#21804 right now, but we can likely work around it by redefining some methods as functions, if we need to.

if we feel the methods are better than the funcs for our design, then i'd prefer we specify an exception to staticcheck for this particular error. if you look back over previous versions of .travis.yml, i know we used to do this for other problems.

@sdboyer Ok if I squash/rebase and force push to clean up the prune mess?
Can wait for a quick look at https://github.com/golang/dep/pull/1127/commits/e78bc49e0f773f28c2527d0290b9ddd76c54a0c3 first if you want.

What are the license header rules regarding generated files? Should I find a way to inject a header into source_cache.pb.go? Or do we just excuse *.pb.go files from the license check?

ok yeah, add that TODO then we can merge

pre-emptively approving


Finnish translation

Greetings from the north,
This pull request includes Finnish translation, located in /i18n/fi.yaml.

Thank you for the contribution, @RJuho! I'll merge this in and it will be included in the next release.


eel + pyinstaller mac os 10.15.7

Describe the problem
Tell me how to build a project for Mac OS?
I successfully do this under Windows.
I repeat all the steps on the Mac OS and nothing comes of it! I couldn't find answers on the Internet (
For example, I create a program "Hello World" and it also does not start, not in the form of a console, not in the form of an APP (there is no launch at all).
This is what the console writes to me:
Last login: Fri Jan  8 15:52:43 on ttys001

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Macmini:~ fearta$ /Users/fearta/Desktop/1/dist/UI ; exit;
[59486] Error loading Python lib '/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python': dlopen: dlopen(/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python, 10): no suitable image found.  Did find:
	/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python: code signature invalid for '/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python'

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Процесс завершен]

[x] I know that if I don't provide sample code that allows someone to quickly step into my shoes, I may not get the help I want or my issue may be closed.

import eel

eel.init("web")
eel.start("index.html", size=(1500, 1100))

...

<!doctype html>

    <meta charset="UTF-8">
    <title>Test</title>

Hello world!

Desktop (please complete the following information):

OS: Mac OS Catalina 10.15.7
Browser chrome
Version 87.0.4280.88

Hmm do you have python installed on the machine you are building and is it the correct version? What happens if you type in
'python3' into console?


NSwagStudio empty namespaces

Steps to reproduce
Scenario 1 - Skip the contracts namespace

Select a Swagger source

For me, I was able to trigger this with a Swagger spec URL

Select a "CSharp Client" output type
Under Settings check the "Generate contracts outputs"
Click "Generate Outputs" or "Generate Files"

Scenario 2 - Remove a previously entered contracts namespace

Select a Swagger source

For me, I was able to trigger this with a Swagger spec URL

Select a "CSharp Client" output type
Under Settings check the "Generate contracts outputs"
Provide a value for the "Contracts namespace" e.g. My.Example.Contracts
Remove the value supplied in the previous step
Click "Generate Outputs" or "Generate Files"

Expected behavior
Scenario 1
There should be a default namespace that is supplied similar to the clients, or the types are not placed in a namespace.
Scenario 2

The same thing that is expected in Scenario 1
The clients do not include any additional using statements for the contracts, or include the default namespace as described in Scenario 1.

Actual Behavior
Scenario 1
The contracts output file creates a namespace without an identifier.
Scenario 2

The same thing that occurs in Scenario 1 occurs.
An empty using statement is created in the clients output file.

Affected versions
This is not an all inclusive list, these are the only two versions I have checked so far.

12.0.3
12.0.4

This is a ui/config file bug


How to load plugins and create APIs automatically on Kong startup?

Is there a way to configure the image to start with preconfigured APIs/plugins?
    depends_on:
      kong:
        condition: service_healthy

@jCalamari take a look at kongfig https://github.com/mybuilder/kongfig

Hi @StoicPerlman thanks, that answers my question.


[BUG] Make /streamer API use cursor paginator

Describe the bug
Currently the default pagination class is cursor pagination (the default class based on common.py), however it can has been overriden in the streamers API, see views.py
If it's possible, this would be a great thing to test for to verify that new views don't override this.
To Reproduce
Steps to reproduce the behavior:

Go to <TAU_SERVER>/api/v1/streamers/<ID>/streams (for a streamer that has > the pagination limit streams)
See the pagination is using limit offset in the next field as opposed to cursor pagination

Expected behavior
All APIs should use the same pagination type
Screenshots
Cursor Pagination:

Limit/Offset Pagination:

Deployment:

Docker Version: 20.10.7
Docker Compose Version (if applicable): 1.29.2
Deployment Type: Cloud VPS (Digital Ocean)
Deployment Details: Docker Compose behind NGINX for SSL offload

Additional context
Add any other context about the problem here.

Also it appears pagination doesn't even work, I just tried to hit the second page on that endpoint and got the same data, so there's that.


Fixed typo in PluginAction.yaml

Changes
Changed non-existent method, CreationPluginAction, to correct method, CreatePluginAction.
Checks
By submitting your pull request for review, you agree to the following:

[x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[x] To the best of my knowledge, all proposed changes are accurate.

Thank you @call23re!


add --zip option to zip the submission file prior to uploading it

If option is passed, a zip file is created (using python zipfile module) with a random name (cache busting) and the zipped file is uploaded instead, to use less bandwidth. The zip file is deleted afterwards to avoid using up too much disk.

Thanks for the feedback. I'll edit some things and remake the request

I've applied the changes you suggested (except for using config.getboolean(), because the object is not a ConfigParser, but a normal python dict)

@floydwch the changes have been ready for a couple of days now... anything you want to add?

@queirozfcom sorry, I'm busy now. I'll reply to you ASAP.

@queirozfcom I added new feedback on the caching issue.
And another concern is, please rebase the commits the master for better commit logs, don't use merge.


FIX: Dismiss session entity on most of anatomical derivatives

Only keep it for the individual run's affine to the T1w template.
Resolves: #191.
Amends: #183.
Relates: #188.

Codecov Report

Merging #193 into master will decrease coverage by 45.92%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #193       +/-   ##
===========================================
- Coverage   71.55%   25.62%   -45.93%
===========================================
  Files          15       15
  Lines         995      995
  Branches      135      135
===========================================
- Hits          712      255      -457
- Misses        237      730      +493
+ Partials       46       10       -36

Flag
Coverage Δ

#ds005
?

#ds054
?

Impacted Files
Coverage Δ

smriprep/workflows/outputs.py
15.23% <ø> (-56.20%)
:arrow_down:

smriprep/cli/run.py
2.88% <0.00%> (-74.52%)
:arrow_down:

smriprep/workflows/norm.py
30.76% <0.00%> (-69.24%)
:arrow_down:

smriprep/__main__.py
16.66% <0.00%> (-66.67%)
:arrow_down:

smriprep/workflows/surfaces.py
14.44% <0.00%> (-64.45%)
:arrow_down:

smriprep/workflows/anatomical.py
16.66% <0.00%> (-51.34%)
:arrow_down:

smriprep/workflows/base.py
30.00% <0.00%> (-50.00%)
:arrow_down:

smriprep/interfaces/freesurfer.py
19.69% <0.00%> (-40.91%)
:arrow_down:

smriprep/interfaces/reports.py
54.43% <0.00%> (-22.79%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

Thinking this through, the result of this is mixing multi- and single-session folder structures in the derivatives. What if the T1w template and related derivatives were assigned a session name (say, e.g., anatTemplate. This way, the structure is not mixed anymore and the session is not artificially assigned to one of the existing:
sub-01/
    ses-anatTemplate/
        anat/
    ses-001/
       anat/
    ses-002/
        anat/
...

Suggestions/comments?

I would say let's get back to what people expect and consider enhancements for 20.2.

Well then, this is ready:
derivatives/smriprep/dataset_description.json
derivatives/smriprep/desc-aparcaseg_dseg.tsv
derivatives/smriprep/desc-aseg_dseg.tsv
derivatives/smriprep/logs/CITATION.bib
derivatives/smriprep/logs/CITATION.html
derivatives/smriprep/logs/CITATION.md
derivatives/smriprep/logs/CITATION.tex
derivatives/smriprep/sub-01/anat/sub-01_desc-aparcaseg_dseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_desc-aseg_dseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_desc-brain_mask.json
derivatives/smriprep/sub-01/anat/sub-01_desc-brain_mask.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_desc-preproc_T1w.json
derivatives/smriprep/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_dseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_from-fsnative_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/anat/sub-01_from-MNI152NLin2009cAsym_to-T1w_mode-image_xfm.h5
derivatives/smriprep/sub-01/anat/sub-01_from-T1w_to-fsnative_mode-image_xfm.txt
derivatives/smriprep/sub-01/anat/sub-01_from-T1w_to-MNI152NLin2009cAsym_mode-image_xfm.h5
derivatives/smriprep/sub-01/anat/sub-01_hemi-L_inflated.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-L_midthickness.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-L_pial.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-L_smoothwm.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-R_inflated.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-R_midthickness.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-R_pial.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_hemi-R_smoothwm.surf.gii
derivatives/smriprep/sub-01/anat/sub-01_label-CSF_probseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_label-GM_probseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_label-WM_probseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_desc-brain_mask.json
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_desc-preproc_T1w.json
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_desc-preproc_T1w.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_dseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_label-CSF_probseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_label-GM_probseg.nii.gz
derivatives/smriprep/sub-01/anat/sub-01_space-MNI152NLin2009cAsym_label-WM_probseg.nii.gz
derivatives/smriprep/sub-01/figures/sub-01_desc-about_T1w.html
derivatives/smriprep/sub-01/figures/sub-01_desc-conform_T1w.html
derivatives/smriprep/sub-01/figures/sub-01_desc-reconall_T1w.svg
derivatives/smriprep/sub-01/figures/sub-01_desc-summary_T1w.html
derivatives/smriprep/sub-01/figures/sub-01_dseg.svg
derivatives/smriprep/sub-01/figures/sub-01_space-MNI152NLin2009cAsym_T1w.svg
derivatives/smriprep/sub-01.html
derivatives/smriprep/sub-01/ses-003/anat/sub-01_ses-003_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-006/anat/sub-01_ses-006_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-008/anat/sub-01_ses-008_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-010/anat/sub-01_ses-010_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-011/anat/sub-01_ses-011_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-012/anat/sub-01_ses-012_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-015/anat/sub-01_ses-015_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-018/anat/sub-01_ses-018_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-021/anat/sub-01_ses-021_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-024/anat/sub-01_ses-024_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-027/anat/sub-01_ses-027_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-030/anat/sub-01_ses-030_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-033/anat/sub-01_ses-033_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-036/anat/sub-01_ses-036_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-041/anat/sub-01_ses-041_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-044/anat/sub-01_ses-044_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-046/anat/sub-01_ses-046_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-049/anat/sub-01_ses-049_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-052/anat/sub-01_ses-052_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-090/anat/sub-01_ses-090_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-106/anat/sub-01_ses-106_from-orig_to-T1w_mode-image_xfm.txt
derivatives/smriprep/sub-01/ses-107/anat/sub-01_ses-107_from-orig_to-T1w_mode-image_xfm.txt

(ds031)


added wallet class

Could you please elaborate the intention of this PR?

This PR looks like mistake.
Maybe @byolabisi open this PR into a wrong develop branch?

This PR looks like a mistake.
@byolabisi, maybe you opened this PR into a wrong develop branch?

Oh, my bad, that was a mistake.


Trouble by "make import" for the map from Roadrunner

I have tried to import the map from Roadrunner.
I have putted all the files in the folder /carla/import and created json file. Then i used the "make import" command.
Then one fault comes with "KeyError: 'name'". How could i solve this problem?

I have tried to import the map from Roadrunner.
I have putted all the files in the folder /carla/import and created json file. Then i used the "make import" command.
Then one fault comes with "KeyError: 'name'". How could i solve this problem?


provide compatibility with vagrant 1.9.2

Vagrant provided winrm 2.1.2 as of 1.9.2 and the new WinRM gem exposes a new way of connecting to WinRM https://github.com/WinRb/WinRM#connection-options

Awesome. I have to upgrade my host machine with all the news things. Waht comes into my mind: How can we still support older versions of Vagrant if someone still has Vagrant <1.9.2 installed? Maybe due to a constraint using other plugins.
That seems to be the difficult part for vagrant plugins.

@StefanScherer Vagrant 1.9.2 ships with winrm 2.1.2 so I guess vagrant-serverspec 1.2 should be compatible with 1.9.2+ and previous versions of vagrant should use vagrant-serverspec < 1.2.

@StefanScherer @mizzy @stigkj @athak @vvchik Someone would like to take a look?

Looks good, but I need few days for testing that.


Update ibc-go types

ibc-go types are outdated. For example, none of the packet data memo fields are included

Yeah, #423 is open with some updates.
I held off on doing those in the cosmos-sdk-proto v0.20 release because of all of the other changes and so we had at least one release with Tendermint v0.34 support that included a prost v0.12 upgrade.
That said, I can take a look at trying to rebase #423.

As of #492 we're now updated to the latest version: v8.4.0


Annotations missing from noctua.mgi.gpad on snapshot

The mgi gpad file on snapshot appears to be missing annotations:
http://snapshot.geneontology.org/products/annotations/noctua_mgi.gpad.gz
This model checks out but I can't find any of the annotations in snapshot from 7/19/2020.
http://noctua.geneontology.org/editor/graph/gomodel:5ee8120100001244?model_id=gomodel:5ee8120100001244

@ukemi Can you confirm that the correct (latest) version of you model is at: https://github.com/geneontology/noctua-models/blob/master/models/5ee8120100001244.ttl ? According to GH and the model metadata, no changes since 2020-07-06. (I just want to make sure we're at least starting from the issues is in minerva and not in saving, model push, etc.)

@ukemi when you look at the model in noctua, are the annotations missing - e.g. http://noctua.geneontology.org/workbench/annpreview/?model_id=gomodel:5ee8120100001244
?  Indicating either pipeline or minerva gpad generation error.  If they are, could you give one example that is not present in the gpad and should be ?

The annotations are there.

Could this also be related to #328? Also now questioning whether we really want to implement #269

alka-seltzer

Alka-selzer moment
I discoverd to day that between 6/17 and 6/18, we lost over 50% of our Noctua annotations:
6/17 NOCTUA Annotations:
Total Number of Genes Annotated to:	1027
Total Number of Annotations:	6716
6/18 NOCTUA Annotations:
Total Number of Genes Annotated to:	551 <<<<<<<<<< 476 loss
Total Number of Annotations:	3111 <<<<<<<<<< 3605 loss

Alka-selzer moment
I discoverd to day that between 6/17 and 6/18, we lost over 50% of our Noctua annotations:
6/17 NOCTUA Annotations:
Total Number of Genes Annotated to:	1027
Total Number of Annotations:	6716
6/18 NOCTUA Annotations:
Total Number of Genes Annotated to:	551 <<<<<<<<<< 476 loss
Total Number of Annotations:	3111 <<<<<<<<<< 3605 loss

Sorry I don't know why the bolding

TL;DR: So, what we seem to have here is the model-state getting dropped for some reason somewhere in the minerva steps (below); it seems to be there in GH: https://github.com/geneontology/noctua-models/blob/291a0a75bc7a890800da2e13f1953cea6a42aa21/models/5ee8120100001244.ttl#L16 and does not appear in the GPAD.
Any ideas @balhoff or @goodb ?

To spell out how to reproduce this:

Go to http://noctua.geneontology.org/editor/graph/gomodel:5ee8120100001244?model_id=gomodel:5ee8120100001244
Look at GPAD export http://noctua.geneontology.org/download/gomodel:5ee8120100001244/gpad  note that lines that contain noctua-model-id=gomodel:5ee8120100001244
wget http://snapshot.geneontology.org/products/annotations/noctua_mgi.gpad.gz
sjcarbon@moiraine:/tmp$:) zgrep -c "5ee8120100001244" noctua_mgi.gpad.gz  0
The expected value would not be "0"

From @ukemi 's comment https://github.com/geneontology/minerva/issues/335#issuecomment-661816653 , we know that these have gotten at least into GH. This would seem to leave to error points: 1) pipeline mechanics (in feeding or handling) or 2) minerva error.
Grabbing the log from the last successful snapshot, it's mentioned six times:
[2020-08-03T07:34:02.861Z] 2020-08-03 00:34:02,780 INFO  (CommandLineInterface:442) Loading models/5ee8120100001244.ttl
[2020-08-03T07:55:43.643Z] 2020-08-03 00:55:43,550 INFO  (BlazegraphMolecularModelManager:594) Load model abox: http://model.geneontology.org/5ee8120100001244 from database
[2020-08-03T08:01:07.825Z] + perl ./util/collate-gpads.pl [A LOT OF STUFF] legacy/gpad/5ee8120100001244.gpad [A LOT OF STUFF]
[2020-08-03T18:58:33.198Z] 2020-08-03 18:58:32,969 INFO org.renci.blazegraph.Load$ - Loading target/noctua-models/models/5ee8120100001244.ttl
[2020-08-03T19:01:36.437Z] http://model.geneontology.org/5ee8120100001244
[2020-08-03T19:02:20.871Z] 2020-08-03 19:02:20,841 INFO org.renci.blazegraph.Reason$ - 1253 changes in Some(http://model.geneontology.org/5ee8120100001244_inferred)

Poking around the stage logs a bit, this seems mechanically what I'd expect.
Trying to simulate locally:
git clone https://github.com/geneontology/noctua-models.git
mkdir models
mv noctua-models/models/5ee8120100001244.ttl ./models/
~/local/src/git/minerva/minerva-cli/bin/minerva-cli.sh --import-owl-models -f models -j blazegraph.jnl
mkdir -p legacy/gpad
~/local/src/git/minerva/minerva-cli/bin/minerva-cli.sh --lego-to-gpad-sparql --ontology http://skyhook.berkeleybop.org/snapshot/ontology/extensions/go-lego.owl -i blazegraph.jnl --gpad-output legacy/gpad
grep -c "5ee8120100001244" legacy/gpad/5ee8120100001244.gpad

14
Which, I believe, means that our annotation have gotten this far. The final step is:
perl noctua-models/util/collate-gpads.pl legacy/gpad/*.gpad

No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI
No production models for MGI

and there is no further output...which I think is a problem?
In the script the following seems to be triggered:
    if (!grep {$_ eq 'model-state=production'} @props) {

Ah!
grep -c "state" legacy/gpad/5ee8120100001244.gpad

0

@kltm I think I have a solution and a cause. Want to run it by @balhoff but I suspect this will do it.  I seem to have introduced this in an earlier quest to fix some other problem.

@kltm I think it would be straightforward to add a parameter to the minerva client that would apply the 'production-only' filter at the time the GPAD was generated.  Do you want me to do that?  Having that perl script that you discovered in the middle of the gpad assembly process for the pipeline seems maybe not so good from the standpoint of testing and stability.  LMK.

Just wondering: we are still missing about 50% in the download. Any progress?

There is likely an incoming fix with #341 , pending review from @balhoff .

@ukemi We should hopefully get some results from the new code on Friday.

In the release candidate we are missing several annotations coming from SynGO via Noctua:
for example:

human, missing 180 annotations
mouse, missing 200 annotation
rat, missing 1000 annotations.

I think this is blocking for the Sept 2020 release.

We Did get ours back last week (we were missing 50%, mix of both SynGO and MGI

@kltm could this be that the files we loaded are out of date ?

The current snapshot file appears to have 6916 lines attributed to SynGO. File header is date is 8/30/2020

Thanks @hdrabkin
We did this data in the Sept release (release candidate has 4980 SynGO annotations). I will stop the release process.

@pgaudet I think that if this is an issue, it would be a new issue, not related to the "production" tag issue we had here. Are you looking at the output GPAD products from like noctua_mgi.gpad.gz?

Talking to @pgaudet earlier, this may just be an "echo" of this issue as it passes through various external pipelines that are on different schedules.


[UserPotentialSpamUsersQuery]: Filter some users

[ ] filter user with higher roles
[ ] filter users with more than 5 edits

What is the definition of higher roles?

What is the definition of higher roles? My guess is all users who aren't guests or logins (i.e. role_id > 2).

Yep

There are users in our test database without a role. Is that possible in the actual database? I.e. are those users to be returned in this query?

There are users in our test database without a role. Is that possible in the actual database?

I'm not sure. Anyway, it is good to cover this case.

I.e. are those users to be returned in this query?
I suppose so. Isn't it @kulla?

There are users in our test database without a role. Is that possible in the actual database?

You can test this yourself. Run https://github.com/serlo/serlo.org-database-layer/blob/main/package.json#L20 You need to be logged in into Google via https://cloud.google.com/sdk/gcloud/reference/auth/login

are those users to be returned in this query?

Yes


Peek monaco viewer allowed to be themed

Description of the new feature / enhancement
When viewing code files, or any other text file, Peek opens it using the Monaco Editor (correct me if I'm wrong on this).
The suggestion: adding a setting to choose a theme for the editor.
Themes could be taken from something like VSCode or similar.
Scenario when this would be used?
Some people might not be able to read well with the default theme and want a custom one that suits them, and it will look cooler 😄
Supporting information
No response

Not sure how hard of an ask this is but neat idea

Hey @PesBandi, sorry for the late reply. It would be great if you tried to implement this feature into PowerToys.
Yes, I imagined it to have the basic themes and ways to set custom themes you can download like in VSCode. Perhaps if it's too complicated to implement then it is not worth the hassle I think.


Ibis4Publishing : Unable to upload jar file : FF version  7.5-RC3

In ibis4Publishing, when we are going to upload a jar file it is saying "Successfully uploaded configuration" but actually upload is not done.
On the migrated server we are getting the error:
Failed to upload Configuration: (DuplicateKeyException): (SQLIntegrityConstraintViolationException) SQLState [23000], errorCode [1]: (OracleDatabaseException) ORA-00001: Schending van UNIQUE-beperking (IBIS4PUBLISONLINE_MGR.PK_IBISCONFIG).
when uploading with 'multiple configuration' checked, it's showing an error:
Failed to upload Configuration: (SQLIntegrityConstraintViolationException) SQLState [23000], errorCode [1400]: (OracleDatabaseException) ORA-01400: Kan geen NULL invoegen in ("IBIS4PUBLISONLINE_MGR"."IBISCONFIG"."VERSION").

It seems you're trying to add multiple configurations at once. One of which causes this issue by not having a valid/proper config version.


array.indexes

@user471 thanks for this PR, looks like this use case is already covered by range
import { range } from 'fp-ts/lib/Array'

range(0, 4) // => [ 0, 1, 2, 3, 4 ]

@gcanti yes, but when I need indexes and have some variable like length I have to do
range(0, length -1)
indexes(length) would be better and most of the time I need indexes instead of range, so  fp-ts range doesn't very useful for me and I have to use lodash _.range(length)


Is "data exploder" intentionally misspelled?

The Core menu in metasmoke contains the following entries, among others:

JS Data Exploder
SQL Data Exploder
GraphQL Data Exploder

I'm guessing these should properly say "Explorer"...?

It’s intentional, from way back when. Search CHQ for “exploder” and a lot comes up.
Exact origin is fuzzy beyond “it liked to break a lot of stuff”. @ArtOfCode- ?

Precisely that. It was originally a misspelling, then I realised it applied pretty well to the thing that kept breaking, and it's just been the name ever since.


Elastic submit bugfix

Applies GUI processing logic from #641 to the macroeconomic elasticity model.

LGTM, merging.


updated java (1.8.0_92-b14) for fixing GPU issues

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

@victorpopkov Generally we prefer CPU updates, not PSU. (See my earlier PR for a link to the issue, on mobile)

@adidalal I get it, that's why I included the bug I think makes it important enough to use the PSU.

Yep, didn't revert it, just informing so the other maintainers are on the same page


IndexError: list index out of range

Hi there,
recently the exporter started throwing errors and periodically no longer responds to requests via HTTP:
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/lib/python3.11/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/prometheus_client/exposition.py", line 129, in prometheus_app
    status, headers, output = _bake_output(registry, accept_header, accept_encoding_header, params, disable_compression)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/prometheus_client/exposition.py", line 105, in _bake_output
    output = encoder(registry)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/prometheus_client/openmetrics/exposition.py", line 21, in generate_latest
    for metric in registry.collect():
  File "/usr/lib/python3.11/site-packages/prometheus_client/registry.py", line 97, in collect
    yield from collector.collect()
  File "/var/python_scripts/prometheus_frigate_exporter.py", line 266, in collect
    self.previous_event_id = events[0]['id']
                             ~~~~~~^^^

Hi thanks for letting me know. I was getting this issue too every couple of days or so. Last week I added event counter exporting but I didn't think about when no events are returned. Should be fixed now though, just need to update your image.


Spinning wheel is not shown when analysis is running for xy and timeline charts

Screenshot from vscode-trace-extension:

As compared to theia-trace-extension:

Fixed by https://github.com/eclipse-cdt-cloud/theia-trace-extension/pull/961


.hidden()

Hi when I write something like .hidden() { display:none; } and then define a class .hidden { .hidden();} it goes into an endless loop and hangs the browser up. On FF I get a "A script is not responding ..." call
Is that a known issue or is that just with me here locally.
Version 1.5.5

can anyone reproduce that?

that's because you're defining two mixins with the same name, one which is including the other. All classes are considered mixins. If you want the .hidden class to be displayed in the CSS, just don't parameterize it.
LESS
.hidden {
  display: none;
}
.some-other-class {
  .hidden;
}

CSS
.hidden {
  display: none;
}
.some-other-class {
  display: none;
}

what he said.

Hey thanks for the clarification ... looks like I need to read the documentation a little better.


di: Provider with useValue doesn't accept const complex data type instances

In beta 18, declaring a Provider with useValue currently fails in the angular transfomer if you use an instance of a complex data type.
For example, use the following setup to define a component:
class Bar {
   const Bar();
}

@Component(
    selector: 'foo',
    template: '

',
    providers: const [const Provider(DisplayOptions, useValue: const Bar())]
)
class Foo {
}

This throws Invalid argument(s): Incorrect identifier "const Bar()"
And the stack trace is:
package:angular2/src/transform/common/type_metadata_reader.dart 1357:7   _readIdentifier
package:angular2/src/transform/common/type_metadata_reader.dart 1375:12  _readValue
package:angular2/src/transform/common/type_metadata_reader.dart 1166:20  _readProvider.<fn>

Current workaround:
use useFactory instead of useValue, and simply return the const instance in the factory method body

Could you try this:
const displayOptions = const Bar();

@Component(
    selector: 'foo',
    template: '

',
    providers: const [const Provider(DisplayOptions, useValue: displayOptions)]
)

It might be slightly less hacky. The current Angular analyzer/compiler is pretty rudimentary, but we have plans to improve it to include full package resolution. Can update on this soon.

P3 since there is a workaround.
Blocked by https://github.com/dart-lang/angular2/issues/48

Just an update: this is still blocked by #48. We have some early work done though towards getting the type information we need to actually resolve the value.

This is now planned for the 4.0 release.

This is now unblocked, with caveats:

useFactory is still required when the resolved instance uses a private constructor:

class Foo {
  const Foo();
}

const Provider(Foo, useValue: const Foo()) // OK

class Bar {
  static const instance = const Bar._();

  const Bar._();
}

const Provider(Bar, useValue: Bar.instance) // NOT OK, we only see "Bar._".

This isn't something we can solve in the short-term, but it will make providers more useful for public constructors. I'll give an update when folks are able to start using this externally (initially behind a flag, and hopefully the default for 4.0.0).

Blocked by https://github.com/dart-lang/angular2/issues/404.

Closing since it technically has landed.


exception 0xc0000005 0x8 0x0 0x0 PC=0x0

Go version
go 1.22.2
Output of go env in your module/workspace:
amd64

What did you do?
download 1.22.2
run: go version
What did you see happen?
0xc0000005 0x8 0x0 0x0 PC=0x0
What did you expect to see?
1.22.2

tôi cũng bị như bạn vậy đó


when saving or adding new device handler, need in progress spinner/gray out save button

saving a device handler can take a long time on slower hardware, need to gray out the save button and give user feedback that the system is working.

Fixed


#8888: Add forward support for NEI

Ticket: #8888
Add NE_ op (Not equal to op , in_place operation)
Test File:

Unary NE_ : tests/ttnn/unit_tests/operations/test_binary_composite.py::test_nei_ttnn - PASSED

Binary NE_ : tests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_nei_ttnn - PASSED

Closing this PR since it is handled in https://github.com/tenstorrent/tt-metal/pull/8887


Update DOCUMENTATION.md

The jar plugin expects "baseName" not "basename", so the samples don't currently work.

Thank you very much!


Move WIP scripts into a folder to avoid confusion

Signed-off-by: lanxia<EMAIL_ADDRESS>

Grinder: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1561/


Dash in database name prevents connection

Error: db error: ERROR: syntax error at or near "-"
It's likely that other special symbols would produce the same error

Let me know if that solves your problem!


Improve tooltip on compose box x button

At present, the tooltip on the compose box x button says "Cancel compose". Users may therefore be unaware that clicking that button will save their message as a draft.
Instead, if the draft will be saved when the x is clicked (i.e. there are enough characters in the compose box), the tooltip should say: "Cancel and save draft".
When the draft will not be saved (because the message is too short), the tooltip should just say "Cancel compose" as it does now.
CZO thread

@zulipbot claim

Hey @zulipbot can I work on this issue??

@zulipbot claim

Let's try changing the ? help menu text for Esc to "Cancel compose and save draft." We'll have to see if it feels too long.
The bold text on https://zulip.com/help/keyboard-shortcuts should be changed to match the ? menu.


youtube-dl.exe fails to start if started from the path that has non-english alphabet characters

System: Windows 8.1 64bit
Steps to reproduce:

Create directory that contains only russian alphabet letters. Example folder name: "ф"
Download https://yt-dl.org/downloads/2015.12.29/youtube-dl.exe
and copy youtube-dl.exe to "ф" directroy
run youtube-dl from the folder and get error:
D:\media?>youtube-dl.exe
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in
ImportError: No module named linecache
Copy one level up and run. Works without problem.
D:\media>youtube-dl.exe
Usage: youtube-dl.exe [OPTIONS] URL [URL...]

Works fine for me:
C:\ф>youtube-dl.exe -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.29
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
Usage: youtube-dl.exe [OPTIONS] URL [URL...]

youtube-dl.exe: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

Sergey thanks for quick check.
What about folder name with Greek letters : "πξκλ" (I get the same error as for "ф")
Probably the trick is to use characters which you do not have on your computer (can not type).
I have pure Windows for English United States.
Location&Format&Region: United States
The Only locale/language I can type is English US.
I wanted to save some Russian youtube videos and copied video titles with russian characters from youtube into directory names :)  Hence the error report. Probably too obscure but anyways it was very weird to download exe and get this error :)

Failed but with different error. However from cmd I neither can run any exe from this directory nor do anything within it, can you? So this is rather locale cmd issue.

I open command prompt directly for this directory by: (in windows explorer) holding SHIFT and right clicking on the directory then selecting "Open command window here". Then I can execute exe directly from command prompt. Anyway I see that my report describes weird combination of factors. Feel free to close it.

Changing system locale to Greek fixed πξκλ folder but broke cyrillic one.

selecting "Open command window here". Then I can execute exe directly from command prompt.

This work now for cyrillic folder with Greek locale but didn't work previously for greek folder with Russian locale.


Initialize JWTClient with a different tenant

I have an angular app which is communicating with laravel.
On every call I send JWT and it passes middleware with auth.
On Laravel there is a tenant database with data from installed instance.
Is there a way that I can create new JWTClient($jwt) to current user.
Becouse JWTClient(Auth::user()) gives me login from tenant database.

@egarazlic please write a whole picture here with details as you wrote in the email.

Story for issue
But have some errors
Every time someone install addon it will be created tenant row in database table(tenant) for a verification.
In table there are rows
[id 1: test.atlassian.net dummy tenant row] this is generated automaticly.
[id 2:xxxx.atlassian.net with keys]
[id 3:zzzzz.atlassian.net with keys]
Addon Is using Angular 4 integrated with Laravel.
First Call of addon Larave page Route (somepage)
{
$jwt = request('jwt', request()->header('Authorization'));
$data['user']=$jwt;
return view('ng-cli-app2',$data);
}
And in view is updated jwt.
Angular Part:
set JWT in localStorage.
After that on Angular HTTP request I set jwt in header with intercepter. and caling Laravel/Route in middleware  with auth jwt
public function LaravelRoute(Request $request){
   /**
    $result= \Illuminate\Support\Facades\DB::table('tenant')->get();
    Still only 3 records
   **/
    $jwt = request('jwt', request()->header('Authorization'));
    $user=(array)(base64_decode(explode(".", $jwt)[1]));
    $user=json_decode($user[0], true);
 /*

The user from jwt is curent user of instance
**/
    $client = new JWTClient(Auth::user());

/**
Auth User is user who installed addon in tennant not user who is using addon
**/
if use something like this
$client->get('/rest/api/2/myself')
I got info from user who installed addon
*/
}
Is there a way to use client->get() with parameters from jwt. not from Auth::user();

@egarazlic you can extract "clientKey" from a JWT token:
$parts = JWTHelper::decode($jwt);
$clientKey = array_get($parts, 'body.iss');

$tenant = $this->tenantService->findByClientKeyOrFail($clientKey);
$client = new JWTClient($tenant);

@brezzhnev But it is not the question about singing with diferent tenant user.
Let me explain.
Me and you are users in Jira Instance.
If we have installed addon on JIRA and it gets its tenant row with key as in plugin.php
After installation if I am logged as user(wickelid) in Jira and run the addon passing my JWT it keeps geting signed with key from adon..if i run rest/api/2/myself it gets info from plugin key.
Or if you try to use your account in adon with key brezzhnev it keeps you loged in rest api as adon key.
Is there a way to use scope act as user with JWTClient
something as new JWTClient(Auth::user(),[user_key_to_act]);

@egarazlic your way of explanation is a little bit difficult.
So, as far as I understood (I hope I did that), you need to pass a custom JWT token to JWTClient?

@brezzhnev yes I need to pass custom JWT token to have authenticated as other user (curently loged in jira) not as adon-key user

@egarazlic there are two possible ways to do it:
With a fake Tenant:
Create a Tenant instance and fill the fields addon_key, shared_secret, then pass it to the JWTClient.
Override HTTP Client:
The constructor has $client option, you can use it to pass your own configured client.
It means you able to initialize any middlewares. In your case, you can do something like this:
/**
 * Create the HTTP Client with a custom JWT token
 *
 * @param string $token
 *
 * @return \GuzzleHttp\Client
 */
public function createHttpClient(string $token)
{
    $stack = new \GuzzleHttp\HandlerStack();
    $stack->setHandler(new \GuzzleHttp\Handler\CurlHandler());

    $stack->push(\GuzzleHttp\Middleware::mapRequest(function (\Psr\Http\Message\RequestInterface $request) use ($token) {
        return new \GuzzleHttp\Psr7\Request(
            $request->getMethod(),
            $request->getUri(),
            array_merge($request->getHeaders(), ['Authorization' => 'JWT ' . $token]),
            $request->getBody()
        );
    }));

    return new \GuzzleHttp\Client(['handler' => $stack]);
}

...

$client = new JWTClient($tenant, null, $this->createHttpClient($jwtToken));

All your requests will be signed by passed JWT token.

These ways are workarounds, I'll think how to make it flexible.

@egarazlic is it working for you?

Let's consider it as closed.


Change default solver from Gurobi to an open-source solver

Checklist

[X] I am using the current master branch
[X] I am running on an up-to-date pypsa-usa environment. Update via conda env update -f envs/environment.yaml

The Issue
Change default solver from Gurobi to an open-source solver
Steps To Reproduce
No response
Expected Behavior
No response
Error Message
No response
Anything else?
No response

duplicate bug #102


Fix NodeLocalDNS

This PR aims to fix NodeLocalDNS.
It is still not tested.
I need to verify how the following values:

__PILLAR__CLUSTER__DNS__
__PILLAR__UPSTREAM__SERVERS__

are changed.
According to the documentation

The following variables will be set by the node-cache images - k8s.gcr.io/k8s-dns-node-cache:1.15.6 or later. The values will be determined by reading the kube-dns configMap for custom Upstream server configuration.
__PILLAR__CLUSTER__DNS__ - Upstream server for in-cluster queries.
__PILLAR__UPSTREAM__SERVERS__ - Upstream servers for external queries.

But still not clear to me how.

Allright according the author's PR this seems really magic and node-local-dns will do the rest https://github.com/kubernetes/kubernetes/pull/82845#commitcomment-35529267

Actually, in the near future, we could even remove the logic to get kube-dns Service IP. Indeed

Autofilling the DNS Server is possible, node-cache code just needs to look for the kube-dns service ip by checking the value of env variable - KUBE_DNS_SERVICE_HOST

This feature is not implemented yet but definitely will make neater the implementation here.


Why build both node and electron for --napi?

It seems strange that an addon that doesn't use any node headers other than node-api.h (including through napi.h) would have any ABI differences between Node and Electron?
The main thing I guess is that you can't guarantee that it is only using N-API, I myself have written a (test) N-API addon that uses uv.h to get at uv_{get,open}_osfhandle(), but then you can't guarantee it's using N-API at all.

I think that was meant for prebuildify which uses this.
(We build for both cause electron and node were indeed not abi compatible on windows for a while. Unsure if that has been fixed)

I'm as confused as you! Possibly switched to the wrong tab. I'm not using prebuildify any more, (instead using node-gyp as a library directly) but I suppose it's still a reasonable question, I'm just not sure if it's for prebuildify or electron!


error: v2rayn failed to start the kernel - look at the logs

Every time I try to test all servers for speed and latency (ctrl+E), I get an error: "failed to run Core, please see the log".
I checked the log and copied the report to chat gt4 - it says there are no problems. I tried updating the v2rayn client. I tried to install the latest version - it does not help and does not solve this problem in any way.
I used the config: "All_Configs_Sub.txt"
I describe step by step the process in which the error comes out, I'm new to github and I don't know how to use it, I use a translator:
in the new version of the program v2rayn 6.60 (yes, in principle, in any version of the program, I tried it on 7.0.6 - the situation is similar)

I run v2rayn as an administrator (although this is not important in principle and does not affect in any way, the error still appears early)
press ctrl+e (to test the speed and latency of all servers)
returns the error "failed to run Core, please see the log"

as a result, I cannot use this list. I have to take any other list since this one doesn't work.
**I'm not sure, but maybe it's because of the number of servers, since there are 4477 of them here
**I tried it on win 10 pro, win 11 pro - the result is the same.
**the rest of the lists are working fine, there may be some kind of error in the list
**the latest versions of the sdk (6-8) from Microsoft are also installed
**I am attaching screenshots with step-by-step actions

Additionally, I would like to leave a comment: as a beginner, I am like a monkey with a grenade in my hands. I don't understand how this whole system works. the instructions do not say anything about this. I would like to see a brief diagram that will depict or describe how this program works in general. the program is overloaded with a bunch of unnecessary functions that are located and named unintuitively. there is no help and hints above the windows and buttons. beginners won't understand how it works. I want to understand how it works.
since I don't know how to use github, I couldn't even describe this error - because I didn't know where to click on this site. chat gpt helped me. since I don't speak English at all. this information should be added to the header of your configs. then it will be much easier to submit a request about errors that occur

starting today, it's exactly the same problem with different lists. you have some errors in the configuration files.
you give a comment - will it be fixed or not. I need to understand if I should wait for feedback or if it's easier for me to find other configs, since I'm being ignored.

all server lists stopped working "kernel error" failed to start the kernel. v2rayn is no longer working.

Hey @T-8000N71,
Thanks for creating such a perfect issue & telling me the problem you encountered.
Unfortunately, The v2rayn application is unable to handle such an amount of configs. So I suggest you try the hiddify application. Here is the link below:
https://github.com/hiddify/hiddify-next/releases
You can use my subs on there to get connected.
Here is my suggestion to follow too:
https://github.com/barry-far/V2ray-Configs#requirements-and-how-to-use

Hey @T-8000N71, Thanks for creating such a perfect issue & telling me the problem you encountered.
Unfortunately, The v2rayn application is unable to handle such an amount of configs. So I suggest you try the hiddify application. Here is the link below:
https://github.com/hiddify/hiddify-next/releases
You can use my subs on there to get connected.
Here is my suggestion to follow too: https://github.com/barry-far/V2ray-Configs#requirements-and-how-to-use

it is sad. now no config is running. but I don't really care, I found another program. She's better at everything, works faster. and I don't use this shame anymore.

absolutely all configs stopped working. neither configuration works. therefore, I no longer use the misunderstanding under the name v2rayn

d. now no config is running. but I don't really care, I f

OK dont use any configs. Its not for me to fell shame 🙂💔

There are some other splitted configs you can find through here:
https://github.com/barry-far/V2ray-Configs#usage

you don't have an understanding of what real convenience is. if only you had used Russian services at least once. you would understand what maximum convenience is. when everything can be solved through a smartphone. any problem at all. no need to run around with papers. There is no bureaucracy. everything is digital. I pressed 3 buttons and received an extract. I pressed 2 buttons and went to the hospital.   Have you ever used it

and this happens because our people are tougher.    It's time to make humanoid robots.    They'll just burst out. They kill.


make the servicepoint country configurable

I needed a way to fetch dhl servicepoints for different countries (mainly Belgium, Germany and Netherlands)
I added the country property in the endpoint file, so that it's configurable, the default is set to NL so that it does not break the existing code.
I tested it on my live store.
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ X ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Go over all the following points, and put an x in all the boxes that apply.
Please, please, please, don't send your pull request until all of the boxes are ticked.

[X] I have read the CONTRIBUTING document.
[X] My pull request addresses exactly one patch/feature.
[X] I have created a branch for this patch/feature.
[X] Each individual commit in the pull request is meaningful.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.
[X] If my change requires a change to the documentation, I have updated it accordingly.
[X] My code follows the code style of this project.

If you're unsure about any of these, don't hesitate to ask. We're here to help!

Thanks!

Just tagged release v0.8.2.


Code Refactoring

[x] "returningPosts" is in very bad situation.
[ ] "notification" system is so divided.
[ ] "runContractFunction" is so divided.
[x] "gettingComments" should be refactored.
[ ] "comments panel" should be refactored.

Additional issues may be included over time.

I changed my mind to create component for each post so above factorings are no longer needed.


Add createbreakpoint test case

Description
add createBreakpoint.ts testcase
ref

right..!  I just changed it as you say

@malithmcr  Can you check it?

:tada: This PR is included in version 13.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: