Implement virtual keyboard overlay (modal or draggable) launchable from input fields

@connor-makowski, logging this feature to keep track of it since you mentioned it a few weeks ago as a long-term feature.

@connor-makowski @luisvasq @mrkwanzaa, here are some libraries for virtual keyboards:

Simple Keyboard
KioskBoard Repo and Demo

We should also attach a numerical key pad to this issue.

At first glance, it seems to me that Simple Keyboard would work better for us. I see they have native support for React via KioskBoard. I also notice some cool features like changing the layout in terms of language and supporting key customization, which would allow for a single numeric keypad for numeric input.

Just a quick follow up here. I am expecting this to be launched from the input box in the props (num props = number pad and text / combobox props = full keyboard).
I think we may end up emulating the IOS keyboard and this should appear as a draggable that can be exited and opened from the settings pane.

We may even wan to add a button to jump between keyboard and number pad in the component in order to generalize the draggable pad.

But if launched from a component, we should switch to the relevant input type on open and allow the user to switch if desired. We should think about the ui/ux on click away.

Makes sense to me. My first thought on the click away UX would be to tie the display/hide of the keyboard to the focus of the input prop (combobox, text, num), unless the switch on the Settings pane is on, in which case the keyboard draggable should remain on display.

Do we want to detect touch events (vs mouse click) and only open the keyboard if a touch caused the focus? Otherwise I'm thinking we'll want an option to never open the keyboard for non-touch users.

Or maybe, the switch button on the Settings pane could set the on-focus behavior for displaying the keyboard, meaning it would always always appear on the respective input when focused if the setting is on, or it would be launchable from an end adornment when the setting is off or if the user closed the keyboard.

I agree that it'd be best to at least set the setting on or off, depending on whether it's a touch device or not.

I like where this is going from a UI/UX perspective. The auto launch for touch inputs is a great feature (that should be toggleable). I am thinking no matter how we frame this one, we will want a special icon somewhere in the input line for the prop to open this if it is not open.

@connor-makowski @luisvasq I have implemented the bulk of the keyboard and would love your feedbacks on functionality and styling.

Looking good. For the number pad, what does enter do?
Also can you merge in changes from 2.3.0-dev into your current branch so you can test this with new variants like the incslider? You will need to pull in changes to cave_app to get this as well.

enter does not do anything for any of the inputs. It doesn't seem that typing enter on a physical keyboard does anything either except for a multiline text input which adds a new line, which the virtual keyboard does not do. I will go ahead and pull changes from 2.3.0-dev.

@connor-makowski How can I add an incslider to one of the Python scripts in cave_app to test it?

If you pull the most recent cave app (2.3.0-dev) the examples are already updated with incslider examples.

Regarding enter, we may just want to remove it. Any strong reasons why not?

