How using c code from  ExportFontAsCode()

How using file mojechar.c from  ExportFontAsCode(fo, "mojechar.c");
I get many errors like :

error: missing initializer for member ‘Image::width’ [-Werror=missing-field-initializers]
311 | };
| ^

.....

mojechar.h:311:1: error: missing initializer for member ‘Image::width’ [-Werror=missing-field-initializers]
mojechar.h:311:1: error: missing initializer for member ‘Image::height’ [-Werror=missing-field-initializers]
mojechar.h:311:1: error: missing initializer for member ‘Image::mipmaps’ [-Werror=missing-field-initializers]

.....

error: invalid conversion from ‘const GlyphInfo*’ to ‘GlyphInfo*’ [-fpermissive]
335 |     font.glyphs = fontGlyphs_mojechar;
deleting 'const' etc.

meybe add .width = number in initialize structure ?
or add image record directly no {0} -> {0,0,0,0,0}

@srem1 Issues are intended for raylib issues, not for questions about library usage. I recommend you use Discussions or Discord for this kind of questions.

@srem1 are you using C? Do you observe those problems with it?

I recomendet read issue
this is a bug
and solution

@bialystok (cc: @Peter0x44)

I recomendet read issue
this is a bug and solution

Well, Image::width is not C Language, so this issue is misplaced.  Those error messages are not related to raylib itself, so it cannot be a raylib bug.
There is a matter of initializer differences between C and C++ but raylib is C Language and must be compiled as such.  The header files are amenable for linking and run-time calling from C or C++.  But these errors are strictly on the C++ side.

@orcmid they are warnings, promoted to errors (he chose to compile with -Werror)
The -fpermissive stuff are all errors, unless you specifically pass -fpermissive
It's not true the errors aren't related to raylib code. What is up for debate is whether it's raylib's problem.
Try the following with GCC:
typedef struct
{ int x, y; } test;

void t(void)
{
    test x = {0};
}

g++ -Wall -Wextra test.cpp

@Peter0x44 I don't need to try that in any C++ compilation.
I am looking at rtext.c in raylib 5.1-dev.  The first and only place there is generated code having an ={0} initializer is in
    "// Font loading function: %s\n", fileNamePascal);
    "static Font LoadFont_%s(void)\n{\n", fileNamePascal);
    "    Font font = { 0 };\n\n");
    "    font.baseSize = %i;\n", font.baseSize);
    "    font.glyphCount = %i;\n", font.glyphCount);
    "    font.glyphPadding = %i;\n\n", font.glyphPadding);

All other cases are array or struct initializations where the values are enumerated completely in the initialization { ... }.
The output array holds the bytes of a compressed data structure.  There will be a note about that in the code.
There is clearly not enough information to make sense of the original issue statement and I agree with it being closed.


Admin SMTP UI Translations

This are the translations for flarum/core#933 (or https://github.com/flarum/core/commit/dd0dc44dd833460862272eb4d63b84e0763b2722)
Added:
# These translations are used in the email page of the admin interface.
email:
    heading: => core.ref.email
    text: Configure the SMTP settings and addresses your forum will use to send email.
    server_heading: SMTP Server
    driver_label: Driver
    host_label: Host
    port_label: Port
    encryption_label: Encryption
    account_heading: SMTP Account
    username_label: Username
    password_label: Password
    adresses_heading: Adresses
    from_label: Sender
    submit_button: => core.ref.save_changes

and this (on core.admin.nav)
email_button: => core.ref.email
email_text: Configure your forum's email settings.

Just sort alphabetically language keys and close the content of email_text with double quotation mark (because there is a quotation mark) then it will be good IMO. :+1:

Thank you @maelsoucaze. I have commited changes.
PS: Don't mind the \&, I wanted to escape the & just in case, but it didn't do it

Nice, good job!

@maelsoucaze Thanks!
Thank you for your help as well, while Dominion isn't online :smiley:

Thanks a lot!
I just fixed the translation keys in the code, will add the headings later today.

Done in https://github.com/flarum/core/commit/a884a3592b5662fd3e7481074677642076f68a9d. Does this look okay to all of you?
Also, it looks like we're not using the core.admin.email.heading translation anymore, right?

@franzliedke The main heading was for like "Email", general title, description below, and then we could have sub-headings.

Okay, I added a heading on top of the page.

@franzliedke The path then needs to be /admin/email, not /admin/mail :smiley:

Meh, I think we'll be fine until the restructuring. ;)

@franzliedke Ok :wink:


Widening of Decimal datatype

Type of issue
Other (describe below)
Description
Quote:
"Widening. The Decimal data type widens to Single or Double. This means you can convert Decimal to either of these types without encountering a System.OverflowException error."
And how can a 16 bytes long datatype (Decimal) widen to 4 bytes (Single)  or 8 bytes (Double)?
Page URL
https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/data-types/decimal-data-type
Content source URL
https://github.com/dotnet/docs/blob/main/docs/visual-basic/language-reference/data-types/decimal-data-type.md
Document Version Independent Id
4d0ee261-b05d-1f6f-44a1-808c1d2e6d17
Article author
@KathleenDollard
Metadata

ID: 9787dbb1-801e-33c8-a001-84ba05b036a4
Service: dotnet-visualbasic

These widening conversions lose precision in exchange for magnitude.


Retina image does not load on the /about page

Assuming that there is an /about page, the profile image does not load the retina version even if the screen is retina resolution.
From the console:
main.js:36 Uncaught ReferenceError: $ is not defined

Executing the retina() function gives the following error:
> retina();
VM2733:211 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': 'img.2x' is not a valid selector.(…)

It turned out to be a change in my part that broke the <footer> which caused jquery to not load properly.


Adopt UI component library

Epic domain

[x] #369
[x] #370
[ ] #371
[x] #372
[x] #373
[x] #374
[x] #375
[ ] #376
[x] #377
[x] #378
[x] #379
[x] #380
[x] #381

Additional context
No response

#376 is stalled waiting for a component in Podman Desktop and all other work is complete. Since it is already being tracked via an issue I don't think it's worth keeping an epic open as well, so I'm marking this as done and closing.


Send messages from Controller to specific User/Client tutorial

How to send a message from an ASP.Net Core MVC controller to a specific client or user without using User.Identity?

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.


Add Dockerfile for cuda-10.2

Add another dockerfile for cuda-10.2.
Rename the original cuda Dockerfile to cuda-11.2

Could you add a README that instructs how to build the docker images and dependencies (e.g. nvidia-container-runtime-hook), and how to build AvA inside the docker?
I tried ava-cuda-10.2 and ava-cuda-11.2 and both got this error:
Traceback (most recent call last):
  File "/home/ubuntu/ava/cava/nwcc", line 9, in <module>
    nightwatch.main.main()
  File "/home/ubuntu/ava/cava/nightwatch/main.py", line 49, in main
    from .parser import c
  File "/home/ubuntu/ava/cava/nightwatch/parser/c/__init__.py", line 3, in <module>
    from .rules import *
  File "/home/ubuntu/ava/cava/nightwatch/parser/c/rules.py", line 2, in <module>
    from .clanginterface import *
  File "/home/ubuntu/ava/cava/nightwatch/parser/c/clanginterface.py", line 21, in <module>
    _config_clang()
  File "/home/ubuntu/ava/cava/nightwatch/parser/c/clanginterface.py", line 10, in _config_clang
    from clang import cindex
ModuleNotFoundError: No module named 'clang'

Seems something is going wrong with the libclang dependencies.

Steps to build:
# PWD is ava repository root
./tools/docker/run_docker.sh ava-cuda-10.1
mkdir -p build
cd build
rm * -rf
cmake .. -DAVA_GEN_CUDADRV_SPEC=On -DAVA_MANAGER_LEGACY=On
make

The encoding error happens because cuda.h for CUDA 10.1 is ASCII text, but that for CUDA 10.2+ is UTF-8 Unicode text.
I've fixed this issue in master and tested all three dockers.


Fix immediate exiting of master target

Since this issue hasn't been commented on, I propose to bring these changes in. I'm not a systemd expert, but I don't think my code is creating any additional bugs. If it's not perfect, it can still be improved upon later. Meanwhile, this fixes the issue with services immediately stopping after start unless enabled.

We're using this patch without any noticeable problems. It  fixes the services immediately stopping, which we needed.
:+1:


Account -> Manage Subscriptions link goes to an app error

{"name":"Error","status":422,"message":"Request returned error code: 422 and body: {"status":422,"title":"Query parameter \"id:in\" value may contain only integer values. For input string: \"undefined\".","type":"https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes\",\"errors\":{}}","trace":"Error: Request returned error code: 422 and body: {"status":422,"title":"Query parameter \"id:in\" value may contain only integer values. For input string: \"undefined\".","type":"https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes\",\"errors\":{}}\n    at Gunzip.cb (/var/www/html/stripe_foundations/node_modules/node-bigcommerce/lib/request.js:119:31)\n    at Gunzip.zlibBufferOnEnd (zlib.js:152:10)\n    at Gunzip.emit (events.js:376:20)\n    at Gunzip.emit (domain.js:470:12)\n    at endReadableNT (internal/streams/readable.js:1336:12)\n    at processTicksAndRejections (internal/process/task_queues.js:82:21)","timestamp":"2023-01-13T06:52:20.603Z"}
This is due to variable translation issue - does not look like
// BigCommerce Customer Attribute Field & Metafield Names
export const SUBSCRIPTION_CUSTOMER_ATTRIBUTE_NAME = "stripe_customer_id";
export const SUBSCRIPTION_IDS_ATTRIBUTE_NAME = "stripe_subscription_ids";
export const SUBSCRIPTION_METAFIELD_KEY = "subscription_config";
export const SUBSCRIPTION_METAFIELD_NAMESPACE = "Stripe Billing";
are properly being translated to the working code.

store hash for the reference zeiyemdcjo

Thanks for noting this issue. This should be fixed by the above PR.


JavaScript GUI bug: fixes #133

Fixes #133

I finally merged it directly, no need to retrigger a full CI.


What is the current motivation for nodes to join the network?

