feature: More verbose initial installation steps

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
When I found lazy.nvim, I had a little trouble with the initial installation steps as this was my first time using any plugin manager for Neovim. It turns out it's really quite simple, but I had to do a little digging around on the internet to figure it out. Given that a plugin manager appeals to beginners, I wonder if some consideration could be given to this since a likely large portion of lazy.nvim's audience is beginner/novice.
Describe the solution you'd like
I have forked a new branch and edited the initial install instructions in the README to include a link to build instructions for Neovim, and a more verbose description and diagram of the initial file structure that a new user might not be familiar with.
Describe alternatives you've considered
I am open to other ideas but I also considered a sort of table of contents for the README file to clarify the sections.
Additional context
No response

I'm just a regular user like you and everything that follows is my own personal opinion.

Regarding your link about building Neovim, it shouldn't be the responsibility of a package manager to advise the user how to install Neovim. In fact there are other easier methods for installing Neovim instead of building it from source, especially if the context is to be made more appealing to beginners. (bob, scoop on Windows, the appimage from the Neovim repo etc)

The directory structure you're mentioning is already being covered in structuring your plugins and it's meant to be taken as only a reference, since there can be other ways to how a user would organize their own files.

Your mentioning about bootstrapping lazy.nvim and adding it below the code, to me it seems like just rewording without any substantial additional meaning (don't mean to be cruel, just criticizing what you wrote in my personal opinion).

This is an example of what the above statement could look like at the end of the `init.lua` , when there's already a mention in the following example as a comment that it's an example, to me seems redundant additional wording.

I kind of agree with your rewording about

As your list of plugins grows, you can store them in individual files in the ~/.config/nvim/lua/plugins/ directory. Each file should return a lua table.

Compared to the mention of Lua modules, which might be a bit confusing to beginners, but I don't suggest that the sentence about the Lua modules should be removed.

Your mention of the Lazy command in Basic Usage is already mentioned in the Usage section.

Github already provides a table of contents according to the Markdown Headers of the README

Hi,
Thank you for the feedback, those are all good points. I will make some edits to my proposed changes. Upon re-reading my suggestions, a couple parts are certainly repetitious/redundant.

Couldn't agree more. For a completely clueless dunce like me who doesn't know where to look for my init.lua, the install instructions left a lot to be desired and made me look for other options.

I feel like there may be a bit of confusion around the general idea that LazyVim, which is a meta project of lazy.nvim is a "batteries included" project for the newcomers to neovim. But the lazy.nvim (the package manager) is super involved. I've just switched from packer, and I'm really glad I didn't have to wrestle with a package manager like lazy.nvim initially. Starting with neovim is confusing as it is...
If lazy.nvim is stifling your progress to much for getting to grips with neovim, I'd recommend setting up with pckr or paq first. They're much more stripped back and still adhere to the "classic" neovim setup and config experience.

fyi, a new documentation website is in the works.
You can check it out at https://lazy.folke.io/

@tjex you can totally use lazy.nvim exactly like you would use pckr or paq.
Just a list of short urls for plugins.

For sure, I did almost. But I figured I'd be missing out on some of the features
of lazy if I simply required my setup confs, or placed them in after/plugin.
It's also nice to have plugin url + dependencies + config in one file. Makes it
less fragmented and user-conf-bug prone for sure.
I was more suggesting to the others that if the complexity of lazy.nvim was
demotivating them from making their first setup, then they could look to pckr
first, and then come over here if they want / need to. Because, better to have
them on the nvim train than not at all!


bump tonic version to v0.9

... I'm wondering whether we need to bump major version https://github.com/madsim-rs/madsim/issues/145
changelog: https://github.com/hyperium/tonic/blob/master/CHANGELOG.md
I mainly want this: build:: Support boxing fields

... I'm wondering whether we need to bump major version https://github.com/madsim-rs/madsim/issues/145

I guess it's needed. Tonic has breaking API change from 0.8 to 0.9.

Oh, arrow-flight >= 37 also needs it. That's a larger need.

Although I want to completely understand #153 and  #145  first 😅

Also needed in https://github.com/risingwavelabs/risingwave/pull/10875 for introducing Icelake.

I’m ok. Merge first to unblock work. I might need some more time to think
about it, but we can fix problems later since we are 0.x 🤣
On Thu, 20 Jul 2023 at 08:32, Runji Wang @.***> wrote:

@.**** approved this pull request.
Approve myself. :)
@xxchan https://github.com/xxchan PTAL
—
Reply to this email directly, view it on GitHub
https://github.com/madsim-rs/madsim/pull/151#pullrequestreview-1538527341,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBQZNN7SZ4E4P7V4UY3IU3XRDGIBANCNFSM6AAAAAAZYJH5MU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Support being able to sample metrics

Following up as requested from https://github.com/56quarters/cadence/issues/6 😊
The way I'd like to see sampling implement is a combination of the two options proposed at the end of that ticket. The server sampling (that sends @0.1) tells the server that you are only taking and sending a random sample. That is, the server should expect that at @0.1, if you sent ten metrics, in reality there were a hundred metrics, just you only sent a random selection instead of the whole lot.
This is where the second option comes in to play. If we give a sample a rate of 0.1 or 0.01 or even 0.0001, then that is also the rate at which we should collect the metric. For example, my use case is monitoring how much data is being written and read through a socket. This would mean capturing a metric after every read and write, of which there will tens of thousands per second if we weren't sampling. With a sample rate of 0.01 instead of ten thousand, we'd get one hundred instead - a much lower, but still perfectly usable amount.
The sampling rate should be able to be set per metric call. A c statsd library uses something like this:
counter_increment("my.app", 10, 0.01);

Here the first thing counter_increment does is call rand() and compares the result to the sample rate given. If it matches, it will go ahead and report the metric. If it doesn't match, the function is effectively a noop.
The two suggestions for extra performance in https://github.com/56quarters/cadence/issues/6 are perfectly valid. I am using the  BufferedUdpMetricSink but although this does prevent one stat per packet, it will still ultimately send a large number of stats. It is true that I could keep a counter in my app and only send it on a timer say, but part of the beauty of statsd is not having to do that - you can simply add your metrics where you want them, set your sample rate (so you don't melt anything) and that's it - no complex state to worry about 😊
Hope this puts us in a good place to start discussions on the feature :)

Thank you for the write up! I don't use statsd myself these days so this will likely need to be implemented by the community.
Some notes on the potential implementation.

I would prefer that sampling was enabled or disabled at the client level, not individual methods. This way, there are no changes required to the Cadence API besides an extra method on the StatsdClientBuilder - .sample_rate(f64) or similar.
I'm not sure which types of metrics should be sampled: Just counters? Counters and timers? Feedback welcome here!
Code that implements sampling shouldn't slow down anything if not enabled.
If an RNG is used (kinda seems like it has to be), it should be possible to seed it in order to make tests easier to write and reason about.
Sampling should probably be behind a feature flag since it will introduce a dependency on the rand crate but I don't feel strongly about this.
There should be a limit on the values used for sample rate. I don't want the sample rate included end the metric string to end up looking like @0.100000000001 or something. Not sure how to do this without truncating the float ala println!("{:.2}", 0.01);. Maybe we can introduce some sort of SampleRate type that knows how many digits to use to display itself based on the total argument below.let r = SampleRate::from(samples_per, total);

Thanks for the feedback! 😊

The sample really needs to be done at the method level I think. For example, if I am counting new connections, I might sample that at 0.1 but for individual network reads / writes, I might want to sample at 0.01 or even 0.001. Some things you wouldn't want to sample at all if they happen infrequently enough, or you really want the most accurate picture possible. Libraries that support this tend to have _timing and _timing_with_sample_rate where _timing just calls _timing_with_sample_rate with a rate of 1.0.
Counters and timers are the only things I've used with a sample rate. I don't think it makes sense for a Gauge.
Generally the sampling logic is short circuited. If the sample rate is 1.0, then it will always be sampled - there's no need to make a call to rand() or similar.
Great point, we'd definitely want to be able to seed that for testing
I think it's fine to put it behind a feature flag, but would prefer that feature was on by default. I think most people would be okay with the rand crate dependency and it gives the "least surprise". Those that don't want it and know they don't, can easily turn it off by disabling the feature flag.
I'm not sure if the spec defines a max sample rate. We'd definitely want to do something akin to format! to make sure we get nice sane rates. I don't think it's the total sample rate that's the problem, but more how to prevent the precision issues (at least in what we send to statsd or display)

