imports that use non-relative paths are generated with relative paths.

Hi there, thanks for building this!
Are non-relative paths supported for the imports config property? I'm seeing the following:
Observed Behavior
Given the following config in schema.prisma:
generator zod {
   imports = "@my-org/custom-zod"
}

The generated typescript contains a relative import path:
import * as imports from "../../prisma/@my-org/custom-zod"

Expected Behavior
import * as imports from "@my-org/custom-zod"

Hey @obibring, glad you are enjoying the package!
Right now the generator is not setup to handle this use case but this makes a ton of sense! I'll get to work on a fix for you and let you know when a fix is out.
For now simply pointing to the package in the node_modules directory (ie. ../../node_modules/@my-org/custom-zod) should mitigate the issue.

Thanks @CarterGrimmeisen !


YouTube videos do not seamlessly loop

While react-player seems to be using the YouTube API correctly, it would be nice if it provided a workaround for the fact that the YouTube API loop parameter fails completely at properly looping video. You can find a number of stack overflow references to it. However, it can be solved by seeking to the first frame and playing on the ended event of the video.
If you use this URL: https://www.youtube.com/watch?v=f_JDEJGoU1Q in https://cookpete.com/react-player/, you'll see you get a black background briefly if you set the loop option, which shouldn't happen and is preventable. For example, here's a blog post about restarting the video on the ended event: https://codebushi.com/react-youtube-background/.

However, it can be solved by seeking to the first frame and playing on the ended event of the video.

Funnily enough this is what ReactPlayer already does. It seems like the loop option doesn't even work when using new YT.Player(). The youtube player uses loopOnEnded, which manually seeks to zero when the video ended event gets fired:
https://github.com/CookPete/react-player/blob/7364be4555b8cfc18e0d5736e1024a65032dc7c2/src/Player.js#L172-L176
I see what you mean about the very quick flash of black on every loop, but I'm not sure what can be done about it.

@CookPete It seems that the only way for seemless loops may be to not wait for the ended event, but to actually poll the video to find when you're nearing the last frame and restart - https://stackoverflow.com/questions/39194984/youtube-embedded-video-using-iframe-api-cant-play-a-perfect-loop-and-re-buffers

Funny you should mention it..

@CookPete That's fantastic. Unfortunately this example is not usable without addressing this: https://github.com/CookPete/react-player/issues/407 - because of the inability to get a reference to this.player 😢

@CookPete Two other things about this looping technique - it seems if the tab is not active, it won't fire enough (or at all?) in which case the video will end without looping. I added the loop parameter, but for some reason the video still ends at some point without the tab having focus.  🤔  https://jsfiddle.net/o9vqq4L6/2/
The other thing is that these looped videos may be very different in length. So setting it as 0.99 will loop back much sooner (before end) on a 1 minute video than a 10 second video. Ideally, it would be more like "x ms from end". Which, again, I think I could hack something up myself if #407 is addressed with something like onReady(this).

@CookPete this solution doesn't work on Safari.  My only other idea would be to have two looping players, but show/hide/fade between one another to avoid the black frame..
..or don't use YouTube and just use a video file.

The other thing is that these looped videos may be very different in length. So setting it as 0.99 will loop back much sooner (before end) on a 1 minute video than a 10 second video.

@matthew-dean Yeah you could just use onDuration to get the video duration and use that to determine when to seek.


I cant run the .py file and there seems to be no .exe

I cant run the .py file and there seems to be no .exe

For the .py you have to download python and install all the required packages.
For .exe I moved it to here: https://github.com/TKperson/Nuking-Discord-Server-Bot-Nuke-Bot/releases/tag/2.3.2

isn't that the current version? -> https://github.com/TKperson/Nuking-Discord-Server-Bot-Nuke-Bot/releases/tag/2.3.2

yes that's the current version

Alright, but I still don't see the .exe file here https://github.com/TKperson/Nuking-Discord-Server-Bot-Nuke-Bot/releases/tag/2.3.2

The c-realV2.zip file contains the .exe file
Here's the direct donwload: https://github.com/TKperson/Nuking-Discord-Server-Bot-Nuke-Bot/releases/download/2.3.2/c-realV2.3.2.zip

Thank you! Have a great night/day!


chore: add maven repo that contains jpastebin

This change is required to allow the CrashReporter to import the org.jpastebin dependency which is required to fix the broken CrashReporter integration with PasteBin.
See issue #4699
See fix https://github.com/MovingBlocks/CrashReporter/pull/44

 Fix CrashReporter


Update 'master' readme to reflect 4.2 branch builds

Update the readme to show the Build / Package badges for the 4.2 release.

Pull Request Test Coverage Report for Build 2421

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 82.198%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-config/src/botConfigurationBase.ts
2
85.59%

Totals

Change from base Build 2405:
-0.06%

Covered Lines:
2703

Relevant Lines:
3165

💛  - Coveralls


control over intropection and error options

option for introspection and masking errors

Right! Should remove that logger stuff since we already have an option for it.

Do we really need these as standalone option? Could we instead just point people to import the envelop plugins and use them?

We want to provide some presets for users which they would most likely need as part of this config so they don’t need to download additional deps. Also for users migrating, introspection is something other servers provide so this keeps it consistent

Thoughts on only keeping isDev in Node env and not in core? This can allow enabling disabling based on env variables.

Also not sure how to mock to write test for checking logger option enabled/disabled.


Parse failure: expected '(' in parameter with generic operators

Issue Summary
I have seen files fail to parse with the error expected '(' in parameter. From what I can tell, these failures seem to be related to 1) using generics and 2) defining operators like == and +=, for example:
public func ==<A: Equatable, B: Equatable>(

I am not well versed in swift so apologies if this is not a detailed enough description.  I have linked several OSS code samples below that cause this failure and seem related.  The included snippet is from the airbnb/lona project and runs successfully in swift 4. Thanks!
Environment

OS Info: macOS Version 10.13.2 (Build 17C88)
Yanagiba/swift-ast version: 0.4.1

Reproduction Steps

Sample code
infix operator ?=

func ?=<T> (left: inout T?, right: T) {
    if left == nil {
        left = right
    }
}

Command to run swift-ast with the code above:
swift-ast /Users/chrishulton/code/testing/swift_qa/failing_cases/expected_paren.swift

Expected Result
The code should parse successfully.
Actual Behavior
There is a parse failure: expected '(' in parameter
/Users/chrishulton/code/testing/swift_qa/failing_cases/expected_paren.swift:3:9 fatal: expectedParameterOpenParenthesis

Even Better
Here are some additional OSS examples that cause this failure:

https://github.com/apple/swift-package-manager/blob/master/Sources/Basic/SortedArray.swift#L153
https://github.com/apple/swift-package-manager/blob/master/Sources/Basic/KeyedPair.swift#L49
https://github.com/apple/swift-package-manager/blob/master/Sources/Basic/Tuple.swift#L12

This happens when there is no space in between the operator and opening angle bracket <, as it's parsing the < as part of the operator AFAICT

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment.


Create a json-schema from a Run

provide a json-schema that is valid for a select Run

Closing as stale.


Get rid of openssl

The only thing that prevents us from cross-compiling the whole codebase (instead of just client packages) is openssl (which is harder to get for cross-compilation targets).
Seems like:
https://github.com/bitcoindevkit/rust-esplora-client/pull/44
might fix it. I'm not sure if there's any other dependency that pulls it in.

I feel like we should almost add a CI check to make sure that openssl isn't in our Cargo.lock. It keeps sneaking back in.

Unfortunately clippy does not have a lint for something like "disallowed dependencies" (https://rust-lang.github.io/rust-clippy/master/index.html#cargo), as it would be simpler with the .clippy.toml. I guess it might be a good feature to propose there.

We don't need special tooling for this, greping the Cargo.lock file should be sufficient to make sure we don't depend on openssl.

Note: we already have a place that does something kind of line that: https://github.com/fedimint/fedimint/blob/21ffb6deb9a8aa7cb3710674e086cd066b75b6a0/misc/git-hooks/pre-commit#L38


Create 438-Find-All-Anagrams-In-A-String.kt

File(s) Modified: 438-Find-All-Anagrams-In-A-String.kt.
Language(s) Used: Kotlin
Submission URL: _https://leetcode.com/problems/find-all-anagrams-in-a-string/submissions/844529252/_

Looks good, thanks for the contribution!


Lock Triggers

Hi,
I have some issue with Jenkins most of my Job which are scheduled(cron) are never running on time or even randomly.
One of my guess based on the logs below is that the Github api is using the Trigger too much.
Not sure what is causing my job to not be trigger on time. The only thing I found was this thread.
jenkins.util.Timer [#4]
"jenkins.util.Timer [#4]" Id=127 Group=main RUNNABLE
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:171)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	-  locked java.io.BufferedInputStream@154ae878
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593)
	-  locked sun.net.www.protocol.http.HttpURLConnection@687449ff
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
	-  locked sun.net.www.protocol.http.HttpURLConnection@687449ff
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at org.kohsuke.github.Requester.parse(Requester.java:615)
	at org.kohsuke.github.Requester.parse(Requester.java:607)
	at org.kohsuke.github.Requester.access$200(Requester.java:74)
	at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:518)
	at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:494)
	at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
	at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.getPRCommitAuthor(GhprbPullRequest.java:445)
	at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:222)
	at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:179)
	at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:159)
	at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:371)
	at hudson.triggers.Trigger.checkTriggers(Trigger.java:278)
	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226)
	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

	Number of locked synchronizers = 1
	- java.util.concurrent.ThreadPoolExecutor$Worker@79f77b4f

@bitwiseman any idea ?

@shinji62
From the log you provided I can't tell what is occurring.
I would think GhprbTrigger would be my first check.  I'm wondering why it is this stack.
@kohsuke
Do you have thoughts?
o you have test instance you can try some things on?

@bitwiseman Tell me what you need, dump logs etc .. I will put it there.
One others thing I saw it's our repository have around 4000 issues so seems the plugin ghprb use `` https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/GhprbRepository.java#L145 to get only OpenPull request but in the logs I can see that Jenkins is looking for Closed one too.

@shinji62
Can you run a cron without Ghprb?
This SO article seems to indicated that the locked message is not related to the problem.  Is there more output?

I try and work just run randomly.

Closing for now.  Please comment with more info if you see this again.


--name and --app-copyright flags do not allow space between the texts

Homework

