1.3.1 TypeScript example doesn't work with Browserify

The TypeScript code is set up assuming ES6 modules with a default export are used, but in practice dexie.js does not use a default export.
Trying to subclass Dexie then fails:
import Dexie from 'dexie';

class MyDB extends Dexie {
  // ...
}

Generates the following JS:
var dexie_1 = require('dexie');

var MyDB = (function(_super) {
  __extends(this, _super);
  // ...
})(dexie_1.default);

When running in Browserify, dexie_1.default is undefined, leading to an error when the __extends helper tries to inherit the prototype.

Dexie does default export in its source version at src/Dexie.js and in dist/dexie.es6.js. The UMD module may not do this correctly though. In the typescript sample in samples/typescript in the github repo, I use a setup with tsc + babel (leaving es6 module format) + rollup that works fine. Haven't tested the setup with tsc + babel + browserify, but I suppose that combo is common.
Any suggestion on how to fix it? :)

Seems tsc behaves differently when targeting es5.
https://github.com/Microsoft/TypeScript/issues/5285
I've updated the README.md to clarify that you need to target es6 for the sample to work.

Ok, so now I've found a workaround that makes dexie.d.ts work both when tsc is targeting es5 and es6. SImply setting Dexie.default = Dexie makes it work in both cases and does not interfere with anything else.

It's working now. Thanks!


An init.mp4 is not a valid segment name

line 331 - TS_INIT_SEGMENT_NAME = "init.mp4" is not correct.
The names of init segment differs, could be for example<EMAIL_ADDRESS>

Thanks for raising this issue, I believe this has been explained/addressed.
If you have further feedback, please feel free to reopen or create a new issue.


Adds Dapr Bot /ok-to-test to trigger Fossa Dependency License Scan

Description
Fixes #359
Enables license scan for dependencies going forward

Adds /ok-to-test for FOSSA scanning
Adds /assign
Adds /make-me-laugh 😆
Also marks issues as stale after 60 days.


Effects with the same technique name

Having multiple files with the same technique names (such as using CAS.fx and cCAS.fx), REST will enable both of them in your enabled shaders list on load.
easily reproducible by having two shaders with the same technique name, enable REST, enable one of those shaders and both will be enabled. untick one of them and click reload, both will be enabled once again.
(not really high priority issue, since using "Only load enabled effects" basically solves this issue.)

If I recall correctly, then you can't separate techniques by their respective origin files, hence they just get all triggered. Need to double check.


DesktopUI: receive fmultiple different branches of same stream in Revit

In Revit the state is preserved per stream, this means that if you receive from branch A and then branch B everything that came from A is deleted automatically. We should let users receive from multiple branches of the same stream.
Possible solutions:

let users add the same stream more than once in DesktopUI
add an option to use or not the state when receiving (basically disabling/enabling the update feature in Revit)

Closing this as it'll be fixed in DUI2


Update docs and improve naming

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (894eff3) to head (cb40015).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          650       650
=========================================
  Hits           650       650

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


check the return value of OPENSSL_strdup(CRYPTO_strdup) in app_rand.c:32

Add a check for the the return value of OPENSSL_strdup(CRYPTO_strdup) in app_rand.c:32.
After further analysis, I find that this will not result in incorrect access to save_rand_file as app_rank.c:79 has a check for it in the current version.
However, once some internal memory allocation errors occur here, it means that there are other unknown memory risks in the subsequent running. So I think it is necessary to throw the error in time.

It seems like this, #17113 and #17110 are essentially the same change, just in different spot.  Unless @x2018 minds, I would collapse them into the same commit...

It seems like this, #17113 and #17110 are essentially the same change, just in different spot. Unless @x2018 minds, I would collapse them into the same commit...

I do not mind. Sorry for bringing you extra work. In the future, I will try to take note of similar changes and batch them into one PR.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master and 3.0, thanks for the fix.


Windows service connector support

Hi, I see that the last release of the connector has been done 1 year ago. Is this project still active ?
I played with the windows service and compared it to the chrome built in one.
The chrome connector does see network printers while the one in the windows service does not. I managed to have a network printer seen when installed as if it was a  local one (a kind of trick you do in windows), in this way the service did see the printer , but it prints garbage. With an actual local USB printer it does work fine.
Any comment from Google on the matter ?
Thank you.
Enrico ok

This seems to be a duplicate of #437

As i said, when I install the network printer as a local one, it seems working (printer is registered by the gcp connector service), but it prints out garbage or blank pages when I try to print from a program I wrote that calls the print API.
However the same program prints the same document fine when I try to print from the chrome cloud print page. Could it be I am not crafting the print ticket properly ? (When I print to a local printer , using the same print ticket , it does work fine).


Felfert patch 1

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Adds/updates Documentation

Code Checklist