Very interested in this feature!


request instead of $request

https://github.com/urlhum/UrlHum/blob/bab87272f8242466e9b5137aeebc0454b93e510d/app/Http/Controllers/UrlController.php#L71

Thank your for opening the issue!
Here we are getting the url of the "server" website, so I thought that for more clearness would have been better to not to use the variable $request as it is injected for the real request and so to use the global helper.
If you know a better reason to edit that line of code I am willing to update it without problems!
Meanwhile I wait for other opinions too!

Ah, understood!


Evaluate core PRNG calibration change impact

What?
Evaluate core PRNG calibration change impact in https://github.com/stellar/rs-soroban-env/commit/f5938009b3828359f403e6c78c544d94b626fe9e

we might want to add an integration test that invokes preflight on a smart contract that uses prng so we can confirm that the fees are calculated correctly by preflight.

Created https://github.com/stellar/soroban-tools/issues/1005

Closing in favor of #1005


Add Notebook examples to Features list in docs

see example here: https://github.com/RandomFractals/vscode-data-table#-features

see: https://github.com/RandomFractals/vscode-leaflet#features


SendStream::poll_capacity can return Some(0)

I don't think this should happen, and am not entirely sure why it is yet.

This happens because calling send_data when there isn't currently enough assigned capacity results in an attempt to assign capacity to the stream.
The implementation of assign_capacity sets send_capacity_inc to true which results in poll_capacity returning Ready even though there isn't any real capacity.
Setting send_capacity_inc should be smarter.


Innkeeper management for API Keys

As a Traction Innkeeper, I want to manage Tenant API keys through the Tenant UI, so I have an easy way to set them up for Tenants.
UI for CRUD from https://github.com/bcgov/traction/issues/685
AC:

Table viewing existing key records
Create button to add a key
Returns Key to the Innkeeper when creating.

@hiteshgh FYI adding to current sprint. One of next steps from 685, I'm away most of next week so pulling this small one if for limited time I have.


[Beta 2.0.0] Upload remote assets to S3 asset source do not behave correctly

keep original, keep both, replace existing are all functioning as keep both.
haven't tested with other asset sources.

Now it was unstable. Assets Uploading stops at some points. Those luckily uploaded assets' but their assetSource are set to null.
I can only complete a import when no assets are uploaded.

Firstly, I've changed how 2.0 beta 1 handles issues during the feed. It'll now try and process the rest of the feed even if an error is encountered.
Out of interest, how many items do you have in your feed, and how many assets are you trying to upload?

Closed due to inactivity.


⚠ Samsung has degraded performance

In f7166d9, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2459 ms

Resolved: Samsung performance has improved in 566223c.


Does it possible use env variable on conf

as title
Thanks

Why use env varables?

This would be very useful for us as well. By using Env var in the conf files we can change the configuration from outside the pod. For example we would like to be able to do, which right now we dynamically change in a script before starting srs
on_publish ${CALLBACK_URL}/_internal/live/on_publish/?internal_key=${INTERNAL_KEY};

+1

Make sense.

SRS 5.0 supports config with ENV, see #2277

Is this anywhere in the docs? It's so difficult to find something out with this lib... hm

As fare as that PR goes we can't still set http_hooks env vars

@irg1008 which http_hooks env vars didn't works as you expected? Could you gives the cmd args or steps to reproduce?
As I know all the configs are documented in conf/full.conf, which can be the config guideline, for http_hooks section, on_connect and on_close are missing.

@irg1008 which http_hooks env vars didn't works as you expected? Could you gives the cmd args or steps to reproduce?
As I know all the configs are documented in conf/full.conf, which can be the config guideline, for http_hooks section, on_connect and on_close are missing.

Yeah I looked at conf file but didn't find any env vars for http hooks

@irg1008 which http_hooks env vars didn't works as you expected? Could you gives the cmd args or steps to reproduce?
As I know all the configs are documented in conf/full.conf, which can be the config guideline, for http_hooks section, on_connect and on_close are missing.

Yeah I looked at conf file but didn't find any env vars for http hooks

https://github.com/ossrs/srs/blob/e3d74fb04504cce64f78119627efe3aae825dda3/trunk/conf/full.conf#L1587-L1588
env SRS_VHOST_HTTP_HOOKS_ON_PUBLISH


evohome erros in log file

Home Assistant release with the issue:
Home Assistant 0.86.4
Also in 0.85.x, upgrading to 0.86.4 did not solve the issue
Last working Home Assistant release (if known):
0.85.x. So more likely to be depended on something else
Operating environment (Hass.io/Docker/Windows/etc.):
Linux raspberrypi 4.14.79-v7+
Component/platform:
climate honeywell
Description of problem:
Temperatures not updated anymore. I mean the set temperature is not reaching the heating system.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
climate: !include climate.yaml
climate.yaml:
- platform: honeywell
  username: !secret mail
  password: !secret hony
  scan_interval: 600
  region: eu

Errors in the home-assistant.log file:
2019-01-31 08:32:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 289, in _handle_service_platform_call
    await func(entity, data)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/__init__.py", line 574, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/honeywell.py", line 165, in set_temperature
    self.client.set_temperature(self._name, temperature)
  File "/srv/homeassistant/lib/python3.5/site-packages/evohomeclient/__init__.py", line 167, in set_temperature
    self._set_heat_setpoint(zone, data)
  File "/srv/homeassistant/lib/python3.5/site-packages/evohomeclient/__init__.py", line 159, in _set_heat_setpoint
    while self._get_task_status(task_id) != 'Succeeded':
  File "/srv/homeassistant/lib/python3.5/site-packages/evohomeclient/__init__.py", line 102, in _get_task_status
    return self._convert(response.content)['state']
  File "/srv/homeassistant/lib/python3.5/site-packages/evohomeclient/__init__.py", line 28, in _convert
    return json.loads(self.reader(object)[0])
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Yes it could definitely be the maintenance that Honeywell is doing. Also their own app is having issues. So maybe there is not really bug in this component however some better error handling would be nice.

@phsdv The EU half of the honeywell climate component has been superseded by the built-in evohome integration.  Thus, it should be removed, and I would advise people to use evohome instead.
https://www.home-assistant.io/components/evohome/
I would be interested to know if the evohome component doesn't work for EU-based people.


Pastebin service

Gitea version (or commit ref): all
Git version: all
Operating system: all
Database (use [x]):

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

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
I am used to Gist, the pastebin service, since it offers me the option to collect all my pasted code in one central place and that in the same interface, text editor and so on, which i use on Github, so all is very consistent.
I suggest to implement such a service for Gitea too, as Gitlab does it with their snippets.
This is something we all use, it provides users and developers the very same look and feel as in Gitea, is easy to implement (so far i as a newbie can see) and offer us a history of all the already posted code.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

:+1:  for this one and I would suggest to name this feature cups,, as in cups of tea....

@laplix That might be a bit confusing with the Common Unix Printing Service.

cup?

Or just snippets, I know it's not a fancy name ;)

I still (see gogs issue) think this should be an external service. We could however make it injectable into Gitea 🙂

I still (see gogs issue) think this should be an external service. We could however make it injectable into Gitea WebUI 🙂

Optional features:
) Comment section
) Revisions (History)
) Syntax Highlighting, which is not even available in Gist
) Filter and sorting

on the other hand, it should be fairly simple to implement snippets.
Keep a hidden repo called _snippets (or similar), each snippet is a folder, a folder (or snippet) can contain multiple files. Done :)

@bkcsoft On GitHub, each snippet is a Git repo (but can contain many files). But we can make it different.
I don't know if it should be part of Gitea or a separated project. If in Gitea, it would be easier to reuse code.
Anyway we should keep in mind that many people (me included) dislike the GitHub UI for Gists. I think we can do it better. There should be categories or tags to organize gists. It should be easy to find and search for existing Gists.

