fix: clear the textFields after saving on rssfeedhomepage

Fixes #198
Describe the changes you have made in this PR -

added controller.clear() method to clear the text textFields
added two functions that handles the clearing of the fields in Feed tab and Rules tab
added comments for the controller functionality

Screenshots of the changes (If any) -
https://user-images.githubusercontent.com/93595710/223111004-374b04ed-f7e8-408e-9d88-effcb66ef84e.mp4
https://user-images.githubusercontent.com/93595710/223111005-22637e34-160b-4327-952f-57c07a3cdf5f.mp4

The Applicable Feed and Use as Base Path and Start on load don't get cleared up after saving a rule. Please fix that as well.

I fixed that issue

@amitamrutiya2210 The Applicable Feed and Use as Base Path and Start on load don't get cleared up after saving a rule. Please fix that as well.

I have fixed that issue, so now you can proceed with the review.


Not showing up in extensions

Running sudo make install as suggested doesn't install the extension in the local user's extension directory. Instead it installs it to /root/.local/share/gnome-shell/extensions/
Manually running
mkdir -p ~/.local/share/gnome-shell/extensions/
cp -r ./chatgpt-gnome-desktop@chatgpt-gnome-desktop ~/.local/share/gnome-shell/extensions/

And then restarting X allows the extension to show up in gnome-extensions.

Also as a side note, it seems to be working in Wayland as well (though the servers are down so I can't do anything with it at the moment).

just run make install without sudo


[ Example ] Test Classification Example using C-APIs

Add Classification example using C-APIs.
. Using data files to train, validate.
. The datas are stored in the follow order in binary format.
'Features label Features label Features label ...'
. There are two layers, one for the input layer and the other is fc
layer.
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #107. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.


how to setting the path

here is my folder structure:
+ css/
|--- style.css
+ sass/
|--- _basic.scss
|--- _girds.scss
|--- _style.scss
|--- + component/
|------- _banner.scss
|------- _tab.scss
|--- + layout/
|------- _index.scss
|------- _sidebar.scss

so I have many particals , this is my json setting:
{
    "sass.enabled": false,
    "sass.compiler": "ruby",
    "sass.compass": true,
    "path": {
        "sass/*.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../css/",
                "output": "style.css",
                "includePaths": [],
                "sourceComments": true,
                "outputStyle": "nested",
                "sourceMap": false
            }
        }
    }
}

via the setting, it compile only when I edit style.scss, if I edit any partical files, it doesn't work.
does anyone know how to setting the path ? thanks

brackets-sass uses source maps to know which files compile when a partial change, so you should enable them.

I think that your problem is with this line of code "output": "style.css", try deleting it and see if it works.
You enabled sass for every sass file in sass folder but your output is always the same. Even if you modify another file it will only override style.css.


[ENH] Checklist for deprecation in V0.8.0

Describe the feature or idea you want to propose
todo list for deprecation prior to 0.8.0
Describe your proposed solution
list

[x] remove the support_probabilities parameter in WEASELV2. @patrickzib
[x] remove plot_series from utils/plotting.py
[x] remove remove 'save_transformed_data' and 'transformed_data_' in BaseIntervalForest, FreshPrince, STC, Arsenal see #1332 1332
[x] remove the save_train_predictions parameter in BOSSEnsemble, CBOSS, TemporalDictionaryEnsemble, OrdinalTDE #1333
[x] remove MatrixProfileClassifier #1333
[x] refactor uses of get_examples, leave version in datatypes just for use in datatypes.
[x] swap the position of the classifier and transformers argument in ClassifierPipeline
[x] EAgglo class in annotation #1306
[x] HMM class in annotation #1306
[x] remove overloaded operators in BaseClassifier #1265
[x] remove overloaded operators in ClassifierPipeline #1265
[x] remove BaseForecastingErrorMetric and all subclasses  #1261
[x] remove Filter from transformations #1306
[x] remove Hidalgo in transformations #1306
[x] remove MatrixProfileTransformer from transformations #1306
[x] remove mlflow_aeon.py #1285

going to roll this over

[x] refactor datatypes._adaptors to utils.conversion

done


python311Packages.fritzconnection: 1.12.2 -> 1.13.1

Changelog: https://fritzconnection.readthedocs.io/en/1.13.1/sources/version_history.html
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

6 packages built:

home-assistant-component-tests.fritz
home-assistant-component-tests.fritzbox_callmonitor
python310Packages.fritzconnection
python310Packages.fritzconnection.dist
python311Packages.fritzconnection
python311Packages.fritzconnection.dist


Automatic detection of Tray icon position

Thanks for this code which allowed me to remove tauri-plugin-positioner and save space.
const OFFSET_X: f64 = 50.0;
const OFFSET_Y: f64 = 20.0;

let window = app_handle.get_window("main").unwrap();

let size = window.inner_size().unwrap();

let half_width = size.width / 2;

let x = x - (half_width as f64) + OFFSET_X;

let y = y + OFFSET_Y;

window.set_position(PhysicalPosition { x, y }).unwrap();

I have a few issues/suggestions about NSpanel work, I will gradually report them to you.
First issue/problem
If you register a hotkey, start the application, press the hotkey, the panel is displayed in the center of the screen, because positioning is triggered only after clicking on the icon in Tray.
Is it realistic to track the position of the icon in Tray without clicking on it and set the position of the panel relative to it? It is desirable to track constantly, because the icon can be moved to the right/left.
https://github.com/ahkohd/tauri-macos-menubar-app-example/assets/30116541/f60f441e-4bed-4645-bc16-7f0576205c05

Unfortunately, there isn't a direct method to find your tray icon's position. However, here's a workaround: create a secondary window that appears when you press a hotkey.

I am curious to know how they implemented it; one possible way is to guess. Most Menubar apps are always at the top-right corner.


[Bug]: Theme doesn't like external links when exporting to PDF

Bug Description
When you export to PDF, external links (to the internet) get a weird background color making them almost unreadable.
When you do the same (changing nothing else) with the default theme, this doesn't occur.
Relevant Screenshot
In Shimmering Focus:

And in the Default Theme:

To Reproduce

create external link [abc](https://google.com)
export note to PDF
external links get weird background

Obsidian Version
0.13.33
Installer Version
0.13.30
Which editor are you using?

[X] New Editor
[ ] Legacy Editor

In which mode(s) does the problem occur? (if applicable)

[ ] Source (Edit)
[ ] Reading (Preview)
[X] Live Preview

Which operating system?

[ ] macOS
[X] Linux
[ ] Windows
[ ] iOS
[ ] Android

Plugin-Specific Problems

[ ] I took note of the specific instructions regarding those plugins.

Checklist

[X] I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
[X] I made sure that the issue is related to this theme, by checking that the problem does not occur with other themes or the default theme.
[X] In case I am missing an UI element, I have checked that it cannot be re-enabled with the Style Settings plugin.
[X] If the bug occured after updating the theme, I read the last couple of entries in the changelog to make sure the bug is not an intentional change. (In that case, there will most likely be a Style Setting to turn it off again.)

Hi! As you may have heard, the upcoming Obsidian update 0.16 has a massive amount of changes for theme development, necessitating a complete rewrite of Shimmering Focus. This means:

A lot of bugs and feature requests will be obsolete. with Obsidian 0.16 and the rewritten Shimmering Focus.
As the theme has over 15,000 lines of CSS, the rewriting will take a considerable amount of time. Recreating the core features alone will likely take me a while, so I simply will not have much time to implement many feature requests, since the recreation of the past core features has priority.

Basically, this is the reason why I am – for now – closing this issue. If your bug still exists / your feature request is still relevant in the upcoming version 3.0 of Shimmering Focus, please comment here and I will re-open it. 🙂


Added possibility to set appRoot path when Code.Cake assembly embedde…

Added possibility to set appRoot path when Code.Cake assembly embedded into another assembly with Costura.Fody

Welcome!
Accepted :)
The v0.18.0 should pop in a few minute.


Unable to load DLL 'libleveldb': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Hi. I'm trying to install neo-cli, but I'm getting the error specified in the thread name. I'm using Windows Server 2016 x64 and tools on the picture
The folder structure is here
C:\neo-cli-master\neo-cli\bin\release\netcoreapp2.0\win10-x64\publish>dotnet neo-cli.dll
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libleveldb': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Neo.IO.Data.LevelDB.Native.leveldb_options_create()
at Neo.Persistence.LevelDB.LevelDBStore..ctor(String path)
at Neo.Shell.MainService.OnStart(String[] args)
at Neo.Services.ConsoleServiceBase.Run(String[] args)
at Neo.Program.Main(String[] args)

I have used latest neo-cli release with already included leveldb.dll and it worked.


Illegal Instruction

Hi, I'm hoping you can help me figure out this issue. I cannot seem to get any of the armv6l images to work, always ending up with some variation on an Illegal Instruction being reported by QEMU. For example (from here):
+ cd /usql
+ sudo apt install -y git upx tar bzip2 golang

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
bzip2 is already the newest version (1.0.8-4).
bzip2 set to manually installed.
tar is already the newest version (1.34+dfsg-1).
The following additional packages will be installed:
  git-man golang-1.15 golang-1.15-doc golang-1.15-go golang-1.15-src
  golang-doc golang-go golang-src liberror-perl libucl1
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn bzr | brz mercurial subversion
The following NEW packages will be installed:
  git git-man golang golang-1.15 golang-1.15-doc golang-1.15-go
  golang-1.15-src golang-doc golang-go golang-src liberror-perl libucl1
  upx-ucl
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 66.5 MB of archives.
After this operation, 371 MB of additional disk space will be used.
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git-man all 1:2.30.2-1+deb11u2 [1828 kB]
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
E: Method http has died unexpectedly!
E: Sub-process http received signal 4.
Error: Process completed with exit code 100.