While thinking about incentivization (#21), I think it's important to understand what motivates nodes to join the network currently.
I suggest the following framework. Fundamentally, I see three reasons why a node participates in a protocol:

to get utility from the protocol directly;
to get rewarded financially;
to gain reputation.

It's important to note though that reputation by itself is only useful if it increases the utility or rewards in the future.
Examples:

In BitTorrent, nodes keep track of their peers' bandwidth. Peers that upload more can download more, that is, increased direct utility.
In Bitcoin, nodes have a dual motivation to participate in the P2P network. Non-mining full nodes get the utility of being able to independently validate all transactions. Nodes that misbehave get their reputation decreased and eventually get disconnected (lost protocol utility). Additionally, miners get a change to win a monetary reward.
In Lightning, nodes deploy liquidity (bitcoins) into channels and get both direct utility (the ability to send and receive payments) and a potential reward in the form of routing fees, if other nodes decide to route through them. Nodes with high reliability get high reputation scores (this mechanics is semi-centralized, but that's another story), and high scores increase the expected routing fees.

It's important to understand why Waku nodes participate in the network. As I see it, currently the direct protocol utility is the only motivation. I join the network to be able to send and receive messages relevant to me, and as a side-effect I help route other users' messages. Then, a few questions arise:

How easy is it to free-ride? (A BitTorrent analogy: a patched client that fakes upload stats to get more download bandwidth.) Do people do it? If not, why not?
Should we think about utility differently depending on whether a protocol is... symmetrical (for the lack of a better term)? What I mean is: some protocols like Relay are clearly P2P, while others, like Store, have a more pronounced client-server structure. It's kinda clear what the utility for the client is (it gets prior messages that the server has stored in the meantime). But is there currently any utility for the Store server?

I suggest the following framework. Fundamentally, I see three reasons why a node participates in a protocol:

1. to get utility from the protocol directly;
2. to get rewarded financially;
3. to gain reputation.

Agree with the framework, mainly 1. and 2. Not sure though about 3. I see reputation as a requirement for 1., since if your reputation drops below a threshold, then you wont be able to get any utility from the protocol (peers will disconnect from you)

How easy is it to free-ride? (A BitTorrent analogy: a patched client that fakes upload stats to get more download bandwidth.) Do people do it? If not, why not?

Responding from the perspective of relay. Not trivial to do since the scoring mechanisim we have in place tracks things like i) who was the first peer to send you a message, or ii) how long has the peer been in the mesh. ref. All this affects your score, and if you "free ride" with a modified client, your score will drop and no peer will want to connect to you. So you wont be able to get 1. (utility of the protocol).

What I mean is: some protocols like Relay are clearly P2P, while others, like Store, have a more pronounced client-server structure. It's kinda clear what the utility for the client is (it gets prior messages that the server has stored in the meantime). But is there currently any utility for the Store server?

Yep, exactly. This is why we are not that concerned about incentives in relay, since 1. (protocol utility) kind of solves it. But store is pure altruistic by now, if you provide store services you get no incentives for doing so, neither economically nor utilitarian. Some possible fixes:

What we have discussed about "light client paying the party". ref. So a store node stores messages with the hope of getting paid by a light client that wants some messages in the future.
Default config. Shipping waku with some default values that so that everyone stores and serves some messages. In other words, "opt-in by default". Kind of similar to what blockchain do. Existing nodes provide blocks to new nodes joining the network and they don't get any incentives + consume bandwidth. Not sure if anyone is "free riding" in eg Ethereum, by disabling serving old blocks to new joiners.


#48 Chore/sorting cryptopunks

Add sorting through adding a timestamp to the graph queried data. I didn't deploy it to the API but it should straightforward to fix if I left out something from the API part.

and this also needs to be rebased on main, since we have merged the disclaimer

@eenagy just need to resolve the conflicts here and lgtm


Update Russian Language Localization

Updated the Russian language translations in the ru_ru.ini file to ensure accuracy and improve user experience

Thanks!


zh: Update descriptions about 迁移 & 同步 to make it clearer in DM 1.0

What is changed, added or deleted? (Required)
当前 DM 文档里关于“迁移”“同步”“复制”的表述不够清晰，需要统一表达。今后统一采用以下表达：

中文：（全量）迁移、（增量）复制、（全量+增量模式）迁移
英文：migrate, replicate, migrate

在术语表做了相应更新
Which DM version(s) do your changes apply to? (Required)

[ ] master (the latest development version, including v3.0 changes)
[ ] v2.0 (TiDB DM 2.0 versions)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s): https://github.com/pingcap/docs-dm/pull/306, https://github.com/pingcap/docs-dm/pull/335

Do your changes match any of the following descriptions?

[x] Delete files
[x] Change aliases
[ ] Have version specific changes
[x] Might cause conflicts after cherry-picked

/merge


For Coverage reports, need to have in DB list of all possible fields.

This was discussed at Montreal Aug. It comes from #68
The main code should be written into OCDSkit - issue here: https://github.com/open-contracting/ocdskit/issues/55
As soon as that is done, we should create a "schema_felds" table like the one in pull request #68.
Every time we load some data, we should generate the field mapping for the data's specific extensions and store that in the new "schema_fields" table.
(Noting as well that one set of data might have bits of data with different extension combinations. In this case, cache the fields for them all).
We can do this now even thought OCDSData itself won't be using the contents. Because analysts can write SQL by hand to use this data, it will still be useful.

Why do we need a list of all possible fields? For some use cases, we'd want to know the coverage of additional fields, which wouldn't be in the schema or any extension.


CAMEL-19481: Upgrade to Jetty 10

Fix for https://issues.apache.org/jira/browse/CAMEL-19481
Motivation
Jetty 9 has reached its EOL see https://github.com/eclipse/jetty.project/issues/7958, thus we need to upgrade to at least Jetty 10
Modifications

Upgrades camel-cometd, camel-jetty, camel-resteasy, camel-salesforce, camel-undertow and camel-websocket to Jetty 10 but keep Jetty 9 for camel-atmosphere-websocket that is not compatible
Adapts the camel-test-infra-jetty to support Jetty 9 and 10

Is there anything from the Karaf community whether they will do a Karaf release that supports Jetty 10 ?

It is still under discussion but it is doable even in the next Karaf 4.4.x which will be released very soon but not before 3.21. So the question is do we make users wait 6 months to get this upgrade to have included in 3.22 or can we include it directly in 3.21 with a note indicating the limitation that will be removed once the next Karaf version will be released in a couple of weeks

We keep 3.21 stable as-is - people dont casually upgrade karaf.
We are to build the release tomorrow.

And we can do a 3.22.0 release sooner if we think its ready and community users would benefit from Karaf 4.5.x and Jetty 10 support

Ok let's merge it once a Karaf version supporting Jetty 10 is released

camel 3.22 is being released now as-is, and there is no new 3.x releases planned


请问会提供train的代码么

请问会提供train的代码么

同问，如何做训练？

this is a simple SSD model just google it you will find. I am planning to create the training code for this but its better if @AIZOOTech provides his code here.

@tomriddle54  could you please send me your model or dataset? thanks


[Feature request] Add/amend endpoint to loop through all payments/transactions

Is your feature request related to a problem? Please describe.
Currently, to get all transactions in the last 30-days for example, we need to loop through all users, then their wallets, then the transactions for that wallet. This is inefficient for building a component such as:

Describe the solution you'd like
Calling an API with the required X-Api-Key should be able to retrieve all transactions in a single API call.

Option 1: A new /api/v1/allpayments endpoint (or similar)
Option 2: Amend existing /api/v1/payments where all payments can be retrieved

Additional context
LNbits version: 0.12.10

Does the User manager in core fixes this?

Does the User manager in core fixes this?

No, there will be a Payments page for this.


Skip share test when there is no manila endpoint

/test

/hold

/hold cancel

We should backport it
/cherry-pick release-4.18 release-4.17 release-4.16


Add hx-boost to header nav

This is a very small optimization using hx-boost.
Instead of navigating to a new page, internal links will use an AJAX request and replace the current page in place. The previous page is added to the browser's history and can still be navigated to using the back button. The docs mention the <body> tag, but it actually replaces all html.

I may have to do a bit more research on this but my general opinion is pretty skeptical of this change. The gains seem a bit marginal since it still requests the full page but just replaces the body tag. Seems like added complexity for small if any gains unless I'm missing something.

It's more of an improvement for UI/UX. It's not exactly measurable but links "feel" better to me when clicked. It's hard to explain. Definitely not necessary, just a small change I came across while working with htmx.

The more I experiment with hx-boost, the less I like it. Closing this.

What didn't you like about it?

The main issue I ran into is the new page loading below the current page, instead of replacing it. This would usually happen if the link was populated from another htmx request. My solution was to add hx-boost="false" to the parent of these links. This was happening with hx-boost enabled on the navbar div, not <body>.
I also found that it does not carry over classes attached to the body. I have a page that doesn't extend base.html. When linking to a page that did extend the base template, the base template's classes on <body> did not load. This is actually why I removed it from my project. I'm concerned that it might not be consistent with html outside of <body>, and I don't want to risk <body> <head> or <html> having issues.
I do really like how it feels. I haven't removed it from EB yet, if you want to check it out. Having the header stay consistent without "blinking" is really nice. I'm just not sure that is worth   the potential risk of missing info outside of the body.

The smoothness (e.g. no "blinking") isn't really noticeable unless you throttle the connection. So hx-boost seems to be more beneficial for users with slower connections. They are probably used to pages loading slower, though.


Support less precise traps. (was:Make handling traps more precise. )

Describe base trap handling, Introduce trap-complete instructions as those that are bending completion, guaranteed to complete and results are not accessible until complete. Divide instruction good example.

Vector instructions can be complete in this manner.

Introduce Vstartable instructions - Precise Restartable
a) Note that not only pre-start elements are completed but also related state (especially in vxsat and fflags in fcsr)
b) Define restartable precise in which elements vstart and beyond are undisturbed (contain the same element values as if all prior instructions were completed and before  instruction start.
c) no additional state is affected, specifically  vxsat and fflags in fcsr as a result of any internal procssing of vstart and on elements.

introduce Vstartable instructions - Imprecise Restartable
a) this is an imprecise trap
b) however, a restart of the trapped instruction recovers the instruction as if it had not been trapped.

introduce rerunnable vector instructions that would recover imprecise results.
a) for the trapped instruction (as is the case when vstart is set on trap to zero).
i) introduce concept that trapped instruction can have imprecise results even when set up for rerun. (vstart = 0)
b) recoverable means that upon complettion the results would be the same as if the trap did not occur.