IMO we should contain everything regarding snippets to said repo (if a single one, otherwise I'm all down for submodules or whatever to keep track of them...), this includes categories (folders anyone? :trollface:) and tags
Having that as a file in the repo makes it easy to sync that to your editor as well, and makes it fairly simple to do searches 🙂

@andreynering  I thought about tags as well, think this a good idea.
Maybe put these tags/categorys on the left side
So its easy to create and find specific pastebins:

May be a nice candidate to fork and adjust: https://github.com/defunkt/gist

Or this, https://github.com/gmarik/Gistie

defunkt/gist is a command line tool to speak to Gist, gmarik/Gistie is written in Ruby, both are not very relevant here 🙂

A pure golang library is preferred.

@lunny @bkcsoft in my case, I post Gistie to be an option to see how this tool work and implement on Gitea, not to use a tool in Gitea.

You could use it with a haste server, so people don't have to think about the space. Use hastebin.com by default and send the requests from the client using javascript, so the server won't be rate-limited. But also allow users to use their own haste-server. It could be implemented using an iframe.

I just found today an awesome tool. So awesome, that I want to share it with you: fssnip.net

Added onto the original bounty. Anyway, I figure having each snippet as its own repo is probably the nicest way to do it as far as history and offline modification goes.
The Bountysource link appears to be broken, by the way. Here is the current total:

Some ideas about Gist or we call it Cups ?

One cup is a specify repository, so that we can reuse all the old codes. Then we have mirrored, forked, cups and etc. repository types.
Every type repository could have different tabs(we store them on repo_unit). So every repository could load their units to tabs.
For cup repositories, there is only one file and the name is also the repository's name. The name MUST has extension name. For example tea.go. The cup repository main UI will show the file's code and some comments. The comment could be on the bottom or on some code line.
Also it has description or maybe classes.
For cup repositories, there is only one issue when created repository. All comments should follow this issue, then we can see all the comments on the cup UI.
cup repositories could be in /cups/<user_name>/<cup_name> and a separate entry on dashboard top menu. All other places will not show this type repository. But the repository name could not be reused on user's normal repository. This UI could be what @ShalokShalom's screenshots or any new idea. and provide code search since we have merged it on v1.3.

Take a look at gists, there can be several files.

@lunny In regards to 3: with gists I sometimes use multiple files so I think limiting it to one might not work for some cases. Also, perhaps instead of enforcing a file extension we could either assume text/plain, or check if the file is a binary file and then just provide a link to the raw file.

Binary files for a pastebin service? Not a good idea.
Please don't require a file extension, otherwise you won't be able to share a makefile.

@ptman @tboerger updated my comments.

As some people didn't like how we integrated timetracking into the core, what about making pastebins an external service which integrates tightly with giteas api and uses it's repositories to store pastes?
I think even Githubs pastebin are kind of an external service...

@kolaente so the default is disabled. But as an external service, it will need more work than as an internal since repository, issue, comment are all ready.

Both? Github Gist together with an internal solution?

Gitpin for the name ^.^

for me anything like GitHub gists would do but if some improvements can be made like
tags/ categories
or even Medium/ blog style formatting that would obviously be a plus
I think integration into gitea without much complication is best for giteas philosophy

A painless self-hosted Git service.

I found this request when I was searching for a way to mirror my gists from github.
Thoughts: This is just a regurgitation of above with added info. Gists may be outside the original scope of this project, but related in functionality. As commented above, ideally implemented in go language solution that is integrated with gitea.  Github gists are not integrated into their repositories UI, a person must click a link to switch to the gists interface, which is essentially a versioning pastebin (as observed above) and appears much the same as a repo.  It might be just a hidden repository with special handling.
What I would really like is in gitea to click on my icon and under "Your Profile" is "Your Gists" and the screen changes to the versioning pastebin like github has at https://gist.github.com/%username% but at %yourhost%:3000/%username%/gist ..this might be a collision with https://api.github.com/users/%username%/gists ..so some thought in naming the page where the api and the html will need to be thought out. I would also like a "mirror" button where I could just dump a persons gist api link and mirror them like a repo.
Here are some resource links I found but none I liked.
Python script
Stack Overflow question
Until gitea figures this out I think maybe the interim solution is to use the above python script to dump all my gists and then sync to a repo.

+1

So this request is now more than 2 years old. I wonder whether any progress has been made on this at all?

Nobody are working on this.

Since we now have oauth support, we may be able to build some external thing.

Yes, I think @ShalokShalom 's image is beautiful https://github.com/go-gitea/gitea/issues/693#issuecomment-274277781

I love the idea of ghosts. And naming them cups too. So distributed cups. :heart: - :heart:
Share your cup and come a tea party. :D
@lunny This is https://flarum.org/ the forums software. As a reference. :)

Throwing in some libraries in Go for that purpose:
Very simple core: https://github.com/dyne/binnit
Pretty (&) complete: https://github.com/andreimarcu/linx-server
Yet another: https://github.com/Parimer/spectre
Stalled in development, already IPFS based: https://github.com/beardog108/seedbin

According to Ghost's suggestion, I found a fully decentralized (distributed) Git hosting solution and they may be interested into cooperation. I might ask them today, if you are fine: https://git.scuttlebot.io/%25n92DiQh7ietE%2BR%2BX%2FI403LQoyf2DtR3WQfCkDKlheQU%3D.sha256

Is there any update on this?
The additional upkeep makes external services a no-go at my workplace, but a gitea cups service would be usable for us.
This feature would be a huge plus for me :)

I think this should be in the roadmap of Gitea.

Yes, please add this!

Would love to see this as well

Yes, please add this!

Would love to see this as well

Please, use the emotions for issue-starter comment:

It will not disturb many subscribed people via email:

And it has more functionality:

I have an unfinished PR name it cups

Common Unix Printing System? Sorry :laughing:

Hah! Hadn't even thought of that usage.
@lunny I went looking through PRs to see if there was something I could help with or riff off of and I didn't see anything matching pastebin, bin, paste, cup, or cups?  I'd be happy to help move it forward if there's already something under way. Or even if there's not, for that matter. Just don't want to duplicate effort.

Arch is using PKGBUILDs, opposed to pkgbuild from Apple. Cups instead of CUPS should be fine. I see no struggle

Any news?

As for the name:
If we want it to be familiar, it should be gists.
If we want it to be brandable, sips makes more sense than cups to me. However, I'd argue against branding such a generic feature.
In the case of Gitlab, they chose "merge request" instead of "pull request", which makes sense if you consider the historical context of what a "Pull Request" was on the original Github vs the "auto-merge" functionality that it later evolved into.
However, I would be surprised if they didn't do a little Google Keyword Planner research and discover that using the term "Merge Request" gave them some sort of SEO advantage.
That said, I personally don't see see a lot of value in giving it a branded name. As a new user, that would be the kind of thing that makes me roll my eyes and think "why does everyone have to call the same thing different names, ugh".
gist is NOT a trademark, it is familiar, and it makes sense.

I agree with merge request, makes a lot more sense to me.
I personally love an own name, gist is also fine and I honestly think, for the google index its enough to simply word in in the documentation as:
"Cups is a solution to save notes, similar to gist and pastebin"
Why branding is important
Own names make sense since they help to indentify - thats why we all have not the same name.
Companies invest around half of their income into branding, Pepsi saying "we dont need an own name, just call it Cola" is absurd.
Also, let us talk about unique features.

Just my life experience: when you're talking about GitHub, you should use PR (Pull Requests) (or Public Relations?), when you're talking about GitLab — you should use MR (Merge Requests). And if somebody doesn't familiar with GitLab, for example, it can be like:
— Please, open MR.
— MR?
— Yeah, like… PR in GitHub.
And sometimes, especially if you like one more than another, you can write a mistake like:
— I've opened MR for your GitHub project.
— MR?
— Oh, sorry, PR.
The same about snippets vs gists.
You can call Gitea things as you want, but with new names you will bloat terminology.

