Update the grpc and opentracing version

The gRPC version is 1.4.0 and opentracing-api is 0.30.0.
Looks like the library doesn't work with the latest version.

Is this being worked on? Seems like a fairly high priority issue

+1

This PR is pending https://github.com/grpc-ecosystem/grpc-opentracing/pull/36
@matthewrj had anyone been assigned or review this?

Pings @bhs and @kcamenzind

(Can this be closed now, @hzariv?)

@bhs It can be if we have released version 0.3.0 of grpc-opentracing to maven central.
https://search.maven.org/#search|gav|1|g%3A"io.opentracing.contrib" AND a%3A"grpc-opentracing"
Right now only version 0.2.0 is there.

@bhs could you please help with releasing this artifact to maven central?

Any update on this? I'm considering using this library and I would really appreciate the new version.

Hi All! We are going to move this work from gRPC to the OpenTracing community organization, and split it into language specific issues. As part of that, we will update java to the latest API. But I'll see about getting the last version of this pushed to maven before the move.

Any progress here?

Pushing v0.3.0 to Maven Central would also help me.

Per https://oss.sonatype.org/#nexus-search;quick~grpc-opentracing, I pushed v0.3.0.
<dependency>
  <groupId>io.opentracing.contrib</groupId>
  <artifactId>grpc-opentracing</artifactId>
  <version>0.3.0</version>
</dependency>

Millions of apologies for how long this took. (@tedsuo, I agree that this repo should still move to opentracing-contrib and the languages should be decoupled)

Hi @rflueras this library has been moved here: https://github.com/opentracing-contrib/java-grpc
That version works with 0.31.0. I'll be updating this repo to make it more clear that development has moved. Please open an issue there if that version is not solving your issue.
Thanks,
Ted

Thank you so much!
Works now :).

@tedsuo can you please update the ReadMe that project has moved to https://github.com/opentracing-contrib/java-grpc as this one still has issues 0.31.0 version of opentracing.


Add documentation for device.language discrepancy

[x] Code is up-to-date with current master
[x] Code is provided under the terms of the Tabris.js license

As noted in #1756, device.language can return unexpected values.  Update the documentation to reflect this.
I'm on the fence as to whether or not to link to the issue's resolution comment; anyone without Cordova iOS development experience will surely be stumped as how to add the relevant strings.

@cookieguru Thank you for the PR! Since the change had to be pushed through our code review system and I had to rebase it since a merge was not possible, the PR could not be closed automatically, so I'm closing it manually.
To make it more clear how to set values like CFBundleLocalizations, we could include information about editing native project configurations in the build article.


change linux to use define-runtime-path

Not tested - needs review

it works.

it works.

many thanks to @smallfont00 for testing this change


Handle case where BaseTap bufferSize exceeds frameCapacity of buffer.

I was using a tap but running into a crash when the bufferSize I specified was greater than the frameCapacity of the buffer passed to the callback. The crash was:
// *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: length <= _imp->_frameCapacity'

The test I added will crash without the change here.
I'm still pretty new to AudioKit and programming at this level in general so if this is totally wrong or a bad idea, no worries about closing it.

Looks like CI is stuck? I don't think I have the ability to try to restart it.


Change /// style Doxygen comments to our standard style

2 styles of Doxygen comments exist in our code and we should change it to be consistent. We've selected the /** ... */ style so all lines that start wtih /// need to be changed.

It's marked as Done.
Is there a difference between "Done" and "Closed"?
Sent from Outlookhttp://aka.ms/weboutlook
From: Muhammad Osama @.>
Sent: Tuesday, March 21, 2023 5:14 PM
To: stdgraph/graph-v2 @.>
Cc: Phil Ratzloff @.>; Assign @.>
Subject: Re: [stdgraph/graph-v2] Change /// style Doxygen comments to our standard style (Issue #58)
Should we close this issue?

Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstdgraph%2Fgraph-v2%2Fissues%2F58%23issuecomment-1478587777&data=05|01||f8e143224e5d4f478f0208db2a512434|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638150300215812061|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KbTPMERUS5ROwmat4u0r87XkmqxOcp2lnxBw4tbkwxI%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB7NKEUEVFUOKE5EGG6BREDW5IKYFANCNFSM6AAAAAAVYGIZ3M&data=05|01||f8e143224e5d4f478f0208db2a512434|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638150300215812061|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=DgGBFZBMg7R347hJs1tGkF32Tb1lJqU5Md8GtHyuTB8%3D&reserved=0.
You are receiving this because you were assigned.Message ID: @.***>

Closing the issue means it is not active and will automatically move it to the "done" in the project board.


Translate toppage into japanese

I will take a look and push shortly, thank you🦊❤🦊❤

hi, Nahoko, I pushed this PR's changes to our dev branch, which is built here: https://vue-vixens-dev.netlify.app/ - but as you can see the top nav is broken now. Would you mind taking a look, and seeing if you can fix that? PRs can go to the dev branch, thanks!

@ryamakuchi
Thank you for your review.
Changes seem to be merged into dev branch. I will fix this on another PR :)

The API URL path seems to be different.


doc(known-issues): Add caveat about layout/hyphenation of rotated text

Per discussion in https://github.com/PgBiel/typst-tablex/issues/59.
I figured I could make myself useful by writing down what I tried to find before filing the issue.
Feel free to edit this or suggest edits as you prefer them or reject the PR, just my quick idea for a bit of doc.

@PgBiel in #59 you suggested trying box, which I could not make work.
If you're convinced that it should work somehow, that would obviously be a better workaround than what I document in this PR, so you may want to see about that before blindly accepting my first-thing-that-worked advice :slightly_smiling_face:

Sorry, realized that your box-suggestion was the way to go after all, so I wanted to add that as well.
Feel free to squash the commits (or tell me to squash them) as you see fit.

Don't worry about the commits. :)

I think another possible workaround might be to use #place so the text doesn't occupy any space at all, thus allowing for more flexibility. We could perhaps mention both approaches.

Other than that, your text is pretty good. Thanks!

I think another possible workaround might be to use #place over the rotate so the text doesn't occupy any space at all, thus allowing for more flexibility. We could perhaps mention both approaches. (This should be tested first, though.)

I got the result I wanted and also got with box and hyphenate:false via rowspanx(7, box(rotate(-90deg, [...]))) so I added that to the text.
Again, feel free to edit as you want.

Thank you! :D


AddToCart Example

Hi I'd like to create a simple A href add to cart link, can you advise how.  Would this work. could you provide an example of a working version.
A HREF= "javascript:PAYPAL.apps.MiniCart.addToCart({<EMAIL_ADDRESS>"item_name":"NextDayDelivery", "amount":"5.00","currency_code":"USD"}); ">Add Next Day Delivery
or maybe
A HREF= "#" onclick="javascript:PAYPAL.apps.MiniCart.addToCart({<EMAIL_ADDRESS>"item_name":"NextDayDelivery", "amount":"5.00","currency_code":"USD"}); ">Add Next Day Delivery
Many Thanks In Advance.

Either of those should actually work. Have you tried either?
The ideal way to do it would be to use a  link with the actual GET URL received from PayPal (rather than the form they generate by default) and then parse that into data and run it through addToCart. This way it will work with JavaScript disabled, too. I've been intending to create a convenience method for this, but it keeps slipping my mind. I updated #38 to reflect this and will try to get to it shortly.
In the meantime, either of the above should work.


"Poienari", "Groșani" are listed in the drop-down menu

Description:
When user writes "Poienari" and "Groșani" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Poienari"

Expected results
The location appears in the drop-down menu as "Poienari, Argeș (Poienarii de Muscel)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.


oci runtime error: process_linux.go:295: setting oom score for ready process caused "write /proc/461/oom_score_adj: invalid argument

Hi I am trying to build a Docker image on Centos 7 and getting following error,
oci runtime error: process_linux.go:295: setting oom score for ready process caused "write /proc/461/oom_score_adj: invalid argument
Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 7
Server Version: 1.12.0
Storage Driver: devicemapper
 Pool Name: docker-202:1-16876889-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 589.8 MB
 Data Space Total: 107.4 GB
 Data Space Available: 6.258 GB
 Metadata Space Used: 1.425 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay null host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 6.897 GiB
Name: ip-10-66-117-102
ID: 33UB:ERLZ:Y3VT:BW5M:FRPF:CYAG:YZ3M:6YWB:KTKY:GM5D:TWVF:PLEJ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
 <IP_ADDRESS>/8

Steps to reproduce the issue:
Dockerfile
FROM tomcat:6

MAINTAINER Pinkal Vansia<EMAIL_ADDRESS>
ADD assets/ /home/

ENV $USER_HOME=/etc/myApp

RUN chmod +x /home/entrypoint.sh
RUN mkdir -p $USER_HOME
RUN mv /home/temp.war $CATALINA_HOME/webapps/
RUN mv /home/my.properties $USER_HOME/

EXPOSE 8080

ENTRYPOINT ["/home/entrypoint.sh"]

Describe the results you received:
$ docker build -t temp .
Sending build context to Docker daemon 10.17 MB
Step 1 : FROM tomcat:6
 ---> e3a21c557f28
Step 2 : MAINTAINER Pinkal Vansia<EMAIL_ADDRESS> ---> Running in 2fdd1e4d7dc5
 ---> a6e775364163
Removing intermediate container 2fdd1e4d7dc5
Step 3 : ADD assets/ /home/
 ---> a8d172166c26
Removing intermediate container ec6f6e454271
Step 4 : ENV $USER_HOME /etc/temp
 ---> Running in 8da63e20d1c2
 ---> c979f236eb11
Removing intermediate container 8da63e20d1c2
Step 5 : RUN chmod +x /home/entrypoint.sh
 ---> Running in 9e51dc6b57c1
oci runtime error: process_linux.go:295: setting oom score for ready process caused "write /proc/461/oom_score_adj: invalid argument"
$

