Bigtable data operation mutate rows

@sduskis @dwsupplee @jdpedrie can you please review?

@fiboknacky fixed. PTAL

LGTM from the request I asked. Thanks!


[5.8] Allow tuple notation when defining Gates

This PR allows Gates to be defined using tuple notation.
The idea here is similar to tuple notation used when generating action urls.

You add a test-case for [AccessGateTestClass::class, 'foo'], but isn't this already a valid callable syntax?

Yes. You guys are right.
I'm going to close this PR and maybe submit a new one with a test that covers that case just to be explicit about it.
Thanks!


ELECTRON-573 (Disable automatic detection of language and set system locale)

Description
Disable automatically detection of language for Windows OS ELECTRON-573
Approach
How does this change address the problem?
Problem with the code:

Automatic detection of language requires input HTML tags as it is currently not supported for RTE

Fix:

Disable automatic detection of language and set the default language to the system locale

Issue

Related PRs
List related PRs against other branches:

branch
PR

SymphonyElectron(r52)
link

Spectron tests result
ELECTRON-573 — Spectron.pdf
Unit tests result
ELECTRON-573 — Unit Tests.pdf
Open Questions if any and Todos

[X] Unit-Tests
[X] Documentation
[X] Automation-Tests

i guess question i was asking was, what if user changes lang through our settings menu, how does this get update here?

why do we want to do something fancy like detection when switching on the fly.  is there a use case for this?  rather why not just update as user changes preferences in symphony settings and use the symphony as the lang???

This is done by chrome as well I believe. @KiranNiranjan correct me if I'm wrong.
another scenario is to provide users ability to have spell-checking done for multi-lingual communictions

Closing this PR as the respective R52 PR been merged to master


minor: add missing 'Twig' language identifiers

Whoops. Seems like I missed them.
PS: Can you please tag a new release?

I've done the release now, enjoy!


Prevent Filenames longer than 8 characters

The length of the filename in the SD Block must < 8 Characters. Implement a feature to prevent filenames longer than 8 characters.

FAT file systems have a limitation when it comes to naming conventions. You must use the 8.3 format, so that file names look like “NAME001.EXT”, where “NAME001” is an 8 character or fewer string, and “EXT” is a 3 character extension. People commonly use the extensions .TXT and .LOG. It is possible to have a shorter file name (for example, mydata.txt, or time.log), but you cannot use longer file names. Read more on the 8.3 convention.

You can use the following regex:
(^[\w,\s-]{0,8})+\.[A-Za-z]{3}$


Multiple API support is unclear?

The section on "Can I use multiple APIs to access my data?" is a bit unclear.
"Where multi-model means Azure Cosmos DB supports multiple APIs and multiple data models, different APIs use different data formats for storage and wire protocol. For example, SQL uses JSON, MongoDB uses BSON, Table uses EDM, Cassandra uses CQL, Gremlin uses JSON format. As a result, we recommend using the same API for all access to the data in a given account."
The above implies that I could create an account with the MongoDB API and access it using any of the other API's.
Is this really correct or do you have do use the MongoDB API only if the account was created selecting the MongoDB API?

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

ID: 75154d08-47ff-fa53-1dab-73f67208a864
Version Independent ID: dcb50b3c-b00b-cee8-3dfe-7f5636483f0b
Content: Frequently asked questions on different APIs in Azure Cosmos DB
Content Source: articles/cosmos-db/faq.yml
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

Hi @olavt Thanks for your feedback! We will investigate and update as appropriate.
Regards
Geetha

The last sentence is the operative one.

Each API operates independently, except the Gremlin and SQL API, which are interoperable.

"Each API operates independently, except the Gremlin and SQL API, which are interoperable."
I still think this sentence is unclear. What does it mean that an API operates "independently" or "interoperable"?

Independently, meaning you cannot access the data from more than one API endpoint simultaneously.
Interoperable, meaning you can access the data from both a SQL API and Gremlin endpoint simultaneously.
To see this in action, create a Gremlin API account and navigate to the Cosmos DB Overview tab in Azure Portal. There you will observe both a SQL API endpoint as well as a Gremlin endpoint which can be connected to via one of the Cosmos DB SDK's and Gremlin client depending on which endpoint you want to connect to.

Ok, I think it would be great to provide an easier to understand explanation for "Independently" and "Interoperable" in this context as I don't think that is clear to most readers.

Thanks. We've not seen any feedback other than yours for this doc. We will keep this on our backlog and if we begin seeing additional data this is causing confusion, we will take another look at modifying the passage.
Thanks again.
#please-close


Settings tab does not close on "Ctrl+w" keymap action

Lapce Version
Nightly c539f7a205ec056b6bceed963b61165e9f430353
System information
Fedora 38, Wayland
Describe the bug
When trying to close the settings or keymapping editor, the Ctrl+W action to close a tab does not work. It does work in text editors.
Additionally, when closing with the mouse, keys are not registered after closing the tab until you click somehwere. So the command palette cannot be opened right after closing a tab.
Additional information
I suppose the focus isn't set after closing a tab.

Ok, I tracked down the issue: it is that the keymap expects insert mode, but on settings and keymap configuration, the returned mode is normal.
Is there any reason for ctrl+w to require insert mode? I suppose the other split commands maybe? In that case, what is the best way to proceed? Is it possible+sensible to make settings editors return mode insert?


bordermatrix in MathJaX

It would be nice to have the option to use bordermatrix in MathJaX. Like below.
 @ #

@DayuanJiang, I ended up just nesting a whole bunch of matrices:
$$\begin{matrix}
 & \begin{matrix}A&C&G&T\end{matrix} \\\\
\begin{matrix}A\\\\C\\\\G\\\\T\end{matrix} &
  \begin{pmatrix}1&2&3&4\\\\3&4&5&6\\\\3&4&5&6\\\\3&4&5&6\end{pmatrix}\\\\
\end{matrix}$$

which yields:

It's not perfect but hopefully close enough..

@ArtPoon
Too many backslashes..
Anyway, thanks for the solution.

@DayuanJiang, you may already know this but the extra backslashes are a workaround for displaying MathJax in HTML (see http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents).

extra backslashes are a workaround for displaying MathJax in HTML

I'm guessing you mean markdown (though some markdown processors have specialized TeX handling and do not require escaping).
For HTML, you'd primarily need to escape &, <, >.

Yes I'm using revealJS with Markdown.  I was going to elaborate but then figured it was too much info :)

As a reference I have this macro:
        bordermatrix: ['\\newcommand\\bordermatrix[3]{ \\begin{matrix} & \\begin{matrix}#1\\end{matrix} \\\\ \\begin{matrix}#2\\end{matrix} \\hspace{-1em} & #3 \\end{matrix}}', 3]

Usage \bordermatrix{top labels}{left labels}{content}:
\bordermatrix{A&C&G&T}{A\\C\\G\\T}{
  \begin{pmatrix}1&2&3&4\\3&4&5&6\\3&4&5&6\\3&4&5&6\end{pmatrix}
}

This is the best for me:
\begin{matrix}
& \\
K_1 = \cfrac{EI_b}{L^3_b} \cdot
    \left ( \vphantom{ \begin{matrix} 12 \\ 12 \\ 12 \\ 12 \end{matrix} } \right .
\end{matrix}
\hspace{-1.2em}
\begin{matrix}
    y_1 & \theta_1 & y_2 & \theta_2 \\ \hline
    12 & 6b & -12 & 6b \\
    6b & 4b^2 & -6b & 2b^2 \\
    -12 & -6b^2 & 12 & -6b \\
    6b & 2b^2 & -6b & 4b^2
\end{matrix}
\hspace{-0.2em}
\begin{matrix}
& \\
\left . \vphantom{ \begin{matrix} 12 \\ 12 \\ 12 \\ 12 \end{matrix} } \right )
    \begin{matrix}
    y_1 \\ \theta_1 \\ y_2 \\ \theta_2
    \end{matrix}
\end{matrix}

Result:


question about the last version 7.0.23

thanks for you work i have question this version 7.0.23 works on cpy crack ?

I think nop, this my last 7.0.23 is the wrost cracked version published here, since others don't works i think this will not work.
I will update it after... maybe... but i think will not work with cpy crack.

Where can I download 7.0.23 version? I must be blind...

Hey a question what version do you think is the best  cracked version published here.

for now, maybe the FAR_0_7_0_9.7z

thankyou

for CPY version.
Edit default_dinput8.ini and dinput8.ini, Find
[Steam.Log]
Silent=false

change false to true and FAR working fine

@MayKiller Thankyou


pull request for e2e test at 12/23/2016 05:15:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


new japan extension broken

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ x] I've verified and I assure that I'm running youtube-dl 2018.10.29

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones
[ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
C:\Users\Samuel\Downloads\youtube-dl>youtube-dl -v https://njpwworld.com/p/o_original_0102_03
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://njpwworld.com/p/o_original_0102_03']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.10.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-92087-gdcbd89e000, ffprobe N-92087-gdcbd89e000
[debug] Proxy map: {}
[NJPWWorld] o_original_0102_03: Downloading webpage
[NJPWWorld] o_original_0102_03: Downloading player page
[NJPWWorld] o_original_0102_03: Downloading m3u8 information
[NJPWWorld] o_original_0102_03: Downloading player page
[NJPWWorld] o_original_0102_03: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://aka-amd-njpwworld-hls-vod.akamaized.net/1239/1364_1920_12260_e11b6b9c57a2a6f4110e88a474ef8efb_16158991_1904000_1280_720_47_20180107192338.m3u8'
[download] オリジナル ENTRANCE VTR KAZUCHIKA OKADA ENTRANCE VTR 2018.1.4 WK12 ver. _ njpwworld.com 新日本プロレスワールド-o_original_0102_03.mp4 has already been downloaded
[download] 100% of 62.79MiB
[debug] ffmpeg command line: ffprobe -show_streams "file:オリジナル ENTRANCE VTR KAZUCHIKA OKADA ENTRANCE VTR 2018.1.4 WK12 ver. _ njpwworld.com 新日本プロレスワールド-o_original_0102_03.mp4"
[ffmpeg] Fixing malformed AAC bitstream in "オリジナル ENTRANCE VTR KAZUCHIKA OKADA ENTRANCE VTR 2018.1.4 WK12 ver. _ njpwworld.com 新日本プロレスワールド-o_original_0102_03.mp4"
[debug] ffmpeg command line: ffmpeg -y -i "file:オリジナル ENTRANCE VTR KAZUCHIKA OKADA ENTRANCE VTR 2018.1.4 WK12 ver. _ njpwworld.com 新日本プロレスワールド-o_original_0102_03.mp4" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:オリジナル ENTRANCE VTR KAZUCHIKA OKADA ENTRANCE VTR 2018.1.4 WK12 ver. _ njpwworld.com 新日本プロレスワールド-o_original_0102_03.temp.mp4"
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://njpwworld.com/p/o_original_0102_03
Single video: https://njpwworld.com/p/s_archive_108_1_all
Playlist:

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
it seems as all though NJPW World may have changed there links as i can confirm it worked on 6th of october, 2018 as i was able to get the first link then, i then tried it again today and using the -f function gives you a
'Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.'
i also have a paid subscription for the site already, and does not work with free or paid stuff as shown
Thank you and hope it can work once more :)