[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have implemented respective test(s)
[ ] I have run lints and tests (cargo fmt && cargo clippy && cargo test) that prove my fix is effective or that my feature works

foo


Create MSHA archiver

Progress so far:

The Mine Data Retrieval System page is where I was initially accessing data but it turns out to actually download it from hyperlinks you need to go to this page.
I'm currently printing out all the hyperlinks that are found on the web page because for the sake of debugging.
Running pudl_archiver --datasets mshamines --initialize --sandbox gives me a timeout error when uploading Violations.zip. I think this is because it's too large but I haven't really looked into this error at all so that's a guess.
See my notes below about the definitions files for each dataset. I'm not sure if we've run into this with any other dataset or if we want to bother archiving the definition file with the dataset.
My regex might be too inclusive or just not the best
Does any unzipping need to be done or should the .zip files be uploaded directly?

Left to do:

[x] Get the metadata definitions file for each dataset. This gives the type and description of each column. I think we probably do want to get these files. See below for more information about this
[x] Debug Timeout error when uploading Violations.zip file. I believe this is the largest file (265.7 MB when zipped and 1.29 GB when unzipped).
[x] Take out logging statement in pudl_archiver.archivers.msha that prints out all the hyperlinks found on the web page. (used for debugging)
[x] There are a few more data exploration tools on the Mine Data Retrieval System page under "Other MSHA Data Reports". I haven't really looked at these but maybe they're something we want to archive? It could be that it's just a data exploration tool for the .zip datasets that are already being archived in this PR. So maybe don't worry about these reports.

Definitions files:
The definition file for each dataset comes in a separate .txt file. I think archiving these .txt files should be a different function in the same MSHA archiver module (or part of get_resources) but maybe I'm wrong there. These files would be ideally uploaded to the same directory as their associated dataset.

Updates:
The script now grabs both .zip and .txt files, and does some reformatting to make the dataset name equivalent. This works as expected, but I'm still running into the upload timeout for Violations.zip.
The datasets under "Other MSHA Data Reports" seem to be mostly be summary tables (cases by citation number, accidents by state, etc.). May be useful down the line but they do not seem to be any raw data that isn't covered in the other tables, so I'll leave these out for now.

Not clear what changed, but Violations.zip now uploads to Zenodo just fine. Updated frictionless.py to add .txt to the allowed MEDIA_TYPES, but flagging for the reviewer that the description I provided might need improvement. Sandboxed dataset example can be found here.

Weird! Maybe I truly was just having a network issue.

but flagging for the reviewer that the description I provided might need improvement. Sandboxed dataset example can be found here.

Which description are you referring to?

As written, it'll log a note that the dataset type falls outside of expected partitions, but won't prevent downloads if this is the case. Also grabbed one other table (107a) that is housed on another webpage.

So if it finds a link to a dataset that doesn't match one of the expected datasets, it won't fail? It would be valuable to have an obvious notification if something new that we want to download appears on the page. Otherwise we'll probably just ignore it so long as the archiver runs without breaking.
But if it doesn't find an expected dataset, it will fail, right?

Take out logging statement in pudl_archiver.archivers.msha that prints out all the hyperlinks found on the web page. (used for debugging)

Is there any harm in leaving it in but using logger.debug(), so it's available for future debugging?

As written, it'll log a note that the dataset type falls outside of expected partitions, but won't prevent downloads if this is the case. Also grabbed one other table (107a) that is housed on another webpage.

So if it finds a link to a dataset that doesn't match one of the expected datasets, it won't fail? It would be valuable to have an obvious notification if something new that we want to download appears on the page. Otherwise we'll probably just ignore it so long as the archiver runs without breaking.
But if it doesn't find an expected dataset, it will fail, right?

The answer to both of these questions is currently no - I haven't set this to fail in either case, just to log an informational warning if there's a file name that doesn't conform to one of the existing data types after minimal editing. This could happen either because the file name has changed in a way that isn't caught by my current minimal reformatting, or because there's a new category of data.

Updated a few things after a chat with @zaneselvans:

The script now generates a list of hyperlinks from both target pages and compares them to an expected dictionary of file paths. If the hyperlink is not contained in the dictionary (aka new file, or new typo), or if all expected files are not found in the hyperlink list, this will raise a ValueError. This replaces the earlier flexible parsing of hyperlink names.
Subsequently, the dictionary key is used to rename the files to more consistent formats and update the partitions. Snakecase is used to make things more consistent.
Because the links are generated in get_resources() now, I've deprecated the separate method for 107a and fed all links into one get_dataset_resource() function.
Added the list of full links returned from both pattern searches to a logger.debug() call.

Still to resolve: I'm intermittently getting a TimeoutError from asyncio for the violations.zip file that has given both me and Katie trouble. I'm not sure how to resolve this.

@zaneselvans Think your comments should've all been addressed, let me know if not!
@jdangerx @zschira I'm still running into a persistent (but inconsistent) asyncio timeout error here with one file (violations.zip). Do either of you have thoughts on how to deal with this?

@e-belfer I can help you more easily if you paste the error traceback!

@jdangerx See below. If there's any reason to hold off on merging this PR just let me know.
2023-02-09 12:02:14 [    INFO] catalystcoop.pudl_archiver.depositors.zenodo:90 PUT https://sandbox.zenodo.org/api/files/09ba9a33-719c-429b-90cd-d021cea1766e/msha_violations.zip - Uploading msha_violations.zip to bucket Encountered exceptions, showing traceback for last one: ["('mshamines', TimeoutError())"] Traceback (most recent call last):   File "/home/thinky/mambaforge/envs/pudl-archiver/bin/pudl_archiver", line 8, in <module>     sys.exit(main())   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/cli.py", line 58, in main     asyncio.run(archive_datasets(**vars(args)))   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/asyncio/runners.py", line 44, in run     return loop.run_until_complete(main)   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete     return future.result()   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/__init__.py", line 99, in archive_datasets     raise exceptions[-1][1]   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/__init__.py", line 47, in archive_dataset     await archiver.create_archive()   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/archivers/classes.py", line 180, in create_archive     await self.deposition.add_files(resource_dict)   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/zenodo/api_client.py", line 226, in add_files     await self._apply_changes()   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/zenodo/api_client.py", line 248, in _apply_changes     await self.depositor.create_file(   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/depositors/zenodo.py", line 299, in create_file     return await self.request(   File "/home/thinky/Desktop/Catalyst/PUDL/pudl-archiver/src/pudl_archiver/depositors/zenodo.py", line 91, in requester     async with session.request(method, url, **kwargs) as response:   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in __aenter__     self._resp = await self._coro   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/site-packages/aiohttp/client.py", line 560, in _request     await resp.start(conn)   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 894, in start     with self._timer:   File "/home/thinky/mambaforge/envs/pudl-archiver/lib/python3.10/site-packages/aiohttp/helpers.py", line 720, in __exit__     raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError


Add additional command to try when verifying installation.

The given commands didn't work for me, so I looked through my system for a similarly-named file and found interface/stlink-v2-1.cfg. When I tried that I ended up getting the breakpoints result mentioned.
One thing I'm still a little confused about is the mention of having an older revision of the board. I don't think I have an old version because I bought it recently and my PCB says "MB1035D" next to the STM32 chip. It might be due to having a newer distribution of OpenOCD because it doesn't have any files named stlink.cfg, only stlink-v1.cfg, stlink-v2.cfg, and stlink-v2-1.cfg. I didn't want to make any changes to the rest of the description, though, because it doesn't change the fact it's something that you need to keep in mind later (I assume, I'm just starting the book), and I don't feel I understand enough at this point to make that decision.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @adamgreig (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@aphistic, how did you install your openocd version and are you sure it's recent? The new stlink.cfg file has been around for a while and is in the current openocd source, but their releases are extremely infrequent and so if you're missing the file it might just be that your openocd is old.

@aphistic, how did you install your openocd version and are you sure it's recent? The new stlink.cfg file has been around for a while and is in the current openocd source, but their releases are extremely infrequent and so if you're missing the file it might just be that your openocd is old.

Hey! I installed the openocd package that comes with Ubuntu 20.04. I also seem to be missing anything relating to ST-LINK v3 or the st-link interface driver that it seems like the openocd documentation pdf mentions. Here's the package I installed: https://packages.ubuntu.com/focal/amd64/openocd/filelist


no division features

of a parent object of a division
(children's life time is 1 time frame - if this is increased to 2, code works)
(ilastik-devel) jales@seagul:~/software/miniconda/envs/ilastik-devel/ilastik-meta/ilastik$ ./ilastik.py
Starting ilastik from "/home/jales/software/miniconda/envs/ilastik-devel".
[====================] 100%
[====================] 100%
[====================] 100%
************************
Settings are:
	StatesShareWeights: true
	AllowPartialMergerAppearance: false
	AllowLengthOneTracks: false
	RequireSeparateChildrenOfDivision: true
	NonNegativeWeightsOnly: false
	OptimizerEpGap: 0.005
	OptimizerVerbose: true
	OptimizerNumThreads: 1
************************
	contains 6 segmentation hypotheses
	contains 8 linking hypotheses
Initializing opengm model...
Model has 60 indicator variables
	contains 8 linking annotations
	contains 6 detection annotations
	contains 2 division annotations
ERROR 2016-12-19 13:02:44,231 excepthooks<PHONE_NUMBER>88579136 Unhandled exception in thread: 'MainThread'
ERROR 2016-12-19 13:02:44,231 excepthooks<PHONE_NUMBER>88579136 Traceback (most recent call last):
  File "/home/jales/software/miniconda/envs/ilastik-devel/ilastik-meta/ilastik/ilastik/applets/tracking/structured/structuredTrackingGui.py", line 366, in _onRunStructuredLearningButtonPressed
    withBatchProcessing)
  File "/home/jales/software/miniconda/envs/ilastik-devel/ilastik-meta/ilastik/ilastik/applets/tracking/structured/opStructuredTracking.py", line 340, in _runStructuredLearning
    mht.trainWithWeightInitialization(model,gt, initialWeights)
RuntimeError: Trying to set division of 12 active but the variable had no division features!

object 12  (in question) does have division features:
 {'appearanceFeatures': [[0.0], [1.0]],
                             'disappearanceFeatures': [[0.0], [1.0]],
                             'divisionFeatures': [[2.0402208652063365],
                                                  [0.1392620618526208]],
                             'features': [[1.2039727645895069],
                                          [0.35667496096863105]],
                             'id': 12,
                             'timestep': [5, 5]}

After investigating what is going on in the model, it becomes obvious that this is not a problem of hytra. Here's an excerpt from the hypotheses graph in the test project for the crop from time 0 to 6:
 'traxelToUniqueId': {'3': {'1': 6, '2': 7},
                      '4': {'1': 8, '2': 9},
                      '5': {'1': 11, '2': 12}}}

So the division is ignored because there is not even any possible child in the next frame. It looks like even though one can annotate things up to frame 6 in the training in ilastik, annotations are only inserted up to frame 5. (The graph gets pruned to annotated nodes only.) @ilastikdev: This needs to be fixed in ilastik/hytra_learning!


Force state_code to be implementation of RegionInterface conform Magento strict typing

Hello Magmodules,
As the title says, I made a slight change to your AddressData service so that the Region is always an impelemtation of RegionInterface. Magento has been forcing this for quite a while and we've experienced an implementation of this module that ran into an error with this for a client.
I hope that this change will benefit the module.
We've seen it working quite well for our client.
Kind regards,
Daniël Riezebos
Mooore Digital

Hi @DanielRiezebos thank you for the PR we will look into this next week!


use os.path.basename() in filename_to_doi

this fixes the bug @egh found in #84.
to handle the full filepath, os.path.basename must be used for the filename to DOI transformation to work.

interactive rebase to squash these into one commit? then it looks good to go.

Closes #84

Thank you!


Proxy: Move DNS name normalization to service discovery

Only the destination service needs normalized names (and even then,
that's just temporary). The rest of the code needs the name as it was
given, except case-normalized (lowercased). Because DNS fallack isn't
implemented in service discovery yet, Outbound still a temporary
workaround using FullyQualifiedName to keep things working; thta will
be removed once DNS fallback is implemented in service discovery.
Signed-off-by: Brian Smith<EMAIL_ADDRESS>

PR #673 was backed out due to causing TestCheck (and other integration tests) to fail. I'm now splitting that PR up into three PRs to be reviewed separately. This is the third commit from that PR, along with the additions to address Oliver's and Sean's review comments in that PR, plus the fix for the TestCheck failure.
The TestCheck (et al.) failure was caused by a related, but out-of-scope, change to how request-targets that have an IP address as a host are processed. I undid those out-of-scope changes. I will file a new issue to track the problem I was trying to address with that buggy part of the original PR.
I verified that all the integration tests pass with this PR.


Add rollout examples

Description
Add examples for all rollout strategy
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking changes (change that is not backward-compatible and/or changes current functionality)

Closes issue(s)
Resolve #128
Checklist

[x] I have tested this code
[ ] I have added unit test to cover this code
[x] I have updated the documentation (README.md and /docs)
[x] I have followed the contributing guide

Coverage remained the same at 96.748% when pulling b87c70a372f8c836c73dfcc09d2daf4713f7b810 on feat/rollout-examples into 94ced15e8635598ced1806e7ef0c123dd3109b5b on main.


Big PM4 update

This version contains updated features for PM4

Thanks so much for this! I am away for the holiday and won't be able to get to this until next month. But I am definitely planning to get this merged and released before the targeted EOL for API 3.

release it before Geometry Dash 2.2 Released


Increment versions for batch releases

Increment package versions for batch releases

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-batch


Kia and Hyundai Support

Working on:
Kia Sorento
Kia Stinger
Hyundai Elantra
Hyundai Genesis
Tuning is WIP: https://docs.google.com/spreadsheets/d/1ZfqAHr1FkchRechv8Pjci9ls7dQ68zuDSPlpvYr7Bz4/edit#gid=0
Safety is WIP

obsoleted by https://github.com/commaai/openpilot/pull/346


Clean up the libhdfs3 install

What changes were proposed in this pull request?
We will only retain the dynamic libraries libhdfs.so or libhdfs3.so at runtime based on this benchmark here. So there is no need to keep the libhdfs3 installation script required for static linking.
How was this patch tested?
Existing compile scripts.

@JkSelf, can we also remove ENABLE_HDFS option from some build scripts?

@JkSelf could you please help to link with the right Issue?

@JkSelf, can we also remove ENABLE_HDFS option from some build scripts?

Seems we still need it for deciding whether to register hdfs filesystem.

@JkSelf, can we also remove ENABLE_HDFS option from some build scripts?

Seems we still need it for deciding whether to register hdfs filesystem.

Yes. We also need to pass the enable_hdfs to velox compile scripts.

@JkSelf is document updated?

The changes is helpful for #7977 ,   libhdfs3 compile issue found during the test. I will bypass the libhdfs3.


feat: amount field send all and resizing

Try out this version of the Hiro Wallet - download extension builds.

This PR fixes (I hope) the amount field font resizing so it works consistently with different symbol lengths, and in both the full page view and extension popup. It also adds the Send all functionality to the button in the UI.

@kyranjamie requesting a new review here bc I refactored after our 1:1. I added back the rightInputOverlay and passed in the SendAllButton as a prop to the AmountField now. I saw some improvements I want to make to the font resizing useEffect but I'll come back to it after I finish up the recipient field changes.
Btw, why call it rightInputOverlay? It isn't overlaying anything, right?


Doc fixup

Shouldn't the sample doc be using the k5login type rather than the file type?

Yes, thanks @jcpunk!


The vertical scrollbar cannot be hidden while the other is shown when overflow is set to auto

Reproduce the issue :

Go to : https://xnacly.me/posts/2024/faster-inserts/
navigate to the container with overflow auto :

See that both scroll bars are shown
Open Inspector, add style="width:1000px" to the div with the content class.

see that both scroll bars diapered

Expected Behavior :
The vertical scroll bar is not shown when not needed. Note that the horizontal one does not have the issue.

Seems like the problem is it not adding the horizontal scrollbar's height to the height of the element, so it has to scroll vertically to show everything.


Fix PHPUnit workflow

Tests are failing because of ::getAnnotations - need to dive into why.

I think the issue is with PHPUnit 9.5 - looks like a method might have been removed. https://www.drupal.org/project/drupal/issues/3186443


Add camera-relative elements support

card_version: 6.0.0-beta.8
browser: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
date: 2024-11-30T21:02:39.072Z
frigate_versions:
279672cc46de4241ae0bae4d97d805c8: 5.4.0/0.14.1-f4f3cfa
lang: en
timezone: America/New_York
git:
hash: a869109
build_date: Mon, 14 Oct 2024 00:01:23 GMT
commit_date: Sun, 13 Oct 2024 16:50:47 -0700
ha_version: 2024.10.4
config:
type: custom:frigate-card
cameras:
- camera_entity: camera.eddie_3
live_provider: go2rtc
go2rtc:
modes:
- webrtc
- mse
- mjpeg
image:
mode: camera
- camera_entity: camera.garage_2
live_provider: go2rtc
go2rtc:
modes:
- webrtc
- mse
- mjpeg
image:
mode: camera
- camera_entity: camera.basement_3
live_provider: go2rtc
go2rtc:
modes:
- webrtc
- mse
- mjpeg
image:
mode: camera
- camera_entity: camera.attic_2
live_provider: go2rtc
go2rtc:
modes:
- webrtc
- mse
- mjpeg
image:
mode: camera
menu:
style: hover
buttons:
media_player:
enabled: true
clips:
enabled: true
snapshots:
enabled: true
cameras:
enabled: false
live:
enabled: true
mute:
enabled: true
expand:
enabled: true
fullscreen:
enabled: false
frigate:
enabled: true
position: top
view:
default: live
live:
show_image_during_load: true
controls:
builtin: false
zoomable: false
lazy_load: false
display:
mode: grid
grid_max_columns: 2
grid_selected_width_factor: 2
media_gallery:
controls:
thumbnails:
show_timeline_control: false
show_download_control: false
show_favorite_control: false
media_viewer:
draggable: false
zoomable: false
lazy_load: false
snapshot_click_plays_clip: false
controls:
builtin: false
timeline:
show_recordings: false
performance: {}
profiles:
- low-performance
elements:
- type: custom:frigate-card-conditional
conditions:
- condition: camera
cameras:
- camera.garage_2
- condition: view
views:
- live
elements:
- type: state-icon
entity: light.office_lights_3
style:
left: 50px
top: 50px
tap_action:
action: toggle
I have 4 cameras set as a grid view.  What I do is setup elements that show states specific to each camera.  It seems that the style/position tags are for the entire card, but not specific to the camera.  In the code above, the element is always going to be top 50px/left 50px.  Am I missing something that will allow me to set the position of the element to the camera itself?

Am I missing something that will allow me to set the position of the element to the camera itself?

You're not missing anything. Elements are currently relative to the card as a whole, not any contents within the card.
I think what you want is a different feature, something like "camera_elements" that renders relative to media (live or otherwise) for a given camera.

Am I missing something that will allow me to set the position of the element to the camera itself?

You're not missing anything. Elements are currently relative to the card as a whole, not any contents within the card.
I think what you want is a different feature, something like "camera_elements" that renders relative to media (live or otherwise) for a given camera.

Thanks for the quick reply, and yes that is what I am looking for. Before grid view, I use Lovelace grid card, and have 4 frigate cards each with their own respective elements and their locations. I am hoping to consolidate into one single card for efficiency.

OK, added as a new feature idea. Be sure to give it your original message a thumbs-up, as this helps choose prioritization of what features get worked on next.


Please update

Hello,
I would like to let you know that I found new metrics have been added on Azure portal but did not see them in the section of Microsoft.Compute/virtualMachines. Could you please add the below items?
Data Disk QD
OS Disk QD
Data Disk Read Bytes/Sec
Data Disk Read Operation/Sec
Data Disk Write Bytes/Sec
Data Disk Write Operation/Sec
OS Data Disk Read Bytes/Sec
OS Data Disk Read Operation/Sec
OS Data Disk Write Bytes/Sec
OS Data Disk Write Operation/Sec
Regards,
Yuki

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

ID: a0a586c4-71fd-e60b-9c4c-1a3eb2443c74
Version Independent ID: 2f3706cc-073b-a310-8da4-2a5a90da6473
Content: Azure Monitor metrics - supported metrics per resource type
Content Source: articles/monitoring-and-diagnostics/monitoring-supported-metrics.md
Service: monitoring-and-diagnostics
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@Yukinobusakabe Thanks for pointing this out! I have assigned the issue to the author to investigate and update as appropriate.

These metrics are not yet live. We will only document them once they have been tested and validated. @Yukinobusakabe can you close the issue for now?


imp: Odoo <14.0: pin black click dependency to <8.1.0 - Odoo >=14.0: bump black to 22.3.0

Fix #133

<14.0: pin black click dependency
>=14.0: bump black to 22.3.0

Thanks! I tagged and released.

Example here: https://github.com/OCA/mis-builder/pull/426
Some noise due to black removing python 2 unicode string prefixes.

Thanks. Are we going to apply it massively?

Thanks. Are we going to apply it massively?

I can do that later this week when we've got some feedback on the release.

OK, we have to take into account that all CIs will be red for 14.0 and 15.0 meanwhile. I will update some repos applying manually the template.

I'm deploying to all repos, 13, 14, 15.
At first sight there are some pylint failures due to [W7940(dangerous-view-replace-wo-priority), ]  Dangerous use of "replace" from view with priority 0 < 99. I'm not sure when this check became mandatory.

In the meantime, click 8.1.1 is out, which resolves the issue :man_shrugging:

@sbidoul v8.1.1 gives the same problem as far as I have checked.
https://click.palletsprojects.com/en/8.1.x/changes/#version-8-1-1

trying https://github.com/OCA/server-auth/pull/365

My mass update script crashed at the letter o. It's been restarted now.


feat: introduced anyhow and thiserror crate.

Implemented app error which contains an exit code
Add_slurm_user functions demonstrates the usage of this error.
Relates to issue https://github.com/th-nuernberg/usermgmt/issues/10 and https://github.com/th-nuernberg/usermgmt/issues/7

@dwgnr Merge conflicts resolved.


There is a memory leak in ngx_array_push

void *
ngx_array_push(ngx_array_t *a)
{
void        *elt, *new;
size_t       size;
ngx_pool_t  *p;
if (a->nelts == a->nalloc) {

    /* the array is full */

    size = a->size * a->nalloc;

    p = a->pool;

    if ((u_char *) a->elts + size == p->d.last
        && p->d.last + a->size <= p->d.end)
    {
        p->d.last += a->size;
        a->nalloc++;

    } else {

        new = ngx_palloc(p, 2 * size);
        if (new == NULL) {
            return NULL;
        }

       /**
        *   WARNING:
        *  There is a memory leak.
        *  When a->elts is overwritten by new, the memory in a->elts can no longer be used by others unless the memory pool is freed
      */
        ngx_memcpy(new, a->elts, size);
        a->elts = new;
        a->nalloc *= 2;
    }
}

elt = (u_char *) a->elts + a->size * a->nelts;
a->nelts++;

return elt;

}

ngx_array_push() is not supposed to release old memory.  Most memory in nginx is allocated from a pool ngx_pool_t and is never released back to the pool. Instead, the entire pool is freed when the entity it's associated with (ngx_connection_t, ngx_http_request_t etc) is destroyed. See https://nginx.org/en/docs/dev/development_guide.html#pool for more details.


Feature fix/iframe improvements

This fixes bug with AddListener being addListener and RemoveListener being removeListener
This also makes some user improvements, by removing args and removing publisher as an argument.
So instead of doing this:
publisher.customFunction.register("Add", "publisher.alert(args[0] + args[1] + '')")
publisher.customerFunction.execute("Add", [1, 2]);

You can do this:
publisher.customFunction.register("Add", "publisher.alert(arguments[0] + arguments[1] + '')")
publisher.customerFunction.execute("Add", 1, 2);

This is because we utilize the built in arguments object:  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments
Because we use the arguments object, we remove the publisher property because it is global and it keeps the arguments[0] not being publisher.

TIL there is an arguments object in JS functions

I much prefer this syntax. a lot more natural feeling.


search throwing error on development version

I'm getting tis on my search:
NoReverseMatch at /blog/search/
This is what I have for blog in urls:
url(r'^blog/', include('zinnia.urls', namespace='zinnia')),
url(r'^comments/', include('django_comments.urls')),
url(r'^ckeditor/', include('ckeditor.urls')),
Here is my site:
http://www.bradrice.com/blog/
Can you tell me if this is a bug or if I need to configure my installation?

I see that you use zinnia_foundation, certainly the latest stable. Zinnia_foundation latest stable is not compatible with the latest version of Zinnia.
Using the develop version of zinnia_foundation should resolve the issue.

Well I did install the develop version. I guess I'll comment on their site if thisi is an issue with zinnia_theme_foundation.


[RFR] actionalias.pack unique with name

Should fix https://github.com/StackStorm/st2/issues/2675
todo

[x] remove old index on name
[x] add unit test
[x] Make Kami happy

@lakshmi-kannan @Kami Thoughts? Specifically on the migration script.

One alternative would be to remove old / incorrect indexes in the ensure_db_indexes method where we ensure all the necessary indexes exist.
In fact, that was the alternative I proposed in the past when we had a similar situation (I believe there should still be a PR with prototype code somewhere), but we decided not to merge it since it was kinda complicated.
It might be worth re-considering that approach again, but that approach also has some disadvantages (in case user has created a custom index, it will be dropped in they don't white-list it).
In any case, I'm not really happy with so many hacky one-time scripts we have in tools/ so it's probably also a good time to consider investing some time in a proper data / schema migration framework.

One alternative would be to remove old / incorrect indexes in the ensure_db_indexes method where we ensure all the necessary indexes exist.

I am glad you brought that up as it was an option that I dismissed very quickly assuming I would get heat from you guys :)
The downside to doing so in ensure_db_indexes is that this is a migration i.e. needs to be applied once while ensure_db_indexes runs everytime a service starts etc. Actually, I am not very clear any longer where all the times this method runs. Also, often I've found it better to keep version specific migration out of the main code-base and have a capability of running it independently.
Having said that we don't have any rational thought behind migrations of schema (schema-less n all) as well as indexes so perhaps it is worth exploring that at some point rather than making ad-hoc changes.

Yes, it runs on every service startup, but that addition shouldn't add a lot of overhead (in case there are no indexes to remove, the part which rectifies the indexes and deletes the removed ones simply wouldn't do anything).
The problem I'm having with ad-hoc stuff is that, because we have no other mechanism right now we need to (probably?) run this inside the package post-inst or let user know to manually running it. In addition to that, we don't have schema and migration versioning which is also not ideal.

Ok. As a middle ground I am willing to move this to ensure_db_indexes with the caveat that we really need to figure this stuff out fast before it gets entirely out of hand. Agreeable?

@manasdk I'm fine with that as long as we document that behavior and we add a whitelist option to the config (this way, in case user creates custom indexes, they can whitelist them so they don't get removed on rectification).
Also, IIRC, the code for that was a bit convoluted since I needed to use pymongo directly to retrieve existing indexes, etc. and IIRC, there were also some other caveats.

as long as we document that behavior and we add a whitelist option to the config

Isn't this rather arbitrary?

Also, IIRC, the code for that was a bit convoluted since I needed to use pymongo directly to retrieve existing indexes, etc. and IIRC, there were also some other caveats.

Yeah I got that part figured out already. Using pymongo.

@manasdk I think it's a good idea to add that and document it. Otherwise, if user creates a custom index (for whatever reason they might have), it will be removed on service startup and that's undesired from the user perspective so we need a way to allow user to whitelist those custom indexes.

@Kami Can't help but think that the migration script which is controllable would be a better alternative. Anyway, adding this code will push the work out to early next week since I am off to dealing with some other tasks. I will do this but only because you think it is a good idea :P

@kami I have decided to not care about custom indexes. It should be possible to fix that part later if the need arises.

Nice :+1:


Implement categorical accessor

This translates the logic from dask/dask, although I am not really happy with it.
I think it would be worth exploring to make stuff like categories, as_known lazy as well. Unfortunately this has some drawbacks. Operations like pivot_table are using the categories to infer the structure of the result object. I don't have enough history here to judge whether this is something worth pursuing. Thoughts?

@mrocklin and I discussed this briefly last week and agreed to merge as is for now


Enable Passphrase for Restore Command

Description
Implements an option to pass a passphrase when restoring from mnemonic.
Related Issue
Closes #1671
Motivation and Context
Without this change users are only able to (easily) import a wallet from Sparrow if they did NOT use a passphrase.
How Has This Been Tested?
Default case has been verified to call to_seed() with no passphrase and all single word data passed with the option is verified to replace that. Utilizes the standardized behavior as seen in other sub-commands.

I've already done the create command changes, but have not implemented unit tests. Will try to get my work committed tonight or tomorrow on this.


[FEATURE] Add an error message when uploading an invalid image file type

Describe the bug
Add an error message when uploading an invalid image file type
To Reproduce
Steps to reproduce the behavior:

Upload an invalid image file, such file type is .pdf

Result
That file is not uploaded, without any error message
Expected
It's better to add an indicative error message to tell users that type of file is not allowed to upload.
Environment:

Harvester ISO version: master-head
Installation Mode: ISO

Uploading is not supported for now.


Bump k8s.io/* and controller-runtime dependencies

This change bumps the k8s.io/* and controller-runtime dependencies to the latest release. It also bumps the tektoncd/pipeline dependency, as the previously-used version had references to k8s.io alpha apis that were removed.

Closing, as there is a pre-existing PR for this that I didn't see: https://github.com/kubernetes-sigs/prow/pull/262


dotHAT for non-raspbian distribution

Actually using Ubuntu-MATE 15.10..
i modified displayotron bash script to 'not' checking distro

--    IS_RASPBIAN=$(cat /etc/-release | grep "Raspbian")
++   IS_RASPBIAN=$(cat /etc/-release | grep "Ubuntu")

and removed some package not present in repositories

--pkgdeplist=( "git" "python-pip" "python-rpi.gpio" "python-smbus" "python-dev" "python3-pip" "python3-rpi.gpio" "python3-dev" ) # list of all the mandatory apt dependencies
++ pkgdeplist=( "git" "python-pip" "python-rpi.gpio" "python-smbus" "python-dev" "python3-pip" "python3-rpi.gpio" "python3-smbus" "python3-dev" ) # list of all the mandatory apt dependencies

afterward, tried to do so manually (with help of this website ) and then, launched DOT script.
Result:

Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 304, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1235, in prepare_files
req_to_install.assert_source_matches_version()
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 465, in assert_source_matches_version
% (display_path(self.source_dir), version, self))
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 71, in display_path
if path.startswith(os.getcwd() + os.path.sep):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

Storing debug log for failure in /home/lowlow/.pip/pip.log
Python 2 library install failed!

This appears to be a broken or malfunctioning install of pip, and not related to dot3k. You might have luck trying some of the answers here: http://stackoverflow.com/questions/26473681/pip-install-numpy-throws-an-error-ascii-codec-cant-decode-byte-0xe2


Information: Could not load type of field 'NuGetConsole.Host.PowerShell.InstalledPackageEnumerator

Just for your information.  Thanks for your work.
Get this when opening the Manager Console in VS4Mac 8.2.6.
NuGet <IP_ADDRESS>
Type 'get-help NuGet' for more information.

PM>
Could not load type of field 'NuGetConsole.Host.PowerShell.InstalledPackageEnumerator+<OrderPackagesForPackagesConfigAsync>d__9:<packagesToSort>5__3' (10) due to: Could not load file or assembly 'NuGet.Resolver, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
PM>

Version 0.19 should be OK with VS Mac 8.2
https://addins.monodevelop.com/Project/Index/121


nrf51.cpu -- clearing lockup after double fault

Running apache-mynewt-nimble/apps/bleprph app on a micro:bit v1 yields the following problem:
$ newt run myperiph 0
App image successfully generated: ...
Loading app image into slot 1  ...
; nrf51.cpu configure -event gdb-detach {if {[nrf51.cpu curstate] eq "halted"} resume;shutdown}
GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.10) <IP_ADDRESS>10621-git

--Type <RET> for more, q to quit, c to continue without paging--

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ...
0xfffffffe in ?? ()
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
0xfffffffe in ?? ()
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
(gdb) c
Continuing.
nrf51.cpu -- clearing lockup after double fault

Program received signal SIGINT, Interrupt.
0xfffffffe in ?? ()

Setup:
# target.yml
target.app: "@apache-mynewt-nimble/apps/bleprph"
target.bsp: "@apache-mynewt-core/hw/bsp/bbc_microbit"
target.build_profile: optimized

# syscfg.yml
syscfg.vals:
      LOG_LEVEL: 255
      BLE_LL_CFG_FEAT_LE_ENCRYPTION: 0
      BLE_SM_LEGACY: 0
      BLE_SM_SC: 0

# project.yml

...

repository.apache-mynewt-core:
    type: github
    vers: 0-dev
    user: apache
    repo: mynewt-core

The same problem occurs with other example apps.

Hi, had a similar issue, from what I could gather you need to load both the bootloader and your app. When you halt reset your device you can see that pc is pointing at 0xfffffffe when it should be something more like 0x000000c0.
In the tutorials you'll find that there are two targets that need to be created, built and uploaded onto the device.
You've created the app but you might be missing the nrf51_boot target. This is at least what solved my issue.


Update Readme.adoc to match BB productive

resturcture the page to look like the home page of a real product
remove references to addressbook-level2
remove Learning Outcomes
mention your target users
add a marketing blurb

Acknowledge the original source of the code


Rerquest for USB audio cards

I would very much like to use you script but have no experience of Python.  I have a Pi4 with a USB sound card. These cards seam to only do 44.1 or 48K.  Can the script be tweaked to read a card at 44.1 or 48K and then down sample to 16K to send to Zello?
Thanks
Matthew

To use on a Pi, set the audio input device to "pulse".  Pulse audio will do the sample rate conversion.  If you're using more than one USB sound card you may need to use pavucontrol or another method to specify which pulse audio source to use with voxcall, but if only using one USB sound card, simply setting "pulse" as the audio input device should do the trick.


add `doom/large-file-check to prompt literal open of large files

Add a prompt that will ask to open large files literally to avoid performance issues. A large file is determined by the checking the file size against the variable doom-large-file-size (default: 1MB). Opening a file literally essentially means that:

Major and minor modes are disabled
Buffer is readonly
Undo is disabled

This results in drastic performance increases when opening a large file with the intention simply viewing it. This does not interfere with the built in emacs prompt when opening very large files.
Also, let me know if this functionality should be located somewhere else. core/editor seemed like the most logical location for it.

Excellent, thanks! And yes, core-editor seems the best fit for it.


Long targets calculating

Hello,
I just notice that it takes much time to start the scanning, this delay comes from IP range calculating and finding out the total targets number.
python nettacker.py -i <IP_ADDRESS>-<IP_ADDRESS> -m port_scan
python nettacker.py -i <IP_ADDRESS>/8 -m port_scan

I think we can use a better algorithm like:
In [1]: import ipaddress
   ...: ip1 = int(ipaddress.IPv4Address(unicode('<IP_ADDRESS>')))
   ...: ip2 = int(ipaddress.IPv4Address(unicode('<IP_ADDRESS>')))
   ...: print ip2 - ip1
   ...:
16777215

Best Regards.

are we safe to close this PR?


API reference

added minimum docstring comments to scripts, and generated API references.

Coverage increased (+0.02%) to 88.047% when pulling c670633f436360b4b498b83ae80a2495e8451038 on issue6 into 6a8e1cc5347c7f72256d6bb8432a2a99f4aefd2f on master.

close #28 #6


CMake Error at CMakeLists.txt:77 (add_library): Cannot find source file: src/main/cpp/native-lib.cpp

Following all the steps and doing the configuration I am getting the error:
Build command failed.
Error while executing process /data/Android/Sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/data/dev/AndroidStudioProjects/OpenCVDL/app/src/main/cpp -B/data/dev/AndroidStudioProjects/OpenCVDL/app/.externalNativeBuild/cmake/debug/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-21 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/data/dev/AndroidStudioProjects/OpenCVDL/app/build/intermediates/cmake/debug/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=/data/Android/Sdk/ndk-bundle -DCMAKE_C_FLAGS=-O3 -DCMAKE_CXX_FLAGS=-std=c++11 -frtti -fexceptions -DCMAKE_TOOLCHAIN_FILE=/data/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/data/Android/Sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_PLATFORM=android-21 -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_shared -DANDROID_CPP_FEATURES=rtti exceptions}
-- Check for working C compiler: /data/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Check for working C compiler: /data/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /data/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
-- Check for working CXX compiler: /data/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /data/dev/AndroidStudioProjects/OpenCVDL/app/.externalNativeBuild/cmake/debug/armeabi-v7a

CMake Error at CMakeLists.txt:77 (add_library):
  Cannot find source file:

    src/main/cpp/native-lib.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

CMake Error: CMake can not determine linker language for target: native-lib

Any idea ?
Best Regards.

Hi @Luca96
I didn't close this issue because I was still having the problem.
I think that now I figured out the problem.
I'm using Android Studio 3.3.2 and all the screens to 'Create Android Project' is different from those ones in your blogpost https://medium.com/@luca_anzalone/setting-up-dlib-and-opencv-for-android-3efdbfcf9e7f
When I select to create a new 'Native C++ ' project, the CMakefileLists.txt file is created inside the app/src/main/cpp folder. But in the blogpost we have:
build.gradle (app):
    externalNativeBuild {
        cmake {
            path "CMakeLists.txt"
        }
    }

and CMakefileLists.txt :
add_library( # Sets the name of the library.
        ${TARGET_NAME}

        # Sets the library as a shared library.
        SHARED

        # Provides a relative path to your source file(s).
        src/main/cpp/native-lib.cpp )

So, in my case the created CMakefileLists.txt is in the wrong place based on the configuration proposed by you. Then I had to move it from app/src/main/cpp to app folder to fix the issue.
Do you remember if you moved the file manually or if your Android Studio has already created it in the app folder ?
I suggest you to include this detail in the blogpost and also update the setup.sh to check and move the file, if needed, during the setup phase.
Best Regards.

Actually I use AndroidStudio 3.2 and the default location of CMakeLists.txt is app/.
The CMakeLists.txt could be located anywhere, it's not important where it is but its path must be defined in build.gradle to have everything working.
The same is true for the path of the libraries (dlib, opencv). It's necessary that their own path is defined inside build.gradle like so:
sourceSets {
            main {
                jniLibs.srcDirs = [
                        "src/main/cppLibs/dlib/lib",
                        "src/main/cppLibs/opencv"
                ]
            }
        }

For a more complete reference you can examine a project I've made, here.


NPM module public interface: add per language getters

Currently only public function returns the full dataset. Add versions that do this by language, ie:

Client calls getOldIcelandicCrosslinks()
The library filters out links that point to old-icelandic -> no point in self referencing
Under the hood they probably call a common private function which deals with DictionarySource enum. Offer convenience function per enum option.

If we keep the current full dataset method available too, doesn't even need a major version bump

Also, consider adding simple memory cache. No need to filter through the same unchanging dataset multiple times if it still happens to be there in memory.


Hide the search output during the search.

This is a fix for #8. The patch is tested on Vim 8.0 on Debian 8 and Windows10 and macOS High Sierra.

Thanks for the fix!


Zero out setTimeout id

I have noticed that cancelAnimationFrame actually appears on performance captures in Chrome, but cancelling should be almost always unnecessary.
In this PR I nullify the timeout id at the end of the update loop so cancelling is skipped during the next invocation.
I can't think of negative impact or side effect of this change, can you @Maksims ?

I believe the case of canceling was necessary for WebXR, either during session creation, and/or during WebXR active session to avoid rendering to non-xr canvas while session is running.
That needs to be tested.

Actually the entire tick implementation needs a rewrite. Closing for now.


Earthdawn by FASA update 1.0023

Last week update 1.0022 was apparently merged into master (and github shows those updates), but the changes never went live to the public.
both this update, and the last several updates are not creating a new version (new number in script.json file), but are just being merged into the file for 01.002. This worked OK for version 01.0021, it just merging it into 01.002 and went live to the public, but for some reason, last weeks update of 1.0022 just seems to have disappeared, and are not part of the code being run now. Latest version runs code that self-identifies as being version 1.0021.

hi @ChrisDDickey I noticed you are not creating new directories for your new version numbers. All you have is 1.000, 1.001 and 1.002. And not 1.00023 or 1.00022 like you are expecting. This may be the source of the issues you were having.


Consider enabling SQLITE_ENABLE_UPDATE_DELETE_LIMIT compile option when building e_sqlite3

SQLITE_ENABLE_UPDATE_DELETE_LIMIT
From the SQLite Compile-time Options page:

This option enables an optional ORDER BY and LIMIT clause on UPDATE and DELETE statements.
If this option is defined, then it must also be defined when using the Lemon parser generator tool to generate a parse.c file. Because of this, this option may only be used when the library is built from source, not from the amalgamation or from the collection of pre-packaged C files provided for non-Unix like platforms on the website.

The SQLitePCLRaw.lib.e_sqlite3 package does not appear to be built with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT at this time.
Enabling this compile time option would allow queries like UPDATE "table" SET "thing" = 'value' WHERE "thing" IS NULL ORDER BY "id" LIMIT 1; and similarly DELETE FROM "table" WHERE "thing" = 'value' ORDER BY "id" LIMIT 1;.
This functionality is available in other database implementations like Postgres and MySql, and is particularly useful for performing atomic updates without the need for a table lock via a BEGIN IMMEDIATE TRANSACTION, which makes implementing job queues quite elegant.

Looks appealing, but the e_sqlite3 builds are currently made from the amalgamation, so the change to the C side of my build system would be significant.


How to install linux shared library， not static library

as far as i understand the current status it is currently not supported by vcpkg. (probably in the future?)
But you could theoretically create  a new x64-linux-shared triplet (look into the triplet folder) with the following content:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic) # changed to dynamic original x64-linux triplet uses static here

set(VCPKG_CMAKE_SYSTEM_NAME Linux)

but do not expect it to work for everything

谢谢

@Ultraman95 please close the issue if the question has been answered. According to google translate it looks like it :)

English


Not working in Safari

Hi there,
LOVE the package - work's great for me in Chrome.
BUT - not changing languages with setLanguage() when used in Safari, both desktop and mobile.
This is obviously becoming major when deploying to iOS.
I'm currently on v1.2 of Meteor and using angular2-meteor.
Any idea how to solve this?
Anyone else faces the same issue?
Thanks!

Closing this as it was related to how I handled the event and not to the package...


Nomic Function Updates

Creating RPC functions which only fetch course names with >20 conversations/documents to eliminate unnecessary SQL queries.

Update: Nomic still does not update maps when you add new data (the count is updated in the UI though). Need to find a way to delete and recreate maps in the CRON jobs. Document maps seem infeasible to recreate everyday.


[Feature Request]: Bayes Theorem Calculator

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Calculator
Use Case
Calculator
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I have starred the repository

@Ishitamukherjee2004 I can't get the point of this issue ?? can u please explain it so make it more relatable & more understandable

@apu52 The Bayes' Rule Calculator handles problems that can be solved using [Bayes' rule]. It computes the probability of one event, based on known probabilities of other events. And it generates an easy-to-understand report that describes the analysis step-by-step.

Can you please assign this issue to me?


Add forbid unsafe_code

Hello
I think this could be a nice addition so tools like geiger is happy.
What do you think?

🎉Thanks!

Happy to contribute :)

🎉Thanks!

Happy to contribute :)


[genSongbook.py] Add readline/pyreadline to requirements

Add readline (linux) / pyreadline (windows) to requirements for [genSongbook.py] since https://github.com/UC3Music/songbook-tools/issues/3 -> https://github.com/UC3Music/songbook-tools/commit/50c6b081de356baf185e953870887bc632350957

In line with https://github.com/epinna/weevely3/issues/113, closing as wontfix.


Set default EC2 to spin up as encrypted on MCP

💡 Description

Change has been implemented and pushed by IAM permissions need to be fixed by MCP for a successfully deployment. Ticket # GSD-2655 is currently in-progress on MCP side.

Changes completed.


Support streaming output

This PR is closed, because of outdated and will be continued in https://youtrack.jetbrains.com/issue/KTL-1021.


AWS named profiles are not working

Support for AWS named profiles is broken and not working.
Example command:
goad -p development -r eu-west-1 -n 1000 -c 20 -u http://google.com

Fail with following error:
AccessDeniedException: Cross-account pass role is not allowed.

I no longer see the support for names profiles.  Am I missing something?  -p is returning as an unknown short flag


docs(operators): clarify that find can emit undefined

Description: Was bitten by this; I expected no emission to happen if nothing is found. Thought it would be good to explicitly state the edge case in the docs, since just “it won't throw” don't really say anything about what will happen instead (nothing vs emits undefined).

Note that the commit message (and PR title) is wrong - it's referencing filter, but the operator docs that's fixing is find.

My bad, was trying to multitask too much 😄 It should be easy for the merger to change the filter to find from the commit message in GitHub UI (easier than me pulling and amending).

Thank you @lazarljubenovic


Custom Fields import

Am quite happy. I just uploaded 945 product posts, after saying some terrible, terrible things to the monitor (this definitely helps)
However, I am struggling a bit with importing custom fields.
A simple request (2 actually):

can you instruct me where I've gone wrong?,
Please create a reasonably complex example file that we can mull over to learn; in fact a couple of example files would be better.

The attached file of my data shows the field names in the 1st column and some row data as the next few columns (makes for easier reading), green fields imported OK; nothing else did.
custom_field_import_example.xlsx
Muchos gracias
I do hope you smile on this request.
SF in Melbourne, Australia

Further to the above, I forgot to add that the field names exactly match the slugs in my custom fields..

After a lot of arguing with the monitor (my psychologist) all the above are mostly resolved.
I do still have a little wrinkle to iron out; hoping you can help; how does one import into woocommerce product meta fields?


Directname causes delay when switching between Pan and Orbit tools with the mouse

I have a very odd issue - when using pan/orbit tools with mouse middle/right click buttons, switching between the tools in a complex design has a significant delay. I enabled show pointer clicks in the attached screen recording - red is left click, green is left, middle is blue.

It does not occur in simple designs
It does not seem to occur with design history off
It is not a performance issue, as moving with a Spacemouse performs perfectly fine
It only occurs when DirectName is enabled

It's almost like DirectName is iterating through every component or something and checking if it needs to be named, any idea what may be going on here? I love the extension but it makes working with complex models a nightmare. Happy to provide any logs or test as needed, if possible!
https://github.com/user-attachments/assets/b2e451eb-7a2f-409b-b92e-f7964584b19a

I don't see a file called DirectAdmin.py.   Did you mean DirectName.py?

Yes, exactly! My mistake :man_facepalming:
I had some time to do a quick test now.
 Terminated command: ScriptsManagerCommand
 Terminated command: FreeOrbitCommand
 Terminated command: PanCommand
 Terminated command: PanCommand
 Terminated command: PanCommand
 Terminated command: FreeOrbitCommand

Looks like this:

So it looks like extending the list of ignored commands like this should help for pan and orbit:
    if args.commandId in ['SelectCommand', 'CommitCommand', 'PanCommand', 'FreeOrbitCommand']:

but it is interesting to see if your navigation usage triggers some other command as well.

Hi, I just published version 1.4.1 on Github, where I have added these and some more commands to the filtering. A new installer will hopefully appear in the Autodesk app store in 1-2 weeks.


No link to crate documentation in intro/http-client/src/main.rs

Context: I have a reasonable Rust experience, but zero experience with ESP32. I got the ESP32-C3-RUST dev board and followed the https://esp-rs.github.io/no_std-training/ up until the http client example.
The example requires you to configure the clocks, but that's a bit of an abrupt departure.  There's no link to the documentation for this.
Only when using Visual Code Studio can I find the hal crate, but it doesn't really make it clear how to proceed from here.  By grepping around deep inside .cargo I finally find examples-util/src/lib.rs that suggests I should use ClockControl::configure(system.clock_control, CpuClock::Clock160MHz).freeze(); but I'm at a loss at how I was supposed to have known that.
I imagine I'm not the only to be confused at this point.
ADD: this is apparently only the beginning of the trouble.  Hopefully there is documentation that I'm just missing.

Thanks, @tommythorn,  real user feedback helps us to have a better idea how to make our examples even more understandable and useful!
Just in case, recently we've updated docs for all of our modules for each chip where Rust is supported, so please feel free to give some feedback there as well!


Missing dependent file from repo

Required file GPSCAAutoCorr.m is missing from calling functions: toeplitzQMatrix.m, multiTapMultipathEstimatorSingleModelBisect.m, defineObservationMat.m.

All of the above reference files are present in the repo. They are located in the functions folder. You need to add this folder to your matlab path.

Thank you Jason.  The following file is not present: GPSCAAutoCorr.m

Excellent, Jason.  Appreciate you sharing your important work.


On-board AppVeyor CI automation

In order to validate that ongoing changes are compatible with Windows, continuous integration testing should be added to validate the correctness of each and every change.
There is currently an appveyor.yml file checked in, but, at least in my testing, does not result in a passing AppVeyor build.
I've kicked off a one-off CI run with the current appveyor.yml file: https://ci.appveyor.com/project/AndrewGaspar/rust-bindgen/build/1.0.9
The current issues I've found:

[ ] GNU build

[ ] fail when attempting to run ./ci/test.sh, which does not seem to exist in this repo

[ ] MSVC build

[ ] rustfmt not installed
[ ] LLVM 3.9 Test Failures (after fixing rustfmt)

[ ] header_issue_769_bad_instantiation_test_hpp (different output)
[ ] header_objc_template_h (different output)
[ ] header_type_alias_template_specialized_hpp (panic)
[ ] test_header_contents (panic)
[ ] test_multiple_header_calls_in_builder (panic)

[ ] LLVM 4.0 Test Failures (after fixing rustfmt)

[ ] test_header_contents (panic)
[ ] test_multiple_header_calls_in_builder (panic)

I've been testing locally with MSVC + LLVM 4.0 + x64 and have been unable to repro the test failures. My local configuration is with Windows 10 1703, LLVM 4.0.1, latest rust stable and nightly toolchains, and the VS 2017 MSVC toolset.

Any and all help on this front is very appreciated!

There is currently an appveyor.yml file checked in, but, at least in my testing, does not result in a passing AppVeyor build.

It never has, but its the closest we've got so far :-/

fail when attempting to run ./ci/test.sh, which does not seem to exist in this repo

FWIW, we removed ci/test.sh in https://github.com/rust-lang-nursery/rust-bindgen/commit/59b85354a7ce44343ef4bcfd7047b9ea0a6719c6#diff-7d56a9c9997421387b60d253399092b7


separate validateQuoteMarks rule for jsx

There should be a way to use single quotes in js and double quotes in jsx.
See jscs-dev/babel-jscs#12.

New value for it, would be fine, would you like try to implement it?

I'm probably not the right person to implement this one. Does jscs already know which context it's in (js vs jsx)?

I assume this fix just ignores quotes in jsx rather than letting you choose a type of quote to validate?

Yep


Entity definition screen doesn't select on insert

When a new entity definition is added, the screen doesn't select it. Also, the table is always visible.

Fixed.


Remove obsolete table POST code

Spotted this in:

#1999

POST /db/table currently executes obsolete code for inserting a row - I replaced that with /db/table/-/insert in
https://github.com/simonw/datasette/commit/6e788b49edf4f842c0817f006eb9d865778eea5e but forgot to remove the old code.

This code here:
https://github.com/simonw/datasette/blob/56b0758a5fbf85d01ff80a40c9b028469d7bb65f/datasette/views/table.py#L117-L169

Removed code in https://github.com/simonw/datasette/commit/538ca9d2e2d41308f5b149c934e2bc43727fd77c - it will merge when I land:

#1999


Destination of Navigation

Is your feature request related to a problem? Please describe.
I don't know if this is possible from the API or not, but would be great to get access to some / all of the following:
Destination set within the Tesla
Time to destination
I have to automation ideas if these can be exposed e.g. if destination eq home, the time remaining is < 30 minutes and the house is below X then activate the heating (set house occupancy as occupied).
Or - if destination equal friends house, message them when time to house is 10 minutes out.
Describe the solution you'd like
Ideally the API contains these and can be exposed via the Tesla intergration.
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

+1, this would be great for "heading home" automations.
I'll take a look to see if the data is available tonight

I haven't seen anything in the API response that points to a destination, arrival time, etc. Unfortunate because that would be super cool. I was imagining a location_tracker that could use the setup zones to know if you were going home or to work. Then a sensor to estimate when you would get there.
Side note: There is the proximity sensor for heading home automatons
The one possibility is sharing an address to start navigation. I'm not sure what best implementation would be for that. This is possible through the custom api call service.

I suspect that data is only in the websockets payload, but it is available to the app somehow.
It looks like the websockets feature is currently broken in teslajsonpy, but it also looks like there is now an httpx-ws library we might be able to switch to if needed.
I didn't have time last night to get very far with this, but will try to get a capture of some ws data to see if nav destination is available there or not, to inform if it's worth fixing websockets support.

Oh wow, I was not expecting any traction on this, so to see someone else who likes the idea is great :)
If I get any time I am happy to do my own digging as well, but relies on a few things:

Kids not needing my attention or trips out
The car not beaconing me to drive it all the time :)
Not feeling shattered after 1.

Fingers crossed for Sunday to have some time

I messed around trying to get websockets working again, but it's requiring some large rewrites of the old websocket logic to use the new httpx_ws library, and I ran out of time today.
I think it'll be easier to try to create a small stand-alone script to test the websocket connection and see if the nav info is available there. I did confirm with the app again that it does reflect the nav destination and eta, so I still have some hope.

Just noticed these fields in drive_state.
"active_route_destination": "Saved dest. name (maybe address if not saved??)",
"active_route_energy_at_arrival": 40,
"active_route_latitude": 34.111111,
"active_route_longitude": -88.11111,
"active_route_miles_to_arrival": 19.849678,
"active_route_minutes_to_arrival": 34.133333,
"active_route_traffic_minutes_delay": 0.0,

Some are not available when parked, but it looks to be everything we would need.

Nice! I even meant to check the api data to see if it was there only when in Drive, and I totally forgot to do so.
I'm glad we don't have to fuss with websockets!!

In the draft PR I have a location tracker for the destination, a distance to destination sensor, and an arrival time sensor.
The arrival time sensor has extra attributes with the energy at arrival, traffic minutes delay, and the destination name/string.
Naming convention:

sensor.my_model_s_arrival_time
sensor.my_model_s_distance_to_arrival
device_tracker.my_model_s_destination_location_tracker

Let me know if those attributes deserve their own HA sensors and if there are better entity names than what I came up with.

 I believe this provides what is needed for my usecase :)
Looking forward to seeing the PRs track through


Document types

Follow-up to #4010. The idea here is to make types linkable throughout the docs — rather than the unreadable gibberish you get from automatic doc generators, this literally just copies the source .d.ts into the docs, extracts leading JSDoc comments, and crosslinks everything.
So for example in the endpoint docs, the RequestHandler type becomes a link...

...that points here:

[ ] Prevent type docs linking to themselves (e.g. RequestHandler -> RequestHandler in the example above)
[ ] Improve the styles a bit
[ ] Add more JSDoc comments explaining the various types
[ ] Rethink App vs App — maybe we rename the class?
[ ] Include types in search index

Can we set a max length on the snippets? Some of them are very difficult to read on mobile.

Do you mean running Prettier on the snippets with a shorter line length, or something?

Yeah, that would be good if it is possible.

Made that change. The JSDoc comments will need to be updated (and maintained) manually though

Would be good if this linked to Adapter. At the very least the HTML shouldn't be visible:


New Dockerfile instruction to SYMLINK non-persistent and read-only files/folders from host during build

There are workarounds to prevent creating large images, by squashing them, or downloading files from remote location instead of using COPY. This issue is to track the proposal for a new COPY instruction that simply does not creates another layer.
Take the following sample Dockerfile definition:
FROM busybox
COPY veryLargeFile.zip ./
RUN unzip ./veryLargeFile.zip && \
    sh someScriptFromLargeFile.sh && \
    rm veryLargeFile.zip

The resulting image of Dockerfile above is around twice as large as veryLargeFile.zip.
The rm instruction at the end does not help much.
Workaround 1: squash
First solution to this problem would be to squash the image. Not a 1st-class feature.
Workaround 2: download files from a server on piped RUN
A usual practice is to download the file from somewhere instead of using COPY:
FROM busybox
RUN wget http://somehost/veryLargeFile.zip && \
    unzip ./veryLargeFile.zip && \
    sh someScriptFromLargeFile.sh && \
    rm veryLargeFile.zip

The resulting image of Dockerfile above is much smaller than the first version.
But files used as part of Docker images may not be always available on remote servers to be downloaded.
Workaround 3: run temporary server before building image
A third workaround would be to run a local container before the build, that will serve the large file (that lives along with Dockerfile to be built) over HTTP (or FTP):
#!/bin/sh
echo "Building Docker image."
echo "Starting local file server..."
CID_SERVER=$(docker run -d -v `pwd`:/usr/share/nginx/html:ro -d nginx:stable-alpine)
IP_SERVER=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID_SERVER})

docker build --build-arg "IP_SERVER=$IP_SERVER" -t imageName .

docker rm -f $CID_SERVER

And the Dockerfile looks like:
FROM busybox
ARG IP_SERVER
RUN wget http://$IP_SERVER/veryLargeFile.zip && \
    unzip ./veryLargeFile.zip && \
    sh someScriptFromLargeFile.sh && \
    rm veryLargeFile.zip

The problem with this 3rd workaround is that build becomes dependent on a shell script and on a second container to temporarily serve files. The image cannot be built with simple docker build.
It would be better if there was a convenient, OOTB, solution to this problem.

There is a current PR for flattening images, see https://github.com/docker/docker/pull/22641

Not sure if flattening would fix the issue. #22641 has this:
    Flattening does not destroy any images or layers, and preserves the build cache.

What the issue I raise here is actually about, is to prevent needed temporary files from persisting into the image (i.e. software installers, source tar.gz files, rpm/deb packages, etc).
I agree that mounting a folder during build is not the way to go, but neither should be using a hack to download a file over HTTP (see workaround 3):
A new Dockerfile instruction such as SYMLINK may be a good approach:

no layer is created for this instruction
file/dir is linked from inside the during-build-containers back to the host environment as read-only
file/dir won't be persisted on any layer nor the final image
if file referenced by SYMLINK does not exist, build shall fail

Some feedback by Docker Inc. folks here would be nice.

@brunoborges The build machine would contain this, but the image that you distribute would not.

@cpuguy83 but that is the intention. SYMLINK'ed files and folders are only necessary to build the image. The distributable image does not require these files anymore, and thus these files should not be persisted in any image layer, to save image size.

@brunoborges It seems like we're saying the same thing...
Yes, you need the build tools to build the image, they'll be in there as part of the build cache on the build machine, but once flattened, assuming the tools were removed as part of the build, they will be gone from the image.

@cpuguy83 you saying then that #22641 would save image size after flattening them? I read that and seems it won't, because it won't destroy layers.
Each COPY is a layer. And even if the COPY'ed file is removed on a subsequent RUN, that layer won't be destroyed by flattening.

@brunoborges It doesn't destroy the layers (which are part of the build cache). The final image that the build creates is an image that is literally the FROM image with 1 layer on top.

@cpuguy83 what happens with veryLargeFile.zip that was COPY'ed, then removed? Will it cound on the image size?

@brunoborges It will not be part of the final image, but the layers will still be on the system that built it.


Commands: Print error if commit hash could not be found for !test262

Instead of just printing the latest test run, an error will now be
shown if a commit could not be found in the results
This was requested by Ali on Discord

Thanks!


Game crashing during returning Knight boss battle

game is crashing and giving exit code 1 every time i try to kill returning knight, get him to about half health usually and game will crash. Fanstay MC fabric on cursedforge, log included
hs_err_pid15188.log

I've encountered this a good bit with this boss. Happened a lot at the start of the fight for me

Update java version and your drivers if you haven't already. If this doesn't help, and you've made sure to allocate enough ram to minecraft as well, then make a new issue post here if the crash persists. A video of you showing steps to reproduce the issue would also be nice.


Did you have the paper for this repo?

no.

@OlaWod Did you compare the results with other models like FreeVC, KNN-VC ?

@OlaWod Did you compare the results with other models like FreeVC, KNN-VC ?

this one is any-to-many and supports converting to seen speakers
the similarity of this one is influenced by accuracy of pitch adjustment
the seen speaker objective similarity (by resemblyzer):

src
vctk
libritts
esd(emotive, en)
esd(neutral, zh)

knnvc (5min matching set)
82.50%
86.53%
82.95%
82.95%

freevc
83.89%
87.34%
83.14%
83.77%

pitchvc
84.96%
87.96%
83.14%
83.29%

(source wav sampled from datasets in the first line, 500 wavs each; converted to 12 seen speakers)

the subjective similarity, I personally think this one is better in most cases
the naturalness is apparently better than freevc and knnvc

@OlaWod I see this model is better than KNN-VC as well as Phoneme Hallucinator about intelligibility (WER). That is amazing!!!

How did you do that? From my understanding, you improved this model based on the FreeVC, can you provide the changes in detail in this model?
What do you think about the results for cross-lingual?

@OlaWod I see this model is better than KNN-VC as well as Phoneme Hallucinator about intelligibility (WER). That is amazing!!!

How did you do that? From my understanding, you improved this model based on the FreeVC, can you provide the changes in detail in this model?
What do you think about the results for cross-lingual?

model description: https://github.com/OlaWod/PitchVC/blob/main/Description.md
1.1 the improvement mostly come from replacing naive hifigan-like vocoder with hiftnet, a neural source-filter augmented vocoder with pitch as additional input
1.2 the vits-like structure in freevc is not so good
1.2.1 sampling latent representation from a distribution harms audio quality a bit, so i change the overall structure to a simple feedforward structure
1.2.2 with the same number of layers and layer types, flow-based structure has better similarity than simple feedforwad structure. so i just make the decoder bigger, with 20 layers.
1.3 during inference, pitch of source wav needs to be adjusted to fit that of target speaker
i tested results on Chinese source wavs with model trained on vctk (English), the naturalness, intelligibility (CER), F0 contour consistency (F0PCC) are apparently good. about similarity, i can not tell whether it is good or not, i think it is acceptable, but my friends (native Chinese) say they (a converted wav saying Chinese, a reference wav of target speaker saying English) doesn't sound like the same person. i think maybe the accent affects people's judgement.

Thank you, I'll try this model !!!

When train the model, I encountered this error:
Traceback (most recent call last):
  File "/home/lmnguyen/PitchVC/train.py", line 325, in <module>
    main()
  File "/home/lmnguyen/PitchVC/train.py", line 321, in main
    train(0, a, h)
  File "/home/lmnguyen/PitchVC/train.py", line 154, in train
    spec, phase = generator(x, mel, spk_emb, spk_id)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/lmnguyen/PitchVC/models.py", line 484, in forward
    g = self.embed_spk(spk_id).transpose(1, 2)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/sparse.py", line 163, in forward
    return F.embedding(
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/functional.py", line 2237, in embedding
    return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: CUDA error: device-side assert triggered
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Any suggesstion @OlaWod?

Solved the problem!!! @OlaWod Could you share the pretrained do_* model to finetune ?

Solved the problem!!! @OlaWod Could you share the pretrained do_* model to finetune ?

i am outside these days, will do it when back home

Solved the problem!!! @OlaWod Could you share the pretrained do_* model to finetune ?

the corresponding do_0070000 in exp/default dir is deleted. i put another checkpoint in exp/test dir. they are not much different, but trained on different machines.
https://onedrive.live.com/?authkey=!ABsAJ-BEtNBkves&id=537643E55991EE7B!406447&cid=537643E55991EE7B

When train the model, I encountered this error:
Traceback (most recent call last):
  File "/home/lmnguyen/PitchVC/train.py", line 325, in <module>
    main()
  File "/home/lmnguyen/PitchVC/train.py", line 321, in main
    train(0, a, h)
  File "/home/lmnguyen/PitchVC/train.py", line 154, in train
    spec, phase = generator(x, mel, spk_emb, spk_id)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/lmnguyen/PitchVC/models.py", line 484, in forward
    g = self.embed_spk(spk_id).transpose(1, 2)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/modules/sparse.py", line 163, in forward
    return F.embedding(
  File "/home/lmnguyen/miniconda3/envs/voice-conversion/lib/python3.9/site-packages/torch/nn/functional.py", line 2237, in embedding
    return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: CUDA error: device-side assert triggered
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Any suggesstion @OlaWod?

i suppose it because i hardcoded the speaker number in nn.Embedding to 108 here, but you have more than 108 speakers in your data?

@OlaWod You're correct, I have more speakers so I change the 108 to my number of speakers.


How do we store uploaded images?

take a look at cloudinary?

Cloudinary looks like a good option - it also looks like there might already be an upload function built into the API? There's an upload.js file at Crate/code/api/src/setup/upload.js

Oh cool, yeah  let’s look at this.
On Wed, Feb 3, 2021 at 10:40 PM Eugene Theriault<EMAIL_ADDRESS>wrote:

Cloudinary looks like a good option - it also looks like there might
already be an upload function built into the API? There's an upload.js
file at Crate/code/api/src/setup/upload.js
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ETBassist/Crate/issues/30#issuecomment-773044964, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWON5L3YDUB3DAON2CIA6DS5IXLVANCNFSM4XBXGUEQ
.

There's already an image upload happening in the Admin directory for adding/editing a new Product. Looks like the image is saved to an "uploads" folder in the API. So, the code is there for reference, but if y'all would rather explore the cloud - go for it!


[NamedLazyMemberLoading] Don't self-add extn members to partial tables.

This fixes a vexing edge case that I was worried about back when I pushed the initial NLML-support for extensions (see foolishly naive comment in https://github.com/apple/swift/pull/12741#issuecomment-341886732). Of course, there's a case that's not guarded by E->wasDeserialized(), which is the extensions-from-source-files that are (apparently!) lazily-loaded too. Those need to be inhibited from adding their members to partial lookup tables, which is what this patch does.
(As for why they were self-adding to lookup tables in the first place -- see the "FIXME: This is completely unnecessary" comment -- I do not actually know, for certain. But this makes the potentially unnecessary codepath here strictly more correct in the face of NLML so I think it's worth taking!)

@swift-ci please test and merge

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - bfde4f564cb85d1a762ba8c7a2a1087fdc45dacf


Want to contribute on the project

I will be able to contribute by Adding comment box on the site, any other web development work.

Really Closed?
On Sat, 13 Oct 2018, 04:48 TANIYA GUPTA<EMAIL_ADDRESS>wrote:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible
for Automatic Cleanup<EMAIL_ADDRESS>Add cleanup rule
https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DxhhHNArJC%252F%252FkirAHIX5o2V3oaZiCbbeRAVu8GmDKwTc%253D%26token%3DoQ1%252Fd4%252Bp7N8g8rYxwSVhIVCR2ayZKyhIG4PtQQfX0KKp5a02mE%252BjdzwyFMjs125KjdzywthspMxdCvJFBQKjRvVsJ%252FfKHrnDgG2I1qlLAyTMCCSlnEDgeG1Ll7fHyGEMCG3iW1tBBcQiHIUni6nVTw%253D%253D&tc_serial=44105796673&tc_rand=1436461571&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
| More info
http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=44105796673&tc_rand=1436461571&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
Closed #1 https://github.com/rachelproject/oer2go-web/issues/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rachelproject/oer2go-web/issues/1#event-1901864050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akfi29gSdkJ0srHqftuapOjQpMpv0vvCks5ukSHqgaJpZM4WC2vt
.

Added or not?
On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA<EMAIL_ADDRESS>wrote:

Reopened #1 https://github.com/rachelproject/oer2go-web/issues/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rachelproject/oer2go-web/issues/1#event-1796238464,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt
.

Added or not?
…
On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA, @.***> wrote: Reopened #1 <#1>. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt .

Added

Added or not?
…
On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA, @.***> wrote: Reopened #1 <#1>. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt .

Added

I didn't get reply almost over 3 months. So i closed it. But i want to work on the project.

Taniya can you email me at<EMAIL_ADDRESS>On Thu, Nov 1, 2018 at 11:51 AM TANIYA GUPTA<EMAIL_ADDRESS>wrote:

Added or not?
… <#m_-7336798488270666949_>
On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA, @.***> wrote: Reopened #1
https://github.com/rachelproject/oer2go-web/issues/1 <#1
https://github.com/rachelproject/oer2go-web/issues/1>. — You are
receiving this because you are subscribed to this thread. Reply to this
email directly, view it on GitHub <#1 (comment)
https://github.com/rachelproject/oer2go-web/issues/1#event-1796238464>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt
.
Added
I didn't get reply almost over 3 months. So i closed it. But i want to
work on the project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rachelproject/oer2go-web/issues/1#issuecomment-435144358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI10dHOOKcqwM2sK_D9R4KCxBVI-fgbNks5uq0KPgaJpZM4WC2vt
.

--
mobile +1(310)988-9600

Sorry for not replying over 3 months... U working on the project?
On Fri, 2 Nov 2018, 00:23 TANIYA GUPTA<EMAIL_ADDRESS>wrote:

[image: Boxbe] https://www.boxbe.com/overview TANIYA GUPTA (
<EMAIL_ADDRESS>is not on your Guest List
https://www.boxbe.com/approved-list?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM
| Approve sender
https://www.boxbe.com/anno?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM
| Approve domain
https://www.boxbe.com/anno?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM
Added or not?
… <#m_379754429495572905_>
On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA, @.***> wrote: Reopened #1
https://github.com/rachelproject/oer2go-web/issues/1 <#1
https://github.com/rachelproject/oer2go-web/issues/1>. — You are
receiving this because you are subscribed to this thread. Reply to this
email directly, view it on GitHub <#1 (comment)
https://github.com/rachelproject/oer2go-web/issues/1#event-1796238464>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt
.
Added
I didn't get reply almost over 3 months. So i closed it. But i want to
work on the project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rachelproject/oer2go-web/issues/1#issuecomment-435144358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akfi209ciEyW8baKx9ndMKW---YbBxpeks5uq0KPgaJpZM4WC2vt
.

Sorry for not replying over 3 months... U working on the project?
…
On Fri, 2 Nov 2018, 00:23 TANIYA GUPTA, @.> wrote: [image: Boxbe] https://www.boxbe.com/overview TANIYA GUPTA ( @.) is not on your Guest List https://www.boxbe.com/approved-list?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM | Approve sender https://www.boxbe.com/anno?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM | Approve domain https://www.boxbe.com/anno?tc_serial=44759427909&tc_rand=827399589&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=GWlmtg2A4KtHo%2BdDw8Vms8ufCJ9xmu2Z8KFLhI0CrJI%3D&token=YR9TA5Rs23mAQT%2Fd9D%2BVHn8X1bg%2BvPUi1brfEmOi3kovuPfmRuNmRQiBoryeM1nM Added or not? … <#m_379754429495572905_> On Sun, 19 Aug 2018, 12:29 TANIYA GUPTA, @.***> wrote: Reopened #1 <#1> <#1 <#1>>. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 (comment) <#1 (comment)>>, or mute the thread https://github.com/notifications/unsubscribe-auth/Akfi27m9WqhKn44X119SIdBgrk-Qcr-6ks5uSQzTgaJpZM4WC2vt . Added I didn't get reply almost over 3 months. So i closed it. But i want to work on the project. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Akfi209ciEyW8baKx9ndMKW---YbBxpeks5uq0KPgaJpZM4WC2vt .

Currently not working. Will start work on project two week after


Update URL of renamed lagoon-charts repo

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[x] PR title is ready for changelog and subsystem label(s) applied

The repo for lagoon charts was renamed, this updates the URL in the makefile.

Closing issues
n/a

Tbh we could probably also rename the alias from amazeeio to lagoon-charts - doesn't change much, but explains more?

Are you talking about this part repo add amazeeio? If amazeeio can be any string then it probably makes sense to change it too.

Yup, it's just an internal reference - it can be anything, but would also need to change in the update line too

FWIW I just used lagoon here: https://uselagoon.github.io/lagoon-charts/


Text not printed with rprint without newline

I have a strange bug where rprint!(".") doesn't print anything until I print a newline \n later. For instance rprint!(".\n"); works, rprint!("."); rprint!("\n"); works too, and of course rprintln!("."); works. Characters are not missed, it's just as if some buffer is flushed only when newline is met.
This doesn't happen with cargo-embed so I created the issue here

Thanks for the report! Applications that print to the terminal will usually only flush after a newline. When --defmt is not used we should flush after each write to the stdout. So a flush after https://github.com/knurling-rs/probe-run/blob/df90d57c8e1e49b6a27df27a0769619ba032084e/src/main.rs#L430 should fix this issue.

@jiayihu could you try the latest (git) version of probe-run and let us know if this was fixed?
Re-opening until we heard back from the author

I'm currently stuck with other issues in the toolchain, I'll let you know ASAP!

Yeah works fine now and I think I'll stick with the git version, logs are prettier now 😄

Thanks for confirming!