Mixcloud problem with specific link from python program

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United Kingdom - Globally
Description
I am using yt-dlp as part of bigger python program.
I have a very specific issuw with this link
orig_link = "https://www.mixcloud.com/Marios_Dionellis/%CE%BC%CE%AE%CF%80%CF%89%CF%82-%CE%B7-%CE%B3%CE%B9%CE%B1%CE%B3%CE%B9%CE%AC-%CE%BA%CE%B1%CE%B9-%CE%BF-%CF%80%CE%B1%CF%80%CF%80%CE%BF%CF%8D%CF%82-%CE%BC%CE%B1%CF%82-%CF%80%CE%B5%CF%81%CE%B9%CF%83%CF%83%CE%B5%CF%8D%CE%BF%CF%85%CE%BD-%CF%80%CE%AF%CF%83%CF%89-%CF%83%CE%B5%CE%BB%CE%AF%CE%B4%CE%B5%CF%82-%CE%B4%CE%B5%CF%85%CF%84%CE%AD%CF%81%CE%B1-14-%CF%86%CE%B5%CE%B2%CF%81%CE%BF%CF%85%CE%B1%CF%81%CE%AF%CE%BF%CF%85-2022/"

 ydl_opts = {'simulate': not download,
                'forcetitle': True,
                'forceduration': True,
                'forceurl': True,
                'forcedescription': True,
                'nocheckcertificate': True,
                'outtmpl': "temp.%(ext)s",
                'timestamp': True
                }

 with yt_dlp.YoutubeDL(ydl_opts) as ydl:
                ydl.download([orig_link])
                info_dict = ydl.extract_info(orig_link, download=False)

