WSL "get-prebuilt.py" syntax error

Hello, I just installed Windows Subsystem for Linux and have a problem. I installed the Ubuntu version from the App Store. I'm on Build 17093. Everything went fine. Now, I'd like to change distro to Kali Linux. I read to enter the following:
lxrun /install
git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
cd WSL-Distribution-Switcher
python get-prebuilt.py kalilinux/kali-linux-docker
python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
lxrun /setdefaultuser root
bash
export LANG=C
apt-get update
apt-get dist-upgrade
My problem is, after cd'ing to WSL-Distribution-Switcher, I enter:
python get-prebuilt.py kalilinux/kali-linux-docker
I get an error saying to change line 7 of get-prebuilt.py (in WSL folder.) It says it's a syntax error. I'm not good with syntax so I don't know how to fix this. I read online it's a problem with python 2 and 3...
The urllib.request module is part of the Python 3 standard library; in Python 2 you'd use urllib2 here.
I changed to "urllib2" but get an error about line 8 saying:
"from utils import Fore, parse_image_arg, chunked_copy, clear_progress, handle_sigint, ensure_ca_load"
I compared line 8 to the "get-prebuilt.py" on GitHub and they look the same. Can anyone help me get the syntax right on line 8 so I can continue? Do I put spaces or periods or commas? Also, I have python 3 and minimal installed. Thanks

Because you are mentioning Kali specifically, I did see their Twitter post that links to their instructions on how to get it working using WSL-Distribution-Switcher. Seeing that they were advertising it, I got Kali to begin talks to get their distro into the Windows Store. Considering it's been almost a month since those talks began, I don't think they're near ready but hopefully by the spring release they will be. There are some networking utilities of Kali that still need working on to get working in WSL (AF_Packet for example). I'm actually hoping getting Kali into the WSL fold will help prioritize that support as it's a dependency to fully run Kali the way it's meant to.

Is there any compressed rootfs tarball for Kali Linux?

That would be a affirmative. If you're not sure, check out the new chroot page Offensive Security made. They specifically call out install.tar.gz in their install steps.

You'll probably have better luck with this question on the WSL distribution switcher GitHub.

@benhillis coughs what support...? There are only other users of the distro switcher answering these issues if anybody is answering at all. Not saying it's MS's job to fix this per se, especially as this method will eventually be replaced with installing via Store but a workaround would certainly be nice.

@Schism082 The scripts require at least Python 3.6 in order to run, please make sure to install a Windows version of it, and also make sure you use that when you invoke the scripts.
@DarthSpock [regarding your deleted comment] Unfortunately I was unable to dedicate as much time as I had hope to the project due to other priorities, but fortunately I will now be able to resume working on it.

He can't use the the Python binary under WSL, since WSL will be stopped during the switch.
However, with the new WSL behavior, which supports running multiple distributions at once, it might be possible to leverage this. I'll have to look into it.

Hi, me again...I installed Python 3.6.4 64-bit on Windows. Then I couldn't get it to work on Ubuntu app from the Store. So I opened Powershell and tried installing it there. I ran:
git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
cd WSL-Distribution-Switcher
python3.6 get-prebuilt.py kalilinux/kali-linux-docker
and everything worked fine. Now I get an error on Powershell after running:
python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
[*] Probing the Linux subsystem...
Traceback (most recent call last):
File "install.py", line 48, in
basedir, lxpath = probe_wsl()
File "/mnt/c/Windows/System32/WSL-Distribution-Switcher/utils.py", line 185, in probe_wsl
basedir = os.path.join(os.getenv('LocalAppData'), 'lxss')
File "/usr/local/lib/python3.6/posixpath.py", line 78, in join
a = os.fspath(a)
Do you know how I can fix this? Or, how do I get Kali on Ubuntu App and not Powershell? Or how do I use the Windows Version of Python 3.6.4? Thank you for the help so far. Python 3.6 worked. I'll wait for replies.

Hi, me again...Would it be easier for me to install the Kali rootfs tarball listed above? I'd like to have a Kali App on Windows. Are there install directions?

Hi, I got it to work. I watched a video on YouTube. It showed me how to download and install Python 3.6.4 for Windows. And git for Windows. It explained it for me. I know have Kali GNU/Linux Rolling \n \l on CMD. Is there anyway to get it on Ubuntu App? Do I have to be in "cd WSL" to start it in CMD? And what about that App above chroot? Is that better? Please reply. Thanks

@Schism082 It's not in the Store yet. I was saying that the talks to get it into the Store have started. There's some work on both ends (MS and Offensive Security) to support being put into the Store. For now you'll have to do an unofficial method if you want to run Kali on Windows 10. If you don't mind using chroot in Ubuntu vice installing directly via WSL-Distribution-Switcher, Lxrunoffline, etc. then following the build instructions from the Kali WSL Chroot page I linked above would be a good option.

Also since your original issue was getting python working, this can technically be closed though the discussion can still continue.

Ok, that makes sense. I'll stay with Ubuntu and WSL. It works. I'll continue watching for a Kali App in the Store. Thanks again. I'll close this.

@Schism082

I'll continue watching for a Kali App in the Store.

It's there and so is Debian! Enjoy.

Try this.
1.) pip install request
2.) pip install client
After this try
get-prebuilt.py kalilinux/kali-linux-docker


Error events?

Everyone got disconnected from websocket server suddenly, it happened few times.
The normal disconnects sets reason string so I know whats going on but in this case it wasn't set.
Is there any way to debug this like listening on error events? The Node.js app didnt crash itself nor log anything so I got no clue what could've gone wrong. I used Uws v16.0.0 in in Debian 9 with Node.js v12. I saw that the 16.1.0 had some pub/sub crash fix but I dont use subscribe/unsubscribe functions so I assume thats not related? Also if there is some problem with Uws will it print something? Thanks

There are only a few reasons for disconnections, and the graceful ones are reported as such, like you wrote.
All other disconnections are essentially due to protocol errors (broken clients) or various timeouts.
You have idleTimeout default to 120 seconds, so you need to either set it to 0 (disabled) or make sure to ping the server regularly.
You also have maxBackpressure default to something like 1MB or so, also something you can look at.
Other than that, of course the server won't crash - that would be entirely unacceptable.

It was weird because everyone got disconnected at same time after being connected for awhile.
Is there any situation where this would be possible?
My client sends messages (only binary) multiple times per second.
Is the idleTimeout based on websocket ping packets or any messages?

Are you using SSLApp?

yes

Sounds like https://github.com/uNetworking/uSockets/issues/43

Looks like that indeed is the case. I tried connecting to the wss server with 2 tabs and closing the other connection with ws.end(); in code and both tabs got disconnected. I tried it with reason and code arg as well and same happened but only kicked client received the reason but both disconnected. However ws.close() doesn't have this problem. I am on Windows 10 with Node v12.12.

Great, I'll see if I can reproduce it

I still cannot reproduce the problem but I made an attempt at fixing the issue,
Could you please try and see if you can reproduce it with npm install uNetworking/uWebSockets.js#binaries
as of today

Yeah that one has the issue fixed on Windows!
I assume its working the same way on debian now as well?
What was causing it btw?

Great. Thanks for testing. OpenSSL functions can sometimes create side effects (sigh) where global per thread state is changed and needs to be cleared for the following calls to be reliable


Semantic Lidar raw_data is wrong

Each data point in the semantic LIDAR has 4 values (point, cos_inc_angle, object_idx and object_tag). These values are fine if extracted using the SemanticLidarDetection class, but if the measurement is extracted using its raw_data, the last two elements, which correspong to  object_idx and object_tag return all 0 values.

Attaching the script to test it
lidar_test.zip

Hi,
the reason for your code giving out 0 values is, that you convert Integer into float.
Array containing the point cloud with instance and semantic information. For each point, four 32-bits floats are stored.
XYZ coordinates.
cosine of the incident angle.
Unsigned int containing the index of the object hit.
Unsigned int containing the semantic tag of the object it.

x (float32)
y (float32)
z (float32)
angle (float32)
object index (int32)
object tag (int32)

Right, that's correct! Thanks you


make compilable with Visual Studio 2008

Happy to merge, but what failures does this fix?  Can you also fix the indentation, it looks like you're using a mix of tabs and spaces instead of matching what the file already is!

It fixes "cannot compile in Visual Studio 2008". Bug was not reported before. I corrected indentation.


create a route to check if user exists

it should respond with 0 or 1 + the status code only!

Sure! If you go to minimalist-api/index.js you'll find server routes like this -
// signup route
app.post('/signup', (req, res) => authenticator.signup(req, res, bcrypt, User));

This will lead to a controller function in minimalist-api/controllers/authenticator.js which looks like
const signup = async (req, res, bcrypt, User) => {
    // check frontend key
    // get hashed password
    // create user
    let temp = new User({
        username:       req.body.username,
        password:       hashedPassword,
    })
    // save user to DB
    temp.save((error, data) => {
        if(!error)
            res.status(200).send(JSON.stringify(data));
        else
            res.status(400).end('invalid');
    })
}

I want someone to make similar routes /userExists and /teamCodeExists using express which will query for the username and teamcode using mongoose and respond with
res.status(200).end('1') // if a user or team exists
res.status(404).end('0') //if no such user or team is found

I'm making this a detailed explanation because there are two similar issues like this and if you are interested I could open more.

Don't assign to me now , I would like to do some research on this because this is something look like new to me and i will let you know when i can do this.

So, I believe now I have to create one more controller to check weather /userExists or not?

yes just a function in authenticator.js

I've started working on this route because I need it urgently, here is another similar issue that is still available - check if teamcode exists


[Feature]: Group by In ScatterPlot

Description
Hi,
Thank you for making such an amazing tool!  I'd love to use the scatterplot tool with a group-by functionality, where the dots are clearly colored by which group they are a part of (e.g. experiment1, experiment2...etc), where the x axis is some variable like resource_level or dataset (that could be categorical – doesn't need to be numerical) and y axis is some performance metric. Group-by with boxplots / max like you have it elsewhere would be really nice.  The problem I'm having is that scatterplots:

Only take continuous values for the x and y axis
You can't group by categorical variables like "exp=experiment1", so it's difficult for me to visualize.