What exactly is invalid? It clearly won’t download these files anymore... I’m not the only one having this issue.... and answers aren’t exactly helpful


Automate APK release

Suggestion / Feature Request
Add a github workflow to automate creating a release apk and then creating a release on github

pls assign

k


WandbLoggerHook doesn't log validation loss

I was trying to use wandblogger with some of my runs but unlike tensorboardlogger it doesn't log val losses or accuracy.
I edited my config file to add
workflow = [('train', 1), ('val', 1)]
What might be the issue here?

Can you give this dedicated logger a try #7459 and see if it is able to log your validation metrics? It's still a PR though.

Closed due to no reply for more than 8 days.

Can you give this dedicated logger a try #7459 and see if it is able to log your validation metrics? It's still a PR though.

Hi @ayulockin I have tried to use your dedicated logger after it was merged. But when trying to run with MMDetWandbHook logger I get this error
Traceback (most recent call last):
  File "D:\Leon\SpikeDetection\Wheat\tools\train.py", line 237, in <module>
    main()
  File "D:\Leon\SpikeDetection\Wheat\tools\train.py", line 226, in main
    train_detector(
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\apis\train.py", line 244, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\epoch_based_runner.py", line 108, in run
    self.call_hook('before_run')
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\base_runner.py", line 309, in call_hook
    getattr(hook, fn_name)(self)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\dist_utils.py", line 129, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\core\hook\wandblogger_hook.py", line 142, in before_run
    self.wandb.save(src_cfg_path, base_path=runner.work_dir)
  File "C:\Users\leonh\anaconda3\lib\site-packages\wandb\sdk\wandb_run.py", line 222, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\leonh\anaconda3\lib\site-packages\wandb\sdk\wandb_run.py", line 1579, in save
    return self._save(glob_str, base_path, policy)
  File "C:\Users\leonh\anaconda3\lib\site-packages\wandb\sdk\wandb_run.py", line 1633, in _save
    os.symlink(abs_path, wandb_path)
OSError: [WinError 1314] A required privilege is not held by the client: 'D:\\Leon\\SpikeDetection\\Wheat\\work_dirs\\retinanet\\retinanet_r50_bifpn_2x_coco.py' -> 'Wheat/work_dirs/retinanet/wandb\\run-20220617_154947-11j6i2bq\\files\\
retinanet_r50_bifpn_2x_coco.py'
wandb: Waiting for W&B process to finish... (failed 1). Press Ctrl-C to abort syncing.

I don't know what is causing this issue and your help would be much appreciated.

The error is happening in this line inside MMDetWandbHook - self.wandb.save(src_cfg_path, base_path=runner.work_dir). This line is simply trying to write the config file to the work_dir. In your case the config file  at D:\\Leon\\SpikeDetection\\Wheat\\work_dirs\\retinanet\\retinanet_r50_bifpn_2x_coco.py is to be written to Wheat/work_dirs/retinanet/wandb\\run-20220617_154947-11j6i2bq\\files\\ retinanet_r50_bifpn_2x_coco.py.
The OSError is stating that you don't have the required permission to do so. Having said this, I would like to know if you are using your own system or a public windows system (college, library, etc.)? Plus I would check on my end if wandb.save fails on a windows system (it should but will check anyway).

Hey @MABatin, having looked closely this seemed to be a reported issue.
On what version of W&B are you?
To quickly fix this you can run your code with administrator privileges. Or you can follow the suggestion in the issue linked above. I will get confirmation on my end if this is something we have fixed.

@ayulockin Thank you for your quick response. I am using my own system with Windows 10 and wandb version 0.12.16. Running the code with administrator privileges seem to solve the OSError but now the following error is occuring.
Traceback (most recent call last):
  File "D:\Leon\SpikeDetection\Wheat\tools\train.py", line 237, in <module>
    main()
  File "D:\Leon\SpikeDetection\Wheat\tools\train.py", line 226, in main
    train_detector(
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\apis\train.py", line 244, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\epoch_based_runner.py", line 108, in run
    self.call_hook('before_run')
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\base_runner.py", line 309, in call_hook
    getattr(hook, fn_name)(self)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmcv\runner\dist_utils.py", line 129, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\core\hook\wandblogger_hook.py", line 200, in before_run
    self._add_ground_truth(runner)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\core\hook\wandblogger_hook.py", line 379, in _add_ground_truth
    wandb_masks = self._get_wandb_masks(
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\core\hook\wandblogger_hook.py", line 535, in _get_wandb_masks
    mask = polygon_to_bitmap(mask, height, width)
  File "C:\Users\leonh\anaconda3\lib\site-packages\mmdet\core\mask\structures.py", line 1069, in polygon_to_bitmap
    rles = maskUtils.frPyObjects(polygons, height, width)
  File "pycocotools\_mask.pyx", line 292, in pycocotools._mask.frPyObjects
IndexError: list index out of range

From what I understand, this might be because the logger is trying to get mask information when there is none (my dataset indeed has no mask annotations). But this shouldn't be the case and what might be the fix for this?


Function to get the width of a string in pixels when drawn at a given size

It would be nice to have a function to get the width of a given string in pixels when it is drawn at a particular width, similar to graphics_text_layout_get_content_size from the Pebble SDK.  Alternatively, fctx_draw_string could return that value.
Would you consider adding this functionality (or is it already there and I missed it)?

Hmm... you are right, that should be exposed as a function.

Looking at the source code, this should actually be very simple to do.  I'd be happy to take a stab and give you a pull request, if you want.  Does having a function fixed_t fctx_string_width(const char* text, FFont* font) sound good to you?  Or would you prefer some other kind of API?

You are going to need to pass in the FContext* as well, so that you can scale the width appropriately.  But otherwise, that is a good function signature I'd say.

And... there is totally a bug in the string width calculation in fctx_draw_string.

In that case I'll leave this ticket to you, because I was going to use the code in fctx_draw_string (which doesn't use a FContext).

Fixed in commit 589a1a1a04d520579b1261ceb8f73ef136dcf21f (v1.6.2).

Great, thank you a lot!  Great library :-)


Develop Scheduler

I started a first approach of the scheduler based on what I was reading and researching on the web.
I have some doubts about the context of the process (opening, closing, etc) so I'll see if I can do some more research on that. I'm going to start looking a little bit at Intel's TSS implementation.


Typo in "Preperation"

There is a typo, when a new note is created, it says "Preperation" but it whould be "Preparation".
Is it also possible to change the default note name to the date at least instead of Untitled?

This got fixed in #2 I did not get around to push a new version, I'll look into the default name and try to bundle it in a new update.

Added renaming of files to V1.0.5 and published it!


Add resource subtype to masthead

Some resources like Service and Secret have a type (service) but also a Subtype (ClusterIP). This exposes the mechanism to set that from the resource.
Note: I personally not sure I like the view on edit. Long names and mixed caps look weird to me but I am not sure there is much to do unless we dont want to display it on edit at all? Open to suggestions.
rancher/dashboard#1073
View On New:

View on Edit:

The h1 makes little sense to me, I saw edit at some point became {type}: Edit {type}: {name} but didn't get to fixing it. It used to be just Edit {type}: {name} and saying the type twice is just a mistake I think.
As a phrase, subtype makes sense before the type:
Edit {subtype} {type}: {name}

I'm not sure what is going on but the new commits I have pushed are not showing up in this PR. Even though I can compare the branch to master and see the new commits. Github wont let me open the new pr while this is open so I am going to close this PR in favor of the new one that actually has my changes.


Reformatting Layers

Similar to previous PRs, reformatting the Layers into separate files.

Quick Note on the most recent push: I made the entanglement folder separate and put the previous entanglement gates there along with the Op2 gates.


Verify building with Docker

What would you like to be added:
Sub-issue of #339
The process of building container images should be guarded by tests. Currently, its possible to change the Dockerfile to use any base image and include any extra code.
When building with cip-image.sh we can verify:

Base images of each container
Size constraints
Number of image layers (this may change based on relied upon base images)
Running processes (docker top <container>)

Why is this needed:
The make targets image-push-cip-auditor-e2e and image-push both rely on push-cip.sh to effectively build images correctly. Currently, if this script is modified, or broken, pre-submits will not warn of such a failure. Adding a test for the push-cip.sh will ensure the reliability of both make targets. Additionally, testing the contents of the images will strengthen trust of provenance in our container builds.
/assign
cc: @listx @amwat @justaugustus @kubernetes-sigs/release-engineering

Closed via https://github.com/kubernetes/test-infra/pull/22619
/close

/assign


Fix query genshin transaction log

I'm just gonna give you collaboration permissions at this point

I'm just gonna give you collaboration permissions at this point

Thank you.


quic: attempting to fix non-linux QUIC builds

Upstream HTTP/3 android build is breaking becasue the udp gso libraries are bazel-selected out but the includes aren't:
https://github.com/envoyproxy/envoy-mobile/pull/1717/checks?check_run_id=3487450075
I think this will fix (or at least get us to the next compile error)
Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: hopefully fixing android build

api_compat failure is a known failure (which I can merge past)


Unity game crash on Android

Hi!
I have a problem when run my game (using Unity engine) on android. My game crashed when build with Scripting Backend IL2CPP, but working on Mono2x.
Enviroment:

OS: macOS Sierra 10.12.3
Unity 5.5.0f3
LiteNetLib: latest commit fd58793

If I disable the code lines on NetSocket.cs (see the sample project in LiteNetUnity.zip), game run without crash:
_udpSocketv4.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.DontFragment, true);
_udpSocketv6.SetSocketOption(                         SocketOptionLevel.IPv6,                          SocketOptionName.AddMembership,                         new IPv6MulticastOption(MulticastAddressV6));
I don't know what happen when disable it :)
Sorry for my poor English!

This is unity bug (IL2CPP). Better will be post this at unity bugtracker.
I can add #if ... #endif but IPv6 users will remain without DiscoveryRequset method. And will have some other issuses.