Looking good!!! I agree that enter might not be necessary. However, what if we want to add a new line to a textarea variant as @brianzheng205 pointed out (although it's not currently working for this variant)? In case we decide to keep it, we could also use it as a blur / focus-out event trigger.

Great job handling auto-display on touchscreen devices! I noticed that the kb launcher is not currently enabled for the slider's number input and may not be necessary since we already have spin buttons. @connor-makowski should we still have it there?

So for enter, I like the idea of unfocus (submit the input).

Great, @brianzheng205!! Let's hold off on 'incslider' for now. Is it possible to add a new line to a textarea with enter or a combination of shift + enter, whichever is easier?

@luisvasq I think it should be possible because I think I can figure out a way to distinguish between a text and textarea. Would using shift + enter make more sense so that textarea can keep the ability to press enter to unfocus the input?

Awesome!

@luisvasq I think it should be possible because I think I can figure out a way to distinguish between a text and textarea.

Also, that's a great point. Let's keep enter for unfocus and use shift + enter for a new line.

I decided to go with new line on enter for TextArea when the keyboard is in shift mode and have the enter text turn into new line in shift mode so it's clearer when the enter button will add a new line vs unfocusing. This means users do not necessarily need to shift + enter, they just need to press enter (labeled as new line) while in shift mode (can be accessed using shift or caps).

Good call. :+1: I agree that the new label for the text area is clearer in shift mode. I see that caps emulates the same behavior as shift. I'm wondering if we should enable only uppercase letters when caps is "on" while keeping the rest of the keyboard unchanged. Also, I guess we might switch back to lowercase letters when both shift and caps are on. @connor-makowski, how do you feel about this approach?

See PR: https://github.com/MIT-CAVE/cave_static/pull/529


Select subtemplate based on scheme

Hi,
Summary
Sometimes, for whatever reason, you might want to use a different subtemplate for some program based on the scheme that you're using.
Use case
Example:
I have a custom template for sway which I like for most schemes. However, for some schemes I would like a different template (otherwise it looks bad or is hardly readable). I could change my custom template when I'm using these schemes, or I could write a new custom template and reference it in my config file, however those are "a lot" of manual steps that I don't want to do every time I change scheme, which is more or less often.
Solution
If a subtemplate named exactly like the scheme being used is found for a certain component (e.g base16/templates/sway/templates/darkmoss.mustache), use it instead of the one given in the config.
Discussion
This would be my preferred behaviour and it shouldn't interfere with other workflows, however, I understand it might have some undesired effects on some edge cases. It could also be optionally activated to mitigate this.
Would you be interested in such a functionality? I have a MR ready if so. If you have some feedback I could try to implement it. I'm a rust noob but am learning ;)

Fixed by #66


Update master to Swift 3.0

Hi! Nice framework!
Is there any plans on migrating master branch to swift 3?
Thank you!

Hi, thanks!
There are plans for sure, it's just not quite finished yet, so that's why it's still not merged.
I'll leave this issue open until it's done.

Any updates on this?

Nice framework
How is it going with Swift 3?

Anyone has upgraded to Swift 3 or 4, please kindly share repository URL. thanks

How is it going with Swift 5?


Like barrier is super easy to game

The check done to avoid double likes is simple to game:

There is no database constrain to enforce only 1 like for same user/object combination
Read/Insert barrier does not work with parallel requests
Read query here is easy to trick since it uses the whole request body

COUNTER=1000
while [  $COUNTER -gt 0 ]; do
    curl 'https://winds-prod.getstream.io/likes' -H 'Authorization: Bearer ...' -H 'Content-Type: application/json' -H 'Accept: application/json, text/plain, */*' --data-binary "{\"playlist\":\"5aef1262c1a20c545a38ffd4\",\"user\":\"5aef11fdc1a20c545a38ffab\", \"asd\": $COUNTER}"
    let COUNTER=COUNTER-1
done

@nparsons08 why the close?


Screen always eventually turns black with mouse pointer. Only occurs in crouton. Updated crouton and chrome OS.

The screen will always turn black with a mouse pointer but it happens either in a few hours or a matter of minutes. Not sure what's going on.

Similar issue. Runs normally for some time, then begins to cause blank screen with mouse pointer still visible. Then display re-appears. Problem seems to get progressively worse until such time I just need to restart.
Problem is most prevalent when running Citrix's icaclient.
croutonversion returns:
crouton: version 1-20150620222151~master:89796a99
release: precise
architecture: armhf
xmethod: xiwi
targets: xfce,xiwi
host: version 7077.95.0 (Official Build) stable-channel veyron_speedy
kernel: Linux bishkek 3.14.0 #1 SMP Tue Jul 14 22:43:19 PDT 2015 armv7l armv7l armv7l GNU/Linux
freon: yes

Does this still happen? Please reopen if that's the case.


Format issue using volar

https://github.com/vuejs/language-tools/issues/3275
I face this same issue in my vue project. Every time I format code using Volar more and more spaces are generated.

Please provide a minimal reproduction.

Vue: 3.0.11
Volar: 1.8.25
Prettier: 10.1.0

This is not a reproduction. https://antfu.me/posts/why-reproductions-are-required


Reproducible jars proposal

A proposal for handing reproducibility in mutli module/project builds.
Staged: https://github.com/GoogleContainerTools/jib/blob/proposal-reproducible-jar/proposals/reproducible_jars.md

It looks like we're going to mostly skip this in favor of documentation. But I'll add in all the updates and we can leave this in the docs archive.

@TadCordle can you just take a final look over this before I merge?


[API] GET api/services/rest/bookingmanagement/v1/booking/{id} returns 500

Expected behavior
As an API client, I want to call get booking of a given id so that I can get booking details.
Actual behavior
<!doctype html>

HTTP Status 500 – Internal Server Error

HTTP Status 500 – Internal Server Error

Steps to reproduce (bug) / Use Case of feature request (enhancement)
Make an authorized GET API request to host/api/services/rest/bookingmanagement/v1/booking/{id}
Related/Dependent Issues
Comments/Hints:
Affected version:

OS: Windows/Linux/Mac?
Browser: Chrome/Firefox/Safari?

/api/services/rest/bookingmanagement/v1/table/{id} is not working as well

No issue as "bookingToken" was used instead of "id"

After using the right data - all the mythaistar endpoints are working fine as expected.

Does that mean, the API endpoint can be made to return 500 (Internal Server Error) by upload the "wrong" data?
If yes, I'd say, this is indeed a bug. According to https://raw.githubusercontent.com/devonfw/my-thai-star/develop/swagger/mythaistar.yaml  the return value in this case should be 400 (Bad request. Parser data error.)
Other REST API implementation meanwhile use 422 (Unprocessable Entity) - but since there is no fixed standard, this is always open to some discussion.
Nevertheless within http standard any 5xx is reserved for server side errors, while the 4xx means error state, that the client side can fix. So it is important to return a 4xx status for the wrong set of input parameters.


Server process inside Docker crashing every few minutes

Using the 9.6.3 tag, I see the following message every few minutes in my Docker logs:
17/07/2017 20:31:13LOG:  server process (PID 540) exited with exit code 255
17/07/2017 20:31:13LOG:  terminating any other active server processes
17/07/2017 20:31:13WARNING:  terminating connection because of crash of another server process
17/07/2017 20:31:13DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
17/07/2017 20:31:13HINT:  In a moment you should be able to reconnect to the database and repeat your command.
17/07/2017 20:31:13LOG:  all server processes terminated; reinitializing
17/07/2017 20:31:13LOG:  database system was interrupted; last known up at 2017-07-17 18:30:55 UTC
17/07/2017 20:31:13LOG:  database system was not properly shut down; automatic recovery in progress
17/07/2017 20:31:13LOG:  invalid record length at 0/4232570: wanted 24, got 0
17/07/2017 20:31:13LOG:  redo is not required
17/07/2017 20:31:14LOG:  MultiXact member wraparound protections are now enabled
17/07/2017 20:31:14LOG:  database system is ready to accept connections
17/07/2017 20:31:14LOG:  autovacuum launcher started

Any idea how I can cancel the rollback? But most importantly - is this a dockerized Postgres issue or just a regular Postgres problem?

This sounds like a resource issue -- does your Docker host/VM have enough
RAM for the workload you're putting on it?  Is the container running out of
file descriptors or some other (in some cases artificially) limited
resource?

Oh man, this is super weird. I am posting the issue here if someone else stumbles on the same problem.
I extended the official Postgres Docker image to start the cron and sshd deamons. Apparently the system which watches the postgres processes thought it was a great idea to kill the sshd daemon and with it one of the postgres processes - wich in turn crashed the Postgres server entirely. Maybe there is some weirdness with the shell going on - I didn't have the time to investigate further. I stopped the sshd daemon and created a new container which acts as an ssh tunnel to the Postgres container.
However, this issue still persists:
17/07/2017 20:31:13LOG:  invalid record length at 0/4232570: wanted 24, got 0

I'd love to know what it means and how I can fix it - but so far I couldn't find any sound info on it.

facing the same issue! +1

Closing old issue.

However, this issue still persists:
17/07/2017 20:31:13LOG:  invalid record length at 0/4232570: wanted 24, got 0

After a crash, the server has to recover by reading and replaying all WAL records.  Once it reaches the legitimate end of WAL, it will find some garbage which it can't figure out, and issue a message like this.  So this is a totally normal message, if somewhat scary in appearance.  So why log it at all?  Well, it is possible that your WAL file got corrupted, and so it is not at the legitimate end of WAL.  This info could help you figure where the corruption is.


make Package Control extract the package to Packages/

Solves #16

@thedataking , please, release this changes.
Thanks.


version `GLIBC_2.25' not found in centos 7 for vscode server

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version: centos7

Steps to Reproduce:

install vscode-server https://code.visualstudio.com/docs/remote/vscode-server#_quick-start
run code-server

/usr/local/bin/code-server: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/bin/code-server)
/usr/local/bin/code-server: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /usr/local/bin/code-server)

[root@test ~]# node --version
v16.16.0

Maybe related to https://github.com/microsoft/vscode/issues/146390

same problem. CentOS 7, node version 16.13.2

The UX changed recently, and now there's a code cli instead. Does this issue still occur with the new program?

@rzhao271 the underlying server executable has not changed, we should test the steps from https://github.com/microsoft/vscode/issues/155474#issue-1307662878 on CentOS 7

I confirmed that one can still get to the server executable by running ./code tunnel.
I'm still unable to repro the issue, though.

I'm also getting this on Debian 11

@tfcace could you share repro steps? For example, did you just run ./code tunnel with Code CLI, or were there other steps involved?

yes. I'm using Debian 11.6 installed on a VM.
VSCode was installed through the snap package.
This is the input of my terminal session:
code tunnel
/snap/code/117/usr/share/code/bin/code-tunnel: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /snap/code/117/usr/share/code/bin/code-tunnel)
/snap/code/117/usr/share/code/bin/code-tunnel: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /snap/code/117/usr/share/code/bin/code-tunnel)

When running code --version, this is the output:
1.74.3
97dec172d3256f8ca4bfb2143f3f76b503ca0534
x64

If there's anything else I can provide, let me know.

@tfcace the issue you are facing is tracked in https://github.com/microsoft/vscode/issues/168427, please follow that issue for updates tl:dr; code-tunnel from the snap package will not work due to our build version. Please use the cli from deb package, thanks!

thank you!

Closing as server requirements will be bumped to GLIBC >= 2.28 in upcoming releases following https://github.com/microsoft/vscode/pull/192513


Flyout closes when opening the combo box, which is loaded inside the flyout.

Describe the bug
I have a button with a flyout that is loaded by a combo box. When I open the flyout and click on the empty areas within the flyout, then attempt to open the combo box, the flyout gets closed.
 private void buttonWithFlyout_Click(object sender, RoutedEventArgs e)
 {
     Grid grid = new Grid() { Background = new SolidColorBrush(Colors.LightGreen)};
     ComboBox comboBox = new ComboBox() { Width = 130, Height = 40, ItemsSource = new List<string>() { "Item1", "Item2", "Item3", "Item4"}, Margin = new Thickness(40,60,40,60) };
     ComboBox comboBox1 = new ComboBox() { Width = 120, Height = 40, ItemsSource = new List<string>() { "Item1", "Item2", "Item3", "Item4"}, Margin = new Thickness(40,120,40,60) };
     grid.Children.Add(comboBox);
     grid.Children.Add(comboBox1);
     flyoutControl.Content = grid;

     flyoutControl.ShowAt(this.buttonControl);
 }

Steps to reproduce the bug

Declare a button.
Declare a flyout for the button, and add combo box inside the flyout.
Run the application and click the button.
Click on the black spaces within the flyout, and then click on the combo box.

Note: Some collection must be bind to the ItemSource of the combo box. This bug does not replicated when combo box collection was empty.
Observed behavior:
The flyout gets closed.
Expected behavior
The flyout should not be closed.
Screenshots
https://github.com/microsoft/microsoft-ui-xaml/assets/104507189/983417cb-5ede-4ded-a0c8-66511562e15a
NuGet package version
WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

This problem is still observed for Windows App SDK 1.6. It's a minor issue but quite annoying!


Boss Bar glitching

When summoning two worms at once, or when one is /killed, the boss bar will forever stay on your screen with no possible way to remove it, please add some sort of /function desertscourge/bossbar/clear command, thank you :)

Hey there, I had this issue as well, I found a solution for it.
You should be able to use the vanilla command /bossbar remove minecraft:desert_scourge_1, yours may be different but it should be obvious from the autocomplete options. :)

Thank you :D


Runtime Error: Tensors on Different Devices (cuda:0 and cpu)

Environment:
Operating System: CentOS Linux release 7.9.2009
Python Version: python 3.10.0
PyTorch Version:  2.0.1  ( py3.10_cuda11.8_cudnn8.7.0_0)
Description:
I encountered a runtime error in the code when attempting to run the training script ./train_mpe_reference.sh. The error message indicates that tensors are on different devices, specifically "cuda:0" (GPU) and "cpu," when they should be on the same device.
Error Message:
Traceback (most recent call last):
  File ".../train_mpe.py", line 174, in <module>
    main(sys.argv[1:])
  File ".../train_mpe.py", line 159, in main
    runner.run()
  File ".../mpe_runner.py", line 39, in run
    self.compute()
  File ".../base_runner.py", line 136, in compute
    self.buffer.compute_returns(next_values, self.trainer.value_normalizer)
  File ".../shared_buffer.py", line 236, in compute_returns
    delta = self.rewards[step] + self.gamma * value_normalizer.denormalize(
  File ".../valuenorm.py", line 75, in denormalize
    out = input_vector * torch.sqrt(var)[(None,) * self.norm_axes] + mean[(None,) * self.norm_axes]
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

Thank you for your help in addressing this issue.

I solved above same problem like below:
in r_mappo.py
if self._use_popart:
self.value_normalizer = self.policy.critic.v_out
elif self._use_valuenorm:
# self.value_normalizer = ValueNorm(1).to(self.device)
self.value_normalizer = ValueNorm(input_shape=1, device=self.device)
else:
self.value_normalizer = None
I think "self.value_normalizer = ValueNorm(1).to(self.device)" do not work properly. Just change this line to "self.value_normalizer = ValueNorm(input_shape=1, device=self.device)"


as with everything CSV you need a way to define delimiters

Currently theres no info on what delimiters it supports and for sure it does no support a semicolon (;)  and also option to skip n  lines from top is often important as those can contain other information like column names, headers etc .
A CSV file stores data in rows and the values in each row is separated with a separator, also known as a delimiter. The most common delimiters are: a comma (,), a semicolon (;), a tab (\t), a space ( ) and a pipe (|). But theoretically anything can be a delimiter as long as it is consistent.

I've tried to make it as tolerant as possible without trying to cater for every permutation of CSV, because there are so many. Given a file with a 'csv' suffix it will assume it is comma separated (and ignore any leading lines). Given a *.txt file it will attempt to guess the delimiter based on the first x rows. It doesn't support space as a delimiter.

Is there a way to tell it that the delimeter is a colon?
I've got a file with two values on each line separated by a colon, but can't get it to load.


Graph updates

This PR:

Fixes #92 (different test type colors)
Fixes #108 (different test colors for 24 hrs/7 days)
Fixes #109 (updates hover text)
Updates #111 (temporarily disable By Day grouping button)

One other issue- For Ookla tests we're showing latency in the graph, but the field name is different than NDT's MinRTT. Can the display use MinRTT for ndt5/7 tests and Ping for speedtest-cli?


Harvesters should use the resource manager to update a resource rathern then the resource instance itself

Otherwise all the chain of processings that are expected to be managed by the RM will fail.
An example is the update of a document doc_url whern the resource is finalized. The harvester updates the instance, but doing this will not trigger downstream methods that are needed to compute some attributes for the document (for example the extension of the file connected to the document).
In this case the fix was to replace at thsi line:
geonode_resource.save()
with
resource_manager.update(str(harvested_info.resource_descriptor.uuid),vals={
	'thumbnail_url': harvested_info.resource_descriptor.distribution.thumbnail_url,
	'doc_url': harvested_info.resource_descriptor.distribution.original_format_url
})

@ricardogsilva please check if we have other places where the fix must be applied.

this is mostly fixed in geonode/geonode#7947 (currently in the GeoNode PR queue).
There is currently only one additional place where we are calling save() directly on a GeoNode resource, but it seems pretty harmless:
https://github.com/GeoNode/geonode/blob/master/geonode/harvesting/tasks.py#L270
I will modify it before considering this issue as done.

can this be closed @ricardogsilva? Was that missing save() corrected?

@giohappy yes, this can be closed. I'll go ahead and close it


No eligible build target. No configuration to build this project exists.

In Atom when I press F9 to compile/build the project I get this error.
Can someone help me?

Have you followed the configuration detailed in the README?
You have to provide more info. What does your project look like? Do you have providers? Configuration (.atom-build.*-file)?

I started out with such high expectations for platformio, and it's been nothing but a disappointment.  It seems nothing works as it should.  I followed the instruction to a T to install it, put the appropriate build platforms and board on, and loaded a project I wanted to work on that was built in Platformio.  First, it seems I dont have the right build platform selected - see status bar where it says "Photon" and "no device selected::

So I try to change it, but espressif8266 is not available even so it's installed:

So what's the problem?  I cant find a solution anywhere.
I assume it cant build (1st screenshot) because these aren't proper.
I disabled the Particle addons, now everything looks worse:

It will not let me "run other target" - it tells me no targets found.
Any ideas?  I dont see any help in the documentation that could reveal what is wrong.  Searching google reveals not much.
Thanks in advance.

Hi i have the same issue, I'm using it in a basic Arduino project, on Ubuntu 20.04 and at the beginning it worked very well, but now i have to use the Arduino IDE and I'd really rather to use Atom/ PlatformIO
What can I do if i installed it W/O the readme, just uninstall/ install again??  I followed the instructions of a video course.
IF SOMEONE ONE KNOWS HOW TO FIX IT PLEASE TELL US
THANKYOU


Failed Autorest Regen Preview to 3.0.0-alpha.20240208.3 by Chun Yu from refs/pull/4212/head

Triggered from https://github.com/Azure/autorest.csharp/pull/4212

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.DocumentIntelligence


How to keep both generated externs and user defined externs?

What's the issue?
As it stands you can either have externs generated by this plugin OR externs which you pass via the plugin options. As far as I'm aware it's not possible to keep both because the generated externs are overriden here: https://github.com/ampproject/rollup-plugin-closure-compiler/blob/master/src/options.ts#L100.
How do we reproduce the issue?
output: {
  format: 'iife',
  name: 'MyComponent',
}

...

compiler({
  externs: [
    join(__dirname, 'component-externs.js'),
  ],
})

The contents of component-externs.js will override the generated extern containing the output name.

Thanks for the bug report @MaxMilton. I've submitted a PR to address the issue #50.
A review would be great!

Released as 0.6.2

I've run into a bug with this. If you have multiple bundles in your rollup config and are passing the same options object to to compiler() then subsequent runs of the plugin will not have any externs applied, e.g.:
import compiler from '@ampproject/rollup-plugin-closure-compiler';

const compilerOpts = {
  externs: [
    require.resolve('google-closure-compiler/contrib/externs/chrome.js'),
  ],
  compilation_level: 'ADVANCED',
};

export default [
  {
    input: 'src/entry1.js',
    output: {
      format: 'esm',
      file: 'dist/bundle1.js',
    },
    plugins: [
      compiler(compilerOpts), // <-- this run deletes compilerOpts.externs
    ],
  },
  {
    input: 'src/entry2.js',
    output: {
      format: 'esm',
      file: 'dist/bundle2.js',
    },
    plugins: [
      compiler(compilerOpts), // <-- never gets compilerOpts.externs :(
    ],
  },
  {
    input: 'src/entry3.js',
    output: {
      format: 'esm',
      file: 'dist/bundle3.js',
    },
    plugins: [
      compiler(compilerOpts), // :(
    ],
  },
];

Probably not a good idea to mutate the plugin options object right?
A workaround for anyone running into this is to clone of the options object for each plugin definition:
compiler({ ...compilerOpts }),

Sorry for modifying the plugin options, fixed in 0.7.1.

Confirmed fix :+1:
Along with the recent logging changes it's making this plugin very enjoyable to work with. Thank you.


Question on Release 4.2

Andrew,  is the system contains version 4.1 of KAPE-EZToolsAncillaryUpdater.ps1 will run that 4.1 version of KAPE-EZToolsAncillaryUpdater.ps1 pull down the 4.2 version?  I think that it does but I want to make sure.
BTW, winget is great.  I have been using it extensively for about six months.

That is correct! I just ran version 4.1 myself and got the following log entries:
PS C:\Users\Andrew\Desktop\KAPE> .\KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] |  --- Beginning of session ---
[2023-08-07 09:05:11] | Script Name: KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] | Full Path: C:\Users\Andrew\Desktop\KAPE\KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] | Last Modified Date: 08/07/2023 09:04:22
[2023-08-07 09:05:11] | File Size: 47328 bytes | 0.05 MB
[2023-08-07 09:05:11] | Certificate Expiration: 01/26/2025 18:59:59
[2023-08-07 09:05:11] | SHA1 Hash: 9C70CB40D9A6118BDAA7CBC272CDC3527A14F666
[2023-08-07 09:05:11] | --------- Script Log ---------
[2023-08-07 09:05:11] | Log file already exists at C:\Users\Andrew\Desktop\KAPE\KAPEUpdateLog.log
[2023-08-07 09:05:11] |  --- KAPE-EZToolsAncillaryUpdater.ps1 ---
[2023-08-07 09:05:11] | Current version of this script is 4.1
[2023-08-07 09:05:11] | Latest version of this script is 4.2
[2023-08-07 09:05:12] | Updating script to the latest version
[2023-08-07 09:05:12] | Successfully updated script to 4.1
[2023-08-07 09:05:12] | Starting updated script in new window
[2023-08-07 09:05:12] | Executing: Start-Process PowerShell -ArgumentList "C:\Users\Andrew\Desktop\KAPE\KAPE-EZToolsAncillaryUpdater.ps1"
[2023-08-07 09:05:12] | Please observe the script in the new window
[2023-08-07 09:05:12] | Exiting old script
[2023-08-07 09:05:12] |  --- End of session ---

A new window then popped up with 4.2 executing. Hopefully that answers your question. Sorry for the delay in response, was busy traveling from the Summit.
Also, winget is awesome. I think we can definitely find a way to leverage it re: .NET 6 checks.

Cool,  thanks for confirming.  Cheers.

From: Andrew Rathbun @.>
Sent: Monday, August 7, 2023 9:07 AM
To: AndrewRathbun/KAPE-EZToolsAncillaryUpdater @.>
Cc: Hallman, Mark @.>; Author @.>
Subject: Re: [AndrewRathbun/KAPE-EZToolsAncillaryUpdater] Question on Release 4.2 (Issue #21)
That is correct! I just ran version 4.1 myself and got the following log entries:
PS C:\Users\Andrew\Desktop\KAPE> .\KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] |  --- Beginning of session ---
[2023-08-07 09:05:11] | Script Name: KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] | Full Path: C:\Users\Andrew\Desktop\KAPE\KAPE-EZToolsAncillaryUpdater.ps1
[2023-08-07 09:05:11] | Last Modified Date: 08/07/2023 09:04:22
[2023-08-07 09:05:11] | File Size: 47328 bytes | 0.05 MB
[2023-08-07 09:05:11] | Certificate Expiration: 01/26/2025 18:59:59
[2023-08-07 09:05:11] | SHA1 Hash: 9C70CB40D9A6118BDAA7CBC272CDC3527A14F666
[2023-08-07 09:05:11] | --------- Script Log ---------
[2023-08-07 09:05:11] | Log file already exists at C:\Users\Andrew\Desktop\KAPE\KAPEUpdateLog.log
[2023-08-07 09:05:11] |  --- KAPE-EZToolsAncillaryUpdater.ps1 ---
[2023-08-07 09:05:11] | Current version of this script is 4.1
[2023-08-07 09:05:11] | Latest version of this script is 4.2
[2023-08-07 09:05:12] | Updating script to the latest version
[2023-08-07 09:05:12] | Successfully updated script to 4.1
[2023-08-07 09:05:12] | Starting updated script in new window
[2023-08-07 09:05:12] | Executing: Start-Process PowerShell -ArgumentList "C:\Users\Andrew\Desktop\KAPE\KAPE-EZToolsAncillaryUpdater.ps1"
[2023-08-07 09:05:12] | Please observe the script in the new window
[2023-08-07 09:05:12] | Exiting old script
[2023-08-07 09:05:12] |  --- End of session ---
A new window then popped up with 4.2 executing. Hopefully that answers your question. Sorry for the delay in response, was busy traveling from the Summit.
Also, winget is awesome. I think we can definitely find a way to leverage it re: .NET 6 checks.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/AndrewRathbun/KAPE-EZToolsAncillaryUpdater/issues/21*issuecomment-1667827552__;Iw!!MlQdS1fu!RrTYyEjL_aNEF5UXg8WPYiTaYmF9G0WUJ-trJcVOwbnLBLoFva7u2mKDrMZL-Kn5TvJ5xFbnj-Nx946mylFKCg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AEAHTAGKOC7EDW2A34REEMDXUDSC7ANCNFSM6AAAAAA3FHJQ2M__;!!MlQdS1fu!RrTYyEjL_aNEF5UXg8WPYiTaYmF9G0WUJ-trJcVOwbnLBLoFva7u2mKDrMZL-Kn5TvJ5xFbnj-Nx946IO3zX8w$.
You are receiving this because you authored the thread.Message ID: @.***>


Mc streams

@DanielJMaher

@FBRTMaka This is awesome, but where is the "Old Streams" Button?


Increase Microsoft.Bot.Builder.Azure.Queues code coverage

Parent issue: # 5167
Description
Increase the code coverage for the Microsoft.Bot.Builder.Azure.Queues library.

Note: Originally the code coverage registered was 82%, but in the pipelines, these tests are skipped because they require the AzureStorageEmulator.

Related Pull Requests

Increase Microsoft.Bot.Builder.Azure.Queues code coverage

Current Coverage status

Promoted to MS in # 5898


end to end test with custom test case

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
How Has This Been Tested?:
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration and test output
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

It's the same error hmm
Error: vet: automation/tests/provisioning/pg-ha_test_2/pg-ha_test.go:178:63: cannot use &tm (value of type **ndb_api.TimeMachineResponse) as *ndb_api.TimeMachineResponse value in argument to util.CheckTmInfo


Markdown link diagnostics: Header link to other file not revalidated when other file changes

Testing #149979
md.md:
[a link](/sub/sub2.md#hello)

sub/sub2.md:
# Hello

Changing the header in sub2.md should make the warning in md.md appear/disappear, but that is not updated when sub2.md changes, only when changing md.md.

Same for reference links like [ref]: sub/sub2.md#hello.


[DROOLS-1080] make ProjectClassLoader.getResources to work with ZipKi…

…eModules

Confirmed, this PR fixes the bug I had. Great :)
+1  to merge


Adding help for creating POM information

About this issue
Referring to #512:
Maybe you could also briefly include an explanation, how to include information about own libraries in a POM file, so that AboutLibraries can detect those information.
Checklist

[x] Searched for similar issues
[x] Checked out the sample application
[x] Read the README
[ ] Checked out the CHANGELOG
[x] Read the MIGRATION GUIDE

@cyb3rko so in this regards. basically if you create a library, it is suggested that you make use of the POM specification and fill as much information as possible. E.g. author, name, license, ...
And the plugin will automatically pick it up
https://maven.apache.org/pom.html
Also look into the spec on data like licenses:
https://maven.apache.org/pom.html#Licenses

Oh ok, thanks.
I asked because I want to add information via POM to an existing library.
I hope I can find it now, thanks!

If it is not your library and you want to add information to your project that is a bit of a different topic.
Usually information from maven should be sufficient. but in some cases that's sadly not the case.
so for these you can still do the library definition file (as linked above, the old approach) and then "enchant" a library with this information.
There are various files to add information to a library:
https://github.com/mikepenz/AboutLibraries#gradle-plugin-configuration
or you can do it programmatically to add pieces of information to a library:
https://github.com/mikepenz/AboutLibraries/blob/develop/library/src/main/java/com/mikepenz/aboutlibraries/LibsBuilder.kt#L373

I think you missunderstood me, the library owner asked me to implement the information to his open source library by opening a new PR, so I think it is not that hard.

I want to improve the library by directly coding IN the library code.
Where exactly do I include all the things that are listed on the site you sent?
And where did you include them e.g. in this library here? Do they belong in the gradle.properties (because if you search for "POM" in this library here in the gradle.properties you can find that you included some POM information in the gradle.properties)?

Well that really depends on the setup of that library. there are many ways for a dev to set that up.
I usually have the infos in the gradle.properties. but I also had projects where I did it within gradle
https://github.com/mikepenz/FastAdapter/blob/develop/library-core/gradle.properties
https://github.com/mikepenz/FastAdapter/blob/develop/gradle.properties

Ok, thanks a lot!


"config_finetune_ori.yaml"

I want to run infer_viz.py to eval and visualize, but I couldn't find "config_finetune_ori.yaml" .  Would you please provide the  "config_finetune_ori.yaml" to run infer_viz.py.

Hi, thanks for pointing it out. I have cleaned up the infer_viz.py and added the instructions for running inference in the README. Let me know if you encounter any problems running it.

Thank you for your modifications to the infer_viz.py. By running infer_viz.py, I noticed a significant difference between the predictions and corresponding labels in the generated preds_on_lnp_hela_with_feat.csv file. Does this indicate that the fine-tuned model performs poorly? Additionally, I would like to know how to run your code to achieve the selection of the final candidate set of 15 LNPs.


feat(Pipelines): Support multiple ints in pipeline

Add support for  multiple ints parameter in pipeline.
Changes
If relevant, please add some screenshots or a short video.

This component is a good candidate for some quick tests

@cheikhgwane Quentin has reworked part of this PR.
Could you review the changes, and test it throughly in your dev environment?
Thanks!

@cheikhgwane Quentin has reworked part of this PR.
Could you review the changes, and test it throughly in your dev environment?
Thanks!

Yes, on it.

@qgerome I've updated the PR to display the parameters values for textarea, and also changed the multiple int param test to use userEvent.paste instead of type (type was returning the value one by one).


view all installation options and platform picker are poorly "centered"

Issue seems to be because of lack of new css release
leaving open for test


crash in car daemon results in confusing error

Describe the bug
While developing the Alfa Romeo port, I made an error which resulted in card crashing on startup.
Before card was introduced, when controlsd would crash at startup, you would see "waiting for controls to start". For any other service crash, there would be a Process Not Running alert.
With controlsd and card separated, when there is a crash in car port code, it's now manifesting as "CAN error: check connections".  This resulted in quite a lot of confusion and time spent troubleshooting by both myself and the Alfa Romeo owner.
It is desired that a card crash show a Process Not Running or similar more clear alert.
Provide a route where the issue occurs
12b6b35de7477fcc/00000003--1af65ad310
openpilot version
this week's master + a car port
Additional info
No response

It's now "waiting for controls to start" and "process not running".


Fixes for URL encoded query string data in service URLs

Fixes #18 and #19.
This PR is an expansion of scottt732's url-encoding-bugfix branch that additionally fixes issues with URL encoded data in a service URL when the request has to first be redirected to the CAS server (in which case it goes through more URL encodes/decodes).
Easy Test Case

With current master branch and a clean browser state (i.e. no existing CAS session) navigate to your application's URL with the query string of ?data=%2B.
After successful CAS login, the data query item value will be a space (because most browsers interpret the + as a space when decoded).
While still having the active CAS session, navigate to the same URL as in step 1. The data query item value will now be the correct value of +.
End your CAS session (e.g. closing browser/clearing cache)
Rebuild the application with this branch.
Navigate to the same URL as in step 1.
Login with CAS.
The data query item value will correctly be +. All subsequent requests to the same URL will still yield a data value of +.

Other Test Cases
Per issue #18, the OP had example initial data values of (service URL value => final value):

7J%2fMlsKOh99bxaaUpZSeJRD0avGuP%2brv%2fRo48w4%2brHTk%2bSQ628pOYLZ0zyUzj2M7TwhZdt6mrtyb7419rMmsSQ%3d%3d => 7J/MlsKOh99bxaaUpZSeJRD0avGuP+rv/Ro48w4+rHTk+SQ628pOYLZ0zyUzj2M7TwhZdt6mrtyb7419rMmsSQ==
XfFhVx%2fy7vGiBQjq5MC%2fbfaGM6KZnDBSOISIwmmj7BM%3d => XfFhVx/y7vGiBQjq5MC/bfaGM6KZnDBSOISIwmmj7BM=

These should be interchangeable into the easy test case scenario to show that, before the fixes in this branch, the initial request that results in CAS authentication fails to preserve the query string data properly. But this PR should always preserve that query string, regardless of the state of CAS authentication.

@hokiecoder I think this is a prime candidate for the first unit tests in this repo/project!
Do you have any experience with writing unit tests?  If yes, what framework do you prefer?

@phantomtypist Sorry it took me so long to respond to your question. I don't have any appreciable experience with unit testing frameworks, so I have not developed an affinity for one over any other. What is your preference? Do you think it would be a good idea to create a new issue (really a question/poll) to discuss frameworks and pick one based on developer feedback? Or have you already moved forward with one at this point?

I personally use NUnit.  I'm not opposed to using something else.  The other two popular ones that I hear people using are xUnit and the built-in Microsoft provided one.
Raygun actually wrote a good article on the comparison between those exact three: https://raygun.com/blog/unit-testing-frameworks-c/

I didn't fully answer your question...
I haven't moved forward with one inside this project.  I wanted to wait for your input and others.
I'll send out an email now to the internal contributors (and you) putting it up for a vote and see what people say.  Like I said, I'm open to whatever the consensus is, as they all solve the same problem at the end of the day.


Review and add notebook toolbar

Some of the icons exist (provided by VSC), & some don't.
These will need to be hooked to a command.

We have these now.


some shapes display as  blank squares

like BPMN 2.0/Gateways , BPMN 2.0/Tasks

Yes, I do have the same issue!
For example, the Kubernetes shapes are all solid blue.


[Event Request] table 130 "Incoming Document" - OnBeforeShowRecord

Can we please get the following event?
procedure ShowRecord()
var
    PageManagement: Codeunit "Page Management";
    DataTypeManagement: Codeunit "Data Type Management";
    RecRef: RecordRef;
    RelatedRecord: Variant;
begin
    //+Change
    IsHandled := false;
    OnBeforeShowRecord(Rec, IsHandled);
    if IsHandled then
        exit;
    //-Change
    if GetRecord(RelatedRecord) then begin
        DataTypeManagement.GetRecordRef(RelatedRecord, RecRef);
        PageManagement.PageRun(RecRef);
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11199.


goTo Method: Odd Animation Behavior

I consider myself a newbie, but I'm submitting a bug report based on some tests I've run. Really hoping I haven't made some really obvious error or oversight.
When using the goTo method within a function, it seems that some animation types work while others cause my page to freeze. I have a basic button on the first page, that leads to another section that contains an unordered list.
These animations display, and load the section with a functional, unordered list:
slideup, pop, fade.
These animations do not display, but do load the section and cause the unordered list to freeze:
slide, flip, swap, cube, dissolve.
I've made a basic example, here:
http://avoision.com/dev/jQTouch/gotoBug/
Also zipped up all the files I used in my example, here:
http://avoision.com/dev/jQTouch/gotoBug/gotoBug.zip
I posted up my question to the Google Group last week, figuring it was an issue I was overlooking:
http://groups.google.com/group/jqtouch/browse_thread/thread/41680e638df1175
On further testing, I decided on submitting a bug report here. I don't think it's related to Issue #180, but if this is a duplicate or known issue... my apologies.

Should work now. Note that you need to use flipright, etc.


Datepicker MIN doesn't disable the available dates anymore

Bug, feature request, or proposal:
Bug
What is the expected behavior?
When I set min attribute the dates before should be disabled
What is the current behavior?
When I set min attribute the dates before are not disabled
What are the steps to reproduce?
Just use datepicker. You have to use latest release - 2.0.0-beta.7
What is the use-case or motivation for changing an existing behavior?
The user is allowed to select date which is not allowed by validation attribute.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular material - 2.0.0-beta.7, this was working in 2.0.0-beta.6.

I can't reproduce it here: http://plnkr.co/edit/tkbmmlrATmjXN5sE9EbK

I'm sorry, it was my mistake (again). I can confirm this works fine.


InvalidDigit in En-US audio

Describe the bug
When I try to download chapter 3 of Lycoris Recoil (with 1 and 2 it doesn't happen) with all the subtitles and all the audios, it gives the following error:
:: Downloading subtitles    en-US (CC), en-US (CC) |                            thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/rsubs-lib-0.2.1/src/vtt.rs:601:63:
called Result::unwrap() on an Err value: ParseIntError { kind: InvalidDigit }
stack backtrace:
0:     0x7e2753eda471 -
1:     0x7e2753a2532c -
2:     0x7e2753eaa43e -
3:     0x7e2753edbd5f -
4:     0x7e2753edb66d -
5:     0x7e2753edc59a -
6:     0x7e2753edc0c0 -
7:     0x7e2753edc016 -
8:     0x7e2753edc003 -
9:     0x7e2753961d84 -
10:     0x7e27539621a2 -
11:     0x7e2753ddf2e6 -
12:     0x7e27539a0ca1 -
13:     0x7e27539ba1d4 -
14:     0x7e2753989e9a -
15:     0x7e2753b2c8e9 -
16:     0x7e2753b29c08 -
17:     0x7e2753b2b3d2 -
Testing audio by audio individually, the problem is with the English audio with all subtitle
To Reproduce
the command I sue: archive -m audio -a all -s all  --output "asd.mkv" https://www.crunchyroll.com/series/G1XHJV2X9/lycoris-recoil[E3]
Screenshots

Additional context
I use the version "crunchy-cli-v3.6.1-linux-x86_64" running it in Google Colab
the download of the chapter goes well at first, the error appears after the end of "Downloading video"

duplicate of #408


ubuntu build script fails with "Could not resolve dependencies"

Here's what I've been getting while trying to run the build script:
CMD: cabal install --constraint arithmoi -llvm -j ./ghc-parser ./ipython-kernel ./. ./ihaskell-display/ihaskell-aeson ./ihaskell-display/ihaskell-basic ./ihaskell-display/ihaskell-blaze ./ihaskell-display/ihaskell-charts ./ihaskell-display/ihaskell-diagrams ./ihaskell-display/ihaskell-hatex ./ihaskell-display/ihaskell-juicypixels ./ihaskell-display/ihaskell-magic ./ihaskell-display/ihaskell-parsec ./ihaskell-display/ihaskell-plot ./ihaskell-display/ihaskell-rlangqq ./ihaskell-display/ihaskell-static-canvas --force-reinstalls --max-backjumps=-1 --reorder-goals
cabal: Could not resolve dependencies:
trying: ghc-parser-<IP_ADDRESS> (user goal)
trying: base-<IP_ADDRESS>/installed-8aa... (dependency of ghc-parser-<IP_ADDRESS>)
next goal: ihaskell-static-canvas (user goal)
rejecting: ihaskell-static-canvas-<IP_ADDRESS> (conflict:
base==<IP_ADDRESS>/installed-8aa..., ihaskell-static-canvas => base>=4.7 && <4.9)
Dependency tree exhaustively searched.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25074367-ubuntu-build-script-fails-with-could-not-resolve-dependencies?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

You're using an old version of GHC. There are two solutions:

Upgrade to a newer GHC.
Only install those packages which support your version of ghc. Currently, that means you cannot install:

ihaskell-widgets
ihaskell-static-canvas

To install without these packages, remove them from the ihaskell-display directory.

Cool, you're right. Updating GHC did the trick.


[Tool] format generate samples

https://github.com/Azure/azure-sdk-for-python/issues/25194
test link: https://github.com/Azure/azure-sdk-for-python/pull/25286/files#diff-eef78172f229d4bc4c3485236c27827389eea87ddf3252a4392b218743ea5df1R4

@BigCat20196 I can't see the effect in test link: https://github.com/Azure/azure-sdk-for-python/pull/25286/files#diff-eef78172f229d4bc4c3485236c27827389eea87ddf3252a4392b218743ea5df1R4.


rowMap is not getting updated after deleting an item from the list

Describe the bug
if any item is deleted from the list, rowMap is still holding it as a key but it's value is null. Even though there is a state update rowMap is not getting updated unless go to another screen and come back to the current screen. That means if component is unMounted and mounted once again then only rowMap is getting updated
To Reproduce
Delete any item from list and then check rowMap if it still holds the deleted item.
Screenshots

Environment (please complete the following information):

OS: Android
RNSLV Version: "^3.2.4"
RN Version: "0.63.2"

How to update rowMap as soon any item is deleted from the list?

Have you tried adding the row data in the extraData prop of <SwipeListView>?:
<SwipeListView
  ...
  data={myListData}
  extraData={myListData}
  ...
/>

This worked for me to keep the re-render "stateful".

@staghouse This solution doesn't show any effect. Any alternative to refresh rowMap?

Hi @Yandamuri I suppose I could constantly check for changes in the data prop and compare them to the rowMap but it's a pretty expensive computation to keep rowMap stateful. Can I ask why this is an issue for you?

@jemise111  I used to get error when i try to delete two records consecutively. so i thought it's because of  rowmap. Then later i realized that i didn't provide the unique keys to the list of records. when i did so everything was ok. But i'm sure that when i console logged rowmap after deleting an item, we can see null for the deleted item as i shown in the screen shot mention in the question.

 I think you're definitely right that rowMap will have null items when rows are deleted, I just don't think it's a problem worth solving. It's just a lot easier to check to a null row on the end users side than it is for the library to try and keep the rowMap and data props in perfect sync

@jemise111 Thanks for giving clarity over rowMap.


Colab model demo notebooks output is not human-readable, just a numeric tensor

🐛 Bug
When I run the PyTorch computer vision demo notebooks, the model outputs a tensor rather than a human-readable result.  These demos would be a lot more effective at showing the capability of each model if the code would output labels or a labeled image.  I can fix it, I would just need a guarantee that someone with access would review my PR promptly so my changes can get accepted.
To Reproduce
Steps to reproduce the behavior:

Run any colab notebook from the Hub, including ResNest, etc.
https://pytorch.org/hub/facebookresearch_WSL-Images_resnext/
https://pytorch.org/hub/pytorch_vision_resnext/
https://pytorch.org/hub/pytorch_vision_resnest/
https://pytorch.org/hub/pytorch_vision_googlenet/
https://pytorch.org/hub/pytorch_vision_hardnet/
https://pytorch.org/hub/pytorch_vision_alexnet/

Expected behavior
A simple text label for the image, or the image itself with a label drawn onto it.
cc @vfdev-5

Thanks for your feedback.
I assume you refer to the following snippet of the notebook:

The intention of this is to keep things focused on how one uses the pre-trained model to make predictions with the minimum lines of code. Though showing the image with a label would be many times more aesthetically pleasing than the vector of the probabilities, it might complicate the example with lots of extra code for the image generation and dilute the message.
I do like your proposal to print the text label for the image. Showing the top 5 classes with their probabilities is more useful and something that people are likely to use. One blocker for your PR is #484. Currently TorchVision does not store the mapping between the class ids and the labels in the library. It might not completely block you from doing what you propose but it surely makes it more complex and less "guaranteed" to be merged.
If you have any good ideas on how to programmatically fetch the labels and process them in the notebook, so that you keep things neat and short, please send a PR for one of the notebooks to discuss it. Or you could also outline your solution here and proceed to the PR later to increase its chances of being merged. Up to you! :)

Thank you for the quick and detailed response.
My concern is that I use the notebooks to evaluate different models, to decide which ones I want to include in my project.  If I can't get the classes and their probabilities, I can't tell whether the model was successful in predicting my image.
Idea for a solution:

Specifically for ImageNet in the issue #484 link you sent, it looks like there are two documents: one with the indices in order but with no class description, and one with the indices out of order but with class descriptions.
I would match the class names to the indices and create a new text document with the class descriptions in order, and include it in the repo for the notebooks.
I would download that file into the notebook using !wget, then just do a short loop statement matching the tensor probability to the label.

@Tylersuard thanks for drafting this. Looks like a reasonable approach and I think this will be useful to the users. :)
Could you please send a PR for one of the notebooks so that we can discuss any details and then consider porting this to the rest of the notebooks?

Absolutely! I just created this PR: https://github.com/pytorch/hub/pull/175
Thank you for the opportunity to contribute.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 17, 2020 6:38 AM, Vasilis Vryniotis<EMAIL_ADDRESS>wrote:

@Tylersuard thanks for drafting this. Looks like a reasonable approach and I think this will be useful to the users. :)
Could you please send a PR for one of the notebooks so that we can discuss any details and then consider porting this to the rest of the notebooks?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@Tylersuard We never brought your API to the other models so that we can close the ticket. Would you be interested in doing it?

Do you mean this? If any other notebooks need changes, I would be happy to make them. https://github.com/pytorch/hub/pull/179

Yes, exactly. Seems like it's all great then. I'll close the ticket.


Improve JagGenerator

Output Image:

Oversight on my part, nice catch.

Thanks for the tool 👍 Didn't take much work to get the image I wanted out of it.


How to submit a form field which is dynamically populated?

Say I have a "customer lookup" field which uses an AJAX request to search for possible matches via a backend endpoint. On page load the <select> contains no options.
How can I populate this field with a value? I know what the ID of the value should be, but obviously the Javascript lookup to the backend does not work.
I have tried ->selectField('Customer', '1234') and also ->fillField('Customer', '1234') but neither are working.
SelectField() gives me an error such as:
Select option with value|text "1234" not found.

FillField() gives me an error such as:
...cannot take "1234" as a value (possible values: "")

Is there a way to just define the name of a form field and the value that should be sent when submitting the form?
Any pointers appreciated. Thanks.

I have a working solution for the autocomplete field which is not very elegant but seems to work.
->use(function(AbstractBrowser $browser, Crawler $crawler)
    {
        $form = $crawler->selectButton('Next Step')->form();
        $form['customer']->disableValidation()->select('1234');
        $browser->submit($form);
    })

I don't think the callback function(AbstractBrowser $browser, Crawler $crawler) is documented but it works.

Interesting solution. You could probably wrap that up into a dynamic custom browser method.

I've done exactly that.
// AppBrowser

public function selectAutocompleteField(string $formButtonName, string $selector, string $value): self
{
    return $this->use(function(AbstractBrowser $browser, Crawler $crawler) use ($formButtonName, $selector, $value)
    {
        $form = $crawler->selectButton($formButtonName)->form();
        $form[$selector]->disableValidation()->select($value);
        $browser->submit($form);
    });
}

It would be good if I didn't need to pass the form name...

I'm going to close as this seems like a niche feature that can be achieved with a custom browser or component. If there is future interest in this we can revisit.


OAuth problems with new account

I am using tweepy for a bot that I have written. The code is simple but I am receiving 401 errors when it posts the status. I have regenerated my keys and even deleted the app on Twitter. Failures occur whether I'm running Python 2.7 or 3.4.
I have followed many threads already, with no luck. Any suggestions would be greatly appreciated.
The code:
import tweepy, datetime, sqlite3
CONSUMER_KEY = ‘xxxxx’
CONSUMER_SECRET = ‘xxxxx’ # Make sure access level is Read And Write
ACCESS_KEY = ‘xxxxx’
ACCESS_SECRET = ‘xxxxx’
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.secure = True  # This was not in the original script, but seems to make no difference.
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
now = datetime.datetime.now()
dbconn = sqlite3.connect(‘/pathname/db’)
dbconn.row_factory = sqlite3.Row
c = dbconn.cursor()
c.execute('SELECT * FROM tweets ORDER BY RANDOM() LIMIT 1')
r = c.fetchone()
tweet = r[2]
api.update_status(tweet)
The error:
Traceback (most recent call last):
File "/pathname/script.py", line 35, in
api.update_status(tweet)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tweepy/api.py", line 193, in update_status
)(post_data=post_data, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tweepy/binder.py", line 239, in _call
return method.execute()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tweepy/binder.py", line 223, in execute
raise TweepError(error_msg, resp)
tweepy.error.TweepError: Twitter error response: status code = 401

Could you try to do the same thing, using the https://dev.twitter.com/rest/tools/console ? Are you still getting 401'd?

Anton,
I fixed the problem. The update_status() call was formatted incorrectly. Maybe I was looking at old documentation.
Thanks,
Michael

On Mar 16, 2015, at 7:54 AM, Anton Antonov<EMAIL_ADDRESS>wrote:
Could you try to do the same thing, using the https://dev.twitter.com/rest/tools/console https://dev.twitter.com/rest/tools/console ? Are you still getting 401'd?
—
Reply to this email directly or view it on GitHub https://github.com/tweepy/tweepy/issues/572#issuecomment-81603671.

This issue can be closed.


build fails on AArch64, Fedora 33

[jw@cn06 jax]$ python3 build/build.py
 _   _  __  __
| | / \ \ \/ /

_  | |/ _ \ \  /
| || / ___ /
___//   /_/_\
Downloading bazel from: https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-linux-x86_64
bazel-3.7.2-linux-x86_64 [########################################] 100%
Traceback (most recent call last):
File "/data/jw/jax/build/build.py", line 521, in
main()
File "/data/jw/jax/build/build.py", line 439, in main
bazel_path = get_bazel_path(args.bazel_path)
File "/data/jw/jax/build/build.py", line 165, in get_bazel_path
if check_bazel_version(path):
File "/data/jw/jax/build/build.py", line 174, in check_bazel_version
version_output = shell([bazel_path, "--bazelrc=/dev/null", "version"])
File "/data/jw/jax/build/build.py", line 51, in shell
output = subprocess.check_output(cmd)
File "/usr/lib64/python3.9/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib64/python3.9/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.9/subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.9/subprocess.py", line 1819, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: './bazel-3.7.2-linux-x86_64'
[jw@cn06 jax]$

The build script doesn't support aarch64 on Linux yet! But that's ok, we accept contributions.
I suspect we need to teach this logic about aarch64:
https://cs.opensource.google/jax/jax/+/master:build/build.py;drc=7b7a2a1ba83fec86f6fa6e4526a12c5e33f80ebb;l=81
Do you want to send a PR adding an Aarch64 case? (Another option is that we may be able to use something like Bazelisk instead of having our own "download bazel" logic.)
(I suspect once the build script is fixed, there's a pretty good chance that everything will work.)

It's pretty common that build processes have unintentional "Intel-isms".
You, please, do a PR, I'll test it and keep on reporting issues. BTW, Bazel does work already.


compilerOptions.types in tsconfig.node.json of a new vue project has no effect

Describe the bug
I created a new vue project by selecting Customize with create-vue ↗ while it asked me to Select a variant, and certainly picked TypeScript afterwards
With this procedure, the generated project structure will have 3 tsconfig files:

tsconfig.json which having references to the other 2 files

{
  "files": [],
  "references": [
    {
      "path": "./tsconfig.node.json"
    },
    {
      "path": "./tsconfig.app.json"
    }
  ]
}

tsconfig.node.json

{
  "extends"<EMAIL_ADDRESS>  "include": [
    "vite.config.*",
    "vitest.config.*",
    "cypress.config.*",
    "nightwatch.conf.*",
    "playwright.config.*"
  ],
  "compilerOptions": {
    "composite": true,
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "types": ["node"]
  }
}

tsconfig.app.json

{
  "extends"<EMAIL_ADDRESS>  "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
  "exclude": ["src/**/__tests__/*"],
  "compilerOptions": {
    "composite": true,
    "baseUrl": ".",
    "paths": {
      "@/*": ["./src/*"]
    }
  }
}

Where we can see that compilerOptions.types is set in tsconfig.node.json
However, in tsconfig.app.json, which extended @vue/tsconfig/tsconfig.dom.json:
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "types": []
  }
}

We can see that it has a entry "types": [] that I believe is overwritting the value set in tsconfig.node.json. So that setting or editting compilerOptions.types in tsconfig.node.json has no effect
Reproduction
https://github.com/oliver139/new-vite-vue
Steps to reproduce

pnpm create vite
Enter a project name
Select Vue as framework
Select Customize with create-vue ↗
Add TypeScript? Yes
Add JSX Support? No
Add Vue Router for Single Page Application development? Yes
Add Pinia for state management? Yes
Add Vitest for Unit Testing? No
Add an End-to-End Testing Solution? No
Add ESLint for code quality? Yes
Add Prettier for code formatting? No

System Info
System:
  OS: macOS 13.4
  CPU: (12) arm64 Apple M2 Pro
  Memory: 59.80 MB / 16.00 GB
  Shell: 5.9 - /bin/zsh
Binaries:
  Node: 18.17.1 - ~/Library/pnpm/node
  npm: 9.8.1 - ~/Library/pnpm/npm
  pnpm: 8.7.6 - ~/Library/pnpm/pnpm
Browsers:
  Brave Browser: <IP_ADDRESS>
  Chrome: 117.0.5938.92
  Edge: 117.0.2045.35
  Safari: 16.5
  Safari Technology Preview: 16.4
npmPackages:
  @vitejs/plugin-vue: ^4.2.3 => 4.3.4
  vite: ^4.4.5 => 4.4.9

Used Package Manager
pnpm
Logs
No response
Validations

[x] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I'm pretty sure the types are isolated for each file specified in the "include" configuration, so they are mutually exclusive, so the types: [] isn't likely the cause. But for any further questions, please open an issue at https://github.com/vuejs/create-vue instead. We don't maintain the templates for create-vue.


cargo build --locked description is confusing

Problem
In short:
cargo build --locked description claims it requires the Cargo.lock to be up to date, but building works on an outdated file anyway.
Long version:
The description in cargo build --help about --locked parameter says:

--locked                    Require Cargo.lock is up to date

And the information in Cargo documentation says:

--frozen
--locked
Either of these flags requires that the Cargo.lock file is up-to-date. If the lock file is missing, or it needs to be updated, Cargo will exit with an error. (...)

When running cargo outdated on my project I get information about outdated packages:
$ cargo outdated
Name                                Project  Compat  Latest  Kind    Platform
----                                -------  ------  ------  ----    --------
clap_derive->proc-macro2            1.0.43   1.0.44  1.0.44  Normal  ---
proc-macro-error->proc-macro2       1.0.43   1.0.44  1.0.44  Normal  ---
proc-macro-error-attr->proc-macro2  1.0.43   1.0.44  1.0.44  Normal  ---
quote->proc-macro2                  1.0.43   1.0.44  1.0.44  Normal  ---
syn->proc-macro2                    1.0.43   1.0.44  1.0.44  Normal  ---

But when I try to build it with the --locked option, it works anyway, using outdated dependency:
$ cargo build --locked
(...)
Compiling proc-macro2 v1.0.43
(...)
Finished dev [unoptimized + debuginfo] target(s) in 11.50s

BTW building without that option uses the same version of proc-macro2.
Steps

git clone https://github.com/ArekPiekarz/struct-formatter.git
cd struct-formatter
It should be at commit 071febcdb1f0b875d030b40094d02260f4469c16. If not, git checkout <revision>.
Confirm with cargo outdated that at least one dependency is outdated.
cargo build --locked

Expected:
According to the description, the build should fail.
Actual:
The build succeeds, using outdated dependency.
Possible Solution(s)
Perhaps the description should say what does it mean that a package is "up to date". Or perhaps it should read "use versions from Cargo.lock or exit with error if it doesn't exist".
Notes
No response
Version
cargo 1.64.0 (387270bc7 2022-09-16)
release: 1.64.0
commit-hash: 387270bc7f446d17869c7f208207c73231d6a252
commit-date: 2022-09-16
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Manjaro 22.0.0 (Sikaris) [64-bit]

I believe the wording outdated refers to the lock file itself, not the dependencies in it. So if Cargo.toml is newer and than Cargo.lock it will fail as Cargo.lock is outdated (needs to be regenerated).


Unable to deploy - TypeError: this.getCallerIdentity is not a function

Hi,
I am unable to deploy when using the latest version of serverless-newrelic-lambda-layers due to a TypeError being thrown:
Serverless: DOTENV: Loading environment variables from .env, .env.local, .env.dev:
Serverless:      - SLS_STAGE
Serverless:      - WS_CALLBACK_URL
Serverless:      - AWS_DAX_ENDPOINT
Serverless:      - RELIC_API_KEY
Serverless:      - RELIC_ACCOUNT_ID
Serverless:      - AWS_ACCESS_KEY_ID
Serverless:      - AWS_SECRET_ACCESS_KEY
Serverless:      - AWS_DEFAULT_REGION
Serverless:      - AWS_PROFILE
Loading Dynamic config...
Serverless: Warning: S3 Transfer Acceleration will not be enabled on deploymentBucket.
Serverless: WarmUp: no functions to warm up
Serverless: Using deployment bucket 'sls-bucket-awscc-dev'
Serverless: Bundling with Webpack...

-- WEBPACK BUNDLE OUTPUT --

Serverless: Package lock found - Using locked versions
Serverless: Packing external modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Serverless: Plugins: ["serverless-webpack","serverless-plugin-warmup","serverless-dotenv-plugin","serverless-newrelic-lambda-layers","serverless-prune-plugin","serverless-dynamodb-local","serverless-domain-manager","serverless-deployment-bucket","serverless-localstack","serverless-stack-output","serverless-offline"]
Serverless: Adding NewRelic layer to awsConnect
Serverless: Adding NewRelic layer to connectionHandler
Serverless: Adding NewRelic layer to wsHandler
Serverless: Packaging service...
Serverless: Installing dependencies for custom CloudFormation resources...

  Type Error ---------------------------------------------

  TypeError: this.getCallerIdentity is not a function
      at NewRelicLambdaLayerPlugin.<anonymous> (/project/node_modules/serverless-newrelic-lambda-layers/dist/integration.js:28:43)
      at Generator.next (<anonymous>)
      at fulfilled (/project/node_modules/serverless-newrelic-lambda-layers/dist/integration.js:5:58)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          linux
     Node Version:              13.9.0
     Framework Version:         2.0.0 (local)
     Plugin Version:            4.0.2
     SDK Version:               2.3.1
     Components Version:        3.1.2

error Command failed with exit code 1.

Related Configuration:
plugins:
  - serverless-webpack
  - serverless-plugin-warmup
  - serverless-dotenv-plugin
  - serverless-newrelic-lambda-layers
  - serverless-prune-plugin
  - serverless-dynamodb-local
  - serverless-domain-manager
  - serverless-deployment-bucket
  - serverless-localstack
  - serverless-stack-output
  - serverless-offline

custom:
  stage: ${opt:stage, self:provider.stage}
  dynamic: ${file(config.js)}
  webpack:
    webpackConfig: ./webpack.config.js
    includeModules: true
    packager: 'yarn'
  newRelic:
    enableIntegration: true
    accountId: ${env:RELIC_ACCOUNT_ID}
    logEnabled: true
    cloudWatchFilter: '*'
    apiKey: ${env:RELIC_API_KEY}

Top Level Deps
  "devDependencies": {
    "@babel/core": "^7.11.6",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-transform-runtime": "^7.11.5",
    "@babel/preset-env": "^7.11.5",
    "axios-mock-adapter": "^1.18.2",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.3.0",
    "babel-loader": "^8.1.0",
    "concurrently": "^5.3.0",
    "cross-env": "^7.0.2",
    "eslint": "^7.8.1",
    "eslint-config-airbnb-base": "^14.2.0",
    "eslint-config-prettier": "^6.10.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-jest": "^24.0.0",
    "eslint-plugin-prettier": "^3.1.4",
    "jest": "^26.4.2",
    "jest-date-mock": "^1.0.8",
    "prettier": "^2.1.1",
    "serverless": "^2.0.0",
    "serverless-deployment-bucket": "^1.1.2",
    "serverless-domain-manager": "^4.2.0",
    "serverless-dotenv-plugin": "^3.0.0",
    "serverless-dynamodb-local": "^0.2.39",
    "serverless-graph": "^0.3.2",
    "serverless-localstack": "^0.4.27",
    "serverless-newrelic-lambda-layers": "^0.2.0",
    "serverless-offline": "^6.7.0",
    "serverless-plugin-warmup": "^4.9.0",
    "serverless-prune-plugin": "^1.4.2",
    "serverless-sentry": "^2.0.2",
    "serverless-stack-output": "^0.2.3",
    "serverless-webpack": "^5.3.4",
    "shelljs": "^0.8.3",
    "thread-loader": "^2.1.3",
    "webpack": "^4.44.1",
    "webpack-node-externals": "^2.5.2"
  },
  "dependencies": {
    "amazon-dax-client": "^1.2.4",
    "aws-sdk": "^2.750.0",
    "axios": "^0.20.0",
    "babel-core": "^7.0.0-bridge.0"
  }

@BradenM Thanks for reporting. We will get this fixed. In the meantime, you should downgrade to v0.1.x.

@BradenM Ok, we've released a fix. Let us know if you see any other errors. Thanks again!

@kolanos
No luck after upgrading :grimacing:
See my comment: https://github.com/newrelic/serverless-newrelic-lambda-layers/commit/01d8158102ece898e6ecdf9a3e7f2151bf37d237#r42239779

@BradenM Should be fixed now with v0.2.2.

:+1: Can confirm. Thanks!


Keyboard occasionally doesn't wake MacOS computer

Possibly related to #21
Occasionally when the computer has been sleeping for awhile, I try to wake it by pressing a key on the keyboard and it doesn't wake.

Related issue: https://github.com/rp-rs/rp-hal/pull/406
Example usage: https://github.com/ithinuel/wilskeeb/blob/b5ec32751296f7bbcfca0da8c59499bfb91f8770/firmware/src/main.rs#L353-L359

Oh, I probably just need to set this flag:
https://docs.rs/usb-device/0.2.9/usb_device/device/struct.UsbDeviceBuilder.html#method.supports_remote_wakeup

Here's a reference on how to do it properly:
https://github.com/ithinuel/wilskeeb/blob/b5ec32751296f7bbcfca0da8c59499bfb91f8770/firmware/src/main.rs#L353-L359


[stable/graphite] Fix missing image tag in init container spec

What this PR does / why we need it:
Graphite recently changed their initialization scripts in 1.1.5-x. The init container using :latest resulted in a failure to run the init script and a crash loop.
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

/assign @fabian-schlegel
/assign @monotek

/assign @fabian-schlegel


Possible to get a windows build?

Just wondering, seems like for example this person got it working without too much workaround https://anaconda.org/pavoljuhas/gsl/files.
I was about to maybe submit a recipe of my own that depends on gsl, so it would simplify my life a bit if inclusion would not be too troublesome.

That recipe uses seems to be using mingw. I believe that is not advisable, but @mingwandroid can probably say more.
We could try msys2 though. That is available in defaults.

Oh ok, as a curiosity (as I might consider stealing their precompiled dll for distribution), why is mingw not advisable versus say msys or anything else? Availability of runtime dll or something else with conda forge specifically?
Mostly wondering since if it makes it impossible to use without installing the whole of mingw it kind of defeats the purpose.

I'd just like to second this. I'd like to package my application for windows, but I can't get the GSL dependency working. Why does GSL depend on mingw, but things like (e.g) HDF5 seem to compile OK under MSVC?

AFAIR GSL uses Autotools. Autotools doesn't work with MSVC (without hacks), partially due to MS using / to pass switches (though nowadays you can use - instead) and partially because Autotools is a GNU project as is GSL and those guys have a preference for open source toolchains, especially their own, GCC.
I doubt Autotools would reject patches that made it support MSVC nicely, but I wouldn't hold my breath on them implanting that themselves.
Also, if C99 is used in GSL then MSVC doesn't support that well.
If you are building C DLLs you can sometimes use ones by either compiler in a program built with the other compiler.

Mostly wondering since if it makes it impossible to use without installing the whole of mingw it kind of defeats the purpose.

I'm not sure what you mean by this. mingw-w64 is a toolchain and hardly any of it needs to be present on an end users machine. To use mingw-w64 built DLLs you typically need one DLL, libgcc. If it's C++ you also need the libstdc++ DLL.

That should have read possible, not impossible. Just bundling a libgcc.dll is much easier than having people install msys/mingw/etc, which is what I was referring to as being overkill for the purpose of using one (GSL) dll I'd like to distribute.

Thanks @mingwandroid, this is really clear and helpful!
It would be great if there was some way of linking to GSL on windows in conda-forge, as this is a really common dependency for scientific software. I don't think having an extra dependency on libgcc is a big deal, but (being a windows noob) I have no idea how to go about doing this. Are there any recipes out there that do something similar?

Check rpy2 on defaults. It is a Python module which links to python??.dll (obviously) and also R.dll from r-base, which is the core DLL of the R language and is built with mingw-w64. Also of interest, but less so, is theano (on defaults) which is a Python module that calls mingw-w64 GCC at runtime to compile optimized kernels. These kernels are also Python modules that it then loads and executes.

Just for my reference, here's the link to the rpy2 recipe. Thanks @mingwandroid!

No problem. One thing to note with the rpy2 recipe is that it generates mingw-w64 import libraries for the python DLL in bld.bat. This is no longer necessary since I released libpython 2.0 on defaults last week.

Just googling around for solutions to compiling GSL and I came across this answer on Stackoverflow. It looks like there is a project with CMake support for GSL that works with Visual Studio.
Here is the GitHub repo for the project: https://github.com/ampl/gsl
The CMake script has been accepted upstream, and is in the contrib directory of the source.
Could provide the basis for a working GSL distribution on Windows? It looks like there is a conda  windows package for cmake.

Sounds good.

I tried out the cmake based solution from the Stackoverflow answer on AppVeyor's build machines, and it seems to work fine. All I had to do was
git clone git://github.com/ampl/gsl.git
cd git
cmake .
msbuild GSL.sln

and that was it. There are some executables in the bin/Debug (e.g., randist_test.exe), and these seem to run and succeed (I didn't try them all, just a handful). In the Debug directory there are gsl.lib and gslcblas.lib files, which I think is what we need ultimately.
So, this all seems to work pretty well. I guess for a real recipe we should pull the cmake files in as a patch to the distribution tarball. I'm happy to move this forward, but I could use some help on where to go from here. Any pointers would be much appreciated!

Have submitted a PR ( #11) to add Windows build per some suggestions mentioned in this issue. Could use some help over there.

There is another recipe, but it may be only for gsl 1.8.


@Morriar: remove the do
loop
  print 1
end


update votes bar to include a lock when Shutter voting is used

like on alpha.nance.app and moondao

fixed https://github.com/nance-eth/nance-interface/commit/22035ce2a21f14f207973a76462e3730ae86bc4e


Resolver Refactor

This is a fairly sizeable refactor to make badger more maintainable. The Resolver class has been refactored into a far more generic caching class which makes use of resolver functions to lazily resolve variable values. This refactor also aimed to add more test coverage.

Just tested this and it still makes badges 🥳

Tested and still works after the recompilation 😄

Looks like this also fixes #18! 😍


Expanding public API and documentation for plugin authors

Followup to #2059. Currently 7 namespaces are documented but there are 50+ namespaces. We should consider what other fns and namespaces to expose to plugin authors. @rundis Could you look into this? No rush but you are the expert plugin author :)

I'll keep this a running/open comment... it's going to take some time.
I've decided to start off with grouping by topic. There will be duplicates across topics !
Language plugins
When writing a language plugin, these namespaces are probably very useful to document.
Pri 1

lt.objs.clients
lt.objs.clients.tcp
lt.objs.proc
lt.objs.sidebar.clients
lt.objs.eval

Pri 2

lt.objs.popup
lt.objs.dialogs
lt.plugins.auto-complete
lt.objs.console
lt.plugins.doc (only stuff/behaviors related to language docs really)
lt.objs.jump-stack

Additional notes
The whole process of initiating and realizing connections to clients is quite complex, so I think maybe it needs a section/page on the wiki. Here we can explain the "std" scenario used by some of the existing plugins in the wild. We have some references external docs on this, but I think we need an official LT page outlining the various steps and scenarios. We should also explain plugin points and alternative routes for customizing the "default" example to be able to handle other scenarios. I've started to dig quite deep into this with my elm plugin and it's easy to get lost in behaviors and async stuff ! Once I get my elm-light refactor completed I can start off with doing a "Writing and connecting a node client with Light Table" page :-)
The gut feeling after working with this a few times now, is that really it should be possible to make this easier. Would be cool to brainstorm this topic on how to make it more approachable for future language plugin authors.
Autocomplete

lt.plugins.auto-complete

This plugin also should have a separate wiki page on how to use and what options you have at your disposal.
Working with the LT UI
I've frequently come across these namespaces when doing ui related stuff in plugins

lt.objs.tabs
lt.objs.sidebar.*
lt.objs.statusbar
lt.util.dom

The 3 first would benefit from some examples of usage wiki type of pages I think


VFS SDSPI stops to work after some time (IDFGH-6375)

Environment

Development Kit:      Custom board with ESP32-WROOM-32E
Kit version N/A
Module or chip used:  ESP32-WROOM-32E
IDF version (run git describe --tags to find it):
v210627-20-ge59ffe4
realease-v4.4
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2) 8.4.0
Operating System:     macOS
Using an IDE?: VSCode
Power Supply: USB

Problem Description
The problem is related to usage of SD card via SPI interface.
I use an SD NAND chip - XTSD08G https://whycan.com/files/members/3/XTX_SD_NAND_1Gb_2Gb_4Gb_8Gb_XTSD0xGLGEAG_V2.pdf
It's also used in this shield (but 512 Mb) https://learn.adafruit.com/adafruit-spi-flash-sd-card
The card is connected to pins that are not assigned to SPI driver natively, so, the connection uses GPIO matrix then:
#define PIN_NUM_MISO GPIO_NUM_16
#define PIN_NUM_MOSI GPIO_NUM_4
#define PIN_NUM_CLK  GPIO_NUM_5
#define PIN_NUM_CS   GPIO_NUM_18

For testing purposes I also use Arduino sketch (attached esp32-sdcard-poc.ino.zip ) and SD library from here https://github.com/nhatuan84/esp32-micro-sdcard
Expected Behavior
Stable work of SD card using SPI bus and driver form IDF
Actual Behavior
After some successfull writing operations to a file, the SD card stops to respond to the CMD13 SD command and logs show timeout code 0x107. It happens always after some CMD24.
On the log chunk below:
28150 - CMD13 sending initiated
28202 - CMD13 successfull
28210 - CMD24 initiated
28302 - CMD24 successfull
28405 - CMD13 initiated
28451 - CMD13 fails with ESP_ERR_TIMEOUT = 0x107
All further commands before remonting SD card do fail with ESP_ERR_TIMEOUT.
After restart the boad, the SD card is mounted successfully, and SD commands (including CMD13) complete without errors just before first CMD24.
V (28143) sdmmc_cmd: cmd response 000000ff 00000000 00000000 00000000 err=0x0 state=0
V (28150) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28159) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28172) spi_master: device5 locked the bus
V (28176) spi_master: polling trans
V (28180) spi_master: polling trans done
V (28183) spi_master: polling trans
V (28186) spi_master: polling trans done
D (28190) spi_master: device5 release bus
V (28194) bus_lock: dev 5 released.
V (28197) sdspi_transaction: r1 = 0x00 hw_cmd.r[0]=0xffffff00
V (28202) sdmmc_cmd: cmd response 000000ff 00000000 00000000 00000000 err=0x0 state=0
V (28210) sdmmc_cmd: sending cmd slot=1 op=24 arg=e5000 flags=1c10 data=0x3ffb8f74 blklen=512 datalen=512 timeout=5000
V (28220) sdspi_host: sdspi_host_start_command: slot=1, CMD24, arg=0x000e5000 flags=0x7, data=0x3ffb8f74, data_size=512 crc=0x62
V bus_lock: dev 5 acquired.
D (28234) spi_master: device5 locked the bus
V (28238) spi_master: polling trans
V (28241) spi_master: polling trans done
V (28245) spi_master: polling trans
V (28248) spi_master: polling trans done
V (28252) bus_lock: dev 5 served from bg.
V (28255) spi_master: polling trans
V (28258) spi_master: polling trans done
V (28262) spi_master: polling trans
V (28265) spi_master: polling trans done
V (28269) spi_master: polling trans
V (28272) spi_master: polling trans done
V (28276) spi_master: polling trans
V (28279) spi_master: polling trans done
V (28282) spi_master: polling trans
V (28286) spi_master: polling trans done
D (28289) spi_master: device5 release bus
V (28293) bus_lock: dev 5 released.
V (28296) sdspi_transaction: r1 = 0x00 hw_cmd.r[0]=0xffffffff
V (28302) sdmmc_cmd: cmd response 00000000 00000000 00000000 00000000 err=0x0 state=0
V (28309) sdmmc_cmd: sending cmd slot=1 op=24 arg=44200 flags=1c10 data=0x3ffb7740 blklen=512 datalen=512 timeout=5000
V (28319) sdspi_host: sdspi_host_start_command: slot=1, CMD24, arg=0x00044200 flags=0x7, data=0x3ffb7740, data_size=512 crc=0x79
V bus_lock: dev 5 acquired.
D (28333) spi_master: device5 locked the bus
V (28337) spi_master: polling trans
V (28340) spi_master: polling trans done
V (28344) spi_master: polling trans
V (28347) spi_master: polling trans done
V (28351) bus_lock: dev 5 served from bg.
V (28354) spi_master: polling trans
V (28358) spi_master: polling trans done
V (28361) spi_master: polling trans
V (28364) spi_master: polling trans done
V (28368) spi_master: polling trans
V (28371) spi_master: polling trans done
V (28375) spi_master: polling trans
V (28378) spi_master: polling trans done
D (28382) spi_master: device5 release bus
V (28385) bus_lock: dev 5 released.
V (28389) sdspi_transaction: r1 = 0x00 hw_cmd.r[0]=0xffffffff
V (28394) sdmmc_cmd: cmd response 00000000 00000000 00000000 00000000 err=0x0 state=0
I (28402) example: Data written
V (28405) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28413) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28426) spi_master: device5 locked the bus
V (28430) spi_master: polling trans
V (28434) spi_master: polling trans done
V (28437) spi_master: polling trans
V (28440) spi_master: polling trans done
D (28444) spi_master: device5 release bus
V (28448) bus_lock: dev 5 released.
D (28451) sdspi_host: sdspi_host_start_command: cmd=13 error=0x107
D (28457) sdmmc_cmd: cmd=13, sdmmc_req_run returned 0x107
E (28462) diskio_sdmmc: Check status failed (0x107)
D (28466) vfs_fat: vfs_fat_fsync: fresult=9
D (28470) vfs_fat: vfs_fat_lseek: offset=4224, filesize:=4224
V (28476) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28485) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28498) spi_master: device5 locked the bus
V (28502) spi_master: polling trans
V (28505) spi_master: polling trans done
V (28509) spi_master: polling trans
V (28512) spi_master: polling trans done
D (28515) spi_master: device5 release bus
V (28519) bus_lock: dev 5 released.
D (28522) sdspi_host: sdspi_host_start_command: cmd=13 error=0x107
D (28528) sdmmc_cmd: cmd=13, sdmmc_req_run returned 0x107
E (28533) diskio_sdmmc: Check status failed (0x107)
D (28538) vfs_fat: vfs_fat_lseek: fresult=9
V (28542) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28551) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28563) spi_master: device5 locked the bus
V (28568) spi_master: polling trans
V (28571) spi_master: polling trans done
V (28574) spi_master: polling trans
V (28578) spi_master: polling trans done
D (28581) spi_master: device5 release bus
V (28585) bus_lock: dev 5 released.
D (28588) sdspi_host: sdspi_host_start_command: cmd=13 error=0x107
D (28594) sdmmc_cmd: cmd=13, sdmmc_req_run returned 0x107
E (28599) diskio_sdmmc: Check status failed (0x107)
D (28604) vfs_fat: vfs_fat_write: fresult=9
V (28608) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28617) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28629) spi_master: device5 locked the bus
V (28633) spi_master: polling trans
V (28637) spi_master: polling trans done
V (28640) spi_master: polling trans
V (28643) spi_master: polling trans done
D (28647) spi_master: device5 release bus
V (28651) bus_lock: dev 5 released.
D (28654) sdspi_host: sdspi_host_start_command: cmd=13 error=0x107
D (28660) sdmmc_cmd: cmd=13, sdmmc_req_run returned 0x107
E (28665) diskio_sdmmc: Check status failed (0x107)
D (28670) vfs_fat: vfs_fat_close: fresult=9
V (28674) vfs_fat: vfs_fat_open: path="/f6.txt", flags=209, mode=1b6
V (28679) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28689) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.
D (28701) spi_master: device5 locked the bus
V (28705) spi_master: polling trans
V (28709) spi_master: polling trans done
V (28712) spi_master: polling trans
V (28715) spi_master: polling trans done
D (28719) spi_master: device5 release bus
V (28723) bus_lock: dev 5 released.
D (28726) sdspi_host: sdspi_host_start_command: cmd=13 error=0x107
D (28732) sdmmc_cmd: cmd=13, sdmmc_req_run returned 0x107
E (28737) diskio_sdmmc: Check status failed (0x107)
V (28741) sdmmc_cmd: sending cmd slot=1 op=13 arg=0 flags=1c00 data=0x0 blklen=0 datalen=0 timeout=1000
V (28751) sdspi_host: sdspi_host_start_command: slot=1, CMD13, arg=0x00000000 flags=0x8, data=0x0, data_size=0 crc=0x06
V bus_lock: dev 5 acquired.

Repoweing the SD card and reinitializing doesn't help - the card is mountable, but not writeable: every first CMD24 causes all the following CMDxx timed out.
The failed SD card can be recovered with runing of Arduino sketch, that can mount the card and write and read files without any problem!
The board is the same, the card is actually a soldered on the board.
Steps to reproduce

connect the pins
Compile IDF code from attached main.c
Flash and run the code - it will write dummy text to file 'f5.txt' (content doesn't matter)
After the failure after some CMD24 it will halt on the next failing CMD13
Try to restart the system - first CMD24 causes failing CMD13
Flash and run Arduino sketch to this board with this SD
Arduino FW will show file f5.txt of some size - thus some data were actually written successfully
Arduino FW will write some lines in a file sucessfully - content desn't matter.
Flash IDF firmware and it will repeat the case from pt.4.

Code to reproduce this issue
main.cpp.zip
Debug Logs
Logs of full scenario from the "Steps to reproduce" is attachedlogs.zip in run1.log and log2.run files.
run1.log is a run starting with the Arduino FW. Then it's reflashed with the IDF FW in the motinor and the IDF FW runs writing to file f5.txt until the failure after CMD24 on line 11309 (time 56630). The device was restarted several times in order to show that SD failed state is stable.
The monitor was disconnected and the Arduino sketch was flashed again.
The run2.log is made by the same scenario as run1.log

The issue is resolved - it was weak power source for SD chip.


Mark experimental encoding as arrow.v2

This makes the previously experimental encoding the new default.
Outstanding tasks:

[x] Make the experimental encoding the fault encoding
[x] Remove the old Arrow table slice builder
[x] Rename the new Arrow table slice builder
[x] Add utilities for working with nested struct arrays in record batches
[x] ~Update transform step: identity~ No changes required
[x] Update transform step: hash
[x] ~Update transform step: count~ No changes required
[x] Update transform step: delete
[x] ~Update transform step: rename~ No changes required
[x] ~Update transform step: select~ No changes required
[x] Update transform step: project
[x] Update transform step: replace
[x] Update transform step: aggregate

:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
Commit-by-commit.

I was able to fix the linker error with:
template auto values(const type& type, const arrow::Array& array) noexcept
  -> detail::generator<data_view>;

But clangd still complains, so I guess this won't work with clang.

I was able to fix the linker error with:
template auto values(const type& type, const arrow::Array& array) noexcept
  -> detail::generator<data_view>;

But clangd still complains, so I guess this won't work with clang.

That makes no sense to me as that is definitely not a function template. It's just a regular old function.

Oh but it is a template, you use const std::same_as<arrow::Array> auto& array for the second parameter which is an abbreviated function template with a constraint.

I'll try to come up with a way to fix this later, I wanna get the aggregate plugin converted first.

I fixed this accidentally when moving everything to the header.

@tobim this is ready except for one linker error in the Nix build I do not understand. Can you take a look and push a fix directly? Other than that this is all ready with auto-merge enabled.
/nix/store/j6dpgmc0qzsilpic61bvxmfxj31c5igv-x86_64-unknown-linux-musl-binutils-2.35.2/bin/x86_64-unknown-linux-musl-ld: /build/ccU6jcvG.ltrans9.ltrans.o: in function `vast::hash_step::add(vast::type, std::shared_ptr<arrow::RecordBatch>)::{lambda(vast::record_type::field, std::shared_ptr<arrow::Array>)#1}::operator()(vast::record_type::field, std::shared_ptr<arrow::Array>) const':
[796](https://github.com/tenzir/vast/runs/5695270172?check_suite_focus=true#step:5:796)
       > <artificial>:(.text+0xd994): undefined reference to `vast::detail::generator<caf::variant<caf::none_t, bool, vast::integer, unsigned long, double, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> >, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > >, std::basic_string_view<char, std::char_traits<char> >, vast::pattern_view, vast::address, vast::subnet, unsigned char, vast::container_view_handle<vast::list_view_ptr>, vast::container_view_handle<vast::map_view_ptr>, vast::container_view_handle<vast::record_view_ptr> > > vast::values<arrow::Array>(vast::type const&, arrow::Array const&)'
[797](https://github.com/tenzir/vast/runs/5695270172?check_suite_focus=true#step:5:797)
       > /nix/store/j6dpgmc0qzsilpic61bvxmfxj31c5igv-x86_64-unknown-linux-musl-binutils-2.35.2/bin/x86_64-unknown-linux-musl-ld: <artificial>:(.text+0xdbb1): undefined reference to `vast::detail::generator<caf::variant<caf::none_t, bool, vast::integer, unsigned long, double, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> >, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > >, std::basic_string_view<char, std::char_traits<char> >, vast::pattern_view, vast::address, vast::subnet, unsigned char, vast::container_view_handle<vast::list_view_ptr>, vast::container_view_handle<vast::map_view_ptr>, vast::container_view_handle<vast::record_view_ptr> > > vast::values<arrow::Array>(vast::type const&, arrow::Array const&)'

There's a failing test on my system, related to converting arrow batches from v0/v1 -> v2.
Looking into this right now, I disabled auto-merge. I'm also not so sure about the CI failures, I don't see that on my end.

closing and reopening,, as the labels check is not working


Issues counter at local gogs server

Gogs version (or commit ref): <IP_ADDRESS>7
Operating system: ubuntu
Database:
MySQL
Can you reproduce the bug at http://try.gogs.io:
Don't know how.

This is fixed by https://github.com/gogits/gogs/pull/3207 and caused by Pull Requests being closed @Phatalist
You can wait for a Gogs release or you can build off of the develop branch for the fix :)


Bug Fixes

Interpolation at bootup -Everything slides to position when you log in
When window loses focus, the game loop stops causing a big interruption
Keypresses get stuck when you tab out while holding the key down
Thank you @KentaConifer

Rendering has bug when window is resized


docs(request-validator) Add verbose_response parameter

The Request Validator plugin gained a very useful verbose_response parameter in version <IP_ADDRESS>.
This adds it to the plugin documentation.

Direct review link: https://deploy-preview-2104--kongdocs.netlify.app/hub/kong-inc/request-validator/
Made a minor U.S. style edit for punctuation.
Thank you @cwurm!


wrong extract_hypno command on shhs.md

https://github.com/perslev/U-Time/blob/d2c5cfe2359cd4beb02fd60fdae2b2313f11bc19/resources/usleep_dataset_prep/shhs.md?plain=1#L10
extract should be fixed to extract_hypno

Thank you, fixed in 1cc7e38737639aa7f8d738576c16b4b3f3000ff7