Is this an issue with the current Raspberry PI images? Any help would be appreciated, as I'd like to start producing armv6l and arm64 release binaries for `usql.
The workflow I'm trying to use is here: https://github.com/xo/usql/blob/master/.github/workflows/arm.yml
I was able to compile usql for arm64 (aarch64), but  cannot figure out what needs to be done to get this runner working. I will try to do it with QEMU locally, but thought I would reach out here to see if there was any insight you might have into this specific issue.
Really appreciate your work on this project, and thanks in advance!

Thank you for your report.
I was able to reproduce the crash. The cause is that you are specifying a cpu_info describing a 32 bits CPU that is not the one that you are using for emulation.
You should determine whether you want to target Pi Zero or not.
If you do (which seems to be implied with armv6l), proper cpu info is cpuinfo/raspberrypi_zero_w
If you don't (other 32 bits CPUs are armv7l), you should use cortex-a7 for option cpu.
I am updating the documentation as part of #83 and will close this issue accordingly.


Composite dist entropy

Description
Describe your changes in detail.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Remove all that do not apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of examples)

Checklist
Add a method to compute the entropy for composite distributions

[ ] I have read the CONTRIBUTION guide (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly (required for a bug fix or a new feature).
[ ] I have updated the documentation accordingly.

As mentioned here, for consistency we should have entropy and log_prob return tensors IMO

Looking at the errors, i realize that before we were adding both the single log-probs and the aggregate, now people have to choose (which again is bc-breaking).
So we should default to a third possibility which is "both".
I'll arrange that


Leaving group doesn't remove it from My Groups

See https://github.com/oaeproject/3akai-ux/issues/3974 for original ticket.
BUG
Category: Permissions/Roles
Summary: Manager Role entry for the resource instance, group which is visible in tenancy and open to join, does not get deleted.
Description:
Example 1
Test Data: Group which is visible to tenancy and "Anyone can join"
Join group
Go to "My Groups".
Select the checkbox next to that group and leave group.
You have successfully left the group and are not listed in its members.
But that group is still visible in "My groups" but you are not in the members list and you see the button which says "Join group"
Make an attempt to leave that group to which you have no access.
You get message:
The group could not be left.
Make sure at least one manager remains before leaving a group.
Example 2
Test data: Membership to a private group indirectly through a group which is visible to tenancy and which can be joined by anyone
Steps:
Parent group private - member is child group
Child group open to join - visible tenancy
Join child group - you see both parent and child group in "My Groups"
Leave child group: you see parent group in "My groups"
Make an attempt to leave parent group to which you have no access.
You get message:
The group could not be left.
Make sure at least one manager remains before leaving a group.
Conclusion:

When the person joins the group, the membership is added first, then the roles.
When the person is leaves the group, role entry is deleted first, then the GroupMembership.
This leaves behind a manager role entry for the resource instance, by virtue of direct association and indirect group inheritance, at the highest level.

Assigning to @simong for fix

We should also check if we need to trash all membership libraries to make up for any that haven't been removed correctly.

Assigning to @mrvisser for fix

Closing in favour of #1131


Stream options

Added the stream option to pass the destination stream inside the options object instead of the second parameter.
I left the standalone stream parameter for back compatibility.
(cc https://github.com/mcollina/fastify/pull/25)

We need to update docs for dependants (express pink logger etc)


Exemple

I didn't succeed the initialisation, the installation instruction not detailed. Can someone please provide a  project example?
Thanks

Could you give us more details about the steps you took.

I tied the integration in my project, added comments on my scss file etc.. But I didn't get the styleguide html files.
I need a very simple project scss + gruntfile so can see exactly how it works.

@hamzazar  - what do you get after styleguide initialize?

@hamzazar , did you use npm to install styleguide? Did you follow all the steps in the documentation https://github.com/devbridge/Styleguide/blob/master/README.md ?
After step 3 copy of the styleguide should be added to your project directory.

@hamzazar, did you managed to make it work?

Closing this, but feel free to re-open it and provide more details about the issue.


add default value for window frame

Pull Request Test Coverage Report for Build 901793053

5 of 6 (83.33%)  changed or added relevant lines in 2 files are covered.
21 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.1%) to 90.178%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/sqlparser_common.rs
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/ast/data_type.rs
1
75.0%

src/ast/ddl.rs
2
80.18%

src/ast/query.rs
2
86.6%

src/parser.rs
4
85.89%

src/tokenizer.rs
4
91.18%

src/ast/mod.rs
8
70.83%

Totals

Change from base Build 676410191:
0.1%

Covered Lines:
5472

Relevant Lines:
6068

💛  - Coveralls

I have rebased this PR to get the CI checks running, and if they pass I will merge it in

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 6 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 90.079%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/sqlparser_common.rs
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
5557

Relevant Lines:
6169

💛  - Coveralls


OP proposer is stalled for 25k blocks in devnet version v0.1.0-OP_v1.0.6-CN_v0.9.5 on devnet

The "safe" block is 25000 blocks behind the "latest" block.
Here are the full logs

Think this has to do with the speed of the derivation pipeline in op-node. Think it's quite slow to sync call_data transactions so the safe blocks tend to lag behind

Thank you @TheAppleTucker - do you think even 25k blocks behind is expected based on the config?

there seem to have been a lot of panics in the logs above:
grep panic 115k-devnet-logs.log
This should be fixed by https://github.com/celestiaorg/celestia-node/issues/2244

I debugged the logs mentioned in #120
https://github.com/celestiaorg/optimism/pull/120#issuecomment-1568787281
Long shot but are we sure it was running with proposer timeout fix?

yes it was running with proposer timeout fix https://github.com/celestiaorg/optimism/pull/120#issuecomment-1568795365

It seems that node requests stall whenever head request to trusted peer failed error occurs:
https://github.com/celestiaorg/celestia-node/issues/2241#issuecomment-1568832240
This seems to be happening in node and then spilling over to proposer, will need to investigate if bumping node timeout is a workaround for this.


refactor: obtain output from TSC repo linter

Description
We need to get going with adopting the TSC repo structure recommendations where applicable and/or send PRs to the default config file (rule set parameter) where that's more suiting.
Acceptance Criteria

Run the tool against the main branch of the repository
Post the output here, whatever it may be
Initiated discussion on which errors/warnings can we fix and which ones we'd like to squash by updating the repo linter rule set instead.
Created follow-up tasks for addressing each item as discussed during 3)

For Context the original email

Hi all,
The TSC decided to recommend that all Hyperledger projects adopt a common repository structure to provide some consistency across projects and make it easier for people to find their way around and quickly locate important information. In order to help implement it the TSC then decided to leverage the TODO group repolinter tool.
A customized configuration file has been developed for Hyperledger and I'd like to invite all the projects to try and use it.
Contrary to what was first thought, we do not want every project to copy that file into their own repos. This is bound to create a maintenance nightmare. So, instead, we'd like to try and use the same common config file.
After installing repolinter you can check your repository with the following command from the root directory of your repo:
repolinter --rulesetUrl https://github.com/hyperledger-labs/hyperledger-community-management-tools/raw/main/repo_structure/repolint.json
It is understood that the config file may not work well for all projects. We welcome contribution on how to improve it. All PRs welcome. :-) Just keep in mind that the goal is to make the file work for everyone so don't simply remove stuff that's not relevant to your repo. Some errors can simply be ignored.
Finally, whether this should be integrated in your CI is up to you. As a first step it may be enough to give it a run every now and then.
Please, let us know how your experiment goes. We're interested in both good and bad stories!

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo

Github had an outage again and in the middle of that storm this got triple posted. Closing the duplicates.


Fix underscore conversion in monospaced text

foo_bar_baz is being incorrectly converted to foo*bar*baz due to the italic regex

Thanks! Can you get rid of foo?

Doh, not sure how that snuck in there. Removed!

Thanks!

Hey, I meant to mention, but there's a full JIRA wiki parser that works pretty great to translate into GitHub markdown: https://github.com/ankitpokhrel/jira-cli/blob/main/pkg/md/doc.go

Thanks @StevenACoffman, I'll check it out!


signalbackup-tools: 20230929 -> 20231002-1

Description of changes
Update to latest version. No changes that effect build.
Diff: https://github.com/bepaald/signalbackup-tools/compare/20230929...20231002-1
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.


Go 1.13 and removing support for --dep-manager=dep

Description of the change:
Updates operator-sdk to require go1.13
This is will be a breaking change, and will include changes that drop support for creating and managing dep-based projects.
Motivation for the change:
Go 1.13 was recently released with improvements to error handling and go modules. Other related projects are working on upgrading as well (e.g. controller-runtime)

/lgtm

/retest

/test e2e-aws-subcommand

/test e2e-aws-go
/test e2e-aws-helm

/test e2e-aws-helm


Chromium - Invalid ELF Header

Basic info
To make sure that we are on the same page:

Kernel: (run uname -a)
Linux subi 4.4.4 #1-NixOS SMP Thu Mar 3 23:10:04 UTC 2016 x86_64 GNU/Linux

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
16.09pre78286.0bf8a1a (Emu)

Nix version: (run nix-env --version)
nix-env (Nix) 1.11.2

Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
root@subi:~# nix-instantiate --eval 'chromium-browser' -A lib.nixpkgsVersion
error: getting status of ‘/root/chromium-browser’: No such file or directory

Describe your issue here
Chromium doesn't start anymore. It's giving out:
hyper@subi:~$ chromium-browser
/nix/store/a8ph6hqzwzrqx9rhapdv82c067s8jn66-chromium-49.0.2623.75/libexec/chromium/chromium: error while loading shared libraries: /nix/store/3mj3hhnfapl1nczbc5hs1psbr0nf1ap7-snappy-1.1.3/lib/libsnappy.so.1: invalid ELF header

Expected result
Chromium should start
Actual result
Fails to start
Steps to reproduce
Latest unstable

can be closed. Download got corrupted somewhere. Thx to clever on freenode


Check if passkeys are supported

Hey @f-23, thanks for the lib.
Is there an API for checking if passkeys are supported on the customer device?

