Newbie Having Issues With vimrc & Plug

Hello,
First of all, thank you for creating vim-plug, I look forward to using it to setup the TidalCycles plugin on my Raspberry Pi 4.
Secondly, I'm totally new to Vim, relatively new to GitHub, and let's face it, new enough to Linux that I still have to look up commands for that, for Vim, etc.---newbie, but everybody starts somewhere right? :)
I'm trying to set up vim-plug on stock-standard Raspian Buster, using AFAIK the latest, standard version of Vim.
I followed the instructions on the page, downloaded plug.vim using the following command:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
I then checked the ~/.vim/autoload/ directory to make sure the file was there--it was.
I then went into vimrc and added the following lines:
call plug#begin()
call plug#end()
And went out of vimrc using the :x command.
When I went back into vimrc, I got the following error:
Error detected while processing /usr/share/vim/vimrc:
line    1:
E117: Unknown function: plug#begin
line    2:
E117: Unknown function: plug#end
I followed the directions to my understanding but can't figure out what I may have done wrong?
Any help would be appreciated, thank you for looking at my email and designing this :)
--Jon

You are using a version of Vim that disabled the +autoload feature. Check the output of :version. You can force vim to load vim-plug by running runtime autoload/vim-plug.vim or source /path/to/.vim/autoload/vim-plug.vim.
Vim cannot find vim-plug from the autoload/ directory relative to your configuration directory. It is set in runtimepath option. You can check via set runtimepath?.
Read/write permission issues.
System vimrc ran first and did something. You can force Vim to load only your vimrc by running vim -u ~/.vim/vimrc where the file passed to -u is the filepath of your vimrc.

Reopen this issue and post a status update if you still have problems.

You are using a version of Vim that disabled the +autoload feature. Check the output of :version. You can force vim to load vim-plug by running runtime autoload/vim-plug.vim or source /path/to/.vim/autoload/vim-plug.vim.
Vim cannot find vim-plug from the autoload/ directory relative to your configuration directory. It is set in runtimepath option. You can check via set runtimepath?.
Read/write permission issues.
System vimrc ran first and did something. You can force Vim to load only your vimrc by running vim -u ~/.vim/vimrc where the file passed to -u is the filepath of your vimrc.

Hi Janlazo,
I met with a similar problem in my situation. I wanted to set a different .vim path instead of the default ~/.vim. As suggested above, I use the following code in my /home/xx/newhome/.vimrc
source /home/xx/newhome/.vim/autoload/plug.vim
call plug#begin('/home/xx/newhome/.vim/plugged')
" Make sure you use single quotes
Plug 'scrooloose/nerdtree'
Plug 'majutsushi/tagbar'
" Initialize plugin system
"call plug#end()

In my situation, the commands related to plug.vim, e.g. PlugInstall or PlugUpdate worked correctly, and I was sure the plugins (nerdtree and tagbar) were installed in /home/xx/newhome/.vim/plugged correctly. While the command such as TagbarToggle did not work at all. I also tried to add the line set rtp+=/home/xx/newhome/.vim/plugged in my vimrc and It also didn't work.
BTW, I use vim -u /home/xx/newhome/.vimrc to excute the vim.


PHPLIB-70: Resource CRUD prototypes

https://jira.mongodb.org/browse/PHPLIB-70

lgtm

Do we now how stubs for the entire API we want before the alpha release?

@bjori: I left out collMod and there are a few other tickets for things like DBRef we should probably include. Let's chat later today.


Add support for elixir heex files

#132 #200

Thanks for the PR @dan-cooke!
Did you ever get a chance to test this for elixir heex files?

@PriceHiller so I’ve tested briefly , it works for normal HTML tags but anything with dots in them - it does not complete
Eg
<.button will not work
I am not sure how best to handle this with the plugin, any ideas?

Wow, that was a fast response.
So the unfortunate bit is that we register to a keybind in insert mode triggered by tag openers and closers.
See https://github.com/windwp/nvim-ts-autotag/blob/e239a560f338be31337e7abc3ee42515daf23f5e/lua/nvim-ts-autotag/internal.lua#L466
and https://github.com/windwp/nvim-ts-autotag/blob/e239a560f338be31337e7abc3ee42515daf23f5e/lua/nvim-ts-autotag/internal.lua#L478
In effect, that means we'd have to create a keybind that maps to . and then looks one character back for a < to trigger an autoclose. That may lead to other issues in how we manage the tags, would have to try to know for sure.
I'm not familiar with heex, does it not create a tag on a closing > or a /?
I'm good with merging this if you're happy with the functionality added by the alias.

Closed by #223, thanks for the attempt 🙂


Update GitHub Actions CI

The following updates are performed:

update actions/checkout to v3
replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain
replace unmaintained actions-rs/cargo by direct invocation of cargo

Still using the outdated / unmaintained actions will generate several warnings in CI runs, for example in https://github.com/sburris0/bevy_flycam/actions/runs/4661077623:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

The PR will get rid of those warnings.

Thanks!


TimeoutError: [Errno 110] Operation timed out

Errors and no results directory created.

==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)==============
SF-Port8082-TCP:V=7.70%T=SSL%I=7%D=11/22%Time=5DD82E1C%P=x86_64-alpine-lin
SF:ux-musl%r(GenericLines,37,"HTTP/1\.1\x20400\x20Bad\x20Request\r\nSec-We
SF:bSocket-Version:\x2013\r\n\r\n")%r(GetRequest,37,"HTTP/1\.1\x20400\x20B
SF:ad\x20Request\r\nSec-WebSocket-Version:\x2013\r\n\r\n")%r(HTTPOptions,3
SF:7,"HTTP/1\.1\x20400\x20Bad\x20Request\r\nSec-WebSocket-Version:\x2013\r
SF:\n\r\n");
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Fri Nov 22 18:52:31 2019 -- 256 IP addresses (23 hosts up) scanned in 2470.12 seconds
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/urllib/request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/local/lib/python3.5/http/client.py", line 1133, in request
    self._send_request(method, url, body, headers)
  File "/usr/local/lib/python3.5/http/client.py", line 1178, in _send_request
    self.endheaders(body)
  File "/usr/local/lib/python3.5/http/client.py", line 1129, in endheaders
    self._send_output(message_body)
  File "/usr/local/lib/python3.5/http/client.py", line 944, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.5/http/client.py", line 887, in send
    self.connect()
  File "/usr/local/lib/python3.5/http/client.py", line 1279, in connect
    super().connect()
  File "/usr/local/lib/python3.5/http/client.py", line 859, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/local/lib/python3.5/socket.py", line 712, in create_connection
    raise err
  File "/usr/local/lib/python3.5/socket.py", line 703, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/output_report.py", line 225, in <module>
    main()
  File "/output_report.py", line 221, in main
    create_latex(nmap_command, start_date)
  File "/output_report.py", line 163, in create_latex
    + '\\\\ \hline \end{tabular}  '
  File "/output_report.py", line 121, in get_description
    cve_json = json.loads(urllib.urlopen(url).read().decode("utf-8"))
  File "/usr/local/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/local/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.5/urllib/request.py", line 1297, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/local/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Operation timed out>
sed: /shared/reports/report_2019.11.22-17.02.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-17.02.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-17.02.tex: No such file or directory

# ls -l shared/
total 12
-rw-r--r-- 1 root root   40 Nov 22 09:01 ips.txt
drwxr-xr-x 2 root root 4096 Nov 22 09:00 reports
drwxr-xr-x 3 root root 4096 Nov 22 09:02 xml_files
#

It seems that you are running flan in an environment that cannot connect to the internet to fetch the CVE information.
The exception is caused by https://github.com/cloudflare/flan/blob/master/output_report.py#L121 as the HTTP request to https://raw.githubusercontent.com/ times out.
This most likely is caused by issues with your internet connection, iptables setup, docker configuration or proxy configuration.

Yes what @root360-AndreasUlm is saying is correct. @bbrendon I will close this out as this is likely not an issue with Flan Scan itself. Let me know if you find out more about your specific configuration. Thanks!


Encryption list

Maybe someone is interested in creating and maintaining the awesome-ecryption list?
It might be useful.
Quick googling and searching github said that's nothing like it: https://github.com/search?utf8=✓&q=awesome+encryption&type=Repositories&ref=searchresults

There's an awesome Cryptography list: https://github.com/MaciejCzyzewski/retter (website).

Well, a lot of resources from there might be useful.
I have created a project for cryptography: https://github.com/sobolevn/awesome-cryptography
It will be a hard work to fill it. Contributions, as always, are welcome.
@sindresorhus thanks, for https://github.com/sindresorhus/awesome/blob/master/create-list.md

a lot of resources from there might be useful.

test

Closing as this didn't get any traction.


PD Tip Management: Visualize Tips on Deck

As a protocol designer, I would like to be able see how many tips I have left as I progress through a protocol.
Acceptance Criteria

[ ] User able to see which tips in a rack are still left at the beginning of a selected or hovered step

duplicate


[Feature Request][bar chart] do not show value individually when select stacked bar

For bar chart, bar value currently only show 'total value' when it is stacked,  individual value is not shown. Can we also show individual value when it is stacked? Especially when Y Axis is in %, individual bar value for stacked bar will be more meaningful.
When it is not stacked, individual bar value is shown:

When it is stacked, only show bar value for total:

will not fix this nvd3 bar chart.
@stephenLYZ has resolved similar issue for echarts time bar. https://github.com/apache-superset/superset-ui/pull/1313
and we dont have a non-categorical bar echarts yet. so let's punt.


Plugins infrastructure

Any suggestions how to improve infrastructure for building orgmode plugins should be posted here.

I just discovered this project and am interested in helping, but don't have enough context yet to make any concrete suggestions.
Once I figure out the out-of-the-box functionality, I know I'm going to want to integrate this into telescope.nvim. Beyond that, I'm not sure - but by all means, if there's something in particular that you are interested in, let me know. I plan to spend some time on this if I can get it to suit my needs, and to use it as a means of keeping my Lua skills from getting too rusty :)

@lyndsysimon what would integration with Telescope do? I still didn't expose any particular API publicly , since no one showed interest in it. Let me know what you would need for your plugin.

I'm not sure how things work on emacs land but one thing that could be pretty helpful is accessing the parser and functionality as APIs. To be more specific stuff like

I want to parse the org file and then every time there's a change in any tasks, to sync with my caldav server.
The ability to manipulate the UI. If I have each org task to have a unique identifier, I don't want to clutter the file with this metadata. So, maybe someway to hide this kind of information.
The ability to make changes. Say when I'm pulling changes from my caldav server, and a task is now marked as DONE. I would want the ability for the plugin to be able to modify the keywords of a particular task.

Also, do we maintain some sort of AST internally to represent this file. Would it be possible to read and manipulate that directly?
These are just some few examples but overall I think having the APIs to parse org file, manipulate the UI and then make changes to the Org file are going to be valuable for plugin developers. Not sure which of these things would come under the purview of this plugin infrastructure but it would be nice to hear some thoughts on this.

Hey I think this issue should be pinned!
And I second part of what @samyak-jain mentioned:

one thing that could be pretty helpful is accessing the parser and functionality as APIs.

This is probably the largest thing for me, being able to get access to read properties and tags through the API would be great. I'm new to org mode (have never used it in emacs) so am thinking of something similar to orgparse. That would be very very powerful.
I can see myself turning vim into a keyboard driven acme editor with that haha. Thanks for all the work you've done on this plugin!

@joshpetit good idea, pinned :)
I would like to start with this, at least to provide something for start. Can you give me the list of things that you would find useful? You can use orgparse as a reference if that helps.

