1731 redirect /start to /

Context
As we have a home page and it has a CTA, there is no need to have /start page. Although we have mentioned this in a few places like email templates & guidance, we need to still keep the path but instead used should be redirected to the service home page.
Changes proposed in this pull request

redirects /start to root_path
removes old start page view

Guidance to review

 Redirect https://get-help-with-tech.education.gov.uk/start to https://get-help-with-tech.education.gov.uk

I expected a controller method to be removed to. can this be removed? https://github.com/DFE-Digital/get-help-with-tech/blob/882881571963a3875288945d372a83780f0dfb32/app/controllers/pages_controller.rb#L10


more work on the server

as discussed with @reynir, this is a step forward. read individual commits for what is happening there, namely:

check further things in server config
only allow dev-type tun
is_not_taken is now passed to Miragevpn.server, and the implementations use a hashtbl for it

thanks for your review, I force-pushed changes you mentioned.

Thanks, please feel free to merge :-)
tir. 16. apr. 2024 21.08 skrev Hannes Mehnert @.***>:

thanks for your review, I force-pushed changes you mentioned.
—
Reply to this email directly, view it on GitHub
https://github.com/robur-coop/miragevpn/pull/231#issuecomment-2059756109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVC3YVS4NOGTZBVSOWMCDY5VZKJAVCNFSM6AAAAABGJ4PWRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZG42TMMJQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


REMOVE progressImage

source={progressImage} was causing globalThis is not defined error.
try without progressImage defined and see if this fixes the issue.
ReferenceError
globalThis is not defined
mechanism
onerror
handled
false
../src/Bar.tsx in progressImage at line 231:17
1

            backgroundColor: color,
            borderRadius,
          },
        ]}
        // @ts-ignore
        source={progressImage}
      />
    </ImageBackground>

it seems like source={progressImage} is required for build.
I try with progressImage={null} to avoid.


As a user, I want to support search-after pagination

Checked for duplicates
Yes - I've already checked
🧑🔬 User Persona(s)
Data user, developer.
💪 Motivation
...so that I don't need to know how pagination works on the API.
📖 Additional Details
The size of a page should be defined by default but could be updated by the user as needed for performance purpose.
Acceptance Criteria
Given an API server
When I perform search_after a time
Then I expect I expect to get all the results, beyond the limit of one page of results.
⚙ Engineering Details
No response

This is closed with PR https://github.com/NASA-PDS/updart/pull/24


⚠ Bofrost.lu has degraded performance

In c07fa76, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1431 ms

Resolved: Bofrost.lu performance has improved in 7a665a4 after 1 hour, 1 minute.


let the browser decide whether or not to gzip

Browsers that support gzip send a header such as "Accept-Encoding: gzip, deflate, sdch", so it's not necessary to specify that it should or shouldn't be used.
The exception to that is that you wouldn't want files such as .zip, .mp3, or extremely small files to be gzipped.

Caddy already reads that header to decide whether to gzip or not. However, people raised https://github.com/mholt/caddy/issues/108 and this led to https://github.com/mholt/caddy/pull/112 where you can specify accepted file extensions.
Work is currently ongoing to specify accepted MIME types.
I want to assume we have got you covered. Have we ?

Yep.


Any channel length should be allowed

./lbrynet-cli channel_new @a 0.01 will throw an "Invalid channel name" exception. There should be no minimum channel length.

May need to rebuild lbryum-server if any short-name claims already exist.


403Error-Fail to get_config

Add headers['Accept'] to prevent 403 error from speedtest server

Looks great.
Tested it with latest 2.1.3 commit 42e96b1 from pip.
@sivel can you take a look. Would be great to get a fix release.
This 403 are piling up lately.
The other PRs just force secure request on default.

when i wrote th python program as described it gives 15-20 times download speed and 5-6 times upload speed then other online websites like "okla "
code that it write after searching on internet
# import speedtest module
import speedtest
def bytes_to_mb(bytes):
KB = 1024 # One Kilobyte is 1024 bytes
MB = KB * 1024 # One MB is 1024 KB
return int(bytes/MB)
speed_test = speedtest.Speedtest()
download_speed = speed_test.download()
print("Your Download speed is", download_speed)
upload_speed = speed_test.upload()
print("Your Upload speed is", upload_speed)
download_speed = bytes_to_mb(download_speed)
upload_speed = bytes_to_mb(upload_speed)
print("Your Download speed is", download_speed, "MB")
print("Your Upload speed is", upload_speed, "MB")
Output
Your Download speed is<PHONE_NUMBER>.089659
Your Upload speed is 620944653.8589141
Your Download speed is 2057 MB
Your Upload speed is 592 MB
look into it

Duplicate of https://github.com/sivel/speedtest-cli/pull/790


Add shields, GIF's and badges to the readme.

Add necessary shields and badges at the right places in README. Link: https://shields.io
Add fun GIF's and images in the readme. Inspiration: https://github.com/anushbhatia/Social-Scheduler

@Avirup-301294  Are you still working on this issue?
If yes, no issues
If not, please let me know, I will assign it to someone else

I already completed and make pr of all the 3 task i have assigned in 1 pr which is already merged.

Ah, it was merged in the common PR.
Apologies, I lost track of it!

@Avirup-301294 please mention the issues in the pr description otherwise the solved issues remain open!


im hving problems

im the new plots everyone has creative but i dont? plz fix this issue!

Sorry, please be more precise. Closing this until you can provide a proper explanation of an issue you're having.


Create a new MESSAGES menu item

A new MESSAGES menu item should be available in the public platform website.
The menu item should be available only for ADMIN user. The menu item should not be displayed for a regular user
Please check the UX for look and feel of the new menu item:
https://www.figma.com/proto/DD5l64FEG0VYIcsGzPrN0CzJ/MV---platforma-publica---admin?redirected=1&scaling=min-zoom&node-id=5%3A70

I will take this

In progress @andrei1489

We can close this issue, it is implemented in #79 and #80


Have the FavoritesViewController working with a map view in each cell…

…. Tried using the Google PanoramaView and didn't care for the look an feel.

Looks good


Add code to find the most probable node

Introduce codes and structs to find the probability of each node being the receiver node.
Added approach documentation in the nodes.md

TODO:

[ ] Add good real-life test cases to test the variables' values and code correctness.

Updated from pr03.01 -> pr03.02, diff
Changes:

Removed redundant documentation


fix(Toolbar): Make toolbar menu great again

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


[Bug] 6+ Profiles causes ui to break in main menu

Reference: https://imgur.com/UiVGG5O

Fixed in 0.0.6


parser: The @ syntax has issues with Component slices

Hello,
I use templ.Component slices ([]templ.Component) in some of my templ files. If I try to use a loop to go over them and use the index (integer) to access the components in the slice the @ syntax breaks.
@items[i] doesn't work.
{! items[i] } works.
My templ version is v0.2.513. My go version is go1.21.6 darwin/arm64.
The templ file formatter in VSCode also does a weird thing and puts the [i] part on a line below the @items part, which results in the following two compilation errors:
i declared and not used
items.Render undefined (type []templ.Component has no field or method Render)

I can rewrite the code with the @ syntax in such a way that it'll work again, that isn't a problem. I'm wondering if this is perhaps a bug or if @ isn't meant to be used with the slice indexes?
Thanks!

I agree that this should be fixed, it could either be classified as a bug or undetermined behavior!
This issue is that currently the supported templ element expression parser (the @ syntax) doesn't actually parse as a go expression, it is a separate parser that checks for a string that looks a bit like @template or @templates.MyTemplate or @template(params).
See the parser here: https://github.com/a-h/templ/blob/main/parser/v2/templelementparser.go#L17-L25
The 2 fixes for this would be (in order of increasing complexity):

Expand the existing parser to allow indexing [ + goExpression + ]
Rewrite the existing parser to parse any Go expression after the @

Ran into the same issue ...
Imaging running templ fmt on all your code "as advised" and seeing it all break because of this issue. Last time it took me several hours to reverse the changes and going back to a older version.
There really seems to be a lack of proper testing before changes are pushed to the public.  I do not understand why the push for @ when the old {! } syntax worked perfectly (and is more readable, imho).

