Update to new API endpoint and pagination method

Thanks for writing this tool! It looks like the ACTIVITY_LIST_URL endpoint has changed from:
https://api.nike.com/sport/v3/me/activities/after_time/0

to:
https://api.nike.com/plus/v3/activities/before_id/v3/*?limit=30&types=run%2Cjogging&include_deleted=false

This PR updates to the new endpoint as the old one doesn't seem to be live anymore, as well as using the new pagination method because 30 is the maximum limit the API will accept.
I tested it with my account and it exported two pages of activities (49 in total) correctly.

yes but the token way is failed so merging this.
you can refer to this code for more api
https://github.com/yihong0618/running_page/blob/master/run_page/nike_sync.py

Thank you for the quick action!

yes but the token way is failed so merging this.

I used the instructions on PR #19 successfully to manually extract the token the new way - they work well

you can refer to this code for more api
https://github.com/yihong0618/running_page/blob/master/run_page/nike_sync.py

Amazing! Impressive project - thank you for the resource!


Optimization

Source code uses empty Containers:

Containers are "heavy" widgets, consider replacing it with SizedBox.shrink();

Hi @subzero911 , thanks you for the tip! I'll gonna fix that!

Oh, I forgot const SizedBox.shrink()

Closing the issue with PR #3


Unable to connect to kachery nodes from network with restricted web access

Hey,
I'm unable to download datasets to a system connected to a network with restricted web access (located at the Janelia campus). The kachery-p2p-start-daemon command issued from the system fails to initiate the connection required to access datasets. The output is as follows:
(neuropixels-2020) [sridhars@c11u24 kachery]$ kachery-p2p-start-daemon --channel flatiron1
npx: installed 13 in 2.289s
node: 14.10.0
+ export KACHERY_P2P_API_PORT=20431
+ KACHERY_P2P_API_PORT=20431
+ export KACHERY_P2P_CONFIG_DIR=/groups/pachitariu/home/sridhars/.kachery-p2p
+ KACHERY_P2P_CONFIG_DIR=/groups/pachitariu/home/sridhars/.kachery-p2p
+ exec npx<EMAIL_ADDRESS>start --channel flatiron1 --verbose 0 --dverbose 0 --port 0 --file-server-port 0
npx: installed 100 in 5.846s
____________________________________
DAEMON VERSION: kachery-p2p-0.4.28
PROTOCOL VERSION: kachery-p2p-0.4.18

CHANNEL: flatiron1 (1 node)
self b6ebc5

OTHER
self b6ebc5
____________________________________

[info] API server is running {"protocol":"http","port":"20431"}
Unable to connect to bootstrap node <IP_ADDRESS>:45002: Unexpected server response: 503
Unable to connect to bootstrap node <IP_ADDRESS>:45002: Unexpected server response: 503

I'm trying to download the datasets using the script provided at scripts/download_recordings.py, which obviously fails with the following error:
(neuropixels-2020) [sridhars@c11u24 datasets]$ python ~/repositories/neuropixels-data-sep-2020/scripts/download_recordings.py
Creating (1 of 1): /groups/pachitariu/home/sridhars/working/datasets/cortexlab-drift-dataset1.dat
Traceback (most recent call last):
  File "/groups/pachitariu/home/sridhars/repositories/neuropixels-data-sep-2020/neuropixels_data_sep_2020/recordings.py", line 16, in load_known_recordings_dict
    x = kp.load_object(KNOWN_RECORDINGS_URI)
  File "/groups/pachitariu/home/sridhars/miniconda3/envs/neuropixels-2020/lib/python3.8/site-packages/kachery_p2p/core.py", line 278, in load_object
    local_path = load_file(uri, p2p=p2p, from_node=from_node, from_channel=from_channel)
  File "/groups/pachitariu/home/sridhars/miniconda3/envs/neuropixels-2020/lib/python3.8/site-packages/kachery_p2p/core.py", line 129, in load_file
    raise LoadFileError(f'Error loading file: {r["error"]}: {uri}')
kachery_p2p.exceptions.LoadFileError: Error loading file: File not found.: sha1://c0eef852db375ba9de2fe0871da3264b7435ee64/known_recordings.json

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/groups/pachitariu/home/sridhars/repositories/neuropixels-data-sep-2020/scripts/download_recordings.py", line 22, in <module>
    recording = nd.load_recording(recording_id, download=True)
  File "/groups/pachitariu/home/sridhars/repositories/neuropixels-data-sep-2020/neuropixels_data_sep_2020/recordings.py", line 30, in load_recording
    valid_recordings: List[Any] = get_valid_recordings()
  File "/groups/pachitariu/home/sridhars/repositories/neuropixels-data-sep-2020/neuropixels_data_sep_2020/recordings.py", line 22, in get_valid_recordings
    x = load_known_recordings_dict()
  File "/groups/pachitariu/home/sridhars/repositories/neuropixels-data-sep-2020/neuropixels_data_sep_2020/recordings.py", line 18, in load_known_recordings_dict
    raise Exception('Problem loading recordings dict. Perhaps you are not running the kachery-p2p daemon?')
Exception: Problem loading recordings dict. Perhaps you are not running the kachery-p2p daemon?

The conda environment used was created using the instructions given in the readme for this repo. No additional packages were installed.
Thanks!

@alexmorley anything else I should add here?

Hi @shashwatsridhar, you mention you have "restricted web access". Maybe you are not able to establish an outgoing connection to that IP address? Are you able to use a different computer or a different network?

I am able to use a different computer (my own) which is not in the Janelia network, and I am able to download datasets. Moreover, when I route my traffic through the Janelia VPN, I cannot access the dataset descriptions on laboratorybox.org (for eg. this). The page loads, but only the text "Loading..." is shown. I am wondering if the two issues are related, and maybe provide more insight into what might be wrong?
I could download the datasets to a system outside the network (say, to my PC), and re-upload them to the remote system via ssh, but that's a pretty inefficient method to access the data. So I thought I'd post an issue and see if there are any solutions you might have (like choosing the right port, or so).

Sounds to me like the Janelia network is blocking websocket connections (which would affect both the website and the kachery daemon). I don't have a solution at the moment, unfortunately.

@shashwatsridhar can you open the "network" tab of developer tools and click reload and post a screenshot while on labbox? It might be because the websockets don't use ssl (they are ws:// as opposed to wss://) which would be fixable.

Here it is:

I don't see anything indicating whether SSL is being used or not. Hope you spot something useful!

I can confirm it is using ws:// rather than wss://
@alexmorley, perhaps we can chat about how to convert this to wss. I am deploying using kubernetes. Maybe there is an easy way to adjust this. I only have one reference to ws:// in the source code. So maybe we just add an "s" and update something on the kube config?


Revise TryFrom impls and make ndarray optional

TryFrom now receives a referenced type instead of owned type. The move is unnecessary because it always copies the data.
TryInto impls are removed in flavor of TryFrom. That's because TryFrom implies TryInto, but it does not in vice versa.
The ndarray crate becomes an optional but enabled by default feature to avoid bloating. It helps reducing compiling time for those who does not need this feature.

BTW, I noticed the inconsistency of TryFrom<Vec<T>> and From<&[T]>. The latter does not follow the guideline that From<_> should not fail.
Also. regarding to #281, we have lots of From<T> for Tensor that could panic. However, moving to TryFrom is a breaking change. How do you think @LaurentMazare?

I rebase the patch and upgrade ndarray to 0.14. To recap, the PR made following changes:

Replace TryInto to TryFrom as suggested by std doc
ndarray becomes an optional but enabled by default cargo feature, to reduce bloating
Update to 0.14

The only breaking change is ndarray version update to 0.14.

I rebase the patch and upgrade ndarray to 0.14. To recap, the PR made following changes:

Replace TryInto to TryFrom as suggested by std doc
ndarray becomes an optional but enabled by default cargo feature, to reduce bloating
Update to 0.14

The only breaking change is ndarray version update to 0.14.


Upload all Tracking (MH, RH, EH) scripts into the repository

Copy all items from EDER-GNN.