Ah, this is bug of unity, I don't realize it 👍
What kind of "some other issuses"? It will effect to use this library for multicast (using only IPv4) and natpunchthrough?

Try leave don't fragment option or use:
_udpSocketv4.DontFragment = true

instead of
_udpSocketv4.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.DontFragment, true);

It this helps - notify me)

I will try soon. Thank for your help.

Hi, sorry for my late.
In my old enviroment, it runs without crash when use your suggest:
_udpSocketv4.DontFragment = true
I my new enviroment, I upgraded Unity to latest version (5.5.2f1), use latest commit f62cfa1, and because Unity not support (Protocol option not supported), I disable only following code:
_udpSocketv6.SetSocketOption(
                        SocketOptionLevel.IPv6,
                        SocketOptionName.AddMembership,
                        new IPv6MulticastOption(MulticastAddressV6));

build Android with enabled IL2CPP support, and it' working!
Again, thanks for your help 👍

I make some updates. Try from latest version. This call almost always been in "try ... catch". Why it crashes...

Marking as fixed.

When building with IL2CPP on iOS, the above IPv6 SocketOptionName.AddMembership is causing a EXC_BAD_ACCESS crash.
Someone has submitted a bug report: https://forum.unity3d.com/threads/setsocketoption-for-ipv6-is-crashing.463832/
Can be worked around for those who don't need IPv6 by setting the if statement to true in NetSocket.cs at line 130.

@phaseOne better will be disable ipv6 multicasting by commenting line.

Have somebody tried unmodified LiteNetLib iOS .NET Standard 2.0 IL2CPP on Unity 2018.1+ since than?


Update all links.

Please update the broken links. Getting 404 not found.

Thanks, the links are updated, but need to update some code to reflect it


feat: review page for api delivery

Summary | Résumé
Adds a new review page for the API mode.
A followup PR could consider what to do when a user directly enters in a URL (e.g. bookmark) to a form state that is not valid. For example, if there is an API key for the form and the user goes to responses/new, it will work but they'll get the wrong view. And vice versa if a user doesn't have an API key and goes directly to /api-responses/.
API Responses - with signed-off responses

API Responses - with no signed-off responses

Test
Open a form and submit a few responses. Then go the responses page and download and confirm a few.
Then open that form's setting page and generate an API key. The click the responses link. The url should now end with /api-responses and the responses page should only show the responses you confirmed.

Why duplicate the Responses component and create a new path/link? why not just hide the elements you don't need when the API is enabled? By losing the navigation tabs, you've also lost the button to "Manage access" dialog.

@dsamojlenko

Why duplicate the Responses component and create a new route?

The future state starts to build up quite a different interface so show / hiding is going to get harder as we go.

Also the "new" tab / route isn't where we want to land for api --- it's the confirmed view so again the routing doesn't match up with the current.
We're still kicking around the best setup --- which avoids a bunch of checks and redirects and conditionals.

Why duplicate the Responses component and create a new route? why not just hide the elements you don't need when the API is enabled? By losing the navigation tabs, you've also lost the button to "Manage access" dialog.

Sure, the main reason is to avoid a lot of if-conditions in the current responses code, making it more difficult to read. The code dose introduce new pages and a new route but a majority of the new code is just "wrappers" composing components etc. IMO this is easier to read and maintain.

The review environment isn't working as checkKeyExists calls getZitadelClient

Also re-thinking if we should create a provider for the key check.

After a call with Tim, I'm going to park this PR for now and try a new approach on a new branch

Decided to go with other approach to simplify routing (https://github.com/cds-snc/platform-forms-client/pull/4585) - closing this branch


environmental alert

good job aida

Thank you leader
On Sun, 24 Dec 2023 at 11:12 PM Batool D Shilleh @.***>
wrote:

good job aida
—
Reply to this email directly, view it on GitHub
https://github.com/Manar960/ADVsw/pull/23#issuecomment-1868594352, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZUMILFOD3B5D2MBEWWXF3YLCLCTAVCNFSM6AAAAABBBYLXHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGU4TIMZVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


[packaging] migrate uploads from Bintray to Cloudsmith

do not double-upload Docker images, the canonical source of truth is
the DH.
upload all artifacts to Cloudsmith repos, which are configured via env
vars.

Signed-off-by: Denis Zaitcev<EMAIL_ADDRESS>

:facepalm: it wants a branch and not a fork


Analytics Data API: What IAM roles or permissions are required?

Per the README we are supposed to create a service account to access Google Analytics data. What IAM roles or permissions do we need to assign to that service account? Otherwise, how do we grant access to GA to that service account? The README just links to generic service account docs.

From what I understand, you don't need to give the SA any special permissions, but you do need to add it onto your account using its email address: (see https://support.google.com/analytics/answer/1009702?hl=en#zippy=%2Cin-this-article)
@ikuleshov, would you mind confirming?

As per the quickstart guide, a Service Account needs to be added to the Google Analytics account/property you are trying to access, no other IAM roles needed.


[2.9.4] /Dist disappear

Hello,
I supposed you forgot to create Chart.min.js on this tag.
Is it normal?
i used bower and library angular-chart who used you.
Best regards

Duplicate of #7927
Tag has been updated to contain the dist folder (and bower.json), but you still need to clean bower cache, if you fetched the broken tag already.


Failures in announce workflow due to missing token

During the announcement two steps failed due to missing GH_TOKEN:
Downloading github issues for the release:

Uploading release notes to GH release:

Needs fixing in main and release/23.0

https://github.com/keycloak-rel/keycloak-rel/commit/1e1a5a5199da598fe271ca313b7ba8880669fe25


generated shared link | Permission

When I grant permission to a (non-Google domain) email, a notification email is fired off and sent to the user.
This email contains a link to access the document that is unique to that user and different from the webview link.
Is there any way to get this (generated) link

.

This repository is for questions related to the Google Client Libraries for PHP only. This question is off-topic.
However, I'll try to answer your question. If you go to the spreadsheet and click the "Share" button at the top right, there's a "Copy Link" button in the bottom left, which should give you the same link, which you can share with anyone.

As for a specific link generated for inviting someone, there's no way that I am aware of to capture that invite link.

Well, thank you for replying. I should've be more specific.
Actually I'm working with 'google-api-php-client-services' in Php.
I'll rephrase and open up a new issue there.


Bugfix/add tools prompt

What does this PR do?
This PR adds the missing tool_prompt parameter in Python client
Notes
reopened https://github.com/huggingface/text-generation-inference/pull/1825 at origin/bugfix/add_tools_prompt to allow CI to run
(for reference) added remote branch via
git checkout -b bugfix/add_tools_prompt
git pull origin pull/1825/head

Thanks @drbh
Let me know if I need to fix something


Build failing with the latest 2.0.0 version (iOS)

I am getting this error with the new version 2.0.0 of the cordova-plugin-fcm.
iOS build fails to copy plist. When I removed your plugin it built successfully and ipa contained plist. But it was full of jiberish. Maybe the cordova-plugin-fcm now copies the file and your plugin conflicts with it?
The following build commands failed:
CopyPlistFile build/EventosMobile.app/GoogleService-Info.plist EventosMobile/Plugins/cordova-plugin-fcm-config/GoogleService-Info.plist
(1 failure)

Your are right, as written in https://github.com/fechanique/cordova-plugin-fcm Version 2.0 has this feature included:

'google-services.json' and 'GoogleService-Info.plist' are added automatically from Cordova project root to platform folders

I will add an info about it in the README

That has probably been there for long time. It doesn't work on PGB. PhoneGap Build will just ignore all files except config.xml in root directory.

Firzenizer did you find any solution to this problem on PGB?

I'm also still experiencing this problem on PhoneGap build, having tried to use it as per this SO answer. I appreciate it's not really an intended use case for this plugin, but did anyone ever find an answer?


Improve README file

The current README file for LazyWeb is informative, but it could be more detailed and user-friendly. I propose that we make the following changes to the README file:

Add a more detailed explanation of the project's purpose and goals
Add clear installation instructions, including any dependencies and configuration settings
Add screenshots or diagrams to help visualize key features
Add examples of how to use the app in different scenarios
Add a section on troubleshooting common issues
Add a section on contributing to the project
Add a section on references and further reading

Please let me know if you have any questions or suggestions for improvements.

Hi!!
I am a beginner here but I have done many documentation contributions.
I would like to be assigned to improve the README for this repo.

Sure @the-amazing-atharva check out the website and explore all it’s features
It will help you to properly make a Readme file

Thanks for assigning me
I hope its ok that I write and send PRs in batches like one by one for the pointers listed above so that I can write efficiently

Sure, go ahead, make a new branch and push the changes there.
I will merge it after it is fully complete.

If you want, we can setup a meet so I can all the features of lazyweb and you can make readme according to it.

Would love to but I will have to manage the time for it.
I can check github messages for now

Okay no problem, ask me if you have any issues

Thanks for the merging
I would like to add the logo of the web app to the README
Could you paste it here or send me a link?

Will add this to the repo
Also do you want me to add emojis or no emojis?

Yes make it attractive using emojies

@dishant0406 I want to contribute to this issue by making a proper presentable attractive readme file with the contribution process properly explained which is an important part of it, please assign me under Jwoc.

Sure @dishant0406, I will assign the issue to you. Message me on discord I will explain you the process of how to start contributing so that you can add that to Readme file.

Hey @dishant0406 I want to work on this issue under JWOC

Hey @dishant0406.
I Would to Improve the readme.md file.
It's under JWOC.

This issue is currently assigned to @Code1705


Update ember-nvd3-shim to ~0.2.0

Fixes #8 by constraining d3.js to ^3

@offirgolan we need a patch release tagged after this is merged


Prevent tons of errors while using with onnxruntime-gpu

Hi, I am using this fantastic project with onnxruntime on my Jetson Nano (ARM v8) which runs pretty well. But for some reason, I have to use onnxruntime-gpu 1.6.0 on it since now.
After that,  onnxruntime-gpu throws a lot of errors because it try to use Nano’s GPU which didn’t work and try to fallback to CPU but still not working for some reason.

The workaround I have tried is to set cpu provider for onnxruntime-gpu like below.
model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',
                                      model='silero_vad',
                                      force_reload=False,
                                      onnx=True)
model.session.set_providers(['CPUExecutionProvider'])
(get_speech_timestamps,
         save_audio,
         read_audio,
         VADIterator,
         collect_chunks) = utils
self.vad_iterator = VADIterator(model)