b) for subsequent vector instructions to the one which claimed the trap.
i) required concurrent execution of subsequent instruction to the trapped instruction.
ii) note as above that non-vector instruction require precise trap-complete instructions
iii) it therefore follows that this instruction is consecutive to the "trapping" instruction
iv) further extend this to any number of consecutive vector instruction.

constraints on execution of a set of consecutive vector instructions following a trap
i) the trapping instruction must be recoverable by restart or rerunable.
ii) subsequent consecutive instructions must be recoverable by rerunning the instructions serially.
iii) any or all of the consecutive vector instructions following the trapping instruction may have imprecise state.
iv) during execution of the set of consecutive instruction,  consecutive vector instructions need not be executed in sequence. (As with
For a given instruction in the consecutive set there is no need for prior instruction to be trap-complete nor even to have started instruction specific processing if the instruction unde consideration has all necessary current data,.
v) the exception to the above rules is that for vector instructions that write a scalar register (x or f) all previous instructions must be trap-complete.

From these rules it follows
6) Software is to consider a sequence of consecutive vector instructions as a single super vector instruction that is restartable.
i) This instruction can be serial executed as individual instructions. On restart it must be execute in its entirety.
ii) an equivalent instruction sequence  of alternating vector instructions and base instructions  is easily constructed and can be substituted by a debugger or jit runtime, This would allow break points. To single step the component vector instructions a conditional branch may be require to seperate the vector instructions..
Note: the assumption is that the OS or Debug environment does not attempt to inject into a super-vector instructions state that was not present at trap.
(eg. changing contents of scalar inputs (x and f) )

Some earlier work along these lines:
Mark Hampton and Krste Asanović, "Implementing Virtual Memory in a Vector Processor with Software Restart Markers", 20th ACM International Conference on Supercomputing (ICS06), Cairns, Australia, June 2006. https://people.eecs.berkeley.edu/~krste/papers/restart-ics2006.pdf
Mark J. Hampton, "Reducing Exception Management Overhead with Software Restart Markers"
Ph.D. Thesis, Massachusetts Institute of Technology, February 2008.
https://people.eecs.berkeley.edu/~krste/papers/mhampton-phd.pdf
But for v1.0, I think we've reached agreement on supporting precise to the instruction, but with restartable within instruction if idempotent.  Or allowing imprecise with accurate report of fault location.
Swappable or more complex restart conditions are left for after v1.0.


Firefox: Massive color picker consuming all available space and more

Description
I can choose any color from color picker
Actual result
SUMMARY:  Chart is disturbed by changing color
SEVERITY:  Critical
MODULE:  Mountain chart
Platform:  Windows 7 / Firefox  44.0
RELEASE: Stage
STEPS TO REPRODUCE:

Navigate to the URL : http://tools-stage.gapminderdev.org/tools/mountain
Mountain Chart will be loaded.
Click “color” icon
Click drop down to change the color option
Select individual by hovering properties on pop up
Click any colored bubble to change the color through color picker
Note that chart is disturbed by changing color

ACTUAL RESULTS:
Chart is disturbed by changing color
EXPECTED RESULTS:
Chart should not be disturbed in any case
Other information
Reported by: Abid Ali
Test configuration: Firefox, Desktop PC
Test case number: TC68
Test run: https://valorsoftware.testlodge.com/projects/15827/runs/196555?tab=2&run_section_id=176920&executed_case_id=9472953#executed_case_9472953
SCREENSHOT:

https://github.com/Gapminder/vizabi/pull/1411


Python file is not running - Code-server: 3.10.1

OS/Web Information

Web Browser: Edge
Local OS: Linux - Ubuntu 20.04 LTS
Remote OS: Ubuntu 20.04 LTS
Remote Architecture: VM
code-server --version: 3.10.1 421237f499079cf88d68c02163b70e2b476bbb0d Latest

Steps to Reproduce

Run a python file in terminal

Expected

It should run my python file.
Actual

The terminal is not opening!
Throwing two errors:

command : 'python.execlnTerminal' not found
command : 'python.execlnTerminal-icon' not found

Logs

backend.log
Screenshot

Notes

This issue can be reproduced in VS Code: Yes

I have exactly the same issue as you. But I figured it out that it was simply a bug of ms-python extension. Just choose an old version and hopefully the problem will be solved.

Interesting...I could not reproduce this issue locally. I'm using the Python extension v2021.5.842923320 with code-server 3.10.1 on macOS + Chrome.
Screenshot
https://user-images.githubusercontent.com/3806031/119380134-2b627380-bc75-11eb-9a51-8ef96213b92b.mov

I have exactly the same issue, with 3.10.1 and 3.10.2. It's not just for Python execution, but also when I try to select the interpreter, I have this error:
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)

Interesting...I could not reproduce this issue locally. I'm using the Python extension v2021.5.842923320 with code-server 3.10.1 on macOS + Chrome.
Screenshot
Screen.Recording.2021-05-24.at.9.47.10.AM.mov

I have this same issue, appears to only be an issue when clicking the play button in the top right, if I type out my command as you did then it runs as expected.
I am a total novice so cannot speculate as to why this issue is arising, I am only using the platform currently as a learning tool.

I had the same issue after upgrading to 3.10.2. For met it turned out to be the version of Jupyter v2021.5.0 not working correctly.
After reverting to v2021.3.0 everything started working fine again. Maybe it is worth a try.

Heads up - I'm looking at Jupyter again and will try to land a fix soon, depending on how complex the bug is.

Workaround reported by @marcel-hamer does not work for me (but using 3.10.0, see below):

with versions 3.10.1 and 3.10.2 I can no longer select the Python interpreter;
then, with version 3.10.0, reverting to Jupyter v2021.3.0 has no impact

Actually, the problem is hard to bisect (for me). I've came across a working solution with 3.10.2, but after an un-recorded upgrade path... When trying to remove everything, including user .local settings and install from scratch, I cannot get any combination of code-server and Python/Jupyter extensions that works.

Hey there, I've pushed new versions of the extensions, can you please install ms-python.python 2021.5.842923320 and ms-toolsai.jupyter 2021.6.832593372 and report back?
PS: there appears to be an upstream bug that causes autocomplete to break (without Pylance, which we are not allowed to ship) with the LSP set to Default, so please change the language server to Jedi in the Python extension settings.

@ericct it's possible you were running into a similar bug to the one I ran into while diagnosing this - with the language server set to default, closing and reopening made autocomplete no longer work correctly.
Can you update both extensions, set the LSP to Jedi, and try again?

Hey there, I've pushed new versions of the extensions, can you please install ms-python.python 2021.5.842923320 and ms-toolsai.jupyter 2021.6.832593372 and report back?

For me this fixed the issue.

@ericct it's possible you were running into a similar bug to the one I ran into while diagnosing this - with the language server set to default, closing and reopening made autocomplete no longer work correctly.
Can you update both extensions, set the LSP to Jedi, and try again?

I've just updated the extensions with the versions mentioned and set LSP to Jedi: With interactive code or notebook, the Python environment starts correctly and I can run "Python: Select interpreter".
But then with interactive code and notebook, any cell with output will fail (Chunk load error / timeout behavior)

But everything seems to be OK so far with v3.10.2 👍

Hi !
Is it possible to download ms-python.python 2021.5.842923320 and ms-toolsai.jupyter 2021.6.832593372 offline ?
I've triied to download these extensions but I get an error : cannot access extensions.coder.com because I'm in offline env.
Is where I've downloaded : https://sotnikov-link.github.io/get-vscode-extension-for-offline-install/
Is exists a simple way to download last working extensions for last code-server ?
Thanks !

We have some docs about installing extensions manually here but you do need to be online to download them. Once they're downloaded though, you should be fine.

Is exists a simple way to download last working extensions for last code-server

The latest version of code-server should work with the Python extension (just downloaded now). But the marketplace and code-server are decoupled meaning you can downgrade code-server but the marketplace will download the latest version of the extension. There is an option to download older versions of the extension but if you downgrade code-server, you'll have to test previous versions to see what works.

Thanks for your reply !
How can I export the .vsix file ?
I need this to transfert the file to my offline env.

Hmm...I think when extensions are installed, the .vsix files are unpacked 🤔 So you'd have to download outside of code-server.
You could talk directly to the open-vsx API. Example:
curl 'https://open-vsx.org/api/foam/foam-vscode' | jq '.files.download' | xargs curl --compressed -L -o foam.vsix

And then you'd have the .vsix file and you could put it on a USB drive or something to transfer to your offline env.

Thanks!
In openvsx server, the python's version is 2020, is it possible to get the latest ?
(https://open-vsx.org/extension/ms-python/python)
Or maybe is not possible or 2020 is enough ?
It's difficult to manage an offline env ^^

Ah shoot...that's right. Hmm.. I am not sure how to get the latest 😅 cc @oxy or @code-asher - maybe they can help.

It's difficult to manage an offline env ^^

I can imagine! Props to you lol

Ah, right -
You first need to install ms-toolsai.jupyter before you install ms-python.python when you're installing offline.
What happens is that when you install Python, Jupyter is listed as a mandatory dependency, and by default VSCode will try and resolve that against the default gallery. But since the dependency isn't the other way around, installing Jupyter first and Python second should work!

Okay all rigthts !
I've triied this :
Downloaded here : https://sotnikov-link.github.io/get-vscode-extension-for-offline-install/
# code-server --install-extension Téléchargements/jupyter.VSIXPackage
Installing extensions...
[2021-06-03T19:50:50.534Z] error vscode getaddrinfo EAI_AGAIN extensions.coder.com
[2021-06-03T19:50:50.534Z] error vscode Error: getaddrinfo EAI_AGAIN extensions.coder.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)

Why code-server hits coder.com ?

@rwanito Could you create another issue for this actually? The current issue (the Python extension not working) was fixed, but installing extensions offline is a separate issue that we'd have to address.


[Feature request] Add parameters for denoising and normalization

Request from Jibril, submitted by email:

I’ve been using the package you built and its been a massive help.
I was wondering if you had any plans to add some post processing option, especially the denoising stuff mentioned in UVR? > I’ve noticed the output still has audio quality issues, and was wondering if this was related to this denoising stuff, is this the case?
[...]
Thanks for the fast response. Was just doing this exact thing now and managed to make it work.
It's quite noticable I think, the quality difference with normaization/denoising as true. I've also just hard coded in my fork of the repo.