Small bug was discovered during the testing where the MH2_TrainModel_Sub.py was throwing the following error:
*Traceback (most recent call last):
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH2_TrainModel_Sub.py", line 222, in
main(sys.argv[1:])
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH2_TrainModel_Sub.py", line 205, in main
train_loss, itr= train(model, device,TrainSamples, optimizer)
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH2_TrainModel_Sub.py", line 89, in train
w = model(data.x, data.edge_index, data.edge_attr)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/UtilityFunctions.py", line 991, in forward
x1, edge_attr_1 = self.in_w1(x, edge_index, edge_attr)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH_IN.py", line 51, in forward
x_tilde = self.propagate(edge_index, x=x, edge_attr=edge_attr, size=None)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch_geometric/nn/conv/message_passing.py", line 317, in propagate
out = self.message(**msg_kwargs)
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH_IN.py", line 57, in message
self.E_tilde = self.R1(m)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/afs/cern.ch/work/f/ffedship/private/SND/Local/ANNADEA_DEV/ANNADEA/Code/Utilities/MH_IN.py", line 19, in forward
return self.layers(m)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, *kwargs)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/modules/linear.py", line 103, in forward
return F.linear(input, self.weight, self.bias)
File "/afs/cern.ch/user/f/ffedship/.local/lib/python3.6/site-packages/torch/nn/functional.py", line 1848, in linear
return torch._C._nn.linear(input, weight, bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (406x15 and 9x20)
The error was caused by the values that were set in the Parameters.py file:
num_node_features and num_edge_features were set to 3 which is wrong. Currently we are using the value of 5 (x,y,z,tx,ty). The new number wasn't reflected in the migrated version. The issue has been fixed by setting those values to 5.

All bugs have been resolved. The current version is still not ready for the first release as Wenqing will look into the code and improve user experience. Closing this issue as migration was successful.


Cross platform OpenGLView for Xamarin.Forms?

Given the example given here below, is it possible to extend Angle C++ to C# for implementing an OpenGLView extending Xamarin.Forms.Veiw to UWP?
https://github.com/Gerharddc/CppGLESXamarin
Currently OpenGLView is only available to Android.

Hello,
Yes, it is possible to extend that sample to UWP. The code to initialize and use ANGLE in UWP applications is exactly the same as the code used in Windows 8.1 or Windows Phone 8.1 apps, so the work to extend that project to UWP should just involve creating a new UWP Visual Studio project. You could ask on that GitHub page if the owner is considering adding a UWP VS project.

Could you consider ( when u have time) create a simple Visual studio project demonstrating ANGLE in UWP (ARM). I believe the sample will be exciting to both the UWP and cross platform mobile communities. Xamarin comes with different WAYS to link >90% cross platform code sharing XAMARIN.Forms UIs to underlying native (e.g. OpenGL through ANGLE ) control or panel.

We have several C++ Visual Studio UWP templates which work on all available architectures (including ARM). Feel free to try out the cross-platform Visual Studio OpenGL ES template which targets  Android, iOS and Windows (UWP). Alternatively please try cloning this repository and running the template install script ("/templates/install.bat").

It would help a beginner if the Automatic Steps using the Install.bat lead to {root}/winrt/10/windows/src/angle.sln  that also include at least one UWP sample (e.g. triangle).
YES. I see how the UWP ARM can be created.
Next, is to write a C# wrapper to make it possible to use Xamarin.Forms.View
We hope this could have been a nice collaboration between Microsoft and Xamarin to apply what Xamarin team has done with UrhoSharp to create e.g. an up-to-date cross platform AngelSharp binder (e.g. perhaps through cppSharp) which will for once replace the OpenTK for the c# communtiy.

I tried the cross-platform Visual Studio OpenGL ES template. works! Thanks


Calls first fragment on rotation

Rotating the device takes you back to first fragment

You're the one supposed to implement orientation change logic. Not the template.


Maximum amount should stand eight digit

In "send amount"you can enter:
The maximum integer number consists of 8 digits.
Decimal numbers have eight digits after the dot.

checked

It is impossible to enter an amount of 0.003

checked


Finetune Parameters

Hi rwightman，
First, many thanks for your Excellent works!!!
I want to use your pretrained models for other image classification task, would you please give some advise on finetune parameters?
Best,
hungsing

@hungsing92 see comment I just made in #27 re finetuning, this was for finetuning from imagenet -> imagenet but moving from the TF preprocessing, different BN eps, different padding to PyTorch defaults. If you're fine tuning to a completely different dataset with a new classifier you'll want to start with a higher LR.  1/10 the default LR for training from scratch might be a good starting point. 0.1 * (global_batch_size * .016 / 256)


C++ Leetcode Problem Minimum Time to Make Rope Colorful

You can follow me on github and give ⭐ to this repo.


I dont't like the plot

Blue is not my favorite color. Can you put it in red?

I don't want to have it red because blindness.


LPOP / RPOP should support second argument

example:
const ids = await upstashClient.rpop(`myList`, 4)

error: Expected 1 arguments, but got 2.ts(2554)
https://redis.io/commands/lpop/ (counter arg added in version 6.2)
Cheers

I've been adding v6.2 support slowly, whenever someone needed it because other things always took priority.
I'll implement this tomorrow morning.
Thanks for reporting.

v1.8.0 includes the count option now.
const res = await redis.lpop<string[]>("key", 2)

Please open a new issue if you need anything.

Legend... thanks for adding this so quickly


Consumer.OnMessage has not been raised

with consumer created by not generic constructor

Can you provide some example code?

I have only changed creating consumer string to "using (var consumer = new Consumer(constructConfig(brokerList, true)))" in Confluent.Kafka.Examples.AdvancedConsumer.Program.Run_Background mode.

I believe you must specify the deserializsers

I tried to use dummy deserializer  :
byte[] IDeserializer<byte[]>.Deserialize(byte[] data)
{ return data; }
I received some messages but then win32 exception occurred in dotnet.exe [30296].

Can you provide the exception backtrace printout?

can replicate - seems odd. will look into this in ~1hr.
The win32 exception could be #27 - I think we should get #35 in as a priority.

Unhandled exception at 0x773AC799 (ntdll.dll) : A heap has been corrupted (parameters: 0x773D8890).
Call stack:

ntdll.dll!_RtlFreeHeap@12()	Unknown
librdkafka.dll!1003c327()	Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for librdkafka.dll]
librdkafka.dll!0ff893f8()	Unknown
librdkafka.dll!0ff894a0()	Unknown
00b37f5d()	Unknown
00b37f5d()	Unknown
05d64c0e()	Unknown
00b34d63()	Unknown
clr.dll!_CallDescrWorkerInternal@4()	Unknown
clr.dll!CallDescrWorkerWithHandler(struct CallDescrData *,int)	Unknown
clr.dll!DispatchCallSimple(unsigned long *,unsigned long,unsigned long,unsigned long)	Unknown
clr.dll!SafeHandle::RunReleaseMethod(class SafeHandle *)	Unknown
clr.dll!SafeHandle::Release(bool)	Unknown
clr.dll!SafeHandle::Dispose(void)	Unknown
clr.dll!SafeHandle::Finalize(class SafeHandle *)	Unknown
mscorlib.ni.dll!673a2549()	Unknown
mscorlib.ni.dll!673a24b4()	Unknown
clr.dll!MethodTable::FastBox(void * *)	Unknown
clr.dll!MethodTable::CallFinalizer(class Object *)	Unknown
clr.dll!SVR::CallFinalizer(class Object *)	Unknown
clr.dll!SVR::CallFinalizer(class Object *)	Unknown
clr.dll!SVR::CallFinalizer(class Object *)	Unknown
clr.dll!WKS::GCHeap::FinalizerThreadWorker(void *)	Unknown
clr.dll!Thread::DoExtraWorkForFinalizer(void)	Unknown
clr.dll!Thread::DoExtraWorkForFinalizer(void)	Unknown
clr.dll!Thread::DoExtraWorkForFinalizer(void)	Unknown
clr.dll!WKS::GCHeap::FinalizerThreadStart(void *)	Unknown
clr.dll!Thread::intermediateThreadProc(void *)	Unknown
kernel32.dll!@BaseThreadInitThunk@12()	Unknown
ntdll.dll!___RtlUserThreadStart@8()	Unknown
ntdll.dll!__RtlUserThreadStart@8()	Unknown

yes, that looks like #27 to me.
I believe the background method on the non-deserializing consumer is the only variant with problems. sorry got sidetracked, getting back to this issue now.

problems meaning OnMessage not getting called. #27 affects everything.

update on this - I have it fixed in a local branch, but the change turned out to be a little substantial because I refactored some related things and it's not quite ready for a PR yet.

Ok, thanks, we are waiting PR.

We have cut background poll mode from Consumer in the upcoming release because:

we are not sure this is the best design for this functionality (perhaps it is better outside of Consumer) and we want to avoid making breaking API changes going forward.
we expect most people will want to use the Consumer in foreground poll mode.

If you want to consume in a background thread, for now look at CancellablePollThread in #39 for inspiration. Later, we'll add a cut-n-paste example of how to do this in the docs.

Hey there,
I am also unable to capture the event...
Consumer works fine, I can send messages and grab them using:
"kafka-console-consumer.bat --zookeeper localhost:2181 --topic TBtest"
very simple Consumer::
static void Consume()
{
var config = new Dictionary<string, object> { { "group.id", "test-consumer-group" }, { "bootstrap.servers", "localhost:9092" }, { "enable.auto.commit", "false" } };
        using (var consumer = new Consumer<Null, string>(config, null, new StringDeserializer(Encoding.UTF8)))
        {

            consumer.Subscribe(new string[] {"TBtest" });

            consumer.OnMessage += (_, msg) =>
            {

                Console.WriteLine($"Topic: {msg.Topic} Partition: {msg.Partition} Offset: {msg.Offset} {msg.Value}");

                consumer.CommitAsync(msg);
            };
            while (true)
            {
                      consumer.Poll(100);
            }
        }
    }

Cheers,
Roman

@rmnfll - if you are not sending messages to the topic after running your program, you will need to set auto.offset.reset to beginning. without more information, this is what I would guess is your problem.

@mhowlett  Thanks for your reply.
I do send new messages to the topic ("TBtest") after running the consumer.
Those messages are not picked up by the C# client. However, "kafka-console-consumer.bat --zookeeper localhost:2181 --topic TBtest" reads the messages fine.
I set a break-point on the c# code and the event .OnMessage is not raised..
Appreciate any help on this.. we are developing a new FE layer using .Net technologies that needs access to the broker.
Cheers,
Roman
See the producer:
static void Produce()
{
var config = new Dictionary<string, object> { { "bootstrap.servers", "localhost:9092" }, { "group.id", "test-consumer-group" } };
        using (var producer = new Producer<Null, string>(config, null, new StringSerializer(Encoding.UTF8)))
        {
            string text = null;

            while (text != "exit")
            {
                text = Console.ReadLine();

                producer.ProduceAsync("TBtest", null, text);

                producer.Flush(100);
            }
        }
    }

i have the same problem, anything can help me? @rmnfll

this is my test function:
`
public IActionResult KafkaTest(string topic, string key, string content)
{
try
{
_logger.LogWarning($"BootstrapServers {_kafkaOptions.Value.BootstrapServers} topic {topic} content {content}");
            var pconfig = new Dictionary<string, object> { { "bootstrap.servers", _kafkaOptions.Value.BootstrapServers } };
            using (var producer = new Producer<string, string>(pconfig, new StringSerializer(Encoding.UTF8), new StringSerializer(Encoding.UTF8)))
            {
                var dr = producer.ProduceAsync(topic, key, content).Result;
                _logger.LogWarning($"producer {dr.Key} {dr.Value}");
            }
        }
        catch (KafkaException ex)
        {
            _logger.LogError(ex, $"Delivery failed: {ex.Error.Reason}");
            throw;
        }

        var cconfig = new Dictionary<string, object>
        {
            { "group.id", "test-consumer-group" },
            { "bootstrap.servers", _kafkaOptions.Value.BootstrapServers },
            { "auto.commit.interval.ms", 5000 },
            { "auto.offset.reset", "earliest" }
        };

        using (var consumer = new Consumer<string, string>(cconfig, new StringDeserializer(Encoding.UTF8), new StringDeserializer(Encoding.UTF8)))
        {
            try
            {
                consumer.OnMessage += (_, msg) =>
                {
                    _logger.LogWarning($"Read {msg.Topic} {msg.Key} from: {msg.TopicPartitionOffset}");
                };

                consumer.OnError += (_, error) =>
                    _logger.LogError($"test consumer error: {error}");
                consumer.OnConsumeError += (_, msg) =>
                    _logger.LogError($"test consumer consume error ({msg.TopicPartitionOffset}): {msg.Error}");

                consumer.OnPartitionsAssigned += (_, ps) =>
                    _logger.LogWarning($"test partitions assigned: {string.Join(',', ps.Select(p => p.Topic + p.Partition))}");
                consumer.OnPartitionsRevoked += (_, ps) =>
                    _logger.LogWarning($"test partitions revoked: {string.Join(',', ps.Select(p => p.Topic + p.Partition))}");

                consumer.Subscribe(topic);

                _logger.LogWarning($"consumer.Subscribe {string.Join(',', consumer.Subscription)}");
                while (true)
                {
                    consumer.Poll(TimeSpan.FromMilliseconds(100));
                }
            }
            catch (Exception ex)
            {
                consumer.Unsubscribe();
                _logger.LogError(ex, $"test consumer Exception");
            }
        }

    }

`
I got every log from:
_logger.LogWarning($"producer {dr.Key} {dr.Value}");
_logger.LogWarning($"consumer.Subscribe {string.Join(',', consumer.Subscription)}");
_logger.LogWarning($"test partitions assigned: {string.Join(',', ps.Select(p => p.Topic + p.Partition))}");
but this log inside onMessage does not appear:
_logger.LogWarning($"Read {msg.Topic} {msg.Key} from: {msg.TopicPartitionOffset}");