The code is used for quite sometime. That's the only link I have issue. I don't know how to get verbose log as I don't have any issue from command line but only from within python.
I am pasting the tracecode. I think it is easy to reproduce it. youtube-dl the original doesn't have any problem with this.
Verbose log
ydl.download([orig_link])
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3212, in download
    self.__download_wrapper(self.extract_info)(
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3185, in wrapper
    res = func(*args, **kwargs)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1372, in extract_info
    return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1381, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1465, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1517, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 2516, in process_video_result
    info_dict, _ = self.pre_process(info_dict)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3329, in pre_process
    info = self.run_all_pps(key, info)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3321, in run_all_pps
    self._forceprint(key, info)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 2704, in _forceprint
    info_copy['formats_table'] = self.render_formats_table(info_dict)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3477, in render_formats_table
    delim = self._format_screen('\u2502', self.Styles.DELIM, '|', test_encoding=True)
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 900, in _format_screen
    return self._format_text(
  File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 892, in _format_text
    text = text.encode(encoding, 'ignore').decode(encoding)
TypeError: encode() argument 'encoding' must be str, not None

I don't know how to get verbose log

Add 'verbose': True to the opts

possible duplicate of #2711

ydl = yt_dlp.YoutubeDL(ydl_opts)
File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 654, in init
self.print_debug_header()
File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3574, in print_debug_header
get_encoding(self._screen_file), get_encoding(self._err_file),
File "C:\Python3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3568, in get_encoding
ret += ' (No VT)' if WINDOWS_VT_MODE is False else ' (No ANSI)'
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

possible duplicate of #2711

I have read that now that u posted it. I tried to put at the ydl_options but still no good...

Please check if the issue still exists in master

Please check if the issue still exists in master

Yeap, master solves it. I assume it will be merged to releases with the next version? Is there a way to move back to releases after it has been merged?

I assume it will be merged to releases with the next version?

Yes

Is there a way to move back to releases after it has been merged?

i dont understand what u mean


Add Windows support

Description
This adds support for Windows
Issues Resolved
https://github.com/sous-chefs/openssh/issues/119
Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[X] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Released as: 2.11.0


runtime: BenchmarkMapDelete is non-linear and slow

$ go test -bench=MapDelete/Int64/4 -run=NONE -benchtime=100ms runtime
BenchmarkMapDelete/Int64/4-8       	 1000000	       129 ns/op
ok  	runtime	0.974s
$ go test -bench=MapDelete/Int64/4 -run=NONE -benchtime=1000ms runtime
BenchmarkMapDelete/Int64/4-8       	10000000	       164 ns/op
ok  	runtime	12.528s

Note that the ns/op increases as the benchtime goes up. This indicates that the benchmark is not well-formed. Beyond that, it causes problems because (1) minor performance changes that trigger a change in the number of iterations appear to be significant performance changes and (2) when the number of iterations that fits in benchtime is on the edge it causes a bimodal ns/op distribution.
Note also that it takes 12s to run a 1s benchmark. Ouch.
IIRC, some other recently added map benchmarks share these problems. (They also should have been added to mapspeed_test.go instead of map_test.go.)
cc @randall77 @huguesb @bcmills

(pprof) top10
Showing nodes accounting for 17.94s, 98.52% of 18.21s total
Dropped 38 nodes (cum <= 0.09s)
Showing top 10 nodes out of 25
      flat  flat%   sum%        cum   cum%
    12.37s 67.93% 67.93%     13.13s 72.10%  runtime.mapassign_fast64 /Users/hugues/go/src/runtime/hashmap_fast.go
     2.61s 14.33% 82.26%      2.84s 15.60%  runtime.mapdelete_fast64 /Users/hugues/go/src/runtime/hashmap_fast.go
     1.15s  6.32% 88.58%      1.15s  6.32%  runtime.memclrNoHeapPointers /Users/hugues/go/src/runtime/memclr_amd64.s
     0.52s  2.86% 91.43%      0.52s  2.86%  runtime.aeshash64 /Users/hugues/go/src/runtime/asm_amd64.s
     0.50s  2.75% 94.18%      0.50s  2.75%  runtime.usleep /Users/hugues/go/src/runtime/sys_darwin_amd64.s
     0.26s  1.43% 95.61%      0.26s  1.43%  runtime.mapassign_fast64 /Users/hugues/go/src/runtime/hashmap.go
     0.18s  0.99% 96.60%      0.23s  1.26%  runtime.typedmemmove /Users/hugues/go/src/runtime/mbarrier.go
     0.16s  0.88% 97.47%     17.63s 96.81%  runtime_test.benchmarkMapDeleteInt64 /Users/hugues/go/src/runtime/map_test.go
     0.12s  0.66% 98.13%      0.12s  0.66%  runtime.mapassign_fast64 /Users/hugues/go/src/runtime/stubs.go
     0.07s  0.38% 98.52%      0.12s  0.66%  runtime.typedmemclr /Users/hugues/go/src/runtime/mbarrier.go

Looks like the initialization needs to be reworked. I'll take a stab at it today

I have a reworked benchmark which runs faster and is stable wrt increased benchtime
hugues@neosynchronicity:src $PATH=~/go/bin:$PATH go test -bench=MapDelete -run=NONE -benchtime=100ms runtime
goos: darwin
goarch: amd64
pkg: runtime
BenchmarkMapDelete/Int32/100-8     	 5000000	        37.4 ns/op
BenchmarkMapDelete/Int32/1000-8    	 3000000	        43.5 ns/op
BenchmarkMapDelete/Int32/10000-8   	 3000000	        48.6 ns/op
BenchmarkMapDelete/Int64/100-8     	 5000000	        35.6 ns/op
BenchmarkMapDelete/Int64/1000-8    	 3000000	        43.5 ns/op
BenchmarkMapDelete/Int64/10000-8   	 3000000	        49.6 ns/op
BenchmarkMapDelete/Str/100-8       	 3000000	        49.0 ns/op
BenchmarkMapDelete/Str/1000-8      	 3000000	        54.4 ns/op
BenchmarkMapDelete/Str/10000-8     	 2000000	        63.1 ns/op
PASS
ok  	runtime	4.983s
hugues@neosynchronicity:src $PATH=~/go/bin:$PATH go test -bench=MapDelete -run=NONE -benchtime=1000ms runtime
goos: darwin
goarch: amd64
pkg: runtime
BenchmarkMapDelete/Int32/100-8     	50000000	        35.7 ns/op
BenchmarkMapDelete/Int32/1000-8    	30000000	        43.0 ns/op
BenchmarkMapDelete/Int32/10000-8   	30000000	        49.1 ns/op
BenchmarkMapDelete/Int64/100-8     	50000000	        35.4 ns/op
BenchmarkMapDelete/Int64/1000-8    	30000000	        43.8 ns/op
BenchmarkMapDelete/Int64/10000-8   	30000000	        49.7 ns/op
BenchmarkMapDelete/Str/100-8       	30000000	        48.7 ns/op
BenchmarkMapDelete/Str/1000-8      	30000000	        55.3 ns/op
BenchmarkMapDelete/Str/10000-8     	20000000	        64.0 ns/op
PASS
ok  	runtime	39.122s

I'll send a CL shortly


Error running tool from project location

Steps to reproduce:

Install latest upgrade-assistant version as a .NET CLI tool how described in[README.md
Try running the tool from any folder except its installation location, for example from "D:\projects\MyProject" folder

PS D:\projects\MyProject> upgrade-assistant .\MyProject.sln

Expected: the tool works and starts analyzing the solution.
Actual: the tool crashes with exception:
-----------------------------------------------------------------------------------------
- Microsoft .NET Upgrade Assistant v0.2.211942+c8effffd96b96d68652b6ef3dc3f01c5983ef66b -
-----------------------------------------------------------------------------------------

Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'D:\projects\MyProject\Microsoft.DotNet.UpgradeAssistant.Extensions.Default.dll'. The system cannot find the file specified.
File name: 'D:\projects\MyProject\Microsoft.DotNet.UpgradeAssistant.Extensions.Default.dll'
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.DotNet.UpgradeAssistant.Extensions.ExtensionProviderExtensions.RegisterExtensionServices(IServiceCollection services, IConfiguration configuration) in /_/src/extensions/Microsoft.DotNet.UpgradeAssistant.Extensions/ExtensionProviderExtensions.cs:line 92
   at Microsoft.DotNet.UpgradeAssistant.Extensions.ExtensionProviderExtensions.AddExtensions(IServiceCollection services, IConfiguration configuration, IEnumerable`1 additionalExtensionPaths) in /_/src/extensions/Microsoft.DotNet.UpgradeAssistant.Extensions/ExtensionProviderExtensions.cs:line 44
   at Microsoft.DotNet.UpgradeAssistant.Cli.Program.<>c__DisplayClass4_0.<RunCommandAsync>b__0(HostBuilderContext context, IServiceCollection services) in /_/src/cli/Microsoft.DotNet.UpgradeAssistant.Cli/Program.cs:line 100
   at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(IHostBuilder hostBuilder, Action`1 configureOptions, CancellationToken cancellationToken)
   at Microsoft.DotNet.UpgradeAssistant.Cli.Program.RunCommandAsync(MigrateOptions options, Action`2 serviceConfiguration, AppCommand appCommand, CancellationToken token) in /_/src/cli/Microsoft.DotNet.UpgradeAssistant.Cli/Program.cs:line 78
   at Microsoft.DotNet.UpgradeAssistant.Cli.Program.RunMigrationAsync(MigrateOptions options) in /_/src/cli/Microsoft.DotNet.UpgradeAssistant.Cli/Program.cs:line 60
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()

Note: absolute path to "sln" or "csproj" file doesn't work too - same error.
Workaround: go to upgrade-assistant installation location and run it from there:
PS C:\Users\pavel.nezhencev\.dotnet\tools\.store\upgrade-assistant\0.2.211942\upgrade-assistant\0.2.211942\tools\net5.0\any> upgrade-assistant D:\projects\MyProject\MyProject.sln

Sample result:
-----------------------------------------------------------------------------------------
- Microsoft .NET Upgrade Assistant v0.2.211942+c8effffd96b96d68652b6ef3dc3f01c5983ef66b -
-----------------------------------------------------------------------------------------

[21:33:37 INF] Configuration loaded from context base directory: C:\Users\pavel.nezhencev\.dotnet\tools\.store\upgrade-assistant\0.2.211942\upgrade-assistant\0.2.211942\tools\net5.0\any\
[21:33:38 INF] MSBuild registered from C:\Program Files\dotnet\sdk\5.0.103\
[21:33:38 INF] Registered 1 extensions:
        Default extension
[21:33:38 INF] Loading migration progress file at D:\projects\MyProject\.upgrade-assistant
[21:33:38 INF] Initializing migration step Select an entrypoint

Migration Steps

1. [Next step] Select an entrypoint

Choose a command:
   1. Apply next step (Select an entrypoint)
   2. Skip next step (Select an entrypoint)
   3. See more step details
   4. Configure logging
   5. Exit
>

Thanks for the report, @lunchin. I believe this issue is already fixed in the latest builds of upgrade-assistant. Try dotnet tool update -g upgrade-assistant (you should get version 0.2.212406 or higher) and let me know if the issue still repros.


Rebrand?

The current branding has a few problems:

Many people have no idea what kind of "hashbrown" the name refers to, I thought it was about actual hash brownies :D
People think the icon is an egg or something weather related, the "food in paper bag" idea is not really getting across
The current icon is low contrast and needs better execution

I'm not sure what we can do about the name, I guess there's no way to avoid the drug association without completely changing the metaphor. I'd be happy to help brainstorm something else, but maybe keeping the name is fine if we make the icon something more generic and less weird for people who don't know the type of food this references.
Here's a concept for a more generic icon:

Since this app is already in Circle and on apps.gnome.org it'd be good to get this fixed sooner rather than later.
cc @jimmac @sophie-h

Thanks for raising this issue!
Just to clarify in advance, both the name and icon for Hashbrown, refer to the food item.
The icon is inspired by the following images:

I hadn't noticed the drug association until now and would be happy to sort it out as soon as possible.
That being said, a rebrand sounds nice! The generic icon perfectly summarizes the app's functionality and looks good (thanks!), but I'm not sure about the name. "Hashbrown" will no longer be associated with the app icon and feels a bit out of place (similarly to if "lollypop" was just a "play" icon). At the same time I can't really think of an appropriate name. Some thoughts:

"Hash Generator" (too generic?)
"Collision" (ref)
"Checksum"

I'm ok with keeping "Hashbrown" too, since changing it will require additional work outside the app itself (Flathub, third-party repos, Software, Circle, other websites).

Collision sounds really cool, and would work well here IMO.

Started tracking it on #27. Unless there are any objections to the rename (and the chosen name, Collision), I'm ready to proceed with the tasks.

Renamed in Circle repo. Please report changes like this to the Circle Committee.

Oops, really sorry about that. I completely lost track of it after #27 got merged.
(Also didn't get the gitlab notification due to "Your account had been deactivated due to inactivity").
Just submited the last issue of #27. Again super sorry about this, won't happen again.


feat: Implement menu bar similar to QQ Music

🎸🎸🎸~

The shortcut keys in the menu bar as macos.
If you are interested, you can try do for win.
Or maybe I will optimize it if I have time later. 😁


Comment fields stay tall after the comment is submitted

Write a long comment on this issue
See the textarea expand
Submit the content
The textarea height should reset but it doesn't

This is probably because GitHub resets the content via .value = '' and that doesn't trigger the input event that fit-textarea waits for.

This is probably because GitHub resets the content via .value = '' and that doesn't trigger the input event that fit-textarea waits for.
However, GitHub's own textarea resizer works correctly so they must have some other way to trigger this reset, like a custom event.

GitHub uses reset events on the inputs elements form nodes (👌) to cleanup all the things. (source)

Ah that’s great!
I’m using Firefox so perhaps chrome fires an input event and it works for you.


Ability to translate error messages

I would be nice if error messages could be translated. If implemented, it should take care of the f3 PREFIX variable.

Fixed in https://github.com/geofmureithi/f3-validate/releases/tag/1.1


As a backend developer we want to enable the front end to get random countries to distribute to each player so as to enable another flag based trivia gamemode.

094b9bc9dfe85eaa6f556b9dd9a6f422ed081b2a
2a438bed96c8b1875f7b55ca7003676ff5ff5730


Can't find class for pollTypeRegular

Using tdlib-ruby 2.2.0 with td 1.6.0, I get
/Users/antonmurygin/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/tdlib-ruby-2.2.0/lib/tdlib/types.rb:858:in `wrap': Can't find class for pollTypeRegular (ArgumentError)

So, obviously some classes were not created in the last version.

If you want, I can work on that.

Okay, already did it :)

Hi @funk-yourself, would you mind publishing a new version with this fix to RubyGems?


XSD issue with scim-for-keycloak-kc-16-b3.ear

Hello,
Perhaps an error on my side because I'm new on this.
Here is how I tried to deployed:
1/ Get v16.1.1 from https://www.keycloak.org/downloads.html
2/ Then  pushed https://github.com/Captain-P-Goldfish/scim-for-keycloak/releases/download/kc-16-b3/scim-for-keycloak-kc-16-b3.ear on keycloak-16.1.1/standalone/deployments/
Deployment is failing and complaining on dbchangelog-3.9.xsd
server.log

many thanks Captain for the quick reply ;-)

Just going to paste the complete error message here in case someone (like me) tries Googling for it :-)
Caused by: java.io.FileNotFoundException: /src/main/resources/META-INF/dbchangelog-3.9.xsd (No such file or directory)
Thanks, btw. This was exactly the problem I was having.


[Refactor] Introduce TranslatorContext (1/2)

Motivation
To make upcoming PRs less noisy, we need a way to propagate configuration all the way deep to types like TypeAssigner/TypeMatcher, which historically didn't have that need.
Modifications
Introduced a new wrapper type called TranslatorContext, which wraps the existing closure that converts arbitrary strings into safe Swift names (which might in the future also need to be further customized).
The idea is that this new struct is what we'd attach more config to shortly.
There'll be a few more smaller PRs like this, I'm breaking them up for easier review.
Result
Generalized the way to propagate config into low level translator utilities.
Test Plan
All tests still pass.

Don't love the name of the closure

Yeah same, but I just moved it, it's not a new name. Happy for us to rename it globally separately.

Would it make sense for a 'part 3' PR which adds the Config instance to this context? I think it would further help reduce the noise in PRs like #627 which needs to access a value on config at that same deep TypeMatcher type.

No, that was my original plan, but Context contains a lot more information than we need to propagate, which would make testing unnecessary noisy.
The idea is that we copy/extract whatever we need from Config onto TranslationContext as specific properties.
For example, for the UUID PR, there should be a new Bool property added on TranslationContext called generateTypesafeUUID or similar.

Ok that makes a lot of sense, thanks.
Though in the context of the UUID PR wouldn't the featureFlags property be more desirable to copy over to avoid the noise of construction when N other similar PRs pop up and want to have their own properties too?

That's one way, but I think it's better to be very explicit about the exact inputs that are needed, rather than passing all of feature flags or the entire Config in. As that makes testing later, as it's not clear which parts need to be mocked in tests and which are ignored.

True, if the config or feature flags end up quite large then it would be difficult to know what needs to be mocked without a full understanding of everywhere it's used.
So I guess it'll be up to the UUID PR to now set the precedent of adding a property. 👍


grblas.semiring.any_div.binaryop raises error

grblas.binary.div is replaced with cdiv and truediv and floordiv to better match Python's implementation of division.
This change was never applied to the pre-compiled versions of semirings using div. Whether or not this same hack should be applied is debatable, but it additionally breaks grblas.semiring.any_div.binaryop because it tries to look up grblas.binary.div which does not exist.

Good catch!
I'm in favor of any_cdiv, any_floordiv, and any_truediv while removing any_div.


VirtualItem does not seem to work with custom components

Short description of the problem:
I am trying to use VirtualScroll but instead of directly using ion-item as the virtual item, I am using a custom component that encapsulates ion-item.
What behavior are you expecting?
Render the component normally as when using ngFor.
Steps to reproduce:

Create a custom component that its' template has a complete ion-item
Use that component inside a virtualScroll

  <ion-list [virtualScroll]="items">
  <list-item *virtualItem="let item" [item]="item"></list-item>
  <!-- <ion-item *virtualItem="let item" item="item">{{item}}</ion-item> -->
  </ion-list>

Which Ionic Version? 1.x or 2.x
Ionic2-beta8
Plunker that shows an example of your issue
http://plnkr.co/edit/ONkXIK0ByvBwWeAfgMcD?p=preview
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.2.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.8
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.3.1
Xcode version: Xcode 7.3.1 Build version 7D1014

I believe this is a dupe/related to https://github.com/driftyco/ionic/issues/6877

I think it is the opposite of #6877 I am using a custom component inside VirtualScroll, not VirtualScroll inside a custom component

+1
exactly the same behavior here. Having VirtualScroll with custom component leads to messed up view where each component overlays every other.
The VirtualScroll is as badly implemented as it was in Ionic1 and needs to be refactored or updated to allow that kind of code.

+1
Same issue here, my custom list items all get assigned:
transform: translate3d(375px, 0px, 0px);
although the items itself have some height set.
Is there any workaround?

Seems like I'm able to use this as workaround (wrapping custom item in div):
<div *virtualItem="let item">
    <my-list-item [modeldata]="item"></my-list-item>
</div>


Approval on approved memories

If an approval URL is used on an already approved memory, respond appropriately.

Returning a 404 is fine.


Log more activity in promu crossbuild

I was just checking a prometheus/prometheus build on CircleCI and didn't see any log output (even tho the job is running for 3m already). Not sure whether that's a bug, but it'd be helpful to know what promu is doing.

The first log lines which popped up were from the middle of the build. This looks like a CircleCI bug.


Cargo prefers dynamic linking for a dylib, if in a workspace

Problem
Having a workspace with multiple crates, libraries and binaries combined. One of the libraries should be compiled as dylib and used from an FFI context in another language. When the crate is in a workspace, it has certain libraries linked dynamically that cannot be found:
> ldd libmigration_core.so
	linux-vdso.so.1 (0x00007ffc847f0000)
	liblexical_core-306cff9771b5ea52.so => not found
	libstd-9895e8982b0a79e7.so => not found
	libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f050f68f000)
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f050f3bb000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f050f3b6000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f050f3a9000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f050f388000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f050f36e000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f050f1ab000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f05106db000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f050f065000)

