km to mi conversion incorrect

Looking on my Cupra Connect app, I can see that the odometer is currently at 3678km, and the next service is in 23400km
I've got the configuration set to km to mi, however the sensor for the odometer is reading 367.8 mil and the service is reading 2,639.3 mil, so the same thing.
The correct conversion if I change the units in the Cupra Connect app should be 2285miles on the odometer and service in 16400 miles

Looking on my Cupra Connect app, I can see that the odometer is currently at 3678km, and the next service is in 23400km
I've got the configuration set to km to mi, however the sensor for the odometer is reading 367.8 mil and the service is reading 2,639.3 mil, so the same thing.
The correct conversion if I change the units in the Cupra Connect app should be 2285miles on the odometer and service in 16400 miles

This is expected behaviour. If you want miles then switch to imperial units. The "mil" is not equal to "miles". You have chosen conversion from km to scandinavian "mil".


🐞 Using dagger with start service sometimes loses its TCP connection

What is the issue?
We're using service containers as a form of basic local up for our developers. This means that we've got a basic set of features available during either development or a local go test ./... that can use these databases.
client.
     Container().
     From("rabbitmq").
     WithExposedPorts(...)
     AsService().
     Start(ctx)

What we've experienced is that these tests run fine once, but on the second run they cannot form a connection with the service containers. We also setup postgres, and you cannot run psql to connect to said database again.
We've found no logs in to highlight that there is a degradation in the connection.
Dagger version
dagger v0.10.1 (registry.dagger.io/engine) darwin/arm64
Steps to reproduce
We sadly cannot share the code explicitly because it is private, I can probably reproduce it in a minimal reproducible example if needed.
However, we basically just need to start a service container, and then in a separate process open a lot of connections to said service via. localhost, and do that over an over until the connection degrades, sometimes it takes a few attempts.
Log output
We got no log output to suggest what went wrong.
service container
32: start docker-entrypoint.sh rabbitmq-server
32: > in service rpgb0ibugd8em
32: [20.1s] 2024-04-25 07:37:33.052228+00:00 [info] <0.841.0> accepting AMQP connection <0.841.0> (<IP_ADDRESS>:33074 -> <IP_ADDRESS>:5672)
32: [20.1s] 2024-04-25 07:37:33.055628+00:00 [info] <0.841.0> connection <0.841.0> (<IP_ADDRESS>:33074 -> <IP_ADDRESS>:5672): user 'lunar' authenticated and granted access to vhost '/'
WARNING: conn read error error="read tcp [::1]:5432->[::1]:63545: read: connection reset by peer"
WARNING: conn read error error="read tcp [::1]:5432->[::1]:63702: read: connection reset by peer"
WARNING: conn read error error="read tcp [::1]:5432->[::1]:64165: read: connection reset by peer"
WARNING: conn write error error="write tcp [::1]:5672->[::1]:63331: write: broken pipe"
32: [50.1s] 2024-04-25 07:38:03.079579+00:00 [info] <0.841.0> closing AMQP connection <0.841.0> (<IP_ADDRESS>:33074 -> <IP_ADDRESS>:5672, vhost: '/', user: 'lunar')
32: [71.2s] 2024-04-25 07:38:24.189303+00:00 [info] <0.865.0> accepting AMQP connection <0.865.0> (<IP_ADDRESS>:49040 -> <IP_ADDRESS>:5672)
32: [71.2s] 2024-04-25 07:38:24.192665+00:00 [info] <0.865.0> connection <0.865.0> (<IP_ADDRESS>:49040 -> <IP_ADDRESS>:5672): user 'lunar' authenticated and granted access to vhost '/'
WARNING: conn read error error="read tcp [::1]:5432->[::1]:64988: read: connection reset by peer"
WARNING: conn read error error="read tcp [::1]:5432->[::1]:65168: read: connection reset by peer"
WARNING: conn read error error="read tcp [::1]:5432->[::1]:65086: read: connection reset by peer"

engine
time="2024-04-25T07:37:18Z" level=debug msg="Starting new container for 6ph1b82egugpj7j8l2m7tafer with args: [\"docker-entrypoint.sh\" \"postgres\"]"
time="2024-04-25T07:37:18Z" level=debug msg="creating new network namespace fumtaz0cwu4391si181ckz945"
time="2024-04-25T07:37:18Z" level=debug msg="finished creating network namespace fumtaz0cwu4391si181ckz945"
time="2024-04-25T07:37:18Z" level=debug msg="Starting new container for fz7t0lkzaiorsmk07vlvedwt9 with args: [\"check\" \"skd1d114fbjga.6i0fpbd99ci3g.dagger.local\" \"5432/tcp\"]"
time="2024-04-25T07:37:18Z" level=debug msg="returning network namespace tbn4gj3k75v2n1p95416mh6wj from pool"
time="2024-04-25T07:37:18Z" level=debug msg="> creating fz7t0lkzaiorsmk07vlvedwt9 [check skd1d114fbjga.6i0fpbd99ci3g.dagger.local 5432/tcp]"
dnsmasq[35]: read /var/run/containers/cni/dnsname/dagger/addnhosts - 3 names
time="2024-04-25T07:37:18Z" level=debug msg="finished setting up network namespace fumtaz0cwu4391si181ckz945"
time="2024-04-25T07:37:18Z" level=debug msg="> creating 6ph1b82egugpj7j8l2m7tafer [docker-entrypoint.sh postgres]"
time="2024-04-25T07:37:20Z" level=debug msg="session call done" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f server_id=3h06plss4crr4bgtqx6hkndd0 spanID=f8aebb6f9254a635 traceID=99614924813587bc4b207489c15b08b4
time="2024-04-25T07:37:20Z" level=debug msg="handling session call" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f register_client=false server_id=3h06plss4crr4bgtqx6hkndd0 spanID=92c78ab55db51e2f traceID=e25602b10db79f703ffcb1622c3d3281
time="2024-04-25T07:37:20Z" level=debug msg="forwarding client to server" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f server_id=3h06plss4crr4bgtqx6hkndd0 spanID=92c78ab55db51e2f traceID=e25602b10db79f703ffcb1622c3d3281
time="2024-04-25T07:37:25Z" level=debug msg="session call done" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f server_id=3h06plss4crr4bgtqx6hkndd0 spanID=4ebb30438b61162c traceID=79f9f1c7a15b0de71027185e685d527f
time="2024-04-25T07:37:25Z" level=debug msg="handling session call" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f register_client=false server_id=3h06plss4crr4bgtqx6hkndd0 spanID=1a67c4f8fb872a25 traceID=c8f0a4054b33c5fa7784fd6752282e7f
time="2024-04-25T07:37:25Z" level=debug msg="forwarding client to server" client_call_digest= client_hostname=Kaspers-MBP-2.localdomain client_id=dei5chfcgot883qm2tch2wh8f server_id=3h06plss4crr4bgtqx6hkndd0 spanID=1a67c4f8fb872a25 traceID=c8f0a4054b33c5fa7784fd6752282e7f
time="2024-04-25T07:38:07Z" level=debug msg="engine metrics" cpu-count=10 cpu-idle=226125545 cpu-iowait=12891 cpu-irq=0 cpu-nice=0 cpu-softirq=44145 cpu-steal=0 cpu-system=336522 cpu-total=227403229 cpu-user=884126 dagger-server-count=1 disk-available-/=75965255680 disk-available-/var/lib/dagger=75965255680 disk-free-/=81581993984 disk-free-/var/lib/dagger=81581993984 disk-size-/=110044049408 disk-size-/var/lib/dagger=110044049408 goroutine-count=165 loadavg-1=0.87 loadavg-15=0.1 loadavg-5=0.29 mem-active=2528231424 mem-available=12679118848 mem-buffers=840466432 mem-cached=4569395200 mem-committed=3948711936 mem-free=6813241344 mem-inactive=3905118208 mem-mapped=748650496 mem-page-tables=9674752 mem-shmem=385974272 mem-slab=1232470016 mem-swap-cached=29573120 mem-swap-free=1034706944 mem-swap-total=1073737728 mem-total=14646792192 mem-vmalloc-used=21434368 proc-self-mem-anonymous=31412224 proc-self-mem-private-clean=38178816 proc-self-mem-private-dirty=31412224 proc-self-mem-pss=69591040 proc-self-mem-referenced=69595136 proc-self-mem-rss=69595136 proc-self-mem-shared-clean=4096 proc-self-mem-shared-dirty=0 proc-self-mem-swap=0 proc-self-mem-swap-pss=0 server-3h06plss4crr4bgtqx6hkndd0-client-count=3 uptime=63h16m34s
time="2024-04-25T07:39:07Z" level=debug msg="engine metrics" cpu-count=10 cpu-idle=226182841 cpu-iowait=12895 cpu-irq=0 cpu-nice=0 cpu-softirq=44372 cpu-steal=0 cpu-system=337603 cpu-total=227462396 cpu-user=884685 dagger-server-count=1 disk-available-/=75964829696 disk-available-/var/lib/dagger=75964829696 disk-free-/=81581568000 disk-free-/var/lib/dagger=81581568000 disk-size-/=110044049408 disk-size-/var/lib/dagger=110044049408 goroutine-count=167 loadavg-1=0.8 loadavg-15=0.14 loadavg-5=0.39 mem-active=2529685504 mem-available=12661223424 mem-buffers=840466432 mem-cached=4572168192 mem-committed=3958726656 mem-free=6794358784 mem-inactive=3914629120 mem-mapped=748720128 mem-page-tables=10043392 mem-shmem=388321280 mem-slab=1235222528 mem-swap-cached=29573120 mem-swap-free=1034706944 mem-swap-total=1073737728 mem-total=14646792192 mem-vmalloc-used=21499904 proc-self-mem-anonymous=32137216 proc-self-mem-private-clean=38178816 proc-self-mem-private-dirty=32137216 proc-self-mem-pss=70316032 proc-self-mem-referenced=70320128 proc-self-mem-rss=70320128 proc-self-mem-shared-clean=4096 proc-self-mem-shared-dirty=0 proc-self-mem-swap=0 proc-self-mem-swap-pss=0 server-3h06plss4crr4bgtqx6hkndd0-client-count=3 uptime=63h17m34s