Why not gits? It is easy to say, it refers to gitea, but now when I writing.. suddenly... God be Damned.. I do like gitbits better..   little like tidbits.
Hmm.. well If there comes such a plugin it would be sweet! whatever it is called. Thank you for developing gitea by the way. Lovely software. I would also like a feature when i can edit my server/servers config files directly in Gitea. With version history and everything.

Personally, I don't care what you call it. I would rather see the focus on implementation first.

Today I realized a single script shouldn't be in a repo of scripts I was going to share, but I wanted to retrieve that script in the same way I retrieve the other scripts from other machines. It would be silly to make a whole repo.
That leads me to think private gists are a good way to store, retrieve, and track secrets files.
I'll chime in on names while I'm here. Frankly I don't like any so far. I suggest naming the service Gistea and a snippet a Leaf. Gistea is a unique keyword while still recognizable as Gitea's gists, and leaves are a clever and appealing analogy.
I especially don't like "cups". Reminds me of a certain Marge Simpson scene. "Cup... could you spell that?"

I suggest naming the service Gistea and a snippet a Leaf.

I like that  :innocent:

I would love to have something like the mockup in this comment.  Whenever I'm learning something new I always feel like I don't have a good place to put informal information and notes, especially for things that don't fit into a specific project.
As an actual use case, I've been working on learning Drone (CI) lately.  Since it applies to any project, there's nowhere great for me to document ideas, example, reminders, tips, etc..  I don't know enough to start a documentation site for my own guidelines and, even if I did, I find that can be a distraction.  I could make a project just to use the Wiki, but the Wiki requires a structure that's too formal for collecting a bunch of random thoughts and ideas.
Right now I've settled on a separate project where I misuse the issue tracker for informal notes just because I can add labels to them.  In general I try to evolve documentation by using issue --> wiki --> formal docs, but that doesn't work well for small things like Linux CLI tips, etc..  A setup like the one in the linked comment where I could categorize and tag things would be fantastic.  I would use it a ton.

https://github.com/fragmenta/fragmenta-cms
Has postgresql golang bits.
Mongodb golang bits mysql,  sylla/Cassandra.
However thiers , numerous pastebin Services,
( Config file: gist, pastbin.. , wetpaste, etc )

https://secrethub.io/  , bit better for api keys or secrets to be distributed to boxes than gists.
My.dev.box , vs hacked.box.someplace.else
Uid password,  dns ok ...
If not in home location or ie hosting server
kill.. it now.
Can aprove boxes vs gists for Security.
I totaly wana private gist my api flipping key private...
Have some smuck on a team developer blog it by accident...
OSINT INTELLIGENCE, can unmask my supposed hidden services. Ie gists ..
Python OSINT tools  , your license plate,  your address,  cellphone,  carrier,  etc.
Github/gitlab/etc for keys api , embeded passwords....
So filtering block strings ie passwords api keys
Might also prove SANE.

One alternative written in go: https://dev.sigpipe.me/dashie/git.txt

3 years of naming discussion, no code.

this could be your chance to get into the project, learn something new and develop the proposed feature.
flaming mostly doesn't help at low priority issues/tasks 😉 .

One simple solution is to create a repository named gist and put all md files inside.

@luwol03 I'm doing this here. Like wiki that is one git internally, Will have other repo called gist and for every new gist, will created new empty branch for this.

this could be your chance to get into the project, learn something new and develop the proposed feature.
flaming mostly doesn't help at low priority issues/tasks  .

was no reason to mark my comment as disruptive, I just bumped topic up and now we looking that someone writing code.

@luwol03 I'm developing this feature here. Like wiki that is one git repo internally, Will have other repo called gist and for every new gist, will created new empty branch for this.

it can be one ".gists" repo per user, also this repo name must be denied to create on repo create page.
original gists service on github looking like pr page with conversation, so gists repo in gitea can handle branch and pr for every committed text file. in this variation it can be easily integrated into current gitea.

was no reason to mark my comment as disruptive, I just bumped topic up and now we looking that someone writing code.

👍🏻 reaction under the first comment is enough, there is issues sorting by reactions. No need "to bump", there are 33 participants and a message like "there is no code" has about zero value. Sorry, please use appropriate tools, it's not old-school forum.

it can be one ".gists" repo per user, also this repo name must be denied to create on repo create page.

Oh, you're continuing to discuss naming instead of coding. 🙃 So sweet. Just… I don't know what to say anymore, please look at yourself and be patient, or try to make things better (like write a code).

I'm going to lock this thread in an effort to curb more bike-shedding.
Anyone who wishes to work on an implementation, please open an issue or PR describing your implementation and we can discuss it at that time.

posibl. impl. #16670 proposal

close this pull since we wont have a anon pastebin in gitea - this is not it's mission ...


how to show alert on alert?

I would like to show alert on alert (multiple).
Could example.

what do you mean?

I would like to show multi popup alert.

As if one alert is not already enough! :P
Not sure if that something that most people would want.. but either case I think it should go to the parent project.. https://github.com/t4t5/sweetalert/issues
this is mainly a wrapper for Bootstrap..


[BUG] New unhandled link format