Although it works, it still can’t prevent those errors showing on my screen.
So I am wondering if we can have new parameter like force_cpu or something to set provider before we create onnxruntime session in OnnxWrapper.
class OnnxWrapper():

    def __init__(self, path, force_cpu=False):
        import numpy as np
        global np
        import onnxruntime
        if force_cpu:
            self.session = onnxruntime.InferenceSession(
                path, providers=['CPUExecutionProvider'])
        else:
            self.session = onnxruntime.InferenceSession(path)

That is my first thought. Any more elegant way to get rid of those errors are appreciated, thanks.

Hi, I am using this fantastic project with onnxruntime on my Jetson Nano (ARM v8) which runs pretty well. But for some reason, I have to use onnxruntime-gpu 1.6.0 on it since now.
After that, onnxruntime-gpu throws a lot of errors because it try to use Nano’s GPU which didn’t work and try to fallback to CPU but still not working for some reason.

This is not supposed to run on GPU at all (especially with ONNX!).
We did not test on GPU with ONNX.

So I am wondering if we can have new parameter like force_cpu or something to set provider before we create onnxruntime session in OnnxWrapper.

Can you probably just override our class OnnxWrapper(): and see if it resolves your problem with these pesky errors, and if so, push a PR?
It is quite unlikely that we will have time / focus soon to test the VAD with GPU via ONNX.

sure! I will push a PR soon after I tested it.

Discussion in the PR


3d files for smooth dice

Hi, thank you for your fantastic work.
I noticed that you provided files for sharp-edged dice in one repository, but not for the smooth-edged ones. The UV maps are different, so I was wondering if you could share the Blender files for these.
Thank you very much.

Did you find what you needed? I can provide a blender file if you need it.


Vercel for hosting Snazzle

I think it would be easier to get this up on vercel instead of going to my computer to download and run the commands to get the repository up locally

Maybe, we'll see about that. Can Vercel host Flask projects? If not we could try Replit, the Hacker yearly plan equates to about $6.16 a month (CAD) so I can have a boosted always-on repl for Snazzle

the problem with hosting it on replit is that it can't access scratch's api (confirmation needed), so you'd have to use scratchDB. however, whenever you need to get project details, sometimes the project just isn't on scratchDB and it falls back to having no title or any other info

Maybe, we'll see about that. Can Vercel host Flask projects? If not we could try Replit, the Hacker yearly plan equates to about $6.16 a month (CAD) so I can have a boosted always-on repl for Snazzle

Vercel has an experimental Python runtime, but hosting in the cloud can be pretty inconsistent lol
You could also split up the project into an API and frontend so you can host the API on a local server while the frontend goes on GitHub Pages or something

the problem with hosting it on replit is that it can't access scratch's api (confirmation needed),

confirmed, replit is completely* blocked from scratch's api
apart from cloud variables if logged in with a session id because why not

What about GitHub Codespaces? Never used that before, but might be worth looking into.

github codespaces is definitely not designed for 24/7 hosting of a web app, and it would end up costing over $130 a month for the base plan with 20gb of storage.

maybe pythonanywhere would be good? we would be able to use scratch's api (unlike on replit), and it'd only be $5/$6.61 CAD/£3.87 monthly for the Hacker plan.

You could also split up the project into an API and frontend so you can host the API on a local server while the frontend goes on GitHub Pages or something

The problem with this is that the frontend and backend are really closely integrated thanks to Flask. Without Flask the website doesn't function

I actually have a computer i could host somewhere

YOU ARE THE BEST

I actually have a computer i could host somewhere

YOU ARE THE BEST

okay gimmie domain now

i guess i could run this under lxc for now

I’m hosting it at snazzle.davidtheplatform.eu.org

You can use https://deta.space

You can use https://deta.space
Edit: But it has a maximum limit of 20 seconds to process each request, i.e., if it takes more than 20 seconds to load the data and render the flask template, the request will be closed!

Deta.space is kind of weird and won’t work for this. Basically the only way to use it is if every user has a deta.space account
I could turn on snazzle.davidtheplatform.eu.org in a few hours

You can use https://deta.space
Edit: But it has a maximum limit of 20 seconds to process each request, i.e., if it takes more than 20 seconds to load the data and render the flask template, the request will be closed!

Deta.space is kind of weird and won’t work for this. Basically the only way to use it is if every user has a deta.space account
I could turn on snazzle.davidtheplatform.eu.org in a few hours

No, that's not true. The app can have public endpoints where a user can make requests without even creating an account: https://deta.space/docs/en/build/faq#why-is-an-unauthorized-error-thrown-when-i-try-to-access-my-app

You can use https://deta.space
Edit: But it has a maximum limit of 20 seconds to process each request, i.e., if it takes more than 20 seconds to load the data and render the flask template, the request will be closed!

Deta.space is kind of weird and won’t work for this. Basically the only way to use it is if every user has a deta.space account
I could turn on snazzle.davidtheplatform.eu.org in a few hours

No, that's not true. The app can have public endpoints where a user can make requests without even creating an account: https://deta.space/docs/en/build/faq#why-is-an-unauthorized-error-thrown-when-i-try-to-access-my-app

Huh, I didn’t know that. Deta.space would probably be the best place for hosting then

You can use https://deta.space
Edit: But it has a maximum limit of 20 seconds to process each request, i.e., if it takes more than 20 seconds to load the data and render the flask template, the request will be closed!

Deta.space is kind of weird and won’t work for this. Basically the only way to use it is if every user has a deta.space account
I could turn on snazzle.davidtheplatform.eu.org in a few hours

No, that's not true. The app can have public endpoints where a user can make requests without even creating an account: https://deta.space/docs/en/build/faq#why-is-an-unauthorized-error-thrown-when-i-try-to-access-my-app

Huh, I didn’t know that. Deta.space would probably be the best place for hosting then

Yes! But it has a 20 second limit, i.e., if a specific page/endpoint takes more than 20 seconds to return a response, the request gets closed. In Snazzle, maybe requesting the forum endpoints may be an issue.

I personally use a free service called Bot-Hosting to host some APIs. It's fully free (You need to wait for the first day after registration as you need to get 10 coins everyday for free by completing Captcha puzzles).
BTW the server of SUI API is hosted there.
You need a Discord account to use that service

You can use https://deta.space
Edit: But it has a maximum limit of 20 seconds to process each request, i.e., if it takes more than 20 seconds to load the data and render the flask template, the request will be closed!

Deta.space is kind of weird and won’t work for this. Basically the only way to use it is if every user has a deta.space account
I could turn on snazzle.davidtheplatform.eu.org in a few hours

snazzle.davidtheplatform.eu.org should work now.

We could try using Github Actions to run Snazzle on a public instance?

This is a bad idea for a series of reasons.

I'm going to close this as snazzle.davidtheplatform.eu.org works


timeout

Support Libraries Version (eg: 23.3.0):
Does this change any of the generated binding API's?


Use asset catalog for ios images

Summary
Use an asset catalog for images on iOS. See related PR in the CLI for the code that generates it https://github.com/react-native-community/cli/pull/1290.
Changelog:
[iOS] [Added] - Use asset catalog for ios images
Test Plan
See https://github.com/react-native-community/cli/pull/1290
Test on RN Tester

Add to root package.json and yarn install

  "resolutions": {
    "@react-native-community/cli-plugin-metro": "janicduplessis/react-native-cli#react-native-community-cli-plugin-metro-v9.1.3-test.0-gitpkg"
  },

PRODUCTION=1 yarn setup-ios-jsc in packages/rn-tester

In Xcode, product -> scheme -> edit scheme -> change Build Configuration to Release.

Build and check that local images are working.

@janicduplessis I haven't dived deep into assets stuff on the CLI side and here, but maybe you have a better overview on this. Now that assets logic is scoped under @react-native/assets package, maybe we could reuse it on the CLI side? We should strive to reuse everything that's possible to avoid these weird syncing situations (this is not the first time).

@thymikee This already uses the shared code in the assets package and updates it (just rename a method since it is now used on iOS too).

@sota000 Any interest on landing this? I've been using this in my fork for a long time and is stable.

It would be great to have a status on this one, there's an outstanding PR in the CLI too.

One think I'd guess would be fixing the conflicts, but yeah also would be great to get some internal 👍/👎 if it's even worth

@janicduplessis can we rebase + fix the conflicts here?

Ok I rebased this and tested again in RN tester. I added instructions on how to do so in the Test Plan. It does require the CLI patched with https://github.com/react-native-community/cli/pull/1290 to work.
I think the main part that is tricky with this is if the app template is not properly updated or for some reason an older version of the cli is used it will break. For the old cli version case it is actually not that bad since the build will error because of invalid parameter --asset-catalog-dest. If the template project is not properly configured then assets won't show in release mode only.
I think it is still fine to move forward, but might want to make sure to document the change to make sure templates are updated properly. The main 2 things that need updating is to create the RNAssets.xcassets catalog and to reorder build scripts so that JS bundle is built before Copy Bundle Resources. For new projects and automated updates that should be fine, but might not be obvious for someone updating manually.

/rebase

Weird, this PR makes the template tests fail... Basically, the CLI is not able to create a RN app... Is it expected because it requires https://github.com/react-native-community/cli/pull/1290 ?

We might also have build issue later for ios release build since it does require the cli patch

@cortinico @cipolleschi Template tests are all passing except the ios release ones, with error error: unknown option '--asset-catalog-dest', which is expected since it doesn’t include the updated cli. Maybe the next step would be to get the cli PR merged and published.

@cortinico @cipolleschi Template tests are all passing except the ios release ones, with error error: unknown option '--asset-catalog-dest', which is expected since it doesn’t include the updated cli. Maybe the next step would be to get the cli PR merged and published.

Sounds like a plan 👍

@cortinico Cli is updated and template tests are passing now, I don’t think other test failures are related, but will double check.

/rebase

FYI, this feature is available in RN CLI v10.0.0-alpha.0

Hi there, the analyze-code job fails due to some linting problems in the JS side. Could you have a look at them and fix them, please?

@javache Thanks for reviewing this. I've reimplemented the logic to convert from the file url to the asset catalog name in objc and made it so it falls back to using the current bundle url logic if the image doesn't exist in the catalog. It will also log a warning.
I've tested that the Image example works with and without an asset catalog (by not passing the asset catalog arg to the CLI). This also makes sure old way to include assets work too and doesn't log a warning.

/rebase

Yes, haven’t had the time to address those yet. I should be able to in the next week or so.

/rebase

/rebase

I will one day find time to finish this :)


feat(pipenv): Use pipenv to lock down python dependencies

this is really a trivial change and so far I haven't been able to find time to adjust the docker file accordingly.

This change is

Coverage increased (+0.1%) to 37.915% when pulling d4d5c04d0ca5fca5b2413a0abab24d54d39a08c8 on Jimexist:use-pipenv into a704246f170566ad33cb259028b68a7846700152 on tensorflow:master.