The cargo build -vv --package migration-core reveals how Cargo adds an extra flag -C prefer-dynamic to the build parameters:
rustc --edition=2018 --crate-name migration_core migration-engine/core/src/lib.rs --color always --crate-type dylib -C prefer-dynamic

We can add the library in the exclude section in the workspace Cargo.toml and try compiling it again. This time it holds its own target directory and the linking works as supposed, as can be seen in the ldd output:
ldd libmigration_core.so
	linux-vdso.so.1 (0x00007f91e0427000)
	libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f91dd8fc000)
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f91dd628000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f91dd623000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f91dd618000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f91dd5f7000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f91dd5dd000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f91dd418000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f91e0428000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f91dd2d2000)

And we can see the prefer-dynamic build flag is not set:
rustc --edition=2018 --crate-name migration_core src/lib.rs --color always --crate-type dylib

Steps

git clone git@github.com:prisma/prisma.git --branch lift_ffi
cd prisma/server/prisma-rs
cargo build -vv --package migration-core
See from the last line how rustc uses -C prefer-dynamic
See ldd target/debug/libmigration_core.so for missing dependencies
Take the package out from the workspace.

diff --git a/server/prisma-rs/Cargo.toml b/server/prisma-rs/Cargo.toml
index d8db642dd..9f670246b 100644
--- a/server/prisma-rs/Cargo.toml
+++ b/server/prisma-rs/Cargo.toml
@@ -1,9 +1,6 @@
 [workspace]
 members = [
   "prisma-models",
-  "migration-engine/connectors/migration-connector",
-  "migration-engine/connectors/sql-migration-connector",
-  "migration-engine/core",
   "query-engine/connectors/connector",
   "query-engine/connectors/sql-connector",
   "query-engine/prisma",
@@ -14,3 +11,16 @@ members = [
   "libs/prisma-inflector",
   "libs/database-introspection",
 ]
+
+exclude = [
+  "migration-engine/connectors/migration-connector",
+  "migration-engine/connectors/sql-migration-connector",
+  "migration-engine/core",
+]

cd migration-engine/core/
cargo build -vv
See how rustc has no -C prefer-dynamic set.
ldd target/debug/libmigration_core.so and see how libstd and liblexical_core are now statically linked and not missing.

Notes

cargo 1.36.0 (c4fcfb725 2019-05-15)
rustc 1.36.0 (a53f9df32 2019-07-03)
Linux lyndon 5.2.6-arch1-1-ARCH #1 SMP PREEMPT Sun Aug 4 14:58:49 UTC 2019 x86_64 GNU/Linux
Arch Linux

Maybe I need to provide more information why I use dylib instead of cdylib.
This crate uses neon bindings and the resulting so is loaded using node's require that just does not work right with a cdylib, but works quite well with a statically compiled dylib:
> var addon = require('./index.node');
Thrown:
Error: Module did not self-register.
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:857:18)
    at Module.load (internal/modules/cjs/loader.js:685:32)
    at Function.Module._load (internal/modules/cjs/loader.js:620:12)
    at Module.require (internal/modules/cjs/loader.js:723:19)
    at require (internal/modules/cjs/helpers.js:14:16)

I recently ran into the same issue. In my case, I also use dylib so that python can call the rust compiled library. Having libstd as dynamic linking library make it harder to deploy the library.

Thanks for the reports here! When compiling a Rust dynamic library though to integrate into another language you'll want to use a cdylib, not a dylib. Although an unfortunate historical accident a dylib is a different kind of artifact, so that should do the trick when implementing this.


Functions that directly change memory are unsafe

These two methods explicitly break Rust's safety guarantees. Arbitrary memory cannot be safely zeroed out or incremented as if it were an unsigned integer.

On second glance, unlike my wrappers, these are implemented on &[u8] which should be safe.


1.5.0 Release

What is the goal of this PR?
Include latest changes to master
What are the changes implemented in this PR?
Merges development to master

@vmax let's merge once 1.5 is out the door


Change the default target directory for the installation

The default target directory should be: /Users/$USER/Library/Application\ Support/OmniSci/

The installation was breaking when using this path in some cases. Closing this for now


Feature Request: Do not display battery icon when plugged in

A small request regarding battery icon: I do not need to see the battery segment when my computer is plugged in, which is nearly all the time. Can you add a flag to disable it in this case?
Also maybe show it when it is plugged in and charging (but do not show it when fully charged)? Though, then a variable limit also has to be set, considering my maximum battery is 98%.

I'd opt for the ability to hide when charging, which means plugged in. I actually like that.

@JanDeDobbeleer  I'd rather like to hide it when the battery status if Full. If my latpop is almost empty and I plug it, I'd like to know it's charging until it's Full, then hide it.

Everything looks neat, but it does not work for me :( My battery stops charging after 98%, so I imagine it does not return battery.Full == true, but it is not charging either although it is plugged in. I imagine the check should not be with the flag battery.Full, but it should be with (pluggedIn && !battery.Charging)


Figure out why recaptcha doesn't work for some people

Converted this to an issue just to add a comment, it looks like when the sign-up form is loaded via turbolinks event we're getting a CSP error.

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://www.recaptcha.net 'nonce-...'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

This appears to not happen on a refresh of the page, so a short-term solution may be to disable turbolinks on the sign_up link (since we had to override that partial anyway).


                 how to fine-tune on V100 x 8

need help!

Reduce batch sizes and gradient accumulation. See if that helps.

The be more specific, you need to reduce the batch size and INCREASE the gradient accumulation correspondingly.

batchsize 1 OOM.


WIP: Add an intoto formatter.

This translates TaskRuns to an InToto link format. Resources are mapped
to Products/Materials, and the TaskRun information is mapped to Environment.
Ref #12

This needs tests and documentation still, marking as WIP.

hey @dlorenc , that was quick!
Is there a reason for importing in-toto wholesale and not as a dependency in go.sum? (I am sure there must be, so curious).

Is there a reason for importing in-toto wholesale and not as a dependency in go.sum? (I am sure there must be, so curious).

Good question! There are two main modes to work with go modules, vendoring and non vendoring. We're using vendoring here, so the code still gets committed.
I prefer vendoring, but it's not something every project does.

Good question! There are two main modes to work with go modules, vendoring and non vendoring. We're using vendoring here, so the code still gets committed. I prefer vendoring, but it's not something every project does.

Vendoring was useful before go.mod, right now it's fully ok to let go mod generate the vendor directory on demand and just push the go.mod and go.sum files to the project.
Btw, I am working on in-toto run support on in-toto-golang. This might be useful for you: https://github.com/in-toto/in-toto-golang/pull/56
I will definitely have a look on this PR here, too :)


Add ruby versioning support

This adds more useable versioning support to rules_ruby.
Downstream projects should call rules_ruby_register_toolchains which will setup the allowed ruby toolchains for each version, including the system installation.  The --@rules_ruby//ruby:version=<version> flag can be passed to switch between these dynamically, with the default being whatever is currently installed on the system.
ruby_binary will use the interpreter from whichever toolchain was resolved.  Downstream targets can access information about the selected installation via the following targets:

@rules_ruby//ruby/runtime:headers - The c headers exported by the runtime
@rules_ruby//ruby/runtime:config_jruby - A setting that specifies that this is a Java implementation of ruby (jruby)
@rules_ruby//ruby/runtime:config_ruby - A setting that specifies that this is a standard C implementation of ruby

Why did you close this?

In any case there are two separate PRs here:

First one deals with the global rename bazelruby_rules_ruby to rules_ruby
Second modified the toolchain

Please split them up and resubmit.


Adds unknown as a basic type

I created a new suggestion for adding unknown based on #742. It adds unknown as basic type to the handbook. I combined parts of the original version and parts of #742 and rearranged them. I moved the section about unknown and any next to each other to provide a direct comparison.
PS: While editing the document, I was wondering if unknown has the same properties as Object | null | undefined.

I've addressed @MicahZoltu's feedback and applied my own feedback to this, it feels pretty good to me now 👍