Describe the bug
Instagram appears to be trialing or slowly implementing a new style of share URL for posts. This URL currently is not handled correctly by media_pk_from_url() as it returns the incorrect mediapk for the post. I would assume this is broken for anything else that uses direct URLs. This new URL only appears to be from some people via the app on Android so far (at least from what I have tested. Any post I "share -> copy link" gives the same style of url.
instagram\.com\/share\/p\/[a-zA-Z0-9!$*\-_]+ is the pattern I have been using to catch these new links and ignore them for now.
An example of this:
When I share the following post: https://www.instagram.com/p/DC2konOtSse/
I currently get this link: https://www.instagram.com/share/p/BALv9Ep4YH
When putting the original url into media_pk_from_url(), we get the mediapk of<PHONE_NUMBER>158034718. Putting this into media_info() then gives us the expected result.
When putting the new url into media_pk_from_url(), we get the mediapk of<PHONE_NUMBER>2849671. Putting this into media_info() then fails.
To Reproduce
Hope instagram have rolled out the link to your device. Then "share post -> copy link" and you will get the new URL format
Traceback
Instagrapi doesn't actually error out when using media_pk_from_url() with the new link formats, however it returns incorrect mediapk values which when put into media_info(), cause the following:
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/public.py", line 185, in _send_public_request
    response.raise_for_status()
  File "/home/pi/.local/lib/python3.10/site-packages/requests/models.py", line 960, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://www.instagram.com/graphql/query/?variables=%7B%22shortcode%22%3A%22BALv9Ep4YH%22%2C%22child_comment_count%22%3A3%2C%22fetch_comment_count%22%3A40%2C%22parent_comment_count%22%3A24%2C%22has_threaded_comments%22%3Afalse%7D&query_hash=477b65a610463740ccdb83135b2014db

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/media.py", line 259, in media_info
    media = self.media_info_gql(media_pk)
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/media.py", line 204, in media_info_gql
    data = self.public_graphql_request(
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/public.py", line 259, in public_graphql_request
    body_json = self.public_request(
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/public.py", line 122, in public_request
    raise e
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/public.py", line 99, in public_request
    return self._send_public_request(url, **kwargs)
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/public.py", line 208, in _send_public_request
    raise ClientUnauthorizedError(e, response=e.response)
instagrapi.exceptions.ClientUnauthorizedError: 401 Client Error: Unauthorized for url: https://www.instagram.com/graphql/query/?variables=%7B%22shortcode%22%3A%22BALv9Ep4YH%22%2C%22child_comment_count%22%3A3%2C%22fetch_comment_count%22%3A40%2C%22parent_comment_count%22%3A24%2C%22has_threaded_comments%22%3Afalse%7D&query_hash=477b65a610463740ccdb83135b2014db

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 359, in _send_private_request
    response.raise_for_status()
  File "/home/pi/.local/lib/python3.10/site-packages/requests/models.py", line 960, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/media/18066072412849671/info/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/media.py", line 230, in media_info_v1
    result = self.private_request(f"media/{media_pk}/info/")
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 541, in private_request
    raise e
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 526, in private_request
    self._send_private_request(endpoint, **kwargs)
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 432, in _send_private_request
    raise MediaUnavailable(e, response=e.response, **last_json)
instagrapi.exceptions.MediaUnavailable: Media not found or unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/Discord/Bot/Cogs/insta.py", line 688, in on_message
    media_info = self.cl.media_info(media_pk)
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/media.py", line 269, in media_info
    media = self.media_info_v1(media_pk)
  File "/home/pi/.local/lib/python3.10/site-packages/instagrapi/mixins/media.py", line 235, in media_info_v1
    raise MediaNotFound(e, media_pk=media_pk, **self.last_json)
instagrapi.exceptions.MediaNotFound: Media not found or unavailable

Expected behavior
I expect media_pk_from_url() to return the correct mediapk with the new URL format.
Desktop (please complete the following information):

OS: Raspbian GNU/Linux 10 (buster)
Python version 3.10.2
instagrapi version 2.1.3

Same issue, is there any update on this?

@Aaeeschylus Just wanted to share a simple workaround for handling the new format of links for reels.
Check out https://gist.github.com/atakanakin/132072f227e22e11a610f2fc4e86016e

@Aaeeschylus Just wanted to share a simple workaround for handling the new format of links for reels.
Check out https://gist.github.com/atakanakin/132072f227e22e11a610f2fc4e86016e

for handling reel links (instagram.com/reel/{id}), all I do is just replace reel with p and it works. Sadly that doesnt work with the share url


Q000 autofix failing in forward reference type annotations

The Q000 autofix is generating syntax errors in code with forward reference type annotations which include string literals.
def foo(x: "Literal['a', 'b', 'c']") -> None:
    ...

autofixed to
def foo(x: "Literal["a", "b", "c"]") -> None:
    ...

this was found by https://github.com/qarmin/Automated-Fuzzer/actions/runs/8412442975

Thanks! I think the underlying issue is the same as #10546, so I'll close this in favour of that one 👍


We should set ServiceOptions.applicationName as the user-agent in Datastore requests.

PR #307 provides a way to get a string in the following format "gcloud-java/xxxx" (xxxx stands for the version) from the service options. We should set it for every service.
The typical way to set it for apiary clients is via setApplicationName on the apiary service builder.
When #300 is fixed that should be simple as we will have access directly to the apiary (or gRPC) client
though it would be nice a way to specify it even before that.
For more info see #278

This was fixed in #1282


Fix threshold formatting

Using rounding.float_str

Coverage increased (+0.04%) to 58.393% when pulling 934891a485da4bb1969905357131693c3c9f2e19 on fix_threshold_formatting into b9eaff229d6af5b2457ab19871e7c15459b5c211 on master.

Coverage increased (+0.04%) to 58.393% when pulling 8399ac19d6f3feffda9cb662756ba3565570cf68 on fix_threshold_formatting into b9eaff229d6af5b2457ab19871e7c15459b5c211 on master.

LGTM


Remove add_pipenv.pty from new_notebook

Having a jupyter server call pipenv on windows results in the inability to stop the kernel.
However using the virtualenv directly works without issue. pipenv run add_virtualenv.py
If there is no reason to keep add_pipenv.py, it should be removed completely

A reference to the Pipfile directory should be added to the kernel.json if possible just to help a user remember where the pipfile dir is.


Block.defineBlock

This is my code I use:
Block.defineBlock(150, "Compressed Cobblestone", "cobblestone");
What am I doing wrong? Says can't bring string to number. I'm confused.

Texture must be named ["cobblestone", 0]

Getting the same error even with that

I figured it out. I was doing something else that was wrong. Was trying a watercolor don't know how it works yet

Block.define(200,"Compressed stone",["cobblestone",0],0,false,1);


Add documentation.

We need to add more documentation, both to the API, and to the package as a whole, especially the examples. It is unclear what each example is, how to use it, and what it represents.

Hi @gbbr if you still need help documenting the APIs, I would be happy to help. I took some Udemy courses on API documentation, and I'm looking for some hands on experience.

@gbbr is this issue still open?


Rewrite

Yet another rewrite is in progress and might be pushed soon.
The rewrite uses discord.js v14 and supports both normal commands and slash commands.

I just pushed the new code, so work is being done officially.


Embedded use with ARM M0+

@Amanieu I've learned lots trying to use your crate ;)  But still, I'm not seeing how/where this error is coming from.
The state of my project is in repo+branch https://github.com/kpishere/rp2040-project-template/tree/steps.
If I include the following lines
let mut coroutine = Coroutine::with_stack(stack, |yielder, input| {
        info!("[coroutine] coroutine started with input {}", input);
        for i in 0..5 {
            info!("[coroutine] yielding {}", i);
            let input: i32 = yielder.suspend(i);
            info!("[coroutine] got {} from parent", input)
        }
        info!("[coroutine] exiting coroutine");
    });

I get this error
  = note: rust-lld: error: section '.ARM.extab' will not fit in region 'BOOT2': overflowed by 16 bytes
          rust-lld: error: section '.ARM.extab' will not fit in region 'BOOT2': overflowed by 16 bytes
          rust-lld: error: section '.ARM.extab' will not fit in region 'BOOT2': overflowed by 16 bytes
          rust-lld: error: section .vector_table virtual address range overlaps with .ARM.extab
          >>> .vector_table range is [0x10000100, 0x100001A7]
          >>> .ARM.extab range is [0x10000100, 0x1000010F]

          rust-lld: error: section .vector_table load address range overlaps with .ARM.extab
          >>> .vector_table range is [0x10000100, 0x100001A7]
          >>> .ARM.extab range is [0x10000100, 0x1000010F]

I don't see any .ARM.extab section in your crate.  Not sure where to look.

@Amanieu Yep, it links now.  Thanks.  Not understanding why that appears though.
It crashes with a HardFault but will investigate that more.  FYI .. attached picture of hard fault

.

That's stopped at a breakpoint. I need the disassembly at the point of the crash.

Yeah, trying to find that.  It get stuck in hard fault loop, would R7 have the return address of where it came from at that point? (sorry if dumb question) That point  0x2003F794 .. I'm looking there

Ok, had to switch to a view I'm more familiar with ..

And another view showing other registers ..

The first step from what is shown throws an exception.  It is a disconnect in the opcode not being thumb or the PC register not having the last bit set correctly?

If you single-step one instruction at a time (si in gdb), can you pin-point the exact instruction that causes the fault?

Oh! si, forgot about that.  Thanks ok.  this makes more sense ...

Well I can't figure it out. Do you think it would be possible to run this in QEMU so I could try it out myself?

Well, I've used QEMU before for emulating Pi Zero.  Let me see if I can re-produce the same issue in QEMU ... got to set it up for PICO and Rust environment etc.  You're making me learn all the tools! :) Thanks!

@Amanieu Sadly, not seeing steps to do, think it is a low priority for qemu, thought I'd seen it for thumb7. Anyhow, stack is clearly corrupted and thought I'd look at it.  Looking at first steps where stack is used.  I suspect the stack is created in low memory and isn't writable.  This may be my allocator that is the problem?
The stack address should not be 0x1000.    That appears to be ROM.  It should start with 0x20000000 as this is the beginning of SRAM.

ROM 0x00000000
XIP 0x10000000
SRAM 0x20000000
APB Peripherals 0x40000000

@Amanieu Happiness is!  My heap only had 1K available at initialization and the stack is minimum 4K.  Increased heap to 16K available and all is good.!
Thank you for your support and this crate!
~/defmt.sh
INFO  Program start
└─ rp2040_project_template::__cortex_m_rt_main @ src/main.rs:51
INFO  [main] resuming coroutine with argument 100
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] coroutine started with input 100
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:87
INFO  [coroutine] yielding 0
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:89
INFO  [main] got 0 from coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:100
INFO  on!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:105
INFO  off!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:108
INFO  [main] resuming coroutine with argument 101
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] got 101 from parent
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:91
INFO  [coroutine] yielding 1
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:89
INFO  [main] got 1 from coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:100
INFO  on!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:105
INFO  off!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:108
INFO  [main] resuming coroutine with argument 102
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] got 102 from parent
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:91
INFO  [coroutine] yielding 2
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:89
INFO  [main] got 2 from coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:100
INFO  on!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:105
INFO  off!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:108
INFO  [main] resuming coroutine with argument 103
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] got 103 from parent
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:91
INFO  [coroutine] yielding 3
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:89
INFO  [main] got 3 from coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:100
INFO  on!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:105
INFO  off!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:108
INFO  [main] resuming coroutine with argument 104
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] got 104 from parent
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:91
INFO  [coroutine] yielding 4
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:89
INFO  [main] got 4 from coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:100
INFO  on!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:105
INFO  off!
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:108
INFO  [main] resuming coroutine with argument 105
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:98
INFO  [coroutine] got 105 from parent
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:91
INFO  [coroutine] exiting coroutine
└─ rp2040_project_template::__cortex_m_rt_main::{closure#0} @ src/main.rs:93

You can probably get away with a smaller stack. Also since you don't have a guard page, you need to make sure you don't overflow the stack.


Release/0.1.0

Coverage report

This PR does not seem to contain any modification to coverable code.


Wrong switch in example

The "Example 1: Report if programs are allowed to run" example shown has the switch as XMLPath instead of XmlPolicy

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

ID: e58784a4-b266-2b63-927f-8022e1b8a849
Version Independent ID: 2149e6ed-22f9-4cf3-e277-cc90c92e8d09
Content: Test-AppLockerPolicy (applocker)
Content Source: docset/windows/applocker/Test-AppLockerPolicy.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

@ramuvr Thank you for your feedback. We have made changes to the doc via PE #https://github.com/MicrosoftDocs/windows-powershell-docs/pull/1971
Thanks
Sri

Closing via #1971


Keyd mappings not working with the VSCode integrated terminal

Keyd works perfectly with my Linux workstation (Ubuntu 22, Wayland, and Gnome) in terminals and in all applications.
Except in the VSCode integrated terminal.
I have the following code in my /etc/keyd/default.conf file:
capslock = layer(capslock)
[capslock:G]
# Navigation.
j = left
k = down
l = right
i = up

I can use these navigation shortkeys in every other application, and in the VSCode editor view, but not in the VSCode integrated terminal view.
How to examine the issue:

Configure the navigation shortkeys as above.
Start VSCode.
Ctrl+Shift+P (Cmd+Shift+P in Mac)  => VSCode command prompt opens, write: Terminal: "Focus on Terminal View" and hit enter.
Integrated Terminal view opens. Try the navigation keys using the integrated terminal. E.g. up/down should give previous / next bash command from the command history.

I'm not sure if this is some feature or bug in the VSCode integrated terminal. In that case, there is nothing to be done and this issue can just be closed.

@karimarttila I just noticed that vscode invisibly remapped the keys at startup when it noticed I had a colemak layout enabled while setting up keyd.
Chording with keyd works for me in the terminal.
There's a debug view for the shortcuts under the command "developer: shortcut troubleshooting" or something along those lines.

First off, thanks @karimarttila for your blog post. Unfortunately, because I copied your setup, I landed in exactly same situation. :smile:
As @wmertens points out, it's probably a conflict of shortcuts or some strange interaction with modifier keys. Using the :G modifier set, pressing capslock+j appears to actually output Ctrl + Alt + LeftArrow. Somewhat similar behaviour can be observed without using keyd and pressing AltGr+LeftArrow, although only the first LeftArrow is missed, subsequent presses will move the cursor (which doesn't happen with keyd). In both cases long pressing the navigation key will actually move the cursor after the initial delay.
The most straightforward solution is to probably not use the :G modifier set in this use case and rather just map the individual keys that you want to use with capslock. At least I think that's what I'm going to do.
Below is the output from vscode (with "Developer: Toggle keyboard shortcuts troubleshooting") when pressing capslock+j with :G enabled.
2024-10-27 10:35:46.009 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.010 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.010 [info] [KeybindingService]: / Received  keydown event - modifiers: [], code: AltRight, keyCode: 225, key: AltGraph
2024-10-27 10:35:46.010 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: AltRight, keyCode: 0 ('unknown')
2024-10-27 10:35:46.010 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2024-10-27 10:35:46.384 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.384 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.385 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
2024-10-27 10:35:46.385 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
2024-10-27 10:35:46.386 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2024-10-27 10:35:46.386 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.387 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.387 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.387 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.387 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.
2024-10-27 10:35:46.387 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.387 [info] [KeybindingService]: | Resolving [ArrowLeft]
2024-10-27 10:35:46.387 [info] [KeybindingService]: \ From 13 keybinding entries, no when clauses matched the context.
2024-10-27 10:35:46.387 [info] [KeybindingService]: / Received  keydown event - modifiers: [], code: ArrowLeft, keyCode: 37, key: ArrowLeft
2024-10-27 10:35:46.387 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: ArrowLeft, keyCode: 15 ('LeftArrow')
2024-10-27 10:35:46.387 [info] [KeybindingService]: | Resolving [ArrowLeft]
2024-10-27 10:35:46.387 [info] [KeybindingService]: \ From 13 keybinding entries, no when clauses matched the context.
2024-10-27 10:35:46.525 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.526 [info] [KeybindingService]: | Resolving [ArrowLeft]
2024-10-27 10:35:46.526 [info] [KeybindingService]: \ From 13 keybinding entries, no when clauses matched the context.
2024-10-27 10:35:46.526 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.526 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.526 [info] [KeybindingService]: / Received  keydown event - modifiers: [], code: AltRight, keyCode: 225, key: AltGraph
2024-10-27 10:35:46.526 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: AltRight, keyCode: 0 ('unknown')
2024-10-27 10:35:46.527 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2024-10-27 10:35:46.893 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.894 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.895 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
2024-10-27 10:35:46.895 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
2024-10-27 10:35:46.895 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2024-10-27 10:35:46.896 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.896 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.896 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-10-27 10:35:46.897 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-10-27 10:35:46.897 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.