our application
2024-04-25T09:38:24.209+0200    error   transport/consumer.go:90        [amqp] Consumer Go routine stopped with an error: initialize consumer on exchange integrationevents routing keys [identity.identity.IdentityDeleted]: declare exchange 'integrationevents': Exception (504) Reason: "channel/connection is not open"  {"log_type": "app", "template": "[amqp] Consumer Go routine stopped with an error: %v"}
go.lunarway.com/amqp/transport.(*Consumer).StartConsumer.func1
        /Users/kah/go/pkg/mod/go.lunarway.com/amqp@v1.4.5/transport/consumer.go:90
2024-04-25T09:38:24.209+0200    info    transport/consumer.go:92        [amqp] Consumer Go routine stopped      {"log_type": "app", "template": "[amqp] Consumer Go routine stopped"}
2024-04-25T09:38:34.208+0200    error   vostok@v1.2.4/logger.go:13      [vostok] Shutdown of components timed out (timeout: 10s). Exiting now!  {"log_type": "app", "template": "[vostok] Shutdown of components timed out (timeout: %s). Exiting now!"}

As you can tell after a few attempts we simply cannot form the tcp connection with the rabbitmq service container. It may be because there isn't enough tcp connections available though. But I do see runs run through successfully once.

I reviewed this one with @vito. There is no obvious explanation to why you experienced this, this isn't a known issue.
@kjuulh would you be able to share a repro code snippet that occurs with the latest dagger engine? I am also aware that there might be some connection drop from the engine when the host is under heavy load (because of a pipeline running), not sure if it's relevant in that particular one.

@samalba thanks for giving it a look. We're currently bumping to the latest version and will circle back then. If we still find issues, I'll either reopen the issue with a minimal reproducible example, or create a new one with more details.


Fix hydration warning when user is logged in

Fixes https://github.com/saleor/react-storefront/issues/661

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Hackgreenville.com Redesign

I'd like to present the idea of using this laravel instance as the backend and a seperate project as a frontend using something like nuxt with a theme like vuetify
I could update the code and create the base nuxt ui, configure nuxt on apache on a lightsail instance or something. It cost like 10 dollars a month

nuxtjs
Vuetify
Laravel passport

@vaaish @pamelawoodbrowne @jeremywight and Casey Gold have done a survey to suss out the next phase of user desires.  It would be nice to improve the look and UX of the site in the processes.
I'll defer to those folks. However, we do have a free Apache host that I'm well versed in so preference at this point would be to host for free, CFG managed server(s) vs paid setups.
Case in point, I just spend about 8 hours figuring out and moving a Python-based events API from a free Heroku that failed yesterday morning. The original dev moved to Virginia and checked-out on the project.

I have that same internal debate on every project lol. Free is always good. For nuxt, if people like that option, if the server can host nginx or apache as a proxy server so it can handle ssl if need and run something like pm2 for the node server. It's the basic setup I use.

I would like to add nuxt is my favorite but by no means the only thing I'd be open to working with. Next is also great if people like react. Just nuxt is easier, IMO. I'd be happy to help on the project to make it more successful

@zach2825 @allella @jeremywight @pamelawoodbrowne
It's been a bit since I looked at the survey results since I'm preparing to move in the next few weeks, but I don't recall it gave much more insight for us. I'm not really particular on the backend or framework we use to build the site myself, but it would be good to know any constraints going in so we don't design things that aren't going to work.

Good point no sense in overworking the project.

You can probably closed out this task. So we can start adding specific items to work on. Like set bootstrap 4 variables for the colors or set the brand logo and favicon

Interested to see if @vaaish has thoughts on design elements once the recent Larvel, cleanup, and design tweaks go live.
Not trying to discount the work @zach2825 has been doing, but it's been more focused on technical cleanup and some visual and UX improvements, but to this point we've not taken a holistic review of the design.
We'll take what we can get, but if Aaron sees is still free to assist then we should tie him in at some point soon, perhaps when the cleanup is live?

Started a conversation on the HG Slack to get some input, keywords, and such from the broader community to seed the copy
https://app.slack.com/client/T0420TN6E/C0420TN6U/thread/C0420TN6U-1575574236.073000?cdn_fallback=1

Closing this issue so we can focus on specific tasks / issues related to the new layout and design.


Not able to get the value of lowpowermode in 24H2 OS

Summary
Working on Windows application.
usePowerState().lowPowerMode is returning always 'false' in 24H2 OS.
Note: This works properly in 23H2 OS
Windows Settings => Power & Battery => Battery Saver (ON)

Version
10.9.0 and 13.0.0

Affected OS
Windows

OS Version
24H2

Current behavior
Getting 'false' always
Expected behavior
It should be 'true' when battery saver/ Energy Saver is turned ON

