text:
i seriously need help with Moving forward with Catalyst Native.

Catalyst Native (4.0) is a highly anticipated project. As of now, I am testing and coding up the GTK version of Catalyst codenamed (Catalyst Native Attempt #2).

fr, need help, please...

GTK? So you are moving from Electron to GTK with GTK WebKit or GTK with CEF? Why did you choose GTK? There are many Qt based browsers out there thanks to the QtWebKit/QtWebEngine. I think Qt is much easier to start with than GTK. But, what's the points? There are already so many browsers like that out there. Why did you decided to move away from Electron? If Electron is too limited for you then GTK with GTK WebKit or GTK with CEF or even QtWebKit/QtWebEngine are the same limitations. You should move to a full blown Chromium based browser my friend, if it's the case.

Electron isn't 'native' as well. Electron requires the UI be made of HTML and JavaScript. Said JavaScript cannot access node libraries, meaning I cannot go any forward than a basic UI with tabs and minimal functionality. Also, GTK has already failed me so...

GTK? So you are moving from Electron to GTK with GTK WebKit or GTK with CEF? Why did you choose GTK? There are many Qt based browsers out there thanks to the QtWebKit/QtWebEngine. I think Qt is much easier to start with than GTK. But, what's the points? There are already so many browsers like that out there. Why did you decided to move away from Electron? If Electron is too limited for you then GTK with GTK WebKit or GTK with CEF or even QtWebKit/QtWebEngine are the same limitations. You should move to a full blown Chromium based browser my friend, if it's the case.

Electron isn't 'native' as well. Electron requires the UI be made of HTML and JavaScript. Said JavaScript cannot access node libraries, meaning I cannot go any forward than a basic UI with tabs and minimal functionality. Also, GTK has already failed me so...

Go Qt? QtWebEngine is powerful. But keep in mind, there are a bunch of Qt based browsers out there (otter, dooble, viper, falkon,...) :wink: Another solution is to go full blown Chromium :smile:

GTK? So you are moving from Electron to GTK with GTK WebKit or GTK with CEF? Why did you choose GTK? There are many Qt based browsers out there thanks to the QtWebKit/QtWebEngine. I think Qt is much easier to start with than GTK. But, what's the points? There are already so many browsers like that out there. Why did you decided to move away from Electron? If Electron is too limited for you then GTK with GTK WebKit or GTK with CEF or even QtWebKit/QtWebEngine are the same limitations. You should move to a full blown Chromium based browser my friend, if it's the case.

Electron isn't 'native' as well. Electron requires the UI be made of HTML and JavaScript. Said JavaScript cannot access node libraries, meaning I cannot go any forward than a basic UI with tabs and minimal functionality. Also, GTK has already failed me so...

Go Qt? QtWebEngine is powerful. But keep in mind, there are a bunch of Qt based browsers out there (otter, dooble, viper, falkon,...) 😉 Another solution is to go full blown Chromium 😄

You probably haven't read up on some details, considering you found this repository through GitHub and not Scratch. But the chromium build tools are a bit of a pain to get working and I haven't been able to. I'll try QT I guess.

Try contributing to or fork one of the already available Qt based browser before starting everything from scratch. There are already too many Qt based browsers. This is everything I could tell you. BTW, if you afraid of C++, you could use Python. Python binding for Qt is excellent and there is PyQtWebEngine too :smile:

Well, your current browser is pretty bad. Why don't you try to improve it but decided to start from scratch? No advertising blocking. Bookmarking doesn't work. You were right. Your browser is nothing but a reskin of Electron, nothing more nothing less. Please have a look at the Min browser, you will see how far people could do with Electron.

@JaydenDev Sorry my friend. I know my words is a bit too harsh. But having to install it to be able to try it (you refused to provide 7z archives), only to find out it's not anything up to my expections. I'm really disappointed. BTW, if you have a preview of Catalyst Native available (of course please provide portable or at least 7z archives), I'm willing to try it and report bugs to you. I think you should make a new repo for Catalyst Native and have this repo archived (since you will no longer develop it anyway). Just my 2 cents.

@JaydenDev I'm really afraid. Are you just too ambitious? You have so many repos and I can only checked a few of them. The fact is most of your projects are failed (you admitted it). Do you think you will success with this Catalyst Native endeavor? It seems your language is JavaScript. Qt and C++ is not anything like JavaScript. Are you serious?

Sorry if I annoyed you. I only interested in your project and wanted to help. Please let me know what I could do to help you and I will do what I can. Looking forward to try Catalyst Native. But now, good bye and good luck to you.

repo: JaydenDev/Catalyst


text:
Randomly stops working in games

I feel like this has probably been reported before but I’ve updated DS4 Windows, I’ve reinstalled it, I’ve reinstalled the Windows 10 controller drivers and yet it will randomly stop working in games like Ghostbusters, Mafia, basically any game that I don’t own on Steam and have to use DS4 for.
All the logs say are:
Using shared mode
Found Controller:90:89:5f:89:0f:D4 (BT)
Controller 1 using profile “normal remote”

#620
you are probably trying to use the obsolete version if you are downloading from this Jays2Kings/DS4Windows site. Read the linked post and follow the link to up-to-date version of DS4Windows app.
https://github.com/Ryochan7/DS4Windows/wiki/Troubleshooting#steam-doesnt-see-the-virtual-output-controller-if-a-profile-uses-the-dualshock4-output-type-steam-sees-the-ds4-controller-only-if-ds4windows-uses-xbox360-output-controller-type

Ya I found that out a month ago, I probably should’ve deleted this. But
thanks for saying that!
On Mon, Nov 30, 2020 at 07:35 mika-n notifications@github.com wrote:

#620 https://github.com/Jays2Kings/DS4Windows/issues/620
you are probably trying to use the obsolete version if you are downloading
from this Jays2Kings/DS4Windows site. Read the linked post and follow the
link to up-to-date version of DS4Windows app.
https://github.com/Ryochan7/DS4Windows/wiki/Troubleshooting#steam-doesnt-see-the-virtual-output-controller-if-a-profile-uses-the-dualshock4-output-type-steam-sees-the-ds4-controller-only-if-ds4windows-uses-xbox360-output-controller-type
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Jays2Kings/DS4Windows/issues/627#issuecomment-735759975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHD5SCN4NN7RUBER6TFX4TSSOGPTANCNFSM4TGCAGVA
.

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
(Suggestion) Make Capture, SL/SR mappable

So basically I think that it would be nice to have option to map Capture button and SL/SR to be able to play certain games that involve in shoulder buttons but playable with one half of the controller

#654

authors: mika-n pinospin


text:
Create Documentation Using MkDocs

This PR adds proper documentation using Material for MkDocs.
Most of the docs have just been copied over from the previous .md  files with some small improvements, however with MkDocs, there is lots more possibilities for customisation in the future. Using MkDocs will make it easier for developers to use FlightRadarAPI.
Any suggestions for improvement would be appreciated!
Demo Site
Things to note

If you decide to merge, the site needs to be enabled via GitHub pages. To do this:

Wait until initial run of deploy-docs.yml is complete
Go to the repos settings
Go to the pages section
Set source to Deploy from a branch
Set branch to gh-pages
Leave folder as /root
Click save
This will deploy the site.

The website link on the repo should be changed to https://JeanExtreme002.github.io/FlightRadarAPI/

The wiki should probably be deleted

Future Improvements
While these docs are an improvement on the previous method of using .md files in the repo, they are in a very basic form. Here are some future improvements that could be made:

Implement versioning
Add all API options to the docs (some functions that are available are not currently recorded in the docs)
Design a better logo and favicon
Move different functions onto different pages or find another way to make it more organised rather than having all functions just pasted onto one page, which makes it difficult to read
Take advantage of the many other powerful features available in Material for MkDocs (adding comments to code, improved navigation etc...)

Hi @Hamster45105!
First and foremost, I would like to thank you for your contribution. What you did here was incredible! I have no words to describe how grateful I am. The documentation is very well organized and very beautiful. :heart:
I don't have much knowledge in technologies for creating documentation yet, but I intended to start studying and improving the project's documentation later this year. I'm glad you showed up to help.
As for the suggestions for improvements, I will take them into consideration. I still need to learn how to use MkDocs, so it may take some time for me to start editing the files — even because I'm a little busy dealing with some university projects.
I reviewed your PR and I'm merging it now. 😃
Again, thank you very much for your huge contribution to the project. 💯

Hi, thank you for your fast response! I'm glad I could help out in such a meaningful way and thanks for maintaining such an amazing open source project.
Also, good luck with your university studies!

I just published the new version at Pypi and NPM ❤
As for MkDocs, I did some research on it, and it doesn't seem too difficult to learn. I'll dedicate some time to study and practice with it later this week.

source: gharchive/pull-request

license: MIT

license_source: github-api


text:
muito legal

muito legal

muito mesmo

Título 1
Título 2
Título 3
Título 4

Aula de linguagem de md

markdown


text:
Fix React double inclusion in the examples

Hello Jed!
I love the generator, thank you so much.
I noticed a small issue probably a consequence of the upgrade to react 0.14.
One cannot use refs in the examples.js.
You can reproduce the problem quite easilly.
Just include a ref in examples.js:
var React = require('react');
var ReactDOM = require('react-dom');
var MyComponent = require('react-my-component');

var App = React.createClass({
	render () {
		return (
			<div>
				<MyComponent ref="test" />
			</div>
		);
	}
});

ReactDOM.render(<App />, document.getElementById('app'));

You then get the following error:
Uncaught Error: Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

Based on a comment you made elsewhere on github, I believe you already experienced this issue with browserify.
I hope the fix is correct!

Thanks for catching that @geowarin - you've got exactly the right fix, I think I worked that out after updating this for 0.14 :)

authors: JedWatson geowarin

repo: JedWatson/generator-react-component


text:
Error when installing laravel-mix package

When running npm install --save-dev laravel-mix I get this error:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vue%2fcomponent-compiler-utils - Not found
npm ERR! 404
npm ERR! 404  '@vue/component-compiler-utils@^3.1.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'vue-loader'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Same

same

I had the same, but now it's another package that can't be found. I think there's an issue with the registry rather than any specific package.

@chrisGeonet true, now it's fs.stat
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found
npm ERR! 404
npm ERR! 404  '@nodelib/fs.stat@^1.1.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'fast-glob'

Seems to be NPM registry related, check status on https://status.npmjs.org/
This can be closed.

authors: chrisGeonet dmytromikhieiev niveshsaharan xinix

repo: JeffreyWay/laravel-mix


text:
[FEATURE] multiple select

multiple params
limit(size)
up/down
docs
test

Необходимо подумать, как обрабатывать up/down поведение в случае с multiple. В таком случае нельзя просто переключать значение, т.к. непонятно где именно мы сейчас находимся. По той причине, что у нас текущий элемент - Это выбранный элемент. Данное поведение немного ломает логику. Возможно для такого случая необходимо завести положение фокуса и изменять уже именного его.
Однако и тут придётся изменить поведение клавиши Enter. Я не думаю, что это правильный подход.

Завтра допишу тесты для переходов с клавиатуры и на этом задачу можно закрывать

repo: Jenesius/vue-form


text:
activity之间跳转接收不到消息

依赖 implementation 'com.jeremyliao:live-event-bus-x:1.5.7'
Application的配置
LiveEventBus.config(). supportBroadcast(this).lifecycleObserverAlwaysActive(true).autoClear(false);
Mainactivity类，配置发送消息：LiveEventBus.get("key").post(“测试”);
另外一个类接收消息： LiveEventBus.get("key",String.class).observe(this, new Observer() {
@Override
public void onChanged(@Nullable String s) {
Log.e("****",s);
}
});
我看了其他的回答好像是要用observeSticky。我就把上面的代码改一下。
主类(就一个onCreate方法，都市实例化控件)：
LiveEventBus.get("key",String.class).observeSticky(val);//不知道怎么写了（LifecycleOwner，Observer）
另外一个类接收消息：
LiveEventBus
.get("sticky_key", String.class)
.observeSticky(this, new Observer() {
@Override
public void onChanged(@Nullable String s){
Log.e("****",s);
}
});
麻烦大佬帮我看下怎么写主类（LifecycleOwner，Observer），还有配置对不对。谢谢。

现在问题解决了吗？感觉配置没有什么问题

还是老样子 没有解决
在 2020-04-01 08:07:26，"Jeremy Liao" notifications@github.com 写道：
现在问题解决了吗？感觉配置没有什么问题
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

请升级到版本1.6.1，使用控制台辅助类Console获取LiveEventBus的内部信息，方便排查问题在哪

authors: JeremyLiao guyuecai

repo: JeremyLiao/LiveEventBus


text:
Performance improvements to name resolution

Hi,
i had to notice that name resolution for PropertyRule takes a considerable amount of time.
During our automated UI tests some validators/rules are called millions of times.
I got a modified version of FluenValidation to which i added caching.
My test:

Validator consisting of two rules on different properties
Running Validate 1 000 000 times

My results:

No caching: 12 seconds
Caching: 6 seconds

My question is:
Would you accept a PR adding said caching?

Yes that sounds very useful. If you'd be happy to submit a pull request
I'll happily review it. It might not be for a while though as I'm very busy
with other commitments at the moment, but I'd definitely like to get more
performance improvements in the project.
On Saturday, 1 October 2016, Bastian Schmidt notifications@github.com
wrote:

Hi,
i had to notice that name resolution DipslayName for PropertyRule takes a
considerable amount of time.
During our automated UI tests some validators/rules are called millions of
times.
I got a modified version of FluenValidation to which i added caching.
My test:

Validator consisting of two rules on different properties
Running Validate 1 000 000 times

My results:

No caching: 12 seconds
Caching: 6 seconds

My question is:
Would you accept a PR adding said caching?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/331, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFgEp8U7Ir6pmSWrafcmuusCMEnvFmOks5qvk9KgaJpZM4KLvaw
.

Ok, i will add a list of things i'd like to change to the issue itself and update it as i find more places that could be improved in regards of performance.
When i am finished with my list i will mention you here so that you can decide which things you'd like to be included in my PR.
One more question, do you prefer one PR or multiple PRs for each change?

With all my optimizations in place i currently get the following results using BenchmarkDotNet on my machine:

Name
Median
StdDev

Version from nuget (6.2.1.0)
7.6984 us
0.0473 us

My version
1.9282 us
0.0438 us

I used the following validator:
new TestValidator
	{
		v => v.RuleFor(x => x.Address).NotNull(),
		v => v.RuleFor(x => x.Address.Country).NotNull().When(x => x.Address != null)
	};

The benchmark only calls validator.Validate(person); where person is the Person class from the FluentValidation.Test project.
The validator and person instances are only created once during the benchmark.
Performance could be further improved if there was a way to cache the strings obtained from the resources, but that's not on my list as i only used FluentValidation with a custom provided ResourceProvider which is not localized (my application is only provided in german).
On my machine calling BuildErrorMessage 1 000 000 times takes about 6 seconds.
2 of these 6 seconds account for GetString on LocalizedStringSource.

Looks good.
Regarding pull requests, it really depends on the size. If it's a huge
number of changes then several smaller ones might be better. I'll leave it
up to you to decide what you think's most appropriate.
Thanks!
On Sunday, 2 October 2016, Bastian Schmidt notifications@github.com wrote:

With all my optimizations in place i currently get the following results
using BenchmarkDotNet on my machine:
Name Median StdDev
Version from nuget (6.2.1.0) 7.6984 us 0.0473 us
My version 1.9282 us 0.0438 us
I used the following validator:
new TestValidator
{
v => v.RuleFor(x => x.Address).NotNull(),
v => v.RuleFor(x => x.Address.Country).NotNull().When(x => x.Address != null)
};
The benchmark only calls validator.Validate(person); where person is the
Person class from the FluentValidation.Test project.
The validator and person instances are only created once during the
benchmark.
Performance could be further improved if there was a way to cache the
strings obtained from the resources, but that's not on my list as i only
used FluentValidation with a custom provided ResourceProvider which is not
localized (my application is only provided in german).
On my machine calling BuildErrorMessage 1 000 000 times takes about 6
seconds.
2 of these 6 seconds account for GetString on LocalizedStringSource.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/331#issuecomment-250968919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFgEoKaVKN9h5Ot559hmVWLSyux-YIHks5qv6OXgaJpZM4KLvaw
.

Changing SplitPascalCase from using Regex to a specialized method using a StringBuilder i get the following results.
That way we get a speed improvement of factor 6 till factor 24 and memory consumption lowered by factor 2 till factor 8 during that operation.

Host Process Environment Information:
BenchmarkDotNet.Core=v0.9.9.0
OS=Microsoft Windows NT 6.2.9200.0
Processor=Intel(R) Core(TM) i7-2600K CPU 3.40GHz, ProcessorCount=8
Frequency=3312791 ticks, Resolution=301.8603 ns, Timer=TSC
CLR=MS.NET 4.0.30319.42000, Arch=32-bit RELEASE
GC=Concurrent Workstation
JitModules=clrjit-v4.6.1586.0

Type=PascalCaseBenchmark  Mode=Throughput

    Method |       input |        Median |      StdDev |  Gen 0 | Bytes Allocated/Op |

-------------- |------------ |-------------- |------------ |------- |------------------- |
Regex | DATEOFBIRTH | 5,190.7061 ns | 129.7787 ns | 662.00 |             840,87 |
StringBuilder | DATEOFBIRTH |   216.4161 ns |   1.4757 ns |  80.93 |             102,18 |
Regex | DateOfBirth | 1,889.1744 ns |  26.5558 ns | 266.39 |           337,73 |
StringBuilder | DateOfBirth |   152.0023 ns |   0.6901 ns |  48.48 |           61,98 |
Regex | dateOfBirth | 1,545.8766 ns |  61.3566 ns | 199.93 |             253,25 |
StringBuilder | dateOfBirth |   130.6589 ns |   0.4345 ns |  34.82 |              43,99 |
Regex | dateofbirth |   654.4314 ns |   4.8212 ns |  63.62 |              80,84 |
StringBuilder | dateofbirth |   123.8501 ns |   1.7477 ns |  33.54 |              42,42 |

I'm surprised a regex is so much slower...I'm guessing using a compiled regex would make a big difference too?

It would, but the specialized method even beats a compiled regex.

Great, am happy to get that merged in.

I still got some trouble with flaky tests. Do you also encounter issues when running some tests where localized things are tested?
I if run those tests separately they work well, but testing everything in one run causes some tests to fail.

Yes, I have seen that before....it's usually because the culture is set
globally, which can cause issues if 2 tests require separate cultures but
don't properly clean themselves up.

2 things to check:

your tests use CultureScope to set and reset the culture at the
beginning/end of the tests
test parellization is turned off. The xunit runner parallelises tests by
default which isn't helpful if you have shared state.

If you're using my build script to run the tests it should automatically
turn off parellization, but if you're using any other runner you'll need to
explicitly turn it off.

Using the build script worked a lot better.
Except, that the netstandard projects failed.
I notice that they were called with "dotnet test --no-build" where they should be called with "dotnet test --no-build --configuration $(Configuration)".
The missing --configuration caused the tests to used the debug build instead of the current configuration.
Should i include that change in my PR or do you prefer a separate one for that?

Sure, that would be great. Thanks
On Wednesday, 5 October 2016, Bastian Schmidt notifications@github.com
wrote:

Using the build script worked a lot better.
Except, that the netstandard projects failed.
I notice that they were called with "dotnet test --no-build" where they
should be called with "dotnet test --no-build --configuration
$(Configuration)".
The missing --configuration caused the tests to used the debug build
instead of the current configuration.
Should i include that change in my PR or do you prefer a separate one for
that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/331#issuecomment-251742303,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFgErrfY2kApdku3pIeUB5tSmA7vj3Yks5qw95JgaJpZM4KLvaw
.

Here we go #334

There is a subtle bug in the AccessorCache for "complex" expressions used in rules:
RuleFor(x => x.A.Foo)... //(1)
RuleFor(x => x.B.Foo)... //(2)
are not differentiated in the AccessorCache and wrong expressions (1) are used for rule (2).

Please merge pull request #366. Can you also create a current release of FluentValidation? We are heavily interested in these performance improvements.

I've merged the pull request. Will aim to put out a beta release this week (probably friday)

Jeremy, what are your plans regarding a release?

Not for a while I'm afraid...I'm snowed under with work and moving house at the moment. Once things have settled down then I'll try and find a bit of time to work on FV again

There's another problem with the AccessorCache if you access local variables in the expression and add the same rule more than once in a single session. Then only the first time the rule is added the local variable's value will be captured.
Here is a demonstration using a simple validator. The second assertion failes, but it should not.
using System.Diagnostics;
using FluentValidation;

namespace fluent_validation_cache
{
	internal class Foo
	{
		public int Bar { get; set; }
	}

	internal class Validator : AbstractValidator<Foo>
	{
		public Validator(int factor)
		{
			RuleFor(foo => More(foo, factor).Bar)
				.GreaterThanOrEqualTo(5);
		}

		private static Foo More(Foo foo, int factor)
		{
			return new Foo {Bar = foo.Bar * factor};
		}
	}

	internal class Program
	{
		private static void Main(string[] args)
		{
			var v1 = new Validator(3);
			var v2 = new Validator(2);

			var foo = new Foo {Bar = 2};

			Debug.Assert(v1.Validate(foo).IsValid);
			Debug.Assert(!v2.Validate(foo).IsValid);
		}
	}
}

If writing
RuleFor(foo => More(foo, factor).Bar + 0)

instead of
RuleFor(foo => More(foo, factor).Bar)

the assertion succeeds because the expression is no member expression anymore and thus not cached. This behaviour can leed to hard to track bugs because it depends on the order in which rules are generated and tested. Introducing a per instance AccessorCache instead of using a static dictionary would at least allow to access members of the current validator instance without prolems. Another possible workaround is adding an option to disable caching.
I prefer a solution where I don't have to change anything in the rules or validators (some of our tests failed when upgrading from FluentValidation 6.2.1 to 6.4.0). But I don't know if it is, for example, possible to check if the expression reads local or instance symbols and include this information in the cache's key.

Introducing a per instance AccessorCache instead of using a static dictionary would at least allow to access members of the current validator instance without prolems

Unfortunately that defeats the purpose of having the cache in place. The reason for adding this was so that expression tree compilation could be cached regardless of whether or not validator instances are singleton.
I'd really recommend against using local variables inside RuleFor expressions, it's really not the intended usage of FV. That being said, I'll add an option to globally disable the cache. For now please stick with 6.2.1.

Thanks for your input. I worked around this issue by overwriting RuleFor*() methods in a base class validator and checking if the expression would get cached although it should not. In that case I compile the expression myself and create a new wrapper expression like this:
var func = expression.Compile();
return instance => func(instance);

Maybe a redesign of rule creation to avoid using locals in the expressions is a good idea, but that could be a lot of work. So I'll probably wait for the disable-the-cache-option.

OK I think I've got a fix that should no longer cache expressions like these, and I've also added a global property on the ValidatorOptions class to disable all caching.
The changes are committed, so feel free to build from source or otherwise I'll try and do a beta release to nuget on monday.

OK I've pushed out 6.4.1-beta1 with this change.

I tried 6.4.1-beta1 and all unit tests pass. Thanks for the patches!

That's great, glad it's working. I'll push it out as a non-beta release.

That's done.

authors: JeremySkinner aschmider batzen sjancke

repo: JeremySkinner/FluentValidation


text:
Should have child validator baseclass

For unit-testing purposes I want to construct my Validator with a mocked ChildValidator using eg. https://github.com/moq/moq4 .
Using ShouldHaveChildValidator gets me the following error:

Expected property '{propertyName}' to have a child validator of type 'IValidator`1.'. Instead found 'IValidator`1Proxy'
at FluentValidation.TestHelper.ValidationTestExtension.ShouldHaveChildValidator

This PR should relax this check a little to allow setting an expectation on a base class but setting the validator to a derived class

Hi, thanks for the suggestion but this has broken the build.
GetTypeInfo is not supported on all platforms - conditional compilation is needed to switch between GetType/GetTypeInfo depending on target platform. Please introduce conditional compilation to switch between the two, eg https://github.com/JeremySkinner/FluentValidation/blob/master/src/FluentValidation/AssemblyScanner.cs#L72-L88
If you can resolve this and commit an update that fixes the build then I'll merge this in.

That's great, thanks


text:
Memory leak on swapchain recreation.

Description:
In a time of recreation of swapchain if we don't delete the pipeline and recreate it we get a memory leak (100KB around).

Fixed memory leak in commit 19633a4239c5552d123d9ac6f82e418bf248d73c.

license: Unlicense


text:
cython speed optimisation

Try implement cython to make programming speed run faster. As most of the calculation is pure math should be quite feasible.

Took a look at cython and dont think the overall development cycle will work well with cython due to the need to compile. Have optimised for speed using multiprocessing instead as per latest commit. Could further improve speed using numpy and more multiprocessing potentially.

repo: JesseBonanno/PySlope


text:
Unexpected Error Occurring

Hello,
I am experiencing an unexpected error since a few days with my SteamBot.
When I launch my SteamBot.exe, I get the following : (log copied from console)
[(System) 2016-05-17 12:47:39] INFO: Launching Bot Bot 1...
[(System) 2016-05-17 12:47:39] DEBUG: Starting bot with username rohan6516.
[Bot 1 2016-05-17 12:47:39] INFO: Connecting...
[Bot 1 2016-05-17 12:47:39] SUCCESS: Done Loading Bot!
Type help for bot manager commands.
botmgr > [Bot 1 2016-05-17 12:47:43] ERROR: Login Error: AccountLogonDeniedNeedT
woFactorCode
[Bot 1 2016-05-17 12:47:44] SUCCESS: Generated 2FA code.
[Bot 1 2016-05-17 12:47:48] SUCCESS: User Authenticated!
[Bot 1 2016-05-17 12:47:48] SUCCESS: Steam Bot Logged In Completely!
[Bot 1 2016-05-17 12:47:48] SUCCESS: Starting task loop

Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character e
ncountered while parsing value: <. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.ReadInternal()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(Jso
nReader reader, JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Jso
nReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
 objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, Jso
nSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSeriali
zerSettings settings)
   at SteamAPI.TradeOffers.TradeOffers.GetTradeOffers(Boolean getActive) in d:\D
ocuments\SteamTradeOffersBot-SteamTradeOffersBot\SteamAPI\TradeOffers\TradeOffer
s.cs:line 208
   at SteamAPI.TradeOffers.TradeOffers.<CheckPendingTradeOffers>b__3d() in d:\Do
cuments\SteamTradeOffersBot-SteamTradeOffersBot\SteamAPI\TradeOffers\TradeOffers
.cs:line 377
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

My bot used to work perfectly like 2 weeks ago then I started getting this error, I posted on /r/Steamot, There somebody told me this is a steam issue as it is returniing HTML instead of JSON and should be fixed but this still occurs.
Help appreciated!
Thanks!

You are using https://github.com/waylaidwanderer/SteamTradeOffersBot.

This sounds like a legitimate bug report, but it's not for this repo.  Please post to the correct repo.

Just Steam being poop sending HTML instead of JSON over the wire. 😄  Could be handled differently though.

authors: BlueRaja aleksasavic3 farazappy scholtzm


text:
Move HandlePositionProvider to common

Proposed Changes

Move HandlePositionProvider to common
Reuse Alignment instead of custom enum

Testing
Test: Test edit selection handles should not change.

Ok, let's do it in AOSP first

repo: JetBrains/compose-multiplatform-core


text:
Crashed：Unsupported concurrent change during composition. A state object was modified by composition as well as being modified outside composition.

I got this error when using mutableStateListOf
and i update  mutableStateListOf in other thread
tried:

tried:

Exception in thread "main" java.lang.IllegalStateException: Unsupported concurrent change during composition. A state object was modified by composition as well as being modified outside composition.
	at androidx.compose.runtime.Recomposer.applyAndCheck(Recomposer.kt:801)
	at androidx.compose.runtime.Recomposer.access$applyAndCheck(Recomposer.kt:103)
	at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1064)
	at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:103)
	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:447)
	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:416)
	at androidx.compose.ui.window.YieldFrameClock.withFrameNanos(Application.desktop.kt:210)
	at androidx.compose.ui.window.YieldFrameClock$withFrameNanos$1.invokeSuspend(Application.desktop.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

how to solve the problem?

Do you have a minimal reproducer? It looks like a bug.
I have tried this:
import androidx.compose.foundation.layout.Row
import androidx.compose.material.Text
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.ui.window.singleWindowApplication
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext

val list = mutableStateListOf<Int>()

fun main() = singleWindowApplication {
    Row {
        for (item in list) {
            Text(item.toString())
        }
    }
    LaunchedEffect(Unit) {
        withContext(Dispatchers.IO) {
            repeat(1000) {
                list.add(it)
            }
        }
    }
}

there is no crash.

wait,i am writing the example

Do you have a minimal reproducer? It looks like a bug.
I have tried this:
import androidx.compose.foundation.layout.Row
import androidx.compose.material.Text
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.ui.window.singleWindowApplication
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext

val list = mutableStateListOf<Int>()

fun main() = singleWindowApplication {
    Row {
        for (item in list) {
            Text(item.toString())
        }
    }
    LaunchedEffect(Unit) {
        withContext(Dispatchers.IO) {
            repeat(1000) {
                list.add(it)
            }
        }
    }
}

there is no crash.

Sorry for late reply,finally I finished the bug example.
Link is here：https://drive.google.com/file/d/1ylKpIgvxI7OzeEIWZoXTHzeHfPgY_EdG/view?usp=sharing
Run the project,and click "Click to show First Dialog" > "Click me to display bug",then you will get crash

Thanks! I reproduced the crash.
After looking at the code, it no longer looks like a bug.
The crash happened because we modify the list simultaneously from the composition:
if(it.dismissed){
   dialogList.remove(it)
}

and from another thread (dialogList.add)
This is usually not a valid code if you modify any state inside Composable function (this is only valid, if you reading the state immediately after modifying it, and don't modify it anywhere else)
To solve the issue, you should move dialogList.remove to non-Composable function. For example, after moving it to DialogState.dismiss, the crash disappeared.

OK,Thank you for sovle the problem.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: FlyingYu-Z igordmn okushnikov

repo: JetBrains/compose-multiplatform


text:
Add Carl-Miele-Berufskolleg für Technik

Carl-Miele-Berufskolleg für Technik
Domains:
cmb-gt.de
carl-miele-berufskolleg.de
Website:
https://cmb-gt.de
IT related courses offered by the school:
https://cmb-gt.de/bildungsangebot/
Proof of domain ownership:
https://cmb-gt.de/kontakt/
https://cmb-gt.de/wp-content/uploads/2023/08/Lehrerliste.pdf

@Lavandea First stage of verification passed, official domain is cmb-gt.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://cmb-gt.de/wp-content/uploads/2015/12/Höhere-Berufsfachschule-Elektrotechnik-AUT-2015-12-14.pdf

@Lavandea Thank you for your patience while waiting for a review and processing your request. Pull request merged.

authors: Lavandea philipto

repo: JetBrains/swot


text:
compressing stand.mean and mod.mean prior to returning estimates

We've been saving out estimates to use for neuroCombatFromTraining, but stand.mean and mod.mean are n_subjects x n_vertices large, which means files 2x size of original dataset. As these are immeadiately compressed into vectors inside neuroCombatFromTraining, could this be carried out prior to returning the estimates?
This greatly reduces file storage size

We are planning on using the full stand.mean and mod.mean matrices in the near future for extended test/train methodology.


text:
About Inference time

I have trained and tested the 3DSSD model, the map is cool but the inference time is over 110 ms not matching the paper 25FPS (I tested on GTX 1080Ti and the approach is like in tester.py).
How to do to get 25 FPS? Thanks!

That inference time is tested on a TITAN V GPU card with some optimization like merging BN, parallel computation in the first SA layers. These optimizations are mentioned in our STD paper.

@tomztyang Is there inference time statistics on nuScenes? I want to reference this in a table.

Hi,
On the NuScenes dataset, the 3DSSD takes about 100ms per scene because of more input points.

thanks!

@tomztyang will you share the optimized inference source code to test the fps

That inference time is tested on a TITAN V GPU card with some optimization like merging BN, parallel computation in the first SA layers. These optimizations are mentioned in our STD paper.
HI,thank you for your network which is perfect. I have some questions that where is the STD paper and can I use it to promote the speed of 3DSSD ? Thank you very much!


text:
duplicate files

the readpfm and preprocess are duplicated, with one copy in utils and one in dataloader. please remove one.
the readpfm is out of date and wont recognize all pfms correctly. should be:
def readPFM(file):
file = open(file, 'rb')
color = None
width = None
height = None
scale = None
endian = None

header = file.readline().rstrip()
if header.decode("ascii") == 'PF':
    color = True
elif header.decode("ascii") == 'Pf':
    color = False
else:
    raise Exception('Not a PFM file.')

dim_match = re.match(r'^(\d+)\s(\d+)\s$', file.readline().decode("ascii"))
if dim_match:
    width, height = list(map(int, dim_match.groups()))
else:
    raise Exception('Malformed PFM header.')

scale = float(file.readline().decode("ascii").rstrip())
if scale < 0: # little-endian
    endian = '<'
    scale = -scale
else:
    endian = '>' # big-endian

data = np.fromfile(file, endian + 'f')
shape = (height, width, 3) if color else (height, width)

data = np.reshape(data, shape)
data = np.flipud(data)
return data

it works,thank you!

authors: kearcer midjji

repo: JiaRenChang/PSMNet


text:
Ошибка при запуске Shadowsocks-4.4.1.0

Ранее использовал и все было хорошо. Затем переустановил систему и программа перестала запускаться.
Особых навыков программирования нет, поэтому если кто то знает как решить данную проблему буду очень благодарен!
Базовая система Виндовс 11 про, ранее на  ней все так же работало, после переустановки появилась такая ошибка.

Hi @AleksTKD. Are you using Outline at all in this process? From what we can see you're setting up a Shadowsocks server and using the Shadowsocks client, so that doesn't seem to involve Outline. Thanks!

Спасибо, получилось разобраться самому.

Спасибо, получилось разобраться самому.

расскажи как разобрался?

плюсую, расскажи как исправить

authors: AleksTKD kukech-web maddyhof slesh57

repo: Jigsaw-Code/outline-client


text:
Set up Kibana

Get Kibana up and running on the Kubernetes cluster for log viewing

Set up with fluentbit, still need to configure dashboards and searches in Kibana

repo: JimmyPaolini/Lexico


text:
MAUI support

Will this support MAUI?

Rephrasing :D : do you plan to support MAUI?

Yes, but I think it will not be so soon. (At least MAUI stable version released)

How about progress on this issue?

How about progress on this issue?

not much, the mlkit library is not quite available in MAUI at this moment

The Maui support is ready.
However, please be noticed that Maui is still quite unstable.

authors: JimmyPun610 anhhtbk mantasdaskev


text:
[WIP] Tenant builds

added the jenkins execute code to devbuild.sh

please test this

Test FAILed

please test this

Test FAILed

Test FAILed

please test this

Test FAILed

please test this

Test FAILed

please test this

Test PASSed

authors: anshprat jiojenkins

repo: JioCloud/puppet-rjil


text:
Add Application Deadline ...

…mapping in Listing Service. Add draft styling on listing overview. Add application date to Listing overview and Listing page. Close #117.

 US3004: Användare - Visa sista ansökningsdatum

 US3002: Admin - Ange sista ansökningsdag

repo: JohanSaisa/GT


text:
Are there TypeScript type definitions for this library somewhere?

No text. Topic title says it all.

Hi @drauch,
Yep there is one provided see: https://github.com/Johann-S/bs-custom-file-input/blob/master/bs-custom-file-input.d.ts
do you have any issue ?

I haven't found them on definitely typed. Is this file somehow npm-installable?

For now I downloaded the filw and tried the following:
///<reference path="../node_modules/@types/jquery/index.d.ts"/>
///<reference path="./bootstrap-customfileinputs.d.ts"/>

$(function () {
  window.bsCustomFileInput.init();
});

However, tsc complains that it cannot find the name bsCustomFileInput on  window. Any idea how to fix this? :)

yep you have to import the lib like that:
import bsCustomFileInput from 'bs-custom-file-input'

@drauch did I helped you ?

@Johann-S : Sorry for the late reply. Importing is just another way of referencing a type file. However, I don't want to import it, I just want to make the type "known". "Import" is performed via

(just to let you know, we've decided to not go forward with porting our JS to TypeScript for now, so there will be no reply for quite some time, sorry)

authors: Johann-S drauch

repo: Johann-S/bs-custom-file-input


text:
Routing nesting problem

The first time I used this plugin,I have a route nesting problem, my route directory is correct, but the generated routes are not nested, and I also specify the default layout。
import { createApp } from 'vue'
import App from './App.vue'
import { createHead } from '@vueuse/head'
import 'ant-design-vue/dist/reset.css';
import Antd from 'ant-design-vue';
import { createRouter, createWebHistory } from 'vue-router';
import generatedRoutes from 'virtual:generated-pages';
import { setupLayouts } from 'virtual:generated-layouts'

const routes = setupLayouts(generatedRoutes);

const router = createRouter({
  history: createWebHistory(),
  routes,
});

const head = createHead()

const app = createApp(App);
app.use(router);
app.use(Antd)
app.use(head)
app.mount('#app');

I also specified the layout. But I still can't. Look at the issues that my friend used. I tried it and it didn't work.
<route lang="yaml">
    meta:
      layout: default
</route>

How can I fix this, author  thank you

Duplicate of #130

My problem is still unresolved
My directory structure is

But the generated routing structure is wrong
I looked at #30 and it didn't solve my problem, and I updated it to 10 and it didn't solve my problem

How to deal with it, thank you, author

repo: JohnCampionJr/vite-plugin-vue-layouts


text:
Encounter RuntimeError while running with Apex

Running apex with allennlp train configs/contrastive.jsonnet -s tmp --include-package t2t -o "{"trainer": {"opt_level": 'O1'}}" returns exceptions as following:
Traceback (most recent call last):
  File "/h/haotian/.conda/envs/t2tCLR/bin/allennlp", line 11, in <module>
    load_entry_point('allennlp', 'console_scripts', 'allennlp')()
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/__main__.py", line 18, in run
    main(prog="allennlp")
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/__init__.py", line 93, in main
    args.func(args)
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/train.py", line 143, in train_model_from_args
    dry_run=args.dry_run,
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/train.py", line 202, in train_model_from_file
    dry_run=dry_run,
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/train.py", line 265, in train_model
    dry_run=dry_run,
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/train.py", line 462, in _train_worker
    metrics = train_loop.run()
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/commands/train.py", line 521, in run
    return self.trainer.train()
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/training/trainer.py", line 687, in train
    train_metrics = self._train_epoch(epoch)
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/training/trainer.py", line 465, in _train_epoch
    batch_outputs = self.batch_outputs(batch, for_training=True)
  File "/scratch/ssd001/home/haotian/Code/allennlp/allennlp/training/trainer.py", line 380, in batch_outputs
    output_dict = self._pytorch_model(**batch)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch/ssd001/home/haotian/Code/t2t/t2t/models/contrastive_text_encoder.py", line 122, in forward
    contrastive_loss = self._loss(embeddings, labels)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/pytorch_metric_learning/losses/base_metric_loss_function.py", line 53, in forward
    loss = self.compute_loss(embeddings, labels, indices_tuple)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/pytorch_metric_learning/losses/generic_pair_loss.py", line 40, in compute_loss
    return self.loss_method(mat, labels, indices_tuple)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/pytorch_metric_learning/losses/generic_pair_loss.py", line 59, in pair_based_loss
    return self._compute_loss(pos_pair, neg_pair, indices_tuple)
  File "/h/haotian/.conda/envs/t2tCLR/lib/python3.7/site-packages/pytorch_metric_learning/losses/ntxent_loss.py", line 20, in _compute_loss
    max_val = torch.max(pos_pairs, torch.max(neg_pairs, dim=1, keepdim=True)[0])
RuntimeError: Expected object of scalar type Half but got scalar type Float for argument #2 'other' in call to _th_max
  0%|                                                                                | 0/1 [00:01<?, ?it/s]

Thanks @subercui, this error arises because the the PyTorch Metric Learning library. I opened an issue on Apex here but no response :( maybe you can open an issue on PyTorch Metric Learning?

Thanks! I'll have a look

I found a manual solution that works. Install PyTorch metric learning from source and change: torch.max(neg_pairs, dim=1, keepdim=True)[0]) to torch.max(neg_pairs, dim=1, keepdim=True)[0].half()). Still, I think it makes sense to raise this issue on the PyTorch Metric Learning github.

v0.9.90.dev0 supports half precision
pip install pytorch-metric-learning==0.9.90.dev0

@KevinMusgrave Awesome! Thanks a lot.

authors: JohnGiorgi KevinMusgrave subercui

repo: JohnGiorgi/DeCLUTR


text:
New integration update feature

What changed?
I worked pretty tirelessly to make this work, and to create a positive user experience that I'm now very proud of. "Ease of use" was top of mind. Here are the things that changed.

.gitignore was update to include more things
path creations for the config file are now os independent
Added 4 new, styled display functions in jiu that leverage the emoji package. NOTE TO JOHN this requires the emoji package so that needs to be added to the main requirements.txt file
Added "updater_core" as a new Addon that inherits the "Addon" class. This leverages ipywidgets and uses the Output widget to communicate to the user.
A user now has the ability to re-install integrations from within the Updater addon with a click of a button.

After discussion with @JohnOmernik this morning, holding off on this PR for now until we work through the python setup.py install to pip install solution, since this PR won't work in an Windows env due to file locks of .egg files.


text:
INFO ALL returns an empty string.

INFO ALL returns an empty string.
If you have more then one node at replicaof and execute INFO ALL  after CONFIG GET * it returns an empty string.
It affects redis_exporter https://github.com/oliver006/redis_exporter/issues/326
To Reproduce

Create a 3 node active-replica cluster

version: '3.5'
services:
  keydb1:
    image: eqalpha/keydb
    container_name: keydb1
    entrypoint: ["keydb-server"]
    command: ["/etc/keydb/redis.conf", "--port", "6379", "--multi-master", "yes", "--active-replica", "yes","--protected-mode", "no", "--bind", "0.0.0.0", "--repl-diskless-sync", "yes", "--replicaof", "keydb2", "6379","--replicaof", "keydb3", "6379"]
  keydb2:
    image: eqalpha/keydb
    container_name: keydb2
    entrypoint: ["keydb-server"]
    command: ["/etc/keydb/redis.conf", "--port", "6379", "--multi-master", "yes", "--active-replica", "yes","--protected-mode", "no", "--bind", "0.0.0.0", "--repl-diskless-sync", "yes", "--replicaof", "keydb1", "6379","--replicaof", "keydb3", "6379"]
  keydb3:
    image: eqalpha/keydb
    container_name: keydb3
    entrypoint: ["keydb-server"]
    command: ["/etc/keydb/redis.conf", "--port", "6379", "--multi-master", "yes", "--active-replica", "yes","--protected-mode", "no", "--bind", "0.0.0.0", "--repl-diskless-sync", "yes", "--replicaof", "keydb1", "6379","--replicaof", "keydb2", "6379"]

Connect to one of them docker exec -ti keydb1 keydb-cli
Run CONFIG GET *
Run INFO ALL

I've got a repro

The issue isn't with the INFO command, rather config get returns a corrupt response with multimaster.  This confuses the CLI program and results in incorrect processing of later commands.
From telnet:
config get replicaof
*2
$9
replicaof
$14
127.0.0.1 6380
$9
replicaof
$14
127.0.0.1 6381

The *2 should be *4 because we return 4 strings.

Fixed in change 5aef606d
The new output is:
127.0.0.1:6379> config get replicaof

"replicaof"
"127.0.0.1 6380"
"replicaof"
"127.0.0.1 6381"

authors: JohnSully anadion

repo: JohnSully/KeyDB


text:
How to get the resulting JSON string?

Hello, sorry if I missed something totally obvious, but does this library support serializing the resulting dictionary to an actual JSON string?

Hey @TomasHubelbauer! No problem, just return Data from wrap() and create a String from it, like this:
let data = try wrap(object) as Data
let string = String(data: data, encoding: .utf8)

Ah, okay. Cool! Thank you.

authors: JohnSundell TomasHubelbauer

repo: JohnSundell/Wrap


text:
Connect the bot with RaspberryPi

First thought would be two MQTT clients, one with the bot and one on the Pi. WIth both of them connected to the same broker (Mosca server on the bots' side), they could exchange data (commands / results, etc.) with each other.
bot <=> Mosca <============================> Pi

But transferring large files through MQTT might not be the best choice, as the connection between the Pi and the Mosca server could probably be slow. Maybe it's better for Pi to upload files to 3rd party services (like Qiniu), and then tell the bot to fetch the file it needs.

We're using Mosquito now.
The bot should also keep a connection with the Mosquito server, so that it can receive the process result from the RaspberryPi.

My RaspberryPi is now connected.

repo: JokerQyou/bot


text:
Fault on invalid write

Hey, thanks for putting this up! I just tried running it, but it seems to be getting stuck on an unhandled exception:
❯ just run-riscv64
...
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000007, epc:0x000000008020aa2a, tval:0x0001000380ae6000, desc=fault_store
Invalid write at addr 0x1000380AE6000, size 4, region '(null)', reason: rejected
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000007, epc:0x000000008020aa2a, tval:0x0001000380ae6000, desc=fault_store
Invalid write at addr 0x1000380AE6000, size 4, region '(null)', reason: rejected
...

This is with
❯ cargo --version
cargo 1.81.0-nightly (4ed7bee47 2024-06-25)

❯ qemu-system-riscv64 --version
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.21)

Looking at the binaries, the faulting address seems to be here:
❯ riscv64-unknown-elf-objdump -d target/riscv64gc-unknown-none-elf/debug/loader

000000008020aa1c <_ZN6loader4arch7riscv649fillstack17hca16c52fb1691861E>:
    8020aa1c:   2b383337                lui     t1,0x2b383
    8020aa20:   030a                    slli    t1,t1,0x2
    8020aa22:   ace30313                addi    t1,t1,-1330 # 2b382ace <$d.168+0x2b20fb28>
    8020aa26:   405102b3                sub     t0,sp,t0
    8020aa2a:   0062a023                sw      t1,0(t0) # 20000 <$d.18+0x2c5>
    8020aa2e:   02a1                    addi    t0,t0,8
    8020aa30:   fe22ede3                bltu    t0,sp,8020aa2a <_ZN6loader4arch7riscv649fillstack17hca16c52fb1691861E+0xe>
    8020aa34:   8082                    ret
        ...

By the way, how is enabling of logging supposed to work? Just by setting the RUST_LOG env variable?

That is certainly interesting, I have no good way of checking this I think, but I suspect updating your QEMU version (you're on version 6.x, the latest is 9.x) should fix this.

Created and issue for configuring log messages so we don't loose track of it! https://github.com/JonasKruckenberg/k23/issues/11

I have the same problem on Fedora 40.
❯ qemu-system-riscv64 --version
QEMU emulator version 8.2.2 (qemu-8.2.2-1.fc40)
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

In stdout:
Options { payload: "target/riscv64gc-unknown-none-elf/debug/kernel", cargo_path: "/home/william/.rustup/toolchains/nightly-2024-07-01-x86_64-unknown-linux-gnu/bin/cargo", verbose: 0, release: false, wait_for_debugger: false }
"/home/william/Documents/github/k23/target/riscv64gc-unknown-none-elf/debug/loader" "/home/william/Documents/github/k23/target/riscv64gc-unknown-none-elf/debug/payload.bin"

OpenSBI v1.3.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|___/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : semihosting
Platform HSM Device       : ---
Platform PMU Device       : ---
Platform Reboot Device    : sifive_test
Platform Shutdown Device  : sifive_test
Platform Suspend Device   : ---
Platform CPPC Device      : ---
Firmware Base             : 0x80000000
Firmware Size             : 194 KB
Firmware RW Offset        : 0x20000
Firmware RW Size          : 66 KB
Firmware Heap Offset      : 0x28000
Firmware Heap Size        : 34 KB (total), 2 KB (reserved), 9 KB (used), 22 KB (free)
Firmware Scratch Size     : 4096 B (total), 760 B (used), 3336 B (free)
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region01          : 0x0000000080000000-0x000000008001ffff M: (R,X) S/U: ()
Domain0 Region02          : 0x0000000080020000-0x000000008003ffff M: (R,W) S/U: ()
Domain0 Region03          : 0x0000000000000000-0xffffffffffffffff M: (R,W,X) S/U: (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x000000009fe00000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes
Domain0 SysSuspend        : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imafdch
Boot HART ISA Extensions  : time,sstc
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000001666
Boot HART MEDELEG         : 0x0000000000f0b509

In stderr
    Blocking waiting for file lock on build directory
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.52s
     Running `cargo run --package bootimg-runner -- target/riscv64gc-unknown-none-elf/debug/kernel`
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
     Running `target/debug/bootimg-runner target/riscv64gc-unknown-none-elf/debug/kernel`
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000002, epc:0x00000000800091f8, tval:0x000000003c002873, desc=illegal_instruction
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000002, epc:0x000000008000a6b0, tval:0x00000000b1302873, desc=illegal_instruction
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000002, epc:0x000000008000a094, tval:0x00000000da002573, desc=illegal_instruction
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000002, epc:0x000000008000a0d8, tval:0x00000000fb002573, desc=illegal_instruction
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000002, epc:0x000000008000a12c, tval:0x0000000030c02673, desc=illegal_instruction
[WARN  loader::machine_info] unknown /chosen property: stdout-path /soc/serial@10000000
[TRACE loader::machine_info] applying reservations for mmode_resv1@80020000
[TRACE loader::machine_info] applying reservations for mmode_resv0@80000000
[DEBUG loader::arch::riscv64] MachineInfo { fdt: 0x9fe00000..0x9fe01516, cpus: 1, memories: [], bootargs: None, rng_seed: Some([100, 219, 27, 244, 162, 149, 104, 75, 224, 164, 117, 129, 16, 5, 60, 88, 71, 28, 245, 12, 105, 48, 56, 81, 87, 4, 88, 230, 179, 62, 4, 126]) }
[INFO  loader] Hart 0 started
[TRACE loader] LoaderRegions { executable: PhysicalAddress(0x80200000)..PhysicalAddress(0x8024f000), read_only: PhysicalAddress(0x8024f000)..PhysicalAddress(0x80e07000), read_write: PhysicalAddress(0x80e07000)..PhysicalAddress(0x80e32000) }
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000005, epc:0x00000000802306ce, tval:0x0000000080027000, desc=fault_load
Invalid write at addr 0x1000560E12000, size 4, region '(null)', reason: rejected
riscv_cpu_do_interrupt: hart:0, async:0, cause:0000000000000007, epc:0x00000000802064b2, tval:0x0001000560e12000, desc=fault_store
Invalid write at addr 0x1000560E12000, size 4, region '(null)', reason: rejected

Okay, so I got curious about why this happens and set up a fedora 40 VM. It seems like indeed on the default QEMU version (8.x) that's shipped with fedora 40 the loader runs into a trap, I was able to fix this issue by installing qemu-system-riscv64-core from the rawhide repository, which had the 9.x branch.
So this might be a fix, still I don't see why k23 should run into such a simple issue on the 8.x branch so I will continue to do some digging

As of #85 we now have a nix flake that provides all the necessary tooling at the right versions to get up and running with k23 and I would recommend you use that, esp. on those Linux distributions which have older versions on QEMU in their repos.
Getting a working dev environment should be as easy as:
nix develop

Thanks, got it working now!

Great to hear that! And as far as cool code and fancy demos is concerned im afraid the current codebase is a bit bare bones after I ripped out function calling :) but pretty soon now actually there'll be a full rewrite of the wasm vm 👀

authors: JonasKruckenberg adamrk w1ll-i-code


text:
🛑 Moodle is down

In 6452950, Moodle (moodle.gymall.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Moodle is back up in 26c371b after 10 hours, 33 minutes.

repo: JonasSchaber/uptime


text:
[FR] Add reverse transition duration

Override and expose the reverseTransitionDuration to have a separate duration for opening and closing.

Added this as part of v0.4.2

authors: JonasWanke alterhuman


text:
bibix value 컨버터 코드 생성기 구현

rule의 인자들이나 class 등을 자바/코틀린에서 플러그인 작성시 좀더 쉽게 사용할 수 있도록 비빅스 클래스 <-> 코틀린 클래스 변환 기능, rule의 인자들을 코틀린 값으로 변환해주는 코드를 생성해주는 기능을 구현하면 좋을듯
예를 들면
implTemplate = bibix.genRuleImplTemplateKt(
  rules=[schema], // schema는 rule 이름
  types=[ProtoSchema], // ProtoSchema는 비빅스 클래스 이름
  implName="com.giyeok.bibix.plugins.protobuf.CompileImpl",
  implInterfaceName="com.giyeok.bibix.plugins.ktjvm.CompileImplInterface"
)

impl = ktjvm.library(
  srcs = [implTemplate] + glob("src/**/*.kt"),
  deps = [..]
)

def schema(..): ProtoSchema = impl:com.giyeok.bibix.plugins.protobuf.Compile:schema

이런식으로 적으면,
class Compile(val impl: CompileImplInterface = CompileImpl()) { // 클래스 이름은 rule 정의에서 가져옴
  data class ProtoSchema(val schemaFiles: List<File>, val includes: List<File>) {
    companion object {
      fun fromBibix(value: BibixValue): ProtoSchema = ..
    }
    fun toBibix() = ClassInstanceValue(..)
  }
  fun schema(context: BuildContext): BuildRuleReturn {
    val srcs = (context.arguments.getValue("srcs") as SetValue).values.map { (it as PathValue).path }
    val protocPath = (context.arguments.getValue("protocPath") as DirectoryValue).directory

    return impl.schema(context, srcs, protocPath)
  }
}

interface CompileImplInterface {
  fun schema(context: BuildContext, srcs: List<File>, protocPath: File): BuildRuleReturn
}

와 같은 코드를 생성해주고, 그러면 사용자는 CompileImplInterface를 상속받는 CompileImpl클래스를 구현하면 됨. 값을 반환할 때는 생성된 ProtoSchema 클래스의 toBibix 메소드를 활용하면 편리할 것.

구현 방식

build rule def value와 type value을 추가하고, genRuleImplTemplateKt 같은 룰을 그냥 만들 수 있도록 하기

이런 특수 값들이 일반 값처럼 사용되면 애매한 경우들이 발생할 수 있음
하지만 구현 자체는 더 간단할 수도
TypeDesc에 build rule def value와 type 값을 위한 expression을 추가해야 함

genRuleImplTemplateKt 같은 룰을 특별히 취급하기. 혹은 별도의 문법을 만들기

더 복잡할 것 같음.. 별로 장점이 없을듯

1번 방식으로 구현

repo: Joonsoo/bibix


text:
Readme out of date

Awesome project!
>>> from phi_3_vision_mlx import generate
>>> generate('What is shown in this image?', 'https://collectionapi.metmuseum.org/api/collection/v1/iiif/344291/725918/main-image')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: generate() missing 1 required positional argument: 'prompt'

Following https://github.com/JosefAlbers/Phi-3-Vision-MLX?tab=readme-ov-file#visual-question-answering

This is actually just due to an older version being the default when installing with python 3.10


text:
fix(release): limit concurrency to run release one by one

PR Checklist

[x] Addresses an existing open issue: fixes #320 Possibly #257
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview

Added the changes from https://github.com/JoshuaKGoldberg/ts-api-utils/pull/91

I will fix the linting error and push a commit soon.

@allcontributors add @navin-moorthy for tool

authors: JoshuaKGoldberg navin-moorthy


text:
pytubefix.exceptions.LoginRequired: G17sBkb38XQ requires login to view

We started getting this error in our most recent nightly CI for https://www.youtube.com/watch?v=G17sBkb38XQ, which is a public video that should not require any login.
This is with the latest ultralytics and pytubefix==6.9.2 versions. We've never seen this error before in the past.
https://github.com/ultralytics/ultralytics/actions/runs/10311409282/job/28553440131

Reproduce
from ultralytics import YOLO

# Load the YOLO model
model = YOLO('yolov8n.pt')

# Run inference on the YouTube video
results = model(source="https://www.youtube.com/watch?v=G17sBkb38XQ")

# Process the results
for r in results:
    # Visualize the results on the frame
    r.show()

More info here, I'm not actually able to reproduce locally. Issue seems isolated to GitHub CI. Not sure what this means.

Same issue here, for "https://youtu.be/50leN2_T8lo".
Using the latest version too, running ubuntu on a VPS (so it's not linked to github)

Same issue here, for "https://youtu.be/50leN2_T8lo". Using the latest version too, running ubuntu on a VPS (so it's not linked to github)

Facing the same issue, looks like something changed at youtube's end:
"errorMessage": "\u001b[91mmqgIvkT6yV4 requires login to view\u001b[0m",
"errorType": "LoginRequired",

Hi All,
I am also facing same issue from last 4 days. This issue is on AWS Lambda but not producible on Local setup. Any help is appreciated.  @JuanBindez Please help.

Hello everyone, I also have the same issue with pytubefix==6.9.2  in my huggingface deployed model.
MiniGPT4-video

Hi All, I am also facing same issue from last 4 days. This issue is on AWS Lambda but not producible on Local setup. Any help is appreciated. @JuanBindez Please help.

hello, take a look at #170

Hi,
now getting error about bot detection. But is there any way to resolve this bot check issue and get download link as before?
@JuanBindez
Function Logs
START RequestId: 6586a56d-3e78-4926-bedb-f779a7584378 Version: $LATEST
downloading....
unknows exception: VGums6GjUEA This request has been detected as a bot, please try again or log in to view
END RequestId: 6586a56d-3e78-4926-bedb-f779a7584378
REPORT RequestId: 6586a56d-3e78-4926-bedb-f779a7584378	Duration: 160.76 ms	Billed Duration: 161 ms	Memory Size: 1024 MB	Max Memory Used: 54 MB
Request ID
6586a56d-3e78-4926-bedb-f779a7584378

Hello @JuanBindez
After the last update 6.10.2, I got this error:
pytubefix.exceptions.BotDetection: DUT5rEU6pqM This request has been detected as a bot, please try again or log in to view
Is there any way to resolve this bot check issue ?

Hello @JuanBindez After the last update 6.10.2, I got this error: pytubefix.exceptions.BotDetection: DUT5rEU6pqM This request has been detected as a bot, please try again or log in to view
Is there any way to resolve this bot check issue ?

hello, see this PR #170

Hi @JuanBindez
As many of us are still unable to fix this issue. I request you, can you explain detailed steps to resolve this issue?

This problem has already been discussed in #119 .
As there is still no solution for this, we can try authentication with oauth.
yt = YouTube('URL', use_oauth=True)

use_oauth=True will print a link and a code on the terminal, you must place the generated code in the link field provided. After confirming the account linking, just press "enter" on your keyboard and you will be authenticated.
This authentication process has already been discussed here #160.
WARNING
Don't use your main account as YouTube may ban it.

hello @felipeucelli
I tried to use use_oauth=True in my deployed model in huggingface but got the same error
pytubefix.exceptions.BotDetection: LA4L6GwnarY This request has been detected as a bot, please try again or log in to view
Also, I can't see the login process while using huggingface, when using use_oauth=True

Hi @JuanBindez I'm a little bit confused, what I understood from the mentioned PR that this bug has been fixed with the new version 6.10.2 , In my case I still have the error with this new version. you can see the error here in my deployed huggingface model MiniGPT4_video

Hi, actually a bug was not fixed in this version but an exception feature was added for YouTube bot detection

Hello @KerolosAtef, Try using a proxy to change your IP:
YouTube('URL', proxies=[YOUR PROXY])

Any proxy service that you know will work? I've tried Bright Data, but I'm still unable to download youtube videos.

Hello @KerolosAtef, Try using a proxy to change your IP:
YouTube('URL', proxies=[YOUR PROXY])

Any proxy service that you know will work? I've tried Bright Data, but I'm still unable to download youtube videos.

I am testing proxies. For proxies of the same vendor, some IPs are not detected as BOT, other have 100% detection, and other sometimes are detected as BOT while other times are not detected. There is no rule. Those with 100% detection I am asking the vendor to replace.

What vendor has the best results so far?

Hello @KerolosAtef, Try using a proxy to change your IP:
YouTube('URL', proxies=[YOUR PROXY])

Any proxy service that you know will work? I've tried Bright Data, but I'm still unable to download youtube videos.

I am testing proxies. For proxies of the same vendor, some IPs are not detected as BOT, other have 100% detection, and others sometimes are detected as BOT, sometimes are not detected. There is no rule. Those with 100% detection I am asking the vendor to replace.

What vendor has the best results so far?

authors: JuanBindez KerolosAtef Lexsah NannoSilver felipeucelli glenn-jocher kundanjadhav rakshit-ti tiago719

repo: JuanBindez/pytubefix


text:
Obtain accurate frames timestamps to relate to other meta-data (gyro, GPS, etc)?

Thanks for this helpful project!
Is there a way I can find the closest gyro value for each video frame?

Hi,
I haven't used this in a long time, I'm not sure how I was dealing with that. Sorry.

Hi, okay,  thanks for your quick reply!

authors: JuanIrache noamholz

repo: JuanIrache/gopro-utils


text:
Minor polishing of README

Initially I planned just to correct some typo, but then I ended up polishing the text a bit. I understand that it largely subjective and a matter of a personal style and taste, but have a look at it and if you like it, accept it. Otherwise feel free to reject it, no problem at all.

Thanks for the PR, I merged it as part of #15

authors: baggepinnen hurak


text:
New IndicatorChangesConfig: Continuous Linear Segments

This issue is a continuation of the discussion originally in https://github.com/STOR-i/Changepoints.jl/issues/36 .
There we had the quote:

From my point of view, is the very important part of "change analysis" the continuous piece-wise linear regression. See for info the following paper. The method presented in this paper is similar to the standard PELT method for linear segments estimation, but it is moreover forced to be continuous (without step changes between linear segments!!!). See the code on GitLab, too.

The paper is "A new and general approach to signal denoising and eye movement classification based on segmented linear regression". It appears to be a blend between standard PELT and estimating changes in slope in indicator timeseries which @JanJereczek is interested in.
Following the outline I gave in #52 , one could define yet another analysis pipeline type that does the "PELT-like-continuus-linear-segments".

Holger Kantz gave a presentation where something similar is done: linear segments are fitted to the data and the change points are the points where the linear segments change slope. I'll try to get permission to post pictures here.

@stelmo I was considering whther I could use LinearSegmentation.jl for this. in principle, if I could force LinearSegmentation.jl to ensure that all linear segments are continuous (end points and start points coincide sequentially), then this would solve my problem. Do you know if this is possible? So far all figures in the README are discontinuous.

LinearSegmentation (LS) does give the overlap option, but that just enforces that neighboring segments share the same boundary points. The actual line of best fit does not need to be continuous, hence all the disjoint fits, even with overlap=true. It would be interesting to try to implement an option forcing a continuous fit. What time line are you talking about (I am going on holiday soon-ish for 3 weeks without internet access)? Also, I have found that LS is pretty sensitive to data noise and one needs to carefully tune the fitting thresholds to get nice fits, so that also needs a little work by me...

I don't have any timeline, this is a project without any deadlines! Therefore I'll wait for you because I don't know any internals of LS to add an option for enforcing continuity...

Okay, I extended my sliding_window function to have a continuous option (on master). Now you can create fits like this:

However, the sliding window method is very suboptimal (but simple and fast), and the papers you linked to look like they have much better algorithms. I plan on reading them + perhaps implementing their algos eventually. I hope to take a stab at this before I leave (3 weeks), but if not then, definitely before the end of the year.
For reference, the code that generated the plot:
using LinearSegmentation, CairoMakie

N = 100
xs = collect(range(0, 3 * pi, length = N)) .+ 0.1 .* randn(N)
ys = sin.(xs) .+ 0.1 .* randn(N)

segments = sliding_window(
    xs,
    ys;
    min_segment_length = 0.5,
    fit_threshold = 0.1,
    fit_function = :rmse,
    overlap = true,
    continuous = true, # only on master
)

f, a = scatter(xs, ys)
for seg in segments
    b0, b1 = LinearSegmentation.endpoints(xs[seg], ys[seg])
    lines!(a, xs[seg], b0 .+ b1 .* xs[seg], linewidth=5)
end
f

Ah, so the sliding window algorithm is very basic. There is no way to control the maximum number of returned segments, it merely makes a new segment when the error of a segment becomes "too large". In essence, it slides along the x-axis, appending data to a segment. When a user specified threshold is reached, it starts a new segment and keeps on sliding and adding data to this new segment. You can see the sub-optimality of this approach by looking at the attached figure at the trough: the yellow segment is a little wonky. The major advantage of this method is that it is fast (or can be made fast easily), as there is very little processing involved.

authors: Datseris stelmo


text:
building issue

While CPLEX worked fine until yesterday, today for some reason CPLEX had to be rebuilt. However this was not possible, it requires 22.1, 20.1 or 12.1 of Cplex. I had installes 22.1.1 all the time.
It is somehow annoying when a minor version change leads to a major issue ...

This is not the CPLEX package repo, it's a (very old) fork.

Sorry

Von: Stefan Karpinski @.>
Gesendet: Montag, 20. März 2023 16:15
An: JuliaPackageMirrors/CPLEX.jl @.>
Cc: Raimund Kovacevic @.>; Author @.>
Betreff: Re: [JuliaPackageMirrors/CPLEX.jl] building issue (Issue #1)
This is not the CPLEX package repo, it's a (very old) fork.
—
Reply to this email directly, view it on GitHubhttps://github.com/JuliaPackageMirrors/CPLEX.jl/issues/1#issuecomment-1476417519, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6R3XFTVJEPWJT33RYYDVNTW5BX7PANCNFSM6AAAAAAWAEI33E.
You are receiving this because you authored the thread.Message ID: @.***>


text:
Fix GitLab example

I had issues with the example for GitLab. Adding escapes fixed it for me.

bors merge

authors: DilumAluthge jonschumacher


text:
New version: DiffTests v0.1.1

Registering package: DiffTests
Repository: https://github.com/JuliaDiff/DiffTests.jl
Created by: @mohamed82008
Version: v0.1.1
Commit: fdf691e0e22db7aa98231f1f9a1e8cf132ac25f2
Reviewed by: @mohamed82008
Reference: https://github.com/JuliaDiff/DiffTests.jl/commit/fdf691e0e22db7aa98231f1f9a1e8cf132ac25f2#commitcomment-40709576

Closing due to inactivity, please comment if this is still relevant.

authors: JuliaRegistrator fredrikekre

repo: JuliaRegistries/General


text:
New package: QuadGG v0.1.0

Registering package: QuadGG
Repository: https://github.com/tbeason/QuadGG.jl
Created by: @tbeason
Version: v0.1.0
Commit: f24b06a1d3726276e8aefe9924dd0205d9af6269
Reviewed by: @tbeason
Reference: https://github.com/tbeason/QuadGG.jl/commit/f24b06a1d3726276e8aefe9924dd0205d9af6269#commitcomment-43287229

[noblock] naming scheme is intentionally similar to QuadGK. I do link to the package in the readme as a preferred alternative.

Pretty close! In my opinion, this is getting close to the kind of name that's worth flagging to take a look (which I did and agree it's fine). [I'm writing this mostly for future me who will be tuning the tolerances]
[noblock]

Actually, I'll take off the label, since I'm going use the labelled ones to track strictly false positives.
[no block]

I don't love this package name. I'd recommend something that is more than a single letter away from QuadGK.
Up to you, though.
[noblock]

1 out of 6, though. With short names, you are going to get near-collisions like this. Suppose that this package already existed, would we want QuadGK to register with a different name? I don't believe so.
However, I'm open to changing it but I have no idea how to do so. I know I can just rename the GitHub repo in settings and I guess update the code & Project.toml files. What do I do with this PR?
[noblock]

It's up to you. I don't feel too strongly, I think this name is probably fine.
If you do end up renaming, here are the instructions: https://github.com/JuliaRegistries/General#what-to-do-when-asked-to-reconsiderupdate-the-package-name
[noblock]

Nah let's leave it as is then.
[noblock]

authors: DilumAluthge JuliaRegistrator ericphanson tbeason


text:
New version: SuiteSparseGraphBLAS v0.4.0

Registering package: SuiteSparseGraphBLAS
Repository: https://github.com/JuliaSparse/SuiteSparseGraphBLAS.jl
Created by: @Wimmerer
Version: v0.4.0
Commit: 1673e1ae4da0ea6644a1b4129963eb8f77999a18
Reviewed by: @Wimmerer
Reference: https://github.com/JuliaSparse/SuiteSparseGraphBLAS.jl/commit/1673e1ae4da0ea6644a1b4129963eb8f77999a18#commitcomment-52982984

Can be closed in favor of https://github.com/JuliaRegistries/General/pull/40118. Sorry for noise!

authors: JuliaRegistrator Wimmerer


text:
New version: Libz v1.0.1

Registering package: Libz
Repository: https://github.com/BioJulia/Libz.jl
Created by: @BenJWard
Version: v1.0.1
Commit: 1a7147d8f3c6e9abcd4771c1f6331d0dcae26a15
Reviewed by: @BenJWard
Reference: https://github.com/BioJulia/Libz.jl/commit/1a7147d8f3c6e9abcd4771c1f6331d0dcae26a15#commitcomment-36381848

I don't understand why this is "limiting the permitted julia versions". The last version required a compat of julia="0.7", which according to Pkg docs denotes a range of [0.7.0, 0.8).
Now the julia compat section in Project.toml is julia="0.7, 1", denoting ranges of [0.7.0, 0.8) and [1.0.0, 2). So I don't see how the range of supported julia versions has been narrowed.

[noblock] Possibly the old REQUIRE was equivalent to julia >= "0.7", and so julia = "0.7, 1" places an upper bound on the Julia version. You want to do that, but that may also be the source of the warning.
Perhaps change it to 1.1.0 and call that good enough?

It’s a bug.

authors: BenJWard DilumAluthge JuliaRegistrator timholy


text:
New package: WGPUNative v0.1.1

Registering package: WGPUNative
Repository: https://github.com/dvijaha/WGPUNative.jl
Created by: @arhik
Version: v0.1.1
Commit: 5b8dee0c106f5fdbfd91ef774384009f33dcb65a
Reviewed by: @arhik
Reference: https://github.com/dvijaha/WGPUNative.jl/commit/5b8dee0c106f5fdbfd91ef774384009f33dcb65a#commitcomment-84186512
Description: WGPU bindings (Alias for WGPU_jll without JLLWrappers)

no merging. Just a test.

authors: JuliaRegistrator arhik


text:
New package: BinStatistics v0.1.1

Registering package: BinStatistics
Repository: https://github.com/alex-s-gardner/BinStatistics.jl
Created by: @alex-s-gardner
Version: v0.1.1
Commit: 843a23c8810980bb26dc977e21601198979d6e65
Reviewed by: @alex-s-gardner
Reference: https://github.com/alex-s-gardner/BinStatistics.jl/issues/1#issuecomment-1401300267
Description: Highly generic and efficient computation of n-dimensional binned statistic(s) for n-variables

Please accept package name BinStatistics that is close to RunStatistics but I doubt will cause anyone confusion.  BinStatistics perfectly describes this package

Seems that this merge request has stalled.. any chance someone could move it along?

authors: JuliaRegistrator alex-s-gardner


text:
Documentation Links 404 from README

I am interested in in learning about the Julia wrapper for Feather file format. Unfortunately, both the links for Stable and Latest documentation result in a 404 from the README page.

Sorry about that. The package has a new recent release and the docs are now available. http://juliastats.github.io/Feather.jl/stable/


text:
Fix "MbedTLS.SSLContext does not support byte I/O"

Close #169
In particular see In https://github.com/JuliaWeb/WebSockets.jl/issues/169#issuecomment-758198121 for additional details
This PR started by reverting to the "old" working code, but it may evolve differently if there is any potentially better solution. Moreover, it would be valuable to find a way for testing this case.

I don't have experience in this field, but I will give it a try.
The comment in the code snippet points out that the connection may be closed abruptly by the other endpoint, resulting in the code trying to access a not existing element, but, at least to me, it does not seem to be linked with the decision on reading 1/2 bytes.
AFAICT, the main reason behind the reverted change reading the first two bytes separately tries to reflect better the RFC6455.
Unfortunately, read(::MbedTLS.SSLContext, ::UInt8) is not provided (indeed, the error message is printed by the fallback instance defined in Base.io). As stated here https://github.com/JuliaLang/MbedTLS.jl/issues/197#issuecomment-472662107, performance may suffer with single byte reads, so it is suggested to use a buffer instead.
I don't know if there is any desire/reason to not just leave the code the old way.
About the test, I don't have any clue on where to start from, looking forward for any idea.
In the meanwhile, it may be worth merging this revert and opening an issue about the specific test case it would be nice to add.

I don't have experience in this field, but I will give it a try.
The comment in the code snippet points out that the connection may be closed abruptly by the other endpoint, resulting in the code trying to access a not existing element, but, at least to me, it does not seem to be linked with the decision on reading 1/2 bytes.
AFAICT, the main reason behind the reverted change reading the first two bytes separately tries to reflect better the RFC6455.
Unfortunately, read(::MbedTLS.SSLContext, ::UInt8) is not provided (indeed, the error message is printed by the fallback instance defined in Base.io). As stated here https://github.com/JuliaLang/MbedTLS.jl/issues/197#issuecomment-472662107, performance may suffer with single byte reads, so it is suggested to use a buffer instead.
I don't know if there is any desire/reason to not just leave the code the old way.
About the test, I don't have any clue on where to start from, looking forward for any idea.
In the meanwhile, it may be worth merging this revert and opening an issue about the specific test case it would be nice to add.

Thanks so far! I didn't expect this already. Perhaps we can release a fix version today?
From RFC6455, any frame following protocol needs to be 2 bytes plus. I suppose the worst outcome we could have from receiving one byte would be that the task would lock up indefinitely. Sending one byte and continue to open new connections could be a way to stop normal use of that server without using large resources on the attack side.
Improving tests is better done separately, but it would be nice if you could also revert the corresponding changes to error behaviour. From appveyor messages, that's in test\error_test.jl:117, 118, 145...

Thanks so far! I didn't expect this already. Perhaps we can release a fix version today?
From RFC6455, any frame following protocol needs to be 2 bytes plus. I suppose the worst outcome we could have from receiving one byte would be that the task would lock up indefinitely. Sending one byte and continue to open new connections could be a way to stop normal use of that server without using large resources on the attack side.
Improving tests is better done separately, but it would be nice if you could also revert the corresponding changes to error behaviour. From appveyor messages, that's in test\error_test.jl:117, 118, 145...

I don't know if you may like it or not, it's just a proposal.
I investigated the options we have about reading from the MbedTLS.SSLContext, and I gave a look at readbytes!.
AFAICT from the doc this function is non-blocking, moreover it is based on ssl_unsafe_read which in turn it is presented as non blocking...so I'm pretty confident it is what we are looking for.
It returns the number of bytes that have been read, so my proposal is to check that 2 bytes have been read otherwise throw the exception that @SimonDanisch used in its version that we are slightly changing.
About the error in the tests you pointed out, they were curiously due to a BoundsError exception thrown...and with this proposal the problem has been removed.
Another problem: locally on my mac, I had some problems run the tests. In particular, the tests client_listen and client_serverWS were hanging semi-randomly (either with master, 1.5.6 and the current branch).
Let's see how it goes with the CI.
Looking forward for your feedback.

I don't know if you may like it or not, it's just a proposal.
I investigated the options we have about reading from the MbedTLS.SSLContext, and I gave a look at readbytes!.
AFAICT from the doc this function is non-blocking, moreover it is based on ssl_unsafe_read which in turn it is presented as non blocking...so I'm pretty confident it is what we are looking for.
It returns the number of bytes that have been read, so my proposal is to check that 2 bytes have been read otherwise throw the exception that @SimonDanisch used in its version that we are slightly changing.
About the error in the tests you pointed out, they were curiously due to a BoundsError exception thrown...and with this proposal the problem has been removed.
Another problem: locally on my mac, I had some problems run the tests. In particular, the tests client_listen and client_serverWS were hanging semi-randomly (either with master, 1.5.6 and the current branch).
Let's see how it goes with the CI.
Looking forward for your feedback.

Hey, sorry for the delay - didn't notice the update. I checked this out locally on Windows / Julia 1.5 and got unrelated errors due to a default color change which I thought was covered by PR #165. I'm giving the mac some updates now before replicating your tests there and a closer look on the code.

Hey, sorry for the delay - didn't notice the update. I checked this out locally on Windows / Julia 1.5 and got unrelated errors due to a default color change which I thought was covered by PR #165. I'm giving the mac some updates now before replicating your tests there and a closer look on the code.

So, I ran the tests on Mac with version 1.5.3, and no failures. That's with Catalina installed.
There's unrelated trouble in the windows, though. Ref. issue #171 and PR #165.

So, I ran the tests on Mac with version 1.5.3, and no failures. That's with Catalina installed.
There's unrelated trouble in the windows, though. Ref. issue #171 and PR #165.

Close #169

Close #169

Still not sure if this is the best way to release a new version, but Project.toml does no longer contain the version number:
@JuliaRegistrator register

Still not sure if this is the best way to release a new version, but Project.toml does no longer contain the version number:
@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Ok...

Ok...

authors: JuliaRegistrator albestro hustf


text:
Throttle div-related UI updates.

@gebner does this help with #181? (there are of course things I could optimize in the TUI code but I'd rather focus on correctness at the moment)

@Julian are you getting the flickering tooltip here? I've not been able to reproduce this myself...


text:
Do i need to add parts

Do i need to add parts to a car like windscreen wiper to i need to model like a wiper or not. Pls answer cause i want to make gta sa car work in vehfunchs.

btw im using zmodeler 2.2

Yes you need to add to the car a model of windscreen wiper; then put the function for Windshield wipers so they work when it rains.

repo: JuniorDjjr/VehFuncs


text:
new feature: remove a specific song from somewhere in the queue

I tried to match the feel of the other commands. I also made some pull requests that I had to close because I've never used GitHub before half an hour ago. Oops!
This removes a song from somewhere in the queue, tells you what song was removed, and doesn't take bad input.

Need to change () to {} for the !help comment to keep consistent with other commands. Will do that next time I'm on PC.

Accidental assignment, woops! Looks better 👍 Bork will probably take a look in future after he's got all of the voice stuff out of the way.

I added this to my Musicbot and I love it!

code as is.

How do I download this? Im new sorry :/

Seems to be working fine here, nice feature!

authors: CArchetype KingGold171 Ylsovr jaydenkieran pedrofracassi zach78954

repo: Just-Some-Bots/MusicBot


text:
Add Connecting sub-states; delay Connected state until ready

Closes #75.

If you feel inclined the update the Peripheral.state KDoc:
    /**
     * Provides a conflated [Flow] of the [Peripheral]'s [State].
     *
     * After [connect] is called, the [state] will typically transition through the following [states][State]:
     *
     * ```
     *           connect()
     *               :
     *               v
     *   .----------------------.
     *   | Connecting.Bluetooth |
     *   '----------------------'
     *               |
     *               v
     *    .---------------------.
     *    | Connecting.Services |
     *    '---------------------'
     *               |
     *               v
     *    .--------------------.       .-----------.
     *    | Connecting.Observe | ----> | Connected |
     *    '--------------------'       '-----------'
     *                                       :
     *                                disconnect() or
     *                                connection drop
     *                                       :
     *                                       v
     *                               .---------------.       .--------------.
     *                               | Disconnecting | ----> | Disconnected |
     *                               '---------------'       '--------------'
     * ```
     */
    public val state: Flow<State>

Here is an updated artwork/connection-states.png (so that we show the new states in the project README):

authors: cedrickcooke twyatt

repo: JuulLabs/kable


text:
Rclone flags: --no-mimetype and --no-check-dest

Hello,
I have been encountering an issue when using syncrclone for the first time:
2021-07-05 00:59:52: Refreshing file list on A '*******'
2021-07-05 00:59:52:  rclone stderr: Error: unknown flag: --no-mimetype

("*" were added by me)
I have simply deleted the corresponding lines in the rclone.py file.
Then I have also had another error which doesn't show up when the lock is deactivated (so I have just done so and it works fine):
2021-07-05 00:52:22: Setting lock on A
2021-07-05 00:52:22: rclone: Error: unknown flag: --no-check-dest
2021-07-05 00:52:22: rclone: Usage:
2021-07-05 00:52:22: rclone:   rclone copyto source:path dest:path [flags]
...

I am running Ubuntu 20.04.2 LTS with a b2 remote cloud storage.
rclone v1.50.2
It is the first time I am using this tool, and I am not extremely used to rclone so it might simply be a problem on my configuration side.
Thank you !

Those are newer flags. Please update to the latest (I think 1.55.1?) and try again. Let me know!

Then I have also had another error which doesn't show up when the lock is deactivated (so I have just done so and it works fine):

This is also related to a newer flag. I am 99% sure it'll work fine with the newest rclone. Either way, please let me know and I'll try to fix it.

Indeed it is ^^´.
Sorry, rookie mistake...
Works fine now. Thank you !


text:
CLN: Simplify the logging module

Python - Question on logging in __init__.py

Added class-based loggers with https://github.com/Jython1415/zolltools/commit/3a8e926969c10bad04173b48ff980a1811ac4486.


text:
webpack-bundle-analzer not working with the recomendded ncc way

Not sure why. Just included node_modules so far. (Not exactly ideal)
log from https://github.com/K-Sato1995/gh-actions-test/runs/5357830546?check_suite_focus=true
Error: Cannot find module '/home/runner/work/gh-actions-test/gh-actions-test/dist/threadChild.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at MessagePort.<anonymous> (node:internal/main/worker_thread:187:24)
    at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:562:20)
    at MessagePort.exports.emitMessage (node:internal/per_context/messageport:[23](https://github.com/K-Sato1995/gh-actions-test/runs/5357830546?check_suite_focus=true#step:6:23):[28](https://github.com/K-Sato1995/gh-actions-test/runs/5357830546?check_suite_focus=true#step:6:28))

Haven't really looked into it but probably cuz not all dependencies webpack-bundle-analyzer needs are installed??


text:
Stalling when serving static (.css) files

Noticed while running the knows-site locally:

first request doesn't complete in browser
browser debugging shows that the request for http://localhost:3000/styles/bootstrap.min.css doesn't get a response
Fetching http://localhost:3000/styles/bootstrap.min.css before visiting a route is a working workaround

Something to do with express?
Interesting to observe on the server...

Could be linked to https://github.com/comunica/comunica/issues/816. Something takes to long?

repo: KNowledgeOnWebScale/walder


text:
🛑 Paardekooper Webshop is down

In 8bc95f1, Paardekooper Webshop (https://www.paardekooper.nl) was down:

HTTP code: 500
Response time: 740 ms

Resolved: Paardekooper Webshop is back up in 7747e9b.

repo: KPGhelpdesk/upptime


text:
Update supported version range for BetterLoadSaveGame

I've switched to use a version range since my mod works with all versions in this range.

Nice, thanks for the update.
FYI, there's a file in there that probably isn't intended:
- GameData/BetterLoadSaveGame/.gitignore

This isn't a problem for CKAN, but I wanted to let you know since if you decide to remove it, things will go more smoothly if you do that before we merge this PR.

Thanks for letting me know. I've removed the .gitignore file now.

Looks good, merging with thanks!

authors: HebaruSan jefftimlin

repo: KSP-CKAN/NetKAN


text:
Cleaner output

The output yaml and json files now actually work and have the correct name
dum_filename_pattern argument no longer exists, user can specify directory for output dump instead

@asyms is it necessary to always generate a json and yaml output file for all of the layers? Can we add an API argument to specify whether to generate the yaml file, or omit the format altogether?

I'm okay with disregarding the json output to provide consistency across inputs and outputs. The jsonrepr methods would have to be checked with the yaml output, I'm not sure if they're currently producing the same information?

@asyms is it necessary to always generate a json and yaml output file for all of the layers? Can we add an API argument to specify whether to generate the yaml file, or omit the format altogether?

I'm okay with disregarding the json output to provide consistency across inputs and outputs. The jsonrepr methods would have to be checked with the yaml output, I'm not sure if they're currently producing the same information?

I think they are the same, except that in the yaml output, inputs comes before outputs. Why choose the yaml over json though? I don't think that having yaml for input and json for output breaks the consistency. It makes more sense for me to keep the json output since this is the one we actually generate; the yaml is simply translated from the json

authors: RobinGeens asyms

repo: KULeuven-MICAS/zigzag


text:
ci(fonts): set token permission to remove label

I've changed the default permission of the token to read-only and this is the only place we need write access.

Codecov Report

Merging #2960 (12e9f85) into master (bc718a0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2960   +/-   ##
=======================================
  Coverage   93.92%   93.92%
=======================================
  Files          87       87
  Lines        6326     6326
  Branches     1308     1308
=======================================
  Hits         5942     5942
  Misses        354      354
  Partials       30       30

Continue to review full report at Codecov.

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

authors: codecov-commenter ylemkimon

repo: KaTeX/KaTeX