Class 'FFMpeg\FFMpeg' not found

So I am completly new to this composer thing I already installed the composer and installed ffmpeg using composer.
What can I do to fix this problem:
"Fatal error: Class 'FFMpeg\FFMpeg' not found "
this is the only line I added so far to my code:
"$ffmpeg = FFMpeg\FFMpeg::create();"
Thanks.

like I said,
I am new to composer so all I had to do after installations was adding this line:
require DIR . '/vendor/autoload.php';

I am also facing this error. File is missing vendor/autoload.php

And don't miss:
use FFMpeg;

Please check composer https://getcomposer.org/


Add a collection extensions decorator

Maybe put some collection api stuff there (like $each or $indexOf), also add sorting support there.

Closing as implemented?


add () for inline functions

This pull request

Adds () for inline functions, cover-to-cover
Changes wan to want in data-tidy.ipynb
Changes 2 ^ 3 to 2 ** 3 in workflow-basics.ipynb
Closes #18

Ops! Accidental merge conflicts are resolved now. :heavy_check_mark:


Import definitions from Reffy data

reffy supports extracting definitions from specs identified as browser specs and publishes its extracts as JSON data.
These definitions cover a broader set set of specifications and extract them daily from the latest editors draft (including for ReSpec documents), with around 20K more definitions identified in the process (see a more detailed comparison with Shepherd data.
If needed, the index of all specifications crawled for definitions is available in a JSON file, along with metadata about each specification. The list and metadata directly come from browser-specs.
(beyond my involvement in reffy, getting this done would also be very useful to me as a spec contributor since a number of WebRTC specs are stuck in terms of using auto-links due to outdated data in the Shepherd data)
/cc @tidoust

this would also address #1756 & #1664

@tabatkins is there anything @tidoust or I could do to help on this?

Per https://lists.w3.org/Archives/Public/spec-prod/2023JanMar/0004.html, I think this is finished. 🎉


why not support Cocoapods?

why not support Cocoapods?

As discussed in another thread, I can now state definitively that we will never be adding Cocoapods support to CleanroomLogger.


Published fails when using the nuget package

There's a file not found error on the following only during publishing.
wwwroot\jsInteropBlazorStyledTextarea.js
CopyToOutputDirectory for the property of the file needs to be set to always

Many thanks for highlighting this. I will apply a fix shortly.


Test and update MS Graph PowerShell SDK module - v2.15.0

💡 Summary
Dependent module msgraph-sdk-powershell has released a new version v2.15.0 with a number of bug fixes.  Test the new version for compatibility with ScubaGear and update compatible versions based on the results.
Motivation and context
The MS Graph SDK is used for interacting with several M365 services.  The previous version (2.13.0-2.14.1) contained a bug that made it incompatible with ScubaGear.  This new version is supposed to resolve that bug.  Updating the versions supported by ScubaGear will make sure it has the latest available features and capabilities for querying M365 services.
Implementation notes
Please provide details for implementation, such as:

Remove existing versions of Microsoft.Graph.* modules from the test system
Update RequiredVersions.ps1 max version to v2.15.0 (or latest)
Run ScubaGear functional tests against multiple tenants and products and validate results
If new version works, issue PR to update max version in RequiredVersion.ps1

Acceptance criteria
How do we know when this work is done?

[ ] Compatibility of latest Microsoft.Graph.* modules with ScubaGear has been determined
[ ] If compatible, PR with updated max version has been merged into ScubaGear

The Microsoft.Graph and Microsoft.Graph.Beta Modules are updated about every two weeks.
I don't think it's useful to limit it to 2.15.0
I propose to set it to (pass unless a new major Version is released)
MaximumVersion = [version] '2.99.99999'
Kind Regards
Andres

I tend to agree with implementing version to 2.99.9999 since that was my initial implementation.  However, until we implement better mechanisms to rapidly detect and address breaking module changes I am going with pin major and minor  and let the patch float.  We can address further in the future.


[Rust] Fail unification instead of returning an error when type casts fail

Fixes #788
I'm not sure this is the desired behavior. I couldn't find any tests for equivalent behavior in the Java or Go bindings.
However, once I was able to create a reproducible test case, the source of the behavior described in the original bug report was clear. It should be relatively easy to tweak depending on the ideal results.

I have read the CLA Document and I hereby sign the CLA

I'm cool with lifting the check up to Class::equals. A preliminary rg indicates that's the only caller of equality_check currently, but I'm not sure if there's any reason that will remain true in the future.
I share your concern about suppressing errors and unintended consequences. One thing I found myself wondering was where on the strong / weak typing spectrum Polar lies as a language. I eventually decided the cheeky answer to "is Polar a strongly or weakly typed language?" is probably "yes". The top answer here seems to agree.
I agree that multiple equality checks seems ideal in the longer term. The obvious argument for this is that the Eq and PartialEq traits in Rust support comparisons between different types.

Looking at the other now-failing spec, I think an additional question is raised by line 29.
Specifically, should this logic be extended to Rust types that have no equality checks defined at all? Rephrased: should such types always fail to unify against every possible value? I'd lean towards "yes", but can think of arguments for "no".
My strongest argument for "yes" is that changing one of those values to 1 removes the error. That seems to indicate that at the very least, if the answer here is "no" the comparison of a built-in to a host type with no equality check should throw an error as well.
My thinking for "yes" stems from the assumption that host types should behave as similarly as possible to built-in Polar types. My additional reasoning  is that the = operator, unlike e.g. the in operator, is somewhat special in logic programming languages like Polar. It is strongly typed in the matches it will accept, but weakly typed in the comparisons it will allow.
It's been a while since I've worked with logic languages, so my reasoning could be faulty. I also realize we might be invoking wider design decisions that the team might not want to tackle now. I'm open to e.g. leaving the spec with commented asserts and backing out the other changes.

Thanks for doing more thinking/investigating!
Polar is currently very much dynamically typed. Not sure how much the strong/weak spectrum makes sense.
You raise some really good points.  This cannot be a hard error for comparing different types or it breaks the language
equality checking == for types that have implemented eq. these could be a hard error
equality checking == for types that haven't implemented eq. these could be  hard error

We could maybe make the behaviour of 1 differ from 2,3. I.e. if you use == then it will be a runtime error if the types aren't comparable. But I worry about making unification and equality comparisons diverge like this.
On the other hand, we make them all fail/backtrack instead of error and risk hiding an implementation problem (you need to implement eq here!).
I think we should make T vs U be a fail always for now (In the future we can look for an equality). And T vs T be a hard error if the partialeq doesn't exist, since this only occurs in situations where someone really would want to do the comparison.
Which is roughly what you have, but it would be good to move that type check to somewhere more explicit.

Got it. I'll make the type check explicit in Class::equals and make sure there are tests for the three enumerated cases.

I believe I have all bases covered now. I've moved the type check and temporarily removed the Foo v EqFoo test in test_errors.rs. I'm pretty sure that support for multiple equality checks for different types will be needed before it can return.
While I can now imagine the mechanics of how such a feature could work, I think there are lots of other details that would require more thought. It definitely is out of scope for this PR.


Failed assertion on invalid spirv

Hi,
There are some cases that DXC can spit out invalid spirv, which in my pipeline automatically gets fed into SPIRV-Cross to translate it to MSL. DXC being wrong is a different issue, which I am posting bug reports on that github for, but it would be nice if SPIRV-Cross just gave an error message, instead of hitting an assert and stopping everything. I realize this is pretty low priority, but I think it would be good for SPIRV-Cross to handle bad input gracefully.
If this is worth investigating, I can post an example spirv file if that would help.

SPIRV-Cross is not a validator. If the SPIR-V fails spirv-val, SPIRV-Cross may behave unexpectedly. It is not very useful for SPIRV-Cross to have its own validation suite just to avoid this kind of problem.


package: fix ARM name and owner of prefix

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Review period will end on 2023-02-20 at 16:12:47 UTC.

Review period skipped due to critical label.


Add pa11y-ci accessibility check for frontend

Closes #1304

I used pa11y-ci fork from https://github.com/aarongoldenthal/pa11y-ci, due to the lack of maintenance on the original project.

@dartpain

Hey it looks good but I have a few concerns / issues:

Lets remove /about page from the list as its was depriciated recently
Is there a dependency from a more popular repo, or something that we can pin to avoid any injections into our CI
What are the main differences between fork and main repo?

Hey it looks good but I have a few concerns / issues:

Lets remove /about page from the list as its was depriciated recently
Is there a dependency from a more popular repo, or something that we can pin to avoid any injections into our CI
What are the main differences between fork and main repo?

thank you!

Ok
I’m not sure, probably not.
The fork is primarily intended to actively maintain dependency updates, so we can easily revert to the original version if they start maintaining it again in the future.


Right-aligned song information

Request from power2025 on Reddit.
Link: https://www.reddit.com/r/Rainmeter/comments/51hs1b/just_released_the_biggest_update_for_the/d7cpve7

Added in experimental branch with ea48fa8a3d87c185266e6d15d53d97436463c267.

Merged from experimental branch to master with ab0990c7a3644c034805d9230f752b2c1b5c8159.


Add #337 #338 AMI and add new customDeviceMapping config with new benchmark agent

Description
Add #337 #338 AMI and add new customDeviceMapping config with new benchmark agent
Issues Resolved
#337
#338
Benchmark Host NewSpecs
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This PR add the AMI from the #337 #338 PR you approved.
And also add the new benchmark host for you to try out on C5.4xlarge 4executors on Jenkins.
It also fixed a but on the ubuntu agent as that one has different mounting point with customedevicemapping separate to config.

LGTM, please take care of the name change for the benchmark host.


Installation by pip

Hi,
I'm trying to do the installation by pip but it gives me this error:
Complete output (6 lines):
running install
running build
running build_py
"." non Š riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
error: Failed to install libsharp.
I don't know why.
Thanks in advance.

@Nicolo97 sorry for the super long delay, I missed this issue. Is this still bugging you?
The error message is a bit obscure. What system are you running this on?
You might also want to try the conda-forge installation, since it might be a bit simpler.


Security issue - passwords in database

Is this a request for help?:
NO
Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
BUG REPORT

Password to authenticating with Anchore-engine is stored plain text, in database.
Please use salt in database for passwords.
 anchore/anchore-engine:v0.5.2
Version of Anchore Engine and Anchore CLI if applicable:

Hi @m1ch41
Anchore supports a few authentication methods as well as credential storage modes - to configure anchore to store hashed credentials, the best place to go is on our docs site which describes how to configure these modes!
https://docs.anchore.com/current/docs/engine/engine_installation/configuration/user_credential_storage/
I'll close out the ticket, feel free to re-open a new ticket or this one if the docs/modes don't satisfy your requirements.


ENG-11303: Updates based on redesigned Projects page

ENG-11303: Updates based on redesigned Projects page

lgtm
@cfchase can you cherry-pick to the v2.14 branch?


Extension port

Description
This will make hac-dev as plugin in hac-core. There is no longer AppEntry and we do not wrap components in providers since all of that should be done in hac-core.
Type of change

[x] Feature

How to test or reproduce?
It should be enough just to install latest deps and run ENVIRONMENT=prod npm run start:beta (we have one last PR to fully support this https://github.com/openshift/hac-core/pull/35)
Known limitations
There are currently two know limitations:

no dry run for create resource (@vojtechszocs  @andrewballantyne are there any plans in supporting this?)
no redux, we are working on adding redux to hac-core and will keep you updated on the process

@andrewballantyne oooh, will do that!

@rohitkrai03 @andrewballantyne I've started to use the newest webpack plugin and am looking if we could somehow bridge redux to your app so you can utilize the notifications utilities.

@rohitkrai03 @andrewballantyne I've started to use the newest webpack plugin and am looking if we could somehow bridge redux to your app so you can utilise the notifications utilities.

@karelhala Based on UX inputs we would like to remove the notification utilities anyways. So its okay to replace them with console.log statements for now.

/retest

@rohitkrai03 for the grey background, that's platform specific and should be present on all pages your UX should discuss this with wider audience, if you want I can give you point of contacts. As for the Dev preview, that shouldn't be too hard to add. The CSS might be a bit more tricky.

@rohitkrai03 for the grey background, that's platform specific and should be present on all pages your UX should discuss this with wider audience, if you want I can give you point of contacts. As for the Dev preview, that shouldn't be too hard to add. The CSS might be a bit more tricky.

I am okay with the overall grey background, but the issue is whatever components we are trying to render it gets rendered within some padding on all sides. That breaks the UX that we have, I think we should be able to use the full width of the content section without any extra padding on all sides.
For comparison take a look at the console.redhat.com page and the hac-dev page below -
HAC Dev -

Console.redhat.com (Notice the title section on top is rendered full width and doesn't have a padding.)

@rohitkrai03 I have figured out why the classes were not properly applied. Turns out the problem was previously some styling was applied in AppEntry, which is no longer used.
@andrewballantyne I've also updated hac-core to wrap the dynamic component with section instead of Main so we keep the styling same as before https://github.com/openshift/hac-core/pull/44

@rohitkrai03 updated the code, should be running now. The custom styles will be applied once the hac-core PR is merged

/retest

@rohitkrai03 The codecov/patch report showing 45% of diff is strange. I had to re-arrange a lot of code by using different imports. Looks like these lines were never tested and now it fails the task. Should I go hunting these lines and write tests for them?

@rohitkrai03 The codecov/patch report showing 45% of diff is strange. I had to re-arrange a lot of code by using different imports. Looks like these lines were never tested and now it fails the task. Should I go hunting these lines and write tests for them?

@karelhala I think it's okay to manually merge this if codecov is becoming an issue.

@rohitkrai03 mhh, yeah. There has been quite a few changes to routing, updated. Thank you for taking a look!

Add Component button doesn't take the user to create component form. It takes the user to Create application form.

This is the same on master as well, it leads to create?application=${application} shouldn't this lead to create?component=${application}?

@rohitkrai03 thank you! Fixed both of these issues, we don't have to append the modal to a component instead it's better to pass the class prefix to it so styles are applied. As for the delete operation for some reason the API version was not correct.


Validators/permissive multiples

Fixes #765
Changes proposed in this pull request:

Add a validator for non-integer multiples of a base value
Add a test (@AdriaanRol, perhaps you can think of more/better corner cases?)

The new validator, PermissiveMultiples allows integer multiples of a given base value to slip through. It allows negative multiples as well, and therefore by definition always 0. It is subject to rounding errors, so a user-specificied absolute precision is in principle required.
@jenshnielsen

2 Inline comments otherwise looks good


current-repodata plugin + update conda-suggest and repodata-patching plugin

A new plugin quetz_current_repodata without an api.py i.e. no endpoint. Thus, it only contains the hook
The index.html is generated after all such hooks are called and the files parameter is updated (defined in indexing.py). This is different from using pkgstore.list_files since that would also give us data for multiple subdirs + would also list packages -- which is all extra information.
No tests are written for the new plugin quetz_current_repodata since there is no API endpoint.
The quetz_conda_suggest plugin is updated so as to use pkgstore.add_file() to create the .map file. It also updates the index.html so that .map appears in it.

nice!

hey, congrats! Looks good to me :+1:
Do you want to squash the commits a little bit? Gonna merge right after.

Do you need README.md + tests for the current-repodata plugin?

ideally, yes :)


Update authentication clients to use v3 ping API and minor other updates

Upgrade auth clients to use v3 ping API
Bump version of cask.common used
propagate errors (for example, if improper hostname is given). Before, errors were being suppressed (not visible to the user at all).

Python and Ruby look good...

Updated to use /ping instead of /v3/ping

1 minor comment, otherwise lgtm

lgtm


added sessionSigs and validators where needed

added a little tool to check if the built package dependencies matches the package version. This does not affect the current workflow.
yarn build:verify

@Adarsh-Kumar28 we can merge this


Add the Tokenizer object logic

This PR introduces the Tokenizer object and deprecates the tokenize and decode methods of Client.
Here are the main changes:

Client is now pure abstract and there is a new CachableClient which requires a cache_config as well as a tokenizer. CachableClient still implements the tokenize and decode methods by calling its tokenizer and raising a warning.
The object Tokenizer is introduced. it's pure abstract and should implement the two previous methods. Most tokenizers actually inherit from CachableTokenizer which handles all the caching and formating of the requests and responses. A few more infos:

use_encode_in_cache_key is an attribute that controls the cache key. As some tokenizers return both the ids and strings, we keep both to make the Cache more powerful.
Some tokenizers currently do not use the encode argument in the request which is a problem (AI21Tokenizer, HTTPModelTokenizer, LitGPTTokenizer, SimpleTokenizer)
The TiktokenTokenizer supports decode for tokens being a List[str] while it should be a List[int]. This is needed as without it I remember we were having issues but it's something that should be fixed.

AutoClient is now the only client that inherits directly from Client and not CachableClient. The _get_tokenizer_client() -> Client method is deleted to be replaced by a simpler _get_tokenizer() -> Tokenizer. It still supports the tokenize and decode methods for now (which is not ideal and should be removed in a future PR).
Some scripts have been adapted but this might not be complete.

Cache Test Results: I tried to check if we were reusing the existing Cache.
here are the steps I followed to test this:

Delete my local cache
Run a lot of queries on this branch
Go to main and rerun the same query to check that everything is cached.
I ran this:
helm-run --conf-paths configs/tokenizers.conf --suite tokenizers_cache_test --max-eval-instances 5
On this config:

entries: [
   {description: "billsum_legal_summarization:model=ai21/j2-jumbo", priority: 1},
   {description: "billsum_legal_summarization:model=AlephAlpha/luminous-base", priority: 1},
   {description: "billsum_legal_summarization:model=anthropic/claude-v1.3", priority: 1},
   {description: "billsum_legal_summarization:model=cohere/xlarge-20220609", priority: 1}, # HuggingFace error: Already borrowed
   {description: "billsum_legal_summarization:model=openai/davinci", priority: 1},
   {description: "billsum_legal_summarization:model=openai/gpt-4-32k-0613", priority: 1},
   {description: "billsum_legal_summarization:model=writer/palmyra-base", priority: 1},
   # {description: "billsum_legal_summarization:model=writer/silk-road", priority: 1}, # Internal error
   {description: "billsum_legal_summarization:model=simple/model1", priority: 1},

   # Together
   # {description: "billsum_legal_summarization:model=together/bloom", priority: 1}, # Not supported
   # {description: "billsum_legal_summarization:model=together/gpt-j-6b", priority: 1}, # Not supported
   {description: "billsum_legal_summarization:model=eleutherai/pythia-1b-v0", priority: 1},
   # {description: "billsum_legal_summarization:model=mistralai/mistral-7b-v0.1", priority: 1},
   # MistralAI error: Input validation error: `inputs` tokens + `max_new_tokens` must be <= 4096. Given: 8076 `inputs` tokens and 1024 `max_new_tokens`
   # {description: "billsum_legal_summarization:model=mosaicml/mpt-7b", priority: 1}, # Not supported
   {description: "billsum_legal_summarization:model=tiiuae/falcon-7b", priority: 1},
   # {description: "billsum_legal_summarization:model=together/yalm", priority: 1}, # Not supported
]

Here are the results:
CacheStats.print_status {
      prod_env/cache/ai21.sqlite: 22 queries, 0 computes
      prod_env/cache/perspectiveapi.sqlite: 50 queries, 0 computes
      prod_env/cache/AlephAlpha.sqlite: 50 queries, 0 computes
      prod_env/cache/anthropic.sqlite: 25 queries, 0 computes
      prod_env/cache/cohere.sqlite: 45 queries, 0 computes
      prod_env/cache/huggingface.sqlite: 185 queries, 5 computes
      prod_env/cache/openai.sqlite: 15 queries, 0 computes
      prod_env/cache/writer.sqlite: 5 queries, 0 computes
      prod_env/cache/simple.sqlite: 5 queries, 0 computes
      prod_env/cache/EleutherAI.sqlite: 45 queries, 0 computes
      prod_env/cache/eleutherai.sqlite: 5 queries, 0 computes
      prod_env/cache/tiiuae.sqlite: 50 queries, 0 computes
    }

Everything seems to work except for the HuggingFaceTokenizer. There are 2 problems:

5 out of 185 queries were recomputed, this needs investigating.
There is currently an error that is raised (I think when we want to access a second HuggingFace Tokenizer): "Already Borrowed". This might be due to a wrong merge

Cache test looks good, thanks!
Already borrowed is a known issue #1421 - as far as I can tell, it is a warning and does not cause failures.


Optional peer ID verification

Adds a (presently optional) peer ID to tcp:/// validator addresses allowing the remote peer ID to be specified.
Presently warns if this is unconfigured, or verifies it if it is configured.
See: https://github.com/tendermint/kms/issues/111

This is the last thing I wanted to get into a final v0.5.0 release. I will test it on gaia-13k before shipping.

@Liamsi so I tested this out in production and it seems to be working, however it seems the Secret Connection key associated with gaiad's priv_validator_laddr is randomly generated each time it starts? It is static so long as gaiad is running, but changes the next time you start it.
I can open an issue about this, but I'm not sure if it's a cosmos/cosmos-sdk or tendermint/tendermint issue offhand...
/cc @zmanian

Yes, you are right: we currently always regenerate the key instead of persisting it:
https://github.com/tendermint/tendermint/blob/745713330736c5c751450245d88b8037cbee3aa6/node/node.go#L915-L918

It's a tendermint issue: https://github.com/tendermint/tendermint/issues/3105


feat(trusted): add network for trusted

adding the network resources for trusted in azure :
Plan: 5 to add, 1 to change, 0 to destroy.
1 resource group
1 vnet
3 subnets
(the change is for cert.ci a tag change from ManagedByAzureVMAgents, not relevant)
Ref: https://github.com/jenkins-infra/helpdesk/issues/3486

I'm not sure about putting all these resources at the end of the file, I would probably insert related elements around the existing ones. (the rg with the other rgs, the vnet with the other vnets, and the subnets with the other subnets)

I'm not sure about putting all these resources at the end of the file, I would probably insert related elements around the existing ones. (the rg with the other rgs, the vnet with the other vnets, and the subnets with the other subnets)
Easier to spot overlaps etc.

totally agree, you are right ! 👍🏻


Since terminal devices need certificates issued by authoritative organizations because of DAC, do commissioners and controllers also need certificates issued by certain authoritative organizations? [1.3]

Since terminal devices need certificates issued by authoritative organizations because of DAC, do commissioners and controllers also need certificates issued by certain authoritative organizations? Because the commissioner needs to generate NOC, and NOC depends on RCAC, does this RCAC certificate need to be issued by an authoritative organization, or can it be generated by self-signature?

RCAC can be generated by anyone.

RCAC can be generated by anyone.


When project slugs are uppercase you cannot go to the project page

To reproduce:

Create a project but make sure part of its slug is upper case
Navigating to the project page shows a 404

We should only accept lowercase letters for slugs. Currently you can have a project slug like project-1 and PROJECT-1 and they can both exist and point to 2 different projects.
To address this we also need a migration that make all slugs lowercase and modifies any conflicting slugs that are now the same after they have been converted to lowercase.

Closed by #466


@Transient doesn't work with kotlin

Or I don't think it does.
I have a class similar to this:
@Parcel(Parcel.Serialization.BEAN)
class RefService {

@Transient var latitude: Double = 0.toDouble()
        get() = config[LATITUDE]!!.toDouble()
        set(value) {
            field = value
            config.put(LATITUDE, value.toString())
        }
}

And I'll always get :
> kotlin.KotlinNullPointerException
>  at tile.RefService.getLatitude(RefService.kt:100)
> at RefService$$Parcelable.write(RefService$$Parcelable.java:64)

And I know it will be null, which is normal in my code, and I really don't need to parcel that part that why I want to transient it, but no matter what, parceler will try to do it
EDIT:
Doing:
@Transient var latitude: Double = 0.toDouble()
        @Transient get() = config[LATITUDE]!!.toDouble()
        @Transient set(value) {
            field = value
            config.put(LATITUDE, value.toString())
        }

seems to work, so if it is indeed how it is supposed to work, you can close this issue, but I still feel like puttin the transient on the var should work by itself

Does specifying the field as the annotation target work? I.e. @field:Transient var ...

No, it doesn't

In this case, you need to annotate either the getter or setter with org.parceler.Transient. The @Transient unless explicitly otherwise defined is kotlin.jvm.Transient, equivalent of Java transient keyword, which is applicable only to fields. When using BEAN-serialization, such field-annotations are seemingly currently ignored (correct me if I'm wrong).
So, following transient BEAN-fields should work:
import org.parceler.Transient  // <- !

@Parcel(Parcel.Serialization.BEAN)
class AClass {

 @get:Transient
 var latitude1: Double = ...

 var latitude2: Double = ...
   @Transient
   set(value) { .... }
}

Of course instead of using import like above, you can declare full qualified name in the annotation.

@NeoDigi, can you provide the Java version of the offending class?  I'm wondering where the annotation is missing from.

I'll do that next week as I'm on vacation right now.
But there is no Java version

From what I understand of kapt, it translates the given kotlin class into a Java class for annotation processing.  Isnt that correct?

Ping.


west build running infinitely on standalone sample

Zephyr Version
nRF SDK v1.7.0
Issue
I started testing edge impulse on my custom device that is built around nRF9160 running Zephyr. Using the data forwarder I was able to connect the device to the edge impulse studio and deploy the model, obtaining a packaged library containing the Edge Impulse C++ SDK. As instructed in the docs, I downloaded the .zip file and placed the contents in the 'example-standalone-inferencing-zephyr' folder. The final folder structure looks as such:
 example-standalone-inferencing-zephyr
 ├── CMakeLists.txt
 ├── edge-impulse-sdk
 ├── model-parameters
 ├── prj.conf
 ├── README.md
 ├── sample.yaml
 ├── src
 ├── tflite-model
 └── utils

To confirm if the binary is generated correctly, the zephyr project is first built with west build -b nrf9160dk_nrf9160ns. The west build process kicks in, however, seems to be running infinitely without completion. I have waited up to 5 minutes and still, the build does not finish.
Attached is the full project.
standalone-inferencing.zip
@ijdoc  and @janjongboom  am I missing something?
Would appreciate it if someone could help me fix this.
Thanks

Hello @rajeev1986, I was able to build your project, as is, after extracting the zip file, so I suspect there may be something missing in your toolchain setup. I recommend searching for, or posting, the issue on the Nordic DevZone. I am attaching here the log output of the build I ran in case it may provide you with any clues. Alternatively, you can try collecting a log of your build and posting it to this issue, I can take a look and see if I can spot anything out of place. If you do that, details on your toolchain setup would be appreciated (e.g., OS, how you installed your toolchain, anything else you think might be relevant)
out_log.txt


Correct order of field elements

According to the nxdl.xsd, the field elements are in a sequence which means in an ordered list. For example, this means that the nxdl specification requires the dimensions to be declared before any attributes.
Therefore, the nyaml2nxdl forward tool should make sure that this sequence is respected.
@sanbrock @RubelMozumder

Closing in favor of #20


Why is this happening?

What's the problem you are having while you are using C-REAL?
I get an error when I run the bot, what should I do to fix it?
https://media.discordapp.net/attachments/1008439434519261224/1010447524315799602/nieznane.png
Have you checked the errors in the console?
Yes

Same Bro


treehouse error

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones
[x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
Description of your issue, suggested solution and other information
i am getting this error in every course please can you fix it @remitamine  bro account email i already sent you by email
PS C:\Users\HDNLRG> youtube-dl --verbose -o 'd:\contents\New folder/%(playlist)s/%(playlist_index)s - %(title)s.%(ex
t)s' https://teamtreehouse.com/library/continuous-integration-with-jenkins --username<EMAIL_ADDRESS>--p
assword 12345
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'd:\contents\New folder/%(playlist)s/%(playlist_index)s - %(title)s.%(e
xt)s', 'https://teamtreehouse.com/library/continuous-integration-with-jenkins', '--username', 'PRIVATE', '--password', '
PRIVATE']
[debug] Encodings: locale cp1255, fs mbcs, out cp862, pref cp1255
[debug] youtube-dl version 2019.04.07
[debug] Python version 3.5.4 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[TeamTreeHouse] Downloading signin page
[TeamTreeHouse] Logging in
[TeamTreeHouse] continuous-integration-with-jenkins: Downloading webpage
[TeamTreeHouse] continuous-integration-with-jenkins: Downloading stages page
[download] Downloading playlist: Continuous Integration with Jenkins
[TeamTreeHouse] playlist Continuous Integration with Jenkins: Collected 21 video ids (downloading 21 of them)
[download] Downloading video 1 of 21
[TeamTreeHouse] introduction-82: Downloading webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://videos.teamtreehouse.com/videos/DevTools-Continuous-Integration-with-Jenkins-S1-
V1-720p.mp4?token=5cb6f95c_492ba21b189180661d8deec17d2c8ae3df8aa81a'
[download] Destination: d:\contents\New folder\Continuous Integration with Jenkins\01 - Introduction.mp4
[download] 100% of 3.98MiB in 00:00
[download] Downloading video 2 of 21
[TeamTreeHouse] continuous-integration-with-jenkins: Downloading webpage
WARNING: unable to extract description; please report this issue on https://yt-dl.org/bug . Make sure you are using the
latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and
include its complete output.
ERROR: Unable to extract stages path; please report this issue on https://yt-dl.org/bug . Make sure you are using the la
test version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and in
clude its complete output.
Traceback (most recent call last):
File "c:\program files\python35\lib\site-packages\youtube_dl\YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "c:\program files\python35\lib\site-packages\youtube_dl\extractor\common.py", line 529, in extract
ie_result = self._real_extract(url)
File "c:\program files\python35\lib\site-packages\youtube_dl\extractor\teamtreehouse.py", line 128, in _real_extract
webpage, 'stages path')
File "c:\program files\python35\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract stages path; please report this issue on https://yt-dl.org/bug .
Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl
with the --verbose flag and include its complete output.
PS C:\Users\HDNLRG>

-i, --ignore-errors              Continue on download errors, for example to
                                 skip unavailable videos in a playlist

youtube-dl can't determine wheather the page contain a video or not untill it start the extraction, and to be honest the extractor is not much used as lots of courses contain more text lessons and quizes than videos.

@remitamine  its giving error in all rest videos only first video is downloading in all courses

yes, because the course contains only one video.


Support for Raspberry Pi Pico

I recently built a volume control using Deej and a raspberry pi pico, and figured others might find the python code for the pico usefull (if they wanted to build this as well using a pico)
save this code in a file called main.py on the pico and when the pico is plugged in the Deej program will be able to listen to the potentiometers (you will need to adjust the config.yaml to only  have 3 sliders)
Note the Pico only has 3 analog pins (26-28) so it only supports up to 3 potentiometers
import machine
import utime

NOISE = 10
POTENTIOMETER_COVERSION = 64.0625610948 #Converts the Pico's 65536 max to match Deej's expected 1023 max
POTENTIOMETERS = [
    machine.ADC(26),
    machine.ADC(27),
    machine.ADC(28)
]
values = [0] * len (POTENTIOMETERS)

while True:
    results = ""
    for i, potentiometer in enumerate(POTENTIOMETERS):

        curr = round(potentiometer.read_u16() / POTENTIOMETER_COVERSION)

        # this check will normalize the results and reduce noise
        if values[i] > (curr + NOISE) or values[i] < (curr - NOISE):
            values[i] = curr

        results = results + str(values[i])

        if i != len(POTENTIOMETERS) - 1:
            results = results + "|"

    print(results)
    utime.sleep(.2)

Hi @shaylanger, thanks for writing!
This is cool, however I think it's more appropriate for it to be accessible via your fork of deej - you can essentially create your copy of the project and add the relevant code and instructions there, ensuring that any future changes you make continue to live on in that location. If that sounds good to you, perhaps you can do that and then edit the issue to link to your fork?
Please let me know if you have any questions.

Closing for now!

For some reason, you are the only person ive seen use a pico for a deej build, i could not find anyrthing on a deej pico build anywhere else. Thank you!

I had the same issue as the guy above me, love your work

Thanks a lot this is awesome!


ESP32 "CORRUPT HEAP"

Hi
The bug
In receiver sketch, when the transmitter starts to transmit, the receiver, which was running normally with

"Waiting for incoming transmission ... timeout!"

gives crash:

CORRUPT HEAP: Bad tail at 0x3ffb2420. Expected 0xbaad5678 got 0xbaad5600
assertion "head! = NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 205, function: multi_heap_free
abort () was called at PC 0x400d57f3 on core 1
Backtrace: 0x400883f8: 0x3ffb1e10 0x400885fb: 0x3ffb1e30 0x400d57f3: 0x3ffb1e50 0x400880e1: 0x3ffb1e80 0x400840d2: 0x3ffb1ea0 0x400845e1: 0x3ffb1ec0 0x4000bec7: 0x3ffb1ee0 0x400e73b1: 0x3ffb1f00 0x400e7739: 0x3ffb1f20 0x400d2097: 0x3ffb1f40 0x400d0b32: 0x3ffb1f70 0x400e79ee: 0x3ffb1fa0
Rebooting ...

To Reproduce
The code
LoRa Module
ESP32 DEVKITV1
D18 as CLK
D19 as MISO
D23 as MOSI
D32 as CS
D34 as D0
D35 as D1
I Think ...
this is kind a overwriting a memory buffer.
I used the ESP Decoder and got line 145 of SX127x.cpp, as in the screenshot:

This is a problem that will probably be solved by the ESP32 community, but do you imagine some way to circumvent this exception?

MCU: ESP32 DEVKITV1
LoRa module type SX1276
Arduino IDE version 1.8.5
Library version 5.0.1

You mean this line 145?
That will cause memory leak - dynamically allocated array data will no longer be de-allocated, so eventually, you will run out of RAM.

As a temporary workaround, you can use the byte array version of receive - that is working fine on ESP32, because it doesn't do any dynamic allocations. Downside is that you need to know the packet length in advance.

I think I know what's causing this bug: in the receive(String&) method, I'm using a zero-length character array as a temporary object. This works fine on Arduino, but for some reason not on ESP32. I'll rework the method and release the fix in v5.0.2.

Turns out it was much simpler than that; there was a dynamic allocation that was one byte smaller than it should be. Subsequently, a null character was written to the unallocated space, hence the crash on ESP.
Fixed in update 5.0.2, thanks for reporting the bug!


Fix bfloat16 support + Fix documentation

Description of changes:

Fix bfloat16. Now we will automatically switch to 32 if bfloat16 is not supported.
Add a enable_progress_bar flag and an environmental variable "AUTOMM_DISABLE_PROGRESS_BAR" to disable progress bar.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1578-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1578/3/index.html

Job PR-1578-7 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1578/7/index.html

Testing for bf16 support will require P4 instance. I've manually verified the correctness.

Job PR-1578-8 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1578/8/index.html


CS7003: No example on how to correct the error

There is no corrected example provided. Textual description of correction does not help.
I am getting this error when trying to declare a list of classes with generic parameters.
private List<DataDictionary<, >> dataDictionaries;                   //CS7003
private List<DataDictionary<Tkey, TData>> dataDictionaries;          //CS0246
private List<DataDictionary> dataDictionaries;                       //CS0305

public abstract class DataDictionary<TKey, TData> : SerializedScriptableObject where TData : UnityEngine.Object

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

ID: 40f57d67-ff24-cd38-4427-d94470eb885a
Version Independent ID: b38bb8e7-3dbc-f915-15d0-0cbe2676d49e
Content: Compiler Error CS7003 - C#
Content Source: docs/csharp/language-reference/compiler-messages/cs7003.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @sputier
Microsoft Alias: wiwagn

Thanks @sputier That would be a great fix.
I'll assign this to you, and watch for a PR.

@BillWagner Here it is ! I changed the initial code sample to match existing real-world types so it is simpler for users to understand the code


Misc. Quality of Life Improvements

difficulty should be properly showing on the coordinator, even if you're not submitting OPRs
include static files when compiling for control panel
better log outputs for when you did not submit an OPR
upon startup, report if everything is good
miner immediately start, don't wait for a new block
The miner should notify the user when factomd is not synced, and therefore mining cannot be started. Currently, the miner just sits, and does nothing.

miner immediately start, don't wait for a new block

When the grader is refactored into a module, the event trigger process will be changed. So this should come after that.


jsii-docgen does not generate markdown for the submodules

If a typescript project contains an exported module (submodule for jsii), no information is generated in the markdown when jsii-docgen is ran against it.

Happy to take a contribution for this.


[question] Server restart and job scheduling issues

We had a server go down overnight and when restarted, all 100+ job decided to run at the same time. How do we stop this from occurring? 90% jobs will fail anyway
We have used these params in the dig schedule:
skip_on_overtime: true
backfill_limit: -1
skip_delayed_by: 3d

Hello, @yanivyalda
Does this server stop every night?
3d means skips a job delayed by 3 days.
It seems that you need to specify h(hour) or m(minutes)
Could you read this description?
http://docs.digdag.io/scheduling_workflow.html#skipping-backfill
Could you show us your dig file especially schedule: part?

hi @hiroyuki-sato the schedules are like this
schedule:
cron>: 05 5,7,9,11,13,15,17,19 * * 1-5
skip_on_overtime: true
backfill_limit: -1
skip_delayed_by: 3d
we don't restart the server, the server crashed. I will read the link your provided now

Hello, @yanivyalda
Thank you for asking.
@hiroyuki-sato Thank you for providing useful info.
I have a question:

all 100+ job decided to run at the same time.

Do you mean workflows (or tasks)?
If so, 100+ workflows at the same time consume a lot of Mem / CPU resources. Of course, it depends on these tasks/workloads.
Do you know the reason why the server crashed? Could you provide any logs if you can?
Sorry if you have already tried this one, but how about trying to limit the maximum number of task execution threads? You can do that provide command args with --max-task-thread N.
Also, please see: http://docs.digdag.io/command_reference.html#server
I believe this configuration will stabilize the server.

hi @szyn
Re 100+ Jobs, Yes I mean workflows sorry. So the CPU and Memory spiked and most sessions failed when the machine and digdag started.
The server crashed due to power outage and UPS issues. Nothing to do with digdag.
I will try the --max-task-thread and perform a test later this week.

Hello, @yanivyalda
I'll explain with the following scenario.

2019-11-18 4:00am a power outage and crash Digdag server.
2019-11-18 4:00am ~ 0:00pm stop digdag server.
2019-11-18 0:00pm restart Digdag
It used the following tasks.

schedule:
  cron>: 05 5,7,9,11,13,15,17,19
  skip_delayed_by: 2h # 2 hour

Digdag will try to backfill with the following time
Now: 2019-11-18 00:00pm
2019-11-18 11:05 -> Backfill
2019-11-18 09:05 -> Backfill
2019-11-18 07:05 -> Skip (Before > 2hours)
2019-11-18 05:05 -> Skip (Before > 2hours)

Change 2h to 3d (It means 3days). It requires 3days for skipping jobs.

hi @hiroyuki-sato I already had it set to that if you see my example above it includes
skip_delayed_by: 3d

should I remove these lines as well?
skip_on_overtime: true
backfill_limit: -1

Hello, @yanivyalda
I can't remember backfill_limit option. What document did you read?
As far as I remember skip_on_overtime: true mean if your task at 2019-11-18 07:05 run until 2019-11-18 09:05, This option skip 2019-11-18 09:05 task.
Anyway, I think two options don't relate to backfill

hi @hiroyuki-sato I found the backfill_limit option it was changed to skip_delayed_by
https://github.com/treasure-data/digdag/commit/159b1e39ee6d86978aea9d1eab965e3bb9fe1e0a

Close it because no activity long time.


Can i ask you something?

Jetson Nano can be create into application?
Such as detection using Application via mobile phone or computer

Hi, yes this project supports Jetson Nano

From: tianzanaruk @.>
Sent: Sunday, March 28, 2021 10:52:02 AM
To: dusty-nv/jetson-inference @.>
Cc: Subscribed @.***>
Subject: [dusty-nv/jetson-inference] Can i ask you something? (#970)
Jetson Nano can be built into application?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdusty-nv%2Fjetson-inference%2Fissues%2F970&data=04|01|dustinf%40nvidia.com|cc716c836b974f8e89d908d8f1f90c54|43083d15727340c1b7db39efd9ccc17a|0|0|637525399251104514|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fxDMZZIANb2xQZJ6Mk%2FrNbbf9bJnf%2FE%2FM2aVEzfEdp8%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADVEGK5BZDGMORMGMLCHEP3TF47BFANCNFSM4Z6DQEWA&data=04|01|dustinf%40nvidia.com|cc716c836b974f8e89d908d8f1f90c54|43083d15727340c1b7db39efd9ccc17a|0|0|637525399251104514|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=FwNHSLhfgV5h138rpg9jDIRsLROB2bX0tL1JuaJi%2F%2Fo%3D&reserved=0.

it's can create .exe files?
how to do?


Component Wishlist

If you have a component you want to see, comment here. Ideally, describe what the component would do and which properties you'd like to see the component have.

Idea to improve polish — I'd like to see loading progress component, like this:
<a-scene loading="style: spinner;
                                 color: #fff;
                                 background: #ef2d5e;
                                 text: Please wait...;">

  <!-- ... -->

</scene>

The component could support custom foreground/background colors, a text blurb, and 2-3 spinner styles. It should just remove itself when the first frame renders.
We could use something like http://tobiasahlin.com/spinkit/ — bunch of minimal spinners, each just a few lines of CSS.


add crnk.io Java implementation

www.crnk.io is a new Java framework for JSON API.

FYI: let me know if there is any help needed to merge the various implementation PRs. As this page seems a popular starting point for many developers, it would be great if this and the others project get listed.

Thanks!


Use controller-runtime to protect metrics endpoint

Use the new FilterProvider and SecureServing fields to authenticate and authorize requests to the metrics endpoint
ref: https://issues.redhat.com/browse/ACM-8346

/test test-e2e-grc-framework


Exclude "tests" directories in source code release archives from all repos.

It appears that we have many JAR and ZIP files where we do not have the source or the source is not compiled as part of the build process.  Discussing this with Carlos when bringing this up on the Apache OW Tech. interchange call it seemed the general consensus was to (for now) remove the "tests" directory structure when publishing the source TAR files.
This would likely need to happen also for all of the repos. that will be part of our release including:
incubator-openwhisk-apigateway/tests
incubator-openwhisk-catalog/tests
incubator-openwhisk-cli/tests
incubator-openwhisk-runtime-docker/tests
incubator-openwhisk-runtime-java/tests
incubator-openwhisk-runtime-nodejs/tests
incubator-openwhisk-runtime-php/tests
incubator-openwhisk-runtime-python/tests
incubator-openwhisk-runtime-swift/tests
incubator-openwhisk-runtime-swift/tests/tests
incubator-openwhisk-utilities/scancode/tests
incubator-openwhisk-wskdeploy/tests
incubator-openwhisk/tests

@houshengbo Can we confirm that all TAR files we produce for source release have their "tests" folders/directory trees deleted from final packaging?

This issue is fixed by : https://github.com/apache/incubator-openwhisk-release/pull/172


Remove connectionErrorHandler to fix #1903

The "socket._httpMessage.emit('error', error)" line currently throws when the keep-alive period expires and the socket resets, after a redirect to a different host. This is because the listener on the socket is never cleaned up, and the socket no longer has _httpMessage (the ClientRequest is long gone). This is bug #1903, which is also responsible for npm/npm#9984.
It looks to me like node core correctly re-emits socket error events on _httpMessage now, so we shouldn't have to. Looking at core I also cannot even find a "res" property on socket - if there's a reason to leave this, please speak up.

[Current coverage][cc-pull] is 91.52%

Merging [#2240][cc-pull] into [master][cc-base-branch] will increase coverage by 0.34%

@@             master      #2240   diff @@
==========================================
  Files            12         12
  Lines          1417       1404    -13
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1292       1285     -7
+ Misses          125        119     -6
  Partials          0          0

Powered by Codecov. Last updated by [1b19c88...bf86f17][cc-compare]
[cc-base-branch]: https://codecov.io/gh/request/request/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/request/request/compare/1b19c88134b54fec75a270aeb8847d465a4ba8b1...bf86f170257de6a0cd7b3342676bb43b63219d9a
[cc-pull]: https://codecov.io/gh/request/request/pull/2240?src=pr

@mikeal @simov any thoughts on this? Thanks.

@mikeal @simov Piling on here as this blows up NPM in our CI builds :).

Thanks, @zarenner, that doesn't seems to be covered by our tests so I can't tell what the initial goal of this code was.
@zarenner can you confirm that this PR fixes the issue for you?
Closes https://github.com/request/request/issues/1903

@simov This PR fixes the simple repro I posted in https://github.com/request/request/issues/1903#issuecomment-223659006, which I believe to be representative of the real-world cases people are hitting (e.g. failures in npm).

Version 2.73 is published with the fix.


data

Hello:
Thank you very much for your great contribution. Can you provide the original data of Proist, AutoRT and DeepDIA after maxquant analysis?
Best wishes

Hi, all AI-ready data are available in the data/ directory. For the ones that we performed the MaxQuant search again, the MaxQuant txt folder should be still available. For other like Prosit, you need to go to the original publications.


Implemented multiprocessing and edited functions to allow for large-scale metadata collection of pertinent categories

The only file with significant changes is 1.describe_screens/py. The 2.visualize_screen_metadata.py file is still a WIP. Good luck, enjoy, and thank you! The next pull request will be small I promise...

p.s. Please also change the title of this PR to reflect the nature of this proposed change. Thanks!

@gwaybio The directories have been reorganized where production files are in the production directory. This is the same for the notebook files (placed in notebook directory). Notebook files were modified to only include a subset of the data for intense computations. The PR name was also changed to something more descriptive.

Ready!

@gwaybio ready!

@gwaybio the nbconvert function did not like the black changes, but I blacked everything and made fixes where necessary.

nbconvert function did not like the black changes, but I blacked everything and made fixes where necessary.

Oh interesting. Is this going to stop us from using both in combination? Or were you able to get both working?

@gwaybio I was able to get it to work (not sure how though) after installing black[jupyter] and running the same black  <file> function.


Added package.json

Prepared npm package.

Wow, need this !
:+1:

:+1:

:+1:

:+1:
Absolutely AMAZING ! I want it now !

:+1:

@JeremyFagis this isn't enough - is it?
We'd need to do something like
require('sprint.js');
window.$('#beep-boop');

but if we added a commonjs-wrapper (https://github.com/bendc/sprint/issues/3) we'd do
var $ = require('sprint.js');

A better approach would be to use a build system like gulp, who could automize the js minification, and the browser/amd/commonjs module wrapping(via gulp-umd, for instance).

@kelsa is right. We first need to implement both patterns (#3) first. Not ready to merge IMHO

@philplckthun :+1:

@kesla Tackled just that problem and #3 in my PR #21. CommonJS, AMD and browser globals support.
@nervo As sprint is not yet modularized and built via gulp this is unnecessary complex

@philplckthun if you prefer to wrap and minify manually each time you modify a single line of code, why not :)

@nervo Well, I was not saying that I prefer to minify manually! I said it doesn't make sense to use gulp-umd as long as gulp is not implemented at all. And that should be done with a full modularization of sprint in a seperate branch. :wink:

@philplckthun 'got it :)

:+1:

:+1:


ability to provide VPC region info

Signed-off-by: Prajyot Parab<EMAIL_ADDRESS>

@mkumatag @Karthik-K-N
Let me know if we are good to merge these changes post your validation checks.

Changes lgtm. I feel the caption should be changed as this pr is providing a way to pass classic region info and not fixing the auth.
Also an issue link with the explanation why we are doing the change will help others.

as far as I know there is nothing like region for the classic infra

as far as I know there is nothing like region for the classic infra

@Prajyot-Parab Right we are dealing with VPC region and not classic. Please update the information and variable names.

@yussufsh @cs-zhang : Can you please help with review?

@Prajyot-Parab : Please let me know if we are good to close / anything is blocked?

@Prajyot-Parab : Please let me know if we are good to close / anything is blocked?

Updated branch to be inline with upstream repo - Good to merge now

/approve

/backport release-4.8

/cherry-pick release-4.8

/cherry-pick release-4.7

/cherry-pick release-4.6


BMO 1737833 - Return error when reinit fails if input is not defined

If the stream is output-only, or its input device is system-default, its
reinit failure can lead to hitting an assertion in set_volume since the
program keeps running as the error doesn't occur. We should return an
error instead.

It surprises me that we didn't take care of it for years


BUILD-256: update dev instructions based on latest asset locations

/assign @akram
@coreydaley FYI

/test test

/test test
same port conflict flake
may need to prune those live metrics server unit tests I asked to be added once @prietyc123 has a chance to verify @alicerum 's metric changes end to end via the prometheus console

/retest

/lgtm


Analysis of GWD

Related to #7. Depends on VACILT/trend_paper/#7.

I uploaded files to /home/gemeinsam_tmp/UA_students/data/PW_GW_analysis.

[ ] recalculate SES


Mark RawTable::par_iter unsafe

It could be misused in the same way as RawTable::iter.
Fixes #156.

Actually drain and into_iter are both safe since drain has a lifetime bound on the table and into_iter owns the table. Only plain iter is unsafe.

Yeah okay, I buy that. Updated.

@bors r+

:pushpin: Commit 8f79f4c816cefa5855e1725552040999646535e2 has been approved by Amanieu

:hourglass: Testing commit 8f79f4c816cefa5855e1725552040999646535e2 with merge f02a1d811bf38d376c805f37d9b1cb36acc77d4e...

:sunny: Test successful - checks-travis
Approved by: Amanieu
Pushing f02a1d811bf38d376c805f37d9b1cb36acc77d4e to master...


Tracking issue: simplify Docker usage and Dockerfile

We would like to simplify the current Docker usage of Meilisearch by changing the Dockerfile.
This tracking issue gathers the issues we would like to solve. It does not have to be solved in the PR, but could be.

Impacting the users
@meilisearch/integration-team @meilisearch/docs-team
Changing the Docker behavior regarding the snapshots and the dumps by mounting only 1 folder instead of 3.
Related PR: https://github.com/meilisearch/meilisearch/pull/2178

[x] Here is the new command to make the dumps and snapshots features work out-of-the-box with Docker and a single and simple command:

docker run -it --rm -v $PWD/meili_data:/meili_data -p 7700:7700 getmeili/meilisearch:latest

More information: https://github.com/meilisearch/meilisearch/issues/2235#issuecomment-1094903453

[x] The meilisearch binary is not in the current working directory anymore. You cannot call the binary using ./meilisearch. The binary is now accessible using different ways: meilisearch, /meilisearch, /bin/meilisearch.  We recommend using meilisearch.
This is only useful when the users want to pass arguments (like --master-key)
Example:

docker run -it --rm -v $PWD/meili_data:/meili_data -p 7700:7700 getmeili/meilisearch:latest meilisearch --no-analytics

More information: https://github.com/meilisearch/meilisearch/issues/2235#issuecomment-1094951711

[x] This should fix: https://github.com/meilisearch/meilisearch/issues/2166 and https://github.com/meilisearch/meilisearch/issues/2085

Transparent for the users
Only refactoring:

[x] Simplify the Dockerfile by using only 1 build instead of 2, see https://github.com/meilisearch/meilisearch/issues/2234

Not fixed, removed from this tracking issue

Remove tini from the Dockerfile, see https://github.com/meilisearch/meilisearch/issues/2229

@irevoire I don't have my test containers anymore in my local env. But do you know if we can have run the old way?
docker run -p 7700:7700 getmeili/meilisearch:v0.26.0 ./meilisearch --master-key=masterKey
Because if we do not support them, it will be a big breaking 😬

We've just tested with @irevoire and nope, you will not be able to run with ./meilisearch, I was updating this issue :)

Yeah also we removed the change you proposed because then we were not able to debug our image, see https://github.com/meilisearch/meilisearch/issues/2229#issuecomment-1094941240

@meilisearch/integration-team but also @meilisearch/docs-team
Another breaking change, more impactful for integration team.
Using docker, the meilisearch binary is not in the current working directory anymore. When wanting to pass arguments to Meilisearch (like --no-analytics), you cannot call the binary using ./meilisearch anymore but meilisearch, /meilisearch, or /bin/meilisearch. We recommend using meilisearch.
This is a Docker good practice.
✅
docker run -it --rm -p 7700:7700 getmeili/meilisearch:latest meilisearch --no-analytics

❌
docker run -it --rm -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --no-analytics

@meilisearch/docs-team you have to check you don't have any Docker command running with ./meilisearch, otherwise, nothing to document.

I've updated the issue description so that we understand directly the changes

Closed by #2178 so will be present in v0.27.0rc0
Please, feel free to test and let us know if it works as expected

Pinging @meilisearch/cloud-team as well, since they use meilisearch with docker!


Implement "-f" option in tag.py script

tag.py is a script for creating and pushing git tag (#106).
If the tag already exists locally or remotely, it will fail, which is usually OK, but sometimes we need to override recently created malformed tag.
It would be nice to add an option called -f / --force, which allows to override existing tag, both local and remote (in case when --push is specified).

Landed, thanks @pypaut!


batch-transcode-video deletes successful result

Hi,
I just set up a new machine (Microsoft Surface Book) with this and now successful encodes end with a non-descriptive error and the output file gets deleted. The funny thing is: It works at version 1.2.0 of batch-transcode-video on a same hardware Surface Book.
The main difference is the one where it works runs Ubuntu 16.04 with batch-transcode-video 1.2.0 and the one where it doesn't runs Ubuntu 18.04 and doesn't work with either 1.2.0 or 1.3.0
Any ideas what that might be? Is it an artifact of https://github.com/nwronski/batch-transcode-video/issues/10#issuecomment-546709841 which would be solved by https://github.com/nwronski/batch-transcode-video/issues/10#issuecomment-465666887

works:

Windows 10 Subsystem for Linux Ubuntu 16.04.6 LTS
nodejs v4.2.6
npm v3.5.2
<EMAIL_ADDRESS>
doesn't work:

Windows 10 Subsystem for Linux Ubuntu 18.04.3 LTS
nodejs v8.10.0
npm v3.5.2
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

 - ERRORED:  Lorna Doone.mkv
Error: [TranscodeError: Transcode probably did not succeed for file.]

no more info given - I have no idea what's causing this...
output file is definitely not existing

oh kewl! Are you slicing a new release with updated dependencies and all the shenanigans now?

yes, just published v2.0.0. let me know if that does the trick, thanks!
npm i -g batch-transcode-video@2

Just checked, it worked!


Position static option similar to https://chmln.github.io/flatpickr/

Is it possible to add a static positioning option it select2 args?
Same with flatpickr:
static | boolean | false | Position the calendar inside the wrapper and next to the input element. (Leave false unless you know what you're doing.)
Nice to have an option to have the dropdown use either attachContainer or attachBody to avoid changing of core js.

We dont have immediate plans to this. But if you open PR with unit tests, I will be glad to review that :+1:


setup.sh [question]

Can the setup.sh script accept more than one argument, ex. Install sickrage and couchpotato?

Not at this point. But it is a feature we can implement.

Something like this?
http://1.bp.blogspot.com/_yqqceaP4wog/Szl0XUVk-7I/AAAAAAAACUc/MAyJuwvumpc/s400/unix-dialog-checklist-shell-script.JPG

Definitely possible. The couchpotato sickbeard restore scripts already use the dialog package.

Pull request #34 adds dialog support, thus closing this question.

@carrigan98 I completely rewrote the toolkit. Dialog is now not required. I redid the menus using whiptail which is included in the base install. Sorry I could make much use of the work you did on dialog.


Add a support for NaN, Infinity, -Infinity for double and float types in cpp avro

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-XXX
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

i'm sure there are unit tests for parsing schemas. please can you find them an add tests?

is there any code for writing schemas to JSON? if so, this will need to be updated too.

i'm sure there are unit tests for parsing schemas. please can you find them an add tests?

I have added the testcases

Thanks @Viv1k. I assume the new tests are passing locally? Please squash into one commit, and I'm happy to merge and use this as a basis for an upstream PR.

Yes, all the test cases are passed:
Test project /home/vkumar/softwares/kafka_stack/eclipse_avro/lang/c++/build
      Start  1: buffertest
 1/11 Test  #1: buffertest .......................   Passed    0.01 sec
      Start  2: unittest
 2/11 Test  #2: unittest .........................   Passed    0.01 sec
      Start  3: SchemaTests
 3/11 Test  #3: SchemaTests ......................   Passed    0.01 sec
      Start  4: LargeSchemaTests
 4/11 Test  #4: LargeSchemaTests .................   Passed    0.09 sec
      Start  5: CodecTests
 5/11 Test  #5: CodecTests .......................   Passed    0.22 sec
      Start  6: StreamTests
 6/11 Test  #6: StreamTests ......................   Passed    0.04 sec
      Start  7: SpecificTests
 7/11 Test  #7: SpecificTests ....................   Passed    0.01 sec
      Start  8: DataFileTests
 8/11 Test  #8: DataFileTests ....................   Passed    1.40 sec
      Start  9: JsonTests
 9/11 Test  #9: JsonTests ........................   Passed    0.01 sec
      Start 10: AvrogencppTests
10/11 Test #10: AvrogencppTests ..................   Passed    0.01 sec
      Start 11: CompilerTests
11/11 Test #11: CompilerTests ....................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 11

Total Test time (real) =   1.81 sec

thanks. please rebase into a single commit.

thanks. please rebase into a single commit.

Rebased into a single commit.

@Viv1k do we now want to target 1.10 branch instead?

Changed target branch to release/release-1.10.0


Add support for kitty and xfce4-terminal

Two shells that I use and have used this script to apply themes to. Tested locally. Sorry for not putting them in separate pull requests; if that would be better I can do so.

Is this still active?


[ FAILED ] Traceback (most recent call last)

I am getting the following error. Chrome is landing on https://home.eset.com/error, while the lg looks like this:
C:\kit\eset keygen>python main.py
-- Chrome Driver Auto-Installer v1.1.4<PHONE_NUMBER>) by rzc0d3r --

[  INFO  ] Chrome version: 120.0.6099.110
[  INFO  ] Chrome driver version: 120.0.6099.109
[  INFO  ] Initializing chrome-driver for Windows

-- ESET KeyGen v<IP_ADDRESS><PHONE_NUMBER>) by rzc0d3r --

[  INFO  ] Mail registration...
[   OK   ] Mail registration completed successfully!

[  INFO  ] [EMAIL] Register page loading...
[   OK   ] [EMAIL] Register page is loaded!

[  INFO  ] Bypassing cookies...
[   OK   ] Cookies successfully bypassed!

[  INFO  ] [PASSWD] Register page loading...
[   OK   ] [PASSWD] Register page is loaded!

[   OK   ] ESET Token: b9d85396-be5c-452b-b0e1-6609436d58fa

[  INFO  ] Account confirmation is in progress...
[   OK   ] Account successfully confirmed!

[  INFO  ] Request sending...
[  INFO  ] Waiting for permission to request...
[   OK   ] Access to the request was open!

[  INFO  ] Platforms loading...
[   OK   ] Windows platform is selected!

[  INFO  ] Request license page loading...
[  INFO  ] Sending a request for a license...
[  INFO  ] Waiting for confirmation of request...
[ FAILED ] Traceback (most recent call last):
  File "C:\kit\eset keygen\main.py", line 97, in <module>
    EsetKeyG.sendRequestForKey()
  File "C:\kit\eset keygen\modules\eset_keygen.py", line 40, in sendRequestForKey
    uCE(self.driver, f"return {CLICK_WITH_BOOL}({GET_EBAV}('ion-button', 'robot', 'common-base-modal-header-close-btn'))")
  File "C:\kit\eset keygen\modules\shared_tools.py", line 60, in untilConditionExecute
    raise RuntimeError('untilConditionExecute: the code did not return the desired value!')
RuntimeError: untilConditionExecute: the code did not return the desired value!

Press Enter...

Now works only account!

Use --account command argument.

Cheers.

I'm getting the same error but at different point.
PS C:\Users\User\Desktop> .\ESET-KeyGen_v<IP_ADDRESS>-211123-1059_win32.exe --account
-- Chrome Driver Auto-Installer v1.1.4<PHONE_NUMBER>) by rzc0d3r --

[  INFO  ] Chrome version: 120.0.6099.110
[  INFO  ] Chrome driver version: 120.0.6099.109
[  INFO  ] Initializing chrome-driver for Windows

-- ESET Account Generator v<IP_ADDRESS><PHONE_NUMBER>) by rzc0d3r --

[  INFO  ] Mail registration...
[   OK   ] Mail registration completed successfully!

[  INFO  ] [EMAIL] Register page loading...
[   OK   ] [EMAIL] Register page is loaded!
[ FAILED ] Traceback (most recent call last):
  File "main.py", line 88, in <module>
  File "modules\eset_register.py", line 41, in createAccount
  File "selenium\webdriver\remote\webdriver.py", line 407, in execute_script
  File "selenium\webdriver\remote\webdriver.py", line 347, in execute
  File "selenium\webdriver\remote\errorhandler.py", line 229, in check_response
selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set properties of null (setting 'value')
  (Session info: chrome=120.0.6099.110)

Press Enter...

yep, and one more error
C:\Users\user\Downloads\ESET-KeyGen-main>python main.py --account
-- Chrome Driver Auto-Installer v1.1.4<PHONE_NUMBER>) by rzc0d3r --
[  INFO  ] Chrome version: 120.0.6099.129
[  INFO  ] Chrome driver version: 120.0.6099.109
[  INFO  ] Initializing chrome-driver for Windows
-- ESET Account Generator v<IP_ADDRESS><PHONE_NUMBER>) by rzc0d3r --
[  INFO  ] Mail registration...
[   OK   ] Mail registration completed successfully!
[  INFO  ] [EMAIL] Register page loading...
[   OK   ] [EMAIL] Register page is loaded!
[  INFO  ] Bypassing cookies...
[   OK   ] Cookies successfully bypassed!
[ FAILED ] Traceback (most recent call last):
File "C:\Users\user\Downloads\ESET-KeyGen-main\main.py", line 90, in
EsetReg.createAccount()
File "C:\Users\user\Downloads\ESET-KeyGen-main\modules\eset_register.py", line 49, in createAccount
exec_js(f"{GET_EBID}('Email').value='{self.email_obj.get_full_login()}'")
File "C:\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 404, in execute_script
return self.execute(command, {"script": script, "args": converted_args})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 344, in execute
self.error_handler.check_response(response)
File "C:\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set properties of null (setting 'value')
(Session info: chrome=120.0.6099.109)
Press Enter...

Try the new version v<IP_ADDRESS><PHONE_NUMBER>) !!!