Night vision activated when relay is triggered

Not sure if this is a bug or I got some setting wrong. Every time I trigger the Relay via HomeKit, night vision is activated.
I found options to set for nightvision when a ring is detected but none for when a relay is triggered.

[11/26/2020, 11:48:57 AM] [Doorbird] Doorbird Vorgarten: Relay 1 unlocked.
[11/26/2020, 11:48:57 AM] [Doorbird] Doorbird Vorgarten: Doorbird night vision activated for 3 minutes.
[11/26/2020, 11:49:02 AM] [Doorbird] Doorbird Vorgarten: Relay 1 locked (auto-initiated after 5 seconds).

Sure - please post your config and what you’re trying to do and let’s take a look!

That’s my config. I just want to be able to trigger the relay without activating the night Vision.

{
"doorbirds": [
{
"ip": "192.168.x.x",
"username": "xx",
"password": "xx",
"name": "Doorbird Vorgarten",
"nightVisionSnapshot": false,
"nightVisionDoorbell": false,
"nightVisionVideo": false,
"nightVisionSnapshotNight": false,
"nightVisionDoorbellNight": false,
"nightVisionVideoNight": false
}
],
"platform": "Doorbird"
}

It's a bug...thanks for bringing it to my attention. Will be fixed in an upcoming release. Thanks!

I stand corrected...it's working as intended.  :smile: The plugin will only turn on night vision (aka the infrared) if you configure it to do so. Are you certain that the plugin is turning on night vision?

Yes. Night vision is turned on every time I trigger the relay via HomeKit.
How could I even configure the plugin to do so? I only see options to turn on night vision on ring events. Not when the relay is triggered.

Given the log entries you posted, I suspect it is the plugin that’s doing it.. How did you configure it? I’d suggest that you use the Homebridge UI for optimal results.
Also, can you post the entries from Homebridge related to Doorbird when Homebridge first starts up. You should see something like:
[11/28/2020, 12:46:50 PM] [Doorbird] DoorBird D2101V: Night vision will be activated for doorbell events at night.
[11/28/2020, 12:46:50 PM] [Doorbird] DoorBird D2101V: Night vision will be activated for all snapshot requests at night.
[11/28/2020, 12:46:50 PM] [Doorbird] DoorBird D2101V: Night vision will be activated for video streaming at night.
[11/28/2020, 12:46:50 PM] [Doorbird] DoorBird D2101V: Connected to the Doorbird events API.

if the plugin is in fact configured for night vision.
Thanks.

Thats what I see on HB startup:

[12/6/2020, 7:05:27 PM] [Doorbird] Initializing Doorbird platform...
[12/6/2020, 7:05:27 PM] [Doorbird] Doorbird Vorgarten: Detected relay: 1 (primary).
[12/6/2020, 7:05:27 PM] [Doorbird] Doorbird Vorgarten: Connected to the Doorbird events API.

From what I can tell I have not configured anything related to night vision. At least I have not set anything to true after I tried setting everything to false to fix this.
From what I can see the plugin still activates night vision as soon as the doorbell rings. This is not a problem at night as it is already on but its quite annoying during the day when several persons ring during the 3 minutes the night vision is activated each time.


Replace monaco namespace with monaco-editor imports

This is a preparation for<EMAIL_ADDRESS>In this version the global monaco object was removed for ESM users.
A choice was made to use monaco-editor imports, because this probably has best compatibility for most users. If users want to use monaco-editor-core, they will have to create an alias in their own build process.
Closes #24
Closes #44

Any update on this topic?