I don't particularly want to learn vega, so I've been pulling the data from the API and using matplotlib.  It would be really nice if this could be in the webapp!
Suggested Solution
Solution is above, I think.
Alternatives
No response
Additional Context
No response

Hi @abwilf!
Thanks for your suggestion! One quick question before I pass this on to our engineering team - how do you visualize grouped scatter plots? I assume you have one of the visualizations you made from matplotlib, so would love to have a look at what specifically you are looking for.
Thanks,
Ramit

Hi Ramit,
Sure, here's a visualization from matplotlib, but it's not exactly what I'm looking for.

When I created it, I just took the mean of the different groups and plotted those as lines.  So it ended up being x axis was different settings of a hyperparameter, y axis was performance, and the different lines were the groups. But what would be nice is to integrate with wandb's more general "grouping by" function, which would allow me to include things like stdev "clouds" above and below.  Now that I think about it, maybe this is more a feature of the "line plot" chart maybe.  The problem I'm having with that approach is that I can't make the x axis one of the hyperparameters – all I can choose are metrics. Yes now that I think about it that would solve the problem.  If I could select a hyperparameter as one of the axes in creating a line plot, not just metrics, that would solve my problem.  B/c grouping by is already built in there beautifully.  Is that possible?

Additionally, it'd be really nice if we could "group by" runs with the same exact hyperparameters.  Often I run many trials, and it'd be nice to group those.  That would be above and beyond amazing though.

Thanks for the context @abwilf ! I've created a feature request for this which will be tracked internally. I'll let you know when there is some movement here.

Thank you!
Best,
Alex
On Thu, Sep 1, 2022 at 3:55 PM Ramit Goolry @.***>
wrote:

Thanks for the context @abwilf https://github.com/abwilf ! I've created
a feature request for this which will be tracked internally. I'll let you
know when there is some movement here.
—
Reply to this email directly, view it on GitHub
https://github.com/wandb/wandb/issues/4165#issuecomment-1234716052, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHXHZPG6DAHU2X2CX5ULWTV4EC4XANCNFSM57LQALCA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature request: To provide a button to go to logged in user profile directly

There is no way to reach github.com/<loggedin_username> from inside of the app to reach my own profile page.

+1
When I first used the app I thought that the G icon or the Github icon would do this but both lead to gitify repo.
It would be nice if clicking on the Github icon would open the loged in user's profile instead.

It would be nice if clicking on the Github icon would open the loged in user's profile instead.

Totally agree - or if that's not possible, the GitHub icon should probably be removed as it's misleading.

We won't be adding UI complexity for minor workflow items that can easily be done in another way. You can get to your own profile using a browser bookmark or anything else -- you don't need Gitify for that. See also https://github.com/gitify-app/gitify/issues/655

I took a look and don't see the duplicate icon, just the Gitify one. Could be missing something -- but, if so, I'd love to improve consistency, so file a separate issue for that?


Update stable version in repo from 3.2.2 to 3.2.4

Think about update stable version to 3.2.4
Version: stable=3.2.2 (127 days old) => latest=3.2.4 (15 days old)
Installs: stable=569 (69.47%), latest=55 (6.72%), total=819
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

done


Folder view and ability to open existing solution without creating new.

Is your feature request related to a problem? Please describe.
Problem statement - Trying to open one repo which is only having folder structure but .Net project and trying to add existing file to folder from default explorer of VS code.
Describe the solution you'd like
Solution explorer extension has the ability to provide folder view and also to open existing folder from selected repo without any need to create new at the root.
Describe alternatives you've considered
Copies existing file to my project folder from file explorer.
Additional context
NA

I think with the latest updates you have a lot of options to open a solution file, so I'm going to close it.


objstore: Add uploaded TSDB bytes metric

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
As suggested on https://github.com/thanos-io/thanos/pull/6544#pullrequestreview-1541053296 the metric regarding the number of bytes the shipper has uploaded is best suited to be on the objstore. Therefore, this PR aims to add it to the objstore.go class.
Verification

I updated the TestTimingTracingReader test in objstore_test.go but I can add more tests if needed.
Thanks!

I was separately working in exposing the fetched bytes as a histogram. Wonder if it makes sense to integrate both of our work into a single histogram: https://github.com/thanos-io/objstore/pull/69

I was separately working in exposing the fetched bytes as a histogram. Wonder if it makes sense to integrate both of our work into a single histogram: #69

Hi  @simonswine, if I understood correctly, it seems that we are working on different subjects so perhaps we should keep our PRs separated.

Merged your PR @simonswine.
I think @simonswine has a good point. We have two options:
A. Since we have both total fetched and distribution of fetched bytes per op, we could have similar for written bytes (total and later histogram in separate PR)
B.  Although histogram's _sum might gives the same info as total counter, so we could skip adding upload bytes and focus in this PR to only add histogram (this should be easy @ritaCanavarro - just change type to histogram and use "Observe" instead of increments).
I don't have strong opinion,  I trust @simonswine you have good judgment here. Would you like to help @ritaCanavarro to get this contribution to mergable state? 🤗

Also, @ritaCanavarro you need to rebase now (:

I am also okay with both options.
And of course happy to help out @ritaCanavarro with this contribution.


Enduser installation instructions not sufficient

Available installation instructions describe the installation from a developer point of view (using minikube) but not from a end user perspective. End users won't operate DPP using minikube in production.
The Deployment as well as the Getting Started guide is referencing the Catena-X Demo infrastructure (ArgoCD, Vault) as prerequisites but outside Catena-X consortia no one will have access to these infrastructure and after consortia phase has ended the infrastructure will be potentially unavailable.
Demo Helm Charts for edc-* referencing Catena-X NG EDC repository, but Eclipse-TractusX repositories should be used.
Catenax-at-home is suggested although it has been deprecated.
Please provide installation instruction/documentation for endusers. Consider to distiguish between Enduser and Developer documentation. Currently available documentation is focused on local installation, consortia and developers.

Hi @carslen! Thank you for creating this issue, is really helpful :)
We are aware that our documentation is not 100% production ready yet. At the moment in a ongoing process to upgrade that and make it easily for the end user to install our application. There was also another issue related with that (#11) which helped us already to improve from what was available before.
This month we will be catching up and complying with the latest TRGs since we want to be part of release 3.2 (I will enforce that). As a note we were only part of release 3.0 and at that time we complied with all mandatory TRGs for release (v0.4.6).
Thank your again for raising this points, they need to be fixed!
Soon the DPP will be ready for release 3.2 💯
We will keep you informed in this issue about our updates related to your points.

Hi @carslen!
In our latest stable release v1.0.0 we included the Install.md file and refactored the documentation that was not compliant. Additionally the rest of documentation is being reviewed for Quality Gates.
We thank you again for opening this issue and improving our application quality!
I will be closing this issue if is not a problem for you so that we have it archived ;)
Best Regards,
DPP Team


Zephyr setup failure

Demonstrate an issue with action-zephyr-failure. This will stay as a PR (possibly closed) to help resolve this issue.

Doesn't demonstrate the error. Re-open if it starts showing up again.


Put issues with "Fugu Request" in a new section "Untriaged"

Is your feature request related to a problem? Please describe.
Bugs filed via the Report a bug or request a feature for this tracker link end up as "Fugu Request: ...." These usually haven't had any attention from the Fugu team, and thus form a unique category.
Describe the solution you'd like
Could we filter these into their own section, which makes it apparent that these are new, and actionable by the team?, and remove the prefix from the title?
We normally remove the "Fugu Request: " prefix once the issues have been triaged, so they'd naturally just fall into the "Under Consideration" section after that.
String prefix matching is fragile, but worst case they show up as they do today.

Please correct me if I'm wrong here, but you're talking about the Suggest a new Fugu capability link on the tracker as opposed to the feature request for this tracker link, right? The later just leads to this issue queue, where the former appears to lead to Chromium bugs with that title. Is that correct?
If it is, then yah, I can see what I can do about doing some kind of special filtering for them.

Oops, yeah, I copied/pasted without thinking. You're completely right, thanks for reading my mind. :)


Using in Swift!!!?

Hello
I want to using this component in swift language.
How? ....

Hi, I think there is no problem on using this library in a Swift project.
If so, feel free to tell me and I will fix it.
Regards

Hi @nicolasgoutaland , I got it running in swift.
But I think that it is missing that tag : < strong > Some Text< / strong > .
 Some Text (using a strong tag).
https://www.w3schools.com/tags/tag_strong.asp
Can you give me direction of how to add strong tag?

Hi,
The best way is to create a subclass of the "bold" markup tag and register it under "strong" markup.
Regards

Hi @jeremiasdsa
Did just pushed a new release with support for the strong tag.
https://github.com/nicolasgoutaland/GONMarkupParser/releases/tag/0.7.5
Regards,

Hi @nicolasgoutaland
Thanks for your reply.
I'm using pod 'GONMarkupParser' to install it.
it didn't install using pod 'GONMarkupParser', '~> 0.7.5'
Also only using pod 'GONMarkupParser'  its install the 0.7.4 version.
best regards,

Hi again @nicolasgoutaland
Got the 0.7.5 using  :
pod 'GONMarkupParser', :git => 'https://github.com/nicolasgoutaland/GONMarkupParser.git', :branch => 'master'
instead pod 'GONMarkupParser', '~> 0.7.5'
And it is all working using Swift 3. 👍
Regards,


Fix Pytest 6 PytestUnraisableExceptionWarning

Pytest 6.2 introduced a new PytestUnraisableExceptionWarning, which are disabled for the Warnings Treated as Exceptions CI job in #1038. The cause for this should eventually be fixed.
See https://github.com/asdf-format/asdf/issues/1038#issuecomment-992974471

This was likely resolved sometime before or in PR #1218.


fix#26 - Replace BrowserModule by CommonModule

As stated in #26 , a feature module should only import CommonModule and not the whole BrowserModule which belong to only the main App module of a web application

Not sure, if that module update already fixed the issue - I still receive the same error when manually replacing files with respect to the last release

Hi @ce86 . Thx for reporting this issue.
Mm not sure if it fully fix your specific problem indeed.
If so please reopen issue #26 and provide us with something to test your specific case (like a plunkr for example). Otherwise, it will be hard for us to help you :).
Thanks !


StatusCodeError 404