I also took a look at this. I initially went for a more general parser that parsed from @ to the end of the line, or occurrence of {\n. This passed the tests mostly, but upon a search of templ files across github it would have broken occurrences where templelement params are split across multiple lines (I plan on adding tests for this to lock in the behavior).
So, I defaulted to the dumb solution of just allowing an index pattern in a call expression, but your solution @a-h is definitely the proper way to do this. With mine it would have been a matter of time until someone had another way of rendering an element that they wanted supporting.

I've done some a few more updates to https://github.com/a-h/expression/ to add support for if, for and else statements. The results are promising in that the parser would be more robust if I replaced the current expression code with this method (aside from the JavaScript expression parser).

@benjiro29 - if you want to help, when I've got the expression parser more complete, additional test cases for the expression parsers would be good.

I'm very comfortable with the Go expression parser now. Next I'm going to copy the https://github.com/a-h/expression code into a package within the templ parser, and migrate all of templ's Go expression parsing to using it instead.

I've got a wip branch here: https://github.com/a-h/templ/tree/go_ast
It lays out the changes that need to be made. It's not quite working yet - I need to make a few more changes to resolve the broken tests (the issue is the implementation, not the tests 😁 ), and add tests for the function declaration AST parser in the goparser directory.

The WIP branch is now https://github.com/a-h/templ/pull/461
Reviews welcome, additional test cases that test valid edge cases that I may not have considered also welcome.

Fixed in #461


Bugfix/rbu channel

Description of the change:

Makes operator-sdk run bundle(-upgrade) ignore channel information from a bundle and instead either use a default value of operator-sdk-run-bundle or the one specified in an existing Subscription CR.

Motivation for the change:

fixes #5773

Checklist
If the pull request includes user-facing changes, extra documentation is required:

[x] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

Retitle the bug to be something meaningful


no Visual Studio Marketplace Service Connection option

hi,
There is no Service Connection in AZDO Service to Visual Studio Marketplace anymore, so the automated deployment of an extension via pipeline si no more possible?!
Thx

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

ID: 44581f4a-93df-7507-3844-eadedf9a6cc4
Version Independent ID: 33c7bcf0-1512-975f-5ef8-9f2a192a84ad
Content: Add a build or release task in an extension - Azure DevOps
Content Source: docs/extend/develop/add-build-task.md
Service: azure-devops
Sub-service: azure-devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

@czechdude -- Petr, thank you for your feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@chcomley -- Chrystal, please look into this potential documentation issue.

Thanks for your reply,
I digged a little deeper and discovered that this VS Marketplace Service connection is installed with the TFX AZDO Tasks. They were installed but didnt appear even when I was logged in as Collection Admin. But weirdly, they appeared after some refreshes, I didnt find any reason why they didnt appear before.

Interesting...glad they appeared! Going to close this issue now, since this is no longer relevant. Please @mention me if you need any further follow-up. Thanks so much!


Player.Destroy() and then Player.New() with websocket gives error with WebSocket URL

I'm using JSMpeg using websockets.  Player works fine the first time using a webSocket URL.  I then I call player.destroy() which works fine.
BUT when I try to call JSMpeg.Player(webSocketURL, options) again I get the following error:
host-report-errors.js?44de:6 Unhandled promise rejection TypeError: Cannot read properties of null (reading 'restoreContext')
    at new WebGLRenderer (jsmpeg.js?bbb2:4180:1)
    at new Player (jsmpeg.js?bbb2:325:1)
    at SourceView.setupNewPlayer (source-view.js?0110:260:1)
    at eval (source-view.js?0110:326:1)
    at eval (es.promise.js?e6cf:107:1)

I've gone into the code and commented out the renderer.destroy() and it works fine:
Player.prototype.destroy = function() {
	this.pause();
	this.source.destroy();
	this.video && this.video.destroy();
	// this.renderer && this.renderer.destroy();
	this.audio && this.audio.destroy();
	this.audioOut && this.audioOut.destroy();
};

This is what my instantiation of the player looks like:
    setupNewPlayer(playerCanvas) {
        this.player = new JSMpeg.Player(this.webSocketUrl, {
            canvas: playerCanvas,
            audio: true,
            source: MetadataWrapper,
            onmeta: data => {
                function pad(value) {
                    return `0${value}`.slice(-2);
                }

                this.leftChan = 0;
                this.rightChan = 0;

                const hour = data[3];
                const minute = data[2];
                const second = data[1];
                const frame = data[0];

                if (frame !== 255) {
                    // Seems that the slicer may not have time data
                    this.slicerTime = `${hour}:${pad(minute)}:${pad(second)};${pad(frame)}`;
                }
                this.leftChan = Math.floor(data[9] * 0.18);
                this.rightChan = Math.floor(data[10] * 0.18);
            },
            protocols: [],
        });
    }

Is there some other way I should be doing this?

The above commit should fix this.
Turns out, explicitly calling gl.getExtension('WEBGL_lose_context').loseContext() to destroy the WebGL context is not a good idea. loseContext() should only be used to "simulate" the glcontextlost event. So I have removed this functionality from the WebGL .destroy() method.
Furthermore, the canvas element is only removed from the document when calling .destroy() if it was created by the renderer. If the canvas element was handed over to the renderer (through the options.canvas in the Player constructor), it is left alone.
So, with this you can destroy() and re-create a JSMpeg.Player with the canvas element, provided that it uses the same rendering method (2d or WebGL) as before.

I figured there was probably more to it.  I've been testing these changes and so far so good.  I haven't noticed any issues.  Thank you for your help and efforts!!


Updated third Blog

Updated third Blog under the ocean science tab.

Too small of a commit.  Make it larger to avoid conflict.


Output not shown for sudo commands

I also encountered another problem, but I don't know if it can be related to this one.
With the same setup (scene with Terminal,Pty and other input nodes) if I execute a command with sudo the terminal screen do not show the command output, to force a refresh I need to press a key or click on other input field to switch focus.
The same command executed without sudo works as expected, the screen show the output.
ping www.google.com works
sudo ping www.google.com doesn't work
Originally posted by @ConteZero in https://github.com/lihop/godot-xterm/issues/51#issuecomment-1203893058

@ConteZero I am not able to reproduce this issue in the test scene:

However, I faced a similar issue when developing the integrated terminal EditorPlugin.
When making the integrated terminal for editor I noticed that the output would not update unless moving the cursor to focus on another panel or after some other type of gui activity (e.g. button click, scroll, cursor blink, etc.). The output from PTY is only updated by calling poll() in _process():
https://github.com/lihop/godot-xterm/blob/2acb93f8ffee63ecbf8a46b38a864295566a06bf/addons/godot_xterm/nodes/pty/unix/pty_unix.gd#L129-L131
In editor, _process() is not continuously called unless the editor setting 'update continuously' is set to on:

However, this issue affected all command output regardless of whether it had sudo or not:

My workaround was to add a timer to regularly call poll() on the underlying pipe:
https://github.com/lihop/godot-xterm/blob/3b7bdfc5ca6e44323e7c0a94832222d32b2bea8e/addons/godot_xterm/editor_plugins/terminal/editor_terminal.gd#L54-L66
I now notice that _physics_process() is called continuously in editor, so I will consider moving the poll from _process() to _physics_process() or adding a process_mode property (like Timer has) to choose between the two.
Could you try changing func _process(_delta) in addons/godot_xterm/nodes/pty/unix/pty_unix.gd to func _physics_process(_delta), or force a regular update by calling pty.get_master().poll() with a timer?

Also, on the off chance that the issue isn't related to the PTY node, but rather the update functions of the Terminal node, you could try setting the update_mode property of Terminal to All (although this will have a slight performance penalty).
If none of these suggestions fix the problem, then I would be interested in more details about your scene setup and operating system version/environment to try and reproduce the issue and figure out why sudo commands might affect the output differently.

After doing same code changes to my project now I have the same update problem with and without sudo (update_mode is set to All), probably the differences between the two modes were caused by something wrong with my code.
Luckily your suggestion solves the problem, I've added to my terminal.gd:
func _on_PTY_data_received(data):
#	parsing 'data' code
	_poll()

func _poll():
	if visible and pty and pty.has_method("get_master"):
		pty.get_master().poll()
		update()

Thanks for your help.

After digging a bit deeper, I have found that simply adding update() at the end of terminal's write function fixes the issue I outlined above, and removes the need for a timer with the editor plugin.
@ConteZero Would you be able to undo the changes you made above and, in terminal.gd, change this code:
func write(data) -> void:
	assert(data is String or data is PoolByteArray)

	# Will be cleared when _flush() is called after VisualServer emits the "frame_pre_draw" signal.
	_buffer.push_back(data)

to this:
func write(data) -> void:
	assert(data is String or data is PoolByteArray)

	# Will be cleared when _flush() is called after VisualServer emits the "frame_pre_draw" signal.
	_buffer.push_back(data)
	update()

and let me know if that also fixes the problem?

I did various tests using _poll(), initially seemed to have solved the problem, instead I found that sometimes some data was not written on the terminal screen.
For now your last solution seems to work well, the only drawback is that it slowdown the execution when the terminal is not visible.
I've changed it to:
func write(data) -> void:
	assert(data is String or data is PoolByteArray)

	# Will be cleared when _flush() is called after VisualServer emits the "frame_pre_draw" signal.
	_buffer.push_back(data)
	if visible:
		update()

This change avoid the slowdown but I don't know if it's right and if it can have unwanted side effects.

For now your last solution seems to work well, the only drawback is that it slowdown the execution when the terminal is not visible.

@ConteZero Could you try the last solution but with the terminal's update_mode set to the default of Auto rather than All? I'm curious to know if it will still slowdown execution.
Otherwise, I can't think of any unwanted side effect that calling update() only if visible would have.

There are no speed differences between  update_mode Auto and All.


Add visualizations

e.g. pie charts using D3.js

I have been playing around with this and came over to file an issue to ask if this kind of addition would be welcome --

I have some considerable clean-up to do; the code is super messy and styling has to be considered. But assuming clean-up, it seems like this would be a fine PR to make. Are there more specific things you had in mind re: visualizations/reporting, Tim?

Ashley! This is so great! This is just the kind of thing I had in mind.  A great addition! I'll follow up the details in PR #22, but thank you so much!

OK! Yeah it still needs a bit of cleanup, I think, for better positioning ... but glad you like it and I'll keep moving forward! I wonder what other kinds of visualizations are useful?

Yay! A bit of spitballing:

I think some sort of timeline/clustering visualization of the last modified dates could be interesting (although it's dependent on FITS, so won't be available for every file)
Potentially variations on the format chart, so a user could select to visualize formats, format versions, or PUIDs
What might really make these interesting/useful is if we can generalize it so that the user can select whether they want the visualizations (and table below) to be about the original files, preservation derivatives, metadata/submission documentation, or all files. This will depend on some backend changes, many of which I've already been playing with in the 'develop' branch. But for the scope of this work, it means the more we can make these generic components the better

I just merged your branch here and made the semantic changes I mentioned in the PR. Feel free to hack away on the visualizations (I'm assuming time/interest here - you've already made such great contributions here, please feel free to step away at any time!) and maybe I'll focus on the backend changes to support types of files other than original.

Another idea that would also take some backend work: it could be interest to try to visualize the relationships between the original files and their preservation derivatives - comparing formats before and after, for instance

Yes! Yeah I'm still interested, even if my freetime is a bit low for this work so PRs won't be as fervent as I'd like them to be. But I gotta keep my skills up!

I totally get that! Sounds good :)

Hi Ashley! I did a bit more layout work on this and think it's ready to go live as-is if you're keen! Of course you're always welcome to open new PRs too :)

omg thanks!! My free time has stayed low since October although I do think about this and wanting to contribute. Don't let my lack of time block you in any way.

Thank you! I appreciate that you spent some of your rare free time on this, and the door will always be open if you wanna do any more! I'm going to leave this issue open as a reminder to swing back and generalize the visualization beyond formats at some point...

Of course! It really wasn't much work at all -- I like to think the biggest part was motivating you to do even MORE work after me to tidy up my sloppy quickly-drafted mess. :joy:


Map Doesn't show

My application was working properly until i update my tns-version. Now my application works but the map doesn't show on the screen. I get these two errors while I want to reach the map