/ok-to-test

How does this relate to requirements.txt? Can we get rid of requirements.txt?

yes. and you can always use pipenv to re-generate one

How will we use pipenv? Will pipenv be used to produce a pip package that will be used to install the py package in our containers?

for docker installation I can think of a template docker file like this (hope this can explain better):
FROM python:3.6

COPY Pipfile Pipfile.lock /my/app/path/

WORKDIR /my/app/path/

# see https://github.com/pypa/pipenv/blob/master/docs/advanced.rst#-deploying-system-dependencies
RUN pip3 install pipenv && pipenv install --system --deploy

COPY ./python_code /my/app/path/

CMD ["python", "script.py"]

@jlewi now that you mentioned this - I found out that there are actually two use cases for python, one for test-infra (the airflow docker image) and one for releases (the /py/ folder).
the use case for pipenv could be... well, managing two separately. I can thinking this might sound like an overkill, but I'm kind of used to pipenv and hence the PR. Feel free to close it if you think it is too much. Personally I think it is a seamlessly working tool.

According to this pipenv is the officially recommended package manager so I think it makes sense to use it.
Should we delete requirements.txt and update the developer_guide to refer to pipenv?

Coverage increased (+0.08%) to 28.601% when pulling 34df25cb2616e1f1c841b1d93557f1604537a747 on Jimexist:use-pipenv into ed7cae7552bacfa4d693fb8b5975d2e1ec62194a on tensorflow:master.

Coverage remained the same at 28.518% when pulling 34df25cb2616e1f1c841b1d93557f1604537a747 on Jimexist:use-pipenv into ed7cae7552bacfa4d693fb8b5975d2e1ec62194a on tensorflow:master.

Coverage remained the same at 28.518% when pulling 34df25cb2616e1f1c841b1d93557f1604537a747 on Jimexist:use-pipenv into ed7cae7552bacfa4d693fb8b5975d2e1ec62194a on tensorflow:master.

@jlewi sure, WIP.


Cut a release for July, 2017