Additional information you deem important (e.g. issue happens only occasionally):
I am working on Centos 7 on AWS m3.large spot instance with 8 GB disk.

Looks like this might be the same as https://github.com/docker/docker/issues/25099

Thanks, this is the same issue as #25099 but you provided something that allows replication which is great. Will close this issue and continue discussion in the other one, thanks.

@pinkal-vansia you should not have the $ in the ENV line - it should be ENV USER_HOME=/etc/myApp which fixes the issue. for me.

@justincormack Yes removing $ fixed the issue. Thanks. please close the issue.

Just encountered the same issue. It would make more sense to get an error message as soon as you declare and ENV variable starting with a dollar, instead of getting this cryptic error when creating a directory that contains this env variable.

I think there is already a PR to fix this issue.
On 10 Nov 2016 2:11 p.m., "Joeri Leemans"<EMAIL_ADDRESS>wrote:

Just encountered the same issue. It would make more sense to get an error
message as soon as you declare and ENV variable starting with a dollar,
instead of getting this cryptic error when creating a directory that
contains this env variable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker/issues/25277#issuecomment-259685805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdcPJofurPtrUZI8DMe-M6VUlUyW0YMks5q8xeQgaJpZM4JZTA7
.


Adds friendlier error message when State is unset

Pre-Flight checklist

[X] Screenshots and design review for any changes that affect layout or styling

[X] Desktop screenshots

[X] Testing

[X] Code is tested
[X] Changes have been manually tested

What are the relevant tickets?
https://github.com/mitodl/hq/issues/886
What's this PR do?
Adds a typeError to the validation for the State field that says "State is a required field" rather than the default yup error (which is very programmery).
How should this be manually tested?

Log in with an account that either doesn't have a country/state set or has one set to a country that doesn't have states (so not US or Canada)
Set the country to US or Canada
Open the State field, but don't select anything. Instead, click to a different field.
Validation should run and you should see the "State is a required field" error message.

Screenshots (if appropriate)
https://share.cleanshot.com/167R3ykMmtl8vrKPS5lt

Codecov Report

Merging #1470 (042de5e) into main (2a79db7) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1470      +/-   ##
==========================================
- Coverage   82.94%   82.90%   -0.04%
==========================================
  Files         312      312
  Lines       13372    13372
  Branches      942      942
==========================================
- Hits        11091    11086       -5
- Misses       2017     2021       +4
- Partials      264      265       +1

Impacted Files
Coverage Δ

...d/public/src/components/forms/ProfileFormFields.js
97.14% <100.00%> (ø)

ecommerce/models.py
85.31% <0.00%> (-1.11%)
:arrow_down:

ecommerce/views/v0/__init__.py
81.46% <0.00%> (-0.35%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update io-write-flow-file.py example

See https://github.com/mitmproxy/mitmproxy/discussions/6444 - the addon should use an option instead of argv.

I went through the addon script related to this issue. I wanted to know whether adding an option means using -w option or updating the example addon-script to produce the dumpfile without the using the -w option.

import random
from typing import BinaryIO

from mitmproxy import http
from mitmproxy import io
from mitmproxy import ctx

from typing import Optional

class Writer:

    def load(self, loader):
        loader.add_option(
            name="path",
            typespec=Optional[str],
            default=None,
            help="Specify a path for the mitmproxy dump file"
        )

        if ctx.options.path:
            self.f: BinaryIO = open(ctx.options.path,"wb")
        else:
            self.f: BinaryIO = open("dump.txt","wb")

        self.w = io.FlowWriter(self.f)

    def response(self, flow: http.HTTPFlow) -> None:
        if random.choice([True, False]):
            self.w.add(flow)

    def done(self):
        self.f.close()

addons = [Writer()]

I looked into the issue. I was able to generate the dump file in the current directory. However I was not able to specify the path in the options, like this
mitmproxy -s dumpfile.py --set path=/rough/demo.txt

is this already done, if not can i take it up as my first contribution.

Fixed in #6464


Feature/usb cam nodelet

@PerrineAguiar PTAL

@PerrineAguiar You're right, I'll reopen it. Thanks!


Fix default NumSamples Webgl1

whoooot a bit soon :-) I was waiting on the tests :-) I ll have a look at the nightly tests.

No worries I was running a full local test


Trace analysis fixes

Here are some fixes for issues related to the trace analysis plotting functions I've discovered mainly while parsing a systrace on a new Android device. Some events missing and the usage of absolutes timestamps triggered some corner cases which should now be fixed.

@mdigiorgio I've added you has reviewer since I know you are working on the same module, thus maybe you get a cheap chance to give this code a spin. The main functions updated are plotTasks() and plotClusterFrequencies().

Can be merged after #112


Added missing verbs to bxmlOverview

For the Committer

[ ] I made sure that the site looks great and functions perfectly live
[ ] I ran splell check
[ ] I'm ready for these changes to be made live

For the Reviewer
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

TL;DR

[ ] I did these things
[ ] I'm ready for these changes to be made live

 Usabilla Feedback Item - The "Implementing BXML" header is missing the new SendDtmf and Pause verbs. They're linked in other places, just not in this one.

Preview Changes at:
http://bw-apdocs-add-senddtmf-pause-to-bxmlOverview.s3-website-us-east-1.amazonaws.com/


Module use

Add to readme instructions how to enable nuerodesk modules on startup.
According to what Steffen told me:
The users simply have to run module use PATH_TO_NEUORDESK_MODULES – and this could be added to their .bashrc or they run it manually everytime.
BTW, do you want me to update neurodesk's readme and code directly? I'm not sure.

Please feel free to make any updates/changes

any updates on this one @civier ?


Update contrast ratio lighthouse doc

@kaycebasques PTAL

I'll fix the indents in a later commit, no need to block crucial content on little formattings


UI: Light/Dark Mode

Create the Light/Dark mode for the UI

Hello @sristy17 I am willing to work on this project can you please assign me this

@mahenoorsalat Go for it!


Create pre-command repository hook

These are hooks that will run on every buildkite job that checks out
this repository. Here I'm just setting some strict-error defaults. I
think Buildkite already sets -e and maybe -o pipefail, but based on
the error in https://buildkite.com/iree/unregistered/builds/26, does
not set -u. This will avoid needing to write ? after every variable
expansion. It's still probably a good idea to include these options at
the top of scripts, since those will frequently be run locally.

Well it appears that Buildkite ignores the shell options set in the pre-command hook :angry: contacted support


Replace the use of Concurrent Map

https://github.com/cornelk/hashmap (with Generics)
https://github.com/alphadose/haxmap
https://github.com/orcaman/concurrent-map 1⃣

done with v0.3.5 🍓 [strawberry]


News as Config file

Summary
Change the news to be loaded from a json config file
Details
Currently the news is hard coded as html. It should now be changed so that the news is loaded from a json file dynamically. This will allow the news to be changed without a code change
How to Test
Test different news articles and test invalid formatting

Use s3 bucket with volume mapping for production setup

Done as separate file so that the news still goes through change control


libgfortran.so.1

Sometime ago I noticed that my installation of MNE-Nightly-Linux-x86_64 was missing libgfortran.so.1 in the $MNE_ROOT/lib directory. I searched the MNE Analysis archives and found an older post by @Eric89GXL that provided a url for downloading the file. Initially I tried the 64bit version of this file that for some reason was incompatible, but I didn't bother trouble shooting it because the 32 bit version worked on my 64 bit system! Next, I started receiving some thorny python errors related to libgfortran.so.1. Apparently, in the ANACONDA environment @dengemann there is already a version of this library file that is used by various packages, and issues arise when mne_setup_sh sets the environment variable  LD_LIBRARY_PATH to $MNE_ROOT/lib. After considerable effort I resorted to just creating aliases that either (1) set up the MNE environment OR (2) clear LD_LIBRARY_PATH and allow for ANACONDA python environment to run. In hindsight this is not a optimal fix, because now I have to figure out how to e.g., call mne_create_sourcespace in a shell script from python --there is a conflict since both the python environment and MNE  specifically require LD_LIBRARY_PATH and/or libgfortran.so.1 in their "special" way. Has anyone dealt with this? Some insight would be much appreciated.

It looks like people have found workable solutions for this, so I'm going to close.

Encountered the problem again on a recent ubuntu 14.04 + conda install.
It used to work. Not sure what happened in between...
@MadsJensen 's trick fixed it.

@kingjr this issue never went away. I've been linking to libgfortran3.so that comes with anaconda.

We should add something in the FAQ then


Udon input axis not resetting to zero

so if you use exemply InputMoveHorizontal or InputMoveVertical the 3 values there can get from keyboard is -1, 0 and 1 but there newer get 0 so when you let go off the key it just continues with either -1 or 1

Yup, still an issue!
Here's what I would expect:

Press W -> 1
Release W -> 0
Press S -> -1
Release S -> 0

Here's what CyanEmu does:

Press W -> 0
Release W -> 1
Press S -> 0
Release S -> -1

4006f8a2b00266442619161fdeab46e26080368b fixes the issue. Looks like the wrong variable was used.

Resolved with v0.3.10


how to get the date from time_point in contract?

I want to calculate the current time, the time difference between the zeros of the day.
It may take time_point to convert to the year, month, and day methods, and clear (hours, minutes, seconds) to the difference.

I have a similar issue where i need to read date/time from user and save it as seconds (time_t) in table. However, when i use mktime(), i get error "error: use of undeclared identifier 'mktime'; did you mean 'gmtime'?" and where i use a non-standard alternative timegm(), compilation is fine but wasm-ld gives error "error: pademo.wasm: undefined symbol: timegm"
Someone, please help. Its the basic time operation that seems not supported in the wasm generator.
Note: I also saw a commit where mktime was removed. Not sure why.

I don't think there is methods to transform time_point nor time_point_sec to their date representation counterpart. The WASM interface for the smart contract does not have that and it makes little sense IMO when coding a smart contract anyway.
To have a time_point or time_point_sec initiated at current time, use current_time (microseconds) or now (seconds) from the system.h header.
#include <eosiolib/time.hpp>
#include <eosiolib/system.h>