I'm just not sure how this line could go wrong:
https://github.com/react-native-device-info/react-native-device-info/blob/78b70a07bc1248d16eb286416b78e9328cb493b4/windows/code/RNDeviceInfoCPP.h#L328C35-L328C90
We appear to be using it as documented:
https://learn.microsoft.com/en-us/uwp/api/windows.system.power.powermanager.energysaverstatus?view=winrt-26100
https://learn.microsoft.com/en-us/uwp/api/windows.system.power.energysaverstatus?view=winrt-26100
Additionally, we appear to be subscribing correctly for changes to use in hooks:
https://github.com/react-native-device-info/react-native-device-info/blob/78b70a07bc1248d16eb286416b78e9328cb493b4/windows/code/RNDeviceInfoCPP.h#L29-L30
... delegating back to the original getPowerState method on change events:
https://github.com/react-native-device-info/react-native-device-info/blob/78b70a07bc1248d16eb286416b78e9328cb493b4/windows/code/RNDeviceInfoCPP.h#L891-L894
and we're listening correctly I think https://github.com/react-native-device-info/react-native-device-info/blob/78b70a07bc1248d16eb286416b78e9328cb493b4/src/index.ts#L825-L828
You might try comparing the information you get from calling the API methods directly vs in hooks, and/or you might try adding debug / printout code into the windows implementation to see what it is doing (that is, log that the method is called, log all return values etc
It appears @jaimecbernardo was the original implementer but that was nearly 4 years ago! So Jaime may know something, or may have forgotten completely about this 😆
I won't be able to assist further, apologies, but PRs are happily accepted.


djxl v0.6.1 unable to decode JPEG transcoded to JXL by cjxl v0.7.0

djxl v0.6.1 is unable to decode JXL files that were created by JPEG lossless transcode using recent version of cjxl.
d:\>cjxl Obrázky\tapeta.jpg a.jxl
WARNING: CPU supports 1800 but software requires<PHONE_NUMBER>000000
JPEG XL encoder v0.7.0 40460f7 [SSE4,SSSE3]
Read JPEG image with 80401 bytes.
Encoding [Container | JPEG, lossless transcode, effort: 7 | JPEG reconstruction data],
Note: Implicit-default for JPEG is lossless-transcoding. To silence this message, set --lossless_jpeg=(1|0).
WARNING: CPU supports 1800 but software requires<PHONE_NUMBER>000000
Compressed to 56994 bytes including container

d:\>djxl a.jxl a.jpg
JPEG XL decoder v0.6.1 a205468 [SSE4,Scalar]
Read 56994 compressed bytes.
Unknown compressed image format

d:\>djxl a.jxl a.png
JPEG XL decoder v0.6.1 a205468 [SSE4,Scalar]
Read 56994 compressed bytes.
Unknown compressed image format

djxl is supposed to decode all valid codestreams since 0.5

After discussion on Discord, it seems that this might be a limitation of djxl v0.6.1 as the container format seems to be not fully supported in this version. So this issue might be irrelevant after djxl v0.6.1 is deprecated.


Pr/tp/bugtool refactor

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

closing in favor of #24448. Changes will be broken up into a few PRs, starting with -> #24448.

closing in favor of #24448. Changes will be broken up into a few PRs, starting with -> #24448.


docker-storage-setup: Default to using 40% of free space for data volume

Fixes issue #67
Some people complained that using 60% of free space might be a lot. Instead
start small and let the pool grow automatically.
So drop the default data volume size to 40% of free space.
Signed-off-by: Vivek Goyal<EMAIL_ADDRESS>

@cgwalters
Can you please review this one too.

@cgwalters
Agreed. Both are arbitrary numbers. We can adjust these as we have more data to justify a different number.


Update js-yaml version

With<EMAIL_ADDRESS>benchmarks for Fabric-v1.4 fails while
instantiating chaincode.
Signed-off-by: Jinwoo Hwang<EMAIL_ADDRESS>

@hnan1118 ， Did you run npm install -g node-gyp node-pre-gyp before testing ? I don't know if the version of js-yaml caused the failure.

@hnan1118 Please share more info about the error you encountered, and why you think js-yaml was the problem.

Hmm, weird. I tried to generate the same errors by downgrading js-yaml but it's working fine now.
I was trying to setup caliper on my remote ubuntu machine and kept on having problem with instatiating chain code.
warn: [e2eUtils.js]: instantiate proposal was bad:
Error: error starting container: error starting container:
Failed to generate platform-specific docker build:
Error uploading input to container:
API error (404): Could not find the file /chaincode/input in container 224be72dd688d3ed38855a2843f3e3c76bdab40b7afe0384ce4e1c1d6d3e1162

I'm not sure if this was the specific error I got, but I think this was the one.
Using Fabric-v1.1 was the only working benchmark.
Then, I tried the same on my local ubuntu laptop, and Fabric-v1.4 worked fine.
I compared the npm list with my remote machine and the only difference was js-yaml version (3.13.0 / 3.12.0)
So I updated my js-yaml version on my remote machine and it worked fine so I opened this pull request.
I'm pretty much sure the only package I changed was the js-yaml though.

@hnan1118 Looks like a transient error that failed to copy/prepare/find the installed chaincode. I don't think it's a client-side (Caliper) error

Okay. Thank you guys for the kind reply.
Now that I know I've mistaken, I'm closing the pull request.


JMS log receiver shall handle TextMessage

Beginning with jadice server <IP_ADDRESS> the log messages which are broadcast via the JMS topic JS.LOG are serialized via Log4J's XMLLayout into a TextMessage.
(See release notes: https://support.levigo.de/products/jadice/server/current/german/content/ch.releasenotes.html#d0e5075 / JS-1317)
Thus the MessageListener here must be changed to this message format

Implemented and merged with PR #28


container: Force on anonymous fetches if no config file

We've seen a weird error out of the container stack when we're not authorized to fetch an image, and no pull secret is set up.
e.g.  https://github.com/coreos/fedora-coreos-tracker/issues/1328#issuecomment-1292067775
error: remote error: getting username and password: 1 error occurred:
	* reading JSON file "/run/containers/62011/auth.json": open /run/containers/62011/auth.json: permission denied

We don't want the containers/image stack trying to read the "standard" config paths at the moment for a few reasons; one is that the standard paths conflate "root" and "the system".  We want to support separate pull secrets.  But, it should also work to symlink the authfile.

Draft since I'd like to add tests for this, and it could use some design discussion.
Perhaps we should read the standard container auth paths.  (In the privsep case we'd need some code to read the secret as root).


set_rich_presence not work

I'm not familiar with rust. but I do some test like this
and i found the code not work ,maybe some package should upgrade ,maybe other reason.
    #[test]
    fn it_works() {
        let value = Some("test");
        let a = value
            .and_then(|v| CString::new(v).ok())
            .map(|s| s.as_ptr() as *const _)
            .unwrap_or(std::ptr::null());
        let c: &CStr = unsafe { CStr::from_ptr(a) };
        println!("........{:#?}", c);
       // it will print only .......
    }

    #[test]
    fn t_t() {
        let a = CString::new("tttt").unwrap_or_default();
        println!("........{:#?}", a);
        let b = a.as_ptr() as * const c_char;
        println!("........{:#?}", b);
        let c: &CStr = unsafe { CStr::from_ptr(b) };
        println!("........{:#?}", c);
        //it will print ......"test"
    }

#58 @Noxime

I'm using this library through bevy_steamworks and I can confirm that I'm not able to set rich presence, I don't get an error but the /devtestrichpresence endpoint on steamworks doesn't work either.
@Noxime

Thank you for the report, sorry for taking so long to get around to it. Fixed in #559c202. Oddly there was no associated crash even though there should have been.

I also ran into this one today, main seems to work. Maybe make a new crates.io release?


Update to: Specter v0.8.0

see https://github.com/rootzoll/raspiblitz/issues/1171#issuecomment-669027062 from #1171

Hi, in case you haven't started with this yet, there's version 0.6.1 which contains a few bug fixes and would be nice to have instead.
https://github.com/cryptoadvance/specter-desktop/releases/tag/v0.6.1

@ben-kaufman thx, havent yet 0.6.1 sounds good :)

Also merged PR #1481 to add missing library

Here we go :)
https://github.com/cryptoadvance/specter-desktop/releases/tag/v0.7.2

Update PR merged - moving to final testing.

Specter 0.8.0 is out:
https://github.com/cryptoadvance/specter-desktop/releases/tag/v0.8.0
Update successfully with the UPDATE menu (available in the latest script for RaspiBlitz v1.6.1)
I suggest we should ship with the latest version by default.

Update form Specter v0.5.5 in RaspiBlitz v1.6:
#uninstall old version
/config.scripts/bonus.cryptoadvance-specter.sh off
# install the missing dependency
sudo apt install -y libffi-dev
# change script to use the latest version
sed -i "s#cryptoadvance.specter==0.5.5#cryptoadvance.specter==0.7.2#g"  /home/admin/config.scripts/bonus.cryptoadvance-specter.sh

Update Bug Reported: https://github.com/rootzoll/raspiblitz/pull/1566#issuecomment-699681734

@openoms merged #1619 ... did you found any hint of the bug mentioned above while testing.

Nope, but I am way past of updating from 0.5.5.
There were no errors installing v0.8.0 or 0.8.1. Update works too.

We could probably add this entry to the bitcoin.conf:

Should bring some performance gains and have enough space on the 1TB drives.
Anyone concerns?
checking how long it takes, just started now on my RPi4 4GB + SSD:

$ sudo cat  /mnt/hdd/bitcoin/debug.log | grep "block filter"
2020-10-07T19:00:12Z * Using 111.8 MiB for basic block filter index database
2020-10-07T19:00:54Z basic block filter index thread start
2020-10-07T19:00:54Z Syncing basic block filter index with block chain from height 0
2020-10-07T19:01:25Z Syncing basic block filter index with block chain from height 6824
...
2020-10-07T19:03:32Z Syncing basic block filter index with block chain from height 15584

Was about 10 hours in the background rescanning a couple wallets simultaneously.
sudo cat  /mnt/hdd/bitcoin/debug.log | grep "block filter"
2020-10-07T19:00:12Z * Using 111.8 MiB for basic block filter index database
2020-10-07T19:00:54Z basic block filter index thread start
2020-10-07T19:00:54Z Syncing basic block filter index with block chain from height 0
...
2020-10-08T05:15:31Z basic block filter index is enabled at height 651757
2020-10-08T05:15:31Z basic block filter index thread exit

Once activated the warning from Specter is gone, so does not need ,much explanation I think.

All funtions of Specter run OK while the additional index is building ... or do we need a info in the status menu, that the "index is still building"?

I did not find any problems while building the index as it works without as well only slightly slower. The warning disappears probably because it is looking in the bitcoin.conf.
Will ask quickly in the Specter TG to be sure.

OK merged the Specter-BlockfilterIndex PR ... installs fine so far. I am see this testing OK. @openoms if you dont get any contradicting info from the specter TG then I will close this issue for the v1.6.1 release.

they said there should be no issue while indexing. Specter queries the bitcoind RPC for everything, that should be able to deal with it.

OK perfect .. closing this issue for v.16.1 release.


Ensure Proto-Fragment cannot refer itself

See linked issues for description

As it is this PR is pointless.
The check will never ever be triggered.


angular-i18n has wrong dateformat in Thai.

The fulldate format in angular-locale_th-th.js and angular-locale_th.js are wrong.
Current value is "fullDate": "EEEE\u0e17\u0e35\u0e48 d MMMM G y",
Example : {{landingViewModel.bookingInfo.checkIn | date : 'fullDate'}}
It will generate a date like this "วันพุธที่ 17 ธันวาคม G 2014",
which the G letter should be "พ.ศ." if year is 2557 Buddhist Era (BE)
and for A.D. 2014 it should be "ค.ศ."
or you can remove the G letter it will correct as well.

Would it be possible to change year format from AD to BE? It might be very useful for a lot of people if there is an option in date filter to choose an era format.


Sidebar is breaking , the text is overlapping.

The gh-pages branch after deployment is breaking the side bar, probably due to extra headings in beginning, let's make it a normal text.
Check out the link - https://vinitshahdeo.github.io/Water-Monitoring-System/

@Kashish121 Assigning you this.
Please change the Frequently Asked Questions for GSSoC to FAQs for GSSoC. Also, convert all the COVID related sections with normal text (not headings).

@Kashish121 is the PR ready?

@Kashish121 Closing this issue as it's fixed now. Thanks for your contribution.


The issue of the react-native installation reaction -native-vector- icons?

After I installed the reaction -native-vector- icons, there was an error:
error: bundling failed: Error: Unable to resolve module react-native-vector-icons/Ionicons from /Users/chenchaoming/Desktop/react_nat/app/App.js: Module react-native-vector-icons/Ionicons does not exist in the Haste module map
I don't know how to solve it. I hope my friends can help me solve it. Thank you very much!

@oblador   @almost @javache @mkonicek  @sahrens  Thank you very much for your help.

What is the solution?

@oblador @almost @javache @mkonicek @sahrens which solution you have provided to @chaoming007? I am facing the same issue, please help

I was having the same problem. I  executed the npm installcommand again, and after i ran react-native link, and it works normally 😄

Should be solved with modern RN


App crashes when navigating to earn screen before login

Describe the bug
The app is crashing when navigating to earn screen without logging in.  I can see the following error in the debugger:
ExceptionsManager.js:184 TypeError: Cannot convert undefined or null to object

This error is located at:
    in EarnMapDataInjected (at SceneView.tsx:130)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:122)
    in SceneView (at useDescriptors.tsx:181)
    in RCTView (at View.js:32)
    in View (at BottomTabView.tsx:55)
    in SceneContent (at BottomTabView.tsx:172)
    in RNSScreen (at createAnimatedComponent.js:242)
    in AnimatedComponent (at createAnimatedComponent.js:295)
    in AnimatedComponentWrapper (at src/index.native.tsx:171)
    in Screen (at ResourceSavingScene.tsx:30)
    in ResourceSavingScene (at BottomTabView.tsx:166)
    in RNSScreenContainer (at src/index.native.tsx:238)
    in ScreenContainer (at BottomTabView.tsx:146)
    in SafeAreaProviderCompat (at BottomTabView.tsx:145)
    in BottomTabView (at createBottomTabNavigator.tsx:45)
    in BottomTabNavigator (at root-navigator.tsx:498)
    in PrimaryNavigator (at SceneView.tsx:130)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:122)
    in SceneView (at useDescriptors.tsx:181)
    in RCTView (at View.js:32)
    in View (at CardContainer.tsx:245)
    in RCTView (at View.js:32)
    in View (at CardContainer.tsx:244)
    in RCTView (at View.js:32)
    in View (at CardSheet.tsx:33)
    in CardSheet (at Card.tsx:573)
    in RCTView (at View.js:32)
    in View (at createAnimatedComponent.js:242)
    in AnimatedComponent (at createAnimatedComponent.js:295)
    in AnimatedComponentWrapper (at Card.tsx:555)
    in PanGestureHandler (at GestureHandlerNative.tsx:13)
    in PanGestureHandler (at Card.tsx:549)
    in RCTView (at View.js:32)
    in View (at createAnimatedComponent.js:242)
    in AnimatedComponent (at createAnimatedComponent.js:295)
    in AnimatedComponentWrapper (at Card.tsx:544)
    in RCTView (at View.js:32)
    in View (at Card.tsx:538)
    in Card (at CardContainer.tsx:206)
    in CardContainer (at CardStack.tsx:623)
    in RNSScreen (at createAnimatedComponent.js:242)
    in AnimatedComponent (at createAnimatedComponent.js:295)
    in AnimatedComponentWrapper (at src/index.native.tsx:171)
    in Screen (at Screens.tsx:74)
    in MaybeScreen (at CardStack.tsx:616)
    in RNSScreenContainer (at src/index.native.tsx:238)
    in ScreenContainer (at Screens.tsx:50)
    in MaybeScreenContainer (at CardStack.tsx:498)
    in CardStack (at StackView.tsx:462)
    in KeyboardManager (at StackView.tsx:458)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
    in SafeAreaProvider (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at StackView.tsx:455)
    in RCTView (at View.js:32)
    in View (at StackView.tsx:454)
    in StackView (at createStackNavigator.tsx:87)
    in StackNavigator (at root-navigator.tsx:260)
    in RootStack (at app.tsx:280)
    in ChildrenWrapper (at wrapRootComponent.js:9)
    in _default (at wrapRootComponent.js:8)
    in Root (at RootSiblingsManager.js:75)
    in RootSiblingParent (at app.tsx:278)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:411)
    in BaseNavigationContainer (at NavigationContainer.tsx:91)
    in ThemeProvider (at NavigationContainer.tsx:90)
    in NavigationContainer (at app.tsx:244)
    in ApolloProvider (at app.tsx:243)
    in App (at renderApplication.js:50)
    in RCTView (at View.js:32)
    in View (at AppContainer.js:92)
    in ChildrenWrapper (at wrapRootComponent.js:9)
    in _default (at wrapRootComponent.js:8)
    in Root (at AppContainer.js:107)
    in RCTView (at View.js:32)
    in View (at AppContainer.js:119)
    in AppContainer (at renderApplication.js:43)
    in GaloyApp(RootComponent) (at renderApplication.js:60)