I've only ever had a cursory look at orgparse, but the features I find most important would be allow you to:

Get a list of all the "nodes" (headings) in the file

This is kind of obvious haha. The question about this is whether it would get only top level nodes (*) or nested nodes as well.

Get Sub trees of a node

So if you get the top level node, have some property like "children" that allow you to get the ones under it.
Access:

Properties of a node (I'd assume SCHEDULED, DEADLINE, etc. would be properties? not sure)
Tags of a node
The node that the cursor is currently within (what heading they're currently under).
Properties and tags set for an entire file.
Content of a node (The text under the heading).

Some things that can be implemented with these apis above that would be useful:

Get nodes with certain tag, property
Get nodes scheduled for date

I think being able to get the values within the file is primarily useful, then being able to modify them would be useful as well.
This is probably pretty basic, I haven't really gotten to the point of using org in a more advanced way so there's definitely lots of things that can be added.

@lyndsysimon what would integration with Telescope do? I still didn't expose any particular API publicly , since no one showed interest in it. Let me know what you would need for your plugin.

I think one integration that would be useful with telescope is being able to go to specific headline. For example I can go to a headline in the file, or a headline in the directory by filtering with telescope.

+1 to tags and dates for a given node.
A first attempt at an orgparse-style API might be a good precursor to #135 as it would provide an easier way for users to read metadata about items and filter as they please.
It seems like a good breakdown of tasks here would be:

Read the content of a single node
Update the content of a single node
The relationships from one node to other nodes around it
Metadata about the file, perhaps with some easy wrappers for filtering nodes contained within a single file. Obviously the file portion can be extended to be global (where file-local stuff would be more akin to the *-tree things that Emacs has).

This leads itself quite nicely into some of the harder parts of #135, like dealing with custom configuration settings within a given scope. With a wrapper to the API, we can pretty much monkey-patch a config option onto it that can be used while filtering for a given scope, then thrown away.

@kristijanhusak If you think copying the orgparse API would be ok then I can help with it. Do you think it makes sense to make an org parser in lua for nvim?  Don't see one that's already been made.

@joshpetit We could copy some ideas from there, but I don't want to make it 1 to 1. I'll set up something basic in following weeks and we can expand on it easily.

@lyndsysimon what would integration with Telescope do? I still didn't expose any particular API publicly , since no one showed interest in it. Let me know what you would need for your plugin.

I ended up not continuing to use this plugin so I still don't have the necessary context, but generally speaking I was looking at making all of the navigation tasks (agenda, todos, etc.) present in telescope if it is installed.

I'm writing a Google calendar plugin, and I'd really like some way to hook into how the agenda view is built and maybe also some way to override what happens when you hit Enter on an agenda entry.

@kristijanhusak do you know how these things work in emacs? Is there an exposed API?

Initial version of the api was added in https://github.com/nvim-orgmode/orgmode/pull/331. It has just few basic things like listing the org files, their headlines, and updating basic things (priority, tags). Docs are generated with mini.nvim automatically, you can read it here https://github.com/nvim-orgmode/orgmode/blob/master/doc/orgmode_api.txt. Here's small example how to get list of all headline lines from all files:
local api = require('orgmode.api')
local files = api.load()
local headlines = {}
for _, file in ipairs(files) do
  vim.list_extend(headlines, vim.tbl_map(function(h) return h.line end, file.headlines))
end
return headlines

Plan is to expand more on this by introducing more actions to manipulate the files.

@jgollenz I don't know. From what I saw, people are calling some orgmode code in the plugins, but I'm not sure if it's just the builtin one or there is some exposed api for that.

One thing I think would be pretty valuable is having a properties field within the OrgHeadline object. I feel like I co

Started a plugin for telescope integration, feedback welcome:
https://github.com/joaomsa/telescope-orgmode.nvim
Had to dig into a few internal things beyond what's currently exposed on OrgHeadline like Section:level and Section:is_archived(), can I just do a PR adding them or was there some reasoning for not exposing it?
Also I ended up having to dig into the internal Capture:refile* functions to get the refile working. I think we can make commands be a bit more composable or perhaps allow overriding the selection UI by plugins. Any thoughts on this?

Had to dig into a few internal things beyond what's currently exposed on OrgHeadline like Section:level and Section:is_archived(), can I just do a PR adding them or was there some reasoning for not exposing it?
Also I ended up having to dig into the internal Capture:refile* functions to get the refile working. I think we can make commands be a bit more composable or perhaps allow overriding the selection UI by plugins. Any thoughts on this?

I wouldn't suggest using internals since those might be changed. If you can please create a PR to expose the functionality through the api, so we have a compatible layer in case of any changes.

I would love to have access to the running clock to make pomodoro possible and also implement an idle timer. So, API access to the instance members would be nice, as well as an easy link to the currently clocked in headline.


⚠ ClamAV has degraded performance

In 954cfc6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 3e9b907 after 17 minutes.


[chore] Ignore CVE in DependencyCheck plugin dependency

The latest version of the Dependency Check plugin has a vulnerable dependency, which is a red herring for our testing. We will ignore this vulnerability for now, and update DependencyCheck when a new version comes out.
Ref: https://github.com/jeremylong/DependencyCheck/issues/5943

Not the right way to do this, no changes needed to this repo.


keyboard rolling down doesn't role content

You mean this right? Thanks for raising the issue. Will take a look at this after closing #13.
https://user-images.githubusercontent.com/30958850/145533574-0d446c64-8f76-4f02-ba59-f1a6c027bf7b.mp4

This is fixed in v3.0.0. Note that this major version comes with additional breaking changes documented in this readme note.
The fix relies on the scrollIntoViewIfNeeded API which is not yet standardized yet has surprisingly good browser support (currently at 93.45%).


[EHN] [Easy] Choose AJD algorithm for multi-class CSP

Ajd algorithm for multiclass CSP is ajd_pham, which can be slow for high dimension. 3 different ajd algorithm are currently implemented (here : https://github.com/alexandrebarachant/pyRiemann/blob/master/pyriemann/utils/ajd.py).
We just need to add a new argument, and make a switch here :
https://github.com/alexandrebarachant/pyRiemann/blob/master/pyriemann/spatialfilters.py#L333
An example with a benchmark would be great

Benchmark of ajd methods has been added with
https://github.com/benchopt/benchmark_jointdiag/pull/9
Issue is closed.


Changing  isn't picked up

When modifying the <route> custom block of a page, the new information isn't available in the app even after a full reload.
It looks like the only way to see the changes is to restart Vite.

It works in my environment, can you provide more context?

Can you try v0.11.2 works or not?

I just tried 0.11.2 and it didn't work.
I'm on Windows, yes.
For example if I have a SFC with:
<route>
name: abc
</route>

Then I see the generated routes in browser with name: abc, as expected.
Now in dev mode, if I change name to say xyz:

I see Vite notices the changes and reloads the file;
But the generated routes in browser stays abc until I restart Vite completely.

A similar issue is that if I add a <route> block to a file that has none, it isn't picked up either.

Just fixed another bug, can you try v0.11.3?

I tried 0.11.3.
Seems to work better, I can change some things such as the path.
But other changes are still not picked up.
I use extendRoute() option to change things based on properties I put in <route>. Is it called again with a fresh new route after a file change?
The changes I make in extendRoute() don't appear in front-end even after a full page refresh.

Oh... I got it, will fix it later.

@hannoeru I just tested 0.11.4 and can confirm it works 🎉
It looks like every page / route / property updates correctly without restarting Vite now.
... but it also introduced a major regression, see #55  😢


LND not running after update tor 3.5.8. -> 4.0.5

Aloha,
after a system update LND failed. I think its bc a new tor version and bc it runs smooth without tor. Did I have something to change at the config?
https://termbin.com/89cc
tnx && regards

Not sure whats up with that manual update of TOR. To reverse to standard setup you can just make a new sd card and boot up with that (like on update) .. all LND channel/fund data is on HDD.

solved. for any reason I have to stop bitcoind/lnd/tor and restart it manually.


#3587, cache DataSourceMetaData

Fixes #3587.

Pull Request Test Coverage Report for Build 982

0 of 6 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 68.767%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/SQLExecuteCallback.java
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/SQLExecuteCallback.java
1
0.0%

Totals

Change from base Build 571:
-0.01%

Covered Lines:
11676

Relevant Lines:
16979

💛  - Coveralls


Logout issue in Microsoft Edge browser

I am having the logout problems in the Microsoft Edge browser. I am able to log out of my Asp.Net core MVC application and I am also automatically being redirected to the IdentityServer login page. I see the following message on the console: [Information] Showing login: User is not authenticated.
If I then try to go to a url of my MVC app from which I logged out I am being redirected to the IdentityServer login page on the first try. However on the second try I am able to open it as an authenticated user.
Here is something else I noticed: The first time when I am not allowed to open the url, the OpenIdConnect OnRedirectToIdentityProvider event handler in my mvc app is being called. The second time around it is not being called.
I also put my comment on a similar issue which is now closed: https://github.com/IdentityServer/IdentityServer4/issues/2133
Update: Please disregard my comments about OnRedirectToIdentityProvider. Its wierd but today the OnRedirectToIdentityProvider event handler in my mvc app is being called every time.
However, I noticed that on my colleagues edge broswer, the logout does not redirect to the identity server login page but redirect to the landing page of the mvc app as if the user had not logged out.

The problem is experienced when I have signed into two mvc applications using sso. When I log out of the first app, and try to open the app again  using a link provided in the other app, it opens it on the second try. However, if I close the tabs, or try to open via the address bar I need to authenticate again.
It's the same behavior whether I log out from the client or from identity server. When logging out directly from Identity Server, the front channel logout uri is successfully being called for the first app but not for the second (it does get called if its  the only app I signed into).
Do you have any suggestions on what else I should be checking?

I changed the auth cookie name (Cookie.Name) in the AddCookie extension methods of both apps to be different. No difference.
Yes, they are on localhost.

Any update?

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.


Typos in italian language translation

Error on   the transcription of the phrase "don't worry" in italian language.   You have written
Actual :
non preoccupati
Expected : "non pre occuparti".
https://www.jotform.com/uploads/AppQuality/201096241235345/4631995838174799450/photo_2020-04-20_15-26-35.jpg
Issue 2 in translation :
all subtitles are different from each other (e.g. some have the dot at the end and others don't)
Expected : all of them should be uniform.
https://www.jotform.com/uploads/AppQuality/201096241235345/4631995838174799450/photo_2020-04-20_15-40-43.jpg
https://www.jotform.com/uploads/AppQuality/201096241235345/4631995838174799450/photo_2020-04-20_15-40-53.jpg
https://www.jotform.com/uploads/AppQuality/201096241235345/4631995838174799450/photo_2020-04-20_15-41-17.jpg

@vedhakannan It's correct non preoccuparti that literally means don't worry.
The suggested fix is wrong becase in italians means something like don't start to take care of.

Fixed in the meanwhile the formatting of the title/subtitle with #626


docs(readme): add new rules as experimental

I have added the blocked label in order to don't merge before the good time

@wKoza @mgechev @mohammedzamakhan I moved the changes from PR #754 (README.md and CONTRIBUTION.md) to here. That way, there is no risk of messing documentation before we release a version with these new/modified rules.


Intialise itemStore with an action

@assertchris
Based on feedback from @unclecheese

looking good, much cleaner!


Create community.md

some community forums to aid in your learning.

I appreciate your work. Definitely going to check those out! 👍


Posts category filter

Allow filtering on category by passing in a category id on postsList subscription.

looks like structure changed. I'll do new pull after looking at latest code.


Error when building from source

Hi Mr. Sarlin,
Thank you for the great code. I'm a big fan of your works.
I've already installed COLMAP 3.9.1. I'm trying to build the latest version of pycolmap from source.
When I run python -m pip install ., the error looks like this:
Processing /home/khangtg/pycolmap
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /home/khangtg/anaconda3/envs/torch12cu113/lib/python3.8/site-packages (from pycolmap==0.5.0) (1.23.5)
Building wheels for collected packages: pycolmap
  Building wheel for pycolmap (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pycolmap (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [117 lines of output]
      *** scikit-build-core 0.7.1 using CMake 3.28.1 (wheel)
      *** Configuring CMake...
      2024-01-17 14:40:50,417 - scikit_build_core - WARNING - libdir/ldlibrary: /home/khangtg/anaconda3/envs/torch12cu113/lib/libpython3.8.a is not a real file!
      2024-01-17 14:40:50,418 - scikit_build_core - WARNING - Can't find a Python library, got libdir=/home/khangtg/anaconda3/envs/torch12cu113/lib, ldlibrary=libpython3.8.a, multiarch=x86_64-linux-gnu, masd=None
      loading initial cache file /tmp/tmp4nkc__km/build/CMakeInit.txt
      -- The C compiler identification is GNU 7.5.0
      -- The CXX compiler identification is GNU 6.5.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found Boost: /usr/include (found version "1.65.1") found components: filesystem graph program_options system
      -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
      -- Found Eigen
      --   Includes : /usr/include/eigen3
      -- Found FreeImage
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libfreeimage.so
      -- Found FLANN
      --   Includes : /usr/local/include
      --   Libraries : /usr/local/lib/libflann.so
      -- Found LZ4
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/liblz4.so
      -- Found Metis
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libmetis.so
      -- Found Glog
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libglog.so
      -- Found SQLite3
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libsqlite3.so
      -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
      -- Found Glew
      --   Includes : /usr/include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libGLEW.so
      -- Found Git: /usr/bin/git (found version "2.17.1")
      -- Found installed version of Eigen: /usr/lib/cmake/eigen3
      -- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3
      -- Found required Ceres dependency: glog
      -- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
      -- Detected gflags version: 2.2.1
      -- Found required Ceres dependency: gflags
      -- Found Ceres version: 1.14.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations, OpenMP, Multithreading]
      -- Enabling OpenMP support
      -- Found CGAL
      --   Includes : /usr//include
      --   Libraries : /usr/lib/x86_64-linux-gnu/libCGAL.so.13.0.1
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - found
      -- Found Threads: TRUE
      -- The CUDA compiler identification is NVIDIA 11.3.58
      -- Detecting CUDA compiler ABI info
      -- Detecting CUDA compiler ABI info - done
      -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
      -- Detecting CUDA compile features
      -- Detecting CUDA compile features - done
      -- Enabling CUDA support (version: 11.3.58, archs: 86)
      -- Found Qt
      --   Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Core
      --   Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL
      --   Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
      -- Enabling GUI support
      -- Disabling OpenGL support
      -- Enabling GPU support
      -- Found Python: /home/khangtg/anaconda3/envs/torch12cu113/bin/python (found version "3.8.16") found components: Interpreter Development.Module
      -- Performing Test HAS_FLTO
      -- Performing Test HAS_FLTO - Success
      -- Found pybind11: /home/khangtg/anaconda3/envs/torch12cu113/lib/python3.8/site-packages/pybind11/include (found version "2.10.3")
      -- Configuring done (1.5s)
      CMake Error at /usr/local/share/colmap/colmap-targets.cmake:138 (set_target_properties):
        The link interface of target "colmap::colmap_scene" contains:

          SQLite::SQLite3

        but the target was not found.  Possible reasons include:

          * There is a typo in the target name.
          * A find_package call is missing for an IMPORTED target.
          * An ALIAS target is missing.

      Call Stack (most recent call first):
        /usr/local/share/colmap/colmap-config.cmake:105 (include)
        CMakeLists.txt:18 (find_package)

      CMake Error at /usr/local/share/colmap/colmap-targets.cmake:159 (set_target_properties):
        The link interface of target "colmap::colmap_util" contains:

          SQLite::SQLite3

        but the target was not found.  Possible reasons include:

          * There is a typo in the target name.
          * A find_package call is missing for an IMPORTED target.
          * An ALIAS target is missing.

      Call Stack (most recent call first):
        /usr/local/share/colmap/colmap-config.cmake:105 (include)
        CMakeLists.txt:18 (find_package)

      -- Generating done (0.0s)
      CMake Generate step failed.  Build files cannot be regenerated correctly.

      *** CMake configuration failed
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pycolmap
Failed to build pycolmap
ERROR: Could not build wheels for pycolmap, which is required to install pyproject.toml-based projects

I wonder how to fix this issue.
Thank you!

-- Found SQLite3
  --   Includes : /usr/include
  --   Libraries : /usr/lib/x86_64-linux-gnu/libsqlite3.so

is the log printed by the old, broken FindSQLite3.cmake shipped in COLMAP <= 3.8; CMake>=3.14 ships it own FindSQLite3.cmake, which properly defines the SQLite::SQLite3 target: https://cmake.org/cmake/help/latest/module/FindSQLite3.html Maybe you didn't properly uninstall 3.8 and the file /usr/local/share/colmap/cmake/FindSQLite3.cmake remains?

I'm able to build pycolmap 0.4.0 with colmap 3.8.
Just close this issue for now.
I'll try to upgrade to pycolmap 0.5.0 and colmap 3.9 in the future, and come back if this issue happens again!


[Network] How to attach a NIC to a load balancer's inbound NAT pool?

Is there a sample somewhere of using the inbound NAT pool for a load balancer instance? I looked here and didn't see it (only NAT rules are illustrated). I'm probably missing something, but I haven't been able to figure out how to attach a NIC to a load balancer's inbound NAT pool, or even confirm if I'm thinking about how to use them correctly :)
For example, if I create the following NAT pool, which I hoped to use in order to expose a series of sequential frontend ports that are NAT'd to a single port in a backend address pool:
az network lb inbound-nat-pool create -g <group> \
  -n <name> \
  --lb-name <lbName> \
  --protocol tcp \
  --frontend-port-range-start 2200 \
  --frontend-port-range-end 2205 \
  --backend-port 22

If I try to reference this pool by name, using the either the --lb-address-pools or --lb-inbound-nat-rule parameter of the az network nic create command, it fails to find it. That makes sense I guess, since the former is looking for an address pool, and the later is looking for a NAT rule, not a NAT pool. However, the az network nic create command doesn't have a --lb-nat-pool(s) parameter, so I'm not sure how to actually configure the NAT pool.
Additionally, the az network nic ip-config command group includes commands for adding/removing a NIC to a address pool or NAT rule, but once again, none of these seem to support a NAT pool.
Finally, if I look in the Azure portal underneath the LB instance, I don't actually see any mention of NAT pools anywhere, and the NAT pool I created via the CLI doesn't show up under the Inbound NAT Rules blade, so I'm somewhat confused.
I would love any clarification on this. I could achieve what I'm doing above by creating six separate NAT rules, and referencing them via the --lb-inbound-nat-rule parameter of az network nic create, but I really liked the idea of creating a NAT pool and attaching NICs to it in order to reserve a front-end port. Then again, maybe I'm completely misinterpreting the use of a NAT pool. Thanks!

Just noticed the --load-balancer-nat-pool-name parameter on the az vmss create. Are inbound NAT pools specific to VMSS? If so, could the help text of the az network lb inbound-nat-pool command group be updated to call that out?

I believe they are. @MikhailTryakhov can you provide any insight on this question?

Closing this due to inactivity.

Did we ever get an affirmative answer to this question? Then, even if this is VMSS specific, do you think that is confusing?


automatically import symbols used with BANK()

I don't see what this PR offers that https://github.com/rednex/rgbds/pull/16 didn't. After applying the other PR I can see the unknown label in the object file and the linker outputs an error message if no other object file exports it.

Ok, let's close this. If there is a good reason it will be reopened.


fix proxyserver has no permission to create dir

fix proxyserver has no permission (non-root) to create dir when make deploy-foundation-hub

$ kubectl logs -n open-cluster-management acm-proxyserver-54d4f8c7b5-ng5fq
error creating self-signed certificates: mkdir apiserver.local.config: permission denied

add e2e case to check if pods of foundation are ready.

/retest

/retest

/assign @qiujian16

/approve
/lgtm


meltano select --list fails with tap-salesforce

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/355
Originally created by @mbergeron on 2019-02-04 16:00:03

Related to https://gitlab.com/meltano/meltano/merge_requests/343#note_136110500
I am also seeing some weird behavior on how select works with this tap that could shed some light on issues we may have with meltano select.
The list option returns with an empty error both without selecting anything and after making a couple of selections:
$ meltano select tap-salesforce --list
Error:

$ meltano select tap-salesforce --exclude --all
$ meltano select tap-salesforce "Case" "*"
$ meltano select tap-salesforce "Zuora__Subscription__c" "*"
$ meltano select tap-salesforce "AccountTeamMember" "*"
$ meltano select tap-salesforce --list
Error:

<Same thing after running a successful meltano elt with the above selections>

View 8 previous comments from the original issue on GitLab


Runtime Error: unreachable on long running window

I have a multiplayer game that has 60 second rounds that will peak at about 800 entities that are cycled through pretty frequently.
Each round I destroy the references to the world then rebuild a new world to start fresh.
I was playing it with a friend and got to round 14 when I hit this unreachable message.

My guess is a counter overflowed.
It triggered for both me and my friend at the exact same time (the game engine and state are deterministic and use lock step logic for the multiplayer component).
Any suggestions to overcome the issue? Is there any data that I can log that may help debug the issue?

I am curious how to get better error messages in these cases


fix: human_time mismatch

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
datetime is millisecond precision now(before is second)
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
https://github.com/GreptimeTeam/greptimedb/pull/2469

@WenyXu @fengjiachun PTAL


Add PklProject.deps.json file with newline for POSIX compliance

Currently, PklProject.deps.json files generated by pkl project resolve do not end with a newline. POSIX requires that it does. Adding it by default avoids churn in repositories with checks / auto-corrections.

Fun fact; only one PklProject.deps.json file in snippet tests did not end in a newline. I'm guessing they were all edited with POSIX compliant and correctly configured editors ;)


Bubble Trouble - sometimes game intro is not shown (seems to work normally after that).

0.4.7. Actually game works but sometimes intro is not shown.

0.5.0 - Seems to work now.


Merge quicksort

This is the merge for the quicksort group.

Looks good

Still finalising documentation, not ready to merge, this is just for review


Feature: Automatic set log level to info when running irace

When irace is enabled, to run it all logs must be automatically set to info level.

Log level is set to INFO by default, we should not override it programatically. IRACE does not see our logs, only the exception returned by the API if an error occurs, and this is intentional to force IRACE to stop after an error.


Confusing handling of NetCDF coordinates

Code Sample, a copy-pastable example if possible
I'm currently trying to figure out why some coordinates of a netcdf file are included in the resulting Dataset object and why some are not. I've tried looking at the open_dataset source code and think I'm kind of stuck.
To reproduce:
Download GOES-16 ABI L1b NetCDF file from (click the link to have google redirect you to the actual file):
https://storage.cloud.google.com/gcp-public-data-goes-16/ABI-L1b-RadC/2019/140/18/OR_ABI-L1b-RadC-M6C01_G16_s20191401801336_e20191401804109_c20191401804156.nc?_ga=2.44800740.-1513329882.1547344783

import xarray as xr
a = xr.open_dataset('OR_ABI-L1b-RadC-M6C01_G16_s20191401801336_e20191401804109_c20191401804156.nc')
print(a.coords)

Results in:
In [5]: a['Rad'].coords
Out[5]:
Coordinates:
    t        datetime64[ns] ...
  * y        (y) float32 0.151844 0.151788 0.151732 ... -0.151788 -0.151844
  * x        (x) float32 -0.151844 -0.151788 -0.151732 ... 0.151788 0.151844
    y_image  float32 ...
    x_image  float32 ...

Even though ncdump -h <file>.nc shows:
variables:
        short Rad(y, x) ;
                ...
                Rad:coordinates = "band_id band_wavelength t y x" ;
                ...

and:
a.coords

shows:
Coordinates:
    t                          datetime64[ns] ...
  * y                          (y) float32 0.151844 0.151788 ... -0.151844
  * x                          (x) float32 -0.151844 -0.151788 ... 0.151844
    y_image                    float32 ...
    x_image                    float32 ...
    band_id                    (band) int8 ...
    band_wavelength            (band) float32 ...
    t_star_look                (num_star_looks) datetime64[ns] ...
    band_wavelength_star_look  (num_star_looks) float32 ...

Problem description
I would have expected the 'Rad' variable/DataArray to include the band_id and band_wavelength coordinate variables but not the x_image and y_image variables since they are not listed in the NetCDF variables coordinates attribute.
Can someone summarize the rules on how xarray came up with these coordinates? Or is this a bug?
Output of xr.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.6.7 | packaged by conda-forge | (default, Feb 28 2019, 02:16:08)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
python-bits: 64
OS: Darwin
OS-release: 18.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
libhdf5: 1.10.4
libnetcdf: 4.6.2

xarray: 0.12.1
pandas: 0.24.2
numpy: 1.14.3
scipy: 1.2.1
netCDF4: <IP_ADDRESS>
pydap: None
h5netcdf: 0.7.1
h5py: 2.9.0
Nio: None
zarr: 2.3.1
cftime: <IP_ADDRESS>
nc_time_axis: None
PseudonetCDF: None
rasterio: 1.0.22
cfgrib: None
iris: None
bottleneck: 1.2.1
dask: 1.1.5
distributed: 1.26.1
matplotlib: 3.0.3
cartopy: 0.17.0
seaborn: None
setuptools: 41.0.0
pip: 19.0.3
conda: None
pytest: 4.4.0
IPython: 7.4.0
sphinx: 2.0.1

Xarray merges together coordinates from all data variables into a Dataset.

Ok, but then why are coordinates that exist in the Dataset and in the netcdf variable's 'coordinates' attribute not listed in the DataArray for that variable?

Can you print what the whole Dataset looks like?

Looking more carefully, Rad doesn't include the "band_id" coordinate because "band_id" includes a "band" dimension, which isn't found on the Rad variable.

Here's where you can find the logic for subsetting coordinates, by the way: https://github.com/pydata/xarray/blob/0811141e8f985a1f3b95ead92c3850cc74e160a5/xarray/core/dataset.py#L983-L986

Rad doesn't include the "band_id" coordinate because "band_id" includes a "band" dimension, which isn't found on the Rad variable.

Ah, that's what I was looking for! Ok, that makes sense. To be as generic as possible xarray is using the dimensions to determine if a coordinate "belongs" to a variable rather than the "coordinates" attribute of that variable. I can live with that. Thanks for the explanation and the link to that part of the code.


Using babel-preset-env with modules: false causes issues with ES6 imports

Hey, I have spent some time figuring out why I could not get storybook to work, both in an existing project and a project I had just set up with some minimal configuration in place.
This is the error I encountered:

When searching for a solution to this issue, it looks like there are others who have had similar issues, but I did not find a solution that worked for me, so I am posting my findings here.
The difference with my babel config compared to the default one provided by storybook is that I use babel-preset-env rather than babel-preset-es2015 and babel-preset-es2016.
Turns out the .babelrc file in my project root, specifically the env preset configured with modules: false causes issue with ES6 style imports.
{
  "presets": [
    ["env", {
        "modules": false
    }],
    "react",
    "stage-0"
  ]
}

I have modules disabled in my config to make use of webpack 2 features for optimizing the generated bundles.
I eventually found out that the solution is to create a .storybook/.babelrc file where i override the presets from my project root:
{
  "presets": [
    "env",
    "react",
    "stage-0"
  ]
}

I suggest that a section concerting babel-preset-env and modules: false configuration could be added to the Babel section of this page: https://storybooks.js.org/docs/react-storybook/configurations/default-config
With webpack 2 out, and babel encouraging people to use the env preset this issue is bound to show up for more and more people.

Compatibility with this is coming in 3.0.0

I'll close this issue, as it's been fixed in code, and will be in a 3.0.0-alpha.01 release soon!


Fix for #1

The links to the examples are incomplete as mentioned in #1 . This PR fixes the links to see the examples in github.io

@dolmen I used the full github.com links when the github.io link do not work.
Not sure the links are expected to be that way ...

Fixed, thanks for the PR


How to save ImageSource or BitmapImage to stream?

Hi, what is the best way to do it? I have a model with the property of ImageSource and need to convert it to stream (or System.Drawing.Image).

This is not supported scenario.
What are you trying to achieve?

Hi, @codendone. I'm a little surprised. I have a ViewModel with the property of type ImageSource. I have no source of the image. It can be any - file, byte[], DB and etc. So I want to process that property, save\copy it, or convert it to System.Drawing.Image for internal logic. For WPF it's a base scenario.

You could potentially use RenderTargetBitmap to snapshot an element containing the target ImageSource, but that would only snapshot the pixels being rendered for the element at its current size.
Something higher resolution would require you to separately hold on to the Uri/Stream/whatever you have as the source.

Thank you @codendone. Do you have any plans to support it in the future? Or it's a new approach to work with images when you need to have access to the source of the image (instead of WPF where you can transform ImageSource to a stream)?

This scenario is not our backlog, and I'm not aware of previous requests for it. But if you think this is important support we should add, such as if you think we should specifically mirror WPF's BitmapSource.CopyPixels() APIs, please log a Proposal which can be used for voting and tracking.

While you answered, I've thought over how WinUI processes images. The main is that the ImageSource is only a container of the image that be displayed via Image or ImageBrush. The developer can't manage this process - loading, rendering. So if you need to work with images you need a real source - file, link, DB. Am I right?  That why it's surprised me. In WPF the ImageSource is a base abstraction to work with Image, model\viewmodel\components, all worked with ImageSource. I don't know what is better, but the guess is that WPF developers are the main consumers of the WinUI desktop platform.
Proposal https://github.com/microsoft/microsoft-ui-xaml/issues/5851

I think ImageSource in WinUI isn't significantly different from WPF, it is just more limited in scope due to the lack of CopyPixels() and other classes/functions from WPF which enable conversion and manipulation. In WinUI ImageSource is a simple render-only concept closer to a SolidColorBrush: you can provide the "color" via a Uri or stream and then you put it where you want it to render.
The SoftwareBitmap type has been recommended for some image manipulations, and then can be used via SoftwareBitmapSource. But I think this is not the scenario you're interested in.
Thanks for logging the proposal!


potential fixes for #31449

adjusted pronouns in use and fixed pluralization after the change

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ryandcoates sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@ryandcoates : Thanks for your contribution! The author, @rayne-wiselman, has been notified to review your proposed change.

Thanks. We're not taking changes on the Contoso articles. These are about to be  taken down from this location. and changes should be made at https://docs.microsoft.com/en-us/azure/architecture/cloud-adoption/migrate/azure-best-practices/contoso-migration-tfs-vsts?branch=CAF%2Fmigrate-v1
Thx


User will be able view history

View what tasks have been completed
Completed will be a tag, all completed tags will be in history

This functionality will not be implemented


otpclient: 3.1.6 -> 3.1.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/paolostivanin/otpclient/releases.
meta.description for otpclient is: Highly secure and easy to use OTP client written in C/GTK that supports both TOTP and HOTP
meta.homepage for otpclient is: https://github.com/paolostivanin/OTPClient
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.1.7 with grep in /nix/store/5cv7d5x05bz2d8vdg90a7wg1nr4dkyga-otpclient-3.1.7
found 3.1.7 in filename of file in /nix/store/5cv7d5x05bz2d8vdg90a7wg1nr4dkyga-otpclient-3.1.7

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
otpclient

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5cv7d5x05bz2d8vdg90a7wg1nr4dkyga-otpclient-3.1.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A otpclient https://github.com/r-ryantm/nixpkgs/archive/862163bdf469f0dadec8c7539f507296efcba437.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5cv7d5x05bz2d8vdg90a7wg1nr4dkyga-otpclient-3.1.7
ls -la /nix/store/5cv7d5x05bz2d8vdg90a7wg1nr4dkyga-otpclient-3.1.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

otpclient

Maintainer pings
cc @alexbakker for testing.

Result of nixpkgs-review pr 235124 run on x86_64-linux 1

1 package built:

otpclient


Add support for DNS Resolver and Dynamic CRL Validator/Check for SSL Profiles

Is your feature request related to a problem? Please describe.
Add support in AS3 for creating a dynamic CRL check in the SSL profiles (client and server). There is an AS3 class for checking certificate revocation via OCSP (Certificate_Validator_OCSP class) but not for CRL. The dynamic feature was developed in 15.1 for serverSSL and then support for clientSSL was added later.
The current SSL profile classes (TLS_Client and TLS_Server) include a property "crlFile" with value Pointer_SSL_CRL_File. This allows a manual link to a CRL file, but this is not dynamic so cannot be automatically updated and requires a separate manual process to match connections to a valid CRL, download it manually, and then link via the profile.
Also, the existing OCSP validator class in AS3 does not include the ability to define a DNS resolver. The class has a property - Pointer_DNS_Resolver - to point to an existing resolver, but no separate as3 class to define one. A DNS resolver is also used by the dynamic CRL feature so would be useful to include as3 for this too.
Describe the solution you'd like
Addition of support (new classes) for:

DNS Resolver (GUI-->Network-->DNS Resolvers)
Internal Proxy (GUI-->System-->Services-->Internal Proxies)
CRL Validator (GUI-->System-->Certificate Management-->Traffic Certificate Management-->CRL)
Addition of new property in TLS_Client and TLS_Server classes to allow definition of CRL validator object

Describe alternatives you've considered
Before dynamic CRL validator feature was developed (in v15.1) the only way to use CRL was to manually download files (or create a script on the bigip to download). You then referenced the file in the SSL profile. However, you needed to make sure the CRL file which was referenced matches the CA which has signed the certificate being validated, or traffic would fail. Dynamic validation uses the CDP in the certificate and then the internal proxy to pull the file. It also caches it (in /config/filestore/crl_file_cache_d) and keeps it up to date based on the expiry date on the file.
OCSP is a better way of checking revocation status but unfortunately is not supported in all environments so CRL is still used a lot.

Thanks for reaching out, have created an internal backlog item AUTOTOOL-4272. In order to prioritize this issue, please reach out to us at<EMAIL_ADDRESS>

Hi @sunitharonan - I'm just checking for any updates to this enhancement. I am also not sure if I reached out to you further regarding this issue so you could prioritize... I'll do that now.

Hi @sunitharonan - chasing for another update please. I emailed automation_toolchain on Wed 04/09/2024 06:26. If it is easier to break this up into separate items - my request "Addition of new property in TLS_Client and TLS_Server classes to allow definition of CRL validator object" would be my main priority as this means we can manually build the CRL Validator and then use automation to reference it. Without this, every declaration re-applied will remove the "CRL" value from the SSL Client Profile and it will need to be manually added back afterwards - breaking our automation toolchain.


Possible Memory Leak with Descriptor Sets

I tried updating to 0.6.2 today, but when I started my game up the fps started dropping rather fast. Seems as if graphics memory is getting allocated constantly. Xorg will eventually freeze which also hints toward a graphics memory leak. I found that https://github.com/vulkano-rs/vulkano/commit/80e965aef51dd860822cfbc86583404a78f707ec caused the issue to start occurring.
I do make many new PersistentDescriptorSet every frame. I am not sure if there is a more proper way to do sets or not.

I do make many new PersistentDescriptorSet every frame. I am not sure if there is a more proper way to do sets or not.

Using a FixedSizeDescriptorSetsPool is better if you always use the same descriptor set layout.

Switched to using a pool instead, leaked was greatly reduced and I got a frames boost also.
I just have new persistent descriptors sets made when the window is resized, so hard to tell if the leak was limited to that specific use case. I created the set right before a draw command and then it is dropped right after that before the command buffer is executed. Not sure if that'd cause any issues. I can't seem to find a way to monitor graphics memory usage, so the testing I can do is limited.

This is happening because descriptor/descriptor_set/std_pool.rs:80 always evaluates to true, so pools are never reused.
It always evaluates to true because descriptor/descriptor_set/sys.rs:121-133 is flawed. That only returns Some(_) if all elements are greater, all elements are equal, or all elements are less. If there is a mix of elements that are greater and elements that are equal, then it returns None.
Pull request incoming to fix this.


Please fix this link

Please fix this link
https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win10-x64.msi

In what document do you see that link? The correct link is https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win10-win2k16-x64.msi

It's the main MSI link for Windows 10/Server 2k16 in the readme.

Main page
https://github.com/PowerShell/PowerShell
=>
Windows 10 / Server 2016 (x64)
=> .msi URL

If you click the link it takes you to a 404, but if you right click Save link as, it works. I guess the issue should be closed, or links fixed to open directly to the .msi URL.

@daxian-dbw We should fix this when we roll the alpha.16 release

This has been fixed


feat: transient boolean flag

Early WIP for render mixed with onChange. Namings are all WIP. Maybe it would also make sense to flip the symbol behavior. Invoke onChange and cause re-render by default and skip the re-render only when the onChange handler is wrapped 🤔

@n1ru4l I'm good with this if you are too! (and if the CI doesn't fail).

lets merge!


Home body

@CodiumAI-Agent /review

PR Review

 ⏱ Estimated effort to review [1-5]
3, because the PR includes changes across multiple files including frontend components and CSS styling, which requires a detailed review of both functionality and design consistency. The addition of a logging statement in the backend also needs to be evaluated for its necessity and potential impact.

 🧪 Relevant tests
No

 🔍 Possible issues

Logging Sensitive Information: The addition of console.log(req.body); in the authentication route could potentially log sensitive information such as passwords, which is a security risk.

Missing Accessibility Features: The frontend changes, especially in the navigation and carousel components, do not mention any updates for accessibility features such as keyboard navigation or ARIA labels, which could hinder the accessibility of the website.
 🔒 Security concerns
Logging Sensitive Information: The addition of console.log(req.body); in the authentication route could potentially expose sensitive user information in server logs.

 Code feedback:
relevant fileServer/routes/auth.js
suggestion

Consider removing console.log(req.body); or ensure that it does not log sensitive information. Logging sensitive information can lead to security vulnerabilities by exposing user data in server logs. [important]

relevant lineconsole.log(req.body);
relevant fileClient/Client/src/Home/HomeHeader.jsx
suggestion

Use useCallback for the forwardImage and backwardImage functions to prevent them from being recreated on every render. This can improve performance, especially in components that rely on effect hooks. [medium]

relevant lineconst forwardImage = () => {
relevant fileClient/Client/src/Home/HomeBodyNav.jsx
suggestion

Ensure that radio buttons are grouped semantically for accessibility. Using fieldset and legend elements can provide a better structure and improve accessibility for users relying on screen readers. [medium]

relevant line
relevant fileClient/Client/src/Home/HomeHeader.module.css
suggestion

Consider using variables for colors (e.g., rgb(84,121,247)) to ensure consistency and make future changes easier. This can improve maintainability of the CSS code. [medium]

relevant linecolor:rgb(84,121,247) ;

 ✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review which includes several types of feedbacks, such as possible PR issues, security threats and relevant test in the PR. More feedbacks can be added by configuring the tool.
The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.

When commenting, to edit configurations related to the review tool (pr_reviewer section), use the following template:

/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...

With a configuration file, use the following template:

[pr_reviewer]
some_config1=...
some_config2=...

See the review usage page for a comprehensive guide on using this tool.


Further decrease timeout of CI and AutoMerge jobs

Also, disable PkgServer and remove redundant CI job (1 is the same as 1.5).

I would remove the '1.5' job instead of the '1' job.

I would remove the '1.5' job instead of the '1' job.

Done

Done


Running no schedule:run artisan command yet actually run commands defined in schedule

Laravel Version: 5.6.21
PHP Version: 7.1.14
Database Driver & Version: MySql 5.x

Description:
Running any combination of artisan executes logic within "protected function schedule(Schedule $schedule)" at app\Console\Kernel.php
Found this after adding a command entry there and then run an artisan migrate.
Even running "php artisan --version" executes that logic before running the intended artisan command.
Steps To Reproduce:

Add line "print 'WTF!';" inside "protected function schedule(Schedule $schedule)" at app\Console\Kernel.php
From command line run : php artisan --version

Yes - part of the console bootup is the creation of the scheduler object, along with many other parts of the framework. It is expected behavior.

Ok, I understand, let me then add some more input into it, see the following line
$schedule->command(\App\MyClass::MyFunction())->everyMinute();
That is what I have defined inside schedule.
That command, "\App\MyClass::MyFunction()", is actually being run when I run non schedule:run artisan command.
Is that normal ?

That's just the command class being created. The handle() is not actually being fired.

Shouldn't the parameter to "schedule" be a string?

@laurencei the logic inside the static function is being executed, I'd understand if you tell me setting a dd() is not prove of that, but that function has real business logic that do real stuff, and if I have no dd() line I can see how that business logic is being executed (it affects the db among other) when I run "php artisan --version" from the console.
@devcircus maybe I can not call a static function like that ? official doc states that one can state "either the command's name or class"

@gmartinez - actually this:
\App\MyClass::MyFunction()
should be this
\App\MyClass::class

and then you define your schedule logic inside handle()

@laurencei I guess then I can not call a static function like that :)
FYI that is what happens if you do, maybe there is something you can do to not even allow stupid people like me doing this and eventually getting this problem.
I just tested defining the call to the static function as an artisan command (easier than modifying the class) and that works as expected.
I appreciate your time and patience.


Use min of 0 for both y axes?

I'm looking at the "Tracking COVID-19 Prevalence with Metro Plant Wastewater" graph here:
https://metrotransitmn.shinyapps.io/metc-wastewater-covid-monitor/
Currently, the primary y-axis has a minimum of -70, while the secondary y-axis has a minimum of 0.  This is confusing to me, since these two values appear to be (approximately) proportionally related, so I would expect them to both have a minimum of 0.  In its current state, the wastewater data misleadingly appears to show a significant baseline amount of virus, even during periods with few detected cases (e.g. July 2021).
Here is what the current graph looks like:

I think this version would be more accurate/helpful:

Note: I generated the second image by clicking on the "0" in the bottom-left corner of the graph and changing the minimum from -70 to 0.

In case it is helpful, I tried to look through the code to see how to make this change.  Based on the Plotly R documentation, it appears that you could switch set the "rangemode" to "nonnegative":
https://plotly.com/r/axes/#nonnegative-tozero-and-normal-rangemode
It appears that this graph is generated in this file:
https://github.com/Metropolitan-Council/covid-poops/blob/main/metc-wastewater-covid-monitor/server.R
I'm not positive, but I think you could add the rangemode parameter to the "ay" axis definition here:
https://github.com/Metropolitan-Council/covid-poops/blob/main/metc-wastewater-covid-monitor/server.R#L112

@knumat this is very helpful! Thank you. I'm working on a fix with rangemode = "nonnegative" now.


[Feature] add full name in issue assignee

Gitea version (or commit ref): 1.4.0 rc-1
Git version:
Operating system:
Database (use [x]):

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

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

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

Log gist:

Description
if no full name , it's hard to know who are them in a big team.
Screenshots

Fixed in #6710

@lafriks Shouldn't this be closed since it's fixed already ?


iOS app crashes due to low memory

Plugin Version or Commit ID
v0.9.1
Unity Version
2021.3.1f1
Your Host OS
macOS Monterey 12.3.1
Target Platform
iOS
Description
Everything works fine when I run the PoseTrackingSolution alone but I am trying to combine both Pose Tracking and Object Tracking in a single Scene. I have successfully run both of these in the same scene, but my problem is that when I use a GateCalculator to check if the Object Detection should work or not, the memory suddenly starts to increase and never goes back down:-

Now I have tried to remove the Object Detection code (edit : GateCalculator only, as the rest of Object Detection code works fine) from the pose_tracking_gpu graph and it works flawlessly again but whenever I add it back, the memory just increases.
So I tried to remove the code one at a time to check what is wrong and found out that just by having the gate calculator, the memory sky-rockets and without it, it works properly:-

Is there any workaround to this? I have added all of the necessary code to the PoseTrackingSolution and PoseTrackingGraph, no worries in that. It would be very helpful if I can find why the memory keeps increasing when I add the GateCalculator in the pose_tracking_gpu graph.
Code to Reproduce the issue
No response
Additional Context
No response

Which pose graph are you using, heavy, normal or light?

Is there any workaround to this?

Perhaps you are just using GateCalculator incorrectly (e.g. the output_stream is not used and the result is piled up in a queue), but please ask questions about how to use Calculator in the MediaPipe repository, not here.

@ROBYER1 I am using the full version.

@homuler Yeah, sorry if I did not word it correctly. I have used the GateCalculator in my previous project for android which I am porting to Unity. You can check the code of the graph in the below screenshot:-

The GateCalculator works perfectly for android but with Unity, it causes a crash on iOS. Again it might be that I am doing something wrong but when I remove the GateCalculator, it works perfectly with Object Detection.

Well...if you really need help, share all the parts needed to understand the issue in text format.
I'm not sure without seeing your whole code, but is it possible that you are only flowing the first packet to enable_object_detection? (you need to call AddInputStream in every frame)
If so, I think you should use input_stream_packet instead of input_stream.
Anyway, again, please ask questions about how to use Calculator in the MediaPipe repository, not here.

@homuler Exactly that. I am passing a BoolPacket to allow or disallow the below ObjectDetection nodes, but I am not calling it every frame. I am only calling it once, do I need to call it every frame? Is it necessary? I am doing this.

This is the code I am using to pass the BoolPacket to the enable_object_detection stream.

I did not want to use a side packet as I don't understand them well, but might try it out in the future. Will update on the side packet code for solution.
Thanks Anyway. You can close this thread now. Will get back if I get a solution out of this.

I am only calling it once, do I need to call it every frame? Is it necessary?

I think yes.
See https://google.github.io/mediapipe/framework_concepts/synchronization.html#input-policies for more details.
(I have changed some of the text to bold)

To explain how it works, we need to introduce the definition of a settled timestamp. We say that a timestamp in a stream is settled if it lower than the timestamp bound. In other words, a timestamp is settled for a stream once the state of the input at that timestamp is irrevocably known: either there is a packet, or there is the certainty that a packet with that timestamp will not arrive.
...
One consequence of this deterministic behavior is that, for nodes with multiple input streams, there can be a theoretically unbounded wait for a timestamp to be settled, and an unbounded number of packets can be buffered in the meantime. (Consider a node with two input streams, one of which keeps sending packets while the other sends nothing and does not advance the bound.)

I did not want to use a side packet as I don't understand them well, but might try it out in the future.

Unlike Packet to the input_stream, SidePacket only needs to be set once when calling CalculatorGraph#StartRun, maybe because it does not have its timestamp.
See https://google.github.io/mediapipe/framework_concepts/framework_concepts.html#side-packets for more details.

A side packet connection between nodes carries a single packet (with unspecified timestamp). It can be used to provide some data that will remain constant, whereas a stream represents a flow of data that changes over time.

Once you understand SidePacket but if you don't know how to use SidePacket in C#, then you can ask it here.
P.S.

share all the parts needed to understand the issue in text format.

Please share your code in text format next time.
If I wanted to reproduce it on my local machine, I would have to type all the codes, right?


[Improvement] TrinoConnector should not dependencies on Gravitino hive catalog packages

What would you like to be improved?
HiveSchemaPropertyConverter of TrinoConnector use properties from com.datastrato.gravitino.catalog.hive.HiveSchemaPropertiesMetadata, we'd better remove the dependencies.
How should we improve?
No response

trino-connector deponds on  bundled-catalog which introduces just com.datastrato.gravitino.catalog.hive.HiveSchemaPropertiesMetadata , no other classes.


Add OER support

Hi:  I noticed Vlm created a branch for OER support, I have this done  a while ago in my forked repo.
https://github.com/leisun124/asn1c
I've rebased my repo with latest vlm master,and creating this pull request for review only.
Thanks
Lei

Thank you for your effort! The OER code is currently being developed in master, with assumptions that in some cases the same as yours and some cases different. As such, I am not accepting this patch as is at this time.

Hi Lev:
What is the license term of those generated header/source files by asn1c
? If we plan to open source those ? (not to re-distribute the asn1c
itself). I Assume we must retain the markers:

Generated by asn1c-0.9.29 (http://lionet.info/asn1c)	2 * From ASN.1
module "AM-PDU-Descriptions"	3
»       found in "schema/CAM.asn"	4
»       asn1c -fcompound-names -gen-PER	5
*/

Is that all?
Thank you!
Lei
On Wed, Aug 2, 2017 at 1:47 PM Lev Walkin<EMAIL_ADDRESS>wrote:

Closed #169 https://github.com/vlm/asn1c/pull/169.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vlm/asn1c/pull/169#event-1190305804, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AF6c4ThiqwvzE_5eoPt1gQPAQJGh9M_3ks5sUOBCgaJpZM4OQimk
.

You can distribute both asn1c and the code generated by asn1c using the same terms of the BSD license (see the LICENSE file at the top of the repository). They just happen to be the same.


Anomaly Detection

Hey, so when we use anomaly checks which compares DataFrame metrics to previous DataFrame.
Lets say we have batch jobs with pydeequ checks, and one of the checks failed from anomaly check. I go back repair it, but then when i rerun batch job again, it would compare it to failed metric and fail again.
How can i avoid this, or is there option to compare only to baseline DataFrame?
to sum it up:
I have monthly jobs with anomaly checks with lets say relative changes of +-20%, if it fails, job fails, i repair, but then it would compare new run to failed metric  and it would fail again.
### Tasks

Could you follow the bug report template https://github.com/awslabs/python-deequ/issues/new?assignees=&labels=&projects=&template=bug_report.md?


[wip] change custom button uniqueness validation to use changed validator

custom button name and description uniqueness validations shouldn't run unless the record is new or changed to save us queries on the noop save.
we have an awesome new validator for this, the as-yet unmerged 20520, which this relies on

@miq-bot add_label performance

sigh. we'll get there soon once unique gets merged


FIX : home page

Closes #2215
https://github.com/user-attachments/assets/83284b44-bf33-4fb6-9f24-f209c32b3a9b

@iamrahulmahato please add level 3 label ...It was hectic work.

i cant assign level 2 there is restriction in this repo max. i can give you level 2


Try set explicit resources on build step of build-container task

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TODO(replace-me)
Use this space to explain how you validated that your change functions exactly how you expect it.
Feel free to attach JSON snippets, curl commands, screenshots, etc. Apply a simple benchmark: would the information you
provided convince any reviewer or any external reader that you did enough to validate your change.
It is acceptable to assume trust and keep this section light, e.g. as a bullet-point list.
It is acceptable to skip testing in cases when CI is sufficient, or it's a markdown or code comment change only.
It is also acceptable to skip testing for changes that are too taxing to test before merging. In such case you are
responsible for the change after it gets merged which includes reverting, fixing, etc. Make sure you validate the change
ASAP after it gets merged or explain in PR when the validation will be performed.
Explain here why you skipped testing in case you did so.
Have you created automated tests for your change? Explain here which validation activities you did manually and why so.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Both attempts lead to pipelines not starting.
There was an error creating the PipelineRun: central-db-on-pull-request-

creating pipelinerun central-db-on-pull-request- in namespace rh-acs-tenant has failed.

Tekton Controller has reported this error: admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: stepSpecs requires "enable-api-fields" feature gate to be "alpha" but it is "beta":

There was an error creating the PipelineRun: central-db-on-pull-request-

creating pipelinerun central-db-on-pull-request- in namespace rh-acs-tenant has failed.

Tekton Controller has reported this error: admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: computeResources requires "enable-api-fields" feature gate to be "alpha" but it is "beta":


Generated bindings fail to compile after upgrade to 0.17.0

To allow using my OCaml code from Python, I put together a shared library using your examples and my limited understanding of ctypes. It used to work fine, until the 0.17.0 release.
Now compilation of generated bindings fails with a type error.
When I downgrade to 0.16.0, it works again.
Reproducing procedure:
$ opam pin add vyos1x-config https://github.com/vyos/vyos1x-config.git
$ git clone https://github.com/vyos/libvyosconfig.git
$ cd libvyosconfig
$ make

ocamlc -g -c stub/init.c
mv init.o _build/stub/init.o
ocamlfind opt -c -o _build/lib/bindings.cmx -I _build/generated -I _build/lib -package vyos1x-config,pcre,ctypes.stubs,ctypes.foreign lib/bindings.ml
ocamlfind opt -c -o _build/stub_generator/generate.cmx -I _build/generated -I _build/lib -package vyos1x-config,pcre,ctypes.stubs,ctypes.foreign stub_generator/generate.ml
ocamlfind opt -o _build/generate -I _build/lib -linkpkg -package vyos1x-config,pcre,ctypes.stubs,ctypes.foreign _build/lib/bindings.cmx _build/stub_generator/generate.cmx
_build/generate _build/generated
ocamlfind opt -c -o _build/generated/vyosconfig_bindings.cmx -I _build/generated -I _build/lib -package vyos1x-config,pcre,ctypes.stubs,ctypes.foreign _build/generated/vyosconfig_bindings.ml
File "_build/generated/vyosconfig_bindings.ml", line 39, characters 62-64:
39 |  fun x1 -> let CI.CPointer x4 = f (x3 (CI.make_ptr x2 x1)) in x4))
                                                                   ^^
Error: This expression has type
         ($CPointer option, $1 CI.typ) Ctypes_ptr.Fat.t
       but an expression was expected of type
         ('a, 'b) CI.fatptr = ('a, 'b Ctypes.typ) Ctypes_ptr.Fat.t
       The type constructor $CPointer would escape its scope
       Ctypes_ptr.Fat.t is abstract because no corresponding cmi file was found in path.
make: *** [Makefile:64: _build/generated/vyosconfig_bindings.cmx] Error 2

My guess is that it's related to the "Reflect "managed" status in the types of fat pointers" change. Note that my understanding of the ctypes library or libffi itself is still limites, so I'm ready to do any debug you want me to do, you'll have to tell me what exactly I should do.

Thank you for this clear bug report & reproduction procedure!

My guess is that it's related to the "Reflect "managed" status in the types of fat pointers" change.

  There should be a new ctypes release that fixes the libvyosconfig build available soon.

@dmbaturin, could you check that the master branch of ctypes works for you?  You can install it by pinning with --dev:
opam pin --dev ctypes

@yallop Thanks, I can confirm that after pinning to the dev version, it builds without errors.

Thanks for the confirmation.  There's a new release on its way with the fix: https://github.com/ocaml/opam-repository/pull/15911

I'm closing this, since it's fixed in 0.17.1 (ocaml/opam-repository#15911).


Blazor layout sections

Fixes #28617
Surayya ... Note that I don't get access to the bits until the preview releases, so I can't check/test anything locally at this time. I had to guess a little on a few of the finer points, but you'll likely spot anywhere I went wrong 🙈 quickly.
UPDATE: I reacted to the latest design changes coming for Preview 3. Given that I did that here, it seems like we should hold this until the Preview 3 release. However, I think we can go ahead and get it reviewed and updated.

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/components/layouts.md
aspnetcore/blazor/components/layouts

@surayya-MS ... I'm holding off on publishing this until Preview 3 is released, but do you want to review it now?

@surayya-MS can you please review this when you get time? Thanks!

Surayya ... The revisions are in place, except for one aspect ...

explain that this could be useful for creating a library

Could you flesh that bit out further for the topic? What you do want to tell devs about the approach?

@surayya-MS What happens if you define a SectionOutlet but it isn't filled by a SectionContent? What happens if you define SectionContent but there isn't a matching SectionOutlet?
Also, is there ever a case where you'd use a SectionOutlet outside of a layout component? Or can they pretty much only be used in a layout?

That works great, so shall we make this it's own topic under the Components node and call it "ASP.NET Core Blazor sections" and not refer to "layouts," just call this feature "sections" throughout?
I have a follow-up question on casing: I know the dev can do whatever they want on casing, but what should we show for the argument format? Usually, we go with camel (topBar) or Pascal (TopBar).
Example of non-layout use:
Shared/Child.razor:

Child

Hello from the Child!

<SectionContent SectionName="parentOutlet">
    Content provided by Child for 'parentOutlet' in Parent.
</SectionContent>

Pages/Parent.razor:
@page "/parent"

Parent

Hello from the Parent!

    <SectionOutlet SectionName="parentOutlet" />

<Child />

Output:

What happens if you define a SectionOutlet but it isn't filled by a SectionContent?  What happens if you define SectionContent but there isn't a matching SectionOutlet?

Nothing happens.

Also, is there ever a case where you'd use a SectionOutlet outside of a layout component? For example, can you use SectionOutlet in a parent component and then filling it from a child component?

Yes, there is. Thanks @guardrex for providing an example for this case.

I think @danroth27 will say we should have a topic for this in the Components node to avoid extending the already too long overview topic, but I'll wait to confirm it before setting this up that way.
Also, should we show camel or Pascal case as the example for the name? I know devs can do whatever they want, but I think we should pitch our example(s) one way.
... and just asking out of curosity @surayya-MS, was just
 going to cause a naming conflict 💥 within the framework or perhaps dev confusion with other things called "section" (e.g., @section), so you had to add something ("Outlet") to avoid a problem?

That works great, so shall we make this it's own topic under the Components node and call it "ASP.NET Core Blazor sections" and not refer to "layouts," just call this feature "sections" throughout?

I think it is a good idea! We should also put a link to sections in layouts docs as the main use case for sections was to change layouts.

What happens if you define a SectionOutlet but it isn't filled by a SectionContent?  What happens if you define SectionContent but there isn't a matching SectionOutlet?

Nothing happens.

I'm seeing some errors when I try this out with .NET 8 Preview 3. If I create a SectionOutlet named IndexSection in Index.razor in a default Blazor Server app without a SectionContent to fill it, I get no error on the initial app load but if I click on the Counter tab and then back to the Home tab I get this:
System.InvalidOperationException: There is already a subscriber to the content with the given section ID 'IndexSection'.

Also, should we show camel or Pascal case as the example for the name? I know devs can do whatever they want, but I think we should pitch our example(s) one way.

For SectionName camel case. For SectionId both camel case and Pascal are good depending on the conventions for public fields. In the example for SectionId I prefer Pascal case for public static field.

I think @danroth27 will say we should have a topic for this in the Components node to avoid extending the already too long overview topic, but I'll wait to confirm it before setting this up that way.

Sounds reasonable to me. I think we should still also mention sections in the layouts topic because that still is a common use case.

Also, should we show camel or Pascal case as the example for the name?

We could also use kebab-casing. That's what's often used for HTML IDs. @surayya-MS Thoguhts?

We could also use kebab-casing. That's what's often used for HTML IDs.

Yes, I think kebab-case is better. @guardrex please ignore my previous comment where I said:

For SectionName camel case

Let's use kebab-case for SectionName.

Latest commits ...
Add the following lines ...

Sections can be used in both [layouts](xref:blazor/components/layouts) and across nested parent-child components.
Although the argument passed to `SectionName` can use any type of casing, the documentation adopts kebab casing (for example, `top-bar`), which is a common casing choice for HTML element IDs. `SectionId` is assigned a static `object` field, and we always recommend Pascal casing for C# fields (for example, `TopbarSection`).

Moves the content to a new article ...
Title: ASP.NET Core Blazor sections
Physical location: blazor/components/sections.md
UID: blazor/components/sections
ToC location: Immediately under the Layouts article

@surayya-MS I'm seeing some errors when I try this out with .NET 8 Preview 3. If I create a SectionOutlet named IndexSection in Index.razor in a default Blazor Server app without a SectionContent to fill it, I get no error on the initial app load but if I click on the Counter tab and then back to the Home tab I get this:

System.InvalidOperationException: There is already a subscriber to the content with the given section ID 'IndexSection'.
This is strange behavior. I just tried it in the Samples/BlazorServerApp and it was no errors.
What is happening probably is that you have SectionOutlet with the same name in Index.razor and Counter.razor. But the exception should have appeared when you click on Counter.
This exception message "There is already a subscriber to the content with the given section ID" appears when there are many SectionOutlets with the same SectionName or SectionId
Could you please confirm if this is true?

... and just asking out of curiosity @surayya-MS, was just  going to cause a naming conflict 💥 within the framework or perhaps dev confusion with other things called "section" (e.g., @section), so you had to add something ("Outlet") to avoid a problem?

SectionOutlet and SectionContent already existed in the repo as internal classes for PageTitle component. So I cannot tell you because I did not name them. The naming looked good to me so I did not try to rename them. Thanks for bringing that up. I'll bring that up to the team and see what they think about it.

@danroth27 @surayya-MS ... You're still discussing the ..... er .... 👽 strange behavior 🛸😄 ... but is the PR ready to merge?

@danroth27 @surayya-MS ...

I think it is. @danroth27 ?


Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff.

Today Gogs supresses the whole diff when it is too big. I dislike it, because I can't see anything about the commit other than the message. I have no tip about what files changed.
This PR makes Gogs supress diffs per file, like GitHub does. It looks like this (I hardcoded this case):

So now MAX_DIFF_LINES sets the max lines per file (I changed the default to 500).
I am open to suggestion if someone dislike this change.
To-Do:

[x] Also supress by the number of files, since we can have a huge number of small files, which also makes the browser hangs. (Done).

Updated. The defaults are:

File has more than 500 lines -> supress
File has line(s) with more than 500 characteres (like a JS or CSS bundle, or bindata) -> supress
Diff has more than 100 files changed -> show only firsts 100 files + a message informing some files are not being shown

These 3 options are cofigurable on app.ini.

Just two minor comments, otherwise LGTM.

Thanks!


FGP_TV nonnegativity to be changed from True to False

Description
The FGP_TV implementation of total variation has its nonnegativity input set to True by default:
https://tomographicimaging.github.io/CIL/nightly/plugins/#total-variation
This is not intuitive and causes unexpected signal clipping to nonnegative values when user simply want to employ TV regularization. While commonly run on standard CT data where nonnegativity is often desirable, this should be selection. In general, users may want to run on data with some/all negative values, for example after phase retrieval or in other than CT applications, and default should be changed to False.
Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)

Not available (told by collaborator)

This is a major change. Besides checking unittest  (FGP_TV vs CIL Totalvariation),   all CIL-demos, CIL-papers and maybe CIL-Showcase should be checked because reconstructed images will probably be wrong.

This is a major change. Besides checking unit test (FGP_TV vs CIL Totalvariation), all CIL-demos, CIL-papers and maybe CIL-Showcase should be checked because reconstructed images will probably be wrong.

Yes, I was surprised to find the unit tests passed without changes, but it looks like the nonnegativity is set explicitly when FGP_TV is compared to CIL TotalVariation.
As to CIL-demos, CIL-papers and CIL-showcase. For the CIL-showcase we explicitly say which version of CIL we use. For the papers, do you know if we also mention a version or a tag? The demos still suggest 22.2.0 and updating to a newer version is on our to-do list anyway.
I think I agree by default we shouldn't have a non-negativity constraint. It would also then match CIL Totalvariation, which has no upper or lower values by default.


Binding Not Found

I am getting numerous null pointer exceptions from ButterKnife failing to bind views into Java.
I guess the binding might not be being generated? Please can you help me find steps to fix this issue?
From the Logs:
D/ButterKnife: Looking up binding for com.littlesparkshospital.littletrial.activities.MainActivity
D/ButterKnife: Not found. Trying superclass androidx.appcompat.app.AppCompatActivity

XML:
<RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_toLeftOf="@+id/family_image"
                android:layout_toRightOf="@+id/setting_image"
                android:id="@+id/map_container">

Java:
@BindView(R.id.map_container)
RelativeLayout mapContainer;

I am using version 10.1.0 of butterknife:
implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'

It looks like the MainActivity_ViewBinding.java is being generated as I would have expected, so I guess that the library can't find this generated code at runtime? :/
// Generated code from Butter Knife. Do not modify!
package com.littlesparkshospital.littletrial.activities;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import androidx.annotation.CallSuper;
import androidx.annotation.UiThread;
import butterknife.Unbinder;
import butterknife.internal.DebouncingOnClickListener;
import butterknife.internal.Utils;
import com.littlesparkshospital.littletrial.R;
import java.lang.IllegalStateException;
import java.lang.Override;

public class MainActivity_ViewBinding implements Unbinder {
  private MainActivity target;

  private View view7f090184;

  private View view7f090080;

  @UiThread
  public MainActivity_ViewBinding(MainActivity target) {
    this(target, target.getWindow().getDecorView());
  }

  @UiThread
  public MainActivity_ViewBinding(final MainActivity target, View source) {
    this.target = target;

    View view;
    target.mapContainer = Utils.findRequiredViewAsType(source, R.id.map_container, "field 'mapContainer'", RelativeLayout.class);
    view = Utils.findRequiredView(source, R.id.setting_image, "field 'setting_image' and method 'openSettings'");

Same problem, any solution?

Did you call ButterKnife.bind(xxx) after inflate, like this:
setContentView(R.layout.activity_login);
unbinder = ButterKnife.bind(this);

绑定一会空，一会不空，我太难了。

This is weird, I get the same after upgrading from 8.7.0 to 10.2.0 and migrating to AndroidX