I think it's safe to conclude that keyd is performing as expected.


Cask request: eg

https://github.com/srsudar/eg

This isn’t a self-contained executable, so it isn’t appropriate for homebrew-cask. Use pip install eg instead.


multiple binaries per project

Hey there,
really like the project! (I actually had an old abandoned python project doing pretty much the same: https://github.com/AFriemann/ghbin)
one thing I noticed while testing is that I can't easily use it for projects that come with multiple binaries like for example ksniff: https://github.com/eldadru/ksniff
I had to manually remove the zip and re-install it. A multi select in the initial installation would be an awesome addition!

Hmm this might be out of scope. stew was initially designed for simple projects that use a single binary. I'm not sure how I would implement multiple binaries per asset. It wouldn't work with the current implementation of stew uninstall <binary> and stew upgrade <binary>. Would upgrading 1 binary also mean upgrading the other binary for that asset? For something like https://github.com/eldadru/ksniff you might be better off using the kubectl installer.
Still, this would be nice to have but I would want to make sure the implementation is intuitive.
I'm open to suggestions.

Would upgrading 1 binary also mean upgrading the other binary for that asset?

I would definitely think so, yeah.
If you don't think it's in scope that's understandable - what I would suggest at the very least is a flag to ignore the existing archive to allow multiple runs for a project (and potentially a configuration parameter in the lockfile for it? Otherwise this will probably also cause issues during updates..). Yes, ksniff you could install using one of the usual plugin managers, but there are a bunch of other projects that are distributed in a similar fashion.
Without looking at the code I think it should be possible to add easily (essentially having done the same thing in ghbin) but I completely get the hesitance. I'm also still quite useless when it comes to golang though :)

Would upgrading 1 binary also mean upgrading the other binary for that asset?

I would definitely think so, yeah.

I'm not sure if I agree with this actually.

what I would suggest at the very least is a flag to ignore the existing archive to allow multiple runs for a project (and potentially a configuration parameter in the lockfile for it? Otherwise this will probably also cause issues during updates..)

Right now there is a 1:1 relationship between a binary and its archived (or non-archived) asset that was downloaded. stew won't let you download an asset that has already been downloaded. stew isn't set up to handle a many:1 relationship between multiple binaries and a single asset because when you go to upgrade/uninstall a binary, stew looks for the associated asset and deletes it.
I think for the time being I'm going to hold off on this feature.

Running into this issue with https://github.com/SUPERCILEX/fuc where I'd like both cpz and rmz


WIP: Add permission boundaries

Based on:

https://aws.amazon.com/blogs/security/delegate-permission-management-to-developers-using-iam-permissions-boundaries/
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
https://docs.aws.amazon.com/IAM/latest/APIReference/API_Operations.html
https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html#identityandaccessmanagement-iam_PermissionsBoundary

We will implement permission boundaries as part of ADF instead of using terraform.


Drop R&D note on span batch specs

Overview
The span batch specification still has an "in R&D" note:
https://github.com/ethereum-optimism/specs/blob/main/specs/span-batches.md#L32-L34
This should be removed. Span batches have been live on Sepolia and Goerli for a while now, and Delta is scheduled for mainnet.

I think this is fixed in the latest version?


SystemChannels.textInput.invokeMethod('TextInput.hide') is removing the focus of the widget.

Steps to reproduce
1- Create a Textfield widget;
2- On the Scaffold of the page, make it as a child of the GestureDetector widget;
3- On the "onTap" attribute call the function "SystemChannels.textInput.invokeMethod('TextInput.hide')" to hide the keyboard when to tap outside the Textfield widget.
Expected results
The virtual keyboard should be hidden but with the focus still on the Textfield widget.
Actual results
The Textfield widget loses the focus.
Code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {

    return GestureDetector(
      behavior: HitTestBehavior.translucent,
      onTap: () {
        SystemChannels.textInput.invokeMethod('TextInput.hide');
      },
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(widget.title),
        ),
        body: const Center(
         child: TextField(

          )
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: _incrementCounter,
          tooltip: 'Increment',
          child: const Icon(Icons.add),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
[!] Flutter (Channel stable, 3.16.5, on Microsoft Windows [versÆo 10.0.22631.2861], locale pt-BR)
    • Flutter version 3.16.5 on channel stable at C:\Users\leandro.biesek\fvm\default
    ! Warning: `flutter` on your path resolves to C:\Users\leandro.biesek\fvm\versions\3.16.5\bin\flutter, which is not inside your current Flutter SDK checkout at
      C:\Users\leandro.biesek\fvm\default. Consider adding C:\Users\leandro.biesek\fvm\default\bin to the front of your path.
    ! Warning: `dart` on your path resolves to C:\tools\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at
      C:\Users\leandro.biesek\fvm\default. Consider adding C:\Users\leandro.biesek\fvm\default\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\leandro.biesek\AppData\Local\Android\sdk
    • Platform android-33-ext4, build-tools 33.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.85.0)
    • VS Code at C:\Users\leandro.biesek\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [versÆo 10.0.22631.2861]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 120.0.6099.131
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 120.0.2210.121

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Thanks for the report @lbiesek
Looking at your code implementation, you are wrapping TextField with GestureDetector.
Tapping in TextField itself is considered to be a tap operation. Wrapping with GestureDetector and passing onTap will likely produce a conflict between the taps.
Do you get same behavior without wrapping with GestureDetector ?
Also, maybe see if this is related or not with your case: https://github.com/flutter/flutter/issues/97480

Thanks for the reply @darshankawar
Even if you put the function call "SystemChannels.textInput.invokeMethod('TextInput.hide')" in the onTap of the TextField with a boolean to keep track of the state of the keyboard and after the keyboard is opened and you tap in the textfield the focus will be lost. It worked in the Flutter version 3.10.1, but after updating it to the 3.13.0 and beyond it stopped working. I downgraded my app to the 3.10.1 version and it started to work again.
In the example below you can test the problem I'm having. It makes the focus to be lost instead of just hiding the keyboard and keeping the focus in the TextField.
bool keyboardOpened = false;

TextField(
    onTap: (
        keyboardOpened = !keyboardOpened;
        if (keyboardOpened ) {
          SystemChannels.textInput.invokeMethod('TextInput.hide');
        }
    )
  )

Thanks for the update. Can you take a look at https://api.flutter.dev/flutter/widgets/FocusScope/FocusScope.html and requestFocus to see if it helps in your case ?

The problem is that the app is already in production and it was working in the version 3.10.1. The app I'm working on runs on a mobile device with an integrated barcode scanner. In the widget where the problem started after the update when the page is loaded the app focus in the textfield. When the textfield is focused the keyboard is opened but I use the function SystemChannels.textInput.invokeMethod('TextInput.hide') to hide the keyboard but keeping the focus on the field to receive the barcode.
As I was saying, it worked until version 3.10.1 but after the update everytime I call this function the focus is lost and the field can't receive the barcode.
Thanks for your attention.

Thanks for the update. I was able to replicate the originally reported behavior using the code sample provided. Keeping the issue open for team's input / tracking.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.7, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.16.7 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef1af02aea (3 days ago), 2024-01-11 15:19:26 -0600
    • Engine revision 4a585b7929
    • Dart version 3.2.4
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.19.0-5.0.pre.45, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.19.0-5.0.pre.45 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8e94423e6a (3 hours ago), 2024-01-15 01:53:26 +0000
    • Engine revision f20657354d
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I have the same problem.
How long to fix it?

Same to me, Any news ?

I am using Flutter 3.16.7 And same happens to me. Any resolve ?

if u only build for android, getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); & getWindow().clearFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); is useful.
You can forbid the system keyboard on the root Widget, and then cancel forbid when need use system keyboard, for example, in user login page. When leave login page, forbid again.

