Missing used_api_key

Furthermore, under IB.py
if (_settings["USED_API"]["alerting"]=="IB" and\
which is always empty in setting.py and there is a comment saying
"USED_API":{
"orders": "", #don't modify

Hi,
There are 2:
Order settings
"USED_API_DEFAULT":{
"orders": os.environ.get("USED_API_FOR_ORDER_PERF","IB"), #"IB", "MT5", "TS" or "CCXT" (YF does not allow performing orders)
"alerting":os.environ.get("USED_API_FOR_DATA_ALERTING","IB"), #"IB", "YF", "MT5", "TS" or "CCXT"
"reporting":os.environ.get("USED_API_FOR_DATA_REPORTING","YF"), #"IB", "YF", "MT5", "TS" or "CCXT"
},
"USED_API":{
"orders": "", #don't modify
"alerting":"",  #don't modify
"reporting":"",  #don't modify
},
USED_API_DEFAULT is what you want to use by default, USED_API is a kind of global that will saved the value evaluated during the run. The reason for that, is that IB requires quite a lot of permission and it maybe that you would like to use IB, but you don't have the permission, so it will fallback on YF. I could write that in the comments.

It is populated in orders.models.py
def check_ib_permission(symbols: list, verbose: bool=True):
'''
Populate USED_API from USED_API_DEFAULT
Check if IB can be used, otherwise YF is the fallback. For CCXT, MT5 and TS there is nothing to check.
Needs to be performed for each set of symbols reported

Arguments
----------
   symbols: list of YF tickers
'''
for k, v in _settings["USED_API_DEFAULT"].items():
    if v in ["CCXT","MT5","TS"]:
        _settings["USED_API"][k]=v
    elif v=="IB":
        if symbols is None:
            #then populate only if it is empty
            if _settings["USED_API"][k]=="":
                _settings["USED_API"][k]="IB"
        else:
            for symbol in symbols:
                if symbol in _settings["IB_STOCK_NO_PERMISSION"]:
                    if verbose:
                        logger.info("symbol " + symbol + " has no permission for IB")
                    _settings["USED_API"][k]="YF"
                    break

                a=Action.objects.get(symbol=symbol)
                if a.stock_ex.ib_auth==False:
                    if verbose:
                        logger.info("stock ex " + a.stock_ex.ib_ticker + " has no permission for IB for "+k + " impacting: "+symbol)
                    _settings["USED_API"][k]="YF"
                    break
    elif v=="YF":
        _settings["USED_API"][k]=v

I think there is a bug in check_ib_permission.
I set "HEARTBEAT_IB":True in setting.py, and notice the _settings["USED_API"]["alerting"]  will not set to "IB" even if it has permission etc.
if symbols is None:                 #then populate only if it is empty                 if _settings["USED_API"][k]=="":                      _settings["USED_API"][k]="IB"             else:                 **_settings["USED_API"][k]="IB"** # set to IB initially
So I add the line above and it's now using IB.

I think you are right, a _settings["USED_API"][k]=_settings["USED_API_DEFAULT"][k] is somehow missing...

I added tests.
As a comment, this permission topic was for me one of the most difficult to handle. IB uses very granular permissions for the stocks..and the index. As my strategies use both, I need to be sure that the permissions are on both.
The solution that I used in the end with a global is maybe not the best. I just wanted to avoid calling check permission every 2 lines.


v0.5.1 weird loading screen delay

It appears to take much longer to load the log data but I found out that just a "rendering" issue.
If I just open a log file and do nothing it can take a very long time (+30s) to open even files with 8 lines.
If after opening a log file I hit Esc every second or so, I get the log rows within ~2-3 seconds.
This is especially significant in bigger files.

Thank you for the issue!
Difficult to reproduce (but possible from Nth attempt), please try v0.5.2. If it doesn't work, can you please include OS information?

fixed in https://github.com/hedhyw/json-log-viewer/pull/85


New package JuDoc: 0.1.0

Registering: JuDoc
Repository: https://github.com/tlienart/JuDoc.jl
Version: v0.1.0
Commit: 7890a10dc61e232379e603d95befbcf7ee96090d
Proposed by: @tlienart
Reviewed by: @tlienart
Reference: https://github.com/tlienart/JuDoc.jl/issues/133#issuecomment-487322196

This needs some compat bounds, e.g. at least julia = "1" in order to not trigger a resolver bug.

Thanks! Do I need to re-register or just a commit to the project.toml is enough?

Please add compatibilitity for other deps too.


Fields on interfaces should show up on concrete types

If you define a field on an interface (e.g. field Actor.Link), it should be made available on concrete types that implement that interface (e.g. user { Link } should be valid.)
Though this issue description is very sparse, this is a great first issue! If you're interested, reach out, and I'll guide you through the implementation.

This might be done? https://github.com/isographlabs/isograph/blob/c24240805b20df5aa319a9c21c3bebd1aa0b4975/crates/isograph_schema/src/add_fields_to_subtypes.rs#L15

Closed as completed


Kodi Crashes When Trying to Watch a Movie

Movies in the Movies Directory cannot be watched with Kodi 21 included with the 08232024 upgrade for the Anbernic RG503,  Kodi immediately crashes back to Arkos.  Intrestingly short videos in the Video directory can be watched, but nothing in the 30-120 minute range.

I was able to watch a 1 hour and 12 minute movie via Kodi without issue.  The format of the movie I watch was in .mp4 and h.264 encoding.  What encoding and format is your movie in?

Mine is also a MP4 encoded h.264.  I have attached the info file from VideoRedo from which the movie was mastered, and the MediaInfo for the file.

Despicable Me 4 MediaInfo.txt

Does the movie play via the regular media player in ArkOS?

Yes it does, just fine.  I am now sure it has to do with the length of the movie.  In order to help diagnose, I made a 1 minute cut of the movie and it played fine.  Since yours played at 1:12 in length and mine crashes with a 1:29 length, it looks like the cutoff for playing is somewhere in between.  I will make lengths in between and see if I can come up with a length that causes the crash.  Keep in mind that Kodi 20.5 in the May software handles the full length movie just fine.  So either a Kodi issue or something else in the update is fouled up.

Never mind that last thought.  Just tried to play a 30 minute TV show (Cobra Kai) and it crashes Kodi.  Again, everything plays just fine with the ArkOS media player.  Sorry I can't be of more help.

Try removing the spaces and special characters in the filename.  See if that makes a difference.

Didn't make a difference at all

Do you know how to ssh into the unit?  If so, do you see any errors in /home/ark/.kodi/temp/kodi.log?  Perhaps you can provide a copy of the log file here.

Ok I'll get the log in a few...

I don't see anything obvious, but then again, I'm never looked at these before.  Maybe something will stand out to you.
kodi.log
kodi.old.log
I just tried to look at another video before I got the log. It was
/roms2/movies/MadMaxFuryRoad.mp4 at 9:42PM.
Good luck.

I couldn't see anything in the log, however, I was able to replicate the issue by trying to play a video that is a little over 1GB in size.  Most of my videos are under 1GB and why I didn't have the issue.

Ok, glad you can see it.
I am stopping for the night, but what I can do tomorrow is put the May version, play the file in Kodi and send you the log in which Kodi successfully plays the file.  Then you can see what is different.
I really appreciate your support and the effort you are putting into this.  Thank you.

I found and resolved the issue.  I'll have you test it when you can and confirm it works for you as well.

As I stated before, I believe I've found the fix and it would be helpful if you can confirm this solves the issue for you as well.

Take the attached compressed file (arkosbackup.tar.gz) that's designated for your device and put it in your roms/backup folder. Do not uncompress the contents! Just place the file as is in your roms/backup folder. If you don't have a backup folder in the roms folder, just create it.  If you're using a 2 SD card setup on your device, this must be done from SD1(TF1 Slot).

Then go into the Emulationstation Menu, scroll to Options, hit A, then go to Advanced, hit A, then scroll all the way down to Restore Settings, hit A.

Once completed, launch Kodi and try your media files again that were crashing Kodi before.

Let me know your results.
arkosbackup.tar.gz

WORKS PERFECTLY!  Thanks for this.
For my education, I had a backup folder on both SD's.  I put your file in both of them since I wasn't sure which one to use.
When you are using SD2 for games, which backup folder is used?
Again thanks for helping me out!

Excellent.  Thanks for reporting this issue and confirming the fix.

This fix has been included with today's update.

Again, thank you again very much for doing this.  I love having Kodi on my device to watch movies, so you fixing this meant a lot.
Thanks for your support with this.
Joe
From: christianhaitian @.>
Sent: Friday, September 27, 2024 11:57 PM
To: christianhaitian/arkos @.>
Cc: jgrass3 @.>; Author @.>
Subject: Re: [christianhaitian/arkos] Kodi Crashes When Trying to Watch a Movie (Issue #1176)
This fix has been included with today's update.
—
Reply to this email directly, view it on GitHubhttps://github.com/christianhaitian/arkos/issues/1176#issuecomment-2380392132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQOHZAAVNE3KH37RQD5MFXLZYYSHBAVCNFSM6AAAAABOD7BZS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQGM4TEMJTGI.
You are receiving this because you authored the thread.Message ID: @.***>


Timeout cannot be set to 0

When setting timeout to 0 (meaning no timeout), it reverts to the default 5 seconds timeout.
This is due to 0 meaning false on this line : https://github.com/prestonp/simple-rcon/blob/master/lib/rcon.js#L77

Hey @whitebird v0.3.1 has been published on npm. Thanks!!!


Allow python.venv in the project settings

This PR is more a question of why the venv option is only allowed in the pyrightconfig.json
Are there any technical limitations?

Are you sure it works as it's not documented?

Found in https://github.com/microsoft/pyright/blob/fa4194fd8b0e6d9fb970468e50a974e0d4eeee5c/packages/pyright-internal/src/analyzer/pythonPathUtils.ts#L71-L74

python.venv in settings doesn't work in my test.

Yeah, I had exactly the same problem: I couldn't make it work with python.venv in the project settings and I thought it was I thought it is possible because the option was listed here https://github.com/microsoft/pyright/blob/main/docs/configuration.md#main-pyright-config-options but now I realised that this document is about the pyrightconfig.json 🤦🏻♂
I don't see any reason why it cannot be handled through the python.venv but it should be handled on the pyright side
I am going to close the PR for now
Sorry for the noise


Redirects

Fixes https://github.com/CircuitVerse/CircuitVerse/issues/975
Describe the changes you have made in this pr -

Changed absolute urls to relative urls
Made some links to open in another tab

@tachyons Please review

Should these links be made to open in a new tab?

IIITB
Digital Ocean
Istudio
Zense

Yes

All done @tachyons


creating About page

I would like to request the assignment of creating the About page for our website. This page will provide users with an overview of our features and future vision.
Key points to cover:

Mission: A brief description of what our website aims to achieve.
Key Features: A summary of the main functionalities we offer.
User Benefits: How our platform helps and supports users.
Technologies: Highlighting the technology stack we use.
Security & Privacy: Information on how we ensure user data is safe.
Future Insights: A glimpse of upcoming features and plans for the platform.

@iamparas0 please assign so that i can start working on this


Add flashbag cache in twig app variable

1. Why is this change necessary?
As soon as you debug the flashbag in twig with e.g. a {{ dump(app.flashes) }} all renderings of future calls in the same render call of app.flashes are just empty. On the empty cart page it is also a bit annoying when you want to add some more messages as just errors are displayed next to the "empty cart" message but ALL messages are pulled from app.flashes to do that. As this can happen on other occasions as well I don't fix the empty cart page but allow the flashbag to hold the data a bit longer so the generic flashbag to alert block does not empty the flashbag at once.
2. What does this change do, exactly?
Any calls to app.flashes or app.flashes('warning') are cached in the app variable which is just used for a single response rendering and therefore only cached for a single response. The output is still the same.
I know the flashbag is designed to drop its content when the data is retrieved but I think it is rather a downside for Shopware as it is a gain.
3. Describe each step to reproduce the issue or behaviour.

Miss a message on the empty cart page
Debug with {{ dump(app.flashes) }}
See message
Change twig code to display flash message
See message in dump
See no alert

4. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hey,
I will close this PR as it's inactive for a while. Feel free to create a new one when you applied the requested changes


Test against OpenSSL

Might be able to use https://lib.rs/crates/openssl-sys or something higher level.

Closing with same rationale as #6


[Fixes #9705] Add menu-centered to flexbox mode.

Implementation for #9705
This adds menu-centered class to flexbox mode to keep the similarity beetween both modes.
Can confirm you that i have done the testing ( both modes, flexbox and non flexbox )
Thanks for posting the issue: @LaurelBCodin
but it was not so a bug... but instead a missing css class on flexbox mode.

@kball for merge or review.
Also please close the issue on merge as i forgot to add it on commit message.

Awaiting Reply/review/merge? @kball
This is useful because

It doesn't break thinks while migrating in between flexbox & non flexbox mode!
Also because users ( just like @LaurelBCodin ) expects it to be center aligned on both modes for .menu-centered

LGTM

thanks so much guys!

I like the idea of including codepen examples in the docs!

Yeah you're right .... we can do that throughout foundation infact .... But in that case we should do it as target _blank .... what do you guys think ?? @rafibomb @kball
Btw this was just one off where I had no other choice but to include codepen!


deadlock detection

done in e3180ee147702a4f294c6349dfce3dc01045da57, might be fragile on really weird code.

not really needed anymore, and mostly obsoleted by the loop detector


C# client crashes basic websocket controller

Hi there. I've created a super basic application in C# which creates a client websocket and attempts to access my drogon server. My drogon server is also basic: just has an example websocket controller (the echo one from the docs). The issue is that when I run the server, then run the client, drogon has a segment fault in WebsocketControllersRouter::doControllerHandler. Unsure if this is a bug or just my poor understanding of how all of this works. Any ideas?
Please let me know if you require anymore information. Thanks!
To Reproduce

Create basic drogon web server
Create web socket controller (basically the one from the example documentation given)
Run the server
Create a C# web socket client

using ClientWebSocket c = new ClientWebSocket();
await c.ConnectAsync(new Uri("ws://localhost:8080/echo"), CancellationToken.None);

Run C# client, get segmentation fault on server and no response on the client

Expected behavior
For there to be some sort of message on the server (added some debug lines for connecting to the web socket, sending a message)
Desktop (please complete the following information):

OS: Ubuntu 20.04.1 LTS
Browser: NA

Please show me your websocket controller code. thx.

Please show me your websocket controller code. thx.

Does the server crash if you use JS code or some other client as the websocket client? I want to reproduce the issue on my local system.

Does the server crash if you use JS code or some other client as the websocket client? I want to reproduce the issue on my local system.

Hi @an-tao . Thanks for looking at this. I just tested it with the example webapp from drogon and it works perfectly.
For reference, my web server code was this previously:
EchoWebsock.h
#pragma once
#include <drogon/WebSocketController.h>
using namespace drogon;
class EchoWebsock:public drogon::WebSocketController<EchoWebsock>
{
public:
    virtual void handleNewMessage(const WebSocketConnectionPtr&,
                                  std::string &&);
    virtual void handleNewConnection(const HttpRequestPtr &,
                                     const WebSocketConnectionPtr&);
    virtual void handleConnectionClosed(const WebSocketConnectionPtr&);
    WS_PATH_LIST_BEGIN
        //list path definitions here;
        WS_PATH_ADD("/echo");
    WS_PATH_LIST_END
};

EchoWebsock.cc
#include "EchoWebsock.h"

void EchoWebsock::handleNewMessage(const WebSocketConnectionPtr &wsConnPtr,std::string &&message)
{
    LOG_DEBUG << "Received new message ";
    //write your application logic here
    wsConnPtr->send(message);

}
void EchoWebsock::handleNewConnection(const HttpRequestPtr &req,const WebSocketConnectionPtr &wsConnPtr)
{
    //write your application logic here
    LOG_DEBUG << "Received new connection ";
    wsConnPtr->send("haha!!!");
}
void EchoWebsock::handleConnectionClosed(const WebSocketConnectionPtr &wsConnPtr)
{
    //write your application logic here
}

Thanks again!

Hi @an-tao . Thanks for looking at this. I just tested it with the example webapp from drogon and it works perfectly.
For reference, my web server code was this previously:
EchoWebsock.h
#pragma once
#include <drogon/WebSocketController.h>
using namespace drogon;
class EchoWebsock:public drogon::WebSocketController<EchoWebsock>
{
public:
    virtual void handleNewMessage(const WebSocketConnectionPtr&,
                                  std::string &&);
    virtual void handleNewConnection(const HttpRequestPtr &,
                                     const WebSocketConnectionPtr&);
    virtual void handleConnectionClosed(const WebSocketConnectionPtr&);
    WS_PATH_LIST_BEGIN
        //list path definitions here;
        WS_PATH_ADD("/echo");
    WS_PATH_LIST_END
};

EchoWebsock.cc
#include "EchoWebsock.h"

void EchoWebsock::handleNewMessage(const WebSocketConnectionPtr &wsConnPtr,std::string &&message)
{
    LOG_DEBUG << "Received new message ";
    //write your application logic here
    wsConnPtr->send(message);

}
void EchoWebsock::handleNewConnection(const HttpRequestPtr &req,const WebSocketConnectionPtr &wsConnPtr)
{
    //write your application logic here
    LOG_DEBUG << "Received new connection ";
    wsConnPtr->send("haha!!!");
}
void EchoWebsock::handleConnectionClosed(const WebSocketConnectionPtr &wsConnPtr)
{
    //write your application logic here
}

Thanks again!

What version of drogon do you use? It seems a pretty old version. please update drogon to the latest version.
the handleNewMessage method should be:
    virtual void handleNewMessage(const WebSocketConnectionPtr &,
                                  std::string &&,
                                  const WebSocketMessageType &) = 0;

BTW, please use the drogon_ctl create controller -w ... command to create websocket controlllers.

What version of drogon do you use? It seems a pretty old version. please update drogon to the latest version.
the handleNewMessage method should be:
    virtual void handleNewMessage(const WebSocketConnectionPtr &,
                                  std::string &&,
                                  const WebSocketMessageType &) = 0;

BTW, please use the drogon_ctl create controller -w ... command to create websocket controlllers.


📝 Document new OAuth scopes

cc @Wauplin @Pierrci @julien-c
Those will be available at next HF deploy

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


accept case TRUE as true boolean value

Resolves #701, also accept TRUE as a true value for checkboxes and radio selects

Thanks

Well thank you for this nice project, just started using it today. And quite refreshing to see a javascript project without a build pipeline and x1000 dependencies. Only cost me 10 minutes to understand the codebase and fix the issue ;)


Missing node version requirement

As part of setup, there is no mention of the version of Node that runs on Azure DevOps agents , which is currently 6.10.3. The current version of Node is 12.1.0 and the LTS is 10.15.3 at time of writing.
It is easy to write custom tasks under the misconception that you will be working with cutting edge features in Node and publish them to Azure DevOps only to realize that your task does not work there because your development setup is vastly different from production. I'd like this information to be more accessible so fewer people have to deal with the frustration of having to unexpectedly retro-fit their code to work with this older version of Node.

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

ID: 44581f4a-93df-7507-3844-eadedf9a6cc4
Version Independent ID: 33c7bcf0-1512-975f-5ef8-9f2a192a84ad
Content: Add a Build or Release Task
Content Source: docs/extend/develop/add-build-task.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @elbatk
Microsoft Alias: elbatk

To clarify, this is not talking about the version of Node that is installed on a particular agent.
The Node executable that is responsible for running tasks is bundled in with the Azure Devops agent executable.

I see from http://blog.majcica.com/2018/12/04/node10-provider-available-for-agent-v2-144-0/ that there is an option to use Node10 in the more recent versions of the agent. Would it be possible to bubble up this information?

Hi @cadsit, thanks for reaching out. We’ll be back in touch shortly!

1000% this.
The documentation sets you up for failure as the preparation steps read: "The latest version of node, which can be downloaded here"  and then the sample task.json has:
"execution": {
        "Node": {
            "target": "index.js"
        }
    }

..but that will use Node v6 on the agent.
The user needs to use Node10 as @cadsit  pointed out.

1000% this.
The documentation sets you up for failure as the preparation steps read: "The latest version of node, which can be downloaded here"  and then the sample task.json has:
"execution": {
        "Node": {
            "target": "index.js"
        }
    }

..but that will use Node v6 on the agent.
The user needs to use Node10 as @cadsit  pointed out.

How come that this is not already in the documentation?
Just wasted 20 minutes of my life for this.


Versioneer is not PEP8 compliant

In our code base flake8 is part of our development process. It is run on commit via GIT hook and our CI testing also runs committed code through it.
Since versioneer.py is added to our repo that is also run through flake8. That forces us to PEP8-ify it. It would be great if this is done upstream, in here.
Thoughts?

Would the maintainers accept a pull request making versioneer PEP8 compliant?

Would the maintainers accept a pull request making versioneer PEP8 compliant?

I’m not a maintainer - but this should be simple to fix I can open a PR.

Should have been fixed in #213. Please reopen if you're still having issues.
Note that there hasn't been a release, so you'll need to install from source for the time being.


Apachehttpclient v5

What does this PR do?
finally closes #2954
Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that prove my fix is effective or that my feature works
[x] Added an API method or config option? Document in which version this will be introduced
[X] I have made corresponding changes to the documentation
[x] Check FeignClient requests

@elasticmachine run elasticsearch-ci/docs

@elasticmachine run elasticsearch-ci/docs

@elasticmachine run elasticsearch-ci/docs


Question about an alternative architecture without plugin-typescript

What if:
1- You don't use plugin-typescript at all, avoiding any kind of in-browser .ts transpiling.
2- The development tsconfig.json is configured to emit system/ES5 modules to the dist/myapp folder:
    "compilerOptions": {
        "module": "system",
        "target": "es5",
        "outDir": "../dist/myapp",
    },
    "compileOnSave": true

3- The dist/myapp package is marked in the SystemJS config as having "format" : "system", so it doesn't tries to transpile them.
Then, you compile TS from your IDE or using tsc --watch in another console, and the compilation output will be generated on dist/myapp in system/ES5 format ready for the browser SystemJS consumption.
Is this approach better / faster than in-browser transpiling using plugin-typescript? What do you think? I was thinking of going in this direction until I found this project, as I don't like to transpile in the browser if my IDE is already incrementally compiling it. This approach seems simpler to me, but maybe I'm not seeing some disadvantage.

Hello,
The main problem I think could be with single file emit, which was achievable only in https://github.com/TypeStrong/atom-typescript in Atom in time I was starting this project.
It wasn't even possible with compiler, basically it was some custom implementation patching typescript language server.
plugin-typescript achieve the same feature while loading in browser, and otherwise with tsc/editors other than Atom you'll have to emit all files always, which will always be slower than this approach, and also not scaling, because you'll get even slower with each new module added to your dep chain

Isn't tsc --outFile single file emit? Besides that, I wasn't talking about using tsc to compile all the .ts codebase to a single file, but to make tsc generate a .js file (system/ES5 module format) for each .ts one. Then in development mode tsc --watch will be run manually or by the IDE, so when you change a .ts file his related .js file will be updated, and systemjs-hot-loader will be notified to update it at the browser. This is an incremental workflow, only the changed file is compiled and loaded. And in production mode you simply do a jspm build of all. So generating many system modules will be not detrimental to performance. Besides hot-reloading, I can't see how having many .ts files and making plugin-typescript load them and transpiling them in the browser can be faster than having the same number of system .js modules precompiled from .ts and making SystemJS load them in the browser without transpiling. Also note in this approach the TS compilation output is persisted on disk, and not transient in browser memory as with plugin-typescript.

I'm not talking about concatenate outFile, with single file emit what I mean is to emit only modified module without emitting all the other in dependency tree.
You cannot do this with tsc, it will  always reemit all modules, please try that in some very simple scenario and check modify date of emitted JS files.

good point, I think tsc should re-compile the dependencies only if the signatures exported changed on the updated module. But given the current tsc behavior, I'm not really sure is slower than plugin-typescript for practical use cases. Usually tsc sits on background and is very fast, having the compilation results persisted on disk seems to be an advantage, and for many projects you usually don't change core modules with many dependents. Will experiment. Thanks.

no problem, you might also search in TypeScript repo issues something more about this behaviour, maybe something changed in this matter, wish you luck :)


Invalid NVM from undistort and export_visualsfm

The filename produced as output to an nvm file in https://github.com/mapillary/OpenSfM/blob/5825725706b3e86a488265e0d214924de21f0be3/opensfm/commands/export_visualsfm.py#L71 may currently contain spaces.
This produces invalid NVM files that cannot be parsed by other editors, as the NVM file spec lacks escape characters for spaces, and separates its parameters by spaces.
This could be resolved by transforming the filenames in  https://github.com/mapillary/OpenSfM/blob/15d66bc284642b54ba7e2096923656efe12d823e/opensfm/dataset.py#L606
for example by hashing, filtering or b64-encoding the generated undistorted filename.
Alternatively, this transformation could be done explicitly as part of the export step by copying the original files with issues to safe filenames, and referencing the copies in the export, preserving existing datasets without breaks. On systems that support symlinks, this could be done with efficient disk space usage.

No answer in a while, and two PR merged, closing.


[AutoPR policyinsights/resource-manager] [Hub Generated][Do not Merge] Review request for Microsoft.PolicyInsights to add version preview/2017-08-09-preview

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5651

(message created by the CI based on PR content)

Codecov Report

Merging #5016 into restapi_auto_policyinsights/resource-manager will not change coverage.
The diff coverage is n/a.

@@                              Coverage Diff                              @@
##           restapi_auto_policyinsights/resource-manager    #5016   +/-   ##
=============================================================================
  Coverage                                         49.16%   49.16%
=============================================================================
  Files                                              6456     6456
  Lines                                            181146   181146
=============================================================================
  Hits                                              89055    89055
  Misses                                            92091    92091

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 a3db0c7...47b6734. Read the comment docs.


Added a few python snippets for Sqlite and Json, aswell as a Button snippet for CSS

I added some python snippets for Json and sqlite, aswell as a safe division function and some datetime functions.
And because it has been laying in my toolbox for a while, I've also decided to add a MacOS inspired Button

@E3nviction Thank you very much for sharing your snippets.
Next time, it would be awesome if you could make a separate pull request for different snippets. Right now, This pull request has both Python and CSS, and it's difficult to assign a specific maintainer to review the snippets. Thanks for understanding :)


Typing notifications aren't timeout properly.

https://chat.zulip.org/#narrow/stream/mobile/topic/typing.20notifications

@zulipbot claim

Another useful link is:
https://github.com/zulip/zulip/blob/master/static/js/typing_events.js


Declined application further options

When my application for credit is declined, I want to see what other options are available for me to apply for credit for, so that I can still try to access credit from another credit provider.

User to receive declined application email notification
User to be able to select “Find alternative credit” button
User to be shown other options available to them - removing the provider (and all options by them) the  user has been declined by
Users are only offered additional options in email notification IF there are alternative options in Credere available, ELSE user only receives declined email without “Find alternative credit” button.

Email template: https://www.figma.com/file/mQqkGtTfNEBdfk4QdfNYIO/OCP-Data-Registry-Design?type=design&node-id=201-1723&mode=design&t=Dh1uDL7BC1eOr04K-4

Closed as implemented


Save template code to keep it even after leaving page

This is the first improvement: allow to save code in local storage like in play.rust-lang.org so I don't lose it if I leave the page at some point.

Well, I'm used to doing things like that, so... ^^'


Cuda is not available for GPU Text classification

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog):
Visual Studio Version

Describe the bug

On which step of the process did you run into an issue:
Clear description of the problem:

To Reproduce
Steps to reproduce the behavior:

Select Text- classification scenario
2.Select GPU
Select data
Train

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Additional context

Can you try updating your graphics card?
https://www.nvidia.com/Download/driverResults.aspx/192967/en-us/

Updating driver from version 461.40 to 526.47 fix the issue

@zewditu Can you add some more information about what you used to update this driver so customers can follow the steps if they run into this?


INSTALL.md: tell people to install bazel

I was confused when I tried to follow the instructions to build Vere and bazel didn't exist on my machine after running the "prerequisites" install command.

@mcevoypeter PTAL


Improve filtering UI

The filters on the explore page are somewhat cobbled together. We could draw inspiration from other apps, like Label Studio

https://github.com/HumanSignal/label-studio
https://github.com/HumanSignal/label-studio/blob/develop/web/libs/editor/README.md

I'm leaning towards making all of the standard UI components with https://ant.design/
Each type of filter should be it's own component.

done, thank you @jzhang621


verbosely select Emergency Scenario

context
We would like to have the user to select emergency scenario based on string/pattern, say "covid19", "terremoto aquila" i.e. a string instead the emergency date. This is more intuitive and prevent selecting the wrong date for emergency outbreaks, since we know that those are formally stated by the Authority.
Current behavior
say we are interested in calculating ind_11, whose statistical unit target is "provincia" which measures the Distance between award value and sums paid indicator for a given Emergency scenario defined by a date class ymd() format, default behavior is to set that as lubridate::ymd("2017-06-30"), terremoto aquila AND as target statistical unit of measurament "cf_amministrazione_appaltante" i.e. Contracting authority
library(coresoi)
ind_11(
    data = mock_data_core,
    publication_date = data_pubblicazione,
    award_value = importo_aggiudicazione,
    sums_paid = importo_lotto,
    stat_unit = cf_amministrazione_appaltante,
    outbreak_starting_date = lubridate::[ymd](https://lubridate.tidyverse.org/reference/ymd.html)("2017-06-30")
  )

which via the generate_indicator_schema() turns out to have the following table:
# A tibble: 224 × 12
   indicator_id indicator_name    indic…¹ aggre…² aggre…³ aggre…⁴ emerg…⁵ emerg…⁶ count…⁷ count…⁸
          <dbl> <chr>               <dbl> <fct>   <chr>   <chr>     <dbl> <chr>   <chr>   <chr>
 1          5.1 Awarded notice c…   0.95  AGRIGE… ISTAT1  provin…       3 Other   1       Italy
 2          5.1 Awarded notice c…   0.543 AGRIGE… ISTAT1  provin…       3 Other   1       Italy
 3          5.1 Awarded notice c…   0.685 ALESSA… ISTAT1  provin…       3 Other   1       Italy
 4          5.1 Awarded notice c…   0.780 ALESSA… ISTAT1  provin…       3 Other   1       Italy
 5          5.1 Awarded notice c…   1     ANCONA  ISTAT1  provin…       3 Other   1       Italy
 6          5.1 Awarded notice c…   0.922 ANCONA  ISTAT1  provin…       3 Other   1       Italy
 7          5.1 Awarded notice c…   0.896 AREZZO  ISTAT1  provin…       3 Other   1       Italy
 8          5.1 Awarded notice c…   0.987 AREZZO  ISTAT1  provin…       3 Other   1       Italy
 9          5.1 Awarded notice c…   0.955 ASCOLI… ISTAT1  provin…       3 Other   1       Italy
10          5.1 Awarded notice c…   0.924 ASCOLI… ISTAT1  provin…       3 Other   1       Italy
# … with 214 more rows, 2 more variables: indicator_last_update <dttm>, data_last_update <dttm>,
#   and abbreviated variable names ¹indicator_value, ²aggregation_name, ³aggregation_id,
#   ⁴aggregation_type, ⁵emergency_id, ⁶emergency_name, ⁷country_id, ⁸country_name

Moreover say that the user selects a different outbreak_starting_date for that implying the exact same Emergency. This would lead to different results since pre/post aggregation would involve different groups by setting i.e. specifying outbreak_starting_date = lubridate::ymd("2017-09-30"), 3 months after.
Expected behavior
Instead of specifying the date we would force the user to set a scenario by string: "covid19", "Terremoto Aquila" by controlling the options available. This from one side would prevent to specify wrong dates (loosing informative power), on the other will offer a more friendly api user interface to indicators. This would be also coupled up with automatic type error checks suggesting which are the alternative Emergency scenarios.
library(coresoi)
ind_11(
    data = mock_data_core,
    publication_date = data_pubblicazione,
    award_value = importo_aggiudicazione,
    sums_paid = importo_lotto,
    stat_unit = cf_amministrazione_appaltante,
    emergency_scenario = "covid19"
  )

ind_11(
    data = mock_data_core,
    publication_date = data_pubblicazione,
    award_value = importo_aggiudicazione,
    sums_paid = importo_lotto,
    stat_unit = cf_amministrazione_appaltante,
    emergency_scenario = "terremoto aquila"
  )

... and when you mispelled it then this suggests something like:
ind_11(
    data = mock_data_core,
    publication_date = data_pubblicazione,
    award_value = importo_aggiudicazione,
    sums_paid = importo_lotto,
    stat_unit = cf_amministrazione_appaltante,
    emergency_scenario = "terremoto milano"
  )

##
Error in "emergency_scenario": scenarios available are: "covid19", "terremoto aquila", "ucraine-russia war"

This function should use a named list to store the emergency names and their corresponding dates. It then checks if the input emergency name exists in the list, and if it does, it returns the corresponding date. Otherwise, it returns an error message.
this should be passe within each indicator through the generate_indicator_schema() by a function that given an Emergency scenario string sets the date, then computes pre/post aggregation, in the end.
This is just a sketch of an implementation
emergency_dates <- function(emergency_name) {
  # create a named list of emergency names and their corresponding dates
  emergency_list <- list(
    "Coronavirus" =lubridate::ymd("2020-01-31"),
    "Terremoto Aquila" = lubridate::ymd("2017-06-30"),
    "Terremoto Ischia" = lubridate::dmy("21/08/2017"),
    "Terremoto Centro Italia 2016-2017" = lubridate::dmy("24/08/2016"),
    "Terremoto Emilia-Romagna e Lombardia 2012" = lubridate::dmy("20/05/2012"),
    "Etna - Eruzione 2008-2009" = lubridate::dmy("13/05/2008"),
    "Etna - Eruzione 2006-2007" = lubridate::dmy("14/07/2006"),
    "Etna - Eruzione 2002-2003" = lubridate::dmy("28/10/2002"),
    "Stromboli - Eruzione 2007" = lubridate::dmy("24/08/2016"),
    ...
  )

  # check if the input emergency name exists in the list
  if (emergency_name %in% names(emergency_list)) {
    # if it exists, return the corresponding date
    return(emergency_list[emergency_name])
  } else {
    # if the input emergency name does not exist in the list, return an error message
    return("Error: Emergency not found in list.")
  }
}
This function uses a named list to store the emergency names and their corresponding dates. It then checks if the input emergency name exists in the list, and if it does, it returns the corresponding date. Otherwise, it returns an error message.

As for handling spelling errors, you could use the agrep function in R to implement fuzzy matching. This would allow the function to find approximate matches for the input emergency name, even if it is misspelled.
Moreover we might want to have something like emergency_type related to the kind of emergency it is. Say "terremoto Aquila" is the emergency scenario we are looking for, then its type is "seismic", indeed if we are looking for "coronavirus" then that's a "sanitary" type of emergency.
a further point
We might want also to dynamically get updated emergencies when they are out (along with their dates). This is a reference where they can be extracted. We may want to:

just get information and manually inserting it into the emergency_dates() function as their dates (this is the easiest option) and believe it or not emergencies are not that common
dynamically refer to the url (via scraping?) to the complete list of emergencies and extract dates for its respective text.

I would keep 2 parameters.
emergency_scenario
custom_start_date
3 possible outputs:

No parameter is specified: the function report error and asks to specify an emergency.
The user specifies emergency_scenario: the user gets what he asked for OR an error.
The user DO NOT specify emergency_scenario, but specifies custom_start_date with a valid ymd: in this case the user get the custom starting date.

I suggest to lowercase any element of the list, then to force a tolower() on the input.
 if (tolower(emergency_name) %in% names(emergency_list)) {
    # if it exists, return the corresponding date
    return(emergency_list[emergency_name])
  } else {
    # if the input emergency name does not exist in the list, return an error message
    return("Error: Emergency not found in list.")
  }
}

As for handling spelling errors, you could use the agrep function in R to implement fuzzy matching. This would allow the function to find approximate matches for the input emergency name, even if it is misspelled.

I would suggest an output like:
Error in "emergency_scenario": 'terremoto acuila' is not a scenario. Suggested scenario: 'terremoto aquila'. Scenarios available: "covid19", "terremoto aquila", "ucraine-russia war"

dynamically refer to the url (via scraping?)

Scraping imo not worth: the scraper must recognize the first date in italian format with a regex code. Say the Minister page uses once a weird format for whatever reason, the scraper will fail and possibly pick another date within the html.
Benefits: if it exists a within-package emergencies updater, users do not need to update coresoi to update the list of emergencies, and coresoi do not need to update itself for each emergency.
Another problem: scrapers are not very professional: once in 500 tentatives, it will randomly fail the connections to the urls.
For 20 urls to scrape, more or less 1/25 times updates of the list will fail to scrape all the emergencies and the user will not know this unless a tester function is implemented alongside the scraper.
If the list is centralised it will possible to set English aliases for each emergency, e.g. terremoto aquila = aquila earthquake.

I got your point, we should make it both. We would like to make it conditional like you were suggesting, i.e. if no emergency_name specified than look for outbreak_starting_date & blablabla.
My guess is that people would prefer emergency_name instead of declaring dates since you don't have to cope with converting to ymd and seems more intuitive, but at least you offer an option.  Moreover If you leave the user choosing a date, then how we would be filling the emergency_name and emergency_id if not specified?
e.g. let's say 6/2/1994 (no emergency_name, random date, my birthday) what's the emergency_name  and emergency_id for that?
On top of that I believe that moving 1,2,3 +/- days on the official date would most likely not impact that much on the indicator estimates, but that's just my assumption (we should be writing a test for that, testing for the indicator consistency on an emergency time interval +/- 1 weeks from the emergency start) assuming I got that dates correct.

conditional to user input. My guess is that people would prefer

I suggest a UX where only if the user browses the helper, he do see the hidden parameter custom_start_date. In the helper can be said that if you want an emergency, you can leave it blank.
Indeed, I implicitly suggested that emergecy_scenario overwrites inputs of custom_start_date. Only if emergency_scenario is blank custom_starting_date is not blank then the functions should try to force a custom ymd based on the input, in all other cases error or a pre-set date.
I believe that in the extended, release of coresoi the user would like to custom own inputs.
E.g. set a date that is not an emergency but, e.g. the election of a politician.


bug: collection repeat still repeating the item

Type: bug
Platform: desktop browser
The issue is similar to below one only the difference is am using slidebox instead of delete-button and ion-option-button http://codepen.io/mhartington/pen/pnbiy

Hi guys,
this happens probably because the directives inside of the ion-item ( like ionDeleteButton ) are requiring the ionList controller, but in collection-repeat the parent is not a ion-list (but another div) so the controller is not passed to the directive. When the item is added to the collection, e.g. after scrolling, the directive can't find the controller and so it doesn't know if it's showing the options button or delete button.
E.g.: directive ionDeleteButton
try to add a console.log of the listCtrl, you will receive always a null value:
  IonicModule
  .directive('ionDeleteButton', function() {
    return {
      restrict: 'E',
      require: ['^ionItem', '^?ionList'],
      //Run before anything else, so we can move it before other directives process
      //its location (eg ngIf relies on the location of the directive in the dom)
      priority: Number.MAX_VALUE,
      compile: function($element, $attr) {
        //Add the classes we need during the compile phase, so that they stay
        //even if something else like ngIf removes the element and re-addss it
        $attr.$set('class', ($attr['class'] || '') + ' button icon button-icon', true);
        return function($scope, $element, $attr, ctrls) {
          var itemCtrl = ctrls[0];
          var listCtrl = ctrls[1];
          var container = jqLite(ITEM_TPL_DELETE_BUTTON);
          container.append($element);
          itemCtrl.$element.append(container).addClass('item-left-editable');
          console.log(listCtrl);
          // listCtrl is always null so the lines below are never executed
          if (listCtrl && listCtrl.showDelete()) {
            container.addClass('visible active');
          }
        };
      }
    };
  });

The issue on the codepen above seems to happen only on mousewheel event.
A workaround is to add a listener to the ionic.ListView
add:
    window.addEventListener('mousewheel', function(e) {
          _this._lastDragOp && _this._lastDragOp.clean();
      });

after:
    window.ionic.onGesture('drag', function(e) {
        _this._handleDrag(e);
      }, this.el);

This issue is not fixed for me. even the above codepen example issue exists still. don't know how come its closed.
I have created a exact example here http://codepen.io/anon/pen/LVOMEb if that helps to better understand the issue. any help would greatly help me.

To add more details to above example. Am using a slide box with 2 slide in a collection repeat.
The issue is if i make a slide 2 on any item active and scroll down, i would see the next items in list at the approx position of the item swiped would be come active.

could this issue be re-opened or should i create new one?


Proposal: Please tag a new release and start using Semantic Versioning

I found that this project already supports Go modules. The latest version v1.1.1 committed on 16 Jul 2018, and if module user run "go get gopkg.in/romanyx/recaptcha.v1", the old version v1.1.1 will be required.
$go get gopkg.in/romanyx/recaptcha.v1
go: downloading gopkg.in/romanyx/recaptcha.v1 v1.1.1
go: gopkg.in/romanyx/recaptcha.v1 upgrade => v1.1.1

So, I propose this project to tag a new release and follow Semantic Versioning. For example, v1.0.1, v2.0.0, v3.1.0-alpha, v3.1.0-beta.2etc, so that other project can use tag in go.mod.

@lcd1232  Could you help me review this issue? Thx :p

@KateGo520 how can I help you with?

Hello! I also noticed that in the last tag "v.1.1.2" there is an extra dot after the letter "v" which prevents a simple import of this version.
I solved this problem by importing with commit hash:
go get -v github.com/romanyx/recaptcha@23c4e60ed8eebe1e91393b4ea43d4fe1bf7e1da8

Which created the following line in go.mod:
github.com/romanyx/recaptcha v1.1.2-0.20180831135807-23c4e60ed8ee

But I want the package to have a normal tag.
And I think it's worth updating the package import path to github.com/romanyx/recaptcha instead of gopkg.in/romanyx/recaptcha.v1 in the README.


feat: Allow task_exec IAM policy to have an IAM path

Description
This PR adds the ability to have a path in the task exec policy in modules/service/main.tf
Motivation and Context
On some of the accounts I work on, I can't write a role or policy to the root of IAM, I have to put each policy in a different IAM path based on different factors.  While most of the policies support this, there is one that is missing the path argument.
Also noted in #199
Breaking Changes
No breaking changes
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

$terraform version
Terraform v1.10.0
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v5.78.0

$pre-commit run -a
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
Terraform validate.......................................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed

Trying to figure what the difference is in the pipeline.  for the document updates, I think the pipeline is using 1.9, should lower my terraform version locally to 1.9.x?

This now passes on actions on my fork, please approve the workflow again.

This PR is included in version 5.12.0 :tada:


Error with standalone opens in Q# notebooks

I am super stoked about Q# notebooks, thanks for doing this! 😍
I was just trying out some of the snippets from the Intro To IQSharp notebook and found something I think might be a bug. If you use any open statement in a cell by itself, it returns the following error message: The given key was not present in the dictionary.. It seems to work fine if other operations are in the cell with it, even if they do not use anything from the open.  I have included a screencap as well as code snippets and the %version from the notebook.
Thanks!
Sarah

Component
Version

iqsharp
0.5.1903.2902

Jupyter Core
1.1.12077.0

open Microsoft.Quantum.Extensions.Math;
The given key was not present in the dictionary.

open Microsoft.Quantum.Extensions.Diagnostics;
The given key was not present in the dictionary.

open Microsoft.Quantum.Extensions.Math;

//operation HelloPi() : Unit {
//    let pi = Microsoft.Quantum.Extensions.Convert.ToStringD(PI());
//    HelloQ(pi);
//}
The given key was not present in the dictionary.

open Microsoft.Quantum.Extensions.Math;

operation HelloPi() : Unit {
    let pi = Microsoft.Quantum.Extensions.Convert.ToStringD(PI());
    HelloQ(pi);
}
HelloPi

open Microsoft.Quantum.Extensions.Math;

operation HelloPi() : Unit {
}
HelloPi

Wanted to bump this again, I really want using Q# in Jupyter to be a good platform for teaching. I am working on lots of notebooks with library use and it is super annoying to have to open the namespaces for each in every cell. If students have any experience with notebooks, its likely in Python where you can just have one cell with imports at the beginning. Not using this same model introduces a lot of confusion.


I've added The Synthetic Party the draft of augmented deliberation

I've briefly elaborated upon the chapter of "augmented deliberation" by exemplifying the short section on new and creative data-driven forms of finetuned representation with the case of The Synthetic Party.

If you wish to receive credit, you will have to first post an issue and receive community support.  But if all you wish is for the PR to be accepted, that can happen starting now.  I will vote in favor of the change.

 Gov4Git notices
On Saturday, 01-Jun-24 09:00:29 UTC by Gov4Git dev
Notice ezzy5d
Started managing this PR, using the Plural Management Protocol v1, as Gov4Git proposal 939 with initial approval score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.
Notice uhixcq
This PR's approval score is now 0.000000.
The cost of review is 0.000000.
The projected bounty is now 0.000000.
Notice 5qr4ti
The set of eligible issues claimed by this PR is empty.

If you wish to receive credit, you will have to first post an issue and receive community support. But if all you wish is for the PR to be accepted, that can happen starting now. I will vote in favor of the change.

Yes, this is fine with me. Thought that it seemed an ideal reference here, as it also bridges better to the radically non-human forms of representation via Latour's "parliament of things". If I'm to receive credit, then I think it would be more proper for a more theoretical contribution that doesn't concern my own practice so strictly. Will continue to keep further contributions in mind while doing my theorisations 👍

 Gov4Git notices
On Monday, 03-Jun-24 10:33:30 UTC by Gov4Git dev
Notice kds6ty
This PR's approval score is now 7.000000.
The cost of review is 49.000000.
The projected bounty is now 0.000000.
Notice fnvd2z
The set of eligible issues claimed by this PR is empty.

 Gov4Git notices
On Wednesday, 12-Jun-24 17:46:52 UTC by Gov4Git dev
Notice 76anxw
This PR, managed as Gov4Git proposal 939, has been accepted 🎉
The PR approval tally was 7.000000.
No issues were claimed by this PR.
PR reviewers were rewarded:

Reviewer @glenweyl was rewarded 14.000000 credits

The cost of review of this PR was 49.000000.
A donation of 35.000000 credits from the cost of review was made to the matching fund.
PR approval tally by reviewer was:

Reviewer @glenweyl contributed 7.000000 votes


refactor terraform execution logs

@baixinsui can you please try to test this change for terraform execution on your system?
Today, sometimes it worked and sometimes it did not. So I changed the logic again.
Please let me know if the process hangs for your combination.

@baixinsui can you please try to test this change for terraform execution on your system? Today, sometimes it worked and sometimes it did not. So I changed the logic again. Please let me know if the process hangs for your combination.

I tested the register, deploy and destroy interfaces corresponding to Kafka and K8S services in both Windows and Linux environments, and all of these testing scenarios were successful in the Windows but failed in the Lunix.

As discussed with Xinsui, the job failing in Linux is due to a different issue  and we have a fix for that already. I will open another PR for it.


Add debayer_processing argument

Please ensure the above guidelines for contributing are met.
Fixes Issue: #231
Changes proposed in this pull request:

Add debayer_processing argument to r200_nodelet_rgbd.launch to allow user to disable this parameter.

Thank you !


Add Github Action for protonfixes

Use Pylint to lint fixes and check for valid symbolic links

cc @imLinguin for GH Action permission -- it's not enabled

Enabled now, might need another push to trigger, or having the PR as ready


Error when time_observed_at_utc is null

https://github.com/joanma747/Natusfera4STAplus/blob/0f5699f727671e52994cc3c12c90c407cdcdf794/nat2sta.htm#L1251

in this case I used created_at_utc instead.


Control_R maps to Control_L

When keyd is running, my Control_R key becomes Control_L key even with an empty default.conf
Before:
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
    root 0x799, subw 0x0, time 13887626, (-348,330), root:(1392,364),
    state 0x4, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

After:
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
    root 0x799, subw 0x0, time 14012974, (-335,888), root:(1405,922),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

This is by design, see #114. Is this a problem for you?

But it might be an issue for some users. E.g. since Right Control is rarely used, some users might want to remap to a different key. For example,Meta key

As mentioned in the other thread, you can still remap rightcontrol (e.g rightcontrol = x). I'm closing this for now, but feel free to reopen it if you feel the issue is unsolved.


fix(#732) Option to encode query params

Description
solves: #732
Basically just added a checkbox to toggle the option to encode the query parameters as discussed in the issue
https://github.com/usebruno/bruno/assets/61945879/04c23ced-6939-4ddf-83cc-86adfaaabeca

Hello. This PR would be very useful. @helloanoop, do you plan to merge this feature?

I'd be glad to fix the conflicts or change anything for this to be merged 👍

Hello @helloanoop,
Is it planned to (fix conflicts +) merge this feature in next release please ? It would be really great !

Hey CarlosLecval, are you planning on merging this in soon? It is a much welcome PR, so please ask if you need any help getting things resolved for this PR.

Hello,
just a little up to know if this feature will be available in one of the next releases or if there're some blocking points about it ?


Example images, icons and emoji support not loading on initial example site (possible confusion in initial steps on my end?)

Hello! Lovely hugo theme and personal website! I am currently somewhat struggling with the example site not seemingly rendering correctly? Unless this is intentional, I'm not sure if I've had a misstep in following your (or hugo's) instructions but on initial render, the site doesn't really look like anything from the example images.
P.S. I'm really new to Hugo and setting up websites in general, if I've done anything wrong or this is intentional, my apologies! ,:p

hugo server output:
Watching for changes in /home/rad/Projects/radiistatic/classic/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /home/rad/Projects/radiistatic/classic/hugo.toml
Start building sites …
hugo v0.128.2+extended linux/amd64 BuildDate=unknown

                   | EN
-------------------+-----
  Pages            | 28
  Paginator pages  |  0
  Non-page files   |  0
  Static files     | 13
  Processed images |  0
  Aliases          |  0
  Cleaned          |  0

Built in 112 ms
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

I am afraid I might be missing some dependency maybe? I'm on Arch Linux/EndeavourOS and I've installed both hugo and dart-sass.

Yoooo! I am very glad you appreciate it, @radbirb.
Emojis, let's do those first. Those are easy!
Add this to the config.toml or hugo.toml, whichever you are using.
enableEmoji = true

Maybe helpful. The full toml file used on me' personal site looks as such:
baseurl = "https://goodroot.ca"
enableEmoji = true
enableRobotsTXT = true
ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"]
languageCode = "en-us"
preserveTaxonomyNames = true
publishDir = "docs"
theme = "hugo-classic"
title = "goodroot"

footnotereturnlinkcontents = "↩"

[markup.goldmark.renderer]
unsafe = true

[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ""
lineAnchors = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = "monokai"
tabWidth = 2

[[menu.feed]]
name = "rss"
url = "/index.xml"
weight = 1

[[menu.main]]
name = "Writing"
url = "/categories/writing/"
weight = 2

[[menu.main]]
name = "Music"
url = "/categories/songs/"
weight = 3

[[menu.feed]]
name = "GitHub"
url = "https://github.com/goodroot"

[permalinks]
post = "/post/:year/:month/:day/:slug/"

[params]
custom_css = ["css/theme-override.css"]
description = "Thoughts from the deep."
footer = "<< Be Excellent to Each Other >>"

The images - both the FOX and the PARTYWIZARD are still there. Rockin'. Forever.
But the path is likely incorrect.
The default path is:

While the default configuration is probably:

So your _index.md might look like this:
---
title: Home
description: "The personal writings and expressions of Grayfox, otherwise known as you too and everyone else. It is a loving and silly place."
---

## Welcome, friend

### :purple_heart: :earth_africa: :purple_heart:

Born in [The Abyss](https://en.wikipedia.org/wiki/Edmonton), **Grayfox** - also known as Zerkle Snorp - has spent over two decades fiddling with things on the Internet. Today he does nothing, so stop asking.

Their greatest joys are darkness and its quietudes.

---

## Musings

Alternatively, move the images where they are "supposed to" be: an 'images' folder, not nested inside of static.

That should do it!~
Hugo has changed their base file structure, etc, so my instructions are not correct.
I'll fix it!... Some day!... Maybe!...

Ahhh!!! thank you so much, the example site works perfectly now (your config file was a massive help! (I also found out that hugo for some reason ignored config.toml, so I moved everything to hugo.toml and it started picking everything up right), I'll get to tinkering around some more but I really appreciate it! looking forward to using this for my personal site :] <3

Ya! Enjoy 🖖 !

Thanks! I've the same issue. ❤


nd.pick core dumps on large array

ubuntu@ip-172-31-13-31:~/mxnet$ python
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mxnet as mx
>>> a = mx.nd.ones((256*35, 1024*1024))
>>> b = mx.nd.ones((256*35,))
>>> mx.nd.pick(a,b)
Segmentation fault (core dumped)

Usually large array complains about shape mismatch, this one core dumps immediately.

@eric-haibin-lin I tried reproducing the issue on MXNet v1.3.0 and I could not see the same error :
Python 2.7.15 |Anaconda custom (64-bit)| (default, May  1 2018, 18:37:05)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mxnet as mx
/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
>>> mx.__version__
'1.3.0'
>>>
>>>
>>> a = mx.nd.ones((256*35, 1024*1024))
>>> b = mx.nd.ones((256*35,))
>>> mx.nd.pick(a,b)

[1. 1. 1. ... 1. 1. 1.]
<NDArray 8960 @cpu(0)>
>>>

Can you try to see if you still get this issue ?

How many times did you try? I'm still getting this error. Another attempt on Mac:
➜  Documents python
Python 2.7.13 (default, Dec 18 2016, 07:03:39)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mxnet as mx

>>> a = mx.nd.ones((256*35, 1024*1024))
>>> b = mx.nd.ones((256*35,))
>>>
>>> mx.nd.pick(a,b)

Segmentation fault: 11

Stack trace returned 10 entries:
[bt] (0) 0   libmxnet.so                         0x0000000116231c90 libmxnet.so + 15504
[bt] (1) 1   libmxnet.so                         0x0000000117da3956 MXTVMBridge + 4726662
[bt] (2) 2   libsystem_platform.dylib            0x00007fffbc8c6b3a _sigtramp + 26
[bt] (3) 3   ???                                 0x0000000000000000 0x0 + 0
[bt] (4) 4   libmxnet.so                         0x000000011665782e libmxnet.so + 4364334
[bt] (5) 5   libmxnet.so                         0x00000001177ebfed MXNDListFree + 620189
[bt] (6) 6   libmxnet.so                         0x00000001177658e4 MXNDListFree + 69524
[bt] (7) 7   libmxnet.so                         0x0000000117767e68 MXNDListFree + 79128
[bt] (8) 8   libmxnet.so                         0x000000011776b021 MXNDListFree + 91857
[bt] (9) 9   libmxnet.so                         0x000000011776af3f MXNDListFree + 91631
libc++abi.dylib: terminating
[1]    22838 abort      python
➜  Documents pip2 list | grep mx

mxnet (1.3.1b20181012)


[WIP] Bitbucket Server file fetcher

Initial attempt at adding on-prem Bitbucket Server instances as a file fetcher source (mentioned in the comments of https://github.com/dependabot/feedback/issues/128).
It seems that on-prem Bitbucket Server instances uses a different API to Bitbucket Cloud, so I've created a separate BitbucketServer client for interacting with the API.
Still needs further testing and adding unit tests, but any initial feedback would be welcome 😄

@greysteil congrats on the github news today! Just wonder what that means for integrations like this and other ecosystems like Azure DevOps/Gitlab/Bitbucket?

FYI @Kamiizumi see #1211 for reference on how to implement a PullRequestCreator

Really excited for this feature, any ETA on when it’s going to be finished? 😄

Are there any news on this?

I'm probably not going to be able to look into this anytime soon, as we're moving away from an Atlassian stack to Azure (which Dependabot already has fetchers for). I'm going to close out this PR so it's not left hanging around.
If anyone picks up this feature in the future the following points may be helpful:

Bitbucket Cloud and Bitbucket Server (On-Prem) have different APIs, so make sure you're using the correct API (BitBucket Server's API Docs are quite well documented).
While I was working on this I checked to see if there were any existing Ruby gems for interacting with BitBucket Server, but I wasn't able to find anything actively maintained. So instead I just directly called Bitbucket's REST API (based on the existing Dependabot client for Bitbucket Cloud).

@Kamiizumi - thanks for your work on this and providing clarity for anyone else who wants to pick it up.


Should have possibility to set global defaults

Fe. having to be able to force timout globally (ie. anyone who just requires request will get it with that default setting) would be greatly appreciated. Just had an issue where requests didn't have timeouts and they started piling up on the internal API load balancer, which then caused other issues.
In order to have correct settings set, having to call defaults with correct optiosn every time you use request is a bit on the dangerous side, especially on diverse teams.
On app.js, just being able to call something like...
require('request').globalDefaults({
  timeout: 10*1000
});

...could be hugely beneficial. Or even setting custom headers etc.
In this case, I ended up fixing the issue by duckpunching .get, .post etc. shorthand methods with logic that adds timeout to the requests. Not a pretty solution but works for now.

I think I'm -1 on setting global defaults in this way, you don't know what other code may be running using the same request module.  Here's what I'd recommend instead:
In lib/request.js
exports.request = require('request').defaults({
    timeout : 10000
});

In your other files:
var request = require('./lib/request');

Alright, fair enough, but would it at least be possible to have reasonable defaults on it? Since now by default it's effectively creating requests with infinite timeouts, which should be only needed in few very special cases.
In any normal case, having ~20 second timeout is more than enough, since if there is no response in that time, something has gone wrong. And if someone has long running requests they can opt-in to set the timeout to infinite. Ie. the default behavior would have reasonable defaults with opt-in for really long running requests.


Add Agriculture

https://github.com/beaorn/awesome-agriculture
Awesome Agriculture is a collection of open source and/or free tools, software and APIs related to Agriculture. It also includes open source API clients and tools to work with proprietary APIs and data formats. This list aims to remedy the fact that there isn't really a good place to find out about ag and farming related open source software projects easily in one place.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title.For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with these requirements:

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either fullwidth or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.
Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of sub-lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

Cool idea!

Thanks @sindresorhus  and sorry about not following all the guidelines properly on first submit.
I just updated the list to fix the following issues, I'm hoping this cleaned everything up:

Table of Contents section heading fixed as specified in guidelines
Made the list description more succinct
Fixed consistency issues in list item formatting, reduced some of the description lengths, added periods at ends of descriptions
Removed unnecessary sub-sections

Includes a succinct description of the project/theme at the top of the readme. (Example)

⬆ Should describe agriculture.

Linkify Agriculture in A curated list of awesome open source tools, software and APIs related to Agriculture. to https://en.wikipedia.org/wiki/Agriculture

Any related communities you could link to? Like reddit, forums, etc?

❯ awesome-lint https://github.com/beaorn/awesome-agriculture
✖ Linting

  README.md:22:1
  ✖    1:1   Missing License section                                        remark-lint:awesome/license
  ✖    1:1   Missing or invalid Table of Contents                           remark-lint:awesome/toc
  ✖    9:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   10:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   11:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   12:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   13:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   14:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   15:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   16:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   17:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   18:3   Invalid list item link URL                                     remark-lint:awesome/list-item
  ✖   22:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   26:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   27:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   28:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   29:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   30:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   31:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   32:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   33:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   34:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   38:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   42:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   43:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   43:3   Link to https://github.com/woodardjoshua/Ag-Analytics is dead  remark-lint:no-dead-urls
  ✖   44:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   45:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   46:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   47:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   51:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   52:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   53:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   54:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   54:68  List item description must start with valid casing             remark-lint:awesome/list-item
  ✖   55:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   56:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   57:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   58:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   58:96  List item description must start with valid casing             remark-lint:awesome/list-item
  ✖   59:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   60:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   61:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   62:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   63:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   64:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   68:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   69:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   70:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   71:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   77:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   81:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   85:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   86:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   86:59  List item description must start with valid casing             remark-lint:awesome/list-item
  ✖   90:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   91:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   92:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   93:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   94:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   98:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖   99:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖  103:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖  104:1   Marker style should be -                                       remark-lint:unordered-list-marker-style
  ✖  105:1   Marker style should be -                                       remark-lint:unordered-list-marker-style

  65 errors

https://github.com/sindresorhus/awesome-lint

Can you fix the merge conflict?

Includes a succinct description of the project/theme at the top of the readme. (Example)

https://github.com/sindresorhus/awesome/pull/1316/files#r205952906

@sindresorhus merge conflict is fixed and verified awesome-lint no longer returns any errors, hopefully got everything fixed. Thanks!

There's still https://github.com/sindresorhus/awesome/pull/1316#discussion_r205952906

There's still #1316 (comment)

Sorry, that should be corrected now

If there is anything on my end lacking to prevent this from getting merged let me know and I will fix it asap. Thanks!

Tweet: https://twitter.com/awesome__re/status/1102226507353620480


CollectionLayout/docs: clarify scroll direction vs layout direction

Back to https://github.com/IjzerenHein/famous-flex/issues/61, I thought the issue worthy of clarification in the docs :)

Done :)


endpointmanager: unmap ip for lookup

In case of an IPv4-mapped IPv6 address we'd lookup the address as an IPv4 address with a ::ffff: prefix, leading to endpoint lookup errors such as
cannot find endpoint with IP ::ffff:<IP_ADDRESS>

Fix this by explicitly unmapping the address before lookup which leads to <IP_ADDRESS> to be looked up (and found) in the above case.
Fixes: 54a896c5ab9a ("endpointmanager: Use netip.Addr instead of net.IP in LookupIP")

/test


AWS problem with images without python

Followed the guide and got this problem:
scilife-47-157:KubeNow staffan$ ansible all -m ping
kubenow-master | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "/bin/sh: 1: /usr/bin/python: not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE"
}
kubenow-edge-000 | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.\r\n/bin/sh: 1: /usr/bin/python: not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE"
}
kubenow-edge-001 | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.\r\n/bin/sh: 1: /usr/bin/python: not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE"
}

I specified the src image ID instead of the KubeNow image ID


Token with Customer ID

Can we use this plugin to pass CustomerID and get ClientToken to retrieve saved card details depends on CustomerID?
Please advise.

You should never generate a specific client token on the client side because you would need to ship out your very personal merchantId, publicKey and privatekey in your client app.
Generate it on your server side e.g. web service instead and retrieve through a secure http get call in your client.
Here's the code and documentation from braintree if you use a node.js (drop down on top for other programming languages) server: https://developers.braintreepayments.com/start/hello-server/node#generate-a-client-token
Hope that helps you!


[Breaking] knative/hack#172 broke upgrade-deps at library.sh#L653

https://github.com/knative/hack/blob/123a2783c4d8e4091e1625e0410d9f60c9a18e1a/library.sh#L653
It should be
go_run knative.dev/test-infra/buoy@latest float ...

/kind bug

/assign


Split Brain DNS

Unsure how to deal with.  For now, I'm going to use the private DNS.  That prevents users from developing from their laptops.  I'm waiting for a response from Chris and Kyle.

It sounds like a new feature may be coming later in the month that will deal with this issue.

Actually, I think I misread that.    You might be able to put something together with DNS or by finagling the host file like we do on Azure.

With globally routable private IPs this doesn't seem to be much of an issue.  The only use case not supported is connecting a dev box from outside google without a tunnel.  But you could use a tunnel easily.  I'm closing this as unneeded now.


caches: disable more components for the toolchain build

Windows builds in waves:

build build tools
build tools (compilers, debuggers, linkers, assemblers)
build runtimes (Swift runtime, standard library, experimental libraries)
build core libraries
build Swift tooling

We do not need to build the C++ interop module at the moment when building the tools.  This disables that and the extra content which currently does not result in any artifacts.

CC: @airspeedswift @DougGregor @hyp
This is a cherry-pick from main that should repair the build for Windows nightlies.  This is just impacts the nightlies which use this file for configuration data for the build and has no impact on the actual compiler or standard library.

@swift-ci please test

This is presumably because we're not doing any bootstrapping on Windows?

@DougGregor correct, because of the size of the toolchain, we cannot both install and build the toolchain on the builders.


add the template for community track

Types of changes

[ ] Bugfix
[x] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)

Description
Describe what the change is
add the details for the community track
Steps to Test This Pull Request
Steps to reproduce the behavior:

Go to Events > Talks
add a hyperlink for Community Track

Related Issue
#840
More Information
I'm not sure if the style of hyperlink for community track is correct.

Codecov Report

Merging #850 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #850   +/-   ##
=======================================
  Coverage   76.37%   76.37%
=======================================
  Files          70       70
  Lines        2688     2688
=======================================
  Hits         2053     2053
  Misses        635      635

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 a452e11...5ba17bc. Read the comment docs.

感謝提交!! <3 看起來很不錯，請問，要把哪一個場地配哪一個社群列出來，才發佈到 production 嗎? 還是這樣的資訊就出來了呢?


fix: Switch to upstream go-git. Fixes CVE-2023-49569

This fixes a critical severity vulnerability https://www.cve.org/CVERecord?id=CVE-2023-49569. We cannot use the existing fork anymore. Security is always the highest priority.

✗ Critical severity vulnerability found in github.com/go-git/go-git/v5
  Description: Path Traversal
  Info: https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOGITGOGITV5-6150754
  Introduced through<EMAIL_ADDRESS>  From<EMAIL_ADDRESS>  Fixed in: 5.11.0

We cannot use the existing fork anymore. Security is always the highest priority.

It seems like we were planning on this anyway in #11483 and #11149, in particular since upstream go-git had become maintained again and Argo CD was using upstream as well. I wasn't involved then though, so I don't know the full context.

This fixes a critical severity vulnerability https://www.cve.org/CVERecord?id=CVE-2023-49569.

For reference, the details:

Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

So this only has impact if you have an untrusted Git server. For the principles of zero trust, this is definitely still very important to fix (especially as trusted Git servers can be hacked or supply chain attacked too), but most people will probably not be impacted by this as they use an enterprise vendor


Debugging code containing NEST methods prompts Visual Studio to save the related .cs file

When debugging my code that contains NEST methods, Visual Studio will pop up a save dialog box prompting me to save whatever related NEST .cs file is associated with the method in use. Canceling the save request makes debugging, particularly anything involving loops or repeated calls, extremely difficult.
Is there a reason for this and a way to avoid this from happening going forward? I just want to step through my code and seeing that NEST is simply a reference library for my project, I don't particularly care what the NEST method I'm stepping over looks like.
Is this an issue with Copy Local set to true (by default it appears)? I'm on VS 2013. Thanks.

I'm also having this problem. I understand your solution, but I think it's a solution to a different problem. As @Ellesedil says I don't want to step into the NEST source, I just want to have the call treated as a call to Entity Framework or JSON or whatever and not be prompted to delve into a third party source code.


refactor(sql): move getcharbyname logic to c#

Closing in favour of a monolithic branch for the refactoring.


SDK Key issue

Hi,
I follow the guide to use react-native-wikitude and put a local URL for startAR :
Wikitude.startAR('experience/index.html', false, true, true, "MyLong_SDKKEY_here"
And when the app start, I have a wikitude message : License Key missing
Could you help me figure where I messed up ?
See you

Hi,
Are you experincing this issue even when you replace MyLong_SDKKEY_here with your SDK key from Wikitude?

I am experiencing the same issue, with an actual SDK key from wikitude. I've tried to generate a trial key, and now it says Trial instead of License Key missing, but i wasn't able to do anything else.

Same issue :(


Possible memory leak

Hello,
After playing several days with lighterhtml trying to wrap template/render functions with classes (long story short), I found there is a WeakMap inside
function outer(type) {
  const wm = new WeakMap;
....

which gets filled with identities after every call to
html.for(myidentity)

and there is no chance to cleanup if my template/render function (or class instance in my case) goes out of scope;
I know it is a WeakMap after all, but inspecting  and debugging invocations of tag.for :
tag.for = (identity, id) => {
    const ref = wm.get(identity) || set(identity);
    if (id == null)
      id = '$';
    return ref[id] || create(ref, id);
  };

shows every time the call to html.for occured the map grows up and never shrink.
I'd rather go to manually clean entries if the map itself is publicly exposed, is that possible.
Thanks for your effort on lighterhtml

how are you profiling this? 'cause if it's via Chrome/ium dev tools there is a bug they have-not' solved yet, and it's about the fact the tools doesn't show real status and you need to manually collect garbage to see that there are actually no leaks: https://bugs.chromium.org/p/chromium/issues/detail?id=924523
TL;DR it's a WeakMap, you should never care about cleaning it up and no, unless proved differently, it doesn't leak.

Yes, it is a Chrome dev tools indeed.
I'd rather expected a chance to manually clean up some unused entries to reduce memory usage when a complex layout changes through conditional logic.
Thanks again

Just to clarify: there are no testable or observable memory leaks in lighterhtml, neither in this issue.
Leaks could be used by thousands reasons, and you're blaming the library that is using a WeakMap, which is a leak-proof primitive.
Accordingly, this bug is invalid, irrelevant, based on speculation, unless proven wrong.
Possible leaks around the WeakMap:

you actually retain all references so that WeakMap cannot cleanup its content
you actually retain all nodes generated by html.for so that leaks are not in the WeakMap, rather in the surrounding logic

Exposing the WeakMap won't solve any of these issues, but it will, instead, expose an important internal bit that might cause undesired side effects.
If you want to cleanup its content, simply replace whatever reference you are passing, with its own clone.
Alternative, please provide a minimal example that demonstrate this library suffers from memory leaks, thanks.

Here is the codepen for what I'm working on
https://codepen.io/ludmiloff/pen/axPgjE
Between 2 - 5 value of master counter inside the App class the weak map should contain only 1 entry... What is strange, I noticed a correct behaviour (map contains only one entry) 1-2 times during codepen reloads, but cannot reproduce it on fresh copy in another browser;
And to be clear, I'm not blaming you nor the library, just trying to improve things, and I might be wrong or my use case is somewhat incorrect usage of lighterhtml (not a js expert really).

There are various things in that demo that are not ideal, and few of those have been solved in this counter-demo.

Between 2 - 5 value of master counter inside the App class the weak map should contain only 1 entry...

You're not get to know how many entries has a WeakMap. A WeakMap is not a Map.

And to be clear, I'm not blaming you nor the library, just trying to improve things

No. You are taking care of things you shouldn't. Nobody should need to clean up a WeakMap, specially with that kind of example, where the WeakMap will be cleaned up whenever the browser, not you, decides it's appropriate.
That's what the WeakMap is for. You don't need to clean it up: when whatever referenced is not referenced anymore, the WeakMap cleans up whenever it likes without you needing to bother.
If you have WeakMaps that never clan up, it means you are holding references so it means you are leaking into memory.
It also looks to me you come from PHP where restructuring has a meaning ... in JS world destroy is considered an anti pattern: just get rid of that reference, and you won't have memory leaks.

P.S. apologies for the abundance of typos, please read my answer again (I've edited it)

Looking to your demo I see an ideal solution  this.html = html.for(this) and, yeah, given the WeakMap would clean itself whenever it likes (I didn't expect such behaviour), then yes - this is perfect to me.
Thanks


fix misc things

Issues
Fixes #
Reviewer Suggestions
Where should the reviewer start?
Additional Comments
Anything else?

:tada: This PR is included in version 1.2.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


sokol_app.h emsc: remove hardwired key event consumption table in _sapp_emsc_key_cb()

...this is causing all sorts of problems when there are other page elements outside the wasm app which need to receive keyboard input.
Instead offload the responsibility to the application by calling sapp_consume_event() from the event callback.
Related issues and PRs: #822 , #800, #801

This sorta fixed with #939.


Get correctly localhost for Android emulator

Use NativeModules.AndroidConstants to get correctly localhost <IP_ADDRESS> (Genymotion: <IP_ADDRESS>) for Android emulator.
It mean we will never need use add reverse for Android emulator.

Lovely!


kofi for nicknsy/jellyscrub team

I love this feature so much and i use it constantly.  I need a better way to thank you. Get a kofi so i can better convey my gratitude :)

Hey, I appreciate that you like the plugin! I've signed up for github sponsors so I believe there is a button on my profile that allows for donations. However, just so you know, this is only a project I work on in my free time so money/donations have no bearing on updates, support, or whatever else, so don't feel obligated to spend money on this.

Nice dude! Check your donations. 😎 It's not much but i appreciate the work you have done!