[INFO] {DefaultFileSource}[Database]: cannot open file at line 38280 of [0e5ffd9123] (Code 14)
[INFO] {DefaultFileSource}[Database]: [0e5ffd9123]:38280: (3) open(/Users/dogabudak/Library/Developer/CoreSimulator/Devices/FA8FBC63-02CF-435C-8F13-7728E7F4AE1B/data/Containers/Data/Application/D1EDE0E6-632A-4C4C-8385-2D09A0801AB2/Library/Application Support/org.nativescript.piarcha/.mapbox/cache.db) -  (Code 14)

my package.json is ;

"tns-ios": {
"version": "3.0.1"
}

"nativescript-mapbox": "^3.0.0",

Do i have to do anything else after I upgrade my tns version ?

Depends on the code you use to render the map. If it's an XML definition then yeah, see the readme.

Oh didn't saw that on the first glance sorry,

now its fixed

Cool!


Maximum aspect ratio of camera for Android Mobile app & Android TV to use feature of Pose estimation?

Click to expand!
Issue Type
Feature Request
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.7.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
A bug happened!
Standalone code to reproduce the issue
What is the maximum aspect ratio of camera for Android Mobile app & Android TV to use feature of Pose estimation?

Relevant log output
No response

??

Hi @IBSApple
We will resize and pad the image to keep the aspect ratio and fit the expected size which can vary for different pose estimation algorithms.
The tensorflow provides Movenet tutorial for human body pose estimation which runs faster than real time (30+ FPS) and tested on most modern desktops, laptops, and phones.
Thanks.


Random crash... white windows

I confirm (by marking "x" in the [ ] below):

[ X ] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[ X ] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[ X ] I have read contributing guidelines.

Summary
Ramdom crash ... all windows still blank ...
( can't show the debug menu whit alt key ... )
Steps to reproduce
This is random ... most time i juste retake focus on windows after a long moment of inactivity ...
 This is randome issue
Expected behavior
normal mattermost ...
Observed behavior
White windows

( i edit my post when i reproduce this error )

@andrelec1 How often does this issue reproduce for you?

Its not regular, some time, no crash for 2 or 3 days ... and some time, like 10 time in days ...

O_o i can see the channel when i move my mouse ...

@andrelec1 Can you try disabling desktop notifications and see if the issue reproduces?
We've had reports where desktop notifications causes temporary freezing of the client, so wondering if it's the same cause.

@andrelec1 Possibly the renderer of webview might not work properly. Would you try also --disable-gpu command line option?
And for reference, please write about your ubuntu version and desktop environment.

i use ubuntu mate 17.04,

i try with the --disable-gpu argument and it work perfectly ... i have a coworker with same error , so i tell her to try with the argument, and this fix the issue like me ....


Paired Node looses attribute callbacks on re-subscribing

Hi, I noticed that after a few days of running a modified version of the shell app some nodes would send attribute changed messages, but my callbacks were not being called. I tracked this down to this line:
https://github.com/project-chip/matter.js/blob/81c0c32f0c2abf360aceb980189bd7387ef2dfc2/packages/matter.js/src/device/PairedNode.ts#L375-L378
which is subscribing again when it detects a missed subscription event, but is not passing in the callbacks originally setup with the paired node.
I have a PR that fixes this for me and maybe better describes the issue, but feel free to disregard/close it if there is a better solution ;-)

Good catch you are right params are missing here. I comment on pr.


CreateInviteAsync gives a 429 (RateLimitException)

to reproduce:
var channel = ...
for (var i = 0; i < 10; i++)
{
    await channel.CreateInviteAsync();
}
// fails on 6th call

I believe this might be an instance of an endpoint without headers. I'll investigate.

Cannot reproduce.

sorry, my mistake, it needs to be different channels.
to reproduce:
_ = Task.Run(async () =>
{
    var guild = ...UL;
    try
    {
        foreach (var ch in client.Guilds[guild].Channels)
        {
            if ((ch.PermissionsFor(ch.Guild.CurrentMember) & Permissions.CreateInstantInvite) == 0)
                continue;
            Console.WriteLine(ch);
            await ch.CreateInviteAsync();
        }
    }
    catch (Exception e)
    {
        Console.WriteLine(e);
    }
});

Gives something like:
Channel ... (...)
[2017-09-25 16:27:38 -03:00] [REST] [Debug] Difference between machine and server time: -331.47ms
[2017-09-25 16:27:38 -03:00] [REST] [Debug] Difference between machine and server time: -145.06ms
Channel ... (...)
[2017-09-25 16:27:39 -03:00] [REST] [Debug] Difference between machine and server time: -966.66ms
Channel ... (...)
[2017-09-25 16:27:39 -03:00] [REST] [Debug] Difference between machine and server time: -763.86ms
Channel ... (...)
[2017-09-25 16:27:39 -03:00] [REST] [Debug] Difference between machine and server time: -576.66ms
Channel ... (...)
[2017-09-25 16:27:39 -03:00] [REST] [Debug] Difference between machine and server time: -402.05ms
Channel ... (...)
[2017-09-25 16:27:39 -03:00] [REST] [Debug] Difference between machine and server time: -230.45ms
DSharpPlus.Exceptions.RateLimitException: Rate limited: 429
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at DSharpPlus.Net.DiscordApiClient.<CreateChannelInviteAsync>d__47.MoveNext() in ...\DSharpPlus\Net\DiscordApiClient.cs:line 649
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MessageEvents.<>c__DisplayClass1_0.<<MessageCreatedStart>b__0>d.MoveNext() in ...\Sharpbott\MessageEvents.cs:line 71

So you're trying to create an invite in a channel where you can't?

what? no, the if statement checks if it has the invite permission and continues the loop if it doesn't. this should work.

Right. Bucketing strikes again.


Error: delete version mutation failed. Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)