Hi there,
First of all, thank you so much for such a great library. I use postgraphql all the time in my personal projects and it's a huge time-saver, not to mention the documentation is above and beyond.
Would it be possible to cut a new release for July 2017? Specifically, I'd love to use https://github.com/postgraphql/postgraphql/pull/480.
(I'm currently using the repo pinned to current master in my node_modules, however it requires an extra yarn install & yarn build from within node_modules/postgraphql, which complicates automatic provisioning and deployment.)
Thank you very much,
-- Sara

It's on my todo list 👍  I have to check that all the fixes we merged don't break anything - especially GraphiQL.
In the mean time, maybe the v4 alpha (#506) would serve your purposes? I'm pretty sure it includes that fix:
npm install postgraphql@next

Awesome, postgraphql@next is working like a charm! ✨ Thank you SO much for your super quick reply, and for all of your (and the other maintainers') amazing work.
P.S. I'd love to send over some $$$ to say thank you & buy the collective maintainer's a coffee or something... have you considered starting a Gratipay? Otherwise, I'd love to donate to a charity in PostgraphQL's name. ❤

(P.P.S. Feel free to close this issue if it's not helpful for your release flow. My issue has been solved. 👍)

@doeg Thanks for the push; I've set one up for review 👍  https://github.com/gratipay/project-review/issues/507

v3.3.0 is now released 👍

Thank you!!! 🎉 🎉 🎉

@doeg, the Gratipay project has been approved: https://gratipay.com/PostGraphQL/


[FEATURE_REQUEST] MaterialDesignIcons

Would it be possible to support also MaterialDesignIcons (https://materialdesignicons.com) ?
Fontawesome is missing many icons for apps like Plex, Nginx, Jallyfin, Sonarr, Radarr aso.

Sure, this is a good idea. I was actually thinking about implementing support for Simple Icons, as they are light-weight SVGs with logos from a wide range of apps and services.
I will look into Material Design Icons, but their package is 200kb, and they don't seem to have an API, so I will have to see if there is method of implementing that won't have an impact on performance. Will take a look either this evening or tomorrow evening and get back to you here :)

Awesome, thank you very much for considering it. Don´t know if it helps, but homeassistant supports them, maybe there is some way for you to look how they do it?
SimpleIcons look also nice. 👍

Hey @ExXxtr3me
I've implemented support for your Material Design Icons in #141 - which when merged, will be released in V1.5.7, which you can pull down from DH with the :latest tag.
You can use it by setting icon to mid-[name-of-icon], e.g. icon: mdi-alien
Enjoy :)

Merged.
I forgot to say, that the icon package  is only loaded in if one or more of your items are using mdi icons. That's the same as font-awesome. So if you combine both FA and MDI icons, you might experience a hit in performance, so it's best to choose one or the other.
Btw, if you're enjoying the app, please consider Staring the repo. I think it helps others find it :)

Wow, that was fast. Thank you very much.


React: Create / Change ?component name? (behind feature flag) template

User Story

As a [user role below]:
Carbon for ibm.com developer

I need to:
create/change the ?component name?

so that I can:
provide the ibm.com adopter developers components they can use to build ibm.com web pages

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
See the Epic (#TBD ) for the Design and Functional specs information
Prod QA testing issue (TBD)
Feature flag documentation: https://github.com/carbon-design-system/ibm-dotcom-library/blob/master/packages/react/docs/feature-flags.md

Acceptance criteria

[ ] Built as a pure React component/variant
[ ] Build behind a feature flag
[ ] Include README for the react component and corresponding styles
[ ] Add any necessary stable selectors
[ ] A comment is posted in the Prod QA issue, tagging Praveen, when development is finished

Will be moving away from support of Pure React components.  Closing this epic and all linked issues.


1465: Replace requirements link

Short description
The link for the requirements of the EC changed
Proposed changes

replace the link

Resolved issues

Fixes: #1465
Testing

http://localhost:3000/beantragen
type in personal data and go next
Check the link above "Blaue Ehrenamtskarte" -> "hier einsehen" for the requirements

I don't quite understand why, but if I click 'hier ansehen' in production form (https://bayern.ehrenamtskarte.app/beantragen), the opened link is really broken: https://www.ehrenamt.bayern.de/vorteile-wettbewerbe/index.php/ehrenamtskarte/voraussetzungen/index.php
So I'm not sure if adding “index.php#sec3” would fix that.
But this problem is not reproduced locally, the opened link works (with and without "index.php#sec3").
Do you know why the link is corrupted in the prod?

Maybe there is a wrong redirect in nginx because the link is actually working


CB-1863 api name collision fix.

isn't there swagger def generation during PR time?

It's already merged in 5544


refactorings

moved Json handling to a dedicated class
removed underscore from all enum names
added help, json and text command
cleaned up skill level
moved opened SaveGame-path to an attribute
fixed all paths
fixed crashes saving json
fixed quickslots

resolves #19


Default Confidence

parser.add_argument('--confidence_threshold', default=0.05, type=float, help='confidence_threshold')
The default condifence in pytorch and caffe is different.
Is it too low in pytorch?

Hi @chungyau97, may I know where in the caffe code is the default confidence different?

Correct me if I'm wrong.
Based on the caffe. I think it's set as 50% while in pytorch 0.05 is 5%?

The 0.5 conf filtering is in demo code used for visualization, plotting bbox with conf score 0.5 and above. If you check other test files used for evaluation such as afw_test.py there is no filtering as such. The scores from output are > 0.05 according to deploy.prototxt.

So if I want to plot bbox on different resolution of my own dataset images. I need to change the 0.05 to 0.5 for visualization purpose of result in the image right?
Can you tell me more about the resize? This is my code that I play around with it

You can change the threshold to any value depending on the conf score you wish to filter. “resize” is a parameter that resizes the image proportionally before putting them into the network. Larger input image could produce better results as small faces are enlarged, at the cost of longer inference time.

Did the Anchor densification strategy realize?

@hsl20130659 yes, it is implemented in this repo.

I have some confusion in prior_box.py
s_kx = min_size / self.image_size[1]
s_ky = min_size / self.image_size[0]
dense_cx = [xself.steps[k]/self.image_size[1] for x in [j+0, j+0.25, j+0.5, j+0.75]]
what do s_kx and s_ky mean? why do this?
And xself.steps[k]/self.image_size[1] ,why do x mutiplies self.steps[k]/self.image_size[1] ?

@zisianw @hsl20130659
out = net(img)
loc, conf, feature_map = out
#convert feature map from tensor to numpy
priorbox = PriorBox(cfg, feature_map , (im_height, im_width), phase='test')
#Find default boxes best match with ground truth?
priors = priorbox.forward()

@hsl20130659, [cx, cy, s_kx, s_ky] are the center and scale of the anchor boxes. So s_kx and s_ky are the width and height of the anchor boxes normalized by the image size. x and y are one of the [j+0, j+0.25, j+0.5, j+0.75], in your example which belongs to anchor size of 32x32, the combination of dense_cx and dense_cy makes up the center of the 16 anchors according to anchor densification.

s_kx and s_ky are the width and height of the anchor boxes normalized by the image size，why do normalization by image size ？

So that scale of anchor boxes are relative to input image.

@zisianw

@hsl20130659, [cx, cy, s_kx, s_ky] are the center and scale of the anchor boxes. So s_kx and s_ky are the width and height of the anchor boxes normalized by the image size. x and y are one of the [j+0, j+0.25, j+0.5, j+0.75], in your example which belongs to anchor size of 32x32, the combination of dense_cx and dense_cy makes up the center of the 16 anchors according to anchor densification.

So priorbox is basically normalize the size of anchor box right?

We used the term prior box and anchor box interchangeably. They mean the same thing. It is normalized by input image size, which in our training is 1024.


Proposal: link /contribute to /tiers

Right now /contribute is an alias for /donate
but now that we have a (great!) new /tiers page (example), I think it would make more sense to have /contribute to point there.
So to be clear, we would still have /donate and /tiers and /contribute would point to /tiers.
Any objection?

I think both /donate and /contribute should be alias to /tiers.
Meaning, we need a new URLs for the previous behavior of /contribute and /donate. We could introduce a new dedicated URL such as /donate/one-time /contribute/one-time

/donate to me should open a big customizable dollar amount right front and center with the option to make it recurring. If people come to donate, we shouldn't distract them with a "menu of different options" that will paralyze them ("what should I pick?"). They come to donate without any expectation of return (that's the definition of a donation). So let's keep that interface minimal and straight to the point. The best interface is the one that gets out of the way to let the user achieve their initial intent as quickly as possible and with fewer questions as possible.
For one-time I'd keep the current aliases which I love and I keep telling people about: /donate/:amount and /donate/:amount/month. That said, I have no objection for adding a /donate/one-time but I'm just questioning the utility of it. It's also hard to memorize it (one word? two words? dash? underscore?).
/contribute is an obvious one for /tiers because it's about showing all the ways you can contribute.

Why do we have assumptions that there is a difference between /contribute, /donate and /pay when it's today exactly the same? Is there already a difference in the way we use these URLs?
Based on the discussion in https://github.com/opencollective/opencollective/issues/1969 do we have new definitions for these terms?

Today there is no difference between those 3 URLs. The primary reason being that it was "good enough" at the time. Now that we have a page /tiers I think we can start differentiating them to better match end users' expectations.
The #1969 conversation is still ongoing but what's already clear is that we want to double down on the concept of "contribute" (and "contributions"). This really reflects what an open collective is all about. It's about being open to contributions (by opposition of a triangle, a classic privately owned company that is top down).

No rush, but we should take a decision on that for the release of the Tier page.

For now, I’d make /contribute an alias for /tiers
For /donate, let’s keep it the way it is for now. We can always revisit that later.
I don’t want to add an extra step. If I send a link to someone to /donate, I want them to donate as simply as possible, without worrying about the different tiers. But I see your point and I could be convinced otherwise. Maybe that would be easier to make that switch once the /tiers page will have by default a first tier which is “make a custom donation” (right now it’s just a small link at the bottom)

One problem is that some collectives seems to have linked the current /contribute (see extract from the logs below). We should acknowledge that it's going to be an unexpected behaviour for these users, though one could argue that it's not a major issue because people reaching the link still end up on a page that pushes them to contribute.

Also if we define the new route as /contribute, then we should be consistent and have the tier url as /contribute/:tierSlug-:tierId too, or said with code:
pages.add('tiers', '/:collectiveSlug/(tiers|contribute)');
pages.add('tier', '/:collectiveSlug/(tiers|contribute)/:tierSlug?-:tierId(\\d+)');

Enters the orderCollective route (see below). The tiers route has some ambiguity with it, but it will work if we put it first (though order is not a great way to prioritize routes).
pages.add(
  'orderCollective',
  '/:collectiveSlug/:verb(donate|pay|contribute|order|events)/:amount(\\d+)?/:interval(month|monthly|year|yearly)?/:description?',
  'createOrder',
);

I personally don't like having multiple URLs for the same page. It's bad for SEO (it would be better if we used rel="cannonical" but we don't) and it makes the routes less predictable.
While I agree with the fact that /contribute is a better name than /tiers, I think that the risk of breaking existing URLs + the SEO penalty should be considered if we make this change.

Thanks for this info.

one could argue that it's not a major issue because people reaching the link still end up on a page that pushes them to contribute.

Exactly, I'm not worried about that.
It's a minor change for them. But that's why I want to keep /donate the way it is so that there is still a way to get to the old behavior

I personally don't like having multiple URLs for the same page. It's bad for SEO (it would be better if we used rel="cannonical" but we don't) and it makes the routes less predictable.

That's right. Maybe we can ditch the /tiers? We never communicated about it. I think /contribute makes more sense.
All in all, I don't see any major risk to move forward with this small change.

We get a good number of requests for /tiers, we should not take the assumption that it is not used:

Breaking a URL that users use is not an acceptable solution. So we can't ditch /tiers for now.
We defined previously that SEO was important for this page, so the way to go with this change is to create the new routes and to set the canonical meta properly.


Size limitations on Data.Cache instance

I have a certain use case where I am worried about the size of cache instance. Given it is an in memory data store I want to understand why you proceeded with no limit on size of Data.Cache instance.
Also what workaround would you recommend in case I want to restrict the size of cache instance.

You’ll have to maintain the size of the cache to a certain limit when you do the insert operation.
Depending on the eviction policy you’ll need to keep track of additional metadata (e.g a FIFO queue if you’d like to evict the oldest item when inserting into a full cache).
Since all internal STM operations are exposed, you should be able to build your own eviction policy around this data structure by incorporating the logic in the insertion (and potentially deletion) logic.


Load ZIP data async via hook

Hacky approach to loading ZIP data async.  I'm not crazy about how we're passing it in everywhere.  I'm looking for a better overall approach for loading this and other data and providing it (maybe with a context) more consistently throughout the app.

Confirmed on vercel build that the file loads via separate request.

Do we have some measure of how much bundle size (after gzip presumably) and/or JS parsing time we save with this?

I'll have a look and update based on what I can find out, thanks for suggesting it.

So a naive approach (yarn build, then looking at build/static/js) before was 14M or 3700744 in a tar.gz, and after was 13M or 3576051 in a tar.gz.  A savings of ~122KB.
Not sure a good way to measure optimized js parse time in the dev environment, if you can point me to resources, I'd appreciate it.

The Lighthouse report shows script parse time, but I guess it's pretty small already...  so probably not worth benchmarking.  For some reason I thought I saw somewhere that we were spending a non-negligible amount of time parsing JS, but maybe not.

I measured the bundle size against develop, we have a 15% reduction on the main bundle (825KB → 701KB), I think is worth shipping.
  701.78 KB (-124.15 KB)  build/static/js/main.fbd408de.chunk.js
  409.07 KB (-560 B)      build/static/js/5.703cc0c9.chunk.js
  61.7 KB (+1 B)          build/static/js/2.4c02a3dd.chunk.js
  39.32 KB                build/static/js/1.b29850f9.chunk.js
  21.73 KB (+6 B)         build/static/js/11.8369dd8c.chunk.js
  12.16 KB (-8 B)         build/static/js/6.f7da9bdf.chunk.js
  10.6 KB (+1 B)          build/static/js/18.9b69ccf8.chunk.js
  8.38 KB (-6 B)          build/static/js/8.ff1ec574.chunk.js
  6.42 KB (+4 B)          build/static/js/12.1bb39458.chunk.js
  6 KB (+1 B)             build/static/js/17.e6d7069b.chunk.js
  5.07 KB (-1 B)          build/static/js/15.849d3cf5.chunk.js
  4.96 KB (-9 B)          build/static/js/0.dca45fb2.chunk.js
  4.91 KB (-8 B)          build/static/js/7.616ba6fd.chunk.js
  2.56 KB                 build/static/js/10.2e377d53.chunk.js
  2.42 KB (-1 B)          build/static/js/9.6138009b.chunk.js
  2.26 KB (-1 B)          build/static/js/14.a6e6e44f.chunk.js
  2.25 KB (-3 B)          build/static/js/13.084b4ada.chunk.js
  1.81 KB (+2 B)          build/static/js/16.2bf28352.chunk.js
  1.72 KB (-1 B)          build/static/js/19.931dd455.chunk.js
  1.6 KB                  build/static/js/20.9eb191cb.chunk.js
  1.34 KB (+8 B)          build/static/js/runtime-main.f14ff24e.js
  750 B                   build/static/css/main.9383c564.chunk.css

I ran yarn analyze in develop and then in this branch. The [no source] part of the main bundle went from 3.07 MB to 2.63MB.

 Performance: Load zipcodes asynchronously on the search bar

@pnavarrc I've made the changes you requested, once you can have a look and resolve then we can get this landed.


Update faqs-excel-to-table-app.md

Updating region and multi lang availability

This PR is being managed in the private repo per our process.
https://github.com/MicrosoftDocs/powerapps-docs-pr/pull/9107
Closing without merging.


CSS missing from Demo on Hugo Site

Hello again @lucperkins
Today it was reported in the forum that your theme demo is broken.
I have seen a similar case when I was reviewing the Hugo Tale theme for the Themes Site.
If you view the source of your theme's demo on the Hugo Site, you will see that on lines 12 and 15 your CSS has the wrong permalink. It seems that for assets published through Hugo Pipes .Permalink renders an absolute URL and .RelPermalink produces the correct one.
To fix this problem in your partials/css.htmlplease do the following:

First change line 12 to: <link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}">

Then change line 15 of your partials/css.html to:
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">

I have tested the above fixes with the Themes Site Build Script and once you do the above your demo will once again be generated with its CSS, (once the Hugo Site is updated).

CC / @digitalcraftsman

@onedrawingperday Fixed! Thanks a lot for your very speedy and thorough help!!! Excellent way to do open source 👍


Youtube center broke my subscription box

After i installed youtube center my subscription box looks like this
http://oi63.tinypic.com/dobdqo.jpg
It doesn't happen when I look at other channels, playlist or in any other places, only in my subscription box.

Well.. I can't reproduce it, aren't you using some YouTube beta mode? Are You using newest DEV build?

I am using the latest version, and i'm not using any youtube beta mode.
The only thing i am using is this stylish script to force youtube to go in full screen, but i tried turning it off and the problem is still there so i don't think it has anything to do with it, it's a problem caused by youtube center.

I believe you have the grid layout enabled for the subscription pages (YTC option) which is having a conflict with YouTube's own grid layout. Solutions are to either turn off the grid layout in YTC or disable that option temporarily, switch your subscription layout inside YouTube to list (right top corner buttons) and then re-enable the grid layout in YTC.
Notice the 2 icons in the top right corner of @ireun subscription list? Those belong to YouTube and they allow you to switch layouts without the help of YTC, although their grid layout is still not that great, you can switch it to list and enable the grid in YTC if you want.

Yes that was the problem, now i fixed it, thanks.


create_test_data: move to spinalcordtoolbox.testing

Solves issue #2636
This follows @jcohenadad's suggestion of moving create_test_data.py to be a module in spinalcordtoolbox.testing

Ready to go after a quick review.


move dev / test to lando

The solution to this isn't ideal, but as of PR #898 this project will use lando for local development, and the solr_wrapper dependency has been removed from both local development and CI.
Future enhancement will include consolidating the number of database containers: https://github.com/pulibrary/dpul/issues/899


What am I missing on the move callback ?

Hello All,
Great job for the dnd list ! It looks awesome. I am facing a new problem... Where I need your help :

      {{ $index + answer.value}}

The basic move function is answer.splice(index,1);
This is my basic dnd list.
The ouput is
- 0 model test
- 1 test
- 2 another test
When I drag 2 to 0 I have :

0 another test
1 test
2 another test

Kind of weird, isn't it ?
Where could this come from ?
Regards,
Rémi

Can you show the whole dnd-list contents of your code?
What you have written above contains both "item" and "answer"
I had similar problem that seemed to occur when the list was an array of strings, not an array of objects and i tried to use track by $index for ng-repeat.
Moving items down seemed to work, but moving them up copied the value over the target position.
Like this:

List {{listName}}

                                {{$index}}{{item}}

and

With that, moving list A items down caused them to move down, but with console error
Error: [ngRepeat:dupes]
Moving up gave the same error, but without moving the item.
After googling for the error, I "fixed" that by changing line
                            <li ng-repeat="item in list"

to
                            <li ng-repeat="item in list track by $index"

After that moving list A items down worked fine without errors, but moving up caused the item to overwrite target position, like in your case.
Changing list model to an array of objects {label : "stringvalue"}
    // Generate initial model
    for (var i = 1; i <= 3; ++i) {
        $scope.models.lists.A.push({label: "Item A" + i});
    }

, and using

                                {{$index}}{{item.label}}

seemed to work fine. Maybe some of that was related to your problem.

Okay so it works fine !! I replaced
li ng-repeat='item in list tracked by $index' by li ng-repeat='item in list'
and
model.A = [{''}];
by
model.A = [{label1:'',_index:0}];
And all works !!
Thanks you !!
Awesome job

track by $index is making DND duplicate the items


Any way to reduce memory

EchoMimic v1 work fine, I use it all the time.
Inference start but did not move forward, waited for long time. It's on 8 GB VRAM.
Anyway to use cpu offload or any other trick like reducing batch size..etc
latents shape:torch.Size([1, 4, 149, 96, 96]), video_length:149
  0%|                                                                      | 0/30 [43:23<?, ?it/s]

accelerated version will be released asap

Thank you @mengrang.
Can't wait to try accelerated version.
Thank you for releasing EchoMimic. It produces very very good output.
Pass on my thanks to your team.

i hope you make a tutorial about how to install v2

i hope you make a tutorial about how to install v2

I was planning but it didn't worked. Now waiting for accelerated version.

Installation tutorial is updated in readme

About 13G memory is needed

i hope you make a tutorial about how to install v2

I was planning but it didn't worked. Now waiting for accelerated version. Good news is mengrang added "doing" label, so it's in progress.

I managed to make it work but my PC cant handle echomimic v2.
10GB is not enough and it used the Shared GPU memory that take forever to generate


Remove library property for local cache

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8154/
Test PASSed.

alluxio-bot, merge this please.


Update RTOS image destination on S3

Update RTOS image destination on S3 to include image release date.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.20

/lgtm
/approve

/override eks-anywhere-generate-files-presubmit
/override eks-anywhere-release-tooling-test-presubmit


oci8 database driver: Added support of insert_id()

Added support of $db->insert_id() method in OCI8 database driver. By default this method return the ROWID Oracle pseudocolumn, but you can specify another column (eg. with a sequence) using $db->rowid_column public property.
This is a sample:
$this->db->insert('FOO', [
  'FOO_FIELD' => 'BAR',
]);

var_dump($this->db->insert_id());
// string(18) "AAAmpiAAEAAAHerAAE"

In alternative you can specify a column with a sequence:
$this->db->rowid_column = 'FOO_ID';
$this->db->insert('FOO', [
  'FOO_FIELD' => 'BAR',
]);

var_dump($this->db->insert_id());
// string(18) "1001"

Hi, thanks..I hope the codeigniter team will soon integrate this thing... great!

Modifying a system property to get results isn't acceptable. You can make that one an argument to insert_id() (we do that for PostgreSQL, for example).
I'll leave some inline comments for other necessary changes.

Also, same functionality should be added to the pdo/oci8 driver.

Hi @narfbg , thanks for your review.
I have pushed a fix with your suggested improvements and the support of the same functionality in PDO OCI driver.

Too old, feedback wasn't addressed. If anyone has interest in this, please submit an up to date version.


Error message

Hi,
I am looking at error of my application, currently whenever there is an error async_graphql return the error message with some extra fields, like location, path.
I am not sure that is the idiomatic way to do show error in graphql but those fields seem useless sometimes, i.e. for location I don't find a way to make sense of it.
I wonder if I use them correctly, or is there a way to just hide it from the response?
Regards,

The location and path fields could be used by IDEs or other similar tools to show which part of your query produced an error. For instance if you had a very large query, it could trigger many different resolvers in your code, and maybe only one of them has an error. Those extra fields will tell which part of the query actually triggered an error.
The location for instance refers to the exact spot textually in your query that the error came from. For instance if I have the following query:
{
  example {
    test
  }
}

And I get an error:
  "data": null,
  "errors": [
    {
      "message": "Unknown field \"example\" on type \"Query\".",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ]
    }
  ]
}

The "line 2, column 3" means line 2 of my query, 3 places to the right caused the issue, which is exactly where I have the "example" field that doesn't exist.

Thanks @zicklag makes sense
I got it now, probably just ignore it for now

I mean ideally I still prefer to have a way to hide those field.
I guess people who are not using graphql with IDE or any playground don't really need them.
cc @sunli829


Default organization

I've broken the task in two parts. We are not using the default organization yet

One more thing, as we don't have the action for the personal hub, I'm not showing the badge when it's the default. Should I? 🤔

That's one of the reasons I think it makes sense to unify, so it's consistent from user perspective. @josevalim your call :)

Sorry for the delay. I don't think we should show it is a default in the sidebar. :) Showing it in the hub page (team_component) itself is enough.


all NWAC links taking me to the app

I'm not sure exactly what is going on here but I tried to open a non observation link and it opened in the app.. for me every link with the nwac domain opens to the app.

It's possible that this is caused by the prefix configured in the app being nwac.us, so we need to figure out if there's a way to opt out of opening something in the app.


[FEATURE REQ] Add timeout support for QueueClient.ReceiveMessage(s)(Async)

Library name
Azure.Storage.Queues
Please describe the feature.
According to the Azure documentation Storage Queue get message requests allow to pass an optional timeout parameter. Unfortunately none of the ReceiveMessage variants of QueueClient exposes this parameter to the user. This means I'm not able to implement any kind of long polling for a storage queue.
To fix this it would be nice to add some way to set the timeout parameter at least for the Async calls.
Internally MessagesRestClient.Dequeue(Async) is used to do the actual Azure call - and there already is an optional timeout parameter, so it should not be too hard to expose this to the QueueClient API.

@drothmaler Redirecting this to services team.

@drothmaler, you can set a server-side timeout with something like this:
    public class TimeoutPolicy : HttpPipelineSynchronousPolicy
    {
        private int _timeout;

        public TimeoutPolicy(int timeout)
        {
            _timeout = timeout;
        }

        public override void OnSendingRequest(HttpMessage message)
        {
            message.Request.Uri.AppendQuery("timeout", _timeout.ToString());
        }
    }

    class Program
    {
        static string connectionString = "";

        static async Task Main(string[] args)
        {
            QueueClientOptions queueClientOptions = new QueueClientOptions();
            queueClientOptions.AddPolicy(new TimeoutPolicy(10), Azure.Core.HttpPipelinePosition.PerCall);
            QueueClient queueClient = new QueueClient(connectionString, "queueName", queueClientOptions);
        }
    }


Error when using .net9.0 SDK: No instances of MSBuild could be detected

Hi,
Fantastic work, much appreciated. I initially got an error running the source generator with only the net9.0 SDK installed:
PS C:\Repos\Web> dotnet --list-sdks
9.0.100-rc.2.24474.11 [C:\Program Files\dotnet\sdk]
9.0.100 [C:\Program Files\dotnet\sdk]
PS C:\Repos\Web> dotnet tsrts --project .\Test.csproj --output generated
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()

The fix was to install the net7.0 SDK, then it worked fine.

Although I'm also now getting bitten by #239

.NET 9 is supported from v1.15.0!


Builder: Allow clean up to run on successful completion

We had our TEMP directory not cleaned up on windows2012R2 after the builder ran, because the defer wouldn't be caller when the program exits with os.Exit.
The are more cases to be handled (in case of failure) -- since there were some talks of refactoring,
we are just handling only the happy path in this PR.
Signed-off-by: Arjun Sreedharan<EMAIL_ADDRESS>

Merged into develop


Added the Industrial Iot Based DDOS attacks

Source for Black-energy 3 malware which disrupted the Ukrainian power grids

[ ] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links

@MihirrajDixit, everything LGTM! Thank you for helping us improve this section of the guide. Hope you don't mind, but I made some changes based on @lynxlynxlynx's suggestions. Looking forward to your next contribution! :+1: :+1:
As always, thank you for helping us QA this, @lynxlynxlynx!


Idea: Triple beep when code is finishing

Suggested in Slack

Can we use a single, long beep to avoid this becoming ambiguous with the startup tones

This is superseded by the LEDs on the KCH, so I am going to close this.


MongoDB generated ID

Hello, I am using node-red-contrib-monggodb3 and having troubles to pass an ObjectId as an argument, not being able to use a MongoDB auto-generated _id, is there any way to use "_id": 'ObjectId("myID")' as an argument?
I.E
I have the following document in my collection:
{
    "_id" : ObjectId("5c9156c7f8c3ec3259454571"),
    "name" : "teste_site_1",
}

If I pass as msg.payload to findOne Operation
msg.payload = {"name":"teste_site_1"}

returns my document without ObjectID in _id
{
    "_id" : "5c9156c7f8c3ec3259454571",
    "name" : "teste_site_1",
}

if I pass the _id as agument:
msg.payload = {"name":"teste_site_1"}

returns empty.
I can not call ObjectId in node-red and also cannot pass as string ObjectId.
Is this a bug or am I missing something?

I have found a workaround and left in stackoverflow.
Not sure if this is the correct way of dealing with the issue.


How to restore ERPNext Database

I was able to get the helm chart up and running for ERPNext and I am able to create a backup, however when I restore, only the files are restored. The database is not restored.
Link for reference: https://helm.erpnext.com/kubernetes-resources/create-restore-backups-job
Here are the logs from the restore-backup container
Downloading erp.mysite.com/20200707_004431/20200707_004431-erp_mysite_com-database.sql.gz
Downloading erp.mysite.com/20200707_004431/20200707_004431-erp_mysite_com-files.tar
Downloading erp.mysite.com/20200707_004431/20200707_004431-erp_mysite_com-private-files.tar
Downloading erp.mysite.com/20200707_004431/site_config.json
Overwrite site erp.mysite.com
Extract Database GZip for site erp.mysite.com
sh: 2: -e: not found
sh: 2: -e: not found
sh: 2: -e: not found
sh: 2: -e: not found
Restoring MariaDB
sh: 2: _7033aa8d54d18326: not found
Extracting /home/frappe/backups/erp.mysite.com/20200707_004431/20200707_004431-erp_mysite_com-private-files.tar
Extracting /home/frappe/backups/erp.mysite.com/20200707_004431/20200707_004431-erp_mysite_com-files.tar

I checked Mariadb and database _7033aa8d54d18326 does exist. I'm not sure what is missing.

I can't tell what's missing.
I'll try on a cluster and comment.
Test seems to pass for docker commands:
https://travis-ci.com/github/frappe/frappe_docker/jobs/358377648#L1942

I wasn't able to reproduce the issue.
Can you share the resource files?
What version of image are you using?
Push backup
❯ k apply -n erpnext -f /tmp/pbjob.yaml
job.batch/push-backups-420 created
❯ kgp -n erpnext -w
NAME                                                   READY   STATUS      RESTARTS   AGE
backup-sites-1532-fd9f9                                0/1     Completed   0          12m
create-new-site-mysite.localhost-jgx8d                 0/1     Completed   0          27m
frappe-bench-erpnext-erpnext-685cf9846b-qtcm2          2/2     Running     1          101m
frappe-bench-erpnext-redis-cache-d4877ff86-bph2t       1/1     Running     0          101m
frappe-bench-erpnext-redis-queue-5dc9d5d95-znpcp       1/1     Running     0          101m
frappe-bench-erpnext-redis-socketio-79bdcbff97-69nlm   1/1     Running     0          101m
frappe-bench-erpnext-scheduler-7cf446cfbb-4n8dw        1/1     Running     0          101m
frappe-bench-erpnext-socketio-6bc54f7df9-k6xnq         1/1     Running     0          101m
frappe-bench-erpnext-worker-d-6674898575-4h76f         1/1     Running     0          101m
frappe-bench-erpnext-worker-l-5b9df457c6-6ds5t         1/1     Running     0          101m
frappe-bench-erpnext-worker-s-8d58cbb44-dqjmd          1/1     Running     0          101m
push-backups-420-4b4k5                                 1/1     Running     0          3s
push-backups-420-4b4k5                                 0/1     Completed   0          6s

❯ kl -n erpnext push-backups-420-4b4k5
Uploading file: /home/frappe/frappe-bench/sites/mysite.localhost/private/backups/20200708_153225-mysite_localhost-database.sql.gz
Uploading file: /home/frappe/frappe-bench/sites/mysite.localhost/site_config.json
Uploading file: /home/frappe/frappe-bench/sites/mysite.localhost/private/backups/20200708_153225-mysite_localhost-files.tar
Uploading file: /home/frappe/frappe-bench/sites/mysite.localhost/private/backups/20200708_153225-mysite_localhost-private-files.tar
push-backup complete

Restore backup (overwrite)
❯ k apply -n erpnext -f /tmp/restore.yaml
job.batch/restore-backups-420 created
❯ kl -n erpnext restore-backups-420-5b5p8
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-database.sql.gz
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-files.tar
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-private-files.tar
Downloading mysite.localhost/20200708_153225/site_config.json
Overwrite site mysite.localhost
Extract Database GZip for site mysite.localhost
Restoring MariaDB
Extracting /home/frappe/backups/mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-private-files.tar
Extracting /home/frappe/backups/mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-files.tar

Restore backup (fresh)
❯ k apply -n erpnext -f /tmp/restore.yaml
job.batch/restore-backups-420 created
❯ kl -n erpnext restore-backups-420-4sppc -f
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-database.sql.gz
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-files.tar
Downloading mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-private-files.tar
Downloading mysite.localhost/20200708_153225/site_config.json
Create site mysite.localhost
Extract Database GZip for site mysite.localhost
Restoring MariaDB
Extracting /home/frappe/backups/mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-private-files.tar
Extracting /home/frappe/backups/mysite.localhost/20200708_153225/20200708_153225-mysite_localhost-files.tar

What version of image are you using?

I am using v12.10.0 on both the helm chart and all of the backup / restore jobs.

Backup Job
apiVersion: batch/v1
kind: Job
metadata:
  name: backup-sites-manual
  namespace: erpnext
spec:
  backoffLimit: 1
  template:
    spec:
      securityContext:
        supplementalGroups: [1000]
      containers:
        - name: backup-sites
          image: frappe/erpnext-worker:v12.10.0
          args: ["backup"]
          imagePullPolicy: IfNotPresent
          env:
            - name: "WITH_FILES"
              value: "1"
          volumeMounts:
            - name: sites-dir
              mountPath: /home/frappe/frappe-bench/sites
      restartPolicy: Never
      volumes:
        - name: sites-dir
          persistentVolumeClaim:
            claimName: erpnext
            readOnly: false

Backup Job Logs
database backup taken - ./erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-database.sql.gz - on 2020-07-08 19:16:57.976997
files backup taken - ./erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-files.tar - on 2020-07-08 19:16:57.977317
private files backup taken - ./erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-private-files.tar - on 2020-07-08 19:16:57.977386

Upload Job
apiVersion: batch/v1
kind: Job
metadata:
  name: push-backups-manual
  namespace: erpnext
spec:
  backoffLimit: 1
  template:
    spec:
      securityContext:
        supplementalGroups: [1000]
      containers:
        - name: push-backups
          image: frappe/erpnext-worker:v12.10.0
          args: ["push-backup"]
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - name: sites-dir
              mountPath: /home/frappe/frappe-bench/sites
          env:
            - name: "BUCKET_NAME"
              value: mysite.com
            - name: "REGION"
              value: us-east-2
            - name: "ACCESS_KEY_ID"
              valueFrom:
                secretKeyRef:
                  key: accessKey
                  name: push-backup-s3-secret
            - name: "SECRET_ACCESS_KEY"
              valueFrom:
                secretKeyRef:
                  key: secretKey
                  name: push-backup-s3-secret
            - name: "ENDPOINT_URL"
              value: https://s3.amazonaws.com
            - name: "BUCKET_DIR"
              value: erpnext/backup
      restartPolicy: Never
      volumes:
        - name: sites-dir
          persistentVolumeClaim:
            claimName: erpnext
            readOnly: false

Upload Job Logs
Uploading file: /home/frappe/frappe-bench/sites/erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-database.sql.gz
Uploading file: /home/frappe/frappe-bench/sites/erp.mysite.com/site_config.json
Uploading file: /home/frappe/frappe-bench/sites/erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-files.tar
Uploading file: /home/frappe/frappe-bench/sites/erp.mysite.com/private/backups/20200708_191656-erp_mysite_com-private-files.tar
push-backup complete

Restore Job
apiVersion: batch/v1
kind: Job
metadata:
  name: restore-backups-manual
  namespace: erpnext
spec:
  backoffLimit: 1
  template:
    spec:
      securityContext:
        supplementalGroups: [1000]
      containers:
        - name: restore-backups
          image: frappe/erpnext-worker:v12.10.0
          args: ["restore-backup"]
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - name: sites-dir
              mountPath: /home/frappe/frappe-bench/sites
          env:
            - name: "MYSQL_ROOT_PASSWORD"
              valueFrom:
                secretKeyRef:
                  key: password
                  name: mariadb-root-password
            - name: "BUCKET_NAME"
              value: mysite.com
            - name: "ACCESS_KEY_ID"
              valueFrom:
                secretKeyRef:
                  key: accessKey
                  name: push-backup-s3-secret
            - name: "SECRET_ACCESS_KEY"
              valueFrom:
                secretKeyRef:
                  key: secretKey
                  name: push-backup-s3-secret
            - name: "ENDPOINT_URL"
              value: https://s3.amazonaws.com
            - name: "REGION"
              value: us-east-2
            - name: "BUCKET_DIR"
              value: erpnext/backup
      restartPolicy: Never
      volumes:
        - name: sites-dir
          persistentVolumeClaim:
            claimName: erpnext
            readOnly: false

Restore Job Logs
Downloading erp.mysite.com/20200708_191656/20200708_191656-erp_mysite_com-database.sql.gz
Downloading erp.mysite.com/20200708_191656/20200708_191656-erp_mysite_com-files.tar
Downloading erp.mysite.com/20200708_191656/20200708_191656-erp_mysite_com-private-files.tar
Downloading erp.mysite.com/20200708_191656/site_config.json
Overwrite site erp.mysite.com
Extract Database GZip for site erp.mysite.com
sh: 2: -e: not found
sh: 2: -e: not found
sh: 2: -e: not found
sh: 2: -e: not found
Restoring MariaDB
sh: 2: _7033aa8d54d18326: not found
Extracting /home/frappe/backups/erp.mysite.com/20200708_191656/20200708_191656-erp_mysite_com-private-files.tar
Extracting /home/frappe/backups/erp.mysite.com/20200708_191656/20200708_191656-erp_mysite_com-files.tar

Figured it out. I had a carriage return in my mariadb-root-password so it was not able to log into the db. It might be helpful to check if auth failed during the restore and provide a better error message in the logs. Below is a link where the script sets up the auth and is used in 4 of the lines which correspond to the 4 sh: 2: -e: not found errors.
https://github.com/frappe/frappe_docker/blob/f97c276871a0270d08eda1127959aa32688f7175/build/common/commands/restore_backup.py#L242
Thanks @revant


Implement mechanism for routing requests for Fedora resources, filtered by an extension

(see patterns doc)
Simplifying assumptions:

Assume that zero or one global extension will be registered (that is to say, if an extension is registered, then it applies to all requests to Fedora resources).

Depends on:

#4 (service invocation model)

Testing:

Extension returns an error (e.g. like failed validation of request),
Extension modifies request (e.g. adds a triple to a POST/PUT; akin to adding a “server managed” triple managed by the extension).
Extension modifies response (e.g. add an http header, modify body,
Extension short-circuits Fedora (e.g. crafts own response, as in caching use case), Add/remove extension.

Addressed in 4117970a819cc25bfa4830d21ac3c6e6ce72b51b


Is there any other link to download a model weight file not via baidu?

It is impossible to download  model weight files without the baidu registration. Could you share them via google drive?

Hi, Thanks for your interest in our work, we will release the new sharing link with Google Drive soon, including the model weights and our conda environment, please keep watching.

Thank you for the responce. I'm looking forward to your update.

Hi, Thanks for your patience, we have already posted the new Google Driver link of our model weight and the environment. Please feel free to drop us an issue if you encounter any problems while using these files. Hope you enjoy it~

Hello. I requested  access to the files. Could you please approve my request? Thanks.

Sorry for the permission error, it is already approved, please have a try.

I successfully downloaded them. Thank you for sharing.

I successfully downloaded them. Thank you for sharing.

Could you also provide the weights for full-COCO and PASCAL Voc dataset

Ok, I will upload these files to Google Drive as soon as possible. Thanks for your patience.

@AlooTikkiii The checkpoint files of COCO-Full and PASCAL have already been uploaded to the Google Driver.