To Reproduce
Steps to reproduce the behavior:

Tap on version number in settings a few times
Tap logout to clear app data
Tap reload to start app as a fresh install
Navigate through learn to earn screens
Once on main screen tap Earn

Expected behavior
Earn screen is displayed
Screenshots

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fixed in #260


release build failing due to Firestore Messaging androidx incompatibility

Note: C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_messaging-4.0.0+4\android\src\main\java\io\flutter\plugins\firebasemessaging\FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
debug build is working fine
release is failing

@bij0y
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/305. Any further collaboration will be done there.


Feature request: Text mode support for DSL Serializer

Context and Motivation
Implementation Plan

[x] Add text mode support for Schema Set
[x] Add text mode support for Binding
[x] Add text mode support for External Format Connection
[x] Create extension mechanism to move serializer connection related logic out from core
[x] Re-organize code for external format connection

Hey @gayathrir11, thanks for filing this issue! Could we rephrase the 4th step to something like: create extension mechanism to move serializer connection-related logic out from core

NOTE: Updated this to New Feature instead of RFC


would be great to use the new router 3.0.0

Hey @thinkrapido, we will upgrade to the most recent router soon. I think we'll give the ng team time to publish another rc -> rc5 before we'll migrate from router-deprecated to the most recent router implementation

so cool. thumbs up.

router 3.0.0 has been integrated see 1db36f7916827c50be4d0e2b2d13d42dda9544d2


j.sal.fs.copyDirTree doesn't remove files on dest which isn't in src

steps:

create a dest folder and add a unique file to it
do j.sal.fs.copyDirTres(src, dest) and then check the dest dir

Expected result
It should delete the unique file under dest folder

This is the expected behavior.


Implicit hide animation causes AccessViolationException + Fail fast exception in Windows.UI.Xaml.dll and MinUser.dll

Hello,
I'm having a problem with an exception that is thrown in my app (I know how to reproduce it, fortunately) that I have no idea how to solve.
A few info on the problem:

The same crash happens in the same way both in Debug and Release mode
When crashing in Debug mode (without .NET Native), VS doesn't show any kind of error message and the app just closes, and after a few seconds the VS debugger closes too
When debugging with .NET Native enabled, I manage to get these two info on the exceptions being thrown: AccessViolationException and then (pressing Continue on the debugger) a FailFastException
~This issue is possibly related to the RichEditBox control I'm using and it happens when calling the 'ITextRange.Move(TextRangeUnit, Int32)' method repeatedly (even though the number of times needed to make the app crash is variable). So, this is possibly related to #223~
It looks like the issue is caused by an implicit composition animation I play whenever I close a popup, removing it works as a workaround for the crash
None of those exceptions had an available StackTrace in the debugger (could be just because of the .NET Native compiler, I'm not sure)
The app targets W10 build 10.15063

Anyways, I don't think this is to be expected and right now I have a section of the app that's completely broken because of this and I have absolutely no idea on what to do to solve this problem.
Any help would be really appreciated, thank you in advance!
Sergio

I managed to pinpoint the cause of the issue (updated the first post), it looks like the problem is caused by a composition hide animation I play when hiding a popup.
This is the code for the implicit hide animation.
Hope it will help!

I've created a crash dump with the app compiled in Debug with .NET Native (when the crash happens without the .NET Native toolchain enabled, VS doesn't let me create a crash dump).
I hope this might help investigate the issue! 👍

Hi @Sergio0694, apologies from a late response. I am investigating this issue now. I will respond back to you as soon as possible with an update or questions. Thanks!

Hi @Sergio0694 - we made some changes in these code paths as a part of the development for the next version of Windows. Can you please try out the broken scenario using an insider build and let us know if the issue still occurs?

@Sergio0694 - I was wondering if you were still seeing this issue?

Hey @scott-moore-ms - yeah sorry for the late reply, I'll try this again and see if the issue is no longer there 😄


Does cross-compile works for influxdb

Hi,
I am developing on my Mac so I build everything from my mac,
I used gox for cross-compiling influxdb binary for linux  (ubuntu)
gox -verbose -osarch="linux/amd64" -output "pkg/{{.OS}}/{{.Arch}}/{{.Dir}}" ./...

But I got this error everytime I try to start my compiled binary on my ubuntu box :

 8888888           .d888<PHONE_NUMBER>b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x400f8c]

