nixos/malloc: fix Scudo

Motivation for this change
Fixes segmentation faults.
https://github.com/NixOS/nixpkgs/issues/100799
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS

[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Should be backported.

Please backport to 20.09.


Black Screen when using an app (PosteID) to authenticate my login.

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...] Windows 11 94 bit
scrcpy version: [e.g. 1.12.1] 2.0
installation method: [e.g. manual build, apt, snap, brew, Windows release...] Windows release
device model: Nokia XR20
Android version: [e.g. 10] 13

Describe the bug
I get a black screen just when using the PosteID   app for my SPID authentication.

That's expected for apps which enable secure flag for Android 12+. See #2129 #36


Add specification of color to UI palette choice

The palette UI currently only allows for the selection of an MPL colormap - modify this to support hex colors (and/or everything large-image can support)

Done in d91171d:


primrose

Is there a reason Primrose is no longer listed on this GitHub?
Tychele

No. Just forgot to add to the table.

Okay, thanks!


Duplicate user show in Video conference

when one user leaves and then joins again join then shows duplicate users

During the past period, I have been busy with other projects. Now, let me take a look

I ran our demo and didn't reproduce this issue. Can you send me the code you integrated so I can take a look?


Formatting of list returned from call to clojure.core/into

Hi Eero - Awesome library, thanks for making it! It has been a super useful and performant alternative to clojure.pprint/pprint.
I was working inside a project today and I noticed a small difference in the printing of a list that was returned from a call to  clojure.core/into. As a sanity check, I reproduced the same thing in a clean sandbox project:
(ns sandbox-clj.core
  (:require
   [me.flowthing.pp :as pp]
   [clojure.pprint]))

(clojure.pprint/pprint (into [] {:a 1 :b 2}))
;; => [[:a 1] [:b 2]]
(pp/pprint (into [] {:a 1 :b 2}))
;; => [:a 1, :b 2]