Hi,
I got this error since today, two days ago the action was still working:
Run actions/delete-package-versions@v[2](https://github.com/philippthiele/local-frontend/runs/5343785718?check_suite_focus=true#step:7:2)
  with:
    package-name: local-frontend
    min-versions-to-keep: 1
    num-old-versions-to-delete: 1
    ignore-versions: ^$
    delete-only-pre-release-versions: false
    token: ***
  env:
    NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
    NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
(node:28[3](https://github.com/philippthiele/local-frontend/runs/5343785718?check_suite_focus=true#step:7:3)0) [DEP000[5](https://github.com/philippthiele/local-frontend/runs/5343785718?check_suite_focus=true#step:7:5)] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Total versions deleted till now: 1
Error: delete version mutation failed. Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)

Can you help fixing it?
Thanks and BR

My build just started running into this problem out of the blue yesterday as well.

Same issue here, looks like the graphql changed perhaps?

FWIW, we tried that too, but then the error returned upon our second new build once at least one package version existed again.

same issue today, somebody solve this?

Having the same issue using delete-package-versions@v2:
Run actions/delete-package-versions@v2
  with:
    package-name: de.ottonien.questitems
    min-versions-to-keep: 3
    num-old-versions-to-delete: 1
    ignore-versions: ^$
    delete-only-pre-release-versions: false
    token: ***
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/16.0.2-7/x64
(node:2009) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Total versions deleted till now: 2
Error: delete version mutation failed. Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)

Have merged the PR for the fix. Thanks @ralfstuckert for the fix. The v2 version should work as expected now :tada:


Does tfa.metrics.F1Score calculate f1 score on each batch (or) on full eval set?

Please update the documentation to include the information regarding whether the metric calculates f1 per each batch and then averages it out (or) does it calculate on full validation set?

Hi, John. F1Score calculates on the whole data which it had seen before.

I'll close the issue, and feel free to reopen it :-)


Error while running event

Description
Error while running event StatsGui::on_player_created (ID 27)
Error when running interface function TLBE.recording_sensor: TLBE/scripts/camera.lua:496: attempt to index local 'playerSettings' (a nil value)
stack traceback:
TLBE/scripts/camera.lua:496: in function <TLBE/scripts/camera.lua:493>
stack traceback:
[C]: in function 'call'
StatsGui/control.lua:157: in function 'sensor'
StatsGui/scripts/stats-gui.lua:47: in function 'update'
StatsGui/scripts/stats-gui.lua:25: in function 'build'
StatsGui/scripts/player-data.lua:34: in function 'refresh'
StatsGui/control.lua:40: in function <StatsGui/control.lua:37>
Reproduction
On load saved file

This is happening in TLBE, not StatsGui. Please report it to them.

Done, thanks


Correct namespace to https for gistWiki

Found this while gathering ontology metrics.

See #123, gistWiki is supposed to be removed.
And there was already a issue for this problem, don't forget to search existing issues before creating a new one.

@Jamie-SA Ah, missed that entirely, will remove it entirely.


Support for polar coordinates in Vector2

Constructor accepts polar coordinates (with the optional polar keyword argument)
Vector2 instances have rho and theta as properties

Absolutely agree with all the comments, I'll get it fixed up as soon as I can!

Also, kind of unrelated but I feel like having the x, y, and now, rho and theta getters/setters as part of BaseVector is a bit counter-intuitive. Maybe having the BaseVector as a generic n-dimensional vector (that is also instantiable) and only has operations that work independently of the dimensionality - like it mostly is currently - could be useful.
It might even be possible to move (part of) the constructor to the BaseVector and make it easier for users to implement 4d vectors for example.


Difficulty reading wide HTML examples

The example HTML in the documentation is difficult to read because often it's much wider than the area provided. Here's how it looks on my screen.

This came to light recently whilst creating a set of reusable components and having to compare the library's output with the docs to ensure correctness. The process involved lots of horizontal scrolling and eventually became so frustrating I created my own custom stylesheet to make it easier. Here's how it looks with the custom style.
Would it be possible to make the example HTML a little smaller? MDN, which also contains lots of HTML snippets, uses a size of 16px and fit lines of about 90 characters compared to the design system's 19px and ≈65 characters. Alternatively, maybe the width of the snippet area be increased slightly?
Obviously my use case isn't the norm and there might be other usability implications, but I suspect I'm not the only dev who has encountered this frustration. Thanks.

Thanks a lot for the detailed explanation @peteryates 👍
For now we're going to leave the issue open and see if it comes up again on user support.

I'd like to see this fixed too. Given we have to re-implement the html if we want to use anything other than Node, it's a bit perverse making it harder to read the html than it needs to be.


feat(tutorial): complete step 5 - IBM Endicott

New

http://carbon-tutorial-tsimkulet.mybluemix.net/#/

Looks great


如何复现测试过程

作者您好！我想复现您的工作中的预测部分，以得到论文中的分实例割结果，但缺少文档的指示摸索起来有些困难。请问作者可以更新一下这部分的文档嘛？或者如果不麻烦的话，也希望您能在这条issue的回复中给予我简单的指示。非常感谢！

Thank you very much for the instructions and these help me a lot!

Hello, is there any update on the demo?

I updated readme file. See this section. Hope this can help you.

I updated readme file. See this section. Hope this can help you.

Hello, I have trained a Nerf model following link. I want to extract features for 3D mask preparation. But I cannot find an instruction about how to do it. Could you show that to me ? Thanks!


Tooltip on Buttons in Adaptive Card displayed poorly

Hi there
We've noticed that for some time now when hovering over a button in an adaptive card, a tooltip containing the data for that button is displayed.
Is it possible to remove this tooltip? Because with longer text, it covers the card view and looks bad.
Additionally, in the case of a link, the text does not wrap correctly in the tooltip.

Currently it is not possible to disable tooltips in Adaptive Card

Additionally, in the case of a link, the text does not wrap correctly in the tooltip.

The same issue has been reported here - https://learn.microsoft.com/en-us/answers/questions/1327542/tooltip-not-working-as-expected-in-microsoft-teams. We have raised a bug for the same. We will keep you posted on the updates.

the URL will always be appended to the tooltip even when its value is set by the user. See the following snippet from our conversation


2:<IP_ADDRESS>.3 Expected Actions

Suggest changing this:
After the identifier references are replaced, the Patient Identifier Cross-reference Manager shall reapply its internal cross-referencing logic/ policies before providing the updated information via the PIX Query transactions.
to this:
After processing the Remove Patient message, the Patient Identifier Cross-reference Manager shall not return the removed identifier in response to PIX Query transactions.

http://build.fhir.org/ig/IHE/ITI.PIXm/branches/master/ITI-104.html#23104433-expected-actions


Footer

Description
Responsive Footer
Screenshots

Additional information
No response

I would like to work on this. Please assign this to me!

@nandini7637 Can you please assign this to me !

@nandini7637 Can I use bootstrap or it should be in pure css?

@nandini7637 Can I use bootstrap or it should be in pure css?
Pure css


Lorien Crash when scaling window

Lorien version:
Lorien v0.3.0-dev
Tested on Code from Commit:
09cea891b17858190b4ea3167ceede59d7c781c9
OS/device including version:
Windows 10 x64 | v10.0.19042 Build 19042

Issue description:
Lorien Crashes When scaling window as small as possible

ERROR: get: FATAL: Index p_index = 1 is out of bounds (size() = 1).    At: ./core/cowdata.h:156
Steps to reproduce:
Scale the window as small as it can go. It will hang for a few seconds then crash

I'm working on figuring out why it crashes, but so far no luck.
(Mainly because this is the first time I've worked with godot)

Tested it in a new empty game just to make sure it isn't a godot problem nope it's specific to Lorien.

So I found some code that if it's removed it stops the crash
Here is the line in the code base
It was added in Commit:
560131183a731f1e9020b584660b8b102eca6891
I can't find the reason why this was added, but removing it fixes the crash.

Found out that if the resulution goes to Y <= 4 it crashes

Thanks for figuring that out. I guess there is a lower limit to how small framebuffers can be in Godot (might be platform dependent).

Fixed in #36


Remove INVALID_BASE and use Option for base

I am not sure if the following part is correct, could you check carefully?
https://github.com/daac-tools/daachorse/blob/4794bcc2d3525dfcb92c93c54ff0a4185c0e7c8e/src/charwise/builder.rs#L324-L327

And, the following part is correct. Thank you for your modification.
https://github.com/daac-tools/daachorse/blob/4794bcc2d3525dfcb92c93c54ff0a4185c0e7c8e/src/charwise/builder.rs#L324-L327


word-count: Normalization independent testing

When @wobh added a test for normalization in #207 @kytrinyx noted the following:

I like that it leaves the choice up to the implementer as to how to do normalization.

Sadly this is only true for that single test case, all other 10 assume lower case normalization.
The best way to fix this would be if Python or some built-in package like unittest would provide us with a case insensitive string comparison function or something like it. I couldn't find one but there has to be something. We can't be the first having this problem.
I wrote a prove of concept but as we can't ship additional modules with the cli and it only works with Python 3 that doesn't do the trick.
https://gist.github.com/behrtam/2894facca0f35f642300

I discovered that a bit later: https://github.com/exercism/x-common/pull/128
I don't know what the solution is.

Sorry for the oversight. Thank you for bringing it up. I looked around, and turned up this SO question from 2011 where case desensitizing strings in Python is discussed: http://stackoverflow.com/questions/62567/ignore-case-in-python-strings. I don't have any immediate sense of what, if anything from there is useful here.


net/http: missing error handling in serveContent

What version of Go are you using (go version)?

$ go version
go version devel go1.21-a6ddb15f8f Tue Jan 24 17:58:12 2023 +0000 linux/amd64

What did you do?

I ran into this while debugging some failures while trying to stream a file from S3. We noticed problems where suddenly AWS started to return huge numbers of 403, but there were no error logs in our server. We eventually figured out the root cause to be a rate limiting issue, but we had to sift through CloudTrail logs to find that. The expectation was that it would appear in the server logs.
Digging a bit deeper while trying to reproduce locally, I narrowed it down to a missing error handler in: https://github.com/golang/go/blob/518889b35cb07f3e71963f2ccfc0f96ee26a51ce/src/net/http/fs.go#L352-L354
The problem is that if the stream breaks mid-way there is no indication anywhere as to what happened. The server will keep chugging along perfectly fine.
I have a 2 line CL already prepared for this which logs the error. But just wanted to create an issue for discussion in case this was intented in any ways.
I am happy to create a standalone reproducer for further proof, but I think it is pretty self-evident.
/cc @neild

Logging any error from io.CopyN doesn't seem right, given that the most likely cause of an error is going to be the client going away while writing the response body to it.

In our case, the cause was AWS throwing 403 and returning an xml response for an image file. I can write a reproducer, but it doesn't necessarily have to be the case of something stopping to write the response mid-way.
Anyways, just to clarify, you are okay with handling the error in some form, just not logging it? My only objective here is to be able to capture the error in some form or other, because otherwise there is absolutely no way for a server admin to know the reason of the error. They will see requests failing, but the reason will be unknown since the error is not captured in any way.

I'm open to some form of change here, but we shouldn't spam logs on the expected event of a client going away mid-response.

I commented on the CL but copying here as well: In our case, it wasn't the client, but AWS itself which sent a bad response and closed it. Therefore the problem was that it affected all clients, and there was nothing logged anywhere. So there was no way of knowing what was the exact error message thrown by AWS.
That is what I am trying to solve here. Happy to use any other solution that you recommend.

Friendly ping @neild

I don't know what, if any, change should be made here. I'm fairly certain that logging errors from writing to the response is not an improvement over the current behavior.
I realize this probably isn't a satisfactory response, but I'm afraid I don't have a better one at this time.


Selectable calendar

The next step is to make the calendar actually selectable, in that way we can assign more data linked to a certain event in the schedule. The features we want is a textbox and a rating, where the user can rate the event but also provide a comment.
Future ideas could be to make it possible to read and rate other users comments, so the most useful comments for an event gets saved. (This is however out of scope of this project)

This is succesfully implemented and will be pushed to master


Added initial notebooks : Pinecone DB

Added notebooks to play around with Pinecone

pinecone_trial_1.ipynb
getting to know pinecone and understanding the basic functions

pinecone_demo_transcript.ipynb
implementing data store and querying using a demo transcript

The scores are good. but I was thinking can we join adjacent rows with same speaker together and then get embedding.

This could increase the content we send to llm for processing but it also means llm will get more context about the topic

@PrachiteeChouhan31 @jay-singhvi
Yes, that's a great idea!
Let us decide the context window size and then in v2 we can send out a second query to Pinecone to fetch data in that window. This would help us get the relevant context of the conversation too.

@SartajBhuvaji  are you talking about the + secs and - secs content to be retrieved when queried ?

@madhuroopa  Yes. +/- window size data/


Normal highlight stopped having a value from nvim_get_hl_by_name api

After latest changes, this weird thing started to happen:
:hi Normal
Normal         xxx guifg=#724341 guibg=#FBF6F0 (using rosebones variant here)
:echo nvim_get_hl_by_name('Normal', v:true)
{}
:lua print(vim.inspect(vim.api.nvim_get_hl_by_name('Normal', true)))
{
  [true] = 6
}

I have no idea why, maybe it's a nvim bug (I'm on 0.7.0). Throught this nvim_get_hl_by_name, I'm used to pick zenbones' Normal highlight foreground value to set up colors for other stuff, but now I'm getting nil even though hi Normal shows it as non-nil. Not much an idea what's going, but since I'm solely hitting this from zenbones, I'm reporting it here first for a help.

If I go to rosebones.vim, copy the line with highlight Normal guifg=#724341 guibg=#FBF6F0 guisp=NONE and paste it into command line for execution :highlight Normal guifg=#724341 guibg=#FBF6F0 guisp=NONE, then nvim_get_hl_by_name behaves as expected, so I dunno why this isn't happening anymore after colorscheme rosebones.

Issue might be in lush v2 (which I require). Reverting 7054d8cebbfc0f7f556484ba6091d0eb0d1daf26 and lush to v1 removes the issue.

cc @rktjmp.

It might be related to this too: https://github.com/neovim/neovim/issues/18024

If the colors are getting applied, visually, which from what I can see they are, then I think it's outside of Lush's purview and probably #18024 or some inconsistency in the internal API that appears depending on how you set the highlight.
Lush's interaction with nvim_set_hl is super minimal, if the spec compiles OK, we just get the reduced data and send it along. So if it is visually OK in the editor then it applied cleanly and its out of Lush's hands.
As seen in this comment, Normal is a somewhat special group and perhaps thats why it's mucking up internally.
I tried a few things:

Avoiding re-applying Normal in the above linked code
Adjusting keys to foreground over fg
Setting Normal to colors from another group (ie. trying "known gettable" fg/bg values)

Without any effect.
FWIW, you can get the colors directly from Lush specs, even alter them, to get around the nvim bug:
local rb = require("rosebones")
print("As hex", rb.Normal.bg.hex,
      "Adjusted, as hex", tostring(rb.Normal.bg.sa(10)),
      "As .r .g .b table", rb.Normal.bg.rgb)

It might be related to this too: neovim/neovim#18024

Thx @mcchrish, that surely sounds like the original reason, which had eventually slipped here after some code changes.

FWIW, you can get the colors directly from Lush specs, even alter them, to get around the nvim bug...

Thx @rktjmp, I'll try that, although that makes my code less colorscheme generic, I'll now be tied to zenbones/lush goodies, but as I'm solely using zenbones as my colorscheme anyway, I guess it'll be fine.
Closing as this seems a nvim bug.

If you wanted, you could sort of use the exporters to dump zenbones to raw tables then import that into your own theme.
I think following the build steps here but instead of using the colors table with nvim_set_hl, just return them from the module. That would give you a "raw" table nearly identical to what you'd get from nvim_get_hl_by_name, except the colors would be hex strings instead of rgb which may or may not matter, or at least can be converted back to int values.
You'd be adding a manual-ish build step to your theme but probably not that bad, just have to periodically dump *bones when it updates.

@rktjmp heh, thx, but I don't want that, your first suggestion is already working fine for me, I'll stick to that until nvim bug is fixed.

Should be fixed in HEAD https://github.com/neovim/neovim/pull/18820

@rktjmp cool! thx for digging that.


TC 1

Refer to this link for test case specifications. Attach a recording of the execution to this ticket. Report immediately if issues are encountered in the dev environment. Thanks!

Screencast from 2024-11-08 21-14-09.webm


Duplicate Launcher namespace in JSON in case of own responses

When there is an own response from Launcher, the merged JSON actually contains two Launcher responses on the same level:

Launcher's own response
Launcher's LayoutInfo

This results in an incorrect JSON:
{
	"_ver#c$": 0,
	"_ver#s": 0,
	"Html": "/Launcher/viewmodels/LauncherTemplate.html",
	"homeThumbnail": {},
	"homeUrl": "",
	"editingMode$": false,
	"layoutModified$": false,
	"searchBar": {
		"query$": "",
		"submit$": "",
		"searchEngineResultPageUrl$": "",
		"feedback": [],
		"preview": {
			"Html": "/Launcher/viewmodels/SearchPreviewPage.html",
			"PartialId": "/Launcher/viewmodels/SearchPreviewPage.html"
		},
		"previewVisible": false,
		"close$": 0
	},
	"currentPage": {
		"Launcher": {
			"Html": "/Launcher/viewmodels/SettingsPage.html",
			"IgnoreUrlPattern$": "",
			"Save$": 0
		},
		"Launcher": {
			"Html": "/Launcher/viewmodels/SettingsPage.html",
			"MergedHtml": "/sc/htmlmerger?Launcher=/Launcher/viewmodels/SettingsPage.html",
			"AppName": "Launcher",
			"AppsResponded": ["Launcher"],
			"Path": "/sc/mapping/settings",
			"PartialId": "/Launcher/viewmodels/SettingsPage.html",
			"Layout": "",
			"ActiveWorkspace": false
		}
	},
	"user": {
		"Launcher": {
			"Html": ""
		},
		"Launcher": {
			"Html": "",
			"MergedHtml": "",
			"AppName": "Launcher",
			"AppsResponded": ["Launcher"],
			"Path": "/sc/mapping/user",
			"PartialId": "",
			"Layout": "",
			"ActiveWorkspace": false
		}
	},
	"menu": {
		"Launcher": {
			"Html": "/Launcher/viewmodels/LauncherMenu.html"
		},
		"Launcher": {
			"Html": "/Launcher/viewmodels/LauncherMenu.html",
			"MergedHtml": "/sc/htmlmerger?Launcher=/Launcher/viewmodels/LauncherMenu.html",
			"AppName": "Launcher",
			"AppsResponded": ["Launcher"],
			"Path": "/sc/mapping/menu",
			"PartialId": "/Launcher/viewmodels/LauncherMenu.html",
			"Layout": "",
			"ActiveWorkspace": false
		}
	},
	"launchpad": {
		"names": {
			"Launcher": {
				"Html": ""
			},
			"Launcher": {
				"Html": "",
				"MergedHtml": "",
				"AppName": "Launcher",
				"AppsResponded": ["Launcher"],
				"Path": "/sc/mapping/app-name",
				"PartialId": "",
				"Layout": "",
				"ActiveWorkspace": false
			}
		},
		"layout": "{\"width\": \"1000\", \"items\":[]}"
	},
	"appFilter": [],
	"workspaces": [],
	"uri": "/launcher/settings"
}

I think that this needs a short term workaround in Launcher.
But really an immediate fix in Starcounter (see https://github.com/Starcounter/Starcounter/issues/3573) would be better, because this problem occurs not only here (see https://github.com/Starcounter/Starcounter/issues/3118)
cc @aloscha, @miyconst, @chrhol

Fix in progress in PR: https://github.com/StarcounterPrefabs/Launcher/pull/239

Fixed. New version on master.


Not Able To Install Program

Hi Dev,
I am trying to install tidal-wave program on windows 10 based PC using this command python -m pip install tidal-wave. But facing below error.
 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/
ERROR: Could not find a version that satisfies the requirement tidal-wave (from versions: none) ERROR: No matching distribution found for tidal-wave

Hi Dev,
I am trying to install tidal-wave program on windows 10 based PC using this command python -m pip install tidal-wave. But facing below error.
 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/tidal-wave/
ERROR: Could not find a version that satisfies the requirement tidal-wave (from versions: none) ERROR: No matching distribution found for tidal-wave

Hey! Does this happen with every pip package or just Tidal-Wave? Sometimes this can be caused by Python itself being a bit funky. Sometimes a reinstall of Python helps. If every package returns this error, a quick Google on StackOverflow gives this command: curl https://bootstrap.pypa.io/get-pip.py | python.
N.B. I'm not the dev, just really like this project.

@Rajeshsahoo12 the error output that you've included is an HTTP error, letting you know that your pip.exe, however you installed it, is not able to find the resource over the Internet; i.e. it's saying that there is no such thing as tidal-wave at PyPi's repository. This is false, as I have just now installed it on my system (not Windows, but the point is that tidal-wave IS available from PyPi)

If you check out this StackOverflow question, you'll see that your error is an Internet connection error on your Windows system, nothing to do with tidal-wave.

@Rajeshsahoo12 the error output that you've included is an HTTP error, letting you know that your pip.exe, however you installed it, is not able to find the resource over the Internet; i.e. it's saying that there is no such thing as tidal-wave at PyPi's repository. This is false, as I have just now installed it on my system (not Windows, but the point is that tidal-wave IS available from PyPi)
If you check out this StackOverflow question, you'll see that your error is an Internet connection error on your Windows system, nothing to do with tidal-wave.

Ohhhh okay. I have tried re-installation of python entirely the same version 3.10.0
But sadly no success.

Do you have a proxy active? For example, the Fiddler program acting as a man-in-the-middle proxy? Can you run a pretty "default" command and include the output?
python.exe -m pip install pip --upgrade --verbose

python.exe -m pip install pip --upgrade --verbose

I ran this command python.exe -m pip install pip --upgrade --verbose
python.exe -m pip install pip --upgrade --verbose
Using pip 24.0 from C:\Users\Rajesh Sahoo\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
Requirement already satisfied: pip in c:\users\rajesh sahoo\appdata\local\programs\python\python310\lib\site-packages (24.0)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/

Do you have a proxy active? For example, the Fiddler program acting as a man-in-the-middle proxy? Can you run a pretty "default" command and include the output?
python.exe -m pip install pip --upgrade --verbose

I have fiddler installed but it is not running ryt now.

Do you have a proxy active? For example, the Fiddler program acting as a man-in-the-middle proxy? Can you run a pretty "default" command and include the output?
python.exe -m pip install pip --upgrade --verbose

How do I check whether I am running behind proxy..? I am just using one wrap dns <IP_ADDRESS> , <IP_ADDRESS> for IPv4 & 2606:4700:4700::1111 , 2606:4700:4700::1001 for IPv6

Do you have a proxy active? For example, the Fiddler program acting as a man-in-the-middle proxy? Can you run a pretty "default" command and include the output?
python.exe -m pip install pip --upgrade --verbose

How do I check whether I am running behind proxy..? I am just using one wrap dns <IP_ADDRESS> , <IP_ADDRESS> for IPv4 & 2606:4700:4700::1111 , 2606:4700:4700::1001 for IPv6

I tried installing pandas now. It is installing successfully.

Do you have a proxy active? For example, the Fiddler program acting as a man-in-the-middle proxy? Can you run a pretty "default" command and include the output?
python.exe -m pip install pip --upgrade --verbose

How do I check whether I am running behind proxy..? I am just using one wrap dns <IP_ADDRESS> , <IP_ADDRESS> for IPv4 & 2606:4700:4700::1111 , 2606:4700:4700::1001 for IPv6

I tried installing pandas now. It is installing successfully.

Thanks @ebb-earl-co @AVAEO. Now it got installed. What I have done is undo the usage of cloudfare wrap dns, flushdns. Re-assure that python is added to PATH by verifying under ENVIRONMENT VARIABLES


Add support for connection properties ext_nested_groups and max_groups_to_retrieve

This adds support for 2 more connection properties:  bool ext_nested_groups, string max_groups_to_retrieve.  max_groups_to_retrieve is handled as a string in the Auth0 API, but its content is numeric.  Not sure if there is a better way to handle this.

Thank you @mdisibio!


Failed to precompile environment_config:generate

precompiling environment_config is failing, output of flutter --version and flutter pub run environment_config:generate below:
Flutter 1.20.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 216dee60c0 (8 days ago) • 2020-09-01 12:24:47 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2

flutter pub run environment_config:generate
Precompiling executable...
Failed to precompile environment_config:generate:
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:32:8: Error: Error when reading '../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/meta_meta.dart': No such file or directory
import 'package:meta/meta_meta.dart';
       ^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1456:43: Error: Type 'TargetKind' not found.
  bool _isValidTarget(AstNode target, Set<TargetKind> kinds) {
                                          ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1499:7: Error: Type 'TargetKind' not found.
  Set<TargetKind> _targetKindsFor(ElementAnnotation annotation) {
      ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1843:14: Error: Type 'TargetKind' not found.
extension on TargetKind {
             ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1456:43: Error: 'TargetKind' isn't a type.
  bool _isValidTarget(AstNode target, Set<TargetKind> kinds) {
                                          ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1458:29: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
 - 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
      return kinds.contains(TargetKind.classType) ||
                            ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1459:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
 - 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
          kinds.contains(TargetKind.type);
                         ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1462:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
 - 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
          kinds.contains(TargetKind.library);
                         ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1464:29: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
 - 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
      return kinds.contains(TargetKind.enumType) ||
                            ^^^^^^^^^^
../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart:1465:26: Error: The getter 'TargetKind' isn't defined for the class 'BestPracticesVerifier'.
 - 'BestPracticesVerifier' is from 'package:analyzer/src/error/best_practices_verifier.dart' ('../../Library/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.40.1/lib/src/error/best_practices_verifier.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TargetKind'.
          kinds.contains(TargetKind.type);
                         ^^^^^^^^^^
pub finished with exit code 1```

Hello.
What yaml config are you using? Or you get this kind of errors no matter what yaml file is?

it doesn't matter what yaml I use, I'm just using a test yaml at the moment
  path: env_config.dart
  fields:
    TEST:
      env_var: TEST
      default: 'test'
      dotenv: true```

Some more info though, I'm using `2.2.3` of `environment_config` seems like it's broken since flutter `1.20.0`, it works with flutter `1.17.5`

Oh ok, thanks for the info, I will update it asap

so I was searching for any info regarding this kind of error, at it seems that the problem is actually in the analyzer https://github.com/dart-lang/sdk/issues/43289
Problem is that analyzer 0.40 relies on package meta 1.2.x, while flutter_test can work only with meta package not older than 1.1.8. It creates conflicts.
I'm currently going across deps to figure out which one has a dependency on analyzer, but if you need to fix it quickly, you can add to your deps next line
analyzer: '<0.40.0'

just published a new version with dart_style version restricted to <1.3.6. Since starting from 1.3.7 it has deps to analyzer: ^0.40.0 that causes problems that I mentioned before.
All should work fine now.
Feel free to reopen the issue if you still have any issues

Great thanks, I can confirm it's fixed


Cannot load AWQ Quantized LLaMA 3 in Colab

Hello!
I've tried using Google Colab to convert an AWQ-quantized version of LLaMA 3 to ONNX to use it for DirectML inference (see https://blogs.windows.com/windowsdeveloper/2024/05/24/quantization-with-directml-helps-you-scale-further-on-windows/).
I've used the Colab notebook provided in the repo. I did the following:
%pip install qllm
%pip install fschat accelerate
!pip install autoawq

To install dependencies, and then
!python -m qllm --load TechxGenus/Meta-Llama-3-8B-AWQ --export_onnx=./onnx
to convert.
However, the conversion failed with:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/qllm/modeling/base.py", line 259, in from_quantized
    assert no_split_module_classes is None
AssertionError

Followed by a bunch of:
RuntimeError: Error(s) in loading state_dict for LlamaForCausalLM:
	size mismatch for model.layers.0.self_attn.q_proj.qweight: copying a param with shape torch.Size([4096, 512]) from checkpoint, the shape in current model is torch.Size([512, 4096]).
	size mismatch for model.layers.0.self_attn.k_proj.qweight: copying a param with shape torch.Size([4096, 128]) from checkpoint, the shape in current model is torch.Size([512, 1024]).
	size mismatch for model.layers.0.self_attn.v_proj.qweight: copying a param with shape torch.Size([4096, 128]) from checkpoint, the shape in current model is torch.Size([512, 1024]).
	size mismatch for model.layers.0.self_attn.o_proj.qweight: copying a param with shape torch.Size([4096, 512]) from checkpoint, the shape in current model is torch.Size([512, 4096]).
	size mismatch for model.layers.0.mlp.gate_proj.qweight: copying a param with shape torch.Size([4096, 1792]) from checkpoint, the shape in current model is torch.Size([512, 14336]).
...

Is this an error on my side? How can I install the dependencies correctly so that it works in Colab?
Thank you!

Thanks for filing the issue.
It's been fixed.


Add support for riscv64 architecture

edited by @brandond
Repurposing this as a tracking issue for riscv64 support.
This has not been prioritized, and we don't have any build infra for riscv64, so at the moment this will be purely experimental.

Recently ubuntu start to ship docker ready image for starfive vision five 2 with kernel already configured for docker and kubernetes:
root@ubuntu:/home/ubuntu# curl https://raw.githubusercontent.com/k3s-io/k3s/master/contrib/util/check-config.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13993  100 13993    0     0  44061      0 --:--:-- --:--:-- --:--:-- 44141

Verifying binaries in .:
- sha256sum: sha256sums unavailable
- links: link list unavailable

System:
- /usr/sbin iptables v1.8.7 (nf_tables): ok
- swap: disabled
- routes: ok

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000

modprobe: FATAL: Module configs not found in directory /lib/modules/6.2.0-19-generic
info: reading kernel config from /boot/config-6.2.0-19-generic ...

Generally Necessary:
- cgroup hierarchy: cgroups V2 mounted, cpu|cpuset|memory controllers status: good
- apparmor: enabled and tools installed
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_MULTIPORT: enabled (as module)
- CONFIG_IP_NF_NAT: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: enabled
- CONFIG_NET_CLS_CGROUP: enabled (as module)
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: missing
- CONFIG_IP_NF_TARGET_REDIRECT: enabled (as module)
- CONFIG_IP_SET: enabled (as module)
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_PROTO_TCP: enabled
- CONFIG_IP_VS_PROTO_UDP: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
  - "overlay":
    - CONFIG_VXLAN: enabled (as module)
      Optional (for encrypted networks):
      - CONFIG_CRYPTO: enabled
      - CONFIG_CRYPTO_AEAD: enabled
      - CONFIG_CRYPTO_GCM: enabled
      - CONFIG_CRYPTO_SEQIV: enabled
      - CONFIG_CRYPTO_GHASH: enabled
      - CONFIG_XFRM: enabled
      - CONFIG_XFRM_USER: enabled (as module)
      - CONFIG_XFRM_ALGO: enabled (as module)
      - CONFIG_INET_ESP: enabled (as module)
      - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
- Storage Drivers:
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled (as module)

STATUS: pass

It's huge change, earlier custom built kernel was needed to get at least docker/containers to work. For now boards with already updated u-boot just get ubuntu official support with quite good kernel.
Still no official support:
root@ubuntu:/home/ubuntu# curl -sfL https://get.k3s.io | sh -
[ERROR]  Unsupported architecture riscv64

Yeah we don't have any hardware for CI or QA so we probably won't have official support any time soon.

RiscV is getting more and more popular and AFAIK servers with this arch are already on the way. After very successful kickstarter for star five vision five 2 board still is available on few e-shops for <$100. Of course it's still dev board and there are some issues to fix, but it's first accessible platform with some power. Also I'm sure that You need something more professional than this ;)
Of course You don't need such hardware to test that, QEMU is able to emulate at least older RiscV - Vision Five board. I don't know quality of such emulation, but it should be better than usual and probably You will get better results on moderate x86 than on original board (which is rather slow on hardware level).
If everything fails and You are willing to get access to such board let me know, I have two with working eMMC, and partially nvme. I can setup one of them on cloud for long time. Also alibaba cloud is preparing something online too, but for now I could not find details.

Would it help if I would provide access to the 3x VisionFive V2?

Our team already has access to some, however we don't yet have access to datacenter hardware that could reliably build for this platform. Until then, we are limited to cross-building, which is slow - and we're reluctant to add that to our pipeline at this time.

Just for the record:
unmatched01:~ # kubectl get node -o wide
NAME                    STATUS   ROLES                       AGE   VERSION                INTERNAL-IP   EXTERNAL-IP   OS-IMAGE              KERNEL-VERSION     CONTAINER-RUNTIME
unmatched01.lan.khaus   Ready    control-plane,etcd,master   27m   v1.28.1+k3s-b44521db   <IP_ADDRESS>    <none>        openSUSE Tumbleweed   6.4.12-1-default   containerd://1.7.3-k3s2
unmatched02.lan.khaus   Ready    control-plane,etcd,master   19m   v1.28.1+k3s-b44521db   <IP_ADDRESS>    <none>        openSUSE Tumbleweed   6.4.12-1-default   containerd://1.7.3-k3s2
unmatched03.lan.khaus   Ready    control-plane,etcd,master   14m   v1.28.1+k3s-b44521db   <IP_ADDRESS>    <none>        openSUSE Tumbleweed   6.4.12-1-default   containerd://1.7.3-k3s2

Note that there are no images available to run on these nodes yet, as our rancher-mirrored images exclude the riscv platform.

Thanks for update!
when do You think that those images will be available? Do You plan any beta/alpha version?

You can follow https://github.com/rancher/image-mirror/issues/502

Hello, I'm here to just mention, I have a RISC-V 64 (StarFive 2) machine as well, and would like to add it my existing k3s cluster. Thank you for the work, all the best.

For those interested; I have K3S running on 4 StarFive Vision 2s using https://github.com/CARV-ICS-FORTH/kubernetes-riscv64. I have been able to port some more containers like the demo programs I use in my K8S classes as well as NFS-STORAGE-PROVISIONER. I am currently studying porting OpenEBS and Longhorn.
It looks like the RISCV64 for K3S porting project is stalled a little bit, so I am trying to fork my own tree for experiments.
Biggest 'next' challenge is the distroless container images everyone has migrated too. (Where are the Dockerfiles? :) )
RISCV64 now being a fully supported target and hostplatform on Go makes the experience much more pleasant than a year before. :)

We're kind of just waiting for the ecosystem to catch up. Once upstreams for all our various helper projects, images, and build tools support riscv64 this will be easier to move forward.

In alpinelinux, we have packaged k3s for riscv64 in our rolling release "edge" for a couple of years. The latest release v1.29.1+k3s1, however, broke the build by pulling in github.com/marten-seemann/tcp since #8977, see also https://github.com/marten-seemann/tcp/pull/1

Oh, that's fun.

We're kind of just waiting for the ecosystem to catch up. Once upstreams for all our various helper projects, images, and build tools support riscv64 this will be easier to move forward.

Which ones, exactly?
I have a stable VisionFive2 as well and did a blind attempt at building, only to be greeted by Dapper not knowing what to do. What are the core components? I tried tracing the Makefile and scripts to find out precisely which components are needed to build k3s. Do you happen to have something like a "dependency list" in this regard? With it, I could try and see which of them do build on riscv64 and work, and later attempt to help upstream potential fixes.
As for Go itself, you should be able to install [gcc,g++}-linux-gnu-riscv64 and then just set GOARCH - to enable CGO support... since I am testing most things directly on the board, I am not completely sure. But basically all the things built with just Go itself have worked so far, and very reliably too, no less (i.e. syncthing, rclone).
Would love to help!

So I gave this another spin and took a look at all the things that are required during build.
And the biggest one is: Dapper needs containers - to be specific, Dockerfile.dapper specifies golang:1.21.6-alpine3.18.
Whilst there are a few riscv64 images (busybox, some alpine images, debian, ubuntu), those very specific tags do not exist.
Is there a way to build without Dapper? From what I could gather, all it really does is set up a Go environment in the container and then run arbitrary commands there - and it also seems to use Trivy, but I haven't yet figured out how or where.
Dapper built just fine with go install github.com/rancher/dapper@latest, by the way. Haven't tried trivy yet.
For porting purposes, it'd be nice to have a build script, or instructions, on how to build without needing to rely on Dapper.
In the meantime, I will keep trying. :) BTW, I set the repo to v1.29.1+k3s2. Long term I want to match k3s versions across my cluster - and then there is also the problem of building non-existing images and tagging them in a way that k3s will find them...

Hello @pascal71 !
I saw that repo, and in fact, that is the release I currently run. But, I wanted to see what I could do to build the upstream version as well.
As it turns out, k3s-root has a riscv root now since v0.13.0 - which is highly promising!
Here are a few changes I did in order to try and make it work:
diff --git a/Makefile b/Makefile
index 620f899894..b82c76dc0d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,9 @@ GO_FILES ?= $$(find . -name '*.go' | grep -v generated)

 .dapper:
        @echo Downloading dapper
-       @curl -sL https://releases.rancher.com/dapper/v0.6.0/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp
-       @@chmod +x .dapper.tmp
+       #@curl -sL https://releases.rancher.com/dapper/v0.6.0/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp
+       #@@chmod +x .dapper.tmp
+       #@ln -s $$(which dapper) .dapper.tmp
        @./.dapper.tmp -v
        @mv .dapper.tmp .dapper

@@ -42,4 +43,4 @@ format:
 local:
        DOCKER_BUILDKIT=1 docker build \
                --build-arg="REPO TAG GITHUB_TOKEN GOLANG GOCOVER DEBUG" \
-               -t k3s-local -f Dockerfile.local --output=. .
\ No newline at end of file
+               -t k3s-local -f Dockerfile.local --output=. .
diff --git a/scripts/version.sh b/scripts/version.sh
index f7bc93fef8..228b84591c 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -75,7 +75,7 @@ if [ -z "$VERSION_KUBE_ROUTER" ]; then
     VERSION_KUBE_ROUTER="v0.0.0"
 fi

-VERSION_ROOT="v0.12.2"
+VERSION_ROOT="v0.13.0"

 DEPENDENCIES_URL="https://raw.githubusercontent.com/kubernetes/kubernetes/${VERSION_K8S}/build/dependencies.yaml"
 VERSION_GOLANG="go"$(curl -sL "${DEPENDENCIES_URL}" | yq e '.dependencies[] | select(.name == "golang: upstream version").version' -)

But in the end, ignoring Makefile entirely and just using the scripts/ directory was the better way to go. I am actually looking into how to properly update the one last module blocking a build:
# github.com/marten-seemann/tcp
/root/go/pkg/mod/github.com/marten-seemann/tcp@v0.0.0-20210406111302-dfbc87cc63fd/sys_linux.go:8:19: undefined: sysSIOCINQ
/root/go/pkg/mod/github.com/marten-seemann/tcp@v0.0.0-20210406111302-dfbc87cc63fd/sys_linux.go:9:19: undefined: sysSIOCOUTQ

This was actually fixed a while later. But I am quite new to Go development... so, I am still looking at how to efficiently update that specific module. After that, the build should pass.
mkdir -p build/data
# Make sure to edit the k3s-root version reference.
./scripts/download
./scripts/generate
# This is where I am stuck.
./scripts/build

It's quite close and the fixes required are minimal. That said, I am still on an older branch (v1.29.1+k3s2), chances are this has been edited since, but I haven't had the time to crawl through the commit history just yet.
Do you happen to know how I can edit that specific dependency?
Thanks, and kind regards,
Ingwie

I think I said this earlier, but it is not hard to build k3s for riscv64. The issue is that none of our images currently support riscv64. Up until recently alpine didn't support it either, except in edge. Once we actually have something to run on this architecture we will reevaluate making binaries available.

I am down to two problems: Setting rootfs in scripts/version.sh to 0.13.0 and now trying to monkey-patch that one damn dependency that snuck in...
There is apparently a fix for that here in this PR: https://github.com/marten-seemann/tcp/pull/1#issuecomment-1742126490
So... Temporarily, I learned I can use replace:
replace github.com/marten-seemann/tcp => github.com/r-value/tcp v0.0.0-20211124094235-5d06fda83888

This results in this:
diff --git a/go.mod b/go.mod
index c8f1d243ff..167f318209 100644
--- a/go.mod
+++ b/go.mod
@@ -2,6 +2,8 @@ module github.com/k3s-io/k3s

 go 1.21

+replace github.com/marten-seemann/tcp => github.com/r-value/tcp v0.0.0-20211124094235-5d06fda83888
+
 replace (
        github.com/Microsoft/hcsshim => github.com/Microsoft/hcsshim v0.11.0
        github.com/Mirantis/cri-dockerd => github.com/k3s-io/cri-dockerd v0.3.9-k3s2 // k3s/release-1.28
diff --git a/go.sum b/go.sum
index 858cd6e414..88d4a49714 100644
--- a/go.sum
+++ b/go.sum
@@ -1140,8 +1140,6 @@ github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czP
 github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
 github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
 github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
-github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk=
-github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU=
 github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
 github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
 github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
@@ -1475,6 +1473,8 @@ github.com/quic-go/quic-go v0.38.2 h1:VWv/6gxIoB8hROQJhx1JEyiegsUQ+zMN3em3kynTGd
 github.com/quic-go/quic-go v0.38.2/go.mod h1:ijnZM7JsFIkp4cRyjxJNIzdSfCLmUMg9wdyhGmg+SN4=
 github.com/quic-go/webtransport-go v0.5.3 h1:5XMlzemqB4qmOlgIus5zB45AcZ2kCgCy2EptUrfOPWU=
 github.com/quic-go/webtransport-go v0.5.3/go.mod h1:OhmmgJIzTTqXK5xvtuX0oBpLV2GkLWNDA+UeTGJXErU=
+github.com/r-value/tcp v0.0.0-20211124094235-5d06fda83888 h1:skZUklgonyd2bz0llv7AjdCuaTeZ1JP5hSqQi5m9aE4=
+github.com/r-value/tcp v0.0.0-20211124094235-5d06fda83888/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU=
 github.com/rancher/dynamiclistener v0.3.6 h1:iAFWeiFNra6tYlt4k+jINrK3hOxZ8mjW2S/9nA6sxKs=
 github.com/rancher/dynamiclistener v0.3.6/go.mod h1:VqBaJNi+bZmre0+gi+2Jb6jbn7ovHzRueW+M7QhVKsk=
 github.com/rancher/lasso v0.0.0-20230830164424-d684fdeb6f29 h1:+kige/h8/LnzWgPjB5NUIHz/pWiW/lFpqcTUkN5uulY=
diff --git a/scripts/version.sh b/scripts/version.sh
index a67f0d5607..939465c0f2 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -75,7 +75,7 @@ if [ -z "$VERSION_KUBE_ROUTER" ]; then
     VERSION_KUBE_ROUTER="v0.0.0"
 fi

-VERSION_ROOT="v0.12.2"
+VERSION_ROOT="v0.13.0"

 DEPENDENCIES_URL="https://raw.githubusercontent.com/kubernetes/kubernetes/${VERSION_K8S}/build/dependencies.yaml"
 VERSION_GOLANG="go"$(curl -sL "${DEPENDENCIES_URL}" | yq e '.dependencies[] | select(.name == "golang: upstream version").version' -)

Still building since a good 30min. This'll take a while, as I am doing this on the target. But from what all I could tell, this is literally all that is needed.
By the way, neither of those .../tcp packages is maintained anymore, at all. They've been dormant for very long now; but some packages seem to still use that?
Is using replace a viable strategy here?

Success.

build/out/data.tar.zst
(scripts/package failed because of the missing alpine:3.19 container - but, it got this far, which is enough.)

@IngwiePhoenix do you happen to have a final set of instructions to build this locally, and have it run? Thank you for doing all the recon work, and making it work.

@plsnotracking Sure - it's actually really simple ... once you spent hours figuring it out, learning some Go in the meantime and getting to know a bunch of k3s repos. x)

git clone -b "v1.29.2+k3s1" https://github.com/k3s-io/k3s.git
Edit scripts/version.sh

Find: VERSION_ROOT="v0.12.2"
Replace with: VERSION_ROOT="v0.13.0"

Edit go.mod

Find the line starting with: go 1.21...
Beneath that, add: replace github.com/marten-seemann/tcp => github.com/r-value/tcp latest

Run go mod tidy

The entry in go.mod should have changed latest to a proper version string now - helps you verify things worked as expected!

Run scripts/download
Then scripts/generate
And finally, scripts/build
Lastly, scripts/package-cli

The other ones require container images to build, which do not exist for RISC-V ... yet? ;) Working on that atm.

You now have a fully built k3s! The patch itself is super small, and you just have to ignore the fancy containerized build start to finish - but other than that, this works. It took me way too long to figure this out...
Give it a try! The build doesn't actually take this long - building Vaultwarden took much longer. Also, my final repo size is:
# du -d 0 -h k3s
1.4G    k3s

About half of a built Linux kernel tree - so you should easily be able to build this on an eMMC or something. Throw it into a screen and make a sandwhich. :)

Thank you.
Although tangential, I had a small problem running into cloning the repo
❯ git clone -b "v1.29.2+k3s1" https://github.com/k3s-io/k3s.git
Cloning into 'k3s'...
remote: Enumerating objects: 994636, done.
remote: Counting objects: 100% (1896/1896), done.
remote: Compressing objects: 100% (897/897), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 7160 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

I will try to increase the buffer size or fallback to http 1.1 which seems backwards, but I guess, that's a solution.

Try the SSH method (git@github.com:k3s-io/k3s.git). Have to do the same whenever I clone the Star-Tech JH7110 kernel. Also, do you have git LFS installed?

Hi,
if someone is looking for some riscv64 images, look in my repository on docker hub: allardkrings/riscv64….

I have no idea what, how, or when, but using just the shell scripts and ignoring Dapper, k3s builds perfectly fine now!
root@riscboi /n/o/k3s ((v1.30.4+k3s1))# ./scripts/download; and ./scripts/build; and ./scripts/package-cli
# ... build ...
root@riscboi /n/o/k3s ((v1.30.4+k3s1))# dist/artifacts/k3s-riscv64  --version
k3s-riscv64 version v1.30.4+k3s1 (98262b5d)
go version go1.22.6

Doesn't even have the -dirty tag anymore since the repo is entirely unmodified.
Guess the next folks I have to bother is the Dapper devs. =) But this is already pretty amazing. I will try to create an exemplary cluster in my spare time on the weekend to see if it works and how far that goes - but it is getting there!

I was able to build it and run without any modifications as well:
matheus@bananapif3:~/projects/k3s-1.31.0-k3s1/dist/artifacts$ file k3s-riscv64
k3s-riscv64: ELF 64-bit LSB executable, UCB RISC-V, double-float ABI, version 1 (SYSV), statically linked, Go BuildID=CNTMeyK6zfqNoG_8tf9Y/VeWQpkv5wHO-CF7fbVKk/AS2IhtUPexyrtYdAcPZw/w9_GGPikbHqd-UOkmAKk, stripped
matheus@bananapif3:~/projects/k3s-1.31.0-k3s1/dist/artifacts$ ldd k3s-riscv64
	not a dynamic executable
matheus@bananapif3:~/projects/k3s-1.31.0-k3s1/dist/artifacts$ ./k3s-riscv64 --version
k3s-riscv64 version v1.31.0+k3s- ()
go version go1.22.5

But as you've pointed out there are some images that are not available for riscv64, and I got this error:
E0916 13:01:04.771972   44618 log.go:32] "RunPodSandbox from runtime service failed" err="rpc error: code = NotFound desc = failed to get sandbox image \"rancher/mirrored-pause:3.6\": failed to pull image \"rancher/mirrored-pause:3.6\": failed to pull and unpack image \"docker.io/rancher/mirrored-pause:3.6\": no match for platform in manifest: not found"

I've found that the pause image is being mirrored from Kubernetes directly

I do believe there is a way to configure those images to be sourced from alternative paths?
Did you build with the scripts or with Dapper?

Just with the scripts, thanks for the instructions! I am able to build the pause image myself, but for the upstreaming efforts it looks a bit more complicated 😬
There's some requirement on kube-cross to build the pause image, and kube-cross in turn depends on a Go + Debian image. AFAIK, Debian only added support for RISCV64 recently with Trixie, which won't become stable for at least another year 😅

Yep, that's correct. However: The definition OS_CODENAME ?= bullseye means that you can overwrite it.
env OS_CODENAME=trixie make...

So, technically it's possible. That said, I don't know where/when this is built or not. Oh well, I've been waiting this long, I can wait a little longer too! But seriously there should be a configuration for that. I very much remember having that recommended in either another issue related to riscv support or in a linked repository...darn, I can't remember it. :/
also you're welcome!

I think the main hurdle is needing to build a custom image of golang:1.22.6-bullseye (trixie) in that case. It's doable of course, but anyway the K8s team is going to wait for an official golang image before updating it

fwiw, https://github.com/marten-seemann/tcp is now archived, perhaps you could just fork it yourselves, to k3s-io/tcp and add the simple sys_linux_riscv64.go file and also a sys_linux_loong64.go, with the same contents, why not? (but runc would also need loongarch64 seccomp patches for k3s to build)

At least for riscv64, that dependency is no longer needed.

ah, look at that! I gave up on chasing down how and why, but somewhere we ended up with a libp2p/go-libp2p version that builds on riscv64 by disabling some features https://github.com/libp2p/go-libp2p/commit/99f761127098f1a1cac564d79955cf66c1665a20
I just assumed it wouldn't build because this issue was still open, sorry for being lazy and not properly read through some of the later comments here

k3s is now available for riscv64 in the current latest Alpine Linux stable release, 3.20, and will also be in the upcomming 3.21 release

Great news! :)