[x] I looked at nativefier --help and https://github.com/nativefier/nativefier/blob/master/docs/api.md
[x] I searched existing issues, open & closed. Yes, my bug is new.
[x] I'm using the latest version available at https://github.com/nativefier/nativefier/releases

Bug description
When building an app with the name "My App Name", it will only consider the first word, and the app will be named "My". Same thing happens with the copyright flag.
Steps to reproduce
I'm using this command to build the app:
nativefier example.com --name My App Name --app-copyright My App Name --platform windows --min-width 800 --min-height 600
Expected behavior
The app to be named "My App Name"
Actual behavior
The app is named "My"
Context
Nativefier: 42.2.1
Node.js: 14.15.4
Npm: 6.14.10
OS: Using both Windows and MacOS

Insert double quotes, as in:
nativefier example.com --name "My App Name" --app-copyright "My App Name" --platform "windows" --min-width "800" --min-height "600"

Thanks @sarweshparajuli ! It really worked.
As a suggestion for improvement, I think it would be interesting to make this more clear in the documentation....


Redo the cursorless tutorial

The cursorless tutorial is now several months old.  It could use a rework.  In addition to refreshing it with better audio quality, the cursorless intro, etc, we would like to do the following:

[ ] Make it clearer that the specific letter over which the hat sits is important, as asked in this comment
[ ] Don't spend so much time hopping around in the beginning, lest new users assume we're just metajump / acejump / etc
[ ] Mention settings, esp hat size / offset

It would also really be great to have individual features timestamped in the video, as YouTube allows

Done! https://www.youtube.com/watch?v=5mAzHGM2M0k&list=PLXv2sppxeoQZz49evjy4T0QJRIgc_JPqs


Always gets the last character of input

**What is your Quests version / build number (do not say "latest")?

3.9.2

Describe the problem and how to replicate it.
Just started using the plugin and tried creating my first quest. It seems that for everything I type, the plugin takes as an answer the last character I am using twice.
Steps to reproduce the problem:

Joined my server. No other command used other than /login from AuthMe to login.
Issued the /quests editor command.
Typed "1" to create a new quest.
Then I am asked to enter the quest's name, followed by the editor menu. I just continued.
I typed the name and then I got the editor menu twice, like I gave wrong input or something.
I then typed "2" to set the ask message.
I was asked to set the ask message, but it automatically set it to "2", like I entered it twice.
The same happens for every option, when sometimes I can't exit menus, forcing me to disconnect.

If applicable, can you provide an example quest from quests.yml?
Every quest.
I don't know if any additional information would help, or what other plugins I am using. I have not found the same issue in the repo (or at least I did not see it). Thank you for your time, have a nice day and stay safe.

Thanks for the report. I haven't been able to replicate this. Would you mind seeing if it still happens for you in the latest development build?
https://ci.codemc.io/job/PikaMug/job/Quests/103/

I tested with the latest build but the issue persists. I even tested it with other mods on my server in case the problem was a hardware one from my side, but they are facing the same issue as well.
I made a small recording, maybe I did not accurately describe the problem? I don't know, I hope it will help you in some way: https://www.youtube.com/watch?v=pOf0pyHQEmM

*UPDATE
This is caused by the server. I am using Magma, Forge/Paper hybrid and they have the same issue on other text-input plugins as well. I reported the issue to them. Sorry for the false issue. Stay safe!


upgraded dependencies to fit with Angular 2 Final

rxjs-dependencies are in conflict with the new Angular 2 RC7 as stated in https://github.com/ngrx/core/issues/7

On my machine, tests are working fine:
14 09 2016 07:41:13.286:INFO [karma]: Karma v0.13.22 server started at http://localhost:9018/
14 09 2016 07:41:13.302:INFO [launcher]: Starting browser Chrome
14 09 2016 07:41:15.172:INFO [Chrome 52.0.2743 (Windows 10 0.0.0)]: Connected on socket /#pifazoKAZTVO-u4AAAAA with id 54778964
  SyncSubject
    √ should extend Subject
    √ should start with an initialization value
    √ should pump values to multiple subscribers
    √ should clean out unsubscribed subscribers
    √ should be an Observer which can be given to Observable.subscribe
  compose Function
    √ should return an identity function if no functions are composed
    √ should return the result of the first function if only one function is provided
    √ should compose all functions from right to left maintaining the type signature
  enterZone Operator
    √ should cause an observable stream to enter the ng zone
  Router
    √ should compile
  leaveZone Operator
    √ should cause an observable stream to leave the ng zone
  select Operator
    √ should accept a string and return that property from the object
    √ should return a list of strings and deeply map into the object
    √ should accept a map function instead of a string
    √ should not emit a new value if there is no change

Finished in 0.042 secs / 0.014 secs

SUMMARY:
√ 15 tests completed

=============================== Coverage summary ===============================
Statements   : 99.06% ( 105/106 )
Branches     : 74.07% ( 20/27 )
Functions    : 100% ( 28/28 )
Lines        : 98.94% ( 93/94 )
================================================================================

PR is no longer needed


How can I pass a prop to className?

💬 Questions and Help
I'm using an svgo.config.js file to pass a className to the SVG element via the addClassesToSVGElement plugin.
{
  name: 'addClassesToSVGElement`,
  params: {
    className: 'icon',
  },
},

What I'm struggling to figure out is how to pass a prop to that className. So instead of compiling to...
const SVGName = (props) => (<svg className="icon" ... />)
it compiles to ...
const SVGName = (props) => (<svg className={`icon ${props.extraIconClasses}`} ... />)
Is this possible?

Yes, https://github.com/gregberge/svgr/discussions/770


EVE Discovery service: move allow_to_discover to AppInst port

This is more granular approach. From appInstance perspective,
you also know which network port will be used.

I see yetus error
bufcompat:Previously present field "24" with name "allow_to_discover" on message "AppInstanceConfig" was deleted.

But I marked field 24 as reserved, not sure we should leave it there


Added some EEPs and changed/added some logging

adds HVAC Components,Harvesting-powered actuator with local temperature offset control (EEP A5-20-06)
adds Electronic switch with Local Control (EEP D2-01-0E)
adds Electronic switch with Local Control (EEP D2-01-12)
adds Temperature and Humidity Sensor - Range -20°C to +60°C and 0% to 100% (EEP A5-04-02)
adds Temperature and Humidity Sensor - Range -40°C to +120°C 12bit-measurement and 0% to 100% (EEP A5-04-04)
adds Light, Temperature and Occupancy Sensor - Range 0lx to 1020lx, 0°C to +51°C and Occupancy Button (EEP A5-08-02)
adds Light, Temperature and Occupancy Sensor -  Range 0lx to 1020lx, 0°C to +51°C and Occupancy Button (EEP A5-08-03)

coverage: 86.486% (-0.2%) from 86.727%
when pulling cdab92c6da83f0e14f6b0f072227b041c371868e on dev
into 64f1e3f1a63451beab69841f42ff63be36cee1ec on main.


Add me to team

@mikeolasov tag you're it

@mikeolasov I sent you an invite for the team and added the team to have access to this repo


Questions regarding net navigation