Hi!
The Passkey.isSupported() function should return a boolean indicating whether the usage of Passkey's is available on the device.


Type not supported: VARBINARY

I am using GORM to save in the database a struct that contains a []byte field:
type SecurityExtension struct {
	ApplicationIdentifier string `json:"application_identifier" binding:"required" gorm:"primary_key"`
	AccessToken   []byte `json:"access_token"`
	RefreshToken  []byte `json:"refresh_token"`
}

When I start the application, the embedded mysql returns the error: "Type not supported: VARBINARY".
Is this a known limitation or a bug? If it is a bug, I will provide a way to replicate it.

We have this fixed on our fork if you are interested, but it probably needs more testing:
https://github.com/liquidata-inc/go-mysql-server
Feel free to file an issue there if it doesn't work.


Fix .travis.yml

Pull request checklist

[x] All tests pass. Demo project builds and runs.
[x] I have resolved any merge conflicts.
[x] I have followed the coding style, and reviewed the contributing guidelines.

This fixes issue #5.

Current coverage is 89.93% (diff: 100%)

No coverage report found for develop at 5ef0290.

Powered by Codecov. Last update 5ef0290...6eb5022

lol wut. it was a spacing issue?? 😖

thanks @broadwaylamb ! 🙌


minor: fix broken cross-references