None of the images that k3s uses currently support riscv64, not even the pause image. Is Alpine modifying k3s to use different default images?

If I am not totally mistaken, you can chose the pause image. In fact, let's see which ones it actually uses:

Helm
Pause
ServiceLB/Klipper

Since it pulls the images through a configured container runtime - containerd by default - you could configure it to use your runc instead or something and then configure respective aliases there in the meantime?
However, most of those images are Go based - so aside from some dependency issues, they should compile just fine. I'll happily help test with my VF2! ...I just need to get an Alpine Image going. And the SPL flashed...

Yes, you could certainly use different images, but it doesn't do a TON of good to have a node that won't run any of the stock components.


Remove Items from button

Hi
How would you implement remove all items from a button so I can reuse button for different use cases?
Thanks!

I added a new function to the library to achieve the above


Use custom relay API

Description
In preparation for NWC receives, I replaced  the relay code for NWC payments with own code.
As discussed before, Relay from nostr-tools was cumbersome to use. It was also buggy since relay.close() throws websocket already in CLOSING state unexpectedly.
The custom abstraction over window.WebSocket in this PR makes our interactions with nostr relays easier.
For example, the relay API from nostr-tools is focused on streaming events. However, we usually simply want to retrieve all existing events for a filter or publish an event and wait for a response. Before, we had to wrap relay.subscribe calls with promises to achieve the behavior we want. Now, relay.fetch handles promise resolution (and rejection). It simply returns all events it has seen until EOSE or the first event after EOSE if EOSE was the first received message.
Callers can now be concerned with less as can be seen by the reduction of relay code in testConnectClient and sendPayment of NWC.
TODO:

[x] replace NWC code that uses nostr-tools
[x] replace crossposting code that uses nostr-tools
[x] replace nip57 code that uses nostr

Additional context

[x] use isomorphic-ws to use same code on client and server?

Checklist
Are your changes backwards compatible? Please answer below:
Yes

Did you QA this? Could we deploy this straight to production? Please answer below:
Yes, tested NWC, crossposting and nip57 zap receipts
For frontend changes: Tested on mobile? Please answer below:

Did you introduce any new environment variables? If so, call them out explicitly here:
No

@SocketSecurity ignore<EMAIL_ADDRESS>

Eventually I'd like to use one package or the other, or just yank both of them out and take only what we use.
import { signId, calculateId, getPublicKey } from 'nostr'
import { finalizeEvent, nip04 } from 'nostr-tools'
import { nip19 } from 'nostr-tools'


Update: Hotbar Centering

Issue previously referred to in issue(34)
The problem that causes the bar to not be centered is tied to the theme app ui setting, when turned off (and the session refreshed/reloaded) the hotbar is no longer centered despite still being themed.
(I turn it off normally because of less desirable style interactions with filepicker+)

I will look into this (at some point!)

https://github.com/manuel-hegner/foundry-filepicker-favorites
Is this the module you are talking about? (I realize that wasn't your main issue)

https://github.com/manuel-hegner/foundry-filepicker-favorites Is this the module you are talking about? (I realize that wasn't your main issue)

Nah filepicker+ is a paid module by theripper93, the issue was that the text would be unreadable with the themed app ui settings. But I fixed it by not being lazy and a CSS override.
https://streamable.com/ql2x55
If you aren't already using it and GM I highly recommend the module though, it and image context both modules I wouldn't do without anymore.

Think I fixed this


Participant scores does not save quiz results

Describe the bug
In the course management page, the average score displayed is always 0% after the quiz is finished. Interestingly, if you re-evaluate the quiz and some scores change, the correct average score is then displayed (discovered by @manuelmanso in #5628).
To Reproduce
Prerequisites:

1 Student, 1 Instructor
1 Quiz Exercise

As the student, participate in the quiz with a score > 0 %
As the instructor, check the quiz results (/course-management/XX/quiz-exercises/XX/scores)
Ensure that the score matches what the student achieved in the quiz
As the instructor, check the participant scores for the course (/course-management/XX/participant-scores)
See that the result for the quiz is missing in the table
Go to the Course Management page
See that the quiz has an average score of 0 % (see screenshot)

Expected behavior
I expect that the average score is calculated correctly, and the quiz result is part of the participant scores.
Screenshots

What browsers are you seeing the problem on?
Chrome, Safari, Firefox
Additional context
The bug likely occurs because the average score uses the ParticipantScore table/model to calculate the value, and the quiz result had not been persisted there. The ResultListener should save the latest student results of all exercises in this table, but somehow fails for quiz exercises.
Relevant log output
No response

@stefanwaldhauser You implemented the participant scores, maybe you could have a look?

I can now confirm this bug and found the underlying issue:
When the @PostPersist callback for a quiz result is called, the participation is not found in the database and the method returns without doing anything.