goroutine 1 [running]:
main.NewConfig(0x8a4e80)
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:159 +0x38c
main.ParseConfigFile(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:323 +0x59
main.parseConfig(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/run.go:243 +0x54
main.execRun(0xc20800a010, 0x4, 0x4)
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:110 +0x5cb
main.main()
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:70 +0x35b

goroutine 2 [runnable]:
runtime.forcegchelper()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/proc.go:90
runtime.goexit()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1

goroutine 3 [runnable]:
runtime.bgsweep()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/mgc0.go:82
runtime.goexit()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1

goroutine 4 [runnable]:
runtime.runfinq()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/malloc.go:712
runtime.goexit()
        /Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1

goroutine 5 [runnable]:
os/signal.loop()
        /Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:19
created by os/signal.init·1
        /Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [runnable]:
main.func·002()
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:216
created by main.startProfiling
        /Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:222 +0x2dc

So if anyone have any idea ..
Thanks

Looks like your system is having a hard time creating the required
directories.
https://github.com/influxdb/influxdb/blob/master/cmd/influxd/config.go

Can you pass a config file to influxd, and set the directories as shown in:
https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml

Philip
On Thu, Mar 19, 2015 at 7:45 PM, Etourneau Gwenn<EMAIL_ADDRESS>wrote:

Hi,
I am developing on my Mac so I build everything from my mac,
I used gox for cross-compiling influxdb binary for linux (ubuntu)
gox -verbose -osarch="linux/amd64" -output "pkg/{{.OS}}/{{.Arch}}/{{.Dir}}" ./...
But I got this error everytime I try to start my compiled binary on my
ubuntu box :
8888888           .d888<PHONE_NUMBER>b.  888888b.
888            d88P"  888                   888  "Y88b 888  "88b
888            888    888                   888    888 888  .88P
888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
888   888  888 888    888 888  888   X88K   888    888 888    888
888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x400f8c]
goroutine 1 [running]:
main.NewConfig(0x8a4e80)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:159 +0x38c
main.ParseConfigFile(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:323 +0x59
main.parseConfig(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/run.go:243 +0x54
main.execRun(0xc20800a010, 0x4, 0x4)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:110 +0x5cb
main.main()
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:70 +0x35b
goroutine 2 [runnable]:
runtime.forcegchelper()
/Users/etourg/.gvm/gos/go1.4/src/runtime/proc.go:90
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 3 [runnable]:
runtime.bgsweep()
/Users/etourg/.gvm/gos/go1.4/src/runtime/mgc0.go:82
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 4 [runnable]:
runtime.runfinq()
/Users/etourg/.gvm/gos/go1.4/src/runtime/malloc.go:712
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 5 [runnable]:
os/signal.loop()
/Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:19
created by os/signal.init·1
/Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x35
goroutine 6 [runnable]:
main.func·002()
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:216
created by main.startProfiling
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:222 +0x2dc
So if anyone have any idea ..
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/2024.

Specifically:
https://github.com/influxdb/influxdb/blob/master/cmd/influxd/config.go#L159
On Thu, Mar 19, 2015 at 8:35 PM, Philip O'Toole<EMAIL_ADDRESS>wrote:

Looks like your system is having a hard time creating the required
directories.
https://github.com/influxdb/influxdb/blob/master/cmd/influxd/config.go

Can you pass a config file to influxd, and set the directories as shown in:
https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml
Philip
On Thu, Mar 19, 2015 at 7:45 PM, Etourneau Gwenn<EMAIL_ADDRESS>
wrote:

Hi,
I am developing on my Mac so I build everything from my mac,
I used gox for cross-compiling influxdb binary for linux (ubuntu)
gox -verbose -osarch="linux/amd64" -output "pkg/{{.OS}}/{{.Arch}}/{{.Dir}}" ./...
But I got this error everytime I try to start my compiled binary on my
ubuntu box :
8888888           .d888<PHONE_NUMBER>b.  888888b.
888            d88P"  888                   888  "Y88b 888  "88b
888            888    888                   888    888 888  .88P
888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
888   888  888 888    888 888  888   X88K   888    888 888    888
888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x400f8c]
goroutine 1 [running]:
main.NewConfig(0x8a4e80)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:159 +0x38c
main.ParseConfigFile(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/config.go:323 +0x59
main.parseConfig(0x7fffd700db3c, 0x2c, 0x0, 0x0, 0x0)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/run.go:243 +0x54
main.execRun(0xc20800a010, 0x4, 0x4)
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:110 +0x5cb
main.main()
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:70 +0x35b
goroutine 2 [runnable]:
runtime.forcegchelper()
/Users/etourg/.gvm/gos/go1.4/src/runtime/proc.go:90
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 3 [runnable]:
runtime.bgsweep()
/Users/etourg/.gvm/gos/go1.4/src/runtime/mgc0.go:82
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 4 [runnable]:
runtime.runfinq()
/Users/etourg/.gvm/gos/go1.4/src/runtime/malloc.go:712
runtime.goexit()
/Users/etourg/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1
goroutine 5 [runnable]:
os/signal.loop()
/Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:19
created by os/signal.init·1
/Users/etourg/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x35
goroutine 6 [runnable]:
main.func·002()
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:216
created by main.startProfiling
/Users/etourg/.gvm/pkgsets/go1.4/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:222 +0x2dc
So if anyone have any idea ..
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/2024.

@otoolep I found the problem here : https://github.com/influxdb/influxdb/pull/2026

Will be fixed by https://github.com/influxdb/influxdb/pull/2039

@otoolep Even if I understand your fix, is not a real fix in case of cross compiling, the problem is the os/user don't work when you cross compile, so saying "failed to determine current user for storage" is not true is more like the way how you determine is false. That's why I was using another library which is working even with cross compiling.

Determining a home directory is only intended for when the system is spun up without a config.  It is only intended to spin up without a config for people to do a quick "test drive" of the system, or local development, not meant for production.  Creating a config is very easy, and let's you specify exactly where the data directory should be.
So this is less about if we can/can't determine a user home directory, and really only trying to make a convenience for quickly evaluating the system.  If you install from our packages, we give you a config to run with and this isn't a problem.
If someone were to push up a PR that solves this better without a third party library, and continues to leverage the convenience, I'm sure we would review and likely merge it in.  In the meantime, specifying a config is the best route to solve the problem.
Thanks again for your attention on this.


Install failed with react-native 0.5.0

npm ERR! peerinvalid The package react-native does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

This seems not to be published to npm? I still get the same error when installing :-(

ditto.  I'm getting this error too.

ditto, I had to git clone and npm install from local directory, then it works

Same. Need npm updated for this


Cannot scroll on Pinephone Pro

I'm using a Pinephone Pro running Mobian / Phosh.
Installation and message sync works perfectly; however, I cannot scroll through messages: moving my finger up and down the screen just gives the mouseover effect (light grey background) to each message.

Long pressing works as expected.
Using a USB mouse to scroll works as expected.

can you try the latest v1.10.1 from either releases or flathub and see if the issue persists?

After updating to <IP_ADDRESS>, the issue persists.

After updating to <IP_ADDRESS>, the issue persists.

Do you have the 'Improve Mouse Wheel Scrolling' setting turned on or off?

It is turned off.

Looks like it's a flutter issue, unfortunately.
https://github.com/flutter/flutter/issues/90366
I'll continue watching for updates or workarounds.

FYI, I just tested on Manjaro with KDE Plasma Mobile, with same result.

Having read the linked issue, I see it has nothing to do with Wayland/X11 (the main reason I did the above test). It does seem to be Flutter, as you said; and unfortunately it is not a new issue.


Save via git

While writing https://github.com/MFEK/glif/issues/103#issuecomment-848242931 I was reminded that most editors with good plugins get a "replace save() with git.commit()" plugin, and it's possibly so useful to be a good candidate for an out of the box feature.
Lmk if you want links to prior art, but it's a fairly simple concept.

Possibly this is related to the inotify hot reload of UFO stuff, since checking out another commit will trigger that, etc

Actually, rather than being a good candidate for an out of the box feature, I think this is a good candidate for an example evcxr script, because I want to add Rust scripting to our headless mode. I hope to end up distributing example scripts in contrib/ similar to FontForge (except, functional, and no arguing this time about which ones go in because I'm charge! :stuck_out_tongue_closed_eyes:).
It'd just require hooking into the save hook and calling a shell command. Very simple example script.

I don't object to this, but I also think it will be very slow.

Which part of that suggestion do you think would be slow? Ironically even pre-compiled Rust using library calls to libgit2 to manipulate repositories is slower that shelling out from Rust to the system git command for many operations (especially the big batch operations such as 'commit all changed files' because it has optimizations that the library version does not) — and is only faster in some cases (usually if you want to round-trip a lot of times between your app and the Git object storage for blobs that don't need computing, just read/write). I don't see how executing this from a save hook would be appreciably different than making it an out of the box feature unless the spin up time for evcxr processing is significant (that I don't actually know).

Fred and I talked about this recently, and we're going to make this our first plugin. It's a good candidate for that as it's going to have to hook into a lot of places we're going to want to expose to the plugin system, and it's relatively uncomplicated.
There is a consideration to be made on the shell script end of things is that it requires git in PATH for Windows users. Does libgit2 also require an executable in PATH or is that functionality built-in to the library itself?

Anything built with libgit2 (the Rust crate is just a wrapper around the C bindings) does not require any executable or path at all, everything is baked into the library. This tends to have pros and cons vs. a shell callout that are not a clear win for either side, it's very circumstantial. I've done it both ways and would still use different ways for different use cases but experience has taught me my gut instinct isn't always right on which one will be best, I really have to map out what it will be used for by who.
Given that such a plugin will probably not need to trawl through history, the library route is promising. But I don't know how well that will play with plugins being "scripts". Will such a plugin have access to a precompiled library so it can use the API? Or will adding the plugin require a Rust toolchain? In that case a plugin that shells out to the system and doesn't require any building might be better.

That's a really good point I hadn't considered. If this is going to be an eval'd plugin that runs from a script instead of precompiled there'd be no way to include libgit2. Thinking more about it having git in your path is not a terrible requirement for Windows. Someone using git probably already has it from the official git installer, and if they don't they're a download and hitting "Next" about 10 times away.

If I'm understanding correctly, the only way it could be done with the library and "script" plugins is to make access to all the necessary libgit2 functions into the app (even though unused) and hence expose them, no? I don't even know if that's possible, and if it is it might not be worth it. As you said having system git tooling is not that onerous (although lots of other tooling provides their own embedded ones, so it's not impossible that even people that work with it a lot don't have the client.

Uh, I was thinking of making the script just require that the system have a git binary. If you don't have a git binary in your PATH, why would you even want this function? Nothing about libgit2.

What's the status of this? :)

Uh, I was thinking of making the script just require that the system have a git binary. If you don't have a git binary in your PATH, why would you even want this function? Nothing about libgit2.

The use case logic is sound: if you don't have Git on your system anyway you likely don't need this feature at all. But the implementation is another matter: the git binary is primarily meant to be a user facing tool. It does have some "plumbing" commands as opposed to the "porcelain" ones most end users use, but those are primarily meant for parsing in other CLI programs. Using them as embedded system calls inside a GUI app starts causing problems fairly quickly. Been there done that. Using library bindings makes it way way more robust, easier to handle errors, etc.
That being said the libgit2 bindings are a bit of a pain, I recommend gitoxide as better alternative.


update scenarios command

Command to pull scenario changes
Fix graftorio not collecting correctly
fixed death message displaying PLAYER: instead of playername
Rounded off points and time on stats message

LGTM 👍


Add more links, Order Personal Blogs and Learning sections alphabetically

Hi there,
thanks for your PR. I will come to this today!

Thank you @diazwatson again! I just merged it.


Datagrid / Table sticky headers when scrolling

Select one ... (check one with "x")
[ ] bug
[ ] feature request
[x] enhancement

Expected behavior
Possibility to turn on/off sticky header (by default is off) It's very good for long tables / datagrids

Actual behavior
Not possible?

Reproduction of behavior

Environment details

Angular version: 6.x.x

Clarity version: 0.12.8

OS and version: Windows 10 / MacOS High Sierra

Browser: all

@pumano
If you set the height of the datagrid, I think you will see the behavior you're expecting.

@mathisscott its works perfectly, would be good if you can add that solution to tables / datagrid documentation. Thanks!

@mathisscott
Is it a chance to have horizontal and vertical scrollbars and sticky headers at the same time?

@Akay7
I believe that will be implemented with the work @hippee-lee is doing on #1586


gftools --list-subcommands: Output needs readability improvements

Just a small formatting update to make this more readable would be helpful. Ideally gftools --list-subcommands would also give some usage information for each spript.

--list-subcommands is (as the --help text says) "usually only used to generate the shell completion code". --help actually prints the subcommands in a more user-friendly way.


go_1_14: 1.14.14 -> 1.14.15, go_1_15: 1.15.7 -> 1.15.8

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Considering 1.15.7 and 1.14.4 were security releases, should I open a PR to upgrade 20.09 to either those versions or this version?

Considering 1.15.7 and 1.14.4 were security releases, should I open a PR to upgrade 20.09 to either those versions or this version?

Yes, we should backport security fixes.

Are we waiting on anything to get this PR merged?

For what it's worth, https://github.com/golang/go/issues/43570 fixed in go-1.15.8 looks pretty nasty. Basically random corruption on anything built with older compilers, and also happens on 64-bit platforms. So, I personally feel nixos 20.09 backport should target go 1.15.8, not 1.15.7; the Go team is pretty meticulous about stable being stable.

Github won't let me push to this branch so I've split the commit and pushed it to master. 54772e76707fd934ede05aac842dbb758f1356bb 860a644e0d07d769d39c4f89cac8c5d4ca686161

20.09 backports:
https://github.com/NixOS/nixpkgs/commit/1102357323c55bae65fd67d5d0fd0e26eb29843b
https://github.com/NixOS/nixpkgs/commit/47793f28f41150c89aa971a8dfa6dfa793178916
https://github.com/NixOS/nixpkgs/commit/8dd990ceff13613852b850c8b7d6df38eb8fcbf5
https://github.com/NixOS/nixpkgs/commit/8dd990ceff13613852b850c8b7d6df38eb8fcbf5
https://github.com/NixOS/nixpkgs/commit/5f295d1017f7edd2915f9809b8e29c13809075cb
https://github.com/NixOS/nixpkgs/commit/12614a0bb02edcaa0e1cc841953f8c66ac1e69cc

@zowoq huge changes like this should really go through staging!
Too tired to revert now, but I'll do that tomorrow if nobody else is faster. As it's a critical thing, staging-next (and staging-20.09 is the better choice here).

We've been sending go updates to master for months.


Make C functions static

There's no reasons for these functions not to be static since they are not used outside of the file.
@jverdi

LGTM :+1:


badrequestobjectresult.value doesn't recognized by pattern type of serializableError

badrequestobjectresult.value doesn't recognized by pattern type of serializableError
List<string> message = new List<string>();                 if (badRequestObjectResult.Value is SerializableError errors)                  {                     var errorMessages = errors.SelectMany(p => (string[])p.Value).Distinct();                     message.AddRange(errorMessages);                 }                 else                     message.Add(badRequestObjectResult.Value.ToString());
And It returns  Microsoft.AspNetCore.Mvc.ValidationProblemDetails

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

ID: bbb051ee-f020-66ba-c601-4a08ad32ef61
Version Independent ID: 58a19505-ac46-c5c8-12cc-fe87b6aa18a7
Content: Sorry, we don't have specifics on this C# error
Content Source: docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hi @LittleKing2020
We're working to add more pages for these errors and warnings.
In the meantime, to help you get unblocked, I suggest posting the question with a larger code snippet in the C# section of our Q & A site.
I'll close this as it's already tracked in other work items.


Clarify copyright notice

Short description

Clarify copyright notice
Proposed changes

Add copyright notice to README
Move copyright notice from license to own file NOTICE as suggested here

I'm not an expert on open source licenses, but the way I understand it:
Software, like any intellectual property, is protected by copyright no matter whether a copyright notice is present or not. The Apache license does not change this. So even without this notice, projects incoperating code from this repository can do whatever they want with the code, but they have to include the attribution where the code is coming from. This PR only makes it a bit easier to comply to the Apache license by directly including this file into the new repository. In my opinion, this would not have to be present on each file used (since we're also not shipping a copyright header in every file), but it's sufficient to mention it in the NOTICE file once.
Maybe @svenseeberg has more knowledge on open source licenses and can share his view?

Thanks for the PR.

would technically need to be included above every file reusing integreat-cms code, right?

I think @charludo is right. It would clarify to which files the license applies to specifically and improve stuff like https://github.com/digitalfabrik/integreat-cms/tree/develop/integreat_cms/static/src/logos. But the change is PR introduces is in line with the ASF recommendations. Therefore we should merge it :)

@svenseeberg "It is also valuable" does not sound like it would be mandatory, right? Are you in favor of adding such headers to all source files? Sure, they would make copyright & license very clear in derivative work, but to me, they seem a bit verbose...
I guess I would also be fine if projects that only use one file from the integreat-cms would either use the NOTICE content as header of the copied file, or add something like "This project uses code from: " followed by the copyright statement in their own NOTICE file... and ideally, the license requirement "Document changes made to the licensed material" would be satisfied by a meaningful git history...


[Web] RawKeyboardListener is not working in release

In debug mode, RawKeyboardListener is working fine but in release mode is not working.
RawKeyboardListener(
focusNode: _searchFocusNode,
onKey: _handleKeyEvent,
child: TextField(
focusNode: _searchFocus,
controller: _ctrlSearch,
onChanged: (str) => _search(),
onSubmitted: (str) {
                    },
                    decoration: InputDecoration(
                        hintText: 'search product here..',
                        border: InputBorder.none),
                  ))

Flutter 2.6.0-12.0.pre.984 • channel master • https://github.com/flutter/flutter.git
Framework • revision 6b51924de3 (32 hours ago) • 2021-12-09 16:49:10 -0500
Engine • revision 2516ea636d
Tools • Dart 2.16.0 (build 2.16.0-85.0.dev) • DevTools 2.9.1

Hi @selvam920, thank you for filing this issue. I tested this on the latest stable and master channel using the sample code below and it is not reproducible. tapped is printed to the console when I click on a key on the keyboard. Can you test again on the latest channels to see if the issue persists?
If the issue persists, please provide your updated flutter doctor -v and a minimal reproducible code sample.
Thank you

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      home: Home(),
    ),
  );
}

class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  late FocusNode _focusNode;
  @override
  void initState() {
    super.initState();
    _focusNode = FocusNode();
  }

  @override
  void dispose() {
    _focusNode.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        body: Center(
          child: RawKeyboardListener(
            focusNode: _focusNode,
            onKey: (RawKeyEvent onKey) {
              print('tapped');
            },
            child: TextField(
              onSubmitted: (str) {},
              decoration: const InputDecoration(
                  hintText: 'search product here..', border: InputBorder.none),
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.8.0 at /Users/flo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (4 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554                        • android-x64    • Android 12 (API 31) (emulator)
    • iPhone 13 (mobile)           • EF1251D3-C9C4-475E-9F91-58CD010FDA48 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)              • macos                                • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)                 • chrome                               • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.6.0-12.0.pre.1002, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.1002 at /Users/flo/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9de8849905 (6 hours ago), 2021-12-12 20:54:15 -0500
    • Engine revision f16c96c31f
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554                        • android-x64    • Android 12 (API 31) (emulator)
    • iPhone 13 (mobile)           • EF1251D3-C9C4-475E-9F91-58CD010FDA48 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)              • macos                                • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)                 • chrome                               • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

Thank you

did you check after publish? for me in debug mode is working fine.

@selvam920 I created a release app and tested this but the issue is still not reproducible, see video below. Can you test this again using the sample code I provided on latest stable version to see if issue persists?
If the issue persists, please provide your updated flutter doctor -v and a minimal reproducible code sample.

output
https://user-images.githubusercontent.com/92717368/145957882-38d27ca6-9f9b-4e14-9f2c-e8a54d591db7.mov

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.8.0 at /Users/flo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (5 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63
    ! Device emulator-5554 is offline.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.6.0-12.0.pre.1027, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.1027 at /Users/flo/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 31d366a051 (2 hours ago), 2021-12-14 00:59:08 -0500
    • Engine revision 30f048de39
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63
    ! Device emulator-5554 is offline.

! Doctor found issues in 1 category.

Thank you

really very difficult to reproduce the issue with my application, the issue is in some pages.
the same code is working fine in my machine.
i tried to reproduce the issue but no luck. will let you know exact scenario

@selvam920 Given your last message, I'll go ahead and close this now. If you are able to find a sample code that reproduces this issue please let me know and I will reopen it, thank you.


Only create a battery health sensor if there is information available for it

Describe the bug
With the latest version of HA Toyota it generates a battery health sensor although, as far as I know, in the case of my vehicle Toyota does not provide any information for it.
To Reproduce
You must own a Toyota Corolla and set up the latest version (2.0) of HA Toyota ;-)
Expected behavior
Only create sensors for which information is also provided by the vehicle. If the vehicle does not provide the information, do not create a sensor for it.
Screenshots

Maybe only combustion engine cars implement this feature, and EV's and hybrids doesn't. I will make it so that it should only generate it if the attribute is available 😊

@CM000n  also when you use the tojota script, did you get any information returned for your EV battery?

As you can see from our discussion over at your mytoyota repo, these are the only informations I currently get for my vehicle:
https://github.com/DurgNomis-drol/mytoyota/issues/10#issuecomment-808941237

A fix is pushed 😄

Confirmed. Now it works as it should.
Thanks for the fix and happy easter holidays (if you have them in Denmark right now too ;-) )

Great to hear!
Thanks, yes we have and you too 😄


"spaceship_exec_vcs_info_precmd_hook:2: vcs_info: function definition file not found" in alpine container

Current behavior
Getting spaceship_exec_vcs_info_precmd_hook:2: vcs_info: function definition file not found error when installing spaceship prompt in alpine container.
Used to work before...
Dockerfile
FROM alpine

# adding required packages
RUN apk add --no-cache git bash zsh

# Zsh config
RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh && \
  cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

# Spaceship prompt setup https://github.com/denysdovhan/spaceship-prompt#oh-my-zsh
RUN ZSH_CUSTOM="/root/.oh-my-zsh/custom" && \
 git clone git://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" && \
 ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
# change theme to spaceship
RUN sed -i -E 's/ZSH_THEME="(.*?)"/ZSH_THEME="spaceship"/' ~/.zshrc

# setting work dir to root home folder
WORKDIR /root

Steps to reproduce:

Create above Dockerfile

Build docker file
docker build -t zsh .

Run container:
docker run --rm -it zsh /bin/zsh

Error should be displayed and will be displayed on subsequent command

➜ docker run --rm -it zsh /bin/zsh
spaceship_exec_vcs_info_precmd_hook:2: vcs_info: function definition file not found

root in ~

Expected behavior
Error should now be generated
Relevant Zsh configuration (.zshrc)
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="spaceship"

# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
  git
)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

Environment
Spaceship version: 3.4.1 (use echo $SPACESHIP_VERSION)
Zsh version: zsh 5.4.2 (x86_64-alpine-linux-musl)
Zsh framework: <None/oh-my-zsh/prezto/etc>
Zsh plugin manager: oh-my-zsh
Terminal emulator: NA
Operating system: linux alpine container
Screenshot
Provide a screenshot that shows your issue.

Possible solution
Am I missing any install steps or components?

Thank you @choovick for the detailed issue filing, Spot on for reproducing the issue :smile:
We depend on vcs_info module for git section. Seems like vcs_info is packaged separately on alpine. apk add zsh-vcs loads the required module.

@salmanulfarzy you sir amazing! that did it! lightweight alpine packages... :)
added zsh-vcs package to my docker file.
Closing


Support of variables in route Path

Currently if I have a variable in route example - '/user/:id' then multiple entries are created for each request in deferpanic dashboard. example - /user/1, /user/2, etc.
For now we have made changes in deferclient for Bone mux. Check the repo https://github.com/betacraft/deferclient

@SDkie sorry for the late reply - 2 things here:

if you want an official repo we can open one up for you

the resources route is a common case for many organizations - you think that we should just add a different set of methods for it so other frameworks can use it too? if so def. open to PRs - thanks!


Trying to upgrade to symfony3

Hey, I tried to upgrade to symfony3, but there is a BC break in the Command class (method setCode)
So I don't know what to do with my PR, if you merge this, this bundle stop working with symfony < 3

It would be a new major version - and we can say all the older versions will have minor/patch changes only.
We have to discuss a bit about this, please wait a few days.

@fabdsp @benji07 we can release a major version only compatible with sf3.
we can remove old versions of PHP in the .travis.yml and maybe update the README

no way to maintain an sf2 compat ?

@omansour no because they add the type hint on the method setCode

ok lets go for a v2.0.0

👍


bug(google-maps): Method google.maps.Map.setCenter throws TypeError: setCenter is not a function

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Issue
Calling setCenter method on a google.maps.Map object breaks with following error message

TypeError: setCenter is not a function

I more or less followed the Autocomplete Places guide on developers.google.com: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete
This is the error

Versions
"@angular/core": "~13.0.0"
"@angular/google-maps": "^13.3.9"

Below is the part of the sample that I have in place.
I lazily load google maps and once done, I add a listener to the google.maps.places.Autocomplete - place_changed
When the input changes, this function gets executed without issues. However, calling setCenter with a valid latLng object fails.
Module
imports: [
    GoogleMapsModule,
    HttpClientModule,
    HttpClientJsonpModule,
]

Component Html
<google-map #mapRef [options]="options" [center]="center"></google-map>

Component Typescript
googleMapsLoaded: Observable<boolean>;
@ViewChild('mapRef') mapRef: google.maps.Map;
@ViewChild('addressInputRef') addressInputRef: any;
center: google.maps.LatLngLiteral = {
    lat: 25.0893271,
    lng: 55.1458288
  };

  options: google.maps.MapOptions = {
    zoom: 15
  }

ngAfterViewInit(): void {
    this.googleMapsLoaded = this.httpClient.jsonp(
      'https://maps.googleapis.com/maps/api/js?key=my-key&libraries=places',
      'callback').pipe(
      map(() => {
        let autocomplete = new google.maps.places.Autocomplete(
          this.addressInputRef.nativeElement
        );

        autocomplete.addListener('place_changed', () => {
          let place = autocomplete.getPlace();

          if (!place.geometry || !place.geometry.location) {
            return;
          }

          // here I get the place.geometry.location without issues, but setCenter breaks
          // I also tried instantiating a new google.maps.LatLng, but same issue
          this.mapRef.setCenter(place.geometry.location);
        });

        return true;
      }), catchError(() => of(false)),
    );
  }

Reproduction
Steps to reproduce:

Follow code in issue description
or follow https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete

Expected Behavior
I expect the map to refresh with the new latLng position
Actual Behavior
setCenter throws TypeError: this.mapRef.setCenter is not a function
Environment

Angular: 13.0.2
CDK/Material: -
Browser(s): Google Chrome 105.0.5195.125 (Official Build) (64-bit)
Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu

You're getting that error, because the GoogleMap component doesn't have a setCenter method and you aren't getting a compilation error, because you're using the wrong type for mapRef.

So, where's the gotcha in the above code, what's wrong, and what should be different? Inspecting the type in runtime will show the same type as the source code when checking from IDE, and the source code shows that a setCenter method exists, however at runtime it breaks.
Is the above missing a @types package or I'm using a wrong one?

Closing since there hasn't been any activity after the previous comment.


ref(helm): make FakeReleaseClient public

so it can be used by other projects that use the helm client
*also renamed to FakeClient

LGTM from an external standpoint. Any reason we can't use the real helm client with the storage layer set to the filesystem rather than configmaps, or does the fakeclient also "fake out" the connection to kubernetes and just store release information in-memory?

could this be made a subpackage?  pkg/helm/fake

This change is

@adamreese @thomastaylor312 I can't put fake in a sub package mainly because I need things from pkg/helm/option.go
Another option is to pull it out and put it in something like pkg/testing
I could potentially fake out everything in that option file but it seems like overkill to me. Thoughts?

@michelleN So I know there is a lot of testing stuff we want to improve (like integration tests!), what if we merge this as is and create an issue to track that we want to make things even cleaner with a testing package and a meta-issue to track all the testing improvements we want. Does that sound like it would work?

@thomastaylor312 That makes sense to me but at that point we'd be changing public functions. So the refactor into a testing package would have to wait till helm 3.0.0 if I'm not mistaken. If we're cool with that, I'm good with your plan 👍

That is ok by me. Feel free to merge!


Update React CSS-in-JS styling guide

Issue #4.
Updated the example to our current styling format.

The Store CSS-in-JS styles in separate files chapter also have to be updated. But first, do you remember what the issue was with using css from styled-components and why we went with styled.element instead?

If I'm right, the reason for the movement was the difficulty of writing tests in that format.
Btw, why'd you prefer the way that you originally described in the documentation over the one that we currently use?

See the Store CSS-in-JS styles in separate files chapter.
Can you reproduce those difficulties?

Yes, I'll give that a try asap.

After investigating the styling in the recommended format, the main obstacle is that we can't test whether a particular styled component is rendered or not.
To stick with the example you created in the doc previously:
import styled from 'styled-components';
import { headerDivStyle } from './Header.style';

const header = () => {
  // This element isn't accessible in the tree.
  const styledHeader = styled.div`${headerDivStyle};`;

  return <styledHeader />;
};

export default header;

We can either try to figure out a workaround to handle this issue or leave it as is - only if it's not a problem that the rendering of different components can't be tested.

Thanks! Not sure if I understand it though, could you give me a test example that doesn't work in this case?

Yes, of course. Let's stick with the original example as before.
import styled from 'styled-components';
import { headerDivStyle } from './Header.style';

const header = () => {
  // This element isn't accessible in the tree.
  const StyledHeader = styled.div`${headerDivStyle};`;

  return <StyledHeader />;
};

export default header;

If we'd like to test whether the <StyledHeader /> component is rendered or not, the test case should be something similar:
// Usual imports ...
import { headerDivStyle } from './Header.style';

describe('<Header />', () => {
   let headerWrapper;

   beforeEach(() => {
      headerWrapper = shallow(<Header />);
   });

   it('renders StyledHeader', () => {
      // Testing / accessing the StyledHeader component isn't possible here.
      // This isn't pointing to the element in the tree.
      const StyledHeader = styled`${headerDivStyle}`;

     // Failing ...
     expect(headerWrapper.find(StyledHeader)).toHaveLength(1);
   });
});

Understood, thanks. And that makes sense I think.
So, in this case, we'd aim to test that a certain element is present with certain styles. Is that possible to do some other way?
E.g. expect(headerWrapper.find(divElementMatcher)).toHaveStyle(headerDivStyle)
What made me think a lot is that I understand the appeal of trying to do what you mentioned above. And then the style could be tested separately form the component that uses it.
With that said, the exported style can be tested separately with the currently proposed css approach as well. And since we're only talking about simple http elements

they should be easy to find/match
there's no difference whether they are wrapped in a named export or defined on the fly in the component (i.e. whether you match something called StyledHeader which is a simple div or that you match an unnamed div)

That's absolutely right.
Hopefully there're some existing libraries or whatever that'd fit your example above(e.g. jest-styled-components).
To summarize the things:

we wouldn't like to change the way of defining CSS-IN-JS elements, hence the doc should be restored to the previous version,
figure out how to test styled components(take a look at the proposed package),
extend the doc with an additional example that demonstrates the convention(s) of testing styles separately.

Sounds good. Finding the element should be easy: https://airbnb.io/enzyme/docs/api/ReactWrapper/find.html
I think there're 2 ways to test styles:
1, in Header.test.js find element, assert specific style with toHaveStyleRule. E.g.
expect(headerWrapper.find("div").toJSON()).toHaveStyleRule('color', 'red')

2, in Header.test.js find element, assert style class. then in Header.styles.test.js assert specific style rules of style class. E.g.
expect(headerWrapper.find("div").toJSON()).toHaveStyleRule(headerDivStyle)
expect(headerDivStyle).toHaveStyleRule('color', 'red')

I think there's no need for an additional redirection with option 2. It could be useful for testing global styles though. I'd go with option 1. Could you provide an example and make sure that it works?

I'd also go with option 1.
Yes, of course.

Unfortunately, the .toJSON() method can't be used likewise you did in the example.

TypeError: wrapper.find(...).toJSON is not a function

Otherwise, why is it necessary to find the element?
I assume that the answer is to test both the component rendering and also whether the desired style is applied to a particular component or not.
But this raises more concerns. How'd you find an element if there're more than one div in the tree? Enzyme provides the .first() and .at(index) methods to find the corresponding elements, but IMO that'd make the tests static(e.g. moving/removing a div requires overriding all the occurrences of .at(index)).

I got that part from jest-styled-components but it is used differently indeed: renderer.create(<Button />).toJSON()
I would expect that a component wouldn't contain too many elements. If it did, they would be extracted to sub-components (and shallow rendering or simply looking on the first level would allow us to only look at the elements of the main component). Also, we can use IDs/classes to reference items.
But this is mostly speculation from my part, I'm not sure whether this is feasible in practice. Please look for an example in existing projects where this could be tested or keep this in mind for the upcoming projects and we can then revisit this issue.

I couldn't figure out how to find a particular styled element in the tree with Enzyme - IMO the way you proposed above isn't feasible. The solutions that I can come up with are either setting an id to the desired component or using the displayName property.
Examples
Solution 1 - set a specific ID to the element
// Header.style.js
export const HeaderButton = css`
  color: red;
`;

// Header.js
import React from "react";
import styled from "styled-components";
import { HeaderButton } from "./Header.style.js";

const header = () => {
   const StyledHeaderButton = styled.button`${HeaderButton}`;

   return <StyledHeaderButton id="headerBtn" />;
}

export default header;

// Header.test.js
// Importing the usual elements -> React, shallow, renderer, Header, HeaderButton etc.

describe("<Header />", () => {
   it("renders a red colored button", () => {
      const StyledHeaderButton = styled.button`${HeaderButton}`;

      const headerWrapper = shallow(<Header />);
      const styledHeaderButtonWrapper = renderer.create(<StyledHeaderButton />).toJSON();

      expect(headerWrapper.find("#headerBtn")).toHaveLength(1);
      expect(styledHeaderButtonWrapper).toHaveStyleRule("color", "red");
   });
});

Solution 2 - set the displayName property
The main difference from the previous example occurs  in Header.js.
// ...
const header = () => {
   const StyledHeaderButton = styled.button`${HeaderButton}`;

   StyledHeaderButton.displayName = "StyledHeaderButton";

   return <StyledHeaderButton />;
}

export default header;

As a result, the element can be found likewise in the example below:
// ...
expect(headerWrapper.find("StyledHeaderButton")).toHaveLength(1);

In theory, the displayName can be set automatically, but I couldn't make it workable yet - although the setup is quite straightforward.
Personally, I'd prefer the second solution over the first one as it doesn't require adding the id attribute to each element because they're inaccessible in the tests.

Testing that the rendered element has the correct styles would be the most
important part, so we find a way to do that.
On Sun, Apr 28, 2019 at 12:27 PM Zsolt Gomori<EMAIL_ADDRESS>wrote:

I couldn't figure out how to find a particular styled element in the tree
with Enzyme - IMO the way you proposed above isn't feasible. The solutions
that I can come up with are either setting an id to the desired component
or using the displayName property.
Examples
Solution 1 - set a specific ID to the element
// Header.style.js
export const HeaderButton = css  color: red;;
// Header.js
import React from "react";
import styled from "styled-components";
import { HeaderButton } from "./Header.style.js";
const header = () => {
const StyledHeaderButton = styled.button${HeaderButton};
return ;
}
export default header;
// Header.test.js
// Importing the usual elements -> React, shallow, renderer, Header, HeaderButton etc.
describe("", () => {
it("renders a red colored button", () => {
  const StyledHeaderButton = styled.button`${HeaderButton}`;

  const headerWrapper = shallow(<Header />);

  const styledHeaderButtonWrapper = renderer.create(<StyledHeaderButton />).toJSON();

  expect(headerWrapper.find("#headerBtn")).toHaveLength(1);

  expect(styledHeaderButtonWrapper).toHaveStyleRule("color", "red");

});
});
Solution 2 - set the displayName property
The main difference from the previous example occurs in Header.js.
// ...
const header = () => {
const StyledHeaderButton = styled.button${HeaderButton};
StyledHeaderButton.displayName = "StyledHeaderButton";
return ;
}
export default header;
As a result, the element can be found likewise in the example below:
// ...
expect(headerWrapper.find("StyledHeaderButton")).toHaveLength(1);
In theory, the displayName can be set automatically
https://github.com/styled-components/styled-components/issues/896#issuecomment-356756789,
but I couldn't make it workable yet - although the setup is quite
straightforward.
Personally, I'd prefer the second solution over the first one as it
doesn't require adding the id attribute to each element because they're
inaccessible in the tests.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/c-hive/guides/pull/9#issuecomment-487366224, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZFU3A25R2MBFC2OUB3ACLPSV32LANCNFSM4HIBHPAQ
.

Faced with an additional issue during applying these guides in React:

IMO it'd be better to agree on a common naming convention in the case of styled-components.

Example:
// => test.style.js
import { css } from "styled-components";

export const button = css`
   // styles ...
`;

// => test.js
import styled from "styled-components";
import { button } from "./test.style.js";

const StyledButton = styled.button`${button}`;

As you can see, the styled components are prefixed with the Styled word; however, I'm not sure if it's the right approach. Furthermore, it's also confusing to see components with the same prefixes - i.e. it's hard to distinguish them.
How about using the following combination?

css prefix for css styles, e.g. cssButton,
UpperCamelCased components without any prefix, e.g. Button.

Is it something that should be considered?

Good idea. Not sure where the Styled* convention came from, maybe some article, but it is indeed redundant. How about buttonStyle and Button?

Not sure where the Styled* convention came from, maybe some article, but it is indeed redundant.

I guess this was in one of my first implementations and sticked with that for some reason. :)

How about buttonStyle and Button?

Sounds good. Should this convention be included in the guides? If so, I'll create a separate PR.

Yes please.
On Wed, Jun 19, 2019 at 8:46 PM Zsolt Gomori<EMAIL_ADDRESS>wrote:

Not sure where the Styled* convention came from, maybe some article, but
it is indeed redundant.
I guess this was in one of my first implementations and sticked with that
for some reason. :)
How about buttonStyle and Button?
Sounds good. Should this convention be included in the guides? If so, I'll
create a separate PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/c-hive/guides/pull/9?email_source=notifications&email_token=AAZFU3CTSWSU5JBJVKLLRVTP3J5HZA5CNFSM4HIBHPA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCZP2Y#issuecomment-503683051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZFU3BIYPHE6XSP3C5T7VDP3J5HZANCNFSM4HIBHPAQ
.

Closing in favor of https://github.com/c-hive/guides/commit/7aa176e2e090a6c6ed31a7cc949f2241a5f71a32
In the end, using styled makes sense. The reason I preferred css is that then there was no issue with passing props. However, props can be quite easily passed as shown in the new example.