Added parameters for both denoising and normalization in version 0.6.4;
Defaulted both to true, after running my own tests and coming to the same conclusion that the quality improvement is worth it.
If anyone using CPU transcoding finds the 2x slowdown frustrating, they can easily disable denoising using --denoise=false


running pronto fails with ruby 2.3.0

No problems running pronto with older ruby versions.
When trying to run pronto in ruby 2.3.0 project, it fails with:
.../.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in method_missing': undefined methodthis' for #<Gem::Specification:0x3fc6b54aa8d8 pronto-0.6.0> (NoMethodError)
from ...rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:1057:in find_active_stub_by_path'     from .../.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:inrequire'
from .../.rvm/gems/ruby-2.3.0@vitality-backend/gems/pronto-0.6.0/bin/pronto:3:in <top (required)>'     from .../.rvm/gems/ruby-2.3.0@vitality-backend/bin/pronto:23:inload'
from .../.rvm/gems/ruby-2.3.0@vitality-backend/bin/pronto:23:in <main>'     from .../.rvm/gems/ruby-2.3.0@vitality-backend/bin/ruby_executable_hooks:15:ineval'
from .../.rvm/gems/ruby-2.3.0@vitality-backend/bin/ruby_executable_hooks:15:in `
Any suggestions?

https://github.com/remomueller/documentation/issues/7 this issues the same error and the result is to downgrade rubygems

@donni106 thanks for reporting, as it's not a pronto issue, closing it 😄

I got the same error because of rails_best_practices. Once I took pronto away of my Gemfile (because it was conflicting with other dependencies I have), then it stop working from my environment because of pronto-rails_best_practtices. When I remove this runner everything was well.

@Fabs have you tried updating rubygems by running gem update --system (reference: https://github.com/railsbp/rails_best_practices/issues/279)


Linux Build Image should contain powershell core

Is your feature request related to a problem? Please describe.
For our build infrastructure, it would be nice to use the same scripting interface across both Linux and Windows. Powershell core is one such scripting language but our Docker container doesn't include powershell core.
Describe the solution you'd like
Let's add powershell core to the docker image.

This was done with #777


Update Release branch 2.2

PR Includes:
eslint migration

@bestbeforetoday  Looks like the build is failing after couch nano package update to version 9.0.4 which happened 4 days ago .


com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/oney/WebRTCModule/WebRTCModulePackage;

Expected behavior..
Well i have been working in  this library for a week! and i have it well working on Ios device but on android it worked once but after an adb restart! I tried to reRun the project! it shows the FAMOUS dex error!
What i have tried so far :
1:  enabling dex in build.gradle   along side implementing a gradle dependency of dex (in my node modules webrtc android project)
2:  i tried uninstalling and again adding the react-native-webrtc using yarn
Observerd behavior
no matter what i do it is still gives me the ":app:transformDexArchiveWithDexMergerForDebug"
right now it has pointed me over two different files causing this to be compiled
1: "com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/oney/WebRTCModule/PermissionUtils$Callback;"
2: "com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/oney/WebRTCModule/WebRTCModulePackage;"
Steps to reproduce the problem
just install in webrtc and run on real device of android
Platform information

React Native version:0.56.0
Plugin version:1.67.1
OS: Android
OS version: MOJAVE macosX

Can you show your MainApplication.java file

@xoapit  please take a look

You can see,  WebRTCModulePackage is duplicated. It has two new WebRTCModulePackage. Please remove one and check import namespace also.

@xoapit well after that ! i get this! i have enabled the dex_enalbled in build.gradle but still this!


ARROW-5047: [Release] Always set up parquet-testing in verification script

It's also used by Rust.

+1


sidecar: Use injectLabels optimizations

AC:

Use the same optimization as here but in the sidecar.

The nontrivial thing is to parse the map in an ordered fashion so labels are sorted:

https://github.com/thanos-io/thanos/blob/4b89eea19e6c477e5d272aab9db6b46afee8d2bb/pkg/store/prometheus.go#L163

Hi @bwplotka!
I was looking forward to be a part of Thanos, and I'd like to start with this issue

Still valid.

@bwplotka I'm looking into this issue. However, I stumbles across some problems:

Does Prometheus /api/v1/series API guarantee to return sorted labels?
Even if the API returns sorted labels, JSON spec and encoding/json package don't guarantee object ordering (see more: https://github.com/golang/go/issues/27179)


Run Pipeline on Merge to V2 + Deploy to Dev. Env. Stub

Decided to have a single pipeline, only have the deployment task under a branch condition:
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml#run-for-the-main-branch-if-succeeding
In another solution, we will have to duplicate the pipeline and extract its content to a template, making it less readable.

Closing, will be done once we add deployment to dev. env.

Closing, will be done once we add deployment to dev. env.

@SharonHart should this be merged or only after we replace the stub?

@SharonHart should this be merged or only after we replace the stub?

@omri374 Not really, but I see that Avishay's PR is going to be merged soon so this might not have that much content after all. Let's just leave it open for now

@omri374 Not really, but I see that Avishay's PR is going to be merged soon so this might not have that much content after all. Let's just leave it open for now


feature(main): separate registry from master0

Signed-off-by: xuehaipeng<EMAIL_ADDRESS>issue link: 1285
separated the registry from the first master node if specified --registry in command line, eg:
sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 --masters <IP_ADDRESS> --nodes <IP_ADDRESS> --registry <IP_ADDRESS>
if the --registry option is not specified, the first master node (master0) is used as the registry node, as before.

When executing reset, you need to delete the directory corresponding to the registry.


consider porting slick to libgdx

Considering Slick2D seems to be dead, we could migrate to https://github.com/libgdx/libgdx which has a (way) more active community.
Not sure how much effort is required.
Based on some posts:
http://caseyyano.com/post/129717964562/porting-a-2d-card-game-from-slick2d-to-libgdx
http://www.tonisagrista.com/article/slick-libgdx
I can tell we probably need to rework quite some drawing stuff, we also need to look into timing issues (there seems to be no update cycle like Slick has with its Game and GameState classes?). I think converting will take multiple days.

also see:
https://www.reddit.com/r/gamedev/comments/2ikjdt/good_programming_practices_in_java_slick2d/

won't do this


Implement  component code gen for Phase 2 state machines

Generate the code that instantiates the base classes generated in #506.

In progress on these branches:
https://github.com/nasa/fpp/tree/issue-507-sm-comp-code-gen
https://github.com/bocchino/fprime/tree/fpp-issue-507-sm-comp-code-gen

Done in commit 4750497e8419174bd72f1be51752a0e126c619b7.


[BUG]Why I cannot find the static files while I already have them? Thanks.

Description
Why I cannot find the static files while I already have them? Thanks.

Screenshots
When it runs, the result just like this：

and I've already flesh the temper file.
The path shows in the browser is right and can find the source file. But just could not work. Please give me a help. Thanks!

[*] Yes, I want to help fix this issue and I will join the channel #pr-reviews on the Discord Server to confirm with the community that a PR is welcome.
[ ] No, I only want to report the issue.

Duplicate of #8083:

Update to the latest django-cms: pip install -U django-cms
Clear browser cache
run ./manage.py collectstatic if not served through development server with DEBUG = True

Since you are using the development server what's its output when the browser tries to get static files?

Still no reason... At last, I install it in a easy way, use the docker.......:)

@zongbb1983 Did it work?


[PROFILE ADDITION]

Profile screenshot

Hey Samuel, it seems you have linked a commit instead of creating a PR off it, highly suggest you to update/sync your clone, pull from the main, commit and push to a different local branch (instead of main in your case) and then start a PR as given in README.md.

Closure Notice: This profile is being closed either because it has already been added or because no PR has been created. Please feel free to reopen and initiate a PR if the profile has not been added yet.


Issues when resizing (Hyper 3.0.0-canary.1)

When resizing the window, the line dids at DidsMac in ~ gets printed over and over again, each time you resize. macOS 10.13.6 and Hyper 3.0.0-canary.1. Also latest hypercwd.

Never mind, looks like it's coming from some other plugin.


Update whats-new-in-kerberos-authentication.md

added DFL requirement to freshness

@GITMichiko,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add support for Auto Documentation - Fixes #677

Pull Request (PR) description
This PR will add support for automatic documentation and Wiki generation.
This Pull Request (PR) fixes the following issues

Fixes #677

Task list

[x] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

Hi @johlju - would you mind reviewing this when you get time? Thanks!

@PlagueHO just minor things! Awesome work on this, I know how long it takes to do a PR like this 😄

Thanks @johlju - appreciate your time too!


Kinetic backend

FT(kinetic): Add a Kinetic class
Before that the backend was using a 'classic' flow.
This commit add a class that handle all the request for the kinetic
devices.

Clean(kinetic): clean kinetic backend
The backend of kinetic now use the Kinetic class so we need to clean
the original backend
need https://github.com/scality/kineticlib/pull/58 to be merge

Closing this PR there for too long:
New one here https://github.com/scality/S3/pull/440


Prevent repeat block message from being resend to minecraft instances

Only minecraft chat can create this event, looping the event back to them will create an endless loop.

This should fix #35


First stab at expanding to support other languages

This assumes that the language is passed through the code tag class. If gitbook relies on marked, this should work. It hasn't been tested, though.
If someone wants to give this a go, great. Ideally we would have a couple of test cases around covering the bases.
Closes #1.

It's probably safe to close this now that #3 was merged.

Yep, sorry for dragging my feet on this.


removed duplicated code by using csproj with targetframeworks

Did you test the Build script? I usually use this only when deploying a new version. I assume the line for the NetFramework must be changed to build the other project using a different config.

i updated the buildscript so the .net standard is build for both platforms, i didnt get msbuild to work and i dont know your setup as msbuild is not found on my machine because it is not on PATH

Yes I usually use the VS2017 developer command line. If your approach works it is fine for me. But still one question: Isn't it required that the project is compiled two times with different configruations? Because of the #ifdef?

nope dotnet always builds all frameworks used in csproj except you specifiy a framework with -f
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build?tabs=netcore2x


Fix bug where IGListAdapterProxy cast to UICollectionViewDelegateFlowLayout in Swift always fails.

Changes in this pull request
Issue fixed: Added conformsToProtocol implementation to IGListAdapterProxy that fixing Swift cast to UICollectionViewDelegateFlowLayout.
I noticed that cast to UICollectionViewDelegateFlowLayout always fails when I was trying to implement custom collection layout, so this PR should fix this problem.
But I'm wondering what kind of tests should I add? All the tests are written in Objective C while this problem persists only in Swift code.
Checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

Thanks @Istered ! 😄
There are some issues with this. 😅

this is not a correct implementation of conformsToProtocol:

it should be a class method
there's no call to super

this is an internal file to the lib and an internal implementation detail that clients shouldn't be relying on

Can you explain what you're trying to do here? Sounds like there's some underlying issue and this is a hack to workaround it.

Hello @jessesquires
I guess I should have created an issue instead of PR 😅
Nevertheless, the problem is IGListAdapterProxy is not conforming to UICollectionViewDelegateFlowLayout, because of that the next statement will always fail in Swift:
if let flowDelegate = collectionView?.delegate as? UICollectionViewDelegateFlowLayout {
...
}

Usually, you don't want to interact with delegate directly until it comes to custom collection layouts, so even though IGListAdapterProxy is an internal class it doesn't work as client expects it to.

Hmm... 🤔
So why do you need to do this? What are you trying to do? 😄
cc @rnystrom

@jessesquires I want to ask collectionView's delegate for items sizes.  The exact same idea as for IGListCollectionViewLayout, but in Swift.
https://github.com/Instagram/IGListKit/blob/master/Source/IGListCollectionViewLayout.mm#L316
https://github.com/Instagram/IGListKit/blob/master/Source/IGListCollectionViewLayout.mm#L358

Hm, yeah that's weird. 😊
The delegate is what asks you for item sizes. So you should be able to derive this from your own code... 🤔  (Let me know if I'm misunderstanding)

Well, it's true. But still that's the only way to get item sizes without messing with hardcoded values or anything like that since I'm not bulding layout for one specific case. I'm planning to use it with UICollectionView and IGListAdapter as well, so in any way I want to work with collection's delegate as with UICollectionViewDelegateFlowLayout. 🙂
The workaround was either making IGListAdapterProxy conform to UICollectionViewDelegateFlowLayout or making an objective-c helper that will just call this method for me. Right now I'm using the second approach, but I wouldn't say I'm happy about it. 😖
I hope there's a better way to achieve my goal.🙂

@Istered if all you're concerned about is the item sizes, why not use this API on IGListAdapter?
For custom collection view layouts, we recommend following a pattern like this.
Also, even if you're using Swift, UICollectionViewLayouts ref a UICollectionView, so you should be able to as? cast the delegate to w/e protocol you want. I'm not sure the compiler or anything will ever  get in the way of that.
Are you saying that
if let flowDelegate = collectionView?.delegate as? UICollectionViewDelegateFlowLayout {
  // ...
}

doesn't work using Swift and inside a UICollectionViewLayout subclass? Would love an example if that's the case.

Thanks! This workaround is clean and nice.
But just to be clear, described problem is not related only to a code that is placed inside custom layout.
Just place code snippet from above into any of example projects and you'll see that cast is always fails.

That's intended though, we don't want to expose details of the implementation.


How to use this?

Could you provide more info on what this does?

I didn't notice your other repo.  Could still do a few screenshots if ya wanted to. :)

hi ! I didn't realize that this module could be visited so quickly, that's why i didn't made the "how to" stuff. May be i should do it before trying to make the ios version. If you whant to you can make it and send a pull request. For now, i am trying to find a way to do the ios version of this module (i am just a beginner with ios, so it could take time :) ). Thanks for your interrest !


Fixed position children block scroll events from reaching container

Fixed position children seem to allow scroll events to propagate to the body, but not intermediate ancestors.
This is problematic because scrollex doesn't permit body scrolling, it forces you to use a scroll container which renders a div with overflow set to auto.
At the moment I've found a few potential workarounds for fixed position content blocking scroll events:

pointer-events: none allows scroll events through to the scroll container buttt, of course it makes the fixed position content completely non-interactive which is a big caveat
sometimes you can achieve an effect similar to fixed positioning by using a sticky position parent/absolute position child. Imagine both taking up the full viewport. This creates a similar effect where for some period of time the content will remain static on the screen, despite the fact that you're scrolling.
this is a weird one, but maybe the best solution: it appears that if you put clipPath="inset(0 0 0 0)" on a parent of fixed position element, for some reason it allows scroll events to propagate up to ancestors while still allowing the fixed position content to be interactive (eg: https://codesandbox.io/s/scrollex-product-demo-6omvyq?file=/src/App.tsx)

by using clipPath, seems that i was able to fix this!


Build cache isn't pruned on sync

Right now there's no way for cached results to get pruned when workflows are removed in sync.

Related to #276.


Lemmy detected, but rendered link is invalid.

Inputting a lemmy instance to the fedi-share button makes it display the lemmy logo. But when pressed the button takes the person to a landing-page to create a post that Lemmy does not recognize.
Happens with Lemmy BE: 0.19.5
This is the output:
https://domain.tld/share?text=Fediverse%20sharing%20button%20%7C%20Stefan%20Bohacek%0A%0Ahttps%3A%2F%2Fstefanbohacek.com%2Fproject%2Ffediverse-sharing-button%2F
Unfortunately, I haven't been able to locate a way to produce a link that lemmy can parse.

This format seems to work:
https://lemmy.domain.tld/create_post?title=A%20Title&url=https://test.domain.tld&body=Some%20text%20here

@Sakrecoer  Thank you for opening this issue and a PR for this!
I tried this on lemmy.world (via https://lemmy.world/create_post?title=A Title&url=https://test.domain.tld&body=Some text here) and it looks like this is no longer working?
I do see the issue reported and fixed in https://github.com/LemmyNet/lemmy-ui/issues/1913, but perhaps this particular instance is running an older version? Not too sure how to confirm that.

Strange... However, the link you pasted is not what the demo page is rendering. It renders a domain.tld/share?text=...
see: https://stefanbohacek.com/project/fediverse-sharing-button/

Yes, I just checked this, thank you! I will merge this PR and add a note about some Lemmy instances having this issue. Thank you so much!

Lemmy world is running 0.19.3 and i tried on 0.19.5 where it worked.

Thank you for checking that! And yes, this should still be fixed in the widget, as the URL is incorrect. I will go ahead and merge your PR and add a note about the issue on older Lemmy instances.
Thank you so much for your help!


[DOC] Guides - Installation: Migration

Documentation Request
Oqtane Migration Guide
Description
Request to create documentation detailing the process for migrating Oqtane from one location to another, including transitions from a developer environment to production and between production environments.
Additional Information
The documentation should be included in the installation section and cover:

Steps for migrating an existing Oqtane installation to a new server
Guidelines for migrating applications from other frameworks/platforms (e.g., DNN, Drupal, WordPress) to Oqtane
Key considerations during the migration process

This guide will assist users in successfully managing Oqtane migrations.

@iJungleboy can close with #91 ?!


Avoid vtables entry mismatch if the compilation flags don't match

This may please Mr. @basvodde :roll_eyes:

Still need to fix compilation with long long disabled.

@jgonzalezdr I prefer to use the comparator and helper methods outside the class. Should be able to get the same without additional subclassing.

I'd also prefer to avoid duplicating a bunch of code within the extended classes.


Show dropdown on focus

Right now, there is no focus event bound.  That means that if the user types a few characters and then blurs the field, returning to the field does not show the dropdown again.
This may make sense for some uses, but the option to show the dropdown on focus is actually useful in two cases:

Allow resuming selection if blurred without needing to type another character.
Allow setting data-minchars="0" to show the options without anything having been typed yet.

I can submit a PR if you're interested.

Yes, this was something I considered a lot. In some cases, it makes a lot of sense, but in the general case it would be annoying. The reason it wasn’t included was that I couldn’t decide what the API should be. Allowing minChars to be 0 makes a lot of sense.

The problem with blur and focus is that they are also triggered when you leave the window and return to it, at least in Chrome :/

Well you already have it disappearing on blur, so I figured that just complementing that with focus made sense.

What I meant was, originally that’s what I had done, but it resulted in it disappearing and appearing every time I switched to another window. It was quite annoying. So I checked what other autocomplete widgets were doing and they made it disappear for good if the user switched windows.

I started playing around with a simple implementation (http://jsfiddle.net/kohenkatz/fmgh29qo/2/), but JS's use of "falsey" values means that the existing code treats a 0 the same as not providing a value.  It just means rewriting the elegant || fallthrough to something more explicit.
Maybe the window focus issue could be fixed in combination with the Page Visibility API.  In other words, use only blur and focus events on the input that don't correspond to visibilitychange events. I'm guessing that that'll be a really nasty hack though, so it's probably not a good idea.

FWIW, you can easily accomplish this behavior with the evalutate method along with setting the minChars value to 0. Using some simple jQuery:
var awesomplete = new Awesomplete(document.getElementById('awesomplete'), {
  minChars: 0
});
$('#awesomplete').on('focus', function() {
  awesomplete.evaluate();
});

Hello @LeaVerou, thanks for this plugin. I wish to know if there is any plan to bind the focus event on the input to evaluate.

FWIW, you can easily accomplish this behavior with the evalutate method along with setting the minChars value to 0. Using some simple jQuery:
var awesomplete = new Awesomplete(document.getElementById('awesomplete'), {
  minChars: 0
});
$('#awesomplete').on('focus', function() {
  awesomplete.evaluate();
});

how could we do that if we wanted to do this behavior on each element with the class awesomplete?


[CHOCO] Incorrect parsing of package description

similar to https://github.com/marticliment/WingetUI/issues/921
It seems that the description of packages containing special html characters is incorrectly parsed


unseal DatabaseTarget

Request: Remove sealed  from DatabaseTarget
as discussed at https://github.com/NLog/NLog/issues/98#issuecomment-249496857
Misiu commented:

@304NotModified I've googled a bit and I found that there is no performance benefits from using sealed - http://stackoverflow.com/a/390627/965722 maybe this could be changed? This way it would be easier to build EntityFrameworkTarget

there are a many targets sealed
https://github.com/NLog/NLog/search?l=csharp&p=8&q=sealed&utf8=✓

@Misiu do we need to change some methods from private to protected for this?

@304NotModified I'll download NLog and try to create new target by extending DatabaseTarget, I'll change methods if needed and get back to You.


feat: trace.profiler export to Firefox Profiler

Reusing the best profiling UI out there

Example: https://share.firefox.dev/49eWiZR

built against this PR, but linting failed

@semorrison @nomeata The bot is lying to me :)

!bench

Complete Mathlib profile for the curious: https://share.firefox.dev/3PKliS1

@semorrison This should be ready to merge but there is a puzzling Mathlib error; I don't think this code should lead to new unused imports there


Update MAINTAINERS file based on go-gitea/gitea

as title

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ba36357). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #45   +/-   ##
=========================================
  Coverage          ?   42.67%
=========================================
  Files             ?       15
  Lines             ?      478
  Branches          ?        0
=========================================
  Hits              ?      204
  Misses            ?      261
  Partials          ?       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba36357...914a111. Read the comment docs.

@techknowlogick can you have a look at it ...

@techknowlogick I think we now can deploy the new version :)


New version can not auto completion in bash shell

Description
The completion can not work in the bash. Why is this happening and is it an incorrect operation?
Steps to reproduce the issue

Install the containerd and nerdctl.
Configuration the completion. (Already installed bash-completion)

sudo mkdir /etc/bash_completion.d/
nerdctl completion bash | sudo tee /etc/bash_completion.d/nerdctl

Relogin the shell. It can not be worked.

kane@deb12:~$ sudo nerdctl
.bash_history                        cni-plugins-linux-amd64-v1.3.0.tgz   .profile                             .viminfo
.bash_logout                         containerd-1.7.8-linux-amd64.tar.gz  runc.amd64                           .wget-hsts
.bashrc                              nerdctl-1.6.2-linux-amd64.tar.gz     .sudo_as_admin_successful

Describe the results you received and expected
Completion worked.
 I run the command source /etc/bash_completion.d/nerdctl, It also can not be work.
The containerd-rootless-setuptool.sh install, I didn't execute it because I was using a traditional deployment method.
wget https://github.com/containerd/containerd/releases/download/v1.7.8/containerd-1.7.8-linux-amd64.tar.gz
sudo tar Cxf /usr/local containerd-1.7.8-linux-amd64.tar.gz
sudo mkdir -p /usr/local/lib/systemd/system/
sudo wget https://raw.githubusercontent.com/containerd/containerd/main/containerd.service -O /usr/local/lib/systemd/system/containerd.service
sudo systemctl daemon-reload
sudo systemctl enable --now containerd
wget https://github.com/opencontainers/runc/releases/download/v1.1.9/runc.amd64
sudo install -m 755 runc.amd64 /usr/local/sbin/runc
sudo install -m 0755 -d /etc/containerd/
containerd config default | sudo tee /etc/containerd/config.toml
sudo sed -i 's#SystemdCgroup\s=\sfalse#SystemdCgroup = true#g' /etc/containerd/config.toml
sudo systemctl restart containerd.service

Is this the correct procedure? Do I still need to run a rootless install?

Is there any progress? @AkihiroSuda

Just tested now, on main:
nerdctl completion bash | sudo tee /usr/share/bash-completion/completions/nerdctl

$ nerdctl p<TAB>
pause  (Pause all processes within one or more containers)
port   (List port mappings or a specific mapping for the container)
ps     (List containers)
pull   (Pull an image from a registry. Optionally specify "ipfs://" or "ipns://" scheme to pull image from IPFS.)
push   (Push an image or a repository to a registry. Optionally specify "ipfs://" or "ipns://" scheme to push image to IPFS.)

sudo nerdctl i<TAB>
image    (Manage images)                             inspect  (Return low-level information on objects.)
images   (List images)                               ipfs     (Distributing images on IPFS)
info     (Display system-wide information)

Works well in both cases, without sudo -i.
This is on Ubuntu 24.04 LTS.
AFAIK, /etc/bash_completion.d/ is a deprecated location, where completion are always loaded on startup, instead of being loaded on demand. I would not use it.
Not sure what OS you are on, but LMK if using /usr/share/bash-completion/completions/nerdctl instead is giving you better results.

@vndroid do you feel this is still an issue in light of last comment?


"oneof message {}" Causes parsing failure.

The following proto definition appears to break the parser:
message Envelope
{
  oneof message {
    ContentA content_a = 1;
    ContentB content_b = 2;
  }
}

message ContentA
{
  optional string buffer = 1;
}

message ContentB
{
  optional int32 num = 1;
}

The error:
== Compilation error on file lib/proto.ex ==
** (Protobuf.Parser.ParserError) 7('syntax error before: ', 'message')
    lib/exprotobuf/parser.ex:68: Protobuf.Parser.parse!/2
    lib/exprotobuf/parser.ex:10: anonymous fn/3 in Protobuf.Parser.parse_files!/2
    (elixir) lib/enum.ex:1473: Enum."-reduce/3-lists^foldl/2-0-"/3
    lib/exprotobuf/parser.ex:8: Protobuf.Parser.parse_files!/2
    lib/exprotobuf.ex:65: Protobuf.parse/2
    expanding macro: Protobuf.__using__/1
    lib/spokes_proto.ex:2: SpokesProto (module)
    (elixir) expanding macro: Kernel.use/2

The culprit seems to be the "oneof message" line and my guess is that the parser expects message to be a keyword; however, I haven't had a chance to dig into what it does yet. Protoc doesn't complain about this so I am assuming it's a valid proto definition.

Reading through the gpb README I noticed this in the caveats section:
The gpb does accept reserved words as names for fields (just like protoc does), but not as names for messages. To correct this, one would have to either rewrite the grammar, or stop using yecc. (maybe rewrite it all as a protoc plugin?)
It's a known issue with the underlying library, so this can be closed.


Added integration steps for dapp

What

Added steps and code snippets to integrate RNS to a JS based dApp

Closes #166


Repair docker-container workflow

This is broken due to moving the repository: https://github.com/apalache-mc/apalache/actions/workflows/container.yml

It also does not work locally for me

It was actually broken, probably, due to some changes in the eclipse-temurin:17 docker image. See #2941


記事「GitHub supply chain attack could affect 83 million developers」を読む

https://www.cshub.com/attacks/news/github-supply-chain-attack-could-affect-83-million-developers

https://twitter.com/GitHubSecurity/status/1554843443200806913?utm_source=thenewstack&utm_medium=website&utm_campaign=platform

https://thenewstack.io/github-repositories-werent-hacked/


Describing the "file chunking", as implemented indirectly by this project's map function

@JosepSampe this is WIP... I will handle it.

@gilv Ok, but might be better to not publish large csv files (or any other data file) in this repo. Currently lithops repo takes 200kb, and this file by itself takes 17 MB. So better publish it in another place (public server), and is someone wants to run this particular experiment, he can download it, as we already do in tests

@omerb01 I think the implementing algorithm no need to add here..only usage


Added error handling to dirEntries

Idea to fix https://issues.dlang.org/show_bug.cgi?id=12513.
This PR contains a proposed API change to dirEntires that allows the user to pass a callback delegate to handle errors.  This PR is for demonstration purposes only to show how the idea could work.  With the current PR, you should be able to iterate through a set of files that the program does not have permission to access, and the error handler callback should be called.
Here is an example program to demonstrate:
import std.stdio;
import std.file;

struct MyErrorHandlers
{
    bool fileError(FileError error, const(char)[] name) nothrow @safe {
        writefln("[%s] %s", error, name);
        return false;
    }
}
void main()
{
    MyErrorHandlers errorHandlers;
    foreach(entry; dirEntries(getcwd(), SpanMode.breadth, true, &errorHandlers.fileError)) {
        writeln(entry.name);
    }
}

I'll take a look into what it would take to redesign DirIteratorImpl to support recovering from an exception.

This is an important piece of work. @marler8997 are you around to play with it or should I close this pull?

It's been a while since i looked at this. I'll take another look and get back to you soon.

Is this obsoleted by a combination of std.exception's ifThrown and handle?

I'm not familiar with the 'handle' method, but if it allows you to handle exceptions and continue on with a range then it could be argued that it could replace this PR.  Have you tested it?

I've looked at the handle template and I don't think DirIterator would be able to recover handling the exception.  I haven't looked at the implementation of handle but my guess is that it catches the exception and then continues using it as if nothing happens.  The problem with DirIterator is once the exception is thrown, the internal data structures have been corrupted.  In order to add support for the range to recover from throwing an exception, the range will likely need more memory to store the lost context after throwing the exception.
So to summarize, I don't think we have a solution quite yet.  It's would be nice to have a common solution to this problem.  If we can rework DirIterator to be exception safe without too much overhead, maybe that's the best solution.  It's hard to say at this point.  Sorry this wasn't much help, I've provided more questions than answers.

ping
It's been a while. Any progress on this, or should we close it?

We can close this PR, but I would make sure there is either an issue documented, or there is already a solution that allows you to iterate over directories and handle errors...is there a way to do that now?

Is https://issues.dlang.org/show_bug.cgi?id=12513 good enough for this purpose? If not, please file a new issue (possibly referencing 12513 just so we don't lose track of it), and we can close this PR.
Thanks!

That issue works.


Static linking (with feature flag).

When building binaries with cuda, the dependency on the libs is super large.
Biggest culprit is cublasLt which is 485Mb on its own.
Using static linking, shrinks everything into the binary which becomes ~130Mo (after stripping) in my case.
It also makes cublas loading much faster.

Looks good, thanks for the PR!


pass along args to tool ?

awesome plugin!
Probably user error -- but I can't figure out how to specify args that are passed directly to the tool. For instance, with ag, I'd like to have a mapping that searches only .txt files:
nnoremap <leader>st  :Grepper! -tool ag -cword! -G"^.+\.txt$" <cr>

..where the -G argument is passed directly to ag. The thing above doesn't seem to work - is there a way to specify tool specific options like this?

awesome plugin!
Thanks!

Already working:
The way it was supposed to bet set so far, is like this:
let g:grepper = {}
let g:grepper.ag = { 'grepprg': 'ag --vimgrep -G "^.+\.txt$" $* ' }

Although this wasn't quite working at the time you opened this issue. But it does now! (You can leave out the --vimgrep, but then the output won't contain the column.)
About to be added:
This, of course, would hardcode it for all invocations of :Grepper -tool ag. You can't specify arguments on the command-line yet, but I guess I could add a new flag -args.
I imagine it looking like this:
nnoremap <leader>ag :Grepper! -tool ag
nnoremap <leader>at :Grepper! -tool ag -cword! -args '-G "^.+\.txt$"'

I see what I can do.

Thanks for the info. I like the -args idea - that would work well for me

I won't have time until Sunday afternoon, but here's a sneak preview: git pull && git checkout add-grepprg-flag.
Due to technical reasons, one has to specify the whole command. In that branch this works:
Grepper! -tool ag -grepprg ag --vimgrep -G \"^.+\.txt\"

Okay, it's merged now.

works great - thanks!

Awesome, thanks for the feedback!


Make lru-maintainer test less flaky

Without this patch, building the memcached openSUSE package
in a 1-core-VM using osc build --vm-type=kvm --noservice -j1
would fail on a busy host with
#   Failed test 'our canary moved to warm'
#   at t/lru-maintainer.t line 81.
#          got: '0'
#     expected: anything else
# Looks like you failed 1 test of 226.
t/lru-maintainer.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/226 subtests

The host was made busy with
perl -e 'fork;fork;fork;fork;while(1){}'

hmm. patch is probably insufficient :-(
fill test some more (random failures are hard to debug)

Hmm. sleeps in that place do not help. I'll need some help to fix this for real.

Have you tried the 'next' branch? there's a fix sitting for the next release for this test.

yes, commit 2a381829b2418018506a3dde4bf125a1348726f2 seems to fix it.
=> closing this

1.5.11 is now out, containing this fix.


govendor remove +all is very dangerous

I was expecting this to just unvendor those packages listed in vendor.json, but it instead deleted all the files in my project package (even the non-.go files), and a number of packages where either half-removed or entirely removed from my $GOPATH.
I understand the command I probably should have run is govendor remove +v, so I'm not sure if remove +all is even semantically meaningful, but it definitely shouldn't have done what it did.

I kinda chuckled when I read this title and thought, wow, that would be bad...
So I agree with you that some of the status should only be used with the "list" sub-command. The "add" and "remove" should only act on some of them.

remove can also be very dangerous when specifying specific packages.  I was in a sub-package of a project.  I did gevendor remove github.com/jinzhu/gorm.  That removed the gorm from the vendor folder.  Run gevendor remove github.com/jinzhu/gorm again.  That removes gorm from my $GOPATH.
Seems like there should be circuit breaker that ensures that under no circumstances should govendor be deleting things outside of the vendor folder.

Agreed on all counts. govendor has such a breaker for rewrites. govendor needs one for remove as well. Thanks.


Obsoletion proposal for GO:0048017 inositol lipid-mediated signaling

Annotations have been reviewed here: https://github.com/geneontology/go-annotation/issues/4645

Dear all,
The proposal has been made to obsolete 'GO:0048017 inositol lipid-mediated signaling'. The reason for obsoletion is that the term was poorly defined and annotations inconsistent. There is one EXP annotation left to review by WormBase as well as one InterPro mapping, see https://github.com/geneontology/go-annotation/issues/4645
This term is not present in any subsets.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/25659
Thanks, Pascale


proto.Equal does not check for nested invalidity

What version of protobuf and what language are you using?
Version: go, 1.34.2
What did you do?
It's possible to construct a proto with a nested nil pointer value as a message, leading to an invalid nested message.
This causes proto.Equal to return false if one of the top-level message is nil but will return true if they contain invalid message in nested fields.
What did you expect to see?
Since the proto.Equal contract states that no message can be equal to an invalid message, it should return false if nested fields are invalid.
What did you see instead?
proto.Equal will return true even with nested invalid messages.
Anything else we should know about your project / environment?
Adding this to equalMessage in protoreflect/value_equal.go, will lead to test failures in proto:encode_test
if !mx.IsValid() || !my.IsValid() {
  return false
}

Via chat, exi also provided this reproducer:
--- i/proto/encode_test.go
+++ w/proto/encode_test.go
@@ -53,6 +53,11 @@ func TestEncode(t *testing.T) {
 				if !proto.Equal(got, want) && got.ProtoReflect().IsValid() && want.ProtoReflect().IsValid() {
 					t.Errorf("Unmarshal returned unexpected result; got:\n%v\nwant:\n%v", prototext.Format(got), prototext.Format(want))
 				}
+				pe := proto.Equal(got, want)
+				pre := protoreflect.ValueOf(got.ProtoReflect()).Equal(protoreflect.ValueOf(want.ProtoReflect()))
+				if pe != pre {
+					t.Errorf("proto.Equal and protoreflect.Equal disagree; proto.Equal:\n%v\nprotoreflect.Equal:\n%v\ngot:\n%v\nwant:\n%v", pe, pre, prototext.Format(got), prototext.Format(want))
+				}
 			})
 		}
 	}

…which makes TestEncode/nil_messages fail.

Did some digging. https://go.dev/cl/196618 introduced the behavior (“proto/equal: equate nil”), https://go.dev/cl/464275 documented it.
I tried to make protoreflect.Value.Equal do the same check that proto.Equal does:
--- i/reflect/protoreflect/value_equal.go
+++ w/reflect/protoreflect/value_equal.go
@@ -92,6 +92,10 @@ func equalMessage(mx, my Message) bool {
                return false
        }

+       if validx, validy := mx.IsValid(), my.IsValid(); !validx || !validy {
+               return !validx && !validy
+       }
+
        nx := 0
        equal := true
        mx.Range(func(fd FieldDescriptor, vx Value) bool {

However, this makes TestDecode/repeated_nil_messages fail (proto/decode_test.go):
    decode_test.go:50: Unmarshal returned unexpected result; got:
        repeated_nested_message:  {
          a:  1
        }
        repeated_nested_message:  {}
        repeated_nested_message:  {
          a:  2
        }

        want:
        repeated_nested_message:  {
          a:  1
        }
        repeated_nested_message:  {}
        repeated_nested_message:  {
          a:  2
        }

The printed messages are identical, but in delve, I can see the difference:
(dlv) next
> google.golang.org/protobuf/proto.Equal() ./equal.go:42 (PC: 0x8807bf)
    37:	// of the concrete message type. For example, (*pb.M)(nil) is not equal
    38:	// to &pb.M{}.
    39:	// If two valid messages marshal to the same bytes under deterministic
    40:	// serialization, then Equal is guaranteed to report true.
    41:	func Equal(x, y Message) bool {
=>  42:		if x == nil || y == nil {
    43:			return x == nil && y == nil
    44:		}
    45:		if reflect.TypeOf(x).Kind() == reflect.Ptr && x == y {
    46:			// Avoid an expensive comparison if both inputs are identical pointers.
    47:			return true

(dlv) p x
google.golang.org/protobuf/reflect/protoreflect.ProtoMessage(*google.golang.org/protobuf/internal/testprotos/test.TestAllTypes) *{
[…]
	RepeatedNestedMessage: []*google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage len: 3, cap: 4, [
		*(*"google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage")(0xc000651800),
		*(*"google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage")(0xc000651840),
		*(*"google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage")(0xc000651880),
	],
[…]

(dlv) p y
google.golang.org/protobuf/reflect/protoreflect.ProtoMessage(*google.golang.org/protobuf/internal/testprotos/test.TestAllTypes) *{
[…]
	RepeatedNestedMessage: []*google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage len: 3, cap: 3, [
		*(*"google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage")(0x11edbe0),
		*nil,
		*(*"google.golang.org/protobuf/internal/testprotos/test.TestAllTypes_NestedMessage")(0x11edc20),
	],
[…]

So the tests currently rely on messages being equal despite their “nil-ness” being different.
@neild @dsnet Any intuition as to what we should do here? Thanks.

If I recall correctly, we originally wanted to have proto.Equal(&M{}, (*M)(nil)) == true, but found that users were depending on this being false. As a general rule, we try to treat (*M)(nil) as exactly equivalent to &M{}.
The proto.Equal documentation about invalid messages was added relatively recently, in https://go.dev/cl/464275. I think the thing to do here is correct the documentation to accurately describe the implementation: proto.Equal(a, b) is false if a.IsValid() != b.IsValid(), but otherwise an empty message is an empty message.

Agree, I’ve been trying to follow the details of this, but have found it hard to understand.

I regret not writing a more descriptive rationale for the reason for the change, but the timing of the commit aligns with @neild's hypothesis.


prometheus-influxdb-exporter: 0.11.2 -> 0.11.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/prometheus/influxdb_exporter/releases.
meta.description for prometheus-influxdb-exporter is: Prometheus exporter that accepts InfluxDB metrics
meta.homepage for prometheus-influxdb-exporter is: https://github.com/prometheus/influxdb_exporter
meta.changelog for prometheus-influxdb-exporter is: https://github.com/prometheus/influxdb_exporter/blob/v0.11.3/CHANGELOG.md
Updates performed

Golang 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 0.11.3 with grep in /nix/store/jggw6bai9nkqi711lsy1bfyyjdmjngp9-influxdb_exporter-0.11.3
found 0.11.3 in filename of file in /nix/store/jggw6bai9nkqi711lsy1bfyyjdmjngp9-influxdb_exporter-0.11.3

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
prometheus-influxdb-exporter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jggw6bai9nkqi711lsy1bfyyjdmjngp9-influxdb_exporter-0.11.3 \
  --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 prometheus-influxdb-exporter https://github.com/r-ryantm/nixpkgs/archive/839130b9f7e6c28b024bb9a0420914f2ea021cf5.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/jggw6bai9nkqi711lsy1bfyyjdmjngp9-influxdb_exporter-0.11.3
ls -la /nix/store/jggw6bai9nkqi711lsy1bfyyjdmjngp9-influxdb_exporter-0.11.3/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:

prometheus-influxdb-exporter

Maintainer pings
cc @mweinelt for testing.

Result of nixpkgs-review pr 220417 run on aarch64-darwin 1

1 package built:

prometheus-influxdb-exporter


SSH in Beginner's Tutorial

📚 Documentation
I'm not sure what the exact problem is, but when I tried to follow the tutorial it didn't work—maybe someone wiser can tell us why.
I followed the beginner's tutorial up to the point where I created a new repository, however,
when I tried to clone that repository using the provided instructions (step 5), it failed.
C:\Users\BradTurek\IdeaProjects>git clone git@github.com:TurekBot/docusaurus-tut
orial.git
Cloning into 'docusaurus-tutorial'...
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of know
n hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

C:\Users\BradTurek\IdeaProjects>

My suspicion is that this is related to me never having used SSH, but I couldn't tell you for sure.
What I do know is that when I used HTTPS instead, it did work.
C:\Users\BradTurek\IdeaProjects>git clone https://github.com/TurekBot/docusaurus
-tutorial.git
Cloning into 'docusaurus-tutorial'...
warning: You appear to have cloned an empty repository.

C:\Users\BradTurek\IdeaProjects>cd docusaurus-tutorial

C:\Users\BradTurek\IdeaProjects\docusaurus-tutorial>

Any ideas what caused SSH not to work? :man_shrugging: :  I fear this may happen to any user who doesn't use SSH.
Have you read the Contributing Guidelines on issues?
Yes, I have.

This doesn't seem specific to Docusaurus. Have you set up your SSH key on your device?
You can follow the instructions here - https://help.github.com/en/articles/connecting-to-github-with-ssh
You could submit a PR to add additional instructions regarding SSH if you like 😄

@yangshun thanks for the link about SSH. I guess I've never had to use SSH before.
Since we're instructing the user to create a new repository, it might be a safe bet to assume that they don't have their SSH keys set up.
What do you think about changing the tutorial to use HTTPS? Then we still support new users; people familiar with SSH surely already know how to clone using SSH. Does that seem like the best of both worlds?


Feature/overlay middleware

This adds a new Middleware that implements writes using a local BlobStore and passes reads through to an upstream BlobStore using some simple logic:

Read requests are returned from the local BlobStore if the key exists, otherwise from the upstream bucket.
Requests that list container contents are merged between the local and upstream BlobStore
Writes are written to the local BlobStore
Delete's are implemented by creating a file in the local BlobStore which indicates the key should be removed from results.

Notes:

I am not a Java Developer (at least, not in the most recent decade) and this code will probably make experienced developers weep.
This is not production-ready. It was designed for development and testing purposes only. A non-exhaustive list of things that would be needed to be Production Ready are:

Use a more robust mechanism to generate "Not Found" errors other than trying to load a non-existant file.
The local BlobStore needs a mechanism to limit the amount of space it can consume, and how to handle the case where that space is exhausted.

@SwitchTV-BenBettridge did you intend to open this PR against the upstream S3Proxy project?

We can think about overlaying it upstream if you have an interest. I still
need to finish testing it's completeness as there may be more that needs to
be implemened. It's a fantastic feature for companies with huge amounts of
production s3 data that developers need to develop against (creation and
updates of files) without affecting their production s3. It really has a
different focus than the core s3proxy. I sent the PR to the guy who did the
implementation of the feature but he did not even get 'his' feature branch
into the main branch of his companies fork. Are you interested? You have a
bunch of commits after the fork...
On Wed, Feb 23, 2022, 11:07 PM Andrew Gaul @.***> wrote:

@SwitchTV-BenBettridge https://github.com/SwitchTV-BenBettridge did you
intend to open this PR against the upstream S3Proxy project?
—
Reply to this email directly, view it on GitHub
https://github.com/Switch-TV/s3proxy/pull/1#issuecomment-1049474574, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AESJ2OTEHJJ5UBVNEAI5J33U4WVI3ANCNFSM5LLC3XZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@gaul - I hadn't intended to at the time I raised this as I wasn't sure of how well it would work. We've been using it internally for a month now and other than the caveats listed in the PR Description we haven't had any issues so I'll open one now.


[Suggestion] Make new command to list all possible(saved) files for applying to discs

maybe /cd list?

If my or gets accepted, the create command will have autocomplete list for all the music files in the folder.

pr* pull request


educake

the auto complete bot does not put spaces so it counts question wrong may you please fix it

The educake bot runs from an LLM so mistakes are due to that, I should have clarified that better, but on the next version of the extension it will be removed untill a better hard coded solution is found


fix: fixed username on issuesand responses from api

HEYOO 🦋
So in this PR I fixed the username bug in the Issue component, now the proper username is being displayed.
While fixing this I encountered another bug which I fixed in this branch because I needed it to work on the username issue.

👍🏻 to be merged


Occassionally the Pre-defined effects don't seem to load/be available

Not been able to work out what triggers this, as most of the time it seems to work fine.

Speculative fix.  Moved this config into the source code rather than loading json from disk frequently.


update schedule

we may want to have a drop-down menu with different dates

we'll do this later, but in the meantime we can add a disclaimer that this is the old schedule from 2023, provided for information, and that updated schedule will be released soon.

There are now individual schedules listed for each site. It's suggested to link to a gcal or a an external doc, so each site can easily maintain and update their schedule without changing the website itself.


Add Segonatech

Please pull the latest master to your branch. It is showing commits that have already been merged.

Ping @ngima 🔔


Make stateful filtering configurable

Proposed Changes
TS 1.66.x made stateful-filtering default enabled, but disabling it is required for site-to-site networking to work properly.
stateful-filtering is/can be independent from snat-subnet-routes, so a separate option is the right solution in my opinion.
(The problem is identified by @elcajon in https://github.com/lmagyar/homeassistant-addon-tailscale/issues/127)
Related Issues

@coderabbitai review


Deal with connectivity issues wrt. RethinkDB SSH tunnel

A lot of the time, our RethinkDB SSH tunnel container isn't possible to connect to. Try to figure out why and eventually how to work around. It does look as if it is an issue to do with Tutum's Docker links.
I get the impression this occurs some time after restarting the stack. Maybe Tutum takes some time configuring Docker links.

[x] Implement Datadog monitoring of RethinkDB
[x] Implement alerts for errors in Datadog

Haven't seen this issue in a while, so closing for now.

Turns out this is still an issue :( Even though the Datadog monitoring is able to query the database, the app itself is not.

I've contacted Tutum about the problem.


Add the BDD test framework for the operator.

Current Behavior

No testcase here.
Desired Behavior

We need to add the BDD test framework and allow the contributor write the testcases for the operator.
And the testcase includes:

CRDs API resources CURD
The normal behavior of the controllers
the util package that supports the suit test too.

Implementation

Acceptance Tests

Mockups

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

+1


[Keras Sprint] Add KerasCV visualizations and augmentations to 'Image Classification From Scratch' example

This PR fixes the task as part of the project raised during Keras Community Sprint. Some important notes to add:

It adds a KerasCV dependency to the example
Makes a few changes to the text of the tutorial
Uses keras_cv.visualizations.plot_image_gallery to visualize images, instead of the original manual implementation
Uses keras_cv.layers.RandomFlip and keras_cv.layers.RandAugment in sequential format, for data augmentation.

Please let me know if any additions or changes should be made, to align it with KerasCV more.
@martin-gorner @ianstenbit @fchollet

This lgtm -- one thing to consider is including a link to https://keras.io/guides/keras_cv/classification_with_keras_cv if we're going to use KerasCV here

Where do you think I should link this?
I'll add the generated files in a while too!

This lgtm -- one thing to consider is including a link to https://keras.io/guides/keras_cv/classification_with_keras_cv if we're going to use KerasCV here

Where do you think I should link this?
I'll add the generated files in a while too!

I'll let @fchollet weigh in on that as he owns this example. It may be that it's not worth including, but I figured something at the end that says "For more information about training image classifiers in KerasCV, see []..."

Sure, sounds good to me. In that case, I'll wait for @fchollet to weigh in on this and just verify the entire thing, before adding the generated files

Hi, @fchollet!
Gentle ping for a quick review!

Hi, @fchollet!
Let me know if this looks good! I'll add the generated files in that case


Change .dbeaver-data-sources.xml manually problem

1 Create/Save a connection (SQL-Server) in DBeaver with 2 excluded Catalogs and a few excluded Tables
2 Close and reopen DBeaver program => all ok
3 Close DBeaver
4 Edit the file ".dbeaver-data-sources.xml" manually (add a Catalog exclude name)
5 Save file
6 Open DBeaver program -> connection is gone; the xml is at the same location on disk
When I look at the xml file I can not see anything wrong... Is it not possible to edit the xml file? I need to exclude a lot of Catalogs and tables so I want to change it in the file rather then via the wizard in DBeaver.
Thanks, Luc

OF course it is possible to edit .dbeaver-data-sources.xml manually.
Most likely you still made some mistake in xml. You could post example of your fix and I can test it.

Ok, thanks for the quick reply. I don't know what happened but it's working now...  :-/ The only difference is that the file was under source control (TFS); maybe something went wrong with a check-in/out?
I will try to force this again but for now all is ok! Thanks for your work because this is a very good program !


Show field names in tree-sitter-debug-mode

This enhances tree-sitter-debug-mode to show field names in the tree, making it much handier for query development.

Can you take a screenshot so I can see what it looks like? Thanks!

Sure thing!


Doc: Add link to globalize-express to README.md

Had to create a new pull request. A similar pull request was closed here: https://github.com/jquery/globalize/pull/435

:+1: Thanks!

I don't know why this wasn't merged. Sorry for the delay 😞


Subtraction

Coverage increased (+3.0%) to 79.167% when pulling c892dbf039bccf7d50343f1d6b20a7359a9c7524 on subtraction into 28cd524d9c63d67cb33436b2d3bffeeae1406b27 on master.


fix: build demo link

This PR closes Issue #656

I added this change to https://github.com/build-trust/ockam-website/pull/662 as asked by Matt. It's been merged so I'm closing this PR.


Add documentation for reference implementation

Rendered spec: non-integer-spec.pdf
Posting the link for the rendered file here, just so I can shamelessly use github as a free file-storage :trollface:

We should add the permanent links to hydra to the README...

We should add the permanent aliased links to hydra to the README...

This will be awesome, thank you, @dnadales! Cuz my PDFs are not canonical, I use a web-tool for rendering, so it might miss some magic added during the build (like revisions, etc).

https://github.com/input-output-hk/fm-ledger-rules/issues/301
:)


Added Some interactivity to the experiment results view

Added new GUI and functionality to the experiments result page.

@Kevin-Jay-Roberts21 I had to manually merge your results page GUI changes, and I'm not sure if I got them all. When you have a moment could you double check the display_result_layout.xml and make sure that I got the changes you made right. Thanks!

Hey Kris,
Looks like the merge went well. Thanks for updating me on this and sorry I
haven't been able to get back to you on this until now.
Thanks,
Kevin Roberts
On Sat, Mar 13, 2021 at 7:12 PM Kris Price @.***> wrote:

Merged #63 https://github.com/mI-PIV/app/pull/63 into main.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/pull/63#event-4454798550, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKWYZUDUCO2PVVE5VLOWTPDTDQEP3ANCNFSM4ZEOFRMA
.