Received this error for Javascript as Language
{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/contents/#get-contents"}     at new StatusCodeError (/usr/local/lib/node_modules/generator-azurefunctions/node_modules/@request/promise-core/lib/errors.js:32:15)     at Request.plumbing.callback (/usr/local/lib/node_modules/generator-azurefunctions/node_modules/@request/promise-core/lib/plumbing.js:95:33)     at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/generator-azurefunctions/node_modules/@request/promise-core/lib/plumbing.js:37:31)     at Request.self.callback (/usr/local/lib/node_modules/generator-azurefunctions/node_modules/request/request.js:185:22)

Getting the same error here, tried different languages and types.


adding initial code for StratifiedShuffleSplit

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
implementation for StratifiedShuffleSplit

There is a test failure due to the doc processor cannot handle certain type. Could you please take a look at it? Let me know if it's too hard.

sure will do

Also, could you make sure these things?

Export StratifiedShuffleSplit in index.ts (check model_selection/index.ts) so the users can actually use it
add an integration test
Please add unit tests to ensure 100% coverage and all the behaviours for this code
You need to add doc strings (check other APIs) so the doc processor can actually pick it up and generate documentation.

Also, could you make sure these things?
1. Export `StratifiedShuffleSplit` in `index.ts` (check model_selection/index.ts) so the users can actually use it

2. add an integration test

3. Please add unit tests to ensure 100% coverage and all the behaviours for this code

4. You need to add doc strings (check other APIs) so the doc processor can actually pick it up and generate documentation.

fixed

@JasonShin  please review this


[Bug Report] Untilizing crashes or hangs with tensor reshaped to non tile aligned shape

Describe the bug
Untilization (tensor.to(tt::tt_metal::Layour::ROW_MAJOR)) crashes if the tesnor is in the TILE layout but not padded. This can happen if  the tensor is reshaped from a padded tensor. Weirdly, the shape of the reshaped tensor is ttnn.Shape([1, 2, 8, 256]), indicating it is not padded. Maybe this is the problem?
Found this while implementing operations for GGML, where it need to transfer results between the Metalium backend and the CPU (until I can fully implement all functions needed).
import torch
import ttnn

device = ttnn.open_device(0)

a = torch.rand(1, 1, 2, 2048)

ttnn.enable_program_cache(device)

x = ttnn.from_torch(a, device=device, layout=ttnn.Layout.TILE, dtype=ttnn.DataType.BFLOAT16)
y = x.reshape([1, 2, 8, 256])

b = ttnn.to_torch(y) # Crashes here

The equivalent C++ program hangs.
static tt::tt_metal::Tensor make_random_tensor(tt::tt_metal::Shape s)
{
    static int seed = 42;
     auto b = tt::tt_metal::owned_buffer::create(
        create_random_vector_of_bfloat16_native(
        s[0] * s[1] * s[2] * s[3] * 2
            , 2, seed++, -1));
    tt::tt_metal::Tensor t(OwnedStorage{std::move(b)}, s
        , tt::tt_metal::DataType::BFLOAT16, tt::tt_metal::Layout::ROW_MAJOR);
    return tt::tt_metal::tilize_with_zero_padding(t.to(AutoFormat::GetDefaultDevice()));
}
int main()
{
    auto device = &ttnn::open_device(0);
    AutoFormat::SetDefaultDevice(device);
    ttnn::enable_program_cache(*device); // Program cache HAS to be enabled

    auto a = make_random_tensor(tt::tt_metal::Shape{1, 1, 2, 2048});
    auto b = a.reshape({1, 2, 8, 256});

    auto c = b.cpu().to(tt::tt_metal::Layout::ROW_MAJOR);

    device->close();
}

To Reproduce
Steps to reproduce the behavior:

Run the above examples
See the crash with corrupted size vs. prev_size or it hangs

Expected behavior
The application should not crash or hang.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following environment information:

OS: [e.g. Ubuntu 20.04]
Version of software (eg. commit)

Additional context
Add any other context about the problem here.

import torch
import ttnn

device = ttnn.open_device(0)

a = torch.rand(1, 1, 2, 2048)

ttnn.enable_program_cache(device)

x = ttnn.from_torch(a, device=device, layout=ttnn.Layout.TILE, dtype=ttnn.DataType.BFLOAT16)

Now x shape is [1, 1, 32, 2048] - that 32 is a padded dimension.
I'd expect reshape into [1, 2, 8, 256] to throw as illegal in this case.
@arakhmati , wdyt, should we add more checks to reshape?

@ayerofieiev-tt is there an efficient way to work around this in TTNN? This reshape is one of the needed operation during my bringup of Gemma 2B on GGML. (I will need to eliminate this reshape for performance in the future. But now I'm focused on getting things running).

@marty1885 this reshape is not possible in tile layout. You would need to write a custom operation for this case

I see. If that's the case can we make TTNN throw when a invalid reshape is issued?

Yes. We will add a proper check and throw an error. Thank you!

@ntarafdar can you post an update on this P0 bug?

I think this works now with the reshape generality push. I'll confirm tomorrow morning.

hey @marty1885 ,
I think the issue is the API, the reshape member function on the tensor doesn't have all the checks that the ttnn reshape operation has.
the following is working:
@pytest.mark.parametrize(
    "input_shape, output_shape",
    [
        ((1, 1, 2, 2048), (1, 2, 8, 256)),
    ],
)
def test_reshape_hang(input_shape, output_shape, device):
    a = torch.rand(input_shape, dtype=torch.bfloat16)
    torch_result = a.reshape(output_shape)

    ttnn.enable_program_cache(device)

    x = ttnn.from_torch(a, device=device, layout=ttnn.Layout.TILE, dtype=ttnn.DataType.BFLOAT16)
    y = ttnn.reshape(x, output_shape) #instead of x.reshape

    b = ttnn.to_torch(y) # Crashes here
    assert_with_pcc(torch_result, b, 0.9999)

I think in our ttnn we are using ttnn.reshape so please use that function. In the meantime I will add a lower priority issue to redirect the tensor API to the ttnn api. I think this should fix your issue for now. I am closing this, if you don't think this is sufficient, please feel free to reopen.


cri-dockerd does not work with kubelet 1.26.0

In Kubernetes 1.26.0 onwards, only CRI V1 is supported. Support for CRI v1alpha2 API has been dropped.
https://kubernetes.io/blog/2022/11/18/upcoming-changes-in-kubernetes-1-26/
Can you please add support for CRI V1 as soon as possible in cri-dockerd.
Here is the error message when starting kubelet.
Dec 10 16:28:22 camphor-aws-cluster-m-aws-master1 kubelet[50361]: E1210 16:28:22.899838   50361 run.go:74] "command failed" err="failed to run Kubelet: validate service connection: CRI v1 runtime API is not implemented for endpoint "unix:///run/cri-dockerd.sock": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService"

From what I read off 125, will there be a new cri release shortly ?
—- from 125 evol262
Sorry, I didn't forget about this issue, but I got pulled off into customer cases for the past couple of weeks. I expect a patch for this to land today (Nov 9th)
———
Regards,
Ananth
On Dec 10, 2022, at 9:56 AM, Bjorn Neergaard @.***> wrote:

Duplicate #125https://github.com/Mirantis/cri-dockerd/issues/125.
—
Reply to this email directly, view it on GitHubhttps://github.com/Mirantis/cri-dockerd/issues/136#issuecomment-1345347630, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUT4YJU23IFDT2XBM4QU3YTWMS74DANCNFSM6AAAAAAS2LNSW4.
You are receiving this because you authored the thread.Message ID: @.***>


No CSS class to render tag "tr"/"tbody"

Hi, I just started using react-styleguidist and I noticed that there are some missing classes for markdown parsed tables. The table renders fine but I got some hints in the console that I should report it here.

Example:
**Table name**

| Column1   | Column2   | Column3   |
| :-------- | :-------- | :-------- |
| Content1  | Content2  | Content3  |

Table name

Column1
Column2
Column3

Content1
Content2
Content3

Thanks! That’s fine if you don’t want to change styles of this tags.


ci: node.js v20

Test on node v20, only for github actions, because we already have a lot of CI...
Summary

🤖 Generated by Copilot at 30759ec
This change adds 20.x to the node-version matrix in .github/workflows/test.yml to run the test suite with the latest Node.js version on various platforms. This helps ensure webpack's compatibility with the newest Node.js features and APIs.
Details

🤖 Generated by Copilot at 30759ec

Add Node.js 20.x to the node-version matrix to test webpack compatibility on different OSes (link)

@snitin315 We need to add node.js v20 to webpack-cli and webpack-dev-server too, it is very important places

@alexander-akait Yes, I'll add it.

Feel free to merge i blocked by flake or coverage.

@TheLarkInn let's do it after release to avoid block some PRs with new CI setup


Defensive copies for non-readonly struct queries

At the moment the generator adds the in parameter modifier for read-only structs, it does not add it for non-readonly structs.
But the method signature of the wrapper always containts the in modifier.
https://github.com/martinothamar/Mediator/blob/27761e068db29db61b9e25aaecc6f95ac742f76f/src/Mediator.SourceGenerator.Implementation/resources/Mediator.sbn-cs#L143-L144
This means, that for non-readonly structs a defensive copy is always made, which is wrong from the code-correctness perspective and for performance.
See: https://devblogs.microsoft.com/premier-developer/the-in-modifier-and-the-readonly-structs-in-c/#performance-characteristics-of-the-in-modifier for more details

Good catch! If I understand this issue correct, defensive copies are made during use (access properties etc), while by removing the in parameter a copy is also made. Can we avoid these issues by using ref instead of in on the wrapper? I think I should make some benchmarks for this to see exactly what the behavior is here. I tried to see the codegen difference for this in sharplab a while ago but was unable to produce the difference. I might be misunderstanding something here..

Yes you can use ref, but it should not be necessary.
The jit is smart enough by now, see
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEBDAzgWwB8ABAJgEYBYAKGIAYACY8gOgCUBXAOwwEt8YLAMIR8AB14AbGFADKMgG68wMXAG4aNYgGYmpBkIYBvGgzMNY2ACYQukgJ4NcGKBzAYGAEWwZsx0+aBOhYw1rYODLw8DAhoDPZxAF5xAO4a1IGBANoAsjAYABYQVgCS4pIAFHmFxWVikgDyYny2uCwAchAldlFRAOYAlAC6AZlMupY2do7EKAwAQthQFQPGDAC+oxtbW8xITHMAKqoY5BXevgxWqyYZY5EAZgwVViwIDAB8DHSrr4vLA3SgU2dzMewODGOzlIFSiXh8fmu/lBmV4Txeb0+31+LH+KyB5hB6yAA===
The asm for both methods, with and without in, is the same for a read-only struct. Even if the struct is only defacto read-only, by making all fields and methods read-only it's smart enough.
That's why I said in the PR that we can let the jit decide.


Beginners guide to TFLearn using python

Topic Suggestion
Beginners guide to TFLearn using python
Proposed article introduction
TensorFlow is an artificial intelligence library built by Google employing data flow graphs . We can now build massive neural networks with n layers using this technique. It is widely believed that TensorFlow is the greatest library for performing text-based and other machine learning and deep learning applications such as face and image recognition, voice search, and many more. Using TensorFlow, Facebook's DeepFace and Apple's Siri are able to recognize images and voices. TensorFlow is a low-level library, apart from this. TensorFlow's API is very verbose and prone to small errors, making it difficult to use directly. TensorFlow is notoriously difficult to debug. TFLearn, a wrapper framework, was created to address these issues. In this article, we are going to discuss TFLearn.
Key takeaways

Introduction to TFLearn using Python
Importing the necessary libraries ,loading and standardizing the data.
Labels Hot-Encoding and Train-Test Split
Building and fitting the model using TFLearn.
Predict using the models and predicting the test labels

Article quality
In this article we will create an TFLearn model and predicted the labels in the test data set as a way of making the reader understand the concept.
References
N/A

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts. Please feel free to suggest an alternate topic to explore. 🚀


playground: add vet

On potential pain of button overload, it might be useful to add a Vet button to the
playground. It would run go vet over the program and display the output. This would
increase vet visibility and help make self-service debugging easier. (E.g. It would have
helped with https://groups.google.com/forum/m/#!topic/golang-nuts/IneZcyGGJYM )

The front-end work I did for this (now perhaps a bit dated) can be found at https://codereview.appspot.com/103750044/ and https://codereview.appspot.com/104770043/. The hard part--splitting vet into a package and a command--is still outstanding.

Now that the new sandbox server is running on a VM, we can think about just
calling the vet command directly.
On 10 January 2015 at 06:47, Josh Bleecher Snyder<EMAIL_ADDRESS>wrote:

The front-end work I did for this (now perhaps a bit dated) can be found
at https://codereview.appspot.com/103750044/ and
https://codereview.appspot.com/104770043/. The hard part--splitting vet
into a package and a command--is still outstanding.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/7597#issuecomment-69388075.

Running playground on a sandbox makes easier to execute cmd/vet on a piece of code.
These two CLs addresses this issue, by updating both sandbox, playground frontend application and a static file shared with godoc.
Currently, it is implemented following this way:
1 - Added one entry point (/vet) to sandbox, which calls cmd/vet and parses the result as if it were a compilation process.
2 - Updated playground.js, so it calls /vet at backend.
3 - Updated Dockerfile with go get to install cmd/vet
I considered the alternative of overloading /compile endpoint with a parameter, thus switching back and forth between compilation and vetting. The reason I did not do it was that it seemed a cleaner design to keep separated different resources with different goals.
Of course, I am ready to change the implementation after debate.
Anyway, I should like to open as soon as possible another CL updating docs to mention the existence of a proxy at golang.org/compile - so other contributos do not get lost on why query-string calls are made where the sandbox expects for JSON.
https://go-review.googlesource.com/#/c/11632/
https://go-review.googlesource.com/#/c/11633/

@adg ping

@josharian ping.

Sorry, I'm busy preparing for GopherCon. I will review this after next week.
On 1 July 2015 at 08:01, GopherBot<EMAIL_ADDRESS>wrote:

CL https://golang.org/cl/11633 mentions this issue.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/7597#issuecomment-117357272.

@adg Sorry to bother you, could you please take a look at these CLs?
https://golang.org/cl/11633
https://golang.org/cl/11632

After Go 1.5 is out, yes.
On 27 July 2015 at 16:23, Carlos Cirello<EMAIL_ADDRESS>wrote:

@adg https://github.com/adg Sorry to bother you, could you please take
a look at these CLs?
https://golang.org/cl/11633
https://golang.org/cl/11632
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/7597#issuecomment-125100543.

I am working on it. Please give me early feedback if you have it.

/CC @andybons @bradfitz

UI lgtm!

Reviewers are welcome here: https://golang.org/cl/100776


Proposal: Telegram Chat Test Button

Goal
After setting up the Telegram Bot Token and Chat ID from this documentation, some users asking me how they can ensure that the telegram configuration works. Because currently, the telegram chat will only be sent by the system when our customer sites are down.
So we need a "test notification" button on the user profile page. When user click the button, they will get the notification from their telegram bot.
Checklist

[x] A "Test Notification" button on the user profile page
[x] The Telegram bot will send a message "Test from Uptime Monitor" when user click the button.
[x] Show error messages that return from the telegram API response

Current progress

Add a "Test Telegram Chat" button when the telegram bot token and a Chat ID is available
Send a telegram test message when user click the button
Show the error response from telegram API when something is wrong.

Screenshots
Send a telegram test message when user click the button

Show the error response from telegram API when something is wrong

The task requirements have been done, we are closing this issue.


App Proxy Redirect loop

Hi, thanks so much for this awesome library.
I'm exploring in order to explore how viable it would be to add extra functionality for my Shopify projects, and excited for the possibilities this opens.
Going through the install steps, I'm stuck at the App proxy configuration.
I've wen't through the steps for creating the app proxy:

Checked that the merchant proxy settings use the same defaults, added the route to the Laravel application:
Route::get('/proxy', function () {
  return response('Hello, world!')->withHeaders(['Content-Type' => 'application/liquid']);
})->middleware('auth.proxy');

But then each time I try to open the app URL in my browser like https://merchant.com/apps/product-builder it keeps redirecting as seen on the ngrok panel:

I most be missing some crucial step here, could you help?
Thanks!

It's been a while since I tested it but it looks like I had to specify a 200 http response on a proxy I did.
return response($html, 200)->header('Content-Type', 'application/liquid');

Hmm I'll check this out. But yes, try strictly returning 200. I'll test it out and see if something's changed with Shopify.

Are you using Valet? I believe the redirection loop is caused by the Nginx config. I am unable to reproduce. See image attached.
If you're using valet secure && valet share, and you're on a free plan, you need to edit your Nginx config in ~/.valet/Nginx for the site, and comment out the first server block, then run sudo brew services restart nginx to make the changes take affect. This will prevent the constant redirect (known issue with Valet + Ngok + Free account).

Hi @ohmybrew , thanks so much for the detailed feedback. I am indeed using the setup you describe, so I'll give this a try and confirm the fix.
Thanks so much!

Thanks, start valet secure and share. Once running, then edit the nginx entry, then restart nginx and should be good.

Hey @lmartins Did the Valet nginx trick help?

Oh, sorry @ohmybrew it did yes. I had to restart valet, not only nginx, not sure why, but other than that it did the trick. Thanks so much for your suggestion and all the work on this library!


Update clarification sentence of support

Update clarification sentence of support

@SerdarSoysal PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Hello, when will this be published? Thanks.

@scanum

@tiburd hi Tina! Hope all is well. Could you please help us with this PR? TY

@NancyForero
Hi,
This pull request was opened in the public repo. PMs and content developers should work in the private repo, as described in the authoring guide. We reviewed and merged this PR but encourage you to use the private repo for future contributions to Microsoft Learn.


Added tf_prefix to the left_wheel_names and right_wheel_names to solve Gazebo plugin issue.

The tf prefix is added to the odom_frame_id and the base_frame_id. However, it is not done to the left_wheel_names and right_wheel_names.
The differential drive controller is often used as a gazebo plugin like below.
    <gazebo>
      <plugin filename="libgazebo_ros2_control.so" name="gazebo_ros2_control">
        <namespace>${robot_namespace}</namespace>
        <robot_param>robot_description</robot_param>
        <robot_param_node>robot_state_publisher</robot_param_node>
        <parameters>package://robot_description/config/robot_control.yaml</parameters>
      </plugin>
    </gazebo>

Since this is defined inside a xacro, the Rewritten yaml cannot be used to add namespaces to joints. Adding the namespace in the cpp file bypasses this issue.  In the PR, the convention is followed. That is, "robot_namespace/left_wheel_name". Please let me know if I need to change it in any other place. The modified changes solves my issue and seems to run correctly on the Gazebo simulator.

Please fix the issues reported by the "Format" stage by running pre-commit run --all locally and adding the changes to the PR

Hi @bmagyar !
After fixing the format issues, I synced my fork with the master since its been a while. I now have a build error in rolling binary build / binary (main). All the other checks seem to pass. is it ok?

Hi @bmagyar ! After fixing the format issues, I synced my fork with the master since its been a while. I now have a build error in rolling binary build / binary (main). All the other checks seem to pass. is it ok?

Rolling binary build on main fails because of an API break, which hasn't been synced yet. That's fine and unrelated to this PR.

Ah I see! Thanks @christophfroehlich :D

Closing in favour of #1145


Update PyPI information

I noticed that several fields at the PyPI website still point to the old location or don't work as expected.

Homepage should link to  https://github.com/xdf-modules/xdf-Python
Author currently shows "('Christian Kothe, Tristan Stenner', 'Clemens Brunner')" as one links to Christian's email. I don't know if it is possible to specify multiple authors. I've checked some projects with multiple authors (e.g. pandas, scipy), and they omit the author field completely. We should consider doing the same, and instead of using the author field populate the maintainers list (which supports multiple persons).
The project description should mirror README.md from our repository (and BTW this should be updated because e.g. uploading to PyPI is now much easier).

pypi says we need to change that info in setup.py:

Project description and sidebar
To set the 'pyxdf' description, author, links, classifiers, and other details for your next release, use the setup() arguments in your setup.py file. Updating these fields will not change the metadata for past releases. Additionally, you must use Twine to upload your files in order to get full support for these fields. See the Python Packaging User Guide for more help.


Getting an Assertion Error , i guess there is no function torchaudio.load()

(venv) C:\Users\Zeus\PycharmProjects\SenSix\A-Hackers-AI-Voice-Assistant\VoiceAssistant\wakeword>engine.py  --model_file speechrecognition.zip
C:\Users\Zeus\PycharmProjects\SenSix\venv\lib\site-packages\torchaudio\extension\extension.py:14: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\Zeus\PycharmProjects\SenSix\venv\lib\site-packages\torchaudio\backend\utils.py:63: UserWarning: The interface of "soundfile" backend is planned to change in
0.8.0 to match that of "sox_io" backend and the current interface will be removed in 0.9.0. To use the new interface, do torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False before setting the backend to "soundfile". Please refer to https://github.com/pytorch/audio/issues/903 for the detail.
warnings.warn(
*** Make sure you have sox installed on your system for the demo to work!!!
If you don't want to use sox, change the play function in the DemoAction class
in engine.py module to something that works with your system.
Wake Word Engine is now listening...
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\Zeus\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Zeus\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Zeus\PycharmProjects\SenSix\A-Hackers-AI-Voice-Assistant\VoiceAssistant\wakeword\engine.py", line 86, in inference_loop
action(self.predict(self.audio_q))
File "C:\Users\Zeus\PycharmProjects\SenSix\A-Hackers-AI-Voice-Assistant\VoiceAssistant\wakeword\engine.py", line 67, in predict
waveform, _ = torchaudio.load(fname, normalization=False)  # don't normalize on train
File "C:\Users\Zeus\PycharmProjects\SenSix\venv\lib\site-packages\torchaudio\backend\soundfile_backend.py", line 41, in load
assert normalization
AssertionError

Torchauidio currently is not supported on windows, use wsl2 for that


Fix AnimationTimeline time not updating when dragged.

Closes https://github.com/godotengine/godot/issues/83197

Thanks!


How the data are distributed between the each shards ?

any guide configuration for to distributing the data between the shards like round-robin way. like for e.g  i want to put the half  of the table data to one shard and other half to other shard.

Hi @surajmachamasi,
Use rand() function as a sharding_key Distributed table and insert into Distributed table:
https://clickhouse.com/docs/en/engines/table-engines/special/distributed/
The cluster matches the CHI cluster name. Look at examples of Replicated and so Distributed tables as described here: https://github.com/Altinity/clickhouse-operator/blob/master/docs/replication_setup.md


numpy 1.22 requires python 3.8 and above

Last build failed:
https://readthedocs.org/projects/pyrddlgym/builds/19463360/

version 1.02 requires python 3.8+ and numpy>=1.22.
everything should be fine now.


[GSSoC'23] Added HTML Book

Added a HTML Book
Title - HTML5 notes for professionals
Issue Number - 428
closes #428

@jayk-gupta please review this pr

@jayk-gupta please review this pr.
i have created this pr 4 days ago but no action is done on this pr.
please merge this pr under GSSoC'23 program


Where is the "Windows Sandbox" in the Windows Admin Center

Watching the video, I see that they enable and Manage Windows Sandbox from the Admin Centre. I cannot find how to do this.

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

ID: 8c06f3ef-5946-862a-ae14-f897fdb518ca
Version Independent ID: cd6a8b99-b1e9-dff5-f174-a15840b304f0
Content: Windows Sandbox - Windows security
Content Source: windows/security/threat-protection/windows-sandbox/windows-sandbox-overview.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@e0i , Will  you look into this issue #8941

@e0i , Will  you look into this issue #8941

Hello @Joe-houghton ,

can you connect to this win 10 machine using Admin Center?
Do you have Windows Sandbox feature installed on windows 10 machine? (it must be installed prior to be enabled)
Thank you

Hello @Joe-houghton ,

can you connect to this win 10 machine using Admin Center?
Do you have Windows Sandbox feature installed on windows 10 machine? (it must be installed prior to be enabled)
Thank you

Hello, @MaratMussabekov ,
Yes I have sandbox enabled on my PC and have Admin centre installed. I have been through all the options in admin centre but cannot see any called "Windows Sandbox" as per the video.
It is impossible to tell in the video where this feature is located.

Hello, @MaratMussabekov ,
Yes I have sandbox enabled on my PC and have Admin centre installed. I have been through all the options in admin centre but cannot see any called "Windows Sandbox" as per the video.
It is impossible to tell in the video where this feature is located.

Hello @Joe-houghton ,
I tried to reproduce the situation:

installed sandbox on Win10 machine (running Windows 10 Pro 2004)
enabled powershell remoting
connect to it using Windows Admin Center

And I am not able to see Windows Sandbox as well. Other features working as expected.
It is impossible to tell in the video where this feature is located. - I believe there should be a separate section on the left pane
The possible reasons could be:

some additional extension should be installed on Windows Admin Center
Sandbox Management is a preview feature, not in general availability.

Dear @Dansimp, could you please advise?
I am not sure whether this discussion is related to the topic of the article, or it is within Windows Admin Center documentation scope.
Thank you

Hello @Joe-houghton ,
I tried to reproduce the situation:

installed sandbox on Win10 machine (running Windows 10 Pro 2004)
enabled powershell remoting
connect to it using Windows Admin Center

And I am not able to see Windows Sandbox as well. Other features working as expected.
It is impossible to tell in the video where this feature is located. - I believe there should be a separate section on the left pane
The possible reasons could be:

some additional extension should be installed on Windows Admin Center
Sandbox Management is a preview feature, not in general availability.

Dear @Dansimp, could you please advise?
I am not sure whether this discussion is related to the topic of the article, or it is within Windows Admin Center documentation scope.
Thank you


initial commit for 18f contributions.

Each of these releases are in production in cloud.gov. They receive consistent updates by the cloud.gov team and are geared towards helping other operations teams with security and compliance workloads.

[x] LICENSE and NOTICE files are up to date
[x] at least one final release is checked in on default repo branch
[x] ff use to the general community
[x] will be maintained
[x] github repo must be public
[x] bosh create-release must run successfully against any final releases

Signed-off-by: Mike Lloyd<EMAIL_ADDRESS>

Hi @mxplusb,
It looks like the final releases in each repo are 4 years old. Can you cut updated finals, and ensure that that's part of your release process? bosh.io only indexes final releases committed to each repo.

Closing but feel free to reopen if you still want this looked at


Fixed the Rails version check.

The current version check is:

::Rails::VERSION::STRING.to_i >= 3.1

This fails because an integer has no decimal portion.  Changing the to_i to to_f would work in this case, but it'll similarly lose the patch level portion of the version number.  The check I'm doing in this pull request uses the same version comparison API that RubyGems uses itself.

Wow, that's pretty embarrassing.  Thanks for the patch!  :)


Pom Issues

Character encoding needs to be specified:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Forgerock maven repo url is incorrect...should be:
http://maven.forgerock.org/repo/releases

Addressed in POM updates


Navigation restructure (Dashboard 2.0)

Description
Going from packit-service to individual results within the Packit dashboard is great and works as it should. It shows the extend of what is possible from things like Testing Farm
However, if you want to go to the Packit dashboard to view anything else, from a package maintainer there is very little that can be viewed for my project without a lot of hassle or trouble finding them.
As a Packit maintainer, it is however a perfect view as it shows everything happening regarding Packit and its services

For this reason, there is work to be done to make more parts of the application better for both parties, we already have some things planned like

#257
#196

But for a completely usable system by package maintainers we need to restructure the navigation and relationship between projects and their builds and runs
Structure proposal
With a context selector we could put it in the top banner or move it to the top of the sidebar. Within it, we would show projects and allow the user to search for their projects. With a default option being "All projects" which would mean everything functions like how it is now
With the context selected for a specific project, e.g. packit/dashboard

Jobs would be filtered to only include builds and tests triggered from this repo
Pipelines would be filtered as well to only include pipelines triggered by this repo
Projects would show a selection of the current project and allow you to select a different project from there as well

With the context cleared, going for All projects

Jobs would show all builds and tests as it dows now
Pipelines would show the latest pipeline from any project
Projects would show all the projects and allow you to search and select a project for the context

Routes themselves should change with this as well, with previous ones either redirecting or being kept for all-projects

/projects - Current projects list that already exists
/projects/packit/dashboard - Same as above but keeping data about the selected project
/projects/packit/dashboard/detail - the project view itself
/projects/packit/dashboard/jobs

/projects/packit/dashboard/jobs/copr-builds
/projects/packit/dashboard/jobs/srpm-builds
...

/projects/packit/dashboard/pipelines

Categorization in sidebar
For Packit specific pages and external links we should move the to its own category in the sidebar, this would make a good separation between what is an application link and external link, and allows puts usage away from project specific data
Sidebar should then look like

Projects

{context selector} (maybe here or somewhere else)
Jobs
Pipelines

Usage
External links

Status
Blog posts
FAQ

I guess #196 is very similar

@SpyTec Thanks for such a detailed description! A few notes:

I really like being explicit about external links being external...;)
I quite like that you can still view all the jobs/pipelines but people can filter that.
Would it be possible to cover also filtering by the namespace? (That's what people are usually interested.)

Would it be possible to cover also filtering by the namespace? (That's what people are usually interested.)

If we have a list of items that include both, so all options are oamg/convert2rhel, packit/dashboard, I don't see why we can't also include namespaces

Even though we agree this is important, we didn't pick this as a top Packit team priority for the next quarter. If anyone (not only @SpyTec ) wants to help us with this, we will be really glad. We are open to any collaboration and have successfully implemented/started multiple affords thanks to people outside of the Packit team.


Remove version: Jackett.Jackett version 0.20.1908

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.1908/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 917)


add SessionFactory.getStatistics()

Initial support for statistics.
Of course, all the JDBC-level statistics are missing, so I guess we need to mess up some of our nice clean code with trash like:
final StatisticsImplementor statistics = sessionFactory.getStatistics();
if ( statistics.isStatisticsEnabled() ) {
	statistics.connect();
}

Y'know, I think I might as well merge this in it's current form, and handle the vert.x-client level statistics as a separate phase.

Sounds good to me


dnstwist new version

Where can I see what are the changes between the versions? (between the python-packages versions)
I need the changes of versions: 20221008 20221011 20221022
Thanks!!

Added noteworthy changes to https://github.com/elceef/dnstwist/releases


Bug: Rust test_add_remove_vector fails on main-dev

Describe the bug
running 8 tests
test tests::integration ... --------------------------------------------------
before add, memory_usage: 2048 cap: 64
after add, memory_usage: 20973504 cap: 64
Matches { keys: [43, 42], distances: [1.0, 1.0] }
Matches { keys: [43, 42], distances: [1.0, 1.0] }
--------------------------------------------------
ok
test tests::print_specs ... --------------------------------------------------
OS: linux
Rust version: unknown
f64 hardware acceleration: serial
f32 hardware acceleration: serial
f16 hardware acceleration: serial
i8 hardware acceleration: serial
b1 hardware acceleration: serial
--------------------------------------------------
ok
test tests::test_add_get_vector ... ok
test tests::test_add_remove_vector ... thread 'tests::test_add_remove_vector' panicked at rust/lib.rs:1408:9:
assertion `left == right` failed
  left: 64
 right: 10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FAILED
test tests::test_binary_vectors_and_hamming_distance ... ok
test tests::test_change_distance_function ... ok
test tests::test_search_with_stateful_filter ... ok
test tests::test_search_with_stateless_filter ... ok

The code is:
        let index = Index::new(&options).unwrap();
        assert!(index.reserve(10).is_ok());
        assert_eq!(index.capacity(), 10);

Steps to reproduce
cargo test -p usearch -- --nocapture --test-threads=1

Expected behavior
Tests should pass
USearch version
main-dev
Operating System
Ubuntu 22 and 24
Hardware architecture
x86
Which interface are you using?
Other bindings
Contact Details
No response
Are you open to being tagged as a contributor?

[X] I am open to being mentioned in the project .git history as a contributor

Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The C test allow capacity to be greater than that reserved.
   expect(usearch_capacity(index, &error) >= collection_size, error);

This was changed in https://github.com/unum-cloud/usearch/commit/aa59418e
I'll make a PR to change the rust test as well.   Or should we change the tests to expect the correct value and try various reserve values?

The new C behavior is correct and should propagate to Rust 🤗


Contribution proposal.

Request
I would like to offer a little bit of help for your Repo.
Contribution proposal.
1. GitHub README.MD Formatting :-
It is safe to say that
Having your code be displayed as this

Looks better than

2. Updating Class library and Samples to target Dotnet 6 LTS
3. Updating NuGet packages
4. Utilizing C# 10 new features like implicit using / global using - Scoped namespaces
5. Be a helping hand in general as I have free time to learn about Blazor and help out at my free time.
Closing
Thank you for the great work and contribution for the dotnet community, I hope you accept my proposal and I will open PRs for each task.

I have this idea for the sample project

Thanks for the feedback!
I will do that! :)

I have made all those changes here Sharaf-Mansour/BlazorKit.Spinners

Dotnet 6 migration
Docs changes
and the Select menu in the counter

Send me a Pull Request! and thanks!

@kasuken  Sorry for the delay had a lot of work, Here is the PR #9


test -e fails on (healthy) symlink

$ pwd
C:/sz/prj/Args/test

$ busybox test -e tmp/symlink && echo ok
ok
$ test -e tmp/sylink && echo ok

:-o
$ which busybox
C:/SW/devel/tool/w64devkit/w64devkit-32/bin/busybox.exe
$ which test
test

But wait, there's more:
$ cd tmp && test -e symlink && echo ok
ok

:-oo
$ readlink symlink
C:/sz/prj/Args/test/tmp/README.out
$ test -f README.out && echo ok
ok

Any idea, what can cause this?

Any idea, what can cause this?

I thought so, but it doesn't match your report.
There was a bug in the last commit before the FRP-4716 release (which is the version used in w64devkit 1.17.0). It was later fixed. But that related to relative symlinks, an absolute symlink should be OK.
I can reproduce your problem in w64devkit if the symlink is relative but not if it's absolute.

Roy, yep, an abs. link was the first thing to try upon encountering this. :) I'm gonna have a closer look when I can.
But, out of the 3 mysteries here, the first one (a "mystery" only 'coz I'm new to w64devkit): am I correct that the BB sh does the right thing here, and the (whatever other?) shell in charge of that "just test" seems inferior (despite being "other than BB" should imply it's a more robust choice, BTW)? Anyway, do I really see two distinct sh implementations in action here? Or both are just BB, but in different modes of operation? Thanks!

I'm also unable to reproduce the issue for absolute symlinks. I tested in
an isolated "home=." w64devkit.ini config run as administrator (instead of
changing the overall system configuration regarding symlinks):
mkdir tmp
echo hello >tmp/README.out
ln -s "$PWD/tmp/README.out" tmp/symlink
test -e tmp/symlink && echo ok
ok
busybox test -e tmp/symlink && echo ok
ok
Unless you've added another one, there should only be one shell, busybox
ash, on your path and when you invoke "test" I believe busybox ash prefers
its built-in test versus the "test.exe" alias I put in bin/, which agrees
with your "which" output. (You could delete or move it as another test.)
When you use "busybox test" I believe it's starting another process.
Since it's now possible to build busybox in w64devkit, you could compile a
debug build, open it in w64devkit's own GDB, set a breakpoint in the test
app, start sh, run your test, then step through "test -e". This was to be
my own next step if I could reproduce. I recommend "set new-console" so
that the shell runs in its own console window, leaving the original
console to GDB. If you want to regain control in GDB without killing the
shell process, run w64devkit's "debugbreak" command from anywhere, even
the debuggee.

Thank you, guys. At the moment I'm unable to reproduce it too... :-o

Hmm... Note that I'm intentionally running the 32-bit flavor of the w64devkit packages (1.17.0), mainly to see if it would work fine as a common-ground choice, regardless of the actual host bit length.
Am I correct to assume that it should?

(Jesus, just deleted yet another confused/confusing comment, sorry!... :) )

I'm closing this "tentatively", as nobody else seems to have had anything similar apparently, and even I don't have it any more... And if feels so bad to have this crosshair on your nice project. :)


feature request: general query support

I hope it supports general query such as GetBalance, GetUnclaimedReward and more.

Can I use it with tonic ?

If you enable the grpc features of cosmrs (it's enabled by-default for cosmos-sdk-proto) the gRPC clients will be available.
We don't presently provide wrappers for them (or plan on it, work like that is largely happening in Ocular): https://github.com/PeggyJV/ocular


convert text file to excel file

I have txt file and I want to use powershell command to export it in excel
usually i do this manually to export txt file as a data:
open excel
go to data
export txt file
end
Thanks in advance for your great github

I submitted a documentation-based PR that I'm still waiting to be approved that should help you out. For now, you can view it using this link:
https://github.com/ImportTaste/ImportExcel/blob/readme-chlog_redux/README.md#function-overview

Thanks for your feedback. I didnt see any thing related to my subject. Let me explain it again.
I am using cmd analysis event command but it only give me the output in .txt file.
Command looks like like:
Analysis_sysmon.exe -i -w  > network.txt
Usually I have to go to excel and go to data and import “network.txt”.  it will give me in excel table so I can filter it. Excel usually segregate the text to columns table without using condition.
I want to use your pwoershell module to do it. Is it possible ?

Yes, it's definitely possible. Hard to tell how difficult it would be without an example of the output, however.

output txt file below
https://file.io/5TwBqN24

output file attached
network.txt

Alright so it's all separated by tabs, shouldn't be too hard. Just turn each line into an array and then do an incrementing ForEach loop with the Set-ExcelRange command.

Give this a try
import-csv -Delimiter "`t" \network.txt | Export-Excel

Amazing it works. Big thanks to you  You made someone here happy :)

Can you tell what is the function of “‘t”

t is a special character that represents a tab` in PowerShell.


Update comparison table

The main goal is to reflect some recent improvements in mp-units.

They upgraded their interfaces so that they now only contain
unit-safe interfaces.  This turns this row into a "tie".

They added new API functions to compare against 0.  This is a
different local optimum in design space for handling this problem
than our solution, Zero.  They considered Zero and declined to
add it because of how it interacts with generic interfaces, but I
still think Zero is a better solution on balance so I'll leave Au
as "best".

I also re-assessed several other rows, the upshot of which is to turn 3
ties into "best" for mp-units.

Composability.  NTTPs let mp-units write things like
quantity<meter / second>, whereas we need to write something like
Quantity<decltype(Meters{} / Seconds{})>.  This is amazing!

Point types.  Au assumes there's one origin (sometimes implicit)
for each unit.  This was really focused on the temperature use case,
and maybe atmospheric pressure.  mp-units has APIs to let users set
the origin.  This gives much richer possibilities for dealing with
things like altitude, with lots of different possibilities for the
origin.  Au can kind of do this by making a new unit for each one,
but I think mp-units' approach is more flexible.

Angles.  The ability to support both dimensioned angles and
"current SI" angles gives mp-units the edge.

I also switched boost units to "not assessed" on Abbreviated
Construction, because Mateusz mentioned they have the same syntax as
mp-units.  I had assumed they didn't have anything here because they
don't have literals.  If I can see a godbolt link of boost units code
that uses abbreviated construction, then I'll assess the rating based on
that link.

I wanted to get this table updated before CppCon.
Here's a zoomed out before/after of the table, for easy "blink" comparison:
Before:

After:

Does Au support any user-provided representation type or just C++ fundamental types?
"Smart, unit-aware inverse functions" are missing for mp-units
Composability for Boost.Units could be improved as it supports composition of prefixes and units (i.e. 2.0*si::meters/si::second
Ease of migration would be really great in mp-units with https://github.com/mpusz/mp-units/pull/495 (I plan to merge it during the weekend)
The only user-facing macro in mp-units provides C++20 backward-compatibility (the final interface is meant to benefit from C++23 this deduction)

Point 4. above was merged today.

Does Au support any user-provided representation type or just C++ fundamental types?

We do, but it's not well tested --- nothing on the level of the Representation concept from mp-units.  This is reflected in the "Rep variety" row.

"Smart, unit-aware inverse functions" are missing for mp-units

Added, thanks!

Composability for Boost.Units could be improved as it supports composition of prefixes and units (i.e. 2.0*si::meters/si::second

I did not realize this; thanks!  Amusingly, I had obtained the old rating from the chart in P1935.  :slightly_smiling_face:

Ease of migration would be really great in mp-units with feat: interoperability with other libraries redesigned mpusz/mp-units#495 (I plan to merge it during the weekend)

Really cool how you can customize explicit/implicit conversions per type!
Does it support double-hop?  e.g., can you implicitly initialize a std::chrono::nanoseconds from mp_units::quantity<mp_units::si::second, uint32_t>?  Be aware that this can be tricky to get right, as there can be some unintended pitfalls that you're not likely to catch when you land it.
I'll call this "good" for both now since each library has a significant feature the other doesn't (assuming there's no double-hop in mp-units).

The only user-facing macro in mp-units provides C++20 backward-compatibility (the final interface is meant to benefit from C++23 this deduction)

Updated this row; thanks!


Add support for Vite blockchain

Description

Add blockchain support for https://vite.org
Testing instructions

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[ ] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

Thanks for your interests, we will consider to add it later

Thanks for your interests, we will consider to add it later

When will you add VITE chain?


TS 4.1.0 features are very close to what we need, but not quite.

This could totally by my usage!!
The problem I'm trying to solve, is we have a TON of overloads for functions like forkJoin in RxJS. Which can be seen here.
Basically this pattern were you have to have N overloads for N arguments:
export function forkJoin<A>(sources: [ObservableInput<A>]): Observable<[A]>;
export function forkJoin<A, B>(sources: [ObservableInput<A>, ObservableInput<B>]): Observable<[A, B]>;
export function forkJoin<A, B, C>(sources: [ObservableInput<A>, ObservableInput<B>, ObservableInput<C>]): Observable<[A, B, C]>;

What we really would like to be able to do is figure out a way to type this in just a few lines... and I was able to get very very close today, but it's still not quite right.
TypeScript Version:  4.1.0-dev.20201013

Search Terms:
Code
class Observable<T> {
    observable!: T;
}

class ObservableInput<T> {
    observableInput!: T
}

function forkJoin<O extends readonly ObservableInput<any>[]>(args: O): Observable<ObservableMapper<O>>;
function forkJoin<O extends readonly ObservableInput<any>[]>(...args: O): Observable<ObservableMapper<O>>;

function forkJoin(args: any): Observable<ObservableMapper<any>> {
    return {} as any;
}

declare let os: [ ObservableInput<1>, ObservableInput<2>, ObservableInput<3>, ObservableInput<4> ];
declare let o1: ObservableInput<number>
declare let o2: ObservableInput<string>;

const os2 = [o1, o2] as const;

const foo = forkJoin(o1, o2); // $ExpectType Observable<[number, string]>
const bar = forkJoin([o1, o2] as const); // $ExpectType Observable<[number, string]>
const bar2 = forkJoin([o1, o2]); // $ExpectType Observable<[number, string]>
const baz = forkJoin(os); // $ExpectType Observable<[1, 2, 3, 4]>
const baz2 = forkJoin(os2); // $ExpectType Observable<[number, string]>

type ObservableMapper<T extends readonly any[]> =
    T extends [] ? [] :
    T extends readonly [ObservableInput<infer U>, ...infer Rest] ? [U, ...ObservableMapper<Rest>] :
    T extends ObservableInput<infer U>[] ? U[] : never;

Expected behavior:
forkJoin([o1, o2]) (aka bar2) would be of type Observable<[number, string]>.
Actual behavior:
forkJoin([o1, o2]) (aka bar2) is of type Observable<(number | string)[]>.
Playground Link:
https://www.typescriptlang.org/play?ts=4.1.0-dev.20201013#code/MYGwhgzhAEDyBGECmAnAbmeIkB4AqAfNAN4BQ0F0A9oqhlkgIQBc0eA3KQL6mmiQwEydJmwBJAHYAHAK4AXfETKVqtEQ0my5LNt14AzGROByAllQnR9VFAGsAUlVMScsaEgAecpBIAmgtXpxaXkcMAkATwIAbQBdAgAKADoUsBQAcwhWWABKbMDRXCE6QoBZMCkpVFcCAk5SQ2MzCysbBycXN09vPwDhIKRNUPCouMS0zOy8uAKGV1nscsrq2Fr6xpNzS2s7R2cEiazoEeni9Wx5-rKKqpQwyNqSckoUJDkZFEtiLmOYEc4eKRfEh+K9oNg5NQjtEZlcNCEFABGAgAGlhJXhWhwACZUejzoMETgAMx4s4DIYKAAsRFi9WBoKQ4Le1ER+ThwSxEhkAFt4KgCECQeAwRDqNj2RjOaEIHIUM50nU+BZZa0qNAALytXYdBJURFoqjYnLKiSq+BpTXa9r7aL6w3Y2I5epyCJVfEDJa3fDuLw+fzQV5gXwWEARY6RMaa54UPC+noBuLQAD80CTzBjbHj-pg0XJhUpOGc+lQ0AAqniUkli6WAEpIWWxFNpstoqv5hhe6r12UEJusTNx7o5j0Fok1lDlmJN1Nl9PQCRINCoThAA
cc @kolodny @cartant @RyanCavanaugh @DanielRosenwasser

FWIW, I also tried a technique with [Index in keyof O] that got me pretty close pre-4.1 playground here

class Observable<T> {
    observable!: T;
}

class ObservableInput<T> {
    observableInput!: T
}

function forkJoin<O extends readonly unknown[]>(...args: [...ObservablesArrayThing<O>]): Observable<O>;

function forkJoin<O extends readonly unknown[]>(args: [...ObservablesArrayThing<O>]): Observable<O>;

function forkJoin(...args: any[]): any {
    return {} as any;
}

declare let os: [ ObservableInput<1>, ObservableInput<2>, ObservableInput<3>, ObservableInput<4> ];

declare let o1: ObservableInput<number>
declare let o2: ObservableInput<string>;
const foo = forkJoin(o1, o2)
const bar = forkJoin([o1, o2]);

type ObservablesArrayThing<T> {
    [K in keyof T]: ObservableInput<T[K]>
}

That solution works in TypeScript 4.0 by the way.

Okay, but I'm calling it ObservablesArrayThing.

Be sure to leave a big comment that says "naming things is hard, if you don't like it take it up with @DanielRosenwasser" 😅


Text field with name of id is shown twice in filter and table rows

Bug Report

Steps to Reproduce

Create a collection with a text field with the name "id"

Other Details
version: Payload 1.6.16
Collection Config
const Tags: CollectionConfig = {
  slug: 'tags',
  versions: {
    drafts: true
  },
  admin: {
    useAsTitle: 'id',
    defaultColumns: ['id', '_status'],
    group: ...
  },
  fields: [
    {
      name: 'id',
      label: 'Name',
      type: 'text',
      required: true
    }
  ]
}

Ba! 😅 I looked for a fix but missed the PR. #2258 fixed the issue 👍


Adds devices and shard_sizes attributes to model_annotation

Adds function to provide for array attributes from lists
Parses and adds annotations for devices and shard_sizes attributes for distributed models

I would prefer some tests for that.


Trouble on installing

Hey guys, before for that good job !
But when i tried to install make file options, i have got this error :
/bin/sh: 1: python: not found
Makefile:13: recipe for target 'test' failed
make: *** [test] Error 127

Makefile:13: recipe for target 'test' failed

@ultron1995 , you would need to install python to make the test work.
If you just want to build the container, do the following.

Go to the below line and remove the word test from it.

https://github.com/ovnworks/docker-ovn-driver/blob/master/Makefile#L23

Run make plugin


Update minimal VSCode version

...so people is using the latest API!

Hi @XVincentX, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

May be the field is a little misleading. The field states the minimal API version this example requires. Since it runs fine under 0.10.10 I don't want to change this. The example still runs fine under 1.4 since we never broke API from 0.10.10 to 1.4, It is like stating a dependency to a npm module. You require minimal version x but you are fine running with x + n as well.

Hi @XVincentX, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

May be I misunderstood the intention. It is about people cloning this repository as a starting point for their own server. For this is actually makes sense. I will accept the PR to ease this.

Thanks, that was exactly my intention.


SUBMARINE-469. Update Submarine Architecture Doc

What is this PR for?
We have many discussions recently and made some proposals for the Submarine roadmap and corresponding roadmaps. We need to update our docs.
What type of PR is it?
Documentation
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-469

How should this be tested?

First time? Setup Travis CI as described on https://submarine.apache.org/contribution/contributions.html#continuous-integration
Strongly recommended: add automated unit tests for any new or changed behavior
Outline any manual steps to test the PR here.

Screenshots (if appropriate)
Questions:

Does the licenses files need update? Yes/No
Is there breaking changes for older versions? Yes/No
Does this needs documentation? Yes/No

Hi @wangdatan
Thanks for contributing to documents.
Please help to re-trigger the CI process for solving the failed job.
many thanks,

+1, Thanks @wangdatan. The new design doc is very clear to me.

Thanks for the reviews, I will spend a bit more time to finish a few more areas before committing the patch. Please feel free to add comments/questions when you have time.

Changes added since Friday:

Updated the main architecture doc to include fewer details of implementation.
Included a lot more details of module designs for experiment inside experiment-implementation.md. Also included thoughts about how to support pre-defined templates in implementation. @pingsutw / @liuxunorg / @tangzhankun / @jiwq  can you help to check them?
Removed implementation for experiment related module discussion from submarine-server/architecture to experiment-implementation.
it looks like submarine-launcher.md and SubmarineClusterServer.md are not complete or obsolete. I moved them to design/wip-designs. @liuxunorg please correct me if I was wrong.

it looks like submarine-launcher.md and SubmarineClusterServer.md are not complete or obsolete. I moved them to design/wip-designs. @liuxunorg please correct me if I was wrong.

@wangdatan  Yes, you are right.

Will merge if no more comments.


New feature allows a full list of future games to be viewed.

The json document I pulled in is available at http://data.nba.com/data/10s/v2015/json/mobile_teams/nba/2016/league/00_full_schedule.json
This can be examined further to provide gameids for future games.
An example is also provided.

Wait what is data.nba.com? o.O

I wanted the ids for future games, so I opened the developer tool on their
schedule page http://stats.nba.com/schedule/ and checked the request they
were making and found that they were calling data.nba.com.
I couldn't find any other way of getting the game ids for future games.
It returns a large json dump.
On 1 December 2016 at 15:43, Eli Uriegas<EMAIL_ADDRESS>wrote:

Wait what is data.nba.com? o.O
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seemethere/nba_py/pull/62#issuecomment-264207583, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXGiarBpezfvuf23TgNI37dvzBvqDizkks5rDuswgaJpZM4LBh4u
.

On 1 December 2016 at 16:17, Peter Roche<EMAIL_ADDRESS>wrote:

I wanted the ids for future games, so I opened the developer tool on their
schedule page http://stats.nba.com/schedule/ and checked the request they
were making and found that they were calling data.nba.com.
I couldn't find any other way of getting the game ids for future games.
It returns a large json dump.
On 1 December 2016 at 15:43, Eli Uriegas<EMAIL_ADDRESS>wrote:

Wait what is data.nba.com? o.O
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seemethere/nba_py/pull/62#issuecomment-264207583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXGiarBpezfvuf23TgNI37dvzBvqDizkks5rDuswgaJpZM4LBh4u
.


Visualize resutls

Hi, I was able to run the network and get the depth map. I wanted to know how to do you visualize the 3D reconstruction of the picture like you show in the paper? Do you convert the depth + original image into a point cloud and then visualize it? Or do you use any other technique?

Hi, I convert the depth + RGB into a point cloud to visualize it (with open3d), just like you said. Therefore,  the camera intrinsic matrix is needed.


Use browser-compat-data

Some of the apis in the schema are partly supported. How about using browser-compat-data to make them optional?

Sounds like a good idea. Could even add extra documentation notes based on this.


Create Delta Tables in Metastore

Feature request
Is your feature request related to a problem? Please describe.
I have tables in delta format in the azure data lake gen2, but I don't use metastore. And it is not possible to create a delta table in the metastore using StarRocks, only read existing ones.
Describe the solution you'd like
Create tables by StarRocks in the metastore pointing to an azure data lake gen2 path where the format is in delta.
Describe alternatives you've considered
Use trino because it allows this feature.
Additional context
I believe it is an important feature for those who want to query in delta but there is no metastore.

I would suggest that you only use StarRocks as a query (read) engine and let another application/library write the data.


Add information about the content of the examples.

What is the improvement or update to the Wiki you wish to see?
Hi,
the Wiki is great and has many examples, which are needed by noobs like me!
Some wiki-pages have a helpful explanation, what those examples are about, but unfortunately, many have not.
The context is not always helpful enough to understand or find specific examples.
Here is an example of that I mean:
(taken from https://metamanager.wiki/en/latest/metadata/details/schedule.html)
"Below is an example of a scheduled collection:"
Well, all examples on this page are about a scheduled collection. So what does this example fulfill in particular?
Its not stated. (You have to fully understand the example first, but if you can not, then you're lost)
So users with experience or gurus have no problem to understand the example,
but noobs can not know, what this example is about.
Its likewise with little children. You should not teach them something new from an expert perspective, they don't know or understand.
You need to support them by explaining it for a child. Because this is what they are. No experts, but childs.
So, a more descriptive text, because it helps us to understand the example, could be:
"Below is an example of a scheduled collection which runs monthly on the first and fifteenth day of the month:"
or at least:
"Below is an example of a scheduled collection (run on 1st and 15th day each month):"
I'm not telling to change all examples preambles to exhausted texts, but just a little description, what are those examples are trying to accomplish for the users.
Also, it will give the wiki search more exact words, which could help to locate the right spot to search for help.
Thank you.
And let me repeat: The wiki is great and very clearly arranged!
Does the docs page already exist? Please link to it.
No response

I have submitted a PR to update this page.
You can preview my changes here: https://github.com/meisnate12/Plex-Meta-Manager/blob/06431d7afe6572465cac66b7d66b48c67aacb211/docs/metadata/details/schedule.md


Just doesn't work at all

No flair pops up, I get some cmd windows that open for a slipt seconds at least 6 times then see my cursor show loading. The icon appears in taskbar menu and my only option is panic or the config.
Wed_Sep_13_03-00-36_2023-popup.txt

Please see https://github.com/PetitTournesol/Edgeware/issues/47


Middlewares are executed altough url doesnt exist in openapi spec

Description
I am using Connexion with flask, i have some custom ASGI Middlewares and hooks in flask (methods decorated with before_request). both are executed altought url path doesnt exist.
Expected behaviour
I expect this code shouldnt be executed and the 404 should be returned cause connexion framework has a routingmiddleware that is called previously.
Actual behaviour
The middlewares and hooks are called, and Working outside of operation context error is raised cause context and request connexion object are not accesible
Steps to reproduce
Download this example project ,  and follow the steps on readme to replicate the errors.

Same here
if u have this valid URL
localhost:6079/subsystems/cb/registration
but by mistake you double the "/" like
localhost:6079//subsystems/cb/registration
Starts failing, in the past this was just working ommiting the double "//" but even if is correct to no longer support this behave, this is the traceback:

2024-07-31T14:51:35Z    AnyIO worker thread MainProcess exceptions.py:107       common_error_handler    RuntimeError("Working outside of operation context. Make sure your app is wrapped in a ContextMiddleware and you're processing a request while accessing the context.")
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/swagger_ui.py", line 222, in __call__
    await self.router(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 485, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 806, in app
    await self.default(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/swagger_ui.py", line 235, in default_fn
    await self.app(original_scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/routing.py", line 154, in __call__
    await self.router(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 485, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 806, in app
    await self.default(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/routing.py", line 48, in __call__
    await self.next_app(original_scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/abstract.py", line 261, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/abstract.py", line 261, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/connexion/middleware/abstract.py", line 261, in __call__
    await self.app(scope, receive, send)
  [Previous line repeated 1 more time]
  File "/usr/local/lib/python3.11/site-packages/a2wsgi/wsgi.py", line 200, in __call__
    await self.loop.run_in_executor(
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/a2wsgi/wsgi.py", line 256, in wsgi
    iterable = self.app(environ, start_response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1476, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1473, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 882, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 865, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/connexion/apps/flask.py", line 68, in __call__
    return self.fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/connexion/decorators/main.py", line 132, in wrapper
    request = self.framework.get_request(uri_parser=self.uri_parser)
                                                    ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/connexion/decorators/main.py", line 72, in uri_parser
    uri_parser_class = self.uri_parser_class or operation.uri_parser_class
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/werkzeug/local.py", line 318, in __get__
    obj = instance._get_current_object()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/werkzeug/local.py", line 519, in _get_current_object
    raise RuntimeError(unbound_message) from None
RuntimeError: Working outside of operation context. Make sure your app is wrapped in a ContextMiddleware and you're processing a request while accessing the context.

returns 500 internal error

Thanks for the report @jasonlazo.
Connexion routing passes unknown requests to the application, since the OpenAPI spec does not have to be an exhaustive description of the API. Connexion even provides functionality to directly add additional paths not in the spec, but it could also be done on the underlying Flask app directly.
Agree that it could be useful to provide a base middleware that is only called for known paths though. We actually have such a base middleware, but it's probably too complex to expose to users directly. If you do want to use it, you can have a look at the ContextMiddleware.


Fix vet errors with go 1.7

closes #1843
tested with go 1.7-rc2
Signed-off-by: Richard Scothern<EMAIL_ADDRESS>

LGTM

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

Merging [#1847][cc-pull] into [master][cc-base-branch] will decrease coverage by 6.97%

@@             master      #1847   diff @@
==========================================
  Files           120        120
  Lines         10478      10480     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6228       5498   -730
- Misses         3418       4241   +823
+ Partials        832        741    -91

[][cc-pull]

Powered by Codecov. Last updated by [f8083b7...fcea614][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/distribution/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/distribution/compare/f8083b7ff32b224921c5f66c0f4df3e58dab49f5...fcea6145f504cb0802181c300d5cc74147415881?src=pr
[cc-pull]: https://codecov.io/gh/docker/distribution/pull/1847?src=pr


Your editor is creating problems sometimes!

Hi @arka97
Thanks for reporting this issue.
Here are some next steps that you should follow before we can help you with your query:

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!


[Feature Request] Better sorting when chose the owner from the list

Gitea version (or commit ref): 1.12.5
Git version: 2.25.1
Operating system: Ubuntu 20.04
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Description
In my local Gitea instance I had a lot of organizations. Whe I have to add new mirror project than I have to chose the organzation. I know, that the organization exists. I press first letter, i.e. h. And Gitea shows me hpc. But I look for other organization which starts with h. Than I had to scroll whole list, to search for the right organization.
As user I expect to see only organizations which starts with h or whole list with all organizations but all with h at the beginning should be first in the list.
Screenshots

Or the other Feature Requst #13091

What do we want here?
It seems to me like the list of possible Owners is sorted by "most recent". Do we want an alphabetical order instead? By default?
Option 1
Sort list of possible owners alphabetically by default. Then, when typing, the highlight would move to the block of entries starting with the user's input, thereby addressing @somera's issue.
Option 2
Keep list sorted by most recent, but switch to alphabetical order when user starts typing. Same benefit as option 1, but probably pretty confusing.
Option 3
Keep list sorted by most recent, but limit entries to those that match what the user is typing and remove all that don't.

On my local Gitea instance I have 160 organisations. ;)
Option 1 is what I personally prefer.
The goal is to find "fast" the right organisation which starts with X character.


Add better loading error message

Codecov Report
Attention: Patch coverage is 20.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 70.72%. Comparing base (ae75f13) to head (0c7b05d).
Report is 21 commits behind head on main.

Files
Patch %
Lines

wandb_workspaces/reports/v2/interface.py
20.00%
8 Missing :warning:

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   70.88%   70.72%   -0.16%
==========================================
  Files          16       16
  Lines        2356     2364       +8
==========================================
+ Hits         1670     1672       +2
- Misses        686      692       +6

Files
Coverage Δ

wandb_workspaces/reports/v2/interface.py
57.23% <20.00%> (-0.24%)
:arrow_down:


Publish micro-timer on F-Droid

Publish micro-timer on F-Droid to make distributing the app and updates to a wider audience easier.
Process started at https://gitlab.com/fdroid/rfp/-/issues/2613

This is now available at https://f-droid.org/en/packages/dubrowgn.microtimer/