IMO this is ready to be merged and released (as a major version, because it's a breaking change)

Any update on this topic 2 weeks passed after the previous comment?

published @undefined-moe/monaco-yaml
(import @undefined-moe/monaco-yaml/lib/esm/xxx instead of monaco-yaml/esm/xxx

I can confirm that this resolves the issues with more recent versions of monaco-editor.
I've published a fork with these fixes incorporated:
"@nicktomlin/monaco-yaml": "2.6.0-beta"

I'm not planning on maintaining this officially, use at your own risk 😄

@yazaabed Any time to merge and release??

Workaround from monaco-editor-webpack-plugin: globalAPI option.
See also: https://github.com/microsoft/monaco-editor-webpack-plugin#options


lines looks slightly different now

I just want to confirm that #628 made a significant enough change to the line shader that we should expect slightly different renders of regular lines?
I'm getting these kinds of diffs:
alpha:

rgb:

alpha:

rgb:

Yes, it is expected that they look slightly different. In particular they are likely a bit wider, because the earlier version did not account for the loss of thickness due to aa. I suspect the diffs relate mostly to that extra thickness. Does that make sense?

@kushalkolar just wondering how the new line shader is working out for you in general? no breakage of features, or performance issues?

In particular they are likely a bit wider, because the earlier version did not account for the loss of thickness due to aa. I suspect the diffs relate mostly to that extra thickness. Does that make sense?

Yup!

just wondering how the new line shader is working out for you in general? no breakage of features, or performance issues?

No issues so far, all the diffs showed thicker lines but no other changes w.r.t. screenshots. Not sure about performance, it seems fine but we should probably make some kind of comprehensive benchmark that we can run.


test: chromatic run

Codecov Report

Merging #1589 (520100e) into master (ab917b0) will decrease coverage by 2.19%.
The diff coverage is 56.50%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1589      +/-   ##
==========================================
- Coverage   54.85%   52.66%   -2.19%
==========================================
  Files          49       79      +30
  Lines        1659     3492    +1833
  Branches      406      927     +521
==========================================
+ Hits          910     1839     +929
- Misses        671     1530     +859
- Partials       78      123      +45

Impacted Files
Coverage Δ

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
0.00% <0.00%> (-37.21%)
:arrow_down:

src/components/sbb-image/sbb-image.tsx
69.09% <ø> (+6.12%)
:arrow_up:

...mponents/sbb-journey-header/sbb-journey-header.tsx
88.23% <ø> (+1.27%)
:arrow_up:

...onents/sbb-journey-summary/sbb-journey-summary.tsx
81.63% <ø> (ø)

src/components/sbb-link-list/sbb-link-list.tsx
84.00% <ø> (-4.24%)
:arrow_down:

src/components/sbb-link/sbb-link.tsx
58.00% <ø> (-33.43%)
:arrow_down:

src/components/sbb-logo/sbb-logo.tsx
0.00% <ø> (ø)

src/components/sbb-menu-action/sbb-menu-action.tsx
60.00% <ø> (ø)

...mponents/sbb-checkbox-group/sbb-checkbox-group.tsx
32.00% <32.00%> (ø)

src/components/sbb-clock/sbb-clock.tsx
32.82% <32.96%> (+32.82%)
:arrow_up:

... and 84 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ADR-28 JetStream RePublish

Working draft of (as-built, v2.8.4) JetStream RePublish feature architecture.

I did a rebase of the underlying branch.  Now this PR is confusing since it includes commits for previously merged ADR-30.  Will close and re-open.


Bug Example: Conflict if commands start with same first word

Compare with #1045

@mweichert, can you give this an estimate please?

Closing, tracking in #1389


[EventGrid] Api Center Optional/Required

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.ApiCenter


Merge Conflicts

[ ] Repo not updated with the most recent head repository.
List of conflicting files:
scripts/plotdataMC.py
src/BTVNanoCommissioning/helpers/definitions.py
src/BTVNanoCommissioning/helpers/xsection.py
src/BTVNanoCommissioning/workflows/init.py

Pull request moved to a new PR after the conflicts are resolved.


TypeScript needs a baseDir option

Say we have the JS structure:
ts
    a.ts
    foo
    |    b.ts
    |    c.ts
js
    a.js
    foo
    |    b.js
    |    c.js

If we compile with all three files with outDir set to js its all okay. But if we only compile b.ts or c.ts with outDir set to js then we would get:
js
    |    b.js
    |    c.js

Workaround is to create a temporary file under ts called ignoreBaseDirFile.ts and pass it to the tsc compiler

@basarat thanks; that was the issue.
I still find this all a bit awkward... I think I have a suggestion for proposed behaviour that might help with this and a related issue:
I have my code in a directory called src. e.g. src/arraybuffers/accumulater.ts I want to compile it all into build to get output of  build/arraybuffers/accumulater.js. In the shell, I can do this by a cd src && tsc */*.ts But in grunt-ts, there is no way to specify a cwd as one can for most other grunt rules. Adding a cwd parameter like the grunt-contrib-copy and others (see https://github.com/gruntjs/grunt-contrib-copy#usage-examples) would help give programatic control over where output files end up.
Make sense?

@iislucas you can specify baseDir in options. It is same as effectively cwd.

Great! Probably good to add it to the README: I did a search there (in the readme), but the only occurrence of the string baseDir seemed to be unrelated, about the .baseDir.ts file

Actually, that doesn't work for me, issue filed here: https://github.com/TypeStrong/grunt-ts/issues/201

I just got linked to here from a .basedir.ts file popping up during options: out builds. Is there anything happening on the issue?

I'm planning to eliminate it in a future patch if someone passes the new rootDir option to tsc.  But it's a matter of getting to it.

This would be nice to get rid of this indeed as it introduced a bug.
When using the grunt-ts noLib: true parameter, and properly declaring a lib in my main ts file, I get the following output when running grunt ts -v:

Running "ts" task
Running "ts:app" (ts) task
Verifying property ts.app exists in config...OK
Files: src/app.ts -> .
Compiling...
Fast Compile >>src/app.ts
Using tsc v1.8.10
"~/Projets/green-box-express/src/app.ts" "~/Projets/green-box-express/src/.baseDir.ts" --removeComments --noLib --target ES6 --module commonjs --outDir .
error TS2318: Cannot find global type 'Array'.
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Function'.
error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Iterable'.
error TS2318: Cannot find global type 'IterableIterator'.
error TS2318: Cannot find global type 'Iterator'.
error TS2318: Cannot find global type 'Number'.
error TS2318: Cannot find global type 'Object'.
error TS2318: Cannot find global type 'RegExp'.
error TS2318: Cannot find global type 'String'.
error TS2318: Cannot find global type 'Symbol'.
error TS2318: Cannot find global type 'TemplateStringsArray'.
error TS2468: Cannot find global value 'Symbol'.
>> 14 non-emit-preventing type warnings
>> Error: tsc return code: 2
Warning: Task "ts:app" failed. Use --force to continue.
Aborted due to warnings.

And this is due to the file .baseDir.ts being passed to the compiler while not containing the library declaration.
To fix this one could add something like /// <reference path="../node_modules/typescript/lib/lib.es6.d.ts" /> to the .baseDir.ts file, but for a beginner in TS like me, it means wasting more than an hour debugging this issue...

Is there anything happening on the issue?

No, but PRs graciously accepted.


[SALTSTACK] -  Rekall installation

Hello, I believe I got the most recent SIFT vm  from :  https://www.sans.org/tools/sift-workstation/?utm_medium=Display&utm_source=DFIR&utm_content=SIFT LAUNCH SPRING 21_VMR&utm_campaign=DFIR Courses
then I installed the SIFT cli tools,  and did sift upgrade  and then  sift update , when I check the sift version it appears complete with no errors from what I can tell.  Yet, I cannot seem to launch Rekall from user or sudo   with either rekall -h  or rekal -h.   If Rekall is not suppose to be installed by default then that's my bad I thought it was in a SIFT vm in most my SANS courses. Thank you in advance.

Hi @itripc , Rekall is no longer in SIFT as it has been deprecated and no longer supported by the developers. However if you need rekall, you can download or build the docker from the REMnux repo (docker pull remnux/rekall:latest or build from https://github.com/REMnux/docker/tree/master/rekall).
Hope that helps!

Greatly appreciated.
On Mon, Nov 22, 2021 at 6:45 PM Digital Sleuth @.***>
wrote:

Hi @itripc https://github.com/itripc , Rekall is no longer in SIFT as
it has been deprecated and no longer supported by the developers. However
if you need rekall, you can download or build the docker from the REMnux
repo (docker pull remnux/rekall:latest or build from
https://github.com/REMnux/docker/tree/master/rekall).
Hope that helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/teamdfir/sift/issues/547#issuecomment-975816771, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHROERKTEAVX72J7OMR4ILLUNKFUXANCNFSM5IOMN3CA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks @digitalsleuth -- saw this over the weekend, you beat me to the response.


use release_path method

fetch(:release_path) does not return anything when not creating a new
release, as is the case when running one-off commands.
the release_path method however, falls back to current_path, which is
always set

I agree ! thank's for merging it


Followed Guide, End Result After Launchung a Game

002d:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA,<PHONE_NUMBER>92FD80
002c:fixme:wbemprox:client_security_SetBlanket<PHONE_NUMBER>75DD00,<PHONE_NUMBER>683600, 10, 0, (null), 3, 3,<PHONE_NUMBER>000000, 0x00000000
002c:fixme:wbemprox:client_security_Release<PHONE_NUMBER>75DD00
002c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0030:fixme:msg:ChangeWindowMessageFilter c055 00000001
0030:fixme:msg:ChangeWindowMessageFilter<PHONE_NUMBER>1
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
dri_create_context: requested glthread but driver is missing backgroundCallable V2 extension
0030:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 6.0, 128 bits)").
0037:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
0037:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithHandleData

What that means? Which command result this message?

Closed by no reply


Girl Image to be added to the landing page

Replace the big stick figure green image , with a higher quality picture of a person. But make sure , the replacement image is not significantly bigger than the existing image.

The Girl image has been added


Make stellar/go-xdr a non-fork

In response to discussion in #3 and no response from the core maintainer in davecgh/go-xdr#17, we're going to make stellar/go-xdr standalone. We should:

[x] Merge #3/#5 to fix the Go imports in the xdr3 package so they refer internally only and not to parent/source repositories.
[x] Update any other Go imports in other packages to refer internally only.
[x] Remove discussion in the README.md file that this is a fork that we intend to merge upstream, and replace it with a thanks to the original maintainers and that this is a fork that is maintained separately for use in Stellar projects.
[x] Get CI working using CircleCI like our other projects.

Closing as addressed by issues #5, #6, and #9.


Do not expect WORKDIR /usr/src/app

Allows for applications to have a WORKDIR other than  /usr/src/app and still support shell/console history.
Resolves #78

👀 @jackross

👀 @blankenshipz

LGTM

Sorry I didn't get to it in time...


Druid - Use case as a monitoring platform

Is it plausible to use Druid for operations to monitor the execution times and call distributions of various services of the application?
I gather that things like alerting and so on would be harder to do than with Bosun or Prometheus.
Thanks in advance.

That's exactly how we use it internally. We have a smaller cluster that collects metrics for Kafka samba spark druid and all the other microservices.

*samza... phone autocorrect is being silly

@lanzelot1989 this is a fairly common use case for Druid, usually people do things like:

route metrics through Kafka and into Druid
do alerting on thresholds (like avg query time > X) by polling Druid and alerting based on results of queries
use the approximate histogram feature to compute medians and percentiles

Many Druid users actually use Druid to analyze execution times of Druid queries by feeding Druid metrics into Druid. (say that 10 times fast)
Closing this, but please follow up on the mailing list if you have further questions.

Many Druid users actually use Druid to analyze execution times of Druid queries by feeding Druid metrics into Druid. (say that 10 times fast)

But who monitors the execution times of the subsequent queries? :-)
Thanks a lot for the information.


29

@yegor256 please have a look
I set valid metas as wrote in #29

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 3min)


Clean up UI for Chart headers

Lets work on improving the chart header bar UI.

@luisvasq I want you to work with @Visionnaire19 to scope out improvements and help him get them in place.
@luisvasq lets be strict on code style and quality. It is okay to have him work through the issues a few times until both the UI and code look good. This is a good learning opportunity for @Visionnaire19

Sounds like a good plan.
@Visionnaire19 Today, I'll change a few things on the dashboard, and then we can have a meeting to coordinate some subtasks related to this issue.

@luisvasq You can take this full steam as @Visionnaire19 will be switching over to solo issues.


Improve Iceberg Data Types mapping to OM

Context
Some iceberg timestamp are not fully mapped to types in OM. For example timestamp with and without timezone are currently not distinguished.
A.C.

Iceberg types are fully mapped to OM types

We are currently supporting Iceberg tables through AWS Glue Catalog. Glue does not have a specification for timestamp with or without time zone -- onlye timestamp. Timestamp values will be displayed in UTC unless time zone is specified here.
From what I see, as we are reading types directly from Glue, for now, there is no information allowing us to distinguish timestamp that could carry time zone information

not getting any response from the community user as of now. We'll close it due to lack of details. We can reopen it when needed

Iceberg's schemas are explained here: https://iceberg.apache.org/docs/latest/schemas/
We can see that it has two kinds of timestamps. When I'm using Iceberg there is no registration on OM via AWS Glue Catalog. Instead, I directly call the OM's RESTFul API for Table registration. At this time, it is necessary to distinguish between these two timestamps.

@TheFu527 should be a simple fix -- adding timestampz type in the dataType. We'll try to ship it in 0.12.0


Unable to change audio sample rates

Trying to add -ar 44100 to post or pre opts is not working at all.
I had a 96khz AAC LC audio stream that wouldn't play on plex at all, And it took me a while to figure out why it wouldn't work either.
Is there a way to add a function to have the automator check for file sample rates and force a re sample for any sample rates that are not defined in the ini file?
Ex:
Sample-Rate: 44100,48000

I'm guessing its not getting applied because you're copying the audio steams instead of specifying a codec. Script currently doesn't contain logic to override copy for specific sample rate but is something that could probably be added fairly easily

no actually this was with attempting to change the aac lc stream to ac3 because I was thinking since it would copy the aac stream that argument wouldn't work.

965fe0a3c6cfb6bd47c178fd9bd2ae6bafe399fd
Added

Thank you


Theme seems to be broken

Did this break for someone else?
We just started seeing an issue, when users click on the checkout button they are redirected to my-domain.myshopify.com/password instead of the checkout page.

Hey @ollebergkvist, is it possible that Password protection is enabled in your Shopify store?

Did Shopify change something?
We had the storefront password protected for 2 months, and now it appears that Shopify is password protecting the checkout as well. I guess that's the issue here.

I'm not 100% sure but I think it already also protected the checkout, but if you are logged into their admin environment in Shopify you might not notice it since it will not show the password protection in that case.


How not to decluster annotations that are close enough to each other

Hi, first of all, I love your work.
I want to know if there's a way not to decluster when they are really close to each other(coordinate-wise).  I'm thinking of manipulating the zoom scale somehow but i'm not sure how to go about it. Any clues would be really really appreciated. Thanks!

I have also the same problem. Actually i want to show all pin when they are in same location. The problem is cluster count came on top of it. How i'll not show cluster count when zoom out is full.

I'm almost working on this at the moment and I figured that if you change the value of maxZoomLevel in FBClusteringManager.swift from 1.0 to 0.005 for example. Then as soon as you zoom enough on your map, all the pins will appear without clusters.
Hope it helps.


iOS 12 crash

The app works fine in all other versions other than iOS 12. when tested the app in iOS 12 beta it gets crashed with below error
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The fetch request's entity 0x600002ecc9a0 'Section' appears to be from a different NSManagedObjectModel than this context's'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010f4c373b __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000010ea68735 objc_exception_throw + 48
2   CoreData                            0x000000010ccbca4a -[NSManagedObjectContext executeFetchRequest:error:] + 5418
3   MobileDirectory                     0x000000010b75adaa __33-[RKEntityByAttributeCache load:]_block_invoke + 106
4   CoreData                            0x000000010ccfedc1 developerSubmittedBlockToNSManagedObjectContextPerform + 161
5   libdispatch.dylib                   0x00000001116f06fa _dispatch_client_callout + 8
6   libdispatch.dylib                   0x00000001116f7bdb _dispatch_lane_serial_drain + 791
7   libdispatch.dylib                   0x00000001116f8842 _dispatch_lane_invoke + 428
8   libdispatch.dylib                   0x00000001117028b7 _dispatch_workloop_worker_thread + 733
9   libsystem_pthread.dylib             0x0000000111ad1fd2 _pthread_wqthread + 980
10  libsystem_pthread.dylib             0x0000000111ad1be9 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

https://github.com/RestKit/RestKit/pull/2539 should have fixed this.
Did you try pulling the development branch?


Add 'Infrastructure resource group' to Consumption Only profiles

Is your feature request related to a problem? Please describe.
I want to be able to set (or just get in Bicep scripts) the internal infrastructure resource group used by a Container App Environment.
Describe the solution you'd like.
The field is currently available when using Workload profiles.

Please extend this to 'Consumption Only profiles.

Describe alternatives you've considered.
I can use Workload profiles but then not add any profiles - but this seems unintuitive.
Additional context.
I need to have the resource group name so that I can get a reference to the load balancer to setup a Private Endpoint Service that Frontdoor uses.

This issue is related to https://github.com/microsoft/azure-container-apps/issues/402. As far as attempting to easily access the internal load balancer to create a Private Link Service.


Added star-cancelling functionality

Added star-cancelling functionality for ROs since it didn't seem to be implemented.

@ProgramFOX could you test this?

How would self._client._br.cancel_stars work? I can't find a cancel_stars method in browser.py.

Besides, if you del self.stars, why would you do an if self.stars later? It's already del'd.

@ProgramFOX My apologies, I forgot to update browser.py on GitHub.
I modelled the cancel_stars method on the star and pin methods, which both del the relevant value, which I assume will get the program to automatically scrape for the current value.

Ah, right, I forgot the caching that it used.
I'll test this later today.

When I run .cancel_stars(), it crashes because the "method failed to populate attribute", pointing to self.stars. Might not be the best idea to del self.stars. Looks like it would be better to just execute it regardless of whether the message has stars or not.

@ProgramFOX I did some more testing, and it seems to work fine if you use client.get_message to get the message. I think getting the message from messages.Message doesn't work because none of the attributes are initialised, whereas client.get_message does initialise them.

Ah. Then that explains it. But I'd rather have it work using both ways.

@ProgramFOX Well .star() crashes with the same message if you use messages.Message. I've just been making things consistent with the rest of the code.

Oh, I see. I will re-test this later today with that in mind, and see if the .star issue can be fixed.

From: AbsVolatility<EMAIL_ADDRESS>Sent: Tuesday, February 21, 2017 5:26:25 AM
To: Manishearth/ChatExchange
Cc: ProgramFOX; Mention
Subject: Re: [Manishearth/ChatExchange] Added star-cancelling functionality (#136)
@ProgramFOXhttps://github.com/ProgramFOX Well .star() crashes with the same message if you use messages.Message. I've just been making things consistent with the rest of the code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Manishearth/ChatExchange/pull/136#issuecomment-281242322, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHqZLNngz3kuxY9gQ0MrMOGzXYDjoceIks5remdxgaJpZM4MFGiD.

Okay, with that in mind, it works :)
/cc @Manishearth


Cannot add a custom library without creating a Maven or Gradle project

I would like to use the Oracle Java Extension for VSCode, but cannot find a way to point to my custom library folder.
I don't want to use Maven or Gradle as a project, I want to keep it simple.
Is there a simple way to do this?

Hi @Arebusf21. Thanks for reaching out.
The workspace's Run Configuration settings,  specifically the VM Options may be set with the necessary Java options such as Classpath -cp, Module Path --module-path to specify the paths to the library jars you need to use.
I hope this helps. Please let us know if you have any other questions or issues. Thanks.


Add vis-material-webfont to latest

Here some review comments that needs to be fixed:

from remove "installedFrom" from io-package!
please add "onlyWWW": true, "noConfig": true, to io-package and remove main.js, admin/index.html (in general check other vis widgets like https://github.com/Scrounger/ioBroker.vis-materialdesign/)
Thank you!

Done

https://github.com/om2804/ioBroker.vis-material-webfont/issues/1


enable default error code for seccomp

fix #468

Codecov Report

Merging #470 (b8adcf6) into main (4318258) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #470   +/-   ##
=======================================
  Coverage   60.46%   60.46%
=======================================
  Files          82       82
  Lines       12150    12150
=======================================
  Hits         7346     7346
  Misses       4804     4804

@yihuaf I feel it would be good to add an integration test for this. What do you think?


OpenGraph Image for Blogs and Learnings

Is your feature request related to a problem? Please describe.
Currently, there’s no OpenGraph (OG) image support for the blog and learning sections, which results in plain or generic previews when shared on social media platforms.
Describe the solution you'd like
Add OpenGraph metadata support to automatically generate or allow custom OG images for blogs and learning pages. This will improve the appearance and engagement of shared links on platforms like Twitter, LinkedIn, and Facebook by providing a rich visual preview.
Describe alternatives you've considered
Another option is manually adding images when sharing links, but this is cumbersome and does not ensure a consistent or optimized appearance.
Additional context
OpenGraph images are crucial for social media sharing as they make links more visually appealing and clickable. Adding this feature can improve the overall user experience and engagement for anyone sharing content from the portfolio template.

Hello @yaralahruthik I am currently working on this issue .
Thanks


NIFI-1928: Remove registration

Fixing UI action for bulk delete.
Removing registration form.
Fixing default visibility of the anonymous user warning.

Reviewing...

+1 looks good, verified registration form no longer exists and access denied page is presented instead

This has been merged into master. Thanks!


Add enable/disable for depth mask

Add functions to enable/disable depth writes to go with functions for depth tests. Since depth test enable/disable is exposed via rlgl, depth writes (mask) should be exposed as well.

@JeffM2501 thanks for the addition!


Not sure whether backend attributes are accessible

NOTE: This is working against the asciidoctorj-1.6.0 branch. Given that I was experiementing with a converter in Groovy, the smaple code is in Groovy below.
Given that I have the following converter
class MyConverter extends AbstractConverter {

    MyConverter(final String backend,Map<Object, Object> opts) {
        super(backend, opts)
    }

    Object convert(AbstractNode node, String transform, Map<Object, Object> opts) {
        if (node instanceof DocumentRuby) {
            println node.document.options // Prints OK
            println node.document.attributes // Prints OK
            println node.document.options.attributes.docdir // Fails with null object
            return null
        } else {
            return null
        }
    }
}

This is an example of what node.document.options will look like
[  backend:leanpub,
   header_footer:true,
   to_dir:/Users/schalkc/.../test/leanpub,
   attributes:[docfile:/Users/schalkc/.../test/test-documents/book-with-prematter.adoc, docdir:/Users/schalkc/.../test/test-documents, docname:book-with-prematter, docdate:2015-05-25, doctime:19:23:14 BST, docdatetime:2015-05-25 19:23:14 BST]
]

There you can see the existence of attributes. However when trying to access it, it will fail with attributes being null. It will also report the type of attributes to be java.lang.Boolean.
I suspect that the attributes entry is not translated correctly from Ruby to Java.

We don't carry over the options into the document object, so therefore the option on Document is not the same as the options passed to the API. This is an Asciidoctor core issue.
There's some awkwardness around this API...since it wasn't really designed as part of the API. A related discussion is here: https://github.com/asciidoctor/asciidoctor/issues/692

In short, the path node.document.options.attributes is not part of the public API.

What attribute are you trying to retrieve?

docdir. (As document.attributes.docdir is empty).
I needed that to work out a default images directory in case imagesdir was not set or was relative. (Code I roughly translated form Ruby in the way the epub3 converter works out the location of the frontcover image).

docdir is available as document.attr 'docdir' if the safe mode is < SERVER. See https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/document.rb#L307-L350

...have said that, you can also access it via document.base_dir (though there are some differences).

(Code I roughly translated form Ruby in the way the epub3 converter works out the location of the frontcover image).

This logic is actually incorrect. If you are reading the image (and not linking to it), you can find the correct logic in the PDF converter.
https://github.com/asciidoctor/asciidoctor-pdf/blob/master/lib/asciidoctor-pdf/converter.rb#L1748-L1792
Locating images is still too much of a burden for extension writers. But we have to see more use cases to understand how to make good APIs for this. Suggestions welcome of course.

I want to point out that there is a big difference in how images are resolved if you are linking to them vs if you are embedding them. This is one of the things that makes this API challenging to get right.

docdir is available as document.attr 'docdir' if the safe mode is < SERVER. See https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/document.rb#L307-L350

It still turns out to be empty.

...have said that, you can also access it via document.base_dir (though there are some differences).

base_dir does not seem to be in the Java API.

It still turns out to be empty.

That's strange. Is the key set and the value empty or is the key missing?

base_dir does not seem to be in the Java API.

That should be fixed then.

The key is there
[encoding:UTF-8, sectids:, toc-placement:auto, stylesheet:, webfonts:, prewrap:, attribute-undefined:drop-line, attribute-missing:skip, iconfont-remote:, caution-caption:Caution, important-caption:Important, note-caption:Note, tip-caption:Tip, warning-caption:Warning, appendix-caption:Appendix, example-caption:Example, figure-caption:Figure, table-caption:Table, toc-title:Table of Contents, manname-title:NAME, untitled-label:Untitled, version-label:Version, last-update-label:Last updated, docfile:book-with-prematter.adoc,
  docdir:,
  docname:book-with-prematter, docdate:2015-05-25, doctime:22:24:52 BST, docdatetime:2015-05-25 22:24:52 BST, asciidoctor:, asciidoctor-version:1.5.2, safe-mode-name:secure, safe-mode-secure:, safe-mode-level:20, max-include-depth:64, user-home:., backend:leanpub, linkcss:, doctype:article, doctype-article:, backend-leanpub-doctype-article:, backend-leanpub:, outfilesuffix:.html, filetype:html, filetype-html:, basebackend:leanpub, basebackend-leanpub:, basebackend-leanpub-doctype-article:, localdate:2015-05-25, localtime:22:44:22 BST, localdatetime:2015-05-25 22:44:22 BST, stylesdir:., iconsdir:./images/icons, doctitle:Title, firstname:Asciidoctor, author:Asciidoctor Team, authorinitials:AT, lastname:Team<EMAIL_ADDRESS>authorcount:1, authors:Asciidoctor Team, leanpub_lang:afrikaans, imagesdir:./build/resources/test/test-documents/images, front-cover-image:image:Simple.png[]]

As some background Asciidoctor was instantiated in this way
https://github.com/ysb33r/asciidoctor-leanpub-converter/blob/master/core/src/test/groovy/org/ysb33r/asciidoctor/leanpub/internal/LeanpubSpecification.groovy

Are you sure it is blank even when you set the safe option to safe (or unsafe)?
https://github.com/ysb33r/asciidoctor-leanpub-converter/blob/master/core/src/test/groovy/org/ysb33r/asciidoctor/leanpub/internal/LeanpubSpecification.groovy#L54
This scenario should be a test in AsciidoctorJ (very that docdir is set if safe is set...so we know safe is being set properly).

Adding 'safe : 0 // or 1 or 2', causes docdir to be populated.  Thus leaving it undefined is causing docdir to be null.
In options.rb of asciidoctor, the default value will be SafeMode::UNSAFE if not set. I suspect that similar behaviour is not replicated in asciidoctorj.

When using Asciidoctor via the API, the default safe mode is SECURE. This is a hard requirement for Asciidoctor to be used on GitHub. docdir must also be blank. AsciidoctorJ respects these defaults.
When using Asciidoctor via the CLI or plugins, the default safe mode is unsafe.
I know this is a bit confusing, but that's why we always recommend being explicit about the safe mode when using the API.

Btw, string values are permitted (unsafe, safe, server, secure).

I tried to reproduce it.
This works for me:
System.out.println(((Map) node.getOptions().get("attributes")).get("docdir"));
But this fails with the same NPE:
System.out.println(((Map) node.getDocument().getOptions().get("attributes")).get("docdir"));
node is already a Document, why do you call getDocument()?
But there are some points where we still have problems and don't convert all the way down.
For example node.getDocument() will return a Ruby object instead of the DocumentRuby instance.
This is something that we will have to resolve.
Do you think it is necessary that node.getDocument() always returns the same object as the DocumentRuby object passed originally to convert()?
I hope the answer is No :)

For example node.getDocument() will return a Ruby object instead of the DocumentRuby instance.
This is something that we will have to resolve.

Thanks for getting to the heart of the issue here, Robert! Now it makes sense.
From AsciidoctorJ, getDocument() should return the AsciidoctorJ document. You often have to use this in abstracts when you aren't sure if the node is the root (the document) or not. If you're already on the Document, then it just returns self / this (speaking in pseudo-code).

I do see from the Ruby API that options on Document is a public instance variable. However, it's really intended to be for internal use only because it doesn't give a complete picture. That's something we'll need to look into...probably as part of the issue I linked to above.

This will work as well:
((Map) document.getDocument().getOptions().get(JRubyRuntimeContext.get().newSymbol("attributes"))).get("docdir")
The problem is apparently that getOptions() returns a RubyHash on the Ruby document.
This can only be addressed with RubySymbols :-(

I could possibly even return the same instances for any node.getDocument() if I cache the converted objects in instance vars of the Ruby nodes.
That means that I could set Asciidoctor::AbstractNode#asciidoctorJCache to a RubyHash where I link to the converter AsciidoctorJ Node.
@mojavelinux What do you think about this? Is it worth to try?

node is already a Document, why do you call getDocument()?

I did not know any better at the time.

I am not very fluent with this API myself yet, so maybe there was a good reason to do so. :)

Maybe the following is related. Given this document,
= Working with Images

[chapter]
== Block image

=== Block image with role

.Image One Left
[.left.text-center]
image::Image1.png[]

When the transform is image, try to print the node.role
A partial exception is
        Caused by:
        org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.RubyString to boolean
            at org.jruby.gen.InterfaceImpl1017458621.isRole(org/jruby/gen/InterfaceImpl1017458621.gen:13)
            at org.ysb33r.asciidoctor.leanpub.LeanpubConverter.convertImage(LeanpubConverter.groovy:353)
            at org.ysb33r.asciidoctor.AbstractTextConverter.convert(AbstractTextConverter.groovy:102)
            at org.asciidoctor.converter.ConverterProxy.convert(org/asciidoctor/converter/ConverterProxy.java:90)
            at RUBY.convert(/Users/schalkc/.m2/repository/org/asciidoctor/asciidoctorj/1.6.0-SNAPSHOT/asciidoctorj-1.6.0-SNAPSHOT.jar!/gems/asciidoctor-1.5.2/lib/asciidoctor/abstract_block.rb:71)
            at RUBY.content(/Users/scha

BTW it does not fail for the normal converters (which are all in Ruby).

It seems that AbstractNode.isRole() doesn't delegate to AbstractNode::role? but to the property reader AbstractNode::role.
I guess that if it returns nil it is converted to false but it can't do that if the role is set.
Not sure how to deal with that.
Copy the logic of AbstractNode::role?into AbstractNode.isRole()?
Or use Ruby reflection powers to explicitely invoke role? on the Ruby object instead of relying on JRubys Ruby/Java mapping magic.

But it's definitely a different problem.

It seems that AbstractNode.isRole() doesn't delegate to AbstractNode::role? but to the property reader AbstractNode::role.

Wow, if that's the case than that's really broken in JRuby. Is there any way to tell JRuby not to do this? It really should look for a method first, then the property if there is no method.

But it's definitely a different problem.

I've logged #323 to cover this case.

Fixed with #317


Possible to use #![feature(abi_ptx)]?

Using https://doc.rust-lang.org/unstable-book/language-features/abi-ptx.html, you can compile rust functions to PTX on nightly compiler. How can we use this with cudarc?

Looking at the tracking issue https://github.com/rust-lang/rust/issues/38788, the feature seems to be in very early stages. It looks very exciting, but maybe not usable yet?

@ViliamVadocz Here I build rs into ptx separately with xargo and nightly Rust.
I haven't been able to replace the let ptx = compile_ptx(KERNEL_SRC).unwrap(); lines in this example with let ptx = Ptx::from_file(r"path\to\ptx-number.s"); yet. I get Error: DriverError(CUDA_ERROR_INVALID_PTX, "a PTX JIT compilation failed").

MVP here! https://github.com/ariasanovsky/cuda-loop @coreylowman


[Image] "defaultSource" prop not working

Duplicate of #980, but my post there wasn't getting any love.
Here's my code:
<Image style={styles.avatar}
       source={{uri: 'http://cdn.macrumors.com/article-new/2015/06/Apple-Watch-Midnight-Blue-250x299-250x273.jpg?retina'}}
       defaultSource={require('image!placeholder')}
/>

I use the network link conditioner tool to slow down my internet connection so that I can test this, and the image view remains blank until the URL is loaded, at which point it is displayed. I can confirm my "placeholder" image is working correctly because it is displayed fine when I do:
<Image style={styles.avatar}
       source={require('image!placeholder')}
/>

Did this break again since 0.4.0?
Side note: This functionality appears to work fine on the iPhone 4S simulator...none of the others

@marcshilling Could you provide a example of your project.
I can confirm that I have this working with 0.4.4.

So in a new react-native init project, the exact same code from my other project works. I guess I'll go set some breakpoints in Image.ios.js...

I'm facing exactly the same issue with 0.4.2. The defaultSource prop doesn't work.

Shoud be fixed with 0.10.0-rc.

I still got the exact problem @ide,
here's my code:
<Image
style={styles.songThumbnail}
defaultSource={require('image!logo')}
source={{uri: rowData.cover}}
resizeMode='stretch'
/>
Image didnt change with network image..
I used ^0.12.0 react-native version..
Any solutions?
Thank you

@ide Having the same problem as @adrianha when I updated to 0.13.0.
The default image will not go away when the other is loaded


paket.local broken since 5.92.0-alpha001

I found that paket.local files aren't working any more and did a binary search. Here's the interesting part.
 ✗ mono tools/paket.bootstrapper.exe 5.92.0-alpha001
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Version 5.92.0-alpha001 requested.
Starting download from https://github.com/fsprojects/Paket/releases/download/5.92.0-alpha001/paket.exe
✗ mono tools/paket.exe restore
Paket version 5.92.0-alpha001
Last restore is still up 2 date.
Performance:
 - Runtime: 897 milliseconds
✗ mono tools/paket.bootstrapper.exe 5.91.0
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Version 5.91.0 requested.
Starting download from https://github.com/fsprojects/Paket/releases/download/5.91.0/paket.exe
 ✗ mono tools/paket.exe restore
Paket version 5.91.0
paket.local override: nuget InternalLib group Main -> /internal/pkg version 0.148.2
paket.local override: nuget InternalLib.XYZ group Main -> /internal/pkg version 0.148.2

Yes I think fix is https://github.com/fsprojects/Paket/pull/2734 I just couldn't find the time to release it yet :)


Constrain camera movements to stay close to the map

Currently, you can zoom out infinitely and pan away infinitely, so you might get lost and be unable to find the map again if you're moving away too far.
At some point we should restrict the camera movements to stay within a reasonable distance of the map with a capped in and out zoom range.

Agreed! These are probably best done separately: capping zoom will be very easy.


Topic/grossag/driveabspath

The RootDir class was returning different values for path and _path as well as
different values for abspath and _abspath. This is because the underscored
versions were being set in the RootDir constructor, while the non-underscored
versions were going through the EntryProxy wrapper, which is only coded to do
a simple append of paths.
I considered trying to fix EntryProxy to detect this case but instead went with
a simpler approach where RootDir overrides the attributes that it wants to
avoid EntryProxy calls. Right now I have this as path and abspath.
Remove this paragraph
Please have a look at our developer documentation before submitting your Pull Request.
https://scons.org/guidelines.html
Contributor Checklist:

[x] I have created a new test or updated the unit tests to cover the new/changed functionality.
[x] I have updated src/CHANGES.txt (and read the README.txt in that directory)
[ ] I have updated the appropriate documentation

test as coded doesn't work on non-Windows platform...


Hot-reload SSL certificates

Do you want to request a feature or report a bug?
feature
What did you do?
Started traefik using SSL certificates from let's encrypt.
What did you expect to see?
Traefik automatically picks up new certificate when it is renewed.
The certificates from Let's encrypt is 3 months period and we have to renew it every 3 months.
What did you see instead?
Traefik did not pick up the renewed certificate.
Output of traefik version: (What version of Traefik are you using?)
v1.2.3 on the official docker image

Auto renewing the SSL certificates from Let's Encrypt is the default behavior in Treafik.
Do you have a problem with this feature?

@ldez thanks for your reply! Sorry for not being clear, I did not enable ACME in traefik, but instead, I used a separate program to generate the certificates using let's encrypt and configure traefik to read that certificate afterward.
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]
      [[entryPoints.https.tls.certificates]]
      certFile = "/etc/letsencrypt/production/certs/fullchain.pem"
      keyFile = "/etc/letsencrypt/production/certs/privkey.pem"

I did this for two reasons:

I have many services that if I use ACME in traefik can cause rate limit problems.
I want to use the certificates for other purposes than only use it with traefik.

The problem is that when the certificate is renewed, traefik does not reload the certificate. I have to restart traefik manually but it requires down time.

IMO, we have a couple options to pursue:

Hook the SSL request similar to the ACME code, and have a function to verify the certificate we have is the latest configured. This is sub-optimal IMO, as it creates a lot of overhead, since we will be verifying certificates per-request.

Provide an API endpoint that can force a reload of the certificates. This would allow for a manually-initiated reload without having to incurr overhead on the request level. We could also have a timer (~5 minutes?) that could initiate a reload, as a "watch" mode or something so that no api calls would be required.

Thoughts?

A timer might not be preferrable because you can't trigger the change immediately or exactly when you want (Customer: "I activated my new certificate and waited 2 minutes but it's not active yet, please check.").
A manual mechanism would give the user control when to activate their changes. You could also give immediate feedback if one made a mistake/typo in the SSL configuration so it can be corrected immediately.

A sidecar that forces a reload ( api endpoint to execute the reload ) when renewal is needed?
I think prometheus helmchart is doing the same when reloading config.

The lack of this functionality is currently a showstopper for me. Ideally I just want to supply a path on the filesystem where my private keys and associated certificates can be found and that's it. That'll make it a lot easier to deal with as adding or renewing certificates would be zero-conf. The built-in acme support is a nice feature but running things at scale is a different story as you'll need a way to distribute the keys and certificates. Storing those in plain text in a K/V store is not an ideal way to deal with that.
Sending a HUP signal for a refresh could work and is easily integrated with config management or an N second refresh interval would be fine as well as this (AFAIK) does not have to be an atomic update.

Any news on this, planed or still in discussion? I'm deciding between traefik and fabio and some features works better with traefik but at least fabio solved ssl certs better.


Remove LR files from basebackup when preparing standby.

Standby can't modify them as it doesn't write WAL.

Yes, it is a bit better, but also a bit harder (probably protocol change, not sure), though not that hard. But doesn't seem very important, files shouldn't be too heavy...


Color the dbg!() macro

I found this cool crate that offers a colored version of dbg!() called color!().
Unfortunately, it doesn't integrate with all other crates because most people aren't aware of this crate so they haven't added an integration for it. And orphan rule doesn't let me easily create a custom impl for those crates.
Would be really nice if we had colored dbg!() output in the dbg!() macro (or perhaps create another macro for colored debug output, or via println!(), or something like that). It's especially helpful when dealing with complex nested structs by letting me find what I'm looking for more easily/conveniently.
This proposal received lots of positive feedback in the internals forum, so I'm copying it over to this RFC.

This will probably not happen as dbg_pls' coloring has to ship an entire Rust syntax parser to do the highlighting, something that would be completely out of scope for std. You would need to propose a design for a highlighting scheme that builds on the Debug trait (which is difficult because DebugPls explicitly states that the output has to be a valid syn::Expr, and Debug can be anything) and avoids pulling in dependencies into std, or reimplementing vast amounts of highlighting/parsing code that will be a major maintenance burden.
The most plausible design I could see would be to add a format specifier for color (adding new macros would require adding _color versions of everything), and then having the debug_* methods of fmt::Formatter add coloring for derived Debug impls on most types, and maybe a few Debug impls made by std on primitive types like str as well. This would not work universally, but it would cover most of the common use cases with minimal code and no public API changes except for the format specifier.
An open question would be where to put the common logic of 'if stdout().is_terminal() { /* color / } else { / no color */ }, since it can't currently be handled by Formatter(it would need some new method of construction that can useIsTerminal`), or whether this would fall on the user to have format strings for the colored and uncolored variants.
Ultimately I don't think std wants to be doing any of this, colored output is platform specific and there's so many different ways to do it that no matter what std picks, inevitably people would find it insufficient in one way or another.

I found that you can do cargo r -- --color. Perhaps we can add the colored dbg there? The user can then decide if they want the dbg to be colored or not, by the --color CLI option

@amab8901 The issue isn't how to add color to libstd, but that it's a burden for libstd to carry this functionality, for all platforms current and future, maintained forever, and adding overhead to every Rust executable. Additions to libstd are very costly.


copy-source to another space fails summary

The following command:
cf copy-source java-main-application jta2 -o integration-test -s integration-test

executed in a different org/space than integration-test and for running applications in both places, produces the following output:
Copying source from app java-main-application to target app jta2 in org integration-test / space integration-test as admin...
Note: this may take some time

Stopping app jta2 in org integration-test / space integration-test as admin...
OK

Starting app jta2 in org integration-test / space integration-test as admin...

0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
1 of 1 instances running

App started
OK

App  was started using this command ``

Showing health and status for app  in org integration-test / space integration-test as admin...
FAILED
Server error, status code: 404, error code: 100004, message: The app could not be found: summary

Everything fine until App  was started using this command '' which contains a blank (empty string) application name.  Thereafter the name summary appears to be used and the command fails.
Tracing reveals that the application jta2 is looked up in the current space (rather than the target space) and that no id is found (unsurprisingly), so a blank app-guid is passed to a GET /v2/apps/:app-guid/summary request. This results in the strange last line and the non-zero return code.
CLI version cf version 6.15.0+fa1bfe2-2016-01-13 is being used.

Thanks @Zteve! I was able to reproduce it, we'll investigate.

This has been fixed in cf CLI v6.16.0.
https://github.com/cloudfoundry/cli#downloads
Regards,
Dies Koper
CF CLI PM


Code is running ok, but typing is failing

Bug Report
Current Behavior
Code is running like I expected, but typing is failing and I don't understand why.
Reproduction

REPL or Repo link: https://stackblitz.com/edit/typescript-fiigar

Expected behavior
typing should not error
Environment

Runtime: Chrome v69
RxJS version: 6.3.2

Possible Solution

Additional context/Screenshots

Hmm, I'm still trying to learn RxJS internals I could be wrong about any of this, but here's what I've found with a little poking around:
Firstly the specific type error that you get on stackblitz seems to be something to with stackblitz's TS version, or with the way the current version of the stackblitz editor deals with TS, or with the way stackblitz interacts with rxjs imports (more on that below).
If I copy the same code into native VS Code, then I get a different TS error, both in VS Code itself and when I run tsc, because that code legitimately doesn't type check. However, the issue is the partition, not the switchMap. Locally, I get this as an error on line 12:
Argument of type 'UnaryFunction<Observable<number | { id: number; }[]>, [Observable<number | { id: number; }[]>, Observable<number | { id: number; }[]>]>' is not assignable to parameter of type 'OperatorFunction<number | { id: number; }[], {}>'.
  Type '[Observable<number | { id: number; }[]>, Observable<number | { id: number; }[]>]' is not assignable to type 'Observable<{}>'.
    Property '_isScalar' is missing in type '[Observable<number | { id: number; }[]>, Observable<number | { id: number; }[]>]'.

This one makes sense, because partition returns a UnaryFunction, not an OperatorFunction, and pipe only takes OperatorFunctions as arguments. It seems like partition was broken (at least when used in pipe) with the move to pipeable operators, but the clean up work to deprecate/replace it hasn't been priority as partition isn't that widely used. See these issues:
https://github.com/ReactiveX/rxjs/issues/3797
https://github.com/ReactiveX/rxjs/issues/2995
https://github.com/ReactiveX/rxjs/issues/3807

As for the stackblitz error, I tried changing the TS version I had locally to a bunch of different versions from 2.6 to latest stable (3.0) and I couldn't repro the error from stackblitz with your code, so I think it's the imports thing...
Here's your code with the rxjs dependency version changed to 5.5.12: https://stackblitz.com/edit/typescript-xidamf
Note that we now get the correct type error for the partition.
(note the error for timestamp within the switchMap can be fixed with an explicit type param: switchMap(({users, timestamp}) => of<{ id: Number}[] | Number>(users, timestamp)) but I wanted to leave the code identical)
This is a (sort of) educated guess, but I think that because of the way imports work in rxjs 6 and the way stackblitz gets dependencies, stackblitz is seeing of and switchMap as coming from two different libs, and therefore seeing the Observable classes they rely on as two separately defined classes, which means that private and protected members will be incompatible (because they didn't come from the same declaration), despite them being identical in practice.
So I guess this can be closed as the issue with your code is not a bug, but it might be worth someone looking into the stackblitz thing? Unless I'm missing some obvious fix/workaround for it. Here's a much more minimal repro of the issue, in any case: https://stackblitz.com/edit/typescript-7c1ctq
From a quick look, I couldn't see anything specifically for this on the stackblitz side, but I did see this, which could well be related (and seems to still be an issue): https://github.com/stackblitz/core/issues/477

Thank you very much!! @jgbpercy, you clarified a lot of things to me :smile:
Then, if partition operator is broken and it's a stackblitz issue too, should we close this issue?

I think so yeah, https://github.com/ReactiveX/rxjs/issues/3797 and https://github.com/ReactiveX/rxjs/issues/3807 already exist for the clean up of partition.

Ok, thank you :+1:


New posts are always published with default slug "untitled-xyz"

There are several possible solutions:

When publishing, generate a slug from the title if the slug is "untitled-xyz": Even if the user publishes the post in offline mode, and if there's a slug conflict, Ghost takes care of assigning a unique slug all by itself! Tested with v0.6.2. This also respects the user's choice of slug, if it was changed on the website earlier, for example. Overall this solution seems simple and effective.
Emulate the web client: Generate the slug every time the title is edited, but only for the first editing session (i.e., when the draft is created) (don't count sessions when the post didn't have a valid title). This one works offline too, but is too complex to implement.
Generate and use a slug when uploading to the server: No issues if offline. The problem is, have to be careful not to change the slug for an existing post!

I like the first one best. Note: we MUST NEVER CHANGE the slug accidentally after the post is published.

The solution implemented is the first one.

When publishing, generate a slug from the title if the slug is "untitled-xyz"


Create a proper GitHub App?

(This is more a question than an issue)
Currently, the setup instructions tell you to create either a GitHub App or a personal GitHub token. When using a personal token, Scala Steward submits pull requests on behalf of your account, which is not great. This issue is solved with the GitHub App approach, however that approach is a bit cumbersome (the users have to follow the full process for creating the app and store the private key somewhere to be able to reuse it on every repository they want to apply the action to).
It seems possible to create a “global” Scala Steward app that everyone could install on their repositories. With this approach, the users would not have to create tokens or apps, they would only install the app on their repositories, and then create a workflow that uses it, and the workflow would submit the PRs on behalf of the app. This is for instance what is done in this example app: https://github.com/probot/example-github-action/issues/1#issuecomment-743591056. The comment has been posted by the workflow, on behalf of the “github-actions” app.
Would you be interested in giving a try to this approach?

Hey @julienrf, that would be a different approach than the purpose of this repository, which is running Scala Steward yourself. If a "global" Scala Steward would be created, the actual running of the program would have to be centralized, since in order to retrieve the list of repositories for an installation, an app needs to be authenticated (for which you need its private key). An alternative to this will be using the public instance managed by VirtusLab.

I see. I thought there would be a way to run Scala Steward ourselves but still post comments on behalf of a “global” app, but after digging more that seems complicated (at some point we need to provide the private key of the global app to the users…)


Example for session sensitive stress test

Hi Erik,
I thanks for your wonderful contribution since have to fight with gatling session / scala for a long time, without anything I'm already familiar with go lang.
Just curious, since I have to deal with API stress test (most of them used for mobile devices), a lot of side-function have to be perform among requests. How do I do it in gotling?
For example, this is the code snippet I got previously on gatling:
...
  val scn_auto = scenario("android_auto")
      .exec(http("/api/register")
        .post("/api/register")
        .header("Accept","application/json, application/*+json")
        .header("Authorization", "%s".format(authorizationStr0))
        .header("Content-Type", "multipart/form-data;boundary=%s".format(sep0))
        .body(
          StringBody(
            session => body0
          )
        )
        .check(
          jsonPath("$.result").saveAs("result0")
        )
      )
      .exec(session => {
        result0 = session("result0").as[String]
        val decryptText: String = AES.decrypt(result0, todayPadding)
        val respJSON = JSON.parseFull(decryptText)
        client_id = respJSON
          .get
          .asInstanceOf[Map[String, Any]]("client_id")
          .asInstanceOf[String]
        client_secret_key = respJSON
          .get
          .asInstanceOf[Map[String, Any]]("client_secret_key")
          .asInstanceOf[String]
        println("client_id -> " + client_id)
        println("client_secret_key -> " + client_secret_key)
        session.set("sep1", genSep(r, 36)).set("client_id", client_id).set("client_secret_key", client_secret_key)
      })
      .exec(http("/api/login")
        .post("/api/login")
        .header("Accept","application/json, application/*+json")
        .header(
          "Authorization",
          session => {
            val theClientId = session("client_id").as[String]
            Base64.getEncoder.encodeToString(theClientId.getBytes("UTF-8"))
          })
        .header(
          "Content-Type",
          session => {
            val theSep = session("sep1").as[String]
            "multipart/form-data;boundary=%s".format(theSep)
          })
        .body(
          StringBody(
            session => {
              val theSep = session("sep1").as[String]
              val theClientSecretKey = session("client_secret_key").as[String]
              genBody(theSep, dataToCryptText(data1, theClientSecretKey))
            }
          )
        )
        .check(
          jsonPath("$.result").saveAs("result1")
        )
      )
...

AES.encrypt, AES.decrypt, genBody are my custom functions. Basic workflow is:

send my device id to server with today date as AES encrypt key + base64 encoded
base64 decoded + AES decrypt with today's date the response and save the private key issued
send my login id and pwd with AES encrypt the private key + base64 encoded and get response

How do I do the same thing in gotling?

Hi,
thanks for showing interest in Gotling!
I'm sorry to say, there is currently no way to add custom processing for transforming captured values to base64 or de/encrypting bodies.
I guess one of the strengths of Gatling is that you have the Scala APIs at your disposal for inlining stuff like the "dataToDecrypt" or base64 conversions.
In a gotling context, I guess one could add customizable processing steps on captured bodies or vars (or outgoing values from feeders), but that's not something I have thought of before. Not sure how it would be done in an elegant way either.
For now, I think you'll have to look at other options than Gotling for your needs. Good luck!

Thanks. Close this issue for now.


사용자가 로그아웃을 한 다음, userChange 가 발생하지 않음.

It was a mistake on flutter app. It didn't listen the stream on stream builder.


[whitepaper][1.5.4]: Comments on legacy VNF-s

I have serious doubts that we can run "legacy VNF-s" (let's assume, that these are legacy because of their need for CPU pinning, NUMA alignement, SR-IOV or even PCI passthrough) using KubeVirt or Virtlet. It is possible to run these with OpenStack and yes it is possible to run these with an OpenStack on top of Kubernetes, but I think it is a too big simplification to say that OpenStack is an abstraction layer. It is an other orchestrator layer for "legacy VNF-s" on top of the orchestration layer for CNF-s.

https://github.com/cncf/telecom-user-group/blob/master/whitepaper/chapter01.md#1.5.4

Hi, @CsatariGergely  - to make sure we can publish in time for EU KC, I would like to close this one. We can revisit it in more detail in future white papers. Thanks.

Okay, we can fix this after the release to KubeCon.


changed noteIdentifier range to fall between 0 and 2047

Since webmidi.js report MIDI channels in the range 1-16 (but Web MIDI API uses 0-15) and the noteIdentifier should range from 0, I added event.message.channel - 1. This should make no difference to functionality, but I find it cleaner not to creat 128 unused indices.

I highly recommend doing work on feature branches. main is a special branch be it in a personal repo or here. Working in main makes squashing commits together a little harder. I can squash here on GitHub though.


🚀 - Add support for Pascal programming language

Which @codeimage/* package(s) are relevant/releated to the feature request?
codeimage
Description
Thank you for developing such an excellent piece of software!
It would be helpful if Pascal could be added as a supported language.
FYI, it seems that CodeMirror supports the Pascal language (I’m not familiar with CodeMirror, so I apologize if this is off the mark): https://github.com/codemirror/legacy-modes?tab=readme-ov-file#modepascal

Released with 1.8.1 😄


Full screen background (cover) bug on modal open

There is an issue when bootstrap modal is open causing the full-width background to stretch slightly larger until the modal is closed again.
<body style="background:url('background.jpg) no-repeat center center fixed; background-size: cover">
Anyone have this problem?  I tested it and it's the same on the official website when a modal is opened.

I have this error as well:

+1, started to happen when I to latest

+1, i have this problem too. The backdrop doesn't cover whole page when there is scroll bar in page. How can this be solved? any solution?

@canfiax @guyisra @NVK15 See #15136.


update MS SQL syntax

Fixes Issue
In the initialize_mssql.sql script the datatype BOOLEAN throws an error and should be BIT for MS SQL.
There is an extra ')' character in the create software table statement that cuts off the primary key constraint and causes a syntax error.
Description of Change
Updating the syntax in the initialize_mssql.sql script so that schema can be initialized on MS SQL 2017
Have test cases been added to cover the new functionality?
no

Thanks! We haven't fully checked the scripts for the external databases.


Add Govee RGBIC (H6127) BLE Support

Hi Wez,
Unfortunately, I cannot seem to find my BLE Govee using your tool, and it does not support LAN API through the app.
However, I found some resources of reverse engineering for this Govee RGB IC module, would you be able to implement the function using these resources?
https://pypi.org/project/govee-api-ble/
https://github.com/BeauJBurroughs/Govee-H6127-Reverse-Engineering
Really appreciate your support and amazing work you're doing as all my other Govee Lights are integrated as they Wi-Fi not BLE.
Thank you!

Sorry, no; I don't have this device and don't want to buy one, and don't have time to spare to look into this.
You may be able to resolve this for yourself; the BLE packets seem fairly similar across the different govee devices, so you can try adding a model for your device to the underlying python library:
https://github.com/wez/govee-py/blob/main/govee_led_wez/models.py#L30
and see if you can find out which combination of settings makes it work.
If you can and do, please submit a PR to that repo!

So does govee-lan-hass natively support BLE?
Your linked repo says something about enabling BLE and in HA I see no settings for BL-Adapter. My light strip didn't work out of the box with this integration, but it's not in the INFO_BY_MODEL dictionary too.
Thanks!


[Bug]: Fasttext install failed

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Actual behavior
https://github.com/facebookresearch/fastText/ isn't maintained anymore.
Steps to reproduce
Ubuntu 23.10, gcc-13.2
Building wheels for collected packages: fasttext
  Building wheel for fasttext (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [83 lines of output]
      /home/infiniflow/miniconda3/envs/ragflow/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!

              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.

              By 2024-Sep-26, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        opt = self.warn_dash_deprecation(opt, section)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/fasttext
      copying python/fasttext_module/fasttext/FastText.py -> build/lib.linux-x86_64-cpython-311/fasttext
      copying python/fasttext_module/fasttext/__init__.py -> build/lib.linux-x86_64-cpython-311/fasttext
      creating build/lib.linux-x86_64-cpython-311/fasttext/util
      copying python/fasttext_module/fasttext/util/util.py -> build/lib.linux-x86_64-cpython-311/fasttext/util
      copying python/fasttext_module/fasttext/util/__init__.py -> build/lib.linux-x86_64-cpython-311/fasttext/util
      creating build/lib.linux-x86_64-cpython-311/fasttext/tests
      copying python/fasttext_module/fasttext/tests/test_script.py -> build/lib.linux-x86_64-cpython-311/fasttext/tests
      copying python/fasttext_module/fasttext/tests/test_configurations.py -> build/lib.linux-x86_64-cpython-311/fasttext/tests
      copying python/fasttext_module/fasttext/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/fasttext/tests
      running build_ext
      creating tmp
      gcc -pthread -B /home/infiniflow/miniconda3/envs/ragflow/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -I/home/infiniflow/miniconda3/envs/ragflow/include/python3.11 -c /tmp/tmp8tfent98.cpp -o tmp/tmp8tfent98.o -std=c++14
      gcc -pthread -B /home/infiniflow/miniconda3/envs/ragflow/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -I/home/infiniflow/miniconda3/envs/ragflow/include/python3.11 -c /tmp/tmp1qqgegza.cpp -o tmp/tmp1qqgegza.o -fvisibility=hidden
      building 'fasttext_pybind' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/python
      creating build/temp.linux-x86_64-cpython-311/python/fasttext_module
      creating build/temp.linux-x86_64-cpython-311/python/fasttext_module/fasttext
      creating build/temp.linux-x86_64-cpython-311/python/fasttext_module/fasttext/pybind
      creating build/temp.linux-x86_64-cpython-311/src
      gcc -pthread -B /home/infiniflow/miniconda3/envs/ragflow/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -I/home/infiniflow/miniconda3/envs/ragflow/lib/python3.11/site-packages/pybind11/include -I/home/infiniflow/miniconda3/envs/ragflow/lib/python3.11/site-packages/pybind11/include -Isrc -I/home/infiniflow/miniconda3/envs/ragflow/include/python3.11 -c python/fasttext_module/fasttext/pybind/fasttext_pybind.cc -o build/temp.linux-x86_64-cpython-311/python/fasttext_module/fasttext/pybind/fasttext_pybind.o -DVERSION_INFO=\"0.9.2\" -std=c++14 -fvisibility=hidden
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc: In lambda function:
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:345:35: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
        345 |             for (int32_t i = 0; i < vocab_freq.size(); i++) {
            |                                 ~~^~~~~~~~~~~~~~~~~~~
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc: In lambda function:
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:359:35: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
        359 |             for (int32_t i = 0; i < labels_freq.size(); i++) {
            |                                 ~~^~~~~~~~~~~~~~~~~~~~
      gcc -pthread -B /home/infiniflow/miniconda3/envs/ragflow/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -O2 -isystem /home/infiniflow/miniconda3/envs/ragflow/include -fPIC -I/home/infiniflow/miniconda3/envs/ragflow/lib/python3.11/site-packages/pybind11/include -I/home/infiniflow/miniconda3/envs/ragflow/lib/python3.11/site-packages/pybind11/include -Isrc -I/home/infiniflow/miniconda3/envs/ragflow/include/python3.11 -c src/args.cc -o build/temp.linux-x86_64-cpython-311/src/args.o -DVERSION_INFO=\"0.9.2\" -std=c++14 -fvisibility=hidden
      src/args.cc: In member function ‘void fasttext::Args::parseArgs(const std::vector<std::__cxx11::basic_string<char> >&)’:
      src/args.cc:120:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
        120 |   for (int ai = 2; ai < args.size(); ai += 2) {
            |                    ~~~^~~~~~~~~~~~~
      src/args.cc:221:19: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=]
        221 |     } catch (std::out_of_range) {
            |                   ^~~~~~~~~~~~
      src/args.cc: In member function ‘int64_t fasttext::Args::getAutotuneModelSize() const’:
      src/args.cc:468:3: error: ‘uint64_t’ was not declared in this scope
        468 |   uint64_t multiplier = 1;
            |   ^~~~~~~~
      src/args.cc:17:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
         16 | #include <unordered_map>
        +++ |+#include <cstdint>
         17 |
      src/args.cc:471:5: error: ‘multiplier’ was not declared in this scope
        471 |     multiplier = units[lastCharacter];
            |     ^~~~~~~~~~
      src/args.cc:474:11: error: expected ‘;’ before ‘size’
        474 |   uint64_t size = 0;
            |           ^~~~~
            |           ;
      src/args.cc:478:5: error: ‘size’ was not declared in this scope
        478 |     size = std::stol(modelSize, &nonNumericCharacter);
            |     ^~~~
      src/args.cc:490:10: error: ‘size’ was not declared in this scope
        490 |   return size * multiplier;
            |          ^~~~
      src/args.cc:490:17: error: ‘multiplier’ was not declared in this scope
        490 |   return size * multiplier;
            |                 ^~~~~~~~~~
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fasttext
  Running setup.py clean for fasttext
Failed to build fasttext
ERROR: Could not build wheels for fasttext, which is required to install pyproject.toml-based projects

This can be solved by installing directly from git. Use pip install git+https://github.com/facebookresearch/fastText@main instead of the PyPI package.

This look quite similar when I migrating the dependency management to Poetry. I solved it by installing directly from git. Use pip install git+https://github.com/facebookresearch/fastText@main instead of the PyPI package.

Good! it is solved.

This does not work on windows OS. fasttext does not work on windows OS. pls help.


fix(readme): changes readme to bump package

:tada: This PR is included in version 1.43.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add welcome page client/push

When billing runs, it will update the welcome page DB with current usage and billing period details.

Currently including the content from https://github.com/ansible/ansible-automation-platform-billing/pull/7, will separate them.

Not doing this for now.


Orders TypeName attributes

TypeName.attribute is a Dictionary which does not guarantee an ordering.
If a TypeName has several different attributes the ordering of these in generated code is not guaranteed.
As an example: having both @autoclosure and @escaping arguments on a closure in a file that is used to generate code will result the generated file being regenerated with both @autoclosure @escaping and @escaping @autoclosure orderings.
This pull request adds sorting to:

TypeName.asSource
TypeName.description

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger


Add json-schema for ci files

It would be nice to add a json-schema for yml files to schemastore.org. This would probably help many users with typos and autocompleting configs.
Before a schema can be added some kind of default path should be discussed see #133.
Maybe the following catalog entry would fit:
{
      "name": "Woodpecker pipeline config",
      "description": "YAML schema for Woodpecker pipeline",
      "fileMatch": [
        ".woodpecker/**.yml",
        ".woodpecker.yml"
      ],
      "url": "https://json.schemastore.org/woodpecker.json"
    }

#133 got resolved

how is this pipeline&feature related, I think this is documentation?

how is this pipeline&feature related, I think this is documentation?

You are right. #276 will be the part that checks the pipeline-config with the json-schema.


OFF: What is the scanner engine QR Droid Code Scanner app use?

I'm looking for performatic scanner engine for large QR Codes and ai can I the QR Droid ( https://play.google.com/store/apps/details?id=la.droid.qr&hl=pt_BR ) is more efficient.
How can I know a really good scanner?
Thanks

This isn't really a place to ask that question.  If you have specific questions about ZXing.Net.Mobile then please open an issue for them.


Remove the CACHE_MISS condition on m1 mac

Because we use same vendor on M1 mac now.

@bot-gradle test and merge


runtime: memory corruption from stack-allocated defer on 32-bit

On 32-bit architectures, a stack-allocated defer of a function with a 16-byte or smaller argument frame including a non-empty result area can corrupt memory if the deferred function grows the stack and is invoked during a panic. This has been possible since stack-allocated defers were implemented in Go 1.13.
This happens because the Go signature of runtime.call16 (the function used for reflectcall with argument frames 16 bytes or smaller) is wrong. Specifically, it is
func call16(fn, arg unsafe.Pointer, n, retoffset uint32)

but it should be
func call16(typ, fn, arg unsafe.Pointer, n, retoffset uint32)

As a result of this mismatch, the stack copier thought call16's third argument, arg, was a scalar rather than a pointer and thus would not adjust it even if it pointed into the stack. There's only one case where this happens: stack-allocated defers. All other uses of reflectcall pass a heap-allocated arg (which is kept reachable from other stack roots). If the deferred function grows the stack, then upon return, call16 would copy its results back to a stale arg frame that still points to where the stack used to be, potentially corrupting that memory.
It's basically impossible to write a unit test for this, but I confirmed it manually by stepping through the following example compiled for GOARCH=386:
package main

func main() {
	defer func() (x byte) {
		growStack(1000)
		return 42
	}()
	// Force the above defer to the stack.
	for i := 0; i < 1; i++ {
		defer func() {}()
	}
	// panic to invoke deferred functions reflectively.
	panic("x")
}

func growStack(n int) {
	if n != 0 {
		growStack(n - 1)
	}
}

$ GOARCH=386 go build x.go
$ gdb ./x
(gdb) br x.go:5
(gdb) br x.go:6
(gdb) r
Thread 1 "x" hit Breakpoint 1, main.main.func1 (x=<optimized out>) at /tmp/x.go:5
5			growStack(1000)
(gdb) print/x $getg().stack
$1 = {lo = 0x8442000, hi = 0x8442800}
# ^ Stack prior to call16
(gdb) c
Thread 1 "x" hit Breakpoint 2, main.main.func1 (x=<optimized out>) at /tmp/x.go:6
6			return 42
(gdb) print/x $getg().stack
$2 = {lo = 0x8476000, hi = 0x847a000}
# ^ Stack after stack move
(gdb) br 'runtime.reflectcallmove'
Breakpoint 3 at 0x8054140: file /home/austin/go.dev/src/runtime/mbarrier.go, line 226.
(gdb) c
Thread 1 "x" hit Breakpoint 3, runtime.reflectcallmove (typ=0x0, dst=0x84427c4, src=0x8479f18, size=0)
(gdb)

In reflectcallmove, the dst argument refers to the stack's address from before the stack move, which could have been reallocated.

@gopherbot, please open backports to Go 1.15 and 1.14.
This can cause random memory corruption on 32-bit architectures. The circumstances for it happening are incredibly narrow, but the fix is also trivial.


mark packages-autoroller bringup again

Even after updating the account (and the cloudKMS GitHub token), when the bot tries to push to https://github.com/flutter-pub-roller-bot/flutter, it gets a 403, which probably means authentication failed. I will have to investigate next week.
Exception: GitException: Exception on command "push https://[GitHub<EMAIL_ADDRESS>packages-autoroller-branch-1:packages-autoroller-branch-1": Command "git push https://[GitHub<EMAIL_ADDRESS>packages-autoroller-branch-1:packages-autoroller-branch-1" failed in directory "/b/s/w/ir/x/w/flutter_conductor_checkouts/framework" to update the release branch with the commit. Git exited with error code 128.
stderr from git:
16:33:21.199510 exec-cmd.c:90           trace: resolved executable path from procfs: /b/s/w/ir/cipd_bin_packages/bin/git
16:33:21.199587 exec-cmd.c:237          trace: resolved executable dir: /b/s/w/ir/cipd_bin_packages/bin
16:33:21.200155 git.c:460               trace: built-in: git push https://[GitHub<EMAIL_ADDRESS>packages-autoroller-branch-1:packages-autoroller-branch-1
16:33:21.200542 run-command.c:655       trace: run_command: GIT_DIR=.git git remote-https https://[GitHub<EMAIL_ADDRESS>https://[GitHub<EMAIL_ADDRESS>16:33:21.201787 exec-cmd.c:90           trace: resolved executable path from procfs: /b/s/w/ir/cipd_bin_packages/libexec/git-core/git
16:33:21.201845 exec-cmd.c:237          trace: resolved executable dir: /b/s/w/ir/cipd_bin_packages/libexec/git-core
16:33:21.202175 git.c:750               trace: exec: git-remote-https https://[GitHub<EMAIL_ADDRESS>https://[GitHub<EMAIL_ADDRESS>16:33:21.202195 run-command.c:655       trace: run_command: git-remote-https https://[GitHub<EMAIL_ADDRESS>https://[GitHub<EMAIL_ADDRESS>16:33:21.203510 exec-cmd.c:90           trace: resolved executable path from procfs: /b/s/w/ir/cipd_bin_packages/libexec/git-core/git-remote-http
16:33:21.203567 exec-cmd.c:237          trace: resolved executable dir: /b/s/w/ir/cipd_bin_packages/libexec/git-core
remote: Permission to flutter-pub-roller-bot/flutter.git denied to flutter-pub-roller-bot.
fatal: unable to access 'https://github.com/flutter-pub-roller-bot/flutter.git/': The requested URL returned error: 403

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux packages_autoroller/6031/overview
This is still being tracked in https://github.com/flutter/flutter/issues/129744

Merging before presubmits as this will not affect any other tests, but will open the tree.


Footer Copyright Year Displays Previous Year Instead of Current Year

Describe the bug
The copyright year in the footer of the sign-up, login, and forgot password pages is displaying the previous year instead of the current year.
To Reproduce
Steps to reproduce the behaviour:

Go to 'Shop'
Click the sign-up page, login page or Forgot Password Page
Scroll down to the footer of the above pages.
Observe that the copyright year is displaying the previous year.

Expected behavior
The copyright year in the footer of the sign-up, login, and forgot password pages should display the current year.
Screenshots
Please take Reference from Here

@Amitk-webkul Please check it out, Can i work on it?
As per pointed issue, Previous Showing there, I would like to fix this issue, by making it dynamically, that will show always current year without modifying manually in lang files.

Hi @JunaidJaved248 , would you like to work on this so I can assign this to you?

@saurav-webkul  Yes Sure


Cannot build closure-compiler

I'm trying to build a specific version of closure-compiler (v20210302) for compatibility reasons, namely to then build libphonenumber, which specifies that it needs this specific version of closure-compiler. I'm on MacOS Ventura.
But when I run:
bazelisk build :all
I get the error:
ERROR: no such package '@google_bazel_common//'. Any ideas? Thanks for your help.
The output from bazelisk version:
Bazelisk version: development
Build label: 2.2.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Mar 3 09:28:15 2020<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

I found this possibly related issue: #3717 but the solution seems to be installing windows specific dependencies like MSYS2, when I am on MacOS Ventura.
Here's the full error message for reference:
Starting local Bazel server and connecting to it...
INFO: Call stack for the definition of repository 'google_bazel_common' which is a git_repository (rule definition at /private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl:195:18):
 - <builtin>
 - /Users/jack/workspace/libphonenumber/closure-compiler/WORKSPACE.bazel:5:1
ERROR: An error occurred during the fetch of repository 'google_bazel_common':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 177
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 103, in _update
		fetch(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 129, in fetch
		_git_maybe_shallow(ctx, <5 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 171, in _git_maybe_shallow
		_error(ctx.name, <2 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 181, in _error
		fail(<1 more arguments>)
error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @google_bazel_common:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Operation timed out

ERROR: no such package '@google_bazel_common//': Traceback (most recent call last):
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 177
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 103, in _update
		fetch(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 129, in fetch
		_git_maybe_shallow(ctx, <5 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 171, in _git_maybe_shallow
		_error(ctx.name, <2 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 181, in _error
		fail(<1 more arguments>)
error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @google_bazel_common:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Operation timed out

ERROR: no such package '@google_bazel_common//': Traceback (most recent call last):
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 177
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 103, in _update
		fetch(ctx, git_repo)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 129, in fetch
		_git_maybe_shallow(ctx, <5 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 171, in _git_maybe_shallow
		_error(ctx.name, <2 more arguments>)
	File "/private/var/tmp/_bazel_jack/e01c1276e074eb04ddd632847a37b16d/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 181, in _error
		fail(<1 more arguments>)
error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @google_bazel_common:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Operation timed out

INFO: Elapsed time: 83.172s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

It looks like your root issue might be connectivity of some kind:
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Operation timed out

Any chance trying again helps, since clearly you can reach github.com in your browser? Otherwise is it possible that you're limited (by some firewall, etc) in how you can connect to github?

Thanks for your quick response. Yeah I thought the same thing, but as you note, I'm on the Github website all the time. I've tried this from my local library's wifi, from my phone's hotspot, and from my home wifi and I get the same thing. I'm fine cloning repos from Github, so I don't think it's the connection... 🤔

And to be clear, I've run the command many times now. It used to take 70-80 seconds to timeout, and now it's consistently taking 20 seconds. I'm wondering if somehow I'm being rate-limited? I guess I'll wait a while and try again tomorrow.

Ok the weird thing is if I checkout master, then it builds just fine (including loading google_bazel_common I noticed!)
But then I checkout v20210302 again, and build again, and get the same error as before 🤷
Also worth mentioning: last year this version was building just fine for me, but that was on a previous version of MacOS, JDK, Bazelisk etc.
Do let me know if you have any other thoughts? 🙏

Just to be sure, I've run the Github Debug commands, which seem to work fine:
~/w/l/closure-compiler ❯❯❯ git clone https://github.com/github/debug-repo /tmp/debug-repo-http                                                                                tags/v20210302
Cloning into '/tmp/debug-repo-http'...
remote: Enumerating objects: 1653, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1653 (delta 0), reused 0 (delta 0), pack-reused 1649
Receiving objects: 100% (1653/1653), 329.28 KiB | 3.39 MiB/s, done.
Resolving deltas: 100% (1063/1063), done.

~/w/l/closure-compiler ❯❯❯ git clone git@github.com:github/debug-repo /tmp/debug-repo-ssh                                                                                tags/v20210302
Cloning into '/tmp/debug-repo-ssh'...
remote: Enumerating objects: 1653, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1653 (delta 0), reused 0 (delta 0), pack-reused 1649
Receiving objects: 100% (1653/1653), 329.28 KiB | 1.20 MiB/s, done.
Resolving deltas: 100% (1063/1063), done.

~/w/l/closure-compiler ❯❯❯ ping -c 10 github.com                                                                                tags/v20210302
PING github.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=48 time=21.115 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=48 time=23.028 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=48 time=22.447 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=48 time=22.712 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=48 time=21.130 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=48 time=21.387 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=48 time=22.286 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=48 time=21.083 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=48 time=24.416 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=48 time=21.133 ms

--- github.com ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 21.083/22.074/24.416/1.055 ms

~/w/l/closure-compiler ❯❯❯ traceroute github.com                                                                                tags/v20210302
traceroute to github.com (<IP_ADDRESS>), 64 hops max, 52 byte packets
 1  <IP_ADDRESS> (<IP_ADDRESS>)  4.119 ms  1.603 ms  1.251 ms
 2  * * *
 3  * * *
 4  <IP_ADDRESS> (<IP_ADDRESS>)  11.687 ms  9.193 ms  10.235 ms
 5  core1-hu0-12-0-3.colindale.ukcore.bt.net (<IP_ADDRESS>)  9.422 ms
    core2-hu0-6-0-9.colindale.ukcore.bt.net (<IP_ADDRESS>)  8.876 ms
    core1-hu0-16-0-8.colindale.ukcore.bt.net (<IP_ADDRESS>)  8.930 ms
 6  core6-hu0-3-0-15.faraday.ukcore.bt.net (<IP_ADDRESS>)  10.488 ms
    peer7-et-0-1-6.telehouse.ukcore.bt.net (<IP_ADDRESS>)  8.723 ms
    core6-hu0-7-0-15.faraday.ukcore.bt.net (<IP_ADDRESS>)  9.510 ms
 7  166-49-209-194.gia.bt.net (<IP_ADDRESS>)  9.163 ms
    166-49-214-194.gia.bt.net (<IP_ADDRESS>)  16.152 ms
    166-49-209-194.gia.bt.net (<IP_ADDRESS>)  9.290 ms
 8  ldn-b3-link.ip.twelve99.net (<IP_ADDRESS>)  9.067 ms *  12.473 ms
 9  ae3.cs1.lhr15.uk.eth.zayo.com (<IP_ADDRESS>)  20.661 ms  21.045 ms
    ldn-bb1-link.ip.twelve99.net (<IP_ADDRESS>)  10.206 ms
10  * prs-bb2-link.ip.twelve99.net (<IP_ADDRESS>)  18.148 ms  16.385 ms
11  ae4.cs1.ams17.nl.eth.zayo.com (<IP_ADDRESS>)  22.763 ms
    ffm-bb1-link.ip.twelve99.net (<IP_ADDRESS>)  24.707 ms
    ae4.cs1.ams17.nl.eth.zayo.com (<IP_ADDRESS>)  21.029 ms
12  * ffm-b11-link.ip.twelve99.net (<IP_ADDRESS>)  25.015 ms *
13  github-ic350972-ffm-b11.ip.twelve99-cust.net (<IP_ADDRESS>)  25.382 ms
    ae1.mcs1.fra6.de.eth.zayo.com (<IP_ADDRESS>)  20.609 ms
    github-ic350972-ffm-b11.ip.twelve99-cust.net (<IP_ADDRESS>)  24.573 ms
14  <IP_ADDRESS>.ipyx-270403-001-zyo.zip.zayo.com (<IP_ADDRESS>)  19.704 ms * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
31  * * *
32  * * *
33  * * *
34  * * *
35  * * *
36  * * *
37  * * *
38  * * *
39  * * *
40  * * *
41  * * *
42  * * *
43  * * *
44  * * *
45  * * *
46  * * *
47  * * *
48  * * *
49  * * *
50  * * *
51  * * *
52  * * *
53  * * *
54  * * *
55  * * *
56  * * *
57  * * *
58  * * *
59  * * *
60  * * *
61  * * *
62  * * *
63  * * *
64  * * *

In the end I solved it with this workaround: https://github.com/npm/npm/issues/6285#issuecomment-56640354