Alright, I've addressed feedback and rebased - 👍


WIP markdown notebook cells

WIP Markdown Notebook Editor cells
Change format to run selected
Fix up styling of markdown panel
Fix up scrolling, make it smooth scrolling
Reset the code blocks on content change
Clean up some styling after Don's review
Fix up outline/padding of the play button within each code block
Add a check for subscribeToFieldUpdates method
Don't loop at the end, clean up block padding

Created demo branch for it: https://github.com/deephaven/web-client-ui/tree/demo


weird drum part processing: note on velocity ignored

Within this MML, when compiled into an SMF, the second n36 does not result in velocity 64.

Invalid issue: those 64~127 values are treated as note length, not velocity.


Good Morning,

          Good Morning,

I reduced the log to the relevant lines:
ring.0
2023-08-26 14:10:09.631	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:09:44.250	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:09:04.629	debug	Device ???xxx??? ("Haustür"): Recieved Ding Event ([Object: null prototype] { ding: ...
2023-08-26 14:09:04.628	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (true)
2023-08-26 14:08:42.606	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:08:39.248	debug	Device ???xxx??? ("Haustür"): Recieved Ding Event ([Object: null prototype] { ding: ...
2023-08-26 14:08:39.246	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (true)
2023-08-26 14:08:38.242	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:08:27.194	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:08:22.291	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:07:37.605	debug	Device ???xxx??? ("Haustür"): Recieved Ding Event ([Object: null prototype] { ding: ...
2023-08-26 14:07:22.192	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (true)
2023-08-26 14:07:17.290	debug	Device ???xxx??? ("Haustür"): Recieved Ding Event ([Object: null prototype] { ding:...
2023-08-26 14:07:17.289	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (true)
2023-08-26 14:07:13.442	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:07:12.409	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:07:05.412	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:07:05.334	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:52.962	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:47.829	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:37.591	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:32.507	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:27.339	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:27.147	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:17.105	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:10.488	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (false)
2023-08-26 14:06:08.442	debug	Device ???xxx??? ("Haustür"): Recieved Ding Event ([Object: null prototype] { ding:...
2023-08-26 14:06:08.441	debug	Device ???xxx??? ("Haustür"): Recieved Motion Event (true)`

As we are only reacting on events from https://github.com/dgreif/ring I think @dgreif should give this a look:
https://github.com/iobroker-community-adapters/ioBroker.ring/blob/00ea230940e48d9ad1464a3b514c3459c6dd481d/src/lib/ownRingCamera.ts#L125-L134
Originally posted by @theimo1221 in https://github.com/iobroker-community-adapters/ioBroker.ring/issues/548#issuecomment-1694621733

Missclick


[Windows] Non-Latin characters are shown incorrectly upon function reload

Hello! Thank you for the library! I'm having one issue which prevents me from using jurigged on regular basis. The issue is with non-Latin characters. But enough talk, check the code:
def make_greet_message(name):
    return f"Привет, {name}!"

def main():
    while True:
        name = input("Enter your name: ")
        print(make_greet_message(name))

if __name__ == '__main__':
    main()

On the line 3 the function returns greeting text with Russian word Привет (Hello) and everything works fine:
Enter your name: alex
Привет, alex!

However, if I change text to some other non-Latin text, like "Добрый день, {name}!" (Good day), the output looks differently:
Enter your name: alex
Р”РѕР±СЂС‹Р№ РґРµРЅСЊ, alex!

I cannot reproduce this issue on Manjaro Linux, however this happens on Windows 11 22H2 with Russian language as default. What should I change to fix this? Testing on integrated PowerShell in PyCharm 2023.3.3

I have the same problem
Possible root case can be Windows's funny preferred encoding (unix systems as far as I know use only utf-8):
# Windows 10 with Russian language as default
sys.getfilesystemencoding() # 'utf-8'
locale.getpreferredencoding() # 'cp1252'

https://stackoverflow.com/questions/36303919/what-encoding-does-open-use-by-default
I also found some solutions:

Setting env_var PYTHONUTF8=1;
Setting encoding='utf-8' to every open #13
Wait for PEP 686 (Python 3.15) (auto-fix)


fix: fix schema dep cycle error. …

Determine whether there is a cycle depdence from the current node

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y fix #1629

2. What is the scope of this PR (e.g. component or file name):
kclvm/sema/src/resolver/global.rs
kclvm/sema/src/resolver/import.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

17 of 20 (85.0%)  changed or added relevant lines in 5 files are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 70.723%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/sema/src/core/symbol.rs
0
1
0.0%

kclvm/sema/src/resolver/import.rs
5
6
83.33%

kclvm/sema/src/ty/context.rs
8
9
88.89%

Files with Coverage Reduction
New Missed Lines
%

kclvm/tools/src/LSP/src/tests.rs
1
98.6%

kclvm/tools/src/LSP/src/state.rs
12
82.57%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.02%

Covered Lines:
51257

Relevant Lines:
72476

💛  - Coveralls


feat(select): Add helper text, leading icon and more

[x] Adds required property
[x] Adds valid property
[x] Adds the rotating dropdown icon to the select.
[x] Adds the helper text to the select.
[x] Adds the leading icon variant to the select.
[x] Fixes compareWith not working as expected
[x] Support using inside mdc-form-field
[x] Update unit tests

Closes #1461 Closes #1460 Closes #1459 Closes #1402 Closes #1146

Merging as mdc-select improvements and new features.
Opening a new PR for enhanced select implementation.


Expose Attachments in Mailbox Preview

Thank you again for the PR!

@maennchen released in v0.15


disk: Simplify logging with attach API, use tty

Using the Attach API is way simpler than us forwarding output manually.
Set up a terminal by default, and together this fixes things like having bootc display an interactive spinner.

agh, I accidentally ran the e2e tests against main thinking I was running them against this branch. This broke the e2e tests, and the podman run flow is broken on my system. Still troubleshooting but when doing a run that involves a disk build, the ssh session connection is broken until hitting ctrl-c.

Still troubleshooting but when doing a run that involves a disk build, the ssh session connection is broken until hitting ctrl-c.

https://github.com/containers/podman-bootc/pull/41 fixes this for me


Support rust-cross

From https://github.com/assert-rs/assert_cmd/issues/139

It would be nice to mention that when running tests in cross, one needs to prepend their command with the value contained in CARGO_TARGET_*_RUNNER i.e qemu-aarch64 xh
fn find_runner() -> Option<String> {
    for (key, value) in std::env::vars() {
        if key.starts_with("CARGO_TARGET_") && key.ends_with("_RUNNER") && value.contains("qemu") {
            return Some(value);
        }
    }
    None
}

fn get_base_command() -> Command {
    let mut cmd;
    let path = assert_cmd::cargo::cargo_bin("xh");
    if let Some(runner) = find_runner() {
        cmd = Command::new(runner);
        cmd.arg(path);
    } else {
        cmd = Command::new(path);
    }
    cmd
}

Also, see ducaale/xh#190 (comment)

How could this be used with TestCases? There is default_bin_path(), but no way to push args, as far as I see.

I've fixed the title to better reflect the situation.  I don't use cross, so I don't have test cases or have a feel for what all the needs are.

So when running with cross, the tested command should be in the form like :
/linux-runner armv7 /target/armv7-unknown-linux-gnueabihf/debug/command --some args

The "wrapper" prefix is taken from the CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_RUNNER  env variable.
I'm not very experienced with Rust, and not familiar with the trycmd code base, so I might have hard times figuring out a way to add ability to optionally prepend commands. But I can take a look later if you give some hints. 🙂


Transaction Details - repeat, save address

The additional menu doesn't correspond to design.
https://app.zeplin.io/project/5c73dc8aa74b4b4085a86a91/screen/5c9a0687c54bff583f0539c9

Actual:

No need in Repeat


Cranelift: support scalar types for min/max instructions

Using cranelift 0.76, the following results in this error message: "'Unsupported type for imin instruction: i64', [...]\cranelift-codegen-0.76.0\src\isa\x64\lower.rs:2353:17"
function u0:0() -> f64 windows_fastcall {
block0:
    v0 = f64const 0.0
    v1 = iconst.i64 1
    v2 = iconst.i64 2
    v3 = imin v1, v2
    v4 = fcvt_from_sint.f64 v3
    return v4
}

Am I using imin incorrectly?

Currently the imin instruction is only supported for vector types, not scalars. It's a part of a larger issue in which our backends support the particular combinations of instructions and types that are generated by our Wasm frontend, but still have implementation gaps for the fully general opcode x type matrix. Sorry about that! I'd be happy to point out the place where this would be implemented if you're interested in possibly contributing a patch, and in the meantime I'll go ahead and rename this issue to track the missing impl.
Thanks again for the report!

Thanks for the explanation!
Sure! I would be interested in seeing where it would be implemented.

That particular assert is being triggered when we try to lower the CLIF Opcode into a x86 machine instruction. That is done in the x64 backend lower.rs file, specifically line 2343.
The first step would be figuring out what assembly we want to generate for each instruction. rustc lowers this as a cmp and cmovg.
Reading the x64 backend a bit, it looks like we have helpers for emitting those instructions. emit_cmp and emit_cmoves. You can probably call those and generate the assembly sequence above.
While doing all these changes an easy way to test them is to build a CLIF test file, and run it using clif-util. Looking at our testsuite, it looks like we don't have any test files for imin, so its also a good idea to commit the test file that you generate when you implement this!
A simple testfile for imin.i64 could be:
test run
target x86_64 machinst

function %imin_i64(i64, i64) -> i64 {
block0(v0: i64,v1: i64):
    v2 = imin v0, v1
    return v2
}
; run: %imin_i64(0, 0) == 0
; run: %imin_i64(0, 1) == 0
; run: %imin_i64(-1, 0) == -1

Although you'd probably want to add tests for whatever other types / instructions you are implementing. You can then run this test file using cargo run test ./test-file.clif, which compiles the function and runs the tests in the comments.
If you want to view the disassembly of the code you are generating you can run  cargo run compile --target x86_64 -D ./test-file.clif
Hope this helps, good luck!

This issue also looks like a duplicate of #1505.

This seems to have been fixed in #3748 for types i64 and smaller, we are still crashing on i128.


Why not just use the Unlicense?

I just read the README, this seems interesting.
This jumped out at me:

Clobber is in the public domain in countries where it is possible to place works in the public domain explicitly. In other countries, we will distribute Clobber according to a license that lets the user do whatever he or she pleases with the code.

Isn't this a solved problem?
Why not release this under the Unlicense immediately?
I've been using the Unlicense extensively for more than a decade without a problem in sight.

Thanks.  That's a good idea.
On Sat, Apr 9, 2022 at 8:13 AM Jean-Philippe Paradis <
@.***> wrote:

I just read the README, this seems interesting.
This jumped out at me:
Clobber is in the public domain in countries where it is possible to place
works in the public domain explicitly. In other countries, we will
distribute Clobber according to a license that lets the user do whatever he
or she pleases with the code.
Isn't this a solved problem?
Why not release this under the Unlicense https://unlicense.org/
immediately?
I've been using the Unlicense extensively for more than a decade without a
problem in sight.
—
Reply to this email directly, view it on GitHub
https://github.com/robert-strandh/Clobber/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALBYQL4V33MV2O2ZJOF2H3VEENZFANCNFSM5S6OT3OA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Robert Strandh


Issue with character sheet updates.

When making changes to actor's sheet if multiple people have it open the saving of changes is inconsistent. Making a change wont show on other people screens and the sheet saves in the state of who ever closed the sheet last. Changing the quantity of trappings does change in real time for all views but things like ambition or attribute changes don't show.
Version Numbers
7.1.2 on foundry Version 11 build 315
Foundry:
We disabled all modules expect the core modules for books content.

This isn't something within the scope of the system, this is just how Foundry form submission works. Sheets are not meant to be fully collaborative.

@moo-man I think the issue here is that change is not propagating properly. Like, if one person makes a change, its not saved (or at least not updated properly) and not visible to others.
Discussion:  https://discord.com/channels/449845411344154634/712500603250802829/1233768531816874115

Pains me to comment on it again, however...
I tested it on newest codebase, since I had issues with Group Advantages (see #1945 ) and it turns out there are some serious desyncing problems and update problems.
It's very extreme and at this point borderline unusable. It used to only hit Max Critical Wounds pre 7.1 (if player was doing anything on their Actor, GM always saw Max Critical Wounds as 2, but players saw it correctly and it was working correctly, if players were not connected and GM refreshed, GM saw correct value), but now it breaks the whole Sheet :(

GM (native app) on the left, player (chrome) on the right:
https://i.gyazo.com/0833d36c43e44d4cdc2fd3c9b6efa488.mp4

Notice how things are not updating across users
Notice how things sometimes revert on the same user end
Notice how Critical Wounds somehow disappear on GM view (only if player is connected, this is actually old bug)

I have tried to find out the reason of it, but I couldn't even think where to start looking...


PR: Filter a Numpy 1.14 warning shown in our consoles

Fixes #7051.

Hello @ccordoba12! Thanks for submitting the PR.

In the file spyder/app/tests/test_mainwindow.py, following are the PEP8 issues :

Line 227:80: E501 line too long (89 > 79 characters)
Line 228:80: E501 line too long (111 > 79 characters)

In the file spyder/utils/site/sitecustomize.py, following are the PEP8 issues :

Line 319:1: E722 do not use bare except'


[WEB]  'DillClassBuilder' is not a subtype of type 'SourceClassBuilder'

Flutter 1.10.5-pre.28 • channel master • https://github.com/flutter/flutter.git
Framework • revision 6911a1513c (il y a 4 heures) • 2019-09-19 10:48:57 -0700
Engine • revision 1cada0a6dc
Tools • Dart 2.6.0 (build 2.6.0-dev.0.0 ea969c358e)
dartdevc -k arguments: --dart-sdk-summary=/Users/robbie/INSTALL/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --modules=amd --no-summarize -o packages/path_forms/expert/individual/forms/code/code_field_state.ddc.js --source-map --summary=packages/meta/meta.ddc.dill=packages/meta/meta --summary=packages/mobx/mobx.ddc.dill=packages/mobx/mobx --summary=packages/path_forms/mobx/error_context.ddc.dill=packages/path_forms/mobx/error_context --summary=packages/path_forms/mobx/field_state.ddc.dill=packages/path_forms/mobx/field_state --packages=file:///var/folders/jl/c9_s07wd0wq2t8d2ph18vgn40000gn/T/kernel_builder_lB8vLb/.packages --module-name=packages/path_forms/expert/individual/forms/code/code_field_state --multi-root-scheme=org-dartlang-app --multi-root=. --track-widget-creation --inline-source-map --libraries-file=file:///Users/robbie/INSTALL/flutter/bin/cache/flutter_web_sdk/libraries.json package:path_forms/expert/individual/forms/code/code_field_state.g.dart package:path_forms/expert/individual/forms/code/code_field_state.dart
dart --version: 2.6.0-dev.0.0.flutter-ea969c358e (Wed Sep 18 23:54:26 2019 +0000) on "macos_x64"
Crash when compiling null,
at character offset null:
type 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder'
#0 KernelTarget.installForwardingConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:469:37)
#1 KernelTarget.installSyntheticConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:409:11)
#2 KernelTarget.buildOutlines. (package:front_end/src/fasta/kernel/kernel_target.dart:270:7)
#3 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
#4 KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:251:12)
Thanks !

@Solido there is a newer version on master. Could you try that?

Updated 4 hours ago. I'm on master, 2 upgrade per day. Updating now !
Web is first citizen with this project even if we use an Ipad to get faster.

@pavanpodila This may concern MobX too

@Solido is it related to codegen?

No idea ! but it's linked to MobX Form in some way.
Maybe we should start some more simple samples to see where it fails precisely.

Ah got it. Thanks for being the brave explorer on flutter web :-)

@Solido so we wait till you have more information

cc @jakemac53 this happened when we updated build_runner dependencies, not sure why yet:
https://github.com/flutter/flutter/pull/40979/files#diff-ccd13eb4cfb3b033c92487b8a9175a34

I can't think of anything specific that has changed relating to this - it seems like a kernel issue?

cc @jensjoha

Hi @jonahwilliams
Updated to last master but still got is there a coming update ?
Thank you !
Crash when compiling null,
at character offset null:
type 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder'
#0      KernelTarget.installForwardingConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:469:37)
#1      KernelTarget.installSyntheticConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:409:11)
#2      KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:270:7)
<asynchronous suspension>
#3      withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#4      KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:251:12)

Fixed in dart with https://github.com/dart-lang/sdk/commit/fdda2729c330ceecc926476cfb8987700c03e3c0.


LuaSnip + texlab not working properly

I opened this issue https://github.com/latex-lsp/texlab/issues/503, but I'm not sure if it's texlab that's causing the problem. I noticed that it only happens if I don't jump to all fields and escape. Could this be related to luasnip or nvim-cmp?

Yes, that could very well be related to luasnip+formatting.
Could you do :lua Luasnip_current_nodes[vim.api.nvim_get_current_buf()].parent:dump() (prints the nodes' positions) after the text was duplicated? I'd assume the extmarks get messed up by the formatting (if a block of text is replaced, the marks that were inside it get pushed to either end).

:lua Luasnip_current_nodes[vim.api.nvim_get_current_buf()].parent:dump():
E5108: Error executing lua [string ":lua"]:1: attempt to index global 'Luasnip_curren
t_nodes' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk

:lua require("luasnip").session.current_nodes[vim.api.nvim_get_current_buf()].parent:dump()
1
false false
0 0
0 0
2
false true
0 0
17 0
3
true false
17 0
0 0
4
false false
0 0
8 0
5
false false
8 0
8 0
6
false false
8 0
8 0
7
false false
8 0
8 0
8
false false
8 0
8 0
9
false false
8 0
8 0
10
false false
8 0
8 0

\documentclass{article}

\begin{document}
\section{ok} % (fold)
\label{sec:ok}

% section section name (end)

\documentclass{article}

\begin{document}
\section{ok} % (fold)
\label{sec:ok}

% section section name (end)

\end{document}

Yes that's the correct one :D :facepalm:
Normally these indices should be consecutive, here the marks are getting moved around.
Sadly there's little we can do about that (except manually tracking changes and not relying on extmarks, but that's very much work) :/

This is using efm to format instead of texlab:
1
false false
3 0
3 9
2
false true
3 9
3 11
3
true false
3 11
4 11
4
false false
4 11
4 13
5
false false
4 13
5 0
6
false false
5 0
5 0
7
false false
5 0
5 0
8
false false
5 0
6 10
9
false false
6 10
6 22
10
false false
6 22
6 28

Is this the normal behavior? Efm does not duplicate it, only texlab does that.

That looks correct, you can see that all nodes are adjacent ((3,0)->(3,9), (3,9)->(3,11),...), which is the correct behaviour.
I guess efm does something nicer, eg. not formatting at all or only inserting/removing parts that need to be changed as opposed to texlabs' complete replacement of the buffer.

Should no longer happen after 6e951d8, I think


How to retrain you model ?

Hi, i want to retrain your model in custom dataset ?
How to train your model, can you give a guide ?

Hi @CarlHuangNuc,
In UniTrack we do not perform training on tracking datasets, instead, we adopt pre-trained models directly for the tasks.
You can try any pre-trained models, train on any datasets, and test with UniTrack.


Release Beta

Describe your changes
How best to test these changes
Issue ticket number and link

Codecov Report
Patch coverage: 83.33% and project coverage change: -0.07 :warning:

Comparison is base (3dce38a) 65.19% compared to head (f241ba6) 65.13%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             beta    #1038      +/-   ##
==========================================
- Coverage   65.19%   65.13%   -0.07%
==========================================
  Files         202      202
  Lines       23212    23260      +48
==========================================
+ Hits        15134    15150      +16
- Misses       6757     6787      +30
- Partials     1321     1323       +2

Impacted Files
Coverage Δ

server/search/hits.go
85.84% <83.33%> (+6.53%)
:arrow_up:

... and 7 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Registry Preview: Cleanup of the resizing/moving logic on start up

Cleanup of the resizing/moving logic on start up
Initial check-in disabled the functionality that restored the last position and size of the main window on launch.
PR Checklist

[x] Closes: restores commented out functionality from PR #23709
[ ] Communication: I'll be looking for input from @stefansjfw as he repro'd at will.
[x] Tests: All local testing has passed.
[x] Localization: No string changes.
[x] Dev docs: No change required
[x] New binaries: No new binaries; this is an in-place replacement,
[x] Documentation updated: No change required.

Detailed Description of the Pull Request / Additional comments
It appears that the "modern" async-based file reading calls I was making were sometimes working and sometimes not.  When I wrapped them into a Task, I found that the Task would sometimes be fine and other times, it would block and never return, in spite of the 2 second timeout I requested.  I've since moved to the more traditional and blocking APIs for confirming file existence and reading the JSON blob into place.
Validation Steps Performed
I was not able to reproduce this issue while debugging, but I could sometimes reproduce it, if launched from desktop, and very often, if I put the file read early in the Main Window constructor.  With using the updated file handlers, I cannot reproduce the problem under any conditions.

@stefansjfw - I think this will squash the issue that was happening when running normally.  And it's no longer time based, so it should be solid.

@randyrants , @stefansjfw
Can we add a fallback for when the window position is out of screen? This can happen when switching between to completely different monitor layouts.

/azp run

This works great.

@randyrants , @stefansjfw
Can we add a fallback for when the window position is out of screen? This can happen when switching between to completely different monitor layouts.

I wouldn't block on this. We have the same behavior with other modules and settings. So we can do a follow-up PR for all of the modules that suffer from this.

As part of the work across modules, it may also make sense to check for minimized/maximized state on close/restore.

This works great.

@randyrants , @stefansjfw
Can we add a fallback for when the window position is out of screen? This can happen when switching between to completely different monitor layouts.

I wouldn't block on this. We have the same behavior with other modules and settings. So we can do a follow-up PR for all of the modules that suffer from this.

As part of the work across modules, it may also make sense to check for minimized/maximized state on close/restore.

Can any one of you open an issue?

This works great.

@randyrants , @stefansjfw
Can we add a fallback for when the window position is out of screen? This can happen when switching between to completely different monitor layouts.

I wouldn't block on this. We have the same behavior with other modules and settings. So we can do a follow-up PR for all of the modules that suffer from this.

As part of the work across modules, it may also make sense to check for minimized/maximized state on close/restore.

Can any one of you open an issue?

Created

@randyrants I found an issue with this. The repro steps are following:

open registry preview
click anywhere on the desktop outside the preview window to lose focus
minimize the window
close the window by right-click the icon in taskbar and exit
open registry preview again. Check the data in settings.json

Or just watch the

gif:
Let's try to fix it, if not let's comment out this logic for now until we have fully working solution :)


I wanted to use your chooseimage library inside a fragment can you help me with this?

First of all, you can pass getActivity() to its builder then in onActivityResult and onRequestPermissionsResult of your Activity, use something like fragment.choosePhotoHelper.onActivityResult and fragment.choosePhotoHelper.onRequestPermissionsResult. I will add fragment support in as soon as possible.

Thanks for the help. I also wanted to ask you can i use this to select multiple images.

It now supports Fragments. Enjoy it!
This library is aimed to pick a single image like profile avatar photos. It may be implemented to pick multiple images from the Gallery in the future.

Okk thanks for your help.
On Wed, Sep 18, 2019, 2:41 PM Mohammad Amin Hassani <
<EMAIL_ADDRESS>wrote:

It now supports Fragments. Enjoy it!
This library is aimed to pick a single image like profile avatar photos.
It may be implemented to pick multiple images from the Gallery in the
future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aminography/ChoosePhotoHelper/issues/3?email_source=notifications&email_token=AIK7SQVONUXMCA656ZGI7MDQKHWFTA5CNFSM4IXO37A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67MM2Y#issuecomment-532596331,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIK7SQSFOU6BC3YFJWYNN53QKHWFTANCNFSM4IXO37AQ
.


[Bug Report] i can not select an option of the select

Element UI version
1.3.7
OS/Browsers version
all
Vue version
2.3.4
Reproduction Link
here
Steps to reproduce

try to select an option
no one can be selected
modify line 21 to: id:0
try again
options can be selected now

What is Expected?
give me an error in the console,tell me what is missing in the code
and why the component can not response to the user action?
What is actually happening?

You have found out what's missing:
modify line 21 to: id:0

Please read this: https://vuejs.org/v2/guide/reactivity.html

is there a way to give more info in the console in this situation?


[improve][misc] Updated org.jetbrains.kotlin:kotlin-stdlib version

Motivation
While looking for the Kotlin support in Pulsar code, stumbled upon the Kotlin library version and realized that the CVE-2022-24329 is present in the currently used version and it was fixed in some later version. Hence, updated to the latest stable version.
Modifications

Upgraded org.jetbrains.kotlin:kotlin-stdlib library from 1.4.32 to 1.8.10
Fixed some IDE-suggested warnings in pom.xml

Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[x] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/abhilashmandaliya/pulsar

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks


batch - support integration-name instead of integration-ID

e.g. -
integrationName: WebhookAlerts instead of integrationID: 2235

@nicolastakashi I guess charts also have to be updated?

@nicolastakashi I guess charts also have to be updated?

We need to update the CRDs and also the Image version.
Worth we have a task to automate this soon

@nicolastakashi I guess charts also have to be updated?

We need to update the CRDs and also the Image version. Worth we have a task to automate this soon

so to leave it to different PR?

Also food for thought for a future improvement, we could avoid multiple calls to the webhook API if we do a single one when the operator is initializing and cache those webhooks in memory.
The operator itself can provide the webhook IDs, instead of calling the Webhook API once per Alert resource

Also food for thought for a future improvement, we could avoid multiple calls to the webhook API if we do a single one when the operator is initializing and cache those webhooks in memory.
The operator itself can provide the webhook IDs, instead of calling the Webhook API once per Alert resource

TBH I'm not a big fan of handling states inside the operator, but I guess we won't have a choice.


Convert subset of terrain into Unreal landscape

We would ideally like to have everything streamed just-in-time not only for rendering, but also for physics objects that may require terrain geometry to interact against. Eventually we will be able to provide a more consistent physics experience by reducing LOD-popping and implementing context-aware pre-fetching. But in the short-term, it may be worth implementing a way to convert local areas of a tileset into persistent Unreal landscapes that can allow for consistent physics off-camera as well as take advantage of a suite of tools including water simulation, navmeshes, terrain-editing, runtime virtual textures, and more. Edited landscapes could even be retiled into the terrain and uploaded back to Ion.

I think the most likely way to do this is to convert an area of terrain into a heightmap (Or otherwise retrieve a heightmap for a given area.) Then, it would be relatively straightforward to create Unreal landscapes from the heightmaps, to help with physics, enable terrain editing, everything Nithin mentioned above. How difficult is it to create a heightmap from terrain data?

Looking to edit the cesium import as a landscape too. Any updates on this? Any way we can export a heightmap out and reimport it into the landscape tool?
Perfect for me at the moment would be the ability to export a 20x20km heightmap and associated material and just use the import heightmap functionality + stick the material on with the correct coordinates. Doesnt even have to be more than that as a start

@mattvb91 unfortunately what you describe is likely to be a violation of the Terms of Use of the data providers, Bing Maps in particular. If you just need a real-world heightmap for a particular area, there are plenty of sources for such data on the internet, very often free. See the Attribution section at the bottom of this page for the source data in Cesium World Terrain:
https://cesium.com/platform/cesium-ion/content/cesium-world-terrain/


No longer works - fails "silently"

The appindicator no longer changes to X11 when an X11 window is in focus.
I was suspicious after a new install of an electron app didnt show X11 because I always have to do the usual workaround (seriously in 2023 why?)
I started xeyes to verify, and it still doesn't change.
Ubuntu 23.10 Mantic
Default Ubuntu gnome session
Extension installed via Extension Manager extension, same as gnome website
System: QEMU VM with GPU passthru
Device: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 15.0.7, DRM 3.54, 6.5.0-14-generic) (0x744c)
Version: 23.3.1

Screencast from 2023-12-19 23-17-29.webm

The extension is not designed to change if you're using an X11 application. It only checks if you're using a GNOME Shell session using Wayland or X11.

No further response. Closing.


Depolyment

How to deploy to android ?

how to do feature extraction on android
how to do inference on android

any c++ code reference?
thanks

how to do feature extraction on android

there is no need of any sort of feature extraction
model just consumes 16 kHz [-1, 1] normalized float values - https://github.com/snakers4/silero-vad/blob/master/utils_vad.py#L22-L38 (normalize: bool = True is the default in torchaudio)

how to do inference on android

I assume you can use

this https://pytorch.org/mobile/android/
or this https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#Android / https://github.com/microsoft/onnxruntime

any c++ code reference?

no
we do not employ C++ engineers at the moment
you are welcome to share your Android recipes with the community

I will keep this issue opened - https://github.com/snakers4/silero-vad/issues/37 - in case anyone would want to share their builds


New Maven Builder (mvn clean package) causes huge logs by missing batch mode

With Version 1.1.0 the command to run a Maven build has been switch from
mvn -B package
to
mvn clean package
Adding clean makes sense, however the removal of the -B (Batch mode) has bad effects on the log output in Pipelines because it spams the log with download progress numbers. This causes our logs to grow so big that the browser can't handle them anymore and crashes.
The old build command is still available as deprecated, but in my opinion the standard recommended command requires -B. We do not want to stick on a deprecated build command just to have clean logs.
E.g. logs look like this
Downloaded from artifactory: https://int.repositories.cloud.sap/artifactory/build-snapshots/org/codehaus/mojo/mojo-parent/40/mojo-parent-40.pom (34 kB at 4.8 MB/s)
[2023-06-20T01:03:40.723Z] info  mtaBuild - Downloading from artifactory: https://int.repositories.cloud.sap/artifactory/build-snapshots/org/codehaus/mojo/findbugs-maven-plugin/3.0.5/findbugs-maven-plugin-3.0.5.jar
[2023-06-20T01:03:40.723Z] info  mtaBuild - Progress (1): 4.1/145 kB
Progress (1): 7.3/145 kB
Progress (1): 11/145 kB
Progress (1): 16/145 kB
Progress (1): 20/145 kB
Progress (1): 24/145 kB
Progress (1): 28/145 kB
Progress (1): 32/145 kB
Progress (1): 36/145 kB
Progress (1): 40/145 kB
Progress (1): 44/145 kB
Progress (1): 48/145 kB
Progress (1): 52/145 kB
Progress (1): 56/145 kB
Progress (1): 61/145 kB
Progress (1): 65/145 kB
Progress (1): 69/145 kB
Progress (1): 73/145 kB
Progress (1): 77/145 kB
Progress (1): 81/145 kB
Progress (1): 85/145 kB
Progress (1): 89/145 kB
Progress (1): 93/145 kB
Progress (1): 97/145 kB
Progress (1): 102/145 kB
Progress (1): 106/145 kB
Progress (1): 110/145 kB
Progress (1): 114/145 kB
Progress (1): 118/145 kB
Progress (1): 122/145 kB
Progress (1): 126/145 kB
Progress (1): 130/145 kB
Progress (1): 134/145 kB
Progress (1): 138/145 kB
Progress (1): 142/145 kB
Progress (1): 145 kB
Please provide the following info:

MBT Version: 1.2.16
dockerImage:devxci/mbtci-java8-node16:1.2.16

from MBT v1.2.25, the default maven builder command is upgrade to "mvn -B clean package", the "-B" batch mode is added back.
https://github.com/SAP/cloud-mta-build-tool/blob/7a1724fe744b8c9ef84de807607662a14416eb92/configs/builder_type_cfg.yaml#L49


[FLINK-8118] [table] Allow specifying reading offsets of KafkaTableSources

What is the purpose of the change
This PR enables the kafka table source builder to specify start reading offsets for the KafkaTableSource.
Brief change log

Add offset specifying methods (reading from latest, earliest, group offsets and specified offsets) to the builder.
Configure the offset option in a new getKafkaConsumer and change the old getKafkaConsumer to createKafkaConsumer.
Add a related test and update the documents.

Verifying this change
The change can be verified by KafkaTableSourceTestBase. testKafkaTSSetConsumeOffsets.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

Hi @fhueske, thanks for the review! The PR has been updated according to your comments.
Thanks, Xingcan


Internet protocol

Added an overview of what packets, IP addresses, and ports are.
Included a list of common ports and a link to MIT's list of standard ports.

Linking to issue #26


Add a slimDOM option to strip out unnecessary parts of the DOM

unnecessary in terms of replay

So open question on this that I don't know how to answer is, what happens when a mutation event happens on a script tag that is not in the mirror?  How could I handle that or is it okay if it generates an error?

I love the idea of aggressive stripping, so is it possible to rename the option like strippingStrategy with an object-based interface? Like something I've done in the sampling options:https://github.com/rrweb-io/rrweb/blob/master/src/types.ts#L134
BTW, since we already use a placeholder to display script contents: https://github.com/rrweb-io/rrweb-snapshot/blob/master/src/snapshot.ts#L303, is it still a big thing in storage size? (I agree with adding this to the strategy, just curious about it).

So open question on this that I don't know how to answer is, what happens when a mutation event happens on a script tag that is not in the mirror? How could I handle that or is it okay if it generates an error?

I think we need to add some guard conditions in the mutation observer, such as ignore the events when the target's parent was not serialized.

is it possible to rename the option like strippingStrategy with an object-based interface
yes, I saw that and think it's a great idea for this too

is it still a big thing in storage size?
It's specific to how we are storing things.  Each time a different permutation of the  is generated, we have to store it separately on the backend. Looking further into how to normalize  to minimize this and I'll have the results of this change in a day or two to see how much of the variation is generated by non-deterministic injection of

I think we need to add some guard conditions in the mutation observer

Yes this is definitely broken, I think mutations on absent nodes are getting an incorrect parentId assigned, which means we are attempting to .appendChild from e.g. text nodes (which is illegal)

@Yuyz0112  I'm having trouble as I see that the logic for what should be stripped needs to be repeated in the mutation observer.  I see that this is also the case for isBlocked/blockedClass.  Is there a case to fold rrweb-snapshot back into rrweb or is there a better way to share this content?
I was thinking of flagging an element as ignored using the __sn attribute, but that doesn't work for added nodes in a mutation.

Yes this is definitely broken, I think mutations on absent nodes are getting an incorrect parentId assigned
Ok, nevermind above comment, it was broken for me due to an unrelated change.

I was thinking of flagging an element as ignored using the __sn attribute, but that doesn't work for added nodes in a mutation.
I've used this approach in https://github.com/rrweb-io/rrweb/pull/286 as I saw that nodes added via mutations also go through the serializeNodeWithId function.

This could all do with a review now!  Specifically:

is it okay that serializeNodeWithId returns null for the stripped out elements?
is it okay to flag these stripped elements with .__sn.id == -2 ?

Sorry for the late @eoghanmurray
The only thing I suggest is let rrweb-snasphot export the -2 as constant then we can use it in rrweb.

The only thing I suggest is let rrweb-snasphot export the -2 as constant then we can use it in rrweb.

Thanks! Have added that now and rebased on latest in this branch and the rrweb one.
Only thing todo now is to add an object based interface, but I think that could be added at a later date; maybe we could wait til someone doesn't like some aspect of the slimming, or if someone wants to add more aggressive stripping.
I've added in the following (currently disabled due to anticipated affect on performance), but which might be a good example of an optional extra:
// would impede performance:
getComputedStyle(n)['white-space'] === 'normal'
    )) {
      preserveWhiteSpace = false;

Other things I'd like to strip out are certain attributes, but there's always a possibility that they are used in some CSS rule, so unless we can cheaply inspect css rules I think it's a non-runner.  I wish there was a version of getComputedStyle that just listed the rules applied to an element, rather than calculating out the actual values (along with associated cost of laying out).

@Yuyz0112 exactly what is stripped is now configurable via a slimDOMOptions (modelled on maskInputOptions).  At the moment there is very fine grained control over which meta tags should be removed — this could be consolidated if required.
Can you let me know if there's anything blocking this being merged?
With thanks!

Thanks, going to merge.

Great, thanks!
I'm gonna do a test where I strip out nearly all <meta> tags from recordings across a range of websites, to see which ones (if any) actually are important in terms of playback.  Depending on how that plays out we could switch to a metatag whitelist rather than the current blacklist.


[Bug]: Social Media Buttons Overlapping

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
There is an issue where social media buttons are overlapping each other. This affects the usability and appearance of the website.
Expected behavior
Social media buttons should be properly spaced and not overlap each other.
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

kindly review the pr no #950 , @ itsekta


Test PR

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Closing as issue has been fixed in https://github.com/hmcts/terraform-module-servicebus-namespace/pull/38


add test data checks, fix predict ordering, update model.

I like this! Wow. I have one meta-comment. I believe that the testing functionality is currently coupled with model training. In other words, a user can perform model assessment (getting accuracy, precision, recall, and F1 and also a confusion matrix) only by running the training command and also providing an optional switch aimed at unseen test data. Do I have that right? If so, I would suggest adding the capability to run the model assessment code without also running the model training code. For instance, a user might already have a model and simply want to assess its performance without rerunning model training. What do you think @cglewis @anarkiwi ?

@jspeed-meyers that sounds like a good idea, please feel free to make a PR with your proposed enhancements.

"predict" bogon removed.


Cannot use gdown command when building Dockerfile

Hello,
I got an issue when I build a docker image and use gdown command to download my component into the image. But I always got the errors like the image below. Using the latest version with a direct link and still got this error. So I try to downgrade to 4.3.0 version but got the same one.
Notes: I turned on the 'Anyone with the link' for the file already.

I can download all public google drive on my computer (mac-os) by gdown, but it isn't run on server (ubuntu-18-04).
It also "Cannot retrieve the public link of the file...."
Hope it useful.

@wkentaro This is my response text when I used gdown on server (aws). I type print(res.text) on download.py.
I still can download full link on my local computer :

I fixed by change speed of dowloader to less 2MB/s
nj = json_data.copy()
nj['link'] = link
try:
  link_file = gdown.download(link, 'gg/', quiet=False, speed=2000*1024)
except  Exception as e:
  link_file = None
  print(e)


ZendAMF and Laravel 5

Hello, I need to integrate ZendAMF with Laravel 5 that is compatible with 5? I would have documentation on how to integrate?

Just create a new Server (usually within your service definitions) and then use it from there.
Docs are at http://framework.zend.com/manual/1.12/en/zend.amf.html


Why only used powershell

Why the  author  used  powershellcmdlets . If you provide command prompts  commands lines  or  Dism commands its  usefull to me and others .
This article has  very high exceptional   powershell cmdlets , those  are  beyond my  knowledge .I think i have  to forgot my mathemattics  knowledge to learn this .
I think all authors  are  very experienced . Thanks  to the  authors for  this  article

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6fc2393d-6a81-c9c9-87bb-b40b66f26d68
Version Independent ID: fda85f4c-33ec-d0aa-b793-381d2bebb57d
Content: MDT Samples - Microsoft Deployment Toolkit
Content Source: sccm/mdt/samples-guide.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

PowerShell have been used simply because it's the THE tool for automation. If you still today don't know PowerShell, start learning it. Sounds rude perhaps, but without PS knowledge, you'll find yourself outdated.
BTW: This article contains super simple PS commandlets and a tiny bit of SQL, absolutely nothing here is complicated.
@officedocsbot close

Yes this issue can be close


List & Download backup files

Though API in AWS S3 or Aliyun OSS, even FTP, SFTP, we can list all exist backup files and give user a link for fast download.
For example:
$ gobackup list-remote
- file1.tar.gz

$ gobackup download <filename>

Done in #141


headerfiles C tutorial

Populate C file with a tutorial and challenge.

@HenokB Please complete other assigned issue first. Thanks!

Can I attempt this one next?

@datsukai Sure, you're assigned now.


put integration test related to RPC install-snapshot into folder tests/snapshot

https://github.com/datafuselabs/openraft/pull/70


Automated cherry pick of #6883: fix: network created by sysadmin should be shared by default

Cherry pick of #6883 on release/3.2.
#6883: fix: network created by sysadmin should be shared by default

/lgtm
/approve


How to track player position with Active Ragdolls

Hi,
It seems to me that the ActiveRagdoll gameobject does not change its position at all when the child GO physical dragdoll is moving.
How can i get the correct position of the player ?

That's more of a philosophical question actually. What's the position of an Active Ragdoll? It's a collection of connected rigidbodies, so there's no single point you can call the center of the Active Ragdoll. You could use the center of mass, center of volume or just the position of the hips, for example. I would advise for the latter if you want to simplify things, just reference the hips Transform and use its position instead.

Hi,
Thanks for your answer. One more thing i would like to ask. There seems to be a way to self balance with input (setting balance mode to manual torque) But I cannot figure out how to balance the player correctly with movement input. Is there something im missing?

I didn't use it for balance, but to be able to rotate the player in mid air. It is very hard to control, so I don't think you can maintain a ragdoll in a standing posture with that.


Box component

In raising this pull request, I confirm the following (please check boxes):

[x] I have read and understood the contributing guidelines?
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.

Description of change
I've added a very simple Box component to save repeating the same HTML structures in multiple places.

👍 Beat me too it


[WIP] Developer docs

Starting to write developer docs. Until Fable allows keeping comments, auto generated source code docs do not seem like a valid option.
@JonasLukasczyk please have a look at the js code implementation /docs/scripts_js/ARC.js and please just sent me all of your ARCtrl code implementations.
@HLWeil tell me if you are okay with the structur, file placement, etc.
closes #223
closes #231
closes #233
closes #234
closes #232
closes #114

Maybe split ARC.md into IO.md and API.md?

@HLWeil can you review this, so we can just release a new beta version and i will add some more docs soon?

Good starting point for the documentation. We should keep in mind to reorganize a bit (especially root README.md) when we get a little bit more bulk.

Damn! I forgot to push my last changes to README.md!


[WIP] Removes the pul_uv_rails Gem as a dependency and extends the ApplicationHelper to integrate an embedded Universal Viewer

Resolves #562

Coverage remained the same at 100.0% when pulling 40c892c3b8eddce704242a642879153e678bc7d2 on issues-562-jrgriffiniii-remove-pul_uv_rails into 4b7f7ce7077ff75b444745ecc069570abbaaf712 on master.

I am not seeing a download widget in items with download=public, e.g.

https://dpul-staging.princeton.edu/hellenica/catalog/1831cp92p
https://figgy.princeton.edu/catalog/12e8a35f-048d-490f-8ea0-d2af44234748

https://github.com/pulibrary/figgy/pull/2766 should resolve this problem from within Figgy.

This now seems to be functioning properly with Figgy resources.  I needed to disable and reenable downloads for https://figgy.princeton.edu/catalog/12e8a35f-048d-490f-8ea0-d2af44234748, but https://dpul-staging.princeton.edu/cotsen/catalog/k930c077q should be a case where the nil downloadable attribute value for the Figgy resource is handled properly.


fix(dependencies): upgrading nodemailer

Trying the PR again in place of #1755 with a rebase to see if the tests pass.
Resolves #1755

LGTM. I just did a simple test using the Forgot Password, and it successfully sent an email with the password reset link.

Great, thanks Cody!


Add "by the OpenSSF" to the two concise guides

My intent is that it's a statement of authorship, not a copyright statement. Many people care about 'where did this advice come from" - making it clear that it's the OpenSSF should help.
As far as copyright goes, we don't require copyright assignments, so I think the copyrights are technically owned by their various contributors. This doesn't matter, because the contributions were all made in accordance to an open license (CC-BY-4.0 in this case), so anyone can do anything to this that the CC-BY license allows.

@SecurityCRob - this is a tiny nontechnical change, but visible. Seem okay?

lint fixes: https://github.com/ossf/wg-best-practices-os-developers/pull/170


Custom window functions and mutability

I am working on sqlite-hashes -- adding hash functions like md5 and sha256 to SQLite.
In order to create sha256_concat(val) - a hash over a sequence, each value must be consistently ordered.  SQLite does NOT guarantee the order of execution for the regular aggregate functions even if they have an ORDER BY in the query, so the result in BOTH of these examples is NOT defined! 🤦 (see group_concat ordering question):
SELECT sha256_concat(val) FROM tbl ORDER BY val;
SELECT sha256_concat(val) FROM (SELECT val FROM tbl ORDER BY val));

I think I can get around it with a custom windowing function, but it has some limitations too:  the aggregation state cannot be "inversed" (once a value is added to the hash, it cannot be removed). It is also harder to "partially-compute" a value (compute an interim hash, and continuing to add values to it).
Should the xValue receive a mutable state, just like xInverse?  This way partial computations could be achieved somehow? Or do you have any other suggestions on implementing something like this?
Thanks!  See also my related question on stackoverflow (I focus on the actual SQL usage there).

https://docs.rs/rusqlite/latest/rusqlite/functions/trait.WindowAggregate.html#tymethod.value ?

@gwenn yes, those are the functions i meant when i said xValue and xInverse

@gwenn, I just realized how I can test it, but it still seem to require WindowAggregate::value modification to pass Option<&mut A> instead of Option<&A>.  Would it be possible to make this change? (I tried to make a PR, but my unsafe Rust is a bit shaky).  To test:
CREATE TABLE tbl(a INTEGER PRIMARY KEY, b TEXT);
INSERT INTO tbl VALUES (1, 'bbb'), (2, 'ccc'), (3, 'aaa');

SELECT GROUP_CONCAT(b)
   OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)
FROM tbl LIMIT 1;

If I substitute GROUP_CONCAT with my own window function, i see these callbacks:
Aggregate::init
Aggregate::step: arg0=[97, 97, 97]
Aggregate::step: arg0=[98, 98, 98]
Aggregate::step: arg0=[99, 99, 99]
WindowAggregate::value
Aggregate::finalize

So in order to optimize the above, I must preserve the state between the value() and finalize(), and for that I would need to modify the value, since the mutable context seem to be shared between all calls to the aggregate function, not for the specific aggregation sequence.

P.S. I wrote #1395 making the proposed change. I guess it is a bit confusing that value could get a None as an arg, but perhaps there are cases for that.  Also, it is weird that value() is the only callback that does not receive a context (I don't need it, but seems strange and inconsistent)


Code Release Schedule

Hello, thank you for your contributions to the Automatic Prompt Engineer. I noticed that your code hasn't been fully released. Do you know when you'll be uploading the remaining code?

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@shouyezhe Hey I don't know if I will ever complete this, have alot on my plate!


Dave's feedback and questions

Adding it here so that I can track it

[x] The last disclaimer shows up as: appâ€™s unintended behaviors  - in the PDF version of the book.
[x] Similarly, in 2.2.3 is: "Â£5,000, or for Â£50,000, than it is to ask for Â£50."
[x] In 2.5: "click on the â€˜accept risk’ button"
[x] In section 1.1.9 it says: "PMD or FindBugs are good options"  - For security, these are terrible options. OWASP Benchmark says they basically score 0 (PMD), or almost 0 (FindBugs). I would recommend you recommend FindBugs w/FindSecBugs, which has for more and better security rules than FindBugs and is under current active development/maintenance. FindBugs is not. Ann-Marie can't find this file to make the change.
[x]  1.2.3: Lyfecycle  is misspelled (#98)
[x]  1.2.5: as an quality metric  - should be 'a quality' (#150)
[x] In this section, what do you mean by 'patching'? Patching what? Upgrading your web/app servers? Upgrading your libraries? Patching your own code?
[x]  End of section 2.1.1 says: "(no P-0 security bugs, possibly no P-1 if publicly facing, etc)"  What do you mean by P-0/P-1? Not introduced earlier I don't think.  Added as comment to #151
[x] Also, right above that is says: "or new RISK)" - should be RISKs.
[x]  In 2.1.14 you provide links to Bag of Holding and Defect Dojo but there are earlier references to these that didn't and I didn't know what they were.  Ref 2.1.5, Delivering PenTest reports using JIRA, added as comment.
[ ]  Section 2.6 is duplicative of, but a subset of 2.5  (Ann-Marie notes that 2.6. is a complete duplication of 2.5 and should be deleted)
[x]  I think 2.8.7 should refer to the OWASP Cheat Sheet series, which is one of the best AppSec resources on the internet (in my opinion).
[x]  Both 2.8.7 and 2.8.25 talk about OWASP WebGoat Project. Seems like it should be covered in only 1 place. Deleted 2.8.25 from #153
[x]  2.8.30 - Typo: "securit champion"  - y missing. #154

And a few questions:

[ ] 1) Have you actually worked with Dev teams and achieved 100% code coverage? Getting all the error conditions to actually occur is pretty hard, I'd imagine.
[ ] 2) Do you have any practical threat models you can share. Doing threat modeling is bandied about alot, but most people don't do it, because its 'too hard'.
[ ] 3) You recommend using: PlantUML or DOT (Graphwiz). Do you have any specific tools you recommend using that support/use these for developing good threat models?

encoding issues fixed by changing the book encoding format
Added CheatCheats, Testing Guide and many other references to owasp projects https://github.com/DinisCruz/Book_SecDevOps_Risk_Workflow/commit/3630536c7be0f2fa67275e8163719f751c439ac5
on 'Patch speed as an quality metric' added definition of Patching at the top (which is making small changes: https://github.com/DinisCruz/Book_SecDevOps_Risk_Workflow/commit/374e860237f4c01d0f8d211419654711ac2774b1 )
Agreed on FindSecBugs and also added new chapter on "AppSec Technologies and tools" in order to capture those tools and mention where they work really well