(clojure.pprint/pprint (into '() {:a 1 :b 2}))
;; => ([:b 2] [:a 1])
(pp/pprint (into '() {:a 1 :b 2}))
;; => (:b 2, :a 1)

(clojure.pprint/pprint (into #{} {:a 1 :b 2}))
;; => #{[:b 2] [:a 1]}
(pp/pprint (into #{} {:a 1 :b 2}))
;; => #{:b 2, :a 1}

P.S.
I edited the example above from the original issue which was an example specific to clojure.spec.alpha/conform, where I first noticed it. Shortly after realized it was not specific to the output of conform when i saw it happening with into.

Thanks for the report! I'll take a look when I get the chance.

The bug is that pp prints map entries (clojure.lang.MapEntry) as if they were inside maps even when they're in other types of collections.
user=> (pprint [(clojure.lang.MapEntry. :a 1)])
[:a 1]

I'll fix that.

This case turned out to be a bit trickier than I expected, but I think I have a fix now. Hope to have a new version out later this week.

Works perfectly now. Thank you very much for the timely fix!

Great, thanks for reporting back!


Long delay between upload finishing and form submission

When files are uploaded, there seems to be a long delay (seemingly proportional to file size) before uppy accepts that the upload is done, and submits the form. I suspect Shrine is doing something in the background before saying everything is OK to go.

Having looked at my raspberry pi, this is because the initial upload is going to /tmp, then is being copied to /usr/src/app/tmp before Shrine gets to look at it. And in my case, those are technically different docker filesystems, so it's copying instead of moving (hence it's fast locally). It shouldn't be doing that, surely it should go straight to the shrine tmp?


[Bug]: "simple mapping(sub-pipeline)" transform [Input] Mapping Error  and [output] Get Fields Error

Apache Hop version?
2.9
Java version?
11
Operating system
Windows
What happened?
Reproduction Steps:
Open the Simple Mapping editing window for the second time
Click Mapping on Input tab

Click Mapping on Output tab

Issue Priority
Priority: 3
Issue Component
Component: Hop Gui, Component: Transforms

should be fixed with #3529 feel free to re-test using a 2.10 build.
you can get it from here (does require Java 17)

The test confirmed that there is no problem, thank you


[Universal banner] Web Component: Develop the Universal banner component

User Story

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

I need to:
create/change the Universal banner

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

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
Create with Shadow DOM and Custom Elements standards
See the Epic for the Design and Functional specs information
Final design and design specs
Functional specs
The background color should be able to change.
Include MH change for the behavior when Banner is present.  Func spec (#7620)
Include a Knob in the dotcom shell storybook to allow for the Universal Banner.
Web Components Visual QA testing issue (#6816 )
Web Components Prod QA testing issue (#6821 )

Acceptance criteria

[ ] Include README for the web component and corresponding styles
[ ] Create Web Components styles in styles package
[ ] Do not create knobs in Storybook that include JSON objects
[ ] Break out Storybook stories into multiple variation stories, if applicable
[ ] Create codesandbox example under /packages/web-components/examples/codesandbox and include in README
[ ] Minimum 80% unit test coverage
[ ] Update the Carbon for ibm.com website component data file to be sure the web site Component Status and Storybook links are correct
[ ] Use the Visual QA checklist to verify design quality
[ ] Update the e2e test scripts, if needed.
[ ] Confirm e2e test results have no major errors.
[ ] If a design is provided, the Designer is included as a Reviewer in the Pull Request
[ ] Provide a direct link to the deploy preview for the designer in the Pull Request description
[ ] A comment is posted in the Prod QA issue, tagging Praveen when development is finished

@jeffchew Moving this one back to Sprint 3 since it got approved on Friday to merge


Cleanup usage of & add notes about docs.min.js in examples

The Blog and Cover examples have no placeholder images, so they shouldn't need docs.min.js.
In the examples that do use placeholder images and thus need docs.min.js, add comments explaining it shouldn't be used in real production webpages.
Refs http://stackoverflow.com/questions/25829488/what-is-docs-min-js
CC: @mdo

All they need is Holder then right?

Yes. The 2 examples that include docs.min.js do so solely because it
contains Holder.js.
On Saturday, February 7, 2015, Mark Otto<EMAIL_ADDRESS>wrote:

All they need is Holder then right?
—
Reply to this email directly or view it on GitHub
https://github.com/twbs/bootstrap/pull/15765#issuecomment-73396933.

Maybe we just include that instead? Or revisit the placeholder images there? I'd hate to have to deal with the downfall of including our docs JS in those examples :.

Maybe we just include [Holder.js] instead?

Agreed, but the explanatory HTML comments would still be necessary IMO. We can punt switching the scripts to another issue.

Or revisit the placeholder images there?

Your call; you're the example designer.

How about just including holder.js then in those 2 examples?

Okay, also made the docs.min.js => holder.js change. Going to merge once Travis passes.


LMDB 1.5GB crash at Win32

making impossible to use Win32 wallet

Closed because 32 bit systems no longer supported


A11y_30days_Welcome to 30days of learning_Use of Color: Underline is not provided for the links present under “30Days of Learning” heading.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."
GitHub Tags:
#A11yTCS;#A11yMAS;#A11ySev3;#30days;#P3_30days_Dec22;#WCAG1.4.1;#DesktopWeb;#Win11;ChromiumEdge
Environment Details:
Application Name: 30days
#URL: https://microsoft.github.io/30daysof/
Windows Version: Win11
Chromium Edge Version: 110.0.1556.0 (Official build) dev (64-bit)
Repro Steps:

Hit the URL: https://microsoft.github.io/30daysof/
“30Days of Learning” page will open.
Tab to links present under “30Days of Learning” heading.
Observe that the underline is not provided for the links.

Actual:
Underline is not provided for the links present under “#30Days of Learning” heading.
Note: This issue is observed with all the links present in the page.
Expected:
Underlines should be provided for the links present under “#30Days of Learning” heading.
User Impact:
Low vision users will not be able to differentiate between normal text and link.
Attachment:

@Ashutoshsahoo164 can you verify if issue is resolved?

Hi @nitya The bug is still reproducing . I have verified in this URL : https://microsoft.github.io/30daysof/

As the Site is now not be published , closing this bug.


Data layer block(s) failed hash validation error when extracting NCA3 Meta files

I'm getting an error that says [pie::hac::HierarchicalIntegrityStream ERROR] Data layer block(s) failed hash validation when extracting files of the following type:
[NCA Header]
  Format Type:     NCA3
  Dist. Type:      Download
  Content Type:    Meta
  Key Generation:  11
  Sig. Generation: 0
  Kaek Index:      Application (0)
  Size:            0xdfe00
  ProgID:          0x010096f00ff22000
  Content Index:   0
  SdkAddon Ver.:   9.6.0 (v151388160)

[ContentArchive/Tree]
 meta:/
  0/
   control.nacp
   icon_AmericanEnglish.dat
   icon_BritishEnglish.dat
   icon_CanadianFrench.dat
   icon_French.dat
   icon_German.dat
   icon_Italian.dat
   icon_Japanese.dat
   icon_LatinAmericanSpanish.dat
   icon_Spanish.dat

Inspecting the files, they all look correct aside from the last one -  icon_Spanish.dat in this case. It's an icon of the game/Title ID but part of it is cut off. The other icons render fine when opened up in an image editor. So it looks like for whatever reason, the length of the last file is calculated wrong when extracted. I'm not sure if it's related to the error message I received above but my guess is that it is.
FYI - I tried extracting other files of this type and same thing - the last icon in the set is cut off.
Let me know if you need me to upload any files. This is the command I used to extract:
./nstool -k prod.keys -x ./nacp/ 010096f00ff22000.bin

Interesting, it looks like NSTool isn't reading the hash table properly. Thank you for reporting this. If you're offering to upload sample data, that would help. You can email it to<EMAIL_ADDRESS>

I am getting the same error on a different file (the content type is Control) but it happens after extracting a few files

@jakcron here is 2 samples
NCA3-hash-failed.zip

Thank you all, the issue was identified by @sagumamugas. There was an issue where reading a partial end block resulted in uninitialised data being included in hash generation.
This should be fixed in the next release.

@relm @Heath123 @martinlindhe Thank you for your patience.
Please try NSTool v1.7.0 (https://github.com/jakcron/nstool/releases/tag/v1.7.0-r2)


default pwd for homebridge user in terminal on linux?

I've searched the web every way I can think of, and I can't find any mention of the default password for the user "homebridge" created by the Linux installer. I see many references to working with the "pi" user but as I'm not installing on a rPi, that doesn't apply to me.
I need the default login credentials for the homebridge account in the terminal of the Homebridge UI in order to install homebridge-playstation v1.3.0
Thanks!

Please ignore this.


add CI tests for every supplied input file

Currently we only test the most complete 28Si input file provided with realizeCascades. We should probably test every provided input file.

I got this started, but I think we might have to resolve #73 before I can finish this one. I'm having issues generating checksums for travis to check these levelfiles:
cross_sections_and_abundance.txt
cross_sections_and_abundance_and_scaling.txt
v3_cross_sections_and_abundance.txt
v3_cross_sections_and_abundance_scaling.txt
Because of memory-related issues - either segmentation violations (see https://app.travis-ci.com/github/villano-lab/nrCascadeSim/jobs/554122783#L6353) or "stack smashing" (see https://app.travis-ci.com/github/villano-lab/nrCascadeSim/jobs/554122787#L7551), depending on the build. I can't replicate the issue locally.

@gerudo7 I think we should only test these files:
Si28_ngam_all_cascades_rfmt_sorted.txt
20ne_ngam.txt
allge_ngam_WFast.txt
allge_ngam_WSlow.txt
40ar_ngam.txt
v3_natSi.txt
The other ones we can move into a directory in that folder that is like "under-development"


feat: direct litellm integration

Resolves #861
TODO:

[x] Remove Ollama dependency
[x] LiteLLM Config UI
[x] Doc/Changelog

Changelog Entry
Added

Open WebUI now has LiteLLM built-in.

Fixed
N/A
Changed

Ollama is no longer required to run Open WebUI.

Removed
N/A

Woohoo! So glad to see this coming so soon! I think this could be a huge boon to the project, being able to integrate ANY API.

🙏🙏🙏👏💯

Just a thank-you, this was a huge addition.

FYI, LiteLLM direct integration will be removed at some point.

FYI, LiteLLM direct integration will be removed at some point.

Hopefully in favour of indirect support.


Improve info about virtlet installation validation

This change is

Review status: 0 of 3 files reviewed at latest revision, 7 unresolved discussions.

deploy/real-cluster.md, line 80 at r1 (raw file):

Escape character is ^]

### Validation of ssh access to pod

Verifying ssh access to a VM pod

deploy/real-cluster.md, line 97 at r1 (raw file):

Validation of pod access to cluster services

Verifying accessing services from a VM pod

deploy/real-cluster.md, line 101 at r1 (raw file):

After connecting to VM using one of above method you can validate VM access to
cluster services. Use below command to display an IP address of kubernetes
api service:

After connecting to the VM using one of the above methods you can check access from the VM to cluster services. To check DNS resolution of cluster services, use the following command:

deploy/real-cluster.md, line 107 at r1 (raw file):

Use below command to try to access this service:

The following command may be used to check service connectivity (note that it'll give you an authentication error):

deploy/real-cluster.md, line 113 at r1 (raw file):

Using the same method you can verify access to any service from internet, e.x.:

You can also verify Internet access from the VM:

deploy/real-cluster.md, line 116 at r1 (raw file):

curl -k https://google.com

Also add ping -c 1 <IP_ADDRESS>

deploy/real-cluster.md, line 117 at r1 (raw file):

curl -k https://google.com

If you have Kubernetes Dashboard installed (it's present in kubeadm-dind-cluster installations for example), you can check dashboard access using this command:
curl http://kubernetes-dashboard.kube-system.svc.cluster.local

This should display some html from the dashboard's main page.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 7 unresolved discussions.

deploy/real-cluster.md, line 80 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
Verifying ssh access to a VM pod

Done.

deploy/real-cluster.md, line 101 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
After connecting to the VM using one of the above methods you can check access from the VM to cluster services. To check DNS resolution of cluster services, use the following command:

Done.

deploy/real-cluster.md, line 107 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
The following command may be used to check service connectivity (note that it'll give you an authentication error):

Done.

deploy/real-cluster.md, line 113 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
You can also verify Internet access from the VM:

Done.

deploy/real-cluster.md, line 116 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
Also add ping -c 1 <IP_ADDRESS>

Done.

deploy/real-cluster.md, line 117 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
If you have Kubernetes Dashboard installed (it's present in kubeadm-dind-cluster installations for example), you can check dashboard access using this command:
curl http://kubernetes-dashboard.kube-system.svc.cluster.local

This should display some html from the dashboard's main page.

Done.

Comments from Reviewable

Reviewed 1 of 3 files at r1.
Review status: 1 of 3 files reviewed at latest revision, 1 unresolved discussion.

deploy/real-cluster.md, line 55 at r2 (raw file):

## Testing the installation

### Validation of basic pod starting

Sorry, missed this one. Should be "Checking basic pod startup"

Comments from Reviewable

Reviewed 1 of 3 files at r1, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

deploy/real-cluster.md, line 97 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
Verifying accessing services from a VM pod

Done.

deploy/real-cluster.md, line 55 at r2 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
Sorry, missed this one. Should be "Checking basic pod startup"

Done.

Comments from Reviewable

Reviewed 1 of 3 files at r1, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Membership

@santisiri would it be possible to deploy the university urls in a way that only allows users that register with the respective university e-mail to vote? So you could only vote at ucberkeley.democracy.earth if you register with a @berkeley.edu e-mail.
This would enable all kinds of university pilots.

regarding univesity...we have this permissioned branch

Merged

ok, can we have that already working on the deployment of our new manual university jurisdictions?
yale.democracy.earth - #yale - only e-mails with @yale.edu can vote
ucberkeley.democracy.earth - #ucberkeley - only e-mails with @berkeley.edu can vote
uva.democracy.earth - #uva - only e-mails with @virginia.edu can vote
cornell.democracy.earth - #cornell only e-mails with @cornell.edu can vote
northwestern.democracy.earth - #northwestern only e-mails with @u.northwestern.edu can vote

We need to create independent instances for each university.
Regarding database we have 2 options:

create independent mongodb instances for each university (not shared database)
implement the concept of scope(~) and use shared database. The app will know if the user is available to vote in that scope ~yale, ~ucberkeley, ~uva, ~cornell, ~northwestern

Option 2 is long term approach feature.
Option 1 is good to get some analytics insights

@LucasIsasmendi does that mean that those users wouldn't be connected to vote.democracy.earth?

Option 2. they will be connected.


Add MLRun - MLOps orchestration framework

Added with single category for now, pending https://github.com/aporia-ai/mlops.toys/issues/15
Will satisfy: https://github.com/aporia-ai/mlops.toys/issues/9
Also left in some minor formatting fixes - eliminating trailing spaces and such. IMO harmless - but if needed will revert

Hey @omesser ,
The branch is conflicting, can you rebase?

Closes #9

@SnirShechter  done :)


Better Parsing of URL parameters

URL parameters are parsed in a wrong way sometimes. I experienced this problem with some URLs, for example 3sat and some youtube playlists.
http://www.3sat.de/mediathek/?mode=play&obj=48376
outputs "Unsupported URL: http://www.3sat.de/mediathek/?mode=play"
http://www.3sat.de/mediathek/?obj=48376
works
It seems like the URL is parsed with a (too) simple Regex. The URL parser should get the parameters by name, not by position or order.

https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command


Don't double localize blocks in docs pages

Fix for https://github.com/microsoft/pxt-microbit/issues/3358
Marking as draft because I haven't had a chance to test this yet. Docs localization is currently not working on localhost.

(fix for local serve you can test it here: https://github.com/microsoft/pxt/pull/8255)


Optimization: Remove repetitive use of darkTitle prop and instead use ternary conditional to render appropriate title

In the MainCard.js component linked here, the darkTitle prop is used to determine whether to use a Typography component with the variant of "h3" or not. The code checks the value of the darkTitle prop and, if it is true, it renders a Typography component with the variant of "h3", otherwise, it renders the title prop as is.
Instead of having repeated checks for darkTitle, we can use a ternary operator to check the value of darkTitle and conditionally render the title prop with or without the Typography component. This makes the code simpler and more readable.
Current code:

After optimizing:

Pull request for the suggested optimization: https://github.com/codedthemes/berry-free-react-admin-template/pull/52


use hash_hasher in hashmaps/sets where the key is a Cid/Multihash

Since Cids are already cryptographic-hash-based objects, it makes sense not to do too much extra work hashing them again when used as HashMap/HashSet keys; the hash_hasher crate could be used to improve the performance.

hash_hasher truncates to least significant (last) 8 bytes: https://docs.rs/hash_hasher/2.0.3/src/hash_hasher/lib.rs.html#87-89
I initially thought using seahash would be fast way to fold the hashes with minimal mixing but can't think of a way this would be worse for cryptographic hashes.

Isn't it what SipHasher (the default HashMap hasher) essentially does too? In the end you can only have a u64 key: https://doc.rust-lang.org/src/core/hash/sip.rs.html#258-295.

Isn't it what

If by it you mean taking the last 8 bytes of a byte slice, I think SipHasher(s) process all of the input and have a multiround mixing, by the looks of it.
If the comparison was to seahash, both seahash and Siphash seem to process all of the input, but seahash has a simpler mixing, I guess.
I think None of the mixing is needed

Adding the tags, this shouldn't be a too difficult refactoring to try. We do not however have a benchmark which could show that one way is better than the other. Perhaps running manually hyperfine against fetch_and_cat example might work?
Perhaps we should have these in some ipfs::util for a while:

CidHashSet, MultihashHashSet
CidHasMap, MultihashMap

If they seem good, we should propose to move them into cid and multihash crates. Though, might not be a good idea to start doing much work against the bounds with these, just try to use them where we now have Hash(Set|Map)<\S*Cid. Hmm, seems that we only have those in the src/repo/mem.rs. Oh, well... It should be enough to see if this would be useful though.


Add Blog

Is your feature request related to a problem? Please describe.
I want to Add Blog in blog section and I have a great blog of dog and I really want to add it on this website
Describe the solution you'd like
I will Add blog which are showing as cards and all details in same format as other blogs

Assign it to me


Terminal frozen when stopping the server process

Description of the problem
Since the nodeJS 17 update (tested and doesn't happen on release) when you stop the server via CTRL + C the terminal is frozen and you have to kill the terminal.
Reproduction steps
start an alt:V server in a terminal and stop the server process with CTRL + C
Expected behaviour

Additional context
No response
Operating system
Windows 10
Version
dev/10.0-dev7
Scope
server

https://github.com/altmp/altv-js-module/blob/b5a6d314b3a0d8e940e5ee147a4cec3520d1ce1c/server/src/CNodeResourceImpl.cpp#L94

Doesn't happen anymore, I think it was just a random issue


createconfig: missing p2p keys usage and creation

Created config:
...
keys:
  ethauth:
    privatekey: /Users/vedhavyas/datadir/test/ethauth.key.pem
    publickey: /Users/vedhavyas/datadir/test/ethauth.pub.pem
  p2p:
    privatekey: /Users/vedhavyas/datadir/test/p2p.key.pem
    publickey: /Users/vedhavyas/datadir/test/p2p.pub.pem
  signing:
    privatekey: /Users/vedhavyas/datadir/test/signing.key.pem
    publickey: /Users/vedhavyas/datadir/test/signing.pub.pem
...

but the p2p.*.pem keys are not created.
Solution:
Seems like we are not using p2p keys anymore but rather using signing keys.  So, we either remove p2p keys from the node and let the libp2p create keys or we create p2p keys during the createconfig and use them for basic host.
I'm leaning towards first one

done


Minimal version check critical error

Since the version v0.4.10, the java-ipfs-api library is no longer usable.
In cause the following code :
       try {
            String ipfsVersion = version();
            String[] parts = ipfsVersion.split("\\.");
            String[] minParts = MIN_VERSION.split("\\.");
            if (parts[0].compareTo(minParts[0]) < 0
                    || parts[1].compareTo(minParts[1]) < 0
                    || parts[2].compareTo(minParts[2]) < 0)
                throw new IllegalStateException("You need to use a more recent version of IPFS! >= " + MIN_VERSION);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }

See pull request : ipfs/java-ipfs-api#29
The library is not compatible with version v0.4.10 while this issue is not fixed.

This was fixed by Commit cf5a152cb67cdf6caa665d41b9d5ac8fcfbded84


Could not fetch data from API / Cannot read property 'value' of undefined

Just installed this and configured with username/pass of my withings dashboard, verified it is correct by logging in myself. The mac address is copy-pasted from the UI so it's fine to.
But I am getting this error on startup:
Could not fetch data from API / Cannot read property 'value' of undefined

I am guessing it is one of these:
https://github.com/dhayab/homebridge-withings-air-quality/blob/24a6040a431f69b3e42f6f36b0543b443010b74d/src/lib/api.ts#L161
https://github.com/dhayab/homebridge-withings-air-quality/blob/24a6040a431f69b3e42f6f36b0543b443010b74d/src/lib/api.ts#L165
Any chance you can advise on what to do? Or any possibility to enable some kind of debug mode which prints the calls?

same problem here

I have the same issue. It does work with my Smart Body Analyzer but it does not work with my Body cardio.

Hi, this plugin only works with the Smart Body Analyzer, as I believe it's the only smart scale in the Withings lineup that provides carbon dioxide levels.


iterator performance

Currently for-in statement is implemented by unpacking it into regular for statement and a hidden value :it (here). It works correctly, but, one problem with this approach is that we do lots of type assertions (to Iterator) during the iterations: OpIteratorNext, OpIteratorKey, OpIteratorValue. We can improve the running performance by either implementing for-in statement completely differently, or, somehow removing Iterator type assertions. (We may be able to merge Iterable interface to Object, but, it doesn't feel quite right to merge Iterator and Object interface.)

I have a idea that implementing for-in using a Iterator Stack. It allows us only type assert to Iterator in OpIteratorInit and remove the hidden value:it.


Implement an SQLite cache

Use a cache for:

Faster startup times
Keeping a proper index of ids to show
Simplify filtering/sorting by merely using SQL

I'm currently working on this, and re-writing the whole model backend, so I'd suggest not doing intensive works in those areas in the meantime.

I think it's a bad idea to expose SQL queries.

I think it's a bad idea to expose SQL queries.

They will only be used internally. The sorting command and all the cli commands in general will remain the same.

I had to dump all this, since I'd not considered recurring events. The rewrite will have to take this into consideration.

We now have two caches:

A JSON object that maps ids to filenames
A pickled dict that caches all .ics files

Can we close this issue?

We now have two caches:

A JSON object that maps ids to filenames
A pickled dict that caches all .ics files

Can we close this issue?

The idea behind this is to cache all these fields in a small sqlite db, and simply use SQL to filter (not exposing this to the user, of course).  This makes the code on #68 a lot friendlier.
Since we only use these fields in list(), we don't even need to read files themselves (except out-of-date cache) except when edition/viewing a single todo.
Also, it means that we can keep ids valid for much longer times (since we can persist them there too). I'd eventually re-compute them on flush().

Persisting IDs may be a bit annoying because those will eventually become larger, and therefore be harder to type.


Ends Session / Logs Out in Xubuntu 16.04

OS:
xubuntu 16.04 LTS in a Gnome Fall Back Environment
Issue Descriptions:
Will play the initial 3-7 seconds of a song, and then randomly terminate the session and bring me back to the lightdm log in screen.
Steps to Reproduce:

Have you tried using --disable-gpu? I'm thinking maybe it's causing a crash?

Yaeh, it didn't seem to make it better. Actually it might even have
rendered even more unstable
ᐧ
PS. Have you read my recent articles on the Thought Leadershift
https://medium.com/@karpantschof/the-thought-leadershift-567088fb6a22 or the
Community Logic Tree
https://medium.com/@karpantschof/the-community-logic-tree-c64a00d321c0?
*Mail<EMAIL_ADDRESS>Cell +1<PHONE_NUMBER>
*About *About.me/Karpantschof http://about.me/Karpantschof
*Timezone *Eastern Standard Time/EST (UTC-4)

On Sat, Jun 4, 2016 at 7:35 PM, Jesse Ostrander<EMAIL_ADDRESS>wrote:

Have you tried using --disable-gpu? I'm thinking maybe it's causing a
crash?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1146#issuecomment-223784252,
or mute the thread
https://github.com/notifications/unsubscribe/AGp7v6Qc78JFlO2ZoC4Ze3s8wZjzFwqDks5qIgvegaJpZM4It6RP
.

Can you provide any kind of system logs? Kind of hard to reproduce this without mimicking your exact setup, and I have a ton of VM's already for different distros.

@karpantschof Can you please provide the logs and details @jostrander requested

This is interesting. It was Gnome that kept crashing the session, and
started also doing it without the Player running. Using KDE I don't have
issues. However, I tried removing the Player and Gnome started running
stable again. How very odd.
Screw it, I'm using KDE now. Can't live without the Player anymore!
ᐧ
PS. Have you read my recent articles on the Thought Leadershift
https://medium.com/@karpantschof/the-thought-leadershift-567088fb6a22 or the
Community Logic Tree
https://medium.com/@karpantschof/the-community-logic-tree-c64a00d321c0?
*Mail<EMAIL_ADDRESS>Cell +1<PHONE_NUMBER>
*About *About.me/Karpantschof http://about.me/Karpantschof
*Timezone *Eastern Standard Time/EST (UTC-4)

On Wed, Jun 8, 2016 at 10:17 PM, Samuel Attard<EMAIL_ADDRESS>wrote:

@karpantschof https://github.com/karpantschof Can you please provide
the logs and details @jostrander https://github.com/jostrander requested
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1146#issuecomment-224784289,
or mute the thread
https://github.com/notifications/unsubscribe/AGp7vysXWCTa0L4SoeIpg3qzazJfy_FEks5qJ3e_gaJpZM4It6RP
.

Strange.  Sounds like one of this "I clicked undo then redo and now it works" tricks :laughing:
Glad to hear you got it working

This could be related to dbus/mpris? It's the only thing I can think of that's gnome specific. If you have a chance and are interested in still running gnome send me the logs and I'll take a look and see if there's anything I can do to fix it, either in the player or on your machine.

actually just killed gnome entirely :-/
ᐧ
PS. Have you read my recent articles on the Thought Leadershift
https://medium.com/@karpantschof/the-thought-leadershift-567088fb6a22 or the
Community Logic Tree
https://medium.com/@karpantschof/the-community-logic-tree-c64a00d321c0?
*Mail<EMAIL_ADDRESS>Cell +1<PHONE_NUMBER>
*About *About.me/Karpantschof http://about.me/Karpantschof
*Timezone *Eastern Standard Time/EST (UTC-4)

On Thu, Jun 9, 2016 at 10:41 AM, Jesse Ostrander<EMAIL_ADDRESS>wrote:

This could be related to dbus/mpris? It's the only thing I can think of
that's gnome specific. If you have a chance and are interested in still
running gnome send me the logs and I'll take a look and see if there's
anything I can do to fix it, either in the player or on your machine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1146#issuecomment-224916312,
or mute the thread
https://github.com/notifications/unsubscribe/AGp7v14KAyEJp9KEquDRiR8q--r1d856ks5qKCYkgaJpZM4It6RP
.


Error resolving module specifier “.prisma/client/index-browser”.

Describe the bug
I have the following error message in my browser upon using sveltekit (adaptor-node) and the command  "npm run preview":
Uncaught TypeError: Error resolving module specifier “.prisma/client/index-browser”. Relative module specifiers must start with “./”, “../” or “/”.
It references a piece of code that was compiled with "npm run build" in localhost:3000/_app/start-b07b1607.js:
...s-d1fb5791.js";import".prisma/client/index-browser";let Be="",et="";function ...
However, it is unclear why this piece of code was inserted by npm run build. Is there a way to remove it?
Reproduction
I have tried reproducing this error with using older versions of Prisma, the adaptor and Svelte, switching from pnpm to npm, but nothing helps. I have a MWE repository that comes close to reproducing the error but doesn't actually reproduce it at https://github.com/wvhulle/prisma-sveltekit-bug-report.
Logs
`Uncaught TypeError: Error resolving module specifier “.prisma/client/index-browser”. Relative module specifiers must start with “./”, “../” or “/”.`

System Info
System:
    OS: Linux 5.14 Linux Mint 20.3 (Una)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
    Memory: 4.41 GB / 15.37 GB
    Container: Yes
    Shell: 3.4.0 - /usr/bin/fish
  Binaries:
    Node: 17.8.0 - /usr/bin/node
    npm: 8.5.5 - /usr/bin/npm
  Browsers:
    Chromium: 99.0.4844.82
    Firefox: 98.0.2
  npmPackages:
    @sveltejs/adapter-node: next => 1.0.0-next.73
    @sveltejs/kit: next => 1.0.0-next.303
    svelte: ^3.46.4 => 3.46.4

Severity
blocking all usage of SvelteKit
Additional Information
No response

What does "comes close" mean? We'll need a reproduction of what you're seeing in order to investigate anything.

I understand, I am still trying to reproduce in the MWE what I am seeing in the actualy build.

Okay I found it, there is a problem when you are using Prisma and import an enum type.
The code that was the problem was not in the MWE, but was contained in the fragment
import { Configuration } from '@prisma/client';
export function toObject(formData) {
	// console.log("formData", formData)
	const object: any = {};
	formData.forEach((value, key) => {
		console.log(`key: ${key}, value: ${value}`);
		if (value === "series") {
			object[key] = Configuration["series"]
		} else if (value === "parallel") {
			object[key] = Configuration["parallel"]
		} else if (!isNaN(Number(value)) && Number(value) !== undefined) {
			object[key] = Number(value)
		} else if (value !== "undefined" && value !== undefined && value !== "") {
			object[key] = value
		}
	}
	);
	return object
}

and more specifically  import { Configuration } from '@prisma/client';.

Closing as there's nothing we can do here - vite doesn't support enums, because esbuild doesn't. Libraries generally shouldn't be distributing code with enums IMHO

.prisma is a generated dir, and index-browser is a js file.
index-browser doesn't have real enums in it, just have objects mapping the enums.
the problem is .prisma is not being included on build
And on build we get this warning or message:transforming (25<EMAIL_ADDRESS>is imported by .prisma/client/index-browser?commonjs-external, but could not be resolved – treating it as an external dependency
perhaps its a rollup issue?
not sure how to fix it.

this is not an enum issue, node_modules/.prisma contains generated js files. index.js and index-browser.js doesn't have real enums, they only have objects mapping the enums.
My not too elegant solution: https://github.com/prisma/prisma/issues/12504#issuecomment-1136126199

Uncaught TypeError: Failed to resolve module specifier "@prisma/client". Relative references must start with either "/", "./", or "../".


Overspending balance

I used the faucet to get 2,000 DOGE, then sent 4 tips of 1,999. The bot replied that it tipped, but none of the transactions show up on the chain.
Tip 1: https://www.reddit.com/r/dogecoin/comments/6a8k34/new_tipbot_running_on_testnet_help_us_test_and/dhdvlf1/
Tip 2: https://www.reddit.com/r/dogecoin/comments/6a8k34/new_tipbot_running_on_testnet_help_us_test_and/dhdvsvc/
Tip 3: https://www.reddit.com/r/dogecoin/comments/6a8k34/new_tipbot_running_on_testnet_help_us_test_and/dhdvsym/
Tip 4: https://www.reddit.com/r/dogecoin/comments/6a8k34/new_tipbot_running_on_testnet_help_us_test_and/dhdw0az/
Dogechain showing my transactions: https://chain.so/address/DOGETEST/ndvBrYrYqcqxgUVH3nYL3zSvq6iav9jTZ2

Thanks for the feedback, I think #8 should fix this

no transactions have been sent, we need to update bot to check transaction have been send before replied that it tipped


Properly enforce PS3+ prerequisite.

If an unsupported version of PowerShell is used (version 2) then the script will write to the host indicating that the version is not supported and exit.  Since the script will not go past initialization with PS2, I have removed the PS edge cases from the recommendation section and applocker policy.
Closes #205

The "PowershellVersion" specification in PISYSAUDIT.psd1 prevents Powershell versions earlier than 3.0 from importing the module at all, so we shouldn't need any logic to check for PSVersion>=3 with regards to the machine running the script. However, since we don't know the version of Powershell on the remote machines we check, it will be a good idea to leave the check for PSVersionTable in the scriptblocks to be sent to other machines, such as the check in AU10004.


Update preprocess.jl to fix the slow diagonal scaling

Fixes #118
The reason for this comes from the fact that Diagonal(.) * matrix creates a dense matrix. This is fixed by using sparse(Diagonal(.)).

[ Yes] Tests pass
[ ] Appropriate changes to README are included in PR

These are overkill and inefficient. The problem is not that Diagonal * Sparse = Dense, but rather the special case of Diagonal * Sparse * Diagonal. Merely putting ()s around the two occurrences of that expression (i.e., (Diagonal * Sparse) * Diagonal) solves the problem, and doesn't introduce the inefficiency of converting a diagonal matrix to a sparse one.

Ok. I just pushed with (Diagonal * Sparse) * Diagonal. This was quite unexpected to me when I first saw the issue.

On Nov 3, 2023, at 2:11 PM, David Applegate @.***> wrote:
These are overkill and inefficient. The problem is not that Diagonal * Sparse = Dense, but rather the special case of Diagonal * Sparse * Diagonal. Merely putting ()s around the two occurrences of that expression (i.e., (Diagonal * Sparse) * Diagonal) solves the problem, and doesn't introduce the inefficiency of converting a diagonal matrix to a sparse one.
—
Reply to this email directly, view it on GitHub https://github.com/google-research/FirstOrderLp.jl/pull/119#issuecomment-1792966855, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJGFZSLIRLUS5R6RRP25GLYCU6W3AVCNFSM6AAAAAA64TF2A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHE3DMOBVGU.
You are receiving this because you authored the thread.

I agree. It was so unexpected I spent some time digging into it, which is how I discovered that it was (somehow) the 3-way product rather than just Diagonal * Sparse.
I see that the Format check failed. I suspect that's because the ()s change the indentation so the julia formatter needs to be rerun.

I reran the formatter and just pushed it. PTAL.
It is unclear to me what the benefits of making the 3-way product differ from the one with parenthesis are...

On Nov 3, 2023, at 3:21 PM, David Applegate @.***> wrote:
I agree. It was so unexpected I spent some time digging into it, which is how I discovered that it was (somehow) the 3-way product rather than just Diagonal * Sparse.
I see that the Format check failed. I suspect that's because the ()s change the indentation so the julia formatter needs to be rerun.
—
Reply to this email directly, view it on GitHub https://github.com/google-research/FirstOrderLp.jl/pull/119#issuecomment-1793048170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJGFZXAN6V7MKG645ZHKHDYCVG4FAVCNFSM6AAAAAA64TF2A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGA2DQMJXGA.
You are receiving this because you authored the thread.

It seems like a bug in Julia's diagonal or sparse matrix to me. My guess is that somehow with D * S * D they're forming an intermediate expression so that they can fold the operations together, or perhaps just choose (D * S) * D or D * (S * D) based on dimensions. But that intermediate expression doesn't understand SparseMatrix so it does the dense operation. Explicitly putting in the ()s forces it to resolve that intermediate expression so it does two Sparse * Diagonal operations instead.


MeeusSunMoon.options

MeeusSunMoon.options in README.md should be changed to MeeusSunMoon.settings.
Or vice versa :-)

You're right, thanks! :-)
Fixed


Chore: Update workflow to use assumed role

Updating the shared workflows to use v2 of the shared build-push-ecr and deploy-ecs actions. These updated actions assume an IAM role instead of relying on long-lasting AWS keys for an IAM user.
This PR also updates the on prem deploy workflow to configure AWS credentials and no longer use access keys. I did leave the default region as part of the on prem workflow, as it's used in one of the deploy commands.
I'll cut a v2 workflow tag from this branch and begin work to update repos to v2 of this workflow.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1205570959197530

Make sure you update the v2 release to point at https://github.com/mbta/workflows/pull/17/commits/bde3b8291319be40d69dfa5d7903125bb0233cad instead of https://github.com/mbta/workflows/commit/360fa84bbc4e7c55b3fe7e53f2b1570ac391889d.


DB cleanup

While writing up some DB schema info I realized we have some cleanup to do:
Be sure to update the wiki doc after these changes have been made!
Remove the following columns (once confirmed that they are no longer used):

answers.label_id
identifier_schemes.logo_url - logos are stored in the assets/images dir
RENAME orgs.feedback_email_msg to orgs.feedback_msg - Its no longer emailed!
orgs.feedback_email_subject - This is no longer an email the message is displayed on the page
orgs.is_other - Replaced by the managed flag and ROR API functionality
orgs.sort_name
plans.data_contact These are now stored in contributors
plans.data_contact_phone
plans.data_contact_email
plans.grant_number- This is now recorded via thegrant_id` fkey
plans.funder_name - This is now a recorded via the funder_id fkey
plans.principal_investigator - These are now stored in contributors
plans.principal_investigator_identifier
plans.principal_investigator_phone
plans.principal_investigator_email
research_outputs.coverage_region - Not going to be necessary
research_outputs.coverage_start - Not going to be necessary
research_outputs.coverage_end - Not going to be necessary
research_outputs.mandatory_attribution - Not going to be necessary
research_outputs.mime_type_id - Not going to be necessary
users.other_organization - Replaced by actual Orgs

Drop the following tables:

mime_types - It was meant for the ResearchOutputs functionality but is no longer necessary
org_identifiers - Those values are now stored in the identifiers polymorphic table
user_identifiers - Those values are now stored in the identifiers polymorphic table

Things to do after some research and refactor:

See if we need the settings table. It stores the font and margin settings a user specifies when exporting a plan. That info is carried through in the controller though and available there. There doesn't seem to be a need to store it.

meant for this to be in Roadmap, so closing this one


Add the limit to the analysis depth (Related to #88).

Limit depth analysys to relative paths which contains only 2 node_modules. This should be sufficient enough to capture
a) Capture API of the root package
b) Capture API of the dependencies. This is obiviously the must to analyze (1 node_modules)
c) Capture API of subdependencies (2 node_modules). This is also the must, since a lot of packages are wrapper/glue for another library. For example using gulp-typescript require that gulp-typescript should be parsed (level b) and typescript should be parsed (level c) since typescritp provide some config options for gulp-typescript.
Related to #88
#138 Added Medium level of Intellisense. This level now same as Full level, but limit analysis depth to the 2 nested modules depth. Full mode is now has limit to 4 modules depth which I almost sure practical enough, but could be increased if needed. Low level is analyse 1 level depth.

Hi @kant2002, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

I add the configuration option for the Middle level of Intellisense (#138). Right now analysis level not configurable, but if you think this would be valuable, I could put additional config option for that.

I'll take a look at this PR when I've had more sleep :smiley:. But lets make this configurable in the per-project setting as well - it shouldn't override the users general setting, but rather serve as an additional filter. This would enable users who are sharing a project to figure out good project-specific settings rather than relying on every single person on the team to use the same defaults. Because ultimately this is a project-specific perf issue.
For the sake of UI simplicity, Let's hold off on making it configurable from general project settings unless/until we start getting requests for it.

Left some comments, minor tweaks for the most part. @DinoV, it would be great to get your eyes on this as well.

Hey there, just checking in to see if you have any questions. It would be great to get this change into the next release. :smiley:

Hi, was side-tracked on the main work. Will take a look at the comments from @DinoV later today, or tomorrow

Yeah, no worries - it's totally okay to have a life outside NTVS :wink:. This feature is super impactful, though, so unlike cookie dough... the more bake time, the better.

This feature is super impactful, though

oh yes, we have a good amount of developers waiting... (the homebrew patch is fine but it would be so much nicer to get rid of it)
If I can assist, most happy to do so. Let me know.

Thanks all for waiting, I send additional changes which should address @DinoV comment that I don't place fix in the correct place.

Awesome, thanks! Added some more comments, so lgtm after that. DinoV and @objelke, feel free to jump in if you have any more comments.

Awesome, looks great! super nitpicky comment, but overall :+1:


install page selector logic broken

Description
Based on how the selector appears to be designed, you add multiple classes to a div and they will share the same content. It doesn't work when you get to the version level.
The following code should work to share common content:

Install instructions for both master and v1.3.0...
...

Then older versions see something else

It doesn't work. All of the versions get the top code block.
Then if you break it out and use:

This older version sees one thing

This older version sees a second thing

This older version sees a third thing

You get the same output for every version all at once:
This older version sees one thing
This older version sees a second thing
This older version sees a third thing

@mxnet-label-bot add [Doc]

New website launch makes this a moot issue.


[Question] Is Windows platform supported?

Hello, thanks for the awesome contribution.
I have a question about Windows platform. It's not listed as supported platform. And I wonder if it's not supported indeed (as Web SDK based solution).

Best Regards

Hi @AndreiMisiukevich
Thanks - not yet, though there are plans to add this platform support. twilio_voice requires my attention again, will look to add this in the next month or so, it's been on the bench for some time.
Will tag you when the platform support is available.

Thank you so much!

@cybex-dev  please check this issue for Android can't run the project and can't request permission any idea.  #231 ?


cob_gazebo_plugins: 0.7.4-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository cob_gazebo_plugins to 0.7.4-1:

upstream repository: https://github.com/ipa320/cob_gazebo_plugins.git
release repository: https://github.com/ipa320/cob_gazebo_plugins-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.9.3
previous version for package: 0.7.3-1

cob_gazebo_plugins

No changes

cob_gazebo_ros_control
* Merge pull request #41 <https://github.com/ipa320/cob_gazebo_plugins/issues/41> from fmessmer/ci_updates
  [travis] ci updates
* catkin_lint fixes
* Merge pull request #40 <https://github.com/ipa320/cob_gazebo_plugins/issues/40> from fmessmer/fix_warnings
  fix catkin_package DEPENDS warning
* fix catkin_package DEPENDS warning
* Contributors: Felix Messmer, fmessmer

Holding for sync


Force array for some sense::check params #801

Pull Request Checklist
Changed sensu::check define and relevant spec tests.
Description
This commit converts strings to arrays with a single element, when a String is used for the handlers, subscribers and aggregates parameters in sensu::check
This PR replaces  #803
Related Issue
Fixes #801
Motivation and Context
Syntax errors on check files when using strings on the given params.
How Has This Been Tested?
Tested on sensu-server vagrant vm and spec tests.
General

[x] Update README.md with any necessary configuration snippets

[x] New parameters are documented

[x] New parameters have tests

[x] Tests pass - bundle exec rake validate lint spec

@ghoneycutt this is finally a clean PR on #801 .
But I think we may reconsider the opportunity to throw a deprecation notice.
I see in the README (which would need update if we keep the current code) examples like this:
  sensu::check { 'check_ntp':
    command     => 'PATH=$PATH:/usr/lib/nagios/plugins check_ntp_time -H pool.ntp.org -w 30 -c 60',
    handlers    => 'default',
    subscribers => 'sensu-test'
  }

which means that a lot of existing code has strings where we expect an array.
I would just remove the deprecation notice, and convert string to array when needed.
That's probably the original intention.

@alvagante Good eye, I agree. Let's just silently convert to array for our implementation.

@ghoneycutt ready for merge

Thanks @alvagante
Released in v2.33.1


Revert "Use Runner API Encodings in the Fn API"

This reverts commit e2b5d6ea8a5d41ac27245a4999f59a73dfe24c43.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This is causing Dataflow breakages, and can be migrated at a later point.

Not quite an actual revert. Commit message update in progress
R: @lukecwik

LGTM modulo tests green

Coverage decreased (-0.007%) to 70.512% when pulling 334b3870b12c678f0902be319a003a9ed81eafb8 on tgroh:cloud_objects_in_harness into ade5cbea605b99ebb6e566491ec64e12fc1a663d on apache:master.

Coverage decreased (-0.003%) to 70.516% when pulling 334b3870b12c678f0902be319a003a9ed81eafb8 on tgroh:cloud_objects_in_harness into ade5cbea605b99ebb6e566491ec64e12fc1a663d on apache:master.

Was merged but forgot close #2894 to message.

Coverage increased (+0.009%) to 70.529% when pulling 334b3870b12c678f0902be319a003a9ed81eafb8 on tgroh:cloud_objects_in_harness into ade5cbea605b99ebb6e566491ec64e12fc1a663d on apache:master.


stratis-cli: 3.3.0 -> 3.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for stratis-cli is: "CLI for the Stratis project"
meta.homepage for stratis-cli is: "https://stratis-storage.github.io"
meta.changelog for stratis-cli is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 3.4.0 with grep in /nix/store/ikdxrxvdydvb8hsddcmwr606m62swzgg-stratis-cli-3.4.0
found 3.4.0 in filename of file in /nix/store/ikdxrxvdydvb8hsddcmwr606m62swzgg-stratis-cli-3.4.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
stratis-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ikdxrxvdydvb8hsddcmwr606m62swzgg-stratis-cli-3.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A stratis-cli https://github.com/r-ryantm/nixpkgs/archive/b4ea025538c66134df76f35a52ed9c575af2e17d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ikdxrxvdydvb8hsddcmwr606m62swzgg-stratis-cli-3.4.0
ls -la /nix/store/ikdxrxvdydvb8hsddcmwr606m62swzgg-stratis-cli-3.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

stratis-cli

Maintainer pings
cc @NickCao for testing.

part of https://github.com/NixOS/nixpkgs/pull/202619


The service type is load balancer andthe external-ip is always pending

Describe the bug
I deploy kube-vip by static pod in 3 master nodes. Then I deploy a service and set up the type LoadBalancer. But the external-ip is always pending.
To Reproduce
I get svc kubectl get svc:
NAME         TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)        AGE
kubernetes   ClusterIP      <IP_ADDRESS>     <none>        443/TCP        16h
nginx        LoadBalancer   <IP_ADDRESS>   <pending>     80:30453/TCP   13m

The log kubectl logs -n kube-system kube-vip-cloud-provider-0 -f is:
I0622 06:14:41.883720       1 loadBalancer.go:149] syncing service 'nginx' (3e8b8179-7c42-4b18-baf4-a084e0c15106)
I0622 06:14:41.883749       1 loadBalancer.go:229] No cidr config for namespace [default] exists in key [cidr-default] configmap [kubevip]
I0622 06:14:41.883757       1 loadBalancer.go:234] Taking address from [cidr-global] pool
I0622 06:14:41.883772       1 loadBalancer.go:190] Updating service [nginx], with load balancer IPAM address [<IP_ADDRESS>]
E0622 06:14:41.889473       1 controller.go:275] error processing service default/nginx (will retry): failed to ensure load balancer: Error updating Service Spec [nginx] : Operation cannot be fulfilled on services "nginx": the object has been modified; please apply your changes to the latest version and try again
I0622 06:14:41.889802       1 event.go:291] "Event occurred" object="default/nginx" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: Error updating Service Spec [nginx] : Operation cannot be fulfilled on services \"nginx\": the object has been modified; please apply your changes to the latest version and try again"
I0622 06:14:46.889745       1 event.go:291] "Event occurred" object="default/nginx" kind="Service" apiVersion="v1" type="Normal" reason="EnsuringLoadBalancer" message="Ensuring load balancer"
I0622 06:14:46.906133       1 loadBalancer.go:149] syncing service 'nginx' (3e8b8179-7c42-4b18-baf4-a084e0c15106)
I0622 06:14:46.906168       1 loadBalancer.go:229] No cidr config for namespace [default] exists in key [cidr-default] configmap [kubevip]
I0622 06:14:46.906175       1 loadBalancer.go:234] Taking address from [cidr-global] pool
I0622 06:14:46.906188       1 loadBalancer.go:190] Updating service [nginx], with load balancer IPAM address [<IP_ADDRESS>]
I0622 06:14:46.919746       1 event.go:291] "Event occurred" object="default/nginx" kind="Service" apiVersion="v1" type="Normal" reason="EnsuredLoadBalancer" message="Ensured load balancer"

The event kubectl describe svc nginx is:
Events:
  Type     Reason                  Age                From                Message
  ----     ------                  ----               ----                -------
  Warning  SyncLoadBalancerFailed  12m                service-controller  Error syncing load balancer: failed to ensure load balancer: Error updating Service Spec [nginx] : Operation cannot be fulfilled on services "nginx": the object has been modified; please apply your changes to the latest version and try again
  Normal   EnsuringLoadBalancer    12m (x2 over 12m)  service-controller  Ensuring load balancer
  Normal   LoadbalancerIP          12m                service-controller  -> <IP_ADDRESS>
  Normal   EnsuredLoadBalancer     12m                service-controller  Ensured load balance

Environment (please complete the following information):

OS/Distro: [e.g. Centos7.9]
Kubernetes Version: [e.g. v.1.20.4]
Kube-vip Version: [e.g. v0.3.5]

node1 <IP_ADDRESS> master
node1 <IP_ADDRESS> master
node1 <IP_ADDRESS> master
node1 <IP_ADDRESS> node
control-plone <IP_ADDRESS>
Kube-vip.yaml:
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: null
  name: kubevip
  namespace: kube-system
spec:
  containers:
  - args:
    - start
    env:
    - name: vip_arp
      value: "true"
    - name: vip_interface
      value: eth0
    - name: port
      value: "6443"
    - name: vip_cidr
      value: "32"
    - name: cp_enable
      value: "true"
    - name: cp_namespace
      value: kube-system
    - name: vip_ddns
      value: "false"
    - name: svc_enable
      value: "true"
    - name: vip_leaderelection
      value: "true"
    - name: vip_leaseduration
      value: "5"
    - name: vip_renewdeadline
      value: "3"
    - name: vip_retryperiod
      value: "1"
    - name: vip_address
      value: <IP_ADDRESS>
    image: plndr/kube-vip:v0.3.5
    imagePullPolicy: Always
    name: kubevip
    resources: {}
    securityContext:
      capabilities:
        add:
        - NET_ADMIN
        - NET_RAW
        - SYS_TIME
    volumeMounts:
    - mountPath: /etc/kubernetes/admin.conf
      name: kubeconfig
  hostNetwork: true
  volumes:
  - hostPath:
      path: /etc/kubernetes/admin.conf
    name: kubeconfig
status: {}

The configmap is:
apiVersion: v1
data:
  cidr-global: <IP_ADDRESS>/30
kind: ConfigMap
metadata:
  creationTimestamp: "2021-06-21T14:16:17Z"
  name: kubevip
  namespace: kube-system
  resourceVersion: "173124"
  uid: 90977376-5417-46af-88a1-c183841649cb

Additional context
Add any other context about the problem here.

Can you get the logs from Kube-vip pods? They are the ones that will set the actual status of the load balancer service.

ok, here is:
kubevip-node1:
time="2021-06-22T07:42:22Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:25Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:28Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:31Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:34Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:37Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:40Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"
time="2021-06-22T07:42:43Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (52:54:9e:92:33:59) via eth0"

kubevip-node2:
time="2021-06-21T14:11:41Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plndr-cp-lock], id [node2]"
I0621 14:11:41.619502       1 leaderelection.go:243] attempting to acquire leader lease  kube-system/plndr-cp-lock...
time="2021-06-21T14:11:41Z" level=info msg="Node [node1] is assuming leadership of the cluster"

For whatever reason it looks like it's not watching services. Can you restart kube-Vip to get the status/mode it has started in along with logs around the time a service is created.

I actually encountered this same bug a few days ago. @thebsdbox happy to sync up and replicate this to help troubleshoot.

Hmm, So this is the same as #225 .. The change to allow kube-vip to reclaim the addresses if it's on a suspended VM has introduced a race condition!

Thanks @shraderdm I need more logs as to why the kube-vip pods aren't watching the kubernetes services..

We need to check mostly kube-vip pod logs which can point specific issue of why its failing. Due to ARP messages, older logs have to be checked from the initial point.
I used below changes to overcome this case because I encountered missing roles.
And I'm currently on 1.19 k8s if that matters.
[atom@vinay140 ~]$ kubectl describe svc -n atom haproxy-service-gw-lb
Name:                     haproxy-service-gw-lb
Namespace:                atom
Labels:                   app.kubernetes.io/managed-by=Helm
Annotations:              meta.helm.sh/release-name: haproxy-gw
                          meta.helm.sh/release-namespace: atom
Selector:                 run=haproxy-ingress-gw
Type:                     LoadBalancer
IP:                       <IP_ADDRESS>
IP:                       <IP_ADDRESS>
Port:                     https  443/TCP
TargetPort:               443/TCP
NodePort:                 https  32065/TCP
Endpoints:                <IP_ADDRESS>:443
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
  Type     Reason                  Age                From                Message
  ----     ------                  ----               ----                -------
  Warning  SyncLoadBalancerFailed  47m                service-controller  Error syncing load balancer: failed to ensure load balancer: Error updating Service Spec [haproxy-service-gw-lb] : Operation cannot be fulfilled on services "haproxy-service-gw-lb": the object has been modified; please apply your changes to the latest version and try again
  Normal   EnsuringLoadBalancer    47m (x2 over 47m)  service-controller  Ensuring load balancer
  Normal   LoadbalancerIP          47m                service-controller  -> <IP_ADDRESS>
  Normal   EnsuredLoadBalancer     47m                service-controller  Ensured load balancer

But infact the pending issue was resolved by adding certain cluster roles because I did observe below logs
time="2021-07-14T07:43:32Z" level=info msg="Service [haproxy-service-gw-lb] has been addded/modified, it has an assigned external addresses [<IP_ADDRESS>]"
time="2021-07-14T07:43:32Z" level=debug msg="[STARTING] Service Sync"
time="2021-07-14T07:43:32Z" level=info msg="New VIP [<IP_ADDRESS>] for [haproxy-service-gw-lb/c72841de-c573-4933-950f-59245af1d338] "
time="2021-07-14T07:43:32Z" level=info msg="Starting advertising address [<IP_ADDRESS>] with kube-vip"
time="2021-07-14T07:43:33Z" level=info msg="Started Load Balancer and Virtual IP"
time="2021-07-14T07:43:33Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (00:50:56:8a:ef:9a) via ens160"
time="2021-07-14T07:43:33Z" level=error msg="Error updating Service [haproxy-service-gw-lb] Status: services \"haproxy-service-gw-lb\" is forbidden: User \"system:serviceaccount:kube-system:kube-vip\" cannot update resource \"services/status\" in API group \"\" in the namespace \"atom\""
time="2021-07-14T07:43:33Z" level=debug msg="[COMPLETE] Service Sync"

Here are my updated yaml files incase it helps
[atom@vinay140 scripts]$ cat kubevip.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kube-vip
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
  name: system:kube-vip-role
rules:
  - apiGroups: ["coordination.k8s.io"]
    resources: ["leases"]
    verbs: ["get", "create", "update", "list", "put"]
  - apiGroups: [""]
    resources: ["configmaps", "endpoints","events","services/status", "leases"]
    verbs: ["*"]
  - apiGroups: [""]
    resources: ["nodes", "services"]
    verbs: ["list","get","watch","update"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: system:kube-vip-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:kube-vip-role
subjects:
- kind: ServiceAccount
  name: kube-vip
  namespace: kube-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
  creationTimestamp: null
  labels:
    app: kube-vip
  name: kube-vip
  namespace: kube-system
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kube-vip
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: kube-vip
    spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
                - key: "app"
                  operator: In
                  values:
                  - kube-vip
            topologyKey: "kubernetes.io/hostname"
      containers:
      - image: plndr/kube-vip:v0.3.5
        imagePullPolicy: Always
        name: kube-vip
        command:
        - /kube-vip
        - service
        env:
          - name: vip_interface
            value: "ens160"
          - name: vip_arp
            value: "true"
          - name: vip_loglevel
            value: "5"
        resources: {}
        securityContext:
          capabilities:
            add:
            - NET_ADMIN
      hostNetwork: true
      serviceAccountName: kube-vip
status: {}

and respective cloud controller yaml is here
[atom@vinay140 scripts]$ cat kubevip-controller.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kube-vip-cloud-controller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
  name: system:kube-vip-cloud-controller-role
rules:
  - apiGroups: ["coordination.k8s.io"]
    resources: ["leases"]
    verbs: ["get", "create", "update", "list", "put"]
  - apiGroups: [""]
    resources: ["configmaps", "endpoints","events","services/status", "leases"]
    verbs: ["*"]
  - apiGroups: [""]
    resources: ["nodes", "services"]
    verbs: ["list","get","watch","update"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: system:kube-vip-cloud-controller-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:kube-vip-cloud-controller-role
subjects:
- kind: ServiceAccount
  name: kube-vip-cloud-controller
  namespace: kube-system
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: kube-vip-cloud-provider
  namespace: kube-system
spec:
  serviceName: kube-vip-cloud-provider
  podManagementPolicy: OrderedReady
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: kube-vip
      component: kube-vip-cloud-provider
  template:
    metadata:
      labels:
        app: kube-vip
        component: kube-vip-cloud-provider
    spec:
      containers:
      - command:
        - /kube-vip-cloud-provider
        - --leader-elect-resource-name=kube-vip-cloud-controller
        image: kubevip/kube-vip-cloud-provider:0.1
        name: kube-vip-cloud-provider
        imagePullPolicy: Always
        resources: {}
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      serviceAccountName: kube-vip-cloud-controller

Intentionally keeping the roles and sa seperately for now.
Not sure if this helps, sorry for long post.

Is there any further update on this?

i'm facing the same issue on 1.20. any updates here?


Network: add more default HTTP headers

Previously, the Cody IDE plugins sent a bit inconsistent HTTP headers making it difficult to identify Cody IDE plugins based on HTTP headers. For example, the VS Code extension didn't set User-Agent at all. Also, using the client-name query parameter on LLM completions wasn't reliable because Cody CLI and the Eclipse plugin use client-name=jetbrains to stay compatible with older Sourcegraph instances.
This PR addresses both issues by

Keeping backwards compatibility with how Cody CLI uses client-name=jetbrains in LLM chat completion endpoints
Consistently registering a User-Name header across the agent and VSC clients.
Registering correct X-Client-Name and X-Client-Version HTTP headers, which are separate from the query parameters.

Finally, the logic to register HTTP headers has now been consolidated into a single function so it's easier to extend in the future.
Test plan
I manually invalidated a few HTTP recordings to confirm that  the updated values are correct, both for Cody CLI and agent IDE plugins. In particular, notice:

Cody CLI still sends client-name=jetbrains query parameter
Cody CLI sends X-Client-Name: cody-cli

I manually ran the VSC extension locally and console.log confirmed that we're sending the new headers there as well.

Changelog

Hello, I don't want to block, but something is happening in this PR in Cody Web. Unfortunately, I don't see the problem that @olafurpg brought up today in Slack about Cody Web build and serve, but I tried this PR locally, and it seems it re-introduces the problem with the auth non-auth loop that we've seen before.

Ok, I looked in local build and it seems loom problem isn't a problem but just a symptom of CORS problem see comment here https://github.com/sourcegraph/cody/pull/5897/files#r1800270723


Pressing enter delays action by 1 key & input speed loses focus

I got it working and noticed that when I press enter it doesn't put my cursor on the next line until I press another key. This really throws me off.
Also typing really fast seems to mess up the editor and lose input focus. I was deleting a row of text and it stopped deleting and it was because I had to click on the editor again to re-focus. I tried just typing like I would normally code and it did the same thing. It seems you cannot type fast at all?
I'm testing on Firefox for both of these issues. Is there a potential fix?

Duplicate of #65 I think -- Seeing the same problem

Released new version v1 🎉


Check if the axis is zero / vectors are colinear in Vector3 slerp

This fixes a bug discovered by @akien-mga where the axis passed to rotated was zero and this broke the Basis from axis angle logic. Interestingly, the result was still correct before, it just also printed an error. This new code has unlikely wrapped around the new if statement so hopefully it won't be slower than it was before for common use cases.

Thanks!


Python __str__ method doesn't translate to go String() method

Describe the bug
Python classes have an __str__ method that defines how they are printed. Go structs have a String() method that does the same.
Python code example
print("Hello, World!")

class A:
  a = "huh?"

  def __init__(self, val):
    self.a = val

  def __str__(self):
    return self.a

val = A("ok")
print(val)

Current behavior
(relevant code):
func (self *A) __str__() {
	return self.a
}

Expected behavior
func (self *A) String() {
	return self.a
}

Cool idea! I'll get on it.

Added! Thanks so much for your suggestion, please share if you have any more!

Thanks for responding so fast! Amazing project!


Additional-fixes

updated reviews,
updated software product section
updated contact form image

updated software carousel,
added you might like section blogs,
updated review carousel,
fixed calendly modal


New Flashplayer JSON Decode Error

We have problems with the Flashplayer Version 11.9.900.152 the Json Decode doesnt work

I'm updated my library
https://github.com/blooddy/blooddy_crypto/releases


feat: realize release storage using backend

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

9 of 9 (100.0%)  changed or added relevant lines in 3 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.07%) to 54.727%

Files with Coverage Reduction
New Missed Lines
%

pkg/cmd/destroy/destroy.go
7
63.16%

pkg/backend/backend.go
8
56.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
8799

Relevant Lines:
16078

💛  - Coveralls


fix(FN-3460): fix numerical rounding errors during report upload

Introduction :pencil2:
WIP
Resolution :heavy_check_mark:
WIP
Miscellaneous :heavy_plus_sign:
WIP

Oopsies, meant to target prod - opened a new PR https://github.com/UK-Export-Finance/dtfs2/pull/3546


IPFS feature flag v2

Slightly better separation of the IPFS related code into a metadataHelpers.ts template, compared to #118.
Also fixed the IPFS node for the testnet. We're using ipfs.network.thegraph.com for both networks.

@juanmardefago Addressed your comments and tested building with and without the IPFS feature.

@Jannis yeah, sorry for the nitpick, I'll try to test the details on how object reference and scoping works on cases like this for the future. LGTM!


[Automation] Sun condition not working according to documentation

I'm running hassio 0.64.0
Component/platform:
Automation -> sun condition; as documented at https://home-assistant.io/docs/scripts/conditions/
Description of problem:
I'd like to define a condition based on sun, that returns true since sunrise, until 1h after sunset.
According to the truth table in the documentation page, I define a condition as "before sunset" with a positive "before_offset" of 1h.
However, this condition seems to return true before sunrise, and false after sunset, which disagrees with the documentation.
Further discussion about the issue is available on the community forum, where other members have confirmed the issue: https://community.home-assistant.io/t/help-with-sun-condition-in-automation/42680
I was unable to find the source code responsible for the sun condition, so I wasn't able to perform a preliminary code review.
Expected:
The condition should return true from sunset, until 1h after sunset, according to the truth table.
Problem-relevant configuration.yaml entries and steps to reproduce:
condition:
- before: sunset
  before_offset: '1:00:00'
  condition: sun

https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sun.py  is the location for the sun component

I also think something is off/strange.
In the documentation, https://www.home-assistant.io/docs/scripts/conditions/, it's hinted that this is how to check if the sun is up or down:
condition:
    condition: or  # 'when dark' condition: either after sunset or before sunrise
    conditions:
      - condition: sun
        after: sunset
      - condition: sun
        before: sunrise

This is in contradiction with the truth table below:

documentation has been updated for the sun component to better explain how the conditions operate.


[Event Request] Table 167 - Job - OnBeforeDeleteJobTasks

Dear ALAppExtensions team,
Through this issue we would like to request event publisher OnBeforeDeleteJobTasks be added to Table 167 - Job with the following signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteJobTasks(var Job: Record Job; var xJob: Record Job; var IsHandled: Boolean)
begin
end;

with VAR parameter Job.
which would be called as follows from OnDelete in Table 167 - Job:
trigger OnDelete()
var
    JobTask: Record "Job Task";
    IsHandled: Boolean;
begin
    MoveEntries.MoveJobEntries(Rec);

    OnBeforeDeleteJobTasks(Rec, xRec, IsHandled);
    if Not IsHandled then begin
       JobTask.SetCurrentKey("Job No.");
       JobTask.SetRange("Job No.", "No.");
       JobTask.DeleteAll(true);
    end;

    CommentLine.SetRange("Table Name", CommentLine."Table Name"::Job);
    CommentLine.SetRange("No.", "No.");
    CommentLine.DeleteAll();

    DimMgt.DeleteDefaultDim(DATABASE::Job, "No.");

    if "Project Manager" <> '' then
        RemoveFromMyJobs();
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Change page feedback

📝 Changed routes:

…]/[month]/[day]/[slug]
/categoria/[...slug]

(view full size)
(view full size)

/

(view full size)

Commit cc317ced3208bef176214fdc09c1b2138fca04c9 (https://ncol-next-7tew26gpc-miguelantekera.vercel.app).


getCurrentPosition throws CODE 1 error on iOS

When location request dialog pops up getCurrentPosition function throws following error almost immediately (after 2-3 seconds). BUT, if I allow app to use location quick enough, then no error is being thrown and onSuccess() callback executes correctly.
{
  code: 1,
  message: "User denied access"
}

Code:
Geolocation.getCurrentPosition(
      (pos) => {
        console.log('got position', pos);
      },
      (err) => {
        console.error('geo Error', err);
      },
      { enableHighAccuracy: false, timeout: 20000, maximumAge: 1000 },
    );

Happens both on simulator and physical device.
What is the cause?

I am facing the same issue. Is there any fix for this?

I am facing the same issue. Is there any fix for this?

Did anyone find a solution for this issue ? Im also facing the same.

Did anyone find a solution for this issue ? Im also facing the same.

Same issue for me, but change library
https://github.com/Agontuk/react-native-geolocation-service
// function
Geolocation.requestAuthorization('whenInUse')
.then((result) => {
if (result === 'granted') {
// success case
}
})
.catch((error) => console.log(error));
Is my solution

Any other workaround instead of install new npm package?

@pabichw try reducing timeout value in this
{ enableHighAccuracy: false, timeout: 20000, maximumAge: 1000 } this solved my problem

@pabichw Were you able to find a solution for this ?

@infazA No, it didn’t happen in my team mate’s builds so I decided to postpone this

This also happens to me too.

This is becoming a big problem for users. Has anyone resolved this?

A potential fix... I re-ran the function on the catch, and well - it worked

A potential fix... I re-ran the function on the catch, and well - it worked

How will you handle the error then. What if it fails again in the catch block. I don't think this a potential fix. Did you try increasing the timeout value { enableHighAccuracy: false, timeout: 20000, maximumAge: 1000 }, this solved my problem. I was facing same issue in iOS 14

A potential fix... I re-ran the function on the catch, and well - it worked

How will you handle the error then. What if it fails again in the catch block. I don't think this is a potential fix. Did you try increasing the timeout value { enableHighAccuracy: false, timeout: 20000, maximumAge: 1000 }, this solved my problem. I was facing the same issue in iOS 14

I did try this with a value of 200000, but still no luck. Whenever this was happening and I did a fast refresh it would work which is why I tried my solution. I don't even want to call it a solution because it's so quick and dirty but it's a hotfix (for now) to resolve this crash that's happening for many people. This package has not been updated in a while I'm wondering if it had anything to do with new IOS versions.

Same issue for me, but change library
https://github.com/Agontuk/react-native-geolocation-service
// function
Geolocation.requestAuthorization('whenInUse')
.then((result) => {
if (result === 'granted') {
// success case
}
})
.catch((error) => console.log(error));
Is my solution

I ended up going this route, works like a charm.

Any solition?

This also happens to me too.

Hi guys. I've created PR for this issue. https://github.com/react-native-geolocation/react-native-geolocation/pull/168
This happens on iOS 14+. Feel free to check it out and ping me here if you find any bugs.

Any update here?

Any solution?


Readme / Tutorial/ Sample code

Is there any readme / tutorial / sample code for how to use this library?
Any help from any devs would be great thanks.

how do I start a span from the context?


Misc: Can't Trigger an Automation once a User Is Active on their PC with the Template Provided in the HASS.Agent Docs

One of the examples from the Hass.Agent Docs didn't work.
An automation with this as a trigger never triggers for me:
alias: example
trigger:
- platform: template
  value_template: "{{ (now() - states('sensor.testvm_lastactive')|as_datetime).total_seconds() < 60 }}"
action:
   ... etc ...

Using the "User Active" sensor below as a trigger does however work.
template:
  - binary_sensor:
      - name: "User Active"
        state: "{{ as_timestamp(now(),0) - as_timestamp(states('sensor.staging_lastactive'),0) < 60 }}"

Core2024.6.1
Supervisor2024.06.0
Operating System12.3

I didn't realize I had to enter the name of my own LastActive sensor. As an experienced but casual HA user I mess stuff like this up occasionally and would've wished the docs to called the sensors sensor.NAME_OF_YOUR_LASTACTIVE_SENSOR.


python2.7-suds-jurko-0.6 broken by recent update of pluggy

python27Packages.suds-jurko fails its test suite in current versions of master and therefore no longer compiles. According to git bisect, the commit that broke the build is aad6f1ca903a82be5b0a5f0d267b3abd801834ef from @marsam:
commit aad6f1ca903a82be5b0a5f0d267b3abd801834ef
Author: Mario Rodas<EMAIL_ADDRESS>Date:   Fri May 24 20:00:00 2019 -0500

    pythonPackages.pluggy: 0.8.1 -> 0.11.0

python2.7-suds-jurko-0.6 is a dependency of python2.7-pytest-3.10.1, so this build failure breaks quite a few packages.

Well, now what?

Later today, I'm going to create a PR to drop pytest_3

Either attempt to use the current pytest, or disable tests altogether.


⚠ Processors has degraded performance

In e45bc07, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 48 ms

Resolved: Processors performance has improved in 02249d7.


Running Tests in Docker (on Mac) Fails with Cryptic Download Error

I am currently trying to run the Docker tests on my machine (a Mac).
Building the container succeeds, but then when it builds TensorFlow after ./configure, it fails with the following error:
ERROR: /workspace/tensorflow/tensorboard/bower/BUILD:5:1: no such package '@numericjs_numeric_min_js//file': Error downloading [https://cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js] to /Users/gibiansky/tensorflow/bazel-ci_build-cache/.cache/bazel/_bazel_gibiansky/eab0d61a99b6696edb3d2aff87b585e8/external/numericjs_numeric_min_js/numeric.min.js: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed and referenced by '//tensorflow/tensorboard/bower:bower'.

The error is quite consistent and from my machine I can wget that numeric.min.js URL.
Have you see this? What does java.security.cert.CertPathValidatorException even mean?
Thanks!

Ah, and by the way, it is always with numeric.min.js, it does not change which package it is if I invoke the ci_build.sh command multiple times.

My apologies, the issue was entirely on my end.
(For anyone who ends up on this thread: This is caused by the time inside the container being out of sync with the realtime. You can verify this by running date within the container and outside of the container; if they are significantly different, this is likely the cause of the error I mentioned above. Fix this by restarting the virtual machine running Docker. If you are using Docker for Mac, click on the little whale icon and then click "restart".)


test-suite-separated

Within this PR, unit tests and feature tests are separated.

Thank you for your commit. Unfortunately, after reviewing your PR I came to the conclusion that these test are too much for the scope of this package. I'd like to keep the tests as light as possible.


Test the duplicator with the new structure & docs files type + prevent usage for version < 2.1

What type of suggestions?
Unclear Documentation
What page is concerned?
No response
What is the issue?
Since we changed the docs structure (using partial and stuff like that) and file types (MDX with code instead of plain content with Markdown), the duplicator tool cannot be use anymore to add changes from the newer docs to 2.0. The tool should not offer options for docs under 2.1 as target.
We also need to do some testing to ensure it's still working properly.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Finally tried it, and it's working


upgrade to d-m-p 0.17.2

cool, thanks. Feel free to kick off a f-m-p release.
[merge]

lovely - release kicked off


[ICP]: Update ingress processing timeout

Description
Basically, the ingress expiry is a way for the IC to know an upper limit for a message validity. Basically, the message cannot be too far in the past, but it also cannot be too far in the future. The rosetta node code is checking for that validity, but it also as an expectation that you are using the full construction process. We obviously are not, so we need to use a slightly tighter bound because the local clock could be slightly ahead of the Rosetta node.
How to test
https://www.icpexplorer.org/#/tx/ff3ed0e20d3e6fc6d720ef871e4dfc3eedf47c1bf41a9f3a2024e68aac0c7b58

If we change the PERMITTED_DRIFT value, our existing tests will no longer be valid.
So we have the following options:

Change signatures for all unit tests and ignore the fact that the already broadcasted transactions do not belong to the changed signing inputs.
Update all unit tests by re-broadcasting every test transaction - the most time-consuming option.
Add an optional SigningInput::permitted_drift property - so if the value isn't set, use a default 60 seconds. Then all tests will use the default 60 seconds, but WalletKit will be able to use a higher value.

@ar-g what do you think?

Hi @ar-g, could you please run cargo fmt in the ./rust directory to fix the formatting?


Statically link with libgcc and libstdc++ for more Linux compatibility.

Fixes https://github.com/GodotVR/godot_openxr_vendors/issues/163
This will make the binary larger, but it'll allow the extension to be compatible with more Linux distros

To add a little more info about the binary size increase when compiled on my system:

Bulid
Before
After

debug
2.4M
3.7M

release
2.3M
3.7M

So, it's an increase of ~1.3M, which is pretty negligible on desktop.


Add gpu, somethings is happening on window !!!

src/gb/core/Gpu.cpp:51:15: warning: unused variable ‘sx’ [-Wunused-variable]
unsigned int sx = x % TILE_W;


Getting @jpomfret funky new tests into master and the gallery

Thank you @jpomfret  1.0.9 contains your new tests and is available on gallery - All from 36000 feet ;-)

Amazing! Thanks :)


Editor freezes when file got modified

have a largish file open (~1.5MB)
tab to another tools, e.g terminal and run a command the updates the file
tab back to VS Code and notice that its frozen for a minute

To the verifier:
Please also check the steps in #41184


[Java] Implement zstd based compressor for type metadata

Is your feature request related to a problem? Please describe.
In https://github.com/apache/incubator-fury/pull/1663, we add a MetaCompressor interface and deflater based implementation.
Zstd has better compression rate and can learn from train corpu, we should support using zstd as meta compressor
Describe the solution you'd like
Add a new java maven module, impement zstd based meta compressor.
Additional context
#1663

@chaokunyang
Hi, I would like to try this. But i have question first, do i need create new maven module for this? It looks like just add new Class in fury-core?

If we add a new class directly into fury-core, we must aovid introducing a new jar dependency. MethodHandle or reflection is feasible. If we don't use reflection, we may need to add a new maven module


LC_ALL: cannot change locale (en_US.UTF-8)

RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
error info:
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

solved already, ref:
https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian
notice:
dpkg-reconfigure locales should execute nointeractive

Can you please re-open this bug and fix the image? The instructions in the link don't work for me. Is there a strong case for non-standard configuration of the official image? Debian is UTF8 by default when installed normally.

it is not working for me as well.

The image includes Debian's default locales for a standard "minbase" install, which is the absolute bare minimum footprint which can still be called "Debian", and thus only includes C and C.UTF-8.  A desktop install of Debian usually includes locales, but a bare install does not, and usually defaults to either C or POSIX.  I've found that for most applications, C.UTF-8 is sufficient when a UTF-8 locale is required.  The Python official image is an excellent example of this: https://github.com/docker-library/python/blob/edde349541e11f66dcc79cde1674317d065ddbdd/3.6/Dockerfile#L8

I've opened https://github.com/docker-library/docs/pull/703 to hopefully help clarify this point in the image documentation.


Bundle literal constructors

This has been worked around in many ways, from assigning all the parts separately, to manually writing functions that can be invoked in one line but do the assignments inside, to compile-time-unsafe Maps. Theoretically, it should be possible to use macros to generate a companion object that constructs a bundle literal.
For example, if I have
@bundle
class MyBundle extends Bundle {
  val a = Bool()
  val b = UInt(8.W)
}

I want to be able to do
wire := MyBundle(a=true.B, b=0x42.U)

(ideally, like above, it would require a full set of keyword arguments, though how to accomplish this is uncertain...)
Also, if something could be done that addresses #417, this would be super useful in a testing context since it would not require the compile-time-unsafe string maps.

Superseded by #805


feat(rest): expose list_block_devices method

Implement a REST call for listing block devices. The REST call uri can
optionally include the 'all' query parameter. This determines whether
all devices should be listed or just those that are deemed usable.
Omitting the query parameter results in all devices being listed.
Also added traits for converting messages between rpc and message bus
formats as this will be a common occurrence for control plane agents.
Resolves CAS-689

Did you forget to add some of the rest code?

Thanks, I added block_devices.rs

I'm a bit confused (perhaps because it's first time I'm reading the source code of new control plane). I'm seeing module msg_translation being imported and used but I don't see it added in the pull request (and neither I see it in develop).

I'm a bit confused (perhaps because it's first time I'm reading the source code of new control plane). I'm seeing module msg_translation being imported and used but I don't see it added in the pull request (and neither I see it in develop).

Apologies @jkryl, I forgot to add that file.

bors merge

bors merge


Investigation for allowing mapping schemas to common types globally

We might want to put the Resource type into Azure.Core

dup with https://github.com/Azure/autorest.csharp/issues/1584


Canada :: National Day for Truth and Reconciliation

earlier this year the government of Canada announced a new federal holiday, National Day for Truth and Reconciliation. for 2021, two provinces have adopted this day as an official holiday: Manitoba and Nova Scotia. i'd expect by next year more to follow and will update accordingly at that time.
🇨🇦

sorry, i didn't base this from the beta branch. will close and reopen correctly.


Need to integrate this broadcasting in my existing iOS application with xib.

Hi Support Team,
I need to add this video broadcasting feature in my  existing application with xib, So when I import ViewController.h file in any class..getting error like: -
'cstdlib' file not found...
Please help me out..or please suggest how can I navigate from my view controller to ViewController.mm..in xib project..
Thanks,
Vaibhav

Vabhav,
I am also integrating this library into my existing code and i am having the same error.
Please help me.
Thanks
Ravi


Adding new extension

Is your feature request related to a problem? Please describe.
Diss-Track is a web extension that allows users to block distracting websites and regain focus while browsing the internet. This README file provides instructions on how to deploy and use the Diss-Track web extension locally. It has two modes: 1.Normal mode 2.Focus mode
Additional context
github link : https://github.com/YadlaMani/Diss-Track
What problem is this feature trying to solve?
Release the distractions that are holding you back and focus on only one thing
How do we know when the feature is complete?

Already added this project to my repository #149
Kindly raise new Issues @YadlaMani

@Sulagna-Dutta-Roy I have checked the repo there is no extension similar to this project

Can you please check #149.
The focus distraction extension is similar to your project.

Okay I will close the issue now


Change font

The font is very pretty for the most part, but the number one is far too similar to a capital i.

Thankyou for pointing that out. Started looking into alternative fonts.

I'd could be interested in helping on the type & design front. I was already thinking of making styling changes for personal use. Here's a rough work-in-progress I threw together.
@nshntarora is this something you would like help with? I'm not a programmer, but design and front-end styles are my specialty, so this is the best way I could contribute.
WIP Example:

@calebsylvest Love it. Let's get it implemented! You've got mail :mailbox_with_mail:

The body font is now changed from Vollkorn to Merriweather :+1:


[terra-time-input] - Mode changing issue on JAWS and SR fixes

Summary

What was changed:

Changed Up/Down key functionality same as +/- functionality to make uniform.
Changed input type to number instead of text.
Fixed label reading twice issue in time input.

Why it was changed:

Up/Down key functionality was not same as +/- functionality.
Input type was text.
Label value was reading twice in JAWS.

Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[x] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[x] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-6328

Thank you for contributing to Terra.
@cerner/terra
Before fix :

After Fix :

Left/Right Arrow key not moving the focus between the input fields. Please compare with previous functionality.

Left/Right Arrow key not moving the focus between the input fields. Please compare with previous functionality.

The input element's type ('number') does not support setSelectionRange, that's why left and right arrow key is not shifting focus, i'm investigating it.

+1 for Accessibility Review.
The issues mentioned in the PR are fixed now.

The input field for the Terra Time Input is implemented as type="number" field.
The value of the hour or minute field can be changed using the +/- or UP/DOWN arrow key as expected.
Hotkey implemented for the Time Input field "N" is also supported as expected, setting the current time as the input.

Issue:

When users are provided an input in the time field, the user is not able to navigate between the hour and minute fields using the right/left arrow key. When the field is empty the arrow key navigation is working as expected.
The arrow navigation is not a default behavior for , in this case, it has been implemented through the property "setSelectionRange" which works when the input field is empty, but the same is not supported when the "Terra Time Input" field has input defined.
This is not a major blocker for users, as user can still navigate through the input field using TAB/SHIFT+TAB key.