I am using Flutter 3.19.6
Any updates about this issue?

Closing because this is fixed in Flutter 3.22, probably by https://github.com/flutter/engine/pull/49366.


moe router tp removed

As the title suggests, this PR removes TP (tensor parallelism) for MoE router. Duplicating router across GPUs removes an allreduce for each MoE layer. This small change leads to 4-18% speedup in decoding for Mixtral-8x7B-v0.1 (4% at bs=1, 10-18% at batch size 2-16). Measured on 2xA100-80GB.

@megha95  thanks for the contribution!
We will integrate this MR into our internal repo, then pushed to the github, for sure with quoting this MR to acknowledge your contribution.
June

@megha95 close this since it has already been merged in this push

https://github.com/NVIDIA/TensorRT-LLM/discussions/1280


Don't mark HLint parse errors as errors

I have some hlint parse errors that happen because haskell-source-exts can't handle my code, but it compiles fine. I think only ghc-mod parse errors should handled as errors.
EDIT: I use an Extension that is not robustly handled by haskell-source-exts and nearly every file is marked red, which is a bit annoying.

It is possible to turn off the hlint check, in vscode, by setting languageServerHaskell.hlintOn to false.
I am not sure if this configuration setting is enabled for other clients at the moment, make an issue on the relevant client if not.
I will also look at turning off hlint parse errors.
Can you give a short  example of a file that has this problem?

Here https://github.com/ndmitchell/hlint/issues/450 is one and I opened another on haskell-src-exts https://github.com/haskell-suite/haskell-src-exts/issues/403.


Flow basics

Add the very basic part of the content editing flow: if the latest editions of a guide is published, save a new edition instead of updating the published one. This essentially means that currently there can be only one work in progress edition draft, once it's published it should never change.
I've also added a list of guides with an action that indicates whether a new edition will be created or an existing one is going to be edited.

I'm not entirely happy with the implementation, I had to create Guide#update_attributes_from_params to ensure we do not update the existing latest_edition when it's in state = 'published'. Simply assigning a new instance of edition to guide.latest_edition doesn't work, because it's a has_one relationship and Rails deletes the old latest_edition record when a new instance is assigned.

Maybe add bullet in development?

I like bullet too. Let's add it in a separate PR

:+1: for adding bullet to development.

Any feedback on the code changes?

lgtm :+1:


Double Click to close a TAB

Some of the editors like notepad++ provide Double Click to close a TAB. It would be a great edition to VS Code.

Where would you double-click? The tab?

Yes. Once I double click on the tab, TAB should be closed. When I am working on several tabs, its a pain to point mouse to the close button on TAB and close the TAB. This can be a feature that one can enable if they want to as well.


Issue #65 versioning documentation