This PR just fixes some broken cross-references due to an inconsistency between usage American and British spelling.
(saw the note about changes and branches but wasn't sure how it applies to documentation. feel free to move or modify)

thanks so much.
Oh, my mistake, I should have cherry-picked this back onto the v1.10 branch. I'll do it manually.


can I write doms outside the _document.js

for google suggest css link way
https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery
<html>
....
</html>
<link rel="stylesheet" href="small.css">

so how to do it?

@Wolke where in that document does google suggest to add the css after the </html>?

@Wolke The google recommendation is to load your main CSS inside an style tag (that's how it works already) and then your not-critical CSS in an link at the end. But Next.js only render the most important CSS when you use styled-jsx and nothing more (styled-components, styletron, and other CSS in JS solutions did the same), if you eventually (client side navigation) need more CSS it's going to be generated at the moment.
If you want to load static CSS files you can put it before </body> and it's the same. The idea it's to load that CSS at the end of your document. It's not necessary to place it outside the <html> tag.

maybe the suggest content; its only show on the Chinese version?
but thx a lot
您即可像下方這樣嵌入重要 CSS 屬性：

      Hello, world!

系統會在網頁的 onload 事件後載入原始 small.css。應用程式的 CSS 規則順序是由所有透過 JavasScript 插入文件的

I think we can close this now.


Svg icon color change in multiselect dropdown is not happening

i am using a multi select dropdown component in material ui next
I want to change the default color of the dropdown arrow svg icon to match with the other components in my page. The other components have been taken from carbon components but this particular multiselect dropdown has been taken from material ui. So i was wondering if i could override the css by anyway without using mui themes.
I want it to look like the following one

It is looking like this

I gave this in my css :
iconstyles:{
color:'#3d70b2'
}
and included it in the following way as an inline style to the component

But still it is not working. I really need help!

@kruthikaa The solution:

https://codesandbox.io/s/xr7rp76w9w
import React from "react";
import PropTypes from "prop-types";
import { withStyles } from "material-ui/styles";
import Select from "material-ui/Select";

const styles = theme => ({
  icon: {
    color: "blue"
  }
});

function SimpleSelect(props) {
  const { classes } = props;

  return (
    <Select
      value={10}
      classes={{
        icon: classes.icon
      }}
    />
  );
}

SimpleSelect.propTypes = {
  classes: PropTypes.object.isRequired
};

export default withStyles(styles)(SimpleSelect);

What about it in v5?
How can I change it while I'm using material UI v5?


ADL-47 - Added build script, changed run config to work correctly

Note for reviewer: I have tested this branch and had no issues

LGTM


Fixed portability of return code

/assign @cofyc My operating system, MorphOS, uses higher return codes.

/lgtm
/approve
Thanks for the fix!


Handle the limit file size for upload/download

The missing option for handling the limit file size for upload/download to protect exception on memory overload/overflow.
Please update to this:

server.yml
#this limit upload/download file size
maxTransferFileSize: 1000000
Project: https://github.com/networknt/light-4j/tree/master/server

Class ServerConfig.java
int maxTransferFileSize;
Class Server.java
.setServerOption(UndertowOptions.MAX_ENTITY_SIZE, serverConfig.getMaxTransferFileSize())
.setServerOption(UndertowOptions.MULTIPART_MAX_ENTITY_SIZE, 10*serverConfig.getMaxTransferFileSize())

To make it backward compatible, I have added it to the ServerOption to set the default value if it doesn't exist in the server.yml like other seldom-used options. Thanks a lot for the code you put into the issue. I should have asked you to submit a PR :) The credit goes to you, my friend.

 Handle the limit file size for upload/download light-4j  master

 Add Multipart request body & Multipart response support light-4j master


Adding slack badge

Adding this badge to express-stormpath. I will be in the channel to support customers.

Coverage remained the same at 71.296% when pulling 66c4cd40223dea96ba42c8b319abee7d1d3c9a0c on feature/slack into f6b2611e80ca9ced8713c9d66e27be8d77b042aa on master.

Coverage remained the same at 71.296% when pulling 66c4cd40223dea96ba42c8b319abee7d1d3c9a0c on feature/slack into f6b2611e80ca9ced8713c9d66e27be8d77b042aa on master.


vdb_view for windows + removal of GLFW2

Removed GLFW 2 support
Added windows support to vdb_view with GLEW
Fixed unary minus on unsigned (C4146) in RenderModules
Enabled vdb_view through CI

@danrbailey Any idea why the H18 debug build is failing? It's failing on other PRs too.

@danrbailey Any idea why the H18 debug build is failing? It's failing on other PRs too.

Ah I just commented on your other PR - I don't know, nothing obvious. I'll disable the Azure checks in favour of GitHub Actions and we can see if it's still failing there. I suspect it might be memory-related.

This is now builds all binaries on Windows through the new CI - I need to update the docs/changelogs otherwise this should be good to go


All user settings deleted after installing extension

Issue Type: Bug
Steps to Reproduce
This is not easily reproducible – probably some sort of race condition. It happened as follows:

(Install 'Test Explorer UI extension' - probably not related.)
Install 'TestMate C++' extension (matepek.vscode-catch2-test-adapter) from VS Code Marketplace. At the time this happened, the latest version was 3.2.5.
Upon installation, the extension prompted me to allow telemetry, and I selected "Over my dead body (No)".
Immediately after clicking that button, my VS Code theme and appearance changed. Going into my user settings.json, I saw all my settings have been deleted, and it now had only new settings added by the TestMate C++ extension:

{
    "testMate.cpp.log.userId": "<some user id>",
    "testMate.cpp.log.logSentry": "disable_3"
}

I've searched the entire VS Code logs directory for the time in which this occurred, and found the following anomaly:
[2020-06-06 23:53:07.146] [renderer8] [error] [text file model] handleSaveError(1) - exit - resulted in a save error: Error: Unable to write file 'vscode-userdata:/Users/matan/Library/Application Support/Code/User/settings.json' (Error: File Modified Since) vscode-userdata:/Users/matan/Library/Application Support/Code/User/settings.json
[2020-06-06 23:53:07.317] [renderer8] [error] Unable to write into user settings because the content of the file is newer.: Error: Unable to write into user settings because the content of the file is newer.
    at e.reject (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5183:839)
    at e.doWriteConfiguration (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5181:271)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

I did not modify settings.json on disk when this happened, but I may have modified it a few hours before that. Anyway, that shouldn't be a problem.
I have reported the issue on the extension's bug tracker here, but it seems like this is a VS Code bug, as the extension author says it "doesn't do any magic". Looking at the relevant point in the extension's code confirms that it's simply calling WorkspaceConfiguration.update.
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:33:47.663Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz (4 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
8.00GB (0.02GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (29)

Extension
Author (truncated)
Version

cpp-helper
ami
0.1.1

QML
bbe
1.0.0

better-toml
bun
0.3.2

xml
Dot
2.5.0

gitlens
eam
10.2.1

EditorConfig
Edi
0.15.1

vscode-test-explorer
hbe
2.19.1

latex-workshop
Jam
8.10.0

theme-karyfoundation-themes
kar
20.0.3

restructuredtext
lex
128.0.0

vscode-clangd
llv
0.1.5

mypy
mat
0.1.4

vscode-catch2-test-adapter
mat
3.2.5

git-graph
mhu
1.23.0

csharp
ms-
1.22.0

pyright
ms-
1.1.41

python
ms-
2020.5.80290

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

cpptools
ms-
0.28.2

vscode-typescript-tslint-plugin
ms-
1.2.3

wordcount
ms-
0.1.0

pandocciter
not
0.7.0

material-icon-theme
PKi
4.1.0

seti-icons
qin
0.1.3

shader
sle
1.1.4

best-light-themes-pack
the
1.0.2

vscode-lldb
vad
1.5.2

vim
vsc
1.14.5

(13 theme extensions excluded)

/duplicate
I suspect this has the same root cause as this - https://github.com/microsoft/vscode/issues/47763

Thanks @sandy081! If I may suggest - if #47763 is used to track the root cause of this issue, it's better to update it to reflect that with a more general title and description. I would never find that bug when searching for my issue, so I just wasted time looking through logs and crafting a good bug report.

Sure - done.


Could you provide demo？

Could you provide me with the music demo from your demo page, I'd like to test if the results of the model I'm running matches yours. I'd appreciate it if you did.

Thanks. I did not really have a zip file for all audio demos, since it was an internship work. But you can download all audios manually, or you can just run the script to generate some new.


PDFImage Scaling without Considering Caption Height

Hi,
Big fan of this project, thank you for your work.
When creating a PDFImage with a caption, the caption height does not seem to be included in image scaling/sizing calculations. This results in a page break between image and caption when the image is large and I'm using PDFImageSizeFit.width.
I noticed this TODO so I've submitted a PR for your consideration.
Relevant Details

Swift 5
TPPDF 1.6.0

Sample Image

Examples
Before Patch

After Patch

Amazing, thanks for your effort!
I will need a few days but I will take a look at it for sure!

Thanks a lot again, I merged your changes to the master and I am releasing 2.1.2 right now!

Awesome, glad I could help. Thanks again @philprime !


Usage of socket connect operations is non-intuitive

Because of the embedded-nal, it is not possible to determine if a socket is currently in the "connecting" state. Some network stacks (such as the W5500) can perform the connection asynchronously, so it is possible for the call to block until the connection completes.
However, other network stacks (such as smoltcp) require processing the network stack within the application to further the TCP connection state. This makes it impossible for the connect() calls to block in these stacks.
To facilitate this, minimq currently continually calls connect() on the same socket until it is fully connected. This can have unintended effects if the network stack implementation has an intermediate "connecting" state that is corrupted by the duplicated connect() call.
We should standardize:

Add an is_connecting() API to the embedded-nal
Enforce that network stacks allow extraneous calls of connect() whenever the socket is not in a connected state.

Closing this as resolved. We handle this via an updated state machine. This is an issue with the embedded-nal and not minim.


feat: More from the same collection

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[x] Feature

What's new?

[x] PR closes #3720

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

RMRK:

BSX:

https://deploy-preview-3724--koda-nuxt.netlify.app/bsx/collection/2526524581?page=1
I see only 3 of them from this collection 🤔

https://deploy-preview-3724--koda-nuxt.netlify.app/bsx/collection/1739922977
It seems nothing from that collection 👀

https://deploy-preview-3724--koda-nuxt.netlify.app/bsx/gallery/983246251-12
there should be 13 items https://deploy-preview-3724--koda-nuxt.netlify.app/bsx/collection/983246251

https://deploy-preview-3724--koda-nuxt.netlify.app/bsx/collection/2526524581?page=1
I see only 3 of them from this collection 🤔

There's a limit that will hide nfts that have a price of 0.
I removed this limitation. How about now?

Hmm for bsx make sense because price doesn't need to be set and users can make offer
That's ones with 0 BSX is I guess some issue on our side and glitched data from previous broken stuff 😅😇
Lgtm then for me

pay 100

😍 Perfect, I’ve sent the payout
💵 $100 @ 57.91 USD/KSM ~ 1.727 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x2001847eb6d3794e9116c6af9201d49649c85d681c375839bbc764caa4843772
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Update/add missing period to doc

The original author had updated one area, and I missed that this one needed an update too.
I noticed this more because one of the device lab tests appeared to fail, but it seems to be a flake - adb install gets run, and the test continues before the app actually loads on the physical device.  Need to look into that.

Uh oh.  I saw green and didn't realize that Cirrus hadn't run all the tests for this.  Will watch post merge... that said it's just a doc change.

Something has gone very wrong with this in GitHub - this was merged but still showinga s open...


Suggestion to properly handle corrupted/broken video files?

A traceback fills the process output if a corrupted video file is found. Perhaps a way to properly recognize this and not spit out an entire traceback would be a nice but not super important request?
Traceback (most recent call last):
  File "C:\Users\MaiDoreiku\AppData\Local\Programs\Python\Python311\Lib\site-packages\hydrusvideodeduplicator\dedup.py", line 152, in fetch_and_hash_file
    perceptual_hash = self.calculate_perceptual_hash(video_response.content)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\MaiDoreiku\AppData\Local\Programs\Python\Python311\Lib\site-packages\hydrusvideodeduplicator\dedup.py", line 125, in calculate_perceptual_hash
    perceptual_hash = Vpdq.vpdq_to_json(Vpdq.computeHash(video))
                                        ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\MaiDoreiku\AppData\Local\Programs\Python\Python311\Lib\site-packages\hydrusvideodeduplicator\vpdqpy\vpdqpy.py", line 166, in computeHash
    for second, frame in enumerate(Vpdq.frame_extract_pyav(video)):
  File "C:\Users\MaiDoreiku\AppData\Local\Programs\Python\Python311\Lib\site-packages\hydrusvideodeduplicator\vpdqpy\vpdqpy.py", line 150, in frame_extract_pyav
    for index, frame in enumerate(container.decode(video)):
  File "av\\container\\input.pyx", line 203, in decode
  File "av\\packet.pyx", line 83, in av.packet.Packet.decode
  File "av\\stream.pyx", line 177, in av.stream.Stream.decode
  File "av\\codec\\context.pyx", line 507, in av.codec.context.CodecContext.decode
  File "av\\codec\\context.pyx", line 416, in av.codec.context.CodecContext._send_packet_and_recv
  File "av\\codec\\context.pyx", line 440, in av.codec.context.CodecContext._recv_frame
  File "av\\error.pyx", line 307, in av.error.err_check
av.error.InvalidDataError: [Errno<PHONE_NUMBER>] Invalid data found when processing input; last error log: [h264] Error splitting the input into NAL units.
Errored file hash: 443ed2cf638e46982a223f63630d6b4aa581418b31ea336a44012095b963d6b8

Here is the file for reference, so you can use it in testing: https://anontransfer.com/download/TRERaKcH3g/443ed2cf638e46982a223f63630d6b4aa581418b31ea336a44012095b963d6b8.mp4
I do not recommend playing the video file. It is SFW though. Link originated from here: https://twitter.com/kyattsu/status/1589500456682020864
If you want me to provide the file a different way I can. Hard to find free non-annoying file upload sites. :/ It's only 110KB in size.

Detecting why a video has failed to be hashed is quite difficult. Error messages could be improved in general, though.
I think printing the stack trace is fine. Hydrus Client does the same thing with the little pop up notifications in the bottom right.


Add mark_splits_for_deletion_by_query method to simplify process.

Description
This adds an additional method allowing us to mark splits as deleted where splits match a given ListSplitsQuery.
This has a few advantages over what we're currently doing in a couple places:

Only requires a single metastore call rather than first listing all splits with a given query, and then a second query to actually issue the updates.
Removes any additional network and disk pressure of reading a potentially very large set of rows from the metastore into memory.
Allows us to optimise the operation a bit more on a per-metastore basis.

Currently I have only changed this to be used in the GC. But another place of interest is in the run_execute_retention_policy method which currently issues a list_splits request on all published splits, and then manually filters out the splits it wants, and then marks them for deletion. This could be completely replaced by this new method, but requires extending the query builder a bit we can do so.
How was this PR tested?

The GC tests have been refactored to account for the new operation and the queries provided checked.
The method itself has a new unit test as part of the metastore test suite, most os this system shares tests with the ListSplitsQuery tests.

Closing PR as it's become stale, we can re-visit this issue later if we need to.


[EN] Feedback for: /_langs/en/updates/tools/tip/index.html

Hi,
When I navigate to the some pages, I see a markup instead of rendered page. Tested in Chrome and Firefox on Mac.
For example:
https://developers.google.com/web/updates/2015/05/19/cycle-through-editing-locations
https://developers.google.com/web/updates/2015/05/19/local-modifications
https://developers.google.com/web/updates/2015/05/19/copy-the-response-of-a-network-resource-to-your-clipboard
https://developers.google.com/web/updates/2015/05/19/reveal-in-elements-panel
Best regards,
Dima

It looks like these shouldn't have been deployed yet, or are configured incorrectly.
cc @pbakaus @Meggin

Dupe of #1338 - this was opened first, but the other already has the solution in it.


Timestamp on API is not correct

Generally the timestamps on the API is wrong. It's supposed to be in UTC but it's missing "Z" at the end.
created: "2021-10-30T20:03:48.557948"
Correct should be:
created: "2021-10-30T20:03:48.557948Z"

So the actually value is correct but it is just not designated to be UTC?

Correct. All entries is correct in UTC. It's just lacking the Z at the end telling js the timedtamp is in UTC. It's correct for lastNetworkBlockTime under api/pools/id
But that's the only one that seems correct.

Please re-test with v65.

V66 was already released when I saw this message. I tried it in V66 and it seems to be working :-)


Show more information for components when using -o wide

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

Describe the feature
Show more information for components when using -o wide to give operators more information about the resources without going to a specific resource first.

kubectl get components -o wide

Release Note

RELEASE NOTE: ADD Show more component info when using -o wide in Kubernetes

I think type would be the most obvious one, optionally version as well.
Metadata for every component would be nice, but too flexible I'm afraid

I am OK to add type and version for now. Those are good ones to start with. Feel free to send a PR for this. Comment with /assign if you plan to work on this.

Bumping

@tomkerkhove are you interested in sending a PR for this?

I don't have Go experience but if you have some guidance/docs then I'm happy to give it a try


⚠ ClamAV has degraded performance

In 6eb508a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 79 ms

Resolved: ClamAV performance has improved in acc788b.


Adjust radius based on a % vs DPI

Description of the new feature / enhancement
radius expressed in  :  percentage
now the size of the highlighter depends on the pixel density of the monitor, with two monitors of the same size but of different density the size of the highlighter will be different.
you can use a unit of measure that does not depend directly on the density
Scenario when this would be used?
multiple monitors with different pixel density but same size:
example 2 monitor 24" ,  one FHD the other UHD,
highlighter size will be bigger in 24" monitor
Supporting information
No response

Note: I'd suggest we have some type of "Relative size based on screen scale" option.    I think no matter what the transition into a different monitor could cause it to be quirky for the resize


Give us links to binary tarballs on releases page

Would it be possible to provide links for tarball and SHA on Github releases page?
Example - http://downloads.mesosphere.io/marathon/v0.11.0-RC5/marathon-0.11.0-RC5.tgz

This is a nice idea. I'll add links to major releases and also make sure it's part of our release procedure.


generate the base 64 format and utf-8 for test cases

these lines can help us to console log the base64 file and utf-8
I would temperorily add them to our demo.component.ts file, so that in this case, after I run the demo, I could get the result I want for the test cases.
var newtextXML = this.b64Service.b64_to_utf8( this.b64Inputs[1].substring(this.b64Inputs[1].indexOf(",") + 1) );
    console.log("====consle.log base64====");
    console.log( this.b64Inputs[1].substring(this.b64Inputs[1].indexOf(",") + 1));
    const newparser = new DOMParser();
    const newdoc = newparser.parseFromString(newtextXML, "application/xml");
    console.log("=====consle.log utf8==============");
    console.log(newdoc);

This method is so great way to test and debug, In Real implement process, I will print b64code and xml code both, It can  clearly see the element and know how to insert it. any way. great


How can a new version of this extension be published to the VSCode marketplace?

It might be nice if that is possible through GitHub Actions, as opposed to for example relying on personal credentials.

New versions are automatically published when pushing a tag starting with v to the master branch. See the release-marketplace job, especially the following line:
https://github.com/dafny-lang/ide-vscode/blob/929b0da1edc9e673a1c2dbe1309ed9e0f059c607/.github/workflows/ci.yaml#L127
The token is tied to a Marketplace account (currently mine) and expire after a year:
https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token
This morning I've sent an E-Mail to Rustan mentioning that I'd like to grant him and other Dafny team members the necessary access rights to the marketplace organization. Alternatively, we could create a new organization as suggested in #43. But I don't think that we can change the ownership of an already published extension (at least not the ID correctnessLab.dafny-vscode). Therefore we'd have to create a new release and motivate users to switch.


New color schemes

@hanayik you mentioned you would like to include luminance adjusted color schemes. The script below will convert any ImageJ/MRIcron .lut file to NiiVue's JSON cmap format. Note that it will blindly convert all 256 discrete colors, rather than interpolating a reasonable set of nodes.
We already include turbo, magma, plasma, inferno, civids, mako, and rocket that combine good luminance for typical color vision but are also tuned for common color blindness.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

#Example usage
#  .python lut2clut.py actc.lut

import nibabel as nib
import numpy as np
import os
import sys

def lut2clut(fnm):
    with open(fnm, mode="rb") as file:
      dat = file.read()
      r = np.frombuffer(dat, dtype=np.uint8, count=256, offset=0)
      g = np.frombuffer(dat, dtype=np.uint8, count=256, offset=256)
      b = np.frombuffer(dat, dtype=np.uint8, count=256, offset=512)
      a = np.linspace(0.9, 64, num=256, dtype=int)
      i = np.linspace(0, 255, num=256, dtype=int)
      jnm = os.path.splitext(fnm)[0] + '.json'
      with open(jnm, 'w') as f:
        f.write('{\n')
        f.write('  "min": 0,\n')
        f.write('  "max": 0,\n')
        s = ','.join(r.astype(str))
        f.write('  "R": ['+s+'],\n');
        s = ','.join(g.astype(str))
        f.write('  "G": ['+s+'],\n');
        s = ','.join(b.astype(str))
        f.write('  "B": ['+s+'],\n');
        s = ','.join(a.astype(str))
        f.write('  "A": ['+s+'],\n');
        s = ','.join(i.astype(str))
        f.write('  "I": ['+s+']\n');
        f.write('}\n')

if __name__ == '__main__':
    """Convert log10p to z-score
    Parameters
    ----------
    fnm : str
        NIfTI image to convert
    """
    if len(sys.argv) < 2:
        print('No filename provided: I do not know which image to convert!')
        sys.exit()
    fnm = sys.argv[1]
    if (not os.path.isfile(fnm)):
        print('Unable to find file named: ', fnm)
        sys.exit()
    sz = os.path.getsize(fnm)
    if (sz != 768):
        print('ImageJ/MRIcron lut file size must be precisely 768 bytes: ', fnm)
        sys.exit()
    lut2clut(fnm)

Closing this issue. The Python script above will help anyone who wants to convert color tables.


Change to on_train_batch_end causes averaged values of metrics.

Logging batch values for the various metrics has been a very handy tool, somewhere in the transition from 1.13 to 1.14 the callback api switched from using on_batch_end, to on_train_batch_end. Along with this switch came averaged metrics.
I am trying to report my results using tensorflow in a science journal, and I significantly have to change what I am reporting because tensorflow has changed the api on a minor version change.
Is there a way to get the actual per batch metrics?
Right now, I have different metrics for versions 1.14 and 1.13, and it is not appropriate for a professional publication where I am aiming to demonstrate something repeatable.

@odinsbane
Will it be possible to share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

Here is an example script that will demonstrate the difference. On tensorflow 1.12 the result is created through the first callback method and generates metrics from each individual batch. On tensorflow 1.13.1 the second method is called and it logs an averaged value.
`from tensorflow import keras
import numpy
class CustomCallback(keras.callbacks.Callback):
def init(self):
super().init()
with open("batch.txt", 'w', encoding="utf8") as f:
f.write("#batch\tacc\n")
def on_batch_end(self, value, params):
#called from tf 1.12
with open("batch.txt", 'a', encoding="utf8") as f:
f.write("%s\t%s\n"%(value, params["acc"]))
def on_train_batch_end(self, value, params):
#called from tf 1.13.1
with open("batch.txt", 'a', encoding="utf8") as f:
f.write("%s\t%s\n"%(value, params["acc"]))
def genData():
x = []
y = []
cnets = numpy.random.randint(0, 62, (1000, 2) )
for cnet in cnets:
    x0 = numpy.zeros((64, 64, 1))
    x0[ cnet[0] : cnet[0] + 2, cnet[1] : cnet[1] + 2, 0 ] = 1
    y0 = x0[3:61, 3:61, :]
    x0 = x0 + numpy.random.random((64, 64, 1));
    x.append(x0)
    y.append(y0)

return numpy.array(x), numpy.array(y)

inp = keras.layers.Input( ( 64, 64, 1) );
next = keras.layers.Conv2D( 32, kernel_size=(3, 3),
activation='relu' )(inp)
next = keras.layers.Conv2D( 32, kernel_size=(3, 3),
activation='relu' )(next);
next = keras.layers.Conv2D( 1, kernel_size=(3, 3),
activation='sigmoid' )(next);
model = keras.models.Model(inputs=[inp], outputs = [next])
model.summary()
x, y = genData()
optimizer = keras.optimizers.SGD(0.01)
loss_fn = keras.losses.MSE;
model.compile(
loss = loss_fn,
optimizer=optimizer,
metrics = ["accuracy"],
)

model.fit( x, y, batch_size=10, epochs=2, verbose=0, callbacks=[CustomCallback()])
`
I can include plots of the acc value that gets logged if necessary. Also, I don't know when this change happened. I was building tf 1.13 and at some point the callbacks switched and I had to change the names of my methods.

@odinsbane
I have tried in colab with TF version 1.12, 1.13.1, 1.14 .Please, find the gist here.Is this the expected behavior? Thanks!

Yes, that is the expected behavior. The difference that I am talking about,
is a difference in the data being written to batch.txt. In the 1.12 version
the data is noisier and reflects the values from each bach. In version
1.13+ the data is averaged during an epoch. I'm not too familiar with
colab, so I don't know a good way to plot the output.
On Tue, May 12, 2020 at 12:59 PM ravikyram<EMAIL_ADDRESS>wrote:

@odinsbane https://github.com/odinsbane
I have tried in colab with TF version 1.12, 1.13.1, 1.14 .Please, find the
gist here
https://colab.sandbox.google.com/gist/ravikyram/827995a4f209e5e4622ac708474eac6f/untitled882.ipynb.Is
this the expected behavior? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/39448#issuecomment-627298171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2NNEOQ3WLTCCKFYAS5XKTRRE2Y7ANCNFSM4M6S3VTA
.

This demonstrates the difference in batch metrics. The right graph changes immediately, and doesn't matter when the second epoch starts. The left graph gradually increases, and then at the start of the new epoch, it jumps to a higher value because it has been plotting an average over the epoch.
We used the differences in batch metrics to evaluate whether the batches had some sort of bias from the sources of data.

It seems that this is also happening with TF 2.2.0. But with TF 2.0.0 it seems to work as expected.
Instead of printing the loss for the current batch, the on_train_batch_end function is printing the average loss.
You can reproduce the expected and wrong behaviour with this colab

I can also confirm the shift over to averaged metrics is disruptive to research work being done with newer versions of tensorflow (I'm likely staying with 2.0 for the time being due to this issue). It looks like the current 2.4.x nightly (from dockerhub) averages over loss which is particularly detrimental when exploring any changes that happen within a batch (e.g. learning rate variations, looking for unshuffled clumps of data being input to the system, or any other sharp transitions in loss).
I'd welcome any suggestions to be able to simply swap over to non-averaged versions of metrics when logging information out to tensorboard.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Have default network be hardhat

have the default network be hardhat, and have it smart enough to swap addresses based on the network. Including deploying mocks if you're on a local network.

addressed in https://github.com/smartcontractkit/chainlink-hardhat-box/pull/6


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Deprecated Task Handler warning

Hi, When executing the tasks, you get a warning on a usage of a deprecated task Handler:
##[warning]Task 'CreateWindowsService' (1.1.1) is using deprecated task execution handler.
This should be caused by the use of PowerShell executor instead of the newer PowerShell3 one (under the "execution" section of the task manifest).
It should be fairly easy to fix and publish maybe a "v2" of the extension.

Please can you update this to use Powershell3 instead of Powershell to remove these warnings. It's just a quick edit of all the task.json files.


Support adding new documents by saving the collection file

OS: Win10/Mac
Build Version: 20200820.12
Repro Steps:

Drill down a MongoDB account -> Database -> Collection.
Right click the collection -> Select "Open Collection" -> Open a "cosmos-collection.json" file.
Insider this file, add a field to insert a new document, such as:

{
  "_id": {
    "$oid": "5f3f3da1630707cf301586ab"
  }
}

Save and upload this change.
Check the result.

Expect:
Update a document successfully and add a new document to the collection.
Actual:
Update a document failed and the collection is unchanged.

@v-mengwe can you try this with a property other than '_id'?

@wwlorey Verified on the latest build 20200826.18.

This issue also reproduces with a property other than '_id' if the opened "cosmos-collection.json" file is empty.

There is an error with a property other than '_id' if the opened "cosmos-collection.json" file is not empty.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

Verified on the latest build 20210523.1:
The collection unchanged after deleting and saving a document in the opened "cosmos-collection.json" file.

The collection changes after setting a new name to the document and saving the document in the opened "cosmos-collection.json" file.

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Propagate mixfile errors to the user better.

Currently if there is an error that causes dependabot to be unable to run the mixfile (such as using a file) while trying to update a dependency, then dependabot will swallow the error, making it very difficult to debug why the error is happening. I encountered this when I hadn't yet sanitized all of the supporting files (#2748), and it silently failed while trying to update the lockfiles. This particular error is fixed, but this could happen in the future with perhaps a more complex mixfile setup, or if future updates are not applied to all the places they need to.
The core cause for me was that the error was being swallowed here and then nil being passed all the way back up and is eventually treated as not being upgradeable instead of being an error that the mixfile couldn't be executed. On top of that, the "error" return by the mix helpers, was just the empty string, so theres something not being handled correctly for propagating errors that occur in the hex helpers.
This probably requires a revamping of how errors are handled in the helpers in general, so I'll leave it to you all to decide if this is worth fixing or not.

👋 Hey there! Sorry for the glacially slow response... we've been a bit buried the past few years, and only just now starting to dig through some of our backlog.
This issue is pretty old, and we've pushed a lot of bugfixes since then... is this still a valid issue?

Hi, I don't work with Elixir anymore, so I'm not sure if its still an issue. I would presume so, if there haven't been major modifications to the hex part since I made this issue. Since the crux of it was that it would swallow the error message, and give back a generic one.


Dynamic number of Circle

Currently the lib just support 3 Circles, need to Dynamic number of Circle

Hi @NguyenNL ,
Thank you for reaching out and expressing your interest in extending the functionality of our Flutter package. We appreciate your feedback and understand the need for a dynamic number of circles in our current implementation.
After careful consideration, we want to maintain the simplicity and compatibility of our package to ensure a smooth user experience across various platforms and devices.


Nukies need tweaking to be activatable midround

Just need to move some code around as rn most of it only gets run at round startup.

Probably can be closed since #10005 was merg.


feat(infra): ecs migration to ec2

Close #783
Description
비용문제로 ECS에서 Fargate 대신 EC2 인스턴스를 사용합니다.

Additional context

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines
[ ] Read the Contributing Guidelines and follow the Commit Convention
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

^^ good


fix: include CSRF token in tet userinfo endpoint response

Currently CSRF token is provided only once during the end of authentication. If the user loses the CSRF token, there is no way to retrieve it without logging out and logging back in.

APIView does not set CSRF token because it defaults to csrf_exempt
CsrfViewMiddleware does not set a new token if cookie is missing

CSRF token can be forced into the response by calling get_token, so it is added to the userinfo endpoint to improve the chances of it being delivered to the browser.
Refs: TETP-306
https://helsinkisolutionoffice.atlassian.net/browse/TETP-306

YJDH-TET-API branch is deployed to platta: https://yjdh-tet-pr3663.api.dev.hel.ninja :rocket::rocket::rocket:

ADMIN is deployed to platta: https://yjdh-tet-admin-ui-pr3663.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://yjdh-tet-admin-ui-pr3663.dev.hel.ninja :laughing::tada::tada::tada:

YOUTH branch is deployed to platta: https://yjdh-tet-youth-ui-pr3663.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://yjdh-tet-youth-ui-pr3663.dev.hel.ninja :laughing::tada::tada::tada:


Incorrect parsing of JSON string when JSMN_PARENT_LINKS switch is enabled

When using this library for parsing JSON on STM32F4 microcontroller with JSMN_PARENT_LINKS I get unexpected structure of jsmntok_t array. It is not corresponding to my input JSON string:
{"cmd":"mo_init_q","qb": [1.1, 1.2, 1.3],"qe": [2.1, 2.2, 2.3],"some": [{"lib":"some.a", "src": "some.c", "ver": 100},{"lib":"another.a", "src": "another.c", "ver": 50}]}
And it also contains incorrect type properties. May be they have not been set at all and contain some "garbage".
The following text is data of token array from the debugger:
{{type = JSMN_OBJECT, start = 0, end = 172, size = 8, parent = 3}, {type = JSMN_ARRAY, start = 5, end = 0, size = 3, parent = 8}, {type = 17, start = 0, end = 3, size = 20, parent = 22}, {type = JSMN_PRIMITIVE, start = 2, end = 25, size = 40, parent = 3}, {type = JSMN_PRIMITIVE, start = 26, end = 29, size = 0, parent = 0}, {type = 31, start = 34, end = 0, size = 0, parent = 36}, {type = 39, start = 0, end = 3, size = 42, parent = 44}, {type = JSMN_PRIMITIVE, start = 2, end = 47, size = 62, parent = 3}, {type = JSMN_PRIMITIVE, start = 48, end = 51, size = 0, parent = 0}, {type = 53, start = 56, end = 0, size = 0, parent = 58}, {type = 61, start = 0, end = 3, size = 64, parent = 68}, {type = JSMN_PRIMITIVE, start = 2, end = 71, size = 171, parent = 2}, {type = JSMN_OBJECT, start = 72, end = 118, size = 6, parent = 3}, {type = 74, start = 77, end = 0, size = 3, parent = 81}, {type = 87, start = 0, end = 3, size = 91, parent = 94}, {type = JSMN_PRIMITIVE, start = 3, end = 98, size = 104, parent = 0}, {type = JSMN_STRING, start = 108, end = 111, size = 0, parent = 0}, {type = 114, start = 117, end = 0, size = 1, parent = 119}, {type = 170, start = 6, end = 3, size = 121, parent = 124}, {type = JSMN_PRIMITIVE, start = 3, end = 128, size = 137, parent = 0}, {type = JSMN_STRING, start = 141, end = 144, size = 0, parent = 3}, {type = 148, start = 157, end = 0, size = 3, parent = 161}, {type = 164, start = 0, end = 0, size = 167, parent = 169}, {type = JSMN_PRIMITIVE, start = 0, end = 0, size = 0, parent = 0} <repeats 77 times>}
There is also screeshoot of debugger info from my toolchain in annex

Bitbucket: https://bitbucket.org/zserge/jsmn/issue/32
Originally reported by: Uranuz CatDog
Originally created at: 2014-05-08T11:12:08.638

From the debugger output I can tell that the number of tokens was estimated correctly, but only the root token was filled in normally (e.g. Object type, 8 child nodes). The others are filled with garbage.
I wonder if you can reproduce it and if you can do step-by step debugging? Since it's the 2nd token that fails to parse - it won't take much time. I tried parsing your JSON with various jsmn build options - and they all worked fine, so I can't really reproduce it (linux/amd64).
Also, I wonder if JSMN_PARENT_LINKS has any affect on this issue - can you reproduce it without that option?
Finally, please note that some changes to jsmn code has happened recently - it now can tell object keys from values and thus the node tree structure is now different.

Original comment by: Serge Zaitsev

I have exactly the same problem.
I used the jsmn code on an ARM7 and it works fine when I don't use JSMN_PARENT_LINKS.
On the first try with a relatively simple JSON object, I also got garbage in the tokens when defining JSMN_PARENT_LINKS.

Original comment by: Dirk Nerinckx

I made the code of jsmn MISRA compliant which was a tremendous job because there were tons of violations.
Surprisingly enough, the problem with the JSMN_PARENT_LINKS was gone after this.
I don't have the time to find out what went wrong with the original code when using JSMN_PARENT_LINKS.

Original comment by: Dirk Nerinckx

I implemented JSMN into my EFM32 ARM CortexM3 project. Unfortunately JSMN is also parsing incorrectly when JSMN_PARENT_LINKS is activated. The output is very similar to the output of Uranuz CatDog.
I also tried parsing whith just one simple JSON line:
{"Test":"12345"}
Even after parsing this single line the output is incorrect.  t[ ] contains the following data:
t[0]: type = JSMN_OBJECT; start = 0; end = 16; size = 1; parent = 3;
t[1]: type = JSMN_ARRAY; start = 6; end = 1; size = 3; parent = 9;
t[2]: type = 14; start = 0; end = 1; size = 0; parent = 0;
I experimentally implemented JSMN in a Dev++ project on PC resulting with the same output.
Is there a solution for this issue yet (except making the code MISRA compliant)?

Might be related with #43
Can anyone confirm that the recent version (which fixes #43) still has this issue?

Hi Zserge,
I just tested your newly uploaded jsmn.c and jsmn.h. Unfortunately the explained issue still exists.

Hi Sergey,
If you add #define JSMN_PARENT_LINKS just before #include "../jsmn.h" in simple.c, parsing fails and program exists with seg fault.
./simple_example
Unexpected key: ": "johndoe", "admin": false, "uid": 1000,
"groups": ["users", "wheel", "audio", "video"]}
Unexpected key: {"u
Unexpected key: er": "johndoe", "admin":

UID: ,
"groups": ["users", "wheel", "audio", "video"]}
Unexpected key: "
Unexpected key: ser": "johndoe", "admin": false, "uid": 1000,
"groups": ["
Unexpected key: wheel
Unexpected key: ", "video"]}
Unexpected key: {"user": "johndoe", "admin": false, "uid": 1000,
"groups": ["users", "wheel", "audio", "video"]}
Segmentation fault

Any ideas why is this happening?

@aantonyan "simple" example is built from simple.c and libjsmn.a. Adding JSMN_PARENT_LINKS define to jsmn.h inside simple.c affects the data structures inside simple.c, but if you've built libjsmn.a without that definition - you're likely to have different memory layout for jsmntok_t structure inside libjsmn.a and simple.c. This leads to wrong memory addresses and SIGSEGV as a result.
If you need JSMN_PARENT_LINKS - I would recommend to pass it globally via config.mk:
CFLAGS := -DJSMN_PARENT_LINKS=1

Then the build process includes this flag in both, jsmn.c and simple.c:
cc -c -DJSMN_PARENT_LINKS=1 example/simple.c -o example/simple.o
cc -c -DJSMN_PARENT_LINKS=1 jsmn.c -o jsmn.o
ar rc libjsmn.a jsmn.o
cc  example/simple.o libjsmn.a -o simple_example

Thanks!


strictNullChecks does not ensure class properties are initialized in constructor

TypeScript Version:  2.1.0-dev.20160909
Code
class A {
	prop: string;
}

const a = new A();
a.prop.length; // TypeError: Cannot read property 'length' of undefined

Expected behavior:
TS should throw a compile time error to ensure that non-nullable class members are initialized inside the constructor and can not lead to runtime errors.
Actual behavior:
No compile time error, rather an exception at runtime

Duplicate #8476.

Thanks for reminding me. Default search is set to is: open though -_-


not existing pulsectl versions in setup.cfg

guess, it should be:
[options]
packages = pulsectl_asyncio
python_requires = >=3.6
install_requires =
    pulsectl >=23.5.0,<=23.5.1
include_package_data = True

or currently:
[options]
packages = pulsectl_asyncio
python_requires = >=3.6
install_requires =
    pulsectl >=23.5.0,<=23.5.2
include_package_data = True

in setup.cfg?
else it can't be satisfied, it think...

Thanks for the report!


Error when using path to an external file

Awesome work on this, it's really aiding in my learning however currently when I attempt to use an external .frag file it fails.
When assigning the source I entered C:\Users\steve\Pictures\test2.frag and it showed the error
Report: Error  Traceback (most recent call last): File "C:\Users\steve\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\gIsITexture-master\__init_.py", line 129, in modal if not bpy.data.texts[self.source].is_in_memory and bpy.data.texts[self.source].is_modified: KeyError: 'bpy_prop_collection[key]: key "C/Users/steve/Pictures/test2.frag" not found' location: <unknown location>:-1
C/Users/steve/Pictures/test2.frag does indeed exist, although it is entirely empty (I just create with the touch command in WSL).
Sorry if this is something silly I'm guessing it's the slashes, I tried reversing them but no luck. I am using Windows 10 and Blender 2.83.1

Sorry the above error message has some typos because I used OCR for it, the actual path is "C:\Users\steve\Pictures\test2.frag" and I've also tried "C:/Users/steve/Pictures/test2.frag"

Mmm... have you tried relative paths? The working path is where Blender is lunch and the project folder is // but could be different in Windows

Ah yes, using // worked!! I put it in the same directory as the .blend file an used //test2.frag, thanks for this such a silly issue, love your work it's helping me a lot.


Adding a new website parser

Summary
There are two parts to this:

offline/new_parsers.md: this doc is intended to answer the question "how do I add a new website parser to the offline pipeline?"
offline/document_parsers/allrecipes_parser.py: an example of a new parser for allrecipes.com

I've also modified the offline pipeline configuration a little. I had some trouble getting useful results from CommonCrawl initially so I've added a second instance of the Scraper component at the start of the pipeline (the first instance is used to scrape the URLs generated by the category corpus construction step). This allows it to be used instead of/as well as the CommonCrawl component.
The Scraper now also supports adding custom HTTP headers to its requests, it turned out allrecipes.com blocks minimal HTTP GET requests so extra headers are required.
Testing
Try adding a few URLs to shared/file_system/offline/non_cc_urls.csv and run the pipeline. I just used a small test set:
https://www.allrecipes.com/recipe/268180/feta-roast-chicken/
https://www.allrecipes.com/recipe/242362/butterflied-roast-chicken-with-lemon-and-rosemary/
https://www.allrecipes.com/recipe/233953/million-dollar-chicken/
https://www.allrecipes.com/recipe/107488/caribbean-spiced-roast-chicken/
https://www.allrecipes.com/recipe/265562/whole-chicken-pie/

The log for the Scraper component should show something like:
[2024-03-15 14:30:01,050] - INFO - local.offline - url_downloaders.py.download:137 - Scraper starting to run on 5 URLs
[2024-03-15 14:30:02,632] - INFO - local.offline - url_downloaders.py.write_protobuf_list_to_file:33 - Writing 5 protos to /shared/file_system/offline/protos/htmls/allrecipes_scraped/html_0.bin
[2024-03-15 14:30:02,679] - INFO - local.offline - url_downloaders.py.download:183 - Scraper saved HTMLs at /shared/file_system/offline/protos/htmls/allrecipes_scraped/html_0.bin
[2024-03-15 14:30:02,679] - INFO - local.offline - url_downloaders.py.download:185 - Scraper processed 5 URLs, 0 failures
[2024-03-15 14:30:02,680] - INFO - local.offline - url_downloaders.py.store_failed_urls:85 - Writing failed URLs to /shared/file_system/offline/pipeline_stats/Scraper

There will probably be issues with the augmenters step later in the pipeline, this should be fixed after #7 is merged.

this worked but I do get errors later down the line:
offline  | [2024-03-19 17:27:59,184] - INFO - local.offline - downloads.py.get_artefact_path:417 - Downloader(offline): found artefact domain_classifier in source domain_classifier with path /shared/file_system/downloads/offline/domain_classifier offline  | Traceback (most recent call last): offline  |   File "/source/main.py", line 66, in <module> offline  |     component.run() offline  |   File "/source/category_index/run_building_taxonomy.py", line 17, in run offline  |     parser_runner = KnowledgeConstruction(self.html_proto_path, self.knowledge_proto_path, offline  |   File "/source/index_builders/general_knowledge_construction.py", line 19, in __init__ offline  |     self.domain_classifier = DomainClassifier() offline  |   File "/source/category_index/domain_classifier_categories.py", line 15, in __init__ offline  |     self.classifier.load(downloader.get_artefact_path(artefact_id)) offline  |   File "/shared/models/domain_classification/naive_bayes.py", line 191, in load offline  |     with open(os.path.join(path, "tfidf.pkl"), "rb") as file: offline  | FileNotFoundError: [Errno 2] No such file or directory: '/shared/file_system/downloads/offline/domain_classifier/tfidf.pkl' offline exited with code 1

Something up with the S3 bucket? It looks like it's failed to download a file, and if I try the URL manually it's giving a 403:
$ wget https://oat-2-data-backup.s3.amazonaws.com/classifiers/domain_classifier/tfidf.pkl
--2024-03-19 17:34:11--  https://oat-2-data-backup.s3.amazonaws.com/classifiers/domain_classifier/tfidf.pkl
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving oat-2-data-backup.s3.amazonaws.com (oat-2-data-backup.s3.amazonaws.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to oat-2-data-backup.s3.amazonaws.com (oat-2-data-backup.s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-03-19 17:34:11 ERROR 403: Forbidden.

after running PR #9 , the same domain classifier error appears (from two comments ago https://github.com/grill-lab/OAT/pull/8#issuecomment-2007757141) - the model exists, but doesn't live in /offline/ where the path is checking for it. This should be updates in downloads.toml I think!

now it works! I think it was because main wasn't merged in. Will approve, thanks!


(packaging) Bump to version '3.15.0' [no-promote]

The automatic bump script missed this since version 3.15.0 was previously committed/reverted in c1df2f01d916519683787bef42f9d22160b063d0

CLA signed by all contributors.


Override error message for API

Hi,
I am working on an API which is consumed by another technology. When creating an entity, I am using the create! which triggers an exception under failure and I am returning an array with all the error and parse it as desired on the screen.
However, I have overridden the registration controller as I need to use a Transaction block and create another entity prior to the User. When the other entity fails, it does not even get to creating the user (this is correct). When creating a User and getting an error, the other transaction gets correctly rollbacked BUT the issue comes in that I am getting the exception with a single message which contains  all the errors together instead of getting an array of errors.
I have tried changing my code by removing the bang operator on the create and returning User.errors which returns the errors on the desired way BUT, as there is no exception, the initial entity does not get rollbacked. I have also tried triggering the exception manually but that makes me return the single message which is what I do not want to happen.
Has someone experienced the same? Is there a way to override this behaviour?
Regards.
Alejandro.

Hi @kinsbrunner,
Please use StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.
Thank you!


How execute raw query in model?

You can access the query builder chain on the model using the query method, and after that you can access all the Database provider methods. Internally Database provider uses knexJs. So all methods of knex can be called directly.
Taking the example you have a User Model
const User = use('App/Model/User')
const result = yield User.query().whereRaw('')

http://knexjs.org/#Builder-whereRaw

Thanks :+1:

Closing


compute_fixed_point warning

Should not print a warning when converged with exactly max_iter iterations (ref #144):
julia> f(x) = 0.5 * x
f (generic function with 1 method)

julia> compute_fixed_point(f, 1.0, verbose=2, max_iter=14)
Compute iterate 10 with error 0.0009765625
WARNING: max_iter attained in compute_fixed_point
6.103515625e-5

julia> compute_fixed_point(f, 1.0, verbose=2, max_iter=15)
Compute iterate 10 with error 0.0009765625
Converged in 14 steps
6.103515625e-5

See also the Python version https://github.com/QuantEcon/QuantEcon.py/pull/273#issuecomment-260358779.

I am working on it


Github syntax highlighting breaks with comments inside resources

Bicep version
N/A
Describe the bug
The bicep syntax highlighting on GitHub gets confused if you put a comment inside a resource definition - it isn't highlighted correctly, and further syntax highlighting is broken.
To Reproduce
Put the following snippet into a code block on github
//comment - this is highlighted correctly

resource webApp 'Microsoft.Web/sites@2020-12-01' = {
  name: 'foo'
  //comment inside resource - this is not highlighted correctly.  Further highlighting also gets broken
}

resource webApp 'Microsoft.Web/sites@2020-12-01' = {
  name: 'foo'
  //comment inside resource - still broken
}

To Reproduce
For reference if reading outside of github, or in the future after this bug is fixed, this screenshot shows what the highlighting of the above block looks like:

Good find! I've submitted a fix - once merged, we'll need to update GitHub linguist to pick up the fix.

Just checked the docs under https://github.com/github/linguist - this change will be automatically picked up whenever they cut the next release.


Update Codeium enterprise register user path

Appears Codeium register user path is out of date. This PR updates path to match what is in other plugins like this: https://github.com/Exafunction/codeium.vim/blob/fd440cd718742daab162241c5bd5857cd92f5f72/autoload/codeium/command.vim#L88
Thank you.

Thank you!


Fix some typos

Fixed some typos charts/cert-manager-webhook-ovh/values.yaml

Thanks a lot for this @pgillet

And thank you for maintaining this project: very helpful in our journey with OVH.


Body never created, event body-loaded never fired

Hello.
The creation of nested entity, with a dynamic-body, during a VR scene do not result on the creation of a physics body. Which do not allow me to set constraint between my cursor and this entity :(
If the entity is created from start the body is created but if this entity is created during the scene the body never appear on nested entity. however it works great on simple entity (without nested entity).
My entity is composed like this :
<a-entity id={this.id} key={this.id} position={posX + " " + posY + " " + posZ} rotation={rotX + " " + rotY + " " + rotZ} visible="false" dynamic-body="mass: 0" scale="10 10 1">
        <a-image id={this.id + '-image'} src={'#' + this._values.image_src} alpha-test="0.1" material="transparent: true; shader: flat;" width={this.width_for_img()} height="0.6" position="0 0.37 0" visible="false"></a-image>

        <a-plane id={this.id + '-label'} color="#000000" opacity="0.7" width="0.35" height="0.05" position="0 0.1 0" material="shader: flat;">
          <a-text value={this._values.label} width="0.5" align="center" position="0 0 0.1" material="shader: flat;"></a-text>
          <a-image src='#blackarrow' alpha-test="0.1" material="transparent: true; shader: flat;" width="0.03" height="0.024" position="0 -0.036 -0.01" ></a-image>
        </a-plane>

        <a-image id={this.id + '-btn'} src={'#' + this._values.btn_open_src} class='interactible' cursor-listener
                alpha-test="0.1" material="transparent: true; shader: flat;" width="0.08" height="0.08" position="0 0 0"
                animation__click="property: scale; startEvents: click; from: 0.85 0.85 0.85; to: 1 1 1; dur: 150"></a-image>
</a-entity>

It appears that, after the creation of the body with el.setAttribute('dynamic-body', {mass: 0}) the body is never created and the event doby-loaded is never fired.
I use it like that :
if (isNullOrUndefined(el.body)){
    el.addEventListener('body-loaded' ,function() {
            console.log('BODY LOADED')
            el.body.collisionFilterMask = false
            el.body.mass = 5
            el.body.updateMassProperties()
            el.setAttribute('constraint', {target: '#myCursor', type: 'lock'})
    })
    el.setAttribute('dynamic-body', {mass: 0})
}

After looking in the aframe-physics-system sources (but i'm not expert enough to be 100% sure of what follows) it seems that CANNON.mesh2shape(document.getElementById('myentity').object3D, {type: CANNON.mesh2shape.Type.BOX}) return null.
So the initialisation of my body will wait for the shape and for the event object3dset.
That's where my analyse stops.
I hope i'm clear enough and you can help im this quest.
Thanks for your work.

Is it possible to create a demo of this that shows the issue separately from the React code? I think it's likely that some of those child entities are causing issues, text in particular can cause trouble (https://github.com/donmccurdy/aframe-physics-system/issues/74). You may want to use the shape component and just define a box around the whole group yourself: https://github.com/donmccurdy/aframe-physics-system#shape


How to stop Kubernetes pod from exhausting user limit?

I understand that there are a maximum of 3 active users per month for a free Picovoice account. Locally this has been great. I can completely nuke node_modules and reinstall and it correctly detects it's the same machine/user so there's no issues. Now we are at the stage in our development where we are trying to deploy our app to Kubernetes. Each pod in the cluster counts as its own user and that's fine. If we ever need more than 3 pods then we'll look into upgrading to an enterprise account for that.
However, since pods are ephemeral Porcupine sees it as a new machine/user every time the pod is restarted. We moved to a stateful set so that the pods maintain consistent hostnames and that didn't seem to help. We even tried to install Porcupine onto a persistent storage volume and mount that volume into /app/node_modules/@picovoice/porcupine. We set this all up successfully but alas, it still counts as a new user on every pod redeploy.
Do we have any other options here? We're really hoping to deploy to Kubernetes for proper scaling if our application suddenly gets more attention than we expected. Starting to wonder if Porcupine is fundamentally incompatible with that idea, but maybe we're just missing something obvious. Testing this has been difficult as well since we really only get three tries before we have to wait 30 days again.
Any help is greatly appreciated.

I know this is closed and there is no solution for the time being, but I ran into the same problem (as a personal project) and I'm blocked on development as I can't rerun it. Is there a way I can delete my active users without having to wait an entire month?

My team currently has a planned task to work with Bun's FFI feature to utliize the Microsoft Speech Services C++ SDK. We haven't prioritized it yet so we don't know what unknowns we might encounter, but a cursory glance looks promising.


feature/full screen

go fullscreen; should probably hide navigaton in fullscreen
update

This won't happen. A game engine rather than a native app would be better


Margin left-right navbar-form with nav-link

Hello, there is an issue that has never been solved on Bootstrap 3 and now in Bootstrap 4 is not the exception. When we use the pull-right form-search and then want to add a list of icons do not have margins.

        0

    <form role="search" class="form-inline navbar-form pull-right hidden-sm-down" style="">

        <input type="search" placeholder="Search product..." class="form-control" id="query">

          <button type="submit" class="btn btn-info-outline">

          </button>

    </form>

 <form style="margin-right: 15px;">

There must be a way to keep adding items maintaining margins.

This will be addressable in v4 with utility spacing classes.

i.e. http://v4-alpha.getbootstrap.com/components/utilities/#spacing


Support attachments

In all the adapters

+1

It would be nice if this supported Content-ID for embedding images directly into HTML emails.

@cjhowe definitely something it should do!

+1, would be awesome! :)

@philipgiuliani at the moment not easily I'm afraid :( I need attachments in one of my personal projects so hopefully this will force me to write it for swoosh soon :)

https://github.com/swoosh/swoosh/pull/119
https://github.com/swoosh/swoosh/pull/121
https://github.com/swoosh/swoosh/pull/123
https://github.com/swoosh/swoosh/pull/125
https://github.com/swoosh/swoosh/pull/126

This has now landed in master thanks to the great work of @princemaple!


Syn&Kom mangler for FHIR

Der skal oprettes en Syn&Kom for FHIR.
Henvisninger på følgende side skal derefter opdateres:
https://github.com/hl7dk/dk-medcom/blob/master/doc/message/HospitalNotification/TestProtocols/HospitalNotification_afsendelse_1.0_300621.docx
https://github.com/hl7dk/dk-medcom/blob/master/doc/message/HospitalNotification/TestProtocols/HospitalNotification_modtagelse_1.0_300621.docx

An idea could be to include a description about our use of identifiers. I suggest, that the following description id supported by a figure illustrating the flow. A draft could be something like:   "Message and bundle identifiers used in MedCom FHIR messaging are compliant with https://www.hl7.org/fhir/messaging.html#<IP_ADDRESS>. This means that the MessageHeader.id should be globally unique for each message and is used to reference the previous message in a stream. The Bundle.id is a unique identifier for a bundle and it must be updated with a new value each time a new message is sent."


failed to setup environment due to missing dirs

(jl_ek7nY5) pkg> st
      Status `C:\Users\kittisopikulm\AppData\Local\Temp\jl_ek7nY5\Project.toml`
  [40e3b903] Clang v0.15.7

julia> using Clang

julia> using Clang.Generators

julia> get_default_args()
ERROR: AssertionError: failed to setup environment due to missing dirs, please file an issue at https://github.com/JuliaInterop/Clang.jl/issues.
 Only one of the folders were present.
Only the sysroot folder and subfolders were still present. I renamed the artifact folder with a .bak suffix, and allowed Artifacts to redownload it.

It could happen when something goes wrong during the download&unzip phase. Maybe we should validate the artifacts before throwing this error.


com.google.gson.JsonSyntaxException

Before you create a new issue, please search for similar issues. It's possible somebody has encountered this bug already. PLEASE REMOVE THIS LINE TO ACKNOWLEDGE THAT AN ISSUE DOESN'T ALREADY EXIST FOR THIS BUG
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Android Version: [e.g. API 30]
Device: [e.g. Emulator or One Plus 9]
Browser [e.g. chrome, safari] <- only applicable for app switches or fallback situations
SDK Version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

Hey @lmzliuying - Which version of the SDK are you using? Can you try pulling in the latest version of the Checkout SDK (version 0.5.2)? There was some error handling that was recently added.

嘿@lmzliuying - 您使用的是哪个版本的 SDK？您可以尝试使用最新版本的 Checkout SDK（版本 0.5.2）吗？最近添加了一些错误处理。

是的，我更新到最新版本的SDK，问题已经解决。谢谢！

@lmzliuying - Glad that your issue is resolved! No problem!


MP now returns the original instance of Helidon config.

Signed-off-by: Tomas Langer<EMAIL_ADDRESS>This enables support for config changes when using Helidon config to create Server.

Resolves #938