Would it be technically possible to catch any navigation (I assume there's an event for it) and validate it against the Deno.permissions API ? Or is this infeasible ?
I guess it could be tricky to handle the navigation from scripts...
await page.evaluate(() => location.href = "https://example.com")

Also, maybe this is more browser-realated rather than directly with astral, but is it possible to disable some protocol schemes ? (like file:// and data:// for example) ?

This seems tricky, but valuable. I'll look into it soon.

Are there any features outside of sandbox mode that would close this issue?

I think it can be closed 👍


Data year not always displayed

Hi Federico,
the year of the data is not alwaysd isplayed but as far as I can tell it is always contained in the EPW data in the first column, it would be enough to diplay the value range for that column.
I think this information is going to be useful going forward (especially once we implement the future weather files, as we might want to implement a conditional warning based on this)

No, unfortunately, that does not work for the EnergyPlus files, I tried. The One Building files contain that information while the EnergyPlus file has only one unique value in the year column.
Moreover, relying on the Year column data may be incorrect since that tells you the reference year for that cell, but not which reference years were used to generate the files. Let's assume that the years used were from 2010 to 2020 but let's say that 2015 to 2019 are more typical year, then the year column will only contain the latter range.
But still, in the EnergyPlus file, that year column is always constant.
For this reason, I am closing the issue. Feel free to reopen it if you disagree or find another way to extract that data.

Sorry, the epw file from rome disagrees (I changed the extension to md to upload it here)....
Also I would argue that some information about the data range is better than no information.
ROME_ITA.md

Okay, I was not able to test them all but I am sure that many of them have a constant value in the year column since I have tested that. Happy to make a small change in the code and have that info there, but please note that is not going to be accurate.

I know, we can just make a note in the documentation or in the text.
We could also decide to round everything to the closest decade. So, if you have 1974 as only year in the epw, we can say
this file is based on data collected in the 1970s
and for a range:
This file is based on data collected between 1980 and 2020
(instead of:
This file is based on data collected between 1982 and 2019 )
It may not be exact but I still think it is accurate.

From: Federico Tartarini @.>
Sent: 25 August 2021 11:57 AM
To: CenterForTheBuiltEnvironment/clima @.>
Cc: giobetti @.>; State change @.>
Subject: Re: [CenterForTheBuiltEnvironment/clima] Data year not always displayed (#92)
Okay, I was not able to test them all but I am sure that many of them have a constant value in the year column since I have tested that. Happy to make a small change in the code and have that info there, but please note that is not going to be accurate.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCenterForTheBuiltEnvironment%2Fclima%2Fissues%2F92%23issuecomment-905356764&data=04|01||6fae953a82f74e3c9a9008d967aed240|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637654822810743716|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=E1bktPveNwbJ%2FtY0i9P%2B1Xfvn1BymkNm45LuJYO2CkE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWZJAEN6MGAFRSYW7F34T3T6S5CPANCNFSM5CYPUIGA&data=04|01||6fae953a82f74e3c9a9008d967aed240|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637654822810753706|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=13Ce6rg2ahUSp2mMeXohOQoUsHA43i6YR2GDoR9P2SM%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||6fae953a82f74e3c9a9008d967aed240|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637654822810753706|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WBrQ9i2IrPuiwyjKjK%2F34KXxmq4XoKz99VP%2Bp3Pmrmc%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04|01||6fae953a82f74e3c9a9008d967aed240|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637654822810763702|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=w4ZE4eZgcVNoyslesiRzATh%2BXiTO75xX314DV7LaYlg%3D&reserved=0.


Discussion: chronological history

One use-case for mementos that I'm not seeing explicitly accounted for is keeping the memento history in a chronological stream or queue -- each memento is time-stamped. This allows a user to select a specific point in time and get the associated memento.
I'm not seeing anything that would prevent this, just wondering if this use-case has been considered, and if the implementation is amenable to it.

I hadn't specifically considered this use case.  It was @devpaul who pointed out to me that what was in my head was aligned to the memento programming paradigm.
I could see this as something that could be composited onto the base action class.  I think this automatic state management would be too much overhead to include in the minimal class.

Closing this - after further discussion with @kitsonk and review of actions, they are more similar to the Command pattern than Mementos, so this is not really relevant.


Setting allowMissingOAuthVerifier fails OAuth1 requests

Description:
oauth_verifier is not always ignored when allowMissingOAuthVerifier is set to true, causing oauth1 access_token requests to fail.
OAuth Provider (Twitter, Github, ..):
Any Oauth Provider that doesn't use a verifier. Example: Bynder.com.
OAuth Version:

[ ] Oauth1

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[ ] Carthage
[x ] CocoaPods
[x ] Manually

Library version:

[ ] head
[ ] v1.0.0
[ ] v0.6
[ ] other: (Please fill in the version you are using.)

Xcode version:

[x] 8.0 (Swift 3.0)

[ ] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

Suggested fix
The assignment to: parameters["oauth_verifier"] in the method: OAuth1Swift.postOAuthAccessTokenWithRequestToken(success:failure:) must be wrapped in a condition:
if !self.allowMissingOAuthVerifier {
   parameters["oauth_verifier"] = self.client.credential.oauthVerifier
}

I am ok with the suggested fix
event if your oauth provider(bynder) is a little too strict, it do not allow to add additional query parameters
I will commit but next time do not hesitate to create a pull request
thanks


build: Update ckErc20 Tokens

Modifications have been made to the list of ckErc20 tokens deployed by the Orchestrator.

It's actually on purpose inlined - not formatted - @bitdivine, that way we load the less bytes possible at runtime.

bot-tokens-ckerc20-update


feat: cache attribute symbols

Description
See #475
Add a Dictionary<Type, INamedTypeSymbol?> cache to WellKnownTypes to optimize AttributeDataAccessor.
Benchmarks
Benefits mappers with many mapping methods, saves 8ms for LargeCompile and saved 300 KB of memory. Doesn't look like Compile is effected.
 WellKnownTypes is now instantiated in MapperGenerator and shared between instances saving another 400KB for LargeCompile.
The DI passes although I'm a little concerned I've broken .NET Framework by removing some of the null checks.
Ran the Benchmarks a couple of times, a little more variance but I think thats a combination of the weather and using the most recent branch of Mapperly.
 I've resued the logic between Get and TryGet and used the generic overload where possible.


'utf-8' codec can't decode byte 0xae in position 2540: invalid continuation byte

ZotHero v.1.99.7 + Alfred 4.8 [1312] crashes: 'utf-8' codec can't decode byte 0xae in position 2540: invalid continuation byte

Debugging output:
[20:15:52.685] Logging Started...
[20:15:56.792] ZotHero[Script Filter] Queuing argument ''
[20:15:56.917] ZotHero[Script Filter] Script with argv '' finished
[20:15:56.919] STDERR: ZotHero[Script Filter] .
20:15:56 workflow.py:2093 DEBUG    ---------- ZotHero (1.99.7) ----------
20:15:56 zh.py:705 DEBUG    args={'--bibliography': False,
'--help': False,
'--paste': False,
'--style': None,
'--text': None,
'--title': None,
'': None,
'': None,
'': None,
'': '',
'

@cdoppler sorry I missed this. were you able to get it to work?

Never mind. Actually I didn’t get it to work but I switched to Raycast anyway. 😉


I can't access a kata that I authored

The kata Approximate Fractions (https://www.codewars.com/kata/approximate-fractions) should be improved and fixed. I did the editions and saw a strange behaviour: the changes were not saved. I try to enter like any user to it and the languages available to solve it and example tests do not appear. First time that I see this bug.

Hey @raulbc777, thanks for reporting.

I try to enter like any user to it and the languages available to solve it and example tests do not appear.

Does it look like #1323?


Support document ID generation by firestore

Please correct me if I'm wrong, but as far as I can tell, this library does not currently offer the option to allow firestore to generate ID for documents in collection or subcollections, rather the ID has to be specified upfront in the data that is being imported.
If this is currently not supported, I suggest a feature where a token like <docId> can be inserted into JSON that is being imported, and the library will then delegate to firestore to generate an ID for that document.
If I've missed an existing feature please let me know. Otherwise, let's discuss how this should work.

Same missing feature found (which limits the use - for my needs) and same thought.
It would be great if this could be added.

Good idea! How would you propose the formatting for multiple documents to be generated? Something like the following?
{
  "<docId>-1": {
    "name": "Susan",
    "age": 22
  },
  "<docId>-2": {
    "name": "Lilly",
    "age": 42
  }
}

Any other suggestions for a token? I'm also wondering about something like __docId__*** since the double under (__) is used elsewhere as a token.

__docId__ seems for me the best for a token. There is no need to number each id, since they get auto-generated using the .doc() Method without any parameters. https://firebase.google.com/docs/firestore/manage-data/add-data#add_a_document

The dilemma is that using the same __docId__ for each key is invalid json....it would need to be unique in some way...

A good example implementation is here
https://www.npmjs.com/package/firestore-export-import#import-data-to-firestore-auto-generate-document-id
The idea is to have the JSON be an array (not an object at the top level). e.g.
{
  "<docId>-1": {
    "name": "Susan",
    "age": 22
  },
  "<docId>-2": {
    "name": "Lilly",
    "age": 42
  }
}

Becomes:
[
  {
    "name": "Susan",
    "age": 22
  },
  {
    "name": "Lilly",
    "age": 42
  }
]

Feedback?

Hi, is this feature added?


Blender crashes when closing prefs window with killactive

Hyprland Version
 System/Version info
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

Bug or Regression?
Bug
Description
Closing the Blender prefs window causes a crash in blender to do with the wayland viewport.
How to reproduce

Launch Blender
Switch workspace and back to fix the resize redraw bug first (any tips???)
Open preferences
Focus preferences window
Hit your window close keybind

To see the crash output, run blender from terminal
Crash reports, logs, images, videos
GHOST/Wayland: wp_viewport@48: error 2: source rectangle out of buffer bounds
blender(+0xfcca23) [0x5ba00a9d0a23]
/usr/lib/libwayland-client.so.0(+0x645a) [0x74b8e63b945a]
/usr/lib/libwayland-client.so.0(+0x69bb) [0x74b8e63b99bb]
/usr/lib/libffi.so.8(+0x74f6) [0x74b8bed914f6]
/usr/lib/libffi.so.8(+0x3f5e) [0x74b8bed8df5e]
/usr/lib/libffi.so.8(ffi_call+0x123) [0x74b8bed90b73]
/usr/lib/libwayland-client.so.0(+0x7645) [0x74b8e63ba645]
/usr/lib/libwayland-client.so.0(+0x7e73) [0x74b8e63bae73]
/usr/lib/libwayland-client.so.0(wl_display_dispatch_queue_pending+0x4f) [0x74b8e63bb10f]
/usr/lib/libnvidia-egl-wayland.so.1(+0x58ac) [0x74b8bba148ac]
/usr/lib/libc.so.6(+0x8c9eb) [0x74b8d1aaa9eb]
/usr/lib/libc.so.6(+0x1107cc) [0x74b8d1b2e7cc]
The Wayland connection experienced a fatal error: Protocol error
Error: Not freed memory blocks: 119585, total unfreed memory 204.375164 MB
Writing: /tmp/blender.crash.txt
[1]    39245 segmentation fault (core dumped)  blender

Have you tried these

Have you tried these

Oh yeah. Completely separate issue. I always search for existing ones before I file. It's common coder courtesy. This is a literal crash that happens, not a misbehaving UI. Unless you meant the "any tips?" I wrote above? If so, the desktop environment flags don't seem to have any effect whatsoever. The nomaximise makes it usable but it still draws wrong for all initial windows. I am thinking disabling animation or having a timed redraw request somehow will do it. I have just switched from hyprland to hyprland-git so I'll retest soon.

Verified still an issue with hyprland-git.


Makefile: added 'clients' target

[ ] I've added a new note in the CHANGELOG.md file, according to docs:
https://iver-wharf.github.io/#/development/changelogs/writing-changelogs

Summary

Added clients target, that builds the clients that are missing in dist/*-client.
Updated serve target to depend on clients, instead of the undefined swag target

Motivation
This makes make serve useful. Doesn't rebuild stuff if it isn't needed.
Inspired by iver-wharf/wharf-api#84

@fredx30 I've added a clients-force target to mimic the swag-force target from https://github.com/iver-wharf/wharf-api/pull/84. I chose that name btw because it sorts better in auto-completion, and if you're editing the previous command make swag it's easier to just append -force to the end than to add force- in the middle of the command.
GNU Make has a nice list of conventional targets/goals https://www.gnu.org/software/make/manual/html_node/Goals.html
Adding make clean, as mentioned in the conventions list above, may be a nice future addition.


Kademlia's AddPeers unnecessarily wakes manageC

While researching how connections are managed in bee and the excessive CPU consumption in 0.5.2, I uncovered an inefficiency in kademlia's AddPeers:
https://github.com/ethersphere/bee/blob/9a88523453bf33aab3a8741fce6fe778dcf5c098/pkg/kademlia/kademlia.go#L436
This routine loops through a range of peer addresses and adds any that were not previously know to the appropriate knownPeers bin.  The inefficiency is that it ALWAYS wakes k.manageC even if all of the added peers were already known.  There is no need to attempt new connections unless at least one of the peers was actually new.

Unfortunately, my CPU consumption has not reduced by the conditional removal of the unnecessary wake events, but every drop of saved CPU counts.


No filetype detection on openbsd

Description of the problem or steps to reproduce
Filetype is never detected.
It stays always at "unknown"
Specifications
Version: 2.0.12
Commit hash: c2cebaa
Compiled on Unknown
It is on Openbsd7.4.
I have wondered if i have done something wrong.
Deleted .config/micro to have a sane "environment". - no change.

even more strange:
i can set the filetype manually with "setlocal filetype shell" for example. It shows up in the statusbar.
But it does no syntax highlighting anyway.

The 2.0.13 release Version from github is ok.
I did not expect such an obvious error in an official openbsd package. So it wasn't my first step to update.
But no it works.


Does NiGui have a table view?

If so, can you give an example of how to do this?

No, so far there is no table view or list view.

For windows you could use wnim: https://github.com/khchen/wNim
For crossplatform you could use gintro:  https://github.com/StefanSalewski/gintro
both have table view.

Well for very simple uses, textarea() can be used like a terminal and works easily with terminaltables output.
Not recommended for the general case ofc but sometimes the needs are simple and the tools can be simple too :)
My thanks to @trustable-code for making such a concise beautiful app in nigui!

Is there a chance that NiGui will get table view?


nix-darwin: activate home-manager through postActivation

I ran into an issue where home-manager was getting activated before the user was created. @rycee pointed out that HM is getting activated too early.
@ElvishJerricco I have not tested this change yet (still working on the issues I've been having) so please test it out and let us know if it works for you.

@LnL7 does nix-darwin support declaring dependencies between activation scripts like NixOS does? That'd probably be better than putting this in postActivation

I tested this, and it works fine now! I no longer get an error trying to run home-manager for a user that does not exist!

Finally rebased to master in d3fd287efbba3b67b2566341683289b6116eaa16. Many thanks!


README.md

Add a readme so people (me) know what's going on and how to contribute pls ^^;

Added README.md and CONTRIBUTING.md


Email for Former youth in care question

As a Student I want To receive an email when I answer yes or prefer not to answer to the former youth and care question on the application So That I can be aware of additional programs that will provide me other funding outside of the main application
Acceptance Criteria

[ ]  For 25/26 program year application
[ ] Generate an e-mail to a student when the application is submitted, submitted after an edit, or when a change request is completed that changes the answer to Yes or Prefer not to answer for the former youth in care question (both FT and PT)
[ ] Content of email to be as follows:
“On your recent application for Student Financial Assistance, you self-identified as a current or former child or youth in government care. Based on this response, you may be eligible for the Provincial Tuition Waiver Program and the Learning for Future Grant.

The Provincial Tuition Waiver Program waives tuition and eligible fees for former children or youth in care who are studying full- or part-time, below the graduate level, at a B.C. public post-secondary institution, the Native Education College, or an approved union-based trades training provider. If you meet the eligibility requirements, the tuition and eligible fees charged by your institution could be waived so you do not have to pay them.
The Learning for Future Grant provides an annual grant of $3,500 per program year to assist Provincial Tuition Waiver Program students with additional education-related costs (e.g., textbooks, computers, supplies, etc.).
To find out if you are eligible for the Provincial Tuition Waiver Program or the Learning for Future Grant, please visit the StudentAid BC website or contact the Financial Aid Office at your post-secondary institution.”
Additional Context

The Prefer Not to Answer option is only available on the PT application.  The email response should be triggered by a "Yes" response in FT and PT, but will only be triggered when "Prefer not to answer" is indicated on PT.

Business Context

Question already triggers a banner in the application but SABC would also like an email going out in the same circumstances that the banner appears.

@CarlyCotton please make a GCnotify and move to lather when complete


I propose to improve the function - afk_kick

Can you make it so that admins do not kick for afk?
afk_kick: 300
afk_kick_immune: owner0, admin0, admin1, moderator0

@Tamago4a Could you please rename this issue to, "Immunity for admins/moderators from afk_kick" or something similar?
When you write a bug report or feature request for software, you should put the main point of your issue in the title, not the body, of your submission.

@Tamago4a Could you please rename this issue to, "Immunity for admins/moderators from afk_kick" or something similar?
When you write a bug report or feature request for software, you should put the main point of your issue in the title, not the body, of your submission.

okay.


Modal Component

First run at applying fade classes to a component. Modal has a fade in for backdrop and modal content. Added a Fade component to help with toggling classes from .fade to .fade.in via state.
Modal Props

isOpen
toggle
onExit - called after exit
onEnter - called after enter

Modal Header Props

toggle - adding this enables close button

@cbfx merging as is, definitely up for responding to feedback in another issue/pr.


updates thumbor to 6.4.2

resolves a thumbor issue with png files
https://github.com/thumbor/thumbor/issues/943

awslabs please update!


explain about QoS types in a paragaraph

PR for https://github.com/kubernetes/kubernetes/issues/88651
explained each QoS classes in a paragraph and described conditions, priorities, CPU management policy, the scheduler policy and eviction policy for each one.

/assign @jimangel

Afrouz already signed the CLA, checking if this passes now...
/check-cla

/check-cla

@sftim so you think I should rewrite content or explain more?

Hi. I'm afraid that with only limited time available (most contributors are volunteers), it doesn't look as if anyone has so far been able to offer advice on rewording.
If you'd like more help you could try asking on Slack.

@sftim thanks. I am working on it and one of the contributors is helping me for reviews so it will be done by next week.

Preview

/sig node
/sig scheduling

@sftim yes, so is there anyone working on it or should I pull request?

@afrouzMashaykhi here are a couple of options:

you can add those changes to this PR
I can make a commit to do that and you can cherry pick it into this PR

Which do you like the sound of better?

@sftim I like to work on it but it'll take some time and I might need some helps. I hope that's fine.

No worries @afrouzMashaykhi and please feel free to say if you'd like any help.

@afrouzMashaykhi just to keep things clear, I'm going to close this, but we really do want your contribution! So if you have a chance to address the comments and reopen this PR I'd be happy to help you get this merged!
/close

I'd like to merge this PR, any suggestion for changes? Do we need this PR at all? @sftim

I'd like to merge this PR, any suggestion for changes? Do we need this PR at all? @sftim

@afrouzMashaykhi Please reopen this PR, rebase it on master and commit it. We'll review it.

@afrouzMashaykhi Please reopen this PR, rebase it on master and commit it. We'll review it.

/reopen

/reopen

@tengqm should I open another PR ?

@tengqm should I open another PR ?

If this still needs fixing, it's OK (in, fact encouraged) to open a new PR.


Directory Parsing Issues

On the latest build, 1.8.5 (298) on Android ACode now continuously wastes resources trying to map remote folders over SFTP. This is a problem when there is low bandwidth, and a very large number of files.
In Python we often use virtual environments, which is where our software libraries live, and there can easily be several thousand small files.
Ideally ACode would not index any folder beginning with . on Linux (hidden folders) unless the user opens the folder, but in this case ACode fails, so I'm not sure what the problem is there.

Ok, I'll give option skip listening files. Listing files would help search over project.
For now go settings and click on edit settings.json and change the value of maxFiles and maxFolders to zero.


SAK-29458 Fix for Icon URL is ignored / not displayed. Added code to display icon back.

Also requires a property change in sakai.properties. Defaults to true for now. I added back in logic to:

Display a site-icon
Allow the system to specify if it wants to allow them in the first place using a property.

portal.siteicon.allow=***

Ignore the multiple title changes. I accidentally put the title under the Morpheus master ticket and not the bug itself.

This branch doesn't merge and also has a commit for SAK30054 on it should shouldn't be there.

@buckett , Fixed the errant commit. Any idea what the merge problem is? Is there a way to check?

The easiest thing is to rebase this branch against the latest code in sakai's master branch. Todo this, first find out the short name of your sakaiproject remote is with:
$ git remote -v
origin	git@github.com:buckett/sakai.git (push)
origin	git@github.com:buckett/sakai.git (fetch)
upstream	git@github.com:sakaiproject/sakai.git (fetch)
upstream	git@github.com:sakaiproject/sakai.git (push)

I call mine upstream, but yours may be different. Then fetch the latest changes from this remote:
git fetch upstream

then rebase your branch against the latest code in sakai:
git checkout SAK-29367
git rebase upstream/master

You're right, fixing now.

Could you add an entry to default.sakai.properties documenting the new configuration option.

Should be good now. Sorry for dropping the ball on this PR.

@willkara Thanks.


ios vioce recognition grammer mistakes

ios device is not recognition is voice grammar correctly. when ever we speak Philips it fetches Philippines. we set the language as'en-US'. checked with the web it works perfectly good.  only problem with ios device need the alternative solutions.

Sadly there is nothing we can do about this, the result is provided by iSpeech SDK.
I want to use in the plugin the native iOS speech recognition included in iOS 10, that might improve the speech recognition on iOS 10 devices


COUCHDB-769: Store attachments in the external storage

Initial implementation that allows CouchDB to store attachments outside of the database file.
This implementation supports OpenStack Swift and SoftLayer Object store.

noting here that we shouldn't merge this work (or any new significant feature work) before 2.0.

@rnewson : i updated master branch, then merged it with my branch and pushed the changes.
It seems the merge is a bit weird.. can you explain me what i did wrong?
Here is what i did:
git remote -v
origin	https://github.com/gilv/couchdb.git (fetch)
origin	https://github.com/gilv/couchdb.git (push)
upstream	https://github.com/apache/couchdb.git (fetch)
upstream	https://github.com/apache/couchdb.git (push)
git checkout master
git pull upstream master
git push
git checkout store_attachments_external
git fetch origin
git merge origin/master
when  i did:
git push origin store_attachments_external  - there was an error that i should pull before.
so i did:
git pull origin store_attachments_external
and then
git push origin store_attachments_external
Now i see that something is wrong and there are commits that has nothing to do to my code

@rnewson i got it... it was my mistake, when i did git pull..
so my question now is : is it fine that it shows 25 commits when actually i have only one here?

@kxepal @rnewson
I provided another patch, implementing most of the comments.
Here is what is not implemented in this patch:

Remark on the AttFun. Not yet implemented. Original remark:  “AttFun could be actually an attachment data or some fold function? Something went wrong if you have to do this.”
usage of  couch_util:to_hex
still no unitests

Hi @rnewson and @davisp , is this affected at all by the pluggable storage engine work? (I'm guessing it might very well be.) If not, could we consider merging it?

yes, would be affected (i.e, broken)

Stil on my phone but all I'm seeing is a diff in a config file which whie harmless suggests either the pr or my phone is broken.

@gilv this patch is outdated. I'm going to close this PR for now. We'd love to have you rebase this against CouchDB 2.0 and re-submit -- please do! Thanks for your contribution to CouchDB.


SDK test view not working (when local)?

Running databox with (local) sdk, i can make a simple app but don't see any events in the debug view or any output in the app view: https://github.com/cgreenhalgh/databox.databox-sdk-app-1
But equally I'm not sure what components are supported by the test view...

should be ok, suspect that there were no outputs to see - if you hook the debug node directly to the osmonitor datasource you should see something when you click on the debug output.   The chart node needed an update, it should now give you the option of what data to plot;  after that you should see something when you click on the app output.

"Should be ok" is good enough for me closing ;-)


Bug Report: error 404 page when leaving the credits

Issue Checklist

[X] I have properly named the issue
[X] I have checked the issues/discussions pages to see if the issue has been previously reported

What browser are you using?
Opera
Version
0.2.0
Context (Provide images, videos, etc.)
So basically, if you exit the credits page there will be an error 404 page that says "File not found".

V0.2.1 fixes thia issue


Clojure Collector: suggest adding Lifecycle Management hooks to the auto scaling group

Since mid-2014 Amazon started to support adding Lifecycle Management  hooks to allow actions to be done either on creation or destruction of instances on auto scaling groups, including delaying the termination of a instance for up to 24 hours.
A suggestion could be made in the documentation to use these hooks to automate the decommissioning of Clojure Collector instances whenever the demand is low (currently the suggestion is to allow the cluster only to automatically scale up, not down).

The manual decommissioning process described here could probably be automated.

This is a great idea Alessandro - we're discussing this internally - thanks
for raising!
On Mon, May 18, 2015 at 11:42 PM, Alessandro Andrioni <
<EMAIL_ADDRESS>wrote:

The manual decommissioning process described here
https://github.com/snowplow/snowplow/wiki/Troubleshooting-Clojure-Collector-instances-to-prevent-data-loss
could probably be automated.
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow/issues/1696#issuecomment-103238423.

--
Co-founder
Snowplow Analytics http://snowplowanalytics.com/
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 (0)203 589 6116
+44 7841 954 117
@yalisassoon https://twitter.com/yalisassoon
https://twitter.com/yalisassoon

Won't fix, we are doubling down on the SSC:
http://discourse.snowplowanalytics.com/t/replacing-the-clojure-collector/881


Stochastic quantization: difference between code and paper

In the paper, the stochastic quantization was done by rounding up with probability p=clip(0.5x, 0, 1), and rounding down with probability 1-p. However, in the code it's done by adding random uniform noise before quantization:
noise = output.new(output.shape).uniform_(-0.5, 0.5)
output.add_(noise)
This noise does not depend on the magnitude of x. I wonder what is the reasoning behind this discrepancy?

I think that the paper you are citing is not the correct one. The quantization method they use is this paper. Therefore, the code seems correct to me.


Fix issue of comparing instance URLs with different project ID representations in GCE target pools

Fixes #11327
I'm working on adding a unit test
@brendandburns @roberthbailey

Updated the commit with poor man's unit tests for comparing host links rather than for the UpdateTCPLoadBalancer function as a whole.

LGTM.  @thockin @roberthbailey can one of you take a quick look too?

I'm not merging any code until Jenkins is green for a turn.

Jenkins is green right now, but I'm going to add the < 0 check

Sorry, when I said it was green, I meant the run specific to this PR was green. I hadn't checked kubekins.

LGTM.

naming nit then LGTM

Renamed things

LGTM  I assume this warrants a cherry pick

Yes. Into the 0.21-release branch as well as the 1.0-release branch.


Make headlines better distinguishable

Search: https://www.google.de/search?q=html+heading+style+examples
Find:

Mind this cool blogpost: http://tympanus.net/codrops/2012/11/02/heading-set-styling-with-css/
20 Examples https://wdexplorer.com/20-examples-beautiful-css-typography-design/

Done recently.


Reset button on emulation page

Stellerator should sport a reset button on the emulation page.

There should be buttons on the emulation page as well as hotkeys for pausing and resetting the emulator.

Fixed in 48bd75b


reduce header dependencies

Forward declare WasmVm so that avoid wavm.h depends on header in upper directory.
Description:
Also other tiny refactors.
Risk Level:
Testing:
./tools/check_format.py check source/extensions/common/wasm/
bazel build //source/exe:envoy-static
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

CC @PiotrSikora @PiotrSikora  :)

CC @PiotrSikora request review again.
Is there a button? I see @jplevyak requested without leaving a comment

Gental ping @jplevyak


Unable to run the repository in google colab .

The install packagelist command is not working and once i run the files i get an error saying no module named top_pool

Hi @Shivankit99 ! Did you manage to run this repo in colab?


Selected tab isn't working, shorthand tabs aren't either

The longform:

Tab 1
Tab 2
Tab 3

    <TabPanel>Content 1</TabPanel>
    <TabPanel>Content 2</TabPanel>
    <TabPanel>Content 3</TabPanel>
  </Tabs>

Causes a typeerror, with not tab shown as selected. The shortform is outright broken as used in docs.

Hey @janat08! Thanks for creating an issue. Could you make a reproduction of this behavior with something like stackblitz please? Along with any error messages?
What I see above is what looks to be like half of the tabs short form API.


num_clients renamed to num_users

Trying to run local locust instance and creating tasks with locust4j.
Null reference exception: [Thread-2receive-from-client] ERROR com.github.myzhan.locust4j.runtime.Runner - Error while receiving a message
java.lang.NullPointerException
at com.github.myzhan.locust4j.runtime.Runner.hatchMessageIsValid(Runner.java:200)
at com.github.myzhan.locust4j.runtime.Runner.onMessage(Runner.java:235)
at com.github.myzhan.locust4j.runtime.Runner.access$500(Runner.java:32)
at com.github.myzhan.locust4j.runtime.Runner$Receiver.run(Runner.java:316)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Their github indicates a change in argument from num_clients to num_users: https://github.com/locustio/locust/pull/1314/commits/26573d8f3501f02b8584e1c3848ca7b955c47cdf

Thanks, working on a new version to keep compatible with the latest version of locust.
https://github.com/myzhan/locust4j/commit/7c3572c7ed71522bab6c982cee085d5b2b5eb795

Thanks, you're a legend

This issue is fixed in version 1.0.10.


Export the logs from the Test Runner VM in GitHub over to Browser Stack

Describe the issue
What Julian is hoping is that the nice UI in BrowserStack can serve as a one-stop-shop dashboard for presenting all the information needed (other than the GitHub code of course) to debug a failed (or successful) test run.
Additional context

Not sure if it's possible
We want to avoid emailing to gov accounts to avoid straining the gov email system
We want to cut email out of the pattern completely (or only use for failed notification but click link to see logs in BrowserStack)

Definition of done

Have the logs from the GitHub action test runner be stored and be readable in BrowserStack
Ensure that the connection to transfer the files is encrypted the entire way

Does not seem to be possible to bulk export the GitHub logs to BrowserStack.
I have found the following article
https://www.browserstack.com/docs/automate/selenium/annotations#introduction
that indicates how to add annotation (log messages) to the Selenium logs.
So, what seems straighforward is to add logs in the test code that will then show up in BrowserStack. These are messages generated by the code, and in this case the test code

It is not possible to send GitHub runner logs to BrowserStack
It is possible to send to BS customized log messages (see withAnnotation.groovy script stored in the sample containers app)
Another approach will be to encrypt the zip results folders that is sent to the user. See #1650

It is not possible to send GitHub runner logs to BrowserStack
It is possible to send to BS customized log messages (see withAnnotation.groovy script stored in the sample containers app)
Another approach will be to encrypt the zip results folders that is sent to the user. See #1650

Currently, the entries in BrowserStack look like

Not sure if it will be available to any user, but the for a test that I have run using the withAnnotations.groovy script can be found at
https://automate.browserstack.com/dashboard/v2/builds/e7253300bb3df91f87b4893299152e0ee75a5686/sessions/eb69a0f209c2656d4164a9202b1719aaada79fdf


Extra masking in onBeforeWrite is not working in android browsers

https://jsfiddle.net/bawlochoro/uumhexh5/3/
I am trying to mask ssn field like this •••-••-1234
mask: '999-99-9999',
autoUnmask: true,
onUnMask: function (masked, unmasked) {
var val = '';
var unmaskedIndex = 0;
for (var i = 0; i < masked.length; ++i) {
if (masked[i] === •) {
val += unmasked[unmaskedIndex];
unmaskedIndex++;
} else {
val += masked[i];
}
}
return val;
},
onBeforeWrite: function (event, buffer, caretPos, opts) {
for (var i = 0; i < Math.min(buffer.length, 7); ++i) {
if (buffer[i] !== '_' && buffer[i] !== '-') {
buffer[i] = •;
}
}
}

@bawlo you really should state problem more clearly (what is expected result, what you got instead, etc), provide info like library and os versions and create an example on https://jsfiddle.net.
I've posted #1648 yesterday and because @RobinHerbots could clearly see what the problem was and could reproduce it, he pushed a fix within an hour.

https://jsfiddle.net/bawlochoro/uumhexh5/2/
In desktop Chrome browser, I am getting the expected output but in android chrome browser, I am not getting the result.

@bawlo,
On android the masking is based on the input event.  So when you manipulate the buffer and put the big dot instead of the valid input, the inputmask validates the big dot and the new input which fails as you only accept a numeric value.
Maybe with onBeforeMask you can fix this.  in onBeforeMask you replace the bigdots again to their real value before it is presented to the validation.  Visually it will be manipulated again by the onbeforewrite

@RobinHerbots
I could not fix it with onBeforeMask.

@bawlo ,
I had a look at it.  I will provide more context to the callbacks, ... "this" will be the inputmask object which will create much more possibilities.  W8 for more feedback

@bawlo ,
With the latest on the 4.x branch try
        Inputmask("999-99-9999", {
            passwordChar: '\u25CF',
            autoUnmask: true,
            onUnMask: function (masked, unmasked) {
                var val = '';
                var unmaskedIndex = 0;
                for (var i = 0; i < masked.length; ++i) {
                    if (masked[i] === this.passwordChar) {
                        val += unmasked[unmaskedIndex];
                        unmaskedIndex++;
                    } else {
                        val += masked[i];
                    }
                }

                return val;
            },

            onBeforeWrite: function (event, buffer, caretPos, opts) {
                for (var i = 0; i < Math.min(buffer.length, 7); ++i) {
                    if (buffer[i] !== '_' && buffer[i] !== '-') {
                        buffer[i] = opts.passwordChar;
                        console.log(buffer[i]);
                    }
                }
            },
            onBeforeMask: function (initialValue, opts) {
                var vps = this.maskset.validPositions;
                var output = $.map(initialValue.split(""), function (chr, ndx) {
                    if(chr === opts.passwordChar && vps[ndx]){
                        return vps[ndx].input;
                    }
                    return chr;
                });
                return output.join("");
            }
        }).mask("test3");

I forgot to push. Will do in the morning.

It worked but I didn't get what happened in the onBeforeMask part!

Thanks for your help @RobinHerbots. Its working fine.

One more bug: In Android devices, if I put cursor somewhere in between the value and start using backspace to delete then cursor moves to end every time.

updated fiddle for testing https://jsfiddle.net/uumhexh5/7/

@bawlo ,
Is this device specific?  Can you retest with the jsfiddle I provided.

I checked with Lenove P2 Android 7 then it did not work properly. Its allowing to type alphabets also and in Redmi Note 4 android 6 it was working properly.

@bawlo ,
There is probably an error occurring in Android 7.

Any update on this @RobinHerbots ?

@bawlo ,
No, I haven't looked further in to this.  Can you provide some console output when you get the above on android 7?


fix: Remove electron peerDependency

Closes #17

ERROR: src/lib/electron.ts[22, 8]: Module 'electron' is not listed as dependency in package.json
ERROR: src/lib/store.ts[4, 29]: Module 'electron' is not listed as dependency in package.json


Optionally exclude Unacknowledged message counts from RabbitMQ QueueLength

This change adds a new parameter to the RabbitMQ scaler (excludeUnacknowledged) that optionally modifies the scaler behaviour to return only Ready messages in the QueueLength counts.
Only applies to hosts using the http protocol which currently (before this PR) return message counts that include both Ready & Unacknowledged messages.
When enabled, this also makes the http protocol mode consistent with the amqp protocol that only returns Ready message counts.

Looks like the changes I made to parseRabbitMQMetadata() have tipped it over the complexity threshold and is now failing the golangci lint.
How would you like this to be handled? Split up the func or add an override?

How would you like this to be handled? Split up the func or add an override?

Maybe we should create a function for http protocol parsing but it's true that rabbit metadata is becoming huge

@JorTurFer - I extracted the http metadata parsing to a new func.

/run-e2e rabbit*

They passed! Thanks for this @sl1pm4t!


primevue tooltip

I follow the installation of tooltip of PrimeVue https://primefaces.org/primevue/showcase/#/tooltip
It shows this error below when I use v-tooltip="'Click to proceed'" on an element.

I think it is like the other components which have to be manually imported globally.
https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/prime-vue.ts#L92
dependencies version:
"unplugin-vue-components": "^0.16.0",  // this does not work

"unplugin-vue-components": "0.15.6"  // this works

Close via #191


[event request] Codeunit Codeunit 5763 "Whse.-Post Shipment" new event publishers in procedures "HandleSalesLine" and "HandlePurchaseLine"

Dear ALAppExtensions Team:
In our solution we need to update extended fields in tables "sales line" and "purchase line". In order to do this, we would need new event publishers for procedures "HandleSalesLine" and "HandlePurchaseLine":
NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnHandleSalesLineOnBeforeValidateQtytoShip(var SalesLine: Record "Sales Line"; var WhseShptLine: Record "Warehouse Shipment Line"; var ATOWhseShptLine: Record "Warehouse Shipment Line"; var NonATOWhseShptLine: Record "Warehouse Shipment Line"; var ATOLineFound: Boolean; var NonATOLineFound: Boolean; SumOfQtyToShip: Decimal; SumOfQtyToShipBase: Decimal; var IsHandled: Boolean);
begin
end;
NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnHandleSalesLineOnAfterValidateRetQtytoReceive(var SalesLine: Record "Sales Line";var WhseShptLine: Record "Warehouse Shipment Line");
begin
end;
NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnHandlePurchaseLineOnAfterValidateQtytoReceive(var PurchLine: Record "Purchase Line";var WhseShptLine: Record "Warehouse Shipment Line");
begin
end;
NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnHandlePurchaseLineOnAfterValidateRetQtytoShip(var PurchLine: Record "Purchase Line";var WhseShptLine: Record "Warehouse Shipment Line");
begin
end;
All the parameters are referenced as VAR
The code in procedure "HandleSalesLine" in Codeunit 5763 "Whse.-Post Shipment" would be modified as follows:
OLD CODE:
....
.
.
.
        if SalesLine.Find('-') then
            repeat
                SetRange("Source Line No.", SalesLine."Line No.");
                if Find('-') then begin
                    OnAfterFindWhseShptLineForSalesLine(WhseShptLine, SalesLine);
                    if "Source Document" = "Source Document"::"Sales Order" then begin
                        SumOfQtyToShip := 0;
                        SumOfQtyToShipBase := 0;
                        GetATOAndNonATOLines(ATOWhseShptLine, NonATOWhseShptLine, ATOLineFound, NonATOLineFound);
                        if ATOLineFound then begin
                            SumOfQtyToShip += ATOWhseShptLine."Qty. to Ship";
                            SumOfQtyToShipBase += ATOWhseShptLine."Qty. to Ship (Base)";
                        end;
                        if NonATOLineFound then begin
                            SumOfQtyToShip += NonATOWhseShptLine."Qty. to Ship";
                            SumOfQtyToShipBase += NonATOWhseShptLine."Qty. to Ship (Base)";
                        end;

                        ModifyLine := SalesLine."Qty. to Ship" <> SumOfQtyToShip;
                        if ModifyLine then begin
                            SalesLine.Validate("Qty. to Ship", SumOfQtyToShip);
                            SalesLine."Qty. to Ship (Base)" := SumOfQtyToShipBase;
                            if ATOLineFound then
                                ATOLink.UpdateQtyToAsmFromWhseShptLine(ATOWhseShptLine);
                            if Invoice then
                                SalesLine.Validate(
                                  "Qty. to Invoice",
                                  SalesLine."Qty. to Ship" + SalesLine."Quantity Shipped" - SalesLine."Quantity Invoiced");
                        end;
                    end else begin
                        ModifyLine := SalesLine."Return Qty. to Receive" <> -"Qty. to Ship";
                        if ModifyLine then begin
                            SalesLine.Validate("Return Qty. to Receive", -"Qty. to Ship");
                            if Invoice then

.
.
.
.....
NEW CODE:
....
local procedure HandleSalesLine(var WhseShptLine: Record "Warehouse Shipment Line")
var
SalesLine: Record "Sales Line";
ATOWhseShptLine: Record "Warehouse Shipment Line";
NonATOWhseShptLine: Record "Warehouse Shipment Line";
ATOLink: Record "Assemble-to-Order Link";
AsmHeader: Record "Assembly Header";
ModifyLine: Boolean;
ATOLineFound: Boolean;
NonATOLineFound: Boolean;
SumOfQtyToShip: Decimal;
SumOfQtyToShipBase: Decimal;
//start new code
IsHandled: Boolean;
// end new code
.
.
.
if SalesLine.Find('-') then
repeat
SetRange("Source Line No.", SalesLine."Line No.");
if Find('-') then begin
OnAfterFindWhseShptLineForSalesLine(WhseShptLine, SalesLine);
if "Source Document" = "Source Document"::"Sales Order" then begin
SumOfQtyToShip := 0;
SumOfQtyToShipBase := 0;
GetATOAndNonATOLines(ATOWhseShptLine, NonATOWhseShptLine, ATOLineFound, NonATOLineFound);
if ATOLineFound then begin
SumOfQtyToShip += ATOWhseShptLine."Qty. to Ship";
SumOfQtyToShipBase += ATOWhseShptLine."Qty. to Ship (Base)";
end;
if NonATOLineFound then begin
SumOfQtyToShip += NonATOWhseShptLine."Qty. to Ship";
SumOfQtyToShipBase += NonATOWhseShptLine."Qty. to Ship (Base)";
end;
                        ModifyLine := SalesLine."Qty. to Ship" <> SumOfQtyToShip;
                        if ModifyLine then begin

                            //start new code
                            IsHandled:= false;
                            OnHandleSalesLineOnBeforeValidateQtytoShip(SalesLine, WhseShptLine, ATOWhseShptLine, NonATOWhseShptLine, ATOLineFound, NonATOLineFound, SumOfQtyToShip, SumOfQtyToShipBase, IsHandled);
			if not IsHandled then begin
                            //end new code

                              SalesLine.Validate("Qty. to Ship", SumOfQtyToShip);
                              SalesLine."Qty. to Ship (Base)" := SumOfQtyToShipBase;

                            //start new code
                            end;
                            //end new code

                            if ATOLineFound then
                                ATOLink.UpdateQtyToAsmFromWhseShptLine(ATOWhseShptLine);
                            if Invoice then
                                SalesLine.Validate(
                                  "Qty. to Invoice",
                                  SalesLine."Qty. to Ship" + SalesLine."Quantity Shipped" - SalesLine."Quantity Invoiced");
                        end;
                    end else begin
                        ModifyLine := SalesLine."Return Qty. to Receive" <> -"Qty. to Ship";
                        if ModifyLine then begin
                            SalesLine.Validate("Return Qty. to Receive", -"Qty. to Ship");

                            //start new code
                            OnHandleSalesLineOnAfterValidateRetQtytoReceive(SalesLine, WhseShptLine);
                            // end new code

                            if Invoice then

.
.
.
The code in procedure "HandlePurchaseLine" in Codeunit 5763 "Whse.-Post Shipment" would be modified as follows:
OLD CODE:
....
.
.
.
   with WhseShptLine do begin
        PurchLine.SetRange("Document Type", "Source Subtype");
        PurchLine.SetRange("Document No.", "Source No.");
        if PurchLine.Find('-') then
            repeat
                SetRange("Source Line No.", PurchLine."Line No.");
                if Find('-') then begin
                    OnAfterFindWhseShptLineForPurchLine(WhseShptLine, PurchLine);
                    if "Source Document" = "Source Document"::"Purchase Order" then begin
                        ModifyLine := PurchLine."Qty. to Receive" <> -"Qty. to Ship";
                        if ModifyLine then begin
                            PurchLine.Validate("Qty. to Receive", -"Qty. to Ship");
                            if Invoice then
                                PurchLine.Validate(
                                  "Qty. to Invoice",
                                  -"Qty. to Ship" + PurchLine."Quantity Received" - PurchLine."Quantity Invoiced");
                        end;
                    end else begin
                        ModifyLine := PurchLine."Return Qty. to Ship" <> "Qty. to Ship";
                        if ModifyLine then begin
                            PurchLine.Validate("Return Qty. to Ship", "Qty. to Ship");
                            if Invoice then

.
.
.
.....
NEW CODE:
....
   with WhseShptLine do begin
        PurchLine.SetRange("Document Type", "Source Subtype");
        PurchLine.SetRange("Document No.", "Source No.");
        if PurchLine.Find('-') then
            repeat
                SetRange("Source Line No.", PurchLine."Line No.");
                if Find('-') then begin
                    OnAfterFindWhseShptLineForPurchLine(WhseShptLine, PurchLine);
                    if "Source Document" = "Source Document"::"Purchase Order" then begin
                        ModifyLine := PurchLine."Qty. to Receive" <> -"Qty. to Ship";
                        if ModifyLine then begin
                            PurchLine.Validate("Qty. to Receive", -"Qty. to Ship");

                            //start new code
                            OnHandlePurchaseLineOnAfterValidateQtytoReceive(PurchLine, WhseShptLine);
                            //end new code

                            if Invoice then
                                PurchLine.Validate(
                                  "Qty. to Invoice",
                                  -"Qty. to Ship" + PurchLine."Quantity Received" - PurchLine."Quantity Invoiced");
                        end;
                    end else begin
                        ModifyLine := PurchLine."Return Qty. to Ship" <> "Qty. to Ship";
                        if ModifyLine then begin
                            PurchLine.Validate("Return Qty. to Ship", "Qty. to Ship");

                            //start new code
                            OnHandlePurchaseLineOnAfterValidateRetQtytoShip(PurchLine, WhseShptLine);
                            //end new code

                            if Invoice then

.
.
.
.....
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Angularjs Encoding Issue

Hi,
How to solve this issue??
https://drive.google.com/file/d/0B71VOCCR4Ub0TXotb0RxdzdiTVU/view?usp=sharing
I have already try with cdn but nothing. the charset is utf-8

Please ask support questions on one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question Thanks!


Trying to get the summary line to render as a separate paragraph.

Mostly Github seems to not respect a single line feed as indicating a

Looks good to me, ready to merge if there are no other changes to this file!


tsc time source broken on bhyve

I get some monotonic time in the right interval, but it is not gettimeofday (2016-12-12T21:52:17-00:00 in VM vs Sat 10 Dec 2016 22:09:30 CET on host).
kernel/virtio/tscclock.c is in use.
while investigating, I found that the code getting the time still uses the OCaml runtime and its float conversion, we should use a timeval in mirage-clock-freestanding and get rid of the floating point conversions.

I can reproduce this on bhyve, but not on software-only qemu (which uses the same TSC clock code as bhyve). Will investigate some more and see what I can find, my guess is we might be tickling something in bhyve's RTC emulation which is giving us wrong values for wall time.
mirage-clock-freestanding using float conversions is a separate issue, should be reported there.

I've found what looks like the root cause of the problem. The tscclock RTC code is correct, however on KVM and QEMU (irrespective of whether or not the RTC is involved) the TSC begins counting at zero when the VM is initialised. On Bhyve the TSC appears to be either passed through directly from the host or otherwise initialised to an unspecified base value.
The Solo5 clock code uses the TSC base value as the base for monotonic time (see https://github.com/Solo5/solo5/blob/master/kernel/virtio/tscclock.c#L203 for the tscclock case) and assumes that this starts at zero at boot time. The wall clock value value is only read once, then used as an offset against monotonic time. Unfortunately this assumption is violated in the bhyve case so the wall clock TOD is incorrect.

Fixed in #146.


Leaflet.Minimap plugin

I was wondering if someone knew how to get the leaflet minimap plugin to work in angular leaflet? right now i have
angular.extend($scope, {

controls: {
            MiniMap: {
                layer: 'osm2'
            }
        }

Thanks for your help

Hi, please see: https://github.com/elesdoar/angular-leaflet-directive/blob/master/examples/0404-controls-minimap-example.html
It's pending PR #798

Thanks for your reply, i really appreciate it! Here is a fiddle that i was
using to test the minimap and I changed it to match the file you pointed me
to but it still doesnt work...
https://jsfiddle.net/cnurseyb/rt3bvfsq/170/
Thanks for all your help
On Fri, Jun 12, 2015 at 6:04 PM, Michael Salgado<EMAIL_ADDRESS>wrote:

Hi, please see:
https://github.com/elesdoar/angular-leaflet-directive/blob/master/examples/0404-controls-minimap-example.html
It's pending PR #798
https://github.com/tombatossals/angular-leaflet-directive/pull/798
—
Reply to this email directly or view it on GitHub
https://github.com/tombatossals/angular-leaflet-directive/issues/797#issuecomment-111649781
.

 leafletData.getMap().then(function(map) {
      var osm2 = new leaflet.TileLayer(leafletconfig.osm.url, { attribution: leafletconfig.osm.attrib, noWrap: true });
                var miniMap = new leaflet.Control.MiniMap(osm2, {..options...});
                miniMap.addTo(map);
});

leafletconfig is just constants I pass in... this works on my map - as the minimap did not really have to interact with angular in any way this suited my purpose, but adding it into the angular control pipeline might be a good option but not 100% convinced this is always the best option. The leafletData getMap() promise make  the directive very extensible for many use cases which I don't think should always be included in the core directive code base.


Report set 7 - population

The population of people, people living in cities, and people not living in cities in each continent.
The population of people, people living in cities, and people not living in cities in each region.
The population of people, people living in cities, and people not living in cities in each country.

Tasks defined as user stories.
As a locations advisor I want a report that shows population of people, people living in cities, and people not living in cities in each continent to enable the organisation to make informed decisions for each continent based on the output data.

Tasks defined as user stories.
As a locations advisor I want a report that shows population of people, people living in cities, and people not living in cities in each region to enable the organisation to make informed decisions for each region based on the output data.

Tasks defined as user stories.
As a locations advisor I want a report that shows population of people, people living in cities, and people not living in cities in each country to enable the organisation to make informed decisions for each country based on the output data.

Report 7

Report 8

Report 23

Report 24

Report 25


fix: generate correct URLs for root bots

Description
This fixes a small glitch in generating URLs for the links; dialogs and triggers that belong to the root of a botProject now generate links that look like the older non-botProject ones, which should fix some issues with undo/redo.
Task Item
#minor
Screenshots

Coverage increased (+0.008%) to 55.143% when pulling 5d143dab97db70fd1b15048c1fb304c8b333ad10 on beyackle/fixNonSkillURLs into b956c213e38161d41cadafda6b71123126752126 on main.


Clicked "add new saved color" with multiple text elements selected, added multiple instances of the same color

Bug Description

Was editing the color for 4 different text elements, selected a new color. Clicked "Save color" button.
Expected Behaviour

Expected the color to be added once, since it was the same color. Instead, got 4 different color swatches saved.
Steps to Reproduce

add multiple text elements - i used a text set
select multiple text elements
apply a new color to all of the text elements
click on add new saved color

Screenshots

Additional Context

Plugin Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

@barklund @bmattb FYI pulling this into the super sprint.

@barklund @bmattb FYI pulling this into the super sprint.

Verified in QA

Verified in QA


[$1000]  IOU - IOU content is not translated to Spanish and inconsistent message after kogout

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/20446
Action Performed:

Go to staging.new..expensify.com in English
Request money from account A to account B
Verify that, In the DM between A:B and LHN, the latest message displays as: "[account B's firstName] owes [amount]"
As account A, Go to Preferences -> Language, change to Spanish
Verify that, In the DM between A:B and LHN, the latest message displays as: "[account B's firstName] debe [amount]"
In accountB, click "Pay elsewhere" button
As account A, verify that, In the DM between A:B and LHN, the latest message displays as: "pagó [amount] de otra forma"
Go to Preferences -> Language, change to English
Verify that, In the DM between A:B and LHN, the latest message displays as: "paid [amount] elsewhere"
Sign out and sign in again to account A
Verify that in DM and LHN, it shows as "paid [amount] elsewhere"

Expected Result:
In Step 7, the message displayed in IOU report view and LHN is "pagó [amount] de otra forma"
In Step 11, in DM and LHN, it shows as "paid [amount] elsewhere"
Actual Result:
In Step 7, the message displayed in IOU report view and LHN is "paid [amount] elsewhere".
In Step 11, in DM and LHN, it shows as "paid [amount]". The word "elsewhere" is missing. It only shows "paid [amount] elsewhere" after user opens IOU report
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/ef8a56cd-666c-4d06-bd13-b6c86620580c

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0198145f8879a9366b
Upwork Job ID:<PHONE_NUMBER>270100480
Last Price Increase: 2023-08-08
Automatic offers:

aimane-chnaif | Reviewer | 26237637

Triaging to external

Translation: I cannot reproduce this any longer
The word "elsewhere" is missing: the issue https://github.com/Expensify/App/issues/21894 was opened before this one so this report is a dupe

Since the first issue is no longer reproducible and the second is under a different issue, closing this out

Issue reproducible in Build 1.3.48-0.

Job assigned, sorry for the delay, I was out sick last week

Reviewer assigned Aug 22 6:48am
Review completed Aug 29 5:36pm
Four full business days = no time bonus

Payments:

@HezekielT fix $1000
@aimane-chnaif review $1000

Upwork: https://www.upwork.com/jobs/~01f6188c02a39ab8b2

My apologies! Payments sent


CompositeConnectionDetails not updating the secret

What happened?
The secret generated by CompositeConnectionDetails does not contain the expected values.
How can we reproduce it?
Here is the template:
apiVersion: apiextensions.crossplane.io/v1
kind: Composition
metadata:
  name: example-inline
spec:
  compositeTypeRef:
    apiVersion: example.crossplane.io/v1beta1
    kind: XR
  mode: Pipeline
  pipeline:
    - step: render-templates
      functionRef:
        name: function-go-templating
      input:
        apiVersion: gotemplating.fn.crossplane.io/v1beta1
        kind: GoTemplate
        source: Inline
        inline:
          template: |
            apiVersion: confluent.crossplane.io/v1alpha1
            kind: APIKey
            metadata:
              annotations:
                {{ setResourceNameAnnotation "apikey" }}
              name: apikey
            spec:
              forProvider:
                displayName: app-manager-kafka-api-key
                owner:
                  - id: XXX
                    apiVersion: XXX
                    kind: XX
                managedResource:
                - apiVersion: XXX
                  environment:
                    - id: XXX
                  id: XXX
                  kind: XXX
              writeConnectionSecretToRef:
                name: some-secret
                namespace: crossplane-system
            ---
            apiVersion: meta.gotemplating.fn.crossplane.io/v1alpha1
            kind: CompositeConnectionDetails
            {{ if eq (.observed.resources.apikey | getResourceCondition "Ready").Status "True" }}
            apiVersion: meta.gotemplating.fn.crossplane.io/v1alpha1
            kind: CompositeConnectionDetails
            data:
              url: {{ "http://www.example.com" | b64enc }}
            {{ - end }}
    - step: ready
      functionRef:
        name: auto-ready

Actual result:
apiVersion: v1
kind: Secret
metadata:
  name: some-secret
  namespace: crossplane-system
  ownerReferences:
    - apiVersion: confluent.crossplane.io/v1alpha1
      blockOwnerDeletion: true
      controller: true
      kind: APIKey
      name: apikey
      uid: eaf71aa1-a799-4448-8030-2e093bee6a7c
type: connection.crossplane.io/v1alpha1
data:
  api_key_id: XXX
  api_key_secret: XXX
  attribute.secret: XXX

Expected result:
apiVersion: v1
kind: Secret
metadata:
  name: some-secret
  namespace: crossplane-system
  ownerReferences:
    - apiVersion: confluent.crossplane.io/v1alpha1
      blockOwnerDeletion: true
      controller: true
      kind: APIKey
      name: apikey
      uid: eaf71aa1-a799-4448-8030-2e093bee6a7c
type: connection.crossplane.io/v1alpha1
data:
  url: aHR0cDovL3d3dy5leGFtcGxlLmNvbQ==

I don't see any error and the secret is just not updated no matter what I put inside data.
Any idea what's happening ?
Could it be related to the confluent provider I use ? https://github.com/crossplane-contrib/provider-confluent
Thanks
What environment did it happen in?
Kubernetes: GKE 1.28.8-gke.1095000
Function version: 0.4.1
Crossplane: 1.15.1

This is not a provider issue, I'm also struggling with this one:
apiVersion: apiextensions.crossplane.io/v1
kind: Composition
metadata:
  name: example-inline
spec:
  compositeTypeRef:
    apiVersion: example.crossplane.io/v1beta1
    kind: XR
  mode: Pipeline
  pipeline:
    - step: render-templates
      functionRef:
        name: function-go-templating
      input:
        apiVersion: gotemplating.fn.crossplane.io/v1beta1
        kind: GoTemplate
        source: Inline
        inline:
          template: |
            apiVersion: cloudplatform.gcp.upbound.io/v1beta1
            kind: ServiceAccount
            metadata:
              annotations:
                {{ setResourceNameAnnotation "sa" }}
              labels:
                testing.upbound.io/example-name: example-service-account-key
              name: example-service-account-key
            spec:
              forProvider:
                displayName: Used for example service account key testing
            ---
            apiVersion: cloudplatform.gcp.upbound.io/v1beta1
            kind: ServiceAccountKey
            metadata:
              annotations:
                {{ setResourceNameAnnotation "key" }}
              name: example-service-account-key
            spec:
              forProvider:
                publicKeyType: TYPE_X509_PEM_FILE
                serviceAccountIdSelector:
                  matchLabels:
                    testing.upbound.io/example-name: example-service-account-key
            ---
            apiVersion: meta.gotemplating.fn.crossplane.io/v1alpha1
            kind: CompositeConnectionDetails
            {{ if eq $.observed.resources nil }}
            data: {}
            {{ else }}
            data:
              url: {{ "http://www.example.com" | b64enc }}
            {{ end }}
    - step: ready
      functionRef:
        name: auto-ready

I must be missing something...

Answering to my own question. This part:
writeConnectionSecretToRef:
  name: some-secret
  namespace: crossplane-system

Must be in the claim.


Bump dayjs version

Description:
This PR bumps dayjs version containing required locales for ht and es-pr and removes temporarily used local files

@tnekret looks like there's a typing problem in validate?

That's weird, running yarn validate in develop also throws this error 🤔

Updated with latest version of dayjs containing type fixes


Are there Environment Variables for the default administrative username and password?

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
My plan is to run a number UK containers to serve status pages for each respective department in my organisation as UK does not yet support the feature. Plan is to build the container and deploy to fargate or ECS, most likely fargate.
One thing i'd like to do is standardize the default administrative user, so that if i need to nuke and redeploy or simply deploy new containers that i wont need to worry about setting it up. In a perfect world, i'd build the username and password in as GH secrets for an action to build the container and then push it over to ECR. That's a lot trickier to do if i can't define those variables in the compose file.
So in short, are there environment variables available to use to define the username and password for the account on UK upon first run-time of the container?
🐻 Uptime-Kuma Version
1.11.3
💻 Operating System and Arch
debian on WSL-2
🌐 Browser
Edge 97.0.1072.55
🐋 Docker Version
No response
🟩 NodeJS Version
No response

No such variables, but you can reset the password. Please check wiki for more details.

No such variables, but you can reset the password. Please check wiki for more details.

Is this something that could be added into the development pipeline as a feature reqest?

No such variables, but you can reset the password. Please check wiki for more details.

I guess the point here was to be able to provision the default username/password when deploying the application.
In this way no need to be prompted to set it on first login which can be very convenient.

@louislam Is this something that you're open to add if someone provided a PR?

It could probably be useful to open this issue again, isn't it?


Removing the hard reserving tile for the default ui system.

For people who have some scenes that have more than 192 unique tiles (up to 256 in normal mode and up to 512 in color-only mode) and dont use the default ui system. issues fixed:

The background image compiler would cap at 192 unique tile, not allowing any way to have more tiles even with a plugin fix
Removed ALLOC_BKG_TILES_TOWARDS_SPR definition in the engine as the new allocation hard caps at 192 tiles
This fixes a breaking change that was introduced in GBS 4 by adding this hard cap.

Ignore this pull request, I'll do some more work on it to be able to specify for a background which tile allocations style a user wants instead. As I am aware that this will not allows sprite overflowing in the shared vram.

That's a great idea about utilising the extra tiles if the UI elements aren't used in a scene. Keen to see this come to life if possible!


Allow for optional colors

This was originally going to be a quick and painless change using an OptionalColor type and .into(), but it quickly turned into way more changes than expected :sweat_smile: Hopefully nothing has broken.
The last commit is TEMP because it seems like strum is naively using None instead of Option::None in its macro definition, breaking that commit. https://github.com/spenserblack/onefetch/commit/5142c5fd2f89aad1fe394c4abce09d5026e000d8 is OK to review, though. I'll make a PR to strum, but, assuming https://github.com/spenserblack/onefetch/commit/5142c5fd2f89aad1fe394c4abce09d5026e000d8 is good, it's ready to be merged if we don't want to wait.
Edit: Nevermind, tests fail on that commit.
Edit2: Force-pushed, 0ef1c64019ff52ff18cbb9263dd9259fbdf79556 should be OK.
Edit3: https://github.com/Peternator7/strum/pull/214 merged, on next release this whole PR should be ready to review.

Is this really a good idea to alter the logo's original colour palette? IMO, this may help a small portion of users on light theme terminals in terms of readability but all users will lose in terms of aesthetics.

Well the main reason was to allow the logo's "white" color to just be the text color. I agree that this is a massive change, but we've gotten a few notes that onefetch doesn't look good on light terminals, and one user pointed out that

neofetch has no problem with this

(Source: https://github.com/o2sh/onefetch/issues/33#issuecomment-1049037192)
It appears that Neofetch doesn't really use the white color. When the default color is white, or the selected color with --ascii_colors is white, it actually leaves the text uncolored, instead using the default foreground color.
https://github.com/dylanaraps/neofetch/blob/ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f/neofetch#L4725-L4728
I think we have 2 options:

Make a stance that onefetch is preferred on dark terminal themes
Alter the logo colors

CI is failing from clippy test unrelated to this PR

Or I suppose we could just make the Fg variant available (but currently unused), and just fix existing logos as light terminal users point them out.

You're right, I guess I was just reluctant to add more complexity to the code that would only be beneficial to a small fraction of users. But, what you did is actually pretty clean and as you pointed neofetch does exactly that.

I was just reluctant to add more complexity to the code that would only be beneficial to a small fraction of users

That makes sense. I wouldn't be opposed to delaying any decision on this PR until we get a good idea of how many users really need this (I'm of the opinion that a good light theme would reverse black and white TBH, but it looks like some popular ones don't do that).
By making White ignored as you suggested (https://github.com/o2sh/onefetch/pull/611#discussion_r829604856), some complexity could probably be reduced. Perhaps ui::ascii_art::add_colored_segment could use a wrapper type that implements Colorize and ignores White.
owo-colors also looks like it has an interesting way to colorize that could probably greatly reduce complexity, as opposed to needing to rely on colored's (limited) Color enum. I think Default would do what we need. We can make a const called White that aliases Default to reduce diff size and prevent confusion with new contributors.

owo-colors also looks like it has an interesting way to colorize that could probably greatly reduce complexity, as opposed to needing to rely on colored's (limited) Color enum. I think Default would do what we need. We can make a const called White that aliases Default to reduce diff size and prevent confusion with new contributors.

This is exactly what we need. Let's do it :rocket:

Let's do it 🚀

Sounds good! I'll leave this PR open for now until the switch to owo-colors is merged. It's unlikely we'll reference commits from this specific PR, but better safe than sorry 🙂


fix: remove autocompletion on dap-repl

This PR address an issue when after exiting the dap-repl buffer,
it mess up with the current completion system.
This has to do with us not using omni completion (which dap-repl.ext.autocmpl relies on).
Might be a good idea to write our own completion system for dap-repl if needed.
Signed-off-by: Aaron Pham<EMAIL_ADDRESS>

Seems like a really big project? Or maybe it can be a plugin itself?

i don't find dap-repl very useful.

@aarnphm is this PR still been working on?

nope. I have been busy for a while with work

@aarnphm Wish you all the best.


Images for README

Look nice, very good job I would like to create something like this but my app is more complicated. Good Job and I like this. How can thank You ?


Dev/ipex woq

Type of Change
bug fix and new feature
No API changed
Description
Support loading shared safetensor model and fixed loading int4 model issue.
Expected Behavior & Potential Risk
Load and save model successfully
How has this PR been tested?
Local tested

coverage drop even more

https://inteltf-jenk.sh.intel.com/view/nlp-toolkit-validation/job/nlp-toolkit-optimize-ut/2820/

https://inteltf-jenk.sh.intel.com/job/nlp-toolkit-optimize-ut/2824/

coverage drop 1.3%

https://inteltf-jenk.sh.intel.com/job/nlp-toolkit-optimize-ut/2828/