I added a new root level README.md with instructions of development/build/tag/archive documentation. This section https://github.com/zowe/docs-site/tree/issue-65-versioning#archive-document-and-create-a-version introduces how to create a new version.
I forked a test website so you can preview the compiled result. Please go ahead check https://jackjia-ibm.github.io/docs-site. The versions dropdown is added to top level navigation links.
Please review and suggest improvements. Thank you!

Thanks @adambattenburg, it’s fun to learn Vue.js and Vuepress. :)
I believe I changed NavLinks.vue and NavLink.vue. Do you have a file to track the changes? I can add some details about how the changes are made.


[language][easy] Refactor a few iterator / Result patterns in language

Please refer to the individual commit messages, which are sorted by pattern.
The collect-to-result instances may offer a way to delete unwraps (if
it's proper to ignore failures), but for now they keep the original
behavior.

fwiw, I would really appreciate if no change of this kind were ever pushed to language.
Having said so language is a lot of things ;) and I don't want to speak for everybody so whatever... I am sure there are a lot of great fans of those changes... I think is best if I stay out of this as at the end is not a big deal either way.
Sorry @huitseeker, take this for what is worth, and I'm fine with @tnowacki and @vgao1996 to drive this.

If I had to take my pick, yeah I'd agree with @dariorussi and I'd never want to see PRs like this. I find them invasive in a way that often makes the code harder to read; on top of that, they often cause merge conflicts with very large PRs we are working on.
That being said, I will try to compromise if the rest of Libra really wants these style changes for whatever reason.

I think the only one I'd want to keep in this PR is the one json-rpc/src/methods.rs. This converts an unwrap into a ?, which seems like a win.
All the rest fit my previous complaint

Fair enough. Those are made to be useful. If they aren't, I get that.


Error in site generation.

I've tried following the instructions but it results in this.

See my issue posted ten min ago.

#77 Already explained. Closed.


docker: 1.10.0 -> 1.10.3

Things done:

Built on platform(s)

[x] NixOS

Looks like this bump brings quite a few fixes, probably should be picked into the upcoming release as well, if merged.

@joachifm That would be awesome, there were a bunch on regressions in Docker 1.10 and Docker 1.10.3 seems to fix them all (battle tested in the company I'm working for :) )

LGTM. Not even sure if 1.10.3 fixes /all/ of the regressions, but I'd be happy to see it merged sooner rather than later.

Let's do it


Adding/Editing stream host causes: data.forwarding_host should match exactly one schema in oneOf

I was not able to find a similar error. Screenshot:

"schema" sounds like a database problem?! I'm using /data/database.sqlite through the DB_SQLITE_FILE variable.
Container is created as follows:
docker run -d --name='npm' --net='host' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'TCP_PORT_81'='81' -e 'TCP_PORT_80'='80' -e 'TCP_PORT_443'='443' -e 'DB_SQLITE_FILE'='/data/database.sqlite' -e 'TCP_PORT_25565'='25565' -e 'TCP_PORT_25566'='25566' -v '/mnt/cache/appdata/Nginx-Proxy-Manager-Official/data':'/data':'rw' -v '/mnt/cache/appdata/Nginx-Proxy-Manager-Official/letsencrypt':'/etc/letsencrypt':'rw' --memory=1G 'jc21/nginx-proxy-manager'

HTTP Request is sent as POST to /api/nginx/streams but a 400 Bad Request error is returned. Post content:
{"incoming_port":25576,"forwarding_host":"<IP_ADDRESS>","forwarding_port":25566,"tcp_forwarding":true,"udp_forwarding":false}

Is this error returned by Nginx? I found only this in /app/routes/api/nginx/streams.js, which seem to listen to the POST request:
/**
 * /api/nginx/streams
 */
router
        .route('/')
        .options((req, res) => {
                res.sendStatus(204);
        })
        .all(jwtdecode()) // preferred so it doesn't apply to nonexistent routes
        /**
         * POST /api/nginx/streams
         *
         * Create a new stream
         */
        .post((req, res, next) => {
                apiValidator({$ref: 'endpoints/streams#/links/1/schema'}, req.body)
                        .then((payload) => {
                                return internalStream.create(res.locals.access, payload);
                        })
                        .then((result) => {
                                res.status(201)
                                        .send(result);
                        })
                        .catch(next);
        });

Found the error message here:
/app/node_modules/ajv/lib/dot/errors.def:112:  oneOf:           "'should match exactly one schema in oneOf'",
/app/node_modules/ajv/lib/dotjs/oneOf.js:50:      out += ' , message: \'should match exactly one schema in oneOf\' ';

I'm seeing this issue too.
Using the npm docker v2.9.8 on unraid v6.9.2

This is fixed #1366 and available on the github-develop docker tag until officially released.


CA - MSH-3.1 Truncation Resubmission

Due to the recent bug with MSH-3.1 truncation logic, outbound messages from ReportStream (including the data for A1Health >> Prod) have been failing.
@brick-green-agile6 has made settings updates to address this issues CA. We need to resubmit failed messages from 12/8 until when the fix was deployed.
fyi - @MauriceReeves-usds @rhood23699

Waiting on confirmation from CA

Still waiting on feedback. Will follow up during touchpoint this Thursday.

@brick-green-agile6  did CA provide an update yesterday? Any steps needed from RS?

Anshul to fu with CA and determine next steps.

Anshul followed up with CA on 1/21 to confirm resolution of issue. Awaiting feedback from CA.

Accessions for MSH-3.1 resends shared with CA on 1/21
•	b207a398-947b-42bd-9fe6-0be815b93a45
•	f0e7964d-9cfc-447b-9269-a0b14b4be3cb
•	e43a5189-019a-4f5e-9ac7-afa8973c6630
•	0b5273b4-84af-4470-bc0a-ce8fb73eea2f
•	89279a33-6394-450e-a070-598561860e2d
•	87caacf6-a18d-43dc-9c7e-59e6b9cafa2e

Provided Ellaison with the date of transfer for the results


chore(setup): configure tailwind integration

follow the guide to configure tailwindcss with astro
(https://docs.astro.build/guides/integrations-guide/tailwind)

#3  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lewxdev and the rest of your teammates on  Graphite


SLIM-873, removed @Skip tag + merged with dev

Can one of the admins verify this patch?

retest this please

This pull request makes the build fail.

Only OSLP tests keep failing, for reasons unrelated to this pull request. I am going to merge it despite the failing build


Subscription Cancel does not take parameters

As per the documentation
https://razorpay.com/docs/subscriptions/api/#cancelling-a-subscription
I am allowed to send cancel_at_cycle_end parameter to cancel subscription API
But the code does not take any parameters for cancel
https://github.com/razorpay/razorpay-php/blob/master/src/Subscription.php
Function cancel

I have made a pull request can you please review and accept the pull request so I can update our production servers

Solved in #83


Use updated Apt repository metadata URLs

Pull requests:

https://github.com/Senzing/github-action-install-senzing-api/pull/47
https://github.com/Senzing/github-action-install-senzing-api/pull/48


Prevent multiple callbacks when buffer fills up

When the buffer fills up, we would call cb() multiple times
inside the while loop. This would result in a 'no writecb in
Transform class' error, because the callback gets cleared after
transforming the state of the stream.
https://github.com/nodejs/node-v0.x-archive/blob/9e1eb361e8deb3f296a3c9d01de8fcc10361443f/lib/_stream_transform.js#L73-L106
There solution is to use through2 like in their README,
where you push messages into self, and then the data event will
get fired for each of them.

duplicate of (https://github.com/defunctzombie/fixjs/pull/5)
Just needs tests plz :)

It only happens over the network, how do you think we should test this?

We can't manually send data into the frame decoder? When you say it only
happens over the network is that on the incoming or outgoing side?
Anything on network I think we can simulate, no?
On Monday, September 21, 2015, Miha Rebernik<EMAIL_ADDRESS>wrote:

It only happens over the network, how do you think we should test this?
—
Reply to this email directly or view it on GitHub
https://github.com/defunctzombie/fixjs/pull/7#issuecomment-142138819.

I'll go ahead and merge this but it would be really beneficial to add a test for this somehow, otherwise future updates in dependencies might inadvertently break this again.

I'm checking if I can make it fail in tests without this change.