auto nowWithMicroseconds = time_point(current_time())
auto nowWithSeconds = time_point_sec(now())

Store in your smart contract's table your timestamp using either time_point or time_point_sec depending on your needs. When you will query back the data using cleos or using the REST API directly, nodeos will automatically convert it to a date string representation of the timestamp for you.
$ cleos get table eosforumrcpp eosforumrcpp proposal --limit 1
{
  "rows": [{
      "proposal_name": "",
      "proposer": "gyztimzshage",
      "title": "啊",
      "proposal_json": "{\"content\":\"\",\"type\":\"\"}",
      "created_at": "2018-12-10T17:15:29",
      "expires_at": "2019-01-09T00:00:00"
    }
  ],
  "more": true
}

The created_at and expires_at fields are time_point_sec object inside the contract (see here), as you can see, they are however turned into date string representation automatically when requesting in JSON form.
@prem-baranwal Use time_point and time_point_sec objects in your smart contract implementation and time_point(current_time()) and time_point_sec(now()) to instantiate the object to current time value. Check the time.hpp file to see how you can manipulate each object.
See #340 for a similar error and further explanation about the error.
Hope it helps.

Closing this as it seems like the issue is resolved. Feel free to reopen if there are further questions/issues.


Camel quarkus netty

https://github.com/apache/camel-quarkus/issues/248 initial support for camel-quarkus-netty

And by the way you have conflicts need to be fixed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/362/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/363/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/364/

https://github.com/apache/camel-quarkus/pull/353#discussion_r340781518
Thanks for pointing this out. It's not documented.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/365/

#353 (comment)
Thanks for pointing this out. It's not documented.

True. Let me doc it https://github.com/apache/camel-quarkus/issues/354

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/367/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/368/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/369/Build result: FAILURE[...truncated 1.58 MB...]    at sun.reflect.GeneratedMethodAccessor237.invoke (Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke (Method.java:498)    at io.quarkus.deployment.ExtensionLoader$1.execute (ExtensionLoader.java:941)    at io.quarkus.builder.BuildContext.run (BuildContext.java:415)    at org.jboss.threads.ContextClassLoaderSavingRunnable.run (ContextClassLoaderSavingRunnable.java:35)    at org.jboss.threads.EnhancedQueueExecutor.safeRun (EnhancedQueueExecutor.java:2011)    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask (EnhancedQueueExecutor.java:1535)    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1426)    at java.lang.Thread.run (Thread.java:748)    at org.jboss.threads.JBossThread.run (JBossThread.java:479)[ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR]   mvn  -rf :camel-quarkus-integration-test-corechannel stoppedAdding one-line test results to commit status...Setting status of e4a98a644c6a7c985afa578fb261c5cb1a5fea52 to FAILURE with url https://builds.apache.org/job/camel-quarkus-pr/369/ and message: 'FAILURE 96 tests run, 2 skipped, 0 failed.'Using context: default

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/370/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/371/

Adding comment to this ticket (already shared on https://gitter.im/apache/camel-quarkus), had some challenges with the rebase/squash operations and instead needed to recover and re-commit the branch, as such some of the references in the code reviews may unfortunately not work as expected.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/372/

Sorry just realised it's a gitignore already there. Sorry. Looks good

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/375/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/376/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/377/


fix(core): ensure that multiple requests to requestAnimationFrame are buffered

IE11 (and maybe some other browsers) do not optimize multiple calls to
rAF. This code makes that happen internally within the $$rAF service
before the next frame kicks in.
Closes #11791

LGTM (from Igor in person).

Merged in as https://github.com/angular/angular.js/commit/db20b830fc6074a00dc11d3f47d665c55e8bb515

What does Igor in person think about cancelQueueFn being called at a later time and cancelling a titally unrelated animation (just because the index is the same) ?
Did I miss something ?


fix: Correct etcd storage class helm values

Docs here say the following:

Installing Mayastor via the Helm chart sets the StorageClass as 'default' for Loki and etcd StatefulSets. This will work in clusters which have a StorageClass named 'default'. If there is no 'default' StorageClass in the cluster, storage provisioning will fail for Loki and etcd. In such cases, one can change the StorageClass to 'manual' which will provision a PersistentVolume of type hostPath. To do this, make the following changes in the values.yaml file:

loki.persistence.storageClassName: manual
etcd.persistence.storageClassName: manual

This PR updates the etcd storageclass value to correlate with that as well as be consistent with the Loki value.
Related: https://github.com/openebs/mayastor-docs/pull/123

Also fixed the loki-stack conditional in local-py.yml

I don't thing we can work this into the helm chart very easily. Also, I don't think we have a need for this kind of symmetry amongst the values options. Closing this PR.


Remove Array.prototype polyfills in favor of a dependency on es5_shim

Currently we patch over Array.prototype with polyfills for map and indexOf. Since ES5 support is fairly widespread, however, it seems prudent to remove these in favor of explicitly requiring es5-shim for browsers that need it, so we can cut down on file size for those that don't.

This is no longer relevant thanks to Babel and #155


⚠ Bofrost.de has degraded performance

In 0394e45, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1208 ms

Resolved: Bofrost.de performance has improved in e1a398d.


Doubt about question three in the assignment

@maxbiostat In this question, it's even to derive the distributions? Doesn't seem to make sense of it.

Have you figured it out? It stills confusing to me 👀

It stills confusing to me

Maybe it helps, what other sense you might have that is not differentiation, but that makes sense to do in this case.


By click on toggle background color it is not working

Is your feature request related to a problem? Please describe.
By click on toggle background color it is not working
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
https://github.com/Akshatchaube01/TimeWarp/assets/59639410/a02462aa-22bf-4f05-b3d1-9d21f633fb18
What problem is this feature trying to solve?
How do we know when the feature is complete?

Hello @Akshatchaube01 please assign this issue to me under gssoc 24

The landing page doesn't have light and dark mode; the toggle works for all the other pages.


[xalan-c] [x64-linux] undefined reference to `xalanc_1_11::XalanMsgContainer::getMessageCount()'

I've built xalan-c:x64-linux, but linking it fails with:
undefined reference to `xalanc_1_11::XalanMsgContainer::getMessageCount()'
undefined reference to `xalanc_1_11::XalanMsgContainer::getMessage(unsigned long)'

because libxalanMsg.a isn't present on linker's cmdline. I refer to xalan-c like this:
find_package(XalanC REQUIRED)
target_link_libraries(<my-target> PUBLIC XalanC::XalanC)

from what I can tell cmake files in ~/vcpkg/installed/x64-linux/share/xalan-c are simply ignored and instead /usr/local/share/cmake-3.14/Modules/FindXalanC.cmake is used to find libxalan-c and because (long ago) it was written "xalan-c is a shared library" mindset -- it doesn't even try to locate libxalanMsg.
What is the correct way to address this problem? Maybe there is a way to force cmake to use find module in ~/vcpkg/installed/x64-linux/share/xalan-c?

Hmm... Had to update portfile.config to put cmake files into share/xalanc (instead of share/xalan-c) and update my config file:
find_package(XalanC REQUIRED NO_MODULE)
target_link_libraries(Common PUBLIC XalanC::XalanC)

This way it works. I need to submit related PR...


Added additional conditionals to template to align with conditionals …

…in the tasks
Overall Review of Changes:
The "99-sysctl.conf.j2" template has lines to add which controlled by only one contional for each line, while tasks to set some of settings are controlled by more than one conditional. To align code between template and tasks, it needs to add same contionals to template.
Issue Fixes:
Added required conditionals to the template.
How has this been tested?:
Manual

@asomiddinrustamov,
Thanks for opening the PR. The work is greatly appreciated and it's a good catch. One thing that needs to be updated is all commits must be GPG signed and have the signed off entry. Let me know if you have issues updating this PR for those changes. I can add the changes myself and mention you for credit in the commits.
-George

@asomiddinrustamov, Thanks for opening the PR. The work is greatly appreciated and it's a good catch. One thing that needs to be updated is all commits must be GPG signed and have the signed off entry. Let me know if you have issues updating this PR for those changes. I can add the changes myself and mention you for credit in the commits.
-George

Hey George
The commits are signed off. Thank you!
Adam Rustam

I will open new PR with signed commits.


Errors when using ExternalName or Headless services

Describe the bug
Retina agents log a lot of error messages when having headless service in the cluster or of type ExternalName.
updateSvc: error getting primary IP for service
no primary IP found for service myService

To Reproduce
Steps to reproduce the behavior:

Deploy externalname or headless service to the cluster
Observe agent logs

Expected behavior
Retina should just ignore those services (or use endpoint ips of headless service?)
Platform (please complete the following information):

OS: AzureLinux
Kubernetes Version: 1.19
Host: AKS
Retina Version: 0.0.12

Additional Information:
I guess the relevant code is this, where it tries to save ClusterIP, even though not all services is k8s have a ClusterIP
https://github.com/microsoft/retina/blob/b71ec003ad1bb313524ea30e6fc8368c4ce249ab/pkg/controllers/daemon/service/controller.go#L78
https://github.com/microsoft/retina/blob/b71ec003ad1bb313524ea30e6fc8368c4ce249ab/pkg/common/service.go#L46

Confirmed this as an issue with our Headless services as well.


Can't connect to docker as remote interpreter when running on a remote machine

I am using the container on a remote machine
When I run regular python on it, I use pycharm to run ssh interpreter, it syncs the needed directories and runs the wanted scripts and works great,
I need the docker to somehow expose it's filesystem and interpreter on a host's port and connect to it via pycharm remote interpreter (from another machine)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Prepare the downstream repo for the 2023b release

Prepare the downstream environment for the 2023b release.
Since we are moving to a new release we need to proceed with some changes also on the downstream repo.
Acceptance Criteria:

[x] Create a new release branch release-2023b
[x] Set up a new workflow to update the downstream release with the corresponding one from upstream. Here is an example (link)
[x] Setup the openshift-ci configuration for this branch and
[x] Fix the naming of the TrustyAI notebook in the ocp-ci. Some of the notebooks like minimal following the v1-2023a-20231006-21e8255 for the ubi8 flavor and v2-2023a-20231006-21e8255 for the ubi9. Since TrustyAi has two versions as well we shall follow the same structure.

Release branch: release-2023b
PR for the workflow: https://github.com/red-hat-data-services/notebooks/pull/58
PR on ocp-ci: https://github.com/openshift/release/pull/44221  Includes also the fix for the TrustyAI tag name


Compound primary Key when ImportFromJSON

Hi, is it possible to define a compound primary key when creating a database from a JSON?
The example bellow didn't work
export const dataToImport = {
    database: "curieapp-db",
    version: 1,
    encrypted: false,
    mode: "full",
    tables: [
        {
            name: "modules",
            schema: [
                {
                    column: "id",
                    value: "INTEGER PRIMARY KEY NOT NULL"
                },
                {
                    column: "id2",
                    value: "INTEGER PRIMARY KEY NOT NULL"
                }
            ],
            indexes: [],
            values: [
                [ 6, 4 ],  [ 6, 5 ]
            ]
        }
    ]
}

@alu0100991659  hi, thanks for using the plugin, it is a feature to implement, i will have to figure out

@alu0100991659  hi, thanks for using the plugin, it is a feature to implement, i will have to figure out

@alu0100991659 This has been fixed in release 2.9.7. It is implemented with a CONSTRAINT
example for using it
          name: 'company',
          schema: [
            { column: 'id', value: 'INTEGER NOT NULL' },
            { column: 'name', value: 'TEXT NOT NULL' },
            { column: 'age', value: 'INTEGER NOT NULL' },
            { column: 'address', value: 'TEXT' },
            { column: 'salary', value: 'REAL'},
            { column: "last_modified", value: "INTEGER"},
            { constraint: 'PK_id_name', value: 'PRIMARY KEY (id,name)'},
          ],
        },

if it works at your place, please close the issue

@alu0100991659 This has been fixed in release 2.9.7. It is implemented with a CONSTRAINT
example for using it
          name: 'company',
          schema: [
            { column: 'id', value: 'INTEGER NOT NULL' },
            { column: 'name', value: 'TEXT NOT NULL' },
            { column: 'age', value: 'INTEGER NOT NULL' },
            { column: 'address', value: 'TEXT' },
            { column: 'salary', value: 'REAL'},
            { column: "last_modified", value: "INTEGER"},
            { constraint: 'PK_id_name', value: 'PRIMARY KEY (id,name)'},
          ],
        },

if it works at your place, please close the issue

@alu0100991659 has you did not send any news i close the issue

Sorry if i'm getting late to the issue but i tried this example and i'm getting the following error: "ImportFromJson: ImportJson: CreateDatabaseSchema: CreateSchema: Execute: SQLITE_ERROR: near ")": syntax error: ". If i remove the constraint it's working fine.

@alu0100991659 This has been fixed in release 2.9.7. It is implemented with a CONSTRAINT
example for using it
          name: 'company',
          schema: [
            { column: 'id', value: 'INTEGER NOT NULL' },
            { column: 'name', value: 'TEXT NOT NULL' },
            { column: 'age', value: 'INTEGER NOT NULL' },
            { column: 'address', value: 'TEXT' },
            { column: 'salary', value: 'REAL'},
            { column: "last_modified", value: "INTEGER"},
            { constraint: 'PK_id_name', value: 'PRIMARY KEY (id,name)'},
          ],
        },

if it works at your place, please close the issue

@jfernandino Are you on Windows ? i test on MacOs with Ionic/Angular and it works fine Did you run the "angular-sqlite-app-starter" ?

I'm using windows yes. I ran react-sqlite-app-starter and added one table with composite pk, using the example above. And the problemen is the same yes.
{"changes":{"changes":-1},"message":"ImportFromJson: ImportJson: CreateDatabaseSchema: CreateSchema: Execute: SQLITE_ERROR: near \")\": syntax error: "}

@jfernandino On my side, it is working. see https://github.com/jepiqueau/react-sqlite-app-starter/tree/refactor . May be you forgot to run npx cap sync @capacitor-community/electron after installing the new version of @capacitor-community/sqlite. This is the only thing i can think about it.


Document change request

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/live/Skype/SfbServer/plan-your-deployment/requirements-for-your-environment/server-requirements.md
Skype for Business Server works with the following Microsoft .NET Framework versions:
• .NET 3.5
• .NET 4.5
• .NET 4.6.x
• .NET 4.7.1 (for Skype for Business Server CU 5 or later releases)
Skype for business also supports 4.7.2 and 4.8 as well.
This is confirmed by João Loureiro
Please make change to this Document

@MahendarReddyGujjula Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@MahendarReddyGujjula Thank you for pointing this out, I will investigate further and will have this document updated.

@MahendarReddyGujjula We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Design localization

As a user, I want to be able to use Paranext in my preferred language.
Ian mentioned an idea to me in Discord:

There's a feature request right there too: In settings, list the UI languages you read in the order you prefer. We'll show UI in the preferred language where possible, and fall back to other languages you've listed. So, plugins that aren't localized in Telegu may appear in Spanish before we fall back to English if you say that your preference is Telegu > Spanish > Huttese

Integrate a language picker into the settings UI


[BUG] azure-identity:1.8.1 is unable to retrieve a ManagedCredential for Azure Function App in Java, where 1.8.0 is able to.

Describe the bug
When using com.azure:azure-identity version 1.8.1 deployed in a Function App, then the library is unable to retrieve the Managed identity. The exact same code and infrastructure setup works perfectly fine when using 1.8.0 instead.
Exception or Stack Trace
When using version 1.8.1, the credential retrieval attempt simply say:
Azure Identity => Attempted credential ManagedIdentityCredential is unavailable.
When using 1.8.0 instead, we can see Azure Identity => Attempted credential ManagedIdentityCredential returns a token instead
To Reproduce
Unfortunately, I don't have the time to create a minimal example of this behaviour. I recognise that this makes the report incomplete.
Code Snippet
new SecretClientBuilder()
                            .vaultUrl(<keyVaultUrl>)
                            .credential(new DefaultAzureCredentialBuilder().build())
                            .buildClient();

Expected behavior
I expect the ManagedIdentityCredential to be retrievable using both 1.8.0 and 1.8.1.
Setup (please complete the following information):

OS: Linux EP1 Service Plan
Library/Libraries: com.azure:azure-identity:1.8.0 / 1.8.1
Java version: 11
App Server/Environment: Azure Function, Extension Version ~4

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ✅ ] Bug Description Added
[ ❌ ] Repro Steps Added
[ ✅ ] Setup information Added

Thanks for filing this issue, @KjeldSchmidt.  @g2vinay could you please take a look today / early next week?
/cc @billwert

I'm experiencing the same thing but from an Azure Web App service.
Managed Identity credential works with azure-identity 1.8.0 but fails on 1.8.1
1.8.0
2023-03-25T18:50:00.678246756Z: [INFO]  18:50:00.677 [Thread-7] INFO  c.a.i.ManagedIdentityCredential - Azure Identity => Managed Identity environment: AZURE APP SERVICE MSI/IDENTITY ENDPOINT
2023-03-25T18:50:00.679625819Z: [INFO]  18:50:00.679 [Thread-7] INFO  c.a.i.ManagedIdentityCredential - Azure Identity => getToken() result for scopes [https://storage.azure.com/.default]: SUCCESS
2023-03-25T18:50:00.680017737Z: [INFO]  18:50:00.679 [Thread-7] INFO  c.a.c.i.AccessTokenCache - Acquired a new access token.

1.8.1
2023-03-25T18:04:55.145674363Z: [INFO]  18:04:55.145 [main] ERROR c.a.i.ManagedIdentityCredential - Azure Identity => ERROR in getToken() call for scopes [https://vault.azure.net/.default]: Managed Identity authentication is not available.
2023-03-25T18:04:55.146744363Z: [INFO]  18:04:55.146 [main] ERROR c.a.c.i.AccessTokenCache - Failed to acquire a new access token.

my code
@Bean
@Profile("azure")
public TokenCredential credential() {
  return new ManagedIdentityCredentialBuilder().build();
}

@Bean
@Profile("azure")
public SecretClient secretClient() {
  String vaultUrl = env.getProperty("azure.vault.url");
  return new SecretClientBuilder()
    .credential(credential())
    .vaultUrl(vaultUrl)
    .buildClient();
}

Semi-Related
I discovered discovered another issue when I upgraded from azure-identity 1.4.6 to latest.
for an app using a system-assigned managed identity, azure-identity 1.4.6 works perfectly fine if a client id is passed to ManagedIdentityCredentialBuilder whereas newer versions do not.
apparently this behavior changed and wasn't noted in the changelog.
it might be worth calling out that client id must not be provided when using a system-assigned managed identity in these newer versions of azure-identity.
the official docs here only allude to it by saying that client id is only required for user-assigned managed identities.
alternatively, you could make it very clear programmatically via some sort of SystemAssignedManagedIdentityCredentialBuilder vs UserAssignedManagedIdentityCredentialBuilder.

@KjeldSchmidt @bpossolo, this issue has been resolved in v.1.8.2 of azure-identity.
Recommend upgrading to v1.8.2

Closing this issue as this has been resolved in https://mvnrepository.com/artifact/com.azure/azure-identity/1.8.2 and later versions.


assertion in resolve

The following code:
    boost::urls::resolve(url, loc, url, ec);
```

Asserts, because the base and dest are the same object.
When performing a client redirect, I would prefer to avoid writing this code:

```
  auto new_url = boost::urls::url();
  boost::urls::redirect(my_url, new_loc, new_url, ec);
  if (!ec) {
    my_url = std::move(new_url);  // feels redundant. Can't the library do this for me?
    goto do_redirect;
  }
```

We could provide this overload
void resolve( url& base, url_view const& ref, error_code& ec );

This is my workaround:
Call site:
                    // perform the redirect by updating the URL and jumping to
                    // the goto label above.
                    url = resolve_redirect(
                        url,
                        boost::urls::url_view(
                            response[beast::http::field::location]));
                    goto again;

implementation:
boost::urls::url
resolve_redirect(boost::urls::url_view original, boost::urls::url_view loc)
{
    auto result = boost::urls::url();
    auto ec     = error_code();
    boost::urls::resolve(original, loc, result, ec);
    if (ec)
        throw system_error(ec, "failed to resolve redirect Location");
    return result;
}


Supported/Tested Hardware List

There are various ant usb sticks, and it would be interesting to have a list of tested/supported/recommended hardware options + OS combinations?

Good point, right now the only sticks I have tested are ANT-m sticks. In theory all sticks should behave the same at the protocol level (I am not certain about USB).
Regarding OS, most systems should be covered as I believe libusb is support by almost all major OS.
It honestly might be easier to have a "doesn't work" list if there are known bad combinations, and even then I think it would be an easy fix.

The only difference between the USB1, USB2, USB-m, and USB-UIF boards are the features they support and the serial baud rates. The serial rates might need to be tweaked for USB1 but I doubt there are many out there in the wild.


authorized false shouldOpenAppSetting false issue

hi,
i try this package in my project but cant auth to api. my code is here. i open app and select already opened google account.
(https://user-images.githubusercontent.com/16406484/110250034-57315f80-7f8a-11eb-8335-f9ce5df28cf2.jpeg)
import React, {useEffect} from 'react';
import {SafeAreaView, Text} from 'react-native';
import HealthTrackerAPI from '@kilohealth/rn-fitness-tracker';
import HealthDataTypes from '@kilohealth/rn-fitness-tracker';

const Tracking = () => {
  const login = async () => {
    // Setup Health tracking
    const authorizationStatus = await HealthTrackerAPI.setupTracking(
      [HealthDataTypes.Carbohydrates, HealthDataTypes.Calcium], // write types
      [HealthDataTypes.Carbohydrates, HealthDataTypes.Fiber], // read types
    );
    console.log(authorizationStatus);
  };
  useEffect(() => {
    (async () => {
      login();
    })();
  }, []);

  return (
    <SafeAreaView>
      <Text>Hello</Text>
    </SafeAreaView>
  );
};
export default Tracking;

version info:
react-native-cli: 2.0.1
react-native: 0.63.4

HealthTrackerAPI was used for HealthKit and from the photo I see your using android. If you want both platform support you need to use FitnessTracker methods.


Add a broacast receiver

Allow setting location mode and animation enabled state persistently via an Intent sent with adb.
For example:
adb shell am broadcast -n com.linkedin.android.testbutler/.ButlerReceiver --ei location_mode 1 --ez disable_animations false

Reviewer @jpkrause

Oops. This ought to have been on our own fork.

I'm interested in hearing what your use case is though :)

Hi @drewhannay — We would love to use this for our Appium automation tests. Some of those tests try to validate behavior when location settings are off, for example. So, I wrote a BroadcastReceiver that forwards Intent extras to ButlerService, now an IntentService that processes them. Pretty lightweight.


Display contributor list by fetching from GitHub API

For #50.
Changes

[x] Fetching contributor list of this repo using GitHub REST API v3
[x] Populating the list in build-time
[x] Applying the list to About page
[ ] More styling?

Screenshot

Oh nice! imho, the style can be updated later.

@mixth Great work!
Note that other contributors (e.g. designers) will be added by hand.

If the current style is good enough, this pull request is ready to be merged. 😃

@rapee, I agree with @mixth. We can merge this PR because (i guess) there'll be another iteration adjusting the style. The current version is quite good already.

@mixth @heytitle Merged!


Dynamic religious generation

EU4 religions will be converted in this order:

Check if a pre-scripted mapping is defined in religions_map.txt (link = { eu4 = catholic vic3 = catholic }): if found, map to it; if not, generate a dynamic religion in common/religions/religion.txt
Generated religions need to have this structure:

[string] = {
	texture = "gfx/interface/icons/religion_icons/[file].dds"
	traits = {
		[group]
	}
	color = { [NUM NUM NUM] }
}

The color can be inherited from the EU4 religion definition
The trait is defined by a particular religious_family_map.txt file (link = { eu4 = christian vic3 = christian })
The icon will be defined by a particular religious_icon_map.txt file (link = { eu4 = 1 vic3 = catholic })

The only loc needed for a generated dynamic religion is the [string]:  catholic:0 "Catholic"

Taboo assigning:

All religions that are Muslim need to have this line added taboos = { liquor wine }
Adamitism need to get this line added taboos = { clothes }

This has been solved, as shown on Discord


 No

What change(s) does this PR introduce?

Code refactor to use correlated subquery instead of long case statements in the compiled code.
Removed domain extension cleanup seed file as we felt it was making the macro too complex.
Removed redundant entries from seed file in integration data.
Updated is_personal_email macro to have 3 possible values. True in case domain is personal email, False, in case domain is not a personal email domain and NULL in case macro is not able to extract domain from the email. As we don't know the domain, it's more appropriate to set it as NULL.

Does this PR introduce a breaking change?

[x] Yes (please provide change details below.)
[ ] No
Users who were using is_personal_email will get the value as null. If they still want to continue with earlier behaviour, we have added a new param to the macro treat_null_as_false. If this value is set to true, then the null will be interpreted as false and the behaviour will be same as before.

Did you update the dbt_project.yml files with the version upgrade (using semantic versioning)? (In both the main project and integration_tests)

[x] Yes

Is this PR in response to a previously created issue

[x] Yes [https://github.com/sutrolabs/dbt_census_utils/issues/41]
[ ] No

Select which warehouses were used to test the PR

[x] BigQuery
[x] Redshift
[x] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (write name here)

Feedback
Thank you for contributing to a Census dbt package! You can give us feedback in the #tools-census channel of dbt Slack, or on the Operational Analytics Club Slack.

Looks great!


feat: merge develop into main

BREAKING CHANGE: add logging function for basic error types

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


LoadCredential doesn't result in a credential file being created

Describe the bug
When a systemd service uses LoadCredential it doesn't seem to get access to that credential, and it seems like the file in /run/credentials doesn't even exist.
Steps To Reproduce
Steps to reproduce the behavior:

I'm not sure what option is causing it, but I'm pretty sure it's boot.isContainer = true. So enable that option
Enable a service that makes use of LoadCredential like keycloak or nix-serve
The service will fail with an error that it doesn't have permissions for that file. Which I think happens because they don't have access to /run/credentials, but when inspecting that file, the file/folder where the credential should be doesn't exist.

Expected behavior
Systemd should create a folder in /run/credentials like nix-serve.service with the credential file, so the service can access it.
Additional context
I use vpsfree, so I've enabled the recommended options for a vpsfree server, https://gitlab.com/coffeetables/myrdd/-/blob/master/profiles/vpsadminos.nix. The rest of my server's config is in that repository.
I've also filed an issue in systemd/systemd#21789, but I think it might be a nixos specific issue. It was tagged in the systemd repo as an nspawn issue.
Here is log from nix-serve that i posted there:
error(1).log
I think this is the offending line: Failed to mount /run/credentials/nix-serve.service (type n/a) on /run/systemd/unit-root/run/credentials/nix-serve.service (MS_BIND ""): No such file or directory
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.60, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5pre20211007_844dd90`
 - channels(root): `"nixos-21.05pre287333.63586475587"`
 - nixpkgs: `/nix/store/q8fqyyh6l0apzm29x7syl04pdp886b2f-source`

I encounted the same issue when trying to run plausible, is there any workaround or fix?

Speaking for vpsFree.cz as mentioned by @Pacman99 , we have resolved this in February by mounting /run with the shared flag, which wasn't the default in our environment, but it seems to be the default elsewhere. A simple workaround to get LoadCredential working in our case was to run mount --make-rshared /run.

For anyone stumbling across this, as this happened to me too when running NixOS on LXD (on a NixOS host), here is a config snippet that may help:
boot.specialFileSystems."/run".options = [ "rshared" ];

Thanks for the help everyone, this issue seems to be resolved with the above fixes/suggestions


Register ratelimit

Not sure it's the right place ...

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

At a glance I can't see anything wrong with the position. Thank you!


Key error:"img0"

Dear author,
When I follow your directions and run the command:bash run_ssdg.sh ssdg_pacs 210 v1, there is a error that Key error:"Img0". So I ran the command print(batch_x) and I found that there was no key called "img0". Only "img" and "img2" in that dict.
Here is the shot screen:

Oops, I upaded the underlying source code in Dassl.pytorch by adding DATALOADER.RETURN_IMG0, which decides whether to return un-augmented images. See here for more details.
I have updated the config files in this repo so the error is fixed. Please pull the latest commit.

Thank you!!!


Add Energy Cell as an ammo subtype

https://github.com/foundryvtt/foundryvtt-premium-content/issues/873 to unblock this issue for the dmg module.
This may have to wait until the new SRD(?)

Ammo subtypes don't require base items, so it should be entirely possible to add this without the new SRD.

I'm not sure if that will be enough for them to unblock it or not--their concern seems to be locking use of the futuristic ammo type behind a paywall (understandable). Though maybe something could be worked out with them adding their version to DND5E.ammoIds now and the SRD Energy Cell, if it exists, redirecting (or the other way around). I guess we can wait and see, I'll comment on that issue again when 4.2 drops and if it is not enough, make another issue here about DND5E.ammoIds.

At this point, DND5E.ammoIds is not even used by the system. It was added along with containerTypes and focusTypes for the starting equipment system, but only focusTypes ended up actually being used by that system.


Added fix for arithmetic overflow at DefaultAlgorithmRReservoir

Thanks for helping out :+1:
Before submitting a pull request, please have a quick read through the contribution guidelines and provide the following information, where appropriate replace the [ ] with a [X]
Details on the issue fix or feature implementation
Original method from DefaultAlgorithmRReservoir has a bug with arithmetic overflow. It was caused by casting total count of type long to int.
When reservoir processed more than int.MaxValue elements, this unchecked cast will result in negative value of a size.
During snapshot creation array of UserValueWrappers will be created with negative size, thus resulting into OverflowException.
Now during casting total count to int it will be always lower than int.MaxValue, because it is compared to value's size.
Confirm the following

[x] I have ensured that I have merged the latest changes from the dev branch
[x] I have successfully run a local build
[ ] I have included unit tests for the issue/feature
[ ] I have included the github issue number in my commits

Hi @alhardy!
May you have a look on these fixes, please?

Sure, will be after Xmas though

Hi, @alhardy !
Merry Christmas and happy new year! May you have a look on this PR, please?

Hi, @alhardy !
Merry Christmas and happy new year! May you have a look on this PR, please?

Hi, @alhardy !
Merry Christmas and happy new year! May you have a look on this PR, please?

Thanks, same to you.
Ill have a look sometime this week

Hi, @alhardy !
Merry Christmas and happy new year! May you have a look on this PR, please?

Thanks, same to you.
Ill have a look sometime this week

@AxelUser LGTM
Could you please create the PR against the feature/4.2.0 branch instead of the dev branch though
Cheers

@AxelUser LGTM
Could you please create the PR against the feature/4.2.0 branch instead of the dev branch though
Cheers

Done!

Done!


Increased zhmcclient to 1.8.0

No review needed.

Coverage: 31.861%. Remained the same when pulling c82ad26ed584a263b98aedeb7df8b223bdab46da on andy/zhmcclient-1.8.0 into f2c6d33533c129a11172d4ecab39c9e953a1778f on master.


the FAQ about difference to Catch2 is missing tags

In Catch2 you can add tags to your test-cases e. g.
TEST_CASE("test-name", "[first_tage][second_tag]" ) {
...
}

As far as I can see doctest doesn't have this. You can also selectively run tests based on tags.

perhaps I should put a separate bullet point for it (apart from other small stuff). There's an example how to easily convert Catch2 test cases using tags to doctest test cases there.


docs(changelog): add example as approved in #1604

matching https://github.com/gacallea/freesound-credits/blob/ac12bc0cf2df64df935f8f1fbd6e2a3888f22ca6/CHANGELOG.md
I would add some wording and screenshot but I am keeping simnple for now, matching the docs style.
cheers!

The config page is already huge so I don't want to add changelog configuration examples there. Imo we should create a new page similar to this one. Do you want to work on it?

I agree with you. I didn’t know if I could.
I am on it!
On Thu, Aug 15, 2024 at 8:15 AM, Marco Ieni @.***> wrote:  The config page is already huge so I don't want to add changelog configuration examples there. Imo we should create a new page similar to this one. Do you want to work on it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@MarcoIeni ignore pushes for now. I will let you know when it's ready.

@MarcoIeni I believe I am done phew....
In the end I preferred splitting the single file into its own category and adding sections.
Examples wise: this was the hard part to fix/adjust/test rinse and repeat. I decided to include the three most interesting ones instead of copying over from git-cliff. Some of them may require things you don't have in your schema and if people really want what I considered redundant and uninteresting, they can be my guest... it was a PITA :P
I also added some language conf to docusaurus because highlight of toml and json wasn't working in code blocks.
Let me know what you think!

ps: I have not being able to avoid the messed menu in Examples (see on the right, it includes mdx-code-block when it shouldn't ) but I believe an up to date docusaurus will fix that.

hi @MarcoIeni , I see some things fail. Link I cabn't do much about it since the examples folder doesn't exist yet. Anything else let me know if you need anything from me.

I believe an up to date docusaurus will fix that.

I updated the branch so that we are using a more recent version 👍
Running npm i brings you to 3.5.1
I'm having a quick look now, but I don't have time to do a full review. Maybe later today 👍

Thanks for adding json and toml syntax highlight btw. It looks awesome 🤩

trying to fix the broken toc on examples. requesting backup https://github.com/facebook/docusaurus/discussions/10409

trying to fix the broken toc on examples. requesting backup facebook/docusaurus#10409

not much I can do without breaking at least something. I am leaving this as is.

@MarcoIeni I would like to add two/three more examples:
1 - default (showing release-plz default config/output)
2 - github and/or github+keepachangelog
for 1: where can I find this to easily add an example file?
for 2: this depends if release-plz uses the same .github. variables but I haven't been able to find them in the schema.
cheers

for 2: this depends if release-plz uses the same .github. variables but I haven't been able to find them in the schema.

Yes, I haven't implemented those yet. https://github.com/MarcoIeni/release-plz/issues/989
I plan to work on this soonish 👍

for 2: this depends if release-plz uses the same .github. variables but I haven't been able to find them in the schema.

Yes, I haven't implemented those yet. #989 I plan to work on this soonish 👍

ok then :) I think I am done for real now :)
let me know if you need anything else!

I noticed the default changelog isn't producing the correct format. I removed the extra new line in the body but I still need to understand why the header doesn't have the new line. Maybe it's a bug 👀

Also, I think it's better to inline the examples in the docs instead of having them in a separate examples dir.

I noticed the default changelog isn't producing the correct format. I removed the extra new line in the body but I still need to understand why the header doesn't have the new line. Maybe it's a bug 👀
Also, I think it's better to inline the examples in the docs instead of having them in a separate examples dir. In this way, people do less back-and-forth

Fair enough :)
I added the extra line because of that "bug" and because markdown wants lines in between headers and such. I do so in my config as well.
Regarding the examples dir vs inline, I also tend to agree if it is clean enough. I just did what git-cliff was doing.
I am going to check these changes later, if there is anything I need to do please let me know.

ps: I have an idea for inlining the conf:
just adding a toml code block in the same fashion as the output ones (folded):

Tomo configuration
Raw output
Rendered output

ps: I have an idea for inlining the conf:
just adding a toml code block in the same fashion as the output ones (folded):

TOML configuration
Raw output
Rendered output

I implemented this, let me know if it's good now :)

@MarcoIeni regarding markdown-cli failing: I tried fixing those header coming from mdx-code-block code but there is no way around it. (see above discussion on docusaurus repo). I'd opt to remove those entirely. What do you reckon?

I reverted back the config.md file. I'm not sure it's the right thing to do because changelog is a part of the configuration but at least in this way we don't break existing links (maybe there's a way to redirect, not sure). Anyway for now it should be good enough 👍

I reverted back the config.md file. I'm not sure it's the right thing to do because changelog is a part of the configuration but at least in this way we don't break existing links (maybe there's a way to redirect, not sure). Anyway for now it should be good enough 👍

it is your project/site and the choice is ultimately yours. i did my best categorizing things and fixed all links npm run build complained about. unless you are worried about SEO here.

yay! thank you Marco for this amazing tool! I did my best but you had to comb over lots! Sorry it is my first contrib with Rust (even if just docs). I'll do better next time :P
(not right now but I would like to have a go at #1009 when I finish The Book -- ssssh don't tell anyone!)

It was a great contribution. I'm happy you did your first Rust contribution in release-plz 🥳
That issue is really hard! If you want a less hardcore experience check good-first-issues 👍


hangs in training

Thanks for your codes!
I was able to successfully train configs/e2e_mask_rcnn_R-50-FPN_1x.yaml with a (batch_size, learning_rate) = (8, 0.01) until a certain number of iterations (max = ~60K). So far, the losses look quite similar to your benchmark.
Training speed is also quite comparable to Detectron
The issue I'm having is the training hangs randomly at a certain iteration, which is not consistent from run to run, sometimes after 5K, 1K, or 60K iterations.
I'm using 4 V-100 GPUs.
Any thoughts?

Thanks @roytseng-tw
I now used 4 P100 GPUs and the training completed successfully, with no hangs. However, the box and mask APs were slightly lower. I used a batch size of 8 and a learning rate of 0.02. Number of iterations is 90K, with learning rate down scaled at 60k and 80k iterations.
I used the training script in tools/train_net.py.
Any suggested optimal hyper parameters that would reproduce detection results?
Thanks!

Could you share your testing results ? and which architecture did you trained ?

commit 9cbb285
I trained using python tools/train_net_step.py --dataset coco2017 --cfg configs/e2e_mask_rcnn_R-50-FPN_1x.yaml --use_tfboard --bs 16 --nw 16 over 8 P100 GPUs, I got mAP 0.3598 for bbox, and  0.3252 for mask.
INFO task_evaluation.py:  65: Evaluating segmentations is done!
INFO task_evaluation.py: 180: copypaste: Dataset: coco_2017_val
INFO task_evaluation.py: 182: copypaste: Task: box
INFO task_evaluation.py: 185: copypaste: AP,AP50,AP75,APs,APm,APl
INFO task_evaluation.py: 186: copypaste: 0.3598,0.5697,0.3911,0.2030,0.3844,0.4752
INFO task_evaluation.py: 182: copypaste: Task: mask
INFO task_evaluation.py: 185: copypaste: AP,AP50,AP75,APs,APm,APl
INFO task_evaluation.py: 186: copypaste: 0.3252,0.5386,0.3419,0.1417,0.3454,0.4896

Yeah, I also get 0.357 mAP of bbox and 0.325 mAP of segm, which are slightly lower than 0.37 using 4 Tesla P40 GPUs with 16 batch size. The command is same as yours.

@fitsumreda, that's strange. Your results with 8 GPUs should be better than my results with only 4 GPUs reported in README, because I didn't adjust some RPN config options correctly before.

Close the issue, since it's off the topic.
Open a new issue if you still can't get the results right.


When will this package be production ready?

I aim to announce the v1 during Laracon Amsterdam, end of this month.

Any news when the v1 will be released?

At LaraconEU it was announced that it will be released on Tuesday (tomorrow)


Release 1.1.0-rc2

1.1.0 (2021-08-02)
Added

Function to apply the quantity discount price ( https://github.com/qbicsoftware/offer-manager-2-portlet/pull/707)

Adds a new DTO OfferItem which represents an item on the offer (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/728)

Display total quantity discount included in the offer in the offer overview (https://github.com/qbicsoftware/offer-manager-2-portlet/issues/686)

Adds a new DTO OfferContent which represents the content of an offer (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/724)

Uses new DTOs instead of performing unnecessary computations in PDF creation (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/725)

Adds the CreateOfferContent use case (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/735)

Add discount unit and percentage to discount items, specify the discount item description (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/755)

Adds the total price before VAT is applied to an offer (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/754)

Fixed

Invert quantity discount in order to be able to display size of discount (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/710)

Include Offer ID Prefix in Offer PDF filename (https://github.com/qbicsoftware/offer-manager-2-portlet/issues/685)

Differentiate between internal and external product unit prices (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/713)

Include internal and external prices as well as facilities in the products (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/712)

The internal and external product unit prices are shown in the user interface (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/723)

Reset the offer update view, when a new offer is selected in the offer overview (https://github.com/qbicsoftware/offer-manager-2-portlet/issues/716)

Offers without an experimental design can now be updated (https://github.com/qbicsoftware/offer-manager-2-portlet/issues/726)

Creating a product switches name and description (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/731)

Space names are now validated (https://github.com/qbicsoftware/offer-manager-2-portlet/pull/736)

Dependencies

mysql:mysql-connector-java:8.0.24 -> 8.0.25

org.mariadb.jdbc:mariadb-java-client:2.7.2 -> 2.7.3

life.qbic:data-model-lib:2.8.2 -> 2.11.0

Deprecated

 Release offer-manager 1.1.0


Add device usage privacy philosophy

@dcomas care to review and merge? I'll make a post in the relevant thread about this.

(misclick on auto merge while looking through notifications 😅)


ng g --help advises us incorrectly

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

Repro steps.
when running a command incorrectly we sometimes get a help message advising us how to get help. This is good. However it is not always working.
For example, I make this mistake (--dryrun should be --dry-run)
$ ng g c dashboard/foobar --dryrun
The option '--dryrun' is not registered with the generate command. Run `ng generate --help` for a list of supported options.

ok, so i run ng g —help and my output says ...

The ng generate --help command requires a name to be specified.

so  i run $ ng g c —help and there is no output, but it seems there should be
cc @filipesilva

@sumitarora could this be related with your recent fix to ng help?

@filipesilva looking into it


IPv6 support

Support listen IPv6 port

Supported, just can not support IPv4 and IPv6 at the same time.

For IPv6, cpprestsdk support listen hostname instead of ipv6 address. OS configuration will determine enable ipv6 or ipv4

"RestListenAddress": "localhost",
[root@centos73 app-manager]# netstat -anp | grep 6060
tcp6       0      0 ::1:6060                :::*                    LISTEN      3277/appsvc
[root@centos73 app-manager]# appc view
id name        user  status   return pid    memory  start_time          command_line
1  sleep       root  enabled  0      3383   352 K   2019-09-25 16:05:23 /bin/sleep 60

Enable IPv4 and IPv6 at the same time:
Set RestListenAddress to empty
"RestListenAddress": "",
[root@appmgr app-manager]# appc view
id name        user  status   return pid    memory  start_time          command
1  sleep       root  enabled  0      6331   352 K   -                   /bin/sleep 60
[root@appmgr app-manager]# netstat -anp | grep 6060
tcp        0      0 <IP_ADDRESS>:6060            <IP_ADDRESS>:*               LISTEN      6595/appsvc
tcp6       0      0 fe80::ca0:112d:2dc:6060 :::*                    LISTEN      6595/appsvc


How to indent toc

We are trying to indent toc chapter, section and subsection.

For example, 4.1 to be a little bit more in the right.

I don't understand what you are trying to archive. The default table of contents looks like this:

Hi @Wandmalfarbe, sorry for the confusion, we were using another template. AHueahueaea
We switched to yours. Thanks,


Code that depends on declared variable typechecks, breaks when variable is implemented

Bug Report
🔎 Search Terms
Declarations, narrowing
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about declarations

⏯ Playground Link
Playground link with relevant code
💻 Code
export type TSError<msg extends string> = {
    typeScriptError: msg;
    imaginary: never;
};

export const vtag = Symbol("vtag");

export type VariantOf<r> = {
    [k in keyof r]: { [vtag]: k; value: r[k] };
}[keyof r];

export type ReturnsOf<cs> = {
    [k in keyof cs]: cs[k] extends (i: never) => infer o
    ? o
    : TSError<"Each case in a case analysis of a variant must be a function">;
};

declare const match: <options, cases extends { [k in keyof options]: (i: options[k]) => unknown }>(value: VariantOf<options>, cases: cases) => VariantOf<ReturnsOf<cases>>;

declare const test1: VariantOf<{ foo: string, bar: number }>

const result1 = match(test1, { foo: s => s.length, bar: n => n }).value // : number, Good!

const test2: VariantOf<{ foo: string, bar: number }> = { [vtag]: 'bar', value: 10 }

const result2 = match(test2, { foo: s => s.length, bar: n => n }) // type errors, Bad!

🙁 Actual behavior
The last line has type errors.
🙂 Expected behavior
The last line should have no type errors, and the type of result2 should be the same as that of result1, i.e. number. The inputs in each case (test1 and test2) have the same declared type: they only differ in that I implemented one of them.
The reason this is happening seems to be that the typechecker is ignoring my type declaration and inferring the the type of the variable from the implementation (which happens to to be a subtype of my declared type). I'm not sure why it's doing this.
Notes
I would expect that if the following code type checks:
declare const <something>: <Something>

... <code involving something> ...

And the following code typechecks:
const <something>: <Something> = <some implementation>

Then the following code should typecheck:
const <something>: <Something> =  <some implementation>

... <code involving something> ...

Apparently not the case in general, as shown above. I believe the situations in which this does not hold should be considered bugs.

Working as intended, comes up as an issue over and over again. The assigned type takes priority over the type annotation.
Consider this example:
const f: number | undefined = 5;
f.toFixed();

Should this complain about toFixed() not existing on undefined (using the annotated type, your suggestion) or should this work because the compiler knows always a number is assigned (current implementation)?
It's exactly the same case as this:
let f: number | undefined = undefined;
f = 5;
f.toFixed();

You can work around this behavior by using a type assertion.

Should this complain about toFixed() not existing on undefined (using the annotated type, your suggestion) or should this work because the compiler knows always a number is assigned (current implementation)?

It should complain about toFixed not existing on undefined. The entire point of the type annotation is to ensure that the variable has the specified (widened) type.
In general, if we have const x: X = y, where the inferred type of y is Y and Y :< X, simplistically narrowing the definition to x: Y will cause problems when x is passed into a function <T>(t: T) => F<T> whenever F is contravariant. When F is covariant, F<Y> is just as good as F<X>, given Y :< X. But when F is contravariant, F<Y> is not an appropriate substitute for for F<X>: for this reason it is not appropriate in general to narrow the type of a declared variable (at least not without analysis of its usage).

Previously initialization wasn't a narrowing site, and we got two frequent bug reports - the first being that this is wholly inconsistent with a declaration followed by an initialization.
The other bug is that people would have a type alias like type Cool = string | number | undefined; and write code like
let p: Cool = getKnownString();
// expect no error because why on earth should it?
if (p.length > 0) {
  p = doOtherCoolThing();
}

All narrowing in TS is unsound in the presence of passing references to contravariant functions so that's really a red herring.


Rendering issues on iOS bevy

Bevy version
Right after this commit - https://github.com/bevyengine/bevy/commit/509b138e8fa3ea250393de40c33cc857c72134d3 -iOS rendering started to fail.
Operating system & version
Tested on iOS 14 and on the simulator on Mac 10.14.
What you did
Tried to spawn SpriteBundle/gltf scene (2d example with working audio but with image rendering issue).
What you expected to happen
Image and gltf scenes render successfully as it was before this commit https://github.com/bevyengine/bevy/commit/509b138e8fa3ea250393de40c33cc857c72134d3 (for example with this commit everything works fine: https://github.com/bevyengine/bevy/commit/61b181a699ed2b450bebc8c14d96c6af55fa41cf).
Additional information
I'm pretty sure that something wrong with rendering changes but it's weird that it renders perfectly on Android, Windows, and Mac. I couldn't find any ios specific code that could break render.

Can you reproduce this in a more recent version of Bevy?

We were able to build bevy on iOS on bevy v0.8. I close this issue.


Please add ID7 Tourer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I have added it, but it still needs to be checked:
https://github.com/mitch-dc/volkswagen_we_connect_id/pull/273
You can also build it into you integration yourself, just go to config\custom_components\volkswagen_we_connect_id_init_.py and adjust line 36 as follows "SUPPORTED_VEHICLES = ["ID.3", "ID.4", "ID.5", "ID. Buzz", "ID.7 Limousine", "ID.7 Tourer"]".
Then restart HA.

#273

Thanks a lot my car will come next month then I will try out and give feedback...

I have now switched to https://github.com/robinostlund/homeassistant-volkswagencarnet, it supports ID7 and is being further developed.


Fix effect on time fields

Summary
https://werkbotstudios.teamwork.com/#/tasks/29296814
Testing Steps

[x] build with this js
[x] create a clm embed
[x] add these fields in the embed content

<form class="fw-form">

	Field label
	<input id="time_field" type="time">

</form>

[ ] confirm label effect works on time fields

We will probably want to support all the following: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types

Good thinking! I went ahead and did this. Please take another look when you can!


BUG - annotation-converter exception when resolving references

Related Feature
Support of freestyle apps by Fiori Tools
Description
While testing, I generated a test app with the app generator.
I used the basic template, but an ALP mock service for it.
When trying to open the Page Map for it, it fails with an exception.

Reason is an exception at sap-ux/annotation-converter:

As a result, the schemas and configs cannot be generated by sap/ux-specification:

Steps to Reproduce
Steps to reproduce the behavior:
0. Open VSCode and install the SAP Fiori Tools - Extension Pack

Open the test app
basicwithservice2208-2024-08-230855.zip
Use command "Fiori: Show Page Map"
See error

Expected results
The given alis definitions look OK and should get resolved
Actual results
Exception
Version/Components/Environment
Add any other context about the problem here
OS:

[X] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

Hi @schreckstefan i just checked the part which are specific to the annotation converter and loading and processing this file works well on the latest version.
My assumption is that you are not calling this properly.
Looking at the failing code and the error message i can only imagine that the references from your input type is a readonly variable, when we're expecting it not to be.
Parsing with edmx-parser (which is the standard implementation) and converting works fine.
Please have a look on your side and close this issue when that's done :)

Hi @nlunets ,
The coding did not change on our side since a while:
 converterOutput = convert(mergeParser(...parseResult));
Even if I change this to
let mergedParserResult = mergeParser(...parseResult);
converterOutput = convert(mergedParserResult);

I run into the same error.

@schreckstefan the problem on your side occurs because there is no references in this file, while i assume all the other you tested had some.

@nlunets  Yes, you are right. The app was corrupted somehow. Does not appear with newly generated app.
Let me close the issue - if I can reproduce in future, I will clarif ywith the app gen colleagues.

Sorry Nicolas,
But a new issue  appeared which describes the same problem, so we have to find a solution for it.
Could you please test the conversion of project2-2024-08-221334.zip?
Question is why you need to manipulate the original file at all, by adding references, which is the Northwind model that looks consistent.
And finally the question is why my workaound, as describe in https://github.com/SAP/open-ux-odata/issues/847#issuecomment-2310075875, did not have any effect.
Additional note:
https://github.wdf.sap.corp/ux-engineering/specification is still using annotation-converter 0.8.15 and edmx-parser 0.7.1, as the upgrade to the latest versions also leads to issues.
Reference: https://github.wdf.sap.corp/ux-engineering/specification/pull/2765
Many of our test-projects fail with the new versions, I am still analyzing what happens.

The inputs are modified because if we need to writeback, we need the references we introduced.
I can only reproduce the error if I deliberately freeze the input.
I can try to make it so that even this case works ... let me see

You just updated dependencies? Ok, let me check. As mentioned, there had been some issues when I tried to apply 0.9.1 before. Will keep you informed.

no i patched the code :)

Looks much better with 0.9.2, only one unit test failing ... let me check that one

@nlunets
Confirmation: the new version works well, it solves the problem, and I can ship the consumption of the latest versions


Update stable version in repo from 0.3.9 to 0.3.10

Think about update stable version to 0.3.10
Version: stable=0.3.9 (97 days old) => latest=0.3.10 (15 days old)
Installs: stable=1753 (60.76%), latest=549 (19.03%), total=2885
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

wait for 0.3.11 - 0.3.10 was removed from changelog

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.3.10 but in the meantime an update to version 0.3.11 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm195 for evidence


Add “nb” to non-binary patterns

I & lots of other non-binary folks I know use “nb” as shorthand for non-binary, so adding that to the list :+1:

Thanks, could you add a test to test_declared_gender.py please? Write a characteristic Twitter bio that includes "nb" and make sure it's classified as non-binary.

Ah sure, sorry I didn’t see that!

Thanks!


Cookie Manager

Server side requests - done
Client side and http header fix will be implemented in next commit!


Update Set-MyAnalyticsFeatureConfig.md

Change proposed by PM Vikram Gupta (vikgup@microsoft.com).
Edit to this file made by Paul Schafer<EMAIL_ADDRESS>on 10 June 2021.

Docs Build status updates of commit 5d3f264:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-MyAnalyticsFeatureConfig.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 402c23c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-MyAnalyticsFeatureConfig.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Home page counter preloading.

While surfing the website, I encountered a counter-preloading issue on the home page. Before the user sees the counter effect it's already been loaded.
I think I can resolve this issue so kindly assign the problem to me, I'd like to contribute.

I've assigned you to this issue 👍


Release 0.0.16

0.0.16
Fixes

Prepare for future card config changes.

Fixes https://github.com/gurbyz/power-wheel-card/issues/32


DOC-1602: Added note about regional by row tables and region changes

Fixes DOC-1602

Region changes to a DB cannot occur at the same time as index modifications or locality changes to REGIONAL BY ROW tables

This change is

TFTR!


Run two instances rather than one

According to PaaS’ docs, “for a production app, you should always run more than one instance.”
https://docs.cloud.service.gov.uk/managing_apps.html#increasing-instances
Also updated another out of date link to their docs.

You can preview this change here:
Built with commit fa47418930bbd5ef2c900f27228f104d4da1f18d
https://deploy-preview-640--govuk-design-system-preview.netlify.com


images,test: Remove noop SKIP_DOCS

Commit 5d92cae2 ("make: Simplify docs targets") removed the usage of SKIP_DOCS from the Makefile but didn't remove it's usage in make calls. This pull request fixes it by removing SKIP_DOCS from all places using it, to not give the wrong impression that docs builds are actually skipped.
Fixes: https://github.com/cilium/cilium/pull/10572.

The Travis CI failure will be fixed by https://github.com/cilium/cilium/pull/18953. The changes in this pull request shouldn't affect Travis CI or anything else anyway since SKIP_DOCS is never used while compiling. Marking ready to merge.


Fixed a gcc "possible undefined operation" warning.

Ick! Ha, obvious typo. I will merge this, thanks for the fix.


Incorrect CURIEs when the name includes an underscore

See for example:
https://www.ebi.ac.uk/ols4/ontologies/hp/properties/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252Fuberon%252Fcore%2523indirectly_supplies
In the breadcrumbs at the top of the page you can see indirectly:supplies which should be indirectly_supplies. This is because the CURIE is wrong, visible in the API as obo_id:
https://www.ebi.ac.uk/ols4/api/ontologies/hp/properties/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252Fuberon%252Fcore%2523indirectly_supplies

This has been fixed in production.


Prepend domains in Matomo tracking code

Why these changes are being introduced:
The Page report in Matomo needs to show the full domain name for each tracked page,
Relevant ticket(s):
https://mitlibraries.atlassian.net/browse/UXWS-1564
How this addresses that need:
This prepends the site domains to each view to provide the complete URL, as described here.
Side effects of this change:
This change has already been made in LibGuides.
Developer
Stylesheets

[ ] Any theme or plugin whose stylesheets have changed has had its version
string incremented.

Secrets

[ ] All new secrets have been added to Pantheon tiers
[ ] Relevant secrets have been updated in Github Actions
[ ] All new secrets documented in README

Documentation

[ ] Project documentation has been updated
[x] No documentation changes are needed

Accessibility

[ ] ANDI or Wave has been run in accordance to
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)

Stakeholder approval

[ ] Stakeholder approval has been confirmed
[ ] Stakeholder approval is not needed

Dependencies
NO dependencies are updated
Code Reviewer

[ ] The commit message is clear and follows our guidelines
(not just this pull request message)
[ ] The changes have been verified
[ ] The documentation has been updated or is unnecessary
[ ] New dependencies are appropriate or there were no changes

Closing this as it doesn't seem to do what the Matomo team suggested it would. (Domains are prepended to the titles, not the page URLs.) We will use segments for now to differentiate between Libguides and libraries.mit.edu traffic.


chore(main): release 1.6.0

:robot: I have created a release beep boop
1.6.0 (2024-07-05)
Features

beta parameter (4c96636)
First Commit (f7e0fe4)
First Commit (39e6fe7)
First Commit (ce9c278)
First Commit (22850e1)
intermediate object in each rank/lambda (1c32b28)
Optional Parameter (e0c4787)
Revert to v1.5.0 (f9e5550)
Sparse Format (47d823e)
Sparse Format (cd007ab)
X_new/U_new (6205015)
X_new/U_new (71fa0f3)

Bug Fixes

aggregate (3f8372d)
aggregate (a96e150)
debug of bestlambda (dad13f3)
Debug test (12fcea8)
Devert to v1.5.0 (cfb1d1f)
Non-tab delimited File (67f1ce4)
README (a46ca35)
README (c5e4b6b)
README (36adb3c)
README (caee719)
sbmfcv (b62e448)
sbmfcv (5b04a08)
typo (10d7369)
typo (7a5291e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/chiba-ai-med/SBMFCV/releases/tag/v1.6.0 :sunflower:


Django?

I'm interested in incorporating this into a Django project. Has anyone adapted this to work with Django and Channels?
Thanks!

try this
https://bit.ly/4e4zLlq
select the desired compiler in the installer


[Proposal]  considering container migration across machines.

Hi, I saw  the PRs in runc and docker to support container migration using CRIU, that is appreciated.
But the PR only supports migration on one machine.
So I wonder why not support Checkpoint/Restore Containers across machines? And I have this requirement and investigated it too.

Yes that's helpful and necessary, but I'm not sure this is something should be supported by Docker since Docker itself is on one machine, this is more like orchestration work.

I agree with @hqhq here; this is something that should be implemented by orchestration software. First we need to have https://github.com/docker/docker/pull/13602 accepted and merged, and work from that.
Thanks for suggesting, though!
I'm going to close this issue, because this won't be implemented as part of docker-engine, but may be possible with orchestration software, once the API is available.


puppet: Drop all log2zulip configuration.

Disabled on webservers in 047817b6b0f2, it has since lingered in
configuration, as well as running (to no effect) every minute on the
loadbalancer.
Remove the vestiges of its configuration.

lgtm.